@charset "UTF-8";
/* TOP：FVより下のセクション。fv/reference.css（色・書体・ボタン・ヘッダー・FV）の上に重ねる
   白黒だけ。区切りは罫線、数字と英字ラベルは等幅。角丸・影・グラデーションは使わない */

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 24px; }
em { font-style: normal; }
.u-sp { display: none; }
/* 左右の余白は全体で共通（:root に置き、背景の番号・FVもこの値で揃える） */
:root { --pad: 96px; }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--pad); }

/* ---------- セクション共通 ---------- */
.sec { padding: 72px 0; }
.sec__idx { display: flex; align-items: baseline; gap: 16px; padding-top: 14px; border-top: 1px solid var(--ink); font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sec__head { margin-top: 24px; }
.sec__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.sec__pre { font-size: 15px; font-weight: 500; color: var(--sub); }
.sec__title { margin: 0; font-size: clamp(24px, 2.3vw, 34px); font-weight: 700; line-height: 1.5; }
.sec__pre + .sec__title { margin-top: 6px; }
/* 強調は色ではなく下線（黒の細線） */
.sec__title em, .concept__title em { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .22em; }

.link-more { display: inline-flex; gap: 12px; padding-bottom: 4px; border-bottom: 1px solid var(--ink); font-size: 13px; font-weight: 700; }
.link-more span { font-family: var(--mono); transition: transform .2s; }
.link-more:hover span { transform: translateX(3px); }

.btn--line { background: #fff; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--wide { width: 100%; }

/* ---------- 取引先ロゴ ---------- */
.clients { overflow: hidden; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
/* ロゴは横にゆっくり流れ続ける（同じ列を2つ並べて半分ずらす）。マウスを乗せると止まる */
.clients__track { display: flex; width: max-content; animation: clients-marquee 48s linear infinite; }
.clients:hover .clients__track { animation-play-state: paused; }
.clients__list { display: flex; margin: 0; padding: 0; list-style: none; }
.clients__list li { display: grid; place-items: center; width: 200px; height: 72px; border-right: 1px solid var(--line); font: 500 11px var(--mono); letter-spacing: .1em; color: #b0b0b0; }
@keyframes clients-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .clients__track { animation: none; } }

/* FV：上に「コピー｜図」、一番下に診断の帯。最初の画面でロゴの帯まで見える（FVの高さ＝画面−ヘッダー−ロゴの帯） */
/* 高さは中身で決める。画面の高さでは変えない（2026-11-03 西川さん「幅で変わってよいが高さでは変わらないように」・PCも） */
.fv { flex-direction: column; align-items: stretch; min-height: 0; max-height: none; }
.fv .fv__inner { flex: 1; padding-top: 28px; padding-bottom: 28px; }
.fv .fv__scroll { display: none; }
/* 無料サイトスコア診断：メインコピーの下の黒い箱。入力欄とボタンは白い帯にまとめる */
.fv-check { margin-top: 56px; padding: 20px 20px 20px; background: var(--ink); color: #fff; }
.fv-check__title { margin: 0; font-size: 16px; font-weight: 700; }
.fv-check__text { margin: 4px 0 0; font-size: 12px; color: #bdbdbd; }
.fv-check__row { display: flex; gap: 6px; margin-top: 14px; padding: 5px; background: #fff; }
.fv-check__row input { flex: 1; min-width: 0; height: 46px; padding: 0 12px; border: 0; border-radius: 0; font: 400 14px var(--mono); color: var(--ink); }
.fv-check__row input:focus { outline: 2px solid var(--ink); outline-offset: -2px; }
.fv-check__row .btn { height: 46px; min-width: 132px; }
.fv-check__row .btn:hover { background: #3a3a3a; color: #fff; border-color: #3a3a3a; }

/* FV：左にコピー・右に図（2026-11-02 西川さん決定「文字と図は横に並べる・CTAは下」）。診断欄は下の帯 */
.fv .fv__inner { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); align-items: center; gap: 48px; padding: 28px var(--pad); }
.fv .fv__text { display: block; padding: 0; }
.fv .fv__label { transform: none; }
.fv .fv__catch { margin-top: 24px; font-size: clamp(28px, 2.4vw, 34px); line-height: 1.55; }
.fv .fv__catch br { display: inline; }
.fv .fv__catch .gap { display: none; }
.fv .flow { width: 100%; min-width: 0; max-width: none; }
/* 左右の端を全体で揃える：ヘッダー・FV・各セクションとも 最大幅1440px＋左右 --pad */
.fv .fv__inner { max-width: 1440px; }
.header__inner { max-width: 1440px; margin: 0 auto; padding: 0 var(--pad); }

/* FVの整列：コピーの列は中身の幅に合わせ、診断の箱の左右の端をメインコピーの端に揃える */
@media (min-width: 1024px) {
  .fv .fv__inner { grid-template-columns: auto minmax(0, 1fr); }
  /* 上下の余白はゆとりを持って固定（画面の高さでは変えない・2026-11-03 西川さん） */
  .fv .fv__inner { padding-top: 72px; padding-bottom: 72px; }
  .fv .fv__text { width: fit-content; }
  .fv .fv__catch { white-space: nowrap; }
}

/* ブログ・よくある質問：番号は他のセクションと同じ右上。右の列（カード・質問）の上端を左の見出し（h2）の上端に揃え、上に番号の見える余白をつくる */
@media (min-width: 1024px) {
  .blog__grid .blog__list, .faq__grid .faq__list { margin-top: 48px; }
}

/* 追従バナー（右下）：無料サイトスコア診断 */
.float-banner { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 380px; background: #fff; border: 1px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s, transform .25s; }
.float-banner.is-on { opacity: 1; transform: none; pointer-events: auto; }
.float-banner__link { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; }
.float-banner__score { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 64px; height: 64px; background: var(--ink); color: #fff; font: 700 30px/1 var(--mono); }
.float-banner__score small { font: 500 8px/1 var(--mono); letter-spacing: .14em; }
.float-banner__body b { display: block; font-size: 15px; line-height: 1.4; }
.float-banner__body small { display: block; margin-top: 4px; font-size: 12px; color: var(--sub); }
.float-banner__arrow { font: 500 18px var(--mono); transition: transform .2s; }
.float-banner__link:hover .float-banner__arrow { transform: translateX(4px); }
/* ふだんは黒地（白黒反転・2026-11-03 西川さん）。影は白地＋黒い線のずらし。ホバーで白地に */
.float-banner { transition: opacity .25s, transform .25s, background-color .2s, color .2s; }
.float-banner__score, .float-banner__body small { transition: background-color .2s, color .2s; }
.float-banner { background: var(--ink); color: #fff; box-shadow: 6px 6px 0 -1px #fff, 6px 6px 0 0 var(--ink); }
.float-banner__score { background: #fff; color: var(--ink); }
.float-banner__body small { color: #cfcfcf; }
.float-banner:hover { background: #fff; color: var(--ink); }
.float-banner:hover .float-banner__score { background: var(--ink); color: #fff; }
.float-banner:hover .float-banner__body small { color: var(--sub); }

/* ---------- 01 コンセプト ---------- */
.concept__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; margin-top: 32px; align-items: start; }
.concept__title { margin: 0; font-size: clamp(26px, 2.5vw, 36px); line-height: 1.5; }
.concept__title span { display: block; padding: 10px 0; }
.concept__text { padding-top: 14px; font-size: 16px; line-height: 2; color: var(--sub); }
.concept__text p { margin: 0; }
.concept__text p + p { margin-top: 1.4em; }

/* ---------- 02 課題 ---------- */
.problem .sec__head { text-align: center; }
.audit { margin: 32px auto 0; max-width: 1000px; }
.audit__svg { display: block; width: 100%; height: auto; overflow: visible; }
.a-line { fill: none; stroke: var(--ink); stroke-width: 1; }
.a-soft { stroke: var(--line); }
.a-fill { fill: #e6e6e6; transition: fill .3s, stroke .3s; stroke: transparent; stroke-width: 2; }
.pin { opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.pin__line { fill: none; stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 3; }
.pin__box { fill: var(--ink); }
.pin__num { fill: #fff; }
.pin__n { font: 700 14px var(--mono); fill: var(--ink); text-anchor: middle; }
.pin__t { font: 700 18px var(--ff); fill: #fff; } /* PCで約15px（図は0.85倍で表示）・2026-11-03 西川さん「テキストが小さすぎ」 */
/* 指摘が出たら、該当箇所を黒線で囲む */
.js-audit.s1 .pin[data-n="1"], .js-audit.s2 .pin[data-n="2"], .js-audit.s3 .pin[data-n="3"], .js-audit.s4 .pin[data-n="4"] { opacity: 1; transform: none; }
.js-audit.s1 .a-t1, .js-audit.s2 .a-t2, .js-audit.s3 .a-t3, .js-audit.s4 .a-t4 { fill: #fff; stroke: var(--ink); }
.audit__list { display: none; }

.cycle { margin-top: 48px; }
.cycle__lead { margin: 0; text-align: center; font-size: 20px; font-weight: 700; }
.cycle__list { display: grid; grid-template-columns: repeat(3, 1fr); margin: 24px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.cycle__list li { position: relative; padding: 28px 32px 32px; border-right: 1px solid var(--line); text-align: center; }
.cycle__list li:last-child { border-right: 0; }
/* 3つの間の矢印は置かない（2026-11-03 西川さん「矢印いらん」・PC・スマホ共通） */
.cycle__no { font: 700 18px var(--mono); }
.cycle__icon { display: block; width: 120px; height: 80px; margin: 20px auto 22px; fill: none; stroke: var(--ink); stroke-width: 2; }
.cycle__icon rect { fill: var(--ink); stroke: none; }
.cycle__icon .dash { stroke-width: 1; stroke-dasharray: 3 3; }
.cycle__icon text { fill: var(--sub); stroke: none; font: 500 10px var(--ff); }
.cycle__list h4 { margin: 0; font-size: 16px; line-height: 1.7; }

/* ---------- 03 成果 ---------- */
.results__list { display: grid; grid-template-columns: repeat(3, 1fr); margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.results__list li { padding: 32px 32px 40px; border-right: 1px solid var(--line); }
.results__list li:first-child { padding-left: 0; }
.results__list li:last-child { border-right: 0; }
.results__list h3 { margin: 0; font-size: 16px; }
.results__meta { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.results__mark, .results__notes { display: none; }
.ba { display: flex; align-items: flex-end; gap: 16px; margin-top: 28px; font-family: var(--mono); }
.ba span { display: block; font-size: 10px; font-weight: 500; letter-spacing: .14em; color: var(--muted); }
.ba b { display: block; font-weight: 500; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ba i { font-style: normal; }
.ba small { margin-left: 2px; font-family: var(--ff); font-size: .45em; font-weight: 700; }
.ba__b b { font-size: 28px; color: var(--muted); }
.ba__a b { font-size: 48px; font-weight: 700; }
.ba__arrow { padding-bottom: 8px; font-size: 18px !important; color: var(--ink) !important; letter-spacing: 0 !important; }

/* ---------- 04 制作実績 ---------- */
.works__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 28px 0 0; padding: 0; list-style: none; }
.works__list a { display: block; }
.works__list h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 13px; font-weight: 500; }
.works__list h3::before { content: ""; width: 7px; height: 7px; background: var(--ink); }
.works__img { aspect-ratio: 16 / 10; background: #eee; outline: 1px solid var(--line); outline-offset: -1px; transition: outline-color .2s; }
.works__list a:hover .works__img { outline-color: var(--ink); }
.works__type { margin: 10px 0 0; font: 500 12px var(--ff); color: var(--muted); }

/* ---------- 05 無料サイト診断 ---------- */
.sitecheck__box { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 64px; margin-top: 24px; padding: 48px; border: 1px solid var(--ink); }
.sitecheck__title { margin: 0; font-size: clamp(22px, 2vw, 28px); line-height: 1.55; }
.sitecheck__text { margin: 16px 0 0; font-size: 14px; color: var(--sub); }
.sitecheck__form { display: flex; margin-top: 28px; max-width: 560px; }
.sitecheck__form input { flex: 1; min-width: 0; height: 56px; padding: 0 14px; border: 1px solid var(--ink); border-right: 0; border-radius: 0; font: 400 14px var(--mono); }
.sitecheck__form input:focus { outline: 2px solid var(--ink); outline-offset: -2px; }
.sitecheck__form .btn { min-width: 240px; }
.sitecheck__note { margin: 12px 0 0; font-size: 11px; color: var(--muted); }
.score { padding: 0 0 0 40px; border-left: 1px solid var(--line); }
.score__head { display: flex; align-items: center; gap: 18px; padding-bottom: 18px; }
.score__rank { display: grid; place-items: center; width: 64px; height: 64px; background: var(--ink); color: #fff; font: 700 34px var(--mono); }
.score__label { margin: 0; font-size: 15px; font-weight: 700; }
.score__sub { margin: 0; font: 500 11px var(--ff); color: var(--muted); }
.score__rows { margin: 0; }
.score__rows div { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); font-size: 13px; font-weight: 500; }
.score__rows dd { margin: 0; font: 700 18px var(--mono); }
.score__more { margin: 14px 0 10px; font-size: 11px; color: var(--sub); }

/* ---------- 06 進め方（黒地） ---------- */
.process { background: var(--ink); color: #fff; }
.process .sec__idx { border-top-color: #fff; color: #9a9a9a; }
.process .sec__pre { color: #bdbdbd; }
.process__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; margin-top: 24px; align-items: start; }
.process__text { margin: 28px 0 0; font-size: 15px; line-height: 2; color: #d0d0d0; }
.process__link { margin-top: 32px; min-width: 300px; }
.schedule__label { margin: 0 0 12px; font-size: 12px; font-weight: 500; color: #9a9a9a; }
.steps { position: relative; margin: 0; padding: 0; list-style: none; }
.steps li { position: relative; display: grid; grid-template-columns: 96px 64px minmax(0, 1fr); gap: 0 16px; padding: 28px 0; border-top: 1px solid #444; }
.steps li:last-child { border-bottom: 1px solid #444; }
.steps__when { margin: 6px 0 0; font: 500 12px var(--ff); color: #9a9a9a; }
.steps__no { font: 700 30px/1 var(--mono); }
.steps h3 { margin: 0; font-size: 20px; line-height: 1.4; }
.steps li p:not(.steps__when) { margin: 8px 0 0; font-size: 13px; line-height: 1.8; color: #cfcfcf; }


/* ---------- 07 お客様の声 ---------- */
.voice__list { display: grid; grid-template-columns: repeat(3, 1fr); margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.voice__list li { display: flex; flex-direction: column; padding: 28px 32px 32px; border-right: 1px solid var(--line); }
.voice__list li:first-child { padding-left: 0; }
.voice__list li:last-child { border-right: 0; padding-right: 0; }
.voice__who { display: flex; align-items: center; gap: 12px; }
.voice__who p { margin: 0; font-size: 12px; color: var(--sub); }
.voice__logo { width: 44px; height: 44px; background: #eee; outline: 1px solid var(--line); outline-offset: -1px; flex-shrink: 0; }
.voice__list h3 { margin: 18px 0 0; font-size: 16px; line-height: 1.7; }
.voice__text { flex: 1; margin: 10px 0 20px; font-size: 13px; line-height: 1.9; color: var(--sub); }
.voice__list .link-more { align-self: flex-start; }

/* ---------- 08 提携先 ---------- */
.alliance__list { display: grid; grid-template-columns: repeat(4, 1fr); margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.alliance__list li { display: grid; place-items: center; height: 120px; border-right: 1px solid var(--line); font: 500 11px var(--mono); letter-spacing: .1em; color: #b0b0b0; }
.alliance__list li:last-child { border-right: 0; }
/* ロゴが届くまでは社名の文字（灰色の仮置きに見えないよう、濃い色・大きめ）。3社なので3列（2026-11-07） */
.alliance__list { grid-template-columns: repeat(3, 1fr); }


/* ---------- 09 お役立ち資料 ---------- */
.download__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin: 28px 0 0; padding: 0; list-style: none; }
.download__list li { display: flex; flex-direction: column; }
.download__cover { aspect-ratio: 16 / 9; background: #eee; outline: 1px solid var(--line); outline-offset: -1px; }
.download__list h3 { margin: 18px 0 0; font-size: 16px; }
.download__list p { flex: 1; margin: 8px 0 18px; font-size: 13px; line-height: 1.9; color: var(--sub); }

/* ---------- 10 ブログ ---------- */
.blog__grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 64px; align-items: start; padding-top: 14px; position: relative; }
.blog__grid .sec__idx, .faq__grid .sec__idx { padding-top: 0; border-top: 0; }
/* 左右の列をまたいで、中身の端から端まで1本の線 */
.blog__grid::before, .faq__grid::before, .cta__grid::before { content: ""; position: absolute; top: 0; left: var(--pad); right: var(--pad); border-top: 1px solid var(--ink); }
.cta__grid::before { border-top-color: #fff; }

/* ---------- 11 よくあるご質問 ---------- */
.faq__grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 64px; align-items: start; padding-top: 14px; position: relative; }
.faq__list { border-top: 1px solid var(--line); margin-top: 0; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { position: relative; display: flex; align-items: center; gap: 16px; padding: 22px 48px 22px 0; font-size: 15px; font-weight: 500; cursor: pointer; list-style: none; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; position: absolute; right: 8px; font: 500 20px var(--mono); transition: transform .2s; }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list summary:hover { text-decoration: underline; text-underline-offset: .2em; }
.faq__q { font: 700 15px var(--mono); }
.faq__list details p { margin: 0; padding: 0 0 22px 31px; font-size: 14px; line-height: 1.9; color: var(--muted); }

/* ---------- 12 お知らせ ---------- */
.news__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 28px 0 0; padding: 0; list-style: none; }
.news__list a { display: block; }
.news__list a:hover h3 { text-decoration: underline; text-underline-offset: .2em; }
.news__list a { padding-top: 14px; border-top: 1px solid var(--ink); }
.news__meta { display: flex; align-items: center; gap: 12px; margin: 0; }
.news__tag { padding: 2px 8px; background: var(--ink); color: #fff; font: 500 10px var(--mono); letter-spacing: .06em; }
.news__meta time { font: 500 12px var(--mono); color: var(--muted); }
.news__list h3 { margin: 8px 0 0; font-size: 14px; font-weight: 500; line-height: 1.7; }

/* ---------- お問い合わせ（CTA）：黒地・全幅。右に改善レポートの見本 ---------- */
.cta { padding: 88px 0; background: var(--ink); color: #fff; }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 80px; align-items: start; position: relative; padding-top: 14px; }
.cta__label { margin: 0; padding-top: 0; border-top: 0; font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #9a9a9a; }
.cta__title { margin: 24px 0 0; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.5; }
.cta__lead { margin: 18px 0 0; font-size: 15px; line-height: 2; color: #cfcfcf; }
.cta__get { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid #444; }
.cta__get li { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid #444; font-size: 15px; font-weight: 500; }
.cta__get span { font: 700 13px var(--mono); color: #9a9a9a; }
.cta__btns { display: flex; align-items: center; gap: 28px; margin-top: 32px; flex-wrap: wrap; }
.cta__btns .btn { min-width: 300px; height: 56px; font-size: 15px; }
.cta__sub { display: inline-flex; gap: 10px; padding-bottom: 3px; border-bottom: 1px solid #fff; font-size: 13px; font-weight: 700; }
.cta__sub span { font-family: var(--mono); transition: transform .2s; }
.cta__sub:hover span { transform: translateX(3px); }

/* CTAのURL入力（案C）：入力欄とボタンを白い帯にまとめ、黒地の中でいちばん明るい塊にする */
.cta-form { margin-top: 36px; max-width: 640px; }
.cta-form label { display: block; margin-bottom: 10px; font-size: 15px; font-weight: 700; color: #fff; }
.cta-form__row { display: flex; gap: 6px; padding: 6px; background: #fff; }
.cta-form__row input { flex: 1; min-width: 0; height: 60px; padding: 0 16px; border: 0; border-radius: 0; background: #fff; color: var(--ink); font: 500 16px var(--mono); }
.cta-form__row input::placeholder { color: #9a9a9a; }
.cta-form__row input:focus { outline: 2px solid var(--ink); outline-offset: -2px; }
.cta-form__row button { display: flex; align-items: center; gap: 16px; height: 60px; padding: 0 22px; border: 0; background: var(--ink); color: #fff; font: 700 15px var(--ff); cursor: pointer; white-space: nowrap; transition: background-color .2s; }
.cta-form__row button span { font-family: var(--mono); transition: transform .2s; }
.cta-form__row button:hover { background: #3a3a3a; }
.cta-form__row button:hover span { transform: translateX(3px); }
.cta-form__note { margin: 10px 0 0; font-size: 12px; color: #9a9a9a; }
.cta-form + .cta__btns { margin-top: 20px; }

/* 改善レポートの見本（白い紙） */
.report { margin: 0; }
.report__paper { padding: 28px 28px 24px; background: #fff; color: var(--ink); transform: rotate(-1.2deg); }
.report__head { display: flex; justify-content: space-between; padding-bottom: 10px; border-bottom: 2px solid var(--ink); font: 700 12px var(--mono); letter-spacing: .12em; }
.report__head span + span { font-weight: 500; color: var(--muted); letter-spacing: .04em; }
.report__url { margin: 10px 0 0; font: 400 12px var(--mono); color: var(--muted); }
.report__score { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 18px; align-items: center; margin-top: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.report__score > b { display: grid; place-items: center; width: 72px; height: 72px; background: var(--ink); color: #fff; font: 700 38px var(--mono); }
.report__score dl { margin: 0; }
.report__score dl div { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 8px; padding: 4px 0; font-size: 12px; }
.report__score dd { display: flex; align-items: center; gap: 8px; margin: 0; font: 700 13px var(--mono); }
.report__score dd i { flex: 1; height: 6px; background: #eee; position: relative; }
.report__score dd i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--ink); }
.report__h { margin: 16px 0 0; font-size: 13px; font-weight: 700; }
.report__list { margin: 8px 0 0; padding: 0; list-style: none; }
.report__list li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px; font-weight: 500; }
.report__list span { display: grid; place-items: center; flex-shrink: 0; width: 18px; height: 18px; border: 1.5px solid var(--ink); font: 700 11px var(--mono); }
.report__list em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--muted); white-space: nowrap; }
.report__cap { margin-top: 14px; font-size: 11px; color: #9a9a9a; text-align: right; }
.btn--white { background: #fff; color: var(--ink); border-color: #fff; }
.btn--white:hover { background: transparent; color: #fff; }
.btn--white .btn__arrow, .btn--line .btn__arrow { background: var(--ink); color: #fff; }
.btn--white:hover .btn__arrow { background: #fff; color: var(--ink); }
.btn--line:hover .btn__arrow { background: #fff; color: var(--ink); }
.btn--ghost .btn__arrow { background: #fff; color: var(--ink); }
.btn--ghost:hover .btn__arrow { background: var(--ink); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }

/* ---------- 13 採用 ---------- */
.recruit__grid { margin-top: 28px; }
.recruit__body .sec__title { margin-bottom: 16px; }
.recruit__body p { margin: 0 0 12px; max-width: 640px; font-size: 15px; line-height: 2; color: var(--sub); }
.recruit__body .btn { margin-top: 16px; }

/* ---------- その他のお問い合わせ ---------- */
.other { padding: 0 0 72px; }
.other__box { } /* 上下の線は外した（2026-11-04 西川さん） */
.other__body { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; }
.other__body p { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.8; }
.other__body .btn { min-width: 240px; }

/* ---------- フッター ---------- */
.footer { padding: 64px 0 40px; background: var(--ink); color: #fff; }
.footer__grid { display: flex; justify-content: space-between; gap: 40px; }
.footer__logo { margin: 0; font: 700 40px/1 var(--mono); letter-spacing: .04em; }
.footer__info p:not(.footer__logo) { margin: 20px 0 0; font-size: 12px; line-height: 1.9; color: #cfcfcf; }
.footer__nav ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 32px; margin: 0; padding: 0; list-style: none; font-size: 13px; font-weight: 500; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 32px; } /* PCは1段（2026-11-04 西川さん） */
.footer__nav a:hover, .footer__privacy:hover { text-decoration: underline; text-underline-offset: .2em; }
/* 一番下の行：左にコピーライト、右端にプライバシーポリシー */
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 48px; padding-top: 20px; position: relative; font-size: 11px; color: #9a9a9a; }
.footer__bottom::before { content: ""; position: absolute; top: 0; left: var(--pad); right: var(--pad); border-top: 1px solid #333; }
.footer__copy { font: 500 11px var(--mono); }
@media (max-width: 767px) { .footer__copy { font-size: 10px; } }
.footer__privacy { flex-shrink: 0; color: #cfcfcf; }


/* ---------- セクション番号：右上に背景として大きく（2026-11-02 西川さん「前と同じ位置ででかい方がいい」）。左の小さい番号は外した ---------- */
.sec { position: relative; overflow: hidden; }
.sec[data-no]::before { content: attr(data-no); position: absolute; right: calc(max(0px, (100% - 1440px) / 2) + var(--pad)); top: 50px; z-index: 0; font: 700 clamp(160px, 18vw, 280px)/1 var(--mono); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px #dcdcdc; pointer-events: none; }
.sec > .wrap, .sec > div { position: relative; z-index: 1; }
.process[data-no]::before { -webkit-text-stroke-color: #333; }
.recruit__inner.sec { overflow: visible; }
.recruit__inner.sec[data-no]::before { right: 0; }
/* 無料サイト診断だけは、枠の中を白で塗り、後ろの番号を透けさせない */
.sitecheck__box { position: relative; background: #fff; }


/* ---------- 2026-11-02 西川さんFB：重要な所を大きく・細部の統一 ---------- */
/* 課題の図：指摘の文字が小さい → 図を広げて文字を大きく（図の横幅いっぱい＝指摘の文字 約15px） */
.audit { max-width: 1080px; } /* PCの課題の図：ブラウザの枠は約320px幅に抑え、札の文字は約15px（2026-11-03 西川さん） */
/* 「こう変わります」の矢印：四角に入れて大きく */
.cycle__list h4 { font-size: 17px; }
.cycle__icon .fill { fill: var(--ink); stroke: var(--ink); }
.cycle__icon .w { stroke: #fff; }
/* 無料サイト診断：補足文と結果サンプルの表示 */
.score__more { margin: 18px 0 10px; font-size: 15px; font-weight: 700; color: var(--ink); white-space: nowrap; } /* 1行・太字で目立たせる（2026-11-03 西川さん） */
.score__sample { display: inline-block; margin: 0 0 14px; padding: 3px 10px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; }
/* FVの診断：ボタンは矢印だけ */
.fv-check__go { flex-shrink: 0; display: grid; place-items: center; width: 56px; height: 46px; padding: 0; border: 0; background: var(--ink); cursor: pointer; transition: background-color .2s; }
.fv-check__go { color: #fff; border: 1px solid var(--ink); transition: background-color .2s, color .2s; }
.fv-check__go .btn__arrow { width: auto; height: auto; margin: 0; background: none; color: inherit; font-size: 18px; transition: none; }
.fv-check__go:hover { background: #fff; color: var(--ink); }
/* ボタン全体を一回り大きく */
.btn { height: 56px; min-width: 240px; padding: 0 22px 0 24px; font-size: 16px; } /* ボタンの最低幅240px（PC・スマホ共通・2026-11-03 西川さん）。ヘッダーの「無料で相談する」だけ別 */
.header .header__cta { min-width: 168px; }
.btn--sm { height: 48px; font-size: 14px; }
.btn .btn__arrow { width: 30px; height: 30px; font-size: 15px; }
.btn--sm .btn__arrow { width: 26px; height: 26px; }
/* CTAのボタンの矢印も他と同じ四角に */
.cta-form__row button .btn__arrow { margin-right: -6px; }
.cta-form__row button:hover .btn__arrow { transform: none; }
/* FAQ：開閉部分は白で塗る（後ろの番号を透けさせない） */
.faq__list details { background: #fff; }
/* ブログ：ピックアップ2記事 */
.blog__lead { margin: 16px 0 24px; font-size: 15px; line-height: 2; color: var(--sub); }
.blog__list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 0; padding: 0; list-style: none; }
.blog__list a { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--ink); transition: background-color .2s, color .2s; }
.blog__list a:hover { background: var(--ink); color: #fff; }
.blog__meta { display: flex; align-items: center; gap: 12px; margin: 0; font: 500 12px var(--mono); color: var(--muted); }
.blog__tag { padding: 2px 8px; background: var(--ink); color: #fff; font-size: 11px; letter-spacing: .06em; }
.blog__list a:hover .blog__tag { background: #fff; color: var(--ink); }
.blog__thumb { display: grid; place-items: center; aspect-ratio: 16 / 9; background: #f2f2f2; border-bottom: 1px solid var(--ink); font: 500 11px var(--mono); letter-spacing: .14em; color: #b0b0b0; }
.blog__thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog__body { flex: 1; display: flex; flex-direction: column; padding: 20px 24px 24px; }
.blog__list h3 { flex: 1; margin: 14px 0 16px; font-size: 18px; line-height: 1.6; }
.blog__more.btn__arrow { align-self: flex-end; width: 30px; height: 30px; margin: 0; background: var(--ink); color: #fff; font-size: 15px; }
.blog__list a:hover .blog__more.btn__arrow { background: #fff; color: var(--ink); }
.blog__list a:hover .blog__thumb { border-bottom-color: #fff; }
.blog__more .btn__arrow { width: 26px; height: 26px; background: var(--ink); color: #fff; }
.blog__list a:hover .blog__more .btn__arrow { background: #fff; color: var(--ink); }
@media (max-width: 1023px) { .blog__list { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .blog__list h3 { font-size: 16px; } .btn { height: 52px; font-size: 15px; } }


/* 結果サンプル：無料サイト診断とCTAのレポートで同じ部品・同じ値（総合B／A・C・B）にする */
.score-block__total { display: flex; align-items: center; gap: 16px; padding-bottom: 16px; }
.score-block__total b { display: grid; place-items: center; width: 64px; height: 64px; background: var(--ink); color: #fff; font: 700 34px var(--mono); }
.score-block__total p { margin: 0; font-size: 15px; font-weight: 700; }
.score-block__total small { display: block; margin-top: 2px; font-size: 11px; color: var(--muted); }
.score-block__rows { margin: 0; }
.score-block__rows div { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13px; font-weight: 500; }
.score-block__rows dd { display: flex; align-items: center; gap: 12px; margin: 0; font: 700 16px var(--mono); }
.score-block__rows dd i { position: relative; flex: 1; height: 6px; background: #eee; }
.score-block__rows dd i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--ink); }
.report__head { align-items: center; }
.report__head .score__sample { margin: 0; letter-spacing: 0; font-family: var(--ff); }
.report .score-block { margin-top: 14px; }

/* ---------- 中間幅 ---------- */
@media (max-width: 1279px) {
  :root { --pad: 56px; }
  .fv .fv__inner { gap: 32px; }
  .sitecheck__box { grid-template-columns: 1fr; gap: 40px; }
  .score { padding: 32px 0 0; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 1023px) {
  .fv .fv__inner { grid-template-columns: 1fr; padding: 32px var(--pad); gap: 32px; }
  :root { --pad: 32px; }
  .sec { padding: 56px 0; }
  .sec[data-no]::before { top: 52px; font-size: 120px; }
  .concept__body, .process__grid { grid-template-columns: 1fr; gap: 32px; }
  .works__list { grid-template-columns: repeat(2, 1fr); }
  .results__list { grid-template-columns: 1fr; }
  .results__list li { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .results__list li:last-child { border-bottom: 0; }
  .voice__list, .download__list { grid-template-columns: 1fr; }
  .voice__list li { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .voice__list li:last-child { border-bottom: 0; }
  .download__list { gap: 32px; }
  .alliance__list li { font-size: 15px; }
  .news__list { grid-template-columns: repeat(2, 1fr); }
  .blog__grid, .faq__grid, .recruit__grid { grid-template-columns: 1fr; gap: 28px; }
  .cta__grid { grid-template-columns: 1fr; gap: 48px; }
  .report { max-width: 520px; }
}
/* ---------- SP ---------- */
@media (max-width: 767px) {
  .u-sp { display: inline; }
  .fv .fv__inner { padding: 24px var(--pad); }
  .fv-check__row { flex-direction: column; }
  .fv-check__row input { flex: none; width: 100%; }
  .fv-check__row .btn { width: 100%; }
  .float-banner { right: 12px; left: 12px; bottom: 12px; width: auto; box-shadow: 4px 4px 0 var(--ink); }
  .float-banner__link { grid-template-columns: 48px minmax(0, 1fr) auto; padding: 10px 14px 10px 10px; }
  .float-banner__score { width: 48px; height: 48px; font-size: 22px; }
  .float-banner__score small { font-size: 7px; }
  :root { --pad: 20px; }
  .sec { padding: 48px 0; }
  .sec__head { margin-top: 20px; }
  .sec__head--row { flex-direction: column; align-items: flex-start; }
  .clients__list li { width: 140px; height: 56px; font-size: 10px; }
  .concept__body { margin-top: 32px; }
  .concept__title span { padding: 4px 0; }
  .concept__text { font-size: 15px; }
  /* 図の指摘は小さくなるので、図には番号の囲みだけ残し、文は一覧で出す */
  .pin__box, .pin__t, .pin__line, .pin__num, .pin__n { display: none; }
  .audit { margin-top: 32px; }
  .audit__list { display: grid; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
  .audit__list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; }
  .audit__list span { display: grid; place-items: center; flex-shrink: 0; width: 18px; height: 18px; background: #fff; color: var(--ink); font: 700 11px var(--mono); }
  .js-audit .a-t1, .js-audit .a-t2, .js-audit .a-t3, .js-audit .a-t4 { fill: #fff; stroke: var(--ink); }
  .cycle { margin-top: 36px; }
  .cycle__lead { font-size: 18px; text-align: left; }
  .cycle__list { grid-template-columns: 1fr; }
  .cycle__list li { border-right: 0; border-bottom: 1px solid var(--line); padding: 24px 0; display: grid; grid-template-columns: 40px 96px 1fr; align-items: center; gap: 12px; text-align: left; }
  .cycle__icon { width: 96px; height: 64px; margin: 0; }
  .cycle__list h4 { font-size: 15px; }
    .ba__a b { font-size: 40px; }
  .works__list { grid-template-columns: 1fr; gap: 28px; }
  .sitecheck__box { padding: 28px 20px; }
  .sitecheck__form { flex-direction: column; gap: 8px; }
  .sitecheck__form input { flex: none; width: 100%; height: 52px; border-right: 1px solid var(--ink); }
  .sitecheck__form .btn { width: 100%; }
  .steps li { grid-template-columns: 52px minmax(0, 1fr); }
  .steps__when { grid-column: 1 / -1; margin: 0 0 8px; }
  .steps__no { font-size: 24px; }
  .steps h3 { font-size: 18px; }
  .alliance__list li { height: 88px; }
  .news__list { grid-template-columns: 1fr; gap: 28px; }
  .faq__list summary { font-size: 14px; padding: 18px 36px 18px 0; }
  .cta { padding: 56px 0; }
  .cta__title { font-size: 24px; }
  .cta__btns { flex-direction: column; align-items: stretch; gap: 20px; }
  .cta__btns .btn { min-width: 0; width: 100%; }
  .cta__sub { align-self: flex-start; }
  .cta-form__row { flex-direction: column; gap: 6px; }
  .cta-form__row input { flex: none; width: 100%; height: 56px; }
  .cta-form__row button { justify-content: space-between; height: 52px; } /* 他のボタンと同じ高さ */
  .report__paper { padding: 20px 18px; transform: none; }
  .score-block__total b { width: 56px; height: 56px; font-size: 30px; }
  .score-block__rows div { grid-template-columns: 96px minmax(0, 1fr); }
  /* 移動するだけのボタンは文字の幅に（全幅にするのは申し込みのボタンだけ・2026-11-03 西川さん） */
  .recruit__body .btn, .blog__grid > div > .btn, .process__link { width: auto; min-width: 240px; align-self: flex-start; }
  .other { padding-bottom: 48px; }
  .other__body { flex-direction: column; align-items: stretch; }
  .other__body .btn { width: auto; align-self: flex-start; }
  /* ボタンの最低幅（文字の幅に合わせるボタンも240pxより狭くしない・2026-11-03 西川さん） */
  .btn { min-width: 240px; }
  .footer { padding: 48px 0 32px; }
  .footer__grid { flex-direction: column-reverse; }
  .footer__nav ul { justify-content: flex-start; gap: 12px 24px; }
  .footer__logo { font-size: 32px; }
}


/* =====================================================================
   スマホ・タブレットの基準（2026-11-02 見直し・notes/responsive-review.md）
   基準A：幅320pxで横スクロールなし／タップ44px以上／文字は最小12px／入力欄は16px
   基準B（参考サイト5社を幅375pxで実測）：ヘッダー約60px・h2 約24px・本文14〜15px・
   セクションの上下 約56px・左右20〜30px・ボタン48〜60px
   → スマホの段階：FVコピー26／h2 24／h3 18／本文15／注釈12、余白 56（セクション）／32（ブロック）／16（要素）、ボタン52
   スマホ・タブレット用の指定は、ここにセクション順でまとめる
   ===================================================================== */

/* 成果：BEFORE/AFTER のラベルは同じ高さ、数字は下で揃える（全幅共通） */
.ba { display: grid; grid-template-columns: auto auto auto; justify-content: start; align-items: end; column-gap: 16px; row-gap: 4px; }
.ba__b, .ba__a { display: contents; }
.ba__b span { grid-area: 1 / 1; } .ba__b b { grid-area: 2 / 1; }
.ba__arrow { grid-area: 2 / 2; }
.ba__a span { grid-area: 1 / 3; } .ba__a b { grid-area: 2 / 3; }

/* FVのコピー：PC・スマホとも2行（主コピーの途中では改行しない） */
.fv .fv__catch br.u-sp { display: none; }

/* スマホ・タブレットだけの文言（u-tsp）と PCだけの文言（u-pc）。語を途中で割らない（u-nw・スマホ・タブレットだけ） */
.u-tsp { display: none; }
.u-txt, .u-nw { font-style: normal; }

/* 図・メニューの出し分け */
.flow__svg--sp, .audit__svg--sp, .header__menu, .sp-menu { display: none; }
.flow__svg--sp .out-line { fill: none; }
.pin__num--sp { fill: var(--ink); }
.pin__n--sp { font: 700 15px var(--mono); fill: #fff; text-anchor: middle; }

/* ---------- タブレット・スマホ共通（〜1023px） ---------- */
@media (max-width: 1023px) {
  .u-tsp { display: inline; }
  .u-pc { display: none; }
  .u-nw { white-space: nowrap; }

  /* ヘッダー：56px。ロゴとメニューだけ（2026-11-03 西川さん「ヘッダーにボタンいらん、ハンバーガーだけ」。無料で相談するはメニューの中）。≡は枠なし・押せる範囲は44px */
  :root { --header-h: 56px; }
  .header .header__nav { gap: 8px; }
  .header .header__cta { display: none; }
  .header__menu { position: relative; z-index: 61; display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; margin-right: -12px; padding: 0; border: 0; background: none; cursor: pointer; }
  .header__menu span { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform .2s; }
  .is-menu-open .header__menu span:first-child { transform: translateY(4px) rotate(45deg); }
  .is-menu-open .header__menu span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .sp-menu { display: block; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 60; overflow-y: auto; background: #fff; border-top: 1px solid var(--ink); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
  .is-menu-open .sp-menu { opacity: 1; visibility: visible; }
  body.is-menu-open { overflow: hidden; }
  .sp-menu__inner { padding: 8px var(--pad) 40px; }
  .sp-menu__list { margin: 0; padding: 0; list-style: none; }
  .sp-menu__list a { display: flex; align-items: center; justify-content: space-between; min-height: 60px; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 700; }
  .sp-menu__list a span { font-family: var(--mono); }
  .sp-menu__cta { width: 100%; margin-top: 32px; }
  .sp-menu__sub { display: flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 8px; font-size: 14px; text-decoration: underline; text-underline-offset: .2em; }

  /* FV：コピー → 図 → 診断の順。診断は黒の全幅で、白い箱は置かない（2026-11-03 西川さん） */
  .fv .fv__inner { row-gap: 0; padding-bottom: 0; }
  .fv .fv__text { display: contents; }
  /* ラベルは箱なし（黒い塊は診断の1つだけにする） */
  .fv .fv__label { justify-self: start; padding: 0; background: none; color: var(--muted); font-size: 11px; letter-spacing: .12em; }
  /* コピー：PCと同じ改行（主1行＋副1行）・2行とも同じ大きさ。大きさは画面の幅だけで決める（主コピーが幅いっぱい・上限はPCと同じ34px） */
  .fv .fv__catch { margin-top: 12px; }
  .fv .fv__catch-main, .fv .fv__catch-sub { display: block; font-size: min(34px, calc((100vw - var(--pad) * 2) / 12.4)); font-weight: 700; line-height: 1.5; letter-spacing: .01em; white-space: nowrap; }
  .fv .fv__catch br.fv__catch-br { display: none; }
  .fv .fv-check__text { font-size: 13px; color: #cfcfcf; }
  .fv .flow { order: 3; margin-top: 32px; }
  .fv .fv-check { order: 4; margin: 40px calc(var(--pad) * -1) 0; padding: 28px var(--pad) 32px; }
  /* 入力欄はPCと同じ白い箱（2026-11-03 西川さん） */
  .fv .fv-check__row { margin-top: 16px; }

  /* FV：図はスマホ用（データ3つ → サイトの設計と WHY。分析の段は省き、右側を大きく） */
  .flow__svg--pc { display: none; }
  .flow__svg--sp { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 auto; overflow: visible; }
  /* 図の上のデータは控えめに（2026-11-03 西川さん「上側の文字がデカすぎる」） */
  .flow__svg--sp .in__name { font-size: 11px; }
  .flow__svg--sp .in__val { font-size: 14px; }
  /* 線：薄いと読めないので濃く・まとめて1本で設計図へ */
  .flow__svg--sp .p, .flow__svg--sp .p.is-done { stroke: var(--ink); stroke-width: 1.25; }
  .flow__svg--sp .why text { font-size: 11px; font-weight: 400; } /* 図の上のデータの名前と同じ大きさ（2026-11-03 西川さん） */
  .flow__svg--sp .why__k { font-weight: 700; }

  /* 本文：行間1.8・普通に折り返す（review I-31）。pretty は Safari で行を早めに折り、右端が大きくガタつくので wrap に（2026-11-07 西川さん OK）。
     wrap は .score__more の nowrap（PC 用）を折り返しに戻す役目もある */
  .concept__text p, .sitecheck__text, .steps p, .blog__lead, .recruit__body p, .cta__lead, .score__more, .other__body p { line-height: 1.8; text-wrap: wrap; }
  .audit__list li, .cta__get li, .report__list li { text-wrap: wrap; }
  /* ブログのカード：見出しは文節で切らず、カードの幅いっぱいに流す */
  .blog__list h3 { word-break: normal; text-wrap: pretty; }

  /* ロゴもタップしやすい高さに */
  .header__logo a { display: inline-flex; align-items: center; min-height: 44px; }

  /* 文字は最小12px（タブレットも） */
  .ba span, .sitecheck__note, .score-block__total small, .alliance__list li, .blog__tag { font-size: 12px; }

  /* フッターのリンクはタップしやすい高さに */
  .footer__nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer__privacy { display: inline-flex; align-items: center; min-height: 44px; }

  /* 入力欄：iPhoneで入力時に拡大されないよう16px */
  .fv-check__row input, .sitecheck__form input, .cta-form__row input { font-size: 16px; }
}

/* ---------- タブレット（768〜1023px） ---------- */
@media (min-width: 768px) and (max-width: 1023px) {
  .results__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ba { column-gap: 10px; }
  .ba__b b { font-size: 22px; }
  .ba__a b { font-size: 32px; }
}
@media (min-width: 600px) and (max-width: 1023px) {
  .blog__grid .blog__list { grid-template-columns: 1fr 1fr; }
}

/* ---------- スマホ（〜767px） ---------- */
@media (max-width: 767px) {
  :root { --header-h: 56px; }
  /* セクションの間・英字ラベルと見出しの間を詰める（2026-11-03 西川さん「余白広いのが気になる」） */
  .sec { padding: 40px 0; }
  h2, h3, h4 { word-break: auto-phrase; }

  /* 背景の番号：見出しに重ならないよう小さくし、ラベルの行の右に置く（ラベルの行の高さをとる） */
  .sec[data-no]::before { top: 48px; font-size: 28px; line-height: 1; }
  .sec[data-no] .sec__idx { min-height: 36px; }
  .sec__head { margin-top: 6px; } /* 英字ラベル〜見出し 約34→約16px（2026-11-03 西川さん「もっと詰めていい」） */
  .sec__idx + * { margin-top: 6px !important; } /* 見出しの組み方がちがうセクションも同じ間に */
  .sec:not([data-no]) .sec__idx + * { margin-top: 16px !important; }
  .sec__title, .concept__title, .sitecheck__title, .cta__title { font-size: 24px; line-height: 1.5; }
  .sec__pre { font-size: 14px; }

  /* FV */
  /* 余白はゆとりを持たせつつ、375×660・390×664 で入力欄までスクロールなしで見える範囲に（2026-11-03 西川さん） */
  .fv .fv__inner { padding: 28px var(--pad) 0; }
  .fv .fv__catch { margin-top: 24px; font-size: min(26px, 7.4vw); line-height: 1.5; }
  .fv .flow { margin-top: 36px; }
  .fv .fv-check { margin-top: 28px; padding: 20px var(--pad) 22px; }
  .fv .fv-check__row { flex-direction: row; }
  .fv .fv-check__row input { flex: 1; width: 100%; }

  /* 課題：見出しは左寄せ（他と同じ）。図はページ部分を大きく、番号の札は下の一覧と対応 */
  .problem .sec__head { text-align: left; }
  .audit__svg--pc { display: none; }
  .audit__svg--sp { display: block; width: 100%; max-width: 300px; height: auto; margin: 0; } /* 左端を見出し・一覧の文字にそろえる（2026-11-03 西川さん） */
  .audit .audit__svg--sp .pin__num, .audit .audit__svg--sp .pin__n { display: inline; }
  /* 見出し〜図〜一覧が1画面に入るように詰める（2026-11-03 西川さん） */
  .audit { margin-top: 20px; }
  .audit__list { gap: 6px; margin-top: 12px; }
  /* 見出し→図→一覧の順。一覧は黒い帯をやめ、黒い番号＋黒い文字に（2026-11-03 西川さん「黒背景をなくした方がわかりやすい」） */
  .audit__list li { align-items: flex-start; padding: 4px 0; background: none; color: var(--ink); font-size: 16px; line-height: 1.5; } /* 14→16px（2026-11-03 西川さん「小さすぎ」） */
  .audit__list span { width: 24px; height: 24px; background: var(--ink); color: #fff; font-size: 13px; }

  /* こう変わります：矢印は区切り線の真ん中に */
  .cycle { margin-top: 48px; }
  .cycle__list li { padding: 20px 0; }
  .cycle__list h4 br { display: none; }

  /* 成果：1件をコンパクトに */
  .results__list li { padding: 24px 0; }
  .ba { margin-top: 12px; }
  .ba span { font-size: 12px; }
  .ba__b b { font-size: 26px; }
  .ba__a b { font-size: 40px; }

  /* 無料サイト診断 */
  .sitecheck__note, .score-block__total small { font-size: 12px; }
  .sitecheck__form input { height: 52px; }
  .cta-form__row { flex-direction: column; }

  /* 成果：BEFORE・矢印・AFTER の列の幅を固定して、3件の頭をそろえる */
  .ba { grid-template-columns: 96px 24px auto; column-gap: 8px; }
  /* 成果：上に2件・下に1件（中央）の2段。BEFORE（小）→ AFTER（大）を横に並べる（2026-11-03 西川さん） */
  .results__list { grid-template-columns: 1fr 1fr; }
  .results__list li { padding: 20px 8px; border-bottom: 1px solid var(--line); text-align: center; }
  .results__list li:first-child { padding-left: 8px; border-right: 1px solid var(--line); }
  .results__list li:last-child { grid-column: 1 / -1; justify-self: center; min-width: 50%; border-bottom: 0; }
  .results__list h3 { font-size: 13px; line-height: 1.5; }
  /* 会社・期間は各件に出さず、題に※を付けて下にまとめる（2026-11-03 西川さん「薄字で読みづらい」） */
  .results__meta { display: none; }
  .results__mark { display: inline; position: absolute; margin: -3px 0 0 1px; font-size: 10px; font-weight: 500; line-height: 1; } /* 幅を取らずに題の右肩へ（題が折り返さない） */
  .results__notes { display: block; margin: 12px 0 0; padding: 0; list-style: none; font-size: 12px; line-height: 1.7; color: var(--sub); }
  .ba { grid-template-columns: auto auto auto; justify-content: center; column-gap: 6px; row-gap: 2px; margin-top: 12px; }
  .ba__b span { grid-area: 1 / 1; } .ba__b b { grid-area: 2 / 1; } .ba__arrow { grid-area: 2 / 2; padding-bottom: 4px; font-size: 14px !important; }
  .ba__a span { grid-area: 1 / 3; } .ba__a b { grid-area: 2 / 3; }
  .ba__b b { font-size: 18px; }
  .ba__a b { font-size: 28px; }

  /* ブログ：「ブログを見る」はカードの後に */
  .blog__grid { display: flex; flex-direction: column; gap: 0; }
  .blog__grid > div { display: contents; }
  .blog__grid .blog__list { order: 1; margin-top: 8px; }
  .blog__grid > div > .btn { order: 2; margin-top: 24px; }

  /* 進め方：見出し → スケジュール → ボタンの順に詰める。「月」は見出しと同じ行の右（2026-11-03 西川さん「縦に長すぎ」）。ボタンの文字は他と同じ15px */
  .process__grid { display: flex; flex-direction: column; gap: 0; }
  .process__main { display: contents; }
  .schedule { order: 1; margin-top: 24px; }
  .process .process__link { order: 2; margin-top: 24px; gap: 8px; padding: 0 12px 0 16px; letter-spacing: 0; }
  .schedule__label { margin-bottom: 4px; }
  .steps li { grid-template-columns: 40px minmax(0, 1fr); padding: 16px 0; }
  .steps__when { position: absolute; top: 19px; right: 0; margin: 0; }
  .steps__no { grid-column: 1; grid-row: 1; font-size: 22px; line-height: 1.25; }
  .steps li > div { grid-column: 2; grid-row: 1; padding-right: 64px; }
  .steps li p:not(.steps__when) { margin-top: 4px; margin-right: -64px; line-height: 1.7; }

  /* 提携先 */
  .alliance__list li { font-size: 12px; }

  /* ブログ：参考サイト（MEDS JAPAN の「関連の事例紹介」）の形。左に画像を余白なしで（16:9のまま）、右上にタグ、その下に題（2行・3行目から「…」）。日付は出さない。矢印はカードの右下の角（2026-11-03 西川さん） */
  .blog__grid .blog__list { gap: 12px; }
  .blog__list a { position: relative; flex-direction: row; align-items: stretch; }
  .blog__thumb { flex: none; width: 44%; aspect-ratio: 16 / 9; border-bottom: 0; border-right: 1px solid var(--ink); font-size: 9px; }
  .blog__list a:hover .blog__thumb { border-right-color: #fff; }
  .blog__body { min-width: 0; padding: 6px 8px 0 10px; }
  .blog__meta time { display: none; }
  .blog__tag { padding: 1px 6px; font-size: 12px; white-space: nowrap; }
  .blog__list h3 { flex: none; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 5px 0 0; padding-right: 14px; font-size: 14px; line-height: 1.45; }
  .blog__more.btn__arrow { position: absolute; right: 0; bottom: 0; width: 20px; height: 20px; font-size: 12px; }

  /* 無料サイト診断：外の枠をやめ、「訴求と入力」と「結果サンプル」をそれぞれ黒い枠で囲む（2026-11-03 西川さん） */
  .sitecheck__box { gap: 16px; padding: 0; border: 0; background: none; }
  .sitecheck__main, .sitecheck .score { padding: 24px 20px; border: 1px solid var(--ink); background: #fff; }
  .sitecheck__box { gap: 28px; }
  /* 「結果サンプル」の札は枠線の上に乗せる・ボタンの上の文は1行（幅に合わせて大きさを決める） */
  .sitecheck .score { position: relative; padding-top: 28px; }
  .sitecheck .score__sample { position: absolute; top: -12px; left: 19px; margin: 0; }
  .sitecheck .score__more { font-size: min(15px, calc((100vw - var(--pad) * 2 - 42px) / 22)); line-height: 1.6; }

  /* CTA */
  .cta { padding: 56px 0; }

  /* 追従バナー：PCと同じ黒地の形を、影なし・全幅で画面の下に（2026-11-03 西川さん） */
  .float-banner { left: 0; right: 0; bottom: 0; border: 0; box-shadow: none; padding-bottom: env(safe-area-inset-bottom); }
  .float-banner__link { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; min-height: 68px; padding: 12px var(--pad); } /* 高さ68px（2026-11-03 西川さん「60〜80pxはないと視認できない」） */
  .float-banner__score { width: 44px; height: 44px; gap: 2px; font-size: 22px; }
  .float-banner__score small { font-size: 7px; letter-spacing: .1em; }
  .float-banner__body b { font-size: 15px; line-height: 1.35; }
  .float-banner__body small { margin-top: 2px; font-size: 12px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .float-banner:hover { background: var(--ink); color: #fff; }
  .float-banner:hover .float-banner__score { background: #fff; color: var(--ink); }
  .float-banner:hover .float-banner__body small { color: #cfcfcf; }

  /* フッター：ロゴ→住所→メニュー。リンクはタップしやすい高さに */
  .footer .footer__grid { flex-direction: column; gap: 32px; }
  /* メニューは左端から2列の表にそろえる（PC 用の右寄せ・折り返しが残り、段がずれて崩れていた：2026-11-08 西川さん「SPのフッター崩れすぎ」） */
  .footer__nav { display: block; }
  .footer__nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; width: 100%; font-size: 14px; }
  .footer__contact { margin-top: 0 !important; padding-top: 0 !important; border-top: 0; }
  .footer__nav a { display: flex; align-items: center; min-height: 44px; border-bottom: 1px solid #333; }
  .footer__bottom { flex-direction: column-reverse; align-items: flex-start; gap: 8px; margin-top: 32px; }
  .footer__copy { font-size: 12px; }
  .footer__privacy { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
}

/* ---------- 小さいスマホ（〜374px） ---------- */
@media (max-width: 374px) {
  .sitecheck .score__more { font-size: 13px; white-space: normal; } /* 1行だと12px未満になる幅だけ2行 */
  .cta-form__row button { padding: 0 14px; gap: 10px; font-size: 14px; }
}

/* 診断前の確認モーダル（2026-11-06 西川さん「入力時にモーダルで本人以外禁止を強調」。TOP でも出すので top.css に置く） */
.sc-modal { width: min(560px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 1px solid var(--ink); background: #fff; color: var(--ink); }
.sc-modal::backdrop { background: rgba(0,0,0,.55); }
.sc-modal__inner { padding: 32px 32px 28px; }
/* 見出しを赤い帯で（2026-11-08 西川さん） */
.sc-modal__warn { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 10px 14px; background: #fdf3f2; border-left: 4px solid #c0392b; font-size: 16px; font-weight: 700; color: #c0392b; }
.sc-modal__rule { margin: 0; padding: 0; font-size: 20px; font-weight: 700; line-height: 1.6; word-break: auto-phrase; }
.sc-modal__rule em { white-space: nowrap; font-style: normal; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.sc-modal__sub { margin: 12px 0 0; font-size: 13px; line-height: 1.8; color: var(--sub); }
.sc-modal__url { margin: 16px 0 0; font-size: 12px; color: var(--sub); }
.sc-modal__url span { display: block; }
.sc-modal__url b { display: block; margin-top: 2px; font: 500 14px var(--mono); color: var(--ink); word-break: break-all; }
.sc-modal__btns { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 22px; }
.sc-modal__cancel { height: 56px; padding: 0 20px; border: 1px solid var(--line); background: #fff; font: 700 14px var(--ff); color: var(--ink); cursor: pointer; }
.sc-modal__cancel:hover { border-color: var(--ink); }
@media (max-width: 767px) {
  .sc-modal__inner { padding: 22px 18px 18px; }
  .sc-modal__warn { font-size: 15px; }
  .sc-modal__rule { font-size: 17px; }
  .sc-modal__btns { flex-direction: column-reverse; align-items: stretch; gap: 8px; }
  .sc-modal__go { width: 100%; min-width: 0; }
  .sc-modal__cancel { height: 48px; }
}
.sc-modal .sp-only { display: none; }
@media (max-width: 767px) { .sc-modal .sp-only { display: inline; } }

/* 提携先：ロゴだけを並べる（2026-11-07 西川さん）。高さをそろえて中央に置く。色はそのまま・リンクは張らない（同日 西川さん） */
.alliance .alliance__list li { padding: 0 24px; }
.alliance .alliance__list a { display: grid; place-items: center; width: 100%; height: 100%; transition: opacity .2s; }
.alliance .alliance__list a:hover { opacity: .7; }
.alliance .alliance__list img { display: block; width: auto; max-width: 100%; height: 40px; object-fit: contain; }
/* モノクロにする案（.alliance--mono を付けると白黒。マウスを乗せると色） */
.alliance--mono .alliance__list img { filter: grayscale(1) contrast(1.1); opacity: .85; transition: filter .2s, opacity .2s; }
.alliance--mono .alliance__list a:hover img { filter: none; opacity: 1; }
@media (max-width: 767px) { .alliance .alliance__list li { padding: 0 12px; } .alliance .alliance__list img { height: 26px; } }

/* 成果：見出しが2行の欄があっても、BEFORE→AFTER の段を下にそろえる（2026-11-07・実際の数字に直した時） */
.results__list li { display: flex; flex-direction: column; }
.results__list li .results__meta { flex-grow: 1; } /* 業種名の欄を伸ばして下にそろえる（.ba の元の余白はそのまま） */
/* スマホは業種名を隠すので、見出しの方を伸ばして下にそろえる */
@media (max-width: 767px) { .results__list li h3 { flex-grow: 1; } }

/* FV の図：INPUT は分析手法の名前（数字なし）・真ん中は「コンセプト・訴求軸を開発」（2026-11-07 西川さん） */
.flow__svg .in__method { font: 700 16px var(--ff); fill: var(--ink); letter-spacing: .02em; }
.flow__svg--pc .node__label { font-size: 12px; font-weight: 700; fill: var(--ink); }
.flow__svg--sp .in__method { font-size: 13px; }
.flow__svg--sp .node__label--sp { font: 700 9.5px var(--ff); fill: var(--ink); }

/* 診断の入力欄の下の同意の一文（2026-11-08 西川さん） */
.sc-agree { margin: 8px 0 0; font-size: 12px; line-height: 1.7; color: var(--sub); }
.sc-agree a { text-decoration: underline; text-underline-offset: .2em; color: inherit; }
.fv .sc-agree { color: #cfcfcf; }
