/* =====================================================
   Schoole GROWTH サービスサイト v3
   コンセプト：「毎日、数字に赤を入れる会社」のドキュメンタリー
   紙白 × 墨紺 × 赤ペンの朱。全画面写真・フィルムグレイン・
   コラージュで、ハイバジェットの編集体裁に。
   ===================================================== */

:root {
  --paper: #F7F5F0;
  --paper-deep: #EDEAE2;
  --ink: #1B222B;
  --ink-soft: #5D6672;
  --navy: #101C28;
  --navy-deep: #0B141D;
  --red: #C23B22;
  --red-soft: #D98C7A;
  --line: #D9D4C9;
  --line-dark: rgba(247, 245, 240, 0.16);

  --serif: "Shippori Mincho B1", "Hiragino Mincho ProN", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
  --en: "Archivo", "Helvetica Neue", sans-serif;
}

/* ---------- base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
em { font-style: normal; }
::selection { background: var(--red); color: #fff; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* フィルムグレイン（のっぺり対策の要） */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  z-index: 2000;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  opacity: 0.07;
  mix-blend-mode: multiply;
}

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 36px; }
.hidden { display: none; }
.sp { display: none; }

/* ---------- type utilities ---------- */
.eyebrow {
  font-family: var(--en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--red);
  margin-bottom: 20px;
}
.eyebrow.inv { color: var(--red-soft); }

.h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.h2.inv { color: var(--paper); }

.sec-head { max-width: 760px; margin-bottom: 88px; }
.sec-lead { margin-top: 26px; color: var(--ink-soft); }

/* ---------- photo caption（署名的要素：報道写真のタイムスタンプ） ---------- */
figcaption, .hero-caption {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
figure figcaption {
  padding-top: 10px;
  margin-top: 12px;
  border-top: 1px solid var(--line);
}
figcaption time, .hero-caption time {
  font-family: var(--en);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--red);
  white-space: nowrap;
}

/* ---------- buttons ---------- */
.btn-solid {
  display: inline-block;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  padding: 18px 38px;
  border: 1px solid var(--paper);
  border-radius: 2px;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  cursor: pointer;
}
.btn-solid:hover { background: var(--red); border-color: var(--red); color: #fff; }
.btn-solid.wide { width: 100%; text-align: center; }

.btn-line {
  display: inline-block;
  font-weight: 500;
  font-size: 15px;
  padding: 18px 6px;
  color: var(--paper);
  border-bottom: 1px solid rgba(247, 245, 240, 0.6);
  transition: color 0.3s, border-color 0.3s;
}
.btn-line:hover { color: var(--red-soft); border-color: var(--red-soft); }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: var(--paper);
  transition: background 0.35s, color 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(247, 245, 240, 0.9);
  backdrop-filter: blur(10px);
  color: var(--ink);
  border-bottom-color: var(--line);
}
.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 36px;
  height: 76px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.brand {
  font-family: var(--en);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.brand em { color: var(--red-soft); margin-left: 6px; letter-spacing: 0.16em; }
.site-header.scrolled .brand em { color: var(--red); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font-size: 13px; font-weight: 500; letter-spacing: 0.05em; opacity: 0.9; }
.nav a:hover { color: var(--red-soft); opacity: 1; }
.site-header.scrolled .nav a:hover { color: var(--red); }
.header-cta {
  font-size: 13px;
  font-weight: 700;
  padding: 11px 20px;
  border: 1px solid currentColor;
  border-radius: 2px;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.header-cta:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- hero（全画面写真） ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--paper);
  isolation: isolate;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img {
  width: 100%;
  height: 118%;
  object-fit: cover;
  transform: translateY(-8%);
  will-change: transform;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(200deg, rgba(11, 20, 29, 0.05) 30%, rgba(11, 20, 29, 0.52) 78%),
    linear-gradient(90deg, rgba(11, 20, 29, 0.55) 0%, rgba(11, 20, 29, 0.12) 55%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 160px 36px 120px;
}
.hero-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 30px;
}
.hero-eyebrow .en {
  display: block;
  font-family: var(--en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--red-soft);
  margin-bottom: 10px;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 82px);
  line-height: 1.38;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 40px rgba(11, 20, 29, 0.45);
}
.hero-sub {
  margin-top: 28px;
  font-size: clamp(15px, 1.4vw, 18px);
  letter-spacing: 0.04em;
  color: rgba(247, 245, 240, 0.88);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px 32px; margin-top: 44px; align-items: center; }
