@charset "utf-8";
/* ============================================================
   株式会社ミライ建設 — common stylesheet
   design token source : 08_design/design-spec.md / colors.md(実測hex)
   motion spec         : 09_motion/motion-spec.md
   ------------------------------------------------------------
   目次
   00 tokens / 01 base / 02 layout / 03 parts(button,link,tag)
   04 header / 05 fv / 06 stats / 07 reasons / 08 services
   09 works / 10 flow / 11 voice / 12 company / 13 faq
   14 news / 15 final-cta / 16 footer / 17 sp-fixed-bar
   18 lower pages / 19 form / 20 motion / 21 responsive
   ============================================================ */

/* ===== 00 tokens ========================================== */
:root {
  /* color : 08_design/colors.md の実測値をそのまま使用 */
  --c-base: #0A1522;
  --c-base-alt: #10161A;
  --c-faq-bg: #111F2B;
  --c-accent: #E06D06;
  --c-accent-dark: #C75A00;
  --c-text: #FFFFFF;
  --c-text-2: #D4D8DB;
  --c-text-muted: #9CA3AA; /* 実測#4F5050はコントラスト2.27:1のため補正値 */
  --c-ghost: #202830;
  --c-border: rgba(255, 255, 255, .08);
  --c-border-mid: rgba(255, 255, 255, .16);
  --c-border-strong: rgba(255, 255, 255, .32);

  /* type */
  --font-heading: "Shippori Mincho B1", "Zen Old Mincho", "Hiragino Mincho ProN", serif;
  --font-number: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;

  /* layout */
  --container: 1328px;
  --gutter: 56px;
  --header-h: 75px;

  /* radius / shadow : デザイン全面で角丸0・影なし */
  --radius: 0;

  /* motion */
  --ease-out-expo: cubic-bezier(.22, 1, .36, 1);
  --ease-std: cubic-bezier(.4, 0, .2, 1);
}

/* ===== 01 base ============================================ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  background-color: var(--c-base);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  position: relative;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: .02em;
  color: var(--c-text-2);
  overflow-x: hidden;
}

/* 全セクション共通の薄い建築ライン装飾(design-spec 1-4) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url(../images/texture-lines.webp);
  background-size: 520px auto;
  background-repeat: repeat;
  opacity: .05;
  pointer-events: none;
}

img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; line-height: 1.5; }
p { margin: 0; }
table { border-collapse: collapse; width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 300;
  background: var(--c-accent); color: #fff; font-weight: 700;
  padding: 10px 18px; transition: top .2s ease;
}
.skip-link:focus { top: 8px; }

/* ===== 02 layout ========================================== */
.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.sec { padding-block: var(--sec-pt, 64px) var(--sec-pb, 64px); position: relative; }

.sec-head { text-align: center; }
.sec-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(21px, 1.9vw, 27px);
  line-height: 1.45;
  letter-spacing: .06em;
  color: var(--c-text);
}
.sec-lead {
  margin-top: 10px;
  font-size: clamp(13px, 1vw, 14px);
  line-height: 1.9;
  color: var(--c-text-muted);
  letter-spacing: .04em;
}

/* 枠付きボックス(reasons / flow / company) */
.framed { border: 1px solid var(--c-border); position: relative; }

/* 見出しが上辺の罫線に重なる型(flow) */
.framed--legend { margin-top: 20px; }
.framed--legend > .legend-title {
  margin-top: -20px;
  margin-bottom: 16px;
  text-align: center;
}
.framed--legend > .legend-title .sec-title {
  display: inline-block;
  padding-inline: 26px;
  background: var(--c-base);
}

/* ===== 03 parts =========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .04em;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: color .25s ease, border-color .25s ease, background-color .25s ease;
}
.btn .arrow { flex: none; transition: transform .2s ease; }
.btn:hover .arrow, .btn:focus-visible .arrow { transform: translateX(5px); }

/* CTA-06 塗りが満ちる */
.btn-primary {
  background: var(--c-accent);
  color: #fff;
  font-size: 16px;      /* 白×オレンジは3.30:1のため太字16px以上を厳守 */
  font-weight: 700;
  padding: 18px 34px;
  min-height: 58px;
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c-accent-dark);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .38s cubic-bezier(.65, 0, .35, 1);
  z-index: 0;
}
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover::before,
.btn-primary:focus-visible::before { transform: scaleX(1); }

.btn-outline {
  border: 1px solid var(--c-border-strong);
  color: var(--c-text);
  font-size: 14px;
  font-weight: 700;
  padding: 15px 30px;
  min-height: 53px;
}
.btn-outline:hover,
.btn-outline:focus-visible { border-color: var(--c-accent); color: var(--c-accent); }

.btn-lg { font-size: 17px; padding: 22px 40px; min-height: 75px; }
.btn-block { display: flex; width: 100%; }

/* CTA-03 矢印スライド付きテキストリンク */
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--c-text);
  position: relative;
}
.link-more::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 1px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .25s ease-out;
}
.link-more:hover::after,
.link-more:focus-visible::after { transform: scaleX(1); transform-origin: left center; }
.link-more .arrow { transition: transform .2s ease; }
.link-more:hover .arrow { transform: translateX(4px); }

.tag {
  display: inline-block;
  border: 1px solid var(--c-border-mid);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 3px 10px;
  color: var(--c-text-2);
}
.tag--strong { border-width: 2px; border-color: var(--c-border-strong); color: var(--c-text); }

/* 黒線アイコンの白化(支給素材21〜29は黒線・透過のため必須) */
.icon-w { filter: brightness(0) invert(1); opacity: .92; }

.note-line {
  font-size: 13px;
  color: var(--c-text-muted);
  letter-spacing: .04em;
}

/* ===== 04 header ========================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: var(--c-base);
  border-bottom: 1px solid var(--c-border);
}
.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  padding-left: var(--gutter);
  padding-right: 29px;
  transition: height .3s ease;
}
.site-header.is-scrolled .header-inner { height: 62px; }

.logo { margin-right: auto; line-height: 1.1; }
.logo b {
  display: block;
  font-family: var(--font-number);
  font-weight: 900;
  font-size: 25px;
  letter-spacing: .155em;
  color: var(--c-text);
}
.logo span {
  display: block;
  margin-top: 3px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .19em;
  color: var(--c-text-2);
}

.gnav-desktop { display: flex; gap: 31px; }
.gnav-desktop a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--c-text);
  padding-block: 6px;
}
/* NV-01 下線ドロー */
.gnav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .25s ease-out;
}
.gnav-desktop a:hover::after,
.gnav-desktop a:focus-visible::after,
.gnav-desktop a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left center; }

