/* =================================================================
   My Style — Design System
   ================================================================= */

:root {
  /* Brand colors */
  --color-orange: #ffa029;
  --color-orange-text: #fb9617;
  --color-pink: #f26ba7;
  --color-pink-light: #fce3ee;
  --color-green: #bbd400;
  --color-green-text: #a2b033;
  --color-green-light: #eff4c4;
  --color-blue: #8ac7de;
  --color-blue-text: #71bedb;
  --color-blue-light: #e8f4f9;
  --color-brown: #6e5e52;
  --color-brown-light: #87796f;
  --color-beige: #f4f3ee;
  --color-beige-line: #dfdbc6;
  --color-white: #ffffff;
  --color-text: #6e5e52;
  --color-text-soft: #9b8c80;

  /* Typography */
  --font-heading: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", sans-serif;
  --font-body: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: "Fredoka", "Fredoka One", sans-serif;

  /* Layout */
  --max-w: 1280px;
  --max-w-narrow: 960px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-pill: 9999px;
  --shadow-sm: 0 4px 16px rgba(110, 94, 82, 0.08);
  --shadow-md: 0 8px 32px rgba(110, 94, 82, 0.12);
  --shadow-lg: 0 16px 48px rgba(110, 94, 82, 0.16);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
  --space-8: 6rem;
}

/* =================================================================
   Reset & base
   ================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-beige);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity 0.2s ease; }
a:hover { opacity: 0.75; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { padding-left: 1.2em; }
h1, h2, h3, h4, h5 { font-family: var(--font-heading); font-weight: 800; line-height: 1.4; letter-spacing: 0.02em; margin: 0; color: var(--color-brown); }

/* =================================================================
   Layout containers
   ================================================================= */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--space-4); }
.container-narrow { width: 100%; max-width: var(--max-w-narrow); margin: 0 auto; padding: 0 var(--space-4); }
.section { padding: var(--space-8) 0; }
.section-tight { padding: var(--space-7) 0; }
.section-spacious { padding: calc(var(--space-8) + var(--space-3)) 0; }

@media (max-width: 768px) {
  .section { padding: var(--space-7) 0; }
  .section-tight { padding: var(--space-6) 0; }
  .section-spacious { padding: var(--space-7) 0; }
}

/* =================================================================
   Section headers
   ================================================================= */
.section-head { text-align: center; margin-bottom: var(--space-6); }
.section-head .eyebrow {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-orange);
  letter-spacing: 0.22em;
  margin-bottom: var(--space-3);
}
.section-head h2 {
  font-size: clamp(1.7rem, 4.4vw, 2.6rem);
  margin-bottom: var(--space-3);
}
.section-head .lead {
  color: var(--color-text-soft);
  font-size: 1.15rem;
  line-height: 1.95;
}
@media (max-width: 600px) {
  .section-head .eyebrow { font-size: 1.1rem; }
  .section-head .lead { font-size: 1.02rem; line-height: 1.85; }
}
.nowrap { white-space: nowrap; }
.section-head .heading-deco {
  display: inline-block;
  padding-bottom: 0.4em;
  background: linear-gradient(transparent 70%, rgba(255, 160, 41, 0.25) 70%);
}

/* =================================================================
   Buttons
   ================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.95rem 1.8rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  transition: all 0.25s ease;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.btn-primary {
  background: var(--color-orange);
  color: var(--color-white);
}
.btn-primary:hover { background: #ff9013; opacity: 1; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary {
  background: var(--color-white);
  color: var(--color-brown);
  border: 2px solid var(--color-beige-line);
}
.btn-secondary:hover { background: var(--color-white); opacity: 1; transform: translateY(-2px); border-color: var(--color-orange); color: var(--color-orange); }
.btn-pink { background: var(--color-pink); color: var(--color-white); }
.btn-pink:hover { background: #ee5594; opacity: 1; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-arrow::after { content: "→"; transition: transform 0.25s ease; }
.btn:hover .btn-arrow::after, .btn-arrow:hover::after { transform: translateX(4px); }
.btn-lg { padding: 1.25rem 2.4rem; font-size: 1.12rem; }

/* =================================================================
   Header
   ================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 243, 238, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(223, 219, 198, 0.5);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding: 1.3rem var(--space-5);
  max-width: var(--max-w);
  margin: 0 auto;
}
.site-header__logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}
.site-header__logo img { width: 68px; height: 68px; object-fit: contain; flex-shrink: 0; }
.site-header__logo-text {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  color: var(--color-brown);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.site-header__logo-sub {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  color: var(--color-text-soft);
  margin-top: 4px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.site-header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.site-header__nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-header__nav-list a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-brown);
  position: relative;
  white-space: nowrap;
}
.site-header__nav-list a:hover { color: var(--color-orange); opacity: 1; }
.site-header__cta { display: flex; gap: 0.5rem; }
.site-header__cta .btn { padding: 0.7rem 1.25rem; font-size: 0.98rem; }

.site-header__burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--color-white);
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-beige-line);
}
.site-header__burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-brown);
  position: relative;
}
.site-header__burger span::before,
.site-header__burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-brown);
}
.site-header__burger span::before { top: -7px; }
.site-header__burger span::after { top: 7px; }

@media (max-width: 1180px) {
  .site-header__nav-list { gap: var(--space-2); }
  .site-header__nav-list a { font-size: 0.92rem; }
  .site-header__cta .btn { padding: 0.6rem 0.95rem; font-size: 0.9rem; }
}
@media (max-width: 1024px) {
  .site-header__nav { display: none; }
  .site-header__burger { display: inline-flex; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--color-beige);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: var(--space-4);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-5); }
.mobile-menu__close {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-beige-line);
  font-size: 1.5rem;
  color: var(--color-brown);
}
.mobile-menu__list { list-style: none; padding: 0; margin: 0; }
.mobile-menu__list li { border-bottom: 1px dashed var(--color-beige-line); }
.mobile-menu__list a {
  display: block;
  padding: 1.1rem 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-brown);
}
.mobile-menu__cta { margin-top: var(--space-5); display: grid; gap: var(--space-3); }
.mobile-menu__cta .btn { width: 100%; justify-content: center; }

/* =================================================================
   Hero
   ================================================================= */
.hero {
  position: relative;
  padding: var(--space-7) 0 var(--space-8);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 25%, rgba(242, 107, 167, 0.12), transparent 38%),
    radial-gradient(circle at 85% 18%, rgba(187, 212, 0, 0.14), transparent 40%),
    radial-gradient(circle at 30% 85%, rgba(138, 199, 222, 0.16), transparent 42%),
    radial-gradient(circle at 80% 80%, rgba(255, 160, 41, 0.14), transparent 38%);
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-6);
  align-items: center;
}
.hero__copy h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: var(--space-4);
  line-height: 1.35;
}
.hero__copy h1 .accent {
  display: inline-block;
  background: linear-gradient(transparent 65%, rgba(255, 160, 41, 0.28) 65%);
  padding: 0 0.2em;
}
.hero__copy .tagline {
  font-family: var(--font-accent);
  color: var(--color-orange);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-3);
  display: inline-block;
}
.hero__copy .lead {
  font-size: 1.05rem;
  color: var(--color-brown-light);
  margin-bottom: var(--space-5);
  max-width: 480px;
}
.hero__cta { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.hero__badges { margin-top: var(--space-5); display: flex; gap: var(--space-3); flex-wrap: wrap; }
.hero__badge {
  background: var(--color-white);
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.2rem 0.65rem 0.65rem;
  font-size: 1rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-brown);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.hero__badge img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
}

.hero__visual {
  position: relative;
}
.hero__visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.hero__visual::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--color-pink);
  border-radius: 50%;
  opacity: 0.85;
  z-index: -1;
}
.hero__visual::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 80px;
  height: 80px;
  background: var(--color-green);
  border-radius: 50%;
  opacity: 0.85;
  z-index: -1;
}
.hero__visual-tag {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  background: var(--color-white);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-orange);
  box-shadow: var(--shadow-md);
}

@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--space-5); }
  .hero__visual { order: -1; max-width: 420px; margin: 0 auto; }
  .hero__visual img { aspect-ratio: 4/3; }
  .hero { padding: var(--space-5) 0 var(--space-7); }
}

/* =================================================================
   Sub-page hero
   ================================================================= */
