/* ============================================================
   プロトメイク LP — blueprint / draft-to-ship look
   palette: deep navy ink + warm paper + vivid orange accent
   motif: dotted draft grid, monospace technical labels
   ============================================================ */
:root {
  --ink: #173a44;          /* deep teal text + footer */
  --ink-soft: #21505b;
  --cream: #ffffff;        /* main background */
  --cream-2: #eef5f5;
  --paper: #f1f8f7;        /* soft tinted section bg */
  --paper-2: #f7fbfb;
  --coral: #11b3a6;        /* vivid teal accent (draft marker) */
  --coral-deep: #0a9488;
  --muted: #5c6f72;
  --muted-dk: #8aa3a3;
  --line: #e2ecec;
  --line-dk: #dde9e8;
  --grid: rgba(23, 58, 68, 0.05);   /* blueprint grid line */
  --shell: 1180px;
  --jp: "Noto Sans JP", system-ui, sans-serif;
  --en: "Space Grotesk", "Noto Sans JP", sans-serif;
  --mono: "Space Mono", ui-monospace, "SFMono-Regular", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--jp);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--coral); color: #fff; }

/* film grain */
.grain {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); }
.shell--narrow { max-width: 780px; }

/* ===== Header ===== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  border-color: var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__img { height: 44px; width: auto; display: block; }
.logo__dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(17, 179, 166, 0.18);
}
.logo__name { font-family: var(--en); font-weight: 700; font-size: 1.18rem; letter-spacing: -0.01em; }
.logo__name em { font-style: normal; font-weight: 400; color: var(--muted); margin-left: 5px; }
/* header sits on the light hero — keep ink text in both states */
.header.is-light .logo__name { color: var(--ink); }
.header.is-light .logo__name em { color: var(--muted); }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a { font-size: 0.92rem; font-weight: 500; position: relative; transition: color 0.2s; }
.nav a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 0;
  background: var(--coral); transition: width 0.28s ease;
}
.nav a:not(.nav__cta):hover::after { width: 100%; }
.header.is-light .nav a { color: var(--ink); }
.nav__cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--ink); color: #fff !important;
  padding: 10px 20px; border-radius: 2px; font-weight: 600;
  transition: background 0.25s;
}
.nav__cta span { transition: transform 0.25s; }
.nav__cta:hover { background: var(--coral); }
.nav__cta:hover span { transform: translateX(4px); }
.header.is-light .nav__cta { background: var(--coral); }

.burger { display: none; flex-direction: column; gap: 6px; width: 30px; }
.burger span { height: 2px; background: var(--ink); transition: 0.3s; }
.header.is-light .burger span { background: var(--ink); }

@media (max-width: 900px) {
  .nav {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--ink); padding: 16px 28px 30px;
    transform: translateY(-130%); transition: transform 0.4s ease;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { color: #fff !important; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.12); font-size: 1.05rem; }
  .nav__cta { margin-top: 18px; justify-content: center; border-radius: 2px; }
  .burger { display: flex; }
  .burger.is-on span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .burger.is-on span:nth-child(2) { transform: translateY(-0px) rotate(-45deg); }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 32px; font-weight: 600; font-size: 1rem; border-radius: 2px;
  transition: transform 0.2s, background 0.25s, color 0.25s, box-shadow 0.25s;
}
.btn--solid { background: var(--coral); color: #fff; box-shadow: 6px 6px 0 var(--ink); }
.btn--solid:hover { transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--ink); }
.btn--line { border: 1.5px solid currentColor; }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--block { width: 100%; }

/* ===== Hero (blueprint) ===== */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.7) 0%, rgba(245,246,251,0.92) 100%),
    repeating-linear-gradient(0deg, transparent 0 31px, var(--grid) 31px 32px),
    repeating-linear-gradient(90deg, transparent 0 31px, var(--grid) 31px 32px),
    #ffffff;
  color: var(--ink); overflow: hidden;
  padding: 120px 0 90px;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__inner { position: relative; z-index: 2; }