.header-tel {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 52px;
  color: var(--c-text);
}
.header-tel .tel-ico { color: var(--c-accent); flex: none; }
.header-tel b {
  display: block;
  font-family: var(--font-number);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
}
.header-tel small {
  display: block;
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--c-text-muted);
}

/* ヘッダー高さいっぱいの大胆なCTA(design-spec 2-1) */
.header-cta {
  margin-left: 12px;
  width: 170px;
  min-height: 58px;
  padding: 8px 12px;
  gap: 8px;
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
}
.header-cta .arrow { margin-left: auto; }

.hamburger { display: none; }
.gnav-mobile { display: none; }

/* ===== 05 fv ============================================== */
.fv {
  position: relative;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-block: 56px 0;
  color: var(--c-text);
}
.fv-photo { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.fv-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.fv-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 18, 26, .86) 0%, rgba(8, 18, 26, .68) 34%, rgba(8, 18, 26, .32) 62%, rgba(8, 18, 26, .10) 100%);
}
.fv-inner { position: relative; z-index: 1; padding-left: 36px; }

.fv-eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .16em;
  color: var(--c-text-2);
  margin-bottom: 26px;
}
.fv-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(38px, 6.55vw, 95px);
  line-height: 1.24;
  letter-spacing: .015em;
  color: var(--c-text);
  text-shadow: 0 2px 24px rgba(4, 10, 16, .45);
}
.fv-lead {
  margin-top: 26px;
  font-size: clamp(14px, 1.4vw, 20px);
  line-height: 1.78;
  color: var(--c-text);
  max-width: 620px;
  text-shadow: 0 1px 14px rgba(4, 10, 16, .55);
}
.fv-cta {
  margin-top: 42px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.fv-cta .btn-primary { min-width: 395px; min-height: 75px; font-size: 17px; }
.fv-tel {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--c-text);
}
.fv-tel .tel-ico { color: var(--c-accent); }
.fv-tel b {
  font-family: var(--font-number);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
  display: block;
}
.fv-tel small { display: block; font-size: 11px; color: var(--c-text-2); letter-spacing: .04em; }

/* FV下ティッカー(静的表示・09の指定によりアニメーションなし) */
.fv-ticker {
  position: relative;
  z-index: 1;
  display: flex;
  border-top: 1px solid var(--c-border-mid);
  margin-top: 40px;
  background: rgba(8, 18, 26, .55);
}
.fv-ticker > div {
  flex: 1;
  padding: 16px 24px;
  border-right: 1px solid var(--c-border-mid);
  text-align: center;
}
.fv-ticker > div:last-child { border-right: 0; }
.fv-ticker b {
  font-family: var(--font-number);
  font-weight: 900;
  font-size: 22px;
  line-height: 1.2;
  color: var(--c-text);
  display: block;
}
.fv-ticker span { font-size: 11px; letter-spacing: .1em; color: var(--c-text-2); }

/* MV-11 スクロール誘導 */
.fv-scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 96px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--c-text-2);
  writing-mode: vertical-rl;
}
.fv-scroll i {
  display: block;
  width: 1px;
  height: 54px;
  background: var(--c-border-strong);
  position: relative;
  overflow: hidden;
}
.fv-scroll i::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 1px; height: 18px;
  background: var(--c-accent);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(-20px); opacity: 0; }
  35% { opacity: 1; }
  100% { transform: translateY(54px); opacity: 0; }
}

/* ===== 06 stats =========================================== */
.stats { --sec-pt: 14px; --sec-pb: 28px; }
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1.89fr 1.02fr;
  margin-top: 18px;
}
.stat-cell {
  border-right: 1px solid var(--c-border);
  text-align: center;
  padding-inline: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.stat-cell:last-child { border-right: 0; }
.stat-num {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-number);
  font-weight: 900;
  color: var(--c-accent);
  line-height: 1;
  letter-spacing: -.01em;
}
.stat-cell .stat-num { font-size: clamp(52px, 7.6vw, 110px); }
.stat-cell--main .stat-num { font-size: clamp(62px, 10.1vw, 146px); }
.stat-unit {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.5vw, 22px);
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: .02em;
}
.stat-label {
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--c-text);
}
.stat-label small { display: block; font-size: 11px; color: var(--c-text-muted); letter-spacing: .04em; }
.stat-note { margin-top: 18px; text-align: center; font-size: 12.5px; color: var(--c-text-muted); }

/* DT-01 桁ロールカウンター */
.odo { display: inline-flex; align-items: baseline; font-variant-numeric: tabular-nums; }
.od-digit { display: inline-block; overflow: hidden; height: 1em; line-height: 1; }
.od-strip { display: block; transform: translateY(0); }
.od-g { display: block; height: 1em; line-height: 1; }
.od-sep { display: inline-block; }

/* ===== 07 reasons ========================================= */
.reasons { --sec-pt: 0; --sec-pb: 0; }
.reasons-box { padding: 16px 0 0; }
.reasons-box > .sec-head { padding-inline: 32px; }
.reason-row {
  position: relative;
  display: grid;
  align-items: center;
  gap: 0;
  border-bottom: 1px solid var(--c-border);
  padding-block: 30px;
}
.reason-row:last-child { border-bottom: 0; }
.reason-row--l { grid-template-columns: 1fr 535px; }
.reason-row--r { grid-template-columns: 549px 1fr; }
.reason-body { position: relative; padding: 12px 40px 12px 283px; }
.reason-row--r .reason-body { padding-left: 250px; padding-right: 24px; }
.reason-ghost {
  position: absolute;
  left: 83px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-number);
  font-weight: 900;
  font-size: clamp(74px, 9.7vw, 140px);
  line-height: 1;
  color: var(--c-ghost);
  letter-spacing: -.02em;
  pointer-events: none;
  user-select: none;
}
.reason-row--r .reason-ghost { left: 43px; }
.reason-body h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(20px, 1.88vw, 27px);
  line-height: 1.5;
  letter-spacing: .04em;
  color: var(--c-text);
}
.reason-quote {
  margin-top: 16px;
  border-left: 3px solid var(--c-accent);
  padding-left: 16px;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.85;
  color: var(--c-text);
}
.reason-body p.txt { margin-top: 16px; font-size: 15px; line-height: 1.95; color: var(--c-text-2); }
.reason-body .link-more { margin-top: 18px; }
.reason-photo { overflow: hidden; align-self: center; }
.reason-photo img { width: 100%; height: auto; aspect-ratio: 535 / 200; object-fit: cover; }

