@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ====================================================================
   Sol Home – SWELL テーマ グローバルスタイル上書き
   目的：WordPressデフォルト感・SWELLデフォルト感を Sol Home ブランドに統一
==================================================================== */

/* ── CSS カスタムプロパティ ── */
:root {
  --sol-green:        #0f5f30;
  --sol-green-light:  #1a8a47;
  --sol-green-pale:   #f0fdf4;
  --sol-green-border: #bbf7d0;
  --sol-line:         #06c755;
  --sol-text:         #1e293b;
  --sol-text-muted:   #64748b;
  --sol-border:       #e2e8f0;
  --sol-bg:           #f8fafc;
}

/* ================================================================
   SWELL ヘッダー・ナビゲーション
   ※ SWELL のバージョンにより一部クラス名が異なる場合があります
================================================================ */

/* ─ サイト名（ロゴ文字） */
.c-siteName,
.site-name,
#siteTitle,
.p-header__title,
.c-header__title {
  font-weight: 900 !important;
}

.c-siteName a,
.site-name a,
#siteTitle a,
.p-header__title a {
  color: var(--sol-green) !important;
  text-decoration: none !important;
}

/* ─ ヘッダー全体 */
#header,
.c-header,
.l-header,
.p-header {
  border-bottom: 2px solid var(--sol-green-border);
  background: #fff !important;
}

/* ─ グローバルナビリンク */
#globalNav a,
.c-gnav a,
.c-headNav a,
.p-gnav a,
.l-gnav a,
#header nav a {
  color: var(--sol-text);
  font-weight: 700;
  font-size: .875rem;
  transition: color .18s ease, background .18s ease;
  border-radius: 6px;
  padding: .45rem .7rem;
  text-decoration: none !important;
}

#globalNav a:hover,
.c-gnav a:hover,
.c-headNav a:hover,
.p-gnav a:hover,
.l-gnav a:hover,
#header nav a:hover {
  color: var(--sol-green) !important;
  background: var(--sol-green-pale);
}

/* ─ 現在ページ（current-menu-item） */
#globalNav .current-menu-item > a,
#globalNav .current_page_item > a,
.c-gnav .current-menu-item > a,
.c-headNav .current-menu-item > a,
.p-gnav .current-menu-item > a,
#header nav .current-menu-item > a {
  color: var(--sol-green) !important;
  position: relative;
}

#globalNav .current-menu-item > a::after,
.c-gnav .current-menu-item > a::after,
.c-headNav .current-menu-item > a::after,
#header nav .current-menu-item > a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: var(--sol-green);
  border-radius: 2px;
}

/* ─ ハンバーガーボタン / MENU ボタン */
#menuBtn,
.c-menu_btn,
.c-menuBtn,
.js-menuOpen,
[class*="menuBtn"],
[class*="menu_btn"],
[id*="menuBtn"] {
  color: var(--sol-green) !important;
  font-weight: 800;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* MENUボタンのバーアイコン */
#menuBtn span,
.c-menu_btn span,
.c-menuBtn span {
  background: var(--sol-green) !important;
}

/* ================================================================
   SWELL スマホメニュー
================================================================ */

#sp_menu,
.l-sp_menu,
.c-sp_menu,
.p-sp_menu,
[id="sp_menu"] {
  background: #fff !important;
}

/* スマホメニューのリンク */
#sp_menu a,
.l-sp_menu a,
.c-sp_menu a,
.p-sp_menu a {
  color: var(--sol-text) !important;
  font-weight: 700;
  min-height: 50px;
  display: flex !important;
  align-items: center;
  padding: .75rem 1.25rem !important;
  border-bottom: 1px solid var(--sol-border) !important;
  transition: color .18s ease, background .18s ease;
  text-decoration: none !important;
}

#sp_menu a:hover,
.l-sp_menu a:hover,
.c-sp_menu a:hover {
  color: var(--sol-green) !important;
  background: var(--sol-green-pale) !important;
}

#sp_menu .current-menu-item > a,
.l-sp_menu .current-menu-item > a,
.c-sp_menu .current-menu-item > a {
  color: var(--sol-green) !important;
  background: var(--sol-green-pale) !important;
  border-left: 3px solid var(--sol-green) !important;
}

/* スマホメニュー内のクローズボタン */
#sp_menu .c-sp_menu__close,
#sp_menu [class*="close"],
.c-sp_menu__close {
  color: var(--sol-text-muted);
}

/* ================================================================
   SWELL フッター
================================================================ */

#footer,
.c-footer,
.l-footer,
.p-footer {
  background: #1a1a1a !important;
  color: #e5e7eb !important;
}

#footer a,
.c-footer a,
.l-footer a {
  color: #9ca3af !important;
  transition: color .18s ease;
}

#footer a:hover,
.c-footer a:hover,
.l-footer a:hover {
  color: #4ade80 !important;
}

/* フッター nav リンク */
#footer nav a,
.c-footer nav a,
.l-footer nav a {
  padding: .3rem 0;
  font-size: .875rem;
}

/* ================================================================
   SWELL パンくず
================================================================ */

.c-breadcrumb,
.p-breadcrumb,
#breadcrumb {
  font-size: .8rem;
  color: var(--sol-text-muted);
}

