:root {
  --paper: #fffaf2;
  --white: #ffffff;
  --ink: #26312f;
  --muted: #596963;
  --line: #eadfcb;
  --green: #1f8f49;
  --green-deep: #27604f;
  --green-soft: #edf8ef;
  --gold: #d9a514;
  --gold-soft: #fff3c9;
  --blue: #146ee8;
  --blue-soft: #eaf3ff;
  --red: #e93c45;
  --red-soft: #fff0f0;
  --orange: #ff8732;
  --orange-soft: #fff1e4;
  --rose: #fff0eb;
  --shadow: 0 18px 60px rgba(38, 49, 47, 0.12);
  --radius: 8px;
  --header-height: 72px;
  font-family:
    "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    Meiryo,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  letter-spacing: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px clamp(18px, 5vw, 56px);
  background: rgba(255, 253, 248, 0.92);
  border-bottom: 1px solid rgba(220, 229, 223, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-logo {
  width: 38px;
  height: 48px;
  flex: 0 0 38px;
  object-fit: contain;
  border-radius: 8px;
  background: transparent;
}

.brand-name,
.brand-sub {
  display: block;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.1;
  color: #1f4f93;
}

.brand-sub {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.text-link {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.inline-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 12px;
  color: var(--green);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.section {
  padding: 72px clamp(20px, 5vw, 72px);
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height) - 28px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 34px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.94), rgba(255, 250, 242, 0.74) 52%, rgba(255, 250, 242, 0.38)),
    linear-gradient(90deg, rgba(255, 250, 242, 0.98), rgba(255, 250, 242, 0.76) 55%, rgba(255, 250, 242, 0.16));
}

.hero::after {
  display: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 760px);
}

.eyebrow {
  margin: 0 0 12px;
  color: #745b08;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Hiragino Mincho ProN", serif;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: 0;
}

h1 {
  max-width: 12em;
  font-size: clamp(32px, 9vw, 74px);
}

h2 {
  font-size: clamp(29px, 8vw, 50px);
}

h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
}

.hero-lead {
  max-width: 670px;
  margin: 22px 0 0;
  color: #42514c;
  font-size: 16px;
}

.hero-actions,
.header-actions,
.apply-copy {
  align-items: center;
}

.hero-actions {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(33, 51, 47, 0.14);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, #204f42, #176f3c);
}

.button-line {
  color: var(--green-deep);
  background: var(--green-soft);
  border-color: #c9ded4;
}

.button-small {
  min-height: 38px;
  padding: 9px 12px;
  font-size: 13px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 24px 0 0;
}

.hero-facts div {
  min-width: 0;
  padding: 14px 10px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(38, 49, 47, 0.07);
}

.hero-facts dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.hero-facts dd {
  margin: 3px 0 0;
  font-weight: 800;
}

.hero-event-card {
  display: grid;
  gap: 10px;
  width: min(100%, 680px);
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(31, 143, 73, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 38px rgba(38, 49, 47, 0.08);
}

.hero-event-card p {
  margin: 0;
  color: #42514c;
  font-size: 13px;
}

.hero-event-kicker {
  color: var(--green-deep) !important;
  font-size: 12px !important;
  font-weight: 900;
}

.hero-event-options {
  display: grid;
  gap: 8px;
}

.hero-event-options span {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 900;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  overflow: hidden;
  background: var(--white);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.04) brightness(1.03);
}

.visual-story {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.visual-story-grid {
  display: grid;
  gap: 18px;
}

.story-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.story-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}

.story-figure-large img {
  aspect-ratio: 1.35 / 1;
  object-position: center center;
}

.story-figure figcaption {
  padding: 18px;
  color: var(--muted);
  font-size: 14px;
}