/* ===== 08 services ======================================== */
.services { --sec-pt: 30px; --sec-pb: 24px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 30px;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 277px;
  border: 1px solid var(--c-border);
  overflow: hidden;
  color: var(--c-text);
  isolation: isolate;
}
.service-card .card-photo { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.service-card .card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease-out; }
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(6, 15, 22, .16) 0%, rgba(6, 15, 22, .48) 34%, rgba(6, 15, 22, .88) 100%);
}
.service-card .card-inner { position: relative; z-index: 2; padding: 0 14px 22px; text-align: center; }
.service-card .card-ico { width: 44px; height: 44px; margin: 0 auto 12px; }
.service-card h3 {
  font-size: clamp(15px, 1.4vw, 20px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .03em;
}
.service-card .card-target { margin-top: 8px; font-size: 11.5px; color: var(--c-text-2); letter-spacing: .03em; }
.service-card .card-desc { margin-top: 6px; font-size: 12px; line-height: 1.75; color: var(--c-text-2); }
.service-card .card-price {
  margin-top: 8px;
  font-family: var(--font-number);
  font-size: 13px;
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: .03em;
}
.service-card .card-bar { display: block; width: 47px; height: 3px; background: var(--c-accent); margin: 12px auto 12px; }
.service-card .card-link { margin-top: 10px; font-size: 11.5px; font-weight: 700; color: var(--c-text); display: inline-flex; gap: 6px; align-items: center; }
.service-card:hover .card-photo img { transform: scale(1.06); }
.service-card:hover { border-color: var(--c-border-mid); }
.card-stretch { position: absolute; inset: 0; z-index: 2; }

/* ===== 09 works =========================================== */
.works { --sec-pt: 24px; --sec-pb: 36px; }
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 23px;
  margin-top: 24px;
}
.work-card {
  border: 1px solid var(--c-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, .012);
  transition: border-color .25s ease;
}
.work-card .card-photo { overflow: hidden; aspect-ratio: 426 / 230; }
.work-card .card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease-out; }
.work-card .card-body { padding: 16px 20px 20px; }
.work-card .card-cat { font-size: 11.5px; letter-spacing: .1em; color: var(--c-text-muted); }
.work-card h3 {
  margin-top: 6px;
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-text);
  letter-spacing: .03em;
}
.work-card:hover { border-color: var(--c-border-mid); }
.work-card:hover .card-photo img { transform: scale(1.06); }
.center-btn { margin-top: 24px; text-align: center; }
.works-note { margin-top: 18px; text-align: center; font-size: 13px; color: var(--c-text-muted); }

/* ===== 10 flow ============================================ */
.flow { --sec-pt: 36px; --sec-pb: 30px; }
.flow-box { padding: 0 40px 30px; }
.flow-strip { display: flex; align-items: flex-start; }
.flow-item { flex: 1; text-align: center; padding-inline: 6px; }
.flow-head { display: flex; align-items: flex-end; justify-content: center; gap: 14px; }
.flow-no { text-align: left; line-height: 1; }
.flow-no span {
  display: block;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--c-accent);
}
.flow-no b {
  display: block;
  font-family: var(--font-number);
  font-weight: 900;
  font-size: clamp(34px, 3.6vw, 51px);
  line-height: 1;
  color: var(--c-accent);
  margin-top: 4px;
}
.flow-ico { width: 48px; height: 48px; flex: none; }
.flow-item h3 {
  margin-top: 20px;
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--c-text);
}
.flow-item p { margin-top: 8px; font-size: 13px; line-height: 1.9; color: var(--c-text-2); }
.flow-arrow {
  flex: none;
  width: 30px;
  align-self: center;
  margin-top: 8px;
  color: var(--c-accent);
  display: flex;
  justify-content: center;
}

/* ===== 11 voice =========================================== */
.voice { --sec-pt: 40px; --sec-pb: 30px; }
.voice-grid { display: grid; grid-template-columns: 1fr 472px; gap: 40px; align-items: center; }
.voice-body { position: relative; padding-left: 90px; }
.voice-mark {
  position: absolute;
  left: -6px;
  top: -62px;
  font-family: var(--font-heading);
  font-size: 176px;
  line-height: 1;
  color: var(--c-text);
  opacity: .92;
  user-select: none;
}
.voice-body blockquote {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(19px, 2.05vw, 29.5px);
  line-height: 1.6;
  letter-spacing: .03em;
  color: var(--c-text);
}
.voice-who { margin-top: 32px; font-size: 14px; color: var(--c-text-2); letter-spacing: .04em; }
.voice-line { margin-top: 20px; width: 340px; max-width: 100%; height: 1px; background: linear-gradient(90deg, var(--c-accent) 0%, rgba(224, 109, 6, .75) 58%, rgba(224, 109, 6, .12) 100%); }
.voice-sub { margin-top: 22px; font-size: 13.5px; line-height: 1.9; color: var(--c-text-2); }
.voice-sub .link-more { margin-top: 10px; }
.voice-photo { overflow: hidden; }
.voice-photo img { width: 100%; height: 239px; object-fit: cover; }

/* ===== 12 company ========================================= */
.company { --sec-pt: 24px; --sec-pb: 24px; }
.company-box { padding: 22px 38px 30px; }
.company-grid { display: grid; grid-template-columns: 610fr 660fr; gap: 17px; margin-top: 22px; }
.company-map {
  position: relative;
  min-height: 234px;
  border: 1px solid var(--c-border);
  overflow: hidden;
  /* 地図が読み込まれるまでの下地(デザイン画像のモノクロ地図調) */
  background-color: #171E25;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 62px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 78px);
}
.company-map iframe {
  width: 100%;
  height: 100%;
  min-height: 234px;
  border: 0;
  display: block;
  filter: grayscale(70%) brightness(.85) contrast(1.1);
}
.company-table { border-top: 1px solid var(--c-border); }
.company-table div {
  display: grid;
  grid-template-columns: 155px 1fr;
  border-bottom: 1px solid var(--c-border);
  min-height: 52px;
  align-items: center;
}
.company-table dt {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--c-text-muted);
  letter-spacing: .06em;
  padding: 12px 16px 12px 26px;
  border-right: 1px solid var(--c-border);
  align-self: stretch;
  display: flex;
  align-items: center;
}
.company-table dd { font-size: 14.5px; color: var(--c-text); padding: 12px 8px 12px 26px; letter-spacing: .02em; }
.company-btn { margin-top: 26px; text-align: center; }