.page-hero {
  padding: var(--space-7) 0 var(--space-6);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 160, 41, 0.10), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(138, 199, 222, 0.12), transparent 40%);
  z-index: 0;
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero .eyebrow {
  font-family: var(--font-accent);
  color: var(--color-orange);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  display: inline-block;
  margin-bottom: var(--space-3);
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  margin-bottom: var(--space-3);
}
.page-hero .lead {
  max-width: 640px;
  margin: 0 auto;
  color: var(--color-brown-light);
  font-size: 1.15rem;
  line-height: 1.95;
}
@media (max-width: 600px) {
  .page-hero .lead { font-size: 1.02rem; line-height: 1.85; }
}

/* =================================================================
   Pillars (3 strengths)
   ================================================================= */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.pillar {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-4);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pillar__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-3);
  font-size: 2rem;
  background: var(--color-orange);
  color: var(--color-white);
}
.pillar--pink .pillar__icon { background: var(--color-pink); }
.pillar--green .pillar__icon { background: var(--color-green); color: var(--color-brown); }
.pillar--blue .pillar__icon { background: var(--color-blue); }
.pillar h3 { font-size: 1.5rem; margin-bottom: var(--space-2); }
.pillar p { font-size: 1rem; color: var(--color-brown-light); line-height: 1.85; }
.pillar__num {
  position: absolute;
  top: 12px;
  right: 16px;
  font-family: var(--font-accent);
  font-size: 1.5rem;
  color: var(--color-beige-line);
}

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

/* =================================================================
   Service cards (alternating)
   ================================================================= */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
  margin-bottom: var(--space-7);
}
.service-row:last-child { margin-bottom: 0; }
.service-row--reverse .service-row__visual { order: 2; }
.service-row__visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.service-row__copy h3 {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.service-row__copy h3 .num {
  font-family: var(--font-accent);
  font-size: 1.4rem;
  color: var(--color-white);
  background: var(--color-orange);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-row__copy p { color: var(--color-brown-light); }

@media (max-width: 760px) {
  .service-row { grid-template-columns: 1fr; gap: var(--space-4); }
  .service-row--reverse .service-row__visual { order: 0; }
}

/* =================================================================
   Schedule table (1日の流れ)
   ================================================================= */
.schedule-tabs {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  margin-bottom: var(--space-5);
}
.schedule-tab {
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-pill);
  background: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-brown);
  border: 2px solid transparent;
  transition: all 0.2s ease;
}
.schedule-tab.is-active {
  background: var(--color-orange);
  color: var(--color-white);
  border-color: var(--color-orange);
}
.schedule {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-6);
  box-shadow: var(--shadow-sm);
  display: none;
  position: relative;
  max-width: 920px;
  margin: 0 auto;
}
.schedule.is-active { display: block; }
/* タイムライン縦線(時間を連続させる装飾) */
.schedule::before {
  content: "";
  position: absolute;
  left: calc(var(--space-6) + 9px);
  top: var(--space-6);
  bottom: var(--space-6);
  width: 3px;
  background: linear-gradient(to bottom,
    var(--color-orange) 0%,
    var(--color-pink) 50%,
    var(--color-blue) 100%);
  border-radius: 3px;
  z-index: 0;
  opacity: 0.45;
  transform: scaleY(0);
  transform-origin: top center;
}
/* スクロール検出後+タブで is-active になった時に縦線が伸びる */
.schedule.is-active.is-visible::before {
  animation: timelineGrow 4s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
@keyframes timelineGrow {
  0%   { transform: scaleY(0); }
  100% { transform: scaleY(1); }
}

.schedule__row {
  display: grid;
  grid-template-columns: 22px 170px minmax(0, 1fr);
  column-gap: var(--space-4);
  padding: var(--space-3) 0;
  align-items: start;
  position: relative;
  border-bottom: none;
  opacity: 0;
  transform: translateX(-10px);
}
/* スクロール検出後+タブで is-active になった時に各行が順番にフェードイン */
.schedule.is-active.is-visible .schedule__row {
  animation: rowAppear 0.75s ease-out forwards;
}
.schedule.is-active.is-visible .schedule__row:nth-child(1) { animation-delay: 0.40s; }
.schedule.is-active.is-visible .schedule__row:nth-child(2) { animation-delay: 0.75s; }
.schedule.is-active.is-visible .schedule__row:nth-child(3) { animation-delay: 1.10s; }
.schedule.is-active.is-visible .schedule__row:nth-child(4) { animation-delay: 1.45s; }
.schedule.is-active.is-visible .schedule__row:nth-child(5) { animation-delay: 1.80s; }
.schedule.is-active.is-visible .schedule__row:nth-child(6) { animation-delay: 2.15s; }
.schedule.is-active.is-visible .schedule__row:nth-child(7) { animation-delay: 2.50s; }
.schedule.is-active.is-visible .schedule__row:nth-child(8) { animation-delay: 2.85s; }
@keyframes rowAppear {
  0%   { opacity: 0; transform: translateX(-10px); }
  100% { opacity: 1; transform: translateX(0); }
}
/* タイムラインのドット */
.schedule__row::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-white);
  border: 3px solid var(--color-orange);
  margin-top: 0.45em;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.95);
}
.schedule__row:nth-child(2)::before { border-color: var(--color-pink); }
.schedule__row:nth-child(3)::before { border-color: var(--color-blue-text); }
.schedule__row:nth-child(4)::before { border-color: var(--color-green-text); }
.schedule__row:nth-child(5)::before { border-color: var(--color-orange); }
.schedule__row:nth-child(6)::before { border-color: var(--color-pink); }
.schedule__row:nth-child(7)::before { border-color: var(--color-blue-text); }
.schedule__row:nth-child(8)::before { border-color: var(--color-green-text); }

.schedule__time {
  font-family: var(--font-accent);
  color: var(--color-orange-text);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding-top: 0.35em;
}
.schedule__act {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-brown);
  font-size: 1.2rem;
  padding-top: 0.35em;
  line-height: 1.5;
}
.schedule__act-sub {
  font-size: 0.98rem;
  color: var(--color-text-soft);
  display: block;
  margin-top: 0.4rem;
  font-weight: 400;
  line-height: 1.75;
}

@media (max-width: 720px) {
  .schedule { padding: var(--space-5) var(--space-4); }
  .schedule::before { left: calc(var(--space-4) + 9px); }
  .schedule__row {
    grid-template-columns: 22px 1fr;
    grid-template-areas: "dot time" "dot act";
    column-gap: var(--space-3);
    row-gap: 0.3rem;
  }
  .schedule__row::before { grid-area: dot; margin-top: 0.3em; }
  .schedule__time { grid-area: time; font-size: 1.05rem; }
  .schedule__act { grid-area: act; font-size: 1.1rem; padding-top: 0; }
}

/* =================================================================
   Gallery
   ================================================================= */
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--space-3);
  height: 480px;
}
.gallery > * {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}
.gallery > *:nth-child(1) { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery > *:hover img { transform: scale(1.05); }

@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px 200px; height: auto; }
  .gallery > *:nth-child(1) { grid-row: span 1; grid-column: span 2; }
}

/* =================================================================
   News list
   ================================================================= */
.news-list { display: grid; gap: var(--space-3); }
.news-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  display: grid;
  grid-template-columns: 120px 100px 1fr auto;
  gap: var(--space-4);
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.news-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); opacity: 1; }
.news-card__date {
  font-family: var(--font-accent);
  color: var(--color-text-soft);
  font-size: 0.92rem;
  letter-spacing: 0.05em;
}
.news-card__tag {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--color-orange);
  color: var(--color-white);
  font-size: 0.78rem;
  font-family: var(--font-heading);
  font-weight: 700;
  text-align: center;
  width: fit-content;
}
.news-card__tag--recruit { background: var(--color-pink); }
.news-card__tag--event { background: var(--color-green); color: var(--color-brown); }
.news-card__tag--info { background: var(--color-blue); }
.news-card__title { font-weight: 600; color: var(--color-brown); line-height: 1.5; }
.news-card__arrow { color: var(--color-orange); font-size: 1.5rem; }

@media (max-width: 760px) {
  .news-card { grid-template-columns: 1fr; gap: var(--space-2); padding: var(--space-3); }
  .news-card__arrow { display: none; }
}

/* =================================================================
   FAQ
   ================================================================= */
