@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,650;9..144,800&family=Zen+Kaku+Gothic+New:wght@400;500;700;900&display=swap');

:root {
  --paper: #fff9f1;
  --paper-deep: #f4eadf;
  --ink: #162331;
  --muted: #62707c;
  --red: #d7352b;
  --red-dark: #a72420;
  --gold: #f6b928;
  --mint: #dff2eb;
  --line: rgba(22, 35, 49, 0.13);
  --shadow: 0 24px 70px rgba(91, 54, 35, 0.13);
  --radius: 28px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 9% 8%, rgba(246, 185, 40, 0.22), transparent 22rem),
    radial-gradient(circle at 92% 3%, rgba(215, 53, 43, 0.15), transparent 25rem),
    var(--paper);
  font-family: 'Zen Kaku Gothic New', sans-serif;
  line-height: 1.65;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
}

a { color: inherit; }

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(167, 36, 32, 0.18);
}

nav { display: flex; gap: 10px; }

nav a {
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}

nav a:hover,
nav a:focus-visible {
  color: var(--red-dark);
  background: rgba(255, 255, 255, 0.72);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(310px, 0.9fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
  min-height: 700px;
  padding: 50px 0 90px;
}

.eyebrow,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 14px;
  border: 1px solid rgba(215, 53, 43, 0.16);
  border-radius: 999px;
  color: var(--red-dark);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 { margin: 0; line-height: 1.06; letter-spacing: -0.045em; }

h1 {
  max-width: 760px;
  margin-top: 24px;
  font-size: clamp(3.5rem, 8.7vw, 7.4rem);
  font-weight: 900;
}

h1 em {
  color: var(--red);
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 800;
}

.hero-copy > p {
  max-width: 640px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button.primary {
  border-color: var(--red);
  color: white;
  background: var(--red);
  box-shadow: 0 14px 28px rgba(215, 53, 43, 0.24);
}

.button:hover,
.button:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(22, 35, 49, 0.12); }

.hero-art {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.sun {
  position: absolute;
  width: min(100%, 470px);
  aspect-ratio: 1;
  border-radius: 46% 54% 55% 45% / 44% 40% 60% 56%;
  background: linear-gradient(145deg, #ffd968, #ff9c67 55%, #e94b3c);
  box-shadow: var(--shadow);
  animation: breathe 7s ease-in-out infinite;
}

.hero-icon {
  position: relative;
  z-index: 2;
  width: min(72%, 340px);
  border-radius: 30%;
  box-shadow: 0 30px 60px rgba(84, 35, 24, 0.28);
  transform: rotate(3deg);
  animation: arrive 680ms cubic-bezier(.2,.8,.2,1) both;
}

.kana-token {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 35px rgba(35, 28, 24, 0.12);
  font-size: 2.2rem;
  font-weight: 900;
}

.kana-token.one { top: 8%; right: 5%; transform: rotate(8deg); }
.kana-token.two { bottom: 9%; left: 0; color: var(--red); transform: rotate(-7deg); }

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0 0 90px;
}

.proof {
  padding: 24px;
  border-top: 1px solid var(--line);
}

.proof strong { display: block; font-size: 1.3rem; }
.proof span { color: var(--muted); }

.feature-band {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  color: #fffaf3;
  background: var(--ink);
}

.feature-band::after {
  content: 'あ ア 旅 食 書';
  position: absolute;
  right: -4vw;
  top: -0.35em;
  color: rgba(255, 255, 255, 0.045);
  font-size: clamp(7rem, 21vw, 17rem);
  font-weight: 900;
  white-space: nowrap;
}

.section-heading { position: relative; z-index: 1; max-width: 680px; }
.section-heading .eyebrow { color: #ffd66f; border-color: rgba(255, 214, 111, 0.2); background: rgba(255, 255, 255, 0.07); }
.section-heading h2 { margin-top: 18px; font-size: clamp(2.5rem, 5vw, 4.7rem); }

.features {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 52px;
}

.feature {
  min-height: 260px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.feature:nth-child(2) { transform: translateY(26px); background: rgba(215, 53, 43, 0.25); }
.feature .number { color: #ffd66f; font-family: 'Fraunces', serif; font-size: 1.2rem; }
.feature h3 { margin-top: 48px; font-size: 1.8rem; }
.feature p { color: #c7d0d7; }

.closing {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 50px;
  align-items: center;
  padding: 100px 0;
}

.closing h2 { font-size: clamp(2.7rem, 5.5vw, 5.3rem); }
.closing p { color: var(--muted); font-size: 1.15rem; }

.paper-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.paper-card strong { display: block; color: var(--red-dark); font-size: 2rem; }
.paper-card ul { padding-left: 1.2rem; color: var(--muted); }

.page-hero {
  padding: 70px 0 45px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 { max-width: 920px; font-size: clamp(3rem, 7vw, 6.2rem); }
.page-hero p { max-width: 720px; color: var(--muted); font-size: 1.15rem; }

.document {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: 54px;
  padding: 58px 0 110px;
}

.document aside { position: sticky; top: 24px; align-self: start; }
.document aside a { display: block; padding: 8px 0; color: var(--muted); text-decoration: none; }
.document aside a:hover { color: var(--red); }

.prose section { padding: 0 0 34px; border-bottom: 1px solid var(--line); margin-bottom: 34px; }
.prose h2 { margin-bottom: 15px; font-size: clamp(1.7rem, 3vw, 2.25rem); }
.prose h3 { margin-top: 24px; font-size: 1.2rem; }
.prose p, .prose li { color: #485865; }
.prose a { color: var(--red-dark); font-weight: 700; }
.prose code { padding: 2px 6px; border-radius: 6px; background: var(--paper-deep); }

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 58px 0 100px;
}

.support-card {
  min-height: 210px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
}

.support-card.wide { grid-column: 1 / -1; background: var(--mint); }
.support-card h2 { font-size: 1.8rem; }
.support-card p { color: var(--muted); }

footer {
  padding: 34px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 18px; }

@keyframes breathe {
  0%, 100% { transform: rotate(-4deg) scale(1); }
  50% { transform: rotate(2deg) scale(1.035); }
}

@keyframes arrive {
  from { opacity: 0; transform: translateY(24px) rotate(-2deg) scale(.94); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
}

@media (max-width: 780px) {
  .shell { width: min(100% - 28px, 680px); }
  .site-header { align-items: flex-start; }
  nav { gap: 2px; }
  nav a { padding: 7px 8px; font-size: .86rem; }
  .hero, .closing { grid-template-columns: 1fr; }
  .hero { padding-top: 34px; }
  .hero-art { min-height: 430px; order: -1; }
  h1 { font-size: clamp(3.3rem, 16vw, 5.8rem); }
  .proof-row, .features { grid-template-columns: 1fr; }
  .feature:nth-child(2) { transform: none; }
  .document { grid-template-columns: 1fr; }
  .document aside { display: none; }
  .support-grid { grid-template-columns: 1fr; }
  .support-card.wide { grid-column: auto; }
}

@media (max-width: 480px) {
  .brand span { display: none; }
  .hero-art { min-height: 365px; }
  .kana-token { width: 68px; height: 68px; border-radius: 18px; font-size: 1.7rem; }
  .proof-row { padding-bottom: 64px; }
}