/* ===== 13 faq ============================================= */
.faq { --sec-pt: 30px; --sec-pb: 30px; }
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px 28px;
  align-items: start;
  margin-top: 22px;
}
.faq-item { border: 1px solid var(--c-border); background: var(--c-faq-bg); }
.faq-item > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 52px;
  padding: 12px 24px 12px 32px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--c-text);
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-mark { flex: none; margin-left: auto; width: 14px; height: 14px; position: relative; }
.faq-mark::before,
.faq-mark::after {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 14px; height: 1.5px;
  background: var(--c-text);
  transition: transform .35s ease;
}
.faq-mark::after { transform: rotate(90deg); }
.faq-item.is-open .faq-mark::before { transform: rotate(135deg); }
.faq-item.is-open .faq-mark::after { transform: rotate(45deg); }
/* MC-08 スムーズ開閉 */
.faq-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-item.is-open .faq-body { grid-template-rows: 1fr; }
.faq-body > div { overflow: hidden; }
.faq-body p {
  padding: 0 32px 20px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--c-text-2);
  border-top: 1px solid var(--c-border);
  padding-top: 16px;
  margin-top: 2px;
}

/* ===== 14 news ============================================ */
.news { --sec-pt: 30px; --sec-pb: 34px; }
.news-grid { display: grid; grid-template-columns: 1fr 307px; gap: 60px; align-items: center; margin-top: 24px; }
.news-list { border-top: 1px solid var(--c-border); }
.news-row {
  display: flex;
  align-items: center;
  gap: 34px;
  min-height: 58px;
  padding: 12px 12px 12px 6px;
  border-bottom: 1px solid var(--c-border);
  transition: background-color .2s ease;
}
.news-row:hover { background: rgba(255, 255, 255, .035); }
.news-row time {
  flex: none;
  width: 108px;
  font-family: var(--font-number);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--c-text-muted);
}
.news-row .news-ttl { font-size: 14.5px; font-weight: 500; color: var(--c-text); letter-spacing: .02em; }
.news-row .arrow { margin-left: auto; color: var(--c-text-2); transition: transform .2s ease; }
.news-row:hover .arrow { transform: translateX(4px); color: var(--c-accent); }
.news-empty { padding: 26px 6px; color: var(--c-text-muted); font-size: 14px; border-bottom: 1px solid var(--c-border); }

/* ===== 15 final cta ======================================= */
.cta-final {
  position: relative;
  overflow: hidden;
  padding-block: 68px 60px;
  background: var(--c-base-alt);
  color: var(--c-text);
  border-top: 14px solid var(--c-base);
}
.cta-final .cta-photo { position: absolute; inset: 0; z-index: 0; }
.cta-final .cta-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 45%; }
.cta-final .cta-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 22, 26, .93) 0%, rgba(16, 22, 26, .84) 32%, rgba(16, 22, 26, .55) 58%, rgba(16, 22, 26, .28) 100%);
}
.cta-final .container { position: relative; z-index: 1; padding-left: 39px; }
.cta-final h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(26px, 2.78vw, 40px);
  line-height: 1.4;
  letter-spacing: .03em;
}
.cta-final .cta-txt { margin-top: 18px; font-size: clamp(14px, 1.25vw, 18px); line-height: 1.8; color: var(--c-text-2); max-width: 640px; }
.cta-row { margin-top: 30px; display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.cta-row .btn-primary { min-width: 383px; min-height: 75px; font-size: 17px; }
.cta-tel { display: flex; align-items: center; gap: 14px; color: var(--c-text); }
.cta-tel .tel-ico { color: var(--c-accent); flex: none; }
.cta-tel b {
  display: block;
  font-family: var(--font-number);
  font-weight: 700;
  font-size: clamp(26px, 2.9vw, 41px);
  line-height: 1.1;
  letter-spacing: .01em;
}
.cta-tel small { display: block; margin-top: 4px; font-size: 12px; color: var(--c-text-2); letter-spacing: .04em; }
.cta-area { margin-top: 26px; font-size: 12.5px; color: var(--c-text-muted); letter-spacing: .05em; }

/* ===== 16 footer ========================================== */
.site-footer { background: var(--c-base-alt); border-top: 1px solid var(--c-border); padding-block: 46px 26px; }
.footer-cta { display: flex; justify-content: center; padding-bottom: 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1.25fr 1.45fr 1fr;
  gap: 34px;
  align-items: start;
}
.footer-sitemap ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.footer-brand .logo b { font-size: 22px; }
.footer-brand p { margin-top: 14px; font-size: 12.5px; line-height: 1.9; color: var(--c-text-muted); }
.footer-col h2 {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--c-text-muted);
  margin-bottom: 14px;
}
.footer-col li { margin-bottom: 9px; font-size: 13px; color: var(--c-text-2); }
.footer-col a { position: relative; }
.footer-col a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .22s ease;
}
.footer-col a:hover::after, .footer-col a:focus-visible::after { transform: scaleX(1); transform-origin: left center; }
.footer-company li { margin-bottom: 7px; font-size: 12.5px; line-height: 1.8; color: var(--c-text-2); }
.footer-sns { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--c-text-2); }
.footer-sns small { display: block; font-size: 11px; color: var(--c-text-muted); }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--c-border);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: var(--c-text-muted);
}

/* ===== 17 sp fixed bar ==================================== */
.sp-fixed-bar { display: none; }

