/* === Base === */
*,
*::before,
*::after { box-sizing: border-box; }
body {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.8;
  color: #000;
  margin: 0;
}

/* === HERO: 3カラム（左=写真 / 中=黄色 / 右=黄色） === */
.hero{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr; /* 1:1:1 */
  min-height: 587px;
}
.hero > * { min-height: 587px; } /* 高さを揃えたい場合 */

/* 左（写真） */
.hero__left{
  background: url("img/hero-blur.png") left center/cover no-repeat;
}

/* 中（黄色）: 中だけさらに 2vw 1fr 2vw の3カラム */
.hero__center{
  background:#D5B21B;
  display:grid;
  grid-template-columns: 2vw 1fr 2vw;
  align-content:center;
  row-gap:40px;
  padding-block: 15px;
}
/* 中の要素は中央トラックへ */
.hero__problems,
.hero-heading,
.hero__solutions{ grid-column:2; }

/* 右（黄色）: 右も 2vw 1fr 2vw の3カラム */
.hero__right{
  background:#D5B21B;
  display:grid;
  grid-template-columns: 2vw 1fr 2vw;
  align-content:center;
  padding-block: 15px;
}

/* フォームの白パネル（2本目の 1fr に置く） */
.hero__form{
  grid-column:2;                  /* ← 右カラム内の中央へ配置 */
  justify-self: center;
  background: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 8px;
  padding: 28px;
  width: 80%;
  max-width: none;                /* 狭くならないように */
}

/* === 中央エリア内テキスト === */
.hero__problems p.black-bg{
  background:#000;
  color:#fff;
  padding:8px 24px;
  margin:0 0 40px;
  font-weight:700;
  font-size:20px;
  text-align:center;
}
.hero__problems p.black-bg:last-child{ margin-bottom:0; }

