/* ============================================================
   /meo-check 無料MEO診断 — 2026-11-07 作り直し
   独立LP（独自のヘッダー・フッター・濃い青紫の地）をやめ、ほかのサービスページ（korea-inbound・website）と同じ部品で組む。
   並び: FV（絵は meo-check-hero）→ 01 点検する100項目 → 02 診断レポートのサンプル＋相談の帯 → 03 頼む理由
        → 04 診断のあと（/meo と同じ2プラン）→ 05 進め方 → 06 申し込み → 07 よくあるご質問 → 関連 → 相談のカード
   見せ場: 02 の紙の見本4枚（架空の店・ダミーの数字。HTML で組むので、スマホでも字が読める）
   決まり: カードの端に色帯を出さない。書体はゴシック体だけ
   ============================================================ */

/* ---- サービスページの共通部分（korea.css と同じ） ---- */
.sv-sec { padding: clamp(60px, 7vw, 96px) 0; }
.sv-sec .sl-sec-head { margin-bottom: clamp(36px, 4vw, 56px); }
.sv-sec .sl-h2 { margin-top: 16px; }
.sv-note { font-size: 13px; color: var(--e-fg-3); line-height: 1.8; }
.ph.sv-hero { position: relative; padding: clamp(118px, 12vw, 156px) 0 24px; }
.sv-hero .ph-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 56px); max-width: none; }
@media (min-width: 1081px) {
  .sv-hero .ph-inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; }
}
.sv-copy { display: grid; gap: 22px; align-content: start; min-width: 0; }
.sv-copy nav.ph-crumbs { margin-bottom: 4px; }
.sv-hero div.ph-title { margin: 0; font-size: clamp(30px, calc(1.9vw + 18px), 48px); line-height: 1.3; letter-spacing: -.01em; text-wrap: balance; }
.sv-hero .sl-h-kw { margin-bottom: 16px; }
.sv-lead { margin: 0; font-size: clamp(15px, calc(.3vw + 13px), 17px); line-height: 1.9; color: var(--e-fg-2); max-width: 32em; }
.sv-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.sv-nav-wrap { margin-top: clamp(44px, 5vw, 72px); position: relative; z-index: 2; }
.sv-nav-wrap .e-pagenav { margin-bottom: 0; }
.sv-faq { display: grid; gap: 0; max-width: 960px; }
.sv-faq summary { list-style: none; }
.sv-faq summary::-webkit-details-marker { display: none; }
.sv-faq summary::after { content: '+'; flex: none; font-family: var(--font-en); font-size: 24px; font-weight: 500; line-height: 1; color: #2A6FF5; transition: transform .3s ease; }
.sv-faq details[open] summary::after { transform: rotate(45deg); }
.sv-cta { padding: clamp(64px, 7vw, 96px) 0 clamp(40px, 5vw, 56px); }
.sv-ink { --sl-fg: #fff; --sl-fg-2: rgba(255,255,255,.95); --sl-fg-3: rgba(255,255,255,.88); --e-ink: #fff; color: #fff; }
.sv-cta-card { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; padding: clamp(32px, 5vw, 56px); border-radius: 32px; background: var(--e-deep); box-shadow: 0 30px 60px -30px rgba(42,85,230,.6); position: relative; overflow: clip; }
.sv-cta-card::after { content: ''; position: absolute; right: -12%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(0,200,255,.35), transparent 65%); pointer-events: none; }
.sv-cta-card > * { position: relative; z-index: 1; min-width: 0; }
.sv-cta-card h2 { font-size: clamp(24px, calc(1.6vw + 14px), 38px); line-height: 1.35; color: #fff; }
.sv-cta-card p { margin-top: 12px; color: rgba(255,255,255,.95); line-height: 1.9; font-size: 15px; max-width: 36em; }
@media (min-width: 900px) { .sv-cta-card { grid-template-columns: minmax(0, 1fr) auto; gap: 48px; } }

/* ---- FV の数字の札と絵（website.css と同じもの。絵の縦横比だけ meo-check-hero の 1120×845） ---- */
.sv-facts { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 0; }
.sv-facts > div { min-width: 0; }
.sv-facts dt { font-size: 12px; font-weight: 700; color: var(--e-fg-3); letter-spacing: .08em; }
.sv-facts dd { margin: 2px 0 0; font-family: var(--font-en); font-weight: 800; font-size: 18px; color: var(--e-fg); }
.sv-art { position: relative; display: grid; min-width: 0; }
.sv-art-pic { position: relative; margin: 0; aspect-ratio: 1120 / 845; border-radius: 32px; overflow: clip; background: #E4EEFC; }
.sv-art-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* 673〜1080px の横向き（841x701 など）: 2列にして、高さ 701px の最初の画面にボタンまで入るよう少し詰める */
@media (min-width: 673px) and (max-width: 1080px) and (orientation: landscape) {
  .ph.sv-hero { padding-top: 104px; }
  .sv-hero .ph-inner { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 28px; align-items: start; }
  .sv-hero div.ph-title { font-size: 28px; }
  .sv-copy { gap: 16px; }
  .sv-lead { font-size: 14px; line-height: 1.8; }
  .sv-facts { gap: 8px 22px; }
  .sv-facts dd { font-size: 16px; }
  .sv-art { margin-top: 30px; }
}
@media (max-width: 672px) {
  .sv-art-pic { margin-inline: -24px; border-radius: 0; }
}

.mc-note { margin-top: 20px; }

/* ---- 01 点検する100項目（5枚。PC は3枚＋2枚を中央、開いた折りたたみは2列で最後の1枚を全幅） ---- */
.mc-items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 673px) and (max-width: 1080px) {
  .mc-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mc-item:last-child { grid-column: 1 / -1; }
}
@media (min-width: 1081px) {
  .mc-items { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
  .mc-item { grid-column: span 2; }
  .mc-item:nth-child(4) { grid-column: 2 / span 2; }
}
.mc-item { display: grid; align-content: start; gap: 10px; min-width: 0; padding: clamp(22px, 2.4vw, 30px); border-radius: 26px; background: #fff; border: var(--e-card-line); box-shadow: var(--e-card-shadow); }
.mc-item-n { font-family: var(--font-en); font-weight: 800; font-size: 13px; letter-spacing: .1em; color: #1F57D6; }
.mc-item h3 { font-size: clamp(17px, 1.3vw, 19px); font-weight: 900; line-height: 1.5; }
.mc-item-d { font-size: 14px; line-height: 1.85; color: var(--e-fg-2); }
.mc-item-l { list-style: none; margin: 6px 0 0; padding: 14px 0 0; border-top: 1px solid var(--e-line); display: grid; gap: 7px; }
.mc-item-l li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; align-items: start; font-size: 13.5px; line-height: 1.6; font-weight: 700; color: var(--e-fg); }
.mc-item-l svg { width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: #2A6FF5; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---- 02 診断レポートのサンプル（紙の見本。角は小さく、影で地から浮かせる。カードの角丸とは分ける） ---- */
.mc-rep { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
@media (min-width: 900px) { .mc-rep { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; } }
.mc-sheet { margin: 0; display: grid; grid-template-rows: 1fr auto; gap: 14px; min-width: 0; }
.mc-paper { padding: 20px 20px 18px; border-radius: 8px; background: #fff; border: 1px solid rgba(20,27,56,.08); box-shadow: 0 1px 0 rgba(20,27,56,.04), 0 26px 46px -30px rgba(20,40,110,.5); }
.mc-paper-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid rgba(20,27,56,.12); }
.mc-paper-h b { font-size: 14px; font-weight: 900; color: var(--e-fg); }
.mc-paper-h span { font-size: 12px; color: var(--e-fg-3); white-space: nowrap; }
.mc-paper-f { margin-top: 12px; font-size: 11.5px; line-height: 1.6; color: var(--e-fg-3); }
.mc-sheet figcaption { display: grid; gap: 4px; font-size: 14px; line-height: 1.8; color: var(--e-fg-2); }
.mc-sheet figcaption b { font-size: 16px; font-weight: 900; color: var(--e-fg); }
/* 1 点数 */
.mc-score { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.mc-score-k { font-size: 13px; font-weight: 700; color: var(--e-fg-2); }
.mc-score-n { font-family: var(--font-en); font-weight: 800; font-size: 44px; line-height: 1; color: #1F57D6; font-variant-numeric: tabular-nums; }
.mc-score-n small { margin-left: 6px; font-size: 14px; font-weight: 700; color: var(--e-fg-3); }
.mc-bars { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.mc-bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: baseline; font-size: 12.5px; }
.mc-bars span { min-width: 0; font-weight: 700; color: var(--e-fg); }
.mc-bars b { font-family: var(--font-en); font-weight: 800; color: var(--e-fg-2); font-variant-numeric: tabular-nums; }
.mc-bars i { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #2A6FF5 0 calc(var(--v) * 1%), #E3EAF8 calc(var(--v) * 1%) 100%); }
/* 2 空いている項目 */
.mc-gaps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mc-gaps li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: center; padding: 9px 12px; border-radius: 10px; background: #F7F9FF; font-size: 13px; line-height: 1.5; font-weight: 700; color: var(--e-fg); }
.mc-tag { padding: 2px 8px; border-radius: 999px; background: #FFF1E0; color: #8A4B00; font-size: 11px; font-weight: 800; white-space: nowrap; }
/* 3 媒体ごとの店舗情報 */
.mc-nap { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.mc-nap th, .mc-nap td { padding: 8px 4px; border-bottom: 1px solid rgba(20,27,56,.08); text-align: center; }
.mc-nap thead th { font-size: 11.5px; font-weight: 700; color: var(--e-fg-3); white-space: nowrap; }
.mc-nap tbody th { text-align: left; font-weight: 700; color: var(--e-fg); white-space: nowrap; }
.mc-nap td.is-ok { color: #0B7A54; font-weight: 800; }
.mc-nap td.is-ng { color: #B42318; font-weight: 800; background: #FFF1F0; }
/* 4 直す順番 */
.mc-order { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.mc-order li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: center; font-size: 13px; line-height: 1.5; font-weight: 700; color: var(--e-fg); }
.mc-order b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--e-grad-ink); color: #fff; font-family: var(--font-en); font-size: 13px; }

/* サンプルの下の相談の帯（meo.css の .mo-cta-row と同じ。空色の地の上なので白い箱） */
.mc-cta-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: center; margin-top: 36px; padding: clamp(22px, 3vw, 32px); border-radius: 28px; background: #fff; border: 1px solid rgba(42,111,245,.16); }
@media (min-width: 961px) { .mc-cta-row { grid-template-columns: minmax(0, 1fr) auto; gap: 28px; } }
.mc-cta-row-t { display: grid; gap: 6px; }
.mc-cta-row-t strong { font-size: clamp(18px, .8vw + 12px, 22px); font-weight: 900; line-height: 1.5; }
.mc-cta-row-t span { font-size: 14px; line-height: 1.8; color: var(--e-fg-2); }
.mc-cta-row-b { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 480px) { .mc-cta-row-b .sl-btn { width: 100%; justify-content: center; } }

/* ---- 03 頼む理由（4枚。673px からは2列×2段） ---- */
.mc-why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 673px) { .mc-why { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
.mc-why > li { display: grid; align-content: start; gap: 12px; min-width: 0; padding: clamp(22px, 2.4vw, 30px); border-radius: 26px; background: #fff; border: var(--e-card-line); box-shadow: var(--e-card-shadow); }
.mc-why-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--e-sky); color: #2A6FF5; }
.mc-why-ic svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mc-why-ic img { width: 30px; height: 30px; object-fit: contain; }
.mc-why-logo { display: flex; align-items: center; height: 52px; }
.mc-why-logo img { width: 112px; height: auto; }
.mc-why .mc-why-n { font-family: var(--font-en); font-weight: 800; font-size: 44px; line-height: 52px; letter-spacing: -.02em; color: #1F57D6; font-variant-numeric: tabular-nums; }
.mc-why .mc-why-n small { font-size: .5em; margin-left: 2px; }
.mc-why h3 { font-size: clamp(17px, 1.3vw, 19px); font-weight: 900; line-height: 1.5; }
.mc-why > li > p:not(.mc-why-n) { font-size: 14px; line-height: 1.85; color: var(--e-fg-2); }

/* ---- 04 診断のあと（2枚を横に。どちらかを濃い色で目立たせない） ---- */
.mc-plans { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 900px) { .mc-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
.mc-plan { display: grid; align-content: start; gap: 10px; min-width: 0; padding: clamp(24px, 2.6vw, 34px); border-radius: 28px; background: #fff; border: var(--e-card-line); box-shadow: var(--e-card-shadow); }
.mc-plan-k { font-family: var(--font-en); font-weight: 800; font-size: 12px; letter-spacing: .12em; color: #1F57D6; }
.mc-plan h3 { font-size: clamp(19px, 1.5vw, 22px); font-weight: 900; line-height: 1.45; }
.mc-plan p:not(.mc-plan-k) { font-size: 14.5px; line-height: 1.9; color: var(--e-fg-2); }
.mc-note .sl-link { margin-left: 6px; }

/* ---- 05 進め方（PC は4列、開いた折りたたみは2列） ---- */
.mc-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 673px) { .mc-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1081px) { .mc-flow { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.mc-flow > li { display: grid; align-content: start; gap: 8px; min-width: 0; padding: 22px 22px 24px; border-radius: 24px; background: #fff; border: var(--e-card-line); box-shadow: var(--e-card-shadow); }
.mc-flow-k { font-family: var(--font-en); font-weight: 800; font-size: 13px; letter-spacing: .1em; color: #1F57D6; }
.mc-flow h3 { font-size: 17px; font-weight: 900; line-height: 1.5; }
.mc-flow > li > p:not(.mc-flow-k) { font-size: 14px; line-height: 1.85; color: var(--e-fg-2); overflow-wrap: anywhere; }

/* ---- 06 申し込み（パネルの見た目は e.css の .lp-diag-panel。korea-inbound の .ko-form と同じ置き方） ---- */
.mc-form { max-width: 1000px; margin-inline: auto; }

/* ---- 07 よくあるご質問（korea.css の .ko-faq-grid と同じ置き方） ---- */
.mc-faq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.mc-faq-head { display: grid; gap: 14px; justify-items: start; align-content: start; }
.mc-faq-head .sl-h2 { margin: 0; }
.mc-faq-note { margin: 4px 0 6px; font-size: 14px; line-height: 1.9; color: var(--e-fg-2); }
.mc-faq-grid .sv-faq { max-width: none; }
@media (min-width: 1081px) {
  .mc-faq-grid { grid-template-columns: minmax(0, .42fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .mc-faq-head { position: sticky; top: 120px; }
}

/* スマホ（〜672px）の本文は PC より1px 小さく（common.css の最後と同じ決まり。2026-11-02） */
@media (max-width: 672px) {
  .sv-lead, .sv-cta-card p { font-size: 14px; line-height: 1.85; }
  .mc-item-d, .mc-why > li > p:not(.mc-why-n), .mc-plan p:not(.mc-plan-k), .mc-flow > li > p:not(.mc-flow-k), .mc-sheet figcaption, .mc-faq-note, .mc-cta-row-t span { font-size: 13px; }
  .mc-paper { padding: 16px 14px 14px; }
}

/* ---- 2026-11-12 目視点検の直し（344・841・1280 で測って確かめた案） ---- */
/* 空いている項目: 札の幅が違っても本文の書き出しをそろえる。狭い幅では札を上に積む */
.mc-gaps { grid-template-columns: max-content minmax(0, 1fr); }
.mc-gaps li { grid-column: 1 / -1; grid-template-columns: subgrid; }
.mc-tag { justify-self: start; }
@media (max-width: 480px) { .mc-gaps { grid-template-columns: minmax(0, 1fr); } .mc-gaps li { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
/* 媒体ごとの表: 「媒体」の見出しを中身と同じ左寄せに */
.mc-nap thead th:first-child { text-align: left; }
/* 5つの分野: 同じ段のカードで、番号・見出し・本文・チェック項目の高さをそろえる */
@media (min-width: 673px) { .mc-item { grid-row: span 4; grid-template-rows: subgrid; } }
@media (min-width: 1081px) { #items .mc-note { text-align: center; } }
/* 頼む理由: 大きな数字の欄の高さをアイコンとロゴにそろえる */
.mc-why .mc-why-n small { line-height: 1; }
/* 進め方: PC も2列×2段（4列だと短いカードの下が大きく空いた） */
@media (min-width: 1081px) { .mc-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* 注記の中のリンク: 下線を文字のすぐ下に、行の間隔をそろえる（押せる高さは44px） */
.mc-note .sl-link { display: inline; padding-block: 13px; padding-inline: 1px; white-space: nowrap; text-decoration: underline; text-underline-offset: .28em; text-decoration-thickness: 1px; }
.mc-note .sl-link::after { content: none; }
/* FV: 開いた折りたたみの横向きでは絵を文の列の上下中央に。2つのボタンは同じ幅に */
@media (min-width: 673px) and (max-width: 1080px) and (orientation: landscape) {
  .sv-hero .ph-inner { align-items: center; }
  .sv-art { margin-top: 0; }
}
@media (min-width: 673px) and (max-width: 1080px) and (orientation: landscape), (max-width: 672px) {
  .sv-hero .sv-btns { display: grid; grid-template-columns: minmax(0, max-content); }
}
/* ページ内メニュー（スマホ）: 札を低くして、7枚が画面の半分を取らないように */
@media (max-width: 672px) {
  .sv-nav-wrap .e-pagenav > a { min-height: 0; padding: 10px 12px 12px; gap: 8px; }
  .sv-nav-wrap .e-pagenav-k { width: 32px; height: 32px; border-radius: 10px; font-size: 12px; }
}
@media (max-width: 400px) { .sv-nav-wrap .e-pagenav-t { font-size: 13px; } }
/* 相談のカードの影が、下の区画との境目で切れないように */
.sv-cta { padding-bottom: clamp(72px, 8vw, 96px); }
/* 申し込みフォームの頭の「無料」を、白い札に青字で読めるように */
.mc-form .lp-diag-panel-h small { padding: 4px 12px; border-radius: 999px; background: #fff; color: #1F57D6; font-family: var(--font-jp); font-size: 13px; font-weight: 700; letter-spacing: .06em; }
