:root {
  color-scheme: light;
  --bg: #f7fbf8;
  --surface: #ffffff;
  --surface-soft: #eef7f0;
  --ink: #17352d;
  --muted: #65756f;
  --line: #dce9e2;
  --green: #2f7d5f;
  --green-deep: #1f5f49;
  --green-soft: #dff1e7;
  --blue: #327aa6;
  --blue-soft: #e2f1f7;
  --coral: #e96b5d;
  --coral-soft: #ffe8e4;
  --shadow: 0 18px 54px rgba(28, 80, 60, 0.12);
  --ui-font: "Microsoft YaHei UI", Meiryo, "Yu Gothic", "Noto Sans JP", "Noto Sans SC", system-ui, sans-serif;
  --latin-font: Inter, Arial, Helvetica, system-ui, sans-serif;
  font-family: var(--ui-font);
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 92px;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(226, 241, 247, 0.64), rgba(247, 251, 248, 0) 360px),
    var(--bg);
  color: var(--ink);
}

body[data-locale="ja"] .zh-only,
body[data-locale="zh"] .ja-only {
  display: none !important;
}

body,
button,
input,
select,
textarea {
  font-family: var(--ui-font);
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

p {
  color: var(--muted);
  line-height: 1.8;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 22px;
  padding: 14px max(20px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(220, 233, 226, 0.78);
  background: rgba(247, 251, 248, 0.92);
  backdrop-filter: blur(16px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-family: var(--latin-font);
  font-size: 1.22rem;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-link img {
  display: block;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(47, 125, 95, 0.12);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.site-nav a {
  padding: 8px 0;
}

.site-nav a:hover {
  color: var(--green);
}

.language-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  justify-self: end;
}

.language-switch button {
  min-width: 52px;
  height: 36px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.language-switch button.active {
  background: var(--green);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(47, 125, 95, 0.16);
}

.language-switch button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.header-action,
.primary-link,
.secondary-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.header-action,
.primary-link {
  background: var(--green);
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(47, 125, 95, 0.18);
}

.header-action {
  min-width: 132px;
  padding: 10px 18px;
  font-size: 0.9rem;
}

.primary-link {
  min-width: 220px;
  padding: 14px 20px;
}

.secondary-link {
  min-width: 176px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  color: var(--green);
}

main {
  overflow: hidden;
}

.hero-section {
  width: min(1180px, calc(100% - 40px));
  min-height: min(720px, calc(100svh - 150px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  align-items: center;
  gap: 34px;
  padding: 34px 0 44px;
}

.hero-copy {
  display: grid;
  gap: 18px;
  align-content: center;
  min-width: 0;
}

.hero-copy h1,
.closing-section h2 {
  color: var(--green);
  font-family: var(--latin-font);
  font-size: 5.4rem;
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-ja,
.hero-zh {
  color: var(--green-deep);
  font-size: 1.78rem;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-zh {
  color: var(--green);
}

.hero-lead,
.hero-lead-ja {
  max-width: 520px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.8;
}

.hero-lead-ja {
  color: var(--muted);
  font-weight: 700;
}

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

.hero-art {
  min-width: 0;
  align-self: stretch;
  display: grid;
  align-items: center;
}

.hero-art picture {
  display: block;
}

.hero-art img {
  width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.story-section,
.tab-section,
.real-stories-section,
.video-section,
.purpose-section,
.leave-app-section,
.loop-section,
.features-section,
.memory-section,
.values-section,
.closing-section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 78px 0;
}

.tab-section {
  padding-top: 30px;
}

.real-stories-section {
  padding-top: 38px;
  padding-bottom: 58px;
}

.video-section {
  padding-top: 30px;
}

.tab-shell {
  display: grid;
  gap: 18px;
}

.tab-shell > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tab-buttons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.tab-buttons label {
  min-height: 54px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
}

#tab-idea:checked ~ .tab-buttons label[for="tab-idea"],
#tab-how:checked ~ .tab-buttons label[for="tab-how"],
#tab-stories:checked ~ .tab-buttons label[for="tab-stories"],
#tab-world:checked ~ .tab-buttons label[for="tab-world"],
#tab-idea-ja:checked ~ .tab-buttons label[for="tab-idea-ja"],
#tab-how-ja:checked ~ .tab-buttons label[for="tab-how-ja"],
#tab-stories-ja:checked ~ .tab-buttons label[for="tab-stories-ja"],
#tab-world-ja:checked ~ .tab-buttons label[for="tab-world-ja"],
#tab-idea-zh:checked ~ .tab-buttons label[for="tab-idea-zh"],
#tab-how-zh:checked ~ .tab-buttons label[for="tab-how-zh"],
#tab-stories-zh:checked ~ .tab-buttons label[for="tab-stories-zh"],
#tab-world-zh:checked ~ .tab-buttons label[for="tab-world-zh"] {
  background: var(--green);
  color: #ffffff;
}

.tab-panels {
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.tab-panel {
  display: none;
  min-height: 360px;
  padding: 26px;
}

#tab-idea:checked ~ .tab-panels .tab-panel-idea,
#tab-how:checked ~ .tab-panels .tab-panel-how,
#tab-stories:checked ~ .tab-panels .tab-panel-stories,
#tab-world:checked ~ .tab-panels .tab-panel-world,
#tab-idea-ja:checked ~ .tab-panels .tab-panel-idea-ja,
#tab-how-ja:checked ~ .tab-panels .tab-panel-how-ja,
#tab-stories-ja:checked ~ .tab-panels .tab-panel-stories-ja,
#tab-world-ja:checked ~ .tab-panels .tab-panel-world-ja,
#tab-idea-zh:checked ~ .tab-panels .tab-panel-idea-zh,
#tab-how-zh:checked ~ .tab-panels .tab-panel-how-zh,
#tab-stories-zh:checked ~ .tab-panels .tab-panel-stories-zh,
#tab-world-zh:checked ~ .tab-panels .tab-panel-world-zh {
  display: grid;
}

.tab-panel-idea,
.tab-panel-world,
.tab-panel-idea-ja,
.tab-panel-world-ja,
.tab-panel-idea-zh,
.tab-panel-world-zh {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.tab-panel h3 {
  color: var(--green-deep);
  font-size: 1.54rem;
  line-height: 1.3;
}

.tab-panel p {
  margin-top: 10px;
}

.mini-loop {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
}

.mini-loop li {
  min-height: 146px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 14px;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, var(--surface-soft));
  color: var(--green-deep);
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}

.mini-loop span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.story-card-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.story-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfefd;
}

.story-card h3 {
  font-size: 1.06rem;
}

.story-card p {
  margin-top: 0;
  line-height: 1.65;
}

.story-chipline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.story-chipline span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border: 1px solid rgba(47, 125, 95, 0.14);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.2;
}

.story-photo {
  height: 154px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface-soft);
}

.story-photo-button {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.story-photo-button::after {
  content: "↗";
  position: absolute;
  right: 10px;
  top: 10px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(47, 125, 95, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--green-deep);
  font-family: var(--latin-font);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(24, 38, 31, 0.12);
}

.story-photo-button:focus-visible {
  outline: 3px solid rgba(47, 125, 95, 0.44);
  outline-offset: -3px;
}

.story-photo img,
.story-photo-button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-photo-document {
  background: #f6f3eb;
}

.story-photo-document img {
  padding: 8px;
  object-fit: contain;
}

.story-tab-summary {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 14px;
  max-width: 660px;
}

.story-bridge {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(223, 241, 231, 0.72), rgba(255, 255, 255, 0.88)),
    var(--surface);
}

.story-bridge > p {
  color: var(--green-deep);
  font-weight: 900;
}

.story-loop {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 0;
  margin: 0;
  padding: 0;
}

.story-loop li {
  display: inline-flex;
  align-items: center;
  color: var(--green);
  font-size: 0.94rem;
  font-weight: 900;
  line-height: 1.35;
}

.story-loop li + li::before {
  content: "→";
  margin: 0 10px;
  color: var(--muted);
}

.story-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.video-heading {
  max-width: 720px;
}

.promo-video-layout {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  align-items: center;
  gap: 30px;
}

.promo-video-frame {
  display: grid;
  gap: 12px;
  justify-self: center;
  width: min(100%, 420px);
}

.promo-video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  border: 1px solid rgba(220, 233, 226, 0.92);
  border-radius: 12px;
  background: var(--surface-soft);
  box-shadow: 0 20px 52px rgba(28, 80, 60, 0.14);
  object-fit: cover;
}

.promo-video-frame figcaption {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
  text-align: center;
}

.promo-video-notes {
  display: grid;
  gap: 14px;
}

.promo-label {
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.4;
}

.promo-video-notes ul {
  list-style: none;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.promo-video-notes li {
  display: grid;
  grid-template-columns: minmax(104px, 0.34fr) minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.promo-video-notes strong {
  color: var(--green-deep);
  font-size: 1.02rem;
  line-height: 1.5;
}

.promo-video-notes span {
  color: var(--muted);
  line-height: 1.7;
}

.story-lightbox-open {
  overflow: hidden;
}

.story-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 28px;
}

.story-lightbox[hidden] {
  display: none;
}

.story-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(24, 38, 31, 0.62);
  cursor: zoom-out;
}

.story-lightbox-frame {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(92vw, 820px);
  max-height: 88vh;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 12px;
  background: rgba(252, 250, 244, 0.96);
  box-shadow: 0 28px 70px rgba(24, 38, 31, 0.28);
}

.story-lightbox-frame img {
  display: block;
  max-width: 100%;
  max-height: calc(88vh - 28px);
  border-radius: 8px;
  object-fit: contain;
}

.story-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(47, 125, 95, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--green-dark);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.story-lightbox-close:focus-visible {
  outline: 3px solid rgba(47, 125, 95, 0.44);
  outline-offset: 2px;
}

.story-thumb {
  height: 110px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(223, 241, 231, 0.86), rgba(255, 255, 255, 0.72)),
    var(--surface-soft);
  position: relative;
  overflow: hidden;
}

.story-thumb::before,
.story-thumb::after {
  content: "";
  position: absolute;
  border-radius: 8px;
  background: rgba(47, 125, 95, 0.16);
}

.story-thumb-comic::before {
  width: 48px;
  height: 66px;
  left: 26px;
  top: 22px;
  background: #ffffff;
  border: 2px solid rgba(47, 125, 95, 0.34);
}

.story-thumb-comic::after {
  width: 52px;
  height: 2px;
  left: 44px;
  top: 54px;
  box-shadow: 0 16px 0 rgba(47, 125, 95, 0.16), 0 32px 0 rgba(47, 125, 95, 0.16);
}

.story-thumb-tooth::before {
  width: 78px;
  height: 58px;
  left: 34px;
  top: 24px;
  border-radius: 50%;
  background: rgba(233, 107, 93, 0.16);
  border: 2px solid rgba(233, 107, 93, 0.2);
}

.story-thumb-tooth::after {
  width: 18px;
  height: 30px;
  left: 64px;
  top: 42px;
  border-radius: 12px 12px 16px 16px;
  background: #ffffff;
  border: 2px solid rgba(47, 125, 95, 0.24);
}

.story-thumb-table::before {
  width: 96px;
  height: 10px;
  left: 30px;
  top: 54px;
  background: rgba(151, 103, 55, 0.28);
}

.story-thumb-table::after {
  width: 26px;
  height: 26px;
  left: 66px;
  top: 26px;
  border-radius: 50%;
  background: rgba(233, 107, 93, 0.24);
  box-shadow: -32px 18px 0 rgba(47, 125, 95, 0.18), 34px 18px 0 rgba(50, 122, 166, 0.18);
}

.tab-note {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--green);
  font-weight: 900;
}

.tab-world-image {
  width: 260px;
  display: grid;
  place-items: center;
}

.tab-world-image img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--blue-soft);
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 34px;
}

