/*
Theme Name: 愛児幼稚園 (Aiji Yochien)
Theme URI: https://example.com/
Author: 愛児学園
Description: 学校法人 愛児学園 愛児幼稚園の公式サイトテーマ。静的HTMLサイトからの移植版。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: aiji-yochien
*/

:root {
  --font-sans: "Hiragino Maru Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", system-ui, sans-serif;
  --color-ink: #312923;
  --color-hero-heading: #34435a;
  --color-muted: #6c625b;
  --color-line: #eadfda;
  --color-paper: #fffdf8;
  --color-cream: #fff8eb;
  --color-green: #8cc757;
  --color-green-deep: #70ad42;
  --color-green-soft: #eef8e8;
  --color-pink: #ee7887;
  --color-pink-deep: #ed6f79;
  --color-pink-soft: #fff0f2;
  --color-blue: #5ba0d5;
  --color-blue-soft: #edf7ff;
  --color-yellow: #f4b72f;
  --color-yellow-soft: #fff8dd;
  --shadow-soft: 0 18px 50px rgba(94, 69, 46, 0.08);
  --shadow-card: 0 12px 28px rgba(96, 83, 66, 0.08);
  --radius-card: 8px;
  --radius-panel: 18px;
  --container: 1360px;
  --header-container: 1440px;
  --page-gutter: clamp(32px, 6vw, 64px);
  --section-space: 64px;
  --hero-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 780 384' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M118 10 C 260 -6 560 -4 780 6 L 780 346 C 700 380 620 344 528 358 C 440 372 372 332 284 350 C 204 366 138 362 108 320 C 84 286 92 246 100 210 C 108 172 82 128 90 84 C 96 44 92 16 118 10 Z'/%3E%3C/svg%3E");
  --news-photo-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 200' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M150 6 C246 6 294 36 294 100 C294 164 246 194 150 194 C54 194 6 164 6 100 C6 36 54 6 150 6 Z'/%3E%3C/svg%3E");
  --hero-mask-sp: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 330' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 40 C58 8 118 34 188 18 C252 4 316 30 390 14 V294 C352 320 308 298 262 309 C214 320 176 300 128 311 C86 320 38 314 0 290 Z'/%3E%3C/svg%3E");
  --news-photo-mask-sp: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 200' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M42 7 C110 2 190 2 258 7 C282 9 291 20 293 44 C295 72 295 128 293 156 C291 180 282 191 258 193 C190 198 110 198 42 193 C18 191 9 180 7 156 C5 128 5 72 7 44 C9 20 18 9 42 7 Z'/%3E%3C/svg%3E");
  --hero-mask-sp-soft: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 260' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 0 H390 V230 C336 250 282 236 210 243 C138 250 66 244 0 232 Z'/%3E%3C/svg%3E");
}

* {
  box-sizing: border-box;
}

/* スマホでだけ改行させたい箇所に使う */
.sp-br {
  display: none;
}

@media (max-width: 720px) {
  .sp-br {
    display: inline;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip; /* 縁からはみ出す装飾イラストで横スクロールが生まれないように */
  color: var(--color-ink);
  background: var(--color-paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(14px, 1.8vw, 30px);
  width: 100%;
  margin: 0;
  padding: 18px max(12px, calc((100% - var(--header-container)) / 2)) 10px;
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: clamp(218px, 20vw, 285px);
}

.brand__mark {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand__text {
  display: grid;
  gap: 1px;
}

.brand__eyebrow {
  font-size: 11px;
  font-weight: 700;
}

.brand__name {
  font-size: clamp(26px, 2.05vw, 33px);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.08;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(10px, 1.5vw, 28px);
  font-size: clamp(12px, 0.95vw, 15px);
  font-weight: 800;
  white-space: nowrap;
}

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

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: 1px;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: var(--color-green);
  content: "";
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: translateY(0);
}

.header-actions {
  display: grid;
  gap: 9px;
}

.header-pill {
  min-width: clamp(150px, 12.5vw, 174px);
  padding: 10px 18px;
  border-radius: 999px;
  color: #fff;
  font-size: clamp(12px, 0.9vw, 14px);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  box-shadow: 0 8px 20px rgba(116, 113, 84, 0.12);
}

.header-pill svg {
  width: 13px;
  height: 13px;
  margin-left: 6px;
  vertical-align: -2px;
}

.header-pill--green {
  background: var(--color-green);
}

.header-pill--pink {
  background: var(--color-pink);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--color-green);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: #fff;
  transition: translate 0.25s ease, rotate 0.25s ease, opacity 0.2s ease;
}

/* PCではラッパーを透過させ、ナビとピルをヘッダーグリッドの直接の子として扱う */
.site-menu {
  display: contents;
}

.menu-overlay {
  display: none;
}

body.menu-open {
  overflow: hidden;
}

main {
  overflow: hidden;
}

.hero,
.important,
.news-panel,
.philosophy,
.features,
.link-cards,
.closing {
  width: min(var(--container), calc(100% - var(--page-gutter)));
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: clamp(560px, 54vw, 780px);
  padding: 0;
}

/* 写真の上下中央にテキストを重ねる */
.hero__copy {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  width: min(760px, calc(100% - 48px));
  height: fit-content;
  margin: auto;
  text-align: center;
}

/* 背後が建物などでも文字が読めるよう、雲のような白いにじみを敷く */
.hero__copy::before {
  content: "";
  position: absolute;
  inset: -90px -130px -80px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 48%, rgba(255, 253, 248, 0.92) 0%, rgba(255, 253, 248, 0.78) 44%, rgba(255, 253, 248, 0.4) 66%, rgba(255, 253, 248, 0) 82%);
  filter: blur(14px);
}

.hero__kicker {
  margin: 0 0 6px;
  color: var(--color-pink);
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.hero__kicker-soft {
  color: var(--color-pink);
}

.hero__kicker-strong {
  color: var(--color-blue);
}

.hero h1 {
  margin: 0 0 10px;
  color: var(--color-hero-heading);
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.22;
  white-space: nowrap;
}

/* 見出し下の英字サブライン */
.hero__sub {
  margin: 0 0 18px;
  color: var(--color-hero-heading);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.32em;
  text-indent: 0.32em;
}

/* 空・園舎に重なる文字の可読性はやわらかい白のにじみで確保 */
.hero__kicker,
.hero h1,
.hero__sub,
.hero__lead {
  text-shadow:
    0 0 14px rgba(255, 253, 248, 0.9),
    0 2px 26px rgba(255, 253, 248, 0.75);
}

.hero__lead {
  margin: 0 0 24px;
  font-size: clamp(15px, 1.25vw, 17px);
  font-weight: 800;
  line-height: 1.95;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 18px;
}

.hero__buttons .button {
  min-height: 52px;
  padding: 0 28px;
  font-size: 14.5px;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 54px;
  padding: 0 30px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

/* 「›」はグリフの字面が下寄りのため、光学的に中央へ補正 */
.button span[aria-hidden] {
  display: inline-block;
  transform: translateY(-1px);
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--color-green), var(--color-green-deep));
  box-shadow: 0 12px 24px rgba(126, 181, 75, 0.25);
}

.button--pink {
  color: #fff;
  background: linear-gradient(135deg, var(--color-pink), var(--color-pink-deep));
  box-shadow: 0 12px 24px rgba(238, 120, 135, 0.26);
}

.button--ghost {
  color: var(--color-green-deep);
  background: rgba(255, 255, 255, 0.86);
  border-color: var(--color-green);
}

.button--yellow {
  color: #fff;
  background: var(--color-yellow);
  box-shadow: 0 12px 24px rgba(244, 183, 47, 0.22);
}

.button--blue {
  color: #fff;
  background: var(--color-blue);
  box-shadow: 0 12px 24px rgba(91, 160, 213, 0.22);
}

.button--small {
  min-height: 41px;
  padding: 0 22px;
  font-size: 13px;
}

/* 画面幅いっぱいの写真シート。下辺だけが手描き風に波打つ。
   front-page.php 内の SVG clipPath（#aiji-hero-clip）で切り抜き、
   <animate> が波をゆっくりうねらせ続ける */
.hero__visual {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc((100vw - min(var(--container), calc(100vw - var(--page-gutter)))) / -2);
  right: calc((100vw - min(var(--container), calc(100vw - var(--page-gutter)))) / -2);
  z-index: 1;
  overflow: hidden;
  clip-path: url(#aiji-hero-clip);
}

.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 51% 50%;
}

.deco {
  position: absolute;
  z-index: 2;
  display: block;
  object-fit: contain;
  pointer-events: none;
}