.hero-caption {
  position: absolute;
  right: 36px;
  bottom: 28px;
  z-index: 1;
  color: rgba(247, 245, 240, 0.75);
}
.hero-caption time { color: var(--red-soft); }

/* ---------- ticker ---------- */
.ticker {
  background: var(--navy-deep);
  color: rgba(247, 245, 240, 0.85);
  border-top: 1px solid rgba(247, 245, 240, 0.08);
  overflow: hidden;
  padding: 14px 0;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: ticker 36s linear infinite;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.14em;
  white-space: nowrap;
}
.ticker-track i { color: var(--red); font-style: normal; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- who ---------- */
.who {
  padding: 130px 0;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%);
}
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: stretch;
}
.who-list { margin-top: 36px; }
.who-list li {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.who-list li:first-child { border-top: 1px solid var(--line); }
.who-note { margin-top: 18px; font-size: 13px; color: var(--ink-soft); }

.who-band {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  min-height: 420px;
  box-shadow: 0 32px 64px -24px rgba(16, 28, 40, 0.45);
}
.who-band > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.who-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(16, 28, 40, 0.82), rgba(16, 28, 40, 0.45));
}
.who-band-copy {
  position: relative;
  height: 100%;
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 22px;
}
.who-band-copy p {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.6;
  text-shadow: 0 2px 24px rgba(11, 20, 29, 0.5);
}
.who-band-copy small { font-size: 13px; line-height: 1.9; color: rgba(247, 245, 240, 0.78); }

/* ---------- work（4工程・コラージュ） ---------- */
.work {
  padding: 130px 0 60px;
  background:
    radial-gradient(1200px 600px at 85% 0%, rgba(194, 59, 34, 0.05), transparent 70%),
    var(--paper);
}
.work .sec-head { margin-bottom: 110px; }

.work-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 72px;
  align-items: center;
  padding-bottom: 150px;
}
.work-row.rev .work-photo { order: 2; }
.work-row.rev .work-copy { order: 1; }

.ghost {
  position: absolute;
  top: -0.52em;
  z-index: 0;
  font-family: var(--en);
  font-weight: 700;
  font-size: clamp(80px, 11vw, 170px);
  line-height: 1;
  letter-spacing: 0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(27, 34, 43, 0.14);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.work-row .ghost { right: -0.04em; }
.work-row.rev .ghost { left: -0.04em; right: auto; }

.work-photo { position: relative; z-index: 1; }
.photo-main { position: relative; }
.photo-main img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  box-shadow: 0 40px 80px -32px rgba(16, 28, 40, 0.5);
}
.photo-sub {
  position: absolute;
  right: -44px;
  bottom: -12px;
  width: 36%;
  z-index: 2;
  transform: rotate(1.6deg);
}
.photo-sub img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 6px solid var(--paper);
  box-shadow: 0 28px 56px -18px rgba(16, 28, 40, 0.55);
}
.photo-sub.tall { width: 30%; transform: rotate(-1.4deg); left: -44px; right: auto; bottom: 44px; }
.photo-sub.tall img { aspect-ratio: 3 / 4; }

.work-step {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.18em;
  margin-bottom: 22px;
}
.work-step .num {
  font-family: var(--en);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--red);
}
.work-copy { position: relative; z-index: 1; }
.work-copy h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.6;
  margin-bottom: 22px;
}
.work-copy > p { color: var(--ink-soft); font-size: 15px; }
.work-tag {
  display: inline-block;
  margin-top: 26px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
  border: 1px solid rgba(27, 34, 43, 0.5);
  border-radius: 2px;
  padding: 6px 14px;
}