.hero-heading{
  margin:0;
  font-size: clamp(32px, 2vw, 48px);
  font-weight:800;color:#000;
  text-align:center;
}
.hero-heading span{ color:#fff; }
.hero__solutions p.white-bg{
  background:#fff;color:#000;
  padding:8px 24px;margin:0 0 20px;
  font-weight:700;font-size:20px;
  text-align:center;
}
.hero__solutions p.white-bg:last-child{ margin-bottom:0; }

/* =========================================================
   CF7（Contact Form 7）共通スタイル
   - heroセクション内のフォーム要素を統一的に整える
   - 背景は .hero__form 側で定義済み
========================================================= */

/* ▼フォーム全体のレイアウト設定
   ----------------------------------------------- */
.hero__form .wpcf7-form {
  display: flex;                /* 縦並びにするためのflexレイアウト */
  flex-direction: column;       /* 子要素を縦方向に配置 */
  gap: 1px;                    /* 各フィールド間の余白 */
}

/* ▼ラベル（項目名）のデザイン
   ----------------------------------------------- */
.hero__form .wpcf7-form label {
  color: #000;                  /* テキストカラー（黒） */
  font-weight: 700;             /* やや太字で可読性を上げる */
  font-size: 16px;              /* ベースより少し小さめ */
}

/* ▼入力欄・テキストエリア・セレクト共通のデザイン
   ----------------------------------------------- */
.hero__form .wpcf7-form input,
.hero__form .wpcf7-form textarea,
.hero__form .wpcf7-form select {
  width: 100%;                  /* 横幅いっぱい */
  padding: 10px 14px;           /* 内側余白 */
  font-size: 16px;              /* 読みやすいサイズ */
  border-radius: 8px;           /* 角丸で柔らかい印象に */
  border: 1px solid #ccc;       /* 標準のボーダー */
  background: #fff;             /* 背景白 */
  color: #000;                  /* テキスト黒 */
}

/* ▼テキストエリア専用設定
   ----------------------------------------------- */
.hero__form .wpcf7-form textarea {
  min-height: 100px;            /* 高さ確保 */
  resize: vertical;             /* 縦方向のみリサイズ可 */
}

/* ▼プルダウン（セレクトボックス）のカスタム矢印設定
   ----------------------------------------------- */
.hero__form .wpcf7-form select {
  -webkit-appearance: none;     /* デフォルトの矢印を非表示（Safari対応） */
  appearance: none;             /* デフォルトの矢印を非表示 */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; /* 繰り返しなし */
  background-position: right 12px center; /* 右寄せ・中央揃え */
  background-size: 12px 8px;    /* 矢印サイズ */
  padding-right: 40px;          /* テキストと矢印の間に余白 */
}

/* ▼フォーカス時（クリック・タブ移動時）の装飾
   ----------------------------------------------- */
.hero__form .wpcf7-form input:focus,
.hero__form .wpcf7-form textarea:focus,
.hero__form .wpcf7-form select:focus {
  border-color: #D5B21B;        /* ブランドカラーで強調 */
  box-shadow: 0 0 0 3px rgba(213,178,27,.2); /* 柔らかいシャドウ効果 */
  outline: none;                /* デフォルトの青い枠を消す */
}

/* CF7 送信ボタン（白くなる問題の対策・上書きに勝つ） */
.hero__right .hero__form input.wpcf7-submit[type="submit"]{
  -webkit-appearance: none;
  appearance: none;
  background-color: #D5B21B;   /* ← 背景色（黄色） */
  background-image: none;      /* テーマのグラデ/画像指定を打ち消す */
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 12px 16px;
  font-weight: 700;
  width: 100%;
  cursor: pointer;
  transition: filter .2s ease, transform .02s ease;
}
.hero__right .hero__form input.wpcf7-submit[type="submit"]:hover{ filter: brightness(.95); }
.hero__right .hero__form input.wpcf7-submit[type="submit"]:active{ transform: translateY(1px); }

/* 送信不可状態の見た目も明示（任意） */
.hero__right .hero__form input.wpcf7-submit[type="submit"]:disabled{
  opacity: .6; cursor: not-allowed;
}

/* ▼送信ボタンのホバー・クリック状態
   ----------------------------------------------- */
.hero__form .wpcf7-submit:hover {
  filter: brightness(.95);      /* 少し暗くして押せそうな印象に */
}
.hero__form .wpcf7-submit:active {
  transform: translateY(1px);   /* クリック時に軽く沈む */
}
/* ▼フィールド間の余白（縦のマージン）を調整 */
.hero__form .wpcf7-form p {
  margin: 8px 0; /* ← フィールド間の縦幅を狭める。デフォルトは約16px */
}
.hero__form .wpcf7-form p:last-of-type {
  margin-bottom: 0; /* ← 最後のp（送信ボタン）の下マージンを消す */
}
/* =========================
   Responsive
   ========================= */

/* --- タブレット寄りの調整（～1200px） --- */
/*@media (max-width: 1200px){
  .hero > * { min-height: auto; }               /* 固定高さを外す */
  /*.hero__center{ row-gap: 28px; }
  .hero__form{ width: min(86%, 680px); }        /* ちょい広げる */


/* --- スマホ想定（～960px）: 縦に積む --- */
@media (max-width: 1024px){

  /* 3 → 1 カラム */
  .hero{
    grid-template-columns: 1fr;
    min-height: unset;
  }
  .hero > * { min-height: auto; }

  /* 画像は比率で確保（左端固定のまま） */
  .hero__left{
    min-height: clamp(220px, 60vw, 420px);      /* 画像の見える高さ */
    background-position: left center;           /* 左端固定（既にOKだが念押し） */
  }

  /* 中央と右（フォーム）の内側ガターを少しだけ広めに */
  .hero__center,
  .hero__right{
    grid-template-columns: 4vw 1fr 4vw;         /* 2vw → 4vw にして余白確保 */
    padding-block: 20px;
  }

  /* テキスト・ボックスの間隔やサイズをモバイル寄りに */
  .hero__problems p.black-bg,
  .hero__solutions p.white-bg{
    margin: 0 0 16px;
    padding: 10px 16px;                          /* 横幅が狭いので内側余白を最適化 */
    font-size: 18px;
  }

  .hero-heading{
    font-size: clamp(26px, 6vw, 34px);
    line-height: 1.35;
    margin: 8px 0 16px;
  }

  /* フォームは中央寄せ＆幅広めで読みやすく */
  .hero__form{
    grid-column: 2;                              /* 中央トラック */
    justify-self: center;
    width: min(92%, 640px);                      /* 端末幅に追随しつつ最大幅を制限 */
    padding: 22px;
    margin: 10px 0 28px;
  }

  /* フォーム内の縦間隔を少し詰める（任意） */
  .hero__form .wpcf7-form{ gap: 0; }
  .hero__form .wpcf7-form p{ margin: 10px 0; }
  .hero__form .wpcf7-form label{
    font-size: 15px;
    margin-bottom: 6px;
  }
  .hero__form .wpcf7-form input,
  .hero__form .wpcf7-form select{
    padding-block: 9px;
  }
  .hero__form .wpcf7-form textarea{
    min-height: 90px;
    padding-block: 9px;
  }

  /* 送信ボタンは親指タップしやすく少し大きめ */
  .hero__right .hero__form input.wpcf7-submit[type="submit"]{
    padding: 14px 16px;
    font-size: 16px;
  }
}

/* --- さらに小さい端末（～560px）: 余白をさらに調整 --- */
@media (max-width: 560px){
  .hero__center,
  .hero__right{ grid-template-columns: 4vw 1fr 4vw; }

  .hero__problems p.black-bg,
  .hero__solutions p.white-bg{
    font-size: 17px;
    padding: 10px 14px;
  }

  .hero__form{
    width: 94%;
    padding: 18px;
  }
}

/* ===============================
   支援実績セクション
   2vw | 1fr | 2vw 構造
================================ */
/* ===== 支援実績セクション：2vw | 1fr | 2vw ===== */
.cases{
  display: grid;
  grid-template-columns: 2vw 1fr 2vw;
  padding-block: 60px;
  background:#fff;
}

/* 中央の1frに現在の.containerを配置 */
.cases > .container{
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* 見出し（左寄せ） */
.cases .sec-title{
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  color:#000;
  text-align: left;
}

/* カード3カラム（1frの中） */
.cases .cards{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3vw, 56px);
}

/* カードの中身（好みで） */
.cases .card__thumb{ margin-bottom: clamp(12px, 1.5vw, 20px); border-radius:12px; overflow:hidden; box-shadow:0 4px 12px rgba(0,0,0,.08); }
.cases .card__thumb img{ display:block; width:100%; height:clamp(200px, 22vw, 300px); object-fit:cover; transition: transform .35s ease; }
.cases .card a:hover .card__thumb img{ transform: scale(1.03); }
.cases .card__title{ margin:0 0 12px; font-size: clamp(18px, 2.2vw, 26px); font-weight:800; color: #000;  }
.cases .card__meta{ margin:0; padding:0; list-style:none; display:flex; flex-wrap:wrap; gap:10px; }
.cases .card__meta li{ background:#F3E6A8; color:#2b2b2b; border-radius:9999px; padding:8px 14px; font-size:14px; font-weight:700; line-height:1; }

/* --- レスポンシブ --- */
@media (max-width: 1024px){
  .cases .cards{ grid-template-columns: repeat(2, 1fr); gap:28px; }
}
@media (max-width: 640px){
  .cases{ grid-template-columns: 4vw 1fr 4vw; } /* モバイルは少し広めの左右余白 */
  .cases .cards{ grid-template-columns: 1fr; gap:24px; }
  .cases .card__thumb img{ height: clamp(180px, 52vw, 260px); }
  .cases .card__title{ font-size: clamp(18px, 5vw, 22px); }
}

/* =========================
   FLOWセクション（2vw | 1fr | 2vw）
========================= */
.flow{
  display: grid;
  grid-template-columns: 2vw 1fr 2vw;
  background: #f4f4f4;
  padding-block: 60px;
}

/* 真ん中の1frに .container を配置 */
.flow > .container{
  grid-column: 2;
}

/* 3カラム構成：左2カラム、右1カラム */
.flow__box{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: clamp(24px, 4vw, 48px);
  align-items: start; /* 上端揃え */
}

/* 左は1〜2列ぶんを占有、右は3列目 */
.flow__left{ grid-column: 1 / span 2; }
.flow__right{
  grid-column: 3;
  align-self: center;
  justify-self: center; /* カラム内で中央寄せ */
}

/* 見出し */
.flow .sec-title{
  margin: 0 0 clamp(20px, 2.5vw, 28px);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: .02em;
  color: #000;
  line-height: 1.4;
}

/* 6ステップ（左側） */
.flow__list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.2vw, 28px) clamp(24px, 4vw, 48px);
}
.flow__list li{
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 16px);
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 700;
  color: #000;
  line-height: 1.4;
}
.flow__list li img{
  width: 100px;
  height: 100px;
  flex: 0 0 auto;
  filter: grayscale(1);
}