.hero__eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--coral-deep); font-weight: 700; margin-bottom: 30px;
}
.hero__eyebrow::before {
  content: "DRAFT"; font-family: var(--mono); font-size: 0.66rem; font-weight: 700;
  color: var(--coral); border: 1px solid var(--coral); border-radius: 2px;
  padding: 2px 7px; letter-spacing: 0.12em;
}
.hero__eyebrow .line { width: 38px; height: 1px; background: var(--coral); }
.hero__title {
  font-size: clamp(2.6rem, 9vw, 6.4rem);
  font-weight: 900; line-height: 1.02; letter-spacing: -0.02em;
}
.hero__title .stroke {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--coral);
  text-stroke: 1.5px var(--coral);
}
.hero__lead {
  margin: 34px 0 40px; max-width: 540px;
  color: var(--muted); font-size: clamp(0.98rem, 2vw, 1.08rem);
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 12px 36px; margin-top: 44px;
  font-size: 0.92rem; color: var(--muted);
}
.hero__meta b { color: var(--ink); font-weight: 700; font-size: 1.05rem; }
.hero__scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2;
  font-family: var(--en); font-size: 0.7rem; letter-spacing: 0.2em; color: var(--muted-dk);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero__scroll span { width: 1px; height: 40px; background: linear-gradient(var(--coral), transparent); animation: scrollPulse 1.8s infinite; }