.c-breadcrumb a,
.p-breadcrumb a,
#breadcrumb a {
  color: var(--sol-green);
  text-decoration: none;
}

/* ================================================================
   施工事例ページ プレースホルダーカード
================================================================ */

.sk-card--placeholder .sk-card__link {
  pointer-events: none;
  cursor: default;
}

.sk-card--placeholder .sk-card__link--no-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.sk-card__img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: .9rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
  border-radius: 8px 8px 0 0;
}

.sk-card__more--placeholder {
  color: #94a3b8;
  font-weight: 600;
  font-size: .85rem;
}

.sk-placeholder-note {
  text-align: center;
  margin-top: 2rem;
  padding: 1rem 1.5rem;
  background: var(--sol-bg);
  border-radius: 10px;
  color: var(--sol-text-muted);
  font-size: .82rem;
  line-height: 1.6;
}

/* ================================================================
   内部ページ共通 – SWELLのメインビジュアル非表示
   sol-page クラスがついたページではSWELLのMVを隠す
================================================================ */

.sol-page + .c-mv,
.sol-page ~ .c-mv,
.l-main.sol-page .c-mv {
  display: none;
}

/* ================================================================
   SWELL デフォルトヘッダー・SPメニュー・固定ボタンを全ページで非表示
   Sol Home カスタムヘッダー（フロントページ: .sol-header-menu、
   内部ページ: .sol-inner-header）を使用するため
================================================================ */

/* SWELL ヘッダー本体: 全ページで非表示（Sol Home カスタムヘッダーを使用） */
#header,
.l-header,
.c-header,
.p-header,
#fix_header,
.l-fixHeader {
  display: none !important;
}

/* SWELL SP メニューパネル（ドロワー本体）を非表示 */
#sp_menu,
.l-sp_menu,
.c-sp_menu,
.p-sp_menu {
  display: none !important;
}

/* SWELL 固定ボタン（目次・ページトップ）を非表示
   Sol Home の固定CTAと重複するため */
.p-fixBtnWrap,
#fix_tocbtn,
#pagetop {
  display: none !important;
}

/* SWELL JS が sticky ヘッダー用に動的追加する padding-top / margin-top をリセット */
body,
#body_wrap,
.l-wrap,
#wrapper,
#content.l-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* ================================================================
   Sol Home 内部ページ カスタムヘッダー（.sol-inner-header）