/* 右バナー（枠・角丸・影） */
.flow__right .banner{
  display: block;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
}
.flow__right .banner img{
  display: block;
  width: 100%;
  height: auto;
}

/* 改行制御用：SPのみ改行する */
.sp-br{ display: none; }
@media (max-width: 560px){
  .sp-br{ display: block; }
}

/* =========================
   SPは縦積み
========================= */
@media (max-width: 1024px){
  .flow__box{
    grid-template-columns: 1fr;
    row-gap: clamp(20px, 6vw, 32px);
  }
  .flow__left{ grid-column: 1; }
  .flow__right{ grid-column: 1; }
  .flow__list{ grid-template-columns: 1fr; }
}

/* --- スマホ細かい調整 --- */
/* =========================
   スマホレイアウト（～560px）
========================= */
@media (max-width: 1024px){

  /* セクション全体の左右余白は4vw */
  .flow{
    grid-template-columns: 4vw 1fr 4vw;
  }

  /* 見出し */
  .flow .sec-title{
    font-size: 32px;
    line-height: 1.35;
  }

  /* ★ 新設：flow__list-wrap に左右8vwを設定（中央にリストを配置） */
  .flow__list-wrap{
    display: grid;
    grid-template-columns: 10vw 1fr 10vw;
  }

  /* リスト本体を中央のカラムに配置 */
  .flow__list{
    grid-column: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px 20px;
    justify-items: center; /* 各行の中央寄せ */
  }

  /* 各 li（アイコン＋テキスト） */
  .flow__list li{
    display: flex;
    align-items: center;
    justify-content: flex-start;  /* 横並び維持 */
    gap: 10px;
    font-size: clamp(16px, 4.5vw, 18px);
    text-align: left;
    width: 100%;          /* 各行の横幅をそろえる */
    max-width: 360px;     /* 見た目の揺れを抑える（任意） */
  }

  /* アイコンサイズ */
  .flow__list li img{
    width: 72px;
    height: 72px;
  }
}
/* ===============================
   ABOUT セクション（2vw | 1fr | 2vw）
================================ */
.about{
  display: grid;
  grid-template-columns: 2vw 1fr 2vw;             
  padding-block: 60px ;
  background: #fff;
}