.deco--bird {
  left: 22px;
  top: 24px;
  width: 58px;
  height: 58px;
  transform: rotate(-14deg);
}

.deco-dot {
  width: 66px;
  height: 66px;
}

.deco-dot--cream {
  left: 246px;
  bottom: 24px;
}

.deco-leaf {
  left: -20px;
  bottom: 18px;
  width: 98px;
  height: 82px;
  transform: rotate(-18deg);
}

.deco-flower--hero {
  left: 286px;
  bottom: 42px;
  width: 58px;
  height: 58px;
}

.important {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 160px;
  align-items: center;
  min-height: 104px;
  margin-top: 36px;
  padding: 0 22px 0 0;
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(255, 229, 231, 0.96), rgba(255, 247, 246, 0.88)),
    #fff;
  box-shadow: 0 14px 34px rgba(238, 120, 135, 0.09);
}

.important__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  align-self: stretch;
  min-height: 82px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--color-pink), var(--color-pink-deep));
  font-size: 18px;
  font-weight: 900;
}

.important__bell {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.important__body {
  padding: 0 34px;
}

.important__title {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 0 0 2px;
  font-size: 18px;
  font-weight: 900;
}

.important__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 25px;
  padding: 0 12px;
  border-radius: 4px;
  color: #fff;
  background: var(--color-pink);
  font-size: 12px;
}

.important__body p:last-child {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.important__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  gap: 16px;
  min-width: 150px;
  min-height: 45px;
  padding: 0 18px;
  border: 2px solid #f39aaa;
  border-radius: 999px;
  color: var(--color-pink);
  background: #fff9f9;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.important__more span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  padding-bottom: 3px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
}

.news-panel {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 30px;
  margin-top: 72px;
  padding: 44px 26px 44px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-panel);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 30px rgba(113, 88, 66, 0.04);
}

.section-heading {
  display: grid;
  gap: 6px;
}

.section-heading h2 {
  margin: 0;
  font-size: 27px;
  font-weight: 900;
  line-height: 1.35;
}

.heading-dots {
  display: block;
  width: 92px;
  height: 10px;
  object-fit: fill;
}

.section-heading--center {
  justify-items: center;
  text-align: center;
}

.heading-sprout {
  width: 32px;
  height: 32px;
  margin-top: -2px;
  object-fit: contain;
}

.section-heading--inline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.blob-photo {
  margin: 18px 0 0;
  overflow: hidden;
  border-radius: 43% 57% 48% 52% / 22% 33% 67% 78%;
}

.blob-photo--small {
  height: 138px;
}

.blob-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-panel__media .blob-photo {
  height: 196px;
  border-radius: 0;
  -webkit-mask-image: var(--news-photo-mask);
  mask-image: var(--news-photo-mask);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.news-list {
  display: grid;
  align-content: start;
  padding-top: 0;
}

.news-row {
  display: grid;
  grid-template-columns: 96px 82px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  border-bottom: 1px solid var(--color-line);
  font-size: 15.5px;
  font-weight: 800;
}

.news-row time {
  color: var(--color-muted);
  font-size: 14px;
}

.news-row b {
  align-self: center;
  color: var(--color-yellow);
  font-size: 23px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-2px);
}

.news-row > span:not(.tag) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tag {
  display: inline-flex;
  justify-content: center;
  min-width: 76px;
  padding: 3px 11px;
  border-radius: 999px;
  color: #fff;
  font-size: 11.5px;
  font-weight: 900;
  line-height: 1.35;
}

.tag--green {
  background: var(--color-green);
}

.tag--pink {
  background: var(--color-pink);
}

.tag--blue {
  background: var(--color-blue);
}

.tag--yellow {
  background: var(--color-yellow);
}

.news-list__button {
  width: 230px;
  min-height: 36px;
  margin-top: 8px;
  justify-self: end;
}

.philosophy {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 24px;
  margin-top: 48px;
  padding: 0 30px;
}

.story-band {
  position: relative;
  width: min(1280px, calc(100% - clamp(48px, 9vw, 96px)));
  margin: 96px auto 0;
  padding: 0 0 48px;
  border-radius: 84px 84px 72px 72px;
  background: linear-gradient(180deg, rgba(255, 251, 242, 0.98) 0%, rgba(255, 248, 232, 0.96) 48%, rgba(250, 251, 233, 0.98) 100%);
  overflow: hidden;
}

.story-band::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  height: 248px;
  border-radius: 96px 96px 72px 72px;
  background: linear-gradient(180deg, rgba(247, 251, 235, 0.48), rgba(238, 249, 220, 0.7));
  content: "";
}

.story-band .philosophy,
.story-band .features {
  position: relative;
  z-index: 1;
}

.story-band .philosophy {
  width: min(var(--container), calc(100% - 40px));
  margin-top: 0;
  padding: 44px 30px 0;
}

.story-band .features {
  width: 100%;
  margin-top: 0;
  padding: 28px 46px 12px;
  background: transparent;
}

.story-band__deco {
  position: absolute;
  display: block;
  object-fit: contain;
  pointer-events: none;
  opacity: 0.95;
}

.story-band__deco--tree {
  z-index: 0;
}

.story-band__deco--tree-a {
  left: -40px;
  top: 178px;
  width: 114px;
  height: auto;
}

.story-band__deco--tree-b {
  right: 34px;
  top: 48px;
  width: 78px;
  height: auto;
}

.story-band__deco--tree-c {
  right: -30px;
  bottom: 72px;
  width: 112px;
  height: auto;
}

.story-band__deco--sprinkles {
  right: 170px;
  top: 38px;
  width: 76px;
  height: 76px;
}

.story-band__deco--flower {
  left: 6px;
  bottom: 142px;
  width: 58px;
  height: 58px;
}

.story-band__deco--flower2 {
  right: 8px;
  bottom: 116px;
  width: 50px;
  height: 50px;
  transform: scaleX(-1);
  opacity: 0.85;
}

.story-band__deco--house {
  left: 430px;
  top: 120px;
  width: 50px;
  height: 50px;
}

.philosophy__copy {
  max-width: 500px;
}

.section-lead {
  margin: 12px 0 8px;
  color: var(--color-green);
  font-size: clamp(25px, 2.8vw, 33px);
  font-weight: 900;
  line-height: 1.34;
}

.philosophy__copy p:not(.section-lead) {
  margin: 0 0 4px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.62;
}

.philosophy__copy .button {
  margin-top: 7px;
  min-width: 190px;
  min-height: 36px;
  padding: 0 22px;
  font-size: 11px;
}

.philosophy__photos {
  position: relative;
  min-height: 226px;
}

.round-photo {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border-radius: 50%;
  box-shadow: var(--shadow-soft);
}

.round-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.round-photo--large {
  left: 6px;
  top: 0;
  width: 210px;
  height: 210px;
}

.round-photo--small {
  right: 44px;
  top: 88px;
  width: 130px;
  height: 130px;
}

.deco--house {
  left: -92px;
  top: 124px;
  width: 46px;
  height: 46px;
}

.deco-flower {
  width: 72px;
  height: 72px;
}

.deco-flower--one {
  left: -86px;
  bottom: 24px;
}

.deco-flower--two {
  right: 174px;
  bottom: 16px;
  top: auto;
  transform: scale(0.58);
}

.deco-sprinkles {
  right: 244px;
  top: 42px;
  width: 82px;
  height: 82px;
}

.features {
  position: relative;
  margin-top: -118px;
  padding: 0 14px 8px;
  border-radius: 80px;
  background: transparent;
}

.story-band .features .section-heading {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  align-items: center;
  gap: 1px 7px;
}

.story-band .features .section-heading h2 {
  font-size: 22px;
  line-height: 1.2;
}

.story-band .features .heading-sprout {
  width: 22px;
  height: 22px;
  margin-top: -2px;
}

.story-band .features .heading-dots--feature {
  grid-column: 1 / -1;
  justify-self: center;
  width: 76px;
  height: 8px;
  margin-top: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.feature-card {
  min-height: 168px;
  padding: 22px 18px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 12px 30px rgba(109, 92, 67, 0.05);
  text-align: center;
}

.feature-card__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 10px;
  object-fit: contain;
}

.feature-card h3 {
  margin: 0 0 7px;
  font-size: 14px;
  font-weight: 900;
}

.feature-card p {
  margin: 0;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.65;
}

.mini-circle {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  margin: 7px auto 0;
  padding-bottom: 3px;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  line-height: 1;
}

.mini-circle--green {
  background: var(--color-green);
}

.mini-circle--pink {
  background: var(--color-pink);
}

.mini-circle--blue {
  background: var(--color-blue);
}

.mini-circle--yellow {
  background: var(--color-yellow);
}