================================================================ */
.sol-inner-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(10, 26, 10, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.22);
}
.sol-inner-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.sol-inner-header__logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  flex-shrink: 0;
}
.sol-inner-header__logo img {
  height: 40px;
  width: auto;
  display: block;
}
.sol-inner-header__brand {
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: .02em;
  white-space: nowrap;
}
.sol-inner-header__nav {
  flex: 1;
}
.sol-inner-header__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: .1rem;
  flex-wrap: nowrap;
}
.sol-inner-header__menu li a {
  display: inline-block;
  padding: .5rem .55rem;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 700;
  border-radius: 6px;
  transition: color .2s ease, background .2s ease;
  white-space: nowrap;
}
.sol-inner-header__menu li a:hover,
.sol-inner-header__menu li a[aria-current="page"] {
  color: #ff9c42;
  background: rgba(255, 122, 0, 0.1);
}
.sol-inner-header__actions {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-shrink: 0;
}
.sol-inner-header__line-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .52rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7a00, #ff9c42);
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease;
  min-height: 36px;
}
.sol-inner-header__line-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 122, 0, 0.38);
  color: #fff;
}
.sol-inner-header__tel-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem .9rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.85);
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .2s ease, color .2s ease;
  min-height: 36px;
}
.sol-inner-header__tel-btn:hover {
  border-color: rgba(255, 122, 0, 0.6);
  color: #ff9c42;
}
/* ハンバーガーボタン（スマホ） */
.sol-inner-header__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.sol-inner-header__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
/* ドロワー */
.sol-inner-drawer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  visibility: hidden;
}
.sol-inner-drawer[aria-hidden="false"] {
  visibility: visible;
}
.sol-inner-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity .3s ease;
}
.sol-inner-drawer[aria-hidden="false"] .sol-inner-drawer__overlay {
  opacity: 1;
}
.sol-inner-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: #0a1a0a;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
  overflow-y: auto;
}
.sol-inner-drawer[aria-hidden="false"] .sol-inner-drawer__panel {
  transform: translateX(0);
}
.sol-inner-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.sol-inner-drawer__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
}
.sol-inner-drawer__menu {
  list-style: none;
  margin: 0;
  padding: .5rem 0;
  flex: 1;
}
.sol-inner-drawer__menu li a {
  display: block;
  padding: .95rem 1.4rem;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background .2s ease, color .2s ease;
}
.sol-inner-drawer__menu li a:hover {
  background: rgba(255, 122, 0, 0.1);
  color: #ff9c42;
}
.sol-inner-drawer__cta {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.sol-inner-drawer__line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .9rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7a00, #ff9c42);
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  text-decoration: none;
  min-height: 48px;
}
.sol-inner-drawer__tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.2rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
  min-height: 48px;
}
/* 表示ユーティリティ */
.pc-only { display: flex !important; }
.sp-only { display: none !important; }

/* 内部ページ: l-content の上余白をヘッダー高さ分にリセット */
body:not(.home) #content.l-content {
  padding-top: 0 !important;
}

@media (max-width: 900px) {
  .sol-inner-header__inner { padding: 0 1rem; gap: 1rem; }
  .sol-inner-header__menu li a { font-size: .75rem; padding: .45rem .4rem; }
}
@media (max-width: 768px) {
  .pc-only { display: none !important; }
  .sp-only { display: flex !important; }
  .sol-inner-header__inner { height: 58px; }
  .sol-inner-header__brand { font-size: .88rem; }
}