/* 中央の1frへ .container を流し込む */
.about > .container{
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 3.2vw, 32px);
}

/* 見出し・リード */
.about .sec-title{
  margin: 0;
  font-weight: 800;
  font-size: 32px;
  color: #000;
}
.about__lead{
  margin: 0;
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.9;
  color: #000;
}

/* 3ポイント（親） */
.about__points{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);             /* PC：3カラム */
  gap: clamp(16px, 2.8vw, 40px);
  align-items: start;
}

/* 各ポイント（黄色ボックス） */
.point__inner{
  background: #D5B21B;
  color: #fff;
  border-radius: 10px;
  padding: clamp(14px, 1.6vw, 22px) clamp(16px, 2vw, 28px);
  width: 80%;                                        /* 各カラムの 80% 幅 */
  margin-inline: auto;                               /* カラム内で中央寄せ */
  text-align: center;
  transition: transform .18s ease, filter .18s ease;
}
.point__inner:hover{
  transform: translateY(-2px);
  filter: brightness(.98);
}
.point__text{
  margin: 0;
  font-weight: 700;
  font-size: clamp(16px, 1.2vw, 24px);
  line-height: 1.7;
}

/* ===== レスポンシブ ===== */

/* タブレット（～1024px）：2カラムへ */
/*@media (max-width: 1024px){
  .about__points{
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(16px, 4vw, 28px);
  }
  .point__inner{ width: 86%; }
}

/* スマホ（～640px）：左右余白を広げ、縦1カラムへ（黄色ボックスは縦並び） */
@media (max-width: 1024px){
  .about{
    grid-template-columns: 4vw 1fr 4vw;              /* スマホは少し広めのガター */
  }
  .about .sec-title{
    font-size: 32px;
    line-height: 1.35;
  }
  .about__lead{
    font-size: clamp(15px, 4.2vw, 17px);
    line-height: 1.9;
  }
  .about__points{
    grid-template-columns: 1fr;                      /* 縦並び */
    row-gap: 18px;
  }
  .point__inner{
    width: 100%;                          /* 画面に合わせて気持ち広め */
    padding: 16px 18px;
  }
  .point__text{
    font-size: clamp(15px, 4.4vw, 18px);
  }
}