/* ===== 18 lower pages ===================================== */
.page-head { position: relative; overflow: hidden; padding-block: 52px 44px; border-bottom: 1px solid var(--c-border); }
.page-head .head-photo { position: absolute; inset: 0; z-index: 0; }
.page-head .head-photo img { width: 100%; height: 100%; object-fit: cover; }
.page-head .head-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 21, 34, .95) 0%, rgba(10, 21, 34, .84) 48%, rgba(10, 21, 34, .62) 100%); }
.page-head .container { position: relative; z-index: 1; }
.breadcrumb { font-size: 12px; color: var(--c-text-muted); letter-spacing: .04em; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb li::after { content: "›"; margin-left: 8px; color: var(--c-border-strong); }
.breadcrumb li:last-child::after { content: none; }
.breadcrumb a:hover { color: var(--c-text-2); text-decoration: underline; }
.page-title {
  margin-top: 18px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.35;
  letter-spacing: .05em;
  color: var(--c-text);
}
.page-lead { margin-top: 20px; max-width: 860px; font-size: 15px; line-height: 2; color: var(--c-text-2); }

.sec-block { --sec-pt: 72px; --sec-pb: 0; }
.sec-block:last-of-type { --sec-pb: 72px; }
.block-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 31px);
  line-height: 1.45;
  letter-spacing: .05em;
  color: var(--c-text);
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.block-title .no {
  font-family: var(--font-number);
  font-weight: 900;
  font-size: clamp(20px, 1.9vw, 26px);
  color: var(--c-accent);
  letter-spacing: 0;
}
.block-title + .block-lead { margin-top: 16px; }
.block-lead { font-size: 15px; line-height: 2; color: var(--c-text-2); max-width: 900px; }
.sub-title {
  margin-top: 34px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(17px, 1.5vw, 21px);
  letter-spacing: .05em;
  color: var(--c-text);
  padding-left: 14px;
  border-left: 3px solid var(--c-accent);
  line-height: 1.6;
}
.prose { margin-top: 16px; font-size: 15px; line-height: 2.05; color: var(--c-text-2); max-width: 900px; }
.prose > * + * { margin-top: 18px; }
.prose strong { color: var(--c-text); font-weight: 700; }
.prose a { color: var(--c-text); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--c-accent); }
.prose ul { margin-top: 14px; }
.prose ul li { position: relative; padding-left: 20px; margin-bottom: 8px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 8px; height: 1px; background: var(--c-accent); }
.prose ol { margin-top: 14px; counter-reset: n; }
.prose ol li { position: relative; padding-left: 30px; margin-bottom: 8px; counter-increment: n; }
.prose ol li::before {
  content: counter(n, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  font-family: var(--font-number); font-size: 12px; font-weight: 700; color: var(--c-accent);
}
.prose .note { font-size: 13px; color: var(--c-text-muted); }

.media-figure { margin-top: 26px; overflow: hidden; border: 1px solid var(--c-border); }
.media-figure img { width: 100%; height: 100%; object-fit: cover; }
.media-figure figcaption { padding: 10px 16px; font-size: 12px; color: var(--c-text-muted); background: rgba(255, 255, 255, .02); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.split--photo-first { grid-template-columns: 520px 1fr; }
.split--wide-text { grid-template-columns: 1fr 460px; }

.check-list { margin-top: 18px; display: grid; gap: 10px; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--c-border);
  background: rgba(255, 255, 255, .015);
  padding: 14px 18px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--c-text-2);
}
.check-list li img { width: 22px; height: 22px; flex: none; margin-top: 4px; }
.check-list li .ck { flex: none; width: 22px; height: 22px; margin-top: 4px; color: var(--c-accent); }

.price-block { margin-top: 26px; border: 1px solid var(--c-border); padding: 24px 28px; background: rgba(255, 255, 255, .015); }
.price-block .price-val {
  font-family: var(--font-number);
  font-weight: 900;
  font-size: clamp(26px, 2.6vw, 36px);
  color: var(--c-accent);
  line-height: 1.2;
  letter-spacing: .01em;
}
.price-block .price-note { margin-top: 10px; font-size: 13.5px; color: var(--c-text-2); line-height: 1.9; }
.price-bar { margin-top: 16px; height: 6px; background: rgba(255, 255, 255, .07); }
.price-bar i { display: block; height: 100%; background: var(--c-accent); }

.info-table { border-top: 1px solid var(--c-border); margin-top: 24px; }
.info-table > div { display: grid; grid-template-columns: 220px 1fr; border-bottom: 1px solid var(--c-border); }
.info-table dt {
  font-size: 13.5px; font-weight: 500; color: var(--c-text-muted); letter-spacing: .06em;
  padding: 16px 16px 16px 22px; border-right: 1px solid var(--c-border);
}
.info-table dd { font-size: 14.5px; color: var(--c-text); padding: 16px 22px; line-height: 1.85; }

.card-grid { display: grid; gap: 22px; margin-top: 26px; }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.icon-card { border: 1px solid var(--c-border); padding: 26px 24px; background: rgba(255, 255, 255, .015); }
.icon-card .ico { width: 46px; height: 46px; margin-bottom: 16px; }
.icon-card h3 { font-size: 16.5px; font-weight: 700; color: var(--c-text); letter-spacing: .04em; line-height: 1.55; }
.icon-card p { margin-top: 10px; font-size: 13.5px; line-height: 1.9; color: var(--c-text-2); }
.icon-card .card-meta { margin-top: 12px; font-size: 12px; color: var(--c-text-muted); }

.photo-card { border: 1px solid var(--c-border); overflow: hidden; display: flex; flex-direction: column; }
.photo-card .card-photo { overflow: hidden; aspect-ratio: 3 / 2; }
.photo-card .card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease-out; }
.photo-card:hover .card-photo img { transform: scale(1.06); }
.photo-card .card-body { padding: 18px 20px 22px; }
.photo-card h3 { font-size: 16px; font-weight: 700; color: var(--c-text); line-height: 1.55; margin-top: 8px; }
.photo-card p { margin-top: 8px; font-size: 13px; line-height: 1.85; color: var(--c-text-2); }

.step-block { display: grid; grid-template-columns: 420px 1fr; gap: 40px; align-items: start; border-top: 1px solid var(--c-border); padding-top: 40px; margin-top: 40px; }
.step-block:first-of-type { border-top: 0; padding-top: 0; margin-top: 26px; }
.step-block .step-media { position: relative; overflow: hidden; }
.step-block .step-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.step-no { display: flex; align-items: baseline; gap: 12px; }
.step-no span { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--c-accent); }
.step-no b { font-family: var(--font-number); font-weight: 900; font-size: 42px; line-height: 1; color: var(--c-accent); }
.step-tip { margin-top: 20px; border: 1px solid var(--c-border); background: rgba(224, 109, 6, .06); padding: 14px 18px; font-size: 13.5px; line-height: 1.85; color: var(--c-text); }
.step-tip b { color: var(--c-accent); font-size: 11.5px; letter-spacing: .14em; display: block; margin-bottom: 4px; }

.timeline { display: flex; gap: 6px; margin-top: 30px; border: 1px solid var(--c-border); padding: 22px 20px; }
.timeline li { flex: 1; text-align: center; position: relative; }
.timeline li b { display: block; font-family: var(--font-number); font-weight: 900; font-size: 20px; color: var(--c-accent); line-height: 1; }
.timeline li span { display: block; margin-top: 8px; font-size: 12px; color: var(--c-text-2); letter-spacing: .04em; }
.timeline li::after { content: ""; position: absolute; right: -3px; top: 8px; width: 6px; height: 1px; background: var(--c-border-strong); }
.timeline li:last-child::after { content: none; }