/* ================================================================
   Sol Home カスタムフッター
================================================================ */
.sol-custom-footer {
  background: linear-gradient(180deg, #0a1a0a 0%, #0f1f0f 100%);
  color: #e5e7eb;
  border-top: 3px solid #ff7a00;
}
.sol-custom-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 0;
}
.sol-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-wrap: wrap;
}
.sol-footer-brand {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  flex: 1 1 200px;
}
.sol-footer-logo-link { display: inline-block; }
.sol-footer-logo {
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .9;
}
.sol-footer-tagline {
  margin: 0;
  font-size: .88rem;
  color: rgba(255,255,255,.68);
  line-height: 1.75;
}
.sol-footer-cta-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .75rem;
  flex: 0 0 auto;
}
.sol-footer-line-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7a00, #ff9c42);
  color: #fff !important;
  font-weight: 800;
  font-size: .95rem;
  text-decoration: none !important;
  box-shadow: 0 12px 32px rgba(255,122,0,.3);
  transition: transform .2s ease, box-shadow .2s ease;
  min-height: 48px;
}
.sol-footer-line-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(255,122,0,.44);
  color: #fff !important;
}
.sol-footer-tel-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.5rem;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.18);
  color: #fff !important;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none !important;
  transition: background .2s ease;
  min-height: 44px;
}
.sol-footer-tel-btn:hover {
  background: rgba(255,255,255,.14);
  color: #fff !important;
}
.sol-footer-hours {
  margin: 0;
  font-size: .78rem;
  color: rgba(255,255,255,.48);
}
.sol-footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.sol-footer-nav-label {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin: 0 0 .9rem;
}
.sol-footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.sol-footer-nav-list a {
  color: rgba(255,255,255,.72) !important;
  text-decoration: none !important;
  font-size: .875rem;
  transition: color .18s ease;
}
.sol-footer-nav-list a:hover {
  color: #ff9c42 !important;
}
.sol-footer-area-text {
  margin: 0;
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  line-height: 1.8;
}
.sol-footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem;
}
.sol-footer-copy {
  margin: 0;
  font-size: .78rem;
  color: rgba(255,255,255,.4);
}
.sol-footer-address {
  margin: 0;
  font-size: .76rem;
  color: rgba(255,255,255,.35);
}

@media (max-width: 900px) {
  .sol-footer-links { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (max-width: 640px) {
  .sol-footer-top { flex-direction: column; align-items: stretch; }
  .sol-footer-cta-box { align-items: stretch; }
  .sol-footer-line-btn, .sol-footer-tel-btn { justify-content: center; }
  .sol-footer-links { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .sol-footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 400px) {
  .sol-footer-links { grid-template-columns: 1fr; }
}

/* ================================================================
   ブログ一覧 サイドバーレイアウト
================================================================ */
.sol-blog-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
}
.sol-blog-sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.sol-sidebar-widget {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(17,17,17,.07);
  box-shadow: 0 8px 24px rgba(17,17,17,.05);
  overflow: hidden;
}
.sol-sidebar-widget__title {
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #ff7a00, #ff9c42);
  padding: .65rem 1.1rem;
  margin: 0;
}
.sol-sidebar-widget__body {
  padding: 1rem 1.1rem;
}

/* カテゴリーウィジェット */
.sol-sidebar-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.sol-sidebar-cat-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .5rem .6rem;
  border-radius: 8px;
  text-decoration: none;
  color: #262b30;
  font-size: .875rem;
  font-weight: 600;
  transition: background .18s ease, color .18s ease;
}
.sol-sidebar-cat-list a:hover {
  background: rgba(255,122,0,.08);
  color: #ff7a00;
}
.sol-sidebar-cat-count {
  font-size: .75rem;
  color: #888;
  background: #f1f5f9;
  padding: .15rem .5rem;
  border-radius: 999px;
}

/* 記事ウィジェット（人気・最新） */
.sol-sidebar-post-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sol-sidebar-post-item {
  border-bottom: 1px solid rgba(17,17,17,.06);
}
.sol-sidebar-post-item:last-child { border-bottom: none; }
.sol-sidebar-post-item a {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  padding: .75rem .4rem;
  text-decoration: none;
  color: inherit;
  transition: background .18s ease;
}
.sol-sidebar-post-item a:hover { background: rgba(255,122,0,.04); }
.sol-sidebar-post-thumb {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  background: #e4e8ec;
}
.sol-sidebar-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sol-sidebar-post-info {
  flex: 1;
  min-width: 0;
}
.sol-sidebar-post-title {
  font-size: .85rem;
  font-weight: 700;
  color: #111;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 .2rem;
}
.sol-sidebar-post-date {
  font-size: .74rem;
  color: #888;
}

/* LINE CTAウィジェット */
.sol-sidebar-line-cta {
  background: linear-gradient(135deg, #111, #1e1e1e);
  border-radius: 18px;
  padding: 1.5rem 1.2rem;
  text-align: center;
  color: #fff;
}
.sol-sidebar-line-cta__title {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 .5rem;
  line-height: 1.5;
}
.sol-sidebar-line-cta__sub {
  font-size: .8rem;
  color: rgba(255,255,255,.72);
  margin: 0 0 1.1rem;
  line-height: 1.6;
}
.sol-sidebar-line-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  width: 100%;
  padding: .85rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7a00, #ff9c42);
  color: #fff !important;
  font-weight: 800;
  font-size: .9rem;
  text-decoration: none !important;
  min-height: 48px;
  box-shadow: 0 10px 28px rgba(255,122,0,.3);
  transition: transform .2s ease, box-shadow .2s ease;
}
.sol-sidebar-line-cta__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(255,122,0,.42);
}