.story-figure figcaption span {
  display: block;
  margin-bottom: 4px;
  color: var(--green-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 700;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-heading p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
}

.philosophy {
  background:
    linear-gradient(90deg, rgba(255, 243, 201, 0.58), transparent 34%),
    var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.philosophy-layout {
  display: grid;
  gap: 30px;
  align-items: center;
}

.philosophy-symbol {
  width: min(100%, 260px);
  margin: 0;
  justify-self: center;
}

.philosophy-symbol img {
  width: 100%;
  border-radius: var(--radius);
  filter: drop-shadow(0 20px 34px rgba(38, 49, 47, 0.08));
}

.philosophy-body {
  display: grid;
  gap: 18px;
  max-width: 820px;
  color: #42514c;
}

.philosophy-body p {
  margin: 0;
}

.future-vision {
  padding: 20px 22px;
  border-left: 4px solid rgba(217, 165, 20, 0.72);
  background: rgba(255, 255, 255, 0.62);
  color: #31413c;
  font-weight: 700;
}

.vision-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.vision-strip span {
  min-height: 64px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--green-deep);
  font-weight: 900;
}

.team-section {
  background:
    radial-gradient(circle at 88% 12%, rgba(91, 181, 111, 0.12), transparent 24%),
    linear-gradient(180deg, #fffdf8, var(--paper));
}

.team-grid {
  display: grid;
  gap: 14px;
}

.team-item {
  position: relative;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.team-item::before {
  content: "";
  width: 36px;
  height: 6px;
  display: block;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--green);
}

.team-item:nth-child(2)::before {
  background: var(--gold);
}

.team-item:nth-child(3)::before {
  background: var(--blue);
}

.team-item p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.activity-grid,
.reassurance-grid,
.future-grid {
  display: grid;
  gap: 14px;
}

.activity-card,
.reassurance-card,
.future-grid article {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.activity-card {
  min-height: 184px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.activity-card::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -22px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--blue-soft);
  opacity: 0.88;
}

.activity-icon {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  color: #1f4f93;
  background: linear-gradient(135deg, var(--gold-soft), var(--white));
  border: 1px solid #f0d891;
  font-size: 24px;
  box-shadow: 0 10px 24px rgba(217, 165, 20, 0.12);
}

.activity-card:nth-child(2) .activity-icon {
  color: var(--red);
  background: var(--red-soft);
  border-color: #ffd0d0;
}

.activity-card:nth-child(3) .activity-icon {
  color: var(--blue);
  background: var(--blue-soft);
  border-color: #cfe2ff;
}

.activity-card:nth-child(4) .activity-icon {
  color: var(--green);
  background: var(--green-soft);
  border-color: #ccead4;
}

.activity-card:nth-child(5) .activity-icon {
  color: var(--orange);
  background: var(--orange-soft);
  border-color: #ffd9bd;
}

.activity-card h3,
.activity-card p {
  position: relative;
  z-index: 1;
}

.activity-card p,
.reassurance-card p,
.future-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.age-section {
  background:
    linear-gradient(180deg, var(--white), #fbfcfb);
}

.age-section .section-heading {
  margin-bottom: 18px;
}

.age-section h2 {
  font-size: clamp(26px, 3.5vw, 36px);
}

.age-layout {
  display: grid;
  gap: 18px;
  align-items: start;
}

.age-main {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(38, 49, 47, 0.06);
}

.age-number {
  color: var(--green-deep);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.35;
}

.age-label {
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--green);
  background: var(--green-soft);
  font-size: 11px;
  font-weight: 800;
}

.age-detail {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.age-notes {
  color: #42514c;
}

.age-notes p {
  margin-top: 0;
}

.age-notes ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.age-notes li {
  position: relative;
  padding-left: 26px;
}

.age-notes li::before {
  content: "";
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.flow-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}

.flow-item {
  counter-increment: flow;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.flow-item::before {
  content: counter(flow, decimal-leading-zero);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #1f4f93;
  background: var(--blue-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-weight: 700;
}

.flow-item p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.reassurance {
  background:
    radial-gradient(circle at 8% 10%, rgba(233, 60, 69, 0.08), transparent 20%),
    var(--white);
}

.opening-section {
  background:
    linear-gradient(180deg, var(--paper), var(--white)),
    var(--white);
}

.opening-grid {
  display: grid;
  gap: 14px;
}

.opening-card {
  min-height: 100%;
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 42px rgba(38, 49, 47, 0.08);
}

.opening-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 250, 242, 0.42));
}

.opening-media {
  position: relative;
  margin: 0;
  background: #f8f4ea;
}

.opening-media img {
  width: 100%;
  aspect-ratio: 1.5 / 1;
  object-fit: cover;
  filter: saturate(0.98) brightness(1.04);
}

.opening-media-logo {
  display: grid;
  place-items: center;
  min-height: 0;
  aspect-ratio: 1.5 / 1;
  padding: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.88), rgba(255, 250, 242, 0.66) 50%, rgba(237, 248, 239, 0.86));
}

