/* =============================================
   リセット
   ============================================= */
:where(.shared-shell) *{ margin:0; padding:0; box-sizing:border-box; }

/* =============================================
   全体
   ============================================= */
body{
  font-family:'Noto Sans JP',sans-serif;
  padding-top:100px;
  color:#000;
  background-color:#fff;
  line-height:1.6;
}

/* =============================================
   ヘッダー
   ============================================= */
.shared-top > header{
  position:fixed;
  top:0; left:0;
  width:100%;
  background:#fff;
  box-shadow:0 2px 5px rgba(0,0,0,0.12);
  z-index:9999;
}

/* ヒーロー・セクションをヘッダーより背面 */
:where(.shared-shell) .hero-typo{ position:relative; z-index:0; }
:where(.shared-shell) main{ position:relative; z-index:0; }

/* ── ロゴ行 ── */
:where(.shared-shell) .header-logo-row{
  display:flex;
  align-items:center;
  height:60px;
  padding:0 14px;
}

/* ── ナビ行（overflow:visible でドロップダウンを表示させる） ── */
:where(.shared-shell) .header-nav-row{
  height:40px;
  background:#f8f8f8;
  border-top:1px solid #e8e8e8;
  display:flex;
  align-items:center;
  overflow:visible;   /* ← PCドロップダウンを clip しない */
  position:relative;
  z-index:1001;
}

/* =============================================
   ロゴ
   ============================================= */
:where(.shared-shell) .logo a{ display:block; }
:where(.shared-shell) .logo img{ max-width:150px; height:auto; display:block; }

/* ハンバーガーボタン無効化 */
:where(.shared-shell) .nav-toggle{ display:none !important; }

/* =============================================
   ナビゲーション
   ============================================= */