@media (max-width: 900px) {
  .sol-blog-with-sidebar {
    grid-template-columns: 1fr;
  }
  .sol-blog-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}
@media (max-width: 560px) {
  .sol-blog-sidebar {
    grid-template-columns: 1fr;
  }
}

/* ================================================================
   ユーティリティ / フォーム全体のデフォルト見た目改善
================================================================ */

/* フォームの placeholder 色 */
input::placeholder,
textarea::placeholder,
select::placeholder {
  color: #94a3b8;
}

/* フォーカスリング（アクセシビリティ） */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--sol-green);
  outline-offset: 2px;
}

/* ================================================================
   WordPress / SWELL デフォルト感を完全排除
   Sol Home ブランドに統一
================================================================ */

/* ── 基本フォント（Noto Sans JP） */
body,
h1, h2, h3, h4, h5, h6,
p, a, li, dt, dd, th, td,
input, textarea, select, button {
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif !important;
}

/* ── SWELL デフォルトリンク色を Sol Green に統一 */
.l-main a:not([class]),
.entry-content a,
.c-content a {
  color: var(--sol-green);
  text-decoration: underline;
}
.l-main a:not([class]):hover,
.entry-content a:hover {
  color: var(--sol-green-light);
}

/* ── WordPress デフォルトボタン */
.wp-block-button__link {
  background: var(--sol-green) !important;
  border-color: var(--sol-green) !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
}
.wp-block-button__link:hover {
  background: var(--sol-green-light) !important;
}

/* ── SWELL .btn 系（デフォルト） */
.c-btn,
.c-btn--solid {
  border-radius: 999px !important;
  font-weight: 800 !important;
}

/* ── SWELL コンテンツエリアの余白リセット */
.l-content {
  padding-top: 0 !important;
}

/* ── SWELLデフォルト MVを内部ページで非表示 */
.c-mv,
.p-mv {
  /* sol-pageクラス付きページは header.php 内の条件で非表示 */
}

/* ── WordPress admin bar 考慮（ログイン時） */
@media (min-width: 600px) {
  .sol-header-menu {
    top: 32px; /* WP Admin Bar 分オフセット（非ログイン時は top:0 で上書き） */
  }
  body:not(.admin-bar) .sol-header-menu {
    top: 0;
  }
}
@media (max-width: 599px) {
  body.admin-bar .sol-header-menu {
    top: 46px;
  }
  body:not(.admin-bar) .sol-header-menu {
    top: 0;
  }
}

/* ── SWELL 記事内見出し h2 デフォルト感を軽減 */
.entry-content h2 {
  border-left: 4px solid #ff7a00;
  padding-left: .85rem;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 2.5rem 0 1rem;
}
.entry-content h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 2rem 0 .75rem;
  padding-left: .6rem;
  border-left: 3px solid rgba(255,122,0,.4);
}

/* ── 内部ページ: ヘッダー下の不要な空白を除去 */
.l-main__inner {
  padding-top: 0 !important;
}

