@charset "UTF-8";

/*
 * 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: 15px;
}

/* =============================================
   1. ナビゲーション ― 2行ヘッダー（style.css 補完）
   ============================================= */
.nav-toggle { display: none !important; }

/* ヘッダーを必ず最前面に */
header { z-index: 9999 !important; }
/* ナビ行のoverflowを visible に（ドロップダウンが切れないよう） */
.header-nav-row { overflow: visible !important; position: relative; z-index: 1001; }

@media (max-width: 768px) {
  body { padding-top: 96px !important; }
  .header-logo-row { height: 56px !important; }
  .header-nav-row  { height: 40px !important; }
  .logo img { max-width: 110px !important; }
  .pc-nav { display: flex !important; overflow-x: auto !important; overflow-y: visible !important; }
  .pc-nav ul.ddmenu {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .pc-nav ul.ddmenu::-webkit-scrollbar { display: none; }
  /* portal が表示を担当するので元のulは非表示 */
  .pc-nav li.nav-open > ul { display: none !important; }
}

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

.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;
}

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

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

.sim-card-header p {
  font-size: 12px;
  opacity: .8;
  margin: 0;
}

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

.sim-tab {
  flex: 1;
  padding: 13px 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: #888;
  letter-spacing: .02em;
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s, background .2s;
  font-family: inherit;
}

.sim-tab:hover {
  background: #f1f8e9;
  color: #2e7d32;
}

.sim-tab.active {
  color: #1b5e20;
  border-bottom-color: #2e7d32;
  background: #fff;
}

/* パネル */
.sim-panel {
  display: none;
  padding: 24px 28px 28px;
}

.sim-panel.active {
  display: block;
}

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

/* 入力エリア */
.sim-inputs {}

.sim-group {
  margin-bottom: 14px;
}

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

.sim-group input[type="number"],
.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;
}

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

.sim-group--wide {
  grid-column: 1 / -1;
}

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

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

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

.sim-info-bar {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

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

.sim-info-item strong {
  color: #1b5e20;
  font-size: 14px;
}

.sim-breakdown {
  border-top: 1px solid #a5d6a7;
  padding-top: 10px;
  margin: 10px 0;
}

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

.breakdown-row span {
  font-weight: 600;
  color: #1b5e20;
}

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

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

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

.sim-total-box .sim-total-tax {
  font-size: 11px;
  opacity: .7;
}

.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;
}

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

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

.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;
}

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

.method-list li .method-price {
  font-weight: 700;
  color: #1b5e20;
}

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

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

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

/* =============================================
   4. ヒーロー (intro-title section)
   ============================================= */
#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;
}

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

.gaz-grad-content {
  position: relative;
  z-index: 1;
  color: #fff;
}

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

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

.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;
}

.gaz-grad-cta:hover { background: #f1f8e9; }

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

.data-row {
  display: flex;
  border-bottom: 1px solid #e8f5e9;
}

.data-column {
  padding: 9px 14px;
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
}

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

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

.content-block > .image-container1 {
  flex: 1 1 45%;
  min-width: 240px;
}

.content-block > .info-block {
  flex: 1 1 45%;
  min-width: 240px;
}

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

.image-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

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

.info-block { display: flex; flex-direction: column; }

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

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

.info-item p { margin: 0; font-size: 14px; line-height: 1.75; }

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

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

.sim-form input[type="number"],
.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;
}

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

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

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

.table-wrap table {
  min-width: 500px;
  border-collapse: collapse;
  width: 100%;
  font-size: 13.5px;
}

table { border-collapse: collapse; width: 100%; font-size: 14px; }

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

th, td {
  border: 1px solid #e0e0e0;
  padding: 10px 10px;
  text-align: center;
  line-height: 1.5;
}

th {
  background: #f1f8e9;
  font-weight: 700;
  color: #1b5e20;
}

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

/* =============================================
   9. フェンス写真セクション
   ============================================= */
.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;
}

.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;
}

.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;
}

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

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