/* =========================
   CTAセクション（全幅タイプ）
========================= */
.cta {
  background: #666; /* 背景（帯） */
  color: #fff;
  text-align: center;
  padding-block: 60px;
}

/* コンテンツを中央寄せ */
.cta > .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 32px);
  max-width: 1200px;
  margin-inline: auto;
}

/* テキスト部分 */
.cta__note {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .05em;
  margin: 0;
}

/* CTAボタン */
.cta__btn {
  display: inline-block;
  background: #fff;
  color: #000;
  font-weight: 800;
  font-size: 24px;
  padding: 8px 24px;
  border-radius: 10px;
  text-decoration: none;
  transition: all .25s ease;
}

/* ホバー時 */
.cta__btn:hover {
  background: #D5B21B;  /* 背景：ブランドカラー */
  color: #fff;          /* テキスト：白に変更 */
  transform: translateY(-2px);
}

/* =========================
   FAQ セクション
   ========================= */
.faq{
  display: grid;
  grid-template-columns: 2vw 1fr 2vw;          /* 左右ガター */
  padding-block: clamp(44px, 6vw, 72px);
  background: #fff;
}
.faq > .container{
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.4vw, 28px);
}

/* セクション見出し */
.faq .sec-title{
  margin: 0 0 clamp(10px, 1.6vw, 16px);
  font-weight: 800;
  font-size: 32px;
  color: #000;
}

