@charset "UTF-8";


:root{
  --bg: #FFF7ED;
  --text: #3f2f1f;
  --muted: rgba(63, 47, 31, .72);
  --heading: #5c4b3b;
  --subheading: #8c7b6a;

  --nav-divider: rgba(63, 47, 31, .12);

  --footer-text: rgba(61, 61, 61, .88);
  --footer-muted: rgba(61, 61, 61, .72);
  --footer-line: rgba(80, 80, 80, .22);

  --heading-underline: 1px dotted color-mix(in srgb, var(--subheading) 35%, #ccc);
  --heading-underline-width: min(140px, 42%);
  --heading-underline-margin-top: clamp(14px, 2.2vw, 20px);

  --font-about-sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", YuGothic, Meiryo, sans-serif;
}

html{
  background-color: var(--bg);
}

body{
  margin: 0;
  font-family: ui-rounded, "Hiragino Maru Gothic ProN", "Hiragino Sans", "Noto Sans JP", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
}

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

.visually-hidden{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

a:focus-visible, button:focus-visible{
  outline: 3px solid rgba(245,184,75,.38);
  outline-offset: 3px;
  border-radius: 12px;
}

.container{
  width: min(1100px, calc(100% - 16px));
  margin-inline: auto;
}

/* =========================
   Header
========================= */

.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  overflow: visible;
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 4px 0;
  overflow: visible;
}

.brand-logo{
  display: block;
  width: 200px;
  height: auto;
}

.top-nav{
  width: 100%;
}

.top-nav-list{
  list-style: none;
  padding: 4px 8px;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr auto 1fr 1fr;
  align-items: stretch;
  gap: 20px;
}

.top-nav-list > li{
  position: relative;
  min-height: 40px;
  display: grid;
  place-items: center;
}

.top-nav-list > li:not(.top-nav-center)::after{
  content: "";
  position: absolute;
  right: 0;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: var(--nav-divider);
}

.top-nav-list > li:nth-child(n+4)::before{
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: var(--nav-divider);
}

.top-nav-list > li:nth-child(n+4)::after{
  display: none;
}

.top-nav-link{
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 10px 10px 12px;
  color: rgba(63,47,31,.88);
  font-weight: 900;
}

.top-nav-link:hover{
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.top-nav-icon{
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.top-nav-label{
  font-size: 20px;
  letter-spacing: .02em;
}

.top-nav-dropdown{
  position: absolute;
  left: 50%;
  top: calc(100% - 12px);
  z-index: 60;
  width: max-content;
  max-width: min(92vw, 520px);
  padding: clamp(14px, 2vw, 18px) clamp(16px, 2.4vw, 22px) clamp(16px, 2.4vw, 20px);
  border-radius: 14px;
  background: #fff;
  box-shadow:
    0 14px 36px rgba(63, 47, 31, .14),
    0 2px 10px rgba(63, 47, 31, .08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  translate: -50% 8px;
  transition:
    opacity .24s ease,
    translate .24s ease,
    visibility 0s linear .24s;
}

.top-nav-dropdown::before{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}

.top-nav-item:hover .top-nav-dropdown,
.top-nav-item:focus-within .top-nav-dropdown{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  translate: -50% 0;
}

.top-nav-list > li.top-nav-item:first-child .top-nav-dropdown{
  left: 0;
  translate: 0 8px;
}

.top-nav-list > li.top-nav-item:first-child:hover .top-nav-dropdown,
.top-nav-list > li.top-nav-item:first-child:focus-within .top-nav-dropdown{
  translate: 0 0;
}

.top-nav-list > li:nth-child(4).top-nav-item .top-nav-dropdown{
  left: auto;
  right: 0;
  translate: 0 8px;
}

.top-nav-list > li:nth-child(4).top-nav-item:hover .top-nav-dropdown,
.top-nav-list > li:nth-child(4).top-nav-item:focus-within .top-nav-dropdown{
  translate: 0 0;
}

.top-nav-dropdown-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.4vw, 22px);
  align-items: start;
}

.top-nav-dropdown .footer-col{
  text-align: center;
}

.top-nav-dropdown .footer-title{
  margin: 0 0 12px;
  padding-bottom: 10px;
  font-size: 18px;
}

.top-nav-dropdown .footer-list{
  gap: 6px;
}

.top-nav-dropdown .footer-link{
  font-size: 15px;
}

@media (max-width: 560px){
  .header-inner {
    padding: 8px 0;
    gap: 10px;
  }

  .brand-logo {
    display: block;
    width: auto;
    max-width: min(132px, 38vw);
    max-height: 44px;
    object-fit: contain;
  }

  .top-nav-list {
    padding: 6px 6px;
    gap: clamp(8px, 2.2vw, 16px);
    align-items: center;
  }

  .top-nav-list > li {
    min-height: 0;
  }

  .top-nav-list > li:not(.top-nav-center)::after,
  .top-nav-list > li:nth-child(n + 4)::before {
    top: 10px;
    bottom: 10px;
  }

  .top-nav-link {
    display: grid;
    grid-template-rows: auto auto;
    align-content: center;
    row-gap: 6px;
    padding: 6px 4px 10px;
    height: auto;
    min-height: 0;
  }

  .top-nav-icon {
    width: 36px;
    height: 36px;
  }

  .top-nav-label {
    font-size: clamp(12px, 3.2vw, 16px);
    line-height: 1.15;
    letter-spacing: 0.02em;
  }

  .top-nav-dropdown-grid{
    grid-template-columns: 1fr;
  }

  .top-nav-dropdown{
    max-width: min(94vw, 360px);
  }
}

@media (prefers-reduced-motion: reduce){
  .top-nav-dropdown{
    translate: -50% 0;
    transition: none;
  }

  .top-nav-item:hover .top-nav-dropdown,
  .top-nav-item:focus-within .top-nav-dropdown{
    translate: -50% 0;
  }

  .top-nav-list > li.top-nav-item:first-child .top-nav-dropdown,
  .top-nav-list > li.top-nav-item:first-child:hover .top-nav-dropdown,
  .top-nav-list > li.top-nav-item:first-child:focus-within .top-nav-dropdown{
    translate: 0 0;
  }

  .top-nav-list > li:nth-child(4).top-nav-item .top-nav-dropdown,
  .top-nav-list > li:nth-child(4).top-nav-item:hover .top-nav-dropdown,
  .top-nav-list > li:nth-child(4).top-nav-item:focus-within .top-nav-dropdown{
    translate: 0 0;
  }
}

/* =========================
  Hero (Top page main visual)
========================= */
.hero{
  width: 100%;
}

.hero-slider{
  --hero-fade: 900ms;
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 70vh;
  max-height: 80vh;
  overflow: hidden;
  background: #f3e6d8;
}

@media (max-width: 560px){
  .hero-slider{
    height: 55vh;
    min-height: 50vh;
    max-height: 60vh;
  }
}

.hero-slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.05);
  z-index: 1;
  transition:
    opacity var(--hero-fade) ease,
    transform var(--hero-fade) ease;
  will-change: opacity, transform;
  pointer-events: none;
}

.hero-slide.is-active{
  opacity: 1;
  transform: scale(1);
  z-index: 2;
  pointer-events: auto;
}

.hero-slide-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce){
  .hero-slider{
    --hero-fade: 600ms;
  }
  .hero-slide,
  .hero-slide.is-active{
    transform: none;
  }
}

.hero-dots{
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.hero-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(63,47,31,.28);
  background: rgba(255,255,255,.62);
  padding: 0;
  appearance: none;
}

.hero-dot.is-active{
  background: rgba(245,184,75,.92);
  border-color: rgba(63,47,31,.18);
  box-shadow: 0 10px 20px rgba(63,47,31,.16);
}

.hero-dot:focus-visible{
  outline: 3px solid rgba(245,184,75,.45);
  outline-offset: 3px;
}

/* =========================
  Feature cards (below hero)
========================= */
.feature-cards{
  --feature-text: #4a372c;
  --feature-muted: rgba(74,55,44,.78);
  --feature-card-bg: rgba(255, 252, 247, .94);
  --feature-card-border: rgba(74, 55, 44, .08);
  --feature-card-shadow: 0 10px 28px rgba(63, 47, 31, .08);
  --feature-card-shadow-hover: 0 18px 40px rgba(63, 47, 31, .12);
  text-align: center;
  position: relative;
  padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 112px);
  color: var(--feature-text);
  font-family: "Zen Maru Gothic", ui-rounded, "Hiragino Maru Gothic ProN", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  background-color: var(--bg);
  background-image:
    linear-gradient(
      to bottom,
      var(--bg) 0%,
      color-mix(in srgb, var(--bg) 28%, transparent) 12%,
      transparent 30%,
      transparent 70%,
      color-mix(in srgb, var(--bg) 28%, transparent) 88%,
      var(--bg) 100%
    ),
    url("../img/feature-section-bg.jpg");
  background-position: center, bottom center;
  background-size: 100% 100%, cover;
  background-repeat: no-repeat;
}

.feature-cards-inner{
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.feature-cards-header{
  text-align: center;
  max-width: 52rem;
  margin: 0 auto clamp(40px, 5vw, 56px);
}

.feature-cards-kicker{
  margin: 0 0 10px;
  font-size: clamp(13px, 1.5vw, 15px);
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--feature-muted);
}

.feature-cards-title{
  margin: 0;
  font-size: clamp(18px, 2.65vw, 24px);
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.35;
  color: var(--heading);
}

.feature-cards-title::after,
.faq-page-title::after{
  content: "";
  display: block;
  width: var(--heading-underline-width);
  height: 0;
  margin: var(--heading-underline-margin-top) auto 0;
  border: 0;
  border-top: var(--heading-underline);
}

.feature-cards-lead{
  margin: 18px 0 0;
  font-size: clamp(14px, 1.65vw, 16px);
  font-weight: 400;
  letter-spacing: .03em;
  line-height: 1.9;
  color: var(--feature-muted);
}

.feature-cards-grid{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.8vw, 28px);
  align-items: stretch;
}

.feature-cards-item{
  margin: 0;
  padding-top: 18px;
}

