@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,300;1,9..144,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400&display=swap');

:root {
  --white: #FFFFFF;
  --offwhite: #F4F9F5;
  --mint: #E8F5EC;
  --green-light: #A8D5B5;
  --green: #3A8C5C;
  --green-dark: #1F5C3A;
  --green-ink: #0F3320;
  --muted: #6B9A7A;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Noto Sans JP', sans-serif;
  --font-mono: 'DM Mono', monospace;
  --font-maru: 'Zen Maru Gothic', sans-serif;
  --max-w: 32rem; /* max-w-lg */
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--green-ink);
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }

.font-display { font-family: var(--font-display); }
.font-mono { font-family: var(--font-mono); }
.font-maru { font-family: var(--font-maru); }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  padding: 0 1.25rem;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #C4714A44; border-radius: 2px; }

.divider {
  width: 40px;
  height: 2px;
  background: var(--green);
  margin: 1rem 0;
}

/* ── Missing-image placeholder ── */
.img-box { position: relative; background: var(--offwhite); }
.img-box img { width: 100%; height: 100%; object-fit: cover; }
.img-box.img-missing img { display: none; }
.img-box.img-missing::after {
  content: attr(data-label);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--green-light);
  padding: 0.5rem;
  background: var(--offwhite);
}

/* ── Nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--mint);
}
.nav-row {
  height: 56px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 0.5rem; }
.nav-icon {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--white); overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.nav-icon img { mix-blend-mode: multiply; }
.nav-title { font-size: 1.125rem; font-weight: 600; color: var(--green-ink); }
.nav-links { display: none; align-items: center; gap: 1.5rem; }
.nav-links a { font-size: 0.875rem; color: var(--muted); transition: color 0.15s; }
.nav-links a:hover { color: var(--green); }
.nav-cta {
  font-size: 0.875rem; background: var(--green); color: var(--white);
  padding: 0.5rem 1rem; border-radius: 999px; transition: background 0.15s;
}
.nav-cta:hover { background: var(--green-dark); }
.nav-toggle { padding: 0.25rem; color: var(--green-ink); }
.icon-hidden { display: none; }
.nav-mobile {
  display: none;
  border-top: 1px solid var(--mint);
  background: var(--white);
  padding: 1rem 1.25rem 1.25rem;
  flex-direction: column;
  gap: 0.75rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a { font-size: 0.875rem; color: var(--muted); }
.nav-mobile .nav-cta { text-align: center; padding: 0.65rem; margin-top: 0.25rem; }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}

/* ── Hero ── */
.hero {
  position: relative;
  padding: 4rem 0 1rem;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--offwhite), var(--white));
  min-height: calc(100svh - 56px);
  display: flex; align-items: center;
}
.hero-blob-1 {
  position: absolute; top: 0; left: 0; width: 16rem; height: 16rem;
  border-radius: 50%; background: var(--mint); filter: blur(64px); opacity: 0.7;
  transform: translate(-33%, -33%); pointer-events: none;
}
.hero-blob-2 {
  position: absolute; top: 50%; right: 0; width: 12rem; height: 12rem;
  border-radius: 50%; background: rgba(168,213,181,0.4); filter: blur(64px); pointer-events: none;
}
.hero-inner { position: relative; width: 100%; }
.eyebrow {
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.15em;
  color: var(--green); margin-bottom: 0.5rem; text-transform: uppercase;
}
.hero h1 {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
  line-height: 1.375; color: var(--green-ink); margin: 0 0 0.5rem;
}
.hero h1 em { font-style: normal; color: var(--green); }
.hero-desc { color: var(--muted); font-size: 0.75rem; line-height: 1.6; margin: 0 0 0.75rem; }

.phones-row {
  display: flex; align-items: flex-end; justify-content: center; gap: 0.75rem;
  margin: 0 0 1rem; padding: 0.5rem 0;
}
.phone {
  position: relative; flex-shrink: 0;
}
.phone-body {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #1a1a1a 0%, #0d0d0d 100%);
  border-radius: 30px; padding: 7px;
  box-shadow: 0 32px 64px rgba(15,51,32,0.35), 0 8px 24px rgba(15,51,32,0.2);
}
.phone-body::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  border: 1.5px solid rgba(255,255,255,0.12); pointer-events: none;
}
.phone-screen {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  background: #000; border-radius: 24px;
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-island {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 48px; height: 15px; border-radius: 999px; background: #000; z-index: 2;
}
.phone-glare {
  position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 50%);
}
.phone-btn { position: absolute; background: #2a2a2a; }
.phone.tilt-left { transform: rotate(-6deg) translateY(16px); }
.phone.tilt-right { transform: rotate(4deg); }

.hero-ctas { display: flex; flex-direction: column; gap: 0.5rem; }
.btn-primary, .btn-secondary {
  width: 100%; text-align: center; padding: 0.75rem; border-radius: 1rem;
  font-size: 0.875rem; font-weight: 500; transition: background-color 0.15s, color 0.15s;
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); }
.btn-secondary { border: 1px solid var(--green-light); color: var(--green); }
.btn-secondary:hover { background: var(--offwhite); }
.hero-note { text-align: center; font-size: 0.75rem; color: var(--green-light); margin-top: 0.75rem; }

