/* ================================================================
   11/8 デザインの土台の直し（片山さん「しっくりこない・洗練されていない」）
   見本（オルタナ・ベイジ・Goodpatch）と比べて足りなかった4つをまとめて直す。
     1. 色：白＋紺＋目立たせる色は青の1色（山吹・赤橙をやめる）
     2. 形：角の丸みは4pxの1種類・影なし・箱を減らして細い線で区切る・ボタンは静かな形
     3. 書体：日本語は Noto Sans JP、英字と数字は Inter（どちらも無料・Google Fonts）
     5. 見出し：左にそろえる。パソコンでは「左に見出し・右に説明」の2列
   戻すときは、build_v5.py の head() からこのファイルと Google Fonts の読み込みを消して書き出し直す。
   style.css・v5.css には手を入れていない。
   ================================================================ */

/* ---------- 1. 色 ---------- */
:root {
  --main: #2366ad;        /* 青：目立たせる色はこれだけ */
  --main-dark: #1a4f88;
  --main-deep: #10325a;   /* 紺：見出しと濃い帯 */
  --accent: var(--main);  /* 山吹をやめて青に */
  --accent-soft: #e3ecf7;
  --cta: var(--main);     /* 相談のボタンも青 */
  --cta-dark: var(--main-deep);
  --bg: #ffffff;
  --tint: #f3f5f8;        /* 地の色は白と、この薄い灰色の2つだけ */
  --sand: #f3f5f8;
  --line: #dfe4ea;
  --ink: #1b2430;
  --sub: #586474;
  --radius: 4px;
  --shadow: none;
  --font: "Inter", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

/* ---------- 3. 書体 ---------- */
body {
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: .04em;
  font-feature-settings: "palt" 0;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font-family: var(--font); }
.eb-en, .result-num b, .step3-num span, .value .value-num, .tel-link b,
.faq summary::before, .faq .ans::before { font-family: "Inter", var(--font); }

/* 太さ：本文400・見出し500・小見出し700。極太（800）はやめる */
.hero h1, .h2, .page-head h1, .page-head-plain h1, .post-head h1, .cta-box h2, .letter h2, .message-quote, .origin-big { font-weight: 500; }
.brand b, .gnav a, .sp-menu li a, .step3 h3, .svc-name, .plan-name, .flow h3, .value h3, .voice h3, .card4 h3, .incl h3,
.faq summary, .answer-head, .profile-name, .message-sign, .svc-checks li, .worry li, .field > label, .field > .label,
.svc-price .p0, .svc-price .pm, .svc-price .ask, .plan-sub, .svc-sub, .profile-role, .info-table th, .num-table th { font-weight: 700; }
.gnav a { font-weight: 500; font-size: 14px; letter-spacing: .06em; }
.svc-checks li, .worry li { font-weight: 500; }

/* ---------- 2. 形：ボタン ---------- */
.btn {
  border-radius: var(--radius); box-shadow: none; font-weight: 500; letter-spacing: .08em;
  min-height: 56px; padding: 12px 32px; font-size: 15.5px;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: none; }
.btn-cta, .btn-cta:hover { box-shadow: none; }
.btn-cta { background: var(--main); color: #fff; border: 1px solid var(--main); }
.btn-cta:hover { background: var(--main-deep); border-color: var(--main-deep); }
.btn-line { background: transparent; color: var(--main-deep); border: 1px solid var(--main-deep); }
.btn-line:hover { background: var(--main-deep); color: #fff; }
.btn-small { min-height: 40px; padding: 6px 18px; font-size: 13.5px; box-shadow: none; }
.btn .arrow { margin-left: 4px; }
.fixed-cta a { border-radius: var(--radius); font-weight: 500; }
.fixed-cta .f-tel { border: 1px solid var(--main-deep); color: var(--main-deep); }
.fixed-cta .f-form { background: var(--main); }
.to-top { border-radius: var(--radius); box-shadow: none; background: var(--main-deep); }
.sec-tint .btn-line, .sec-sand .btn-line { background: #fff; }
.sec-tint .btn-line:hover, .sec-sand .btn-line:hover { background: var(--main-deep); }

/* ---------- 2. 形：最初の画面 ---------- */
.hero { background: var(--tint); }
.hero-photo img { border-radius: var(--radius); }
.hero-kicker {
  background: none; border: 0; border-radius: 0; padding: 0 0 0 14px; position: relative;
  font-size: 13px; font-weight: 500; letter-spacing: .1em; color: var(--main-dark); line-height: 1.7;
}
.hero-kicker::before { content: ""; position: absolute; left: 0; top: .35em; bottom: .35em; width: 3px; background: var(--main); }
@media (max-width: 767px) { .hero-kicker { border-radius: 0; padding: 0 0 0 14px; } }
.hero h1 { color: var(--main-deep); letter-spacing: .06em; line-height: 1.55; }
.hero h1 .ac, .h2 em { background: none; padding: 0; color: var(--main); }
.hero-lead { color: var(--sub); }
.hero-points { border-top-color: var(--line); }
.hero-points b { color: var(--main-deep); }
/* 料金の札：箱をやめ、上の細い線＋数字 */
.hero-points.hero-tiles { gap: 0 24px; margin-top: 36px; }
.hero-tiles li {
  background: none; border: 0; border-top: 1px solid var(--main-deep); border-radius: 0;
  padding: 12px 0 0; text-align: left; font-weight: 500; color: var(--sub); font-size: 12.5px;
}
.hero-tiles b { color: var(--main-deep); font-family: "Inter", var(--font); font-weight: 500; font-size: 24px; letter-spacing: .01em; }
@media (min-width: 768px) { .hero-tiles b { font-size: 28px; } }

/* ---------- 2. 形：区切りの見出し ---------- */
.eb-en { color: var(--main); font-weight: 600; letter-spacing: .24em; font-size: 12.5px; }
.eb-en::before, .center .eb-en::after { background: var(--main); width: 20px; height: 1px; }
.eb-ja { color: var(--sub); font-weight: 500; letter-spacing: .1em; }
.h2 { color: var(--main-deep); letter-spacing: .06em; line-height: 1.6; }
.sec-lead { color: var(--sub); }

/* ---------- 5. 見出しを左にそろえる ---------- */
.center:has(> .h2) { text-align: left; }
.center:has(> .h2) .eyebrow { align-items: flex-start; }
.center:has(> .h2) .eb-en::after { content: none; }
.center:has(> .h2) .h2 { margin-left: 0; margin-right: 0; max-width: 24em; text-wrap: pretty; }
.center:has(> .h2) { margin-bottom: 40px; }
.center:has(> .h2) > .h2:last-child, .center:has(> .h2) > .sec-lead:last-child { margin-bottom: 0; }
/* パソコン：説明文があるときは「左に見出し・右に説明」 */
@media (min-width: 960px) {
  .center:has(> .h2) { margin-bottom: 56px; }
  .center:has(> .h2):has(> .sec-lead) {
    display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); column-gap: 72px; align-items: end;
  }
  .center:has(> .h2):has(> .sec-lead) > .eyebrow { grid-column: 1; }
  .center:has(> .h2):has(> .sec-lead) > .h2 { grid-column: 1; margin-bottom: 0; }
  .center:has(> .h2):has(> .sec-lead) > .sec-lead { grid-column: 2; grid-row: 1 / span 2; align-self: end; margin: 0; padding-bottom: .5em; }
  .h2 { font-size: 34px; }
}
/* 見出しのあとの文・ボタン：左にそろえる */
.steps3-note, .flow-note, .price-line, .movie-lead { text-align: left; margin-left: 0; }
.faq { max-width: none; }

/* ---------- 2. 形：3つの場面・流れ・実績（細い線と番号） ---------- */
.step3 { border-left-color: var(--line); }
.step3:last-child { border-right-color: var(--line); }
@media (min-width: 900px) { .step3:last-child { border-right: 1px solid var(--line); } }
.step3-num span, .result-no { color: var(--main); font-weight: 600; letter-spacing: .2em; }
.step3 h3, .flow h3 { color: var(--main-deep); }
.step3 .to { color: var(--main); font-weight: 500; }
.flow li { border-left-color: var(--line); }
@media (min-width: 768px) { .flow li:last-child { border-right-color: var(--line); } }
.flow li::before { color: var(--main); font-weight: 600; font-family: "Inter", var(--font); }
.result { border-left-color: var(--line); }
@media (min-width: 900px) { .result:last-child { border-right-color: var(--line); } }
.result-label { color: var(--main-deep); }
.result-num b { font-weight: 300; letter-spacing: -.01em; }
.results-note { border-top-color: var(--line); }

/* ---------- 2. 形：サービス ---------- */
.svc { border-radius: var(--radius); box-shadow: none; border: 0; }
.svc-photo { background: #e9edf2; }
.svc-tag {
  border-radius: 0; box-shadow: none; background: var(--main-deep); color: #fff;
  font-weight: 500; font-size: 12.5px; letter-spacing: .1em; padding: 4px 12px; left: 0; top: 0;
}
.svc-name { color: var(--main-deep); letter-spacing: .06em; }
.svc-sub { color: var(--main); font-weight: 500; }
.svc-price { background: none; border-radius: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; }
.svc-price .pm b { color: var(--main-deep); font-family: "Inter", var(--font); font-weight: 500; font-size: 30px; }
.svc-price .ask { color: var(--main-deep); }
.svc-checks li::before { border-color: var(--main); border-width: 0 0 2px 2px; border-style: solid; }
.svc-phones { background: #e9edf2; }
.mini-phone, .phone { box-shadow: none; }
.svc-more { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; padding: 28px 0 0; }
.svc-upper { margin-top: -10px; border: 1px solid var(--line); }
.svc-upper-label { border-radius: 0; background: var(--accent-soft); color: var(--main-deep); font-weight: 500; }

/* ---------- 2. 形：代表から・会社 ---------- */
.message-photo img, .profile-photo img { border-radius: var(--radius); }
.message-photo::before { content: none; }
.message-quote { color: var(--main-deep); }
.origin-big { color: var(--main-deep); }
.origin-big .ac { color: var(--main); }
.value { background: none; border: 0; border-top: 1px solid var(--main-deep); border-radius: 0; padding: 22px 0 0; }
.value .value-num { color: var(--main); font-size: 14px; font-weight: 600; letter-spacing: .2em; }
.timeline { border-left-color: var(--line); }
.timeline li::before { border-width: 2px; border-color: var(--main); width: 11px; height: 11px; left: -6.5px; }
.letter { border-radius: var(--radius); box-shadow: none; }
.info-table { border-radius: 0; border-top: 1px solid var(--line); }
.info-table th { background: var(--tint); color: var(--main-deep); }
.profile-role { color: var(--main); }

/* ---------- 2. 形：お悩み・答え・プラン・カード ---------- */
.worry { gap: 0; border-top: 1px solid var(--line); }
.worry li { background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 16px 4px 16px 32px; }
.worry li::before { left: 4px; width: 12px; height: 7px; margin-top: -6px; border-radius: 0; background: none; box-shadow: none; border-left: 2px solid var(--main); border-bottom: 2px solid var(--main); transform: rotate(-45deg); }
.answer { border-radius: var(--radius); }
.answer-head b { color: #fff; border-bottom: 1px solid rgba(255,255,255,.6); }
.plan { border: 0; border-top: 2px solid var(--main-deep); border-radius: 0; background: #fff; padding: 24px 22px 26px; }
.sec-white .plan, .sec:not(.sec-tint):not(.sec-sand) .plan { background: var(--tint); }
.plan-name { color: var(--main-deep); }
.plan-sub { color: var(--main); font-weight: 500; }
.plan-best { border-radius: 0; background: var(--main); font-weight: 500; letter-spacing: .08em; }
.plan-price b { font-family: "Inter", var(--font); font-weight: 500; }
.incl { border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; background: none; padding: 24px 0; }
.card4 { background: none; border: 0; border-top: 1px solid var(--main-deep); border-radius: 0; padding: 18px 0 0; }
.voice { border-radius: var(--radius); box-shadow: none; border: 0; border-top: 2px solid var(--main-deep); background: #fff; }
.sec:not(.sec-tint):not(.sec-sand) .voice { background: var(--tint); }
.num-table { border-radius: 0; }
.num-table th, .num-table td { border-bottom-color: var(--line); }
.num-table td b { color: var(--main-deep); font-family: "Inter", var(--font); font-weight: 600; }

/* ---------- 2. 形：よくあるご質問（箱をやめ、線で区切る） ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; margin: 0; }
.faq summary { padding: 22px 48px 22px 44px; font-size: 16px; }
.faq summary::before, .faq .ans::before {
  border-radius: 0; background: none; width: auto; height: auto; left: 4px; display: block;
  font-size: 18px; font-weight: 500; line-height: 1.5;
}
.faq summary::before { color: var(--main); top: 21px; }
.faq .ans::before { color: var(--sub); top: -2px; }
.faq summary::after { border-color: var(--main-deep); border-width: 0 1.5px 1.5px 0; width: 9px; height: 9px; right: 12px; }
.faq .ans { padding: 0 24px 24px 44px; }

/* ---------- 2. 形：相談の案内・下の帯 ---------- */
.cta-box { border-radius: var(--radius); background: var(--main-deep); }
.cta-box .btn-cta { background: #fff; color: var(--main-deep); border-color: #fff; }
.cta-box .btn-cta:hover { background: var(--accent-soft); border-color: var(--accent-soft); }
.cta-box .btn-line { color: #fff; border-color: rgba(255,255,255,.7); background: transparent; }
.cta-box .btn-line:hover { background: rgba(255,255,255,.12); color: #fff; }
.site-foot { background: #0d1a2b; }
.foot-brand img { border-radius: 0; }
.movie { border-radius: var(--radius); box-shadow: none; }

/* ---------- 2. 形：下層ページ・フォーム・ブログ ---------- */
.page-head-plain { background: var(--tint); }
.page-head-plain h1, .post-head h1 { color: var(--main-deep); }
.doc { border-radius: var(--radius); box-shadow: none; }
.doc h2 { border-left-width: 3px; }
.doc th { background: var(--tint); }
.form-box { border-radius: var(--radius); box-shadow: none; border: 1px solid var(--line); }
.req { border-radius: 0; background: var(--main); font-weight: 500; }
.opt { border-radius: 0; font-weight: 500; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea, .checks label { border-radius: var(--radius); border: 1px solid #c9d2dd; }
.trial-note { border-radius: 0; background: var(--tint); border-left: 3px solid var(--main); }
.post-chip { border-radius: var(--radius); }
.post-cat, .post-draft-tag { border-radius: 0; }
.post-card { border-radius: var(--radius); }
.post-card:hover { box-shadow: none; border-color: var(--main); }
.post-toc, .post-body details, .post-box { border-radius: var(--radius); }
.post-body h2 { border-radius: 0; border-left-width: 3px; }
.post-fig img { border-radius: var(--radius); }
.post-author { border-radius: var(--radius); box-shadow: none; border: 1px solid var(--line); }
.post-author img { border-radius: var(--radius); }
.box-genba { background: var(--tint); border: 0; border-left: 3px solid var(--main); }
.box-genba .post-box-label { color: var(--main-deep); }
.box-genba .post-box-label::before { background: var(--main-deep); border-radius: 0; }
.box-column .post-box-label::before { border-radius: 0; }
.box-matome, .box-waku { border-width: 1px; }