.section-heading h2,
.purpose-copy h2,
.memory-copy h2,
.value-card h2 {
  color: var(--green-deep);
  font-size: 2.2rem;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0;
}

.section-heading p,
.ja-line {
  color: var(--green);
  font-weight: 900;
}

.story-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.story-block {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-left: 4px solid var(--green);
  background: rgba(255, 255, 255, 0.72);
}

.story-block p {
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 700;
}

.purpose-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: center;
}

.purpose-copy {
  display: grid;
  gap: 14px;
}

.purpose-copy strong {
  color: var(--green-deep);
  font-size: 1.24rem;
}

.purpose-note {
  min-height: 240px;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(223, 241, 231, 0.96), rgba(255, 255, 255, 0.92)),
    var(--surface);
  box-shadow: var(--shadow);
}

.purpose-note span {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.6;
}

.purpose-note strong {
  color: var(--green);
  font-size: 2rem;
  line-height: 1.2;
}

.leave-app-section {
  text-align: center;
}

.verb-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 28px;
}

.verb-rail span {
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--green);
  font-weight: 900;
  line-height: 1.25;
  box-shadow: 0 10px 26px rgba(28, 80, 60, 0.06);
}

.center-copy {
  max-width: 720px;
  margin: 8px auto 0;
}

.loop-section {
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100vw - 1120px) / 2));
  padding-right: max(20px, calc((100vw - 1120px) / 2));
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(238, 247, 240, 0.72));
}

