@charset "UTF-8";

/* =========================================================
   ふきのとう保育園 リニューアルサイト 共通スタイル
   ========================================================= */

:root {
  --color-green: #43a047;
  --color-green-dark: #2e7d32;
  --color-green-light: #66bb6a;
  --color-green-bg: #4caf50;
  --color-yellow: #ffc940;
  --color-yellow-dark: #f5b500;
  --color-blue: #6cb9e8;
  --color-text: #333333;
  --color-sub: #666666;
  --color-muted: #999999;
  --color-border: #e5e5e5;
  --color-bg: #ffffff;
  --color-bg-soft: #f7f7f5;
  --color-bg-news: #f3f3ef;

  --color-pink: #ffb6b9;
  --color-pink-soft: #ffe5e7;
  --color-blue-soft: #d6ecfb;
  --color-blue-mid: #8fcdf3;
  --color-mint: #b9e6c9;
  --color-mint-soft: #d9f2e2;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 14px rgba(0, 0, 0, 0.08);

  --font-base: "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN W4", "Hiragino Kaku Gothic ProN",
    "Yu Gothic", "Meiryo", sans-serif;
  --font-heading: "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN W4", "Yu Gothic", sans-serif;

  --container: 1100px;
  --header-h: 88px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.8; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  max-width: clamp(1100px, 92vw, 1600px);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.site-logo__img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.site-logo__name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-green-dark);
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.global-nav__list {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.global-nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  color: var(--color-text);
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.global-nav__icon {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.global-nav__icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.site-header .btn {
  padding: 9px 16px;
  font-size: 13px;
}

/* Hamburger button (mobile) */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 95;
  margin-left: auto;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 8px;
  width: 28px;
  height: 3px;
  background: var(--color-green-dark);
  border-radius: 2px;
  transition: transform 0.25s, top 0.25s, opacity 0.25s;
  display: block;
  content: "";
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -9px; }
.nav-toggle span::after { top: 9px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s, transform 0.2s;
}
.btn:hover { opacity: 0.85; transform: translateY(-2px); }
.btn__arrow { display: inline-block; transition: transform 0.2s ease; }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--yellow { background: var(--color-yellow); color: #fff; }
.btn--green { background: var(--color-green); color: #fff; }
.btn--white {
  background: #fff;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.btn--lg { padding: 14px 36px; font-size: 15px; }

.btn__icon { font-size: 16px; flex-shrink: 0; }
.btn__icon svg { width: 16px; height: 16px; display: block; }

/* Footer CTA sits on a green background — .btn--green there would blend in, so give it white contrast */
.site-footer .btn--green {
  background: #fff;
  color: var(--color-green-dark);
}
.site-footer .btn--green .btn__icon svg rect { fill: var(--color-green); }
.site-footer .btn--green .btn__icon svg path { stroke: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 460px;
  overflow: hidden;
  background: var(--color-bg);
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__illustration {
  width: 100%;
  height: 100%;
  display: block;
}

.hero--page {
  height: 480px;
  margin-top: 24px;
  display: flex;
}

.hero__sidebar {
  flex: 0 0 10%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 24px;
  background: var(--color-bg);
}

.hero__media {
  position: relative;
  flex: 0 0 90%;
  min-width: 0;
  overflow: hidden;
  border-top-left-radius: var(--radius-lg);
  border-bottom-left-radius: var(--radius-lg);
}

.hero__title-en {
  position: absolute;
  right: 24px;
  bottom: 16px;
  color: #fff;
  font-size: 56px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero__sidetext {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-green-dark);
  letter-spacing: 0.35em;
}

/* ---------- Top hero text ---------- */
.top-hero {
  position: relative;
  background: linear-gradient(160deg, var(--color-mint-soft) 0%, #ffffff 65%);
  overflow: hidden;
}

.top-hero__inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  align-items: stretch;
}

.top-hero__copy {
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.top-hero__lead {
  display: inline-block;
  align-self: flex-start;
  background: var(--color-green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.top-hero__title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.6;
  color: var(--color-green-dark);
  margin: 0 0 22px;
  letter-spacing: 0.04em;
}
.top-hero__title-line { display: block; }

.top-hero__hours {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  background: #fff;
  border-radius: 999px;
  padding: 10px 20px;
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  color: var(--color-sub);
  margin: 0 0 28px;
}
.top-hero__hours dt { font-weight: 700; color: var(--color-green-dark); margin: 0; }
.top-hero__hours dd { margin: 0; }

.top-hero__cta { align-self: flex-start; }

.top-hero__slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 460px;
  overflow: hidden;
}
.top-hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: translateX(100%);
  transition: transform 1s ease, opacity 1s ease;
}
.top-hero__slide.is-active { opacity: 1; transform: translateX(0); z-index: 2; }
.top-hero__slide.is-prev { opacity: 0; transform: translateX(-100%); z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .top-hero__slide { transition: opacity 1s ease; transform: none; }
}

/* ---------- News bar ---------- */
.news-bar {
  background: #f5f5f0;
  padding: 14px 0;
}
.news-bar__inner {
  display: flex;
  align-items: center;
  gap: 18px;
}
.news-bar__label {
  background: var(--color-green);
  color: #fff;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.news-bar__date { font-size: 13px; color: var(--color-sub); }
.news-bar__text { font-size: 14px; }

/* ---------- Section title ---------- */
.section { padding: 80px 0; }
.section--soft { background: var(--color-bg-soft); }

.section-title {
  margin: 0 0 8px;
  font-size: 42px;
  font-weight: 800;
  color: var(--color-green);
  letter-spacing: 0.04em;
}

.section-subtitle {
  display: block;
  font-size: 12px;
  color: var(--color-sub);
  letter-spacing: 0.2em;
  margin-bottom: 28px;
}

.page-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 60px 0 12px;
}
.page-title__en {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-green);
  letter-spacing: 0.05em;
}
.page-title__ja {
  font-size: 13px;
  color: var(--color-sub);
  letter-spacing: 0.2em;
}
.page-title--center {
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

/* ---------- About on top ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.about-grid__text p { color: var(--color-sub); margin: 12px 0; }

.about-grid--text-only { grid-template-columns: 1fr; max-width: 820px; margin: 0 auto; }

.about-lead {
  font-size: 18px;
  line-height: 2;
  color: var(--color-text) !important;
  font-weight: 600;
  margin-bottom: 24px !important;
}

/* Feature highlight cards (top gallery) */
.gallery-card--feature {
  background: linear-gradient(180deg, #fff 0%, var(--color-bg-soft) 100%);
  border: 2px solid var(--color-green);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 22px;
  text-align: center;
  min-height: 240px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.gallery-card--feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gallery-card--feature .feature-card-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-green-dark);
  margin: 0 0 10px;
  line-height: 1.5;
}
.gallery-card--feature .feature-card-desc {
  font-size: 13px;
  color: var(--color-sub);
  line-height: 1.8;
  margin: 0;
  text-align: left;
}
.gallery-card--feature .feature-card-desc .indent-1 { display: inline-block; padding-left: 1.2em; }
.gallery-card--feature .feature-card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  color: var(--color-green);
  font-weight: 700;
  font-size: 13px;
}

.about-grid__images {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
}
.about-grid__images img { border-radius: var(--radius); height: 100%; object-fit: cover; }

.about-grid__images-row {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}

/* ---------- Gallery (top) ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
}
.gallery-card {
  border-radius: var(--radius);
  overflow: hidden;
  -webkit-mask-image: -webkit-radial-gradient(#fff, #000);
  clip-path: inset(0 round var(--radius));
  background: #fff;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gallery-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform 0.4s ease; }
.gallery-card:hover img { transform: scale(1.06); }
.gallery-card__label {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-green-dark);
}
.gallery-card--facility {
  border-radius: var(--radius-lg);
  border: 3px solid var(--color-green);
  box-shadow: none;
}
.gallery-card--facility .gallery-card__label {
  top: 0;
  left: 0;
  background: #fff;
  padding: 18px 14px 26px;
  border-top-left-radius: 21px;
  border-top-right-radius: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 24px;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 19px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
  letter-spacing: 0.05em;
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.07);
}

.gallery-card--home {
  display: flex;
  align-items: stretch;
  height: 280px;
}
.gallery-card--home .gallery-card__spine {
  flex-shrink: 0;
  width: 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 18px 0 14px;
  gap: 10px;
  background: #fff;
}
.gallery-card--home .gallery-card__icon { width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; }
.gallery-card--home .gallery-card__icon svg { width: 26px; height: 26px; display: block; }
.gallery-card--home .gallery-card__label-group { display: flex; align-items: flex-start; gap: 6px; }
.gallery-card--home .gallery-card__label-en {
  writing-mode: vertical-rl;
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--color-muted);
}
.gallery-card--home .gallery-card__label-ja {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 17px;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: 0.06em;
}
.gallery-card--home img {
  flex: 1;
  width: auto;
  height: 100%;
  aspect-ratio: auto;
  min-width: 0;
  object-fit: cover;
}

.gallery-strip {
  margin-top: 32px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
}
.gallery-strip__track {
  display: flex;
  width: max-content;
  gap: 8px;
}
.gallery-strip img {
  flex: 0 0 auto;
  width: clamp(160px, 24vw, 260px);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}
@media (prefers-reduced-motion: no-preference) {
  .gallery-strip__track { animation: galleryScroll 32s linear infinite; }
  .gallery-strip:hover .gallery-strip__track { animation-play-state: paused; }
  @keyframes galleryScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }
}

/* ---------- News & Recruit cards (top) ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.card {
  background: var(--color-bg-news);
  border-radius: var(--radius);
  padding: 28px;
}
.card__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 18px;
}
.card__head-en {
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--color-green);
  font-weight: 700;
}
.card__title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
}

.news-list { list-style: none; margin: 0 0 18px; padding: 0; }
.news-list li {
  display: grid;
  grid-template-columns: 90px 1fr;
  padding: 10px 0;
  border-bottom: 1px dashed #ccc;
  font-size: 13.5px;
}
.news-list li:last-child { border-bottom: none; }
.news-list .date { color: var(--color-muted); }

.recruit-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.recruit-card img { border-radius: var(--radius) 0 0 var(--radius); height: 100%; object-fit: cover; }
.recruit-card__body { padding: 22px; background: var(--color-bg-news); border-radius: 0 var(--radius) var(--radius) 0; }
.recruit-card--solo { max-width: 880px; margin: 0 auto; }
.recruit-card--solo .recruit-card__vert {
  writing-mode: horizontal-tb;
  font-size: 24px;
  margin-bottom: 14px;
  display: block;
}
.recruit-card__vert {
  writing-mode: vertical-rl;
  font-size: 32px;
  font-weight: 800;
  color: var(--color-yellow);
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}

/* ---------- Topic bar (home) ---------- */
.topic-bar-wrap { padding: 22px 0 0; }
.topic-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--color-bg-soft);
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 14px;
  color: var(--color-text);
}
.topic-bar:hover { background: var(--color-bg-news); }
.topic-bar__label {
  flex-shrink: 0;
  background: var(--color-green);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 4px 12px;
  border-radius: 999px;
}
.topic-bar__date { flex-shrink: 0; color: var(--color-muted); font-size: 13px; }
.topic-bar__text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- News + Recruit (home bottom) ---------- */
.home-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.home-news {
  background: var(--color-bg-news);
  border-radius: var(--radius);
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
}
.home-news__en { font-size: 13px; font-weight: 800; color: var(--color-green); letter-spacing: 0.1em; }
.home-news__title { font-size: 22px; font-weight: 800; color: var(--color-green-dark); margin: 2px 0 18px; }
.home-news__list { list-style: none; padding: 0; margin: 0 0 18px; flex: 1; }
.home-news__list li { border-bottom: 1px solid var(--color-border); }
.home-news__list a { display: grid; grid-template-columns: 96px 1fr; gap: 8px; padding: 12px 0; font-size: 13.5px; }
.home-news__list a:hover .txt { color: var(--color-green); }
.home-news__list .date { color: var(--color-muted); font-size: 12.5px; }
.home-news__more { text-align: center; }
.recruit-card--home { align-self: stretch; }

/* ---------- CONTACT section ---------- */
.contact-section {
  background: var(--color-green-bg);
  color: #fff;
  padding: 64px 20px;
  text-align: center;
}
.contact-section__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.contact-section__icon svg {
  width: 80px;
  height: auto;
  display: block;
}
.contact-section__title {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 6px;
}
.contact-section__subtitle {
  font-size: 13px;
  opacity: 0.9;
  margin-bottom: 18px;
}
.contact-section__text { font-size: 14px; line-height: 2; margin-bottom: 28px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-green);
  color: #fff;
}
.site-footer__main {
  padding: 28px 28px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  max-width: 1280px;
  margin: 0 auto;
}
.site-footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 10px;
  padding: 6px 14px;
}
.site-footer__logo img { width: 48px; height: 48px; object-fit: contain; }
.site-footer__logo span { color: var(--color-green-dark); font-weight: 700; font-size: 18px; }
.site-footer__info { font-size: 13px; }