.faq-list { display: grid; gap: var(--space-3); max-width: var(--max-w-narrow); margin: 0 auto; }
.faq {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-sm);
}
.faq__q {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-brown);
  font-size: 1rem;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::before {
  content: "Q";
  font-family: var(--font-accent);
  background: var(--color-orange);
  color: var(--color-white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.faq__q::after {
  content: "+";
  margin-left: auto;
  color: var(--color-orange);
  font-size: 1.5rem;
  font-weight: 700;
  transition: transform 0.2s ease;
}
.faq[open] .faq__q::after { transform: rotate(45deg); }
.faq__a {
  padding-top: var(--space-3);
  margin-top: var(--space-3);
  border-top: 1px dashed var(--color-beige-line);
  color: var(--color-brown-light);
  display: flex;
  gap: var(--space-3);
}
.faq__a::before {
  content: "A";
  font-family: var(--font-accent);
  color: var(--color-pink);
  font-size: 1.05rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* =================================================================
   Access / Info table
   ================================================================= */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.info-table th, .info-table td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  border-bottom: 1px dashed var(--color-beige-line);
  vertical-align: top;
}
.info-table th {
  width: 180px;
  background: var(--color-beige);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-brown);
  font-size: 1rem;
}
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }

@media (max-width: 600px) {
  .info-table th, .info-table td { display: block; width: 100%; padding: var(--space-2) var(--space-3); }
  .info-table th { background: var(--color-beige); border-bottom: none; }
  .info-table td { border-bottom: 1px solid var(--color-beige-line); }
}

/* =================================================================
   CTA banner
   ================================================================= */
.cta-banner {
  background: linear-gradient(135deg, var(--color-orange), #ff7e1d);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before, .cta-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.18;
}
.cta-banner::before {
  width: 200px; height: 200px;
  background: var(--color-white);
  top: -60px; right: -60px;
}
.cta-banner::after {
  width: 140px; height: 140px;
  background: var(--color-white);
  bottom: -40px; left: -40px;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--color-white); font-size: clamp(1.4rem, 3.5vw, 2rem); margin-bottom: var(--space-3); }
.cta-banner p { font-size: 1.02rem; margin-bottom: var(--space-4); }
.cta-banner__buttons { display: flex; gap: var(--space-3); justify-content: center; flex-wrap: wrap; }
.cta-banner .btn-primary { background: var(--color-white); color: var(--color-orange); }
.cta-banner .btn-primary:hover { background: var(--color-beige); }
.cta-banner .btn-secondary { background: transparent; color: var(--color-white); border-color: var(--color-white); }
.cta-banner .btn-secondary:hover { background: var(--color-white); color: var(--color-orange); }

/* =================================================================
   Footer
   ================================================================= */
.site-footer {
  background: var(--color-brown);
  color: rgba(255, 255, 255, 0.85);
  padding: var(--space-7) 0 var(--space-4);
  font-size: 0.92rem;
}
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: var(--color-orange); opacity: 1; }

.site-footer__top {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.1fr 1.3fr;
  gap: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
}
.site-footer__col h4 {
  color: var(--color-white);
  font-size: 0.95rem;
  margin: 0 0 var(--space-3);
  font-family: var(--font-heading);
  padding-bottom: var(--space-2);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
}

/* Brand column */
.site-footer__col--brand img.logo-main {
  width: 96px; height: 96px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  padding: 8px;
}
.site-footer__col--brand h3 {
  color: var(--color-white);
  font-family: var(--font-accent);
  font-size: 1.25rem;
  margin: var(--space-3) 0 0.4rem;
}
.site-footer__col--brand > p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin: 0 0 var(--space-3);
}
.site-footer__brand-org {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-top: var(--space-3);
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
  margin-top: var(--space-3);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}
.site-footer__brand-org img {
  width: 36px; height: 36px;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

/* Contact column */
.site-footer__contact-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}
.site-footer__contact-row strong {
  color: var(--color-white);
  font-family: var(--font-accent);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  min-width: 3.2rem;
}
.site-footer__address {
  font-size: 0.82rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  margin: var(--space-2) 0 0;
}

/* Hours column */
.site-footer__hours {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: var(--space-3);
  row-gap: 0.35rem;
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.6;
}
.site-footer__hours dt {
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-accent);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding-top: 0.2em;
}
.site-footer__hours dd { margin: 0; }

/* Map column */
.site-footer__map { display: flex; flex-direction: column; }
.site-footer__map iframe {
  width: 100%;
  height: 200px;
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  background: rgba(255, 255, 255, 0.08);
}
.site-footer__map a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-orange);
  text-decoration: underline;
  align-self: flex-end;
}

/* Bottom links row */
.site-footer__links {
  list-style: none;
  padding: var(--space-3) 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2) var(--space-5);
  font-size: 0.85rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
}
.site-footer__links li { margin: 0; }
.site-footer__muted {
  color: rgba(255, 255, 255, 0.35);
  cursor: default;
}

.site-footer__bottom {
  padding-top: var(--space-3);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

@media (max-width: 980px) {
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .site-footer__col--map { grid-column: 1 / -1; }
  .site-footer__map iframe { height: 220px; }
}
@media (max-width: 560px) {
  .site-footer__top { grid-template-columns: 1fr; }
  .site-footer__map iframe { height: 200px; }
}

/* =================================================================
   Article (news detail)
   ================================================================= */
.article {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5);
  box-shadow: var(--shadow-sm);
  max-width: var(--max-w-narrow);
  margin: 0 auto;
}
.article__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  font-size: 0.9rem;
  color: var(--color-text-soft);
}
.article h1 {
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 2px dashed var(--color-beige-line);
}
.article h2 {
  font-size: 1.3rem;
  margin: var(--space-5) 0 var(--space-3);
  padding-left: var(--space-3);
  border-left: 4px solid var(--color-orange);
}
.article h3 { font-size: 1.1rem; margin: var(--space-4) 0 var(--space-2); color: var(--color-orange); }
.article p { margin: 0 0 var(--space-3); }
.article ul, .article ol { margin: 0 0 var(--space-3); padding-left: 1.3em; }
.article ul li { margin-bottom: 0.4em; }
.article .article__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: var(--space-3);
  color: var(--color-text-soft);
  font-size: 0.92rem;
}

/* =================================================================
   Form
   ================================================================= */
/* 送信完了サンクス画面 */
.form-thanks {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-5);
  box-shadow: var(--shadow-sm);
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  text-align: center;
}
.form-thanks__icon {
  width: 72px; height: 72px;
  margin: 0 auto var(--space-4);
  background: var(--color-orange);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(255, 160, 41, 0.3);
}
.form-thanks h3 {
  font-size: 1.4rem;
  color: var(--color-orange-text);
  margin: 0 0 var(--space-3);
}
.form-thanks p {
  color: var(--color-brown-light);
  line-height: 1.85;
  margin: 0 0 var(--space-4);
}
.form-thanks__back {
  margin-top: var(--space-4);
}

.form {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: var(--space-4);
  max-width: var(--max-w-narrow);
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
}
@media (max-width: 600px) {
  .form { padding: var(--space-5) var(--space-4); }
  .form__radio-group { flex-direction: column; gap: 0.6rem; align-items: stretch; }
  .form__radio { width: 100%; }
  .form__submit .btn { min-width: auto; width: 100%; }
}
.form__row { display: grid; gap: 0.5rem; }
.form__row label {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-brown);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.form__row .required {
  font-size: 0.75rem;
  background: var(--color-pink);
  color: var(--color-white);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-weight: 700;
}
.form__row .optional {
  font-size: 0.75rem;
  background: var(--color-beige-line);
  color: var(--color-brown);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}
.form__row input,
.form__row textarea,
.form__row select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.9rem 1rem;
  border: 2px solid var(--color-beige-line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-brown);
  background: var(--color-beige);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.form__row input:focus,