/* アコーディオン外枠 */
.faq__item{
  background: #fff;
  border: 1px solid #d7d7d7;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
  overflow: hidden; /* 角丸とアニメのはみ出し対策 */
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.faq__item:hover{
  border-color: #cfcfcf;
  box-shadow: 0 4px 18px rgba(0,0,0,.06);
}

/* 質問ボタン */
.faq__question{
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: clamp(14px, 1.6vw, 18px) clamp(42px, 3.5vw, 56px) clamp(14px, 1.6vw, 18px) clamp(16px, 2.2vw, 28px);
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 800;
  color: #111;
  position: relative;
}
.faq__question:focus-visible{
  outline: 3px solid rgba(213,178,27,.45);
  outline-offset: 2px;
  border-radius: 10px;
}

/* 右の chevron 矢印 */
.faq__question::after{
  content: "";
  position: absolute;
  right: clamp(14px, 1.6vw, 20px);
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #777;
  border-bottom: 2px solid #777;
  transform: translateY(-50%) rotate(45deg);
  transition: transform .2s ease, border-color .2s ease;
}

/* 展開時は矢印を上向きに */
.faq__item.active .faq__question::after{
  transform: translateY(-50%) rotate(225deg);
  border-color: #333;
}

/* 回答（閉じ：非表示／開き：アニメ） */
.faq__answer{
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 clamp(16px, 2.2vw, 28px);
  border-top: 1px solid transparent;
  transition: max-height .28s ease, opacity .28s ease, padding .28s ease, border-color .28s ease;
}
.faq__item.active .faq__answer{
  max-height: 600px; /* 充分大きめの値にしておく */
  opacity: 1;
  padding: clamp(10px, 1vw, 14px) clamp(16px, 2.2vw, 28px) clamp(16px, 1.4vw, 22px);
  border-top-color: #e5e5e5;
}
.faq__answer p{
  margin: 0;
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 1.9;
  color: #333;
}

/* ユーザーがアニメを好まない設定の場合は即時切替 */
@media (prefers-reduced-motion: reduce){
  .faq__answer{ transition: none; }
}

/* --- Responsive --- */
@media (max-width: 640px){
  .faq{ grid-template-columns: 4vw 1fr 4vw; }
  .faq > .container{ gap: 16px; }
  .faq__question{ font-size: 16px; }
  .faq__answer p{ font-size: 15px; }
}
/* =========================
   HEADER セクション（均等配置＋CTAはメニュー内）
   ========================= */
.site-header {
  position: relative;
  z-index: 100;
  background: #fff;
}

/* ガター 2vw | ロゴ 0.3fr | メニュー 1fr | ガター 2vw */
.header {
  display: grid;
  grid-template-columns: 2vw 0.6fr 1fr 2vw;
  align-items: center;
}

/* 子をグリッド直下に流す */
.header__inner {
  grid-column: 1 / -1;
  display: contents;
}

/* ロゴ列（2列目） */
.header__brand {
  grid-column: 2;
  display: flex;
  align-items: center;
}
.header__logo {
  display: block;
  height: 80px;
  width: 80px;
}

/* メニュー列（3列目） */
.header__nav {
  grid-column: 3;
}

/* メニュー全体 */
.header__menu {
  display: flex;
  justify-content: flex-end;   /* ← 右寄せに変更（端の余白を制御） */
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0 2vw 0 0;          /* ← 右端だけ 2vw を固定 */
  gap: 40px;                   /* ← 項目間の“均等”は gap で担保 */
  width: 100%;
}

/* 各リンクの見た目（visitedも黒で統一） */
.header__menu a,
.header__menu a:visited {
  text-decoration: none;
  color: #000;
  font-weight: 700;
  font-size: 16px;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.header__menu a:hover {
  color: #D5B21B;
}

/* 問い合わせ（menu-cta）だけボタン化 */
.header__menu > li.menu-cta > a {
  background: #000;
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 6px;
}
.header__menu > li.menu-cta > a:hover {
  background: #222;
  transform: translateY(-1px);
}

/* SPトグル（PCでは非表示のまま） */
.header__toggle {
  display: none;
  background: none;
  border: none;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  /* SPはガターだけシンプルに */
  .header {
    grid-template-columns: 4vw 1fr 4vw;
    position: relative;           /* トグルの基準にする */
    min-height: 64px;             /* ロゴとトグルの高さ確保 */
    align-items: center;          /* グリッド内で中央揃え */
  }

  /* ロゴ */
  .header__brand {
    grid-column: 2;
    padding-block: 12px;
    display: flex;
    align-items: center;          /* ロゴを縦中央 */
  }

  /* メニュー（閉じている時） */
  .header__nav {
    grid-column: 2;
    width: 100%;
  }
  .header__menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 8px;
    display: none;                /* 初期は閉じる（JSで .active を付与して開く） */
    padding-right: 0;             /* SPでは右2vw固定を解除 */
  }

  /* ====== ハンバーガー（中央揃え・三本線） ====== */
  .header__toggle {
    display: block;
    position: absolute;
    right: 4vw;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;                  /* タップ領域 */
    height: 40px;
    cursor: pointer;
    z-index: 1001;                /* つねに最前面にして押せるように */
  }
  .header__toggle::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 24px;
    height: 3px;
    background: #000;
    transform: translate(-50%, -50%);
    box-shadow: 0 -8px 0 0 #000, 0 8px 0 0 #000; /* 上下の線（＝三本線） */
    border-radius: 2px;
    transition: transform .3s ease;
  }
  .header__toggle::after { content: none; }

  /* ====== 開いたとき：全画面オーバーレイで中央縦並び ====== */
  .header__nav.active .header__menu {
    display: flex;
    position: fixed;              /* ヒーローに被せる（押し出さない） */
    inset: 0;                     /* 画面全体 */
    z-index: 1000;
    background: #fff;
    padding: 72px 8vw 24px;       /* 上はヘッダー高さぶんだけ余白 */
    flex-direction: column;
    align-items: center;          /* 中央寄せ */
    justify-content: center;      /* 画面中央に配置 */
    gap: 24px;
    text-align: center;
  }

  /* ====== 開いたとき：トグルを右上固定＆「×」表示 ====== */
  .header__nav.active ~ .header__toggle {
    position: fixed;              /* 右上に固定 */
    right: 4vw;
    top: 16px;
    transform: none;
  }
  .header__nav.active ~ .header__toggle::before,
  .header__nav.active ~ .header__toggle::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 24px;
    height: 3px;
    background: #000;
    border-radius: 2px;
    transform: translate(-50%, -50%) rotate(45deg);
    box-shadow: none;             /* 三本線の影を無効化 */
  }
  .header__nav.active ~ .header__toggle::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }
}