@keyframes scrollPulse { 0%,100% { opacity: 0.3; transform: scaleY(0.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* ===== Marquee (light chip ticker) ===== */
.marquee { background: var(--paper); color: var(--ink); padding: 18px 0; overflow: hidden; border-block: 1px solid var(--line); }
.marquee__track { display: flex; align-items: center; gap: 14px; white-space: nowrap; width: max-content; animation: slide 38s linear infinite; }
.marquee__track span {
  font-family: var(--mono); font-weight: 400; font-size: 0.86rem; letter-spacing: 0.02em;
  color: var(--ink-soft); background: #fff; border: 1px solid var(--line-dk);
  border-radius: 999px; padding: 7px 16px;
}
.marquee__track span::before { content: "("; color: var(--coral); margin-right: 5px; }
.marquee__track span::after { content: ")"; color: var(--coral); margin-left: 5px; }
.marquee__track i { display: none; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== Block base ===== */
.block { padding: clamp(72px, 11vw, 130px) 0; }
.block__head { margin-bottom: clamp(40px, 6vw, 70px); }
.idx {
  display: inline-block; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em;
  color: var(--coral-deep); font-weight: 700; margin-bottom: 16px;
}
.idx--light { color: var(--coral-deep); }
.block__title { font-size: clamp(1.8rem, 5vw, 3.1rem); font-weight: 900; line-height: 1.25; letter-spacing: -0.01em; }
.block__title--light { color: var(--ink); }
.sp { display: none; }
@media (max-width: 640px) { .sp { display: inline; } }

/* ===== Problem ===== */
.problem { background: var(--cream); }
.prob { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.prob li {
  padding: 38px 30px 38px 0; border-bottom: 1px solid var(--line);
  position: relative; transition: background 0.25s, padding-left 0.25s;
}
.prob li:nth-child(odd) { padding-left: 0; }
.prob li:nth-child(even) { padding-left: 40px; border-left: 1px solid var(--line); }
.prob li:hover { background: var(--cream-2); }
.prob__no { font-family: var(--mono); font-size: 0.8rem; color: var(--coral-deep); font-weight: 700; }
.prob h3 { font-size: 1.28rem; font-weight: 800; margin: 8px 0 10px; }
.prob p { color: var(--muted); font-size: 0.95rem; }
.prob__bridge { margin-top: 48px; font-size: clamp(1.1rem, 3vw, 1.5rem); font-weight: 700; line-height: 1.6; }
.prob__bridge::before { content: "→ "; color: var(--coral); }
@media (max-width: 700px) {
  .prob { grid-template-columns: 1fr; }
  .prob li:nth-child(even) { padding-left: 0; border-left: none; }
}

/* ===== Service (soft tint) ===== */
.service { background: var(--paper); color: var(--ink); }
.svc { border-top: 1px solid var(--line); }
.svc__row {
  display: grid; grid-template-columns: 120px 1fr; gap: 24px;
  padding: 44px 0; border-bottom: 1px solid var(--line);
  transition: padding-left 0.3s ease, background 0.3s;
}
.svc__row:hover { padding-left: 18px; }
.svc__no {
  font-family: var(--en); font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 700;
  line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--muted-dk);
}
.svc__row--accent .svc__no { -webkit-text-stroke: 1px var(--coral); color: transparent; }
.svc__body h3 { font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 800; margin-bottom: 14px; }
.svc__body h3 em {
  font-style: normal; font-size: 0.7rem; vertical-align: middle; margin-left: 12px;
  background: var(--coral); color: #fff; padding: 4px 11px; border-radius: 2px; letter-spacing: 0.08em;
}
.svc__body > p { color: var(--muted); max-width: 640px; margin-bottom: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags li {
  font-family: var(--mono); font-size: 0.76rem; font-weight: 400; letter-spacing: 0;
  border: 1px solid var(--line-dk); background: #fff; padding: 5px 12px; border-radius: 2px; color: var(--ink-soft);
}
.tags li::before { content: "#"; color: var(--coral); margin-right: 3px; }
@media (max-width: 640px) { .svc__row { grid-template-columns: 1fr; gap: 6px; } .svc__no { font-size: 2.6rem; } }

/* ===== Reason ===== */
.reason { background: var(--cream); }
.reason__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); }
.reason__cell { padding: 40px 34px; border-right: 1px solid var(--line); transition: background 0.25s; }
.reason__cell:last-child { border-right: none; }
.reason__cell:hover { background: var(--paper); }
.reason__no { font-family: var(--en); font-size: 2.6rem; font-weight: 700; color: var(--coral); line-height: 1; }
.reason__cell h3 { font-size: 1.3rem; font-weight: 800; margin: 14px 0 12px; }
.reason__cell p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 800px) {
  .reason__grid { grid-template-columns: 1fr; }
  .reason__cell { border-right: none; border-bottom: 1px solid var(--line); }
  .reason__cell:last-child { border-bottom: none; }
}

/* ===== Flow ===== */
.flow { background: var(--paper); }
.flow__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.flow__list li { padding: 30px 26px 30px 0; border-top: 3px solid var(--ink); position: relative; }
.flow__list li + li { padding-left: 26px; }
.flow__step { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; color: var(--coral-deep); font-weight: 700; }
.flow__list h3 { font-size: 1.2rem; font-weight: 800; margin: 12px 0 10px; }
.flow__list p { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 800px) {
  .flow__list { grid-template-columns: 1fr 1fr; }
  .flow__list li + li { padding-left: 0; }
  .flow__list li:nth-child(even) { padding-left: 26px; }
}
@media (max-width: 520px) { .flow__list { grid-template-columns: 1fr; } .flow__list li:nth-child(even) { padding-left: 0; } }

/* ===== Case ===== */
.case { background: var(--cream); color: var(--ink); }
.case__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.case__card { border-top: 2px solid var(--coral); padding-top: 28px; }
.case__num { font-family: var(--en); font-weight: 700; font-size: clamp(3rem, 8vw, 5rem); line-height: 1; color: var(--coral); }
.case__num small { font-size: 0.4em; margin-left: 4px; }
.case__label { font-weight: 700; font-size: 1.05rem; margin: 12px 0 10px; }
.case__txt { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 800px) { .case__grid { grid-template-columns: 1fr; gap: 8px; } .case__card { padding: 28px 0; } }

/* ===== Voice ===== */
.voice { background: var(--paper); }
.voice__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.voice blockquote { border-left: 2px solid var(--coral); padding: 6px 0 6px 24px; }
.voice blockquote p { font-size: 0.98rem; line-height: 1.9; }
.voice cite { display: block; margin-top: 18px; font-style: normal; font-weight: 700; font-size: 0.85rem; color: var(--muted); }
@media (max-width: 800px) { .voice__grid { grid-template-columns: 1fr; gap: 28px; } }

/* ===== FAQ ===== */
.faq { background: var(--cream); }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; font-weight: 700; font-size: 1.05rem;
  padding: 24px 44px 24px 0; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--en); font-size: 1.6rem; font-weight: 400; color: var(--coral); transition: transform 0.3s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { color: var(--muted); font-size: 0.95rem; padding: 0 30px 26px 0; }

/* ===== Contact (accent band) ===== */
.contact { background: linear-gradient(135deg, var(--coral) 0%, var(--coral-deep) 100%); color: #fff; text-align: center; }
.contact .idx, .contact .idx--light { color: rgba(255, 255, 255, 0.85); }
.contact__inner { display: flex; flex-direction: column; align-items: center; }
.contact__title { font-size: clamp(2rem, 6vw, 3.6rem); font-weight: 900; line-height: 1.25; margin: 16px 0 22px; }
.contact__desc { color: rgba(255, 255, 255, 0.9); margin-bottom: 38px; font-size: clamp(0.98rem, 2vw, 1.1rem); }
.contact__actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 44px; }
.contact .btn--solid { background: #fff; color: var(--coral-deep); box-shadow: 6px 6px 0 var(--ink); }
.contact .btn--solid:hover { transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--ink); }
.contact .btn--line { border-color: rgba(255,255,255,0.8); color: #fff; }
.contact .btn--line:hover { background: #fff; color: var(--coral-deep); }
.contact__merit { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; }
.contact__merit li { font-size: 0.95rem; color: rgba(255, 255, 255, 0.95); }
.contact__merit li::before { content: "✓ "; color: #fff; font-weight: 700; }

/* ===== Footer ===== */
.footer { background: var(--ink); color: var(--cream); padding: 70px 0 30px; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 30px 60px; align-items: flex-start; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer__brand { display: flex; flex-direction: column; gap: 18px; min-width: 200px; }
.footer__tag { color: var(--muted-dk); font-size: 0.92rem; max-width: 240px; }
.footer__info { display: flex; flex-direction: column; gap: 12px; min-width: 240px; font-size: 0.86rem; }
.footer__info div { display: flex; gap: 16px; }
.footer__info dt { flex-shrink: 0; min-width: 48px; color: var(--muted-dk); font-weight: 500; }
.footer__info dd { margin: 0; color: rgba(255, 255, 255, 0.82); line-height: 1.65; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.footer__nav a { font-size: 0.9rem; color: rgba(255, 255, 255, 0.8); transition: color 0.2s; }
.footer__nav a:hover { color: var(--coral); }
.footer__copy { font-family: var(--mono); text-align: center; margin-top: 26px; font-size: 0.78rem; color: var(--muted-dk); letter-spacing: 0.04em; }

/* ===== Works (制作実績) ===== */
.works { background: var(--cream); }
.works__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.work {
  background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.work:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(23, 58, 68, 0.10); border-color: var(--coral); }
.work__thumb {
  aspect-ratio: 16 / 10; background: linear-gradient(135deg, #e9f6f4, #d2ece7);
  display: flex; align-items: center; justify-content: center;
}
.work__thumb span { font-family: var(--en); letter-spacing: 0.22em; font-size: 0.78rem; color: var(--muted-dk); }
.work__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 横長のUIスクショは切り取らず全体を見せる */
.work__thumb--shot { background: #eef2f7; }
.work__thumb--shot img { object-fit: contain; padding: 10px; }
.work__body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; }
.work__cat {
  align-self: flex-start; font-family: var(--mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--coral-deep); background: var(--cream-2); padding: 4px 10px; border-radius: 2px;
}
.work__title { font-size: 1.15rem; font-weight: 800; line-height: 1.5; }
.work__txt { color: var(--muted); font-size: 0.92rem; }
.work .tags { margin-top: 4px; }
.works__note { margin-top: 32px; color: var(--muted); font-size: 0.88rem; }
@media (max-width: 980px) { .works__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .works__grid { grid-template-columns: 1fr; } }

/* ===== Contact form ===== */
.cform {
  width: 100%; max-width: 760px; margin: 6px auto 42px; text-align: left;
  background: #fff; color: var(--ink); border-radius: 12px;
  padding: clamp(24px, 4vw, 42px); box-shadow: 0 22px 54px rgba(10, 73, 68, 0.20);
}
.cform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field__label { font-size: 0.85rem; font-weight: 700; color: var(--ink); }
.field__label em {
  font-style: normal; font-size: 0.68rem; color: #fff; background: var(--coral);
  padding: 2px 8px; border-radius: 999px; margin-left: 8px; vertical-align: middle;
}
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 0.98rem; color: var(--ink); width: 100%;
  background: var(--paper-2); border: 1.5px solid var(--line); border-radius: 6px; padding: 12px 14px;
  transition: border-color 0.2s, background 0.2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--coral); background: #fff; }
.field input::placeholder, .field textarea::placeholder { color: #9fb0b0; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #e07a6f; background: #fff6f5; }
.cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform__foot { margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.contact .cform .btn--solid { background: var(--coral); color: #fff; box-shadow: 5px 5px 0 var(--ink); width: 100%; max-width: 380px; }
.contact .cform .btn--solid:hover { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); background: var(--coral-deep); }
.cform.is-sending .cform__submit { opacity: 0.55; pointer-events: none; }
.cform__status { font-size: 0.92rem; font-weight: 700; min-height: 1.3em; text-align: center; }
.cform__status.is-ok { color: var(--coral-deep); }
.cform__status.is-err { color: #c0392b; }
@media (max-width: 600px) { .cform__grid { grid-template-columns: 1fr; } }

/* ===== Floating CTA ===== */
.float-cta {
  position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%) translateY(140%);
  background: var(--coral); color: #fff; font-weight: 700; padding: 14px 36px; border-radius: 2px;
  box-shadow: 5px 5px 0 var(--ink); z-index: 90; transition: transform 0.4s ease; display: none;
}
.float-cta.is-visible { transform: translateX(-50%) translateY(0); }
@media (max-width: 720px) { .float-cta { display: block; } }

/* ===== Legal pages (privacy policy 等) ===== */
.legal-hero {
  padding: 150px 0 60px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.7) 0%, rgba(241,248,247,0.92) 100%),
    repeating-linear-gradient(0deg, transparent 0 31px, var(--grid) 31px 32px),
    repeating-linear-gradient(90deg, transparent 0 31px, var(--grid) 31px 32px),
    #ffffff;
  border-bottom: 1px solid var(--line);
}
.legal-hero__eyebrow {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--coral-deep); font-weight: 700; margin-bottom: 14px;
}
.legal-hero__title { font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 900; letter-spacing: -0.01em; }
.legal-hero__date { margin-top: 16px; font-family: var(--mono); font-size: 0.8rem; color: var(--muted); }
.legal { padding: clamp(48px, 8vw, 90px) 0 clamp(64px, 9vw, 110px); }
.legal__lead { color: var(--muted); margin-bottom: 40px; }
.legal__sec { margin-bottom: 38px; }
.legal__sec h2 {
  font-size: 1.18rem; font-weight: 800; margin-bottom: 12px;
  padding-left: 14px; border-left: 3px solid var(--coral); line-height: 1.5;
}
.legal__sec h2 .num { font-family: var(--mono); font-size: 0.78rem; color: var(--coral-deep); margin-right: 8px; }
.legal__sec p { color: var(--muted); margin-bottom: 10px; }
.legal__sec ul { margin: 8px 0 10px; padding-left: 4px; }
.legal__sec ul li { position: relative; padding-left: 20px; color: var(--muted); margin-bottom: 7px; }
.legal__sec ul li::before { content: "—"; position: absolute; left: 0; color: var(--coral); }
.legal__sec a { color: var(--coral-deep); font-weight: 700; border-bottom: 1px solid var(--line-dk); }
.legal__sec a:hover { border-color: var(--coral); }
.legal__info { border: 1px solid var(--line); border-radius: 8px; padding: 22px 24px; background: var(--paper-2); }
.legal__info div { display: flex; gap: 16px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.legal__info div:last-child { border-bottom: none; }
.legal__info dt { flex-shrink: 0; min-width: 96px; font-weight: 700; font-size: 0.9rem; }
.legal__info dd { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.7; }
.legal__back { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-family: var(--mono); font-size: 0.84rem; color: var(--coral-deep); font-weight: 700; }
.legal__back:hover { gap: 12px; }
@media (max-width: 560px) { .legal__info div { flex-direction: column; gap: 4px; } }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track, .hero__scroll span { animation: none; }
  html { scroll-behavior: auto; }
}