.form__row textarea:focus,
.form__row select:focus {
  outline: none;
  border-color: var(--color-orange);
  background: var(--color-white);
}
.form__row textarea { min-height: 160px; resize: vertical; line-height: 1.7; }
.form__radio-group { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.form__radio { display: inline-flex; align-items: center; gap: 0.4rem; cursor: pointer; }
.form__radio input { padding: 0; }
.form__privacy {
  font-size: 0.88rem;
  color: var(--color-brown-light);
  padding: var(--space-3);
  background: var(--color-beige);
  border-radius: var(--radius-sm);
}
.form__privacy a { color: var(--color-orange); text-decoration: underline; }
.form__submit { text-align: center; }
.form__submit .btn { min-width: 280px; justify-content: center; }

/* =================================================================
   Utility
   ================================================================= */
.text-center { text-align: center; }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.bg-beige { background: var(--color-beige); }
.bg-pink-light { background: var(--color-pink-light); }
.bg-green-light { background: var(--color-green-light); }
.bg-blue-light { background: var(--color-blue-light); }
.bg-white { background: var(--color-white); }
.section-fade-to-footer { background: linear-gradient(180deg, #ffffff 0%, var(--color-beige) 55%, #c9b8a8 100%); }

/* /users.html ナビゲーションバナー(TOP内/利用検討者向け集約点) */
.users-nav { background: var(--color-white); border-radius: var(--radius-lg); padding: var(--space-5) var(--space-6); box-shadow: 0 12px 30px rgba(110,94,82,0.1); max-width: 980px; margin: 0 auto; }
.users-nav__head { text-align: center; margin-bottom: var(--space-4); }
.users-nav__head h3 { font-size: 1.4rem; color: var(--color-brown); margin: 0 0 0.4rem; font-family: var(--font-heading); }
.users-nav__head p { color: var(--color-brown-light); margin: 0; font-size: 0.95rem; }
.users-nav__chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
@media (max-width: 720px) { .users-nav { padding: var(--space-4); } .users-nav__chips { grid-template-columns: repeat(2, 1fr); } }
.users-nav__chip { background: var(--color-beige); color: var(--color-brown); padding: var(--space-3) var(--space-2); border-radius: var(--radius-md); text-decoration: none; font-weight: 700; text-align: center; font-size: 0.98rem; transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease; border: 1px solid var(--color-beige-line); }
.users-nav__chip:hover { transform: translateY(-3px); background: var(--color-orange); color: var(--color-white); border-color: var(--color-orange); }
.users-nav__chip-icon { display: block; font-family: var(--font-accent); font-size: 0.85rem; font-weight: 700; color: var(--color-orange); letter-spacing: 0.1em; margin-bottom: 0.35rem; }
.users-nav__chip:hover .users-nav__chip-icon { color: var(--color-white); }
.section-fade-to-footer--from-beige { background: linear-gradient(180deg, var(--color-beige) 0%, #e0d4c4 50%, #c9b8a8 100%); }
@media (max-width: 600px) {
  /* CTA(footer 直前)セクションの上下余白をモバイルで抑える */
  .section.section-fade-to-footer { padding: var(--space-5) 0 var(--space-6); }
}
.text-orange { color: var(--color-orange); }
.text-pink { color: var(--color-pink); }
.note { font-size: 0.85rem; color: var(--color-text-soft); }

/* =================================================================
   Accordion details/summary base
   ================================================================= */
details > summary { cursor: pointer; }

/* =================================================================
   Illustration-based components (added in Phase 1 redesign)
   ================================================================= */

/* Hero with hand-drawn illustration */
.hero-illust {
  position: relative;
  padding: var(--space-5) 0 var(--space-6);
  /* Fill the first viewport so the next section is just out of view.
     Subtract header (≈100px) + news-strip (≈60px) + divider (≈48px) ≈ 208px */
  min-height: calc(100vh - 200px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 30%, rgba(255, 222, 188, 0.4), transparent 38%),
    radial-gradient(circle at 88% 20%, rgba(204, 234, 255, 0.45), transparent 40%),
    radial-gradient(circle at 30% 90%, rgba(220, 245, 200, 0.4), transparent 40%);
}
/* Hero uses a wider container than other sections */
.hero-illust > .container { max-width: 1500px; }
@media (max-width: 880px) {
  .hero-illust {
    /* On mobile, the hero is taller (stacked layout) — relax the min-height */
    min-height: calc(100vh - 240px);
  }
}
@media (max-width: 600px) {
  .hero-illust {
    /* For small phones with chrome bars, keep min-height reasonable */
    min-height: auto;
    padding: var(--space-5) 0;
  }
}
.hero-illust::before, .hero-illust::after {
  content: "";
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.6;
  pointer-events: none;
}
.hero-illust::before {
  width: 80px; height: 60px;
  top: 8%; left: 6%;
  background-image: url("/images/illustrations/deco-clouds.png");
}
.hero-illust::after {
  width: 130px; height: 75px;
  bottom: 12%; right: 5%;
  background-image: url("/images/illustrations/deco-bunting.png");
}
.hero-illust__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-5);
  align-items: center;
}
.hero-illust__copy {
  max-width: 100%;
  margin: 0;
}
.hero-illust__tagline {
  display: block;
  text-align: left;
  font-family: var(--font-accent);
  color: var(--color-orange);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  margin-bottom: var(--space-4);
}
.hero-illust__tagline .dot {
  display: inline-block;
  margin: 0 0.35em;
  color: var(--color-pink);
  transform: translateY(-2px);
}
.hero-illust__title {
  font-size: clamp(1.9rem, 3.3vw, 2.7rem);
  line-height: 1.8;
  margin-bottom: var(--space-4);
  letter-spacing: 0.01em;
}
.hero-illust__title .nowrap {
  /* Keep "その子らしさを大切に、" on a single line on PC */
  white-space: nowrap;
  display: inline-block;
}
@media (max-width: 880px) {
  .hero-illust__title .nowrap { white-space: normal; }
}
.hero-illust__title .marker {
  background: linear-gradient(transparent 65%, rgba(255, 160, 41, 0.28) 65%);
  padding: 0 0.15em;
}
.hero-illust__lead {
  color: var(--color-brown-light);
  font-size: 1.3rem;
  line-height: 1.95;
  max-width: 100%;
  margin: 0 0 var(--space-5);
}
.hero-illust__main {
  max-width: 100%;
  margin: 0;
}
.hero-illust__main { position: relative; }
.hero-illust__main > img {
  width: 100%;
  height: auto;
  max-width: 980px;
  display: block;
  margin: 0 auto;
  animation: none !important;
  transform: none !important;
}
.hero-illust__main .hero-floating img {
  max-width: 100%;
  animation: none;
}

/* Small playful decorations floating around the hero illustration */
.hero-floating {
  position: absolute;
  pointer-events: none;
  z-index: 3;
}
.hero-floating img { width: 100%; height: auto; display: block; }

/* Each decoration has its own playful animation */
.hero-floating--bob1 { animation: floatBob1 3.2s ease-in-out infinite; }
.hero-floating--bob2 { animation: floatBob2 3.8s ease-in-out infinite 0.4s; }
.hero-floating--bob3 { animation: floatBob3 4.4s ease-in-out infinite 0.9s; }
.hero-floating--bob4 { animation: floatBob4 3.6s ease-in-out infinite 1.4s; }

/* bob1: bouncy up-down + rotate */
@keyframes floatBob1 {
  0%, 100% { transform: translate(0, 0) rotate(-8deg); }
  25% { transform: translate(-4px, -10px) rotate(0deg); }
  50% { transform: translate(0, -18px) rotate(10deg); }
  75% { transform: translate(4px, -10px) rotate(0deg); }
}
/* bob2: side-to-side swing */
@keyframes floatBob2 {
  0%, 100% { transform: translate(0, 0) rotate(6deg); }
  50% { transform: translate(-10px, -14px) rotate(-12deg); }
}
/* bob3: figure-8 like */
@keyframes floatBob3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(6px, -8px) rotate(8deg); }
  50% { transform: translate(0, -16px) rotate(-6deg); }
  75% { transform: translate(-6px, -8px) rotate(8deg); }
}
/* bob4: spin & float */
@keyframes floatBob4 {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(8px, -14px) rotate(15deg); }
  100% { transform: translate(0, 0) rotate(360deg); }
}

@media (max-width: 600px) {
  .hero-floating { transform: scale(0.7); transform-origin: center; }
}
.hero-illust__cta { display: flex; gap: var(--space-3); justify-content: flex-start; flex-wrap: wrap; }
.hero-illust__badges { margin-top: var(--space-4); display: flex; gap: var(--space-2); justify-content: flex-start; flex-wrap: wrap; }

@media (max-width: 880px) {
  .hero-illust__inner {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    text-align: center;
  }
  .hero-illust__tagline { text-align: center; }
  .hero-illust__lead { margin: 0 auto var(--space-4); }
  .hero-illust__main img { max-width: 480px; margin: 0 auto; }
  .hero-illust__cta { justify-content: center; }
  .hero-illust__badges { justify-content: center; }
}
@media (max-width: 600px) {
  .hero-illust__title { font-size: clamp(1.5rem, 6vw, 1.9rem); }
  .hero-illust__lead { font-size: 0.98rem; }
  .hero-illust__tagline { font-size: 1.05rem; }
  .hero-illust__main img { max-width: 380px; }
}