.link-cards {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 92px;
}

.link-card {
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 12px;
  min-height: 176px;
  padding: 26px 12px 22px 20px;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.link-card--green {
  background: linear-gradient(135deg, #f0fae9, #e8f7df);
}

.link-card--pink {
  background: linear-gradient(135deg, #fff0f2, #ffe3e7);
}

.link-card--yellow {
  background: linear-gradient(135deg, #fff8df, #fff2c2);
}

.link-card--blue {
  background: linear-gradient(135deg, #edf8ff, #dff2ff);
}

.link-card h2 {
  margin: 0 0 8px;
  color: var(--color-green-deep);
  font-size: 23px;
  font-weight: 900;
  line-height: 1.45;
}

.link-card--yellow h2 {
  color: #e9a60f;
}

.link-card--blue h2 {
  color: var(--color-blue);
}

.link-card--pink h2 {
  color: var(--color-pink-deep);
}

.link-card p {
  margin: 0 0 10px;
  font-size: 13.5px;
  font-weight: 800;
}

.link-card img {
  align-self: center;
  width: 110px;
  height: 110px;
  border-radius: 12px;
  object-fit: cover;
}

.deco-card-bird {
  position: absolute;
  right: -36px;
  bottom: -28px;
  width: 76px;
  height: 76px;
  transform: rotate(16deg);
}

.closing {
  margin-top: 96px;
}

.closing__panel {
  position: relative;
  padding: clamp(48px, 6vw, 72px) clamp(20px, 5vw, 64px) clamp(44px, 5vw, 58px);
  border-radius: 34px;
  background:
    radial-gradient(rgba(140, 199, 87, 0.13) 2.4px, transparent 2.9px),
    linear-gradient(180deg, #fffbf1, var(--color-cream));
  background-size: 28px 28px, 100% 100%;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.closing__deco {
  position: absolute;
  width: 64px;
}

.closing__deco--flower {
  top: -22px;
  left: clamp(18px, 6vw, 76px);
  rotate: -12deg;
}

.closing__deco--bird {
  top: -30px;
  right: clamp(22px, 7vw, 92px);
  width: 74px;
  rotate: 12deg;
}

.closing__deco--leaf {
  bottom: 26px;
  left: clamp(12px, 4vw, 48px);
  width: 56px;
  rotate: -18deg;
  opacity: 0.85;
}

.closing__eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  padding: 7px 22px;
  border-radius: 999px;
  color: var(--color-green-deep);
  background: #fff;
  box-shadow: 0 6px 14px rgba(96, 83, 66, 0.08);
  font-size: 13px;
  font-weight: 900;
}

.closing h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 33px);
  font-weight: 900;
}

.closing__lead {
  margin: 0;
  font-weight: 700;
}

.closing__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.closing__actions .button {
  min-height: 58px;
  padding: 0 34px;
  font-size: 15px;
}

.closing__tel {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 26px 0 0;
}

.closing__tel-label,
.closing__tel-note {
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 800;
}

.closing__tel-note {
  font-size: 12px;
  font-weight: 700;
}

.closing__tel a {
  color: var(--color-ink);
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.2s ease;
}

.closing__tel a:hover {
  color: var(--color-green-deep);
}

/* =========================================
   フッター
   ========================================= */

.site-footer {
  position: relative;
  margin-top: 96px;
  overflow: hidden;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(300px, 1.15fr) minmax(0, 1fr) minmax(280px, auto);
  gap: clamp(28px, 4.5vw, 72px);
  align-items: start;
  width: min(var(--container), calc(100% - var(--page-gutter)));
  margin-inline: auto;
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--color-ink);
  text-decoration: none;
}

.site-footer__logo img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.site-footer__eyebrow {
  display: block;
  color: var(--color-muted);
  font-size: 11px;
  font-weight: 800;
}

.site-footer__name {
  display: block;
  font-size: 23px;
  font-weight: 900;
  line-height: 1.3;
}

.site-footer__address {
  margin: 16px 0 12px;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
}

.site-footer__tel,
.site-footer__mail {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 4px;
}

.site-footer__tel-label {
  min-width: 44px;
  padding: 1px 0;
  border-radius: 999px;
  color: #fff;
  background: var(--color-green);
  text-align: center;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.7;
}

.site-footer__tel a {
  color: var(--color-ink);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.site-footer__mail a {
  color: var(--color-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-footer__tel a:hover,
.site-footer__mail a:hover {
  color: var(--color-green-deep);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer__nav-title,
.site-footer__cta-title {
  margin: 6px 0 14px;
  color: var(--color-green-deep);
  font-size: 14px;
  font-weight: 900;
}

.site-footer__nav ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 8px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__nav a::before {
  content: "›";
  color: var(--color-green);
  font-weight: 900;
}

.site-footer__nav a:hover {
  color: var(--color-green-deep);
  text-decoration: underline;
  text-decoration-color: rgba(140, 199, 87, 0.6);
  text-underline-offset: 4px;
}

.site-footer__cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer__cta .button {
  justify-content: center;
}

.site-footer__cta-note {
  margin: 0;
  color: var(--color-muted);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.site-footer__scenery {
  display: block;
  width: 100%;
  height: clamp(150px, 19vw, 250px);
  margin-top: clamp(8px, 2vw, 24px);
  object-fit: cover;
  object-position: center bottom;
}

.site-footer__copyright {
  margin: 0;
  padding: 13px 20px 16px;
  color: #fff;
  background: var(--color-green-deep);
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

@media (max-width: 1100px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__cta {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .site-footer__cta-title {
    width: 100%;
    margin-bottom: 0;
  }

  .site-footer__cta-note {
    width: 100%;
    text-align: left;
  }
}

@media (max-width: 720px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .site-footer__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .site-footer__cta-note {
    text-align: center;
  }

  .closing__panel {
    border-radius: 26px;
  }

  .closing__actions .button {
    width: 100%;
  }

  .closing__deco--leaf {
    display: none;
  }
}

/* ページトップへ戻る: スクロール後に現れるミニマルな白い円ボタン。
   周囲のリングがページの読み進み具合を表す（更新はscript.js） */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 15;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--color-green-deep);
  background: #fff;
  box-shadow: 0 10px 26px rgba(96, 83, 66, 0.18);
  cursor: pointer;
  opacity: 0;
  translate: 0 14px;
  pointer-events: none;
}

.to-top.is-shown {
  opacity: 1;
  translate: 0 0;
  pointer-events: auto;
}

.to-top__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  rotate: -90deg;
}

.to-top__ring circle {
  fill: none;
  stroke-width: 3;
}

.to-top__ring-bg {
  stroke: var(--color-green-soft);
}

.to-top__ring-bar {
  stroke: var(--color-green);
  stroke-linecap: round;
  stroke-dasharray: 131.95;
  stroke-dashoffset: 131.95;
  transition: stroke-dashoffset 0.15s linear;
}

.to-top__icon {
  width: 22px;
  height: 22px;
  transition: translate 0.25s ease;
}

.section-anchor {
  scroll-margin-top: 110px;
}

.system-page {
  background: var(--color-paper);
}

.system-main {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  padding: 46px 0 90px;
}

.system-hero {
  padding: 56px 0 44px;
  border-bottom: 1px solid var(--color-line);
}

.system-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.2;
}

.system-hero p {
  max-width: 710px;
  margin: 0;
  font-weight: 700;
}

.system-section {
  padding: 42px 0;
  border-bottom: 1px solid var(--color-line);
}

.system-section h2 {
  margin: 0 0 22px;
  font-size: 25px;
}

.token-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.token {
  min-height: 118px;
  padding: 14px;
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: var(--shadow-card);
  font-size: 12px;
  font-weight: 900;
}

.token span {
  display: block;
  height: 48px;
  margin-bottom: 12px;
  border-radius: 6px;
}

.component-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.sample-subpage {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  padding: 32px;
  border-radius: var(--radius-panel);
  background: var(--color-cream);
}

.sample-subpage h3 {
  margin: 0 0 10px;
  font-size: 30px;
}

.sample-subpage p {
  margin: 0 0 20px;
  font-weight: 700;
}

.subpage-main {
  padding-bottom: 50px;
}

.subpage-hero,
.breadcrumb,
.page-tabs,
.page-section,
.page-cta {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.subpage-hero {
  display: grid;
  grid-template-columns: minmax(310px, 0.88fr) minmax(420px, 1.12fr);
  gap: 44px;
  align-items: center;
  padding: 46px 0 22px;
}

.subpage-hero__copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--color-green-deep);
  font-size: 13px;
  font-weight: 900;
}

.eyebrow img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.subpage-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 900;
  line-height: 1.22;
}

.subpage-hero__lead {
  margin: 0 0 24px;
  font-size: 17px;
  font-weight: 800;
}

.subpage-hero__visual {
  position: relative;
  height: clamp(300px, 36vw, 430px);
  overflow: hidden;
  border-radius: 38% 62% 45% 55% / 26% 24% 76% 74%;
  box-shadow: var(--shadow-soft);
}

/* ページごとに歪みの違うブロブ（有機的な丸）フレーム */
.subpage-hero__visual--about {
  border-radius: 54% 46% 58% 42% / 46% 56% 44% 54%;
}

.subpage-hero__visual--concept {
  border-radius: 64% 36% 54% 46% / 50% 62% 38% 50%;
}

.subpage-hero__visual--annual {
  border-radius: 42% 58% 46% 54% / 58% 40% 62% 42%;
}

.subpage-hero__visual--events {
  border-radius: 60% 40% 48% 52% / 44% 60% 40% 56%;
}

.subpage-hero__visual--schedule {
  border-radius: 56% 44% 40% 60% / 60% 54% 46% 40%;
}

.subpage-hero__visual--guide {
  border-radius: 46% 54% 62% 38% / 42% 54% 46% 60%;
}

.subpage-hero__visual--recruit {
  border-radius: 42% 58% 62% 38% / 56% 38% 62% 44%;
}

.subpage-hero__visual--tour {
  border-radius: 58% 42% 36% 64% / 48% 64% 36% 52%;
}

.subpage-hero__visual--contact {
  border-radius: 36% 64% 56% 44% / 62% 46% 54% 38%;
}

.subpage-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.subpage-hero__deco {
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.subpage-hero__visual .subpage-hero__deco {
  width: 78px;
  height: 78px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 800;
}

.breadcrumb a {
  color: var(--color-green-deep);
}

.page-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  padding: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-card);
}

.page-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--color-green-deep);
  background: var(--color-green-soft);
  font-size: 12px;
  font-weight: 900;
}

.page-section {
  margin-top: 54px;
}

.page-section__head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.page-section__head p {
  max-width: 460px;
  margin: 0;
  color: var(--color-muted);
  font-weight: 800;
}

.soft-panel {
  padding: 34px;
  border-radius: var(--radius-panel);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-card);
}

