/* 共通の色と幅をまとめ、各ページで共有します。 */
:root {
  color-scheme: light;
  --navy: #0e131f;
  --navy-deep: #080a0f;
  --navy-card: #1f212e;
  --blue: #144085;
  --cyan: #2ed1f2;
  --gold: #e5ad45;
  --text: #1f2938;
  --muted: #8c94a8;
  --line: #c7d1e0;
  --pale: #f2f7ff;
  --green: #66ad78;
  --content-width: 1440px;
  --gutter-80: max(80px, calc((100% - 1440px) / 2 + 80px));
  --gutter-72: max(72px, calc((100% - 1440px) / 2 + 72px));
  --gutter-48: max(48px, calc((100% - 1440px) / 2 + 48px));
  --header-height: 88px;
  font-family: Arial, "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 0px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { min-width: 320px; background: var(--navy); }
body { margin: 0; color: #fff; background: var(--navy); line-height: 1.7; }
body.menu-is-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
main { width: 100%; max-width: none; margin: var(--header-height) 0 0; overflow: clip; }

/* 固定ヘッダーと共通ナビゲーション */
.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: var(--header-height);
  padding: 16px 48px;
  background: #f5f7fa;
  color: var(--navy);
  box-shadow: 0 1px 0 rgb(8 10 15 / 8%);
  transition: background-color .25s ease, backdrop-filter .25s ease;
}
.site-header.is-scrolled { background: rgb(245 247 250 / 80%); backdrop-filter: blur(4px); }
.site-logo { display: inline-flex; flex: 0 0 auto; align-items: center; width: 132px; height: 56px; }
.site-logo img { width: 120px; height: 50px; object-fit: contain; }
.global-nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); margin-left: auto; margin-right: 32px; }
.global-nav a { color: #656673; font-size: 14px; font-weight: 600; white-space: nowrap; transition: color .2s ease; }
.global-nav a:hover,
.global-nav a.is-active,
.global-nav a[aria-current="page"]:not([href*="#"]) { color: var(--blue); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 12px 24px; border: 1px solid transparent; border-radius: 999px; font-size: 14px; font-weight: 700; line-height: 1.35; text-align: center; transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 0 0 1px rgb(229 173 69 / 32%), 0 0 18px rgb(229 173 69 / 58%); }
.button--header { width: 168px; min-height: 44px; padding: 10px 18px; background: var(--gold); color: #0e0e13; }
.menu-toggle { display: none; }
.menu-backdrop, .sp-menu { display: none; }

/* 共通見出し、ページ導入、問い合わせ帯 */
.eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .04em; line-height: 1.3; }
.eyebrow--cyan { color: var(--cyan); }
.eyebrow--gold { color: var(--gold); }
.eyebrow--green { color: var(--green); }
.section { padding: 58px var(--gutter-80); }
.section-heading { margin: 0 0 30px; }
.section-heading h2 { margin: 0 0 12px; font-size: clamp(28px, 2.65vw, 40px); font-weight: 700; line-height: 1.35; }
.section-heading > p:last-child { margin: 0; font-size: 16px; line-height: 1.8; }
.section-heading--dark { color: #fff; }
.section-heading--dark > p:last-child { color: var(--muted); }
.section-heading--light { color: var(--blue); }
.section-heading--light > p:last-child { color: #596675; }
.section-heading--coating { margin-bottom: 26px; }
.section-heading--coating h2 { color: #14386e; font-size: 34px; }
.section-heading--coating > p:last-child { color: #596675; }
.page-hero { min-height: 260px; padding: 54px max(40px, calc((100% - 1280px) / 2)) 56px; background: #0e131f; }
.page-hero .eyebrow { margin-bottom: 8px; }
.page-hero h1 { margin: 0 0 10px; font-size: 38px; line-height: 1.3; }
.page-hero > p:last-child { max-width: 900px; margin: 0; color: #b8bdcc; font-size: 16px; }
.contact-band { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding: 42px max(40px, calc((100% - 1280px) / 2)); background: #1c1229; }
.contact-band .eyebrow { margin-bottom: 6px; }
.contact-band h2 { margin: 0 0 5px; font-size: 28px; line-height: 1.35; }
.contact-band p:last-child { margin: 0; color: #abb2c7; font-size: 14px; }
.button--gold { min-width: 210px; min-height: 54px; padding: 15px 26px; background: var(--gold); color: #0e0e13; }

/* トップページのヒーロー */
.hero { position: relative; display: flex; align-items: center; min-height: 805px; padding: 80px var(--gutter-72); overflow: hidden; background: #0e131f; }
.hero__photo, .hero__shade { position: absolute; inset: 0; }
.hero__photo { background: url("../img/hero-main.webp") center 48% / cover no-repeat; }
.hero__shade { background: linear-gradient(90deg, rgb(8 10 15 / 88%) 0%, rgb(8 10 15 / 56%) 50%, rgb(8 10 15 / 25%) 100%), linear-gradient(180deg, rgb(102 102 102 / 8%), rgb(0 0 0 / 28%)); }
.hero__accent { display: none; }
.hero__copy { position: relative; z-index: 1; width: min(740px, 100%); }
.hero__copy::before { position: absolute; top: 0; bottom: 0; left: -72px; width: 16px; background: rgb(46 209 242 / 85%); content: ""; }
.hero__copy .eyebrow { margin-bottom: 20px; font-size: 14px; }
.hero h1 { margin: 0 0 24px; font-size: clamp(46px, 4.1vw, 58px); line-height: 1.32; letter-spacing: .015em; }
.hero__lead { margin: 0; color: #b8bdcc; font-size: 20px; line-height: 1.8; }
.hero__signature { position: absolute; right: max(40px, calc((100% - 1440px) / 2 + 40px)); bottom: 190px; margin: 0; color: #b8bdcc; font-size: 14px; font-weight: 700; line-height: 1.5; }
.sponsor-strip { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 20px max(40px, calc((100% - 1440px) / 2 + 40px)); background: linear-gradient(90deg, rgb(8 10 15 / 10%), rgb(8 10 15 / 42%)); }
.sponsor-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; max-width: 1360px; margin: 0 auto; }
.sponsor-strip__meta { display: flex; flex-direction: column; align-items: flex-end; margin-left: auto; text-align: right; }
.sponsor-strip__meta .eyebrow { margin: 0 0 4px; }
.sponsor-strip__meta > p:not(.eyebrow) { margin: 0; color: #b8bdcc; font-size: 16px; }
.sponsor-strip__identity { display: grid; grid-template-columns: 48px auto; align-items: center; gap: 2px 12px; margin-top: 8px; color: #fff; font-size: 16px; font-weight: 700; }
.sponsor-strip__identity img { width: 48px; height: 48px; border: 1px solid #a66bc7; border-radius: 8px; object-fit: cover; }
.sponsor-strip__identity::after { grid-column: 2; justify-self: start; padding: 3px 10px; border: 1px solid var(--gold); border-radius: 999px; color: var(--gold); content: "公式サイトを見る ↗"; font-size: 11px; font-weight: 700; line-height: 1.35; transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.sponsor-strip__identity:hover::after, .sponsor-strip__identity:focus-visible::after { background: var(--gold); color: #0e131f; transform: translateY(-1px); }
.sponsor-strip__cta { flex: 0 0 240px; }

/* 事業カードと施工事例の写真レイアウト */
.services { padding: 58px var(--gutter-80); background: #14141c; }
.services .section-heading { margin-bottom: 30px; }
.services .section-heading h2 { font-size: 38px; }
.business-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, 1fr); gap: 28px; }
.business-group { display: flex; min-width: 0; flex-direction: column; padding: 26px; border: 1px solid #404759; border-radius: 12px; background: #191c27; }
.business-group--industrial { border-color: #5c465e; background: #211a2a; }
.business-group__heading { margin-bottom: 20px; }
.business-group__heading .eyebrow { margin-bottom: 8px; }
.business-group__heading h3 { margin: 0 0 4px; color: #fff; font-size: 25px; line-height: 1.35; }
.business-group__heading > p:last-child { margin: 0; color: var(--muted); font-size: 14px; }
.business-group__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: auto; }
.business-group--industrial .business-group__cards { grid-template-columns: 1fr; }
.business-card { display: flex; min-height: 164px; flex-direction: column; justify-content: center; padding: 22px 30px; border: 1px solid #404759; border-radius: 8px; background: #1f212e; transition: border-color .2s ease, transform .2s ease; }
.business-card:hover, .business-card:focus-visible { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 0 0 1px rgb(229 173 69 / 24%), 0 0 20px rgb(229 173 69 / 28%); }
.business-card__number { color: var(--gold); font-size: 13px; font-weight: 700; }
.business-card__en { margin-top: 2px; color: var(--muted); font-size: 12px; font-weight: 700; }
.business-card h4 { margin: 7px 0 3px; font-size: 21px; line-height: 1.5; }
.business-card p { margin: 0; color: var(--muted); font-size: 14px; }
.featured { padding: 58px var(--gutter-80) 52px; }
.featured--car { background: #0e0e13; }
.featured--living { background: #1c1229; }
.featured .section-heading { margin-bottom: 28px; }
.featured .section-heading h2 { font-size: 40px; }
.photo-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 180px 180px; gap: 20px; margin-bottom: 28px; }
.photo-grid img { width: 100%; height: 100%; border: 1px solid #404759; border-radius: 8px; object-fit: cover; }
.photo-grid .photo-grid__large { grid-row: span 2; }
.photo-grid .photo-grid__wide { grid-column: 2 / 4; }
.button--outline-gold { min-width: 210px; border-color: var(--gold); background: #242633; color: var(--gold); }

/* GESP-FILMの特徴紹介 */
.film-section { padding: 56px var(--gutter-80); border: 1px solid var(--line); background: #fff; color: var(--text); }
.film-section .section-heading { margin-bottom: 22px; }
.film-section .section-heading h2 { color: var(--blue); font-size: 28px; }
.film-section .section-heading > p:last-child { color: var(--text); }
.film-brand { display: flex; align-items: center; gap: 28px; min-height: 112px; margin-bottom: 24px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 8px; background: #f7faff; }
.film-brand__logo { display: flex; flex: 0 0 220px; width: 220px; min-height: 60px; flex-direction: column; align-items: flex-start; gap: 9px; }
.film-brand__logo img { width: 100%; height: 60px; object-fit: contain; }
.film-brand__logo::after { display: inline-flex; align-items: center; min-height: 30px; padding: 5px 12px; border: 1px solid var(--gold); border-radius: 999px; color: #a26908; content: "公式サイトを見る ↗"; font-size: 12px; font-weight: 700; line-height: 1.3; transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.film-brand__logo:hover::after, .film-brand__logo:focus-visible::after { background: var(--gold); color: #0e131f; transform: translateY(-1px); }
.film-brand h3 { margin: 0 0 5px; color: var(--blue); font-size: 20px; }
.film-brand p { margin: 0; font-size: 15px; }
.film-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-bottom: 24px; }
.film-stats article { display: flex; min-height: 220px; flex-direction: column; align-items: center; justify-content: center; padding: 22px 18px; border: 1px solid var(--line); border-radius: 8px; background: #f2f7ff; text-align: center; }
.film-stats h3 { margin: 0 0 8px; color: var(--blue); font-size: 20px; }
.film-stats p { margin: 0; color: #2e3b4f; font-size: 14px; }
.film-stats strong { margin: 0; color: var(--blue); font-size: 64px; font-weight: 500; line-height: 1.15; }
.film-stats strong small { font-size: 18px; }
.front-glass { display: flex; align-items: center; gap: 24px; margin-bottom: 22px; padding: 20px 24px; border: 1px solid #b2d1f0; border-radius: 8px; background: #eef6ff; }
.front-glass__badge { display: grid; flex: 0 0 188px; min-height: 74px; place-items: center; border-radius: 6px; background: var(--blue); color: #fff; font-size: 15px; font-weight: 700; line-height: 1.5; text-align: center; }
.front-glass h3 { margin: 0 0 6px; color: var(--blue); font-size: 22px; }
.front-glass p { margin: 0; font-size: 15px; }
.film-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.button--blue { min-width: 210px; border-color: #b2d1f0; background: var(--blue); color: #f2f7ff; }

/* エコララコートの説明と4つの特徴 */
.coating-section { padding: 52px var(--gutter-48) 44px; border: 1px solid var(--line); background: #fafbf7; }
.coating-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: 24px 28px; border-radius: 10px; background: #fff; }
.coating-copy .eyebrow { color: #c77a14; font-size: 12px; }
.coating-copy h3 { margin: 0 0 12px; color: var(--text); font-size: 25px; line-height: 1.5; }
.coating-copy > p:not(.eyebrow) { margin: 0 0 16px; color: #596675; font-size: 15px; }
.coating-main > img { width: 100%; height: 250px; border-radius: 8px; object-fit: cover; }
.process-flow { display: flex; align-items: center; justify-content: space-around; gap: 8px; min-height: 54px; padding: 10px 14px; border-radius: 30px; background: #ebf5e8; color: var(--green); font-size: 12px; font-weight: 700; text-align: center; }
.process-flow b { color: #c77a14; font-size: 16px; }
.benefit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.benefit-grid article { display: flex; min-height: 166px; flex-direction: column; align-items: center; justify-content: center; padding: 18px; border: 1px solid #dce8dd; border-radius: 8px; background: #f7fbf7; text-align: center; }
.benefit-grid img { width: 42px; height: 42px; margin-bottom: 8px; object-fit: contain; }
.benefit-grid h3 { margin: 0 0 2px; color: #14386e; font-size: 16px; }
.benefit-grid p { margin: 0; color: #596675; font-size: 13px; }
.coating-note { margin: 16px 0 0; color: #596675; font-size: 13px; text-align: right; }

/* プラント設備の案内 */
.plant-section { padding: 56px var(--gutter-48) 60px; background: #101b2d; }
.plant-section h2 { margin: 0 0 7px; font-size: 34px; line-height: 1.4; }
.plant-section__lead { margin: 0 0 28px; color: #8c94a8; }
.plant-content { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; align-items: stretch; }
.plant-content > img { width: 100%; height: 330px; border-radius: 8px; object-fit: cover; }
.plant-copy { padding: 24px; border: 1px solid #26374d; border-radius: 8px; background: #18263a; }
.plant-copy p { margin: 0 0 16px; color: #d5d9e2; }
.plant-copy ul { display: grid; gap: 9px; margin: 0 0 22px; padding-left: 1.2em; color: #b8bdcc; font-size: 14px; }

/* 施工事例一覧 */
.case-list { padding: 52px max(40px, calc((100% - 1280px) / 2)) 64px; background: #fff; }
.case-list .section-heading { margin-bottom: 24px; }
.case-list .section-heading h2 { font-size: 28px; }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.case-card { overflow: hidden; border: 1px solid #d4dceb; border-radius: 6px; background: #fff; color: var(--text); }
.case-card > img { width: 100%; height: 208px; object-fit: cover; }
.case-card__body { padding: 12px 14px 16px; }
.case-card__body > span { color: #c77a14; font-size: 12px; }
.case-card h3 { margin: 5px 0 7px; color: var(--blue); font-size: 17px; line-height: 1.55; }
.case-card p { margin: 0; color: #596675; font-size: 13px; line-height: 1.8; }
.button--instagram { display: flex; width: fit-content; margin: 24px auto 0; border-color: var(--cyan); background: #1f475c; color: #fff; }
.button--instagram img { width: 20px; height: 20px; object-fit: contain; }

/* 会社案内 */
.company-services, .company-profile { padding: 48px max(40px, calc((100% - 1280px) / 2)); background: #fff; color: var(--blue); }
.company-services .section-heading, .company-profile .section-heading { margin-bottom: 24px; }
.company-services .section-heading h2, .company-profile .section-heading h2 { margin-bottom: 6px; font-size: 28px; }
.company-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.company-service-grid article { min-height: 180px; padding: 22px; border: 1px solid #d3e1f7; border-radius: 8px; background: #f2f7ff; }
.company-service-grid article > span { color: #c77a14; font-size: 12px; }
.company-service-grid h3 { margin: 4px 0 8px; color: var(--blue); font-size: 18px; }
.company-service-grid p { margin: 0; color: #596675; font-size: 14px; }
.message-section { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; min-height: 400px; padding: 48px max(40px, calc((100% - 1440px) / 2 + 40px)); background: #171126; }
.message-section h2 { margin: 0 0 8px; font-size: 28px; }
.message-section p { color: #c2c5ce; font-size: 14px; }
.message-section__lead { margin: 0 0 30px; color: #abb2c7 !important; }
.portrait-placeholder { display: flex; min-height: 230px; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--gold); background: #22283a; }
.portrait-placeholder span { color: #abb2c7; font-size: 13px; }
.profile-table { margin: 0; border-top: 1px solid #fff; }
.profile-table > div { display: grid; grid-template-columns: 200px 1fr; border-bottom: 1px solid #fff; background: #eaf1fb; }
.profile-table > div:nth-child(odd) { background: #f2f7ff; }
.profile-table dt, .profile-table dd { margin: 0; padding: 13px 18px; }
.profile-table dt { color: var(--blue); font-weight: 700; }
.profile-table dd { color: #334155; }
.profile-table ol { display: grid; gap: 4px; margin: 0; padding-left: 1.4em; }

/* お問い合わせフォーム */
.contact-form-section { padding: 52px max(40px, calc((100% - 960px) / 2)) 64px; background: #fff; color: var(--blue); }
.contact-form-section .section-heading { margin-bottom: 22px; }
.contact-form-section .section-heading h2 { margin-bottom: 5px; font-size: 28px; }
.required-note { margin: 0 0 12px; color: #c77a14; font-size: 13px; text-align: right; }
.contact-form { display: grid; gap: 17px; }
.contact-form label { display: block; color: var(--blue); font-size: 16px; font-weight: 700; }
.contact-form .form-label__text { display: inline; }
.contact-form label span, .contact-form label small { color: #c77a14; }
.contact-form label > .form-label__text { color: var(--blue); }
.contact-form label small { display: block; margin-top: 0; font-size: 12px; font-weight: 400; }
.contact-form input, .contact-form textarea { width: 100%; min-height: 52px; padding: 14px 16px; border: 1px solid #d3dfef; border-radius: 6px; outline: none; background: #f7faff; color: var(--text); font-size: 14px; font-weight: 400; }
.contact-form input, .contact-form textarea { display: block; margin-top: 7px; }
.contact-form textarea { min-height: 164px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgb(20 64 133 / 12%); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #9aa9bc; }
.form-notice { margin: 0; color: #68768a; font-size: 12px; }
.form-submit { width: 210px; }
.form-feedback { min-height: 1.5em; margin: 0; color: var(--blue); font-size: 14px; }

/* プライバシーポリシー */
.privacy-section { min-height: 720px; padding: 52px max(40px, calc((100% - 1280px) / 2)) 68px; background: #fff; color: var(--blue); }
.privacy-section .section-heading { margin-bottom: 22px; }
.privacy-section .section-heading h2 { margin-bottom: 5px; font-size: 26px; }
.privacy-list { display: grid; gap: 14px; }
.privacy-list article { min-height: 82px; padding: 15px 20px; border-radius: 6px; background: #f2f7ff; }
.privacy-list h3 { margin: 0 0 5px; color: var(--blue); font-size: 16px; }
.privacy-list p { margin: 0; color: #334155; font-size: 13px; line-height: 1.75; }

/* 共通フッター */
.site-footer { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; min-height: 160px; padding: 28px max(30px, calc((100% - 1440px) / 2 + 30px)); background: #080a0f; color: #fff; }
.site-footer__brand > a { font-size: 23px; font-weight: 700; letter-spacing: .04em; }
.site-footer__brand p { margin: 0 0 22px; color: #8c94a8; font-size: 12px; }
.site-footer__brand small { color: #7a8190; font-size: 11px; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 20px; padding-top: 4px; }
.site-footer nav a { color: #b8bdcc; font-size: 12px; }
.site-footer nav a:hover { color: #fff; }

/* タブレットとスマートフォンのレイアウト */
@media (max-width: 900px) {
  :root { --header-height: 68px; }
  main { margin-top: var(--header-height); }
  .site-header { padding: 10px 20px; }
  .site-logo { width: 92px; height: 42px; }
  .site-logo img { width: 88px; height: 38px; }
  .global-nav, .button--header { display: none; }
  .menu-toggle { position: relative; z-index: 110; display: flex; width: 42px; height: 40px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 7px; border: 0; border-radius: 7px; background: #e9b038; cursor: pointer; }
  .menu-toggle span { display: block; width: 26px; height: 2px; background: var(--navy); transition: transform .25s ease, opacity .2s ease; }
  .menu-toggle.is-open { z-index: 2; }
  .menu-toggle.is-open span:first-child, .menu-toggle.is-open span:last-child { position: absolute; top: calc(50% - 1px); left: calc(50% - 13px); }
  .menu-toggle.is-open span:first-child { transform: rotate(45deg); }
  .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-open span:last-child { transform: rotate(-45deg); }
  .menu-backdrop { position: fixed; z-index: 119; inset: 0; display: block; visibility: hidden; background: rgb(8 10 15 / 44%); opacity: 0; transition: opacity .3s ease, visibility .3s ease; }
  .menu-backdrop.is-open { visibility: visible; opacity: 1; }
  .sp-menu { position: fixed; z-index: 120; inset: 0 0 0 auto; display: flex; width: min(100%, 430px); flex-direction: column; background: #c7d6ed; color: #144085; transform: translateX(102%); transition: transform .32s cubic-bezier(.22,.7,.25,1); }
  .sp-menu.is-open { transform: translateX(0); }
  .sp-menu__header { display: flex; flex: 0 0 var(--header-height); align-items: center; justify-content: space-between; padding: 10px 20px; background: #f5f7fa; }
  .sp-menu__header .menu-toggle { background: #e9b038; }
  .sp-menu__body { display: flex; flex: 1; flex-direction: column; justify-content: space-between; padding: 42px 40px 36px; }
  .sp-menu__nav { display: grid; gap: 0; }
  .sp-menu__nav a { padding: 17px 0; border-bottom: 1px solid rgb(20 64 133 / 24%); color: #144085; font-size: 20px; font-weight: 700; }
  .button--menu { width: 100%; min-height: 56px; background: var(--gold); color: #0e0e13; font-size: 16px; }
  .hero { display: flex; min-height: 0; flex-direction: column; align-items: stretch; justify-content: flex-end; padding: 190px 20px 0; }
  .hero__photo { background-position: 57% center; }
  .hero__shade { background: linear-gradient(0deg, rgb(8 10 15 / 92%) 0%, rgb(8 10 15 / 66%) 52%, rgb(8 10 15 / 8%) 100%); }
  .hero__copy { max-width: none; }
  .hero__copy::before { left: -20px; width: 5px; }
  .hero__copy .eyebrow { margin-bottom: 12px; font-size: 12px; }
  .hero h1 { margin-bottom: 14px; font-size: clamp(24px, 7vw, 42px); white-space: nowrap; }
  .hero__lead { font-size: 16px; }
  .hero__signature { position: static; align-self: flex-end; margin: 18px 0 16px; font-size: 13px; text-align: right; }
  .sponsor-strip { position: relative; right: auto; bottom: auto; left: auto; width: calc(100% + 40px); margin: 0 -20px; padding: 14px 20px; background: rgb(17 24 39 / 76%); }
  .sponsor-strip__inner { display: grid; grid-template-columns: minmax(136px, .9fr) minmax(0, 1.1fr); align-items: center; gap: 12px; }
  .sponsor-strip__meta { grid-column: 2; grid-row: 1; align-items: flex-end; }
  .sponsor-strip__meta > p:not(.eyebrow) { font-size: 12px; line-height: 1.5; }
  .sponsor-strip__meta .eyebrow { font-size: 10px; }
  .sponsor-strip__identity { grid-template-columns: 38px auto; gap: 1px 7px; font-size: 12px; }
  .sponsor-strip__identity img { width: 38px; height: 38px; }
  .sponsor-strip__identity::after { padding: 2px 7px; font-size: 10px; }
  .sponsor-strip__cta { grid-column: 1; grid-row: 1; width: 100%; min-width: 0; min-height: 48px; padding: 8px; font-size: 11px; }
  .section, .services, .featured, .film-section, .plant-section { padding: 40px 20px; }
  .section-heading { margin-bottom: 20px; }
  .section-heading h2, .services .section-heading h2, .featured .section-heading h2 { font-size: 27px; }
  .section-heading > p:last-child { font-size: 15px; }
  .services .section-heading { margin-bottom: 18px; }
  .business-grid { grid-template-columns: 1fr; gap: 14px; }
  .business-group { padding: 16px; }
  .business-group__heading { margin-bottom: 16px; }
  .business-group__heading h3 { font-size: 22px; }
  .business-group__cards, .business-group--industrial .business-group__cards { grid-template-columns: 1fr; gap: 10px; }
  .business-card { min-height: 146px; padding: 15px; }
  .business-card h4 { font-size: 20px; }
  .featured .section-heading { margin-bottom: 20px; }
  .photo-grid { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
  .photo-grid img, .photo-grid .photo-grid__large, .photo-grid .photo-grid__wide { height: 210px; }
  .photo-grid .photo-grid__large { height: 212px; }
  .featured .button--outline-gold { display: flex; width: 100%; }
  .film-brand { flex-direction: column; align-items: flex-start; gap: 14px; padding: 16px; }
  .film-brand__logo { flex-basis: auto; width: 180px; min-height: 50px; gap: 8px; }
  .film-brand__logo img { height: 50px; }
  .film-brand__logo::after { min-height: 29px; padding: 5px 11px; font-size: 11px; }
  .film-brand h3 { font-size: 17px; }
  .film-brand p { font-size: 14px; }
  .film-stats { grid-template-columns: 1fr; gap: 12px; }
  .film-stats article { min-height: 200px; }
  .front-glass { flex-direction: column; align-items: flex-start; gap: 14px; padding: 16px; }
  .front-glass__badge { flex-basis: auto; width: 150px; min-height: 56px; }
  .front-glass h3 { font-size: 19px; }
  .front-glass p { font-size: 14px; }
  .film-buttons { display: grid; gap: 10px; }
  .film-buttons .button { width: 100%; min-height: 48px; padding-inline: 12px; font-size: 13px; }
  .coating-section { padding: 36px 20px; }
  .section-heading--coating h2 { font-size: 28px; }
  .coating-main { grid-template-columns: 1fr; gap: 16px; padding: 18px; }
  .coating-copy h3 { font-size: 21px; }
  .coating-copy > p:not(.eyebrow) { font-size: 14px; }
  .coating-main > img { height: 190px; }
  .process-flow { gap: 5px; min-height: 54px; padding: 8px; font-size: 11px; }
  .benefit-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 14px; }
  .benefit-grid article { min-height: 145px; }
  .plant-section h2 { font-size: 27px; }
  .plant-content { grid-template-columns: 1fr; gap: 14px; }
  .plant-content > img { height: 210px; }
  .plant-copy { padding: 18px; }
  .page-hero { min-height: 190px; padding: 28px 20px 30px; }
  .page-hero h1 { font-size: 30px; }
  .page-hero > p:last-child { font-size: 14px; }
  .case-list, .company-services, .company-profile, .contact-form-section, .privacy-section { padding: 34px 20px 42px; }
  .case-list .section-heading h2, .company-services .section-heading h2, .company-profile .section-heading h2, .contact-form-section .section-heading h2 { font-size: 24px; }
  .case-grid { grid-template-columns: 1fr; gap: 14px; }
  .case-card > img { height: 205px; }
  .case-card__body { padding: 10px 12px 14px; }
  .case-card h3 { font-size: 16px; }
  .button--instagram { display: flex; width: 100%; padding: 12px 15px; font-size: 13px; }
  .company-service-grid { grid-template-columns: 1fr; gap: 10px; }
  .company-service-grid article { min-height: 150px; padding: 17px; }
  .company-service-grid h3 { font-size: 17px; }
  .company-service-grid p { font-size: 13px; }
  .message-section { grid-template-columns: 1fr; gap: 18px; min-height: 0; padding: 34px 20px; }
  .message-section h2 { font-size: 24px; }
  .message-section__lead { margin-bottom: 20px; }
  .portrait-placeholder { min-height: 180px; }
  .profile-table > div { grid-template-columns: 1fr; }
  .profile-table dt { padding: 10px 12px 3px; }
  .profile-table dd { padding: 6px 12px 12px; font-size: 13px; }
  .contact-form-section .section-heading { margin-bottom: 16px; }
  .contact-form { gap: 15px; }
  .contact-form label { font-size: 15px; }
  .contact-form input, .contact-form textarea { min-height: 48px; padding: 12px; font-size: 13px; }
  .contact-form textarea { min-height: 150px; }
  .form-submit { width: 100%; min-height: 56px; }
  .privacy-section { min-height: 0; }
  .privacy-list { gap: 10px; }
  .privacy-list article { min-height: 0; padding: 13px; }
  .privacy-list h3 { font-size: 15px; }
  .privacy-list p { font-size: 13px; }
  .contact-band { flex-direction: column; align-items: stretch; gap: 18px; padding: 32px 20px; }
  .contact-band h2 { font-size: 23px; }
  .contact-band p:last-child { font-size: 13px; }
  .contact-band .button { width: 100%; }
  .site-footer { flex-direction: column; gap: 22px; padding: 26px 20px 30px; }
  .site-footer__brand p { margin-bottom: 13px; }
  .site-footer nav { display: grid; grid-template-columns: 1fr; justify-content: stretch; gap: 4px; width: 100%; }
  .site-footer nav a { padding: 7px 0; font-size: 13px; }
}

@media (max-width: 380px) {
  .hero { padding-inline: 20px; }
  .hero h1 { font-size: clamp(24px, 7vw, 26px); }
  .hero__lead { font-size: 14px; }
  .sponsor-strip__cta { gap: 4px; padding-inline: 4px; font-size: 10px; white-space: nowrap; }
  .process-flow { font-size: 10px; }
  .sp-menu__body { padding-inline: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Figmaのp-contact-pageに合わせたお問い合わせページのレイアウトです。 */
.p-contact-page { background: #fff; }
.p-contact-hero { min-height: 320px; padding: 64px max(40px, calc((100% - 1280px) / 2)); background: #0e131f; color: #fff; }
.p-contact-hero__copy { display: flex; max-width: 1280px; min-height: 190px; flex-direction: column; gap: 16px; padding: 8px 0; }
.p-contact-hero__copy .eyebrow { margin: 0; }
.p-contact-hero__copy h1 { margin: 0; font-size: 42px; line-height: 1.3; }
.p-contact-hero__copy > p:last-child { margin: 0; color: #fff; font-size: 18px; line-height: 1.45; }
.p-contact-form { min-height: 1200px; padding: 64px max(40px, calc((100% - 1280px) / 2)) 80px; background: #fff; color: var(--blue); }
.p-contact-form > h2 { margin: 0 0 10px; font-size: 30px; line-height: 1.3; }
.p-contact-form__lead { margin: 0; color: #404d61; font-size: 16px; line-height: 1.45; }
.p-contact-form__notice { width: min(920px, 100%); margin: 31px auto 10px; color: var(--gold); font-size: 14px; line-height: 1.45; }
.p-contact-form__fields { width: min(920px, 100%); margin: 0 auto; }
.p-contact-form__fields .wpcf7 form { display: flex; flex-direction: column; gap: 24px; }
.p-contact-form__fields .wpcf7 form > p { margin: 0; }
.p-contact-form__fields .wpcf7 form > p:empty { display: none; }
.p-contact-form__fields .wpcf7 form br { display: none; }
.p-contact-form__fields label { display: flex; flex-direction: column; gap: 10px; color: var(--blue); font-size: 19px; font-weight: 700; line-height: 1.35; }
.p-contact-form__fields .form-label-text { color: var(--blue); }
.p-contact-form__fields .form-required,
.p-contact-form__fields .form-label-note { color: var(--gold); }
.p-contact-form__fields .form-label-note { font-size: 14px; font-weight: 400; line-height: 1.35; }
.p-contact-form__fields label input,
.p-contact-form__fields label textarea,
.p-contact-form__fields label select { width: 100%; min-height: 56px; margin: 0; padding: 15px 18px; border: 1px solid #c7d4e8; border-radius: 6px; background: #f7faff; color: var(--text); font: inherit; font-size: 14px; font-weight: 400; line-height: 1.45; }
.p-contact-form__fields label textarea { min-height: 170px; resize: vertical; }
.p-contact-form__fields label input::placeholder,
.p-contact-form__fields label textarea::placeholder { color: #8c96ab; opacity: 1; }
.p-contact-form__fields label input:focus,
.p-contact-form__fields label textarea:focus,
.p-contact-form__fields label select:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgb(20 64 133 / 12%); }
.p-contact-form__fields .wpcf7-acceptance { color: #404d61; font-size: 14px; font-weight: 400; line-height: 1.7; }
.p-contact-form__fields .wpcf7-acceptance a { color: var(--blue); text-decoration: underline; }
.p-contact-form__fields input[type="submit"] { width: 240px; min-height: 64px; padding: 16px 28px; border: 0; border-radius: 32px; background: var(--gold); color: #0f1421; font-size: 19px; font-weight: 700; cursor: pointer; }
.p-contact-form__fields input[type="submit"]:hover { background: #f0bd55; }
.p-contact-form__fields .wpcf7-not-valid-tip { margin-top: 5px; color: #b04444; font-size: 13px; font-weight: 400; }
.p-contact-form__fields .wpcf7-response-output { margin: 0; padding: 12px 14px; border: 1px solid #c7d4e8; color: #404d61; font-size: 14px; }
.p-contact__cta { display: flex; min-height: 268px; align-items: center; justify-content: space-between; gap: 36px; padding: 48px max(40px, calc((100% - 1280px) / 2)); background: #24142b; color: #fff; }
.p-contact__cta-copy .eyebrow { margin: 0 0 10px; }
.p-contact__cta h2 { margin: 0 0 10px; font-size: 34px; line-height: 1.35; }
.p-contact__cta p:last-child { margin: 0; color: #99a3b8; font-size: 16px; line-height: 1.5; }
.p-contact__cta .button { display: inline-flex; width: 260px; min-height: 64px; align-items: center; justify-content: center; border-radius: 32px; }

/* スマートフォンではFigmaのp-sp-contact-page-rev1に合わせて縦積みにします。 */
@media (max-width: 900px) {
  .p-contact-hero { min-height: 194px; padding: 20px; }
  .p-contact-hero__copy { min-height: 154px; gap: 16px; padding: 0; }
  .p-contact-hero__copy h1 { font-size: 30px; }
  .p-contact-hero__copy > p:last-child { font-size: 18px; line-height: 1.5; }
  .p-contact-form { min-height: 1094px; padding: 20px 20px 42px; }
  .p-contact-form > h2 { font-size: 24px; }
  .p-contact-form__lead { font-size: 16px; line-height: 1.55; }
  .p-contact-form__notice { width: 100%; margin: 6px 0 51px; font-size: 14px; }
  .p-contact-form__fields { width: 100%; }
  .p-contact-form__fields .wpcf7 form { gap: 24px; }
  .p-contact-form__fields label { gap: 10px; font-size: 19px; }
  .p-contact-form__fields label input,
  .p-contact-form__fields label textarea,
  .p-contact-form__fields label select { min-height: 56px; padding: 15px 18px; }
  .p-contact-form__fields label textarea { min-height: 170px; }
  .p-contact-form__fields input[type="submit"] { width: 240px; min-height: 56px; align-self: center; font-size: 19px; }
  .p-contact__cta { min-height: 280px; flex-direction: column; align-items: stretch; gap: 16px; padding: 20px; }
  .p-contact__cta h2 { font-size: 30px; line-height: 1.45; }
  .p-contact__cta p:last-child { font-size: 16px; }
  .p-contact__cta .button { width: 100%; min-height: 56px; margin-top: auto; }
}

/* WordPress管理バーが表示される場合の固定ヘッダー位置を調整します。 */
@media screen and (min-width: 783px) {
  body.admin-bar .site-header { top: 32px; }
  body.admin-bar main { margin-top: calc(var(--header-height) + 32px); }
}
@media screen and (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
  body.admin-bar main { margin-top: calc(var(--header-height) + 46px); }
}

/* WordPressのメニューリストを既存ナビゲーションの見た目に合わせます。 */
.global-nav__list,
.sp-menu__nav {
  margin: 0;
  padding: 0;
  list-style: none;
}
.global-nav__list { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); }
.sp-menu__nav { display: grid; gap: 0; }