/* Feature circles (4-card layout) */
.feature-circles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}
.feature-circles img { width: 100%; height: auto; display: block; transition: transform 0.3s ease; }
.feature-circles a:hover img,
.feature-circles div:hover img { transform: translateY(-6px); }

@media (max-width: 880px) {
  .feature-circles { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
}
@media (max-width: 480px) {
  .feature-circles { grid-template-columns: repeat(2, 1fr); gap: var(--space-2); }
}

/* Program ribbons (5 cards with ribbon label) */
.programs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-3);
}
.program {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.program:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.program__ribbon {
  max-width: 140px;
  margin: 0 auto var(--space-3);
  display: block;
}
.program__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-2);
}
.program__icon img { width: 100%; height: 100%; object-fit: contain; }
.program p {
  font-size: 0.85rem;
  color: var(--color-brown-light);
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 1000px) {
  .programs { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .programs { grid-template-columns: repeat(2, 1fr); }
}

/* Activity scenes grid */
.scenes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-4);
}
.scene-item {
  text-align: center;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-3);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease;
}
.scene-item:hover { transform: translateY(-4px); }
.scene-item img {
  max-height: 140px;
  width: auto;
  margin: 0 auto var(--space-3);
  display: block;
}
.scene-item h3 { font-size: 1rem; margin-bottom: var(--space-2); }
.scene-item p { font-size: 0.85rem; color: var(--color-brown-light); margin: 0; }

/* Section header with ribbon banner */
.banner-head {
  text-align: center;
  margin-bottom: var(--space-5);
}
.banner-head img {
  max-width: 260px;
  margin: 0 auto var(--space-3);
  display: block;
}
.banner-head p {
  color: var(--color-text-soft);
  font-size: 0.95rem;
  margin: 0;
}

/* Steps with hand-drawn step image */
.steps-illust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  max-width: 980px;
  margin: 0 auto;
  position: relative;
}
.step-illust {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.step-illust__num {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: var(--color-orange);
  color: var(--color-white);
  font-family: var(--font-accent);
  font-size: 1.3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.step-illust:nth-child(2) .step-illust__num { background: var(--color-pink); }
.step-illust:nth-child(3) .step-illust__num { background: var(--color-green); color: var(--color-brown); }
.step-illust img { max-height: 200px; max-width: 90%; width: auto; height: auto; object-fit: contain; margin: var(--space-3) auto var(--space-2); display: block; }
.step-illust h3 { font-size: 1.05rem; margin-bottom: var(--space-2); }
.step-illust p { font-size: 0.88rem; color: var(--color-brown-light); margin: 0; }

@media (max-width: 760px) {
  .steps-illust { grid-template-columns: 1fr; gap: var(--space-5); }
}

/* Footer town scene */
.town-scene {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: block;
}

/* Kid characters row (decorative) */
.kids-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin: var(--space-5) auto 0;
  max-width: 800px;
}
.kids-row img { max-height: 80px; width: auto; }

/* =================================================================
   New TOP layout components (Phase 2)
   ================================================================= */

/* News strip — compact news bar under hero */
.news-strip {
  background: var(--color-white);
  border-radius: var(--radius-pill);
  padding: var(--space-2) var(--space-4);
  max-width: 880px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.92rem;
}
.news-strip__label {
  background: var(--color-orange);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}
.news-strip__items {
  display: flex;
  gap: var(--space-4);
  flex: 1;
  overflow: hidden;
}
.news-strip__item {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  color: var(--color-brown);
}
.news-strip__date { color: var(--color-text-soft); font-family: var(--font-accent); font-size: 0.85rem; }
.news-strip__more { color: var(--color-orange); font-weight: 700; }
@media (max-width: 720px) {
  .news-strip { flex-direction: column; align-items: stretch; padding: var(--space-3); border-radius: var(--radius-md); }
  .news-strip__items { flex-direction: column; gap: var(--space-2); }
}

/* 3 pillars あそぶ・まなぶ・いきる */
.pillars-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-7);
  max-width: 1400px;
  margin: 0 auto;
}
.pillar-3 {
  text-align: center;
  padding: var(--space-5) var(--space-4);
}
.pillar-3__num {
  font-family: var(--font-accent);
  color: var(--color-orange);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  display: block;
  margin-bottom: var(--space-4);
}
.pillar-3__icon {
  margin: 0 auto var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 240px;
  width: 100%;
  overflow: visible;
}
.pillar-3__icon img {
  height: 240px;
  width: auto;
  max-width: 460px;       /* generous — wider images fully visible */
  object-fit: contain;
  display: block;
}
.pillar-3__jp {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--color-brown);
  margin-bottom: var(--space-2);
  line-height: 1.2;
}
.pillar-3__cat {
  display: inline-block;
  background: var(--color-orange);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.45rem 1.4rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-4);
}
.pillar-3:nth-child(2) .pillar-3__cat { background: var(--color-blue-text); }
.pillar-3:nth-child(3) .pillar-3__cat { background: var(--color-pink); }
.pillar-3:nth-child(2) .pillar-3__num { color: var(--color-blue-text); }
.pillar-3:nth-child(3) .pillar-3__num { color: var(--color-pink); }
.pillar-3 p {
  color: var(--color-brown-light);
  font-size: 1.05rem;
  line-height: 1.95;
  margin: 0;
  /* Japanese-friendly text wrapping — balance lines and avoid awkward orphans */
  text-wrap: balance;
  -webkit-text-wrap: balance;
  line-break: strict;
  word-break: auto-phrase;
  text-align: center;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 880px) {
  .pillars-3 { gap: var(--space-4); }
  .pillar-3__icon { height: 200px; }
  .pillar-3__icon img { height: 200px; max-width: 100%; }
  .pillar-3__jp { font-size: 2rem; }
  .pillar-3__num { font-size: 1.15rem; }
}
@media (max-width: 760px) {
  .pillars-3 { grid-template-columns: 1fr; gap: var(--space-5); }
  .pillar-3__icon { height: 220px; }
  .pillar-3__icon img { height: 220px; max-width: 100%; }
  .pillar-3__jp { font-size: 1.9rem; }
  .pillar-3 p { font-size: 1rem; }
}

/* Worries section (こんな悩み、ありませんか?) */
.worries {
  background: linear-gradient(180deg, #fff8fc 0%, #ffffff 100%);
  border: 2px solid rgba(242, 107, 167, 0.25);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-6);
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.worries__title {
  text-align: center;
  font-size: clamp(1.4rem, 3.6vw, 1.95rem);
  margin-bottom: var(--space-3);
  color: var(--color-pink);
  line-height: 1.55;
}
.worries__title .marker {
  background: linear-gradient(transparent 65%, rgba(242, 107, 167, 0.22) 65%);
  padding: 0 0.2em;
}
.worries__lead {
  text-align: center;
  color: var(--color-brown-light);
  font-size: 1rem;
  margin: 0 auto var(--space-5);
  max-width: 600px;
  line-height: 1.85;
}
.worries__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3) var(--space-5);
  max-width: 820px;
  margin: 0 auto;
}
.worry-item {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--color-brown);
  padding: 0.6rem 0;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}
.worry-item::before {
  content: "✓";
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--color-pink);
  color: var(--color-white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}
@media (max-width: 760px) {
  .worries { padding: var(--space-5) var(--space-3); }
  .worries__list { grid-template-columns: 1fr; gap: var(--space-2); max-width: 360px; }
  .worry-item { font-size: 1.05rem; max-width: 100%; }
}

/* worries CTA(ボタン中央寄せ) */
.worries__ctas { display: flex; gap: var(--space-3); justify-content: center; flex-wrap: wrap; margin-top: var(--space-5); }
.worries__ctas .btn { min-width: 240px; justify-content: center; }
@media (max-width: 760px) {
  .worries__ctas { flex-direction: column; align-items: center; }
  .worries__ctas .btn { width: 100%; max-width: 320px; }
}