.cream-panel {
  background:
    linear-gradient(180deg, rgba(255, 248, 235, 0.94), rgba(255, 253, 248, 0.9));
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: center;
}

.text-stack {
  display: grid;
  gap: 14px;
}

.text-stack h2,
.text-stack h3,
.soft-panel h2,
.soft-panel h3 {
  margin: 0;
  font-weight: 900;
  line-height: 1.5;
}

.text-stack p,
.soft-panel p {
  margin: 0;
  font-weight: 700;
}

.photo-card {
  overflow: hidden;
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-soft);
}

.photo-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

/* 縦位置写真（理事長ポートレート等）は顔が切れないよう縦比率で表示 */
.photo-card--portrait {
  align-self: start;
  width: min(100%, 380px);
  margin-inline: auto;
}

.photo-card--portrait img {
  height: auto;
  aspect-ratio: 3 / 4;
  object-position: top;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.value-card {
  min-height: 200px;
  padding: 24px;
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.value-card img {
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  object-fit: contain;
}

.value-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 900;
}

.value-card p,
.value-card li {
  font-size: 13px;
  font-weight: 700;
}

.value-card ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 1.2em;
}

.overview-list {
  display: grid;
  grid-template-columns: 170px 1fr;
  margin: 0;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  background: #fff;
}

.overview-list dt,
.overview-list dd {
  margin: 0;
  padding: 16px 18px;
  border-bottom: 1px solid var(--color-line);
  font-weight: 800;
}

.overview-list dt {
  color: var(--color-green-deep);
  background: var(--color-green-soft);
}

.overview-list dt:last-of-type,
.overview-list dd:last-of-type {
  border-bottom: 0;
}

.facility-grid,
.lesson-grid,
.event-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 16px;
}

.facility-card,
.lesson-card,
.event-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.facility-card img,
.lesson-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  object-fit: cover;
}

.facility-card h3,
.lesson-card h3,
.event-card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
}

.facility-card p,
.lesson-card p,
.event-card p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.month-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.month-card {
  padding: 20px;
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.month-card h3 {
  margin: 0 0 10px;
  color: var(--color-green-deep);
  font-size: 24px;
  font-weight: 900;
}

.month-card ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 1.1em;
  font-size: 13px;
  font-weight: 800;
}

.schedule-track {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.schedule-step {
  display: grid;
  grid-template-columns: 110px 1fr 190px;
  gap: 20px;
  align-items: center;
  padding: 20px;
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.schedule-time {
  color: var(--color-blue);
  font-size: 22px;
  font-weight: 900;
}

.schedule-step h3 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 900;
}

.schedule-step p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.schedule-step img {
  width: 190px;
  height: 118px;
  border-radius: 8px;
  object-fit: cover;
}

.guide-flow {
  counter-reset: guide;
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.guide-flow__item {
  position: relative;
  padding: 22px 24px 22px 76px;
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.guide-flow__item::before {
  position: absolute;
  left: 22px;
  top: 22px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  background: var(--color-green);
  font-size: 15px;
  font-weight: 900;
  counter-increment: guide;
  content: counter(guide);
}

.guide-flow__item h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 900;
}

.guide-flow__item p {
  margin: 0;
  font-weight: 700;
}

.page-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin-top: 56px;
  padding: 28px 34px;
  border-radius: var(--radius-panel);
  background: linear-gradient(135deg, var(--color-green-soft), var(--color-blue-soft));
  box-shadow: var(--shadow-card);
}

.page-cta h2 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 900;
}

.page-cta p {
  margin: 0;
  font-weight: 700;
}