.site-footer__nav {
  padding: 18px 28px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  max-width: 1280px;
  margin: 0 auto;
}
.site-footer__nav .global-nav__link { color: #fff; font-size: 11px; }
.site-footer__nav .global-nav__icon { background: #fff; width: 36px; height: 36px; border-radius: 50%; }

.site-footer__bottom {
  background: #2c2c2c;
  color: #ddd;
  padding: 14px;
  text-align: center;
  font-size: 12px;
}
.site-footer__bottom a { color: #ddd; margin: 0 12px; }
.site-footer__copy { display: block; margin-top: 8px; color: #888; font-size: 11px; }

/* ---------- Generic content blocks (sub pages) ---------- */
.lead {
  font-size: 14px;
  color: var(--color-sub);
  text-align: center;
  margin: 0 auto 36px;
  max-width: 760px;
  text-wrap: balance;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 32px;
  font-size: 13.5px;
}
.info-table th, .info-table td {
  border: 1px solid var(--color-border);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}
.info-table th {
  background: var(--color-bg-soft);
  width: 200px;
  font-weight: 600;
}
.info-table td ul { margin: 4px 0 0; padding-left: 1.2em; }

/* admission-cms.js が挿入するリッチエディタ由来のテーブルは class を保持できないため、素の table に直接当てる */
#admission-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 32px;
  font-size: 13.5px;
}
#admission-content table th, #admission-content table td {
  border: 1px solid var(--color-border);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}
#admission-content table th {
  background: var(--color-bg-soft);
  width: 200px;
  font-weight: 600;
}
#admission-content table th p, #admission-content table td p { margin: 0; }

/* リッチエディタはリンクの class や notice-box__list の display:inline-block も保持できないため、同様に直接当てる */
#admission-content a {
  color: var(--color-green);
  font-weight: 700;
  text-decoration: underline;
}
#admission-content a:hover { color: var(--color-green-dark); }
#admission-content .notice-box p { margin: 0 0 8px; }
#admission-content .notice-box p:last-child { margin-bottom: 0; }
#admission-content .notice-box ul {
  display: inline-block;
  text-align: left;
  margin: 0;
  padding-left: 1.2em;
  line-height: 2;
}