.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.tab-btn {
  border: 1px solid var(--c-border-mid);
  padding: 12px 26px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--c-text-2);
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.tab-btn:hover { color: var(--c-text); border-color: var(--c-border-strong); }
.tab-btn[aria-pressed="true"],
.tab-btn.is-current { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
/* MC-09 タブ切替フェード */
.tab-panel { transition: opacity .3s ease; }
.tab-panel.is-fading { opacity: 0; }

.empty-state { margin-top: 30px; border: 1px solid var(--c-border); padding: 44px 40px; text-align: center; background: rgba(255, 255, 255, .015); }
.empty-state h2, .empty-state h3 { font-family: var(--font-heading); font-size: clamp(19px, 1.9vw, 25px); color: var(--c-text); letter-spacing: .05em; }
.empty-state p { margin-top: 14px; font-size: 14.5px; line-height: 1.95; color: var(--c-text-2); }
.empty-state .btn { margin-top: 24px; }

.voice-card { border: 1px solid var(--c-border); padding: 30px 32px 32px; background: rgba(255, 255, 255, .015); display: flex; flex-direction: column; }
.voice-card .vc-head { display: flex; align-items: center; gap: 12px; }
.voice-card .vc-ini {
  width: 46px; height: 46px; flex: none;
  border: 1px solid var(--c-border-mid);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-number); font-weight: 700; font-size: 17px; color: var(--c-accent);
}
.voice-card .vc-ini img { width: 26px; height: 26px; }
.voice-card blockquote {
  margin-top: 20px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.65;
  letter-spacing: .04em;
  color: var(--c-text);
}
.voice-card .vc-who { margin-top: 16px; font-size: 13px; color: var(--c-text-muted); }
.voice-card .vc-from { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--c-border); font-size: 13.5px; line-height: 1.9; color: var(--c-text-2); }
.voice-card .vc-from b { display: block; font-size: 11.5px; letter-spacing: .12em; color: var(--c-accent); margin-bottom: 6px; }

.news-card { border: 1px solid var(--c-border); overflow: hidden; display: flex; flex-direction: column; }
.news-card .card-photo { aspect-ratio: 16 / 9; overflow: hidden; }
.news-card .card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease-out; }
.news-card:hover .card-photo img { transform: scale(1.05); }
.news-card .card-body { padding: 18px 22px 24px; }
.news-card .card-meta { display: flex; align-items: center; gap: 12px; }
.news-card time { font-family: var(--font-number); font-size: 12.5px; color: var(--c-text-muted); }
.news-card h3 { margin-top: 10px; font-size: 16px; font-weight: 700; line-height: 1.6; color: var(--c-text); }
.news-card p { margin-top: 10px; font-size: 13px; line-height: 1.85; color: var(--c-text-2); }

.cta-block { border: 1px solid var(--c-border); padding: 48px 46px; margin-top: 76px; background: rgba(255, 255, 255, .015); text-align: center; }
.cta-block h2 { font-family: var(--font-heading); font-weight: 700; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.45; letter-spacing: .05em; color: var(--c-text); }
.cta-block p { margin-top: 18px; font-size: 14.5px; line-height: 1.95; color: var(--c-text-2); max-width: 720px; margin-inline: auto; }
.cta-block .cta-row { justify-content: center; margin-top: 28px; }
.cta-block .btn-primary { min-width: 340px; }
.cta-links { margin-top: 24px; display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; }

/* 要素材・要確認マーカー(公開前に実データへ差し替える箇所) */
.pending {
  display: inline-block;
  font-size: .92em;
  color: var(--c-text-muted);
  border-bottom: 1px dashed rgba(224, 109, 6, .5);
}

/* 下層の帯状ビジュアル(縦に伸びすぎないよう比率を固定) */
.media-figure img { aspect-ratio: 3 / 1; }
.split .media-figure img,
.step-block .step-media img { aspect-ratio: 3 / 2; }

.check-list li span { flex: 1; }
.step-no .ico { width: 34px; height: 34px; margin-left: 6px; }
.icon-card .step-no b { font-size: 30px; }
li.tab-btn { cursor: default; }
.voice-card .vc-head .tag { margin-left: auto; }
.empty-state .cta-links { margin-top: 22px; }
.empty-state .step-no { justify-content: center; }
.prose > .link-more + .link-more { margin-left: 26px; }

/* ===== 19 form ============================================ */
.form { margin-top: 30px; max-width: 900px; }
.form-note { font-size: 13.5px; color: var(--c-text-2); line-height: 1.9; }
.form-row { margin-top: 26px; }
.form-row > label.lb, .form-row > .lb {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 700; color: var(--c-text); letter-spacing: .04em;
  margin-bottom: 10px;
}
.req { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; background: var(--c-accent); color: #fff; padding: 3px 8px; }
.opt { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; border: 1px solid var(--c-border-mid); color: var(--c-text-muted); padding: 2px 8px; }
.form input[type="text"],
.form input[type="tel"],
.form input[type="email"],
.form textarea,
.form select {
  width: 100%;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--c-border-mid);
  border-radius: var(--radius);
  color: var(--c-text);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.7;
  padding: 14px 16px;
  transition: border-color .2s ease, background-color .2s ease;
}
.form textarea { min-height: 168px; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: rgba(212, 216, 219, .38); }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--c-accent); background: rgba(255, 255, 255, .06); outline: none; }
.form input:invalid:not(:placeholder-shown) { border-color: #E0625A; }
.choice-list { display: grid; gap: 10px; }
.choice-list--row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice-list--row > .choice { flex: 1 1 168px; }
.choice {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--c-border-mid); padding: 14px 18px;
  font-size: 14px; color: var(--c-text-2); cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}
.choice:hover { border-color: var(--c-border-strong); color: var(--c-text); }
.choice input { accent-color: var(--c-accent); width: 17px; height: 17px; flex: none; }
.choice:has(input:checked) { border-color: var(--c-accent); color: var(--c-text); }
.form-hint { margin-top: 8px; font-size: 12.5px; color: var(--c-text-muted); line-height: 1.8; }
.form-submit { margin-top: 40px; text-align: center; }
.form-submit .btn-primary { min-width: 340px; }
.form-submit .form-hint { margin-top: 16px; }

/* ===== 20 motion ========================================== */
/* SC-03 基本フェードイン
   ※ will-change は常時付与しない(motion-spec 6章)。 */
[data-motion="fade"] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease-out, transform .6s ease-out; }
[data-motion="fade"].is-inview { opacity: 1; transform: none; }

/* SC-04 画像カーテンリビール
   ※ clip-pathは監視対象のラッパーではなく子imgに掛ける。ラッパー自身を全クリップすると
      IntersectionObserver(threshold .2)の交差面積が0になり is-inview が永遠に付かない */
[data-motion="curtain"] > img { clip-path: inset(0 100% 0 0); transition: clip-path .6s var(--ease-out-expo); }
[data-motion="curtain"].is-inview > img { clip-path: inset(0 0 0 0); }