.custom-btn--line { background-color: #06c755; }

.line-icon {
  height: 20px;
  width: auto;
  vertical-align: middle;
  margin-right: 4px;
}

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

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

  /* --- sim-hub --- */
  .sim-hub { padding: 24px 10px 36px; }

  .sim-card { border-radius: 12px; }

  .sim-card-header {
    padding: 14px 18px 10px;
  }

  .sim-card-header h2 { font-size: 1.05rem; }

  .sim-tab { font-size: 12.5px; padding: 11px 6px; }

  .sim-panel { padding: 16px; }

  /* 2カラム → 1カラム */
  .sim-grid { grid-template-columns: 1fr; }

  .sim-result-panel { margin-top: 0; }

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

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

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

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

  /* テーブル */
  th, td { font-size: 12px; padding: 7px 5px; }

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

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

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

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

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

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

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

  /* 既存 sim-form */
  .sim-form { flex-direction: column; }
  .sim-form label { flex-direction: column; align-items: flex-start; }

  /* method-list */
  .method-list li { font-size: 12px; }
}

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

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

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

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

/* タブボタン (sim-tab-btn) */
.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;
}
.sim-tab-btn:hover { background: #f1f8e9; color: #2e7d32; }
.sim-tab-btn.active { color: #1b5e20; border-bottom-color: #2e7d32; background: #fff; }
.tab-icon  { font-size: 18px; line-height: 1; }
.tab-label { font-size: 12px; }

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

/* フォームフィールド (sim-field) */
.sim-field { margin-bottom: 14px; }
.sim-field > label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #444;
  margin-bottom: 5px;
}
.field-hint {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #999;
  margin-top: 2px;
}
.input-wrap { display: flex; align-items: center; gap: 6px; }
.input-wrap input[type="number"] {
  flex: 1;
  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;
}
.input-wrap input:focus {
  border-color: #2e7d32;
  box-shadow: 0 0 0 3px rgba(46,125,50,.1);
  outline: none;
}
.unit { font-size: 14px; color: #555; white-space: nowrap; }
.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;
}
.sim-field select:focus { border-color: #2e7d32; outline: none; }

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

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

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

/* 合計表示 */
.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;
}
.result-label { font-size: 12px; opacity: .85; margin-bottom: 4px; }
.result-price { font-size: 2rem; font-weight: 700; line-height: 1.15; }
.result-yen   { font-size: 14px; opacity: .8; }
.result-note  { font-size: 11.5px; color: #888; text-align: center; }

/* CTAボタン */
.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;
}
.result-cta-btn:hover { background: #e59510; }

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

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

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

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

/* ヒーロー：B案 グラスモーフィズム
   ・薄い緑×ベージュのソフトグラデーション背景に、淡い円形ライトを配置
   ・ヒーローCTAはすりガラス風のピル型ボタン
   ・コンテンツは半透明のガラス板に乗ったような印象 */
#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;
}
/* ガラス板のフローティング光（左下と右上） */
#gaz-hero-grad::before,
#gaz-hero-grad::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}
#gaz-hero-grad::before {
  left: -60px; bottom: -60px;
  width: 220px; height: 220px;
  background: rgba(67,160,71,.35);
}
#gaz-hero-grad::after {
  right: -40px; top: -40px;
  width: 180px; height: 180px;
  background: rgba(245,200,140,.45);
}
.gaz-grad-overlay {
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.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;
}
.gaz-grad-content h2 {
  color: #1b3a1f;
  letter-spacing: .04em;
  text-shadow: none;
  font-weight: 700;
}
.hero-label {
  font-weight: 600;
  color: #1b5e20;
  letter-spacing: .18em;
  opacity: 1;
}
.hero-sub { color: #3a5a3d; }
.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;
}
.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：ヒーローと連続するソフトベージュ＋緑のガラス */
.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);
}
.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;
}
.sim-hub-header { color: #2a3a2a; }
.sim-hub-header h2 {
  color: #1b3a1f;
  letter-spacing: .04em;
  font-weight: 700;
}
.sim-hub-header p { color: rgba(42,58,42,.7); }

/* シミュレーターカード：すりガラス風 */
.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);
}
.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);
}
.sim-tab-btn {
  border-radius: 0;
  color: #6a7a68;
}
.sim-tab-btn:hover {
  background: rgba(255,255,255,.45);
  color: #1b5e20;
}
.sim-tab-btn.active {
  background: rgba(255,255,255,.85);
  color: #1b5e20;
  border-bottom: 2px solid #1b5e20;
}

/* パネルリードもガラス風に */
.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;
}

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

/* 結果カード：内側に淡いガラス */
.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);
}
.result-breakdown {
  background: rgba(255,255,255,.6);
  border-color: rgba(200,230,201,.7);
}
.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);
}
.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);
}
.result-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(245,166,35,.40);
  background: linear-gradient(135deg, #f0934a, #e08332);
}