.loop-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.loop-list li {
  min-width: 0;
  min-height: 176px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.loop-list span {
  color: var(--coral);
  font-family: var(--latin-font);
  font-size: 0.82rem;
  font-weight: 900;
}

.loop-list strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.35;
}

.loop-list p {
  font-size: 0.88rem;
  line-height: 1.5;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-grid article {
  min-height: 254px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(28, 80, 60, 0.07);
}

.feature-grid article:nth-child(2),
.feature-grid article:nth-child(5) {
  background: linear-gradient(180deg, #ffffff, var(--blue-soft));
}

.feature-grid article:nth-child(3),
.feature-grid article:nth-child(4) {
  background: linear-gradient(180deg, #ffffff, var(--green-soft));
}

.feature-grid span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: #ffffff;
  font-family: var(--latin-font);
  font-size: 0.82rem;
  font-weight: 900;
}

.feature-grid h3 {
  color: var(--green-deep);
  font-size: 1.16rem;
  line-height: 1.35;
}

.feature-grid p {
  line-height: 1.7;
}

.memory-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: center;
}

.memory-copy {
  display: grid;
  gap: 14px;
}

.world-preview {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.world-preview img {
  width: 100%;
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--blue-soft);
}

.world-preview figcaption {
  display: grid;
  gap: 5px;
}

.world-preview strong {
  color: var(--green-deep);
  font-size: 1.08rem;
}

.world-preview span {
  color: var(--muted);
  line-height: 1.6;
}

.values-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.value-card {
  min-height: 290px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px;
  border-top: 4px solid var(--green);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(28, 80, 60, 0.07);
}

.value-card:nth-child(2) {
  border-top-color: var(--blue);
}

.value-card:nth-child(3) {
  border-top-color: var(--coral);
}

.value-quote h2 {
  color: var(--green);
}

.closing-section {
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
  padding-bottom: 96px;
}

.closing-section h2 {
  font-size: 4rem;
}

.closing-section p {
  max-width: 680px;
}

.site-footer {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px max(20px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-weight: 800;
}

.site-footer .brand-link {
  font-size: 1rem;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .site-nav {
    display: none;
  }

  .hero-section {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 48px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-art {
    align-self: auto;
  }

  .story-columns,
  .purpose-section,
  .memory-section,
  .values-section {
    grid-template-columns: 1fr;
  }

  .purpose-note {
    min-height: 0;
  }

  .loop-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .promo-video-layout {
    grid-template-columns: 1fr;
  }

  .promo-video-notes {
    max-width: 680px;
    margin: 0 auto;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
    padding: 10px 14px;
    gap: 12px;
  }

  .brand-link {
    font-size: 1.08rem;
  }

  .brand-link img {
    width: 38px;
    height: 38px;
  }

  .header-action {
    min-width: 112px;
    min-height: 40px;
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  .hero-section,
  .story-section,
  .tab-section,
  .real-stories-section,
  .video-section,
  .purpose-section,
  .leave-app-section,
  .loop-section,
  .features-section,
  .memory-section,
  .values-section,
  .closing-section {
    width: min(100% - 28px, 1120px);
    padding: 54px 0;
  }

  .hero-copy h1 {
    font-size: 3.5rem;
  }

  .hero-section {
    padding: 30px 0 34px;
  }

  .hero-copy {
    gap: 14px;
  }

  .hero-art img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  .closing-section h2 {
    font-size: 3rem;
  }

  .hero-ja,
  .hero-zh {
    font-size: 1.36rem;
  }

  .hero-lead,
  .hero-lead-ja {
    font-size: 1rem;
  }

  .hero-actions,
  .primary-link,
  .secondary-link {
    width: 100%;
  }

  .section-heading h2,
  .purpose-copy h2,
  .memory-copy h2,
  .value-card h2 {
    font-size: 1.64rem;
  }

  .story-block {
    padding: 18px;
  }

  .verb-rail,
  .loop-list,
  .mini-loop,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .tab-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tab-panel {
    min-height: 0;
    padding: 18px;
  }

  .tab-panel-idea,
  .tab-panel-world,
  .tab-panel-idea-ja,
  .tab-panel-world-ja,
  .tab-panel-idea-zh,
  .tab-panel-world-zh {
    grid-template-columns: 1fr;
  }

  .story-card-row {
    grid-template-columns: 1fr;
  }

  .story-actions,
  .story-actions .primary-link,
  .story-actions .secondary-link {
    width: 100%;
  }

  .story-photo {
    height: 190px;
  }

  .promo-video-frame {
    width: min(100%, 360px);
  }

  .promo-video-notes {
    width: 100%;
  }

  .promo-video-notes li {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 0;
  }

  .story-lightbox {
    padding: 14px;
  }

  .story-lightbox-frame {
    width: calc(100vw - 28px);
    padding: 10px;
  }

  .story-lightbox-close {
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
  }

  .tab-world-image {
    width: min(100%, 280px);
  }

  .loop-list li {
    min-height: 0;
  }

  .feature-grid article,
  .value-card {
    min-height: 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px 14px;
  }
}

@media (max-width: 420px) {
  .site-header {
    gap: 9px;
  }

  .site-header .brand-link span {
    display: none;
  }

  .language-switch {
    gap: 3px;
    padding: 3px;
  }

  .language-switch button {
    min-width: 42px;
    height: 34px;
    padding: 0 6px;
    font-size: 0.76rem;
  }

  .header-action {
    min-width: 92px;
    padding: 8px 10px;
  }
}
