/* FSC — THE CONTACT SHEET / コンタクトシート — Light Theme */
:root {
  --hakuji: #FAFAF8;
  --tan-kiri: #EBEEF0;
  --sumi: #101318;
  --shinkuro: #0B7D72;
  --shinkuro-light: rgba(11, 125, 114, 0.12);
  --shinkuro-hover: #09665d;
  --muted: #5c6470;
  --border: rgba(16, 19, 24, 0.1);
  --font-gothic: "Zen Kaku Gothic New", "IBM Plex Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-sans: "IBM Plex Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-mono: "IBM Plex Mono", "Consolas", monospace;
  --line-height: 1.85;
  --transition: 0.35s ease;
  --max-width: 1120px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  line-height: var(--line-height);
  font-feature-settings: "palt";
  text-align: left;
  background: var(--hakuji);
  color: var(--sumi);
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--shinkuro);
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

a:hover, a:focus-visible {
  color: var(--shinkuro-hover);
  outline: 2px solid var(--shinkuro);
  outline-offset: 2px;
}

h1, h2, h3 {
  font-family: var(--font-gothic);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.03em;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.375rem, 3vw, 2rem); margin-bottom: 1.25rem; }
h3 { font-size: clamp(1.0625rem, 2.5vw, 1.375rem); margin-bottom: 0.75rem; }

p, li {
  margin-bottom: 1rem;
  max-width: 72ch;
}

ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shinkuro);
  margin-bottom: 0.75rem;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* Surface system */
.surface-hakuji { background: var(--hakuji); color: var(--sumi); }
.surface-tan-kiri,
.surface-kiri { background: var(--tan-kiri); color: var(--sumi); }
.surface-midori { background: var(--shinkuro); color: var(--hakuji); }
.surface-midori a { color: var(--hakuji); text-decoration: underline; }
.surface-sumi { background: var(--sumi); color: var(--hakuji); }
.surface-shinkuro { background: var(--shinkuro); color: var(--hakuji); }

.surface-sumi a { color: #6dd4c8; }
.surface-sumi a:hover { color: #a8ebe3; }

/* Layout */
.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.section {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.section--tight {
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition), background var(--transition);
}

.site-header.is-sticky {
  box-shadow: 0 2px 16px rgba(16, 19, 24, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: flex;
  flex-direction: column;
  color: var(--sumi);
  line-height: 1.2;
}

.logo-main {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--shinkuro);
}

.logo-sub {
  font-family: var(--font-gothic);
  font-size: 0.6875rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.nav-list {
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}

.nav-list a {
  color: var(--sumi);
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav-list a.is-active {
  color: var(--shinkuro);
  border-bottom: 2px solid var(--shinkuro);
  padding-bottom: 2px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.5rem 0.75rem;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--sumi);
  min-height: 44px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  min-height: 48px;
  text-align: center;
}

.btn--primary {
  background: var(--shinkuro);
  color: var(--hakuji);
}

.btn--primary:hover {
  background: var(--shinkuro-hover);
  color: var(--hakuji);
}

.btn--outline {
  background: transparent;
  color: var(--shinkuro);
  border-color: var(--shinkuro);
}

.btn--outline:hover {
  background: var(--shinkuro-light);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Hero — light, photo below headline */
.hero {
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: 2rem;
}

.hero__content {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  padding-bottom: 2rem;
}

.hero__slogan {
  margin-bottom: 1.25rem;
}

.hero__lead {
  color: var(--muted);
  margin-inline: auto;
  font-size: 1.0625rem;
}

.hero__photo {
  margin-top: 2rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(16, 19, 24, 0.08);
}

.hero__photo img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.hero__caption {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  padding: 0.75rem 1rem;
  background: var(--tan-kiri);
  letter-spacing: 0.06em;
}

/* 12-frame month strip */
.month-strip {
  padding: 2rem 0 3rem;
  overflow: hidden;
}

.month-strip__label {
  text-align: center;
  margin-bottom: 1.5rem;
}

.month-strip__track {
  display: flex;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--tan-kiri);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.month-strip__frame {
  flex: 0 0 auto;
  width: clamp(72px, 8vw, 96px);
  aspect-ratio: 1;
  border: 2px solid var(--border);
  border-radius: 2px;
  background: var(--hakuji);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  scroll-snap-align: center;
  transition: border-color 0.4s ease, background 0.4s ease, transform 0.4s ease;
  position: relative;
}

.month-strip__frame::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  border: 1px dashed rgba(16, 19, 24, 0.08);
  pointer-events: none;
}

.month-strip__frame.is-active {
  border-color: var(--shinkuro);
  background: var(--shinkuro-light);
  transform: scale(1.05);
}

.month-strip__num {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.month-strip__month {
  font-family: var(--font-gothic);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--sumi);
}

.month-strip__frame.is-active .month-strip__month {
  color: var(--shinkuro);
}

/* 3-frame focus */
.focus-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.focus-frame {
  border: 1px solid var(--border);
  padding: 1.75rem 1.5rem;
  background: var(--hakuji);
  position: relative;
}

.focus-frame::after {
  content: attr(data-frame);
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--muted);
  opacity: 0.6;
}

.focus-frame h3 {
  color: var(--shinkuro);
  font-size: 1rem;
}

/* Grid layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.5rem;
}

/* Cards */
.card {
  border: 1px solid var(--border);
  padding: 1.75rem;
  background: var(--hakuji);
  transition: border-color var(--transition);
}

.card:hover {
  border-color: rgba(11, 125, 114, 0.35);
}

.card__num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--shinkuro);
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}