.h-block {
  background: var(--color-bg-soft);
  border-left: 4px solid var(--color-green);
  padding: 12px 18px;
  font-weight: 700;
  margin: 28px 0 14px;
}

.h-pill {
  display: inline-block;
  background: var(--color-green);
  color: #fff;
  padding: 4px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}

.legal-content { max-width: 760px; margin: 40px auto 80px; }
.legal-content p { margin: 0 0 16px; }
.legal-content ul { margin: 0 0 16px; padding-left: 1.4em; }
.legal-content li { margin-bottom: 4px; }
.legal-content__date { text-align: right; color: var(--color-muted); font-size: 13px; }

/* ---------- Admission (入園案内) ---------- */
.adm-h { color: var(--color-green); font-weight: 800; font-size: 20px; margin: 48px 0 10px; text-align: center; }
.adm-note { color: var(--color-sub); text-align: center; margin: 10px 0; }
.adm-link { color: var(--color-green); font-weight: 700; text-decoration: underline; }
.adm-link:hover { color: var(--color-green-dark); }
.adm-pill { color: var(--color-green); font-weight: 800; font-size: 16px; text-align: center; margin: 44px 0 14px; }
.adm-subpill { color: var(--color-green); font-weight: 700; font-size: 14px; margin: 24px 0 8px; }
.notice-box {
  background: var(--color-bg-soft);
  border-radius: var(--radius);
  padding: 24px 28px;
  max-width: 720px;
  margin: 16px auto 8px;
  text-align: center;
}
.notice-box__title { display: block; color: var(--color-green); font-weight: 800; margin-bottom: 12px; }
.notice-box__list { display: inline-block; text-align: left; margin: 0; padding: 0; list-style: none; line-height: 2; }
.notice-box__tel { margin: 12px 0 0; line-height: 1.8; }

