/* =========================================================
   山幸総合建美　スタイルシート
   色：紙の白・藍・墨・養生テープの薄緑・木
   文字：見出し＝Zen Old Mincho／本文＝BIZ UDPGothic
   ========================================================= */
:root {
  --paper: #f5f6f3;
  --plaster: #e8eae4;
  --white: #ffffff;
  --sumi: #23272b;
  --sumi-sub: #555b60;
  --ai: #22436a;
  --ai-deep: #18324f;
  --ai-pale: #dfe6ee;
  --tape: #b9d8aa;
  --wood: #c69c6d;
  --rule: #cfd3cc;
  --mincho: "Zen Old Mincho", "Noto Serif JP", "Noto Serif CJK JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --gothic: "BIZ UDPGothic", "Hiragino Sans", "Noto Sans JP", "Noto Sans CJK JP", "Yu Gothic", "Meiryo", sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: var(--gothic); font-size: 17px; line-height: 1.9; color: var(--sumi); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--ai); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--ai); outline-offset: 3px; border-radius: 2px; }
.sp-only { display: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.wrap.narrow { max-width: 820px; }

/* ---------- ヘッダー ---------- */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(245, 246, 243, 0.97); border-bottom: 1px solid var(--rule); }
.header-container { max-width: 1240px; margin: 0 auto; padding: 12px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { text-decoration: none; color: var(--sumi); line-height: 1.25; }
.sub-logo { display: block; font-size: 0.72rem; color: var(--sumi-sub); letter-spacing: 0.04em; }
.main-logo { font-family: var(--mincho); font-weight: 700; font-size: 1.45rem; letter-spacing: 0.08em; color: var(--ai-deep); }
.global-nav { display: flex; align-items: center; gap: 28px; }
.global-nav ul { display: flex; gap: 20px; list-style: none; }
.global-nav ul a { color: var(--sumi); text-decoration: none; font-size: 0.95rem; }
.global-nav ul a:hover { color: var(--ai); text-decoration: underline; }
.header-contact { display: flex; align-items: center; gap: 12px; }
.btn-tel { display: inline-flex; flex-direction: column; align-items: flex-end; text-decoration: none; color: var(--ai-deep); font-weight: 700; font-size: 1.25rem; line-height: 1.2; letter-spacing: 0.02em; }
.tel-hours { font-size: 0.7rem; font-weight: 400; color: var(--sumi-sub); }
.btn-form { background: var(--ai); color: #fff; text-decoration: none; font-weight: 700; font-size: 0.92rem; padding: 10px 16px; border-radius: 4px; white-space: nowrap; }
.btn-form:hover { background: var(--ai-deep); }
.nav-toggle { display: none; }

/* ---------- ボタン ---------- */
.btn { display: inline-flex; flex-direction: column; justify-content: center; padding: 16px 26px; border-radius: 4px; text-decoration: none; line-height: 1.45; }
.btn-main { font-weight: 700; font-size: 1.15rem; }
.btn-sub { font-size: 0.82rem; }
.btn-primary { background: var(--ai); color: #fff; }
.btn-primary:hover { background: var(--ai-deep); }
.btn-primary .btn-sub { color: #d4deea; }
.btn-secondary { background: var(--white); color: var(--ai-deep); border: 1.5px solid var(--ai); }
.btn-secondary:hover { background: var(--ai-pale); }
.btn-secondary .btn-sub { color: var(--sumi-sub); }
.btn-block { display: flex; width: 100%; text-align: center; align-items: center; }

/* 養生テープ：「一部分だけでもOK」の目印 */
.tape { display: inline-block; background: var(--tape); color: #2c4a2a; font-weight: 700; padding: 3px 14px; font-size: 0.88rem; letter-spacing: 0.04em; transform: rotate(-1.5deg); clip-path: polygon(2% 0, 98% 4%, 100% 50%, 97% 100%, 1% 96%, 0 50%); }

/* ---------- 最初の画面 ---------- */
.hero { padding: 36px 0 56px; }
.hero-grid { max-width: 1240px; margin: 0 auto; padding: 0 28px; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "fig title" "body body"; column-gap: 40px; row-gap: 28px; align-items: start; }
.tenkai { grid-area: fig; }
.hero-title { grid-area: title; }
.hero-body { grid-area: body; }

.tenkai-how { font-size: 1rem; color: var(--sumi); margin-bottom: 6px; }
.tenkai-how b { color: var(--ai-deep); }
.tenkai-status { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.tenkai-status span { font-weight: 700; font-size: 0.92rem; }
.st-before, .st-after { padding: 2px 14px; border-radius: 20px; border: 1.5px solid var(--ai); }
.st-before { color: var(--sumi-sub); border-color: var(--rule); }
.st-after { background: var(--ai); color: #fff; }
.st-arrow { color: var(--ai); }

.tenkai svg { width: 100%; height: auto; }
.tenkai .face-label text { font-family: var(--mincho); font-weight: 700; font-size: 17px; fill: var(--ai); opacity: 0.85; }
.tenkai .note circle { fill: var(--ai); }
.tenkai .note polyline { fill: none; stroke: var(--ai); stroke-width: 1.2; }
.tenkai .note-term { font-family: var(--gothic); font-weight: 700; font-size: 16px; fill: var(--ai-deep); }
.tenkai-legend { display: none; }
.tenkai figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--rule); font-size: 0.85rem; color: var(--sumi-sub); }
.replay { font: inherit; color: var(--ai); background: none; border: none; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 4px 0; }

/* 新しくなる動き：天井 → 壁 → ドア → 床 → クリーニング */
.tenkai.play .after, .tenkai.play .note { animation: finish 0.9s ease both; }
.tenkai.play .s1 { animation-delay: 0.9s; }
.tenkai.play .s2 { animation-delay: 1.7s; }
.tenkai.play .s3 { animation-delay: 2.5s; }
.tenkai.play .s4 { animation-delay: 3.3s; }
.tenkai.play .s5 { animation-delay: 4.1s; }
.tenkai.play .shine { animation: shine 1.4s ease 4.1s both; }
.tenkai.play .st-before { animation: st-on 4.6s steps(1, end) both; }
.tenkai.play .st-after { animation: st-off 4.6s steps(1, end) both; }
@keyframes finish { from { opacity: 0; } to { opacity: 1; } }
@keyframes shine { 0% { opacity: 0; } 50% { opacity: 1; } 100% { opacity: 0.55; } }
@keyframes st-on { 0% { background: var(--ai); color: #fff; border-color: var(--ai); } 100% { background: transparent; color: var(--sumi-sub); border-color: var(--rule); } }
@keyframes st-off { 0% { background: transparent; color: var(--sumi-sub); border-color: var(--rule); } 100% { background: var(--ai); color: #fff; border-color: var(--ai); } }
@media (prefers-reduced-motion: reduce) {
  .tenkai.play .after, .tenkai.play .note, .tenkai.play .shine, .tenkai.play .st-before, .tenkai.play .st-after { animation: none; }
  .replay { display: none; }
}

/* 縦書きの見出し */
.hero-title { writing-mode: vertical-rl; font-family: var(--mincho); font-weight: 700; font-size: clamp(2.6rem, 4.2vw, 3.6rem); line-height: 1.5; letter-spacing: 0.12em; color: var(--ai-deep); padding-top: 10px; }
.hero-title span { display: block; }
.hero-title span + span { margin-right: 0.2em; color: var(--sumi); }

.hero-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; row-gap: 18px; align-items: start; border-top: 2px solid var(--ai); padding-top: 26px; }
.hero-lead { font-size: 1.05rem; max-width: 34em; margin-bottom: 12px; }
.hero-lead strong { color: var(--ai-deep); }
.promise-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.promise-chips li { font-weight: 700; color: var(--ai-deep); font-size: 0.97rem; }
.promise-chips li::before { content: "✓"; color: var(--ai); margin-right: 6px; }
.hero-actions { display: flex; gap: 12px; }
.tape-note { grid-column: 1 / -1; font-size: 0.98rem; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }

/* ---------- 実績のひとこと ---------- */
.credo { background: var(--ai-deep); color: #eef2f6; padding: 34px 28px; text-align: center; }
.credo p { font-family: var(--mincho); font-size: 1.2rem; line-height: 2; letter-spacing: 0.04em; }
.credo strong { font-size: 1.45em; font-weight: 700; color: #fff; margin: 0 0.1em; }

/* ---------- セクション共通 ---------- */
.sec { padding: 96px 0; }
.sec-title { font-family: var(--mincho); font-weight: 700; color: var(--ai-deep); font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.55; letter-spacing: 0.06em; margin-bottom: 18px; }
.sec-lead { max-width: 36em; margin-bottom: 40px; }

/* ---------- まとめて直す理由 ---------- */
.why { background: var(--white); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 780px; margin-bottom: 56px; }
.compare figcaption { margin-top: 10px; font-weight: 700; text-align: center; }
.compare figure:last-child figcaption { color: var(--ai); }
.merits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.merits > div { border-top: 2px solid var(--ai); padding-top: 16px; }
.merits dt { font-family: var(--mincho); font-weight: 700; font-size: 1.25rem; color: var(--ai-deep); margin-bottom: 8px; }
.merits dd { font-size: 0.97rem; }

/* ---------- 看板プラン ---------- */
.plan { background: var(--paper); }
.plan-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 56px; align-items: start; }
.plan-items { list-style: none; display: grid; gap: 20px; }
.plan-items li { display: flex; gap: 16px; align-items: flex-start; font-size: 0.97rem; }
.plan-items b { display: block; font-size: 1.05rem; margin-bottom: 2px; }
.swatch { flex-shrink: 0; width: 34px; height: 34px; margin-top: 4px; border: 1px solid var(--ai); }
.sw-ceiling { background: #fdfdfb radial-gradient(#e2e5de 0.8px, transparent 1px) 0 0 / 6px 6px; }
.sw-floor { background: repeating-linear-gradient(0deg, #d4ad7f 0 9px, #bb9163 9px 10px); }
.sw-door { background: repeating-linear-gradient(90deg, #c69c6d 0 7px, #b28657 7px 8px); }
.sw-clean { background: var(--white); position: relative; }
.sw-clean::after { content: ""; position: absolute; inset: 9px; background: var(--ai-pale); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }

.estimate { background: var(--white); border: 1px solid var(--rule); border-top: 6px solid var(--ai); padding: 32px 32px 26px; box-shadow: 0 1px 0 var(--rule), 0 18px 40px -28px rgba(24, 50, 79, 0.45); }
.est-head { font-family: var(--mincho); font-weight: 700; font-size: 1.5rem; letter-spacing: 0.2em; text-align: center; color: var(--ai-deep); }
.est-name { text-align: center; font-size: 0.92rem; color: var(--sumi-sub); border-bottom: 3px double var(--ai); padding-bottom: 12px; margin-bottom: 8px; }
.estimate table { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.estimate th, .estimate td { padding: 14px 0; border-bottom: 1px dashed var(--rule); vertical-align: baseline; }
.estimate th { text-align: left; font-weight: 700; }
.estimate td { text-align: right; white-space: nowrap; font-weight: 700; color: var(--ai-deep); }
.yen { font-family: var(--mincho); font-weight: 700; font-size: 2.4rem; color: var(--ai-deep); margin-right: 2px; }
.est-incl { font-size: 0.92rem; margin-bottom: 8px; }
.est-note { font-size: 0.84rem; color: var(--sumi-sub); line-height: 1.75; margin-bottom: 20px; }
.est-link { display: block; text-align: center; margin-top: 12px; font-size: 0.92rem; }

/* ---------- 一部分の工事 ---------- */
.partial { background: var(--plaster); }
.tape-lg { font-size: 1rem; padding: 5px 18px; margin-bottom: 18px; }
.price-list { width: 100%; max-width: 860px; border-collapse: collapse; background: var(--white); border: 1px solid var(--rule); }
.price-list th, .price-list td { padding: 16px 20px; border-bottom: 1px solid var(--rule); text-align: left; }
.price-list thead th { font-size: 0.85rem; font-weight: 400; color: var(--sumi-sub); background: var(--paper); }
.price-list tbody th { font-weight: 700; }
.price-list td:last-child { text-align: right; font-weight: 700; color: var(--ai-deep); white-space: nowrap; }
.price-list thead th:last-child { text-align: right; }
.list-note { margin-top: 16px; font-size: 0.92rem; color: var(--sumi-sub); }

/* ---------- ご依頼の流れ ---------- */
.flow { background: var(--white); }
.flow-list { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 40px; }
.flow-list li { counter-increment: step; position: relative; padding: 52px 18px 0 0; }
.flow-list li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--ai); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; z-index: 1; }
.flow-list li::after { content: ""; position: absolute; top: 17px; left: 36px; right: 0; height: 2px; background: var(--ai-pale); }
.flow-list li:last-child::after { display: none; }
.flow-list h3 { font-size: 1.05rem; margin-bottom: 6px; color: var(--ai-deep); }
.flow-list p { font-size: 0.92rem; line-height: 1.8; }

/* ---------- よくある質問 ---------- */
.faq { background: var(--paper); }
.faq-list { display: grid; gap: 12px; margin-top: 24px; }
.faq-list details { background: var(--white); border: 1px solid var(--rule); }
.faq-list summary { cursor: pointer; list-style: none; padding: 18px 56px; position: relative; font-weight: 700; font-size: 1.05rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: "Q"; position: absolute; left: 20px; top: 15px; font-family: var(--mincho); color: var(--ai); font-size: 1.3rem; font-weight: 700; }
.faq-list summary::after { content: "＋"; position: absolute; right: 22px; top: 16px; color: var(--ai); font-size: 1.2rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 24px 20px 56px; position: relative; }
.faq-list details p::before { content: "A"; position: absolute; left: 20px; top: -3px; font-family: var(--mincho); color: #3d7a4e; font-size: 1.3rem; font-weight: 700; }

/* ---------- 会社案内 ---------- */
.company { background: var(--white); }
.company-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 56px; align-items: start; }
.company-table { display: grid; grid-template-columns: 8em 1fr; border-top: 2px solid var(--ai); background: var(--white); }
.company-table dt, .company-table dd { padding: 14px 18px; border-bottom: 1px solid var(--rule); }
.company-table dt { font-weight: 700; font-size: 0.92rem; color: var(--ai-deep); background: #fafbf9; }
.company-table dd { font-size: 0.97rem; }

/* ---------- お問い合わせ ---------- */
.contact { background: var(--ai-deep); color: #fff; text-align: center; padding: 88px 0; }
.contact h2 { font-family: var(--mincho); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: 0.06em; margin-bottom: 10px; }
.contact p { color: #d4deea; margin-bottom: 32px; }
.contact-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.contact-tel, .contact-form-btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 320px; padding: 18px 32px; border-radius: 4px; text-decoration: none; }
.contact-tel { background: #fff; color: var(--ai-deep); }
.contact-tel-num { font-size: 2.1rem; font-weight: 700; letter-spacing: 0.04em; line-height: 1.3; }
.contact-tel-note { font-size: 0.85rem; color: var(--sumi-sub); }
.contact-form-btn { border: 1.5px solid #fff; color: #fff; font-weight: 700; font-size: 1.15rem; }
.contact-form-btn small { font-size: 0.8rem; font-weight: 400; color: #d4deea; }
.contact-form-btn:hover { background: rgba(255,255,255,0.08); }

.site-footer { text-align: center; padding: 26px 20px; font-size: 0.8rem; color: var(--sumi-sub); }
.sp-fixed-cta { display: none; }

/* =========================================================
   お問い合わせフォーム（contact.php）
   ========================================================= */
.form-page { background: var(--paper); }
.form-page .section { padding: 64px 0 96px; }
.form-page .section-container { max-width: 800px; margin: 0 auto; padding: 0 28px; }
.form-page .section-title { margin-bottom: 32px; }
.form-page .subtitle { display: block; font-size: 0.9rem; color: var(--ai); margin-bottom: 4px; }
.form-title { font-family: var(--mincho); font-weight: 700; font-size: 2rem; color: var(--ai-deep); letter-spacing: 0.06em; margin-bottom: 12px; }
.contact-form { background: var(--white); border: 1px solid var(--rule); border-top: 6px solid var(--ai); padding: 40px; }
.field { margin-bottom: 28px; border: none; }
.field > label, .field > legend { display: block; font-weight: 700; margin-bottom: 8px; }
.req, .opt { display: inline-block; font-size: 0.72rem; padding: 1px 8px; border-radius: 2px; margin-left: 8px; vertical-align: 2px; font-weight: 700; }
.req { background: #b23a2e; color: #fff; }
.opt { background: var(--plaster); color: var(--sumi-sub); }
.hint { font-size: 0.85rem; color: var(--sumi-sub); margin-top: 6px; }
.hint-inline { font-size: 0.85rem; color: var(--sumi-sub); font-weight: 400; margin-left: 4px; }
.hint.center { text-align: center; margin-top: 14px; }
.contact-form input[type="text"], .contact-form input[type="tel"], .contact-form input[type="email"], .contact-form textarea { width: 100%; padding: 14px; font-size: 17px; font-family: inherit; color: var(--sumi); border: 1px solid #b9beb6; border-radius: 4px; background: #fbfcfa; }
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid var(--ai-pale); border-color: var(--ai); background: #fff; }
.contact-form input[type="file"] { font-size: 0.95rem; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 4px; cursor: pointer; background: #fbfcfa; }
.check input { width: 20px; height: 20px; accent-color: var(--ai); flex-shrink: 0; }
.check:has(input:checked) { border-color: var(--ai); background: var(--ai-pale); }
.privacy { background: var(--paper); padding: 16px 18px; margin-bottom: 16px; }
.privacy h2 { font-size: 0.95rem; margin-bottom: 6px; }
.privacy p { font-size: 0.87rem; color: var(--sumi-sub); }
.agree { margin-bottom: 24px; justify-content: center; }
.submit-btn { display: block; width: 100%; padding: 18px; border: none; border-radius: 4px; cursor: pointer; background: var(--ai); color: #fff; font-size: 1.15rem; font-weight: 700; font-family: inherit; }
.submit-btn:hover { background: var(--ai-deep); }
.submit-btn:disabled { opacity: 0.6; cursor: wait; }
.form-errors { background: #fbecea; border: 1px solid #e0a59d; color: #8f2a20; padding: 16px 20px 16px 36px; margin-bottom: 24px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.thanks { text-align: center; background: var(--white); border-top: 6px solid var(--ai); padding: 56px 28px; }
.thanks-icon { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: var(--ai); color: #fff; font-size: 2rem; display: flex; align-items: center; justify-content: center; }
.thanks h1 { font-family: var(--mincho); font-size: 1.7rem; color: var(--ai-deep); margin-bottom: 14px; }
.thanks p { margin-bottom: 14px; }
.thanks .contact-tel { border: 1.5px solid var(--ai); margin: 8px 0 24px; min-width: 0; }

/* =========================================================
   タブレット
   ========================================================= */
@media (max-width: 1020px) {
  .nav-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: none; border: none; cursor: pointer; }
  .nav-toggle span { display: block; width: 24px; height: 2px; background: var(--sumi); margin: 0 auto; transition: transform .2s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .global-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--rule); flex-direction: column; align-items: stretch; gap: 0; padding: 6px 28px 22px; }
  .global-nav.is-open { display: flex; }
  .global-nav ul { flex-direction: column; gap: 0; }
  .global-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .header-contact { margin-top: 16px; justify-content: space-between; }
  .btn-tel { align-items: flex-start; }
  .hero-body { grid-template-columns: 1fr; }
  .flow-list { grid-template-columns: 1fr; }
  .flow-list li { padding: 0 0 28px 56px; }
  .flow-list li::after { top: 36px; left: 17px; right: auto; width: 2px; height: calc(100% - 36px); }
  .plan-grid, .company-grid { grid-template-columns: 1fr; gap: 40px; }
  .estimate { max-width: 560px; }
}

/* =========================================================
   スマホ
   ========================================================= */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .pc-only { display: none; }
  .sp-only { display: inline; }
  .wrap, .hero-grid, .header-container { padding-left: 20px; padding-right: 20px; }

  .hero { padding: 22px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "title" "fig" "body"; row-gap: 16px; }
  .hero-title { writing-mode: horizontal-tb; font-size: 1.85rem; letter-spacing: 0.06em; padding-top: 0; }
  .hero-title span + span { margin-right: 0; }
  .tenkai-how { font-size: 0.92rem; }
  .tenkai .note { display: none; }
  .tenkai .face-label text { font-size: 24px; }
  .tenkai svg { margin: 0 -6px; width: calc(100% + 12px); }
  .tenkai-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; list-style: none; margin-top: 10px; font-size: 0.88rem; line-height: 1.5; }
  .tenkai-legend b { display: block; font-family: var(--mincho); color: var(--ai-deep); font-size: 1rem; }
  .tenkai figcaption { font-size: 0.8rem; flex-wrap: wrap; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .promise-chips { flex-direction: column; gap: 2px; }

  .credo p { font-size: 1rem; }
  .sec { padding: 64px 0; }
  .sec-title { font-size: 1.55rem; }
  .sec-lead { margin-bottom: 28px; }
  .compare { gap: 12px; margin-bottom: 40px; }
  .compare figcaption { font-size: 0.85rem; }
  .merits { grid-template-columns: 1fr; gap: 24px; }
  .estimate { padding: 26px 20px 22px; }
  .yen { font-size: 2rem; }
  .price-list thead { display: none; }
  .price-list tr { display: grid; grid-template-columns: 1fr auto; padding: 14px 16px; border-bottom: 1px solid var(--rule); }
  .price-list th, .price-list td { padding: 0; border: none; }
  .price-list tbody td:nth-child(2) { grid-column: 1; grid-row: 2; font-size: 0.85rem; color: var(--sumi-sub); }
  .price-list td:last-child { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .faq-list summary { padding: 16px 44px 16px 46px; font-size: 1rem; }
  .faq-list summary::before { left: 16px; }
  .faq-list details p { padding: 0 18px 18px 46px; }
  .faq-list details p::before { left: 16px; }
  .company-table { grid-template-columns: 1fr; }
  .company-table dt { border-bottom: none; padding-bottom: 0; background: var(--white); font-size: 0.82rem; }
  .company-table dd { padding-top: 2px; }
  .contact { padding: 64px 0 72px; }
  .contact-tel, .contact-form-btn { min-width: 0; width: 100%; }
  .contact-tel-num { font-size: 1.8rem; }

  .contact-form { padding: 26px 18px; }
  .check-grid { grid-template-columns: 1fr; }
  .form-title { font-size: 1.6rem; }

  .sp-fixed-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; box-shadow: 0 -2px 12px rgba(24, 50, 79, 0.18); }
  .sp-fixed-cta a { text-align: center; text-decoration: none; font-weight: 700; color: #fff; padding: 15px 0 calc(15px + env(safe-area-inset-bottom)); background: var(--ai); }
  .sp-fixed-cta a:first-child { flex: 2.2; }
  .sp-fixed-cta a.sp-form { flex: 1; background: var(--white); color: var(--ai-deep); border-top: 1px solid var(--rule); }
  .site-footer { padding-bottom: 86px; }
}

/* =========================================================
   コーポレートサイト用の追加
   ========================================================= */
.global-nav ul a[aria-current="page"] { color: var(--ai); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.center { text-align: center; }
.text-link { font-weight: 700; }
.text-link::after { content: "　›"; }

/* トップの最初の画面 */
.corp-hero { padding: 72px 0 80px; border-bottom: 1px solid var(--rule); }
.corp-hero-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 72px; align-items: center; }
.corp-title { writing-mode: vertical-rl; font-family: var(--mincho); font-weight: 700; font-size: clamp(2.6rem, 4.4vw, 3.8rem); line-height: 1.55; letter-spacing: 0.14em; color: var(--ai-deep); }
.corp-title span { display: block; }
.corp-title span + span { margin-right: 0.25em; color: var(--sumi); }
.corp-lead { font-size: 1.15rem; line-height: 2; max-width: 32em; margin-bottom: 32px; }
.corp-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ai); border-bottom: 1px solid var(--rule); max-width: 620px; }
.corp-stats div { padding: 16px 12px 14px 0; }
.corp-stats div + div { padding-left: 20px; border-left: 1px solid var(--rule); }
.corp-stats dt { font-size: 0.88rem; color: var(--sumi-sub); }
.corp-stats dd { font-family: var(--mincho); font-weight: 700; font-size: 2.4rem; line-height: 1.2; color: var(--ai-deep); }
.corp-stats dd small { font-family: var(--gothic); font-size: 0.9rem; margin-left: 3px; }
.corp-stats-note { font-size: 0.8rem; color: var(--sumi-sub); margin-top: 8px; }

/* 入口 */
.entry { padding: 80px 0; background: var(--white); }
.sec-title.center { text-align: center; }
.entry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 36px; }
.entry-card { display: flex; flex-direction: column; text-decoration: none; color: var(--sumi); background: var(--paper); border: 1px solid var(--rule); border-top: 6px solid var(--ai); padding: 32px 32px 28px; transition: background .2s; }
.entry-card:hover { background: var(--ai-pale); }
.entry-for { font-weight: 700; color: var(--ai); font-size: 0.95rem; }
.entry-title { font-family: var(--mincho); font-weight: 700; font-size: 1.6rem; color: var(--ai-deep); line-height: 1.5; margin: 6px 0 12px; }
.entry-text { flex: 1; margin-bottom: 20px; }
.entry-go { align-self: flex-start; background: var(--ai); color: #fff; font-weight: 700; padding: 10px 20px; border-radius: 4px; }
.entry-go::after { content: "　›"; }

/* 事業内容 */
.services { background: var(--paper); }
.service-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; margin-top: 12px; }
.service-list li { display: flex; gap: 18px; align-items: flex-start; }
.service-list h3 { font-size: 1.15rem; color: var(--ai-deep); margin-bottom: 4px; }
.service-list p { font-size: 0.97rem; }
.note-line { margin-top: 32px; padding: 16px 20px; background: var(--white); border-left: 4px solid var(--ai); }

/* 代表あいさつ */
.greeting-short { background: var(--white); }
.greeting-quote { border-left: 4px solid var(--ai); padding: 8px 0 8px 24px; margin: 20px 0 16px; }
.greeting-quote p { font-family: var(--mincho); font-size: 1.35rem; line-height: 2; color: var(--ai-deep); }
.greeting-quote cite { display: block; font-style: normal; margin-top: 8px; color: var(--sumi-sub); }
.greeting { background: var(--white); }
.greeting-body p { margin-bottom: 1.2em; font-size: 1.05rem; line-height: 2.1; }
.greeting-sign { text-align: right; font-family: var(--mincho); font-weight: 700; color: var(--ai-deep); }
.company-short { background: var(--paper); }
.company-info { background: var(--paper); }
.company-info .company-table, .area p { margin-top: 8px; }

/* 下層ページの見出し */
.page-hero { background: var(--ai-deep); color: #fff; padding: 64px 0 60px; }
.page-hero-for { font-weight: 700; color: #b9cbe0; margin-bottom: 6px; }
.page-hero h1 { font-family: var(--mincho); font-weight: 700; font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.5; letter-spacing: 0.06em; margin-bottom: 14px; }
.page-hero-lead { max-width: 40em; color: #dbe4ee; font-size: 1.05rem; }
.reasons-biz { background: var(--white); }
.area { background: var(--paper); }

/* アクセス */
.access { background: var(--white); }
.access-addr { margin-bottom: 16px; }
.map { aspect-ratio: 16 / 9; border: 1px solid var(--rule); background: var(--plaster); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* 個人向けページ：会社案内への誘導 */
.to-company { background: var(--white); border: 1px solid var(--rule); padding: 28px; }
.to-company p { margin-bottom: 16px; }

/* プライバシーポリシー */
.policy { background: var(--white); }
.policy h2 { font-size: 1.15rem; color: var(--ai-deep); margin: 32px 0 8px; padding-bottom: 6px; border-bottom: 1px solid var(--rule); }
.policy h2:first-child { margin-top: 0; }
.policy ul { padding-left: 1.4em; margin-top: 6px; }
.policy-date { margin-top: 40px; text-align: right; color: var(--sumi-sub); }

/* フッター */
.site-footer { text-align: left; background: var(--sumi); color: #d6d9dc; padding: 48px 28px 28px; font-size: 0.9rem; }
.footer-grid { max-width: var(--wrap); margin: 0 auto; display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-logo { font-family: var(--mincho); font-weight: 700; font-size: 1.3rem; color: #fff; margin-bottom: 10px; line-height: 1.4; }
.footer-logo small { display: block; font-family: var(--gothic); font-weight: 400; font-size: 0.72rem; color: #aeb4b9; }
.site-footer a { color: #fff; }
.footer-links { list-style: none; display: grid; grid-template-columns: repeat(2, auto); gap: 6px 36px; align-content: start; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.copyright { max-width: var(--wrap); margin: 32px auto 0; padding-top: 16px; border-top: 1px solid #3c4248; font-size: 0.78rem; color: #9aa1a7; }

@media (max-width: 1020px) {
  .corp-hero-grid { gap: 40px; }
}
@media (max-width: 720px) {
  .corp-hero { padding: 36px 0 48px; }
  .corp-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .corp-title { writing-mode: horizontal-tb; font-size: 2rem; letter-spacing: 0.06em; }
  .corp-title span + span { margin-right: 0; }
  .corp-lead { font-size: 1rem; }
  .corp-stats dd { font-size: 1.8rem; }
  .corp-stats div + div { padding-left: 12px; }
  .entry { padding: 56px 0; }
  .entry-grid { grid-template-columns: 1fr; gap: 18px; }
  .entry-card { padding: 24px 20px; }
  .entry-title { font-size: 1.35rem; }
  .service-list { grid-template-columns: 1fr; gap: 20px; }
  .greeting-quote p { font-size: 1.1rem; }
  .page-hero { padding: 40px 0 36px; }
  .site-footer { padding: 36px 20px 96px; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 6px 20px; }
}
.corp-hero-grid { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.corp-figure figcaption { display: block; font-size: 0.82rem; color: var(--sumi-sub); margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--rule); }
.corp-stats dd small { white-space: nowrap; }
@media (max-width: 1020px) {
  .corp-hero-grid { grid-template-columns: auto minmax(0, 1fr); }
  .corp-figure { grid-column: 1 / -1; max-width: 640px; }
}
@media (max-width: 720px) {
  .corp-hero-grid { grid-template-columns: 1fr; }
  .corp-stats dd { font-size: 1.6rem; }
  .corp-stats dd small { font-size: 0.72rem; }
  .corp-figure .face-label text { font-size: 24px; }
}
.corp-figure.tenkai { grid-area: auto; }
@media (max-width: 1020px) { .corp-figure.tenkai { grid-column: 1 / -1; } }
.corp-stats dd { white-space: nowrap; font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
.greeting-lead { font-family: var(--mincho); font-weight: 700; font-size: 1.6rem !important; line-height: 1.7 !important; color: var(--ai-deep); margin-bottom: 1.4em !important; }
@media (max-width: 720px) { .greeting-lead { font-size: 1.3rem !important; } }

/* =========================================================
   コーポレートトップ（高級感のある見せ方）
   ========================================================= */
.corp-top { --ink: #0f2238; --ink-2: #16304d; --brass: #b89b6a; --en: "Cormorant Garamond", "Times New Roman", serif; background: #f7f6f2; }
.wrap-wide { max-width: 1240px; margin: 0 auto; padding: 0 48px; }

/* ヘッダー：最初は透明、スクロールで白地に */
.corp-top .site-header.is-over { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent; transition: background .4s, border-color .4s; }
.corp-top .site-header.is-over:not(.is-scrolled) .main-logo,
.corp-top .site-header.is-over:not(.is-scrolled) .global-nav ul a,
.corp-top .site-header.is-over:not(.is-scrolled) .btn-tel { color: #fff; }
.corp-top .site-header.is-over:not(.is-scrolled) .sub-logo,
.corp-top .site-header.is-over:not(.is-scrolled) .tel-hours { color: #aebdcd; }
.corp-top .site-header.is-over:not(.is-scrolled) .btn-form { background: transparent; border: 1px solid rgba(255,255,255,.7); }
.corp-top .site-header.is-over:not(.is-scrolled) .nav-toggle span { background: #fff; }
.corp-top .site-header.is-scrolled { background: rgba(247, 246, 242, 0.96); border-bottom-color: var(--rule); }

/* オープニング */
.op { position: relative; min-height: 100vh; min-height: 100svh; background: radial-gradient(ellipse at 30% 40%, #1b3a5e 0%, var(--ink) 60%); color: #fff; display: flex; align-items: center; overflow: hidden; }
.op::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 40px 40px; pointer-events: none; }
.op-inner { position: relative; width: 100%; max-width: 1240px; margin: 0 auto; padding: 120px 48px 100px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 64px; align-items: center; }
.op-figure { order: 1; }
.op-title { order: 2; writing-mode: vertical-rl; font-family: var(--mincho); font-weight: 700; font-size: clamp(2.8rem, 5vw, 4.6rem); line-height: 1.6; letter-spacing: 0.18em; }
.op-title span { display: block; opacity: 0; animation: rise 1.4s ease forwards; }
.op-title span:first-child { animation-delay: 2.6s; }
.op-title span + span { margin-right: 0.3em; animation-delay: 3.1s; }
.op-caption { font-family: var(--en); font-style: italic; font-size: 1.05rem; letter-spacing: 0.2em; color: var(--brass); margin-top: 18px; opacity: 0; animation: rise 1.2s ease 3.4s forwards; }
.draw { width: 100%; height: auto; }
.draw .lines > * { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s cubic-bezier(.6,.1,.3,1) forwards; }
.draw .lines > *:nth-child(1) { animation-duration: 2.2s; }
.draw .lines > *:nth-child(2) { animation-delay: .6s; opacity: .55; }
.draw .lines > *:nth-child(n+3) { animation-delay: 1.1s; }
.draw .lines > *:nth-child(n+7) { animation-delay: 1.5s; }
.draw .fills { opacity: 0; animation: fill 1.6s ease 2.3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fill { to { opacity: .92; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.op-scroll { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); font-family: var(--en); letter-spacing: 0.25em; font-size: 0.8rem; color: #9fb0c3; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.op-scroll span { display: block; width: 1px; height: 48px; background: linear-gradient(#9fb0c3, transparent); animation: drop 2s ease-in-out infinite; transform-origin: top; }
@keyframes drop { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* 英字の小見出し */
.sec-en, .statement-en { font-family: var(--en); font-style: italic; font-size: 1.3rem; letter-spacing: 0.12em; color: var(--brass); }
.sec-en.light { color: #d6c39d; }
.sec-title-lg { font-family: var(--mincho); font-weight: 700; font-size: clamp(1.9rem, 3.2vw, 2.6rem); color: var(--ink); letter-spacing: 0.1em; line-height: 1.4; }
.sec-head { margin-bottom: 56px; }
.line-link { display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; color: var(--ink); text-decoration: none; font-weight: 700; padding-bottom: 6px; border-bottom: 1px solid var(--ink); }
.line-link::after { content: ""; width: 40px; height: 1px; background: currentColor; transition: width .3s; }
.line-link:hover::after { width: 64px; }

/* ステートメント */
.statement { padding: 180px 0 160px; text-align: center; }
.statement-text { font-family: var(--mincho); font-weight: 600; font-size: clamp(1.5rem, 2.8vw, 2.4rem); line-height: 2.1; letter-spacing: 0.08em; color: var(--ink); margin: 28px 0 48px; }
.statement-sub { color: var(--sumi-sub); line-height: 2.2; }

/* 数字 */
.numbers { padding: 0 0 160px; }
.numbers-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--brass); border-bottom: 1px solid var(--brass); }
.num { padding: 48px 32px 44px; text-align: center; }
.num + .num { border-left: 1px solid rgba(184,155,106,.5); }
.num-label { font-size: 0.92rem; letter-spacing: 0.2em; color: var(--sumi-sub); }
.num-value { font-family: var(--en); font-weight: 500; font-size: clamp(4rem, 8vw, 6.6rem); line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.num-value small { font-family: var(--gothic); font-size: 1rem; font-weight: 700; margin-left: 6px; letter-spacing: 0.05em; }
.num-note { font-size: 0.8rem; color: var(--sumi-sub); }

/* 入口パネル */
.doors { display: grid; grid-template-columns: 1fr 1fr; }
.door { position: relative; min-height: 78vh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.door-bg { position: absolute; inset: 0; background-size: cover; background-position: 70% center; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); z-index: -2; }
.door::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,34,56,.05) 20%, rgba(15,34,56,.86) 100%); z-index: -1; }
.door-bg-lines { background-color: var(--ink-2); background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; }
.door:hover .door-bg { transform: scale(1.05); }
.door-body { display: flex; flex-direction: column; padding: 56px 56px 60px; max-width: 560px; }
.door-en { font-family: var(--en); font-style: italic; font-size: 1.15rem; letter-spacing: 0.12em; color: #d6c39d; }
.door-for { font-size: 0.92rem; margin-top: 4px; color: #d9e2ec; }
.door-title { font-family: var(--mincho); font-weight: 700; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.45; letter-spacing: 0.08em; margin: 14px 0 16px; }
.door-text { color: #dfe6ee; margin-bottom: 28px; }
.door-go { align-self: flex-start; display: inline-flex; align-items: center; gap: 14px; font-weight: 700; padding-bottom: 6px; border-bottom: 1px solid #fff; }
.door-go::after { content: ""; width: 40px; height: 1px; background: #fff; transition: width .3s; }
.door:hover .door-go::after { width: 72px; }

/* 素材見本 */
.materials { padding: 160px 0; }
.material-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.chip { position: relative; aspect-ratio: 3 / 4; margin-bottom: 22px; box-shadow: 0 30px 40px -34px rgba(15,34,56,.6), 0 0 0 1px rgba(15,34,56,.06); }
.chip span { position: absolute; left: 14px; bottom: 12px; font-family: var(--en); font-size: 0.95rem; letter-spacing: 0.12em; color: rgba(15,34,56,.55); }
.chip-cloth { background: #fbfaf6; background-image: radial-gradient(rgba(150,140,120,.22) 0.8px, transparent 1.1px), radial-gradient(rgba(150,140,120,.14) 0.8px, transparent 1.1px), linear-gradient(135deg, #fdfcf8, #efece4); background-size: 7px 7px, 7px 7px, 100% 100%; background-position: 0 0, 3.5px 3.5px, 0 0; }
.chip-floor { background:
  repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), rgba(90,60,30,.35) calc(25% - 1px) 25%),
  repeating-linear-gradient(0deg, rgba(120,80,40,.06) 0 3px, transparent 3px 7px),
  linear-gradient(180deg, #d8b285 0%, #c99c6b 30%, #d4aa7a 55%, #c4955f 80%, #d1a676 100%); }
.chip-floor span, .chip-wood span { color: rgba(255,255,255,.8); }
.chip-wood { background:
  repeating-linear-gradient(90deg, rgba(110,70,35,.0) 0 6px, rgba(110,70,35,.18) 6px 7px, rgba(110,70,35,0) 7px 15px, rgba(110,70,35,.1) 15px 16px),
  linear-gradient(90deg, #b9875a, #c99a6a 40%, #b4824f 70%, #c5976a); }
.chip-clean { background: linear-gradient(120deg, #ffffff 0%, #f2f5f8 40%, #ffffff 48%, #eef2f6 100%); }
.chip-clean::after { content: ""; position: absolute; top: 18%; right: 18%; width: 28px; height: 28px; background: #c9d6e3; clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); }
.material h3 { font-family: var(--mincho); font-weight: 700; font-size: 1.25rem; color: var(--ink); margin-bottom: 8px; letter-spacing: 0.05em; }
.material p { font-size: 0.93rem; color: var(--sumi-sub); line-height: 1.9; }

/* メッセージ・会社概要 */
.message { padding: 160px 0; background: #fff; }
.message-grid, .profile-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 64px; align-items: start; }
.message-lead { font-family: var(--mincho); font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.8; color: var(--ink); margin-bottom: 28px; letter-spacing: 0.06em; }
.message-body p { line-height: 2.2; }
.message-sign { margin-top: 24px; font-family: var(--mincho); font-weight: 700; color: var(--ink); }
.profile { padding: 160px 0; }
.profile-table { display: grid; grid-template-columns: 8em 1fr; border-top: 1px solid var(--ink); }
.profile-table dt, .profile-table dd { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.profile-table dt { font-weight: 700; color: var(--ink); font-size: 0.92rem; }

/* 最後のお問い合わせ */
.finale { background: var(--ink); color: #fff; padding: 140px 0; text-align: center; }
.finale h2 { font-family: var(--mincho); font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 2.8rem); letter-spacing: 0.1em; margin: 16px 0 48px; }
.finale-actions { display: flex; justify-content: center; align-items: stretch; gap: 0; border-top: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); max-width: 900px; margin: 0 auto; }
.finale-tel, .finale-form { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 36px 24px; color: #fff; text-decoration: none; transition: background .3s; }
.finale-tel { font-family: var(--en); font-size: clamp(2.2rem, 4vw, 3.2rem); letter-spacing: 0.06em; line-height: 1.2; border-right: 1px solid rgba(255,255,255,.2); }
.finale-tel small { font-family: var(--gothic); font-size: 0.85rem; letter-spacing: 0.05em; color: #aebdcd; margin-bottom: 8px; }
.finale-form { font-weight: 700; font-size: 1.15rem; letter-spacing: 0.1em; }
.finale-tel:hover, .finale-form:hover { background: rgba(255,255,255,.05); }

/* 静かに現れる */
.js .corp-top .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.2s ease, transform 1.2s cubic-bezier(.2,.7,.2,1); }
.js .corp-top .reveal.is-in { opacity: 1; transform: none; }
.material-grid .material:nth-child(2) { transition-delay: .12s; }
.material-grid .material:nth-child(3) { transition-delay: .24s; }
.material-grid .material:nth-child(4) { transition-delay: .36s; }
.numbers-grid .num:nth-child(2) { transition-delay: .15s; }
.numbers-grid .num:nth-child(3) { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  .draw .lines > * { animation: none; stroke-dashoffset: 0; }
  .draw .fills { animation: none; opacity: .92; }
  .op-title span, .op-caption { animation: none; opacity: 1; }
  .js .corp-top .reveal { opacity: 1; transform: none; transition: none; }
  .op-scroll span { animation: none; }
}

@media (max-width: 1020px) {
  .corp-top .site-header.is-over .global-nav ul a, .corp-top .site-header.is-over .btn-tel { color: var(--sumi) !important; }
  .corp-top .site-header.is-over .btn-form { background: var(--ai) !important; border: none !important; }
  .material-grid { grid-template-columns: repeat(2, 1fr); }
  .message-grid, .profile-grid { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 720px) {
  .wrap-wide { padding: 0 22px; }
  .op-inner { grid-template-columns: 1fr; padding: 96px 22px 90px; gap: 28px; }
  .op-title { order: 0; writing-mode: horizontal-tb; font-size: 2.1rem; letter-spacing: 0.1em; }
  .op-title span + span { margin-right: 0; }
  .statement { padding: 100px 0 90px; }
  .statement-text { font-size: 1.3rem; line-height: 2.1; }
  .statement-sub { font-size: 0.95rem; text-align: left; }
  .numbers { padding-bottom: 100px; }
  .numbers-grid { grid-template-columns: 1fr; }
  .num { padding: 30px 10px; }
  .num + .num { border-left: none; border-top: 1px solid rgba(184,155,106,.5); }
  .num-value { font-size: 4rem; }
  .doors { grid-template-columns: 1fr; }
  .door { min-height: 62vh; }
  .door-body { padding: 36px 24px 40px; }
  .materials, .message, .profile { padding: 100px 0; }
  .sec-head { margin-bottom: 36px; }
  .material-grid { gap: 22px 16px; }
  .material h3 { font-size: 1.05rem; }
  .material p { font-size: 0.85rem; }
  .profile-table { grid-template-columns: 1fr; }
  .profile-table dt { border-bottom: none; padding-bottom: 0; }
  .profile-table dd { padding-top: 4px; }
  .finale { padding: 90px 0; }
  .finale-actions { flex-direction: column; }
  .finale-tel { border-right: none; border-bottom: 1px solid rgba(255,255,255,.2); }
}
.statement-text span { display: block; }
.door::after { background: linear-gradient(180deg, rgba(15,34,56,.15) 0%, rgba(15,34,56,.55) 45%, rgba(15,34,56,.92) 100%); }
@media (max-width: 720px) {
  .statement-text { font-size: 1.02rem; letter-spacing: 0.04em; line-height: 2.2; }
  .message-lead { font-size: 1.3rem; }
  .finale h2 { font-size: 1.45rem; letter-spacing: 0.06em; }
}

/* ---- 追加：水回り・道しるべ・戻るリンク ---- */
.chip-tile { background-color: #f4f6f7; background-image: linear-gradient(#d7dde1 1.5px, transparent 1.5px), linear-gradient(90deg, #d7dde1 1.5px, transparent 1.5px), linear-gradient(135deg, #ffffff, #e9eef1); background-size: 25% 20%, 25% 20%, 100% 100%; }
.sw-tile { background-color: #f4f6f7; background-image: linear-gradient(#c9d1d6 1px, transparent 1px), linear-gradient(90deg, #c9d1d6 1px, transparent 1px); background-size: 11px 11px; }
.corp-top .material-grid { grid-template-columns: repeat(5, 1fr); gap: 24px; }
.crumbs { background: var(--ai-deep); border-bottom: 1px solid rgba(255,255,255,.12); font-size: 0.85rem; color: #b9cbe0; padding: 10px 0; }
.crumbs a { color: #fff; }
.crumbs span[aria-hidden] { margin: 0 10px; }
.back-top { padding: 0 0 64px; background: var(--paper); }
.nav-corp { font-weight: 700; color: var(--ai) !important; }
.to-company-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 1020px) { .corp-top .material-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) {
  .corp-top .material-grid { grid-template-columns: repeat(2, 1fr); }
  .to-company-actions { flex-direction: column; }
}