@media (max-width: 900px) and (min-width: 861px) {
  .site-header {
    gap: 12px;
    padding-inline: 8px;
  }

  .brand {
    min-width: 176px;
    gap: 8px;
  }

  .brand__mark {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }

  .brand__eyebrow {
    font-size: 10px;
  }

  .brand__name {
    font-size: 23px;
  }

  .site-nav {
    gap: 7px;
    font-size: 10.5px;
  }

  .header-pill {
    min-width: 118px;
    padding: 8px 10px;
    font-size: 10px;
  }

  .important {
    grid-template-columns: 240px minmax(0, 1fr) 150px;
  }

  .important__body {
    padding: 0 20px;
  }

  .important__title {
    gap: 10px;
    font-size: 14px;
  }

  .link-cards {
    gap: 16px;
  }

  .link-card {
    grid-template-columns: 1fr 96px;
    gap: 10px;
    min-height: 145px;
    padding: 18px 12px 16px 18px;
  }

  .link-card h2 {
    margin-bottom: 8px;
    font-size: 19px;
    line-height: 1.35;
  }

  .link-card p {
    margin-bottom: 10px;
    font-size: 12px;
  }

  .link-card img {
    width: 88px;
    height: 88px;
    border-radius: 10px;
  }

  .link-card .button--small {
    min-height: 35px;
    padding: 0 12px;
    font-size: 11px;
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  /* backdrop-filterがあるとfixedのドロワーがヘッダー内に閉じ込められるため、
     モバイルは不透明背景に切り替える */
  .site-header {
    background: var(--color-paper);
    backdrop-filter: none;
  }

  /* 右からスライドインするサイドメニュー */
  .site-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: flex;
    flex-direction: column;
    gap: 26px;
    width: min(78vw, 320px);
    padding: 88px 26px 30px;
    background: #fff;
    box-shadow: -16px 0 44px rgba(96, 83, 66, 0.18);
    overflow-y: auto;
    visibility: hidden;
    transform: translateX(105%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.35s;
  }

  .site-header.is-open .site-menu {
    visibility: visible;
    transform: translateX(0);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .site-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    font-size: 15px;
    white-space: normal;
  }

  .site-nav a {
    padding: 12px 2px;
    border-bottom: 1px dashed var(--color-line);
  }

  .header-actions {
    display: grid;
    gap: 12px;
  }

  .header-actions .header-pill {
    justify-content: center;
  }

  /* メニューの背後を暗くするオーバーレイ */
  .menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 55;
    display: block;
    background: rgba(49, 41, 35, 0.42);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  }

  .site-header.is-open .menu-overlay {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
  }

  /* トグルは開閉時に「≡ → ✕」へ変形しメニューより手前に */
  .nav-toggle {
    position: relative;
    z-index: 70;
  }

  .site-header.is-open .nav-toggle span:nth-child(1) {
    translate: 0 6px;
    rotate: 45deg;
  }

  .site-header.is-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-open .nav-toggle span:nth-child(3) {
    translate: 0 -6px;
    rotate: -45deg;
  }

  /* スマホでもPCと同じく写真を背景にし、テキストを中央に重ねる */
  .hero {
    min-height: clamp(540px, 96vw, 720px);
  }

  .hero__copy {
    width: min(480px, calc(100% - 40px));
  }

  /* 画面幅に合わせて見出しを大きく（全幅を使う） */
  .hero__kicker {
    margin-bottom: 6px;
    font-size: clamp(26px, 8.4vw, 36px);
  }

  .hero h1 {
    margin-bottom: 22px;
    font-size: clamp(33px, 11.2vw, 50px);
  }

  .hero__lead {
    margin-bottom: 24px;
    font-size: clamp(14px, 4vw, 16px);
  }

  .hero__buttons {
    gap: 16px;
    width: min(260px, 100%);
    margin-inline: auto;
  }

  .hero__buttons .button {
    min-height: 54px;
    padding: 0 30px;
    font-size: 13px;
    gap: 16px;
  }

  /* 写真はビューポート幅いっぱいにブリードさせる（クリップはPCと共用） */
  .hero__visual {
    left: calc(50% - 50vw);
    right: calc(50% - 50vw);
  }

  /* 積み上げレイアウトではPC用座標の装飾が写真に重なるため調整 */
  .deco-dot--cream {
    display: none;
  }

  .deco-flower--hero {
    top: 10px;
    right: 10px;
    bottom: auto;
    left: auto;
    width: 46px;
    height: 46px;
  }

  .important,
  .news-panel,
  .philosophy,
  .feature-grid,
  .link-cards,
  .sample-subpage,
  .story-band .philosophy,
  .story-band .features,
  .subpage-hero,
  .split-section,
  .value-grid,
  .facility-grid,
  .lesson-grid,
  .event-grid,
  .page-cta {
    grid-template-columns: 1fr;
  }

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

  .schedule-step {
    grid-template-columns: 90px 1fr;
  }

  .schedule-step img {
    grid-column: 1 / -1;
    width: 100%;
    height: 180px;
  }

  .important {
    gap: 16px;
    padding: 0 18px 18px;
  }

  /* お知らせの写真は四角に近いやわらかフレームに */
  .news-panel__media .blob-photo {
    -webkit-mask-image: var(--news-photo-mask-sp);
    mask-image: var(--news-photo-mask-sp);
  }

  .important__body {
    padding: 0;
  }

  .important__label {
    min-height: 72px;
    margin: 0 -18px; /* コンテナの左右paddingを打ち消して帯を全幅に */
    border-radius: 22px 22px 26px 26px;
  }

  .important__more {
    justify-self: start;
  }

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

  .philosophy__photos {
    min-height: 360px;
  }

  .link-card {
    grid-template-columns: 1fr 160px;
  }
}