:where(.shared-shell) .pc-nav{
  display:flex;
  align-items:center;
  width:100%;
  height:100%;
  overflow-x:auto;
  overflow-y:visible;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
:where(.shared-shell) .pc-nav::-webkit-scrollbar{ display:none; }

:where(.shared-shell) .pc-nav ul{
  list-style:none;
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  margin:0;
  padding:0 6px;
  height:100%;
}

:where(.shared-shell) .pc-nav li{
  position:relative;
  flex-shrink:0;
  height:100%;
  display:flex;
  align-items:center;
}

:where(.shared-shell) .pc-nav > ul > li > a{
  color:#333;
  text-decoration:none;
  padding:0 12px;
  display:flex;
  align-items:center;
  height:100%;
  font-size:13px;
  white-space:nowrap;
  border-right:1px solid #e0e0e0;
}
:where(.shared-shell) .pc-nav > ul > li:first-child > a{ border-left:1px solid #e0e0e0; }
:where(.shared-shell) .pc-nav > ul > li > a:hover{ background:#e8f5e9; color:#2e7d32; }

/* =============================================
   ドロップダウン（デフォルト非表示）
   ============================================= */
:where(.shared-shell) .pc-nav ul ul{
  display:none;
  position:fixed;       /* overflow clipping を回避 */
  top:100px;            /* JSで上書き */
  left:0;               /* JSで上書き */
  background:#fff;
  min-width:180px;
  border:1px solid #ccc;
  box-shadow:0 4px 12px rgba(0,0,0,0.12);
  z-index:10000;
}
:where(.shared-shell) .pc-nav ul ul li{ width:100%; height:auto; display:block; }
:where(.shared-shell) .pc-nav ul ul li a{
  padding:9px 14px;
  font-size:12px;
  color:#333;
  text-decoration:none;
  display:block;
  border-bottom:1px solid #f0f0f0;
  white-space:nowrap;
  height:auto;
}
:where(.shared-shell) .pc-nav ul ul li:last-child a{ border-bottom:none; }
:where(.shared-shell) .pc-nav ul ul li a:hover{ background:#f5f5f5; color:#2e7d32; }

/* navmenu.js が body 直下へ移動したサブメニュー */
.nav-portal-submenu{
  display:none;
  position:fixed;
  z-index:999999;
  min-width:180px;
  margin:0;
  padding:4px 0;
  border:1px solid #ccc;
  background:#fff;
  box-shadow:0 4px 16px rgba(0,0,0,.18);
  list-style:none;
}
.nav-portal-submenu li{ display:block; margin:0; padding:0; list-style:none; }
.nav-portal-submenu a{
  display:block;
  padding:11px 16px;
  border-bottom:1px solid #eee;
  background:#fff;
  color:#333;
  font-size:13px;
  text-decoration:none;
  white-space:nowrap;
}
.nav-portal-submenu li:last-child a{ border-bottom:none; }
.nav-portal-submenu a:hover,
.nav-portal-submenu a:focus{ background:#f5f5f5; color:#2e7d32; }

@media screen and (max-width:768px){
  .nav-portal-submenu a{ padding:14px 20px; font-size:14px; }
}

/* =============================================
   フッター
   ============================================= */
:where(.shared-shell) .footer-content{ background:#f0e68c; color:#000; text-align:center; padding:20px; font-size:14px; }
:where(.shared-shell) .footer-columns{ display:flex; justify-content:space-around; flex-wrap:wrap; border-top:1px solid #ccc; padding-top:20px; }
:where(.shared-shell) .footer-column{ flex:1; min-width:200px; margin:10px; padding:10px; border-left:1px solid #ccc; }
:where(.shared-shell) .footer-column:first-child{ border-left:none; }
:where(.shared-shell) .footer-column h3{ margin-bottom:10px; border-bottom:1px solid #ccc; padding-bottom:5px; }
:where(.shared-shell) .footer-column ul{ list-style:none; padding:0; }
:where(.shared-shell) .footer-column ul li{ margin-bottom:5px; }
:where(.shared-shell) .footer-column ul li a{ color:#000; text-decoration:none; }

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');

/* 
  ここでは body{} の設定はせず、
  主にコンテンツ用のクラスを定義します。
*/

/* 枠付きボックス */




:where(.shared-shell) .bordered-box{
  border: 2px solid #00bfff;
  padding: 20px;
  margin: 20px 0;
  text-align: center;
  background-color: #ffffff;
}

/* サムネイル一覧 */
:where(.shared-shell) .custom-thumbnails{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 20px 0;
}
:where(.shared-shell) .custom-thumbnail{
  text-align: left;
  margin: 20px;
  flex: 1 1 calc(50% - 40px);
  box-sizing: border-box;
}
:where(.shared-shell) .custom-thumbnail img{
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* タイトル（中央揃え + 下線） */
:where(.shared-shell) .custom-flex-title{
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
}
:where(.shared-shell) .custom-flex-title::after{
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: #000;
  margin: 10px auto 0;
}

/* コンテンツと画像 */
:where(.shared-shell) .custom-content-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
:where(.shared-shell) .custom-image{
  flex: 1;
  max-width: 45%;
}
:where(.shared-shell) .custom-image img{
  width: 100%;
  height: auto;
  border-radius: 10px;
}
:where(.shared-shell) .custom-comment{
  flex: 1;
  font-size: 16px;
  margin-left: 20px;
}

/* ボタンコンテナ */
:where(.shared-shell) .custom-button-container{
  text-align: center;
  margin: 20px 0;
  width: 100%;
}
:where(.shared-shell) .custom-btn{
  display: inline-block;
  padding: 15px 30px;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  margin: 10px;
  transition: opacity 0.3s;
}
:where(.shared-shell) .custom-btn--contact{
  background-color: #ff9800; /* オレンジ */
}
:where(.shared-shell) .custom-btn--tel{
  background-color: #4caf50; /* 緑 */
}
:where(.shared-shell) .custom-btn:hover {
  opacity: 0.8;
}

/* CTA用テキスト・ボタン */
:where(.shared-shell) .cta-text{
  font-size: 18px;
  margin-bottom: 20px;
}
:where(.shared-shell) .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* ギャラリーなど (必要に応じて) */
:where(.shared-shell) .gallery{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 20px 0;
}
:where(.shared-shell) .gallery-item{
  width: calc(33.333% - 10px);
  margin-bottom: 20px;
  text-align: center;
}
:where(.shared-shell) .gallery-item img{
  width: 100%;
  height: auto;
  border-radius: 10px;
}
:where(.shared-shell) .gallery-item h5{
  font-size: 16px;
  margin-top: 10px;
}

/* その他セクション例 */
:where(.shared-shell) .image-text-section{
  text-align: center;
  margin: 20px 0;
}
:where(.shared-shell) .text-container{
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px 0;
}
:where(.shared-shell) .text-block{
  width: 100%;
  max-width: 600px;
  background-color: #fff;
  padding: 20px;
  margin: 10px 0;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}
:where(.shared-shell) .text-block h3{
  margin: 0;
  font-size: 18px;
  color: #000;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  :where(.shared-shell) .custom-thumbnails {
    flex-direction: column;
    align-items: center;
  }
  :where(.shared-shell) .custom-thumbnail{
    flex: 1 1 100%;
    margin: 10px 0;
  }
  :where(.shared-shell) .custom-content-container{
    flex-direction: column;
    text-align: center;
  }
  :where(.shared-shell) .custom-comment{
    margin-left: 0;
    margin-top: 10px;
  }
  :where(.shared-shell) .custom-image{
    max-width: 100%;
    margin-top: 10px;
  }
  
  :where(.shared-shell) .gallery {
    flex-direction: column;
    align-items: center;
  }
  :where(.shared-shell) .gallery-item{
    width: 70%;
    margin-bottom: 10px;
  }


/* --- 追加または上書きするCSS例 --- */

/* 見出しやセクション間の余白を大きめにする */
:where(.shared-shell) .custom-flex-title{
  margin: 40px 0 20px; /* 上40px, 下20pxなど */
}

:where(.shared-shell) .center-image{
  text-align: center;
  margin: 40px 0;      /* セクションごとに上下40px余白 */
}
:where(.shared-shell) .center-image img{
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;      /* 中央寄せ */
  margin: 0 auto;
}

:where(.shared-shell) .featured{
  margin: 40px 0;      /* 余白をしっかりとる */
  text-align: center;
}
:where(.shared-shell) .featured h4{
  font-size: 20px;
  margin-bottom: 10px;
}
:where(.shared-shell) .featured p{
  font-size: 16px;
}

:where(.shared-shell) .centered-image{
  text-align: center;
  margin-bottom: 60px;  /* フッターとの間を離すため大きめに */
}
:where(.shared-shell) .centered-image img{
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;       /* 中央寄せ */
  margin: 0 auto;
}


  :where(.shared-shell) .responsive-section{
    flex-direction: column;
    text-align: center;
  }
  :where(.shared-shell) .responsive-section img,
  :where(.shared-shell) .responsive-section p{
    width: 100%;
    margin: 10px 0;
  }
  :where(.shared-shell) .responsive-section p{
    font-size: 16px;
    line-height: 1.5;
  }
}

/* ------------------------------------------------
   追加スタイル: お問い合わせボタン＋説明文
-------------------------------------------------- */

/* ボタン＋説明文をひとまとまりにするラッパ */
:where(.shared-shell) .cta-option{
  display: inline-flex;         /* ボタンと説明を縦並びに */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 10px;               /* 各問い合わせ手段の間隔 */
}

/* ボタン説明文 */
:where(.shared-shell) .btn-desc{
  margin-top: 5px;
  font-size: 14px;             /* 小さめ文字 */
  color: #666;                 /* 少し淡めの文字色 */
  text-align: center;
  line-height: 1.4;
}

:where(.shared-shell) .custom-btn--tel{
  background-color:#009900; /* 緑 */
}

/* LINEの独自ボタン色などを付けるなら */
:where(.shared-shell) .custom-btn--line{
  background-color: #00b900;   /* LINEっぽい緑 */
  display: inline-flex;        /* アイコン + テキストを横並びにしたい場合 */
  align-items: center;
  gap: 5px;                    /* アイコンとテキストの隙間 */
}

:where(.shared-shell) .line-icon{
  max-height: 24px;            /* アイコン画像を少し小さめに表示 */
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

/* ボタンが多いので、スマホで縦並びにする例 */
@media screen and (max-width: 768px) {
  :where(.shared-shell) .cta-buttons {
    flex-wrap: wrap;           /* ボタン群を折り返す */
  }
  :where(.shared-shell) .cta-option{
    margin: 5px 0;
  }

  /* 全体を小さく */
  body{
    font-size: 14px;
  }

  /* 見出しやCTA部分などをさらに調整 */
  :where(.shared-shell) .custom-flex-title{
    font-size: 20px; /* 通常24px → スマホ20px */
  }
  :where(.shared-shell) .cta-text{
    font-size: 16px; /* 通常18px → スマホ16px */
  }
  :where(.shared-shell) .featured h4{
    font-size: 18px; /* 通常20px → スマホ18px */
  }
  :where(.shared-shell) .featured p{
    font-size: 14px; /* 通常16px → スマホ14px */
  }
  /* ボタン文字を少し小さめに */
  :where(.shared-shell) .custom-btn{
    font-size: 14px;
  }
}
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&family=Shippori+Mincho:wght@500;700&family=Zen+Kaku+Gothic+New:wght@400;500;700;900&display=swap');

/*
 * style.kakakuhyo.css  ―  ウリンウッドデッキ価格ページ専用
 *
 * デザイントークン
 *   --g-dark   : #1b5e20  (深緑)
 *   --g-mid    : #2e7d32
 *   --g-light  : #e8f5e9
 *   --amber    : #f5a623  (アクセント金)
 *   --text     : #2c2c2c
 *   --muted    : #6b7280
 */

/* =============================================
   0. ベース上書き
   ============================================= */
body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  color: #2c2c2c;
  line-height: 1.8;
  font-size: 1rem;
  background: #fdfbf8;
}

/* このページのレイアウトはページ専用CSSで管理する */
:where(.shared-shell) main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 1.25rem;
}

:where(.shared-shell) main section { margin-bottom: 5.5rem; }

/* =============================================
   2. シミュレーターHUB (ページ最上部)
   ============================================= */
:where(.shared-shell) .sim-hub {
  background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 55%, #43a047 100%);
  padding: 36px 16px 48px;
}

:where(.shared-shell) .sim-card {
  max-width: 920px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

/* カードヘッダー */
:where(.shared-shell) .sim-card-header {
  background: #1b5e20;
  color: #fff;
  padding: 18px 28px 14px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

:where(.shared-shell) .sim-card-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: .03em;
}

:where(.shared-shell) .sim-card-header p {
  font-size: 12px;
  opacity: .8;
  margin: 0;
}

/* タブ */
:where(.shared-shell) .sim-tabs {
  display: flex;
  border-bottom: 2px solid #e0e0e0;
  background: #fafafa;
}

/* パネル */
:where(.shared-shell) .sim-panel {
  display: none;
  padding: 24px 28px 28px;
}

:where(.shared-shell) .sim-panel.active {
  display: block;
}

/* 2カラムグリッド */
:where(.shared-shell) .sim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

/* 入力エリア */
:where(.shared-shell) .sim-inputs {}

:where(.shared-shell) .sim-group {
  margin-bottom: 14px;
}

:where(.shared-shell) .sim-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #444;
  margin-bottom: 5px;
  letter-spacing: .02em;
}

:where(.shared-shell) .sim-group input[type="number"],
:where(.shared-shell) .sim-group select {
  width: 100%;
  padding: 9px 12px;
  font-size: 15px;
  font-family: inherit;
  border: 1.5px solid #b2dfdb;
  border-radius: 7px;
  box-sizing: border-box;
  color: #333;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
  -webkit-appearance: none;
}

:where(.shared-shell) .sim-group input:focus,
:where(.shared-shell) .sim-group select:focus {
  border-color: #2e7d32;
  box-shadow: 0 0 0 3px rgba(46,125,50,.12);
  outline: none;
}

:where(.shared-shell) .sim-group--wide {
  grid-column: 1 / -1;
}

:where(.shared-shell) .sim-check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  cursor: pointer;
}

:where(.shared-shell) .sim-check-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #2e7d32;
  cursor: pointer;
}

/* 結果パネル */
:where(.shared-shell) .sim-result-panel {
  background: #f1f8e9;
  border: 1.5px solid #c8e6c9;
  border-radius: 12px;
  padding: 20px;
}

:where(.shared-shell) .sim-info-bar {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

:where(.shared-shell) .sim-info-item {
  background: #fff;
  border: 1px solid #c8e6c9;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 12.5px;
  color: #555;
}

:where(.shared-shell) .sim-info-item strong {
  color: #1b5e20;
  font-size: 14px;
}

:where(.shared-shell) .sim-breakdown {
  border-top: 1px solid #a5d6a7;
  padding-top: 10px;
  margin: 10px 0;
}

:where(.shared-shell) .breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  font-size: 13.5px;
  color: #444;
}

:where(.shared-shell) .breakdown-row span {
  font-weight: 600;
  color: #1b5e20;
}

:where(.shared-shell) .sim-total-box {
  background: linear-gradient(135deg, #1b5e20, #2e7d32);
  color: #fff;
  border-radius: 10px;
  padding: 14px 18px;
  text-align: center;
  margin-top: 14px;
}

:where(.shared-shell) .sim-total-box .sim-total-label {
  font-size: 12px;
  opacity: .85;
  letter-spacing: .05em;
  display: block;
  margin-bottom: 2px;
}

:where(.shared-shell) .sim-total-box .sim-total-value {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: .02em;
}

:where(.shared-shell) .sim-total-box .sim-total-tax {
  font-size: 11px;
  opacity: .7;
}

:where(.shared-shell) .slope-warning-box {
  display: none;
  background: #fff3e0;
  border: 1px solid #ffb74d;
  border-radius: 7px;
  padding: 8px 12px;
  font-size: 12.5px;
  color: #e65100;
  margin-top: 10px;
}

:where(.shared-shell) .sim-note {
  font-size: 11px;
  color: #9e9e9e;
  margin-top: 10px;
  line-height: 1.6;
}

/* 新工法リスト */
:where(.shared-shell) .method-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}

:where(.shared-shell) .method-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 10px;
  border-radius: 6px;
  margin-bottom: 5px;
  font-size: 13px;
  background: #fff;
  border: 1px solid #c8e6c9;
}

:where(.shared-shell) .method-list li .method-tag {
  font-size: 11px;
  background: #e8f5e9;
  color: #2e7d32;
  padding: 2px 8px;
  border-radius: 99px;
  font-weight: 700;
}

:where(.shared-shell) .method-list li .method-price {
  font-weight: 700;
  color: #1b5e20;
}

/* =============================================
   3. セクション共通
   ============================================= */
:where(.shared-shell) .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

:where(.shared-shell) h2.title,
:where(.shared-shell) .title {
  background: #e8f5e9;
  color: #1b5e20;
  padding: 12px 18px;
  font-size: 1.1rem;
  border-left: 5px solid #2e7d32;
  margin-bottom: 1rem;
  line-height: 1.5;
}

:where(.shared-shell) .description,
:where(.shared-shell) p.description {
  font-size: 15px;
  color: #444;
  line-height: 1.85;
  margin-top: 8px;
}

/* =============================================
   4. ヒーロー (intro-title section)
   ============================================= */
:where(.shared-shell) #gaz-hero-grad {
  position: relative;
  min-height: 180px;
  background: linear-gradient(135deg, #1b5e20 0%, #43a047 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}

:where(.shared-shell) .gaz-grad-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.18);
}

:where(.shared-shell) .gaz-grad-content {
  position: relative;
  z-index: 1;
  color: #fff;
}

:where(.shared-shell) .gaz-grad-content h2 {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 10px;
}

:where(.shared-shell) .gaz-grad-content p {
  font-size: .95rem;
  opacity: .9;
  margin-bottom: 18px;
}

:where(.shared-shell) .gaz-grad-cta {
  display: inline-block;
  background: #fff;
  color: #1b5e20;
  padding: 10px 28px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: background .2s;
}

:where(.shared-shell) .gaz-grad-cta:hover { background: #f1f8e9; }

/* =============================================
   5. データテーブル（ウリン材情報）
   ============================================= */
:where(.shared-shell) .data-table { width: 100%; margin: 12px 0; }

:where(.shared-shell) .data-row {
  display: flex;
  border-bottom: 1px solid #e8f5e9;
}

:where(.shared-shell) .data-column {
  padding: 9px 14px;
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
}

:where(.shared-shell) .data-column:first-child {
  background: #f1f8e9;
  font-weight: 700;
  max-width: 130px;
  flex: 0 0 130px;
  color: #1b5e20;
}

/* =============================================
   6. コンテントブロック
   ============================================= */
:where(.shared-shell) .content-block {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

:where(.shared-shell) .content-block > .image-container1 {
  flex: 1 1 45%;
  min-width: 240px;
}

:where(.shared-shell) .content-block > .info-block {
  flex: 1 1 45%;
  min-width: 240px;
}

:where(.shared-shell) .image-container1 { width: 100%; overflow: hidden; margin-bottom: 10px; }
:where(.shared-shell) .image-container1 img { width: 100%; height: auto; display: block; border-radius: 6px; }

:where(.shared-shell) .image-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

:where(.shared-shell) .image-row .image-container1 {
  flex: 1 1 calc(50% - 4px);
  min-width: 140px;
  margin-bottom: 0;
}

:where(.shared-shell) .info-block { display: flex; flex-direction: column; }

:where(.shared-shell) .info-item {
  border: 1px solid #e0ece0;
  border-radius: 7px;
  margin-bottom: 10px;
  padding: 13px 15px;
  background: #fafcfa;
}

:where(.shared-shell) .info-item h3 {
  font-size: 1rem;
  color: #1b5e20;
  margin-bottom: 5px;
}

:where(.shared-shell) .info-item p { margin: 0; font-size: 14px; line-height: 1.75; }

/* =============================================
   7. フェンス・ステップシミュレーター（既存）
   ============================================= */
:where(.shared-shell) .sim-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  background: #f8fdf8;
  padding: 18px;
  border-radius: 10px;
  border: 1px solid #c8e6c9;
  margin: 14px 0;
}

:where(.shared-shell) .sim-form label {
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  color: #1b5e20;
}

:where(.shared-shell) .sim-form input[type="number"],
:where(.shared-shell) .sim-form select {
  font-size: 15px;
  padding: 8px 10px;
  border: 1.5px solid #b2dfdb;
  border-radius: 6px;
  width: 160px;
  max-width: 100%;
  box-sizing: border-box;
  font-family: inherit;
}

:where(.shared-shell) .sim-result {
  background: #e8f5e9;
  border: 1.5px solid #4caf50;
  border-radius: 9px;
  padding: 16px 20px;
  margin-top: 12px;
}

:where(.shared-shell) .sim-result h3 { font-size: 1.1rem; color: #1b5e20; margin-bottom: 4px; }
:where(.shared-shell) .sim-result p  { font-size: 12.5px; color: #777; margin-top: 4px; }

/* =============================================
   8. テーブル（価格表など）
   ============================================= */
:where(.shared-shell) .table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1rem 0;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

:where(.shared-shell) .table-wrap table {
  min-width: 500px;
  border-collapse: collapse;
  width: 100%;
  font-size: 13.5px;
}

:where(.shared-shell) .calculation-note {
  margin-top: 10px;
  padding: 10px 12px;
  border-left: 3px solid #9e9e9e;
  background: #f7f7f5;
  color: #5f6368;
  font-size: 12.5px;
  line-height: 1.7;
}

:where(.shared-shell) table { border-collapse: collapse; width: 100%; font-size: 14px; }

:where(.shared-shell) table:not(.data-table):not(.price-table) {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

:where(.shared-shell) th, :where(.shared-shell) td {
  border: 1px solid #e0e0e0;
  padding: 10px 10px;
  text-align: center;
  line-height: 1.5;
}

:where(.shared-shell) th {
  background: #f1f8e9;
  font-weight: 700;
  color: #1b5e20;
}

:where(.shared-shell) .price-table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-collapse: collapse;
  width: 100%;
}

/* =============================================
   9. フェンス写真セクション
   ============================================= */
:where(.shared-shell) .fence-step-visual-section {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
  padding: 16px;
  border: 1px solid #e8f0e8;
  border-radius: 10px;
  background: #fff;
  align-items: flex-start;
}

:where(.shared-shell) .fence-step-visual-section img {
  flex: 1 1 calc(50% - 5px);
  min-width: 140px;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 7px;
}

:where(.shared-shell) .fence-step-visual-caption {
  width: 100%;
  font-size: 13.5px;
  font-weight: 700;
  color: #1b5e20;
  background: #e8f5e9;
  padding: 7px 12px;
  border-left: 4px solid #4caf50;
  border-radius: 4px;
}

:where(.shared-shell) .fence-step-description {
  width: 100%;
  font-size: 13.5px;
  color: #555;
  line-height: 1.75;
}

/* =============================================
   10. CTAセクション
   ============================================= */
:where(.shared-shell) .cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

:where(.shared-shell) .custom-btn--line { background-color: #06c755; }

:where(.shared-shell) .line-icon {
  height: 20px;
  width: auto;
  vertical-align: middle;
  margin-right: 4px;
}

:where(.shared-shell) .cta-option { text-align: center; }
:where(.shared-shell) .btn-desc { margin-top: 4px; font-size: 12px; color: #888; }
:where(.shared-shell) a.cta-link { color: #1b6b20; font-weight: 700; text-decoration: underline; }

/* =============================================
   11. レスポンシブ ≤ 768px
   ============================================= */
@media (max-width: 768px) {

  /* --- sim-hub --- */
  :where(.shared-shell) .sim-hub { padding: 24px 10px 36px; }

  :where(.shared-shell) .sim-card { border-radius: 12px; }

  :where(.shared-shell) .sim-card-header {
    padding: 14px 18px 10px;
  }

  :where(.shared-shell) .sim-card-header h2 { font-size: 1.05rem; }

  :where(.shared-shell) .sim-panel { padding: 16px; }

  /* 2カラム → 1カラム */
  :where(.shared-shell) .sim-grid { grid-template-columns: 1fr; }

  :where(.shared-shell) .sim-result-panel { margin-top: 0; }

  /* ヒーロー */
  :where(.shared-shell) #gaz-hero-grad { min-height: 130px; padding: 24px 14px; }
  :where(.shared-shell) .gaz-grad-content h2 { font-size: 1.2rem; }

  /* タイトル */
  :where(.shared-shell) h2.title, :where(.shared-shell) .title { font-size: 1rem; padding: 10px 12px; }

  /* テキストサイズ強制 */
  :where(.shared-shell) p, :where(.shared-shell) li, :where(.shared-shell) .description, :where(.shared-shell) td, :where(.shared-shell) .fence-step-description, :where(.shared-shell) .fence-step-visual-caption, :where(.shared-shell) .breakdown-row { font-size: 13.5px !important; }

  /* content-block 縦積み */
  :where(.shared-shell) .content-block { flex-direction: column; }
  :where(.shared-shell) .content-block > div { flex: 1 1 100% !important; max-width: 100% !important; }
  :where(.shared-shell) .info-block { max-width: 100%; }

  /* テーブル */
  :where(.shared-shell) th, :where(.shared-shell) td { font-size: 12px; padding: 7px 5px; }

  /* フェンス写真 */
  :where(.shared-shell) .fence-step-visual-section { flex-direction: column; }
  :where(.shared-shell) .fence-step-visual-section img { width: 100%; flex: none; }

  /* フォーム */
  :where(.shared-shell) .sim-form input[type="number"],
  :where(.shared-shell) .sim-form select { width: 100%; max-width: 100%; }

  /* カード */
  :where(.shared-shell) .cards-container { grid-template-columns: 1fr !important; }

  /* フッター */
  :where(.shared-shell) .footer-columns { flex-direction: column; }
  :where(.shared-shell) .footer-column { min-width: 100%; border-left: none; border-top: 1px solid #ccc; }

  /* CTAボタン縦積み */
  :where(.shared-shell) .cta-buttons { flex-direction: column; align-items: center; }
  :where(.shared-shell) .custom-btn { width: 90%; max-width: 340px; text-align: center; box-sizing: border-box; }

  /* サムネイル */
  :where(.shared-shell) .custom-thumbnails { flex-direction: column; }
  :where(.shared-shell) .custom-content-container { flex-direction: column; }
  :where(.shared-shell) .custom-image { max-width: 100%; }
  :where(.shared-shell) .custom-comment { margin-left: 0; margin-top: 10px; }

  /* data-table */
  :where(.shared-shell) .data-column:first-child { max-width: 100px; flex: 0 0 100px; font-size: 12px; }
  :where(.shared-shell) .data-column { font-size: 13px; }

  /* 既存 sim-form */
  :where(.shared-shell) .sim-form { flex-direction: column; }
  :where(.shared-shell) .sim-form label { flex-direction: column; align-items: flex-start; }

  /* method-list */
  :where(.shared-shell) .method-list li { font-size: 12px; }
}

/* =============================================
   12. レスポンシブ ≤ 480px
   ============================================= */
@media (max-width: 480px) {
  :where(.shared-shell) .sim-card-header h2 { font-size: .95rem; }
  :where(.shared-shell) .gaz-grad-content h2 { font-size: 1.05rem; }
  :where(.shared-shell) h2.title, :where(.shared-shell) .title { font-size: .92rem; }
  :where(.shared-shell) th, :where(.shared-shell) td { font-size: 11px; padding: 6px 4px; }
  :where(.shared-shell) .sim-total-box .sim-total-value { font-size: 1.4rem; }
  :where(.shared-shell) .data-column:first-child { max-width: 85px; flex: 0 0 85px; }
}

/* =============================================
   13. Sim-Hub 新UIクラス（HTML側の class に合わせる）
   ============================================= */

/* ヘッダーテキスト */
:where(.shared-shell) .sim-hub-header { text-align: center; color: #fff; margin-bottom: 22px; }
:where(.shared-shell) .sim-hub-header h2 { font-size: 1.45rem; font-weight: 700; margin-bottom: 4px; }
:where(.shared-shell) .sim-hub-header p  { font-size: 13px; opacity: .82; }

/* ヒーロー補助 */
:where(.shared-shell) .hero-label { font-size: 11px; letter-spacing: .15em; opacity: .8; margin-bottom: 6px; text-transform: uppercase; }
:where(.shared-shell) .hero-sub   { font-size: 13px; opacity: .82; margin-bottom: 18px; }

/* タブボタン (sim-tab-btn) */
:where(.shared-shell) .sim-tab-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 12px 6px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  color: #888;
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s, background .2s;
}
:where(.shared-shell) .sim-tab-btn:hover { background: #f1f8e9; color: #2e7d32; }
:where(.shared-shell) .sim-tab-btn.active { color: #1b5e20; border-bottom-color: #2e7d32; background: #fff; }
:where(.shared-shell) .tab-icon  { font-size: 18px; line-height: 1; }
:where(.shared-shell) .tab-label { font-size: 12px; }

/* パネルリード */
:where(.shared-shell) .sim-panel-lead {
  font-size: 13px;
  color: #666;
  background: #f5f7f5;
  border-radius: 5px;
  padding: 8px 12px;
  margin-bottom: 18px;
}

/* フォームフィールド (sim-field) */
:where(.shared-shell) .sim-field { margin-bottom: 14px; }
:where(.shared-shell) .sim-field > label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #444;
  margin-bottom: 5px;
}
:where(.shared-shell) .field-hint {
  display: block;
  max-width: 100%;
  min-width: 0;
  font-size: 11px;
  font-weight: 400;
  color: #999;
  margin-top: 2px;
  padding-block: 2px;
  line-height: 1.65;
  white-space: normal;
  overflow: visible;
  overflow-wrap: anywhere;
}
:where(.shared-shell) .sim-grid,
:where(.shared-shell) .sim-inputs,
:where(.shared-shell) .sim-field,
:where(.shared-shell) .sim-field > label { min-width: 0; }
:where(.shared-shell) .input-wrap { display: flex; min-width: 0; align-items: center; gap: 6px; }
:where(.shared-shell) .input-wrap input[type="number"] {
  flex: 1;
  width: 100%;
  min-width: 0;
  padding: 9px 12px;
  font-size: 15px;
  font-family: inherit;
  border: 1.5px solid #b2dfdb;
  border-radius: 7px;
  box-sizing: border-box;
  transition: border-color .2s, box-shadow .2s;
  color: #333;
  background: #fff;
}
:where(.shared-shell) .input-wrap input:focus {
  border-color: #2e7d32;
  box-shadow: 0 0 0 3px rgba(46,125,50,.1);
  outline: none;
}
:where(.shared-shell) .unit { font-size: 14px; color: #555; white-space: nowrap; }
:where(.shared-shell) .sim-field select {
  width: 100%;
  padding: 9px 12px;
  font-size: 14px;
  font-family: inherit;
  border: 1.5px solid #b2dfdb;
  border-radius: 7px;
  background: #fff;
  color: #333;
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  transition: border-color .2s;
}
:where(.shared-shell) .sim-field select:focus { border-color: #2e7d32; outline: none; }

/* チェックボックス */
:where(.shared-shell) .checkbox-group { margin-top: 4px; }
:where(.shared-shell) .checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 8px;
  cursor: pointer;
}
:where(.shared-shell) .checkbox-label input[type="checkbox"] {
  width: 15px; height: 15px;
  accent-color: #2e7d32;
  cursor: pointer;
  flex-shrink: 0;
}

/* 結果カード (sim-result-card) */
:where(.shared-shell) .sim-result-card {
  background: #f1f8e9;
  border: 1.5px solid #a5d6a7;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
:where(.shared-shell) .result-area-label { font-size: 13px; color: #666; }
:where(.shared-shell) .result-area-label strong { font-size: 16px; color: #1b5e20; }

/* 内訳 */
:where(.shared-shell) .result-breakdown {
  background: #fff;
  border-radius: 8px;
  padding: 10px 14px;
  border: 1px solid #c8e6c9;
}
:where(.shared-shell) .breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  padding: 4px 0;
  color: #444;
}
:where(.shared-shell) .breakdown-row.highlight { color: #1b5e20; font-weight: 700; }

/* 合計表示 */
:where(.shared-shell) .result-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, #1b5e20, #2e7d32);
  color: #fff;
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}
:where(.shared-shell) .result-label { font-size: 12px; opacity: .85; margin-bottom: 4px; }
:where(.shared-shell) .result-price { font-size: 2rem; font-weight: 700; line-height: 1.15; }
:where(.shared-shell) .result-yen   { font-size: 14px; opacity: .8; }
:where(.shared-shell) .result-note  { font-size: 11.5px; color: #888; text-align: center; }

/* CTAボタン */
:where(.shared-shell) .result-cta-btn {
  display: block;
  background: #f5a623;
  color: #fff;
  text-decoration: none;
  text-align: center;
  padding: 11px 14px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  transition: background .2s;
}
:where(.shared-shell) .result-cta-btn:hover { background: #e59510; }

/* 高さプログレスバー */
:where(.shared-shell) .slope-height-guide {
  margin-top: 10px;
  background: #fff;
  border: 1px solid #c8e6c9;
  border-radius: 8px;
  padding: 12px 14px;
}
:where(.shared-shell) .height-bar-wrap {
  position: relative;
  background: #e8f5e9;
  border-radius: 99px;
  height: 22px;
  margin-bottom: 4px;
  overflow: hidden;
}
:where(.shared-shell) .height-bar {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #4caf50, #f5a623 60%, #f44336 100%);
  transition: width .4s ease;
  width: 30%;
}
:where(.shared-shell) .height-bar-label {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: 700;
  color: #333;
}
:where(.shared-shell) .height-guide-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #888;
  margin-top: 2px;
}

/* 斜面参考表 */
:where(.shared-shell) .slope-reference {
  margin-top: 20px;
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 16px 20px;
}
:where(.shared-shell) .slope-reference h4 { font-size: 14px; margin-bottom: 12px; color: #1b5e20; }
:where(.shared-shell) .slope-ref-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}
:where(.shared-shell) .slope-ref-item {
  text-align: center;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 7px;
  padding: 8px 6px;
}
:where(.shared-shell) .ref-h    { display: block; font-size: 13px; font-weight: 700; color: #1b5e20; margin-bottom: 3px; }
:where(.shared-shell) .ref-label{ font-size: 11px; color: #666; }
:where(.shared-shell) .slope-ref-note { font-size: 12px; color: #888; font-style: italic; }

@media (max-width: 600px) {
  :where(.shared-shell) .slope-ref-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  :where(.shared-shell) .sim-hub-header h2 { font-size: 1.15rem; }
  :where(.shared-shell) .result-price { font-size: 1.6rem; }
  :where(.shared-shell) .tab-icon { font-size: 16px; }
  :where(.shared-shell) .tab-label { font-size: 10.5px; }
  :where(.shared-shell) .sim-result-card { padding: 14px; }
  :where(.shared-shell) .input-wrap input[type="number"],
  :where(.shared-shell) .sim-field select { font-size: 14px; }
}

/* =============================================
   14. 2026 リフレッシュ：他ページとのトーン統一
   ============================================= */

/* ヒーロー：B案 グラスモーフィズム
   ・薄い緑×ベージュのソフトグラデーション背景に、淡い円形ライトを配置
   ・ヒーローCTAはすりガラス風のピル型ボタン
   ・コンテンツは半透明のガラス板に乗ったような印象 */
:where(.shared-shell) #gaz-hero-grad {
  background:
    radial-gradient(circle at 18% 22%, rgba(255,255,255,.55), transparent 55%),
    radial-gradient(circle at 82% 78%, rgba(245,221,180,.55), transparent 60%),
    linear-gradient(135deg, #d9e8d8 0%, #e7e9d6 45%, #f4ede0 100%);
  border-bottom: 1px solid rgba(255,255,255,.6);
  position: relative;
  overflow: hidden;
  min-height: 220px;
}
/* ガラス板のフローティング光（左下と右上） */
:where(.shared-shell) #gaz-hero-grad::before,
:where(.shared-shell) #gaz-hero-grad::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}
:where(.shared-shell) #gaz-hero-grad::before {
  left: -60px; bottom: -60px;
  width: 220px; height: 220px;
  background: rgba(67,160,71,.35);
}
:where(.shared-shell) #gaz-hero-grad::after {
  right: -40px; top: -40px;
  width: 180px; height: 180px;
  background: rgba(245,200,140,.45);
}
:where(.shared-shell) .gaz-grad-overlay {
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
:where(.shared-shell) .gaz-grad-content {
  position: relative;
  z-index: 1;
  color: #1b3a1f;
  background: rgba(255,255,255,.32);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 18px;
  padding: 26px 32px;
  box-shadow: 0 8px 28px rgba(27,94,32,.10), inset 0 1px 0 rgba(255,255,255,.7);
  max-width: 560px;
}
:where(.shared-shell) .gaz-grad-content h2 {
  color: #1b3a1f;
  letter-spacing: .04em;
  text-shadow: none;
  font-weight: 700;
}
:where(.shared-shell) .hero-label {
  font-weight: 600;
  color: #1b5e20;
  letter-spacing: .18em;
  opacity: 1;
}
:where(.shared-shell) .hero-sub { color: #3a5a3d; }
:where(.shared-shell) .gaz-grad-cta {
  background: rgba(255,255,255,.7);
  color: #1b5e20;
  border: 1px solid rgba(27,94,32,.35);
  border-radius: 999px;
  padding: 10px 26px;
  font-weight: 700;
  letter-spacing: .06em;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 14px rgba(27,94,32,.10);
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
:where(.shared-shell) .gaz-grad-cta:hover {
  background: #1b5e20;
  color: #fff;
  border-color: #1b5e20;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(27,94,32,.30);
}

/* シミュレーターHUB：ヒーローと連続するソフトベージュ＋緑のガラス */
:where(.shared-shell) .sim-hub {
  position: relative;
  background:
    radial-gradient(circle at 8% 0%, rgba(255,255,255,.5), transparent 50%),
    radial-gradient(circle at 95% 100%, rgba(200,230,201,.6), transparent 55%),
    linear-gradient(180deg, #f4ede0 0%, #ebe2d2 100%);
  border-bottom: 1px solid rgba(255,255,255,.7);
}
:where(.shared-shell) .sim-hub::before {
  content: "";
  position: absolute;
  left: 50%; top: -50px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  filter: blur(60px);
  transform: translateX(-50%);
  pointer-events: none;
}
:where(.shared-shell) .sim-hub-header { color: #2a3a2a; }
:where(.shared-shell) .sim-hub-header h2 {
  color: #1b3a1f;
  letter-spacing: .04em;
  font-weight: 700;
}
:where(.shared-shell) .sim-hub-header p { color: rgba(42,58,42,.7); }

/* シミュレーターカード：すりガラス風 */
:where(.shared-shell) .sim-card {
  background: rgba(255,255,255,.55);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 18px;
  box-shadow:
    0 12px 40px rgba(27,94,32,.12),
    inset 0 1px 0 rgba(255,255,255,.8);
}
:where(.shared-shell) .sim-tabs {
  background: rgba(255,255,255,.4);
  border-bottom: 1px solid rgba(255,255,255,.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
:where(.shared-shell) .sim-tab-btn {
  border-radius: 0;
  color: #6a7a68;
}
:where(.shared-shell) .sim-tab-btn:hover {
  background: rgba(255,255,255,.45);
  color: #1b5e20;
}
:where(.shared-shell) .sim-tab-btn.active {
  background: rgba(255,255,255,.85);
  color: #1b5e20;
  border-bottom: 2px solid #1b5e20;
}

/* パネルリードもガラス風に */
:where(.shared-shell) .sim-panel-lead {
  background: rgba(255,255,255,.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.8);
  color: #3a5a3d;
}

/* 入力フィールドのアクセント */
:where(.shared-shell) .input-wrap input[type="number"],
:where(.shared-shell) .sim-field select {
  background: rgba(255,255,255,.85);
  border-color: rgba(178,223,219,.7);
}
:where(.shared-shell) .input-wrap input:focus,
:where(.shared-shell) .sim-field select:focus {
  background: #fff;
  border-color: #43a047;
  box-shadow: 0 0 0 3px rgba(67,160,71,.18);
}

/* 結果カード：内側に淡いガラス */
:where(.shared-shell) .sim-result-card {
  background: rgba(241,248,233,.7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(27,94,32,.08), inset 0 1px 0 rgba(255,255,255,.7);
}
:where(.shared-shell) .result-breakdown {
  background: rgba(255,255,255,.6);
  border-color: rgba(200,230,201,.7);
}
:where(.shared-shell) .result-main {
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(27,94,32,.95), rgba(46,125,50,.95));
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px rgba(27,94,32,.22);
}
:where(.shared-shell) .result-cta-btn {
  border-radius: 999px;
  background: linear-gradient(135deg, #f5a623, #f0934a);
  letter-spacing: .04em;
  box-shadow: 0 4px 12px rgba(245,166,35,.30);
}
:where(.shared-shell) .result-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(245,166,35,.40);
  background: linear-gradient(135deg, #f0934a, #e08332);
}

/* 斜面参照ブロックもソフトに */
:where(.shared-shell) .slope-reference {
  background: rgba(255,255,255,.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 14px;
}
:where(.shared-shell) .slope-ref-item {
  background: rgba(255,255,255,.7);
  border-color: rgba(255,255,255,.8);
  border-radius: 10px;
}
:where(.shared-shell) .slope-height-guide {
  background: rgba(255,255,255,.7);
  border-color: rgba(255,255,255,.85);
  border-radius: 10px;
}

/* スマホ：ガラス効果は維持しつつパディング調整 */
@media (max-width: 768px) {
  :where(.shared-shell) .gaz-grad-content {
    padding: 20px 18px;
    border-radius: 14px;
  }
  :where(.shared-shell) #gaz-hero-grad { min-height: 180px; }
  :where(.shared-shell) .sim-card { border-radius: 14px; }
}

/* sim-card のさりげない上昇感 */
:where(.shared-shell) .sim-card {
  transition: box-shadow .25s ease;
}
:where(.shared-shell) .sim-card:hover { box-shadow: 0 16px 48px rgba(0,0,0,.45); }

/* sim-hub-header をカード上に配置したときの余白整理 */
:where(.shared-shell) .sim-hub-header { margin-bottom: 18px; }

:where(.shared-shell) .simulator-detail-link {
  max-width: 920px;
  margin: 18px auto 0;
  text-align: right;
}
:where(.shared-shell) .simulator-detail-link a {
  color: #1b5e20;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
:where(.shared-shell) .simulator-detail-link a:hover { color: #2e7d32; }

/* 章タイトル（intro-title）に余白を整える */
:where(.shared-shell) .intro-section { padding-top: 36px; padding-bottom: 8px; text-align: center; }
:where(.shared-shell) .intro-section .title { display: inline-block; }

/* 提案カードを見やすく */
:where(.shared-shell) .cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 18px 0 28px;
}
:where(.shared-shell) .proposal-card {
  background: #fff;
  border: 1px solid #e0ece0;
  border-radius: 12px;
  padding: 18px 18px 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
:where(.shared-shell) .proposal-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(27,94,32,.12);
}
:where(.shared-shell) .proposal-card h3 {
  font-size: 1rem;
  color: #1b5e20;
  background: #f1f8e9;
  border-left: 4px solid #2e7d32;
  padding: 8px 12px;
  border-radius: 4px;
  margin-bottom: 10px;
  line-height: 1.45;
}
:where(.shared-shell) .proposal-card .bullet {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}
:where(.shared-shell) .proposal-card .bullet li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.7;
  color: #333;
}
:where(.shared-shell) .proposal-card .bullet li::before {
  content: "■";
  position: absolute;
  left: 0;
  top: 0;
  color: #43a047;
  font-size: 10px;
}
:where(.shared-shell) .proposal-card .img-wrap { margin: auto -2px 0; }
:where(.shared-shell) .proposal-card .img-wrap img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}
:where(.shared-shell) .proposal-card figcaption {
  font-size: 11.5px;
  color: #666;
  margin-top: 5px;
  text-align: center;
  line-height: 1.5;
}

/* details/summary の見栄え統一 */
:where(.shared-shell) details.info-details {
  border: 1px solid #c8e6c9;
  border-radius: 10px;
  background: #fff;
  margin: 18px 0;
  overflow: hidden;
  transition: box-shadow .25s ease;
}
:where(.shared-shell) details.info-details[open] { box-shadow: 0 6px 24px rgba(0,0,0,.06); }
:where(.shared-shell) details.info-details > summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 18px;
  font-weight: 700;
  color: #1b5e20;
  background: linear-gradient(180deg, #f8fdf8, #f1f8e9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  font-size: 14.5px;
}
:where(.shared-shell) details.info-details > summary::-webkit-details-marker { display: none; }
:where(.shared-shell) details.info-details > summary::after {
  content: "▼";
  font-size: 12px;
  color: #2e7d32;
  transition: transform .25s ease;
}
:where(.shared-shell) details.info-details[open] > summary::after { transform: rotate(180deg); }
:where(.shared-shell) details.info-details > .content { padding: 18px 20px 24px; }

/* 強調コピー */
:where(.shared-shell) .highlight-copy {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1b5e20;
  border-left: 4px solid #f5a623;
  padding: 4px 0 4px 12px;
  margin: 8px 0 14px;
  letter-spacing: .02em;
}

/* 動画埋め込みを画面に収める */
:where(.shared-shell) .video-embed-wrap {
  position: relative;
  margin: 18px auto;
  max-width: 720px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,.10);
  background: #000;
}
:where(.shared-shell) .video-embed-wrap iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
}

/* テーブル：ストライプとホバーで可読性向上 */
:where(.shared-shell) .table-wrap table tbody tr:nth-child(even) td { background: #fafdf6; }
:where(.shared-shell) .table-wrap table tbody tr:hover td { background: #f1f8e9; transition: background .2s; }

/* フェンス・ステップ写真セクションをカード化 */
:where(.shared-shell) .fence-step-visual-section {
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
:where(.shared-shell) .fence-step-visual-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(27,94,32,.10);
}

/* 事例カード */
:where(.shared-shell) .case-card {
  background: #fff;
  border: 1px solid #e0ece0;
  border-radius: 12px;
  padding: 22px 22px 18px;
  margin-top: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
:where(.shared-shell) .case-card h3 {
  font-size: 1.05rem;
  color: #1b5e20;
  margin: 16px 0 10px;
  padding-left: 10px;
  border-left: 4px solid #43a047;
}
:where(.shared-shell) .case-spec-list {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
:where(.shared-shell) .case-spec-list li {
  background: #f1f8e9;
  border: 1px solid #c8e6c9;
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
:where(.shared-shell) .case-spec-list .spec-key {
  font-size: 11.5px;
  color: #2e7d32;
  font-weight: 700;
  letter-spacing: .04em;
}
:where(.shared-shell) .case-spec-list .spec-val {
  font-size: 1.05rem;
  color: #1b5e20;
  font-weight: 700;
  margin-top: 2px;
}
:where(.shared-shell) .case-study-image-caption {
  font-size: 12px;
  color: #666;
  text-align: center;
  margin-top: 4px;
}
:where(.shared-shell) .price-table .total-row th {
  background: #1b5e20;
  color: #fff;
  font-size: 1rem;
}
:where(.shared-shell) .case-study-footer {
  margin-top: 14px;
  padding: 12px 14px;
  background: #fafafa;
  border-radius: 8px;
  text-align: center;
  font-size: 13.5px;
}

/* CTAリンク（事例から問い合わせ等） */
:where(.shared-shell) a.cta-link {
  position: relative;
  color: #1b5e20;
  text-decoration: none;
  border-bottom: 2px solid rgba(27,94,32,.25);
  padding-bottom: 1px;
  transition: border-color .2s, color .2s;
}
:where(.shared-shell) a.cta-link:hover { color: #f5a623; border-bottom-color: #f5a623; }

/* スムーズなセクション間スクロール余白 */
:where(.shared-shell) section { scroll-margin-top: 80px; }

/* レスポンシブ調整 */
@media (max-width: 768px) {
  :where(.shared-shell) .cards-container { grid-template-columns: 1fr; }
  :where(.shared-shell) .case-spec-list { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  :where(.shared-shell) .case-spec-list li { padding: 8px 4px; }
  :where(.shared-shell) .case-spec-list .spec-val { font-size: .95rem; }
  :where(.shared-shell) details.info-details > summary { font-size: 13.5px; padding: 12px 14px; }
  :where(.shared-shell) details.info-details > .content { padding: 14px 14px 18px; }
  :where(.shared-shell) .proposal-card { padding: 14px; }
  :where(.shared-shell) .case-card { padding: 16px 14px; }
}
@media (max-width: 480px) {
  :where(.shared-shell) .case-spec-list { grid-template-columns: 1fr; }
}

/* =============================================
   15. お問い合わせ B案：Japandi 和紙カード（視認性強化版）
   フォーム → LINE → 電話 の優先度
   フォント：Zen Kaku Gothic New（モダン和文ゴシック）
   ============================================= */

:where(.shared-shell) .inquiry-jp {
  background: #ebe2d2;
  padding: 24px 20px 56px;
  margin: 0;
  position: relative;
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
}
:where(.shared-shell) .inquiry-jp::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,.45), transparent 55%),
    radial-gradient(circle at 80% 100%, rgba(213,194,160,.25), transparent 60%);
  pointer-events: none;
}

/* セクションヘッダー：縦積み・中央揃え */
:where(.shared-shell) .inquiry-jp__heading {
  position: relative;
  text-align: center;
  max-width: 560px;
  margin: 0 auto 20px;
  padding-top: 20px;
}
:where(.shared-shell) .inquiry-jp__heading-jp {
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: #1f1d18;
  margin: 0;
  letter-spacing: 0.06em;
  line-height: 1.4;
  font-feature-settings: "palt";
  word-break: keep-all;
  overflow-wrap: break-word;
}
:where(.shared-shell) .inquiry-jp__heading-jp .line { display: inline-block; }
:where(.shared-shell) .inquiry-jp__heading-jp::after {
  content: "";
  display: block;
  width: 28px;
  height: 1.5px;
  background: #1b5e20;
  margin: 10px auto 0;
}
:where(.shared-shell) .inquiry-jp__heading-sub {
  font-size: 11px;
  color: #6a6157;
  margin: 7px 0 0;
  line-height: 1.6;
  letter-spacing: 0.04em;
  word-break: keep-all;
  overflow-wrap: break-word;
}
:where(.shared-shell) .inquiry-jp__heading-sub .row { display: inline; }

/* --- カード本体 --- */
:where(.shared-shell) .inquiry-jp__card {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  background: #fbf8f2;
  border-radius: 6px;
  padding: 36px 32px 28px;
  box-shadow:
    0 1px 0 rgba(255,255,255,.7) inset,
    0 14px 40px rgba(70,55,30,.12);
  border-top: 3px solid #1b5e20;
}

/* 「FREE — 完全無料」バッジ */
:where(.shared-shell) .inquiry-jp__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #1b5e20;
  background: #f1f8e9;
  border: 0.5px solid #c8e6c9;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* タイトル＆リード（モダンゴシック） */
:where(.shared-shell) .inquiry-jp__title {
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  font-size: 1.55rem;
  color: #1f1d18;
  margin: 0 0 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
  font-feature-settings: "palt";
}
:where(.shared-shell) .inquiry-jp__lead {
  font-size: 14px;
  color: #6a6157;
  line-height: 1.95;
  margin: 0 0 26px;
  letter-spacing: 0.02em;
}

/* 強み3指標（数字は明朝 / 「Shippori Mincho」） */
:where(.shared-shell) .inquiry-jp__stats {
  list-style: none;
  display: flex;
  margin: 0 0 26px;
  padding: 16px 0;
  border-top: 0.5px solid #d6cfc1;
  border-bottom: 0.5px solid #d6cfc1;
  gap: 0;
}
:where(.shared-shell) .inquiry-jp__stats li {
  flex: 1;
  text-align: center;
  border-left: 0.5px solid #d6cfc1;
  padding: 4px 0;
}
:where(.shared-shell) .inquiry-jp__stats li:first-child { border-left: 0; }
:where(.shared-shell) .inquiry-jp__stats .stat-num {
  display: block;
  font-family: 'Shippori Mincho', 'Noto Serif JP', 'Hiragino Mincho ProN', serif;
  font-size: 1.55rem;
  font-weight: 500;
  color: #1f1d18;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
:where(.shared-shell) .inquiry-jp__stats .stat-num small {
  font-size: 0.5em;
  color: #6a6157;
  margin-left: 2px;
  font-weight: 400;
}
:where(.shared-shell) .inquiry-jp__stats .stat-label {
  display: block;
  font-size: 10.5px;
  color: #6a6157;
  letter-spacing: 0.08em;
  margin-top: 5px;
  font-weight: 500;
}

/* --- CTAエリア --- */
:where(.shared-shell) .inquiry-jp__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
:where(.shared-shell) .inquiry-jp__btn {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 4px;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  position: relative;
  font-family: inherit;
}
:where(.shared-shell) .inquiry-jp__btn .btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
:where(.shared-shell) .inquiry-jp__btn .btn-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
:where(.shared-shell) .inquiry-jp__btn .btn-tag {
  font-size: 10px;
  letter-spacing: 0.14em;
  font-weight: 700;
  opacity: 0.95;
}
:where(.shared-shell) .inquiry-jp__btn .btn-label {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
:where(.shared-shell) .inquiry-jp__btn .btn-arrow {
  font-size: 16px;
  font-weight: 500;
}
:where(.shared-shell) .inquiry-jp__btn .btn-meta {
  font-size: 11px;
  letter-spacing: 0.04em;
}

/* ① フォーム（プライマリ：フォレストグリーン塗り＋アンバーアイコン） */
:where(.shared-shell) .inquiry-jp__btn--primary {
  background: #2e7d32;
  color: #fbf8f2;
  box-shadow: 0 4px 14px rgba(46,125,50,.28);
}
:where(.shared-shell) .inquiry-jp__btn--primary .btn-icon { color: #f5e642; }
:where(.shared-shell) .inquiry-jp__btn--primary .btn-tag { color: #f5e642; }
:where(.shared-shell) .inquiry-jp__btn--primary .btn-arrow { color: #f5e642; }
:where(.shared-shell) .inquiry-jp__btn--primary:hover {
  background: #1b5e20;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(27,94,32,.38);
}

/* ② LINE（セカンダリ：白＋緑アクセント） */
:where(.shared-shell) .inquiry-jp__btn--line {
  background: #fff;
  color: #1f1d18;
  border: 0.5px solid #1f1d18;
}
:where(.shared-shell) .inquiry-jp__btn--line .btn-icon { color: #06c755; }
:where(.shared-shell) .inquiry-jp__btn--line .btn-tag { color: #06c755; }
:where(.shared-shell) .inquiry-jp__btn--line .btn-arrow { color: #1f1d18; }
:where(.shared-shell) .inquiry-jp__btn--line:hover {
  background: #1f1d18;
  color: #fbf8f2;
  border-color: #1f1d18;
}
:where(.shared-shell) .inquiry-jp__btn--line:hover .btn-arrow { color: #fbf8f2; }

/* ③ 電話（テキストリンク） */
:where(.shared-shell) .inquiry-jp__btn--tel {
  background: transparent;
  color: #6a6157;
  padding: 14px 20px;
  border-top: 0.5px solid #d6cfc1;
  margin-top: 4px;
  border-radius: 0;
  grid-template-columns: 24px 1fr auto;
  gap: 10px;
}
:where(.shared-shell) .inquiry-jp__btn--tel .btn-icon { color: #6a6157; }
:where(.shared-shell) .inquiry-jp__btn--tel .btn-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
:where(.shared-shell) .inquiry-jp__btn--tel .btn-meta { color: #948b80; }
:where(.shared-shell) .inquiry-jp__btn--tel:hover { color: #1f1d18; }
:where(.shared-shell) .inquiry-jp__btn--tel:hover .btn-icon { color: #1f1d18; }

:where(.shared-shell) .inquiry-jp__footnote {
  text-align: center;
  font-size: 11.5px;
  color: #948b80;
  letter-spacing: 0.04em;
  margin: 0;
  font-weight: 500;
}

/* =============================================
   レスポンシブ：inquiry-jp セクション
   ============================================= */

/* --- タブレット（〜768px） --- */
@media (max-width: 768px) {
  :where(.shared-shell) .inquiry-jp {
    padding: 20px 16px 44px;
  }

  /* ヘッダー */
  :where(.shared-shell) .inquiry-jp__heading {
    padding-top: 16px;
    margin-bottom: 16px;
    max-width: 100%;
  }
  :where(.shared-shell) .inquiry-jp__heading-jp {
    font-size: 1.1rem;
  }
  :where(.shared-shell) .inquiry-jp__heading-jp::after {
    margin-top: 8px;
    width: 20px;
  }
  :where(.shared-shell) .inquiry-jp__heading-sub {
    font-size: 10.5px;
    line-height: 1.6;
    margin-top: 6px;
  }

  /* カード */
  :where(.shared-shell) .inquiry-jp__card {
    padding: 26px 20px 20px;
    max-width: 100%;
  }
  :where(.shared-shell) .inquiry-jp__badge {
    font-size: 10.5px;
    margin-bottom: 14px;
  }
  :where(.shared-shell) .inquiry-jp__title {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  :where(.shared-shell) .inquiry-jp__lead {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 18px;
  }
  :where(.shared-shell) .inquiry-jp__stats {
    margin-bottom: 18px;
    padding: 12px 0;
  }
  :where(.shared-shell) .inquiry-jp__stats .stat-num {
    font-size: 1.3rem;
  }
  :where(.shared-shell) .inquiry-jp__stats .stat-label {
    font-size: 10px;
    margin-top: 4px;
  }
  :where(.shared-shell) .inquiry-jp__actions {
    gap: 8px;
    margin-bottom: 14px;
  }
  :where(.shared-shell) .inquiry-jp__btn {
    padding: 14px 16px;
    gap: 10px;
  }
  :where(.shared-shell) .inquiry-jp__btn .btn-label {
    font-size: 14px;
  }
  :where(.shared-shell) .inquiry-jp__btn .btn-tag {
    font-size: 9.5px;
  }
  :where(.shared-shell) .inquiry-jp__btn--tel {
    padding: 12px 16px;
  }
  :where(.shared-shell) .inquiry-jp__footnote {
    font-size: 11px;
  }
}

/* =====================================================
   シミュレーター後のGAZONブランド紹介
   ウリン材・造園・特殊条件・価格公開を常時表示
   ===================================================== */
:where(.shared-shell) .gazon-brand-story {
  width: min(1060px, calc(100% - 32px));
  margin: 64px auto 0;
  overflow: hidden;
  background: #f8f4eb;
  border: 1px solid #ded3c2;
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(64, 51, 31, .09);
  box-sizing: border-box;
}
:where(.shared-shell) .gazon-brand-story__main {
  display: grid;
  grid-template-columns: minmax(300px, .86fr) minmax(0, 1.14fr);
  min-height: 540px;
}
:where(.shared-shell) .gazon-brand-story__visual {
  position: relative;
  min-width: 0;
  min-height: 540px;
  margin: 0;
  overflow: hidden;
  background: #4d3929;
}
:where(.shared-shell) .gazon-brand-story__visual::after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(24, 28, 20, .78));
}
:where(.shared-shell) .gazon-brand-story__visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
  object-position: center;
}
:where(.shared-shell) .gazon-brand-story__visual figcaption {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 28px;
  left: 28px;
  color: #fff;
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .04em;
}
:where(.shared-shell) .gazon-brand-story__visual figcaption span {
  display: block;
  margin-bottom: 5px;
  color: #e7d5ae;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
}
:where(.shared-shell) .gazon-brand-story__content {
  min-width: 0;
  padding: 42px 42px 36px;
  box-sizing: border-box;
}
:where(.shared-shell) .gazon-brand-story__eyebrow {
  margin: 0 0 9px;
  color: #7e705c;
  font-family: Arial, 'Helvetica Neue', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
}
:where(.shared-shell) .gazon-brand-story__content h2 {
  margin: 0;
  color: #223d27;
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .025em;
}
:where(.shared-shell) .gazon-brand-story__lead {
  margin: 17px 0 0;
  color: #4f493f;
  font-size: 14px;
  line-height: 1.95;
}
:where(.shared-shell) .gazon-brand-strengths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
  margin-top: 28px;
}
:where(.shared-shell) .gazon-brand-strengths article {
  min-width: 0;
  padding-top: 14px;
  border-top: 1px solid #cfc3b1;
}
:where(.shared-shell) .gazon-brand-strengths article > span {
  display: block;
  margin-bottom: 6px;
  color: #8b7357;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
}
:where(.shared-shell) .gazon-brand-strengths h3 {
  margin: 0;
  color: #223d27;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}
:where(.shared-shell) .gazon-brand-strengths p {
  margin: 6px 0 0;
  color: #675f54;
  font-size: 12px;
  line-height: 1.75;
}
:where(.shared-shell) .gazon-brand-story__price-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 22px 30px;
  color: #f9f5ec;
  background: linear-gradient(105deg, #244b2b, #315d36 62%, #6f563a);
}
:where(.shared-shell) .gazon-brand-story__price-note strong {
  white-space: nowrap;
  font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: 18px;
  letter-spacing: .05em;
}
:where(.shared-shell) .gazon-brand-story__price-note p {
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: 12.5px;
  line-height: 1.8;
}

/* =====================================================
   シミュレーター後の情報設計
   要点を先に見せ、長い説明は必要な項目だけ開く
   ===================================================== */
:where(.shared-shell) .post-sim-guide,
:where(.shared-shell) .post-sim-accordions {
  width: min(920px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

:where(.shared-shell) .post-sim-guide {
  padding: 52px 0 26px;
  text-align: center;
}
:where(.shared-shell) .post-sim-guide__eyebrow {
  margin: 0 0 8px;
  color: #7f6d52;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
}
:where(.shared-shell) .post-sim-guide h2 {
  margin: 0;
  color: #1f1d18;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.45;
  letter-spacing: .035em;
}
:where(.shared-shell) .post-sim-guide__lead {
  max-width: 640px;
  margin: 12px auto 28px;
  color: #6a6157;
  font-size: 14px;
  line-height: 1.85;
}
:where(.shared-shell) .post-sim-guide__links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
:where(.shared-shell) .post-sim-guide__links a {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 10px;
  align-items: center;
  min-width: 0;
  padding: 16px 18px;
  overflow: hidden;
  color: #2a2925;
  text-align: left;
  text-decoration: none;
  background: #fbf8f2;
  border: 1px solid #dfd4c5;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(76, 59, 34, .05);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
:where(.shared-shell) .post-sim-guide__links a::after {
  content: "↓";
  position: absolute;
  right: 13px;
  top: 13px;
  color: #2e7d32;
  font-size: 14px;
}
:where(.shared-shell) .post-sim-guide__links a:hover {
  transform: translateY(-2px);
  border-color: #9eb49c;
  box-shadow: 0 8px 20px rgba(76, 59, 34, .10);
}
:where(.shared-shell) .post-sim-guide__links a:focus-visible,
:where(.shared-shell) .detail-accordion > summary:focus-visible {
  outline: 3px solid rgba(46, 125, 50, .35);
  outline-offset: 3px;
}
:where(.shared-shell) .post-sim-guide__number {
  grid-row: 1 / 3;
  align-self: start;
  color: #9b8c76;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}
:where(.shared-shell) .post-sim-guide__links strong {
  padding-right: 17px;
  color: #1f1d18;
  font-size: 14px;
  line-height: 1.45;
}
:where(.shared-shell) .post-sim-guide__links small {
  color: #756d62;
  font-size: 11.5px;
  line-height: 1.5;
}

:where(.shared-shell) .post-sim-accordions {
  margin-top: 8px;
  margin-bottom: 58px;
}
:where(.shared-shell) .detail-accordion {
  margin: 0 0 12px;
  overflow: clip;
  background: #fff;
  border: 1px solid #ded8cf;
  border-radius: 12px;
  box-shadow: 0 3px 14px rgba(51, 44, 33, .05);
}
:where(.shared-shell) .detail-accordion[open] {
  border-color: #c7d6c4;
  box-shadow: 0 9px 28px rgba(51, 44, 33, .09);
}
:where(.shared-shell) .detail-accordion > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 78px;
  padding: 17px 20px;
  box-sizing: border-box;
  cursor: pointer;
  list-style: none;
  background: #fbfaf7;
}
:where(.shared-shell) .detail-accordion > summary::-webkit-details-marker { display: none; }
:where(.shared-shell) .detail-accordion > summary:hover { background: #f7f4ee; }
:where(.shared-shell) .detail-accordion--featured > summary {
  grid-template-columns: minmax(0, 1fr) auto auto;
  background: linear-gradient(120deg, #f0f5eb 0%, #fbf7ed 100%);
  border-left: 5px solid #2e7d32;
}
:where(.shared-shell) .detail-accordion--featured > summary:hover {
  background: linear-gradient(120deg, #eaf2e4 0%, #f9f2e4 100%);
}
:where(.shared-shell) .detail-accordion__summary-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
  text-align: left;
}
:where(.shared-shell) .detail-accordion__kicker {
  color: #7a6d58;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .09em;
}
:where(.shared-shell) .detail-accordion__summary-copy strong {
  color: #1f1d18;
  font-size: 17px;
  line-height: 1.45;
}
:where(.shared-shell) .detail-accordion__summary-copy small {
  color: #6f685f;
  font-size: 12px;
  line-height: 1.5;
}
:where(.shared-shell) .detail-accordion__price {
  white-space: nowrap;
  color: #1b5e20;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: .01em;
}
:where(.shared-shell) .detail-accordion__price small {
  margin-left: 3px;
  font-family: inherit;
  font-size: .55em;
}
:where(.shared-shell) .detail-accordion__action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: #2e6f32;
  font-size: 12px;
  font-weight: 700;
}
:where(.shared-shell) .detail-accordion__action::after {
  content: "+";
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  color: #fff;
  background: #2e7d32;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 400;
}
:where(.shared-shell) .detail-accordion[open] .detail-accordion__action::after { content: "−"; }
:where(.shared-shell) .detail-accordion__body {
  padding: 24px 22px 30px;
  overflow: hidden;
  border-top: 1px solid #e8e2d9;
  box-sizing: border-box;
}

/* 移動した既存コンテンツの余白・重複見出しを整える */
:where(.shared-shell) .detail-accordion__body > section,
:where(.shared-shell) .detail-accordion__body > div {
  max-width: 100%;
  box-sizing: border-box;
}
:where(.shared-shell) .detail-accordion__body .container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
:where(.shared-shell) .detail-accordion__body .title {
  line-height: 1.5;
}
:where(.shared-shell) .detail-accordion #case-study {
  margin: 0;
  padding: 0;
  background: transparent;
}
:where(.shared-shell) .detail-accordion #case-study > .container > .title {
  display: none;
}
:where(.shared-shell) .detail-accordion #case-study > .container > .description {
  margin-top: 0;
}
:where(.shared-shell) .cost-options-content > .title:first-of-type {
  display: none;
}
:where(.shared-shell) .cost-options-content > p:first-of-type {
  margin-top: 0;
}
:where(.shared-shell) .cost-options-content > section {
  padding-top: 10px;
  padding-bottom: 18px;
  border-top: 1px solid #eee8de;
}
:where(.shared-shell) .cost-options-content > section:first-of-type { border-top: 0; }
:where(.shared-shell) .material-content > section {
  margin: 0;
  padding: 28px 0;
  border-top: 1px solid #e8e2d9;
}
:where(.shared-shell) .material-content > section:first-child {
  padding-top: 0;
  border-top: 0;
}
:where(.shared-shell) .material-content #intro-title { padding-bottom: 18px; }
:where(.shared-shell) .material-content #about { padding-top: 0; }

/* フェンス・ステップは一覧性の高いコンパクトカードへ */
:where(.shared-shell) .extras-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
:where(.shared-shell) .extras-content #handrails {
  grid-column: 1 / -1;
  padding: 0 0 4px;
  text-align: left;
}
:where(.shared-shell) .extras-content #handrails .title {
  display: none;
}
:where(.shared-shell) .extras-content .fence-step-visual-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 12px;
  overflow: hidden;
}
:where(.shared-shell) .extras-content .fence-step-visual-section img {
  width: 100%;
  min-width: 0;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
:where(.shared-shell) .extras-content .fence-step-visual-section img:only-of-type {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}
:where(.shared-shell) .extras-content .fence-step-visual-caption,
:where(.shared-shell) .extras-content .fence-step-description {
  grid-column: 1 / -1;
  box-sizing: border-box;
}
:where(.shared-shell) .extras-content .fence-step-visual-caption {
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.65;
}
:where(.shared-shell) .extras-content .fence-step-description {
  padding: 2px 2px 0;
  font-size: 12.5px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  :where(.shared-shell) .gazon-brand-story__main {
    grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr);
  }
  :where(.shared-shell) .gazon-brand-story__content { padding: 34px 30px 30px; }
  :where(.shared-shell) .gazon-brand-strengths { gap: 16px 18px; }
  :where(.shared-shell) .post-sim-guide__links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  :where(.shared-shell) .gazon-brand-story {
    width: min(100% - 24px, 1060px);
    margin-top: 42px;
    border-radius: 12px;
  }
  :where(.shared-shell) .gazon-brand-story__main { grid-template-columns: 1fr; min-height: 0; }
  :where(.shared-shell) .gazon-brand-story__visual,
  :where(.shared-shell) .gazon-brand-story__visual img {
    min-height: 250px;
    height: 250px;
  }
  :where(.shared-shell) .gazon-brand-story__visual figcaption {
    right: 18px;
    bottom: 17px;
    left: 18px;
  }
  :where(.shared-shell) .gazon-brand-story__content { padding: 28px 20px 26px; }
  :where(.shared-shell) .gazon-brand-story__content h2 { font-size: clamp(1.75rem, 9vw, 2.35rem); }
  :where(.shared-shell) .gazon-brand-story__lead { font-size: 13.5px; line-height: 1.85; }
  :where(.shared-shell) .gazon-brand-strengths { gap: 15px 18px; margin-top: 22px; }
  :where(.shared-shell) .gazon-brand-story__price-note {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 20px;
  }
  :where(.shared-shell) .gazon-brand-story__price-note strong { white-space: normal; font-size: 17px; }
  :where(.shared-shell) .post-sim-guide,
  :where(.shared-shell) .post-sim-accordions {
    width: min(100% - 24px, 920px);
  }
  :where(.shared-shell) .post-sim-guide { padding-top: 42px; }
  :where(.shared-shell) .post-sim-guide__lead { margin-bottom: 20px; }
  :where(.shared-shell) .post-sim-guide__links { grid-template-columns: 1fr; gap: 8px; }
  :where(.shared-shell) .post-sim-guide__links a { padding: 13px 16px; }
  :where(.shared-shell) .post-sim-accordions { margin-bottom: 40px; }
  :where(.shared-shell) .detail-accordion > summary {
    min-height: 72px;
    padding: 14px 15px;
  }
  :where(.shared-shell) .detail-accordion--featured > summary {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px 12px;
  }
  :where(.shared-shell) .detail-accordion--featured .detail-accordion__action {
    grid-column: 1 / -1;
    justify-self: end;
  }
  :where(.shared-shell) .detail-accordion__summary-copy strong { font-size: 15px; }
  :where(.shared-shell) .detail-accordion__summary-copy small { font-size: 11px; }
  :where(.shared-shell) .detail-accordion__action { font-size: 0; }
  :where(.shared-shell) .detail-accordion__action::after { font-size: 16px; }
  :where(.shared-shell) .detail-accordion__body { padding: 18px 14px 24px; }
  :where(.shared-shell) .extras-content { grid-template-columns: 1fr; gap: 12px; }
  :where(.shared-shell) .extras-content #handrails { grid-column: auto; }
  :where(.shared-shell) .cards-container { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  :where(.shared-shell) .gazon-brand-strengths { grid-template-columns: 1fr; }
  :where(.shared-shell) .post-sim-guide h2 { font-size: 1.35rem; }
  :where(.shared-shell) .detail-accordion--featured > summary {
    grid-template-columns: 1fr;
  }
  :where(.shared-shell) .detail-accordion__price { justify-self: start; }
  :where(.shared-shell) .detail-accordion--featured .detail-accordion__action {
    grid-column: auto;
    justify-self: end;
    margin-top: -36px;
  }
}

/* --- スマートフォン（〜480px） --- */
@media (max-width: 480px) {
  :where(.shared-shell) .inquiry-jp {
    padding: 16px 12px 36px;
  }

  /* ヘッダー */
  :where(.shared-shell) .inquiry-jp__heading {
    padding-top: 16px;
    margin-bottom: 14px;
  }
  :where(.shared-shell) .inquiry-jp__heading-jp {
    font-size: 1.05rem;
    line-height: 1.35;
  }
  :where(.shared-shell) .inquiry-jp__heading-jp .line { display: block; }
  :where(.shared-shell) .inquiry-jp__heading-jp::after {
    margin-top: 7px;
    width: 18px;
  }
  :where(.shared-shell) .inquiry-jp__heading-sub {
    font-size: 10px;
    line-height: 1.6;
    margin-top: 6px;
  }
  :where(.shared-shell) .inquiry-jp__heading-sub .row { display: block; }

  /* カード */
  :where(.shared-shell) .inquiry-jp__card {
    padding: 22px 16px 18px;
  }
  :where(.shared-shell) .inquiry-jp__title {
    font-size: 1.15rem;
  }
  :where(.shared-shell) .inquiry-jp__lead {
    font-size: 12.5px;
    margin-bottom: 16px;
  }
  :where(.shared-shell) .inquiry-jp__btn {
    padding: 13px 14px;
    gap: 9px;
  }
  :where(.shared-shell) .inquiry-jp__btn .btn-label {
    font-size: 13.5px;
  }
}

/* --- 小型スマートフォン（〜380px） --- */
@media (max-width: 380px) {
  :where(.shared-shell) .inquiry-jp {
    padding: 14px 10px 30px;
  }
  :where(.shared-shell) .inquiry-jp__heading {
    padding-top: 12px;
    margin-bottom: 10px;
  }
  :where(.shared-shell) .inquiry-jp__heading-jp {
    font-size: 1rem;
  }
  :where(.shared-shell) .inquiry-jp__heading-sub {
    font-size: 9.5px;
  }
  :where(.shared-shell) .inquiry-jp__card {
    padding: 18px 14px 16px;
  }
  :where(.shared-shell) .inquiry-jp__stats .stat-num {
    font-size: 1.15rem;
  }
  :where(.shared-shell) .inquiry-jp__btn {
    padding: 12px 12px;
    gap: 8px;
  }
  :where(.shared-shell) .inquiry-jp__btn .btn-label {
    font-size: 13px;
  }
  :where(.shared-shell) .inquiry-jp__btn--tel {
    padding: 11px 12px;
  }
}

/* =============================================
   16. 全国対応セクション（Japandi 統一）
   ============================================= */
:where(.shared-shell) .nationwide-jp {
  background: #fbf8f2;
  padding: 56px 20px;
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
}
:where(.shared-shell) .nationwide-jp__inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
  background: #fff;
  border: 0.5px solid #e0d8c8;
  border-radius: 6px;
  padding: 32px;
  box-shadow: 0 8px 28px rgba(70,55,30,.08);
}

/* 左：地図メディア */
:where(.shared-shell) .nationwide-jp__media {
  position: relative;
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  background: #f5efe6;
}
:where(.shared-shell) .nationwide-jp__media img {
  width: 100%;
  height: auto;
  display: block;
}
/* 右：テキストブロック */
:where(.shared-shell) .nationwide-jp__body { min-width: 0; }
:where(.shared-shell) .nationwide-jp__eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.32em;
  color: #1b5e20;
  font-weight: 700;
  margin: 0 0 10px;
  text-transform: uppercase;
}
:where(.shared-shell) .nationwide-jp__title {
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  font-size: 1.65rem;
  font-weight: 900;
  color: #1f1d18;
  margin: 0 0 16px;
  letter-spacing: 0.05em;
  line-height: 1.45;
  font-feature-settings: "palt";
  word-break: keep-all;
  overflow-wrap: break-word;
}
:where(.shared-shell) .nationwide-jp__title .line { display: inline-block; }
:where(.shared-shell) .nationwide-jp__lead {
  font-size: 14px;
  color: #4a4438;
  line-height: 1.95;
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}
:where(.shared-shell) .nationwide-jp__quote {
  margin: 14px 0;
  padding: 12px 16px;
  background: #f5efe6;
  border-left: 2px solid #1b5e20;
  font-size: 13.5px;
  color: #6a6157;
  font-style: normal;
  line-height: 1.8;
  letter-spacing: 0.02em;
  quotes: none;
  border-radius: 0 4px 4px 0;
}

/* CTAエリア */
:where(.shared-shell) .nationwide-jp__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}
:where(.shared-shell) .nationwide-jp__btn {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 4px;
  text-decoration: none;
  font-family: inherit;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
:where(.shared-shell) .nationwide-jp__btn .btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
:where(.shared-shell) .nationwide-jp__btn .btn-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
:where(.shared-shell) .nationwide-jp__btn .btn-arrow {
  font-size: 15px;
  font-weight: 500;
}
:where(.shared-shell) .nationwide-jp__btn .btn-meta {
  font-size: 11px;
  letter-spacing: 0.04em;
}

/* プライマリ：ダーク塗り */
:where(.shared-shell) .nationwide-jp__btn--primary {
  background: #1f1d18;
  color: #fbf8f2;
  box-shadow: 0 4px 14px rgba(31,29,24,.16);
}
:where(.shared-shell) .nationwide-jp__btn--primary .btn-icon { color: #f5a623; }
:where(.shared-shell) .nationwide-jp__btn--primary .btn-arrow { color: #f5a623; }
:where(.shared-shell) .nationwide-jp__btn--primary:hover {
  background: #1b5e20;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(27,94,32,.28);
}

/* ゴースト：アウトライン */
:where(.shared-shell) .nationwide-jp__btn--ghost {
  background: transparent;
  color: #1f1d18;
  border: 0.5px solid #1f1d18;
}
:where(.shared-shell) .nationwide-jp__btn--ghost .btn-icon { color: #1f1d18; }
:where(.shared-shell) .nationwide-jp__btn--ghost .btn-meta { color: #6a6157; }
:where(.shared-shell) .nationwide-jp__btn--ghost:hover {
  background: #1f1d18;
  color: #fbf8f2;
}
:where(.shared-shell) .nationwide-jp__btn--ghost:hover .btn-icon,
:where(.shared-shell) .nationwide-jp__btn--ghost:hover .btn-meta { color: #fbf8f2; }

/* レスポンシブ：縦積み */
@media (max-width: 768px) {
  :where(.shared-shell) .nationwide-jp { padding: 36px 16px; }
  :where(.shared-shell) .nationwide-jp__inner {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 22px;
    border-radius: 6px;
  }
  :where(.shared-shell) .nationwide-jp__media {
    max-width: 320px;
    margin: 0 auto;
  }
  :where(.shared-shell) .nationwide-jp__title { font-size: 1.35rem; }
  :where(.shared-shell) .nationwide-jp__lead { font-size: 13.5px; }
  :where(.shared-shell) .nationwide-jp__quote { font-size: 13px; padding: 10px 14px; }
  :where(.shared-shell) .nationwide-jp__btn { padding: 13px 14px; }
  :where(.shared-shell) .nationwide-jp__btn .btn-label { font-size: 13.5px; }
}
@media (max-width: 480px) {
  :where(.shared-shell) .nationwide-jp__title .line { display: block; }
  :where(.shared-shell) .nationwide-jp__title .line + .line { margin-top: 2px; }
  :where(.shared-shell) .nationwide-jp__inner { padding: 18px; }
  :where(.shared-shell) .nationwide-jp__media { max-width: 100%; }
}

/* =============================================
   17. bordered-box CTAセクション / custom-btn / 共通ユーティリティ
   ============================================= */

/* bordered-box：インライン問い合わせエリア */
:where(.shared-shell) .bordered-box {
  max-width: 900px;
  margin: 40px auto;
  padding: 32px 28px;
  border: 1px solid #d6cfc1;
  border-radius: 6px;
  background: #fbf8f2;
  text-align: center;
  box-shadow: 0 4px 16px rgba(70,55,30,.07);
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
}

:where(.shared-shell) .custom-flex-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1f1d18;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

:where(.shared-shell) .cta-text {
  font-size: 14px;
  color: #6a6157;
  line-height: 1.85;
  margin-bottom: 24px;
}

/* ボタン基本 */
:where(.shared-shell) .custom-btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
  font-family: inherit;
  border: 1.5px solid transparent;
}
:where(.shared-shell) .custom-btn:hover { transform: translateY(-1px); }

/* フォームボタン */
:where(.shared-shell) .custom-btn--contact {
  background: #2e7d32;
  color: #fbf8f2;
  border-color: #2e7d32;
  box-shadow: 0 4px 12px rgba(46,125,50,.25);
}
:where(.shared-shell) .custom-btn--contact:hover {
  background: #1b5e20;
  border-color: #1b5e20;
  box-shadow: 0 6px 16px rgba(27,94,32,.35);
}

/* 電話ボタン */
:where(.shared-shell) .custom-btn--tel {
  background: #1f1d18;
  color: #fbf8f2;
  border-color: #1f1d18;
  box-shadow: 0 4px 12px rgba(31,29,24,.18);
}
:where(.shared-shell) .custom-btn--tel:hover {
  background: #333;
  border-color: #333;
}

/* custom-thumbnails（旧 全国対応、後方互換） */
:where(.shared-shell) .custom-thumbnails {
  max-width: 900px;
  margin: 0 auto 32px;
  padding: 28px 20px;
  background: #f5efe6;
  border-radius: 6px;
}
:where(.shared-shell) .custom-thumbnail { margin-bottom: 20px; }
:where(.shared-shell) .custom-content-container {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-top: 16px;
}
:where(.shared-shell) .custom-image { flex-shrink: 0; max-width: 220px; }
:where(.shared-shell) .custom-image img { width: 100%; height: auto; border-radius: 4px; }
:where(.shared-shell) .custom-comment { flex: 1; font-size: 14px; color: #4a4438; line-height: 1.85; }
:where(.shared-shell) .custom-button-container {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

/* center-image / centered-image / featured：汎用ユーティリティ */
:where(.shared-shell) .center-image,
:where(.shared-shell) .centered-image {
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
:where(.shared-shell) .center-image img,
:where(.shared-shell) .centered-image img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}
:where(.shared-shell) .featured {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 20px;
  background: #f8f6f2;
  border-radius: 6px;
}
:where(.shared-shell) .featured h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: #1f1d18; }
:where(.shared-shell) .featured p  { font-size: 14px; color: #6a6157; line-height: 1.8; }

/* レスポンシブ */
@media (max-width: 768px) {
  :where(.shared-shell) .bordered-box { padding: 22px 16px; margin: 28px 12px; }
  :where(.shared-shell) .custom-flex-title { font-size: 1.1rem; }
  :where(.shared-shell) .cta-text { font-size: 13px; }
  :where(.shared-shell) .custom-btn { padding: 11px 18px; font-size: 13px; width: 90%; max-width: 320px; display: block; margin: 0 auto; }
  :where(.shared-shell) .cta-buttons { flex-direction: column; align-items: center; gap: 14px; }
  :where(.shared-shell) .custom-content-container { flex-direction: column; }
  :where(.shared-shell) .custom-image { max-width: 100%; }
  :where(.shared-shell) .custom-comment { margin-top: 12px; }
}
@media (max-width: 480px) {
  :where(.shared-shell) .bordered-box { padding: 18px 12px; margin: 20px 8px; }
}
:where(.shared-shell) centered-image,
:where(.shared-shell) .featured {
  max-width: 900px;
  margin: 0 auto 32px;
  text-align: center;
}
:where(.shared-shell) .center-image img,
:where(.shared-shell) .centered-image img,
:where(.shared-shell) .featured img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}
:where(.shared-shell) .featured h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #1f1d18;
  margin: 0 0 8px;
}
:where(.shared-shell) .featured p {
  font-size: 0.88rem;
  color: #6a6157;
  line-height: 1.8;
  margin: 0;
}

/* =====================================================
   大人にできない庭づくり — 3カードグリッド
   ===================================================== */

/* =============================================
   大人にできない庭づくり — related-cards
   横長カード縦スタック型レイアウト
   ============================================= */
:where(.shared-shell) .related-content {
  max-width: 900px;
  margin: 52px auto 64px;
  padding: 0 16px;
}
:where(.shared-shell) .related-content__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1f1d18;
  letter-spacing: 0.06em;
  text-align: center;
  margin: 0 0 8px;
}
:where(.shared-shell) .related-content__lead {
  font-size: 0.85rem;
  color: #6a6157;
  text-align: center;
  margin: 0 0 32px;
  line-height: 1.8;
}

/* カードグリッド：縦スタック */
:where(.shared-shell) .related-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 各カード：横長（画像左・テキスト右） */
:where(.shared-shell) .related-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: #fbf8f2;
  border: 1px solid #e5ddd0;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.22s, transform 0.18s;
  min-height: 140px;
}
:where(.shared-shell) .related-card:hover {
  box-shadow: 0 6px 20px rgba(70, 55, 30, 0.14);
  transform: translateY(-2px);
}

/* 画像ラッパー：固定幅 */
:where(.shared-shell) .related-card__img-wrap {
  width: 200px;
  height: 140px;
  flex: 0 0 200px;
  overflow: hidden;
  line-height: 0;
  background: #e5ddd0;
}
:where(.shared-shell) .related-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}
:where(.shared-shell) .related-card:hover .related-card__img-wrap img {
  transform: scale(1.02);
}

/* テキスト本体 */
:where(.shared-shell) .related-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  padding: 16px 20px;
  gap: 4px;
}
:where(.shared-shell) .related-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1f1d18;
  margin: 0 0 6px;
  line-height: 1.45;
}
:where(.shared-shell) .related-card__desc {
  font-size: 0.8rem;
  color: #6a6157;
  line-height: 1.7;
  margin: 0 0 10px;
}
:where(.shared-shell) .related-card__arrow {
  font-size: 0.8rem;
  font-weight: 700;
  color: #2e7d32;
  text-decoration: none;
  margin-top: auto;
  align-self: flex-start;
}

/* ── スマホ対応 ──────────────────────── */
@media (max-width: 600px) {
  :where(.shared-shell) .related-content {
    margin: 36px auto 48px;
    padding: 0 12px;
  }
  :where(.shared-shell) .related-card {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
  }
  :where(.shared-shell) .related-card__img-wrap {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    flex: none;
  }
  :where(.shared-shell) .related-card__body {
    padding: 12px 14px;
  }
  :where(.shared-shell) .related-card__title {
    font-size: 0.88rem;
  }
  :where(.shared-shell) .related-card__desc {
    font-size: 0.75rem;
    line-height: 1.6;
  }
}

/* ==========================================================
   GAZON 共通スマートフォンスタイル
   768px以下のヘッダー・ナビ・表・フッターをこのファイルで管理
   ========================================================== */

:where(.shared-shell) img, :where(.shared-shell) video, :where(.shared-shell) iframe, :where(.shared-shell) embed, :where(.shared-shell) object {
  max-width: 100%;
  height: auto;
}

:where(.shared-shell) table { max-width: 100%; }

@media screen and (max-width: 768px) {
  /* ヘッダー：ロゴ56px＋ナビ40px＝96px */
  body { padding-top: 96px; }
  :where(.shared-shell) .header-logo-row { height: 56px; }
  :where(.shared-shell) .header-nav-row { height: 40px; }
  :where(.shared-shell) .logo img { max-width: 110px; }

  :where(.shared-shell) .pc-nav {
    display: flex;
    overflow-x: hidden;
    overflow-y: visible;
  }
  :where(.shared-shell) .pc-nav > ul,
  :where(.shared-shell) .pc-nav ul.ddmenu {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    padding: 0;
    overflow: visible;
  }
  :where(.shared-shell) .pc-nav > ul > li {
    flex: 1 1 0;
    min-width: 0;
  }
  :where(.shared-shell) .pc-nav > ul > li > a {
    justify-content: center;
    width: 100%;
    min-height: 40px;
    padding: 0 4px;
    font-size: 11.5px;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  /* 小さい補助文字も読みやすい大きさに統一 */
  :where(.shared-shell) .category-title { font-size: 14px !important; line-height: 1.5; }
  :where(.shared-shell) .btn-tag,
  :where(.shared-shell) .btn-meta,
  :where(.shared-shell) .stat-label,
  :where(.shared-shell) .tab-label,
  :where(.shared-shell) .field-hint,
  :where(.shared-shell) .inquiry-jp__badge,
  :where(.shared-shell) .result-note,
  :where(.shared-shell) small { font-size: 12px !important; }
  :where(.shared-shell) table th, :where(.shared-shell) table td { font-size: 13px; }

  /* タップ領域 */
  :where(.shared-shell) .footer-column ul li a,
  :where(.shared-shell) .footer-social .social-icon {
    display: inline-block;
    padding: 10px 0;
    line-height: 1.4;
  }
  :where(.shared-shell) .footer-social .social-icon { padding: 10px 14px 10px 0; }
  :where(.shared-shell) .copy-btn { min-height: 40px; padding: 10px 16px; }
  :where(.shared-shell) .cta-link { display: inline-block; padding: 10px 0; }
  :where(.shared-shell) .cta-buttons a,
  :where(.shared-shell) .button-container a {
    display: inline-block;
    box-sizing: border-box;
    min-height: 44px;
    padding: 12px 18px;
  }
  :where(.shared-shell) .contact-info-item p a { display: inline-block; padding: 8px 0; }

  /* 横に広い表をカード型に変換 */
  :where(.shared-shell) table.rwd-card,
  :where(.shared-shell) .table-wrap table.rwd-card {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-x: visible !important;
    border: 0;
  }
  :where(.shared-shell) table.rwd-card thead { display: none; }
  :where(.shared-shell) table.rwd-card tbody { display: block; width: 100%; min-width: 0; }
  :where(.shared-shell) table.rwd-card colgroup,
  :where(.shared-shell) table.rwd-card col { display: none; }
  :where(.shared-shell) table.rwd-card tr {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0 0 14px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
  }
  :where(.shared-shell) table.rwd-card td,
  :where(.shared-shell) table.rwd-card tbody th {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    width: 100%;
    padding: 9px 12px;
    border: 0;
    border-bottom: 1px solid #f0efec;
    background: #fff;
    text-align: right;
    font-size: 13px;
    line-height: 1.5;
    word-break: break-word;
  }
  :where(.shared-shell) table.rwd-card td:last-child,
  :where(.shared-shell) table.rwd-card tbody th:last-child { border-bottom: 0; }
  :where(.shared-shell) table.rwd-card td::before,
  :where(.shared-shell) table.rwd-card tbody th::before {
    content: attr(data-label);
    flex: 0 0 40%;
    color: #6b6659;
    font-size: 12px;
    font-weight: 600;
    text-align: left;
  }
  :where(.shared-shell) table.rwd-card td:empty,
  :where(.shared-shell) table.rwd-card tbody th:empty { display: none; }

  /* 各カードの1列目を見出しとして表示 */
  :where(.shared-shell) table.rwd-card td:first-child,
  :where(.shared-shell) table.rwd-card tbody th:first-child {
    display: block;
    padding: 11px 12px;
    border-bottom: 1px solid #e6e3dc;
    background: #f7f5f0;
    font-size: 15px;
    font-weight: 700;
    text-align: left;
  }
  :where(.shared-shell) table.rwd-card td:first-child::before,
  :where(.shared-shell) table.rwd-card tbody th:first-child::before { display: none; }

  :where(.shared-shell) .table-wrap:has(> table.rwd-card),
  :where(.shared-shell) .table-responsive:has(> table.rwd-card) {
    min-width: 0;
    overflow-x: visible;
  }
  :where(.shared-shell) .table-wrap,
  :where(.shared-shell) .table-responsive {
    position: relative;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  :where(.shared-shell) .table-scroll-hint {
    display: block;
    margin: 0 0 6px;
    color: #8a8578;
    font-size: 12px;
  }

  /* 共通フッター */
  :where(.shared-shell) .footer-column {
    width: 100%;
    min-width: 0;
    margin: 0;
    border-top: 1px solid #ccc;
    border-left: 0;
  }
  :where(.shared-shell) .footer-column:first-child { border-top: 0; }

  /* 施工事例一覧 */
  :where(.shared-shell) .category-container .category-item h3.category-title {
    font-size: 12.5px !important;
    line-height: 1.45 !important;
  }
  :where(.shared-shell) .category-container .category-item p.category-description {
    font-size: 12px !important;
    line-height: 1.45 !important;
  }

  /* 旧ページを段階的にレスポンシブ化するための補助 */
  :where(.shared-shell) body.legacy-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  :where(.shared-shell) body.legacy-responsive table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: auto;
  }
  :where(.shared-shell) body.legacy-responsive th,
  :where(.shared-shell) body.legacy-responsive td {
    width: auto !important;
    max-width: 100% !important;
    overflow-wrap: anywhere;
    word-break: normal;
  }
  :where(.shared-shell) body.legacy-responsive [style*="width"] { max-width: 100% !important; }
  :where(.shared-shell) body.legacy-responsive figure.image,
  :where(.shared-shell) body.legacy-responsive .right {
    width: 100% !important;
    max-width: 100% !important;
  }
  :where(.shared-shell) body.legacy-responsive .right[style*="border-width"] { border-width: 0 !important; }
}

/* =========================================================
   GAZON サイト共通パーツ（ヘッダーロゴ・フッター）
   すべてのページで style.mobile.css の「後」に読み込むこと。
   ========================================================= */

:root {
  --gazon-ink: #243228;
  --gazon-green: #355b43;
  --gazon-green-dark: #203d2c;
  --gazon-wood: #80583a;
  --gazon-sand: #f3eee4;
  --gazon-paper: #fbfaf6;
  --gazon-line: rgba(36, 50, 40, .15);
}

/* ---------------------------------------------------------
   1. ヘッダーのロゴ（150px → 110px、ロゴ行 60px → 52px）
   --------------------------------------------------------- */
:where(.shared-shell) .header-logo-row {
  height: 52px;
}

:where(.shared-shell) .logo {
  margin: 0;
  font-size: inherit;
  line-height: 1;
}

:where(.shared-shell) .logo img {
  max-width: 110px;
  width: 110px;
  height: auto;
  display: block;
}

@media screen and (max-width: 600px) {
  :where(.shared-shell) .header-logo-row { height: 48px; }
  :where(.shared-shell) .logo img { max-width: 96px; width: 96px; }
}

/* ---------------------------------------------------------
   2. フッター（新ブランド版）
   --------------------------------------------------------- */
:where(.shared-shell) .footer-content {
  padding: 62px 20px 22px;
  border-top: 1px solid var(--gazon-line);
  background: #f4f1e9;
  color: var(--gazon-ink);
  font-size: 14px;
  text-align: left;
}

:where(.shared-shell) .footer-inner {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.7fr) minmax(0, .7fr);
  gap: clamp(28px, 4vw, 66px);
  width: min(1160px, 100%);
  margin: 0 auto;
}

:where(.shared-shell) .footer-logo {
  display: inline-block;
}

:where(.shared-shell) .footer-logo img {
  display: block;
  width: 124px;
  height: auto;
}

:where(.shared-shell) .footer-tagline {
  margin: 24px 0 0;
  color: var(--gazon-ink);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.65;
}

:where(.shared-shell) .footer-company {
  margin: 12px 0 0;
  color: #6b746d;
  font-size: 12px;
  line-height: 1.7;
}

:where(.shared-shell) .footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 38px);
  margin: 0;
  padding: 0;
  border: 0;
}

:where(.shared-shell) .footer-column,
:where(.shared-shell) .footer-column:first-child {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  flex: none;
}

:where(.shared-shell) .footer-column h3 {
  margin: 0 0 14px;
  padding: 0 0 10px;
  border: 0;
  border-bottom: 1px solid var(--gazon-line);
  color: var(--gazon-ink);
  font-size: 13px;
  font-weight: 700;
}

:where(.shared-shell) .footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:where(.shared-shell) .footer-column ul li {
  margin: 0;
}

:where(.shared-shell) .footer-content .footer-column ul li a {
  display: inline-block;
  padding: 6px 0;
  color: #59645c;
  font-size: 12px;
  line-height: 1.55;
  text-decoration: none;
}

:where(.shared-shell) .footer-content .footer-column ul li a:hover,
:where(.shared-shell) .footer-content .footer-column ul li a:focus-visible,
:where(.shared-shell) .footer-contact-link:hover,
:where(.shared-shell) .footer-contact-link:focus-visible,
:where(.shared-shell) .footer-social a:hover,
:where(.shared-shell) .footer-social a:focus-visible {
  color: var(--gazon-wood);
  text-decoration: underline;
  text-underline-offset: 3px;
}

:where(.shared-shell) .footer-utility {
  padding-left: clamp(20px, 3vw, 34px);
  border-left: 1px solid var(--gazon-line);
}

:where(.shared-shell) .footer-utility-label {
  margin: 0 0 10px;
  color: #6b746d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}

:where(.shared-shell) .footer-contact p {
  margin: 5px 0 0;
  color: #6b746d;
  font-size: 11px;
}

:where(.shared-shell) .footer-phone {
  display: inline-block;
  color: var(--gazon-green-dark);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
}

:where(.shared-shell) .footer-contact-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--gazon-green-dark);
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

:where(.shared-shell) .footer-contact .footer-alt {
  margin-top: 12px;
  color: #838b83;
  font-size: 11px;
  line-height: 1.7;
  word-break: break-all;
}

:where(.shared-shell) .footer-contact .footer-alt a {
  color: #6b746d;
  text-decoration: none;
}

:where(.shared-shell) .footer-social {
  margin-top: 28px;
}

:where(.shared-shell) .footer-social h3 {
  display: none;
}

:where(.shared-shell) .footer-content .footer-social .social-icon {
  display: inline-block;
  margin: 0 14px 0 0;
  padding: 0;
  color: #59645c;
  font-size: 12px;
  text-decoration: none;
}

:where(.shared-shell) .footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 2px;
  padding-top: 20px;
  border-top: 1px solid var(--gazon-line);
}

:where(.shared-shell) .footer-bottom p {
  margin: 0;
  color: #7a817b;
  font-size: 11px;
}

@media (max-width: 1000px) {
  :where(.shared-shell) .footer-inner {
    grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  }

  :where(.shared-shell) .footer-utility {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding: 26px 0 0;
    border-top: 1px solid var(--gazon-line);
    border-left: 0;
  }

  :where(.shared-shell) .footer-social {
    margin-top: 0;
  }
}

@media (max-width: 600px) {
  :where(.shared-shell) .footer-content {
    padding: 48px 20px 20px;
  }

  :where(.shared-shell) .footer-inner {
    display: block;
  }

  :where(.shared-shell) .footer-tagline {
    margin-top: 18px;
    font-size: 18px;
  }

  :where(.shared-shell) .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 28px 22px;
    margin-top: 36px;
  }

  :where(.shared-shell) .footer-column,
  :where(.shared-shell) .footer-column:first-child {
    width: auto;
    border-top: 0;
  }

  :where(.shared-shell) .footer-column:last-child {
    grid-column: 1 / -1;
  }

  :where(.shared-shell) .footer-column:last-child ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 22px;
  }

  :where(.shared-shell) .footer-content .footer-column ul li a {
    min-height: 40px;
    padding: 10px 0;
    font-size: 13px;
  }

  :where(.shared-shell) .footer-utility {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: 30px;
    padding-top: 24px;
  }

  :where(.shared-shell) .footer-content .footer-social .social-icon {
    display: block;
    min-height: 40px;
    margin: 0;
    padding: 10px 0;
  }

  :where(.shared-shell) .footer-bottom {
    display: block;
    margin-top: 24px;
  }

  :where(.shared-shell) .footer-bottom p + p {
    margin-top: 8px;
  }
}

/* ---------------------------------------------------------
   3. トップページ：見出しの改行止め（PCで「庭に、出よ／う。」を防ぐ）
   --------------------------------------------------------- */
:where(.shared-shell) .page-top-brand .hero-copy h1 {
  font-size: clamp(2rem, 4.1vw, 3.85rem);
  white-space: nowrap;
}

@media (max-width: 600px) {
  :where(.shared-shell) .page-top-brand .hero-copy h1 {
    font-size: clamp(1.7rem, 8.2vw, 2rem);
  }
}

/* トップ：スタッフ画像スライダーが 830〜950px でページ幅をはみ出すのを止める */
:where(.shared-shell) .page-top-brand .staff-slide {
  overflow: hidden;
}

/* ---------------------------------------------------------
   4. お問い合わせフォーム（Formzu）を開くボタン
   --------------------------------------------------------- */
:where(.shared-shell) .form-open-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin: 8px 0 0;
  padding: 14px 28px;
  border: 0;
  border-radius: 3px;
  background: var(--gazon-green-dark);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}

:where(.shared-shell) .form-open-btn:hover,
:where(.shared-shell) .form-open-btn:focus-visible {
  background: var(--gazon-green);
  color: #fff;
  text-decoration: none;
}

:where(.shared-shell) .form-open-note {
  margin: 10px 0 0;
  color: #6b746d;
  font-size: 12px;
  line-height: 1.75;
}

@media screen and (max-width: 600px) {
  :where(.shared-shell) .form-open-btn {
    display: flex;
    width: 100%;
    padding: 15px 18px;
    font-size: 16px;
  }
}

/* =========================================================
   5. CTAボタン・アコーディオン・囲みボックスの配色統一
      （トップページのブランド配色に全ページを揃える）
   ========================================================= */

/* ---- 囲みボックス ---- */
:where(.shared-shell) .bordered-box {
  border: 1px solid #d6cfc1;
  border-radius: 4px;
  background: #fbf8f2;
}

:where(.shared-shell) .custom-flex-title {
  color: var(--gazon-ink);
}

:where(.shared-shell) .custom-flex-title::after {
  background: var(--gazon-wood);
}

/* ---- CTAボタン ---- */
:where(.shared-shell) .custom-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 3px;
  border: 1.5px solid transparent;
  font-weight: 700;
  letter-spacing: .04em;
  box-shadow: none;
  transition: background .2s, border-color .2s, color .2s;
}

:where(.shared-shell) .custom-btn:hover {
  opacity: 1;
  transform: none;
  box-shadow: none;
}

/* 主ボタン：フォーム */
:where(.shared-shell) .custom-btn--mail,
:where(.shared-shell) .custom-btn--contact {
  background: var(--gazon-green-dark);
  border-color: var(--gazon-green-dark);
  color: #fff;
}

:where(.shared-shell) .custom-btn--mail:hover,
:where(.shared-shell) .custom-btn--contact:hover {
  background: var(--gazon-green);
  border-color: var(--gazon-green);
  color: #fff;
}

/* 副ボタン：電話（白地・深緑の枠） */
:where(.shared-shell) .custom-btn--tel {
  background: #fff;
  border-color: var(--gazon-green-dark);
  color: var(--gazon-green-dark);
  box-shadow: none;
}

:where(.shared-shell) .custom-btn--tel:hover {
  background: var(--gazon-green-dark);
  border-color: var(--gazon-green-dark);
  color: #fff;
}

/* LINEは公式カラーのまま */
:where(.shared-shell) .custom-btn--line {
  background: #06c755;
  border-color: #06c755;
  color: #fff;
  gap: 6px;
}

:where(.shared-shell) .custom-btn--line:hover {
  background: #05b34c;
  border-color: #05b34c;
}

:where(.shared-shell) .custom-btn--line .line-icon {
  height: 20px;
  width: auto;
}

:where(.shared-shell) .btn-desc {
  color: #6b746d;
}

/* ---- アコーディオン（例文リスト） ---- */
:where(.shared-shell) .accordion-item {
  margin-bottom: 10px;
  border: 1px solid var(--gazon-line);
  border-radius: 4px;
  overflow: hidden;
}

:where(.shared-shell) .accordion-title {
  position: relative;
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 14px 44px 14px 18px;
  border: 0;
  border-left: 4px solid var(--gazon-wood);
  background: #f0eee6;
  color: var(--gazon-ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

:where(.shared-shell) .accordion-title:hover,
:where(.shared-shell) .accordion-title:focus-visible {
  background: #e8e5da;
}

:where(.shared-shell) .accordion-title::after {
  position: absolute;
  top: 50%;
  right: 18px;
  color: var(--gazon-wood);
  content: "\25be";
  font-size: 13px;
  transform: translateY(-50%);
  transition: transform .2s ease;
}

:where(.shared-shell) .accordion-item.open > .accordion-title::after,
:where(.shared-shell) .accordion-item:has(> .accordion-content[style*="display: block"]) > .accordion-title::after {
  transform: translateY(-50%) rotate(180deg);
}

:where(.shared-shell) .accordion-content {
  background: var(--gazon-paper);
}

:where(.shared-shell) .example-block {
  border-bottom: 1px solid var(--gazon-line);
}

/* ---- コピーボタン ---- */
:where(.shared-shell) .copy-btn {
  min-height: 36px;
  padding: 8px 16px;
  border: 1px solid var(--gazon-wood);
  border-radius: 3px;
  background: transparent;
  color: var(--gazon-wood);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

:where(.shared-shell) .copy-btn:hover,
:where(.shared-shell) .copy-btn:focus-visible {
  opacity: 1;
  background: var(--gazon-wood);
  color: #fff;
}

@media screen and (max-width: 600px) {
  :where(.shared-shell) .custom-btn {
    display: flex;
    min-height: 54px;
    font-size: 15px;
  }

  :where(.shared-shell) .accordion-title {
    min-height: 54px;
    font-size: 15px;
  }

  :where(.shared-shell) .copy-btn {
    min-height: 40px;
    padding: 10px 18px;
  }
}

/* CTAボタンの横幅を揃える */
:where(.shared-shell) .custom-btn {
  min-width: 172px;
}

@media screen and (max-width: 600px) {
  :where(.shared-shell) .cta-buttons {
    width: 100%;
  }

  :where(.shared-shell) .cta-option,
  :where(.shared-shell) .cta-buttons > a.custom-btn {
    width: 100%;
    max-width: 320px;
  }

  :where(.shared-shell) .cta-option .custom-btn {
    width: 100%;
    max-width: none;
    margin: 0;
  }
}

/* スマホでは説明文の強制改行を解除して自然に折り返す */
@media screen and (max-width: 600px) {
  :where(.shared-shell) .accordion-section .section-desc br,
  :where(.shared-shell) .bordered-box .cta-text br {
    display: none;
  }

  :where(.shared-shell) .accordion-section .section-desc,
  :where(.shared-shell) .bordered-box .cta-text {
    text-align: left;
  }
}

/* =========================================================
   6. 下部CTAブロック（inquiry-jp / nationwide-jp）の配色統一
      旧マテリアルグリーン＋黄色・オレンジのアクセントを
      ブランド配色（深緑＋木の茶＋サンド）に置き換える
   ========================================================= */

/* ---- 見出し・カード ---- */
:where(.shared-shell) .inquiry-jp__heading-jp,
:where(.shared-shell) .inquiry-jp__title,
:where(.shared-shell) .related-content__title {
  color: var(--gazon-ink);
}

:where(.shared-shell) .inquiry-jp__heading-jp::after {
  background: var(--gazon-wood);
}

:where(.shared-shell) .inquiry-jp__card {
  border-top: 3px solid var(--gazon-green-dark);
}

:where(.shared-shell) .inquiry-jp__badge {
  border: 1px solid var(--gazon-line);
  background: #eef0ea;
  color: var(--gazon-green-dark);
}

/* ---- ① フォーム（プライマリ） ---- */
:where(.shared-shell) .inquiry-jp__btn--primary {
  background: var(--gazon-green-dark);
  color: #fff;
  box-shadow: none;
}

:where(.shared-shell) .inquiry-jp__btn--primary .btn-icon,
:where(.shared-shell) .inquiry-jp__btn--primary .btn-tag,
:where(.shared-shell) .inquiry-jp__btn--primary .btn-arrow {
  color: #cbbb9c;
}

:where(.shared-shell) .inquiry-jp__btn--primary:hover {
  background: var(--gazon-green);
  transform: none;
  box-shadow: none;
}

/* ---- ② LINE ---- */
:where(.shared-shell) .inquiry-jp__btn--line {
  border: 1px solid var(--gazon-green-dark);
  color: var(--gazon-ink);
}

:where(.shared-shell) .inquiry-jp__btn--line .btn-arrow {
  color: var(--gazon-green-dark);
}

:where(.shared-shell) .inquiry-jp__btn--line:hover {
  background: var(--gazon-green-dark);
  border-color: var(--gazon-green-dark);
  color: #fff;
}

/* ---- 全国対応ブロックのボタン ---- */
:where(.shared-shell) .nationwide-jp__btn {
  min-height: 54px;
}

:where(.shared-shell) .nationwide-jp__btn--primary {
  background: var(--gazon-green-dark);
  color: #fff;
  box-shadow: none;
}

:where(.shared-shell) .nationwide-jp__btn--primary .btn-icon,
:where(.shared-shell) .nationwide-jp__btn--primary .btn-arrow {
  color: #cbbb9c;
}

:where(.shared-shell) .nationwide-jp__btn--primary:hover {
  background: var(--gazon-green);
  transform: none;
  box-shadow: none;
}

:where(.shared-shell) .nationwide-jp__btn--ghost {
  border: 1px solid var(--gazon-green-dark);
  color: var(--gazon-green-dark);
}

:where(.shared-shell) .nationwide-jp__btn--ghost .btn-icon {
  color: var(--gazon-green-dark);
}

:where(.shared-shell) .nationwide-jp__btn--ghost:hover {
  background: var(--gazon-green-dark);
  color: #fff;
}

:where(.shared-shell) .nationwide-jp__btn--ghost:hover .btn-icon,
:where(.shared-shell) .nationwide-jp__btn--ghost:hover .btn-meta {
  color: #fff;
}

/* =========================================================
   7. 価格ページのCTA・アクセント色
      （トップの同じボタンが深緑なのに価格ページだけ
        オレンジになっていたのを揃える）
      ※ .height-bar のグラデーションは柱の高さを表す
        意味のある配色なので変更しない
   ========================================================= */
:where(.shared-shell) .result-cta-btn {
  border-radius: 3px;
  background: var(--gazon-green-dark);
  background-image: none;
  color: #fff;
  box-shadow: none;
}

:where(.shared-shell) .result-cta-btn:hover {
  background: var(--gazon-green);
  background-image: none;
  color: #fff;
}

:where(.shared-shell) .highlight-copy {
  border-left-color: var(--gazon-wood);
}

:where(.shared-shell) a.cta-link:hover {
  color: var(--gazon-wood);
  border-bottom-color: var(--gazon-wood);
}

:where(.shared-shell) .nationwide-jp__badge {
  color: #fff;
}

:where(.shared-shell) .nationwide-jp__badge svg,
:where(.shared-shell) .nationwide-jp__badge .btn-icon {
  color: #cbbb9c;
}

/* =========================================================
   8. style.kakakuhyo2.css の更新で失われた定義の引き継ぎ
      （272ページが読み込むファイルなので、消えると影響が大きい）
   ========================================================= */

/* ヘッダーナビ：スマホで横スクロールさせる */
:where(.shared-shell) .pc-nav ul.ddmenu {
  display: flex !important;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

:where(.shared-shell) .pc-nav ul.ddmenu::-webkit-scrollbar {
  display: none;
}

/* 全国対応ブロックの写真上バッジ */
:where(.shared-shell) .nationwide-jp__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(31, 29, 24, .92);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

:where(.shared-shell) .nationwide-jp__badge svg {
  width: 12px;
  height: 12px;
  color: #cbbb9c;
}

/* 価格ページ：新CSSに定義が無い小物 */
:where(.shared-shell) .sp-only {
  display: none;
}

@media screen and (max-width: 600px) {
  :where(.shared-shell) .sp-only {
    display: inline;
  }
}

:where(.shared-shell) .post-sim-guide .lead,
:where(.shared-shell) .gazon-brand-story .lead,
:where(.shared-shell) p.lead {
  color: #6a6157;
  font-size: 14px;
  line-height: 1.9;
}