/* CD-01 ステッガー登場 */
[data-motion="stagger"] > * { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease-out-expo), transform .6s var(--ease-out-expo); }
[data-motion="stagger"].is-inview > * { opacity: 1; transform: none; }
[data-motion="stagger"].is-inview > *:nth-child(1) { transition-delay: 0s; }
[data-motion="stagger"].is-inview > *:nth-child(2) { transition-delay: .08s; }
[data-motion="stagger"].is-inview > *:nth-child(3) { transition-delay: .16s; }
[data-motion="stagger"].is-inview > *:nth-child(4) { transition-delay: .24s; }
[data-motion="stagger"].is-inview > *:nth-child(5) { transition-delay: .32s; }
[data-motion="stagger"].is-inview > *:nth-child(6) { transition-delay: .40s; }
[data-motion="stagger"].is-inview > *:nth-child(7) { transition-delay: .48s; }
[data-motion="stagger"].is-inview > *:nth-child(8) { transition-delay: .56s; }
[data-motion="stagger"].is-inview > *:nth-child(9) { transition-delay: .64s; }
[data-motion="stagger"].is-inview > *:nth-child(n+10) { transition-delay: .72s; }

/* TX-03 行マスクスライド */
.tx-line { display: block; overflow: hidden; }
.tx-line > span { display: block; transform: translateY(110%); transition: transform .7s var(--ease-out-expo); }
[data-motion="lines"].is-inview .tx-line > span { transform: none; }
[data-motion="lines"].is-inview .tx-line:nth-child(2) > span { transition-delay: .12s; }
[data-motion="lines"].is-inview .tx-line:nth-child(3) > span { transition-delay: .24s; }

/* TX-08 ブラーインリビール(サイト内1箇所限定) */
[data-motion="blurin"] { opacity: 0; filter: blur(12px); transform: scale(1.04); transition: opacity 1s ease, filter 1s ease, transform 1s ease; }
[data-motion="blurin"].is-inview { opacity: 1; filter: blur(0); transform: none; }

/* MV-08 FV写真ズームアウト */
.fv-photo img { animation: fvZoom 2.6s var(--ease-out-expo) both; }
@keyframes fvZoom { from { transform: scale(1.4); } to { transform: scale(1); } }

/* FVシーケンス */
.fv-seq > * { opacity: 0; transform: translateY(12px); animation: fvUp .6s ease-out forwards; }
.fv-seq > .fv-eyebrow { animation-delay: .3s; }
.fv-seq > .fv-title { animation: none; opacity: 1; transform: none; }
.fv-seq > .fv-lead { animation-delay: 1.1s; }
.fv-seq > .fv-cta { animation-delay: 1.3s; }
@keyframes fvUp { to { opacity: 1; transform: none; } }
.fv-title .tx-line > span { transform: translateY(110%); animation: fvLine .7s var(--ease-out-expo) forwards; }
.fv-title .tx-line:nth-child(1) > span { animation-delay: .6s; }
.fv-title .tx-line:nth-child(2) > span { animation-delay: .72s; }
@keyframes fvLine { to { transform: none; } }

/* SPメニュー NV-14 */
.gnav-mobile li { opacity: 0; transform: translateY(8px); }
.nav-open .gnav-mobile li { animation: navItem .3s var(--ease-out-expo) forwards; animation-delay: calc(var(--i) * .06s); }
@keyframes navItem { to { opacity: 1; transform: none; } }

/* capture フック(デザイン照合・QAスクリーンショット用。通常閲覧には影響しない) */
.capture-mode *,
.capture-mode *::before,
.capture-mode *::after {
  transition: none !important;
  animation: none !important;
}
.capture-mode [data-motion="fade"],
.capture-mode [data-motion="stagger"] > *,
.capture-mode [data-motion="blurin"],
.capture-mode .fv-seq > *,
.capture-mode .gnav-mobile li { opacity: 1 !important; transform: none !important; filter: none !important; }
.capture-mode [data-motion="curtain"] > img { clip-path: none !important; }
.capture-mode .tx-line > span { transform: none !important; }
.capture-mode .fv-photo img { transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .fv-scroll i::after { animation: none; opacity: 0; }
}

/* ===== 21 responsive ====================================== */
@media (max-width: 1200px) {
  :root { --gutter: 40px; }
  .reason-row--l { grid-template-columns: 1fr 400px; }
  .reason-row--r { grid-template-columns: 400px 1fr; }
  .reason-body { padding-left: 210px; }
  .reason-row--r .reason-body { padding-left: 210px; }
  .reason-ghost { left: 40px; }
  .reason-row--r .reason-ghost { left: 24px; }
  .voice-grid { grid-template-columns: 1fr 360px; }
  .news-grid { grid-template-columns: 1fr 260px; gap: 36px; }
  .footer-grid { grid-template-columns: 1.3fr 1.2fr 1.4fr; }
  .footer-sns-col { grid-column: span 3; }
  .split--photo-first { grid-template-columns: 400px 1fr; }
  .split--wide-text { grid-template-columns: 1fr 380px; }
  .step-block { grid-template-columns: 340px 1fr; gap: 32px; }
}