@media (max-width: 720px) {
  :root {
    --section-space: 48px;
  }

  body {
    font-size: 14px;
  }

  .hero,
  .important,
  .news-panel,
  .philosophy,
  .features,
  .story-band,
  .link-cards,
  .closing,
  .system-main,
  .subpage-hero,
  .breadcrumb,
  .page-tabs,
  .page-section,
  .page-cta {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    width: 100%;
    padding-inline: 14px;
    padding-top: 16px;
    gap: 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand__mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .brand__eyebrow {
    font-size: 9px;
  }

  .brand__name {
    font-size: 21px;
  }

  .hero {
    min-height: 0;
  }

  .subpage-hero {
    gap: 26px;
    padding-top: 28px;
  }

  .subpage-hero__lead {
    font-size: 14px;
  }

  .subpage-hero__visual {
    height: 300px;
  }

  .page-tabs {
    border-radius: var(--radius-panel);
  }

  .page-tabs a {
    flex: 1 1 auto;
    justify-content: center;
  }

  .page-section {
    margin-top: 42px;
  }

  .page-section__head {
    display: grid;
    gap: 12px;
    align-items: start;
  }

  .soft-panel {
    padding: 24px 18px;
  }

  .overview-list {
    grid-template-columns: 1fr;
  }

  .overview-list dt {
    border-bottom: 0;
  }

  .overview-list dd:last-of-type {
    border-bottom: 0;
  }

  .month-grid {
    grid-template-columns: 1fr;
  }

  .schedule-step {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .schedule-step img {
    height: 160px;
  }

  .page-cta {
    padding: 24px 20px;
  }

  .deco--bird,
  .deco-dot,
  .deco-leaf {
    display: none;
  }

  .important {
    grid-template-columns: 1fr;
    padding: 0 18px 18px;
  }

  .important__label {
    grid-column: auto;
  }

  .important__title {
    align-items: flex-start;
  }

  .important__more {
    width: 100%;
  }

  .news-panel {
    gap: 20px;
    padding: 26px 18px;
  }

  .news-row {
    grid-template-columns: 92px 72px 1fr;
    gap: 9px;
    padding: 10px 0;
  }

  .news-row b {
    display: none;
  }

  .news-list__button {
    width: 100%;
  }

  .philosophy {
    padding: 0;
  }

  /* コンテンツを横幅いっぱいに・テキストを読みやすく */
  .story-band .philosophy {
    padding: 40px 8px 0;
  }

  /* 1カラム時にグリッドが中身の最小幅で膨らまないように */
  .philosophy__copy,
  .philosophy__photos {
    min-width: 0;
    max-width: 100%;
  }

  .section-lead {
    font-size: clamp(19px, 6.1vw, 24px);
  }

  .philosophy__copy p:not(.section-lead) {
    font-size: 15px;
    line-height: 1.8;
  }

  /* 丸写真は重ねず横並びに */
  .philosophy__photos {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
    min-height: 0;
    margin-top: 10px;
  }

  .round-photo--large,
  .round-photo--small {
    position: static;
    flex-shrink: 0;
  }

  .round-photo--large {
    width: min(56vw, 250px);
    height: min(56vw, 250px);
  }

  .round-photo--small {
    width: min(34vw, 150px);
    height: min(34vw, 150px);
    margin-top: 26vw;
  }

  /* ボタンはタップしやすい大きさに */
  .philosophy__copy .button {
    min-width: min(300px, 100%);
    min-height: 52px;
    margin-top: 14px;
    font-size: 13px;
  }

  /* 横並びレイアウトでは写真に重なるため非表示 */
  .philosophy__photos .deco-sprinkles {
    display: none;
  }

  /* 特長カードを横幅いっぱいに（1カラム化は既存ルール） */
  .story-band .features {
    padding: 28px 8px 12px;
  }

  .features {
    margin-top: 10px;
    padding: 34px 18px 38px;
    border-radius: 36px;
  }

  .story-band {
    padding-bottom: 26px;
    border-radius: 40px;
  }

  .story-band::after {
    height: 52%;
    border-radius: 36px;
  }

  .story-band .philosophy,
  .story-band .features {
    width: min(100% - 28px, var(--container));
  }

  .story-band__deco {
    display: none;
  }

  .feature-grid,
  .token-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 138px;
    padding: 18px 20px 14px;
  }

  .feature-card h3 {
    margin-bottom: 8px;
    font-size: 19px;
  }

  .feature-card p {
    font-size: 13px;
  }

  .link-card {
    grid-template-columns: 1fr 118px;
    padding: 22px 14px 20px 20px;
  }

  .link-card img {
    width: 118px;
    height: 118px;
  }

  .to-top {
    right: 14px;
    bottom: 14px;
    width: 54px;
    height: 54px;
  }
}

/* =========================================
   アニメーション
   既存の transform（反転・縮小など）を壊さないよう
   translate / scale プロパティで動かす
   ========================================= */

@keyframes aiji-fade-up {
  from {
    opacity: 0;
    translate: 0 26px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes aiji-hero-visual-in {
  from {
    opacity: 0;
    scale: 1.04;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}

@keyframes aiji-pop {
  from {
    opacity: 0;
    scale: 0.4;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}

@keyframes aiji-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -9px;
  }
}

/* --- トップ: ヒーローの登場演出 --- */
.hero__kicker,
.hero h1,
.hero__lead,
.hero__buttons {
  animation: aiji-fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero h1 {
  animation-delay: 0.12s;
}

.hero__lead {
  animation-delay: 0.24s;
}

.hero__buttons {
  animation-delay: 0.38s;
}

.hero__visual {
  animation: aiji-hero-visual-in 1s 0.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero .deco {
  animation:
    aiji-pop 0.7s 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both,
    aiji-float 6s 1.6s ease-in-out infinite;
}

.hero .deco-dot--cream {
  animation-delay: 0.72s, 1.8s;
}

.hero .deco-leaf {
  animation-delay: 0.84s, 2s;
}

.hero .deco-flower--hero {
  animation-delay: 0.96s, 2.2s;
}

/* --- 装飾のふわふわ浮遊 --- */
.philosophy__photos .deco,
.story-band__deco--flower,
.story-band__deco--flower2,
.story-band__deco--sprinkles,
.story-band__deco--house,
.subpage-hero__deco,
.deco-card-bird {
  animation: aiji-float 6s ease-in-out infinite;
}

.philosophy__photos .deco-flower--one {
  animation-delay: 0.7s;
}

.philosophy__photos .deco-flower--two {
  animation-duration: 7s;
  animation-delay: 1.3s;
}

.philosophy__photos .deco-sprinkles {
  animation-delay: 0.4s;
}

.story-band__deco--flower2 {
  animation-delay: 1s;
}

.story-band__deco--sprinkles {
  animation-duration: 7s;
  animation-delay: 0.5s;
}

.story-band__deco--house {
  animation-delay: 0.3s;
}

/* --- 木のパララックス（スクロール駆動アニメーション対応ブラウザのみ） --- */
@supports (animation-timeline: view()) {
  @keyframes aiji-drift {
    from {
      translate: 0 42px;
    }
    to {
      translate: 0 -34px;
    }
  }

  .story-band__deco--tree {
    animation: aiji-drift linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 100%;
  }
}

/* --- スクロールでふわっと表示（JSが .js-reveal を付与） --- */
.js-reveal {
  opacity: 0;
  translate: 0 34px;
  scale: 0.97;
  transition:
    opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    translate 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    scale 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-reveal.is-visible {
  opacity: 1;
  translate: 0 0;
  scale: 1;
}

/* --- カードのホバー --- */
.feature-card,
.link-card,
.value-card,
.lesson-card,
.facility-card,
.event-card,
.month-card {
  transition: translate 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover,
.link-card:hover,
.value-card:hover,
.lesson-card:hover,
.facility-card:hover,
.event-card:hover,
.month-card:hover {
  translate: 0 -6px;
  box-shadow: 0 20px 40px rgba(96, 83, 66, 0.13);
}

.news-row {
  transition: background-color 0.25s ease;
}

.news-row:hover {
  background-color: rgba(255, 248, 232, 0.9);
}

.news-row b {
  transition: translate 0.25s ease;
}

.news-row:hover b {
  translate: 4px 0;
}

/* --- 動きを減らす設定のユーザーにはアニメーションを止める --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================
   アニメーション バリエーション v2
   ========================================= */

/* --- リビールの方向バリエーション --- */
.js-reveal--left {
  translate: -48px 0;
  scale: 1;
}

.js-reveal--right {
  translate: 48px 0;
  scale: 1;
}

.js-reveal--zoom {
  translate: 0 16px;
  scale: 0.92;
  transition:
    opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    translate 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    scale 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-reveal.is-visible {
  opacity: 1;
  translate: 0 0;
  scale: 1;
}

/* --- トップ: ヒーロー見出しの1文字ずつ弾む登場 --- */
@keyframes aiji-char-in {
  from {
    opacity: 0;
    translate: 0 1.1em;
    rotate: 14deg;
    scale: 0.6;
  }
  65% {
    opacity: 1;
    translate: 0 -0.16em;
    rotate: -5deg;
    scale: 1.08;
  }
  to {
    opacity: 1;
    translate: 0 0;
    rotate: 0deg;
    scale: 1;
  }
}

.hero--chars .hero__kicker,
.hero--chars h1 {
  animation: none;
  opacity: 1;
}

.hero__char {
  display: inline-block;
  animation: aiji-char-in 0.66s cubic-bezier(0.34, 1.7, 0.56, 1) both;
  animation-delay: calc(0.1s + var(--char-i) * 0.07s);
}

/* --- トップ: ベルがリンリンと揺れる --- */
@keyframes aiji-bell-swing {
  0%,
  12%,
  100% {
    rotate: 0deg;
  }
  2% {
    rotate: 14deg;
  }
  5% {
    rotate: -11deg;
  }
  8% {
    rotate: 7deg;
  }
  10% {
    rotate: -4deg;
  }
}

.important__bell {
  transform-origin: 50% 8%;
  animation: aiji-bell-swing 5.2s ease-in-out 2.4s infinite;
}

/* --- トップ: ヒーロー写真がゆっくり呼吸する --- */
@keyframes aiji-breathe {
  0%,
  100% {
    scale: 1;
  }
  50% {
    scale: 1.02;
  }
}

.hero__visual {
  animation:
    aiji-hero-visual-in 1s 0.1s cubic-bezier(0.16, 1, 0.3, 1) both,
    aiji-breathe 10s 1.6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero__visual {
    animation: none;
  }
}

/* --- 見出し横の芽アイコンがゆらゆら --- */
@keyframes aiji-sway {
  0%,
  100% {
    rotate: -4deg;
  }
  50% {
    rotate: 5deg;
  }
}

.heading-sprout {
  transform-origin: 50% 90%;
  animation: aiji-sway 4s ease-in-out infinite;
}

/* --- ホバーのバリエーション --- */
@keyframes aiji-jump {
  0%,
  100% {
    translate: 0 0;
  }
  35% {
    translate: 0 -8px;
  }
  60% {
    translate: 0 0;
  }
  80% {
    translate: 0 -3px;
  }
}

.feature-card:hover .feature-card__icon {
  animation: aiji-jump 0.6s ease;
}

.mini-circle {
  transition: scale 0.25s ease;
}

.mini-circle:hover {
  scale: 1.18;
}

.link-card img {
  transition: scale 0.4s ease;
}

.link-card:hover img {
  scale: 1.06;
}

.to-top {
  transition: opacity 0.3s ease, translate 0.3s ease, box-shadow 0.25s ease;
}

.to-top.is-shown:hover,
.to-top.is-shown:focus-visible {
  translate: 0 -4px;
  box-shadow: 0 16px 32px rgba(96, 83, 66, 0.24);
}

.to-top.is-shown:hover .to-top__icon,
.to-top.is-shown:focus-visible .to-top__icon {
  translate: 0 -2px;
}

/* --- クロージング見出し: スクロール連動ズーム（対応ブラウザのみ） --- */
@supports (animation-timeline: view()) {
  @keyframes aiji-closing-in {
    from {
      opacity: 0;
      scale: 0.82;
    }
    to {
      opacity: 1;
      scale: 1;
    }
  }

  .closing h2 {
    animation: aiji-closing-in linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }
}

/* =========================================
   園情報表示（署名・イチオシタグ）
   ========================================= */

.about-signature {
  text-align: right;
  font-weight: 900;
}

.feature-card h3 .tag,
.lesson-card h3 .tag {
  margin-left: 8px;
  vertical-align: 2px;
}

/* =========================================
   イチオシレッスン（トップページ）
   ========================================= */

.pickup {
  width: min(var(--container), calc(100% - var(--page-gutter)));
  margin: 92px auto 0;
}

.pickup__lead {
  margin: 14px 0 0;
  text-align: center;
  font-weight: 700;
}

.pickup-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 26px;
}

.pickup-card {
  overflow: hidden;
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-card);
  transition: translate 0.3s ease, box-shadow 0.3s ease;
}

.pickup-card--english {
  background: linear-gradient(160deg, #f2f9ff, #e2f2ff);
}

.pickup-card--gym {
  background: linear-gradient(160deg, #f2fae9, #e6f6d9);
}

.pickup-card:hover {
  translate: 0 -6px;
  box-shadow: 0 22px 44px rgba(96, 83, 66, 0.14);
}

.pickup-card__photo {
  position: relative;
  margin: 0;
}

.pickup-card__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  transition: scale 0.5s ease;
}

.pickup-card:hover .pickup-card__photo img {
  scale: 1.04;
}

.pickup-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 12.5px;
  padding: 4px 14px;
  box-shadow: 0 6px 16px rgba(49, 41, 35, 0.18);
}

.pickup-card__body {
  padding: 20px 24px 24px;
}

.pickup-card__body h3 {
  margin: 0 0 8px;
  font-size: 21px;
  font-weight: 900;
}

.pickup-card--english h3 {
  color: var(--color-blue);
}

.pickup-card--gym h3 {
  color: var(--color-green-deep);
}

.pickup-card__body p {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .pickup-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   カードアイコン素材対応（静的HTML更新の反映）
   ========================================= */

.value-card img {
  width: 68px;
  height: 68px;
  margin-bottom: 12px;
}

.photo-card--icon {
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(255, 248, 235, 0.92), rgba(246, 251, 235, 0.9));
}

.photo-card--icon img {
  width: min(260px, 86%);
  height: 260px;
  padding: 18px;
  object-fit: contain;
}

.facility-card img[src*="card-icon-"],
.lesson-card--icon img {
  padding: 16px;
  background: linear-gradient(180deg, rgba(255, 248, 235, 0.8), rgba(238, 248, 232, 0.72));
  object-fit: contain;
}

.event-card--icon {
  grid-template-columns: 74px 1fr;
  align-items: center;
}

.event-card--icon img {
  grid-row: span 3;
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.event-card--icon .button {
  justify-self: start;
}

.month-card {
  display: grid;
  grid-template-columns: 1fr 58px;
  align-items: start;
  column-gap: 10px;
}

.month-card__icon {
  grid-column: 2;
  grid-row: 1 / span 2;
  justify-self: end;
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.schedule-step img[src*="card-icon-"] {
  padding: 10px;
  background: linear-gradient(180deg, rgba(255, 248, 235, 0.86), rgba(238, 248, 232, 0.82));
  object-fit: contain;
}

.guide-flow__item {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 16px;
  align-items: center;
  padding: 20px 24px;
}

.guide-flow__icon {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.guide-flow__item::before {
  left: 14px;
  top: 14px;
  width: 26px;
  height: 26px;
  font-size: 12px;
}

/* =========================================
   行事フォトギャラリー
   ========================================= */

.event-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.event-gallery__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  cursor: zoom-in;
  transition: translate 0.3s ease, box-shadow 0.3s ease;
}

.event-gallery__item:hover {
  translate: 0 -5px;
  box-shadow: 0 20px 40px rgba(96, 83, 66, 0.14);
}

.event-gallery__item img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: scale 0.5s ease;
}

.event-gallery__item:hover img {
  scale: 1.05;
}

.event-gallery__item figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 4px 14px;
  border-radius: 999px;
  color: #fff;
  background: rgba(49, 41, 35, 0.62);
  font-size: 12.5px;
  font-weight: 800;
  backdrop-filter: blur(4px);
}

/* --- ライトボックス --- */
.aiji-lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(35, 28, 22, 0.82);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.aiji-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.aiji-lightbox__figure {
  margin: 0;
  max-width: min(880px, 100%);
  scale: 0.92;
  transition: scale 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.aiji-lightbox.is-open .aiji-lightbox__figure {
  scale: 1;
}

.aiji-lightbox__figure img {
  width: 100%;
  max-height: 74vh;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.aiji-lightbox__caption {
  margin-top: 12px;
  color: #fff;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
}

.aiji-lightbox__close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.aiji-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.32);
}

@media (max-width: 1024px) {
  .event-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .event-gallery {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   FAQ・費用・通年行事注記
   ========================================= */

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

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

.faq-item summary {
  position: relative;
  padding: 16px 48px 16px 52px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  position: absolute;
  left: 16px;
  top: 14px;
  color: var(--color-green-deep);
  content: "Q";
  font-size: 19px;
  font-weight: 900;
}

.faq-item summary::after {
  position: absolute;
  right: 18px;
  top: 16px;
  color: var(--color-green);
  content: "＋";
  font-size: 18px;
  font-weight: 900;
  transition: rotate 0.25s ease;
}

.faq-item[open] summary::after {
  rotate: 45deg;
}

.faq-item p {
  position: relative;
  margin: 0;
  padding: 0 20px 18px 52px;
  font-weight: 700;
}

.faq-item p::before {
  position: absolute;
  left: 16px;
  top: -3px;
  color: var(--color-pink);
  content: "A";
  font-size: 19px;
  font-weight: 900;
}

.fees-subheading {
  margin: 28px 0 12px;
  color: var(--color-green-deep);
  font-size: 17px;
  font-weight: 900;
}

.month-grid__note {
  margin: 16px 4px 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-muted);
}

/* =========================================
   アイコン型カードのデザイン調整
   （アイコン拡大・中央配置、タイトル太字センター）
   ========================================= */

.value-card {
  text-align: center;
}

.value-card img {
  width: 96px;
  height: 96px;
  margin: 0 auto 14px;
}

.value-card h3 {
  font-weight: 900;
}

.event-card--icon {
  grid-template-columns: 1fr;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.event-card--icon img {
  grid-row: auto;
  width: 92px;
  height: 92px;
  margin-bottom: 2px;
}

.event-card--icon h3 {
  font-weight: 900;
}

.event-card--icon .button {
  justify-self: center;
}

/* 実写真つきのサポートカード（写真上・見出し中央） */
.event-card--photo {
  grid-template-columns: 1fr;
  align-content: start;
  text-align: center;
}

.event-card--photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  object-fit: cover;
}

.event-card--photo h3 {
  font-weight: 900;
}

.event-card--photo p {
  text-align: left;
}

/* ナビ8項目対応: 狭めのPC幅でヘッダーが折り返さないように */
@media (min-width: 861px) and (max-width: 1240px) {
  .brand {
    min-width: 0;
  }

  .brand__eyebrow {
    font-size: 10px;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .site-nav {
    gap: clamp(8px, 1.1vw, 16px);
    font-size: 12px;
  }

  .header-pill {
    min-width: 0;
    padding: 9px 14px;
    white-space: nowrap;
  }
}

/* =========================================
   月別行事カード（サムネイル型）
   ========================================= */

.month-card--thumb {
  display: block;
  padding: 0;
  overflow: hidden;
  border-radius: 14px;
}

.month-card__photo {
  margin: 0;
}

.month-card__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: scale 0.4s ease;
}

.month-card--thumb:hover .month-card__photo img {
  scale: 1.05;
}

/* 写真がない月はアイコンイラストをサムネイル風に */
.month-card__photo img[src*="card-icon-"] {
  padding: 22px;
  background: linear-gradient(180deg, rgba(255, 248, 235, 0.9), rgba(238, 248, 232, 0.85));
  object-fit: contain;
}

.month-card__body {
  padding: 12px 18px 16px;
}

.month-card--thumb h3 {
  margin: 0 0 4px;
}

/* ギャラリーの補足 */
.event-gallery__hint {
  margin: 14px 4px 0;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 700;
}

/* =========================================
   ライトボックス内スライダー・写真枚数バッジ
   ========================================= */

.event-gallery__count {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(49, 41, 35, 0.62);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(4px);
}

.aiji-lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding-bottom: 4px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  translate: 0 -50%;
  transition: background 0.2s ease, scale 0.2s ease;
}

.aiji-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.34);
  scale: 1.08;
}

.aiji-lightbox__nav--prev {
  left: clamp(8px, 3vw, 30px);
}

.aiji-lightbox__nav--next {
  right: clamp(8px, 3vw, 30px);
}

.aiji-lightbox__counter {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

/* =========================================
   制服について（入園のご案内）
   ========================================= */

.uniform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 980px;
}

.uniform-card {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-panel);
  background: #fff;
  box-shadow: var(--shadow-card);
}

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

.uniform-card figcaption {
  padding: 12px 16px 14px;
  text-align: center;
  font-size: 15px;
  font-weight: 900;
}

@media (max-width: 720px) {
  .uniform-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   モバイル デザインQA調整
   （後勝ちで既存モバイル値を上書き。PCへの影響なし）
   ========================================= */

@media (max-width: 720px) {
  /* --- 1. ヘッダー: ロゴ・園名を少し大きく、トグルまわりに余白 --- */
  .site-header {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .brand__mark {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
  }

  .brand__eyebrow {
    font-size: 10px;
  }

  .brand__name {
    font-size: 24px;
  }

  .nav-toggle {
    margin-right: 2px;
  }

  /* --- 2. ヒーロー: スマホは縦長にして写真をたっぷり見せる --- */
  .hero {
    min-height: clamp(580px, 168vw, 720px);
  }

  /* テキストのまわりに余裕をもたせたにじみ */
  .hero__copy::before {
    inset: -90px -82px -76px;
    filter: blur(14px);
  }

  .hero__kicker {
    margin-bottom: 4px;
    font-size: clamp(22px, 6.6vw, 27px);
  }

  .hero h1 {
    margin-bottom: 14px;
    font-size: clamp(30px, 8.8vw, 34px);
  }

  .hero__lead {
    margin-bottom: 20px;
    font-size: 14px;
  }

  .hero__buttons {
    gap: 12px;
    width: min(310px, 100%);
  }

  .hero__buttons .button {
    min-height: 48px;
    font-size: 14px;
  }

  /* 縦長トリミングでは写真の右側（園舎の看板側と砂場の子どもたち）を見せる */
  .hero__visual img {
    object-position: 84% 48%;
  }

  /* --- 3. お知らせ: 本文の可読性と一覧の2段組み --- */
  .important__body p {
    font-size: 12.5px;
    line-height: 1.65;
  }

  .important__body .important__title {
    font-size: 16px;
    line-height: 1.5;
  }

  .news-row {
    grid-template-columns: auto minmax(0, 1fr) 18px;
    grid-template-areas:
      "time tag arrow"
      "title title arrow";
    row-gap: 2px;
    padding: 10px 0;
    min-height: 0;
  }

  .news-row time {
    grid-area: time;
    font-size: 12.5px;
  }

  .news-row .tag {
    grid-area: tag;
    justify-self: start;
  }

  .news-row > span:not(.tag) {
    grid-area: title;
    overflow: visible;
    white-space: normal;
    text-overflow: clip;
    font-size: 14.5px;
    line-height: 1.55;
  }

  .news-row b {
    grid-area: arrow;
  }

  /* --- 4. 想い・特長: 写真サイズとカード密度 --- */
  .philosophy__photos {
    gap: 14px;
    margin-top: 14px;
  }

  .round-photo--large {
    width: min(52vw, 230px);
    height: min(52vw, 230px);
  }

  .round-photo--small {
    width: min(31vw, 136px);
    height: min(31vw, 136px);
    margin-top: 24vw;
  }

  .feature-grid {
    gap: 14px;
  }

  .feature-card {
    min-height: 0;
    padding: 18px 18px 16px;
  }

  .feature-card__icon {
    width: 64px;
    height: 64px;
    margin-bottom: 8px;
  }

  .feature-card h3 {
    margin-bottom: 6px;
    font-size: 18px;
  }

  .feature-card p {
    font-size: 12.5px;
    line-height: 1.7;
  }

  /* --- 5. イチオシレッスンカード: 画像・見出し・本文・ボタンの縦リズム --- */
  .pickup-card__photo img {
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .pickup-card__body {
    display: grid;
    gap: 10px;
    padding: 18px 20px 22px;
  }

  .pickup-card__body h3 {
    margin: 0;
    font-size: 19px;
  }

  .pickup-card__body p {
    margin: 0;
    font-size: 13px;
    line-height: 1.75;
  }

  .pickup-card__body .button {
    justify-self: start;
    min-height: 44px;
  }

  /* --- 6. CTAカード群: 画像を大きく、入園カードを主役に --- */
  .link-cards {
    gap: 24px;
  }

  .link-card {
    grid-template-columns: 1fr 128px;
    align-items: center;
    padding: 20px 16px 20px 20px;
  }

  .link-card img {
    width: 128px;
    height: 128px;
    border-radius: 12px;
  }

  .link-card h2 {
    margin-bottom: 8px;
    font-size: 20px;
  }

  .link-card p {
    margin-bottom: 10px;
    font-size: 12.5px;
    line-height: 1.65;
  }

  .link-card .button--small {
    min-height: 40px;
    font-size: 12px;
  }

  .link-card--pink {
    box-shadow: 0 16px 34px rgba(238, 120, 135, 0.22);
  }

  .link-card--pink h2 {
    font-size: 22px;
  }

  /* --- 7. ページトップボタン: 小型化＋セーフエリア対応 --- */
  .to-top {
    right: 12px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    width: 50px;
    height: 50px;
  }

  .to-top__icon {
    width: 18px;
    height: 18px;
  }

  /* --- 8. フッター: グループ間の余白と可読性 --- */
  .site-footer__inner {
    gap: 36px;
  }

  .site-footer__address {
    font-size: 12.5px;
    line-height: 1.9;
  }

  .site-footer__tel a {
    font-size: 24px;
  }

  .site-footer__nav ul {
    gap: 12px 22px;
  }

  .site-footer__nav a {
    font-size: 14px;
    line-height: 1.6;
  }

  .site-footer__cta .button {
    min-height: 48px;
  }

  .site-footer__copyright {
    font-size: 11.5px;
  }
}

/* =========================================
   採用エントリーフォーム
   ========================================= */
.entry-notice {
  margin-bottom: 22px;
  padding: 16px 20px;
  border-radius: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.entry-notice--ok {
  background: var(--color-green-soft);
  border: 2px solid var(--color-green);
  color: var(--color-green-deep);
}

.entry-notice--ng {
  background: var(--color-pink-soft);
  border: 2px solid var(--color-pink);
  color: var(--color-pink-deep);
}

.entry-form {
  margin-top: 8px;
}

/* ハニーポット: ボット対策の欄。視覚・支援技術の両方から隠す */
.entry-form__hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  margin: -1px;
}

.entry-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 26px;
}

.entry-field {
  display: grid;
  gap: 8px;
  margin: 0;
}

.entry-field--wide {
  grid-column: 1 / -1;
}

.entry-field label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-ink);
}

.entry-required {
  flex-shrink: 0;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--color-pink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.entry-field input,
.entry-field select,
.entry-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--color-line);
  border-radius: 14px;
  background: #fff;
  font: inherit;
  color: var(--color-ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.entry-field input::placeholder,
.entry-field textarea::placeholder {
  color: #b8aca3;
}

.entry-field input:focus-visible,
.entry-field select:focus-visible,
.entry-field textarea:focus-visible {
  outline: none;
  border-color: var(--color-green);
  box-shadow: 0 0 0 4px var(--color-green-soft);
}

.entry-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%238cc757' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px;
}

.entry-field textarea {
  resize: vertical;
  min-height: 140px;
}

.entry-form__agree {
  margin: 26px 0 0;
}

.entry-form__agree label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.8;
  cursor: pointer;
}

.entry-form__agree input {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--color-green);
}

.entry-form__agree .entry-required {
  margin-left: 6px;
  vertical-align: 2px;
}

.entry-form__submit {
  margin: 26px 0 0;
  text-align: center;
}

.entry-form__submit .button {
  min-width: min(320px, 100%);
  min-height: 54px;
}

@media (max-width: 720px) {
  .entry-form__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .entry-form__submit .button {
    width: 100%;
  }
}

/* =========================================
   お問い合わせページ 電話パネル
   ========================================= */
.tel-panel {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 34px 22px;
  border-radius: var(--radius-panel);
  background: var(--color-green-soft);
  text-align: center;
  margin-top: 16px;
}

.tel-panel__lead {
  margin: 0;
  color: var(--color-ink);
  font-size: 15px;
  font-weight: 800;
}

.tel-panel__number {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--color-green-deep);
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.3;
  text-decoration: none;
  transition: color 0.2s ease;
}