/* ---------- morning（署名セクション：毎朝07:00） ---------- */
.morning {
  position: relative;
  color: var(--paper);
  padding: 150px 0;
  isolation: isolate;
  overflow: hidden;
}
.morning-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 20, 29, 0.92), rgba(16, 28, 40, 0.88)),
    url("images/photo_wall.jpg") center 30% / cover no-repeat;
}
.morning-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 88px;
  align-items: center;
}
.morning-time {
  font-family: var(--en);
  font-weight: 400;
  font-size: clamp(80px, 10vw, 150px);
  line-height: 1;
  letter-spacing: 0.01em;
  margin-bottom: 30px;
  text-shadow: 0 2px 60px rgba(0, 0, 0, 0.5);
}
.morning-time::after {
  content: "AM — 毎朝";
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.34em;
  color: var(--red-soft);
  margin-top: 16px;
}
.morning-lead { margin-top: 28px; color: rgba(247, 245, 240, 0.8); font-size: 15px; max-width: 560px; }
.morning-layers { margin-top: 48px; }
.morning-layers li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 18px;
  padding: 19px 0;
  border-top: 1px solid var(--line-dark);
  font-size: 14px;
  color: rgba(247, 245, 240, 0.82);
}
.morning-layers li:last-child { border-bottom: 1px solid var(--line-dark); }
.morning-layers b {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 16px;
  color: var(--paper);
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.morning-layers b small {
  font-family: var(--en);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--red-soft);
}

.morning-visual { position: relative; padding-bottom: 64px; }
.morning-photo img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  max-height: 660px;
  box-shadow: 0 48px 96px -32px rgba(0, 0, 0, 0.7);
}
.chat-card {
  position: absolute;
  left: -52px;
  bottom: 18px;
  width: min(350px, 90%);
  background: rgba(252, 251, 248, 0.96);
  color: var(--ink);
  border-radius: 5px;
  padding: 19px 22px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5);
  transform: rotate(-1.2deg);
  backdrop-filter: blur(6px);
}
.chat-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
.chat-app { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; }
.chat-time { font-family: var(--en); font-size: 12px; font-weight: 600; color: var(--ink-soft); }
.chat-line { font-size: 13px; line-height: 1.7; }
.chat-line b { font-family: var(--en); font-size: 16px; font-weight: 700; }
.chat-diff { display: inline-block; margin-left: 10px; font-size: 11px; font-weight: 700; color: #2E7D4F; }
.chat-alert {
  margin-top: 12px;
  padding: 8px 12px;
  border: 1px solid var(--red);
  border-radius: 2px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--red);
  font-weight: 500;
}

/* ---------- price ---------- */
.price {
  padding: 140px 0;
  background: linear-gradient(180deg, var(--paper-deep) 0%, var(--paper) 26%);
}

/* 赤ペンの丸（署名的要素） */
.circled { position: relative; display: inline-block; padding: 0 6px; }
.circled::before {
  content: "";
  position: absolute;
  inset: -12% -10% -16% -12%;
  border: 3px solid var(--red);
  border-radius: 46% 54% 50% 48% / 58% 44% 56% 42%;
  transform: rotate(-3deg);
  pointer-events: none;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.step {
  padding: 44px 34px 48px 0;
  border-bottom: 1px solid var(--line);
}
.step + .step { padding-left: 34px; border-left: 1px solid var(--line); }
.step-no {
  font-family: var(--en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--red);
  margin-bottom: 16px;
}
.step h3 { font-family: var(--serif); font-weight: 700; font-size: 20px; margin-bottom: 8px; }
.step-price { margin-bottom: 14px; }
.step-price b {
  font-family: var(--en);
  font-weight: 700;
  font-size: 48px;
  letter-spacing: -0.01em;
}
.step-price small { font-size: 13px; font-weight: 700; margin-left: 6px; }
.step > p:last-child { font-size: 13.5px; color: var(--ink-soft); line-height: 1.85; }

.tier { margin-top: 80px; }
.tier-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 44px;
}
.tier-axis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  padding-top: 26px;
}
.tier-axis::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--ink);
}
.tier-node { position: relative; padding-right: 24px; }
.tier-node::before {
  content: "";
  position: absolute;
  top: -31px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}
.tier-node b {
  font-family: var(--en);
  font-weight: 700;
  font-size: 40px;
  display: block;
}
.tier-node b small { font-family: var(--sans); font-size: 14px; margin-left: 4px; }
.tier-node span { display: block; font-size: 13px; color: var(--ink-soft); margin-top: 4px; }