/* ---------- Features cards ---------- */
.feature-list { display: flex; flex-direction: column; gap: 44px; margin: 32px 0; }
.feature-row {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 28px;
  align-items: stretch;
  background: #eef7ef;
  border-radius: 18px;
  padding: 22px 26px;
  overflow: visible;
}
.feature-row__text {
  align-self: center;
}
.feature-row__media {
  position: relative;
  align-self: center;
  height: 300px;
  overflow: hidden;
  border-radius: 12px;
}
.feature-row__eyebrow {
  display: flex;
  align-items: center;
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 800;
  color: var(--color-green-dark);
  letter-spacing: 0.02em;
}
.feature-row__num { color: var(--color-green); }
.feature-row__cat {
  margin-left: 11px;
  padding-left: 13px;
  border-left: 1.5px solid #bcdcc0;
}
.feature-row__heading {
  margin: 0 0 14px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.55;
  color: var(--color-green);
}
.feature-row__heading span {
  background: linear-gradient(transparent 66%, #ffe27a 66%);
  padding: 0 2px;
}
.feature-row__body { font-size: 13.5px; line-height: 1.95; color: var(--color-text); }
.feature-row__body p { margin: 0 0 6px; }
.feature-row__body p:last-child { margin-bottom: 0; }
.feature-row__link { color: var(--color-green); font-weight: 700; text-decoration: underline; }
.feature-row__link:hover { color: var(--color-green-dark); }
.feature-row__list { list-style: none; padding: 0; margin: 8px 0; }
.feature-row__list li { padding-left: 1.1em; text-indent: -1.1em; margin-bottom: 2px; }
.feature-row__list li::before { content: "・"; color: var(--color-green); }
.feature-row__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.feature-row:hover .feature-row__img { transform: scale(1.05); }

/* ---------- Schedule ---------- */
/* ---------- Daily schedule (Gantt) ---------- */
.daily { margin: 24px 0; }
.daily__head {
  display: grid;
  grid-template-columns: 84px 1fr 1fr 1fr;
  column-gap: 10px;
  margin-bottom: 10px;
}
.daily__pill {
  text-align: center;
  font-weight: 800;
  color: #fff;
  border-radius: 12px;
  padding: 9px 0;
  font-size: 14px;
}
.daily__pill--0 { background: #ef9a9a; }
.daily__pill--12 { background: #7cb8e0; }
.daily__pill--345 { background: #7cc47f; }

.daily__chart {
  display: grid;
  grid-template-columns: 84px 1fr 1fr 1fr;
  grid-template-rows: repeat(6, 48px) 64px repeat(40, 40px);
  column-gap: 10px;
}
.daily__track {
  grid-row: 1 / 48;
  border-radius: 16px;
}
.daily__track--0 { grid-column: 2 / 3; background: #fbe6e6; }
.daily__track--12 { grid-column: 3 / 4; background: #e6f1fa; }
.daily__track--345 { grid-column: 4 / 5; background: #e6f4e7; }

.daily__time {
  grid-column: 1 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-green-dark);
  background: #eef7ee;
  border-radius: 8px;
  margin: 2px 0;
}

.daily__block {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  margin: 14px 14px;
  padding: 4px 8px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--color-text);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  .daily__head, .daily__chart { grid-template-columns: 54px 1fr 1fr 1fr; column-gap: 6px; }
  .daily__block { margin: 2px 4px; font-size: 11px; padding: 3px 4px; }
  .daily__time { font-size: 11px; }
  .daily__pill { font-size: 12px; }
}

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; margin: 24px 0; }
.faq-item {
  border: 1px solid var(--color-green);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-item__q {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  transition: background 0.2s ease;
}
.faq-item__q:hover { background: var(--color-bg-soft); }
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::after {
  content: "＋";
  margin-left: auto;
  font-size: 18px;
  font-weight: 400;
  color: var(--color-green);
  flex-shrink: 0;
}
.faq-item[open] .faq-item__q::after { content: "−"; }
.faq-item__icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  flex-shrink: 0;
}
.faq-item__a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--color-sub);
  font-size: 13.5px;
  line-height: 1.8;
  margin: 0 20px 20px;
  padding-top: 16px;
  border-top: 2px dashed var(--color-green);
}
.faq-item__a p { margin: 0; }

/* ---------- Facilities photos ---------- */
.facility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.facility-grid img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); width: 100%; display: block; }
.facility-figure { margin: 0; }
.facility-figure figcaption {
  margin-top: 8px;
  text-align: center;
  font-size: 14px;
  color: var(--color-sub);
  font-weight: 600;
}