/* 斜面参照ブロックもソフトに */
.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;
}
.slope-ref-item {
  background: rgba(255,255,255,.7);
  border-color: rgba(255,255,255,.8);
  border-radius: 10px;
}
.slope-height-guide {
  background: rgba(255,255,255,.7);
  border-color: rgba(255,255,255,.85);
  border-radius: 10px;
}

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

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

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

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

/* 提案カードを見やすく */
.cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 18px 0 28px;
}
.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;
}
.proposal-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(27,94,32,.12);
}
.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;
}
.proposal-card .bullet {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}
.proposal-card .bullet li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.7;
  color: #333;
}
.proposal-card .bullet li::before {
  content: "■";
  position: absolute;
  left: 0;
  top: 0;
  color: #43a047;
  font-size: 10px;
}
.proposal-card .img-wrap { margin: auto -2px 0; }
.proposal-card .img-wrap img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}
.proposal-card figcaption {
  font-size: 11.5px;
  color: #666;
  margin-top: 5px;
  text-align: center;
  line-height: 1.5;
}

/* details/summary の見栄え統一 */
details.info-details {
  border: 1px solid #c8e6c9;
  border-radius: 10px;
  background: #fff;
  margin: 18px 0;
  overflow: hidden;
  transition: box-shadow .25s ease;
}
details.info-details[open] { box-shadow: 0 6px 24px rgba(0,0,0,.06); }
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;
}
details.info-details > summary::-webkit-details-marker { display: none; }
details.info-details > summary::after {
  content: "▼";
  font-size: 12px;
  color: #2e7d32;
  transition: transform .25s ease;
}
details.info-details[open] > summary::after { transform: rotate(180deg); }
details.info-details > .content { padding: 18px 20px 24px; }

/* 強調コピー */
.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;
}

/* 動画埋め込みを画面に収める */
.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;
}
.video-embed-wrap iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
}

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

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

/* 事例カード */
.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);
}
.case-card h3 {
  font-size: 1.05rem;
  color: #1b5e20;
  margin: 16px 0 10px;
  padding-left: 10px;
  border-left: 4px solid #43a047;
}
.case-spec-list {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.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;
}
.case-spec-list .spec-key {
  font-size: 11.5px;
  color: #2e7d32;
  font-weight: 700;
  letter-spacing: .04em;
}
.case-spec-list .spec-val {
  font-size: 1.05rem;
  color: #1b5e20;
  font-weight: 700;
  margin-top: 2px;
}
.case-study-image-caption {
  font-size: 12px;
  color: #666;
  text-align: center;
  margin-top: 4px;
}
.price-table .total-row th {
  background: #1b5e20;
  color: #fff;
  font-size: 1rem;
}
.case-study-footer {
  margin-top: 14px;
  padding: 12px 14px;
  background: #fafafa;
  border-radius: 8px;
  text-align: center;
  font-size: 13.5px;
}

/* CTAリンク（事例から問い合わせ等） */
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;
}
a.cta-link:hover { color: #f5a623; border-bottom-color: #f5a623; }

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

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

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

/* Google Fonts: Zen Kaku Gothic New + Shippori Mincho（数字用） */
@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;500;700;900&family=Shippori+Mincho:wght@500;700&display=swap');

.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;
}
.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;
}

/* セクションヘッダー：縦積み・中央揃え */
.inquiry-jp__heading {
  position: relative;
  text-align: center;
  max-width: 560px;
  margin: 0 auto 20px;
  padding-top: 20px;
}
.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;
}
.inquiry-jp__heading-jp .line { display: inline-block; }
.inquiry-jp__heading-jp::after {
  content: "";
  display: block;
  width: 28px;
  height: 1.5px;
  background: #1b5e20;
  margin: 10px auto 0;
}
.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;
}
.inquiry-jp__heading-sub .row { display: inline; }

/* --- カード本体 --- */
.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 — 完全無料」バッジ */
.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;
}

/* タイトル＆リード（モダンゴシック） */
.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";
}
.inquiry-jp__lead {
  font-size: 14px;
  color: #6a6157;
  line-height: 1.95;
  margin: 0 0 26px;
  letter-spacing: 0.02em;
}