.tier-notes { margin-top: 52px; max-width: 780px; }
.tier-notes li {
  font-size: 13px;
  color: var(--ink-soft);
  padding: 9px 0 9px 18px;
  position: relative;
  border-bottom: 1px solid var(--line);
  line-height: 1.8;
}
.tier-notes li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 19px;
  width: 6px;
  height: 1px;
  background: var(--red);
}

/* ---------- reframe（都市写真の全面バンド） ---------- */
.reframe {
  position: relative;
  min-height: 64vh;
  display: flex;
  align-items: center;
  color: var(--paper);
  isolation: isolate;
  overflow: hidden;
}
.reframe-bg { position: absolute; inset: 0; z-index: -1; }
.reframe-bg img {
  width: 100%;
  height: 116%;
  object-fit: cover;
  transform: translateY(-7%);
  will-change: transform;
}
.reframe::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 20, 29, 0.72) 0%, rgba(11, 20, 29, 0.3) 70%);
}
.reframe-inner { position: relative; padding-top: 100px; padding-bottom: 100px; }
.reframe-main {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 54px);
  letter-spacing: 0.03em;
  line-height: 1.5;
  text-shadow: 0 2px 40px rgba(11, 20, 29, 0.6);
}
.reframe-sub { margin-top: 20px; font-size: 15px; color: rgba(247, 245, 240, 0.85); }

/* ---------- flow ---------- */
.flow { padding: 130px 0; background: var(--paper); }
.flow-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 80px;
  align-items: start;
}
.flow .sec-head { margin-bottom: 0; }

.flow-line { position: relative; padding-left: 38px; }
.flow-line::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 12px;
  bottom: 76px;
  width: 1px;
  background: var(--ink);
}
.flow-line li { position: relative; padding-bottom: 42px; font-size: 15px; color: var(--ink-soft); }
.flow-line li::before {
  content: "";
  position: absolute;
  left: -38px;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
}
.flow-line li b {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 6px;
}
.flow-line li.flow-end { padding-bottom: 0; font-size: 13.5px; }
.flow-line li.flow-end::before {
  background: var(--paper);
  border: 1px dashed var(--red);
  width: 8px;
  height: 8px;
}

/* ---------- faq ---------- */
.faq {
  padding: 130px 0;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%);
}
.faq-list { max-width: 860px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 25px 44px 25px 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 17px;
  position: relative;
  transition: color 0.25s;
}
.faq-list summary:hover { color: var(--red); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "＋";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--en);
  font-size: 18px;
  color: var(--red);
}
.faq-list details[open] summary::after { content: "－"; }
.faq-list details p {
  padding: 0 0 28px;
  font-size: 14.5px;
  color: var(--ink-soft);
  max-width: 720px;
}

/* ---------- company ---------- */
.company { padding: 130px 0; background: var(--paper-deep); }
.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 80px;
  align-items: start;
}
.why-list { margin-top: 44px; }
.why-list li {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-soft);
}
.why-list li:last-child { border-bottom: 1px solid var(--line); }
.why-list b {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 4px;
}
.company-info { margin-top: 48px; }
.company-info div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  padding: 10px 0;
  font-size: 13.5px;
}
.company-info dt { color: var(--ink-soft); }
.company-photo { margin-top: 8px; }
.company-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  box-shadow: 0 36px 72px -28px rgba(16, 28, 40, 0.5);
}

/* ---------- contact（都市写真の背景） ---------- */
.contact {
  position: relative;
  color: var(--paper);
  padding: 150px 0;
  isolation: isolate;
  overflow: hidden;
}
.contact-bg { position: absolute; inset: 0; z-index: -1; }
.contact-bg img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center 70%;
  transform: translateY(-6%);
  will-change: transform;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 20, 29, 0.9) 0%, rgba(11, 20, 29, 0.72) 100%);
}
.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 88px;
  align-items: start;
}
.contact-lead { margin-top: 26px; font-size: 15px; color: rgba(247, 245, 240, 0.82); }
.contact-note {
  margin-top: 34px;
  padding-top: 16px;
  border-top: 1px solid var(--line-dark);
  font-size: 13px;
  color: rgba(247, 245, 240, 0.62);
}