/* ── Concept ── */
.section { padding: 4rem 0; }
.section.bg-mint { background: var(--mint); }
.section-label {
  font-family: var(--font-mono); font-size: 0.875rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--green); margin: 0 0 1rem;
}
.section h2 {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
  line-height: 1.375; color: var(--green-ink); margin: 0 0 1.25rem;
}
.section h2 em { font-style: normal; color: var(--green); }

.origin-card {
  background: var(--white); border: 1px solid var(--mint); border-radius: 1rem;
  padding: 1.25rem; margin-bottom: 2rem;
}
.origin-card .kicker {
  font-family: var(--font-mono); font-size: 0.875rem; text-transform: uppercase;
  color: var(--green-light); margin: 0 0 0.75rem;
}
.origin-card p { font-size: 0.875rem; line-height: 1.6; margin: 0; }
.origin-card p + p { color: var(--muted); margin-top: 0.75rem; }

.howto-header {
  display: flex; align-items: center; gap: 1rem; margin: 6rem 0 2rem;
}
.howto-header .line { flex: 1; height: 1px; background: #D0EDD8; }
.howto-header .label {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  letter-spacing: 0.12em; color: var(--green); flex-shrink: 0;
}

.step-cards { display: flex; flex-direction: column; gap: 1.5rem; }
.step-card { border-radius: 1.5rem; overflow: hidden; box-shadow: 0 6px 20px rgba(15,51,32,0.12); }
.step-card.alt-a { background: linear-gradient(160deg, #E8F5EC 0%, #D0EDD8 100%); }
.step-card.alt-b { background: linear-gradient(160deg, #D8EDE0 0%, #EAF6EE 100%); }
.step-media { padding: 1.5rem 1.25rem 0.5rem; }
.step-media .img-box {
  width: 100%; background: var(--white); border-radius: 1rem;
  box-shadow: 0 12px 24px rgba(15,51,32,0.15);
  aspect-ratio: 780/1014;
}
.step-media .img-box img { object-fit: contain; }
.step-body { padding: 1.25rem 1.5rem 1.25rem; }
.step-body h3 {
  font-family: var(--font-body); font-size: 1.375rem; font-weight: 700;
  color: var(--green-ink); line-height: 1.375; margin: 0 0 0.5rem; letter-spacing: 0.01em;
}
.step-body p { font-size: 0.875rem; color: #4A7A5A; line-height: 1.6; margin: 0; }

/* ── About ── */
.photo-placeholder {
  width: 100%; border-radius: 1.5rem; overflow: hidden;
  background: var(--offwhite); border: 1px dashed var(--green-light);
  aspect-ratio: 1/0.7; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.photo-placeholder.has-photo { border-style: solid; border-color: var(--mint); background: none; }
.photo-placeholder .ph-inner {
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem; color: var(--green-light);
}
.photo-placeholder svg { width: 44px; height: 44px; }
.photo-placeholder p { font-size: 0.875rem; margin: 0; }

.sticky-note-wrap { position: relative; margin-top: 0.5rem; }
.sticky-tape {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  width: 48px; height: 20px; border-radius: 2px; z-index: 10;
  background: rgba(255,230,100,0.75);
}
.sticky-note {
  width: 100%; padding: 1.5rem; border-radius: 2px;
  background: linear-gradient(160deg, #FFF9C4 0%, #FFF176 100%);
  box-shadow: 3px 4px 12px rgba(0,0,0,0.15), inset 0 -2px 4px rgba(0,0,0,0.04);
  transform: rotate(-0.8deg);
}
.sticky-note .who {
  font-family: var(--font-maru); font-size: 0.875rem; font-weight: 700;
  color: #5C4A00; margin: 0 0 0.5rem;
}
.sticky-note .msg {
  font-family: 'Noto Serif JP', Georgia, serif; font-size: 1rem;
  color: #5C4A00; line-height: 1.6; margin: 0;
}

/* ── Download CTA ── */
.section.bg-dark { background: var(--green-ink); text-align: center; padding: 3.5rem 0; }
.section.bg-dark h2 {
  font-family: var(--font-maru); font-size: 1.875rem; font-weight: 700;
  color: var(--white); margin: 0 0 1rem; line-height: 1.375;
}
.dl-icon-wrap { display: flex; justify-content: center; margin-bottom: 1.5rem; }
.dl-icon {
  width: 80px; height: 80px; border-radius: 1rem; background: var(--white);
  overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.dl-icon img { mix-blend-mode: multiply; }
.section.bg-dark .desc { font-size: 1rem; color: var(--green-light); line-height: 1.6; margin: 0 0 2rem; }
.store-buttons { display: flex; flex-direction: column; gap: 0.75rem; max-width: 20rem; margin: 0 auto; }
.store-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.75rem;
  background: #000; color: var(--white); padding: 0.875rem 1.5rem; border-radius: 1rem;
  transition: background-color 0.15s;
}
.store-btn:hover { background: #262626; }
.store-btn.is-disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
.store-btn .store-text { text-align: left; }
.store-btn .store-text .top { font-size: 10px; line-height: 1; opacity: 0.8; margin: 0; }
.store-btn .store-text .bottom { font-size: 1rem; font-weight: 600; line-height: 1.2; margin: 0; }
.store-note { text-align: center; font-size: 0.8rem; color: var(--green-light); margin: 1rem 0 0; }

/* ── Pricing ── */
.price-list { display: flex; flex-direction: column; gap: 1rem; }
.price-card {
  border-radius: 1rem; padding: 1.5rem; border: 1px solid var(--mint);
  background: var(--white); display: flex; flex-direction: column;
}
.price-card.highlight { border-color: var(--green-ink); background: var(--green-ink); color: var(--white); }
.price-card .plan-name { font-family: var(--font-mono); font-size: 0.875rem; margin: 0 0 0.75rem; color: var(--muted); }
.price-card.highlight .plan-name { color: var(--green-light); }
.price-row { display: flex; align-items: flex-end; gap: 0.25rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.price-row .amount { font-family: var(--font-display); font-size: 1.875rem; font-weight: 600; }
.price-row .amount.strike { text-decoration: line-through; opacity: 0.5; color: var(--white); }
.price-row .note { font-size: 0.875rem; margin-bottom: 0.25rem; color: var(--muted); }
.price-badge {
  background: var(--green); color: var(--white); font-size: 0.875rem; font-weight: 700;
  padding: 0.25rem 0.75rem; border-radius: 999px;
}
.price-sub { font-size: 0.75rem; color: var(--green-light); margin: 0 0 1rem; }
.price-features { margin: 0 0 1.25rem; display: flex; flex-direction: column; gap: 0.375rem; }
.price-features li { font-size: 0.875rem; display: flex; align-items: center; gap: 0.5rem; color: var(--muted); }
.price-card.highlight .price-features li { color: var(--green-light); }
.price-features li .check { color: var(--green); }
.price-cta {
  width: 100%; padding: 0.75rem; border-radius: 0.75rem; font-size: 0.875rem; font-weight: 500;
  background: var(--green-ink); color: var(--white); transition: background-color 0.15s;
}
.price-cta:hover { background: var(--green-dark); }
.price-card.highlight .price-cta { background: var(--green); }
.price-card.highlight .price-cta:hover { background: var(--green-dark); }

/* ── 現在進行中の企画 / generic labelled section ── */
.label-heading {
  font-family: var(--font-maru); font-weight: 700; font-size: 1.125rem;
  color: var(--green-ink); margin: 0 0 1.25rem;
}
.section .body-text { font-size: 1rem; color: var(--green-ink); line-height: 1.6; margin: 0; }

/* ── SNS ── */
.sns-card {
  background: var(--white); border: 1px solid var(--mint); border-radius: 1rem;
  padding: 1rem 1.25rem; display: flex; align-items: center; gap: 1rem;
}
.sns-icon {
  width: 44px; height: 44px; border-radius: 0.75rem; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.sns-field { flex: 1; min-width: 0; }
.sns-field p { font-size: 0.875rem; font-weight: 500; color: var(--green-ink); margin: 0 0 0.25rem; }
.sns-link {
  display: block; width: 100%; font-size: 0.875rem; color: var(--green);
  border-bottom: 1px solid transparent; padding: 0.25rem 0; transition: border-color 0.15s;
}
.sns-link:hover { border-bottom-color: var(--green); }

/* ── Company ── */
.company-box { background: var(--offwhite); border: 1px solid var(--mint); border-radius: 1rem; }
.company-row { padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: 0.125rem; border-bottom: 1px solid var(--mint); }
.company-row:last-child { border-bottom: none; }
.company-row dt { font-family: var(--font-mono); font-size: 0.875rem; color: var(--green-light); margin: 0; }
.company-row dd { font-size: 0.875rem; color: var(--green-ink); margin: 0; }

/* ── Footer ── */
.footer { padding: 2rem 0; border-top: 1px solid var(--mint); background: var(--white); }
.footer .wrap { display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: 0.5rem; }
.footer-icon { width: 24px; height: 24px; border-radius: 6px; background: var(--white); overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,0.08); }
.footer-icon img { mix-blend-mode: multiply; }
.footer-brand p { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--green-ink); margin: 0; }
.footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 0.875rem; color: var(--muted); transition: color 0.15s; }
.footer-links a:hover { color: var(--green); }
.footer-copy { font-size: 0.875rem; color: var(--green-light); margin: 0; }
