/* ============================================================
   「佐倉の、となりに。」公式サイト 共通スタイル（v2）
   ------------------------------------------------------------
   - Figma「Web_page_draft」の書き出し画像と見比べて調整した版
   - トップページ（index.html）と料金表（price.html）で共通利用
   - デザインの特徴：
     ・コンテンツ幅は1280px（1440px画面で左右80pxの余白）
     ・ボタンは「左に文字／右に矢印」の幅広ピル型
     ・カードは白＋細い境界線、番号は淡い色の丸バッジ
     ・セクション見出しは Zen Maru Gothic、価格は Inter の細字
   ============================================================ */

/* ---------- デザイントークン ---------- */
:root {
  --cream: #FAF8F2;        /* 背景色 */
  --green: #244C40;        /* メインカラー：濃緑 */
  --yellow: #F4DF9C;       /* アクセント：黄色 */
  --sage: #E7EDE2;         /* 淡緑（セクション背景・バッジ） */
  --peach: #F7DFC9;        /* 淡いオレンジ（バッジ・注記ボックス） */
  --white: #FFFFFF;
  --text: #244C40;
  --text-sub: #66746B;     /* 補助テキスト */
  --line: #DFE4D8;         /* カードの境界線 */
  --radius: 28px;          /* 大きいボックスの角丸 */
  --radius-card: 20px;
  --font-head: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-en: "Inter", sans-serif;
}

/* ---------- 基本設定 ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.8;
  font-size: 16px;
}
img { max-width: 100%; }
a { color: var(--green); text-decoration: none; }
ul { list-style: none; }

/* コンテンツ幅：Figmaは左右80px余白＝1280px */
.container { max-width: 1280px; margin: 0 auto; padding: 0; }

/* 英字の小さいラベル（アイブロウ）：グレーグリーンで控えめに */
.eyebrow {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #7A877C;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* セクション見出し */
.section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.55;
  margin-bottom: 18px;
}
.section-lead { margin-bottom: 44px; }

/* セクション共通の余白 */
section { padding: 96px 0; }

/* ---------- ボタン（左：文字／右：矢印の幅広ピル） ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 285px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 17px 26px;
  border-radius: 999px;
  transition: opacity .2s;
}
.btn:hover { opacity: .85; }
.btn::after { content: "→"; font-weight: 400; } /* 右端の矢印 */
/* CTA用のさらに幅広ボタン */
.btn--wide { min-width: 400px; }

/* 黄色ピル（「完全導入保障」など、色面の上に置く小ラベル） */
.pill {
  display: inline-block;
  background: var(--yellow);
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
  padding: 7px 18px;
  border-radius: 999px;
}

/* ============================================================
   ヘッダー（両ページ共通）：境界線なし・クリーム地
   ============================================================ */
/* ヘッダーは白背景＋下罫線で、本文（クリーム地）と区別する（2026-11-26 髙橋さんの指示） */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 26px;
  padding-bottom: 26px;
}
.logo { font-family: var(--font-head); font-weight: 700; font-size: 24px; line-height: 1.35; }
.logo small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 12px; color: var(--text-sub); margin-top: 2px; }
.header-right { display: flex; align-items: center; gap: 44px; }
.global-nav ul { display: flex; gap: 34px; }
.global-nav a { font-weight: 700; font-size: 15px; }
.global-nav a.current { border-bottom: 2px solid var(--green); padding-bottom: 3px; } /* 現在地の下線 */

/* ============================================================
   フッター（両ページ共通）：クリーム地＋上罫線（濃緑地ではない）
   ============================================================ */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 56px; margin-top: 8px; }