.contact-form {
  display: grid;
  gap: 22px;
  background: rgba(11, 20, 29, 0.5);
  border: 1px solid rgba(247, 245, 240, 0.14);
  border-radius: 4px;
  padding: 44px 42px 40px;
  backdrop-filter: blur(12px);
  box-shadow: 0 40px 80px -32px rgba(0, 0, 0, 0.6);
}
.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 13px 2px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(247, 245, 240, 0.35);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  border-radius: 0;
  transition: border-color 0.25s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--red-soft);
}
.contact-form textarea { resize: vertical; }
.contact-form ::placeholder { color: rgba(247, 245, 240, 0.35); }
.contact-form .btn-solid { margin-top: 14px; }
.contact-thanks {
  grid-column: 1 / -1;
  position: relative;
  font-size: 15px;
  padding: 24px 0;
  border-top: 1px solid var(--line-dark);
}

/* ---------- footer ---------- */
.footer { background: var(--navy-deep); color: rgba(247, 245, 240, 0.7); padding: 60px 0; }
.footer-inner { display: grid; gap: 24px; }
.footer-brand { font-family: var(--en); font-weight: 700; font-size: 16px; color: var(--paper); }
.footer-brand em { color: var(--red-soft); margin-left: 6px; letter-spacing: 0.16em; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-nav a { font-size: 12.5px; }
.footer-nav a:hover { color: var(--paper); }
.footer-copy { font-size: 12px; line-height: 2; }

/* ---------- reveal ---------- */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
  .hero-bg img, .reframe-bg img, .contact-bg img { transform: none; height: 100%; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .morning-grid { grid-template-columns: 1fr; gap: 64px; }
  .morning-visual { max-width: 480px; }
  .chat-card { left: auto; right: -12px; }
  .flow-grid, .company-grid, .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .company-photo { max-width: 480px; }
  .who-grid { grid-template-columns: 1fr; gap: 48px; }
  .who-band { min-height: 360px; }
  .work-row { grid-template-columns: 1fr; gap: 44px; padding-bottom: 120px; }
  .work-row.rev .work-photo { order: 0; }
  .work-row.rev .work-copy { order: 1; }
  .ghost { font-size: clamp(70px, 14vw, 120px); }
}

@media (max-width: 760px) {
  body { font-size: 15px; }
  .sp { display: inline; }
  .wrap { padding: 0 24px; }
  .header-inner { padding: 0 24px; gap: 16px; height: 64px; }
  .brand { font-size: 15px; }
  .header-cta { font-size: 12px; padding: 8px 12px; margin-left: auto; }
  .hero { min-height: 92svh; }
  .hero-inner { padding: 130px 24px 96px; }
  .hero-title { font-size: clamp(30px, 8.4vw, 42px); }
  .hero-actions { gap: 12px 24px; margin-top: 36px; }
  .hero-actions .btn-solid { width: 100%; text-align: center; padding: 16px 20px; }
  .hero-caption { right: 24px; bottom: 18px; }
  .ticker-track { font-size: 12.5px; }
  .who { padding: 84px 0; }
  .who-band-copy { padding: 40px 28px; }
  .work { padding: 84px 0 32px; }
  .work .sec-head { margin-bottom: 72px; }
  .work-row { padding-bottom: 96px; gap: 32px; }
  .photo-sub { right: -8px; bottom: 52px; width: 40%; }
  .photo-sub.tall { left: -8px; bottom: 60px; width: 34%; }
  .morning { padding: 96px 0; }
  .chat-card { right: 0; bottom: 8px; }
  .price { padding: 92px 0; }
  .steps { grid-template-columns: 1fr; border-top: 0; }
  .step { padding: 30px 0 34px; border-top: 1px solid var(--line); }
  .step + .step { padding-left: 0; border-left: 0; }
  .tier-axis { grid-template-columns: 1fr; gap: 34px; padding-top: 0; padding-left: 28px; }
  .tier-axis::before { top: 6px; bottom: 6px; left: 0; right: auto; width: 2px; height: auto; }
  .tier-node::before { top: 14px; left: -33px; }
  .reframe { min-height: 56vh; }
  .flow { padding: 84px 0; }
  .faq { padding: 84px 0; }
  .company { padding: 84px 0; }
  .contact { padding: 96px 0; }
  .contact-form { padding: 32px 24px 28px; }
  .sec-head { margin-bottom: 56px; }
}