/* Can-do section (My Style でできること) */
.can-do-section {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 2px solid;
  padding: var(--space-6) var(--space-5);
  margin-bottom: var(--space-5);
}
.can-do-section--asobu { border-color: rgba(255, 160, 41, 0.3); background: linear-gradient(180deg, #fff7eb 0%, #ffffff 100%); }
.can-do-section--manabu { border-color: rgba(138, 199, 222, 0.4); background: linear-gradient(180deg, #f4fbff 0%, #ffffff 100%); }
.can-do-section--ikiru { border-color: rgba(242, 107, 167, 0.3); background: linear-gradient(180deg, #fff5f9 0%, #ffffff 100%); }

.can-do-section__head {
  margin-bottom: var(--space-5);
}
.can-do-section__head h3 {
  font-size: clamp(1.4rem, 3.5vw, 1.8rem);
  color: var(--color-brown);
  margin-bottom: 0.2rem;
}
.can-do-section__head .en {
  font-family: var(--font-accent);
  letter-spacing: 0.15em;
  color: var(--color-text-soft);
  font-size: 0.95rem;
}
.can-do-section--asobu .can-do-section__head h3 { color: var(--color-orange); }
.can-do-section--manabu .can-do-section__head h3 { color: var(--color-blue-text); }
.can-do-section--ikiru .can-do-section__head h3 { color: var(--color-pink); }

.can-do-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-5);
  align-items: center;
}
.can-do-illusts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  max-width: 920px;
}
.can-do-illust {
  text-align: center;
}
.can-do-illust__circle {
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--color-white);
  border: 3px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
  padding: var(--space-2);
  /* overflow NOT hidden — LP素材 transparent corners blend with circle naturally */
}
.can-do-illust__circle img { width: 100%; height: 100%; object-fit: contain; }
.can-do-section--asobu .can-do-illust__circle { border-color: rgba(255, 160, 41, 0.35); }
.can-do-section--manabu .can-do-illust__circle { border-color: rgba(138, 199, 222, 0.45); }
.can-do-section--ikiru .can-do-illust__circle { border-color: rgba(242, 107, 167, 0.35); }
.can-do-illust span {
  font-size: 0.95rem;
  color: var(--color-brown);
  font-weight: 600;
  line-height: 1.5;
  display: block;
  margin-top: var(--space-2);
}
.can-do-list {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-4);
  box-shadow: var(--shadow-sm);
}
.can-do-list ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); }
.can-do-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-brown);
  font-size: 0.95rem;
}
.can-do-list li::before {
  content: "✓";
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-white);
  flex-shrink: 0;
}
.can-do-section--asobu .can-do-list li::before { background: var(--color-orange); }
.can-do-section--manabu .can-do-list li::before { background: var(--color-blue-text); }
.can-do-section--ikiru .can-do-list li::before { background: var(--color-pink); }

@media (max-width: 880px) {
  .can-do-grid { grid-template-columns: 1fr; gap: var(--space-4); }
}
@media (max-width: 540px) {
  .can-do-illusts { grid-template-columns: 1fr 1fr; }
  .can-do-illusts > :nth-child(3) { grid-column: 1 / -1; max-width: 60%; margin: 0 auto; }
  .can-do-section { padding: var(--space-4) var(--space-3); }
}

/* Usage overview boxes (対象・エリア・料金) */
.usage-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}
@media (min-width: 1200px) {
  .usage-overview { gap: var(--space-7); }
}
.usage-box {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
}
.usage-box__head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 2px dashed var(--color-beige-line);
}
.usage-box__icon {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.usage-box__icon img { width: 100%; height: 100%; object-fit: contain; }
.usage-box__head h3 { font-size: 1.2rem; margin: 0; }
.usage-box__head h3 small { display: block; font-size: 0.78rem; color: var(--color-text-soft); font-weight: 400; letter-spacing: 0.1em; }
.usage-box dl { margin: 0; }
.usage-box dt {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-brown);
  margin-top: var(--space-3);
  font-size: 0.92rem;
}
.usage-box dt:first-child { margin-top: 0; }
.usage-box dd {
  margin: 0.3rem 0 0;
  color: var(--color-brown-light);
  font-size: 0.92rem;
  line-height: 1.7;
}
@media (max-width: 760px) {
  .usage-overview { grid-template-columns: 1fr; }
}

/* Wider section overrides container max-width */
.section-wide > .container { max-width: 1600px; }

/* OUR STORY 私たちの想い section */
.section-head .lead.story-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 700;
  color: var(--color-orange-text);
  letter-spacing: 0.04em;
  margin-top: var(--space-3);
}
/* Story content: text centered, growth illustrations stacked underneath at bottom-right */
.story-content {
  max-width: 760px;
  margin: 0 auto;
}
.story-body {
  color: var(--color-brown);
  font-size: 1.02rem;
  line-height: 2.05;
}
.story-body p {
  margin: 0 0 1.4em;
}
.story-body p:last-child { margin-bottom: 0; }
.story-body strong {
  color: var(--color-orange-text);
  font-weight: 700;
  background: linear-gradient(transparent 70%, rgba(255, 160, 41, 0.2) 70%);
  padding: 0 0.15em;
}

/* Growth illustrations sit below body, aligned to its right edge */
.story-growth {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.story-growth img { display: block; height: auto; }
.story-growth__sprout { width: 48px; }
.story-growth__tree   { width: 96px; }
.story-growth__house  { width: 96px; }

@media (max-width: 600px) {
  .story-body { font-size: 0.98rem; line-height: 1.95; }
  .story-growth { gap: var(--space-2); margin-top: var(--space-3); }
  .story-growth__sprout { width: 38px; }
  .story-growth__tree   { width: 76px; }
  .story-growth__house  { width: 76px; }
}

/* Facility section — uses bg-beige from class on element */
.section--facility {
  background: var(--color-beige);
}

/* Facility section title block — uses standard section-head styles */
.section-head--facility { margin-bottom: var(--space-5); }

/* Illustration fills the empty 6th cell in the rooms grid */
.rooms-grid__illust {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2);
}
.rooms-grid__illust img {
  width: 100%;
  height: auto;
  max-width: 320px;
  display: block;
}
@media (max-width: 880px) {
  .rooms-grid__illust { display: none; }
}
.facility-dots {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin: var(--space-2) 0 var(--space-4);
}
.facility-dots span {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0) translateY(-10px);
}
@media (max-width: 600px) {
  .facility-dots { gap: 12px; }
  .facility-dots span { width: 9px; height: 9px; }
}

