/* 総合型ラボ 下層ページ共通スタイル
   方針: site.css（トップページ）のトークン・配色・余白をそのまま継承し、
        下層ページに必要な最小限の共通コンポーネントだけを追加する。
        新しい色・フォントは足さない。影は弱く、罫線と余白で情報を整理する。 */

/* ============ パンくず ============ */
.breadcrumb{padding:0 0 8px;}
.breadcrumb ol{list-style:none;display:flex;flex-wrap:wrap;align-items:center;gap:6.4px;margin:0;padding:0;}
.breadcrumb li{display:flex;align-items:center;gap:6.4px;font-size:13px;color:var(--faint);}
.breadcrumb li+li::before{content:"›";color:var(--line);}
.breadcrumb a{color:var(--sub);transition:color .15s;}
.breadcrumb a:hover{color:var(--blue);}
.breadcrumb [aria-current="page"]{color:var(--faint);}

/* ============ 下層ページヘッダー（静かな導入帯。FV化しない） ============ */
.page-header{padding:22.4px 0 44.8px;border-bottom:1px solid var(--line);background:var(--paper);}
.page-header .ph-inner{display:block;}
.page-header.has-media .ph-inner{display:grid;grid-template-columns:1fr 288px;gap:41.6px;align-items:center;}
.page-header .en{display:inline-block;font-size:12px;letter-spacing:.2em;color:var(--gold);
  text-transform:uppercase;margin:0 0 9.6px;font-weight:600;}
.page-header h1{font-family:var(--sans);font-weight:700;font-size:30px;line-height:1.5;color:var(--navy);
  margin:0;padding-left:12.8px;position:relative;letter-spacing:.01em;}
.page-header h1::before{content:"";position:absolute;left:0;top:.2em;bottom:.2em;width:3.2px;
  background:var(--gold);border-radius:0.8px;}
.page-header .lead{max-width:var(--readw);font-size:18px;line-height:1.95;color:var(--sub);margin:17.6px 0 0;}
.page-header .ph-media{margin:0;}
.page-header .ph-media img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:4px;}

/* ============ 下層セクション 見出し ============ */
/* 見出しは site.css の .sec-title をそのまま流用。下層では本文幅にそろえる */
.lower-head{max-width:var(--readw);margin:0 0 24px;}
.lower-head.wide{max-width:none;}

/* ============ 長文本文 ============ */
.prose{max-width:var(--readw);}
.prose .body-p{margin:0 0 17.6px;}
.prose .body-p:last-child{margin-bottom:0;}
.sec-sub{font-family:var(--sans);font-weight:700;font-size:20px;color:var(--navy);margin:25.6px 0 9.6px;}

/* ============ 2カラム本文＋写真（写真は本文理解の補助） ============ */
.media-2col{display:grid;grid-template-columns:1fr 304px;gap:41.6px;align-items:start;}
.media-2col.flip{grid-template-columns:304px 1fr;}
.media-2col.flip .m-text{order:2;}
.media-2col .m-text .body-p{margin:0 0 17.6px;}
.media-2col .m-text .body-p:last-child{margin-bottom:0;}
.media-2col figure{margin:0;}
.media-2col figure img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:4px;}
.media-2col figcaption{font-size:14px;color:var(--faint);margin-top:8px;line-height:1.7;}

/* ============ 関連ページリンク ============ */
.related .lower-head{margin-bottom:16px;}
.related h2{font-family:var(--sans);font-weight:700;font-size:20px;color:var(--navy);margin:0;
  padding-bottom:12.8px;border-bottom:1px solid var(--line);}
.related-list{display:grid;grid-template-columns:repeat(3,1fr);gap:12.8px;margin-top:19.2px;}
.related-card{display:flex;align-items:center;justify-content:space-between;gap:11.2px;
  padding:17.6px 19.2px;background:#fff;border:1px solid var(--line);border-radius:4.8px;
  transition:border-color .15s,background .15s;}
.related-card:hover{border-color:var(--navy);background:var(--grey);}
.related-card .rc-en{display:block;font-size:11px;letter-spacing:.16em;color:var(--gold);
  text-transform:uppercase;font-weight:600;margin-bottom:4px;}
.related-card .rc-label{font-size:18px;font-weight:600;color:var(--navy);line-height:1.4;}
.related-card .rc-arrow{flex:0 0 auto;color:var(--gold);font-size:18px;transition:transform .15s;}
.related-card:hover .rc-arrow{transform:translateX(3px);}