/* Steps / process */
.steps {
  display: grid;
  gap: 0;
  margin-top: 2rem;
  border-left: 2px solid var(--shinkuro);
  padding-left: 2rem;
}

.step {
  position: relative;
  padding-bottom: 2.5rem;
}

.step::before {
  content: "";
  position: absolute;
  left: calc(-2rem - 5px);
  top: 0.5rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--shinkuro);
}

.step:last-child {
  padding-bottom: 0;
}

/* Images */
.img-block {
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--tan-kiri);
}

.img-block img {
  width: 100%;
}

.img-block--compact img {
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.img-block__caption {
  font-size: 0.8125rem;
  color: var(--muted);
  padding: 0.75rem 1rem;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.faq-item summary {
  font-family: var(--font-gothic);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--shinkuro);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item__answer {
  padding-top: 1rem;
  color: var(--muted);
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem);
  background: var(--tan-kiri);
  border: 1px solid var(--border);
}

.cta-band h2 { margin-bottom: 1rem; }

.cta-band p {
  margin-inline: auto;
  color: var(--muted);
}

/* Page hero (inner pages) */
.page-hero {
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 2.5rem;
}

.page-hero__title {
  margin-bottom: 1rem;
}

.page-hero__lead {
  color: var(--muted);
  max-width: 60ch;
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--hakuji);
  color: var(--sumi);
  min-height: 48px;
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--shinkuro);
  outline-offset: 0;
  border-color: var(--shinkuro);
}

.form-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-error {
  color: #c0392b;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.form-note {
  font-size: 0.875rem;
  color: var(--muted);
}

.checkbox-label {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.9375rem;
  cursor: pointer;
}

.checkbox-label input {
  margin-top: 0.35rem;
  min-height: auto;
  width: auto;
}

/* Legal content */
.legal-content h2 {
  font-size: 1.25rem;
  margin: 2.5rem 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.legal-content h2:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.0625rem;
  margin: 1.5rem 0 0.75rem;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.9375rem;
}

.legal-content th,
.legal-content td {
  border: 1px solid var(--border);
  padding: 0.75rem 1rem;
  text-align: left;
  vertical-align: top;
}

.legal-content th {
  background: var(--tan-kiri);
  width: 30%;
  font-weight: 600;
}

/* 404 */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 2rem) 1rem 4rem;
}

.error-page__code {
  font-family: var(--font-mono);
  font-size: clamp(4rem, 12vw, 8rem);
  color: var(--tan-kiri);
  line-height: 1;
  margin-bottom: 1rem;
}

.error-page h1 {
  margin-bottom: 1rem;
}

.error-page p {
  margin-inline: auto;
  color: var(--muted);
}

/* Footer */
.site-footer {
  padding: clamp(3rem, 6vw, 4rem) 0 2rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--hakuji);
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.footer-slogan {
  font-family: var(--font-gothic);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.footer-nav {
  list-style: none;
  padding: 0;
}

.footer-nav li {
  margin-bottom: 0.5rem;
}

.footer-nav a {
  color: rgba(250, 250, 248, 0.85);
  font-size: 0.875rem;
}

.footer-disclaimer {
  font-size: 0.8125rem;
  line-height: 1.75;
  opacity: 0.75;
  max-width: none;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250, 250, 248, 0.15);
}

.footer-copy {
  font-size: 0.8125rem;
  opacity: 0.6;
  margin-top: 1rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  padding: 1.25rem 1rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  box-shadow: 0 -4px 24px rgba(16, 19, 24, 0.15);
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-inner {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.cookie-inner p {
  font-size: 0.875rem;
  margin-bottom: 1rem;
  max-width: none;
}

.cookie-inner a {
  color: #6dd4c8;
}

.cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cookie-btns button {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  min-height: 44px;
  border: 2px solid rgba(250, 250, 248, 0.3);
  background: transparent;
  color: var(--hakuji);
  font-family: inherit;
}

.cookie-btns .accept-all {
  background: var(--shinkuro);
  border-color: var(--shinkuro);
}

.cookie-btns button:hover {
  opacity: 0.9;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  background: rgba(16, 19, 24, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.cookie-modal__panel {
  background: var(--hakuji);
  color: var(--sumi);
  padding: 2rem;
  border-radius: 8px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 16px 48px rgba(16, 19, 24, 0.2);
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
}

/* Reveal animation */
.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Price table */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9375rem;
}

.price-table th,
.price-table td {
  border: 1px solid var(--border);
  padding: 0.875rem 1rem;
  text-align: left;
}

.price-table th {
  background: var(--tan-kiri);
  font-weight: 600;
}

.price-table .mono {
  white-space: nowrap;
}

/* Thanks page */
.thanks-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 2rem) 1rem 4rem;
}

.thanks-page h1 {
  margin-bottom: 1rem;
}

.thanks-page p {
  margin-inline: auto;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .site-header nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(85vw, 320px);
    height: 100vh;
    background: var(--hakuji);
    padding: calc(var(--header-h) + 1rem) 1.5rem 2rem;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -4px 0 24px rgba(16, 19, 24, 0.1);
    z-index: 999;
  }

  .site-header nav.is-open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .focus-strip {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .js .reveal:not(.is-visible) {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .month-strip__frame { transition: none; }
}
