/* 090 ARC REFORM ― 色はここだけ触れば差し替わる */
:root {
  --c-bg: #0d0d0e;
  --c-panel: #18181b;
  --c-orange: #ff8a1f;
  --c-yellow: #ffc83d;
  --c-on-dark: #d4d4d8;
  --c-on-dark-sub: #a1a1aa;
  --c-light: #f4f1ec;
  --c-accent-text: #9a4a06;
  --c-text: #374151;
  --c-sub: #4b5563;
  --c-rule: #2e2e33;
  --font: "Zen Kaku Gothic Antique", sans-serif;
  --font-en: "Big Shoulders Display", sans-serif;
  --col: 720px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 68px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.9; color: var(--c-on-dark); background: var(--c-bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dd, li { word-break: auto-phrase; }
figure { margin: 0; }

/* スマホのまま横に延長：文字の列だけ読みやすい幅に。写真と帯は端から端まで */
.col { max-width: var(--col); margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }

.label { font-family: var(--font-en); font-weight: 900; font-size: 18px; letter-spacing: .3em; color: var(--c-orange); }
.label--dark { color: var(--c-accent-text); }
.h2 { font-weight: 900; font-size: clamp(34px, 5.4vw, 64px); line-height: 1.3; color: #fff; margin: 8px 0 32px; letter-spacing: .02em; }
.h2--dark { color: var(--c-bg); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; font-weight: 900; font-size: 17px; text-decoration: none; white-space: nowrap; flex: none; transition: background-color .2s, color .2s, transform .2s; }
.btn--orange { background: var(--c-orange); color: var(--c-bg); }
.btn--orange:hover { background: var(--c-yellow); }
.btn--orange::after { content: "→"; font-family: var(--font-en); }
.btn--lg { min-height: 68px; padding: 0 36px; font-size: 19px; width: 100%; max-width: var(--col); }
.btn:focus-visible { outline: 3px solid var(--c-yellow); outline-offset: 3px; }

/* ===== ヘッダー（PCでも三本線のまま） ===== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(13, 13, 14, .82); backdrop-filter: blur(8px); border-bottom: 1px solid var(--c-rule); }
.header__inner { display: flex; align-items: center; gap: 10px; height: 64px; padding: 0 8px 0 20px; }
.logo { display: flex; align-items: center; gap: 8px; min-height: 48px; font-family: var(--font-en); font-weight: 900; font-size: 26px; letter-spacing: .06em; color: #fff; text-decoration: none; white-space: nowrap; flex: none; }
.logo__arc { width: 26px; height: 13px; border: 4px solid var(--c-orange); border-bottom: 0; border-radius: 26px 26px 0 0; }
.header__btn { margin-left: auto; min-height: 44px; padding: 0 14px; font-size: 15px; }
.header__btn::after { content: none; }
.spmenu { flex: none; }
.spmenu summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; color: #fff; }
.spmenu summary::-webkit-details-marker { display: none; }
.spmenu__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spmenu__bar, .spmenu__bar::before, .spmenu__bar::after { display: block; width: 24px; height: 3px; background: currentColor; position: relative; }
.spmenu__bar::before, .spmenu__bar::after { content: ""; position: absolute; left: 0; }
.spmenu__bar::before { top: -8px; } .spmenu__bar::after { top: 8px; width: 16px; }
.spmenu[open] .spmenu__bar { background: transparent; }
.spmenu[open] .spmenu__bar::before { top: 0; transform: rotate(45deg); }
.spmenu[open] .spmenu__bar::after { top: 0; width: 24px; transform: rotate(-45deg); }
.spmenu__nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--c-bg); border-bottom: 3px solid var(--c-orange); padding: 8px 20px 24px; display: flex; flex-direction: column; }
.spmenu__nav a { display: flex; align-items: center; max-width: var(--col); width: 100%; margin: 0 auto; min-height: 60px; font-weight: 900; font-size: 22px; color: #fff; text-decoration: none; border-bottom: 1px solid var(--c-rule); }
@media (min-width: 768px) { .header__inner { padding: 0 24px 0 32px; } .header__btn { padding: 0 22px; } }

/* ===== メインビジュアル（A05・静止画を動かす） ===== */
.hero { position: relative; height: 100svh; min-height: 680px; overflow: hidden; background: var(--c-bg); }
.hero__name {
  position: absolute; z-index: 2; left: 16px; right: 16px; top: 76px;
  font-family: var(--font-en); font-weight: 900; font-size: min(31vw, 24vh); line-height: .8; letter-spacing: -.01em;
  background: linear-gradient(92deg, var(--c-orange) 10%, var(--c-yellow) 70%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__photo {
  position: absolute; inset: 30% 0 0 0; z-index: 1; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 26%, #000 58%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 26%, #000 58%, transparent 100%);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
@media (min-width: 768px) { .hero__name { font-size: min(19.5vw, 30vh); top: 84px; } .hero__name br { display: none; } }
.hero__copy { position: absolute; z-index: 3; left: 0; right: 0; bottom: 40px; }
.hero__label { font-family: var(--font-en); font-weight: 800; font-size: 18px; letter-spacing: .24em; color: var(--c-yellow); }
.hero__title { font-weight: 900; font-size: clamp(42px, 6vw, 72px); line-height: 1.12; color: #fff; margin: 8px 0 24px; text-shadow: 0 4px 24px rgba(0, 0, 0, .6); }
.hero__title em { font-style: normal; color: var(--c-orange); }

/* ===== ひとこと（画面いっぱいの大きな文字） ===== */
.say { padding: 120px 0 96px; overflow: hidden; }
.say__big { padding: 0 16px; font-weight: 900; font-size: clamp(52px, 12.5vw, 200px); line-height: 1.04; letter-spacing: -.02em; color: #fff; }
.say__big span { color: var(--c-bg); background: var(--c-orange); padding: 0 .08em; }
.say__body { margin-top: 56px; }
.say__body p + p { margin-top: 16px; }

/* ===== 施工事例（scroll-snap） ===== */
.works { padding: 96px 0; border-top: 1px solid var(--c-rule); }
.works__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 20px 12px; scroll-padding: 0 20px; outline-offset: -3px; }
.case { flex: none; width: 86vw; scroll-snap-align: start; background: var(--c-panel); }
.case img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #222; }
.case__body { padding: 20px 20px 24px; border-left: 6px solid var(--c-orange); }
.case__no { font-family: var(--font-en); font-weight: 900; font-size: 22px; letter-spacing: .12em; color: var(--c-orange); }
.case h3 { font-weight: 900; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.4; color: #fff; margin: 4px 0 6px; }
.case p:last-child { font-size: 15px; color: var(--c-on-dark-sub); }
@media (min-width: 768px) { .case img { aspect-ratio: 21 / 9; } }
.works__btns { display: none; }
.has-js .works__btns { display: flex; gap: 12px; margin-top: 20px; }
.arrow { width: 60px; height: 60px; border: 2px solid #fff; background: transparent; color: #fff; font-family: var(--font-en); font-size: 26px; cursor: pointer; transition: background-color .2s, color .2s; }
.arrow:hover { background: var(--c-orange); border-color: var(--c-orange); color: var(--c-bg); }

/* ===== 無料見積り（E07） ===== */
.estimate { padding: 96px 0 112px; text-align: center; border-top: 1px solid var(--c-rule); overflow: hidden; }
.arc { width: 100%; height: auto; display: block; overflow: visible; }
.arc__text { font-family: var(--font); font-weight: 900; font-size: 96px; fill: var(--c-orange); letter-spacing: 4px; }
.ring { position: relative; width: 280px; height: 280px; margin: 8px auto 40px; }
.ring__text { position: absolute; inset: 0; width: 100%; height: 100%; }
.ring__text text { font-family: var(--font-en); font-weight: 800; font-size: 25px; letter-spacing: 3.4px; fill: var(--c-yellow); }
.ring__btn {
  position: absolute; inset: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--c-orange); color: var(--c-bg);
  font-weight: 900; font-size: 22px; line-height: 1.3; text-decoration: none; transition: background-color .2s, transform .2s;
}
.ring__btn:hover { background: var(--c-yellow); transform: scale(1.05); }
.estimate__text { text-align: left; }
.is-motion .ring__text { animation: spin 20s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 768px) { .ring { width: 340px; height: 340px; } .ring__btn { inset: 72px; font-size: 26px; } }

/* ===== 約束（明るい区切り） ===== */
.promise { background: var(--c-light); color: var(--c-text); padding-bottom: 96px; }
.promise__photo { overflow: hidden; }
.promise__photo img { width: 100%; height: 72vh; min-height: 420px; object-fit: cover; background: #ddd; }
.promise .col { padding-top: 72px; }
.nums { display: grid; gap: 0; }
.nums li { padding: 28px 0; border-top: 3px solid var(--c-bg); }
.nums__n { font-family: var(--font-en); font-weight: 900; font-size: clamp(72px, 12vw, 120px); line-height: .9; color: var(--c-bg); }
.nums__n small { font-family: var(--font); font-size: 24px; margin-left: 6px; }
.nums h3 { font-weight: 900; font-size: 24px; color: var(--c-bg); margin: 12px 0 4px; }

/* ===== 工事の流れ ===== */
.flow { padding: 112px 0; }
.steps li { display: grid; grid-template-columns: 88px 1fr; gap: 16px; padding: 24px 0; border-top: 1px solid var(--c-rule); }
.steps li:last-child { border-bottom: 1px solid var(--c-rule); }
.steps span { font-family: var(--font-en); font-weight: 900; font-size: 64px; line-height: .9; color: var(--c-orange); }
.steps h3 { font-weight: 900; font-size: 24px; color: #fff; margin-bottom: 4px; }
.steps p { color: var(--c-on-dark-sub); font-size: 16px; }

/* ===== 結び（D05） ===== */
.finale { position: relative; overflow: hidden; background: var(--c-bg); }
.finale__smoke { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.finale__inner { position: relative; z-index: 1; padding: 120px 0 112px; text-align: center; }
.metal, .grid li {
  background: linear-gradient(105deg, #5c5c60 0%, #e9e9ec 16%, #8a8a90 30%, #ffd2a1 46%, #77777d 60%, #f7f7f8 78%, #56565b 100%);
  background-size: 220% 100%; background-position: 30% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.metal { font-family: var(--font-en); font-weight: 900; font-size: min(52vw, 440px); line-height: .82; letter-spacing: .02em; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .7)); }
.finale__sub { font-family: var(--font-en); font-weight: 800; font-size: 18px; letter-spacing: .4em; color: var(--c-on-dark-sub); margin-top: 16px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); margin: 64px 0 72px; }
.grid li { display: grid; place-items: center; height: 96px; font-family: var(--font-en); font-weight: 900; font-size: 40px; box-shadow: inset 0 0 0 .5px var(--c-rule); }
.grid li:nth-child(6n+1) { background-position: 0% 0; } .grid li:nth-child(6n+2) { background-position: 20% 0; } .grid li:nth-child(6n+3) { background-position: 40% 0; }
.grid li:nth-child(6n+4) { background-position: 60% 0; } .grid li:nth-child(6n+5) { background-position: 80% 0; } .grid li:nth-child(6n) { background-position: 100% 0; }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(6, 1fr); } .grid li { height: 140px; font-size: 56px; } }
.finale__cta { text-align: left; }
.finale__tel { margin-top: 20px; color: var(--c-on-dark); }
.finale__tel a { font-family: var(--font-en); font-weight: 900; font-size: 30px; color: #fff; text-decoration: none; letter-spacing: .04em; }

/* ===== フッター ===== */
.footer { border-top: 3px solid var(--c-orange); padding: 48px 20px 40px; font-size: 15px; color: var(--c-on-dark-sub); text-align: center; }
.footer__logo { font-family: var(--font-en); font-weight: 900; font-size: 32px; letter-spacing: .06em; color: #fff; }
.footer__fiction { margin-top: 16px; color: var(--c-on-dark); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