/* one-shot pop-in: triggers when .reveal becomes visible */
.reveal.is-visible .facility-dots span {
  animation: dotPop 0.95s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.reveal.is-visible .facility-dots span:nth-child(1)  { animation-delay: 0.40s; }
.reveal.is-visible .facility-dots span:nth-child(2)  { animation-delay: 0.58s; }
.reveal.is-visible .facility-dots span:nth-child(3)  { animation-delay: 0.76s; }
.reveal.is-visible .facility-dots span:nth-child(4)  { animation-delay: 0.94s; }
.reveal.is-visible .facility-dots span:nth-child(5)  { animation-delay: 1.12s; }
.reveal.is-visible .facility-dots span:nth-child(6)  { animation-delay: 1.30s; }
.reveal.is-visible .facility-dots span:nth-child(7)  { animation-delay: 1.48s; }
.reveal.is-visible .facility-dots span:nth-child(8)  { animation-delay: 1.66s; }
.reveal.is-visible .facility-dots span:nth-child(9)  { animation-delay: 1.84s; }
.reveal.is-visible .facility-dots span:nth-child(10) { animation-delay: 2.02s; }
.reveal.is-visible .facility-dots span:nth-child(11) { animation-delay: 2.20s; }

@keyframes dotPop {
  0%   { opacity: 0; transform: scale(0) translateY(-10px); }
  60%  { opacity: 1; transform: scale(1.25) translateY(0); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.facility-lead {
  color: var(--color-text-soft);
  font-size: 1.05rem;
  line-height: 1.85;
  font-weight: 500;
  margin: 0 auto;
  max-width: 720px;
}


/* Rooms grid */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6) var(--space-5);
  max-width: 1200px;
  margin: 0 auto;
}
.room-card {
  position: relative;
  padding-top: 14px;
}
.room-card__label {
  position: absolute;
  top: 0;
  left: 14px;
  background: var(--color-white);
  padding: 0.6rem 1.1rem 0.6rem 1.9rem;
  border-radius: 14px 14px 14px 4px;
  box-shadow: 0 4px 12px rgba(110, 94, 82, 0.1);
  z-index: 2;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--color-brown);
  white-space: nowrap;
}
.room-card__label::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0.75rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translateY(-50%);
}
.room-card--pink .room-card__label::before { background: #f48aae; }
.room-card--yellow .room-card__label::before { background: #f0c84a; }
.room-card--green .room-card__label::before { background: #a9d82a; }
.room-card--blue .room-card__label::before { background: #71bedb; }
.room-card--orange .room-card__label::before { background: #ffa029; }
.room-card--brown .room-card__label::before { background: #8b6f5a; }
.room-card--purple .room-card__label::before { background: #b39ddb; }

.room-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 20px rgba(110, 94, 82, 0.08);
  display: block;
  transition: transform 0.3s ease;
}
.room-card:hover img { transform: translateY(-3px); }
.room-card p {
  margin: var(--space-3) 0 0;
  font-size: 0.95rem;
  color: var(--color-brown-light);
  line-height: 1.8;
  padding: 0 4px;
}

@media (max-width: 880px) {
  .rooms-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
}
@media (max-width: 560px) {
  .rooms-grid { grid-template-columns: 1fr; }
  .room-card img { height: 200px; }
}

/* Usage flow (5-step process) */
.usage-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-6);
  max-width: 100%;
  margin: 0 auto;
  position: relative;
}
.flow-step {
  background: var(--color-beige);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-4) var(--space-5);
  text-align: center;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.usage-flow.is-visible .flow-step {
  animation: stepBob 2.2s ease-in-out 1 both;
}
.usage-flow.is-visible .flow-step:nth-child(1) { animation-delay: 0.0s; }
.usage-flow.is-visible .flow-step:nth-child(2) { animation-delay: 0.55s; }
.usage-flow.is-visible .flow-step:nth-child(3) { animation-delay: 1.1s; }
.usage-flow.is-visible .flow-step:nth-child(4) { animation-delay: 1.65s; }
.usage-flow.is-visible .flow-step:nth-child(5) { animation-delay: 2.2s; }
.flow-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); animation-play-state: paused; }
@keyframes stepBob {
  0% { transform: translateY(0); box-shadow: var(--shadow-sm); }
  50% { transform: translateY(-14px); box-shadow: var(--shadow-md); }
  100% { transform: translateY(0); box-shadow: var(--shadow-sm); }
}
.flow-step__num {
  width: 64px;
  height: 64px;
  background: var(--color-orange);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-accent);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto var(--space-3);
  box-shadow: var(--shadow-sm);
}
.flow-step:nth-child(1) .flow-step__num { background: var(--color-orange); }
.flow-step:nth-child(2) .flow-step__num { background: var(--color-pink); }
.flow-step:nth-child(3) .flow-step__num { background: var(--color-blue-text); }
.flow-step:nth-child(4) .flow-step__num { background: var(--color-green-text); }
.flow-step:nth-child(5) .flow-step__num { background: var(--color-orange); }
.flow-step h3 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--color-brown);
  margin: 0;
  letter-spacing: 0.02em;
}
@media (max-width: 1100px) {
  .flow-step h3 { font-size: 1.2rem; }
}

/* Arrow connector between steps (PC) — larger and animated */
.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(var(--space-6) * -1);
  width: var(--space-6);
  height: 36px;
  margin-top: -18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 36' fill='none'%3E%3Cpath d='M4,18 L40,18 M28,6 L42,18 L28,30' stroke='%23ffa029' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  z-index: 1;
  opacity: 0;
}
.usage-flow.is-visible .flow-step:not(:last-child)::after {
  animation: arrowSlide 1.4s ease-out 1 forwards;
}
.usage-flow.is-visible .flow-step:nth-child(1):not(:last-child)::after { animation-delay: 0.8s; }
.usage-flow.is-visible .flow-step:nth-child(2):not(:last-child)::after { animation-delay: 1.35s; }
.usage-flow.is-visible .flow-step:nth-child(3):not(:last-child)::after { animation-delay: 1.9s; }
.usage-flow.is-visible .flow-step:nth-child(4):not(:last-child)::after { animation-delay: 2.45s; }

@keyframes arrowSlide {
  0% { transform: translateX(-12px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

@media (max-width: 1100px) {
  .usage-flow { grid-template-columns: repeat(5, 1fr); gap: var(--space-3); }
  .flow-step:not(:last-child)::after { display: none; }
}
@media (max-width: 880px) {
  .usage-flow { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
}
@media (max-width: 480px) {
  .usage-flow { grid-template-columns: 1fr; }
}

/* Pricing summary */
.pricing-summary {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  box-shadow: var(--shadow-sm);
  max-width: 1140px;
  margin: 0 auto;
}
.pricing-summary table { width: 100%; border-collapse: collapse; }
.pricing-summary th, .pricing-summary td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px dashed var(--color-beige-line);
  text-align: left;
  font-size: 1.15rem;
  line-height: 1.65;
}
.pricing-summary th {
  background: var(--color-beige);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-brown);
  width: 58%;
}
.pricing-summary td.amount {
  font-family: var(--font-accent);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--color-orange);
  text-align: right;
  white-space: nowrap;
}
.pricing-summary tr:last-child th, .pricing-summary tr:last-child td { border-bottom: none; }
.pricing-summary__note {
  padding: var(--space-4) var(--space-5);
  background: var(--color-pink-light);
  border-radius: var(--radius-md);
  margin-top: var(--space-4);
  font-size: 1.05rem;
  line-height: 1.55;
}
.pricing-summary__note p {
  margin: 0;
}
.pricing-summary__note p + p {
  margin-top: 0.45em;
}

@media (max-width: 880px) {
  .pricing-summary { padding: var(--space-4) var(--space-3); }
  .pricing-summary th, .pricing-summary td { font-size: 1rem; padding: var(--space-2) var(--space-3); }
  .pricing-summary td.amount { font-size: 1.3rem; }
  .pricing-summary__note { font-size: 0.95rem; padding: var(--space-3); }
}
@media (max-width: 600px) {
  .pricing-summary th, .pricing-summary td { font-size: 0.92rem; }
  .pricing-summary td.amount { font-size: 1.15rem; }
}

/* Hero illust override - tighter and use big illust */
.hero-illust__logo {
  display: inline-block;
  margin-bottom: var(--space-3);
}
.hero-illust__logo img { width: 140px; height: auto; }
@media (max-width: 600px) { .hero-illust__logo img { width: 110px; } }

/* =================================================================
   Wave & scallop section dividers (rich decorative transitions)
   ================================================================= */
.wave-sep {
  position: relative;
  width: 100%;
  height: 160px;
  margin-top: -1px;
  margin-bottom: -1px;
  display: block;
  line-height: 0;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}
.wave-sep__deco img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 130px;
  object-fit: contain;
}

/* Bunting placed across a wave divider (gentle wiggle) */
.wave-sep__bunting {
  position: absolute;
  top: 0;
  left: 50%;
  width: 42%;
  max-width: 460px;
  z-index: 2;
  pointer-events: none;
  transform-origin: top center;
  animation: buntingWiggle 6s ease-in-out infinite;
}
.wave-sep__bunting img { width: 100%; height: auto; display: block; }
@keyframes buntingWiggle {
  0%, 100% { transform: translateX(-50%) rotate(-1.2deg); }
  50% { transform: translateX(-50%) rotate(1.2deg); }
}
@media (max-width: 760px) {
  .wave-sep__bunting { width: 60%; max-width: 320px; }
}
.wave-sep svg {
  width: 100%;
  height: 100%;
  display: block;
}
.wave-sep--to-white path { fill: #ffffff; }
.wave-sep--to-beige path { fill: var(--color-beige); }

.wave-sep__deco {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}
.wave-sep__deco img { display: block; width: 100%; height: auto; }

/* Scallop (cloud-like wavy bottom edge) — applied as ::after to a section */
.scallop-bottom {
  position: relative;
  padding-bottom: var(--space-7);
}
.scallop-bottom::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 28' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,28 L0,14 Q4.17,0 8.33,14 Q12.5,28 16.67,14 Q20.83,0 25,14 Q29.17,28 33.33,14 Q37.5,0 41.67,14 Q45.83,28 50,14 Q54.17,0 58.33,14 Q62.5,28 66.67,14 Q70.83,0 75,14 Q79.17,28 83.33,14 Q87.5,0 91.67,14 Q95.83,28 100,14 L100,28 Z'/%3E%3C/svg%3E");
  background-size: 200px 28px;
  background-repeat: repeat-x;
  pointer-events: none;
}
.scallop-bottom--beige::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 28' preserveAspectRatio='none'%3E%3Cpath fill='%23f4f3ee' d='M0,28 L0,14 Q4.17,0 8.33,14 Q12.5,28 16.67,14 Q20.83,0 25,14 Q29.17,28 33.33,14 Q37.5,0 41.67,14 Q45.83,28 50,14 Q54.17,0 58.33,14 Q62.5,28 66.67,14 Q70.83,0 75,14 Q79.17,28 83.33,14 Q87.5,0 91.67,14 Q95.83,28 100,14 L100,28 Z'/%3E%3C/svg%3E");
}