.opening-media-logo img {
  width: min(220px, 66%);
  height: auto;
  max-height: 78%;
  max-width: 78%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center center;
  filter: drop-shadow(0 16px 22px rgba(38, 49, 47, 0.08));
}

.opening-content {
  position: relative;
  z-index: 2;
  padding: 20px;
}

.opening-kicker {
  display: block;
  margin-bottom: 8px;
  color: #745b08;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.opening-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.future-section {
  background: linear-gradient(180deg, #f3f8f1, #fffaf2);
  color: var(--ink);
}

.future-section .eyebrow { color: var(--green-deep); }
.future-section .section-heading p { color: var(--muted); }

.future-grid article {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
}

.future-grid span {
  color: var(--green-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 700;
}

.future-grid p {
  color: var(--muted);
}

.future-grid .inline-link {
  color: var(--green-deep);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 800;
}

.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.apply {
  display: grid;
  gap: 26px;
  background: var(--rose);
}

.apply-copy {
  display: grid;
  justify-items: start;
  gap: 16px;
}

.apply-copy p {
  margin: 0;
  color: #5d5a54;
}

.entry-panel {
  display: grid;
  gap: 14px;
  padding: 20px;
  background: var(--white);
  border: 1px solid rgba(217, 165, 20, 0.36);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.entry-panel h3 {
  margin: 0;
  color: var(--green-deep);
}

.entry-steps {
  display: grid;
  gap: 10px;
}

.entry-steps div {
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid #d9e5df;
  border-radius: var(--radius);
  background: #fbfdfb;
}

.entry-steps span {
  grid-row: 1 / 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 800;
}

.entry-steps strong {
  color: var(--ink);
  line-height: 1.25;
}

.entry-steps small {
  color: var(--muted);
  font-size: 12px;
}

.entry-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.event-options {
  display: grid;
  gap: 10px;
}

.event-option {
  display: grid;
  gap: 5px;
  padding: 16px;
  border: 1px solid #ccd9d3;
  border-radius: var(--radius);
  background: #fbfdfb;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.event-option:hover,
.event-option:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(31, 143, 73, 0.48);
  box-shadow: 0 12px 26px rgba(38, 49, 47, 0.08);
}

.event-option span {
  color: #745b08;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-option strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
}

.event-option small {
  color: var(--muted);
  font-size: 13px;
}

.area-block {
  padding-top: 8px;
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.area-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid #cfe1d8;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 800;
}

.form-status {
  margin: 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.site-footer {
  padding: 34px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.site-footer .inline-link {
  margin-top: 6px;
}

.site-footer p {
  margin: 0;
}

.site-footer p + p {
  margin-top: 4px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 18px;
  margin-top: 12px !important;
  font-size: 13px;
  font-weight: 700;
}

/*
 * フッターのリンクは高さ 23px しかなく、指で押すには小さすぎた
 * （2026-09-08 実測）。文字は 13px のまま、余白だけで 44px にする。
 * リンクの並びであって文中のリンクではないので、広げても字面は崩れない。
 */
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.privacy-link {
  margin-top: 10px !important;
  font-size: 12px;
}

/*
 * `.inline-link` は 28px。**文の中に混ざっているもの**は広げると行が
 * ばらけるので触らない。カードの「9月13日の詳細」のように
 * 単独で置かれているものだけ 44px にする（2026-09-08 実測）。
 * `:not(p *)` を解さない古い環境では、この規則ごと落ちて元の見た目に戻るだけ。
 */
.inline-link:not(p *):not(li *) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.privacy-link a {
  /* 高さ 14px しかなく、フッターで最も押しにくかった（2026-09-08 実測） */
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.school-status,
.related-reading {
  width: min(calc(100% - 40px), 1120px);
  margin: 36px auto;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  border: 1px solid #d7eadb;
  border-radius: 22px;
  background: var(--green-soft);
}

.school-status h2,
.related-reading h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
}

.school-status p,
.related-reading p {
  margin: 8px 0 0;
  color: var(--muted);
}

.status-label {
  align-self: start;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--white);
  color: var(--green-deep);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.faq-guide-link {
  text-align: center;
}

.article-related {
  width: min(calc(100% - 40px), 920px);
  margin: 0 auto 72px;
  padding: 34px;
  border-radius: 22px;
  background: var(--green-soft);
}

.content-hero,
.prose-hero {
  width: min(100%, 980px);
  margin-inline: auto;
  text-align: center;
}

.content-hero h1,
.prose-hero h1 {
  max-width: none;
  margin-inline: auto;
}

.content-lead {
  width: min(100%, 760px);
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
}

.status-banner {
  width: min(100%, 760px);
  margin: 28px auto 0;
  padding: 18px 20px;
  display: grid;
  gap: 4px;
  border: 1px solid #e4c974;
  border-radius: 14px;
  background: var(--gold-soft);
  text-align: left;
}

.status-banner strong {
  color: #745b08;
}

.status-banner span {
  color: var(--muted);
  font-size: 14px;
}

.content-section,
.prose-body {
  width: min(calc(100% - 40px), 900px);
  margin: 0 auto 44px;
  padding: 44px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--line);
}

.content-section h2,
.prose-body h2 {
  margin: 0 0 18px;
}

.content-section p + p,
.prose-body p + p {
  margin-top: 16px;
}

.content-tint,
.content-cta {
  background: var(--green-soft);
  border-color: #d7eadb;
}

.content-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.principle-grid,
.journal-grid {
  display: grid;
  gap: 18px;
}

.principle-grid article,
.journal-card {
  padding: 22px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line);
}

.principle-grid span {
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
}

.principle-grid h3,
.journal-card h2 {
  margin: 8px 0;
}

.journal-grid {
  width: min(100%, 1080px);
  margin-inline: auto;
}

.journal-card-featured {
  background: var(--green-soft);
}

.article-meta {
  margin: 22px auto 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 18px;
  color: var(--muted);
  font-size: 12px;
}

.prose-body {
  font-size: 16px;
}

.prose-body h2 {
  margin-top: 40px;
}

.prose-body blockquote {
  margin: 34px 0;
  padding: 24px;
  border-left: 5px solid var(--green);
  background: var(--green-soft);
  color: var(--green-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 3vw, 26px);
}

.source-note {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.source-note a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-actions {
  margin-top: 36px;
  display: grid;
  gap: 10px;
}

.check-list {
  padding-left: 1.4em;
}

.check-list li + li {
  margin-top: 10px;
}

@media (min-width: 720px) {
  .principle-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .journal-card-featured {
    grid-column: 1 / -1;
  }

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

@media (max-width: 719px) {
  .content-section,
  .prose-body {
    padding: 26px 22px;
  }

  .content-cta {
    display: grid;
  }

  .content-cta .button {
    width: 100%;
  }
}

@media (max-width: 759px) {
  .school-status,
  .related-reading {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .school-status .button,
  .related-reading .button {
    width: 100%;
  }
}

@media (min-width: 560px) {
  .hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 560px;
  }

  .activity-grid,
  .reassurance-grid,
  .future-grid,
  .opening-grid,
  .visual-story-grid,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 880px) {
  .hero {
    padding-top: 34px;
    padding-bottom: 20px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(255, 250, 242, 0.92), rgba(255, 250, 242, 0.6) 52%, rgba(255, 250, 242, 0.18)),
      linear-gradient(90deg, rgba(255, 250, 242, 0.99), rgba(255, 250, 242, 0.8) 48%, rgba(255, 250, 242, 0.12) 72%, rgba(255, 250, 242, 0.02));
  }

  h1 {
    font-size: clamp(56px, 5vw, 60px);
    line-height: 1.14;
  }

  .philosophy {
    display: grid;
    align-items: start;
  }

  .philosophy-layout {
    grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
    gap: 52px;
  }

  .philosophy-symbol {
    position: sticky;
    top: calc(var(--header-height) + 34px);
  }

  .visual-story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

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

  .age-layout {
    grid-template-columns: 0.85fr 1.15fr;
  }

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

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

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

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

  .apply {
    grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
    align-items: start;
  }

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

  .entry-steps div {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .entry-steps span {
    grid-row: auto;
    margin-bottom: 8px;
  }
}

@media (max-width: 879px) {
  body {
    overflow-x: hidden;
  }

  .hero {
    min-height: auto;
    padding-top: 38px;
    padding-bottom: 44px;
  }

  .hero-copy {
    width: min(100%, 340px);
    max-width: 340px;
    min-width: 0;
  }

  h1 {
    max-width: 100%;
    font-size: 34px;
    line-height: 1.18;
  }

  .hero-lead {
    max-width: 100%;
    font-size: 14px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .hero-facts div {
    display: block;
    min-width: 0;
    padding: 10px 12px;
  }

  .hero-facts dd {
    margin-top: 3px;
    font-size: 13px;
    text-align: left;
  }

  .hero-event-card {
    width: 100%;
    max-width: 100%;
    padding: 14px;
  }

  .hero-event-options span {
    font-size: 13px;
  }

  .section-heading,
  .philosophy-body,
  .age-notes,
  .apply-copy {
    width: min(100%, 340px);
    max-width: 340px;
  }

  h2 {
    font-size: 30px;
    line-height: 1.24;
  }
}

/*
 * ヘッダーの折り返しは 420px までしか効いていなかった（2026-09-08 実測）。
 * その少し上が **Pro Max 系 iPhone の幅**（428 / 430 / 440px）で、
 * そこだけ折り返しが外れてページごと横にあふれていた:
 *   414px OK / 420px OK / 428px ★69px / 430px ★67px / 440px ★57px / 480px ★19px
 * 幅は機種で増え続けるので、境目を機種に合わせて上げ直すのではなく
 * **横並びが入らなくなる幅**（本文の最大幅の下・タブレット未満）で切る。
 */
@media (max-width: 640px) {
  .site-header {
    flex-wrap: wrap;
    gap: 10px;
    padding-inline: 14px;
  }

  .brand-name {
    font-size: 16px;
  }

  .brand-logo {
    width: 34px;
    height: 44px;
    flex-basis: 34px;
  }

  .brand-sub {
    display: none;
  }

  .header-actions {
    width: 100%;
    padding-bottom: 2px;
    justify-content: flex-start;
    gap: 10px 14px;
    /*
     * 元は `overflow-x: auto` の横スクロール帯だった。中身は 416px 固定で
     * 帯の見える幅は 292〜402px しかなく、**主役の LINE登録が画面外へ流れて
     * 切れていた**（スクロールできる合図も出ない）。
     * 右端に貼り付ける手も試したが、今度は下の文字リンクが
     * ボタンの下に隠れて切れて見える。折り返して全部見せるほうが素直。
     */
    flex-wrap: wrap;
  }

  .header-actions::-webkit-scrollbar {
    display: none;
  }

  .header-actions .text-link {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    font-size: 11px;
    /* 19px しかなかった。字の大きさは変えずに上下の余白で 44px にする */
    min-height: 44px;
  }

  /* 的を広げたぶん、行の隙間は詰める（ヘッダーが伸びすぎないように） */
  .header-actions {
    gap: 0 14px;
  }

  /*
   * 帯の中身は 416px 固定で、帯の見える幅は 292〜402px しかない
   * （320px幅では 124px あふれる）。横スクロールの帯という作りは妥当だが、
   * `margin-left: auto` だと**主役の LINE登録が右端の外へ流れて切れる**。
   * 帯の右端に貼り付けて、文字リンクだけが下を流れるようにする。
   */
  .header-actions .button-small {
    margin-left: auto;
    flex: 0 0 auto;
  }

  /*
   * 押す的の高さ（2026-09-08 実測・320/390px）。この案件の品質ラインは
   * 「主要操作44px以上」。LINE登録は主役の導線なのに 36px しかなかった。
   * **文字は大きくせず、余白だけで広げる**（見た目の字面を変えないため）。
   */
  .button-small {
    min-height: 44px;
    padding-inline: 10px;
  }
}

/* Event evidence and future vision */
.event-report-preview {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.report-heading {
  max-width: 760px;
}

.report-gallery {
  width: min(100%, 1120px);
  margin: 34px auto 0;
  display: grid;
  gap: 22px;
}

.report-shot {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(38, 49, 47, 0.08);
}

.report-shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.report-shot-main img {
  object-position: center;
}

.report-shot figcaption {
  display: grid;
  gap: 3px;
  padding: 17px 18px 19px;
}

.report-shot figcaption strong {
  color: var(--green-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.report-shot figcaption span {
  color: var(--muted);
  font-size: 13px;
}

.report-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
}

.vision-roadmap {
  position: relative;
  width: min(100%, 1020px);
  margin-inline: auto;
  grid-template-columns: 1fr;
}

.vision-roadmap article {
  min-height: 220px;
  color: var(--ink);
  border-color: var(--line);
}

.vision-roadmap h3 { color: var(--ink); }
.vision-roadmap p { color: var(--muted); }

.vision-roadmap article:nth-child(1) {
  background: var(--green-soft);
}

.vision-roadmap article:nth-child(2) {
  background: var(--blue-soft);
}

.vision-roadmap article:nth-child(3) {
  background: #f5effb;
}

.vision-roadmap article > span {
  width: auto;
  height: auto;
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--green-deep);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.vision-note {
  width: min(100%, 760px);
  margin: 24px auto 0;
  padding: 20px 22px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.vision-note p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

@media (min-width: 760px) {
  .vision-roadmap {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .report-gallery {
    grid-template-columns: 1.35fr 1fr 1fr;
    align-items: stretch;
  }

  .report-shot,
  .report-shot img {
    height: 100%;
  }

  .report-shot {
    display: grid;
    grid-template-rows: minmax(320px, 1fr) auto;
  }

  .report-shot img {
    aspect-ratio: auto;
  }
}

@media (max-width: 759px) {
  .report-gallery {
    gap: 20px;
  }

  .report-actions {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }

  .report-actions .button {
    width: 100%;
  }

  .vision-roadmap article {
    min-height: 0;
  }
}

/* Event report page */
.report-page-hero {
  width: min(100%, 940px);
  margin-inline: auto;
  padding-bottom: 44px;
  text-align: center;
}

.report-page-hero h1 {
  max-width: none;
}

.report-page-lead {
  max-width: 660px;
  margin: 24px auto 0;
  color: var(--muted);
}

.report-page-cover {
  width: min(calc(100% - 40px), 1120px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.report-page-cover img {
  width: 100%;
  max-height: 660px;
  object-fit: cover;
}

.report-page-body {
  width: min(100%, 1040px);
  margin-inline: auto;
}

.report-page-copy {
  width: min(100%, 720px);
  margin: 0 auto 44px;
}

.report-page-copy h2 {
  margin-bottom: 24px;
}

.report-page-copy p:not(.eyebrow) + p {
  margin-top: 16px;
}

.report-page-pair {
  display: grid;
  gap: 24px;
}

.report-page-pair figure {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
}

.report-page-pair img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.report-page-pair figcaption {
  padding: 16px 18px 18px;
  color: var(--muted);
  font-size: 13px;
}

.report-page-pair figcaption strong {
  display: block;
  color: var(--green-deep);
  font-size: 16px;
}

.report-next {
  width: min(calc(100% - 40px), 1040px);
  margin: 0 auto 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-radius: 22px;
  background: var(--green-soft);
}

.report-next p:not(.eyebrow) {
  margin-top: 12px;
  color: var(--muted);
}

.report-next-actions {
  min-width: 250px;
  display: grid;
  gap: 10px;
}

/* Event detail page */
.events-hero {
  min-height: auto;
  display: grid;
  align-items: center;
  gap: 36px;
}

.events-hero h1 {
  max-width: none;
}

.events-lead {
  margin-top: 22px;
  color: var(--muted);
}

.events-hero figure {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.events-hero figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.event-detail-section {
  background: var(--white);
}

.event-date-grid {
  width: min(100%, 820px);
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.event-date-grid article {
  position: relative;
  padding: 24px;
  border-radius: 16px;
  background: var(--green-soft);
  border: 1px solid #d7eadb;
  text-align: center;
}

.event-date-grid article > span {
  position: absolute;
  top: 12px;
  left: 14px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
}

.event-date-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.event-date-grid h3 {
  margin: 3px 0;
  font-size: 22px;
}

.event-date-grid strong {
  color: var(--green-deep);
  font-size: 18px;
}

.event-facts {
  width: min(100%, 920px);
  margin: 30px auto 0;
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.event-facts div {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.event-facts dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.event-facts dd {
  margin: 5px 0 0;
  font-weight: 700;
}

.event-apply {
  margin-top: 30px;
  text-align: center;
}

.event-apply p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.event-safety {
  width: min(100%, 1040px);
  margin-inline: auto;
}

@media (min-width: 720px) {
  .report-page-pair,
  .event-date-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .events-hero {
    grid-template-columns: 1fr 0.9fr;
  }

  .event-facts {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 719px) {
  .report-page-hero,
  .report-page-body,
  .events-hero,
  .event-detail-section,
  .event-safety {
    padding-inline: 20px;
  }

  .report-next {
    display: grid;
    padding: 34px 24px;
  }

  .report-next-actions,
  .report-next .button {
    width: 100%;
  }

  .event-facts {
    grid-template-columns: 1fr;
  }

  .events-hero figure {
    order: -1;
  }
}

/* Keep the event evidence cards visually consistent while preserving natural framing. */
.report-gallery {
  align-items: stretch;
}

.report-shot {
  display: grid;
  grid-template-rows: auto 1fr;
}

.report-shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  background: #f4efe4;
}

.report-shot:nth-child(2) img {
  object-position: 48% center;
}

.report-shot:nth-child(3) img {
  object-position: 68% center;
}

@media (min-width: 760px) {
  .report-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.report-page-pair img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
}

/* 開催が終わった日程を隠すための表示制御（event-status.js から使う） */
[hidden] {
  display: none !important;
}

.apply-dates span {
  display: block;
}

.faq-dates {
  margin: 6px 0 0;
  padding-left: 1.15em;
}

.faq-dates li {
  margin-top: 4px;
}

.events-empty {
  width: min(100%, 820px);
  margin: 22px auto 0;
  color: var(--muted);
  text-align: center;
}