/* ============ 下層ページ用の控えめなCTA ============ */
.page-cta{background:var(--grey);padding:70.4px 0 76.8px;}
.page-cta .cta-inner{max-width:736px;margin:0 auto;background:var(--navy);border-radius:9.6px;
  padding:38.4px 38.4px 32px;color:#fff;text-align:center;}
.page-cta .en{display:inline-block;font-size:12px;letter-spacing:.2em;color:var(--gold);
  text-transform:uppercase;font-weight:600;margin-bottom:11.2px;}
.page-cta h2{font-family:var(--sans);font-weight:700;font-size:26px;color:#fff;margin:0 0 12.8px;letter-spacing:.02em;}
.page-cta p{font-size:17px;line-height:1.9;color:rgba(255,255,255,.82);margin:0 auto 24px;max-width:480px;}
.page-cta .cta-buttons{display:flex;gap:12.8px;justify-content:center;flex-wrap:wrap;}
.page-cta .btn-gold{background:#fff;color:var(--navy);border:1.5px solid var(--gold);}
.page-cta .btn-gold:hover{background:var(--grey-2);}
.page-cta .btn-line{background:var(--green);color:#fff;}
.page-cta .btn-line:hover{filter:brightness(.96);}
.page-cta .cta-note{font-size:13.5px;color:rgba(255,255,255,.62);margin:20.8px 0 0;line-height:1.8;}

/* ============ FAQ（details/summary：WordPress移行・差し替え前提） ============ */
.faq{max-width:var(--readw);}
.faq details{border-bottom:1px solid var(--line);}
.faq details:first-child{border-top:1px solid var(--line);}
.faq summary{list-style:none;cursor:pointer;display:flex;gap:11.2px;align-items:flex-start;
  padding:19.2px 3.2px;font-size:18px;font-weight:600;color:var(--navy);line-height:1.6;}
.faq summary::-webkit-details-marker{display:none;}
.faq summary .q{flex:0 0 auto;color:var(--gold);font-weight:700;}
.faq summary .ic{margin-left:auto;flex:0 0 auto;color:var(--faint);font-size:22px;line-height:1;transition:transform .15s;}
.faq details[open] summary .ic{transform:rotate(45deg);}
.faq .faq-a{padding:0 3.2px 20.8px 25.6px;font-size:17px;color:var(--ink);line-height:1.95;}
.faq .faq-a p{margin:0 0 11.2px;}
.faq .faq-a p:last-child{margin-bottom:0;}

/* ============ 記事用 補足ボックス／目次（将来の共通部品） ============ */
.note-box{background:var(--grey);border-left:3px solid var(--blue);border-radius:0 4px 4px 0;
  padding:16px 19.2px;font-size:17px;color:var(--ink);line-height:1.9;margin:20.8px 0;}
/* 目次（シンプル：枠なし・上下点線・番号｜見出し） */
.toc{max-width:var(--readw);margin:0 auto 32px;padding:12.8px 3.2px 3.2px;background:none;border:none;border-radius:0;
  border-top:1px dashed var(--line);border-bottom:1px dashed var(--line);}
.toc-title{display:flex;align-items:center;gap:7.2px;font-size:15px;color:var(--sub);font-weight:600;
  letter-spacing:.04em;margin:0 0 3.2px;padding:0 6.4px;}
.toc-title .toc-ic{flex:0 0 auto;width:12.8px;height:9.6px;display:inline-block;
  background:linear-gradient(var(--faint) 0 0) 0 1px/16px 2px no-repeat,
            linear-gradient(var(--faint) 0 0) 0 5px/16px 2px no-repeat,
            linear-gradient(var(--faint) 0 0) 0 9px/16px 2px no-repeat;}
.toc ol{margin:0;padding:0;}
.toc a{color:var(--navy);}
.toc a:hover{color:var(--blue);}

/* ============ 本文中の箇条書き ============ */
.bullets{list-style:none;margin:0 0 17.6px;padding:0;}
.bullets li{position:relative;padding:0 0 0 20.8px;margin:0 0 9.6px;}
.bullets li::before{content:"";position:absolute;left:3.2px;top:.82em;width:5.6px;height:5.6px;
  border:1.5px solid var(--gold);border-radius:50%;}
.bullets li:last-child{margin-bottom:0;}

/* ============ 仮データ表記タグ ============ */
.tmp-tag{display:inline-block;font-size:12px;color:var(--blue);background:rgba(22,119,200,.08);
  border-radius:2.4px;padding:1.6px 7.2px;margin-left:4.8px;vertical-align:middle;font-weight:600;letter-spacing:.02em;}
.table-note{font-size:14px;color:var(--faint);margin:12.8px 0 0;line-height:1.75;}

/* ============ 講師プロフィール一覧 ============ */
.teacher-list{display:grid;grid-template-columns:1fr 1fr;gap:20.8px;}
.teacher-card{display:flex;gap:16px;padding:20.8px;background:#fff;border:1px solid var(--line);border-radius:4.8px;}
.teacher-card .t-avatar{flex:0 0 auto;width:59.2px;height:59.2px;border-radius:50%;background:var(--grey-2);
  border:1px solid var(--line);display:flex;align-items:center;justify-content:center;
  font-family:var(--serif);font-size:24px;color:var(--navy);overflow:hidden;}
.teacher-card .t-avatar img{width:100%;height:100%;object-fit:cover;}
.teacher-card .t-name{font-family:var(--sans);font-weight:700;font-size:19px;color:var(--navy);margin:0 0 3.2px;}
.teacher-card .t-role{font-size:14px;color:var(--gold);letter-spacing:.04em;margin:0 0 9.6px;}
.teacher-card .t-text{font-size:16px;color:var(--sub);line-height:1.85;margin:0;}
.teacher-card .t-tmp{font-size:12px;color:var(--faint);margin-top:8px;}

/* ============ 合格者の声（読み物） ============ */
.voice{padding:33.6px 0;border-top:1px solid var(--line);max-width:var(--readw);}
.voice:first-of-type{border-top:none;padding-top:6.4px;}
.voice .v-head{display:flex;align-items:center;gap:11.2px;margin-bottom:4.8px;}
.voice .v-avatar{width:38.4px;height:38.4px;border-radius:50%;background:var(--grey-2);border:1px solid var(--line);
  display:flex;align-items:center;justify-content:center;font-family:var(--serif);color:var(--navy);font-size:18px;flex:0 0 auto;}
.voice .v-meta b{display:block;font-size:17px;color:var(--navy);font-weight:600;}
.voice .v-meta span{font-size:14px;color:var(--faint);}
.voice .v-block{margin:16px 0 0;}
.voice .v-block p{margin:0;font-size:18px;color:var(--ink);line-height:1.95;}
.voice .v-block .v-label{font-size:14px;font-weight:600;color:var(--gold);letter-spacing:.04em;margin:0 0 4.8px;line-height:1.6;}
.voice .v-tmp{font-size:12px;color:var(--faint);margin-top:14.4px;}

/* ============ 年度別 実績（表ではなくラベル付き行・モバイルでも崩れない） ============ */
.year-list{border-top:1px solid var(--line);}
.year-row{display:grid;grid-template-columns:104px repeat(3,1fr);gap:14.4px;align-items:center;
  padding:17.6px 3.2px;border-bottom:1px solid var(--line);}
.year-row .yr-year{font-family:var(--sans);font-weight:700;font-size:18px;color:var(--navy);}
.year-row .yr-stat .l{display:block;font-size:13px;color:var(--faint);margin-bottom:2.4px;}
.year-row .yr-stat .v{font-size:18px;color:var(--ink);}
.uni-list{columns:3;column-gap:28.8px;list-style:none;padding:0;margin:0;}
.uni-list li{padding:7.2px 0;border-bottom:1px solid var(--line-2);font-size:16px;color:var(--ink);break-inside:avoid;}

/* ============ お問い合わせフォーム（Contact Form 7 差し替え前提） ============ */
.contact-form{max-width:var(--readw);background:#fff;border:1px solid var(--line);border-radius:6.4px;padding:28.8px 28.8px 25.6px;}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 19.2px;}
.form-field{margin-bottom:19.2px;}
.form-field label{display:block;font-size:15px;font-weight:600;color:var(--navy);margin-bottom:6.4px;}
.form-field .req{font-size:12px;color:#c0392b;margin-left:6.4px;font-weight:600;}
.form-field .opt{font-size:12px;color:var(--faint);margin-left:6.4px;font-weight:500;}
.form-field input,.form-field select,.form-field textarea{width:100%;font-family:var(--sans);font-size:16px;
  color:var(--ink);background:var(--grey);border:1px solid var(--line);border-radius:4px;padding:10.4px 12px;line-height:1.6;}
.form-field input:focus,.form-field select:focus,.form-field textarea:focus{outline:none;border-color:var(--blue);background:#fff;}
.form-field textarea{min-height:120px;resize:vertical;}
.form-submit{margin-top:24px;text-align:center;}
.form-note{font-size:14px;color:var(--faint);margin:14.4px 0 0;line-height:1.85;}

/* ============ LINE相談 導線 ============ */
.line-row{display:flex;align-items:center;gap:17.6px;background:#fff;border:1px solid var(--line);
  border-left:3px solid var(--green);border-radius:4.8px;padding:19.2px 22.4px;}
.line-row .lr-text{flex:1;}
.line-row .lr-text h3{font-size:18px;color:var(--navy);margin:0 0 6.4px;font-weight:700;}
.line-row .lr-text p{font-size:16px;color:var(--sub);margin:0;line-height:1.85;}

/* ============ レスポンシブ ============ */
@media (max-width:720px){
  .page-header{padding:17.6px 0 35.2px;}
  .page-header.has-media .ph-inner{grid-template-columns:1fr;gap:22.4px;}
  .page-header.has-media .ph-media{order:2;max-width:384px;}
  .page-header h1{font-size:25px;}
  .media-2col,.media-2col.flip{grid-template-columns:1fr;gap:19.2px;}
  .media-2col.flip .m-text{order:0;}
  .media-2col figure{max-width:384px;}
  .related-list{grid-template-columns:1fr;}
  .page-cta{padding:51.2px 0 57.6px;}
  .page-cta .cta-inner{padding:32px 20.8px 27.2px;}
  .page-cta h2{font-size:22px;}
  .teacher-list{grid-template-columns:1fr;}
  .year-row{grid-template-columns:1fr 1fr;gap:11.2px 14.4px;}
  .year-row .yr-year{grid-column:1 / -1;}
  .uni-list{columns:2;}
  .form-grid{grid-template-columns:1fr;}
  .line-row{flex-direction:column;align-items:flex-start;gap:11.2px;}
}
/* ============ 一覧ページ：カテゴリフィルター（site.css の .tabs/.tab を <a> で流用） ============ */
.filter{display:flex;justify-content:center;flex-wrap:wrap;gap:9.6px;margin-bottom:6.4px;}
.filter .tab{text-decoration:none;}
.filter-note{text-align:center;font-size:14px;color:var(--faint);margin:12.8px 0 0;}

/* ============ ページネーション ============ */
.pagination{display:flex;justify-content:center;align-items:center;gap:6.4px;margin-top:43.2px;}
.pagination a,.pagination span{min-width:35.2px;height:35.2px;display:inline-flex;align-items:center;justify-content:center;
  padding:0 11.2px;border:1px solid var(--line);border-radius:4px;font-size:16px;color:var(--navy);background:#fff;
  font-variant-numeric:tabular-nums;transition:border-color .15s,background .15s;}
.pagination a:hover{border-color:var(--navy);background:var(--grey);}
.pagination .current{background:var(--navy);color:#fff;border-color:var(--navy);}
.pagination .disabled{color:var(--faint);background:var(--grey);cursor:default;}

/* ============ 記事詳細テンプレート ============ */
.article-single{max-width:var(--readw);margin:0 auto;}
.article-narrow{max-width:var(--readw);margin-left:auto;margin-right:auto;}
.article-head{margin-bottom:22.4px;}
.article-head .cat{font-size:15px;color:var(--blue);letter-spacing:.06em;margin-bottom:9.6px;}
.article-head h1{font-family:var(--sans);font-weight:700;font-size:30px;line-height:1.55;color:var(--navy);margin:0 0 12.8px;letter-spacing:.01em;}
.article-meta{display:flex;gap:12.8px;align-items:center;font-size:14px;color:var(--faint);}
.article-meta .tmp-tag{margin-left:0;}
.eyecatch{margin:0 0 28.8px;}
.eyecatch img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:4.8px;}
.article-body{font-size:18px;color:var(--ink);}
.article-body h2{font-family:var(--sans);font-weight:700;font-size:24px;color:var(--navy);margin:38.4px 0 14.4px;
  padding-bottom:9.6px;border-bottom:1px solid var(--line);line-height:1.5;}
.article-body h3{font-family:var(--sans);font-weight:700;font-size:20px;color:var(--navy);margin:28.8px 0 11.2px;line-height:1.5;}
.article-body p{margin:0 0 17.6px;line-height:1.95;}
.article-body ul,.article-body ol{margin:0 0 17.6px;padding-left:1.4em;}
.article-body li{margin-bottom:8px;line-height:1.9;}
.article-body blockquote{margin:19.2px 0;padding:4.8px 0 4.8px 17.6px;border-left:3px solid var(--gold);color:var(--sub);font-size:18px;}
.article-body table{width:100%;border-collapse:collapse;border:1px solid var(--line);margin:19.2px 0;font-size:16px;}
.article-body th,.article-body td{text-align:left;padding:11.2px 12.8px;border-bottom:1px solid var(--line);}
.article-body thead th{background:var(--grey);color:var(--sub);font-weight:600;}
.author-box{display:flex;gap:14.4px;align-items:center;max-width:608px;margin:41.6px auto 0;padding:19.2px 20.8px;
  background:var(--grey);border:1px solid var(--line);border-radius:6.4px;}
.author-box .a-avatar{flex:0 0 auto;width:48px;height:48px;border-radius:50%;background:var(--grey-2);border:1px solid var(--line);
  display:flex;align-items:center;justify-content:center;font-family:var(--serif);color:var(--navy);font-size:20px;overflow:hidden;}
.author-box .a-avatar img{width:100%;height:100%;object-fit:cover;}
.author-box .a-name{font-weight:700;color:var(--navy);font-size:17px;margin:0 0 4px;}
.author-box .a-desc{font-size:15px;color:var(--sub);margin:0;line-height:1.85;}
.article-related{max-width:none;margin-top:6.4px;}

/* ============ 法令表記など 定義テーブル（course-table の行見出し） ============ */
.course-table tbody th[scope="row"]{background:var(--grey);color:var(--sub);font-weight:600;
  width:28%;white-space:nowrap;vertical-align:top;}

/* ============ キャンペーン・説明会 一覧 ============ */
.event-list{border-top:1px solid var(--line);}
.event-item{display:grid;grid-template-columns:94.4px 1fr auto;gap:14.4px 20.8px;align-items:center;
  padding:22.4px 3.2px;border-bottom:1px solid var(--line);}
.event-item .e-date{font-size:15px;color:var(--faint);font-variant-numeric:tabular-nums;}
.event-item .e-tags{display:flex;gap:6.4px;flex-wrap:wrap;margin-bottom:7.2px;}
.event-item .e-tag{font-size:13px;color:var(--navy);border:1px solid var(--line);border-radius:2.4px;padding:2.4px 8.8px;}
.event-item .e-tag.target{color:var(--blue);border-color:rgba(22,119,200,.32);}
.event-item .e-title{font-size:18px;font-weight:600;color:var(--navy);margin:0 0 4.8px;line-height:1.55;}
.event-item .e-desc{font-size:15px;color:var(--sub);margin:0;line-height:1.8;}
.event-item .e-action .btn{white-space:nowrap;}

@media (max-width:720px){
  .event-item{grid-template-columns:1fr;gap:9.6px;}
  .event-item .e-action{justify-self:start;}
  .article-head h1{font-size:25px;}
  .article-body h2{font-size:21px;}
}
@media (max-width:448px){
  .uni-list{columns:1;}
  .contact-form{padding:16px 11.2px;}
  .form-field{margin-bottom:12.8px;}
}

/* ============ 流体タイポグラフィ（下層ページ：幅に連動して滑らかに調整） ============ */
.page-header h1{font-size:24px;}
.page-header .lead{font-size:14.4px;}
.sec-sub{font-size:16.8px;}
.related-card .rc-label{font-size:14.4px;}
.page-cta h2{font-size:20.8px;}
.page-cta p{font-size:13.6px;}
.faq summary{font-size:15.2px;}
.faq .faq-a{font-size:14.4px;}
.voice .v-block p{font-size:15.2px;}
.teacher-card .t-text{font-size:13.6px;}
.article-head h1{font-size:24px;}
.article-body{font-size:17.6px;}
.article-body h2{font-size:19.2px;}
.article-body h3{font-size:16px;}
.event-item .e-title{font-size:14.4px;}
.note-box{font-size:14.4px;}


/* ============ 無料相談ページ（LP風） ============ */
.consult-hero{background:var(--navy);color:#fff;padding:48px 0 46.4px;text-align:center;}
.consult-hero .ch-badge{display:inline-block;font-size:13px;letter-spacing:.08em;color:var(--navy);background:var(--gold);border-radius:799.2px;padding:5.6px 16px;font-weight:700;margin-bottom:17.6px;}
.consult-hero h1{font-family:var(--sans);font-weight:700;color:#fff;font-size:30.4px;line-height:1.5;margin:0 0 17.6px;letter-spacing:.01em;}
.consult-hero h1 .accent{color:var(--gold);}
.consult-hero .ch-lead{max-width:544px;margin:0 auto 25.6px;font-size:12.8px;line-height:2;color:rgba(255,255,255,.85);}
.consult-hero .ch-cta{background:var(--gold);color:var(--navy);border:none;font-weight:700;font-size:15.2px;padding:13.6px 40px;}
.consult-hero .ch-cta:hover{background:#b8954e;}
.consult-hero .ch-note{font-size:13px;color:rgba(255,255,255,.62);margin:14.4px 0 0;}
/* 3つのポイント */
.consult-points{display:grid;grid-template-columns:repeat(3,1fr);gap:19.2px;}
.consult-points .cp{background:#fff;border:1px solid var(--line);border-top:3px solid var(--gold);border-radius:6.4px;padding:22.4px 20.8px;}
.consult-points .cp .cp-n{display:inline-block;font-family:var(--serif);font-size:18px;color:var(--gold);font-weight:600;margin-bottom:6.4px;letter-spacing:.04em;}
.consult-points .cp h3{font-size:14.4px;color:var(--navy);margin:0 0 8px;font-weight:700;line-height:1.5;}
.consult-points .cp p{font-size:12px;color:var(--sub);line-height:1.85;margin:0;}
.consult-form-lead{max-width:544px;margin:0 auto 22.4px;text-align:center;font-size:12.8px;color:var(--sub);line-height:1.95;}
/* CF7 フォームの補正 */
.contact-form .wpcf7-form-control-wrap{display:block;}
.contact-form .form-field .note{display:block;font-size:13px;color:var(--faint);margin:0 0 6.4px;line-height:1.7;}
.contact-form .wpcf7-form-control{width:100%;}
.form-submit input.wpcf7-submit{display:inline-flex;align-items:center;justify-content:center;background:var(--navy);color:#fff;border:none;border-radius:4.8px;font-family:var(--sans);font-size:14.4px;font-weight:700;padding:12.8px 44.8px;cursor:pointer;transition:background .15s;}
.form-submit input.wpcf7-submit:hover{background:var(--navy-2);}
.wpcf7-spinner{margin:0 0 0 9.6px;}
.contact-form .wpcf7-not-valid-tip{font-size:13px;color:#c0392b;margin-top:4.8px;font-weight:600;}
.contact-form .wpcf7-response-output{margin:17.6px 0 0 !important;border-radius:4.8px;font-size:14px;line-height:1.75;padding:11.2px 12.8px !important;}
@media (max-width:720px){
  .consult-points{grid-template-columns:1fr;gap:11.2px;}
  .consult-hero{padding:36.8px 0 35.2px;}
}

/* 姓名を横並びにする2カラム（フォーム共通） */
.form-row2{display:grid;grid-template-columns:1fr 1fr;gap:0 16px;}
@media (max-width:336px){.form-row2{grid-template-columns:1fr;}}

/* フォーム共通グリッド（contactページ：姓|名 学年|電話 メール全幅 日程全幅） */
.cf-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 19.2px;}
.cf-grid .ff-email,.cf-grid .ff-sched{grid-column:1 / -1;}
@media (max-width:448px){.cf-grid{grid-template-columns:1fr 1fr;gap:0 8px;}}

/* 無料相談LP：フォームを中央寄せ・LINE誘導をグリーンで目立たせる */
.contact-form.consult-form{max-width:656px;margin-left:auto;margin-right:auto;}
.line-row.line-row-accent{background:rgba(6,199,85,.07);border-left:4px solid var(--green);}
.line-row-accent .lr-text h3{color:var(--green);}
.btn-line-lg{font-size:16px;padding:12.8px 28.8px;font-weight:700;}
.btn-line-lg .ln-ic{display:inline-block;background:#fff;color:var(--green);font-weight:800;border-radius:3.2px;padding:1.6px 6.4px;margin-right:7.2px;font-size:12.5px;letter-spacing:.03em;}
@media (max-width:720px){
  /* 記事一覧フィルター：スマホで一列横スクロール・コンパクト */
  .filter{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;
    scrollbar-width:none;gap:6.4px;padding-bottom:1.6px;}
  .filter::-webkit-scrollbar{display:none;}
}
@media (max-width:448px){
  /* タイトル文字サイズ調整（スマホ：サブタイトルと同程度に縮小、本文は不変） */
  .page-header h1,.article-head h1{font-size:19px;}
  .page-cta h2{font-size:18px;}
  .article-body h2{font-size:17px;}
  .consult-hero h1{font-size:20px;}
}

/* ============================================================
   記事テンプレート強化（SEO長文向け）― .article-single 配下のみ・LPには無影響
   ============================================================ */
.article-single .article-head{margin-bottom:25.6px;padding-bottom:0;}
.article-single .article-head .cat{display:inline-block;font-size:14px;color:var(--blue);font-weight:600;letter-spacing:.04em;margin-bottom:6.4px;transition:color .15s;}
a.cat:hover{color:var(--navy);text-decoration:underline;}
.article-single .article-head h1{font-family:var(--sans);font-weight:700;color:var(--navy);line-height:1.45;margin:0 0 14.4px;letter-spacing:.01em;font-size:32px;}
.article-single .article-meta{display:flex;flex-wrap:wrap;gap:6.4px 14.4px;align-items:center;font-size:14px;color:var(--faint);}
.article-single .eyecatch{margin:0 0 32px;}

/* 本文：読みやすい行間・見出しのリズム・要素間余白 */
.article-single .article-body{line-height:2.05;}
.article-single .article-body > h2{margin:41.6px 0 19.2px;padding:12px 17.6px;position:relative;
  background:var(--grey);border-left:5px solid var(--navy);border-bottom:none;line-height:1.55;
  scroll-margin-top:86.4px;}
.article-single .article-body > h2::before{content:none;}
.article-single .article-body > h2::after{content:none;}
.article-single .article-body h3{margin:32px 0 11.2px;padding-left:11.2px;border-left:3px solid var(--gold);line-height:1.5;scroll-margin-top:86.4px;}
@media (max-width:819.2px){
  .article-single .article-body > h2,
  .article-single .article-body h3{scroll-margin-top:64px;}
}
.article-single .article-body p{margin:0 0 19.2px;}
.article-single .article-body ul,.article-single .article-body ol{margin:0 0 20.8px;padding-left:1.5em;}
.article-single .article-body li{margin-bottom:8px;line-height:1.95;}
.article-single .article-body li::marker{color:var(--gold);}
.article-single .article-body img{border-radius:4.8px;height:auto;}
.article-single .article-body figure{margin:22.4px 0;}
.article-single .article-body a{color:var(--blue);text-decoration:underline;text-underline-offset:2px;}
.article-single .article-body a:hover{color:var(--navy);}
.article-single .article-body strong{color:var(--navy);font-weight:700;}
.article-single .article-body blockquote{margin:22.4px 0;padding:11.2px 0 11.2px 19.2px;border-left:3px solid var(--gold);color:var(--sub);background:linear-gradient(90deg,rgba(199,164,93,.06),transparent);}

/* 自動目次（番号｜区切り・項目間は点線） */
.article-single .toc{max-width:none;margin:0 0 35.2px;}
.toc ol{counter-reset:toc;list-style:none;padding-left:0;}
.toc li{counter-increment:toc;display:flex;align-items:baseline;gap:11.2px;
  padding:8.8px 6.4px;line-height:1.65;border-bottom:1px dashed var(--line);}
.toc li:last-child{border-bottom:none;}
.toc li::before{content:counter(toc);flex:0 0 auto;min-width:10.4px;text-align:center;
  color:var(--faint);font-weight:600;padding-right:11.2px;border-right:1px solid var(--line);}
.toc li.toc-sub{padding-left:24px;font-size:.95em;counter-increment:none;}
.toc li.toc-sub::before{content:"";min-width:0;padding-right:0;border-right:none;}
.toc a{color:var(--navy);transition:color .15s;}
.toc a:hover{color:var(--blue);text-decoration:underline;}

/* 著者ボックスのアバター画像 */
.author-box .a-avatar img{width:100%;height:100%;object-fit:contain;padding:6.4px;background:#fff;}

@media (max-width:448px){
  .article-single .article-body{line-height:1.95;font-size:14.5px;}
  .article-single .article-body > h2{margin:32px 0 12.8px;}
  .article-single .article-body h3{margin:24px 0 9.6px;}
  .article-single .toc{padding:12.8px 4.8px 3.2px;}
  .toc-title{font-size:13px;}
  .toc li{font-size:13.5px;}
}

/* ============================================================
   トップ「更新情報」：アイキャッチ無し・コンパクト一覧
   ============================================================ */
.upd-list{max-width:704px;margin:0 auto;border-top:1px solid var(--line);}
.upd-row{display:grid;grid-template-columns:auto auto 1fr auto;gap:0 14.4px;align-items:center;
  padding:14.4px 6.4px;border-bottom:1px solid var(--line);transition:background .15s;}
.upd-row:hover{background:var(--grey);}
.upd-date{font-size:14px;color:var(--faint);font-variant-numeric:tabular-nums;white-space:nowrap;}
.upd-cat{font-size:12.5px;color:var(--navy);border:1px solid var(--line);border-radius:2.4px;
  padding:2.4px 9.6px;white-space:nowrap;min-width:64px;text-align:center;}
.upd-cat-empty{border:none;min-width:0;padding:0;}
.upd-title{font-size:16px;color:var(--ink);font-weight:500;line-height:1.6;
  overflow:hidden;text-overflow:ellipsis;}
.upd-row:hover .upd-title{color:var(--blue);}
.upd-arr{color:var(--faint);font-size:15px;}
.upd-row:hover .upd-arr{color:var(--gold);}
@media (max-width:448px){
  .upd-row{grid-template-columns:auto 1fr;gap:5.6px 9.6px;padding:11.2px 3.2px;}
  .upd-date{grid-row:1;}
  .upd-cat{grid-row:1;justify-self:start;font-size:11.5px;min-width:0;padding:1.6px 7.2px;}
  .upd-title{grid-column:1 / -1;font-size:14.5px;white-space:normal;}
  .upd-arr{display:none;}
}

/* 固定ページ下部CTA：淡いブランド背景＋予約ボタンをオレンジに */
.page-cta{background:#fff;}
.page-cta .cta-inner{background:#eef4ff;color:var(--navy);border:1px solid rgba(1,34,86,.10);box-shadow:none;}
.page-cta .en{color:#c77916;}
.page-cta h2{color:var(--navy);}
.page-cta p,.page-cta .cta-note{color:rgba(1,34,86,.72);}
.page-cta .btn-gold{background:#f28c28;color:#fff;border-color:#f28c28;}
.page-cta .btn-gold:hover{background:#e47d17;border-color:#e47d17;}
/* 固定ページ一括改善：白背景・近い余白・控えめな強調・下部CTA */
body:not(.home) main,
body:not(.home) .page-header,
body:not(.home) .sec,
body:not(.home) .sec-grey,
body:not(.home) .related,
body:not(.home) .page-cta{
  background:#fff;
}
body:not(.home) .page-header{
  padding-top:18px;
  padding-bottom:30px;
}
body:not(.home) main > .sec{
  padding-top:30px;
  padding-bottom:30px;
}
body:not(.home) main > .sec + .sec{
  padding-top:26px;
}
body:not(.home) .lower-head{
  margin-bottom:16px;
}
body:not(.home) .sec-title{
  padding-bottom:12px;
}
body:not(.home) .prose .body-p,
body:not(.home) .media-2col .m-text .body-p,
body:not(.home) .voice .v-block p{
  margin-bottom:14px;
}
body:not(.home) .related-list{
  margin-top:14px;
}

/* 強調表現：太字単体を抑え、文章背景・単語下線を役割分担 */
body:not(.home) .prose strong,
body:not(.home) .media-2col strong,
body:not(.home) .voice strong,
body:not(.home) .faq strong,
body:not(.home) .article-body strong{
  font-weight:inherit;
  color:inherit;
}
body:not(.home) .hl{
  background:rgba(199,164,93,.14);
  box-shadow:none;
  border-radius:4px;
  padding:.08em .28em;
  font-weight:600;
  color:var(--navy);
}
body:not(.home) .mark{
  background:linear-gradient(transparent 66%,rgba(199,164,93,.55) 66%);
  box-shadow:none;
  border-radius:0;
  padding:0 .03em;
  font-weight:600;
  color:var(--navy);
}
body:not(.home) .strong{
  background:rgba(199,164,93,.14);
  box-shadow:inset 0 -0.42em 0 rgba(199,164,93,.45);
  border-radius:3px;
  padding:0 .12em;
  font-weight:600;
  color:var(--navy);
}

/* 固定ページ下部CTA：淡いブランド面＋役割が分かる2ボタン */
body:not(.home) .page-cta{
  padding:30px 0 44px;
}
body:not(.home) .page-cta .cta-inner{
  position:relative;
  max-width:760px;
  background:linear-gradient(135deg,#eef4ff 0%,#f8fbff 100%);
  color:var(--navy);
  border:1px solid rgba(1,34,86,.12);
  border-radius:14px;
  padding:34px 34px 30px;
  box-shadow:0 14px 34px rgba(1,34,86,.08);
  overflow:hidden;
}
body:not(.home) .page-cta .cta-inner::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:5px;
  background:#f28c28;
}
body:not(.home) .page-cta .en{
  color:#c77916;
  margin-bottom:8px;
}
body:not(.home) .page-cta h2{
  color:var(--navy);
  font-size:25px;
  line-height:1.45;
  margin-bottom:10px;
}
body:not(.home) .page-cta p{
  color:rgba(1,34,86,.74);
  max-width:560px;
  margin-bottom:22px;
}
body:not(.home) .page-cta .cta-buttons{
  gap:12px;
}
body:not(.home) .page-cta .btn{
  min-width:190px;
  border-radius:999px;
  font-weight:700;
  box-shadow:0 8px 18px rgba(1,34,86,.08);
}
body:not(.home) .page-cta .btn-gold{
  background:#f28c28;
  color:#fff;
  border-color:#f28c28;
}
body:not(.home) .page-cta .btn-gold:hover{
  background:#e47d17;
  border-color:#e47d17;
  transform:translateY(-1px);
}
body:not(.home) .page-cta .btn-line{
  background:#06C755;
  color:#fff;
  border-color:#06C755;
}
body:not(.home) .page-cta .btn-line:hover{
  filter:brightness(.97);
  transform:translateY(-1px);
}
body:not(.home) .page-cta .cta-note{
  color:rgba(1,34,86,.58);
  margin-top:16px;
}
@media (max-width:720px){
  body:not(.home) .page-header{
    padding-top:16px;
    padding-bottom:26px;
  }
  body:not(.home) main > .sec{
    padding-top:28px;
    padding-bottom:28px;
  }
  body:not(.home) main > .sec + .sec{
    padding-top:24px;
  }
  body:not(.home) .page-cta{
    padding:28px 0 36px;
  }
  body:not(.home) .page-cta .cta-inner{
    padding:28px 20px 24px;
    border-radius:12px;
  }
  body:not(.home) .page-cta h2{
    font-size:22px;
  }
  body:not(.home) .page-cta .btn{
    width:100%;
    min-width:0;
  }
}
@media (max-width:448px){
  body:not(.home) main > .sec{
    padding-top:24px;
    padding-bottom:24px;
  }
  body:not(.home) .page-cta h2{
    font-size:20px;
  }
}
/* 固定ページ強調ルール再整理：背景と下線を分離 */
body:not(.home) .hl{
  display:inline;
  background:var(--grey);
  box-shadow:none;
  border-radius:4px;
  padding:.08em .28em;
  font-weight:600;
  color:var(--navy);
}
body:not(.home) .mark{
  background:none;
  box-shadow:inset 0 -0.32em 0 rgba(199,164,93,.45);
  border-radius:0;
  padding:0 .02em;
  font-weight:600;
  color:var(--navy);
}
body:not(.home) .strong{
  background:none;
  box-shadow:none;
  border-radius:0;
  padding:0;
  font-weight:inherit;
  color:inherit;
}
body:not(.home) strong:not(.mark):not(.hl),
body:not(.home) b{
  font-weight:inherit;
  color:inherit;
}
/* 下層ページ導入セクション：主要固定ページのみ灰色背景 */
body:not(.home):not(.page-template-template-contact-php):not(.page-template-template-tokushoho-php):not(.page-template-template-privacy-php):not(.page-template-slabo-lp) .page-header{
  background:var(--grey);
}
/* 下層ページ導入セクション：灰色背景の下線を消す */
body:not(.home):not(.page-template-template-contact-php):not(.page-template-template-tokushoho-php):not(.page-template-template-privacy-php):not(.page-template-slabo-lp) .page-header{
  background:var(--grey);
  border-bottom:none;
}
/* 合格実績ページ：目次と合格大学画像 */
.results-toc-sec{
  padding-top:24px !important;
  padding-bottom:18px !important;
}
.results-toc{
  margin-bottom:0;
}
.results-unis-figure{
  max-width:960px;
  margin:0 auto;
}
.results-unis-figure img{
  width:100%;
  height:auto;
  border-radius:6px;
  border:1px solid var(--line);
  background:#fff;
}
@media (max-width:720px){
  .results-toc-sec{
    padding-top:20px !important;
    padding-bottom:14px !important;
  }
  .results-unis-figure img{
    border-radius:4px;
  }
}
/* 合格実績ページ：合格大学画像の枠線を外す */
.results-unis-figure img{
  border:none;
}

/* 入塾の流れページ：検討中の方向けフロー */
.flow-toc-sec{
  padding-top:24px !important;
  padding-bottom:18px !important;
}
.flow-toc{
  margin-bottom:0;
}
.flow-intro{
  margin-bottom:24px;
}
.flow-main-steps{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
  border:1px solid var(--line);
  border-radius:10px;
  overflow:hidden;
  background:#fff;
}
.flow-main-step{
  position:relative;
  padding:28px 22px 26px;
  border-right:1px solid var(--line);
  min-height:270px;
}
.flow-main-step:last-child{
  border-right:none;
}
.flow-main-step::after{
  content:"›";
  position:absolute;
  right:-10px;
  top:50%;
  transform:translateY(-50%);
  width:20px;
  height:20px;
  border-radius:50%;
  background:#fff;
  color:var(--gold);
  font-size:30px;
  line-height:15px;
  text-align:center;
  z-index:2;
}
.flow-main-step:last-child::after{
  content:none;
}
.flow-main-step .step-num{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:48px;
  height:48px;
  border-radius:50%;
  background:var(--navy);
  color:#fff;
  font-size:18px;
  font-weight:700;
  letter-spacing:.02em;
  margin-bottom:18px;
}
.flow-main-step:nth-child(even) .step-num{
  background:var(--gold);
}
.flow-main-step h3{
  font-size:18px;
  line-height:1.55;
  color:var(--navy);
  margin:0 0 12px;
  font-weight:700;
}
.flow-main-step p{
  font-size:14.5px;
  line-height:1.85;
  color:var(--ink);
  margin:0;
}
.flow-benefit-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.flow-benefit-card{
  background:#fff;
  border:1px solid var(--line);
  border-top:3px solid var(--gold);
  border-radius:8px;
  padding:22px 22px 20px;
}
.flow-benefit-card h3{
  font-size:18px;
  line-height:1.5;
  color:var(--navy);
  margin:0 0 10px;
  font-weight:700;
}
.flow-benefit-card p{
  font-size:15px;
  line-height:1.85;
  color:var(--ink);
  margin:0;
}
.flow-mini-steps{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.flow-mini-step{
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;
  padding:20px 18px 18px;
}
.flow-mini-step span{
  display:inline-block;
  color:var(--gold);
  font-size:16px;
  font-weight:700;
  margin-bottom:8px;
}
.flow-mini-step h3{
  font-size:16px;
  line-height:1.5;
  color:var(--navy);
  margin:0 0 8px;
  font-weight:700;
}
.flow-mini-step p{
  font-size:14px;
  line-height:1.8;
  color:var(--ink);
  margin:0;
}
@media (max-width:960px){
  .flow-main-steps{
    grid-template-columns:1fr;
  }
  .flow-main-step{
    min-height:0;
    border-right:none;
    border-bottom:1px solid var(--line);
    padding:22px 20px 20px 84px;
  }
  .flow-main-step:last-child{
    border-bottom:none;
  }
  .flow-main-step::after{
    right:auto;
    left:42px;
    top:auto;
    bottom:-16px;
    transform:translateX(-50%) rotate(90deg);
  }
  .flow-main-step .step-num{
    position:absolute;
    left:20px;
    top:22px;
    width:44px;
    height:44px;
    font-size:16px;
    margin:0;
  }
  .flow-benefit-grid,
  .flow-mini-steps{
    grid-template-columns:1fr;
    gap:12px;
  }
}
@media (max-width:720px){
  .flow-toc-sec{
    padding-top:20px !important;
    padding-bottom:14px !important;
  }
  .flow-main-step h3,
  .flow-benefit-card h3{
    font-size:16px;
  }
  .flow-main-step p,
  .flow-benefit-card p,
  .flow-mini-step p{
    font-size:14px;
  }
}
/* FAQページ：目次 */
.faq-toc-sec{
  padding-top:24px !important;
  padding-bottom:18px !important;
}
.faq-toc{
  margin-bottom:0;
}
@media (max-width:720px){
  .faq-toc-sec{
    padding-top:20px !important;
    padding-bottom:14px !important;
  }
}
/* コース・料金ページ：目次・料金表 */
.courses-toc-sec{
  padding-top:24px !important;
  padding-bottom:18px !important;
}
.courses-toc{
  margin-bottom:0;
}
.price-summary-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  max-width:620px;
  margin-top:24px;
}
.price-summary-card{
  background:#fff;
  border:1px solid var(--line);
  border-bottom:3px solid var(--gold);
  border-radius:8px;
  padding:20px 22px 18px;
}
.price-summary-card span{
  display:block;
  font-size:14px;
  color:var(--sub);
  margin-bottom:8px;
  letter-spacing:.04em;
}
.price-summary-card strong{
  display:block;
  font-size:30px;
  line-height:1.2;
  color:var(--navy);
  font-weight:700;
}
.price-table-wrap{
  background:#fff;
  border:1px solid var(--line);
  border-radius:10px;
  overflow:hidden;
}
.price-table{
  margin:0;
  border:none;
}
.price-table th,
.price-table td{
  text-align:center;
  vertical-align:middle;
}
.price-table thead th{
  background:var(--navy);
  color:#fff;
  font-size:17px;
}
.price-table tbody .c-name{
  width:34%;
  color:var(--navy);
  font-size:20px;
}
.price-table .price-cell{
  font-size:28px;
  font-weight:700;
  color:var(--navy);
  line-height:1.3;
}
.course-feature-grid,
.payment-card-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.course-feature-card,
.payment-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;
  padding:22px 22px 20px;
}
.course-feature-card{
  border-top:3px solid var(--gold);
}
.course-feature-card h3,
.payment-card h3{
  font-size:18px;
  line-height:1.5;
  color:var(--navy);
  margin:0 0 10px;
  font-weight:700;
}
.course-feature-card p,
.payment-card p{
  font-size:15px;
  line-height:1.85;
  color:var(--ink);
  margin:0;
}
.support-list-prose{
  margin-top:24px;
}
@media (max-width:820px){
  .price-summary-grid,
  .course-feature-grid,
  .payment-card-grid{
    grid-template-columns:1fr;
  }
  .price-table-wrap{
    border:none;
    background:transparent;
    overflow:visible;
  }
  .price-table,
  .price-table tbody,
  .price-table tr,
  .price-table td{
    display:block;
    width:100%;
  }
  .price-table thead{
    display:none;
  }
  .price-table tr{
    background:#fff;
    border:1px solid var(--line);
    border-radius:8px;
    padding:14px 16px;
    margin-bottom:12px;
  }
  .price-table td{
    border:none;
    padding:6px 0;
    text-align:left;
  }
  .price-table tbody .c-name{
    width:100%;
    font-size:18px !important;
    margin-bottom:6px;
  }
  .price-table .price-cell{
    font-size:22px;
  }
  .price-table .price-cell:nth-child(2)::before{
    content:"高1・高2：";
    display:inline-block;
    min-width:86px;
    font-size:14px;
    color:var(--sub);
    font-weight:600;
  }
  .price-table .price-cell:nth-child(3)::before{
    content:"高3：";
    display:inline-block;
    min-width:86px;
    font-size:14px;
    color:var(--sub);
    font-weight:600;
  }
}
@media (max-width:720px){
  .courses-toc-sec{
    padding-top:20px !important;
    padding-bottom:14px !important;
  }
  .price-summary-card strong{
    font-size:25px;
  }
  .course-feature-card h3,
  .payment-card h3{
    font-size:16px;
  }
  .course-feature-card p,
  .payment-card p{
    font-size:14px;
  }
}
/* 固定ページCTA：落ち着いた相談導線に再設計 */
body:not(.home) .page-cta{
  background:#fff;
  padding:28px 0 48px;
}
body:not(.home) .page-cta .cta-inner{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) 300px;
  align-items:center;
  gap:28px;
  max-width:920px;
  text-align:left;
  background:#f4f7fc;
  color:var(--navy);
  border:1px solid var(--line);
  border-radius:8px;
  padding:30px 34px;
  box-shadow:none;
  overflow:visible;
}
body:not(.home) .page-cta .cta-inner::before{
  content:none;
}
body:not(.home) .page-cta .en{
  display:block;
  color:var(--gold);
  font-size:12px;
  letter-spacing:.16em;
  margin:0 0 8px;
  font-weight:700;
}
body:not(.home) .page-cta h2{
  color:var(--navy);
  font-size:24px;
  line-height:1.45;
  margin:0 0 10px;
}
body:not(.home) .page-cta p{
  color:rgba(1,34,86,.76);
  font-size:15px;
  line-height:1.85;
  max-width:560px;
  margin:0;
}
body:not(.home) .page-cta .cta-buttons{
  display:flex;
  flex-direction:column;
  gap:10px;
  justify-content:center;
  align-items:stretch;
}
body:not(.home) .page-cta .btn{
  width:100%;
  min-width:0;
  border-radius:5px;
  padding:12px 18px;
  font-size:14px;
  font-weight:700;
  line-height:1.35;
  box-shadow:none;
  transform:none;
}
body:not(.home) .page-cta .btn-gold{
  background:#f28c28;
  color:#fff;
  border-color:#f28c28;
}
body:not(.home) .page-cta .btn-gold:hover{
  background:#e47d17;
  border-color:#e47d17;
  transform:none;
}
body:not(.home) .page-cta .btn-line{
  background:#fff;
  color:#06a846;
  border-color:rgba(6,199,85,.55);
}
body:not(.home) .page-cta .btn-line:hover{
  background:rgba(6,199,85,.08);
  filter:none;
  transform:none;
}
body:not(.home) .page-cta .cta-note{
  grid-column:1 / -1;
  color:rgba(1,34,86,.56);
  font-size:13px;
  line-height:1.7;
  margin:2px 0 0;
  padding-top:14px;
  border-top:1px solid rgba(1,34,86,.10);
  max-width:none;
}
@media (max-width:820px){
  body:not(.home) .page-cta .cta-inner{
    grid-template-columns:1fr;
    gap:20px;
    padding:26px 22px;
  }
  body:not(.home) .page-cta .cta-buttons{
    flex-direction:row;
  }
}
@media (max-width:560px){
  body:not(.home) .page-cta{
    padding:24px 0 36px;
  }
  body:not(.home) .page-cta .cta-inner{
    padding:24px 18px;
    border-radius:7px;
  }
  body:not(.home) .page-cta h2{
    font-size:20px;
  }
  body:not(.home) .page-cta p{
    font-size:14px;
  }
  body:not(.home) .page-cta .cta-buttons{
    flex-direction:column;
  }
}
/* 企業向けお問い合わせページ */
.business-contact-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:18px;
}
.business-contact-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;
  padding:24px 26px 22px;
}
.business-contact-card h2{
  font-size:20px;
  line-height:1.5;
  color:var(--navy);
  margin:0 0 14px;
  font-weight:700;
}
.business-contact-card p{
  font-size:15px;
  line-height:1.9;
  color:var(--ink);
  margin:0;
}
.business-contact-note{
  border-top:3px solid var(--gold);
}
.business-form-lead{
  margin-bottom:20px;
}
.business-contact-form{
  margin-left:auto;
  margin-right:auto;
}
.business-cf-grid .ff-company,
.business-cf-grid .ff-email,
.business-cf-grid .ff-type,
.business-cf-grid .ff-message{
  grid-column:1 / -1;
}
@media (max-width:720px){
  .business-contact-grid{
    grid-template-columns:1fr;
    gap:12px;
  }
  .business-contact-card{
    padding:20px 18px;
  }
  .business-contact-card h2{
    font-size:17px;
  }
}