/* Botanical corner decorations on a section */
.botanical-corners {
  position: relative;
  /* overflow visible — decorations between sections shouldn't be clipped */
}
.botanical-corners::before,
.botanical-corners::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top left;
  pointer-events: none;
  opacity: 0.85;
}
.botanical-corners--green::before {
  top: 0; left: 0;
  background-image: url("/images/illustrations/img2/img2_47_brush_green.png"),
                    url("/images/illustrations/img2/img2_24_tree_round_b.png");
  background-position: -30px -30px, 20px 60px;
  background-size: 180px 100px, 90px 90px;
}
.botanical-corners--green::after {
  top: 0; right: 0;
  background-image: url("/images/illustrations/img2/img2_47_brush_green.png"),
                    url("/images/illustrations/img2/img2_23_tree_round_a.png");
  background-position: top right, 70% 70%;
  background-size: 180px 100px, 90px 90px;
  transform: scaleX(-1);
}

/* =================================================================
   Watercolor brush backgrounds for sections
   ================================================================= */
.bg-watercolor {
  position: relative;
  z-index: 0;
}
.bg-watercolor > .container { position: relative; z-index: 1; }
.bg-watercolor__brush {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}
.bg-watercolor__brush img { width: 100%; height: auto; display: block; }

/* Ribbon banner header for sections */
.ribbon-header {
  display: inline-block;
  position: relative;
  margin: 0 auto var(--space-4);
  padding: 0.6em 2.4em;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--color-brown);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  text-align: center;
  min-width: 220px;
}
.ribbon-header--blue { background-image: url("/images/illustrations/img2/img2_51_ribbon_blue.png"); }
.ribbon-header--orange { background-image: url("/images/illustrations/img2/img2_50_ribbon_orange.png"); }

/* Floating sparkles for hero/section accents */
.sparkle {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  animation: sparkleTwinkle 3.5s ease-in-out infinite;
}
.sparkle img { width: 100%; height: auto; display: block; }
@keyframes sparkleTwinkle {
  0%, 100% { opacity: 0.5; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.1); }
}
.sparkle--delay-1 { animation-delay: 0.7s; }
.sparkle--delay-2 { animation-delay: 1.4s; }
.sparkle--delay-3 { animation-delay: 2.1s; }
.sparkle--delay-4 { animation-delay: 2.8s; }

/* Floating leaves/decorations sprinkled in sections */
.section-floats {
  position: relative;
}
.section-floats > .float-deco {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}
.section-floats > .float-deco img { display: block; width: 100%; height: auto; }

/* Larger corner illustrations within sections */
.has-corner-illust {
  position: relative;
  /* overflow visible — let decorations breathe between sections */
}
.has-corner-illust > .container { position: relative; z-index: 1; }
.corner-illust {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.corner-illust img { width: 100%; height: auto; display: block; }
.corner-illust--top-left { top: 20px; left: 20px; }
.corner-illust--top-right { top: 20px; right: 20px; }
.corner-illust--bottom-left { bottom: 20px; left: 20px; }
.corner-illust--bottom-right { bottom: 20px; right: 20px; }
.corner-illust--mid-left { top: 50%; left: 20px; transform: translateY(-50%); }
.corner-illust--mid-right { top: 50%; right: 20px; transform: translateY(-50%); }

.size-80 { width: 80px; }
.size-100 { width: 100px; }
.size-110 { width: 110px; }
.size-120 { width: 120px; }
.size-130 { width: 130px; }
.size-140 { width: 140px; }
.size-150 { width: 150px; }
.size-160 { width: 160px; }
.size-180 { width: 180px; }
.size-200 { width: 200px; }
.size-220 { width: 220px; }

@media (max-width: 880px) {
  .corner-illust { display: none; }
}

@media (max-width: 760px) {
  .wave-sep { height: 50px; }
  .botanical-corners::before,
  .botanical-corners::after { width: 100px; height: 100px; }
  .botanical-corners--green::before { background-size: 100px 60px, 60px 60px; background-position: -20px -10px, 10px 35px; }
  .botanical-corners--green::after { background-size: 100px 60px, 60px 60px; }
  .section-floats > .float-deco { display: none; }
}

/* =================================================================
   Section dividers (decorative bands between sections) — legacy simple ones
   ================================================================= */
.section-divider {
  position: relative;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}
.section-divider img {
  max-height: 48px;
  width: auto;
  opacity: 0.95;
}
.section-divider--bunting { height: 64px; margin-top: calc(-1 * var(--space-3)); }
.section-divider--bunting img { max-height: 64px; }
.section-divider--flowers img { max-height: 42px; max-width: 80%; }
.section-divider--dots { height: 40px; }
.section-divider--dots img { max-height: 24px; max-width: 70%; }

@media (max-width: 600px) {
  .section-divider { height: 44px; }
  .section-divider img { max-height: 36px; }
  .section-divider--bunting { height: 48px; }
  .section-divider--bunting img { max-height: 48px; }
  .section-divider--flowers img { max-height: 32px; }
  .section-divider--dots { height: 30px; }
  .section-divider--dots img { max-height: 18px; }
}

/* gentle hover wiggle on decorative dividers */
@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(2deg); }
}
.section-divider--bunting img {
  animation: wiggle 6s ease-in-out infinite;
  transform-origin: top center;
}

/* Wave-shaped section transitions */
.section-wave {
  position: relative;
}
.section-wave::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 50px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.section-wave--beige-to-white::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 50' preserveAspectRatio='none'%3E%3Cpath fill='%23f4f3ee' d='M0,0 C300,50 900,50 1200,0 L1200,0 L0,0 Z'/%3E%3C/svg%3E");
}
.section-wave--white-to-beige::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 50' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,0 C300,50 900,50 1200,0 L1200,0 L0,0 Z'/%3E%3C/svg%3E");
}

/* Hand-drawn phone icon (used in CTAs and tel-card) */
.ico-phone {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  vertical-align: -0.25em;
  background-color: currentColor;
  -webkit-mask: url("/images/icons/phone.svg") center / contain no-repeat;
          mask: url("/images/icons/phone.svg") center / contain no-repeat;
  flex-shrink: 0;
}
/* Tel-card hero phone icon bigger */
.tel-card .ico-phone { width: 1.05em; height: 1.05em; vertical-align: -0.18em; margin-right: 0.2em; }

/* =================================================================
   Reveal on scroll (subtle)
   ================================================================= */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* =================================================================
   日本語の改行制御(orphan 改行対策)
   - 見出し・本文・リスト項目に keep-all を適用
   - 単語の途中で改行されず、句読点・括弧などで自然に改行
   - 全画面サイズで適用、両プラットフォームで改善
   ================================================================= */
h1, h2, h3, h4, h5, h6,
.section-head h2, .section-head .lead,
.hero-illust__title, .hero-illust__lead,
.worries__title, .worries__lead, .worry-item,
.point-card__title, .point-card__desc,
.reassure-item__body p, .reassure-item__title,
.feature-card h3, .feature-card p,
.recruit-value h3, .recruit-value p,
.mvv-statement, .mvv-detail,
.who-item h4, .who-item p,
.value-card h3, .value-card p,
.faq-item__q, .faq-item__a,
.news-card__title, .news-strip__item,
.cta-banner h2, .cta-banner p,
.season-month li,
.article h1, .article h2, .article h3, .article p, .article li,
.usage-box dt, .usage-box dd,
.tel-card .hours,
.form-thanks h3, .form-thanks p,
.open-position__title, .open-position__lead {
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
}

/* リード文中の電話番号など、特定の数字や英字部分は数字単位で折り返さない */
.tel-card .tel,
.tel-card .hours strong,
.site-footer__contact-row,
.hero-illust__tagline {
  word-break: keep-all;
}