/* 強み3指標（数字は明朝 / 「Shippori Mincho」） */
.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;
}
.inquiry-jp__stats li {
  flex: 1;
  text-align: center;
  border-left: 0.5px solid #d6cfc1;
  padding: 4px 0;
}
.inquiry-jp__stats li:first-child { border-left: 0; }
.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;
}
.inquiry-jp__stats .stat-num small {
  font-size: 0.5em;
  color: #6a6157;
  margin-left: 2px;
  font-weight: 400;
}
.inquiry-jp__stats .stat-label {
  display: block;
  font-size: 10.5px;
  color: #6a6157;
  letter-spacing: 0.08em;
  margin-top: 5px;
  font-weight: 500;
}

/* --- CTAエリア --- */
.inquiry-jp__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.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;
}
.inquiry-jp__btn .btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.inquiry-jp__btn .btn-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.inquiry-jp__btn .btn-tag {
  font-size: 10px;
  letter-spacing: 0.14em;
  font-weight: 700;
  opacity: 0.95;
}
.inquiry-jp__btn .btn-label {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.inquiry-jp__btn .btn-arrow {
  font-size: 16px;
  font-weight: 500;
}
.inquiry-jp__btn .btn-meta {
  font-size: 11px;
  letter-spacing: 0.04em;
}

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

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

/* ③ 電話（テキストリンク） */
.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;
}
.inquiry-jp__btn--tel .btn-icon { color: #6a6157; }
.inquiry-jp__btn--tel .btn-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.inquiry-jp__btn--tel .btn-meta { color: #948b80; }
.inquiry-jp__btn--tel:hover { color: #1f1d18; }
.inquiry-jp__btn--tel:hover .btn-icon { color: #1f1d18; }

.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) {
  .inquiry-jp {
    padding: 20px 16px 44px;
  }

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

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

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

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

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

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

/* =============================================
   16. 全国対応セクション（Japandi 統一）
   ============================================= */
.nationwide-jp {
  background: #fbf8f2;
  padding: 56px 20px;
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
}
.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);
}

/* 左：地図メディア */
.nationwide-jp__media {
  position: relative;
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  background: #f5efe6;
}
.nationwide-jp__media img {
  width: 100%;
  height: auto;
  display: block;
}
.nationwide-jp__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(31,29,24,.92);
  color: #f5a623;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 5px 10px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.nationwide-jp__badge svg {
  width: 12px;
  height: 12px;
}

/* 右：テキストブロック */
.nationwide-jp__body { min-width: 0; }
.nationwide-jp__eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.32em;
  color: #1b5e20;
  font-weight: 700;
  margin: 0 0 10px;
  text-transform: uppercase;
}
.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;
}
.nationwide-jp__title .line { display: inline-block; }
.nationwide-jp__lead {
  font-size: 14px;
  color: #4a4438;
  line-height: 1.95;
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}
.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エリア */
.nationwide-jp__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}
.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;
}
.nationwide-jp__btn .btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nationwide-jp__btn .btn-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.nationwide-jp__btn .btn-arrow {
  font-size: 15px;
  font-weight: 500;
}
.nationwide-jp__btn .btn-meta {
  font-size: 11px;
  letter-spacing: 0.04em;
}

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

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

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

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

/* bordered-box：インライン問い合わせエリア */
.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;
}

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

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

/* ボタン基本 */
.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;
}
.custom-btn:hover { transform: translateY(-1px); }

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

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

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

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

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

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

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

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

/* 各カード：横長（画像左・テキスト右） */
.related-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  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: 110px;
}
.related-card:hover {
  box-shadow: 0 6px 20px rgba(70, 55, 30, 0.14);
  transform: translateY(-2px);
}

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

/* テキスト本体 */
.related-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  padding: 16px 20px;
  gap: 4px;
}
.related-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1f1d18;
  margin: 0 0 6px;
  line-height: 1.45;
}
.related-card__desc {
  font-size: 0.8rem;
  color: #6a6157;
  line-height: 1.7;
  margin: 0 0 10px;
}
.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) {
  .related-content {
    margin: 36px auto 48px;
    padding: 0 12px;
  }
  .related-card {
    min-height: 90px;
  }
  .related-card__img-wrap {
    width: 110px;
  }
  .related-card__body {
    padding: 12px 14px;
  }
  .related-card__title {
    font-size: 0.88rem;
  }
  .related-card__desc {
    font-size: 0.75rem;
    line-height: 1.6;
  }
}