.feature-card{
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 16px 20px;
  border-radius: 22px;
  background: var(--feature-card-bg);
  border: 1px solid var(--feature-card-border);
  box-shadow: var(--feature-card-shadow);
  overflow: visible;
  color: inherit;
  text-decoration: none;
  transition:
    transform .28s ease,
    box-shadow .28s ease,
    border-color .28s ease;
}

.feature-card:hover{
  transform: translateY(-6px) scale(1.015);
  box-shadow: var(--feature-card-shadow-hover);
  border-color: rgba(74, 55, 44, .12);
}

.feature-card:focus-visible{
  outline: 3px solid rgba(245, 184, 75, .45);
  outline-offset: 4px;
}

.feature-card-pin{
  position: absolute;
  left: 50%;
  top: -26px;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  z-index: 2;
  filter: drop-shadow(0 6px 10px rgba(63, 47, 31, .12));
  pointer-events: none;
}

.feature-card-pin img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-card-media{
  display: block;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: rgba(255, 255, 255, .6);
  margin-bottom: 14px;
}

.feature-card-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.feature-card:hover .feature-card-media img{
  transform: scale(1.04);
}

.feature-card-text{
  margin-top: 30px;
  font-size: clamp(12px, 1.35vw, 14px);
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 1.65;
  color: var(--feature-muted);
}

@media (max-width: 900px){
  .feature-cards-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px){
  .feature-cards-grid{
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }
}

@media (prefers-reduced-motion: reduce){
  .feature-card,
  .feature-card-media img{
    transition: none;
  }
  .feature-card:hover{
    transform: none;
  }
  .feature-card:hover .feature-card-media img{
    transform: none;
  }
}

/* =========================
  News (Top page)
========================= */
.news{
  padding: clamp(80px, 9vw, 120px) 0;
  background: var(--bg);
}

.news-inner{
  width: min(900px, calc(100% - 32px));
  margin-inline: auto;
  text-align: center;
}

.news-header{
  margin-bottom: clamp(28px, 4vw, 44px);
}

.news-heading-text{
  font-family: "Zen Maru Gothic", ui-rounded, "Hiragino Maru Gothic ProN", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: .20em;
  color: var(--heading);
  display: inline-flex;
  background-color: var(--bg);
  background-image:
    linear-gradient(
      to bottom,
      var(--bg) 0%,
      color-mix(in srgb, var(--bg) 22%, transparent) 20%,
      transparent 42%,
      color-mix(in srgb, var(--bg) 35%, transparent) 100%
    ),
    linear-gradient(
      to right,
      var(--bg) 0%,
      color-mix(in srgb, var(--bg) 25%, transparent) 14%,
      transparent 32%,
      transparent 68%,
      color-mix(in srgb, var(--bg) 25%, transparent) 86%,
      var(--bg) 100%
    ),
    url("../img/news-section-texture.jpg");
  background-size: cover, cover, cover;
  background-position: center, center, center -10px;
  background-repeat: no-repeat;
  padding: 25px 100px 60px;
}

.news-list{
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: grid;
  gap: 14px;
  text-align: left;
  max-width: 780px;
}

.news-item{
  margin: 0;
}

.news-link{
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(63,47,31,.10);
  box-shadow: 0 14px 28px rgba(63,47,31,.06);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    background-color .18s ease,
    border-color .18s ease;
}

.news-link:hover{
  transform: translateY(-2px);
  background: color-mix(in srgb, #fff 70%, rgba(245,184,75,.18));
  border-color: rgba(63,47,31,.14);
  box-shadow: 0 18px 36px rgba(63,47,31,.09);
}

.news-date{
  flex: 0 0 8.8em;
  color: rgba(63,47,31,.58);
  font-weight: 700;
  letter-spacing: .06em;
  font-size: 14px;
}

.news-title{
  color: var(--subheading);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.75;
  font-size: 15px;
}

.news-actions{
  margin-top: clamp(26px, 3.6vw, 40px);
  display: grid;
  place-items: center;
}

.news-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(245,184,75,.52), rgba(245,184,75,.36));
  border: 1px solid rgba(63,47,31,.14);
  color: rgba(63,47,31,.86);
  font-weight: 900;
  letter-spacing: .06em;
  box-shadow: 0 14px 28px rgba(63,47,31,.08);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.news-btn:hover{
  filter: saturate(1.05) brightness(.98);
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(63,47,31,.10);
}

@media (max-width: 560px){
  .news{
    padding: 80px 0;
  }

  .news-link{
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px 14px;
  }

  .news-date{
    flex-basis: auto;
    font-size: 13px;
  }

  .news-title{
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce){
  .news-link,
  .news-btn{
    transition: none;
  }
  .news-link:hover,
  .news-btn:hover{
    transform: none;
  }
}

/* =========================
   Footer
========================= */
.footer{
  position: relative;
  color: var(--footer-text);
  /* 上に余白を多めに取り、本文との「領域の違い」を線なしで示す */
  padding: clamp(64px, 8.5vw, 104px) 0 clamp(46px, 6vw, 84px);
  background: url("../img/footer-bg.png") bottom center / cover no-repeat;
  overflow: hidden;
}

.footer::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.22);
  /* フッター上辺にごく弱い内側の影＝硬い線ではなく奥行きで区切りを示す */
  box-shadow: inset 0 clamp(24px, 5vw, 40px) clamp(32px, 6vw, 52px) clamp(-18px, -2.5vw, -10px) rgba(63, 47, 31, .075);
  z-index: 0;
  pointer-events: none;
}

/* main→footer：長めのグラデーションでトーンをゆるやかに切り替え（境界線は使わない） */
.footer::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: clamp(96px, 12vw, 140px);
  background: linear-gradient(
    to bottom,
    var(--bg) 0%,
    color-mix(in srgb, var(--bg) 82%, transparent) 45%,
    color-mix(in srgb, var(--bg) 38%, transparent) 78%,
    transparent 100%
  );
  z-index: 0;
  pointer-events: none;
}

.footer-inner{
  position: relative;
  z-index: 1;
  padding: 0 clamp(10px, 2.4vw, 24px);
}

.footer-nav{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 3.2vw, 36px);
  align-items: start;
}

.footer-col{
  text-align: center;
}

.footer-title{
  margin: 0 0 16px;
  padding-bottom: 14px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .08em;
  color: var(--subheading);
  border-bottom: var(--heading-underline);
}

.footer-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  justify-items: center;
}

.footer-link{
  display: inline-block;
  padding: 2px 0;
  color: var(--footer-muted);
  text-decoration: none;
  text-underline-offset: 4px;
  transition: color .18s ease, text-decoration-color .18s ease;
  font-size: 15px;
  letter-spacing: .02em;
}

.footer-link:hover{
  color: var(--footer-text);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--footer-text) 78%, transparent);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.footer-contact{
  margin-top: clamp(42px, 5.4vw, 66px);
  padding-top: clamp(18px, 2.6vw, 26px);
  display: grid;
  gap: 8px;
  justify-items: center;
}

.footer-contact-row{
  margin: 0;
  display: grid;
  grid-template-columns: 7em auto;
  gap: 14px;
  align-items: baseline;
  font-size: 15px;
  letter-spacing: .02em;
}

.footer-contact-label{
  color: var(--footer-muted);
  text-align: right;
  font-weight: 800;
}

.footer-contact-value{
  color: var(--footer-text);
}

@media (max-width: 900px){
  .footer-nav{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .footer-contact-row{
    grid-template-columns: 1fr;
    gap: 4px;
    text-align: center;
  }

  .footer-contact-label{
    text-align: center;
  }
}

/* =========================
  FAQ (Nursery) Page
========================= */
.faq-page{
  padding: clamp(28px, 4.8vw, 56px) 0 clamp(72px, 7vw, 96px);
  background: var(--bg);
}

.faq-container{
  width: min(800px, calc(100% - 32px));
  margin-inline: auto;
}

.faq-page-header{
  text-align: center;
  padding: 6px 0 18px;
  margin-bottom: clamp(18px, 3.2vw, 28px);
}

.faq-page-title{
  margin: 0;
  font-size: clamp(22px, 3.2vw, 32px);
  letter-spacing: .06em;
  font-weight: 900;
  color: var(--heading);
}

.faq-page-lead{
  margin: 12px auto 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 15px;
  letter-spacing: .02em;
}

.faq-section{
  --accent: #d9466a;
  --tint: rgba(217, 70, 106, .16);
  --tint-strong: rgba(217, 70, 106, .22);

  background: rgba(255,255,255,.92);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, rgba(63,47,31,.12));
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(63,47,31,.10);
  padding: clamp(16px, 2.6vw, 22px);
  margin: 0 0 clamp(14px, 2.8vw, 22px);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.faq-section:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(63,47,31,.13);
  border-color: color-mix(in srgb, var(--accent) 28%, rgba(63,47,31,.12));
}

.faq-section-title{
  margin: 0 0 14px;
  text-align: center;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .08em;
  color: var(--subheading);
  padding-bottom: 12px;
  border-bottom: var(--heading-underline);
}

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

.faq-item{
  border-radius: 14px;
  overflow: clip;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, rgba(63,47,31,.10));
  background: rgba(255,255,255,.84);
  box-shadow: 0 10px 22px rgba(63,47,31,.08);
  transition: transform .18s ease, box-shadow .18s ease;
}

.faq-item:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(63,47,31,.11);
}

.faq-question{
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 16px 48px 16px 18px;
  background: var(--tint-strong);
  color: color-mix(in srgb, var(--text) 84%, black);
  font-weight: 800;
  letter-spacing: .02em;
}

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

.faq-question::after{
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid color-mix(in srgb, var(--text) 58%, var(--accent));
  border-bottom: 2px solid color-mix(in srgb, var(--text) 58%, var(--accent));
  transform: translateY(-60%) rotate(45deg);
  transition: transform .18s ease;
}

.faq-item[open] > .faq-question::after{
  transform: translateY(-45%) rotate(225deg);
}

.faq-answer{
  padding: 16px 18px 18px;
  background: rgba(255,255,255,.96);
  color: rgba(63,47,31,.88);
}

.faq-answer p{
  margin: 0;
}

.faq-answer p + p{
  margin-top: 10px;
}