@media (max-width: 1024px) {
  .gnav-desktop, .header-tel { display: none; }
  .hamburger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 46px; height: 46px; margin-left: 14px;
    border: 1px solid var(--c-border-mid); padding: 0 11px;
  }
  .hamburger span { display: block; height: 1.5px; background: #fff; transition: transform .3s ease, opacity .2s ease; }
  .nav-open .hamburger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-open .hamburger span:nth-child(2) { opacity: 0; }
  .nav-open .hamburger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .gnav-mobile {
    display: block;
    position: fixed;
    inset: var(--header-h) 0 auto;
    background: var(--c-base);
    border-bottom: 1px solid var(--c-border);
    padding: 8px var(--gutter) 26px;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    z-index: 119;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav-open .gnav-mobile { visibility: visible; opacity: 1; transform: none; }
  .gnav-mobile li a { display: block; padding: 15px 2px; border-bottom: 1px solid var(--c-border); font-size: 15px; font-weight: 500; color: var(--c-text); }
  .gnav-mobile .gnav-mobile-cta { margin-top: 20px; }
  .header-cta { width: auto; min-height: 46px; padding: 6px 16px; font-size: 11.5px; }
  .header-cta .arrow { display: none; }

  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-cell--main .stat-num { font-size: clamp(46px, 8vw, 96px); }

  .reason-row--l, .reason-row--r { grid-template-columns: 1fr; gap: 24px; }
  .reason-body, .reason-row--r .reason-body { padding: 0 4px 0 0; }
  .reason-ghost, .reason-row--r .reason-ghost { position: static; transform: none; display: block; margin-bottom: 4px; font-size: 66px; }
  .reason-photo img { min-height: 220px; }
  .reason-row .reason-photo { order: -1; }

  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-strip { flex-wrap: wrap; row-gap: 26px; }
  .flow-item { flex: 0 0 calc(33.333% - 20px); }
  .flow-arrow { display: none; }
  .voice-grid { grid-template-columns: 1fr; gap: 26px; }
  .voice-photo img { height: 260px; }
  .company-grid { grid-template-columns: 1fr; gap: 22px; }
  .faq-list { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; gap: 24px; }
  .news-grid .center-btn { text-align: center; }
  .cta-row .btn-primary, .fv-cta .btn-primary { min-width: 320px; }
  .split, .split--photo-first, .split--wide-text { grid-template-columns: 1fr; gap: 26px; }
  .step-block { grid-template-columns: 1fr; gap: 22px; }
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .timeline { flex-wrap: wrap; row-gap: 18px; }
  .timeline li { flex: 0 0 calc(25% - 6px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-sns-col { grid-column: auto; }
  .footer-sitemap ul { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --gutter: 20px; --header-h: 62px; }
  body { font-size: 14.5px; padding-bottom: 60px; }
  .fv { min-height: 520px; padding-block: 40px 0; }
  .fv-inner { padding-left: 0; }
  .cta-final .container { padding-left: 0; }
  .fv-photo img { object-position: 68% 50%; }
  .fv-photo::after { background: linear-gradient(180deg, rgba(8, 18, 26, .72) 0%, rgba(8, 18, 26, .66) 45%, rgba(8, 18, 26, .88) 100%); }
  .fv-cta { gap: 18px; }
  .fv-cta .btn-primary { min-width: 0; width: 100%; min-height: 62px; }
  /* SPではヘッダーCTAを外し、画面下部固定バーに集約する(design-spec 2-1 / copy.md 0-2) */
  .header-cta { display: none; }
  /* 白×オレンジは3.30:1のため、SPでもボタンラベルは太字16pxを下限に保つ(余白側で調整) */
  .btn-primary, .fv-cta .btn-primary, .cta-row .btn-primary, .btn-lg { font-size: 16px; }
  .btn { padding-inline: 18px; gap: 10px; }
  .btn-lg { padding: 20px 18px; min-height: 66px; }
  .fv-ticker { margin-top: 32px; }
  .fv-ticker > div { padding: 12px 10px; }
  .fv-scroll { display: none; }
  .fv-lead { font-size: 14.5px; }

  .stats-grid { grid-template-columns: 1fr; }
  .stat-cell { border-right: 0; border-bottom: 1px solid var(--c-border); min-height: 0; padding-block: 22px; }
  .stat-cell:last-child { border-bottom: 0; }

  .reasons-box { padding-top: 26px; }
  .reasons-box > .sec-head { padding-inline: 18px; }
  .reason-row { padding: 26px 18px; }
  .reason-ghost, .reason-row--r .reason-ghost { font-size: 54px; }

  .services-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .service-card { min-height: 220px; }
  .service-card .card-inner { padding: 0 10px 18px; }
  .works-grid { grid-template-columns: 1fr; }
  .flow-box { padding: 22px 18px 26px; }
  .flow-item { flex: 0 0 calc(50% - 10px); }
  .voice-body { padding-left: 0; padding-top: 52px; }
  .voice-mark { top: 0; left: 0; font-size: 60px; }
  .company-box { padding: 22px 18px 26px; }
  .company-table div { grid-template-columns: 108px 1fr; }
  .company-table dt { padding: 12px 10px; font-size: 12.5px; }
  .company-table dd { padding: 12px 14px; font-size: 14px; }
  .news-row { flex-wrap: wrap; gap: 4px 18px; padding-block: 14px; }
  .news-row time { width: auto; }
  .news-row .news-ttl { flex: 1 1 100%; }

  .cta-final { padding-block: 46px 44px; }
  .cta-row { gap: 22px; }
  .cta-row .btn-primary { min-width: 0; width: 100%; min-height: 64px; }
  .cta-final .cta-photo::after { background: linear-gradient(180deg, rgba(16, 22, 26, .82) 0%, rgba(16, 22, 26, .88) 60%, rgba(16, 22, 26, .95) 100%); }

  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-cta .btn { width: 100%; }
  .footer-bottom { margin-top: 30px; }

  .page-head { padding-block: 30px 34px; }
  .card-grid--2, .card-grid--3, .card-grid--4 { grid-template-columns: 1fr; }
  .info-table > div { grid-template-columns: 1fr; }
  .info-table dt { border-right: 0; border-bottom: 1px solid var(--c-border); padding: 12px 16px; background: rgba(255, 255, 255, .02); }
  .info-table dd { padding: 14px 16px; }
  .timeline li { flex: 0 0 calc(50% - 3px); }
  .timeline li::after { content: none; }
  .cta-block { padding: 32px 20px; margin-top: 52px; }
  .cta-block .btn-primary { min-width: 0; width: 100%; }
  .choice-list--row > .choice { flex: 1 1 100%; }
  .form-submit .btn-primary { min-width: 0; width: 100%; }
  .sec-block { --sec-pt: 48px; }
  .sec-block:last-of-type { --sec-pb: 48px; }

  /* SP固定フッターバー(copy.md 0-2) */
  .sp-fixed-bar {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 200;
    border-top: 1px solid var(--c-border);
    transform: translateY(100%);
    animation: barUp .4s ease-out .6s forwards;
  }
  .sp-fixed-bar a {
    flex: 1;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 15px 6px;
    font-size: 13px; font-weight: 700; letter-spacing: .03em;
    transition: transform .1s ease;
  }
  .sp-fixed-bar a.bar-tel { background: var(--c-base-alt); color: var(--c-text); }
  .sp-fixed-bar a.bar-cta { background: var(--c-accent); color: #fff; }
  .sp-fixed-bar a:active { transform: scale(.97); }
  @keyframes barUp { to { transform: none; } }
  .capture-mode .sp-fixed-bar { transform: none !important; }
}

@media (max-width: 420px) {
  .services-grid { grid-template-columns: 1fr; }
  .flow-item { flex: 0 0 100%; }
  .fv-title { font-size: 38px; }
}

/* タッチデバイスではホバー演出を無効化(motion-spec 4章) */
@media (hover: none) {
  .service-card:hover .card-photo img,
  .work-card:hover .card-photo img,
  .photo-card:hover .card-photo img,
  .news-card:hover .card-photo img { transform: none; }
  .btn:active { transform: scale(.97); }
}