/* ---------- Facilities gallery / floor map ---------- */
.fac-large { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.floor-plan { margin: 16px 0 32px; text-align: center; }
.floor-plan__img { max-width: 100%; margin: 0 auto; border: 1px solid var(--color-border); border-radius: var(--radius); }

/* ---------- Food page lists ---------- */
.food-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 24px 0;
}
.food-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  clip-path: inset(0 round var(--radius));
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.food-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.food-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.4s ease; }
.food-card:hover img { transform: scale(1.06); }
.food-card__body { padding: 14px; }
.food-card__title {
  display: block;
  color: var(--color-green-dark);
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 6px;
  text-wrap: balance;
}
.food-cards--event .food-card__title { text-align: center; }
.food-cards--commitment {
  grid-template-columns: repeat(4, 1fr);
}
.food-cards--commitment .food-card {
  display: flex;
  flex-direction: column;
}
.food-cards--commitment .food-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.food-card p { font-size: 12.5px; color: var(--color-sub); margin: 0; text-wrap: balance; }

/* ---------- Food (ごはんの部屋) ---------- */
.food-h { text-align: center; margin: 60px 0 8px; }
.food-h__ja { display: block; font-size: 22px; font-weight: 800; color: var(--color-green-dark); }
.food-h__en { display: block; font-size: 12px; letter-spacing: 0.2em; color: var(--color-muted); margin-top: 4px; }
.food-lead { text-align: center; color: var(--color-sub); margin: 0 0 8px; }
.food-strip {
  text-align: center;
  background: var(--color-yellow);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 12px 20px;
  margin: 28px auto;
  max-width: 760px;
}
.food-card__menu-label { font-weight: 700; color: var(--color-green-dark); font-size: 12px; margin: 8px 0 2px; }
.food-card__menu ul { margin: 0; padding-left: 1.1em; font-size: 12.5px; color: var(--color-sub); line-height: 1.7; }
.food-card__menu--columns { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.kondate-placeholder {
  background: #fff;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius);
  padding: 48px 20px;
  text-align: center;
  color: var(--color-muted);
  margin: 16px 0;
}
.food-legend { text-align: center; color: var(--color-sub); font-size: 12.5px; margin: 8px 0 0; }

.finance-doc-list { list-style: none; margin: 16px 0; padding: 0; }
.finance-doc-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: #fff;
}
.finance-doc-list__title { font-weight: 700; }