/* Color themes per section */
.faq-section.is-pink,
.faq-section.is-orange,
.faq-section.is-gray{
  --accent: #e46386;
  --tint: rgba(228, 99, 134, .14);
  --tint-strong: rgba(228, 99, 134, .20);
}
.faq-section.is-green,
.faq-section.is-blue{
  --accent: #2f9a6a;
  --tint: rgba(47, 154, 106, .14);
  --tint-strong: rgba(47, 154, 106, .20);
}


/* =========================
  Scroll fade-up (.fade-up)
========================= */
.fade-up{
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition:
    opacity 0.9s ease-out,
    transform 0.9s ease-out;
}

.fade-up.is-visible{
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce){
  .fade-up{
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================
  Facility page（園内紹介）
========================= */
.facility-page{
  --facility-gap: clamp(36px, 5vw, 52px);
  --facility-inner-pad: clamp(40px, 6vw, 72px);

  padding: var(--facility-inner-pad) 0 clamp(72px, 8vw, 96px);
  background: var(--bg);
}

.facility-inner{
  width: min(920px, calc(100% - clamp(32px, 6vw, 48px)));
  margin-inline: auto;
}

.facility-intro{
  text-align: center;
  margin-bottom: clamp(40px, 5.5vw, 56px);
}

.facility-intro-title{
  margin: 0;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--heading);
}

.facility-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--facility-gap);
  align-items: start;
}

.facility-item{
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(12px, 1.8vw, 16px);
  min-width: 0;
}

.facility-item-heading{
  margin: 0;
  font-size: clamp(14px, 1.35vw, 15px);
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.5;
  text-align: left;
  color: var(--subheading);
}

.facility-item-frame{
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: color-mix(in srgb, var(--text) 6%, #fff);
}

.facility-item-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.facility-item-body{
  margin: 0;
  font-size: clamp(12.5px, 1.15vw, 13.5px);
  line-height: 1.75;
  letter-spacing: .02em;
  color: rgba(63, 47, 31, .62);
  text-align: left;
}

@media (max-width: 640px){
  .facility-list{
    grid-template-columns: 1fr;
    gap: clamp(32px, 8vw, 44px);
  }
}

/* =========================
  Contact page（お問い合わせ）
========================= */
.contact-page{
  padding: clamp(28px, 4.8vw, 56px) 0 clamp(72px, 7vw, 96px);
  background: var(--bg);
}

.contact-page-inner{
  width: min(600px, 90vw);
  margin-inline: auto;
}

.contact-page-header{
  text-align: center;
  margin-bottom: clamp(24px, 3.6vw, 36px);
}

.contact-page-title{
  margin: 0;
  font-size: clamp(22px, 3.2vw, 32px);
  letter-spacing: .06em;
  font-weight: 900;
  color: var(--heading);
}

.contact-page-rule{
  display: block;
  width: var(--heading-underline-width);
  height: 0;
  margin: var(--heading-underline-margin-top) auto 0;
  border: 0;
  border-top: var(--heading-underline);
}

.contact-page-lead{
  margin: clamp(16px, 2.5vw, 22px) auto 0;
  max-width: 40ch;
  color: var(--muted);
  font-size: clamp(13px, 1.15vw, 15px);
  letter-spacing: .02em;
  line-height: 1.85;
}

.contact-page-phone{
  margin: clamp(18px, 2.8vw, 26px) 0 0;
  font-size: clamp(14px, 1.2vw, 15px);
  line-height: 1.7;
}

.contact-page-phone-tel{
  margin: 0;
  font-weight: 800;
  letter-spacing: .04em;
}

.contact-page-phone-tel a{
  color: inherit;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--heading) 38%, transparent);
  text-underline-offset: 3px;
}

.contact-page-phone-hours{
  margin: 6px 0 0;
  color: var(--muted);
  font-size: clamp(13px, 1.05vw, 14px);
}

.contact-card{
  margin-top: clamp(28px, 4vw, 40px);
  padding: clamp(28px, 5vw, 40px);
  background: #fdf1e6;
  border-radius: clamp(18px, 2.5vw, 26px);
  box-shadow: 0 10px 28px rgba(63, 47, 31, .08);
}

.contact-form{
  margin: 0;
}

.contact-field{
  margin-bottom: clamp(20px, 3.2vw, 28px);
}

.contact-field:last-of-type{
  margin-bottom: clamp(22px, 3.4vw, 30px);
}