.site-header { position: sticky; top: 0; }

html { scroll-behavior: smooth; }

/* 固定ヘッダー対策（必要に応じて数値調整） */
:target,
section { scroll-margin-top: 96px; }

/* =========================
   FOOTER（全面黄背景に修正）
   ========================= */
.site-footer {
  background: #D5B21B; /* ← 全体を黄に変更 */
  color: #fff;
  margin-top: 120px;
}

/* ガター構造は残すが、背景は継承されるので白は見えない */
.footer {
  display: grid;
  grid-template-columns: 2vw 1fr 2vw;
}
.footer__inner {
  grid-column: 2;
}

/* 黄パネル本体（背景指定は削除してOK） */
.footer__panel{
  color: #fff;
  padding: clamp(32px, 6vw, 72px) clamp(20px, 4vw, 64px);
  position: relative;
}

/* タイトル */
.footer__title{
  margin: 0 0 clamp(24px, 5vw, 56px);
  font-weight: 800;
  font-size: clamp(20px, 32px);
  line-height: 1.2;
}

/* 定義リスト（代表名／所在地） */
.footer__def{
  margin: 0 0 clamp(32px, 6vw, 72px);
}
.footer__row{
  display: grid;
  grid-template-columns: clamp(70px, 14vw, 120px) 1fr;
  gap: clamp(8px, 1.6vw, 16px) clamp(12px, 2.4vw, 24px);
  align-items: start;
  padding: clamp(4px, 1vw, 10px) 0;
}
.footer__row dt{
  font-weight: 700;
  white-space: nowrap;
}
.footer__row dd{
  margin: 0;
  line-height: 1.9;
}

/* コピーライト */
.footer__copy{
  margin: clamp(24px, 5vw, 48px) 0 0;
  text-align: center;
  font-weight: 700;
}

/* --- Responsive --- */
@media (max-width: 640px){
  .footer__panel{
    padding: clamp(28px, 7vw, 40px) clamp(16px, 5vw, 28px);
  }
  .footer__row{
    grid-template-columns: 96px 1fr;
  }
  .footer__title {
    font-size: 20px;
  }
}