/* ── パンくず共通スタイル */
.c-breadcrumb,
.p-breadcrumb {
  background: #f1f5f9;
  padding: .6rem 1.25rem !important;
  font-size: .8rem;
}

/* ── SWELL ページネーション */
.c-pager__item a,
.c-pager__item span {
  border-radius: 10px !important;
  font-weight: 700;
}
.c-pager__item--current span,
.c-pager__item a:hover {
  background: #ff7a00 !important;
  border-color: #ff7a00 !important;
  color: #fff !important;
}

/* ── SWELL 検索フォーム */
.c-searchForm__input {
  border-radius: 999px 0 0 999px !important;
  border-color: var(--sol-border) !important;
}
.c-searchForm__btn {
  border-radius: 0 999px 999px 0 !important;
  background: var(--sol-green) !important;
}

/* ── 管理バー非表示時（未ログイン） */
body:not(.admin-bar) #wpadminbar { display: none; }

/* ================================================================
   横スクロール防止（スマホ全体）
================================================================ */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
/* WordPress が出力する各種ラッパー */
#body_wrap,
.l-wrap,
#wrapper,
#content.l-content,
.l-main {
  overflow-x: hidden;
  max-width: 100%;
}

/* ================================================================
   スマホ: 固定CTA が2×2グリッドになる場合の本文下余白
   フロントページの .l-main__inner に適用
================================================================ */
@media (max-width: 640px) {
  .home .l-main__inner {
    /* CTA高さ約100px + ボトムオフセット14px + 余裕20px + safe-area */
    padding-bottom: calc(140px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* ================================================================
   内部ページ: sol-inner-header の sticky 高さ分を確保
   SWELL がコンテンツに独自の top を付与する場合の上書き
================================================================ */
body:not(.home) .sol-page {
  padding-top: 0;
}

/* ================================================================
   スマホ: タップ領域の最低サイズ保証
================================================================ */
@media (max-width: 768px) {
  a, button {
    min-height: 44px;
  }
  /* ただしインラインリンク（テキスト中のリンク）は除外 */
  p a, li a, td a, span a, .entry-content a {
    min-height: unset;
  }
}

/* ================================================================
   スマホ: 画像の横幅超えを防止
================================================================ */
img, svg, video, iframe, embed, object {
  max-width: 100%;
}

/* ================================================================
   SEO・可読性：テキストレンダリング最適化
================================================================ */
body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 各ページの h1 が検索エンジンに正しく認識されるよう
   display: block を明示（SWELL が flex に書き換える場合があるため） */
h1, h2, h3 {
  display: block;
}

/* ── 構造化マークアップ支援：address 要素スタイル */
address {
  font-style: normal;
  line-height: 1.75;
  color: inherit;
}

/* ================================================================
   SEO：内部リンク（近隣エリア / 施工エリア一覧）のアクセシビリティ
================================================================ */
.cy-nearby__list a,
.sol-area-tag--link {
  /* 内部リンクのテキストを検索エンジンが正しく拾うため
     display を明示 */
  display: inline-flex;
}

/* ================================================================
   CTAボタン共通：タップ領域とフォーカスリング（モバイル成果改善）
================================================================ */
.sol-fv2__cta-btn,
.cy-btn,
.stlc-btn,
.sol-area-cta,
.subsidy-cta,
.hero-cta {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
}
.sol-fv2__cta-btn:focus-visible,
.cy-btn:focus-visible,
.stlc-btn:focus-visible {
  outline: 3px solid #ff7a00;
  outline-offset: 3px;
}

/* ================================================================
   sol-fixed-cta-menu：iOS safe-area 対応強化
================================================================ */
.sol-fixed-cta-menu {
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* ================================================================
   印刷スタイル（固定バー・固定CTAは印刷時に非表示）
================================================================ */
@media print {
  .sol-fixed-cta-menu,
  .sol-header-menu,
  .sol-inner-header,
  .sol-mobile-drawer,
  .sol-flow-overlay,
  .cy-trust-bar {
    display: none !important;
  }
  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }
}