/* ---------- Contact form ---------- */
.contact-info {
  background: var(--color-bg-soft);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  margin: 24px auto 36px;
  max-width: 800px;
}
.contact-info__tel {
  font-size: 26px;
  color: var(--color-green-dark);
  font-weight: 800;
  margin-top: 10px;
}

.contact-form {
  max-width: 720px;
  margin: 0 auto;
  background: var(--color-bg-soft);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-form__title {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  border-bottom: 1px solid #ccc;
  padding-bottom: 12px;
  margin: 0 0 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed #ddd;
}
.form-row:last-of-type { border-bottom: none; }
.form-row label {
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-row .req { background: #e57373; color: #fff; font-size: 10px; padding: 2px 8px; border-radius: 4px; }
.form-row .opt { background: #b0bec5; color: #fff; font-size: 10px; padding: 2px 8px; border-radius: 4px; }
.form-row input, .form-row textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  background: #fff;
  border-radius: 6px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 14px;
}
.form-row textarea { min-height: 100px; resize: vertical; }
.form-actions { text-align: center; margin-top: 24px; }

.contact-tabs {
  display: flex;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto 28px;
}
.contact-tabs__btn {
  flex: 1;
  padding: 14px 16px;
  border: 2px solid var(--color-green);
  background: #fff;
  color: var(--color-green-dark);
  font-weight: 700;
  font-size: 14.5px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.contact-tabs__btn:hover:not(.is-active) { background: var(--color-bg-soft); }
.contact-tabs__btn.is-active { background: var(--color-green); color: #fff; }
.contact-tab-panel { display: none; }
.contact-tab-panel.is-active { display: block; }
.contact-note-list {
  max-width: 720px;
  margin: 0 auto 28px;
  padding-left: 1.6em;
  color: var(--color-sub);
  font-size: 13.5px;
  line-height: 1.9;
}
.contact-note-list li { text-wrap: balance; }

/* ---------- News list ---------- */
.news-archive { list-style: none; padding: 0; margin: 30px auto; max-width: 820px; }
.news-archive li {
  display: grid;
  grid-template-columns: 100px 1fr 50px;
  align-items: center;
  background: var(--color-bg-soft);
  padding: 16px 22px;
  border-radius: var(--radius);
  margin-bottom: 12px;
  font-size: 14px;
}
.news-archive .date { color: var(--color-muted); font-size: 13px; }
.news-archive .arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-left: auto;
}

/* ---------- News detail ---------- */
.news-detail-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  margin: 40px 0 80px;
}
.news-toc {
  background: var(--color-bg-soft);
  border-radius: var(--radius);
  padding: 18px;
  font-size: 13px;
  height: fit-content;
}
.news-toc h3 { margin: 0 0 10px; font-size: 14px; text-align: center; }
.news-toc ol { margin: 0; padding-left: 22px; color: var(--color-sub); }
.news-detail__date { color: var(--color-muted); font-size: 12px; }
.news-detail__title { font-size: 20px; margin: 4px 0 24px; }
.news-detail__body p { color: var(--color-sub); }

/* ---------- About page (centered headings & cards) ---------- */
.section-heading {
  text-align: center;
  margin: 72px 0 28px;
}
.section-heading__ja {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: 0.06em;
}
.section-heading__en {
  display: block;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--color-muted);
  margin-top: 6px;
}

.philosophy-list {
  max-width: 640px;
  margin: 0 auto 32px;
  padding: 0;
  list-style: none;
  text-align: center;
}
.philosophy-list li {
  padding: 6px 0;
  font-size: 14.5px;
}
.philosophy-list .term {
  color: var(--color-green);
  font-weight: 700;
}

.section-divider {
  max-width: 760px;
  margin: 4px auto 32px;
  padding: 0 16px;
}
.section-divider__art {
  display: block;
  width: 100%;
  height: auto;
}

.medical-care-note {
  text-align: center;
  margin: -14px 0 26px;
  color: #e53935;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.greeting {
  max-width: 720px;
  margin: 0 auto 24px;
}
.greeting__example {
  font-weight: 700;
  margin: 0 0 10px;
}
.greeting__body {
  font-size: 15px;
  line-height: 2.7;
  letter-spacing: 0.04em;
  margin: 0 0 28px;
  color: var(--color-text);
}
.greeting__sign {
  font-weight: 700;
  margin: 24px 0 0;
  text-align: right;
}
.greeting__sign-label {
  margin-right: 24px;
}

.class-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 16px 0 18px;
}
.class-card {
  border-radius: 18px;
  padding: 18px 22px 22px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.class-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.class-card__name {
  text-align: center;
  font-weight: 800;
  font-size: 16px;
  margin: 0 0 10px;
}
.class-card__age {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  text-align: center;
  padding: 6px 0;
  font-weight: 700;
  margin-bottom: 14px;
  font-size: 14px;
}
.class-card__rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 6px;
  font-size: 13.5px;
  padding: 0 14px;
  margin: 0;
}
.class-card__rows dt {
  font-weight: 600;
}
.class-card__rows dd {
  margin: 0;
  text-align: right;
}

.class-card--yellow { background: #fff2a8; }
.class-card--purple { background: #d6c8ff; }
.class-card--pink   { background: #ffc3c3; }
.class-card--blue   { background: #b9d6f8; }
.class-card--green  { background: #bfe7b9; }
.class-card--orange { background: #ffd59a; }

.class-notes {
  font-size: 13px;
  color: var(--color-sub);
  margin: 12px 0 24px;
}
.class-notes p { margin: 4px 0; }

.info-table--lined {
  border: none;
}
.info-table--lined th,
.info-table--lined td {
  border: none;
  border-bottom: 1px solid var(--color-border);
  padding: 18px 14px;
  background: transparent;
}
.info-table--lined th {
  width: 240px;
  font-weight: 700;
  background: #F9FAFA;
}

.history-list {
  max-width: 880px;
  margin: 16px auto 0;
  padding: 0;
  list-style: none;
}
.history-list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 28px;
  padding: 10px 0;
  align-items: start;
}
.history-list .era {
  color: var(--color-green);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}
.history-list .desc {
  font-size: 14px;
  line-height: 1.85;
}
.history-list .accent { color: var(--color-green); font-weight: 700; }
.history-list .accent-red { color: #e53935; font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .global-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 80px 20px 20px;
    gap: 14px;
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.08);
    transition: right 0.3s ease;
    z-index: 90;
    overflow-y: auto;
  }
  .global-nav.is-open { right: 0; }
  .global-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .global-nav__list li { border-bottom: 1px solid var(--color-border); }
  .global-nav__link {
    flex-direction: row;
    justify-content: flex-start;
    padding: 14px 6px;
    gap: 14px;
    font-size: 15px;
  }
  .global-nav__icon { width: 28px; height: 28px; }
  .global-nav .btn { justify-content: center; padding: 12px; }
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 80;
  }
  .nav-overlay.is-open { opacity: 1; visibility: visible; }
  body.is-nav-open { overflow: hidden; }
  .top-hero__inner { grid-template-columns: 1fr; position: relative; }
  .top-hero__slideshow { min-height: 420px; height: 420px; }
  .top-hero__copy {
    position: absolute;
    inset: 0;
    z-index: 3;
    justify-content: flex-end;
    padding: 24px 20px 28px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.6) 100%);
  }
  .top-hero__title { color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45); }
  .about-grid, .two-col, .recruit-card, .news-detail-layout, .home-bottom-grid { grid-template-columns: 1fr; }
  .recruit-card img { height: 260px; width: 100%; border-radius: var(--radius) var(--radius) 0 0; }
  .recruit-card__body { border-radius: 0 0 var(--radius) var(--radius); }
  .gallery-grid, .food-cards, .facility-grid { grid-template-columns: repeat(2, 1fr); }
  .class-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .info-table--lined th { width: 130px; }
  .history-list li { grid-template-columns: 110px 1fr; gap: 16px; }
  .section-heading { margin: 56px 0 24px; }
  .feature-row { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .section-title { font-size: 30px; }
  .hero { height: 260px; }
  .hero--page { height: 280px; }
  .hero__sidebar { flex-basis: 10%; padding-bottom: 16px; }
  .hero__media { flex-basis: 90%; }
  .hero__title-en { font-size: 32px; }
  .hero__sidetext { font-size: 15px; letter-spacing: 0.25em; }
  .site-footer__nav { justify-content: center; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes fadeUpIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  @keyframes zoomIn {
    from { opacity: 0; transform: scale(1.06); }
    to { opacity: 1; transform: scale(1); }
  }
  @keyframes sidetextIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
  }

  /* Page hero: fades/zooms in once on load */
  .hero__img, .hero__illustration, .top-hero__slideshow { animation: zoomIn 0.9s ease-out both; }
  .hero__title-en { animation: fadeUpIn 0.7s ease-out 0.15s both; }
  .hero__sidetext { animation: sidetextIn 0.7s ease-out 0.1s both; }

  .top-hero__lead { animation: fadeUpIn 0.6s ease-out 0.05s both; }
  .top-hero__title-line { animation: fadeUpIn 0.6s ease-out both; }
  .top-hero__title-line:nth-child(1) { animation-delay: 0.15s; }
  .top-hero__title-line:nth-child(2) { animation-delay: 0.25s; }
  .top-hero__title-line:nth-child(3) { animation-delay: 0.35s; }
  .top-hero__hours { animation: fadeUpIn 0.6s ease-out 0.45s both; }
  .top-hero__cta { animation: fadeUpIn 0.6s ease-out 0.55s both; }

  /* Scroll reveal: JS (js/reveal.js) adds .reveal + toggles .is-in via IntersectionObserver */
  .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  .reveal.is-in { opacity: 1; transform: translateY(0); }
}
