/*
 * style.css … ウエストオートサービス 試作サイトの見た目(トップページとお問い合わせページで共通)
 *
 * ・旧サイト(ChatGPT のサイト公開機能)で実際に使われていた CSS を、1つの指定を1行に並べ直したものです。
 *   見た目は旧サイトと同じです。各ブロックの前に「どこの指定か」のコメントを付けています。
 * ・同じ部品の指定が、ファイルの中で何か所かに分かれています(作り直しを重ねた名残)。
 *   CSS は「後(下)に書いた指定が勝つ」ので、直すときはクラス名(例: .home-hero)でファイル内を検索し、
 *   いちばん下にある指定を直すか、ファイルの最後の「追加の指定」に書き足してください。
 * ・「@media (max-width: 720px) { … }」の中は、画面幅がその数字以下(スマホなど)のときだけ効く指定です。
 * ・色の決まり(--red: 赤、--blue: 青、--navy: 紺 など)は、すぐ下の :root にあります。
 */

/* ---------- 全体(色の決まり・文字・リンク・画像の基本) ---------- */
:root { --ink: #111b3f; --navy: #111f5a; --blue: #1d2b78; --red: #ed1b2f; --stone: #eef1f7; --paper: #fff; --line: rgba(17, 27, 63, 0.16); --font-jp: "Zen Kaku Gothic New","Yu Gothic",YuGothic,sans-serif; --font-tech: "Barlow Condensed","Arial Narrow",Arial,sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); margin: 0; font-family: Noto Sans JP,Yu Gothic,YuGothic,Hiragino Kaku Gothic ProN,sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- 共通パーツ(小見出し・番号の丸・ボタン) ---------- */
.eyebrow { color: #6d747b; letter-spacing: .22em; margin: 0 0 22px; font: 700 10px Arial,sans-serif; }
.eyebrow.light { color: rgba(255, 255, 255, 0.6); }
.section { padding: 120px max(5vw,52px); }
.section-kicker { align-items: center; gap: 20px; margin-bottom: 76px; display: flex; }
.section-kicker span { border: 1px solid var(--line); border-radius: 50%; place-items: center; width: 38px; height: 38px; font: 700 10px Arial,sans-serif; display: grid; }
.section-kicker p { letter-spacing: .22em; margin: 0; font: 700 10px Arial,sans-serif; }
.section-kicker.light span { border-color: rgba(255, 255, 255, 0.24); }

/* ---------- ヘッダー(ロゴ・メニュー・電話番号) ---------- */
.site-header { z-index: 20; height: 92px; color: var(--blue); background: #fff; border-bottom: 1px solid rgba(17, 27, 63, 0.16); align-items: center; padding: 0 3.8vw; display: flex; position: absolute; inset: 0 0 auto; }
.brand { margin-right: auto; }
.brand img { width: 158px; }
.desktop-nav { gap: 36px; margin-right: 40px; font-size: 11px; font-weight: 800; display: flex; }
.desktop-nav a { padding: 37px 0; position: relative; }
.desktop-nav a:after { content: ""; background: var(--red); height: 3px; transition: all .25s; position: absolute; bottom: 26px; left: 0; right: 100%; }
.desktop-nav a:hover:after { right: 0; }
.header-contact { background: var(--blue); color: #fff; flex-direction: column; justify-content: center; align-self: stretch; min-width: 220px; padding: 0 28px; display: flex; }
.header-contact span { letter-spacing: .2em; opacity: .7; font: 700 8px Arial,sans-serif; }
.header-contact strong { font: 700 20px Arial,sans-serif; }
.mobile-menu { display: none; }

/* ---------- 共通パーツ(小見出し・番号の丸・ボタン) ---------- */
.button { border: 1px solid; justify-content: space-between; align-items: center; min-width: 215px; min-height: 60px; padding: 0 24px; font-size: 12px; font-weight: 800; transition: all .2s; display: inline-flex; }
.button.solid { background: var(--red); border-color: var(--red); }
.button.solid:hover { color: var(--ink); background: #fff; border-color: #fff; transform: translateY(-2px); }

/* ---------- トップ:02 技術・品質 ---------- */
.intro { background: var(--paper); }
.intro-main { grid-template-columns: 1.1fr .9fr; gap: 12vw; display: grid; }
.intro h2, .work-copy h2, .process h2, .facility h2, .consult-copy h2, .company h2, .contact h2 { letter-spacing: -.055em; margin: 0; font-size: clamp(46px,5.3vw,80px); line-height: 1.08; }
.intro h2 em { color: var(--red); font-style: normal; }
.intro-text { padding-top: 12px; }
.intro-text p { color: #616970; margin: 0 0 23px; font-size: 13px; line-height: 2.15; }
.craft-evidence { border-top: 1px solid var(--line); border-left: 1px solid var(--line); grid-template-columns: repeat(3,1fr); margin-top: 90px; display: grid; }
.craft-evidence article { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; min-height: 330px; padding: 38px 34px; }
.craft-evidence small { color: var(--red); letter-spacing: .16em; font: 800 9px Arial,sans-serif; }
.craft-evidence h3 { margin: 45px 0 22px; font-size: 22px; line-height: 1.45; }
.craft-evidence p { color: #697077; margin: 0; font-size: 11px; line-height: 2; }

/* ---------- トップ:03 事業内容 ---------- */
.work { background: #fff; }
.work-feature { grid-template-columns: 1.14fr .86fr; display: grid; }
.work-image { background: #ccc; min-height: 720px; position: relative; overflow: hidden; }
.work-image img { object-fit: cover; filter: saturate(.7); width: 100%; height: 100%; }
.work-image span { background: var(--navy); color: #fff; letter-spacing: .14em; padding: 10px 13px; font: 700 9px Arial,sans-serif; position: absolute; bottom: 26px; left: 30px; }
.work-copy { background: var(--stone); flex-direction: column; justify-content: center; padding: 85px clamp(40px,6vw,100px); display: flex; }
.work-copy h2 { font-size: 64px; }
.work-copy>p:not(.eyebrow) { color: #596169; margin: 28px 0; font-size: 13px; line-height: 2.1; }
.work-copy ul { border-top: 1px solid var(--line); grid-template-columns: 1fr 1fr; margin: 0; padding: 0; list-style: none; display: grid; }
.work-copy li { border-bottom: 1px solid var(--line); padding: 13px 0; font-size: 11px; font-weight: 700; }

/* ---------- 共通パーツ(小見出し・番号の丸・ボタン) ---------- */
.text-link { border-bottom: 1px solid var(--ink); justify-content: space-between; margin-top: 34px; padding-bottom: 13px; font-size: 11px; font-weight: 800; display: flex; }
.text-link span { color: var(--red); font-size: 18px; }

/* ---------- トップ:03 事業内容 ---------- */
.work-secondary { grid-template-columns: repeat(3,1fr); display: grid; }
.work-secondary article { border-right: 1px solid var(--line); min-height: 330px; padding: 45px 4vw; position: relative; }
.work-secondary article>span { color: #a1a6aa; font: 700 10px Arial,sans-serif; position: absolute; top: 24px; right: 26px; }
.work-secondary h3 { margin: 0 0 18px; font-size: 25px; }
.work-secondary p:not(.eyebrow) { color: #687076; margin: 0; font-size: 12px; line-height: 1.9; }
.work-secondary a { border-top: 1px solid var(--line); padding-top: 17px; font-size: 10px; font-weight: 800; position: absolute; bottom: 38px; left: 4vw; right: 4vw; }

/* ---------- トップ:04 修理の工程 ---------- */
.process { background: var(--navy); color: #fff; }
.process-heading { grid-template-columns: 1fr .72fr; align-items: end; gap: 10vw; display: grid; }
.process-heading>p { color: rgba(255, 255, 255, 0.58); margin: 0; font-size: 13px; line-height: 2; }
.process ol { border-top: 1px solid rgba(255, 255, 255, 0.22); grid-template-columns: repeat(6,1fr); margin: 72px 0 0; padding: 0; list-style: none; display: grid; }
.process li { border-right: 1px solid rgba(255, 255, 255, 0.18); flex-direction: column; justify-content: space-between; min-height: 150px; padding: 22px 18px; display: flex; }
.process li:first-child { border-left: 1px solid rgba(255, 255, 255, 0.18); }
.process li b { color: var(--red); font: 700 10px Arial,sans-serif; }
.process li span { font-size: 11px; font-weight: 700; line-height: 1.6; }

/* ---------- トップ:05 工場設備 ---------- */
.facility { background: var(--paper); }
.facility-heading { grid-template-columns: 1fr .6fr; align-items: end; gap: 10vw; margin-bottom: 60px; display: grid; }
.facility-heading>p { color: #656d73; margin: 0; font-size: 13px; line-height: 2; }
.facility-grid { background: #cfd1d0; border: 1px solid #cfd1d0; grid-template-columns: repeat(4,1fr); gap: 1px; display: grid; }
.facility-grid article { background: #fff; padding-bottom: 28px; }
.facility-image { background: #ccc; height: 220px; position: relative; overflow: hidden; }
.facility-image img { object-fit: cover; filter: grayscale(.4); width: 100%; height: 100%; transition: all .35s; }
.facility-grid article:hover img { filter: grayscale(0); transform: scale(1.04); }
.facility-image span { background: var(--red); color: #fff; border-radius: 50%; place-items: center; width: 28px; height: 28px; font: 700 9px Arial,sans-serif; display: grid; position: absolute; bottom: 14px; left: 15px; }
.facility-grid article>small { color: #8b9297; letter-spacing: .16em; margin: 23px 22px 6px; font: 700 8px Arial,sans-serif; display: block; }
.facility-grid h3 { margin: 0 22px 12px; font-size: 16px; }
.facility-grid p { color: #747b81; margin: 0 22px; font-size: 10px; line-height: 1.8; }

/* ---------- トップ:相談の帯(職人が答えます) ---------- */
.consult-band { background: var(--blue); color: #fff; grid-template-columns: 1fr 1fr; display: grid; }
.consult-image { min-height: 650px; overflow: hidden; }
.consult-image img { object-fit: cover; filter: saturate(.55)contrast(1.05); width: 100%; height: 100%; }
.consult-copy { flex-direction: column; justify-content: center; padding: 90px clamp(42px,6vw,100px); display: flex; }
.consult-copy h2 { font-size: 60px; }
.consult-copy>p:not(.eyebrow) { color: rgba(255, 255, 255, 0.65); margin: 30px 0 38px; font-size: 13px; line-height: 2; }

/* ---------- 共通パーツ(小見出し・番号の丸・ボタン) ---------- */
.light-button { border-color: rgba(255, 255, 255, 0.5); }
.light-button:hover { color: var(--ink); background: #fff; }

/* ---------- トップ:06 会社案内・地図 ---------- */
.company { background: var(--stone); }
.company-grid { grid-template-columns: 1fr .9fr; gap: 10vw; display: grid; }
.company-grid>div>p { color: #626a71; max-width: 600px; margin: 32px 0 0; font-size: 13px; line-height: 2.1; }
.company dl { border-top: 1px solid var(--line); margin: 0; }
.company dl div { border-bottom: 1px solid var(--line); grid-template-columns: 100px 1fr; padding: 18px 0; display: grid; }
.company dt { color: #7b8288; font-size: 10px; }
.company dd { margin: 0; font-size: 12px; line-height: 1.8; }
.goopit-link { border-bottom: 1px solid var(--ink); font-weight: 800; }
.goopit-link span { color: var(--red); margin-left: 6px; }
.map-embed { border: 1px solid var(--line); background: #d8d7d2; height: 500px; margin-top: 72px; overflow: hidden; }
.map-embed iframe { filter: grayscale(.22)contrast(1.03); border: 0; width: 100%; height: 100%; display: block; }

/* ---------- トップ:お問い合わせ(電話・フォーム・LINE) ---------- */
.contact { background: var(--navy); color: #fff; text-align: center; border-top: 8px solid var(--red); padding: 120px max(6vw,60px); }
.contact>p:not(.eyebrow):not(.insurance-note) { color: rgba(255, 255, 255, 0.68); margin: 30px 0 42px; font-size: 13px; }
.contact-actions { grid-template-columns: repeat(3,1fr); gap: 10px; max-width: 1120px; margin: auto; display: grid; }
.contact-actions a { text-align: left; min-height: 150px; color: var(--ink); background: #fff; flex-direction: column; justify-content: center; padding: 28px 30px; transition: all .2s; display: flex; }
.contact-actions .contact-form-link { background: var(--red); color: #fff; }
.contact-actions .contact-line-link { color: #fff; background: #06c755; }
.contact-actions a:hover { transform: translateY(-3px); }
.contact-actions small { opacity: .6; font-size: 9px; }
.contact-actions strong { margin: 7px 0; font: 800 25px Arial,sans-serif; }
.contact-actions span { opacity: .65; font-size: 10px; }
.insurance-note { color: rgba(255, 255, 255, 0.45)!important; margin: 25px 0 0!important; font-size: 9px!important; }

/* ---------- フッター ---------- */
footer { color: #fff; background: #0b164b; border-top: 1px solid rgba(255, 255, 255, 0.12); grid-template-columns: 180px 1fr auto; align-items: center; gap: 35px; padding: 44px max(5vw,52px); display: grid; }
footer img { background: #fff; width: 158px; padding: 9px 11px; }
footer div { border-left: 1px solid rgba(255, 255, 255, 0.16); padding-left: 35px; }
footer p { color: rgba(255, 255, 255, 0.58); margin: 3px 0; font-size: 9px; }
footer small { color: rgba(255, 255, 255, 0.35); letter-spacing: .12em; font: 700 8px Arial,sans-serif; }

/* ---------- スマホ画面の下に固定されるボタン ---------- */
.mobile-cta { display: none; }

/* ========== 画面幅 1050px 以下のときだけ効く指定 ========== */
@media (max-width: 1050px) {
  /* ヘッダー(ロゴ・メニュー・電話番号) */
  .desktop-nav, .header-contact { display: none; }
  .mobile-menu { margin-left: auto; display: block; }
  .mobile-menu summary { cursor: pointer; flex-direction: column; justify-content: center; gap: 7px; width: 48px; height: 48px; list-style: none; display: flex; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { background: #fff; width: 28px; height: 2px; }
  .mobile-menu nav { background: var(--navy); padding: 25px 35px; display: grid; position: absolute; top: 92px; left: 0; right: 0; }
  .mobile-menu nav a { border-bottom: 1px solid rgba(255, 255, 255, 0.18); padding: 15px 0; font-weight: 700; }
  /* トップ:02 技術・品質 */
  .intro-main, .process-heading, .facility-heading, .company-grid { grid-template-columns: 1fr; gap: 42px; }
  .craft-evidence { grid-template-columns: 1fr; }
  .craft-evidence article { min-height: 0; }
  /* トップ:03 事業内容 */
  .work-feature { grid-template-columns: 1fr; }
  .work-image { min-height: 520px; }
  /* トップ:05 工場設備 */
  .facility-grid { grid-template-columns: repeat(2,1fr); }
  /* トップ:04 修理の工程 */
  .process ol { grid-template-columns: repeat(3,1fr); }
  /* トップ:相談の帯(職人が答えます) */
  .consult-band { grid-template-columns: 1fr; }
  .consult-image { min-height: 480px; }
}

/* ========== 画面幅 720px 以下のときだけ効く指定 ========== */
@media (max-width: 720px) {
  /* 共通パーツ(小見出し・番号の丸・ボタン) */
  .section { padding: 82px 22px; }
  .section-kicker { margin-bottom: 50px; }
  /* ヘッダー(ロゴ・メニュー・電話番号) */
  .site-header { height: 70px; padding: 0 20px; }
  .brand img { width: 118px; }
  .mobile-menu nav { top: 70px; }
  /* トップ:02 技術・品質 */
  .intro h2, .process h2, .facility h2, .company h2, .contact h2 { font-size: 44px; }
  .intro-text p { font-size: 12px; }
  .craft-evidence { margin-top: 55px; }
  .craft-evidence article { padding: 30px 24px; }
  .craft-evidence h3 { margin-top: 30px; }
  /* トップ:03 事業内容 */
  .work-image { min-height: 380px; }
  .work-copy { padding: 70px 22px; }
  .work-copy h2 { font-size: 48px; }
  .work-copy ul, .work-secondary { grid-template-columns: 1fr; }
  .work-secondary article { border-bottom: 1px solid var(--line); min-height: 290px; padding: 42px 22px; }
  .work-secondary a { left: 22px; right: 22px; }
  /* トップ:04 修理の工程 */
  .process ol { grid-template-columns: repeat(2,1fr); }
  .process li { min-height: 120px; }
  /* トップ:05 工場設備 */
  .facility-grid { grid-template-columns: 1fr; }
  .facility-image { height: 250px; }
  /* トップ:相談の帯(職人が答えます) */
  .consult-image { min-height: 360px; }
  .consult-copy { padding: 74px 22px; }
  .consult-copy h2 { font-size: 44px; }
  /* トップ:06 会社案内・地図 */
  .company dl div { grid-template-columns: 80px 1fr; }
  .map-embed { height: 360px; margin-top: 48px; }
  /* トップ:お問い合わせ(電話・フォーム・LINE) */
  .contact { padding: 85px 22px 105px; }
  .contact-actions { grid-template-columns: 1fr; }
  .contact-actions a { min-height: 130px; padding: 24px; }
  .contact-actions strong { font-size: 24px; }
  /* フッター */
  footer { padding: 42px 22px 100px; display: block; }
  footer div { border: 0; margin: 25px 0; padding: 0; }
  footer small { display: block; }
  /* スマホ画面の下に固定されるボタン */
  .mobile-cta { z-index: 30; grid-template-columns: 1fr 1.15fr; height: 62px; display: grid; position: fixed; bottom: 0; left: 0; right: 0; box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.2); }
  .mobile-cta a { color: var(--ink); background: #fff; place-items: center; font-size: 12px; font-weight: 800; display: grid; }
  .mobile-cta a:last-child { background: var(--red); color: #fff; }
}

/* ========== 端末で「動きを減らす」設定をしている人のときだけ効く指定 ========== */
@media (prefers-reduced-motion: reduce) {
  /* 全体(色の決まり・文字・リンク・画像の基本) */
  html { scroll-behavior: auto; }
  *, :before, :after { transition: none!important; }
}

/* ---------- トップ:03 事業内容 ---------- */
.work-image img { filter: saturate(.88); }

/* ---------- トップ:05 工場設備 ---------- */
.facility-image img { filter: saturate(.86); }
.facility-grid article:hover img { filter: saturate(); }

/* ---------- トップ:相談の帯(職人が答えます) ---------- */
.consult-image img { filter: saturate(.88)contrast(1.02); }

/* ---------- お問い合わせページ ---------- */
.contact-page { background: var(--paper); min-height: 100vh; }
.contact-header { background: var(--navy); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.16); align-items: center; height: 84px; padding: 0 max(4vw,30px); display: flex; }
.contact-header .brand { margin-right: auto; }
.contact-header-phone { border-left: 1px solid rgba(255, 255, 255, 0.16); flex-direction: column; justify-content: center; align-self: stretch; padding-left: 30px; display: flex; }
.contact-header-phone small { opacity: .55; font-size: 9px; }
.contact-header-phone strong { font: 700 19px Arial,sans-serif; }
.contact-hero { background: var(--navy); color: #fff; padding: 90px max(7vw,50px) 100px; }
.contact-hero h1 { letter-spacing: -.06em; max-width: 900px; margin: 0; font-size: clamp(52px,6.8vw,96px); line-height: 1.03; }
.contact-hero>p:last-child { color: rgba(255, 255, 255, 0.6); margin: 30px 0 0; font-size: 13px; }
.contact-form-section { grid-template-columns: minmax(250px,.55fr) minmax(0,1.45fr); align-items: start; gap: 8vw; padding: 100px max(5vw,40px) 130px; display: grid; }
.contact-guidance { position: sticky; top: 35px; }
.contact-guidance h2 { letter-spacing: -.04em; margin: 0; font-size: 34px; }
.contact-guidance>p:not(.eyebrow) { color: #697077; margin: 25px 0 35px; font-size: 12px; line-height: 2; }
.contact-guidance>div { background: var(--stone); border-left: 3px solid var(--red); padding: 24px; }
.contact-guidance>div strong { font-size: 13px; }
.contact-guidance>div p { color: #687078; margin: 10px 0; font-size: 10px; line-height: 1.8; }
.contact-guidance>div a { color: var(--red); font-size: 11px; font-weight: 800; }
.contact-guidance dl { border-top: 1px solid var(--line); grid-template-columns: 90px 1fr; gap: 10px; margin: 32px 0 0; padding-top: 18px; font-size: 10px; display: grid; }
.contact-guidance dt { color: #858b90; }
.contact-guidance dd { margin: 0; font-weight: 700; }

/* ---------- お問い合わせページ:フォーム ---------- */
.form-shell { outline: none; min-width: 0; scroll-margin-top: 24px; }
.form-steps { grid-template-columns: repeat(3,1fr); margin: 0 0 34px; padding: 0; list-style: none; display: grid; }
.form-steps li { color: #999; border-bottom: 2px solid #d6d6d2; gap: 12px; padding: 0 0 15px; display: flex; }
.form-steps li[aria-current=step] { border-color: var(--red); color: var(--ink); }
.form-steps b { color: var(--red); font: 800 10px Arial,sans-serif; }
.form-steps span { font-size: 11px; font-weight: 800; }
.inquiry-form, .confirm-panel, .complete-panel { border: 1px solid var(--line); background: #fff; padding: clamp(28px,4vw,58px); }
.error-summary, .submit-error { border-left: 4px solid var(--red); color: #8b151d; background: #fff1f1; margin-bottom: 30px; padding: 20px 22px; }
.error-summary strong { font-size: 13px; }
.error-summary p, .submit-error p { margin: 5px 0 0; font-size: 11px; }
.form-grid { grid-template-columns: 1fr 1fr; gap: 30px 24px; display: grid; }
.form-field { flex-direction: column; gap: 9px; font-size: 12px; font-weight: 800; display: flex; }
.form-field.full { grid-column: 1/-1; }
.form-field>span, .radio-field legend span { color: var(--red); margin-left: 6px; font-size: 9px; }
.form-field>em { color: #92979b; margin-left: 6px; font-size: 9px; font-style: normal; }
.form-field input, .form-field select, .form-field textarea { width: 100%; color: var(--ink); background: #fff; border: 1px solid #ccd0d2; border-radius: 0; outline: none; font: 500 16px/1.6 inherit; transition: all .2s; }
.form-field input, .form-field select { height: 54px; padding: 0 15px; }
.form-field textarea { resize: vertical; padding: 15px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21, 60, 97, 0.12); }
.form-field input[aria-invalid=true], .form-field textarea[aria-invalid=true] { border-color: var(--red); }
.form-field input::placeholder, .form-field textarea::placeholder { color: #a9aeb1; }
.radio-field { border: 0; margin: 0 0 36px; padding: 0; }
.radio-field legend { margin-bottom: 15px; font-size: 12px; font-weight: 800; }
.category-grid { grid-template-columns: repeat(3,1fr); gap: 8px; display: grid; }
.category-grid label { cursor: pointer; border: 1px solid #ccd0d2; align-items: center; min-height: 54px; padding: 0 15px; font-size: 11px; font-weight: 700; transition: all .2s; display: flex; }
.category-grid label.selected { border-color: var(--blue); background: #eef3f7; }
.category-grid input { width: 15px; height: 15px; accent-color: var(--red); margin: 0 10px 0 0; }
.field-error { color: var(--red); margin: 0; font-size: 10px; font-weight: 700; }
.character-count { color: #91969a; margin-left: auto; font-size: 9px; font-weight: 500; }
.privacy-check { background: var(--stone); cursor: pointer; align-items: flex-start; margin-top: 34px; padding: 22px; font-size: 11px; line-height: 1.7; display: flex; }
.privacy-check input { width: 18px; height: 18px; accent-color: var(--red); margin: 2px 12px 0 0; }
.privacy-check a { font-weight: 800; text-decoration: underline; }
.privacy-error { margin: 8px 0 0 22px; }
.hp-field { clip: rect(0 0 0 0)!important; width: 1px!important; height: 1px!important; position: absolute!important; overflow: hidden!important; }
.form-primary { background: var(--red); color: #fff; cursor: pointer; border: 0; justify-content: space-between; align-items: center; width: 100%; min-height: 64px; margin-top: 30px; padding: 0 26px; font-size: 12px; font-weight: 800; transition: all .2s; display: flex; }
.form-primary:hover { background: var(--navy); transform: translateY(-1px); }
.form-primary:disabled { opacity: .6; cursor: wait; transform: none; }
.form-primary span { font-size: 18px; }
.confirm-panel>h2, .complete-panel>h2 { letter-spacing: -.045em; margin: 0 0 34px; font-size: clamp(30px,4vw,48px); line-height: 1.2; }
.confirm-panel dl { border-top: 1px solid var(--line); margin: 0; }
.confirm-panel dl div { border-bottom: 1px solid var(--line); grid-template-columns: 150px 1fr; padding: 18px 0; display: grid; }
.confirm-panel dt { color: #777f85; font-size: 10px; }
.confirm-panel dd { overflow-wrap: anywhere; margin: 0; font-size: 12px; line-height: 1.8; }
.confirm-panel .message-row dd { white-space: pre-wrap; }
.submit-error a { margin-top: 10px; font-size: 10px; font-weight: 800; display: inline-block; }
.confirm-actions { grid-template-columns: .75fr 1.25fr; gap: 10px; margin-top: 30px; display: grid; }
.confirm-actions .form-primary { margin: 0; }
.form-back { border: 1px solid var(--line); cursor: pointer; background: #fff; font-size: 10px; font-weight: 800; }
.complete-panel { text-align: center; padding-top: 70px; padding-bottom: 70px; }
.complete-mark { background: var(--red); color: #fff; border-radius: 50%; place-items: center; width: 64px; height: 64px; margin: 0 auto 28px; font-size: 25px; display: grid; }
.complete-panel>p:not(.eyebrow) { color: #687077; max-width: 540px; margin: 0 auto 18px; font-size: 12px; line-height: 2; }
.complete-panel>small { color: #858b8f; letter-spacing: .08em; margin-bottom: 35px; font-size: 9px; display: block; }
.complete-panel>div { justify-content: center; gap: 10px; display: flex; }
.complete-panel .button { color: #fff; text-align: left; }
.complete-phone { color: var(--ink)!important; border-color: var(--line)!important; }

/* ---------- お問い合わせページ ---------- */
.contact-footer { color: #fff; background: #070d13; grid-template-columns: 150px 1fr auto; align-items: center; gap: 30px; padding: 42px max(5vw,40px); display: grid; }
.contact-footer img { filter: brightness(0)invert(); width: 125px; }
.contact-footer p { color: rgba(255, 255, 255, 0.45); border-left: 1px solid rgba(255, 255, 255, 0.15); margin: 0; padding-left: 30px; font-size: 9px; line-height: 1.8; }
.contact-footer small { color: rgba(255, 255, 255, 0.302); letter-spacing: .1em; font: 700 8px Arial,sans-serif; }
.contact-line-cta { color: #fff; background: #06c755; flex-direction: column; margin: 0 0 14px; padding: 22px 24px; transition: all .2s; display: flex; }
.contact-line-cta:hover { background: #05b94e; transform: translateY(-2px); }
.contact-line-cta small { letter-spacing: .16em; opacity: .72; font: 700 8px Arial,sans-serif; }
.contact-line-cta strong { margin: 7px 0 4px; font-size: 15px; }
.contact-line-cta span { opacity: .78; font-size: 9px; }

/* ========== 画面幅 850px 以下のときだけ効く指定 ========== */
@media (max-width: 850px) {
  /* お問い合わせページ */
  .contact-form-section { grid-template-columns: 1fr; gap: 55px; }
  .contact-guidance { position: static; }
  /* お問い合わせページ:フォーム */
  .category-grid { grid-template-columns: repeat(2,1fr); }
}

/* ========== 画面幅 620px 以下のときだけ効く指定 ========== */
@media (max-width: 620px) {
  /* お問い合わせページ */
  .contact-header { height: 70px; padding: 0 20px; }
  .contact-header .brand img { width: 115px; }
  .contact-header-phone small { display: none; }
  .contact-header-phone { min-width: 0; padding-left: 17px; }
  .contact-header-phone strong { font-size: 14px; }
  .contact-hero { padding: 70px 22px 75px; }
  .contact-hero h1 { font-size: 49px; }
  .contact-form-section { padding: 65px 18px 90px; }
  /* お問い合わせページ:フォーム */
  .inquiry-form, .confirm-panel, .complete-panel { padding: 28px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .category-grid label { padding: 0 10px; }
  .confirm-panel dl div { grid-template-columns: 1fr; gap: 8px; }
  .confirm-actions { grid-template-columns: 1fr; }
  .form-back { order: 2; min-height: 54px; }
  .complete-panel>div { flex-direction: column; }
  .complete-panel .button { width: 100%; }
  /* お問い合わせページ */
  .contact-footer { padding: 40px 22px; display: block; }
  .contact-footer p { border: 0; margin: 24px 0; padding: 0; }
  .contact-footer small { display: block; }
}

/* ---------- お問い合わせページ ---------- */
.contact-header { color: var(--blue); border-bottom: 1px solid var(--line); background: #fff; }
.contact-header .brand img { filter: none; width: 158px; }
.contact-header-phone { background: var(--blue); color: #fff; border-left: 0; padding: 0 30px; }
.contact-footer { background: #0b164b; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.contact-footer img { filter: none; background: #fff; width: 150px; padding: 9px 11px; }
.contact-footer p { color: rgba(255, 255, 255, 0.58); }

/* ========== 画面幅 1050px 以下のときだけ効く指定 ========== */
@media (max-width: 1050px) {
  /* ヘッダー(ロゴ・メニュー・電話番号) */
  .mobile-menu summary span { background: var(--blue); }
  .mobile-menu nav { background: var(--blue); color: #fff; }
}

/* ========== 画面幅 620px 以下のときだけ効く指定 ========== */
@media (max-width: 620px) {
  /* お問い合わせページ */
  .contact-header .brand img { width: 130px; }
  .contact-header-phone { padding: 0 17px; }
}

/* ---------- 全体(色の決まり・文字・リンク・画像の基本) ---------- */
body, input, select, textarea, button, h1, h2, h3, .desktop-nav, .mobile-menu nav, .button, .contact-actions strong { font-family: var(--font-jp); }

/* ---------- トップ:02 技術・品質 ---------- */
.intro h2, .work-copy h2, .process h2, .facility h2, .consult-copy h2, .company h2, .contact h2, .contact-hero h1 { letter-spacing: -.045em; font-weight: 900; }

/* ---------- 共通パーツ(小見出し・番号の丸・ボタン) ---------- */
.eyebrow, .section-kicker span, .section-kicker p, .facility-grid article>small, .process li b, .header-contact span, .header-contact strong, .contact-header-phone small, .contact-header-phone strong, .form-steps b, footer small, .contact-footer small { font-family: var(--font-tech); }
.eyebrow, .section-kicker p { letter-spacing: .18em; font-stretch: 75%; }

/* ---------- トップ:01 ご依頼について ---------- */
.audience { background: #fff; scroll-margin-top: 70px; }
.audience-heading { grid-template-columns: 1.05fr .95fr; align-items: end; gap: 10vw; display: grid; }
.audience-heading h2 { letter-spacing: -.045em; margin: 0; font-size: clamp(46px,5.3vw,80px); font-weight: 900; line-height: 1.08; }
.audience-heading>div strong { font-size: 17px; line-height: 1.75; display: block; }
.audience-heading>div p { color: #626a71; margin: 16px 0 0; font-size: 13px; line-height: 2; }
.audience-grid { border-top: 1px solid var(--line); border-left: 1px solid var(--line); grid-template-columns: 1fr 1fr; margin-top: 68px; display: grid; }
.audience-grid article { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); flex-direction: column; min-height: 520px; padding: 55px 5vw; scroll-margin-top: 40px; display: flex; position: relative; }
.audience-grid article:first-child { background: var(--blue); color: #fff; }
.audience-grid article:last-child { background: var(--stone); }
.audience-grid article>small { font: 700 9px var(--font-tech); letter-spacing: .18em; opacity: .58; }
.audience-grid article>span { font: 800 11px var(--font-tech); opacity: .5; position: absolute; top: 30px; right: 34px; }
.audience-grid h3 { letter-spacing: -.04em; margin: 44px 0 24px; font-size: clamp(31px,3.2vw,48px); line-height: 1.25; }
.audience-grid article>p { max-width: 590px; color: inherit; opacity: .72; margin: 0; font-size: 13px; line-height: 2; }
.audience-grid ul { border-top: 1px solid; grid-template-columns: 1fr 1fr; margin: 30px 0 36px; padding: 0; list-style: none; display: grid; }
.audience-grid li { opacity: .7; border-bottom: 1px solid; padding: 12px 0; font-size: 10px; font-weight: 700; }
.audience-grid article>a { border-top: 1px solid; justify-content: space-between; margin-top: auto; padding-top: 18px; font-size: 11px; font-weight: 800; display: flex; }
.audience-grid article>a b { color: var(--red); font-size: 18px; }

/* ---------- お問い合わせページ ---------- */
.contact-guidance>.contact-audience-note { border-left-color: var(--blue); background: #eef1f7; margin-bottom: 14px; }

/* ---------- お問い合わせページ:フォーム ---------- */
.field-help { color: #747b81; margin: -5px 0 15px; font-size: 10px; font-weight: 500; line-height: 1.7; }
.client-type-field { border-bottom: 1px solid var(--line); padding-bottom: 34px; }
.client-type-grid label { min-height: 64px; line-height: 1.5; }

/* ========== 画面幅 1050px 以下のときだけ効く指定 ========== */
@media (max-width: 1050px) {
  /* トップ:01 ご依頼について */
  .audience-heading { grid-template-columns: 1fr; gap: 42px; }
}

/* ========== 画面幅 720px 以下のときだけ効く指定 ========== */
@media (max-width: 720px) {
  /* トップ:01 ご依頼について */
  .audience-heading h2 { font-size: 44px; }
  .audience-heading>div strong { font-size: 15px; }
  .audience-grid { grid-template-columns: 1fr; margin-top: 48px; }
  .audience-grid article { min-height: 0; padding: 42px 24px; }
  .audience-grid h3 { margin-top: 35px; font-size: 34px; }
  .audience-grid article>p { font-size: 12px; }
  .audience-grid ul { margin-bottom: 32px; }
  .audience-grid article>a { margin-top: 10px; }
}

/* ========== 画面幅 620px 以下のときだけ効く指定 ========== */
@media (max-width: 620px) {
  /* お問い合わせページ */
  .contact-hero h1 { font-size: 45px; }
  /* お問い合わせページ:フォーム */
  .client-type-grid { grid-template-columns: 1fr; }
}

/* ---------- 全体(色の決まり・文字・リンク・画像の基本) ---------- */
body { font-size: 16px; line-height: 1.75; }

/* ---------- ヘッダー(ロゴ・メニュー・電話番号) ---------- */
.site-header { height: 94px; padding-right: 0; }
.desktop-nav { gap: 24px; margin-right: 24px; font-size: 12px; }
.desktop-nav a { padding: 38px 0; }
.header-actions { align-self: stretch; display: flex; }
.header-actions>a { color: #fff; flex-direction: column; justify-content: center; min-width: 148px; padding: 0 22px; display: flex; }
.header-actions span { font: 700 10px var(--font-tech); letter-spacing: .16em; opacity: .72; }
.header-actions strong { font-size: 14px; }
.header-contact { background: var(--red); min-width: 160px; }

/* ---------- 共通パーツ(小見出し・番号の丸・ボタン) ---------- */
.button { font-size: 14px; }
.eyebrow { font-size: 11px; }
.section { padding-top: 104px; padding-bottom: 104px; }

/* ---------- トップ:02 技術・品質 ---------- */
.intro h2, .work-copy h2, .process h2, .facility h2, .consult-copy h2, .company h2, .contact h2, .audience-heading h2 { font-size: clamp(38px,4.2vw,64px); line-height: 1.15; }
.intro-text p, .audience-heading>div p, .audience-grid article>p, .work-copy>p:not(.eyebrow), .process-heading>p, .facility-heading>p, .consult-copy>p:not(.eyebrow), .company-grid>div>p, .contact>p:not(.eyebrow):not(.insurance-note) { font-size: 15px; line-height: 1.95; }
.craft-evidence p, .work-secondary p:not(.eyebrow), .facility-grid p { font-size: 13px; line-height: 1.85; }
.craft-evidence h3 { font-size: 24px; }

/* ---------- トップ:03 事業内容 ---------- */
.work-secondary h3 { font-size: 27px; }

/* ---------- トップ:01 ご依頼について ---------- */
.audience-grid li, .work-copy li { font-size: 12px; }

/* ---------- トップ:03 事業内容 ---------- */
.work-intro { background: #fff; }
.work-intro>.section-kicker { margin-bottom: 42px; }
.work-intro>div:last-child { grid-template-columns: 1fr .75fr; align-items: end; gap: 10vw; display: grid; }
.work-intro h2 { letter-spacing: -.045em; margin: 0; font-size: clamp(38px,4.2vw,64px); line-height: 1.15; }
.work-intro>div:last-child>p { color: #626a71; margin: 0; font-size: 15px; line-height: 1.95; }

/* ---------- トップ:05 工場設備 ---------- */
.facility-grid { grid-template-columns: repeat(3,1fr); }
.facility-grid h3 { font-size: 19px; }

/* ---------- トップ:お問い合わせ(電話・フォーム・LINE) ---------- */
.contact-actions strong { font-size: 23px; }
.contact-actions span { font-size: 12px; }

/* ---------- お問い合わせページ ---------- */
.contact-header-phone strong { font-size: 18px; }
.contact-hero h1 { font-size: clamp(44px,5.2vw,76px); }
.contact-hero>p:last-child { font-size: 15px; }
.contact-guidance>p:not(.eyebrow) { font-size: 14px; }
.contact-guidance>div p { font-size: 12px; }

/* ---------- お問い合わせページ:フォーム ---------- */
.form-field, .radio-field legend { font-size: 14px; }
.category-grid label, .privacy-check { font-size: 13px; }
.confirm-panel dt { font-size: 12px; }
.confirm-panel dd { font-size: 14px; }

/* ---------- スマホ画面の下に固定されるボタン ---------- */
.mobile-cta { grid-template-columns: .8fr .8fr 1.1fr; }
.mobile-cta .mobile-line { color: #fff; background: #06c755; }
.mobile-cta a:last-child { background: var(--red); color: #fff; }

/* ========== 画面幅 1180px 以下のときだけ効く指定 ========== */
@media (max-width: 1180px) {
  /* ヘッダー(ロゴ・メニュー・電話番号) */
  .desktop-nav { gap: 16px; }
  .desktop-nav a:nth-last-child(-n+2) { display: none; }
  .header-actions>a { min-width: 135px; }
}

/* ========== 画面幅 1050px 以下のときだけ効く指定 ========== */
@media (max-width: 1050px) {
  /* ヘッダー(ロゴ・メニュー・電話番号) */
  .header-actions { display: none; }
  /* トップ:01 ご依頼について */
  .audience-heading, .work-intro>div:last-child { grid-template-columns: 1fr; gap: 28px; }
  /* トップ:05 工場設備 */
  .facility-grid { grid-template-columns: repeat(2,1fr); }
}

/* ========== 画面幅 720px 以下のときだけ効く指定 ========== */
@media (max-width: 720px) {
  /* 全体(色の決まり・文字・リンク・画像の基本) */
  body { font-size: 15px; }
  /* ヘッダー(ロゴ・メニュー・電話番号) */
  .site-header { height: 70px; padding-right: 20px; }
  /* 共通パーツ(小見出し・番号の丸・ボタン) */
  .section { padding-top: 76px; padding-bottom: 76px; }
  /* トップ:02 技術・品質 */
  .intro h2, .work-copy h2, .process h2, .facility h2, .consult-copy h2, .company h2, .contact h2, .audience-heading h2, .work-intro h2 { font-size: 38px; }
  .intro-text p, .audience-heading>div p, .audience-grid article>p, .work-copy>p:not(.eyebrow), .process-heading>p, .facility-heading>p, .consult-copy>p:not(.eyebrow), .company-grid>div>p, .contact>p:not(.eyebrow):not(.insurance-note) { font-size: 14px; }
  /* トップ:03 事業内容 */
  .work-intro>.section-kicker { margin-bottom: 32px; }
  /* トップ:05 工場設備 */
  .facility-grid { grid-template-columns: 1fr; }
  /* トップ:お問い合わせ(電話・フォーム・LINE) */
  .contact-actions strong { font-size: 21px; }
  /* お問い合わせページ */
  .contact-hero h1 { font-size: 40px; }
}

/* ---------- ヘッダー(ロゴ・メニュー・電話番号) ---------- */
.header-phone { border-left: 1px solid var(--line); background: #fff; color: var(--blue)!important; }
.header-phone strong { font: 800 18px var(--font-tech); letter-spacing: .01em; }
.header-phone span { color: var(--blue); }
.header-contact { background: var(--blue); }

/* ---------- トップ:03 事業内容 ---------- */
.work-image, .consult-image { background: var(--stone); align-items: center; min-height: 0; display: flex; }
.work-image img, .consult-image img { object-fit: contain; filter: none; width: 100%; height: auto; }

/* ---------- トップ:05 工場設備 ---------- */
.facility-photo-grid { background: 0 0; border: none; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
.facility-photo-grid article { border: 1px solid var(--line); }
.facility-photo-grid .facility-image { aspect-ratio: 4/3; background: var(--stone); height: auto; }
.facility-photo-grid .facility-image img { object-fit: contain; filter: none; width: 100%; height: 100%; transform: none; }
.facility-photo-grid article:hover img { filter: none; transform: none; }
.facility-photo-grid p { font-size: 1rem; }
.facility-details { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; margin-top: 28px; display: grid; }
.facility-details article { border-top: 3px solid var(--blue); background: var(--stone); padding: 26px; }
.facility-details small { font: 700 .75rem var(--font-tech); letter-spacing: .12em; color: #566176; }
.facility-details h3 { margin: 8px 0 12px; font-size: 1.125rem; }
.facility-details p { color: #566176; margin: 0; font-size: 1rem; line-height: 1.85; }

/* ---------- 全体(色の決まり・文字・リンク・画像の基本) ---------- */
:is(.hero a:focus-visible,.workshop-results a:focus-visible) { outline: 3px solid var(--red); outline-offset: 4px; }

/* ========== 画面幅 1280px 以下のときだけ効く指定 ========== */
@media (max-width: 1280px) {
  /* ヘッダー(ロゴ・メニュー・電話番号) */
  .header-actions>a { min-width: 122px; padding: 0 16px; }
  .header-phone strong { font-size: 16px; }
  .desktop-nav { gap: 14px; margin-right: 14px; }
}

/* ========== 画面幅 720px 以下のときだけ効く指定 ========== */
@media (max-width: 720px) {
  /* トップ:05 工場設備 */
  .facility-photo-grid, .facility-details { grid-template-columns: 1fr; }
  .facility-details article { padding: 24px; }
  /* トップ:03 事業内容 */
  .work-image, .consult-image { min-height: 0; }
  /* スマホ画面の下に固定されるボタン */
  .mobile-cta a { font-size: .875rem; }
}

/* ---------- トップページ全体 ---------- */
.renewed-home { --home-muted: #49546b; --home-surface: #f5f6f8; --home-gutter: clamp(24px, 5.556vw, 80px); }

/* ---------- ヘッダー(ロゴ・メニュー・電話番号) ---------- */
.renewed-home .site-header { max-width: 1440px; height: auto; min-height: 94px; padding: 20px var(--home-gutter); border: 0; gap: 28px; margin: auto; position: relative; inset: auto; }
.renewed-home .brand { flex-shrink: 0; align-items: center; gap: 26px; margin-right: auto; display: flex; }
.renewed-home .brand img { object-fit: contain; width: 100px; height: 44px; }
.renewed-home .brand-wordmark { font: 600 1.25rem/1.25 var(--font-tech); color: var(--blue); white-space: nowrap; }
.renewed-home .desktop-nav { white-space: nowrap; gap: 20px; margin: 0; font-size: .875rem; font-weight: 700; }
.renewed-home .desktop-nav a { padding: 12px 0; display: block; }
.renewed-home .desktop-nav a:after { height: 2px; bottom: 5px; }
.renewed-home .header-actions { align-self: center; align-items: center; gap: 28px; }
.renewed-home .header-actions>a { min-width: 0; padding: 0; }
.renewed-home .header-phone { background: #fff; border: 0; }
.renewed-home .header-phone strong { font: 600 1.6875rem/1.15 var(--font-tech); letter-spacing: 0; }
.renewed-home .header-phone span { color: #566176; font: 400 .75rem/1.5 var(--font-jp); letter-spacing: 0; opacity: 1; white-space: nowrap; margin-top: 3px; }
.renewed-home .header-actions .header-contact { background: var(--blue); border: 1px solid var(--blue); text-align: center; border-radius: 2px; align-self: auto; align-items: center; min-width: 168px; min-height: 52px; padding: 12px 22px; font-size: .9375rem; font-weight: 700; }

/* ---------- トップ:最初の画面(大見出し・ボタン・塗装ブースの写真) ---------- */
.renewed-home .home-hero { max-width: 1440px; padding: 40px var(--home-gutter) 32px; grid-template-columns: minmax(0,512fr) minmax(0,704fr); align-items: center; gap: clamp(28px,4.445vw,64px); margin: auto; display: grid; }
.renewed-home .home-hero-copy { flex-direction: column; align-items: flex-start; gap: 20px; min-width: 0; display: flex; }
.renewed-home .home-eyebrow { color: #c52438; margin: 0; font-size: .875rem; font-weight: 700; line-height: 1.5; }
.renewed-home .home-hero h1 { color: var(--ink); letter-spacing: 0; margin: 0; font-size: clamp(2.125rem,3.473vw,3.125rem); font-weight: 700; line-height: 1.35; }
.renewed-home .home-lead { color: var(--home-muted); margin: 0; font-size: 1.0625rem; line-height: 1.8; }
.renewed-home .home-actions { gap: 12px; width: 100%; display: flex; }
.renewed-home .home-button { text-align: center; border-radius: 2px; justify-content: center; gap: 8px; min-width: 0; min-height: 52px; padding: 12px 18px; font-size: .9375rem; font-weight: 700; line-height: 1.6; }
.renewed-home .home-primary { color: #fff; background: var(--blue); border-color: var(--blue); flex: 1.2; }
.renewed-home .home-secondary { color: var(--blue); background: #fff; border-color: #c7cedf; flex: 1; }
.renewed-home .home-primary:hover, .renewed-home .header-contact:hover { background: var(--navy); }
.renewed-home .home-secondary:hover { background: var(--home-surface); }
.renewed-home .mobile-label { display: none; }
.renewed-home .home-line { color: #197546; align-items: center; gap: 8px; min-height: 44px; font-size: .9375rem; font-weight: 700; line-height: 1.6; display: inline-flex; }
.renewed-home .home-line:hover, .renewed-home .home-results-link:hover { text-underline-offset: 5px; text-decoration: underline; }
.renewed-home .home-hero-visual { min-width: 0; }
.renewed-home .home-booth { margin: 0; }
.renewed-home .home-booth img { aspect-ratio: 758/401; object-fit: contain; width: 100%; height: auto; }
.renewed-home .home-booth figcaption { color: #576178; font: 600 .875rem/1.5 var(--font-tech); margin-top: 12px; }
.renewed-home .home-mobile-phone { display: none; }

/* ---------- トップ:特徴の帯(3項目) ---------- */
.renewed-home .home-facts { background: var(--home-surface); }
.renewed-home .home-facts>div { max-width: 1440px; padding: 20px var(--home-gutter); grid-template-columns: repeat(3,minmax(0,1fr)); gap: 36px; margin: auto; display: grid; }
.renewed-home .home-facts p { margin: 0; font-size: 1rem; font-weight: 700; line-height: 1.6; }

/* ---------- トップ:作業実績(写真3枚) ---------- */
.renewed-home .home-results { scroll-margin-top: 24px; }
.renewed-home .home-results-inner { max-width: 1440px; padding: 36px var(--home-gutter) 48px; grid-template-columns: 1fr auto; align-items: center; gap: 24px; margin: auto; display: grid; }
.renewed-home .home-results h2 { letter-spacing: 0; margin: 0; font-size: 1.875rem; font-weight: 700; line-height: 1.4; }
.renewed-home .home-results-link { color: var(--blue); font-size: .9375rem; font-weight: 700; line-height: 1.6; }
.renewed-home .home-scenes { grid-column: 1/-1; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; gap: 40px; display: grid; }
.renewed-home .home-scenes figure { min-width: 0; margin: 0; }
.renewed-home .home-scenes img { aspect-ratio: 4/3; object-fit: cover; width: 100%; height: auto; }
.renewed-home .home-scenes figcaption { color: var(--home-muted); padding-top: 14px; font-size: 1rem; line-height: 1.7; }
.renewed-home .home-scenes h3, .renewed-home .home-scenes p { font-size: inherit; line-height: inherit; margin: 0; font-weight: 400; }

/* ---------- 全体(色の決まり・文字・リンク・画像の基本) ---------- */
:is(.renewed-home :is(.site-header,.home-hero,.home-results) a:focus-visible,.renewed-home .mobile-menu summary:focus-visible) { outline: 3px solid var(--red); outline-offset: 4px; }

/* ========== 画面幅 1279px 以下のときだけ効く指定 ========== */
@media (max-width: 1279px) {
  /* ヘッダー(ロゴ・メニュー・電話番号) */
  .renewed-home .site-header, .renewed-home .header-actions { gap: 20px; }
  .renewed-home .brand { gap: 14px; }
  .renewed-home .desktop-nav { display: none; }
  .renewed-home .mobile-menu { margin-left: 0; display: block; }
  .renewed-home .mobile-menu summary { cursor: pointer; flex-direction: column; justify-content: center; gap: 7px; width: 48px; height: 48px; list-style: none; display: flex; }
  .renewed-home .mobile-menu summary::-webkit-details-marker { display: none; }
  .renewed-home .mobile-menu summary span { background: var(--blue); width: 28px; height: 2px; }
  .renewed-home .mobile-menu nav { z-index: 25; background: var(--blue); color: #fff; padding: 25px 35px; display: grid; position: absolute; top: 100%; left: 0; right: 0; }
  .renewed-home .mobile-menu nav a { border-bottom: 1px solid rgba(255, 255, 255, 0.18); padding: 15px 0; font-weight: 700; }
  .renewed-home .header-actions { display: flex; }
  /* トップ:最初の画面(大見出し・ボタン・塗装ブースの写真) */
  .renewed-home .home-actions { flex-wrap: wrap; }
  .renewed-home .home-primary, .renewed-home .home-secondary { flex: 160px; }
  /* トップ:作業実績(写真3枚) */
  .renewed-home .home-scenes { gap: 24px; }
}

/* ========== 画面幅 800px 以下のときだけ効く指定 ========== */
@media (max-width: 800px) {
  /* トップページ全体 */
  .renewed-home { --home-gutter: 20px; }
  /* ヘッダー(ロゴ・メニュー・電話番号) */
  .renewed-home .site-header { gap: 10px; min-height: 68px; padding: 12px 20px; }
  .renewed-home .brand { gap: 10px; min-width: 0; }
  .renewed-home .brand-wordmark { font-size: 1.1875rem; }
  .renewed-home .header-actions { display: none; }
  .renewed-home .mobile-menu summary { align-items: center; width: 40px; height: 44px; }
  .renewed-home .mobile-menu summary span { width: 21px; }
  .renewed-home .mobile-menu nav { max-height: calc(100svh - 140px); padding: 18px 24px; overflow-y: auto; }
  /* トップ:最初の画面(大見出し・ボタン・塗装ブースの写真) */
  .renewed-home .home-hero { grid-template-columns: 1fr; gap: 20px; padding: 20px 20px 28px; }
  .renewed-home .home-hero h1 { font-size: 2.125rem; line-height: 1.4; }
  .renewed-home .home-eyebrow { font-size: .8125rem; }
  .renewed-home .home-lead { font-size: 1rem; }
  .renewed-home .home-actions { flex-wrap: nowrap; gap: 10px; }
  .renewed-home .home-actions .home-button { flex: 1; padding: 12px 10px; }
  .renewed-home .desktop-label { display: none; }
  .renewed-home .mobile-label { display: inline; }
  .renewed-home .home-booth figcaption, .renewed-home .home-facts { display: none; }
  .renewed-home .home-mobile-phone { color: var(--blue); margin-top: 20px; font-size: .9375rem; line-height: 1.7; display: block; }
  /* トップ:作業実績(写真3枚) */
  .renewed-home .home-results { background: var(--home-surface); }
  .renewed-home .home-results-inner { flex-direction: column; align-items: stretch; gap: 20px; padding: 28px 20px; display: flex; }
  .renewed-home .home-results h2 { font-size: 1.5rem; }
  .renewed-home .home-scenes { grid-template-columns: 1fr; gap: 28px; }
  .renewed-home .home-scenes img { aspect-ratio: auto; object-fit: contain; }
  .renewed-home .home-results-link { order: 1; align-items: center; gap: 6px; min-height: 44px; display: flex; }
  /* スマホ画面の下に固定されるボタン */
  .renewed-home .mobile-cta { height: auto; min-height: 62px; padding-bottom: env(safe-area-inset-bottom); background: #fff; box-shadow: 0 -1px 10px rgba(17, 27, 63, 0.07); }
  .renewed-home .mobile-cta a { min-height: 62px; font-size: .875rem; }
  .renewed-home .mobile-cta a:last-child { background: var(--blue); }
}

/* ========== 画面幅 359px 以下のときだけ効く指定 ========== */
@media (max-width: 359px) {
  /* ヘッダー(ロゴ・メニュー・電話番号) */
  .renewed-home .brand-wordmark { white-space: normal; font-size: 1rem; }
  /* トップ:最初の画面(大見出し・ボタン・塗装ブースの写真) */
  .renewed-home .home-hero h1 { font-size: 1.875rem; }
  .renewed-home .home-lead br { display: none; }
}

/* ========== 追加の指定 ========== */
/*
 * 上の指定を変えたいときは、ここに書き足すのがいちばん安全です。
 * 上にある指定と「同じ書き方」(例: .renewed-home .home-hero h1)で書くと、ここに書いたものが優先されます。
 * (.home-hero h1 のように短く書くと、上の長い書き方の指定に負けて効かないことがあります)
 * スマホのときだけ変えたい場合は、次のように @media で囲んでください。
 *   @media (max-width: 720px) { .renewed-home .home-hero h1 { font-size: 40px; } }
 */