.site-footer .container { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-nav ul { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a { font-weight: 700; font-size: 14px; }
.footer-tagline { margin-top: 18px; font-size: 13px; color: var(--text-sub); text-align: right; }
/* フッターの連絡先メール（2026-11-26：連絡先として公開） */
.footer-mail { margin-top: 12px; font-size: 14px; }
.footer-mail a { font-weight: 700; text-decoration: underline; }

/* ============================================================
   トップページ
   ============================================================ */

/* ---------- ヒーロー ---------- */
.hero { padding: 48px 0 80px; }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
/* ヒーローのピルは淡緑地（黄色ではない） */
.hero-pill {
  display: inline-block;
  background: var(--sage);
  color: var(--green);
  font-weight: 700;
  font-size: 13.5px;
  padding: 8px 20px;
  border-radius: 999px;
}
.hero h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 54px;
  line-height: 1.5;
  margin: 26px 0 28px;
}
.hero p { font-size: 17px; line-height: 2; margin-bottom: 36px; }
.hero-note { margin-top: 16px; font-size: 13.5px; color: var(--text-sub); }
/* イラスト下のキャプションは淡緑の帯（2026-11-26：小さすぎるとの指摘で拡大） */
.hero-caption {
  background: var(--sage);
  border-radius: 999px;
  text-align: center;
  font-weight: 700;
  font-size: 16.5px;
  padding: 14px 18px;
  margin-top: 10px;
}

/* ---------- 開業記念バナー（黄色ボックス） ---------- */
.campaign { padding-bottom: 88px; }
.campaign-box {
  background: var(--yellow);
  border-radius: var(--radius);
  padding: 40px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.campaign-left { display: flex; align-items: center; gap: 28px; }
/* 「開業記念！」は濃緑のピル（白文字） */
.campaign-pill {
  background: var(--green);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  padding: 20px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.campaign-box h2 { font-family: var(--font-head); font-weight: 700; font-size: 29px; margin-bottom: 2px; }

/* ---------- サービスカード ---------- */
.card-grid { display: grid; gap: 26px; }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 30px;
}
.service-head { display: flex; align-items: center; gap: 16px; }
/* 番号の丸バッジ（淡緑と淡オレンジを交互に） */
.num-badge {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 600;
  flex-shrink: 0;
}
.num-badge.sage { background: var(--sage); }
.num-badge.peach { background: var(--peach); }
.service-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 23px; }
.service-card .catch { margin: 2px 0 14px 62px; font-weight: 700; font-size: 14px; color: var(--text-sub); }
.service-card p { font-size: 15.5px; margin-bottom: 18px; }
/* タグはピルではなく「／」区切りのテキスト */
.service-tags { font-size: 13.5px; color: var(--text-sub); }
.service-tags span + span::before { content: "／"; margin: 0 12px; color: #B9C0B2; }

/* ---------- 選ばれる理由（濃緑背景・カードなしの3カラム） ---------- */
.strengths { background: var(--green); color: #F2F0E6; }
.strengths .eyebrow { color: rgba(255, 255, 255, .6); }
.strengths .section-title { color: #fff; margin-bottom: 64px; }
.strengths-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.strength { padding: 0 36px; }
.strength:first-child { padding-left: 0; }
.strength + .strength { border-left: 1px solid rgba(255, 255, 255, .22); } /* カラム間の細い縦線 */
.strength .s-label { font-family: var(--font-en); font-size: 12px; letter-spacing: .12em; color: rgba(255, 255, 255, .65); margin-bottom: 18px; }
.strength h3 { font-family: var(--font-head); font-weight: 700; font-size: 25px; line-height: 1.55; color: var(--yellow); margin-bottom: 20px; }
.strength p { font-size: 15px; line-height: 2; color: #EDEBE2; }

/* ---------- 私について（2カラム） ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 84px; }
.about .section-title { font-size: 40px; }
.about-lead { font-weight: 500; margin-bottom: 40px; }
/* 「大切にしていること」は淡緑のボックス */
.about-box { background: var(--sage); border-radius: var(--radius-card); padding: 30px; }
.about-box h3 { font-weight: 700; margin-bottom: 14px; }
.about-box p { line-height: 2.1; }
.about-career { font-weight: 700; font-size: 18px; margin-bottom: 22px; }
.about-col p { margin-bottom: 16px; line-height: 2; }
.about-subhead { font-family: var(--font-head); font-weight: 700; font-size: 24px; margin: 28px 0 14px; }

/* ---------- ご相談の流れ（淡緑背景・カードなし） ---------- */
.flow { background: var(--sage); }
.flow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 48px; }
.flow-step { position: relative; }
/* ステップ間の矢印（1・2番目の右側に表示） */
.flow-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -34px;
  top: 6px;
  font-size: 22px;
  color: var(--green);
}
.flow-step .f-num { font-family: var(--font-en); font-weight: 300; font-size: 42px; line-height: 1; margin-bottom: 16px; }
.flow-step h3 { font-family: var(--font-head); font-weight: 700; font-size: 20px; margin-bottom: 12px; }
.flow-step p { font-size: 15px; line-height: 1.95; }

/* ---------- CTA（黄色ボックス・中央寄せ） ---------- */
.cta { padding: 88px 0 96px; }
.cta-box {
  background: var(--yellow);
  border-radius: var(--radius);
  padding: 64px 40px;
  text-align: center;
}
/* CTA上部の小見出し：目立つよう濃緑ピル＋白文字に（2026-11-26 髙橋さんの指摘） */
.cta-label {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 16.5px;
  padding: 10px 26px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.cta-box h2 { font-family: var(--font-head); font-weight: 700; font-size: 36px; line-height: 1.6; margin-bottom: 20px; }
.cta-box p { margin-bottom: 36px; }

/* ============================================================
   料金表ページ
   ============================================================ */

/* ---------- 料金ヒーロー ---------- */
.pricing-hero { padding: 36px 0 24px; }
.breadcrumb { font-size: 13px; color: var(--text-sub); margin-bottom: 34px; }
.pricing-hero .container { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.pricing-hero .section-title { font-size: 44px; }
/* 無料相談カードは淡緑地 */
/* 左カラムの「Price & Support」の位置に上端を揃えるため、パンくず分だけ下げる（2026-11-26 髙橋さんの指摘） */
.free-card { background: var(--sage); border-radius: var(--radius-card); padding: 30px 32px; margin-top: 57px; }
.free-card .fc-label { font-weight: 700; font-size: 13.5px; margin-bottom: 14px; }
.free-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 22px; margin-bottom: 6px; }
.free-card .fc-price { font-family: var(--font-en); font-weight: 300; font-size: 58px; line-height: 1.15; }
.free-card .fc-price small { font-family: var(--font-body); font-weight: 700; font-size: 19px; margin-left: 10px; }
.free-card .fc-note { font-size: 13.5px; margin-top: 18px; }

/* ---------- 料金メニューカード ---------- */
.menu-card .m-num { font-family: var(--font-en); font-size: 13px; color: var(--text-sub); margin-bottom: 12px; }
.menu-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 24px; margin-bottom: 4px; }
.menu-card .m-sub { font-size: 13.5px; color: var(--text-sub); margin-bottom: 18px; }
/* 価格は Inter の細字で大きく */
.menu-card .m-price { font-family: var(--font-en); font-weight: 300; font-size: 54px; line-height: 1.1; }
.menu-card .m-unit { font-weight: 700; font-size: 14px; margin: 4px 0 20px; }
.menu-card .m-detail { font-size: 14px; line-height: 1.95; }
.menu-card.sage { background: var(--sage); border-color: transparent; } /* 1枚目だけ淡緑地 */
.price-note { margin-top: 22px; font-size: 12.5px; color: var(--text-sub); }

/* ---------- 詳細セクション共通（淡緑背景の帯） ---------- */
.band { background: var(--sage); }
.band .card, .band .package-card { border: none; }

/* 導入代行：濃緑カード＋白チェックリストの2カラム */
.package-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 26px; margin-bottom: 34px; }
.package-card {
  background: var(--green);
  color: #F2F0E6;
  border-radius: var(--radius-card);
  padding: 34px;
  display: flex;
  flex-direction: column;
}
.package-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 26px; color: #fff; margin: 18px 0 6px; }
.package-card .p-price { font-family: var(--font-en); font-weight: 300; font-size: 56px; line-height: 1.1; color: #fff; }
.package-card .p-unit { font-weight: 700; font-size: 15px; color: #fff; margin-top: 4px; }
.package-card .p-desc { margin-top: auto; padding-top: 28px; font-size: 15px; } /* 説明はカード下部に寄せる */
.check-list { background: var(--white); border-radius: var(--radius-card); padding: 34px; }
.check-list h4 { font-family: var(--font-head); font-weight: 700; font-size: 22px; margin-bottom: 10px; }
.check-list li {
  display: flex; gap: 14px; align-items: baseline;
  font-weight: 700; font-size: 16px;
  padding: 13px 0;
  border-bottom: 1px solid #E9EDE2;
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before { content: "✓"; color: var(--green); font-weight: 700; }

/* 面談の流れ（白カード×3） */
.meeting-lead { font-weight: 700; font-size: 18px; margin-bottom: 22px; }
.step-card { background: var(--white); border-radius: 16px; padding: 26px; }
.step-card .s-num { font-family: var(--font-en); font-weight: 400; font-size: 27px; margin-bottom: 12px; }
.step-card h4 { font-size: 16.5px; margin-bottom: 10px; }
.step-card p { font-size: 14.5px; line-height: 1.9; }

/* ご利用にあたって（白い横長カード） */
.terms-card {
  background: var(--white);
  border-radius: 16px;
  padding: 26px 30px;
  margin-top: 26px;
  display: flex;
  gap: 48px;
}
.terms-card h4 { white-space: nowrap; font-size: 15.5px; }
.terms-card li { font-size: 14.5px; margin-bottom: 6px; }

/* ---------- 運用代行・立て直しの大きいカード ---------- */
.big-card { padding: 34px; }
.big-card .b-sub { font-size: 13.5px; font-weight: 700; color: var(--text-sub); margin-bottom: 14px; }
.big-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 27px; margin-bottom: 8px; }
.big-card .b-price { font-family: var(--font-en); font-weight: 300; font-size: 54px; line-height: 1.1; }
.big-card .b-unit { font-weight: 700; font-size: 14.5px; margin: 4px 0 30px; }
.big-card .b-strong { font-weight: 700; font-size: 17px; line-height: 1.85; margin-bottom: 22px; }
/* 料金例の小表（クリーム地の inset） */
.mini-table { background: var(--cream); border-radius: 12px; padding: 10px 22px; margin-bottom: 18px; }
.mini-table table { width: 100%; border-collapse: collapse; }
.mini-table th, .mini-table td { padding: 9px 0; font-size: 15px; text-align: left; border-bottom: 1px solid var(--line); }
.mini-table tr:last-child th, .mini-table tr:last-child td { border-bottom: none; }
.mini-table .t-head th { font-size: 13px; color: var(--text-sub); font-weight: 500; }
.mini-table td { font-weight: 700; }
.big-card .b-note { font-size: 12.5px; color: var(--text-sub); line-height: 1.9; }
.big-card .b-cond-title { font-weight: 700; font-size: 14.5px; margin-bottom: 8px; }
.big-card .b-cond li { font-size: 15px; margin-bottom: 5px; }
/* ピーチ色の注記ボックス */
.note-box { background: var(--peach); border-radius: 12px; padding: 20px 24px; margin-top: 22px; }
.note-box .nb-title { font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.note-box .nb-price { font-weight: 700; font-size: 22px; }

/* 運用支援カード（横幅いっぱい・中は2カラム） */
.support-card { margin-top: 26px; }
.support-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 12px 48px; margin-top: 6px; }
.support-grid h4 { font-size: 15px; margin-bottom: 10px; }
.support-grid li { font-size: 15px; margin-bottom: 7px; }
.support-grid p { font-size: 14.5px; line-height: 1.95; }

/* ---------- セミナー・開発 ---------- */
.seminar-row {
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: baseline;
  gap: 44px;
  margin-bottom: 14px;
}
.seminar-row.sage { background: var(--sage); }
.seminar-row.cream { background: #F3EFE2; }
.seminar-row .sr-label { font-weight: 700; white-space: nowrap; }
.seminar-row .sr-price { font-weight: 700; font-size: 21px; }
.seminar-row .sr-note { font-size: 13px; color: var(--text-sub); }
.dev-card { background: var(--green); border-radius: var(--radius-card); padding: 34px; color: #EDEBE2; }
.dev-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 24px; color: #fff; margin-bottom: 6px; }
.dev-card .d-sub { font-size: 14px; color: #C9D4CB; margin-bottom: 26px; }
.dev-card .d-quote { font-family: var(--font-head); font-weight: 700; font-size: 30px; color: var(--yellow); margin-bottom: 22px; }
.dev-card p { font-size: 15px; line-height: 2; }

/* ---------- 料金・ご契約に関するご案内（淡緑の帯・行区切り） ---------- */
.guidance-row {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(36, 76, 64, .16);
}
.guidance-row:last-child { border-bottom: none; }
.guidance-row h3 { font-size: 16px; }

/* ============================================================
   レスポンシブ対応
   ------------------------------------------------------------
   - 1100px以下：コンテナに左右余白、ヒーロー等を1カラムに
   - 768px以下 ：カード類を1カラムに、見出しを小さく
   ============================================================ */
@media (max-width: 1100px) {
  .container { padding: 0 24px; }
  .support-grid { grid-template-columns: 1fr; }
  .hero .container,
  .pricing-hero .container,
  .about-grid,
  .package-grid { grid-template-columns: 1fr; }
  .free-card { margin-top: 0; } /* 1カラム時は下げ幅を解除 */
  .hero h1 { font-size: 42px; }
  .card-grid.cols-3 { grid-template-columns: 1fr 1fr; }
  .strengths-grid, .flow-grid { grid-template-columns: 1fr; gap: 40px; }
  .strength { padding: 0; }
  .strength + .strength { border-left: none; border-top: 1px solid rgba(255, 255, 255, .22); padding-top: 32px; }
  .flow-step:not(:last-child)::after { display: none; }
  .guidance-row { grid-template-columns: 1fr; gap: 6px; }
  .terms-card { flex-direction: column; gap: 12px; }
}
@media (max-width: 768px) {
  section { padding: 60px 0; }
  .section-title { font-size: 27px; }
  .about .section-title { font-size: 30px; }
  .pricing-hero .section-title { font-size: 32px; }
  .hero h1 { font-size: 34px; }
  .card-grid.cols-3, .card-grid.cols-2 { grid-template-columns: 1fr; }
  /* スマホ：ロゴとメニューを縦に並べ、メニューは1行に収める（2026-11-26 髙橋さんの指摘） */
  .site-header .container { flex-direction: column; align-items: stretch; gap: 12px; padding-top: 16px; padding-bottom: 16px; }
  .logo { font-size: 20px; }
  .header-right { width: 100%; }
  .global-nav { width: 100%; }
  .global-nav ul { justify-content: space-between; gap: 10px; }
  .global-nav a { font-size: 13.5px; white-space: nowrap; }
  .header-cta { display: none; } /* スマホではヘッダーのボタンを隠す */
  .btn { min-width: 0; width: 100%; }
  .btn--wide { min-width: 0; }
  .campaign-box, .cta-box { padding: 36px 24px; }
  .cta-box h2 { font-size: 26px; }
  .campaign-left { flex-direction: column; align-items: flex-start; gap: 16px; }
  .service-card .catch { margin-left: 0; }
  .seminar-row { flex-direction: column; gap: 4px; }
  .footer-tagline { text-align: left; }
}