.tel-panel__number svg {
  width: clamp(26px, 3.6vw, 36px);
  height: clamp(26px, 3.6vw, 36px);
  flex-shrink: 0;
}

.tel-panel__number:hover,
.tel-panel__number:focus-visible {
  color: var(--color-ink);
}

.tel-panel__note {
  margin: 0;
  color: var(--color-ink);
  font-size: 15px;
  font-weight: 800;
}

.tel-panel__hint {
  margin: 4px 0 0;
  color: var(--color-muted);
  font-size: 12.5px;
}

@media (max-width: 720px) {
  .tel-panel {
    padding: 26px 16px;
  }

  .tel-panel__number {
    gap: 8px;
    font-size: clamp(24px, 7vw, 32px);
    letter-spacing: 0.03em;
    white-space: nowrap;
  }
}

/* =========================================
   Contact Form 7（お問い合わせ・園見学・体験）
   ========================================= */

/* 入力欄ラッパーを entry-field のグリッドに乗せる（幅いっぱいに） */
.entry-field .wpcf7-form-control-wrap {
  display: block;
}

/* 送信結果・エラーメッセージを entry-notice 風に */
.wpcf7 form .wpcf7-response-output {
  margin: 22px 0 0;
  padding: 16px 20px;
  border: 2px solid var(--color-line);
  border-radius: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: var(--color-green);
  background: var(--color-green-soft);
  color: var(--color-green-deep);
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  border-color: var(--color-pink);
  background: var(--color-pink-soft);
  color: var(--color-pink-deep);
}

/* 個別項目のエラー表示 */
.wpcf7-not-valid-tip {
  margin-top: 6px;
  color: var(--color-pink-deep);
  font-size: 12.5px;
  font-weight: 700;
}

.entry-field input.wpcf7-not-valid,
.entry-field select.wpcf7-not-valid,
.entry-field textarea.wpcf7-not-valid {
  border-color: var(--color-pink);
}

/* 送信中スピナー */
.wpcf7-spinner {
  margin: 0 0 0 12px;
}