.contact-label{
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .03em;
  color: color-mix(in srgb, var(--text) 86%, #5a534c);
  text-align: left;
}

.contact-input,
.contact-textarea{
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: #fff;
  border: 1px solid rgba(63, 47, 31, .16);
  border-radius: 8px;
  line-height: 1.5;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.contact-input::placeholder,
.contact-textarea::placeholder{
  color: rgba(63, 47, 31, .38);
}

.contact-input:hover,
.contact-textarea:hover{
  border-color: rgba(63, 47, 31, .24);
}

.contact-input:focus,
.contact-textarea:focus{
  outline: none;
  border-color: rgba(245, 184, 75, .78);
  box-shadow: 0 0 0 3px rgba(245, 184, 75, .22);
}

.contact-textarea{
  min-height: 160px;
  resize: vertical;
}

.contact-zip-row{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}

.contact-zip-symbol{
  font-size: 15px;
  letter-spacing: .08em;
  color: var(--muted);
  flex-shrink: 0;
}

.contact-input--zip{
  width: 7.5em;
  max-width: min(45%, 9rem);
  flex: 0 0 auto;
}

.contact-input--address-line{
  margin-top: 12px;
}

.contact-actions{
  text-align: center;
  margin-top: clamp(4px, 1.5vw, 10px);
}

.contact-submit{
  appearance: none;
  cursor: pointer;
  border: 0;
  padding: 14px 42px;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .12em;
  color: #fff;
  background: #e88a3a;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(232, 138, 58, .34);
  transition: background .18s ease, box-shadow .18s ease, transform .12s ease;
}

.contact-submit:hover{
  background: #d97928;
  box-shadow: 0 8px 20px rgba(217, 121, 40, .42);
}

.contact-submit:active{
  transform: translateY(1px);
  box-shadow: 0 4px 12px rgba(217, 121, 40, .34);
}

/* =========================
  Play development（遊びを通した心身の育成）
========================= */
.play-dev-page{
  --play-dev-pad-x: clamp(20px, 5vw, 48px);
  --play-dev-cream: #fdeac6;
  --play-dev-radius: 18px;
  /* 白セクション終端＝次クリーム始端で同じ色にそろえ、境目を消す */
  --play-dev-section-join: color-mix(in srgb, var(--play-dev-cream) 24%, #fff);
  --play-dev-into-cream: color-mix(in srgb, var(--play-dev-cream) 40%, #fff);
  --play-dev-out-cream: color-mix(in srgb, var(--play-dev-cream) 52%, #fff);

  padding: 0;
  background: #fff;
}

.play-dev-page > section:last-of-type{
  padding-bottom: clamp(80px, 11vw, 128px);
  background: linear-gradient(
    to bottom,
    var(--play-dev-section-join) 0%,
    var(--play-dev-into-cream) 7%,
    var(--play-dev-cream) 18%,
    var(--play-dev-cream) max(22%, calc(100% - clamp(100px, 16vw, 160px))),
    color-mix(in srgb, var(--play-dev-cream) 42%, var(--bg) 58%) calc(100% - clamp(40px, 6vw, 56px)),
    var(--bg) 100%
  );
}

.play-dev-inner{
  width: min(920px, calc(100% - var(--play-dev-pad-x) * 2));
  margin-inline: auto;
}

.play-dev-hero{
  padding: clamp(36px, 5vw, 56px) 0 clamp(28px, 4vw, 44px);
  background: #fff;
}

.play-dev-hero-head{
  text-align: center;
  margin-bottom: clamp(20px, 3vw, 28px);
}

.play-dev-title{
  margin: 0;
  display: inline-block;
  max-width: 100%;
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--heading);
}

.play-dev-title::after{
  content: "";
  display: block;
  width: 100%;
  height: 0;
  margin-top: var(--heading-underline-margin-top);
  border-top: var(--heading-underline);
}

.play-dev-hero-visual{
  position: relative;
  border-radius: var(--play-dev-radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-height: min(420px, 56vw);
  min-height: 200px;
  margin-inline: auto;
  background: color-mix(in srgb, var(--text) 8%, #fff);
}

.play-dev-hero-visual--vivid .play-dev-hero-img{
  opacity: .9;
  filter: saturate(1.06) brightness(.94);
}

.play-dev-hero-visual--vivid .play-dev-hero-scrim{
  background: linear-gradient(
    to bottom,
    rgba(165, 108, 69, 0.12),
    rgba(47, 31, 20, .42)
  );
}

.play-dev-hero-visual--vivid .play-dev-hero-tagline{
  color: #fffdf8;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .35);
}

.play-dev-hero-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .42;
  filter: saturate(.92);
}

.play-dev-hero-scrim{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, .12),
    rgba(255, 255, 255, .35)
  );
  pointer-events: none;
}

.play-dev-hero-tagline{
  position: absolute;
  inset: 0;
  margin: 0;
  display: grid;
  place-content: center;
  padding: clamp(16px, 4vw, 32px);
  text-align: center;
  font-size: clamp(15px, 2.1vw, 19px);
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.65;
  color: color-mix(in srgb, var(--text) 92%, black);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .55);
}

.play-dev-br{
  display: none;
}

@media (min-width: 520px){
  .play-dev-br{
    display: inline;
  }
}

.play-dev-strip{
  padding: clamp(40px, 6vw, 64px) 0;
  background: #fff;
}

/* 色付きセクション（最後以外）：白へ出入りするグラデーションを多段でなめらかに */
.play-dev-page > section.play-dev-strip--cream:not(:last-of-type){
  background: linear-gradient(
    to bottom,
    #fff 0%,
    var(--play-dev-into-cream) 6%,
    var(--play-dev-cream) 17%,
    var(--play-dev-cream) min(62%, calc(100% - clamp(56px, 10vw, 96px))),
    var(--play-dev-out-cream) min(78%, calc(100% - clamp(32px, 6vw, 56px))),
    color-mix(in srgb, var(--play-dev-cream) 28%, #fff) min(92%, calc(100% - clamp(14px, 3vw, 24px))),
    #fff 100%
  );
}

/* 白セクション（次がクリーム）：下へ向けて段階的に色を乗せ、次セクション先頭の --play-dev-section-join と一致 */
.play-dev-page > section.play-dev-strip:not(.play-dev-strip--cream):has(+ section.play-dev-strip--cream){
  background: linear-gradient(
    to bottom,
    #fff 0%,
    #fff min(52%, calc(100% - clamp(80px, 14vw, 140px))),
    color-mix(in srgb, var(--play-dev-cream) 8%, #fff) min(72%, calc(100% - clamp(48px, 9vw, 88px))),
    color-mix(in srgb, var(--play-dev-cream) 16%, #fff) min(88%, calc(100% - clamp(24px, 4vw, 40px))),
    var(--play-dev-section-join) 100%
  );
}

.play-dev-split{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
}

.play-dev-split--reverse{
  flex-direction: row-reverse;
}

.play-dev-text{
  flex: 1 1 42%;
  min-width: 0;
}

.play-dev-media{
  flex: 1 1 52%;
  min-width: 0;
}

.play-dev-img{
  width: 100%;
  height: auto;
  border-radius: var(--play-dev-radius);
  box-shadow: 0 14px 36px rgba(63, 47, 31, .1);
}

.play-dev-lead{
  padding: clamp(28px, 4vw, 40px) 0 clamp(8px, 2vw, 12px);
  text-align: center;
}

.play-dev-lead-text{
  margin: 0 auto;
  max-width: 40em;
  font-size: clamp(13px, 1.35vw, 15px);
  line-height: 1.9;
  letter-spacing: .03em;
  color: rgba(63, 47, 31, .82);
}

.play-dev-section-title{
  margin: 0 0 clamp(12px, 2vw, 16px);
  font-size: clamp(16px, 1.8vw, 18px);
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--heading);
}

.play-dev-para{
  margin: 0;
  font-size: clamp(13px, 1.35vw, 15px);
  line-height: 1.85;
  letter-spacing: .03em;
  color: rgba(63, 47, 31, .82);
}

.play-dev-foot{
  margin: clamp(14px, 2vw, 20px) 0 0;
  font-size: clamp(13px, 1.35vw, 15px);
  letter-spacing: .04em;
  color: var(--heading);
}

.play-dev-foot strong{
  font-weight: 800;
}

@media (max-width: 720px){
  .play-dev-split,
  .play-dev-split--reverse{
    flex-direction: column;
    align-items: stretch;
  }

  .play-dev-media{
    order: -1;
  }
}

/* =========================
  About page（保育理念・保育目標）
========================= */
.about-page{
  padding: clamp(40px, 6vw, 72px) 0 clamp(72px, 9vw, 104px);
  background: var(--bg);
}

.about-inner{
  width: min(960px, calc(100% - clamp(24px, 5vw, 48px)));
  margin-inline: auto;
}

.about-intro{
  text-align: center;
  margin-bottom: clamp(56px, 8.5vw, 88px);
}

.about-intro-title{
  margin: 0 auto;
  width: max-content;
  max-width: 100%;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--heading);
  text-align: center;
}

.about-intro-head{
  display: inline-block;
  max-width: 100%;
  vertical-align: top;
}

.about-philosophy-stack{
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(52px, 9vw, 96px);
}

.about-philosophy-row{
  min-width: 0;
  width: 100%;
}

.about-philosophy-reveal{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(16px, 3.2vw, 36px);
  width: 100%;
  max-width: min(100%, 920px);
  min-width: 0;
}

.about-philosophy-row--top .about-philosophy-reveal{
  margin-left: clamp(28px, 7vw, 120px);
  margin-right: 0;
}

.about-philosophy-row--bottom .about-philosophy-reveal{
  margin-left: clamp(56px, 14vw, 200px);
  margin-right: 0;
}

.about-philosophy-row--bottom .about-philosophy-reveal.fade-up{
  transition:
    opacity 0.9s ease-out 0.12s,
    transform 0.9s ease-out 0.12s;
}

.about-philosophy-figure{
  flex: 0 0 auto;
  width: min(42%, clamp(160px, 28vw, 260px));
  max-width: 280px;
}

.about-philosophy-img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center bottom;
}

.about-speech-bubble{
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: clamp(26px, 4.2vw, 40px) clamp(22px, 3.8vw, 34px);
  max-width: min(100%, clamp(300px, 52vw, 440px));
  line-height: 1.75;
  text-align: center;
  color: var(--text);
  font-size: clamp(14px, 1.35vw, 16px);
  font-weight: 500;
  background: rgba(255, 255, 255, .72);
  border-radius: 48% 52% 50% 50% / 52% 48% 52% 48%;
  border: 1px solid rgba(255, 255, 255, .6);
  box-shadow: 0 12px 40px rgba(63, 47, 31, .06);
  overflow: visible;
}

.about-speech-bubble::before{
  content: "";
  position: absolute;
  z-index: -1;
  inset: -28% -22% -32% -22%;
  background:
    radial-gradient(ellipse 55% 50% at 50% 48%, rgba(255, 255, 255, .95), transparent 62%);
  filter: blur(36px);
  opacity: .95;
  pointer-events: none;
}

.about-speech-bubble--philosophy::after,
.about-speech-bubble--goals::after{
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
  background: #ffffff;
  border: none;
  box-sizing: border-box;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* 三角は clip-path の単色塗りのみ（border+transparent は環境によって色が滲む） */
.about-speech-bubble--philosophy::after{
  left: clamp(-16px, -2.5vw, -14px);
  top: 54%;
  width: 17px;
  height: 26px;
  transform: translateY(-50%) translateZ(0);
  clip-path: polygon(100% 0, 100% 100%, 0 50%);
}

.about-speech-bubble--goals::after{
  right: clamp(-16px, -2.5vw, -14px);
  top: 52%;
  width: 17px;
  height: 26px;
  transform: translateY(-50%) translateZ(0);
  clip-path: polygon(0 0, 0 100%, 100% 50%);
}

.about-speech-bubble > *{
  position: relative;
  z-index: 1;
}

.about-speech-bubble-heading{
  margin: 0;
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 800;
  letter-spacing: .1em;
  text-align: center;
  line-height: 1.35;
  color: var(--subheading);
}

.facility-intro-rule,
.about-speech-bubble-rule,
.about-facility-rule,
.about-access-rule{
  display: block;
  width: var(--heading-underline-width);
  height: 0;
  margin: var(--heading-underline-margin-top) auto 0;
  border: 0;
  border-top: var(--heading-underline);
}

.about-intro-rule{
  display: block;
  width: 100%;
  height: 0;
  margin: var(--heading-underline-margin-top) 0 0;
  border: 0;
  border-top: var(--heading-underline);
}

.about-speech-bubble-rule + .about-speech-bubble-text{
  margin-top: clamp(12px, 2vw, 20px);
}

.about-speech-bubble-text{
  margin: 0;
  font-size: clamp(13.5px, 1.25vw, 16px);
  font-weight: 500;
  line-height: 1.95;
  letter-spacing: .04em;
  color: color-mix(in srgb, var(--text) 90%, #0000);
  text-align: center;
}

.about-speech-bubble-text--goals{
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 3vw, 26px);
  align-items: center;
}

.about-goals-lead{
  margin: 0;
  font-weight: 700;
  line-height: 1.9;
}

.about-goals-foot{
  margin: 0;
  font-size: clamp(13px, 1.2vw, 15px);
  line-height: 1.8;
  color: color-mix(in srgb, var(--text) 78%, #0000);
}

@media (max-width: 900px){
  .about-philosophy-stack{
    gap: clamp(44px, 11vw, 72px);
  }

  .about-philosophy-row--top,
  .about-philosophy-row--bottom{
    transform: none;
  }

  .about-philosophy-reveal{
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 100%;
  }

  .about-philosophy-row--top .about-philosophy-reveal,
  .about-philosophy-row--bottom .about-philosophy-reveal{
    margin-left: auto;
    margin-right: auto;
  }

  .about-philosophy-row--top .about-philosophy-reveal{
    gap: clamp(8px, 2.2vw, 20px);
  }

  .about-philosophy-row--top .about-speech-bubble--philosophy{
    margin-top: clamp(-6px, -1.5vw, -12px);
    padding: clamp(16px, 4.2vw, 28px) clamp(18px, 4.5vw, 28px) clamp(22px, 5vw, 32px);
  }

  .about-philosophy-figure{
    width: min(220px, 78%);
    max-width: none;
  }

  .about-speech-bubble{
    max-width: min(100%, 400px);
    padding: clamp(22px, 5vw, 32px) clamp(18px, 4.5vw, 28px);
  }

  .about-philosophy-row--bottom .about-philosophy-figure{
    order: -1;
  }

  /* モバイル：blur 付き ::before と三角の合成で色が滲むのを防ぐ */
  .about-speech-bubble::before{
    content: none;
  }

  .about-speech-bubble--philosophy::after,
  .about-speech-bubble--goals::after{
    left: 50%;
    right: auto;
    top: -15px;
    width: 24px;
    height: 16px;
    transform: translateX(-50%) translateZ(0);
    clip-path: polygon(50% 0, 0 100%, 100% 100%);
    background: #ffffff;
    -webkit-clip-path: polygon(50% 0, 0 100%, 100% 100%);
  }
}

@media (prefers-reduced-motion: reduce){
  .about-speech-bubble{
    transition: none;
  }

  .about-philosophy-row--top,
  .about-philosophy-row--bottom{
    transform: none;
  }

  .about-philosophy-row--bottom .about-philosophy-reveal.fade-up{
    transition: none;
  }
}

/* =========================
  About page：施設概要
========================= */
.about-facility,
.about-access{
  color: var(--text);
  font-family: var(--font-about-sans);
}

.about-facility{
  margin-top: clamp(56px, 10vw, 96px);
  padding: clamp(40px, 6vw, 72px) 0 clamp(8px, 2vw, 16px);
}

.about-facility-head,
.about-access-head{
  text-align: center;
  margin-bottom: clamp(28px, 4.5vw, 40px);
}

.about-facility-title,
.about-access-title{
  margin: 0;
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--subheading);
  line-height: 1.4;
}

.about-facility-table-wrap{
  width: min(720px, 100%);
  margin-inline: auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.about-facility-table{
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: clamp(13px, 1.15vw, 15px);
  line-height: 1.85;
  color: var(--text);
  border: 1px solid #e0dcd8;
  background: color-mix(in srgb, #fff 88%, var(--bg));
}

.about-facility-col--label{
  width: 30%;
}

.about-facility-col--value{
  width: 70%;
}

.about-facility-table th,
.about-facility-table td{
  padding: clamp(18px, 3.2vw, 28px) clamp(14px, 2.4vw, 22px);
  vertical-align: middle;
  border-bottom: 1px solid #e0dcd8;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.about-facility-table tbody tr:last-child th,
.about-facility-table tbody tr:last-child td{
  border-bottom: 0;
}

.about-facility-table th{
  font-weight: 600;
  text-align: center;
  border-right: 1px solid #e0dcd8;
  letter-spacing: 0.06em;
  color: var(--subheading);
}

.about-facility-table td{
  text-align: left;
}

.about-facility-para{
  margin: 0 0 1em;
}

.about-facility-para:last-child{
  margin-bottom: 0;
}

.about-facility-note{
  display: inline-block;
  font-size: 0.92em;
  line-height: 1.75;
}

@media (max-width: 560px){
  .about-facility-table th,
  .about-facility-table td{
    padding: clamp(14px, 4vw, 20px) clamp(10px, 3vw, 14px);
    font-size: clamp(12.5px, 3.4vw, 14px);
  }

  .about-facility-col--label{
    width: 34%;
  }

  .about-facility-col--value{
    width: 66%;
  }
}

/* =========================
  About page：アクセス
========================= */
.about-access{
  margin-top: clamp(40px, 7vw, 72px);
  padding: clamp(32px, 5vw, 56px) 0 clamp(48px, 8vw, 80px);
}

.about-access-body{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(24px, 4vw, 36px);
  width: 100%;
  max-width: min(720px, 100%);
  margin-inline: auto;
}

.about-access-map-embed{
  width: 100%;
  max-width: min(680px, calc(100% - clamp(0px, 2vw, 24px)));
  margin-inline: auto;
  border-radius: clamp(10px, 1.6vw, 14px);
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(63, 47, 31, .08);
  border: 1px solid #e8e4e0;
  background: #f5f3f0;
  aspect-ratio: 16 / 10;
  min-height: 220px;
}

.about-access-map-frame{
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  border: 0;
}

.about-access-map-photo{
  margin: 0;
  width: 100%;
  max-width: min(680px, calc(100% - clamp(0px, 2vw, 24px)));
}

.about-access-map-img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: clamp(10px, 1.6vw, 14px);
  border: 1px solid #e8e4e0;
  box-shadow: 0 8px 28px rgba(63, 47, 31, .07);
}

.about-access-map-caption{
  margin: clamp(10px, 1.6vw, 14px) 0 0;
  text-align: center;
  font-size: clamp(12px, 1.05vw, 13px);
  letter-spacing: 0.04em;
  color: color-mix(in srgb, var(--text) 62%, #0000);
  line-height: 1.6;
}

.about-access-details{
  width: 100%;
  max-width: min(560px, 100%);
  padding: 0 clamp(4px, 1.5vw, 8px);
}

.about-access-lead{
  margin-bottom: 100px;
  text-align: center;
}

.about-access-map-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  padding: clamp(13px, 2.2vw, 16px) clamp(26px, 5vw, 40px);
  font-size: clamp(14px, 1.45vw, 17px);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.3;
  color: var(--heading);
  text-decoration: none;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, #fff 96%, var(--bg)),
    color-mix(in srgb, #fff 88%, #f0e4d8)
  );
  border: 2px solid color-mix(in srgb, var(--heading) 28%, #d8cdc0);
  border-radius: 999px;
  box-shadow:
    0 4px 0 color-mix(in srgb, var(--heading) 12%, transparent),
    0 10px 24px rgba(63, 47, 31, .12);
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.about-access-map-link::after{
  content: "";
  flex: 0 0 auto;
  width: 0.55em;
  height: 0.55em;
  margin-left: 0.05em;
  border-top: 2.5px solid currentColor;
  border-right: 2.5px solid currentColor;
  transform: translate(-0.05em, 0.02em) rotate(45deg);
  opacity: 0.88;
}

.about-access-map-link:hover{
  color: var(--heading);
  background: #fff;
  border-color: color-mix(in srgb, var(--heading) 42%, #cbb8a8);
  box-shadow:
    0 5px 0 color-mix(in srgb, var(--heading) 14%, transparent),
    0 14px 28px rgba(63, 47, 31, .14);
  transform: translateY(-1px);
}

.about-access-map-link:active{
  transform: translateY(1px);
  box-shadow:
    0 2px 0 color-mix(in srgb, var(--heading) 10%, transparent),
    0 6px 16px rgba(63, 47, 31, .1);
}

@media (prefers-reduced-motion: reduce){
  .about-access-map-link,
  .about-access-map-link:hover,
  .about-access-map-link:active{
    transition: none;
    transform: none;
  }
}

.about-access-dl{
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 3.2vw, 26px);
}

.about-access-dl-row{
  display: grid;
  grid-template-columns: minmax(7em, 32%) 1fr;
  gap: clamp(12px, 2.4vw, 20px);
  align-items: start;
  padding-bottom: clamp(18px, 3.2vw, 26px);
  border-bottom: 1px solid color-mix(in srgb, #e0dcd8 85%, transparent);
}

.about-access-dl-row:last-child{
  padding-bottom: 0;
  border-bottom: 0;
}

.about-access-dl dt{
  margin: 0;
  font-size: clamp(13px, 1.12vw, 15px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.85;
  color: color-mix(in srgb, var(--subheading) 92%, #555);
}

.about-access-dl dd{
  margin: 0;
  font-size: clamp(13.5px, 1.2vw, 16px);
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.03em;
  color: color-mix(in srgb, var(--text) 78%, #555);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.about-access-tel{
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-access-tel:hover{
  color: var(--subheading);
}

@media (max-width: 520px){
  .about-access-map-embed{
    max-width: 100%;
    aspect-ratio: 4 / 3;
  }

  .about-access-map-photo{
    max-width: 100%;
  }

  .about-access-dl-row{
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .about-access-dl dt{
    font-size: clamp(12.5px, 3.2vw, 14px);
  }

  .about-access-dl dd{
    font-size: clamp(13px, 3.5vw, 15px);
    line-height: 1.95;
  }
}

/* =========================
  Day flow（1日の流れ）
========================= */

.day-flow-page{
  padding: clamp(40px, 6vw, 72px) 0 clamp(72px, 9vw, 104px);
  background: var(--bg);
}

.day-flow-inner{
  width: min(1040px, calc(100% - clamp(24px, 5vw, 48px)));
  margin-inline: auto;
}

.day-flow-intro{
  text-align: center;
  margin-bottom: clamp(36px, 5vw, 52px);
}

.day-flow-lead{
  margin: clamp(14px, 2.4vw, 20px) auto 0;
  max-width: 46ch;
  font-size: clamp(13.5px, 1.2vw, 15px);
  font-weight: 500;
  letter-spacing: .03em;
  line-height: 1.85;
  color: var(--muted);
}

.day-flow-title{
  margin: 0;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--heading);
}

.day-flow-intro-rule{
  display: block;
  width: var(--heading-underline-width);
  height: 0;
  margin: var(--heading-underline-margin-top) auto 0;
  border: 0;
  border-top: var(--heading-underline);
}

.day-flow-board{
  --day-flow-col-y: minmax(0, 1fr);
  --day-flow-col-t: minmax(80px, 100px);
  --day-flow-col-o: minmax(0, 1fr);
  --day-flow-gap: clamp(14px, 2.2vw, 24px);

  position: relative;
  padding: clamp(20px, 3vw, 32px) clamp(16px, 2.5vw, 28px) clamp(32px, 4.5vw, 48px);
  border-radius: clamp(20px, 3vw, 28px);
  background: color-mix(in srgb, #fff 72%, var(--bg));
  box-shadow:
    0 1px 0 rgba(63, 47, 31, .06),
    0 18px 48px rgba(63, 47, 31, .05);
}

/* 時間列の背後に縦長の薄い水色（タイムライン） */
.day-flow-body{
  position: relative;
  z-index: 0;
}

.day-flow-track{
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 0;
  bottom: 0;
  width: clamp(72px, 10vw, 92px);
  transform: translateX(-50%);
  pointer-events: none;
  border-radius: clamp(14px, 2vw, 20px);
  background: linear-gradient(
    165deg,
    color-mix(in srgb, #e8f4fb 94%, #fff) 0%,
    color-mix(in srgb, #cfeaf8 82%, #fff) 48%,
    color-mix(in srgb, #e5f3fb 96%, #fff) 100%
  );
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7);
}

.day-flow-age-head{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: var(--day-flow-col-y) var(--day-flow-col-t) var(--day-flow-col-o);
  gap: var(--day-flow-gap);
  align-items: end;
  padding: clamp(4px, 1vw, 8px) clamp(8px, 1.5vw, 16px) clamp(20px, 3vw, 28px);
  margin-bottom: clamp(4px, 1vw, 8px);
  border-bottom: 1px solid rgba(63, 47, 31, .08);
}

.day-flow-age-label{
  display: inline-block;
  font-size: clamp(12.5px, 1.15vw, 14.5px);
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--heading);
  padding: 0.45em 0.85em;
  border-radius: 999px;
  background: color-mix(in srgb, #fff 88%, var(--bg));
  box-shadow: 0 1px 0 rgba(63, 47, 31, .06);
}

.day-flow-age-label--left{
  text-align: left;
  justify-self: start;
}

.day-flow-age-label--right{
  text-align: right;
  justify-self: end;
}

.day-flow-age-label--center{
  justify-self: center;
  text-align: center;
  font-size: clamp(11.5px, 1vw, 13px);
  font-weight: 800;
  letter-spacing: .18em;
  color: color-mix(in srgb, #3d6f96 55%, var(--subheading));
  padding: 0.45em 0.65em;
  border-radius: 999px;
  background: color-mix(in srgb, #e8f4fb 65%, #fff);
  box-shadow: 0 0 0 1px rgba(63, 47, 31, .06);
}

.day-flow-rows{
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.8vw, 18px);
}

.day-flow-row{
  display: grid;
  grid-template-columns: var(--day-flow-col-y) var(--day-flow-col-t) var(--day-flow-col-o);
  gap: var(--day-flow-gap);
  align-items: center;
  padding: clamp(18px, 3vw, 28px) clamp(12px, 2vw, 22px);
  border-radius: clamp(16px, 2.4vw, 22px);
  background: color-mix(in srgb, #fff 78%, transparent);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .85) inset;
  border: 1px solid rgba(63, 47, 31, .06);
}

.day-flow-row--text-only{
  background: color-mix(in srgb, #fff 55%, var(--bg));
  border-style: dashed;
  border-color: rgba(63, 47, 31, .1);
}

.day-flow-cell{
  position: relative;
  z-index: 1;
  min-width: 0;
}

.day-flow-cell--young{
  display: flex;
  justify-content: flex-start;
}

.day-flow-cell--old{
  display: flex;
  justify-content: flex-end;
  padding-inline: clamp(4px, 1vw, 12px) 0;
}

.day-flow-item{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(14px, 2.2vw, 20px);
  max-width: 100%;
}

.day-flow-cell--old .day-flow-item{
  flex-direction: row-reverse;
}

.day-flow-item--text-only{
  width: 100%;
  max-width: 100%;
}

.day-flow-row--text-only .day-flow-text{
  font-size: clamp(12.5px, 1.15vw, 14.5px);
  line-height: 1.75;
}

.day-flow-thumb{
  flex: 0 0 auto;
  width: clamp(82px, 16vw, 96px);
  height: clamp(82px, 16vw, 96px);
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 3px solid #fff;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, .9) inset,
    0 6px 20px rgba(63, 47, 31, .1);
}

.day-flow-text{
  margin: 0;
  font-size: clamp(13.5px, 1.22vw, 15px);
  font-weight: 600;
  line-height: 1.72;
  letter-spacing: .02em;
  color: color-mix(in srgb, var(--text) 70%, #5a5a5a);
  max-width: min(100%, 20.5rem);
}

.day-flow-cell--young .day-flow-text{
  text-align: left;
}

.day-flow-cell--old .day-flow-text{
  text-align: right;
}

.day-flow-time{
  position: relative;
  z-index: 2;
  justify-self: center;
  align-self: center;
  text-align: center;
  min-width: 4.5em;
  padding: 0.55em 0.65em;
  border-radius: 12px;
  font-size: clamp(13.5px, 1.25vw, 15.5px);
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.25;
  color: color-mix(in srgb, #3d6f96 72%, var(--heading));
  font-variant-numeric: tabular-nums;
  background: color-mix(in srgb, #fff 92%, var(--bg));
  box-shadow:
    0 1px 0 rgba(63, 47, 31, .05),
    0 0 0 1px rgba(63, 47, 31, .05);
}

.day-flow-time time{
  white-space: nowrap;
}

@media (max-width: 720px){
  .day-flow-track{
    display: none;
  }

  .day-flow-board{
    padding: clamp(16px, 4vw, 24px) clamp(12px, 3.5vw, 18px) clamp(24px, 5vw, 36px);
    border-radius: clamp(18px, 4vw, 24px);
  }

  .day-flow-age-head{
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
    padding-inline: 4px;
  }

  .day-flow-age-label--center{
    display: none;
  }

  .day-flow-age-label--left{
    grid-column: 1;
  }

  .day-flow-age-label--right{
    grid-column: 2;
  }

  .day-flow-age-label{
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  .day-flow-age-label--left,
  .day-flow-age-label--right{
    justify-self: stretch;
  }

  .day-flow-rows{
    gap: clamp(12px, 3.5vw, 18px);
  }

  .day-flow-row{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(14px, 3.8vw, 20px);
    padding: clamp(18px, 4.5vw, 24px) clamp(14px, 4vw, 18px);
  }

  /* 並び順：時間 → 0・1・2歳 → 3・4・5歳 */
  .day-flow-time{
    order: -1;
    align-self: center;
    width: fit-content;
    max-width: 100%;
    min-width: unset;
    margin-inline: auto;
    padding: 0.55em 1.15em;
    border-radius: 999px;
    background: color-mix(in srgb, #d8ecf8 55%, #fff);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, .75) inset,
      0 0 0 1px rgba(63, 47, 31, .05);
  }

  .day-flow-cell--young{
    order: 0;
    justify-content: flex-start;
  }

  .day-flow-cell--young .day-flow-item{
    flex-direction: row;
  }

  .day-flow-cell--old{
    order: 1;
    justify-content: flex-end;
    padding: clamp(10px, 2.5vw, 14px) 0;
  }

  .day-flow-cell--old .day-flow-item{
    flex-direction: row-reverse;
  }

  .day-flow-cell--old .day-flow-text{
    text-align: left;
  }

  .day-flow-text{
    max-width: 100%;
  }

  .day-flow-row--text-only .day-flow-cell--old{
    background: color-mix(in srgb, #d8ecf8 36%, #fff);
  }

  .day-flow-row--text-only .day-flow-cell--young{
    padding: clamp(12px, 3vw, 16px) clamp(14px, 3.5vw, 18px);
    border-radius: 14px;
    background: color-mix(in srgb, #fff 88%, var(--bg));
    box-shadow:
      0 1px 0 rgba(255, 255, 255, .8) inset,
      0 0 0 1px rgba(63, 47, 31, .05);
  }
}

/* =========================
   Benefits & training (recruit)
========================= */

.benefits-page{
  padding: clamp(28px, 4.8vw, 56px) 0 clamp(72px, 7vw, 96px);
  background: var(--bg);
}

.benefits-container{
  width: min(1040px, calc(100% - 32px));
  margin-inline: auto;
}

.benefits-page-header{
  text-align: center;
  padding: 6px 0 10px;
  margin-bottom: clamp(56px, 8vw, 96px);
}

.benefits-page-title{
  margin: 0;
  font-size: clamp(22px, 3.2vw, 32px);
  letter-spacing: .06em;
  font-weight: 800;
  color: var(--heading);
  line-height: 1.35;
}

.benefits-page-title::after{
  content: "";
  display: block;
  width: var(--heading-underline-width);
  height: 0;
  margin: var(--heading-underline-margin-top) auto 0;
  border: 0;
  border-top: var(--heading-underline);
}

.benefits-section{
  margin-bottom: clamp(48px, 6vw, 72px);
}

.benefits-section:last-child{
  margin-bottom: 0;
}

.benefits-section-title{
  margin: 0;
  text-align: center;
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--heading);
}

.benefits-section-rule{
  width: min(160px, 48%);
  height: 0;
  margin: clamp(12px, 2vw, 18px) auto 0;
  border: 0;
  border-top: var(--heading-underline);
}

.benefits-card-grid{
  list-style: none;
  padding: 0;
  margin: clamp(22px, 3.2vw, 32px) 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 26px);
  align-items: stretch;
}

.benefits-card-cell{
  margin: 0;
  display: flex;
  min-height: 100%;
}

.benefits-card{
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  padding: clamp(26px, 3.2vw, 36px) clamp(18px, 2.4vw, 26px) clamp(22px, 2.8vw, 30px);
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(92, 75, 59, .08);
  box-shadow:
    0 10px 28px rgba(63, 47, 31, .07),
    0 2px 8px rgba(63, 47, 31, .04);
  transition:
    transform .26s ease,
    box-shadow .26s ease;
}

.benefits-card:hover{
  transform: translateY(-4px);
  box-shadow:
    0 16px 36px rgba(63, 47, 31, .1),
    0 4px 12px rgba(63, 47, 31, .06);
}

.benefits-card-icon{
  flex-shrink: 0;
  width: clamp(88px, 14vw, 108px);
  height: clamp(88px, 14vw, 108px);
  margin-bottom: clamp(14px, 2vw, 18px);
  display: grid;
  place-items: center;
}

.benefits-card-img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.benefits-card-title{
  margin: 0 0 12px;
  font-size: clamp(15px, 1.75vw, 17px);
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--heading);
  line-height: 1.4;
}

.benefits-card-text{
  margin: 0;
  flex: 1 1 auto;
  font-size: clamp(13px, 1.45vw, 15px);
  line-height: 1.85;
  letter-spacing: .02em;
  color: var(--muted);
  text-align: center;
}

/* 研修制度（採用ページ）：福利厚生とは独立したクラス */
.training-section{
  margin: 0;
  padding: 0;
}

.training-heading{
  margin: 0;
  text-align: center;
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--heading);
}

.training-heading-rule{
  width: min(160px, 48%);
  height: 0;
  margin: clamp(12px, 2vw, 18px) auto clamp(22px, 3.2vw, 32px);
  border: 0;
  border-top: var(--heading-underline);
}

.training-grid{
  list-style: none;
  padding: 0;
  margin: 0 auto;
  width: 100%;
  max-width: min(920px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 26px);
  align-items: stretch;
}

.training-grid-cell{
  margin: 0;
  display: flex;
  min-height: 100%;
}

.training-card{
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
  padding: clamp(22px, 3vw, 30px) clamp(20px, 2.8vw, 28px) clamp(22px, 3vw, 30px);
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(92, 75, 59, .08);
  box-shadow:
    0 10px 26px rgba(63, 47, 31, .07),
    0 2px 8px rgba(63, 47, 31, .04);
  transition:
    transform .26s ease,
    box-shadow .26s ease;
}

.training-card:hover{
  transform: translateY(-4px);
  box-shadow:
    0 16px 34px rgba(63, 47, 31, .1),
    0 4px 12px rgba(63, 47, 31, .06);
}

.training-title{
  margin: 0;
  text-align: center;
  font-size: clamp(16px, 1.9vw, 18px);
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--heading);
  line-height: 1.45;
}

.training-line{
  width: 100%;
  height: 0;
  margin: clamp(14px, 2vw, 18px) 0 clamp(16px, 2.2vw, 20px);
  border: 0;
  border-top: 2px solid var(--heading);
}

.training-list{
  margin: 0;
  padding: 0 0 0 1.25em;
  flex: 1 1 auto;
  font-size: clamp(13px, 1.45vw, 15px);
  line-height: 1.85;
  letter-spacing: .02em;
  color: var(--muted);
  text-align: left;
}

.training-list li{
  margin: 0 0 .55em;
}

.training-list li:last-child{
  margin-bottom: 0;
}

@media (max-width: 640px){
  .training-grid{
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

@media (max-width: 900px){
  .benefits-card-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px){
  .benefits-card-grid{
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }
}

@media (prefers-reduced-motion: reduce){
  .benefits-card,
  .training-card{
    transition: none;
  }
  .benefits-card:hover,
  .training-card:hover{
    transform: none;
  }
}

/* =========================
   Career up (benefits-training)
========================= */

.career-section{
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding: 0;
}

.career-heading{
  margin: 0;
  text-align: center;
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--heading);
}

.career-heading-rule{
  width: min(160px, 48%);
  height: 0;
  margin: clamp(12px, 2vw, 18px) auto clamp(22px, 3.2vw, 32px);
  border: 0;
  border-top: var(--heading-underline);
}

.career-box{
  box-sizing: border-box;
  max-width: min(920px, 100%);
  margin-inline: auto;
  padding: clamp(28px, 4vw, 48px) clamp(22px, 3.6vw, 44px);
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(92, 75, 59, .08);
  box-shadow:
    0 12px 32px rgba(63, 47, 31, .07),
    0 2px 10px rgba(63, 47, 31, .04);
}

.career-grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: clamp(28px, 4.5vw, 48px) clamp(24px, 3.8vw, 44px);
  align-items: start;
}

.career-block--promo{
  grid-column: 1;
  grid-row: 1;
  max-width: min(38rem, 100%);
  justify-self: start;
  margin-top: clamp(18px, 2.8vw, 36px);
}

.career-block--photo-top{
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: start;
}

.career-block--photo-bottom{
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  align-self: end;
}

.career-block--qual{
  grid-column: 2;
  grid-row: 2;
  max-width: min(38rem, 100%);
  justify-self: end;
}

.career-title{
  margin: 0;
  font-size: clamp(16px, 1.9vw, 18px);
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--heading);
  line-height: 1.45;
}

.career-line{
  width: 100%;
  max-width: 100%;
  height: 0;
  margin: clamp(10px, 1.6vw, 14px) 0 clamp(14px, 2vw, 18px);
  border: 0;
  border-top: 1px solid rgba(92, 75, 59, .32);
}

.career-list{
  margin: 0;
  padding: 0 0 0 1.25em;
  font-size: clamp(13px, 1.45vw, 15px);
  line-height: 1.9;
  letter-spacing: .02em;
  color: var(--muted);
}

.career-list li{
  margin: 0 0 .5em;
}

.career-list li:last-child{
  margin-bottom: 0;
}

.career-text{
  font-size: clamp(13px, 1.45vw, 15px);
  line-height: 1.9;
  letter-spacing: .02em;
  color: var(--muted);
}

.career-text p{
  margin: 0 0 1em;
}

.career-text p:last-child{
  margin-bottom: 0;
}

.career-figure{
  margin: 0;
  padding: 0;
}

.career-image{
  display: block;
  width: clamp(168px, 26vw, 228px);
  height: clamp(168px, 26vw, 228px);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(63, 47, 31, .1);
}

@media (max-width: 768px){
  .career-grid{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(28px, 5vw, 40px);
  }

  .career-block--photo-top{
    order: 1;
  }

  .career-block--photo-bottom{
    order: 2;
  }

  .career-block--promo{
    order: 3;
    align-self: stretch;
    width: 100%;
    max-width: 36rem;
    margin-top: 0;
  }

  .career-block--qual{
    order: 4;
    align-self: stretch;
    width: 100%;
    max-width: 36rem;
  }

  .career-image{
    width: min(220px, 72vw);
    height: min(220px, 72vw);
  }
}

/* ----- 全ページ共通：ローディング画面 ----- */
#loading{
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: clamp(16px, 4vw, 32px);
  box-sizing: border-box;
  background-color: #fff7ed;
  opacity: 1;
  transition: opacity 0.55s ease;
  pointer-events: auto;
}

#loading.loading-screen--hide{
  opacity: 0;
  pointer-events: none;
}

#loading #loading-img{
  width: min(300px, 88vw);
  max-width: 300px;
  height: auto;
  display: block;
  margin: 0;
  opacity: 0;
  animation: loading-img-fade-in 0.55s ease 0.06s forwards;
}

@keyframes loading-img-fade-in{
  from{
    opacity: 0;
    transform: translateY(6px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px){
  #loading #loading-img{
    width: min(220px, 82vw);
    max-width: 220px;
  }
}

@media (prefers-reduced-motion: reduce){
  #loading{
    transition: none;
  }

  #loading #loading-img{
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* 年間行事ページ */

.annual-events-page {
  padding: clamp(40px, 6vw, 72px) 0 clamp(72px, 10vw, 112px);
  background: var(--bg);
  color: var(--text);
  font-family: ui-rounded, "Hiragino Maru Gothic ProN", "Hiragino Sans", "Noto Sans JP", system-ui, -apple-system, sans-serif;
  overflow-x: visible;
  border: none;
  box-shadow: none;
  outline: none;
}

.annual-events-page::before,
.annual-events-page::after,
.annual-events-page .ae-inner::before,
.annual-events-page .ae-inner::after,
.annual-events-page .ae-timeline::before,
.annual-events-page .ae-timeline::after,
.annual-events-page .ae-intro::before,
.annual-events-page .ae-intro::after,
.annual-events-page .ae-month::before,
.annual-events-page .ae-month::after,
.annual-events-page .ae-month-body::before,
.annual-events-page .ae-month-body::after,
.annual-events-page .ae-major::before,
.annual-events-page .ae-major::after,
.annual-events-page .ae-major-intro::before,
.annual-events-page .ae-major-intro::after {
  content: none;
}

.annual-events-page .ae-inner {
  background: transparent;
  border: none;
  box-shadow: none;
  outline: none;
  overflow-x: visible;
}

.annual-events-page .ae-major-img {
  border-radius: 0;
  box-shadow: none;
}

.ae-inner {
  width: min(820px, calc(100% - clamp(16px, 5vw, 56px)));
  margin-inline: auto;
  overflow-x: visible;
}

.ae-intro,
.ae-major-intro {
  position: relative;
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 56px);
}

.ae-major-intro {
  margin-top: clamp(56px, 8vw, 88px);
  margin-bottom: clamp(36px, 5vw, 48px);
}

.ae-leaf--title {
  display: block;
  margin: 0 auto 10px;
  opacity: 0.92;
}

.ae-title,
.ae-major-title {
  margin: 0;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--heading);
}

.ae-major-title {
  font-size: clamp(20px, 2.6vw, 26px);
}

.ae-title-rule {
  display: block;
  width: var(--heading-underline-width);
  height: 0;
  margin: var(--heading-underline-margin-top) auto 0;
  border: 0;
  border-top: var(--heading-underline);
}

/* --- タイムライン --- */

.ae-timeline {
  --ae-row-gap: clamp(11px, 1.75vw, 17px);
  --ae-spine-width: min(100%, 560px);
  --ae-polaroid-max: min(200px, 45vw);

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--ae-row-gap);
  padding-inline: clamp(18px, 4.5vw, 48px);
  overflow: visible;
  box-sizing: border-box;
}

.ae-month {
  position: relative;
  width: 100%;
}

/* 見本：中央付近を軸に左右へ蛇行する月ブロック */
.ae-month--zig {
  display: flex;
  width: 100%;
  max-width: min(100%, 560px);
  margin-inline: auto;
  overflow: visible;
  box-sizing: border-box;
}

.ae-month--zig .ae-month-body {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 22px);
  margin: 0;
  max-width: none;
  overflow: visible;
}

.ae-month--zig-04 {
  justify-content: flex-start;
  padding-left: clamp(8px, 3.5vw, 40px);
}

.ae-month--zig-05 {
  justify-content: center;
}

.ae-month--zig-06 {
  justify-content: center;
  padding-left: clamp(48px, 11vw, 120px);
}

.ae-month--zig-07 {
  justify-content: flex-end;
  padding-right: clamp(12px, 5vw, 52px);
}

.ae-month--zig-08 {
  justify-content: center;
  padding-left: clamp(40px, 9vw, 108px);
}

.ae-month--zig-09 {
  justify-content: center;
  padding-right: clamp(44px, 10vw, 118px);
}

.ae-month--zig-10 {
  justify-content: flex-start;
  padding-left: clamp(4px, 2.5vw, 28px);
}

.ae-month--zig-11 {
  justify-content: center;
  padding-right: clamp(40px, 9vw, 104px);
}

.ae-month--zig-12 {
  justify-content: center;
  padding-left: clamp(40px, 9vw, 104px);
}

.ae-month--zig-01 {
  justify-content: flex-end;
  padding-right: clamp(8px, 4vw, 44px);
}

.ae-month--zig-02 {
  justify-content: center;
  padding-left: clamp(36px, 8.5vw, 100px);
}

.ae-month--zig-03 {
  justify-content: center;
  padding-right: clamp(36px, 8.5vw, 100px);
}

/* 右寄りの月は「行事 → 丸」で丸を右側に */
.ae-month--zig-07 .ae-month-body,
.ae-month--zig-08 .ae-month-body,
.ae-month--zig-12 .ae-month-body,
.ae-month--zig-01 .ae-month-body,
.ae-month--zig-02 .ae-month-body {
  flex-direction: row-reverse;
}

.ae-month--zig-04 .ae-month-body,
.ae-month--zig-05 .ae-month-body,
.ae-month--zig-06 .ae-month-body,
.ae-month--zig-09 .ae-month-body,
.ae-month--zig-10 .ae-month-body,
.ae-month--zig-11 .ae-month-body,
.ae-month--zig-03 .ae-month-body {
  flex-direction: row;
}

.ae-month-circle {
  flex: 0 0 auto;
  width: 92px;
  height: 92px;
  min-width: 92px;
  min-height: 92px;
  margin: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 10px 28px rgba(63, 47, 31, 0.07);
}

.ae-month-label {
  font-size: clamp(15px, 2.4vw, 17px);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #4a4038;
  white-space: nowrap;
  text-align: center;
  line-height: 1.2;
}

.ae-month--07 .ae-month-label {
  color: #5c4f32;
}

.ae-month--01 .ae-month-label {
  color: var(--heading);
}

.ae-event-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: clamp(13.5px, 1.35vw, 15px);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.75;
  color: var(--muted);
  min-width: 0;
}

.ae-month--zig-07 .ae-event-list,
.ae-month--zig-08 .ae-event-list,
.ae-month--zig-12 .ae-event-list,
.ae-month--zig-01 .ae-event-list,
.ae-month--zig-02 .ae-event-list {
  text-align: right;
}

.ae-month--zig-04 .ae-event-list,
.ae-month--zig-05 .ae-event-list,
.ae-month--zig-06 .ae-event-list,
.ae-month--zig-09 .ae-event-list,
.ae-month--zig-10 .ae-event-list,
.ae-month--zig-11 .ae-event-list,
.ae-month--zig-03 .ae-event-list {
  text-align: left;
}

/* 月ごとのパステル（丸の背景） */
.ae-month--04 .ae-month-circle {
  background: #ffd6e4;
}
.ae-month--05 .ae-month-circle {
  background: #c5f0e6;
}
.ae-month--06 .ae-month-circle {
  background: #c9e7ff;
}
.ae-month--07 .ae-month-circle {
  background: #fff3b0;
}
.ae-month--08 .ae-month-circle {
  background: #f2e6d4;
}
.ae-month--09 .ae-month-circle {
  background: #e3e4e8;
}
.ae-month--10 .ae-month-circle {
  background: #ffd9b8;
}
.ae-month--11 .ae-month-circle {
  background: #e8d9c8;
}
.ae-month--12 .ae-month-circle {
  background: #cfefff;
}
.ae-month--01 .ae-month-circle {
  background: #fdfcfa;
  box-shadow:
    0 0 0 1px rgba(63, 47, 31, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 10px 28px rgba(63, 47, 31, 0.06);
}
.ae-month--02 .ae-month-circle {
  background: #dff5c8;
}
.ae-month--03 .ae-month-circle {
  background: #ffd6ea;
}

/* 写真行は 5–6 / 9–10 / 12–1 月のあいだのみ。margin-block でその前後の row-gap だけ相殺 */
.ae-polaroid {
  margin-block: calc(-1 * clamp(30px, 5vw, 52px));
  margin-inline: calc(-1 * clamp(18px, 4.5vw, 48px));
  padding: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  min-height: 0;
}

/* タイムライン：ポラロイド — 左右ガターに寄せ、スパイン（月の列）との隙間を空けすぎない */
.ae-polaroid--tr {
  justify-content: flex-end;
  --ae-polaroid-outer: 0px;
  padding-right: var(--ae-polaroid-outer);
  padding-left: max(
    var(--ae-polaroid-outer),
    min(
      calc((100% - var(--ae-spine-width)) * 0.5 + var(--ae-spine-width) - 6px),
      calc(100% - var(--ae-polaroid-outer) - var(--ae-polaroid-max))
    )
  );
}

.ae-polaroid--tl {
  justify-content: flex-start;
  --ae-polaroid-outer: 0px;
  padding-left: var(--ae-polaroid-outer);
  padding-right: max(
    var(--ae-polaroid-outer),
    min(
      calc((100% - var(--ae-spine-width)) * 0.5 + var(--ae-spine-width) - 6px),
      calc(100% - var(--ae-polaroid-outer) - var(--ae-polaroid-max))
    )
  );
}

.ae-polaroid-inner {
  position: relative;
  background: #fff;
  padding: clamp(7px, 1.6vw, 11px) clamp(7px, 1.6vw, 11px) clamp(14px, 2.2vw, 20px);
  max-width: var(--ae-polaroid-max);
  flex: 0 0 auto;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 8px 24px rgba(63, 47, 31, 0.14),
    0 2px 6px rgba(63, 47, 31, 0.06);
  border-radius: 3px;
}

.ae-polaroid-inner--tilt-right {
  transform: rotate(2.5deg);
}

.ae-polaroid-inner--tilt-left {
  transform: rotate(-2.5deg);
}

.ae-polaroid-inner img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 2px;
  vertical-align: middle;
}

.ae-polaroid-pin {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  line-height: 0;
  filter: drop-shadow(0 2px 3px rgba(63, 47, 31, 0.2));
}

@media (prefers-reduced-motion: reduce) {
  .ae-polaroid-inner--tilt-right,
  .ae-polaroid-inner--tilt-left {
    transform: none;
  }
}

/* --- 三大行事 --- */

.ae-major-list {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 6vw, 56px);
}

.ae-major-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 36px);
  align-items: center;
}

.ae-major-row--reverse .ae-major-media {
  grid-column: 2;
  grid-row: 1;
}

.ae-major-row--reverse .ae-major-copy {
  grid-column: 1;
  grid-row: 1;
}

.ae-major-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: clamp(14px, 2.2vw, 20px);
  box-shadow: 0 14px 36px rgba(63, 47, 31, 0.1);
}

.ae-major-name {
  margin: 0 0 0.65em;
  font-size: clamp(17px, 2.2vw, 20px);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--heading);
}

.ae-major-text {
  margin: 0;
  font-size: clamp(13.5px, 1.25vw, 15px);
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.9;
  color: var(--muted);
}

@media (max-width: 900px) {
  /* 狭い幅：蛇行用 padding・負の margin・傾きをやめ、月ブロックとポラの縦余白を取る */
  .ae-month--zig {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
  }

  .ae-timeline {
    --ae-row-gap: clamp(22px, 4.8vw, 34px);
    --ae-polaroid-max: min(138px, 46vw);
    /* 端へ寄せる：inset を小さく / edge-pull でさらに左右へ（負＝左寄せ側へ） */
    --ae-polaroid-mobile-inset: clamp(0px, 0.4vw, 4px);
    --ae-polaroid-mobile-shift-tl: 0px;
    --ae-polaroid-mobile-shift-tr: 0px;
    --ae-polaroid-mobile-edge-pull-tl: -16px;
    --ae-polaroid-mobile-edge-pull-tr: 16px;
  }

  .ae-polaroid {
    position: relative;
    z-index: 1;
    margin-block: clamp(16px, 4vw, 26px);
    margin-inline: 0;
    padding-top: 14px;
    box-sizing: border-box;
  }

  .ae-polaroid--tl {
    justify-content: flex-start;
    padding-left: max(
      0px,
      calc(var(--ae-polaroid-mobile-inset) + var(--ae-polaroid-mobile-shift-tl))
    );
    padding-right: 0;
  }

  .ae-polaroid--tr {
    justify-content: flex-end;
    padding-right: max(
      0px,
      calc(var(--ae-polaroid-mobile-inset) + var(--ae-polaroid-mobile-shift-tr))
    );
    padding-left: 0;
  }

  .ae-polaroid-inner {
    margin-inline: 0;
  }

  /* 親の --tilt より詳細度が高く、回転の代わりに左右へ押し出す */
  .ae-polaroid--tl .ae-polaroid-inner {
    transform: translateX(var(--ae-polaroid-mobile-edge-pull-tl));
  }

  .ae-polaroid--tr .ae-polaroid-inner {
    transform: translateX(var(--ae-polaroid-mobile-edge-pull-tr));
  }

  /* どうしても被る端末向け：行事テキスト・月丸を手前に */
  .ae-month {
    z-index: 2;
  }
}

/* --- レスポンシブ --- */

@media (max-width: 720px) {
  .ae-timeline {
    --ae-row-gap: clamp(22px, 4.8vw, 34px);
  }

  .ae-month--zig {
    flex-direction: column;
    align-items: center;
  }

  .ae-major-row,
  .ae-major-row--reverse {
    grid-template-columns: 1fr;
  }

  .ae-major-row .ae-major-media,
  .ae-major-row--reverse .ae-major-media {
    grid-column: 1;
    grid-row: 1;
  }

  .ae-major-row .ae-major-copy,
  .ae-major-row--reverse .ae-major-copy {
    grid-column: 1;
    grid-row: 2;
  }
}

/* スマホ実機幅：タイムラインとポラの重なり防止（狭い 720px より後に置き row-gap を上書き） */
@media (max-width: 600px) {
  .ae-month--zig {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
    margin-top: 0;
  }

  .ae-month--zig .ae-month-body {
    flex-direction: column;
    text-align: center;
  }

  .ae-month--zig .ae-event-list {
    text-align: center;
  }

  .ae-timeline {
    --ae-row-gap: clamp(26px, 6.5vw, 42px);
    --ae-polaroid-max: min(102px, 36vw);
    --ae-polaroid-mobile-inset: clamp(0px, 0.3vw, 2px);
    --ae-polaroid-mobile-edge-pull-tl: -22px;
    --ae-polaroid-mobile-edge-pull-tr: 22px;
  }

  .ae-polaroid {
    margin-block: clamp(14px, 4vw, 24px);
    margin-inline: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .ae-polaroid--tl {
    justify-content: flex-start;
    padding-left: max(
        0px,
        calc(var(--ae-polaroid-mobile-inset) + var(--ae-polaroid-mobile-shift-tl))
      )
      !important;
    padding-right: 0 !important;
  }

  .ae-polaroid--tr {
    justify-content: flex-end;
    padding-right: max(
        0px,
        calc(var(--ae-polaroid-mobile-inset) + var(--ae-polaroid-mobile-shift-tr))
      )
      !important;
    padding-left: 0 !important;
  }

  .ae-polaroid-inner {
    margin-inline: 0;
  }

  .ae-polaroid--tl .ae-polaroid-inner {
    transform: translateX(var(--ae-polaroid-mobile-edge-pull-tl));
  }

  .ae-polaroid--tr .ae-polaroid-inner {
    transform: translateX(var(--ae-polaroid-mobile-edge-pull-tr));
  }
}
