/* PEACE 各務原保育園 — custom renewal (no WordPress) */
:root {
  /* ロゴの薄ピンク基調（#F6BBD3） */
  --sky: #f6bbd3;
  --sky-deep: #db7eaa;
  --leaf: #db7eaa;
  --leaf-soft: #fff3f8;
  --peach: #f0a070;
  --peach-soft: #fff0e8;
  --sun: #f5d76e;
  --ink: #555555;
  --ink-muted: #7a7a7a;
  --paper: #ffffff;
  --paper-2: #fff8fb;
  --white: #ffffff;
  --line: rgba(122, 122, 122, 0.18);
  --shadow: 0 10px 28px rgba(219, 126, 170, 0.12);
  --radius: 20px;
  --header-h: 76px;
  --font-display: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", sans-serif;
  --font-body: "Noto Sans JP", "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --text-sm: 0.9rem;
  --text-base: 1rem;
  --text-lg: 1.0625rem;
  --space-section: clamp(4rem, 8vw, 6.25rem);
  --space-block: 1.15rem;
  --content-max: 980px;
  --accent-cta-from: #f6bbd3;
  --accent-cta-to: #e85a8f;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--ink-muted);
  background: var(--paper);
  line-height: 1.8;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--sky-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--leaf);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(var(--content-max), calc(100% - 2.75rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid transparent;
  overflow: visible;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: #fff;
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(36, 48, 56, 0.06);
}

.header-wave {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 1;
  line-height: 0;
  pointer-events: none;
  transform: translateY(-1px);
}

.header-wave svg {
  width: 100%;
  height: clamp(18px, 2.8vw, 28px);
  display: block;
}

.header-inner {
  position: relative;
  z-index: 2;
  width: min(1400px, calc(100% - 2rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand img {
  width: clamp(148px, 22vw, 210px);
  height: auto;
}

.brand-text {
  display: none;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.15rem;
}

.nav-list > li {
  position: relative;
}

.nav-list > li > a,
.nav-list > li > button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.75rem;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav-list > li > a:hover,
.nav-list > li > button:hover,
.nav-list > li > a:focus-visible,
.nav-list > li > button:focus-visible {
  background: var(--leaf-soft);
  color: var(--leaf);
  outline: none;
}

.submenu-panel {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  z-index: 120;
  min-width: 210px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.nav-list > li:hover > .submenu-panel,
.nav-list > li:focus-within > .submenu-panel,
.nav-list > li.is-open > .submenu-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu {
  margin: 0;
  padding: 0.5rem;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.submenu a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
}

.submenu a:hover {
  background: var(--paper-2);
  color: var(--sky-deep);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 1.05rem;
  border-radius: 999px;
  border: 0;
  background-color: var(--accent-cta-from);
  background-image: linear-gradient(90deg, var(--accent-cta-from) 0%, #e891b8 55%, var(--accent-cta-to) 100%);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(219, 126, 170, 0.28);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.header-cta .material-symbols-rounded,
.btn .material-symbols-rounded {
  font-size: 1.15rem;
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(242, 41, 91, 0.35);
  color: #fff !important;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: center;
  justify-items: center;
  overflow: hidden;
  /* fixed子要素をヒーロー範囲内にクリップ（パララックス） */
  clip-path: inset(0);
  color: #fff;
}

.hero-media {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 園庭中央（子ども・遊具）を優先。建物寄りに寄りすぎない */
  object-position: 42% 48%;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.22);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1100px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 5.5rem 0 5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  margin: 0 0 1.1rem;
  animation: riseIn 0.9s var(--ease) both;
}

.hero-logo img {
  width: min(420px, 58vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.28));
  transition: transform 0.45s var(--ease), filter 0.45s;
  animation: logoBob 4.5s ease-in-out 1s infinite;
}

.hero-logo:hover img {
  animation-play-state: paused;
  transform: scale(1.04) rotate(-1.5deg);
  filter: drop-shadow(0 16px 32px rgba(226, 138, 168, 0.35));
}

.hero-lead {
  margin: 0 0 1.45rem;
  max-width: 34em;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.2vw, 1.12rem);
  font-weight: 700;
  line-height: 1.75;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
  animation: riseIn 0.9s 0.12s var(--ease) both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  animation: riseIn 0.9s 0.22s var(--ease) both;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes logoBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Cute floating decorations in hero */
.hero-fx {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.fx-bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.85), rgba(255, 200, 220, 0.45));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
  animation: bubbleFloat 7s ease-in-out infinite;
}

.fx-b1 { width: 18px; height: 18px; left: 12%; top: 28%; animation-duration: 6.5s; }
.fx-b2 { width: 12px; height: 12px; left: 78%; top: 22%; animation-duration: 8s; animation-delay: -1.5s; }
.fx-b3 { width: 22px; height: 22px; left: 86%; top: 58%; animation-duration: 7.2s; animation-delay: -3s; }
.fx-b4 { width: 14px; height: 14px; left: 8%; top: 62%; animation-duration: 9s; animation-delay: -2s; }

.fx-spark {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #fff;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  opacity: 0.85;
  filter: drop-shadow(0 0 6px rgba(255, 220, 235, 0.9));
  animation: sparkTwinkle 2.8s ease-in-out infinite;
}

.fx-s1 { left: 22%; top: 18%; animation-delay: 0s; }
.fx-s2 { left: 68%; top: 70%; animation-delay: -0.9s; }
.fx-s3 { left: 48%; top: 14%; animation-delay: -1.6s; width: 8px; height: 8px; }

@keyframes bubbleFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.7; }
  50% { transform: translateY(-22px) scale(1.08); opacity: 1; }
}

@keyframes sparkTwinkle {
  0%, 100% { transform: scale(0.6) rotate(0deg); opacity: 0.35; }
  50% { transform: scale(1.15) rotate(18deg); opacity: 1; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.75rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none !important;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.35s;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-primary {
  border-color: transparent;
  background-color: var(--accent-cta-from);
  background-image: linear-gradient(90deg, var(--accent-cta-from) 0%, #e891b8 55%, var(--accent-cta-to) 100%);
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(219, 126, 170, 0.28);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.45) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: btnShine 4.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes btnShine {
  0%, 55% { transform: translateX(-120%); }
  75%, 100% { transform: translateX(120%); }
}

.btn-primary:hover {
  box-shadow: 0 10px 24px rgba(242, 41, 91, 0.35);
}

.click-spark {
  position: absolute;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: #fff;
  pointer-events: none;
  z-index: 2;
  animation: clickSpark 0.6s var(--ease) forwards;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
}

@keyframes clickSpark {
  from {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  to {
    opacity: 0;
    transform: translate(var(--dx), var(--dy)) scale(0.2);
  }
}

.btn-ghost {
  background: rgba(16, 28, 38, 0.38);
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.btn-ghost:hover {
  background: rgba(16, 28, 38, 0.52);
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 2;
  line-height: 0;
  pointer-events: none;
}

.hero-wave svg {
  width: 100%;
  height: clamp(56px, 9vw, 110px);
  display: block;
}

.hero-wave path {
  fill: #ffffff;
}

/* Notice strip */
.notice {
  position: relative;
  z-index: 1;
  background: var(--paper-2);
  border-bottom: 0;
}

.notice-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.35rem;
  padding: 1.2rem 0;
}

.notice p {
  margin: 0;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: clamp(0.98rem, 2vw, 1.12rem);
  line-height: 1.55;
  color: var(--ink);
}

/* Sections */
.section {
  padding: var(--space-section) 0;
  position: relative;
  z-index: 1;
  background: var(--paper);
}

.section-alt {
  background: var(--paper-2);
}

/* 元サイト風：破れ紙／ブラシ境界 */
.section-alt::before,
.section-alt::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 28px;
  z-index: 3;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.section-alt::before {
  top: -14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 28' preserveAspectRatio='none'%3E%3Cpath fill='%23fffafe' d='M0 18 C80 6 140 26 220 14 C300 2 360 24 440 12 C520 0 580 22 660 10 C740 -2 800 20 880 8 C960 -4 1020 18 1100 10 C1180 2 1240 22 1320 12 C1380 6 1420 16 1440 14 L1440 28 L0 28 Z'/%3E%3C/svg%3E");
}

.section-alt::after {
  bottom: -14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 28' preserveAspectRatio='none'%3E%3Cpath fill='%23fffafe' d='M0 10 C60 20 120 2 200 14 C280 26 340 4 420 16 C500 28 560 6 640 18 C720 30 780 8 860 20 C940 32 1000 10 1080 18 C1160 26 1220 6 1300 16 C1360 22 1400 8 1440 12 L1440 0 L0 0 Z'/%3E%3C/svg%3E");
}

.section-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 0;
  background: transparent;
  position: relative;
  z-index: 2;
}

.section-divider::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(280px, 55vw);
  height: 10px;
  transform: translate(-50%, -50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 280 10' preserveAspectRatio='none'%3E%3Cpath fill='none' stroke='%23ffb6e8' stroke-width='3' stroke-linecap='round' d='M4 6 C40 2 70 8 110 4 C150 0 180 8 220 5 C250 3 270 7 276 5'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  opacity: 0.85;
  pointer-events: none;
}

.section-divider span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--sky-deep);
  opacity: 0.95;
  position: relative;
  z-index: 1;
  animation: sparkTwinkle 3.2s ease-in-out infinite;
}

.section-divider span:nth-child(2) { animation-delay: 0.15s; }
.section-divider span:nth-child(3) { animation-delay: 0.3s; }
.section-divider span:nth-child(4) { animation-delay: 0.45s; }
.section-divider span:nth-child(5) { animation-delay: 0.6s; }
.section-divider span:nth-child(6) { animation-delay: 0.75s; }
.section-divider span:nth-child(7) { animation-delay: 0.9s; }

.section-head {
  margin: 0 auto 2.5rem;
  max-width: 40rem;
  text-align: center;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
}

.section-icon {
  display: inline-grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: var(--sun);
  color: #555;
  box-shadow: none;
  border: 2px solid rgba(255, 255, 255, 0.85);
  animation: iconFloat 3.6s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(-4deg); }
}

.material-symbols-rounded {
  font-family: "Material Symbols Rounded";
  font-weight: normal;
  font-style: normal;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24;
}

.section-icon .material-symbols-rounded {
  font-size: 1.28rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sky-deep);
}

.section-head > .eyebrow {
  margin-bottom: 0.55rem;
}

.section-head h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: var(--ink);
  font-weight: 700;
}

.section-head p {
  margin: 0 auto;
  color: var(--ink-muted);
  font-size: 1.05rem;
  line-height: 1.9;
  max-width: 36em;
}

.policy-item h4,
.info-box h3 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.policy-item h4 .material-symbols-rounded,
.info-box h3 .material-symbols-rounded {
  color: var(--sky-deep);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.accordion summary .acc-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.accordion summary .material-symbols-rounded {
  color: var(--sky-deep);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.notice-inner p {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.notice-inner .material-symbols-rounded {
  color: var(--sky-deep);
  font-size: 1.35rem;
  animation: softWiggle 2.4s ease-in-out infinite;
}

@keyframes softWiggle {
  0%, 100% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(-10deg) scale(1.08); }
  50% { transform: rotate(8deg) scale(1.05); }
  75% { transform: rotate(-4deg) scale(1.08); }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal.is-visible .policy-item,
.reveal.is-visible .ai-list li,
.reveal.is-visible .goal-list li {
  animation: popIn 0.55s var(--ease) both;
}

.reveal.is-visible .policy-item:nth-child(1),
.reveal.is-visible .ai-list li:nth-child(1),
.reveal.is-visible .goal-list li:nth-child(1) { animation-delay: 0.05s; }
.reveal.is-visible .policy-item:nth-child(2),
.reveal.is-visible .ai-list li:nth-child(2),
.reveal.is-visible .goal-list li:nth-child(2) { animation-delay: 0.12s; }
.reveal.is-visible .policy-item:nth-child(3),
.reveal.is-visible .ai-list li:nth-child(3),
.reveal.is-visible .goal-list li:nth-child(3) { animation-delay: 0.19s; }
.reveal.is-visible .policy-item:nth-child(4),
.reveal.is-visible .ai-list li:nth-child(4),
.reveal.is-visible .goal-list li:nth-child(4) { animation-delay: 0.26s; }
.reveal.is-visible .ai-list li:nth-child(5) { animation-delay: 0.33s; }

@keyframes popIn {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

/* Philosophy — 理念／目標／方針を区分 */
.philosophy-stack {
  display: grid;
  gap: clamp(3rem, 6vw, 4.5rem);
}

.philosophy-block {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.philosophy-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.philosophy-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 1.95rem);
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: var(--ink);
  font-weight: 700;
}

.quote-panel {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border-radius: calc(var(--radius) + 6px);
  background:
    linear-gradient(145deg, rgba(219, 126, 170, 0.1), rgba(255, 248, 251, 0.9)),
    var(--white);
  border: 1px solid rgba(219, 126, 170, 0.16);
}

.quote-panel--solo,
.ai-panel--solo {
  max-width: 44rem;
  margin-inline: auto;
}

.quote-panel h3,
.ai-panel h3 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.quote-panel h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.quote-panel h3 .material-symbols-rounded {
  color: var(--sky-deep);
  font-size: 1.3rem;
}

.quote-panel .lead {
  margin: 0 0 1.25rem;
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.8;
  color: var(--ink);
  text-align: center;
}

.goal-list {
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
  max-width: 34rem;
}

.goal-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
}

.goal-num {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sky-deep);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  animation: softPulse 2.8s ease-in-out infinite;
}

@keyframes softPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(219, 126, 170, 0.45); }
  50% { transform: scale(1.06); box-shadow: 0 0 0 8px rgba(219, 126, 170, 0); }
}

.ai-panel {
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: calc(var(--radius) + 6px);
  background:
    linear-gradient(160deg, rgba(219, 126, 170, 0.1), rgba(255, 248, 251, 0.95)),
    var(--white);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(219, 126, 170, 0.16);
}

.ai-panel::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -40px;
  top: -40px;
  border-radius: 50%;
  background: rgba(219, 126, 170, 0.08);
  animation: floatSoft 7s ease-in-out infinite;
}

@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

.ai-panel h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  position: relative;
  color: var(--ink);
  justify-content: center;
}

.ai-panel h3 .material-symbols-rounded {
  font-size: 1.35rem;
  color: var(--sky-deep);
}

.ai-list {
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
  position: relative;
  max-width: 28rem;
}

.ai-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 0.75rem;
  align-items: start;
}

.ai-list li > .material-symbols-rounded {
  grid-row: 1 / span 2;
  align-self: center;
  font-size: 1.35rem;
  color: var(--sky-deep);
  opacity: 1;
}

.ai-list li strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0;
  color: var(--sky-deep);
}

.ai-list li span:not(.material-symbols-rounded) {
  opacity: 1;
  font-size: 0.92rem;
  grid-column: 2;
  color: var(--ink-muted);
}

.policy-row {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.policy-item {
  padding: 1.25rem 1.1rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.35s;
}

.policy-item:hover {
  transform: translateY(-6px);
  border-color: rgba(219, 126, 170, 0.35);
  box-shadow: 0 16px 32px rgba(219, 126, 170, 0.14);
}

.policy-item h4 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--sky-deep);
}

.policy-item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink-muted);
}

/* Hours visual */
.hours-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) 1.15fr;
  gap: 1.75rem;
  align-items: start;
}

.hours-visual {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: transparent;
}

.hours-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.hours-notes {
  display: grid;
  gap: 0.9rem;
}

.info-box {
  padding: 1.2rem 1.25rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(219, 126, 170, 0.18);
  box-shadow: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}

.info-box:hover {
  transform: translateY(-3px);
  border-color: rgba(219, 126, 170, 0.4);
  box-shadow: 0 10px 24px rgba(219, 126, 170, 0.12);
}

.info-box h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--ink);
  line-height: 1.4;
}

.info-box p,
.info-box li {
  margin: 0;
  color: var(--ink-muted);
  font-size: var(--text-base);
  line-height: 1.75;
}

.info-box p + p,
.info-box ul + p {
  margin-top: 0.7rem;
}

.info-box ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.35rem;
}

.numbered + .info-box,
.table-wrap + .info-box {
  margin-top: 1.2rem;
}

.icon-list {
  margin: 0.55rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.icon-list .material-symbols-rounded {
  flex-shrink: 0;
  margin-top: 0.1rem;
  font-size: 1.15rem;
  color: var(--sky-deep);
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
}

table.data {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

table.data th,
table.data td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 0.95rem;
}

table.data th {
  background: var(--sky-deep);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  text-align: center;
}

table.data td {
  text-align: center;
  color: var(--ink-muted);
  background: #fff;
}

table.data tr:last-child td {
  border-bottom: 0;
}

#gyouji .table-wrap {
  max-width: 34rem;
  margin-inline: auto;
}

#gyouji .info-box {
  max-width: 34rem;
  margin-inline: auto;
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
}

#gyouji .info-box h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

#gyouji .info-box .icon-list {
  margin-top: 0.35rem;
  gap: 0.3rem;
}

#gyouji .info-box .icon-list li {
  font-size: 0.92rem;
  line-height: 1.45;
  gap: 0.4rem;
}

#gyouji .info-box .icon-list .material-symbols-rounded {
  font-size: 1.15rem;
}

table.events-table {
  min-width: 0;
  width: 100%;
  table-layout: fixed;
}

table.events-table thead th {
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
}

table.events-table tbody th,
table.events-table td {
  padding: 0.45rem 0.75rem;
  font-size: 0.92rem;
  line-height: 1.45;
  vertical-align: middle;
}

table.events-table tbody th {
  width: 4.25rem;
  background: rgba(219, 126, 170, 0.1);
  color: var(--sky-deep);
  font-family: var(--font-display);
  font-weight: 700;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

table.events-table td {
  text-align: left;
  padding-left: 0.95rem;
}

table.events-table .star-icon {
  font-size: 0.95rem;
  vertical-align: -2px;
  color: var(--peach);
}

.note {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin: 0.95rem 0 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.note .material-symbols-rounded {
  flex-shrink: 0;
  margin-top: 0.1rem;
  font-size: 1.1rem;
  color: var(--sky-deep);
}

.split-2 {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.4rem;
  align-items: center;
}

.media-frame {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #f5e0e8;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.illus-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.illus-row figure {
  margin: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  aspect-ratio: auto;
  box-shadow: none;
}

.illus-row img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  transform: none;
  transition: transform 0.45s var(--ease);
}

.illus-row figure:hover img {
  transform: translateY(-4px) scale(1.03);
}

/* Schedule */
.schedule-scroll {
  width: 100%;
  max-width: 52rem;
  margin-inline: auto;
  min-width: 0;
}

.schedule-caption {
  margin: 0 0 0.75rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.schedule-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 1.1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.schedule-col-head {
  padding: 0.9rem 1rem;
  background: #f3c4b0;
  color: #5a4038;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
}

.schedule-row {
  display: contents;
}

.schedule-cell {
  padding: 0.9rem 1rem;
  border-top: 1px dashed var(--line);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink);
}

.schedule-cell.time {
  text-align: center;
  font-weight: 700;
  color: var(--sky-deep);
  background: rgba(219, 126, 170, 0.08);
  font-size: 0.98rem;
}

.star,
.star-icon {
  color: var(--peach);
  font-weight: 700;
  vertical-align: -0.15em;
}

.star-icon.material-symbols-rounded {
  font-size: 1.05rem;
  color: var(--peach);
  animation: sparkTwinkle 2.6s ease-in-out infinite;
}

.subhead-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.5rem 0 0.2rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--sky-deep);
}

.subhead-icon .material-symbols-rounded {
  font-size: 1.2rem;
  color: var(--sky-deep);
}

/* Enrollment / lists */
.stack {
  display: grid;
  gap: 1rem;
}

.numbered {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: item;
  display: grid;
  gap: 0.75rem;
}

.numbered li {
  counter-increment: item;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  padding: 1rem 1.05rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}

.numbered li::before {
  content: counter(item);
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sky-deep);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Accordion */
.accordion {
  display: grid;
  gap: 0.65rem;
}

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

.accordion summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background-color 0.3s var(--ease);
}

.accordion summary:hover {
  background: rgba(226, 138, 168, 0.06);
}

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

.accordion summary::after {
  content: "";
  width: 1.6rem;
  height: 1.6rem;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: var(--paper-2);
  background-image:
    linear-gradient(var(--sky-deep), var(--sky-deep)),
    linear-gradient(var(--sky-deep), var(--sky-deep));
  background-size: 10px 2px, 2px 10px;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-color 0.3s var(--ease), background-size 0.35s var(--ease), transform 0.35s var(--ease);
}

.accordion details.is-open summary::after,
.accordion details[open] summary::after {
  background-size: 10px 2px, 2px 0;
  transform: rotate(180deg);
  background-color: rgba(226, 138, 168, 0.18);
}

.accordion .acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}

.accordion details.is-open > .acc-panel,
.accordion details[open] > .acc-panel {
  grid-template-rows: 1fr;
}

.accordion .acc-panel > .acc-body {
  overflow: hidden;
  min-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity 0.35s var(--ease),
    transform 0.45s var(--ease);
}

.accordion details.is-open > .acc-panel > .acc-body,
.accordion details[open] > .acc-panel > .acc-body {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.05s;
}

.accordion .acc-body {
  padding: 0 1.25rem 1.3rem;
  color: var(--ink-muted);
  display: grid;
  gap: 0.8rem;
  font-size: var(--text-base);
  line-height: 1.8;
}

.accordion .acc-body ul,
.accordion .acc-body ol {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.35rem;
}

@media (prefers-reduced-motion: reduce) {
  .accordion .acc-panel,
  .accordion .acc-panel > .acc-body,
  .accordion summary::after,
  .submenu-panel,
  .submenu,
  .nav-list > li > button::after,
  .section-icon,
  .hero-logo,
  .hero-logo img,
  .hero-fx,
  .fx-bubble,
  .fx-spark,
  .btn-primary::after,
  .goal-num,
  .notice-inner .material-symbols-rounded,
  .star-icon,
  .reveal.is-visible .policy-item,
  .reveal.is-visible .ai-list li,
  .reveal.is-visible .goal-list li {
    transition: none !important;
    animation: none !important;
  }

  .btn:hover,
  .policy-item:hover,
  .info-box:hover,
  .hero-logo:hover img {
    transform: none;
  }
}

/* Instagram profile embed (API不要) */
.instagram-embed-wrap {
  max-width: 540px;
  margin: 0 auto;
}

.instagram-embed-container {
  position: relative;
  max-width: 540px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  /* 2段目の投稿まで見せつつ、下部の白い余白は隠す */
  aspect-ratio: 540 / 520;
  max-height: 520px;
}

.instagram-embed-container iframe {
  position: absolute;
  inset: 0 0 auto 0;
  display: block;
  width: 100%;
  height: calc(100% + 48px);
  border: 0;
  overflow: hidden;
  background: #fff;
}

.instagram-follow {
  text-align: center;
  margin-top: 1.25rem;
}

.instagram-follow .btn-primary {
  background-color: var(--accent-cta-from);
  background-image: linear-gradient(90deg, var(--accent-cta-from) 0%, #e891b8 55%, var(--accent-cta-to) 100%);
  color: #fff !important;
  border: 0;
  box-shadow: 0 6px 16px rgba(219, 126, 170, 0.28);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.contact-form,
.access-card {
  padding: clamp(1.2rem, 2.5vw, 1.7rem);
  border-radius: calc(var(--radius) + 4px);
  background: var(--white);
  border: 1px solid var(--line);
}

.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form {
  position: relative;
}

.form-grid {
  display: grid;
  gap: 0.85rem;
}

.form-row {
  display: grid;
  gap: 0.35rem;
}

.form-row label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.form-row label .material-symbols-rounded {
  font-size: 1.05rem;
  color: var(--sky-deep);
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  background: #fbfcfc;
  color: var(--ink);
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: 2px solid rgba(226, 138, 168, 0.45);
  border-color: var(--sky);
  background: #fff;
}

.form-row textarea {
  min-height: 130px;
  resize: vertical;
}

.form-topics {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.form-topics legend {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.55rem;
  padding: 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.form-topics legend .material-symbols-rounded {
  color: var(--sky-deep);
  font-size: 1.15rem;
}

.form-topics__hint {
  margin-left: 0.15rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.topic-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.topic-check {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffbfe;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.topic-check:hover {
  border-color: rgba(219, 126, 170, 0.45);
  background: #fff3f8;
}

.topic-check:has(input:checked) {
  border-color: var(--sky-deep);
  background: linear-gradient(145deg, #fff3f8, #ffe8f2);
  box-shadow: 0 0 0 3px rgba(246, 187, 211, 0.35);
  color: var(--sky-deep);
}

.topic-check:has(input:focus-visible) {
  outline: 2px solid var(--sky-deep);
  outline-offset: 2px;
}

/* ネイティブチェックは非表示（見た目は .topic-check__box で描画） */
.topic-check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
  white-space: nowrap;
}

.topic-check__box {
  box-sizing: border-box;
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  border: 1.5px solid rgba(122, 122, 122, 0.35);
  border-radius: 4px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.topic-check__box::after {
  content: "";
  width: 0.34rem;
  height: 0.18rem;
  margin-top: -0.08rem;
  border-left: 2px solid transparent;
  border-bottom: 2px solid transparent;
  transform: rotate(-45deg);
}

.topic-check input:checked + .topic-check__box {
  background: var(--sky-deep);
  border-color: var(--sky-deep);
}

.topic-check input:checked + .topic-check__box::after {
  border-left-color: #fff;
  border-bottom-color: #fff;
}

.topic-check__text {
  line-height: 1.35;
}

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

.form-note {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.form-status {
  margin: 0.6rem 0 0;
  font-weight: 700;
  min-height: 1.4em;
}

/* お問い合わせ：送信中オーバーレイ / 完了モーダル */
html.is-contact-overlay-open,
body.is-contact-overlay-open {
  overflow: hidden;
}

.contact-loading,
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.contact-loading[hidden],
.contact-modal[hidden] {
  display: none !important;
}

.contact-loading {
  background: rgba(85, 85, 85, 0.48);
  backdrop-filter: blur(4px);
}

.contact-loading__panel {
  width: min(100%, 320px);
  padding: 2rem 1.5rem;
  border-radius: calc(var(--radius) + 4px);
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}

.contact-loading__spinner {
  display: inline-block;
  width: 2.5rem;
  height: 2.5rem;
  border: 3px solid rgba(219, 126, 170, 0.22);
  border-top-color: var(--sky-deep);
  border-radius: 50%;
  animation: contact-spin 0.8s linear infinite;
}

.contact-loading__title {
  margin: 1rem 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
}

.contact-loading__text {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

@keyframes contact-spin {
  to {
    transform: rotate(360deg);
  }
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(85, 85, 85, 0.48);
  backdrop-filter: blur(4px);
}

.contact-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  padding: 2rem 1.5rem 1.5rem;
  border-radius: calc(var(--radius) + 4px);
  background: var(--white);
  box-shadow: 0 18px 40px rgba(219, 126, 170, 0.22);
  text-align: center;
  outline: none;
  animation: contact-modal-in 0.35s var(--ease);
}

.contact-modal__icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff3f8, #ffe0ee);
  color: var(--sky-deep);
}

.contact-modal__icon .material-symbols-rounded {
  font-size: 2rem;
  font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24;
}

.contact-modal__title {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
}

.contact-modal__text {
  margin: 0 0 1.35rem;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--ink-muted);
}

.contact-modal__close {
  min-width: 8.5rem;
}

@keyframes contact-modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-loading__spinner {
    animation: none;
    border-top-color: var(--sky-deep);
  }

  .contact-modal__dialog {
    animation: none;
  }
}

.access-card h3 {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
}

.access-card h3 .material-symbols-rounded {
  color: var(--sky-deep);
  font-size: 1.25rem;
}

.access-card dl {
  margin: 0 0 1rem;
  display: grid;
  gap: 0.65rem;
}

.access-card dt {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--sky);
}

.access-card dt .material-symbols-rounded {
  font-size: 1rem;
  color: var(--sky-deep);
}

.access-card dd {
  margin: 0.15rem 0 0;
}

.map-embed {
  border: 0;
  width: 100%;
  min-height: 240px;
  border-radius: 14px;
}

/* Footer */
.site-footer {
  position: relative;
  padding: 3.1rem 0 2rem;
  background: linear-gradient(160deg, #e891b8 0%, #db7eaa 48%, #e85a8f 100%);
  color: rgba(255, 255, 255, 0.92);
  overflow: hidden;
}

.footer-wave {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  line-height: 0;
  pointer-events: none;
  transform: translateY(-1px);
}

.footer-wave svg {
  display: block;
  width: 100%;
  height: 28px;
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.75rem 2.5rem;
  align-items: start;
}

.footer-brand-block {
  min-width: 0;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  margin-bottom: 0.85rem;
}

.footer-contacts {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.footer-contacts li {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.45rem;
  align-items: start;
  font-size: 0.9rem;
  line-height: 1.55;
  opacity: 0.92;
}

.footer-contacts .material-symbols-rounded {
  font-size: 1.1rem;
  margin-top: 0.12rem;
  opacity: 0.95;
}

.footer-postal {
  display: block;
  font-size: 0.84rem;
  opacity: 0.88;
  margin-bottom: 0.1rem;
}

.footer-contacts li > span:last-child {
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
}

.footer-contacts a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-contacts a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 1rem;
  align-content: start;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}

.footer-nav a:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.copyright {
  margin: 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.82rem;
  opacity: 0.78;
  text-align: center;
  letter-spacing: 0.04em;
}

/* Subpage */
.page-hero {
  padding: 3.5rem 0 2rem;
  background:
    linear-gradient(135deg, rgba(226, 138, 168, 0.18), rgba(240, 160, 112, 0.1));
}

.page-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.entity-summary {
  max-width: 42em;
  margin-inline: auto;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.fact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.1rem 1.2rem;
  box-shadow: var(--shadow);
}

.fact-card .material-symbols-rounded {
  color: var(--sky-deep);
  font-size: 1.65rem;
}

.fact-card h3 {
  margin: 0.35rem 0 0.35rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--ink);
}

.fact-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.7;
}

.access-nap {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
}

.maps-link {
  margin: 0.35rem 0 1rem;
  width: 100%;
  justify-content: center;
}

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

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

.prose {
  max-width: 720px;
}

.prose h2 {
  margin: 2rem 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.prose p,
.prose li {
  color: var(--ink-muted);
}

/* ========================================
   Responsive
   PC: 1200px〜  /  Tablet: 768〜1199px  /  Mobile: 〜767px
   ======================================== */

/* --- Tablet & Mobile: hamburger --- */
@media (max-width: 1199px) {
  :root {
    --header-h: 68px;
  }

  .site-header {
    z-index: 200;
  }

  .nav-toggle {
    display: inline-flex;
    z-index: 220;
    margin-left: auto;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 150;
    border: 0;
    padding: 0;
    margin: 0;
    background: rgba(36, 28, 34, 0.42);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), visibility 0.3s;
    cursor: pointer;
  }

  body.nav-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 210;
    display: block;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(226, 138, 168, 0.12);
    padding: 0.85rem 1.1rem 1.25rem;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition:
      transform 0.35s var(--ease),
      opacity 0.35s var(--ease),
      visibility 0.35s;
    max-height: calc(100dvh - var(--header-h));
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    gap: 0.2rem;
  }

  .nav-list > li > a,
  .nav-list > li > button {
    width: 100%;
    justify-content: space-between;
    padding: 0.85rem 0.9rem;
    border-radius: 12px;
    font-size: 1rem;
    white-space: normal;
  }

  .nav-list > li > button::after {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-right: 2px solid var(--ink-muted);
    border-bottom: 2px solid var(--ink-muted);
    transform: rotate(45deg);
    transition: transform 0.42s var(--ease);
    margin-left: auto;
  }

  .nav-list > li.is-open > button::after {
    transform: rotate(-135deg);
  }

  .submenu-panel {
    position: static;
    min-width: 0;
    opacity: 1;
    transform: none;
    display: grid;
    grid-template-rows: 0fr;
    visibility: hidden;
    transition:
      grid-template-rows 0.42s var(--ease),
      visibility 0s linear 0.42s;
  }

  .nav-list > li.is-open > .submenu-panel {
    grid-template-rows: 1fr;
    visibility: visible;
    transition:
      grid-template-rows 0.42s var(--ease),
      visibility 0s;
  }

  .nav-list > li:hover > .submenu-panel,
  .nav-list > li:focus-within > .submenu-panel {
    opacity: 1;
    transform: none;
  }

  .submenu {
    overflow: hidden;
    min-height: 0;
    margin: 0;
    padding: 0 0.35rem;
    border: 0;
    border-radius: 12px;
    background: var(--paper-2);
    box-shadow: none;
    opacity: 0;
    transform: translateY(-6px);
    transition:
      opacity 0.32s var(--ease),
      transform 0.42s var(--ease),
      padding 0.42s var(--ease),
      margin 0.42s var(--ease);
  }

  .nav-list > li.is-open > .submenu-panel > .submenu {
    margin: 0.15rem 0 0.35rem;
    padding: 0.35rem;
    opacity: 1;
    transform: none;
  }

  .submenu a {
    padding: 0.7rem 0.85rem;
  }

  .header-cta {
    width: 100%;
    justify-content: center;
    margin-top: 0.65rem;
    min-height: 48px;
  }

  .brand img {
    width: clamp(140px, 38vw, 180px);
  }

  .hero {
    /* 横長写真を縦いっぱいカバーすると過度にトリミングされるため抑制 */
    min-height: min(62svh, 560px);
    max-height: 620px;
  }

  .hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .hero-media img {
    object-position: 40% 46%;
  }

  .hero-content {
    padding: 4.2rem 0 3.8rem;
    width: min(1100px, calc(100% - 2rem));
  }

  .hero-logo img {
    width: min(340px, 52vw);
  }

  .hours-layout,
  .split-2,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .illus-row {
    grid-template-columns: repeat(3, minmax(0, 150px));
    justify-content: center;
    gap: 0.75rem;
    max-width: 480px;
    margin-inline: auto;
  }

  .schedule-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    margin-inline: -0.15rem;
    padding-bottom: 0.35rem;
  }

  .schedule-grid {
    display: grid;
    grid-template-columns: minmax(6.8rem, 1fr) minmax(3.8rem, 0.55fr) minmax(6.8rem, 1fr);
    min-width: 480px;
  }

  .schedule-col-head {
    padding: 0.7rem 0.5rem;
    font-size: 0.84rem;
  }

  .schedule-cell {
    padding: 0.7rem 0.5rem;
    font-size: 0.84rem;
    line-height: 1.5;
  }

  .hours-layout {
    grid-template-columns: 1fr;
  }

  .hours-visual {
    max-width: 360px;
    margin-inline: auto;
  }

  .container {
    width: min(var(--content-max), calc(100% - 2rem));
  }
}

/* --- Tablet only --- */
@media (min-width: 768px) and (max-width: 1199px) {
  :root {
    --space-section: clamp(3.25rem, 5vw, 4.5rem);
  }

  .section {
    padding: var(--space-section) 0;
  }

  .section-head {
    margin-bottom: 1.85rem;
  }

  .section-head p {
    font-size: 1rem;
  }

  .hero-logo img {
    width: min(300px, 46vw);
  }

  .hero-actions {
    gap: 0.85rem;
  }

  .notice-inner {
    padding: 1.15rem 0;
    gap: 1rem;
  }

  .info-box {
    padding: 1.15rem 1.2rem;
  }

  .info-box h3 {
    font-size: 1.05rem;
  }

  .instagram-embed-wrap {
    max-width: 500px;
  }

  .table-wrap {
    border-radius: 16px;
  }

  table.data {
    min-width: 0;
  }

  /* 年間行事 */
  #gyouji .section-head {
    margin-bottom: 1.35rem;
  }

  #gyouji .section-head p {
    font-size: 0.92rem;
  }

  #gyouji .table-wrap {
    max-width: 32rem;
  }

  #gyouji .info-box {
    max-width: 32rem;
    margin-top: 0.75rem;
    padding: 0.75rem 0.9rem;
  }

  table.events-table thead th {
    padding: 0.45rem 0.6rem;
  }

  table.events-table tbody th,
  table.events-table td {
    padding: 0.38rem 0.6rem;
    font-size: 0.88rem;
  }

  #gyouji .illus-row {
    margin-top: 0.95rem;
  }
}

/* --- Mobile --- */
@media (max-width: 767px) {
  :root {
    --header-h: 64px;
    --space-section: 3.1rem;
    --text-lg: 1rem;
  }

  .header-inner {
    width: calc(100% - 2rem);
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
  }

  .container {
    width: calc(100% - 2.4rem);
  }

  .section {
    padding: var(--space-section) 0;
  }

  .section-head {
    margin-bottom: 1.65rem;
  }

  .section-head h2 {
    font-size: clamp(1.6rem, 6.5vw, 1.95rem);
    margin-bottom: 0.65rem;
  }

  .section-head p {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .section-icon {
    width: 2.15rem;
    height: 2.15rem;
  }

  .section-icon .material-symbols-rounded {
    font-size: 1.15rem;
  }

  .hero {
    min-height: 0;
    max-height: none;
    align-items: center;
  }

  .hero-media img {
    object-position: 38% 45%;
  }

  .hero-content {
    padding: 2rem 0 2.2rem;
    width: calc(100% - 2.4rem);
    gap: 0;
  }

  .hero-logo {
    margin-bottom: 0.85rem;
    width: auto;
    aspect-ratio: auto;
    overflow: visible;
    display: block;
  }

  .hero-logo img {
    width: min(280px, 78vw);
    max-width: 100%;
    height: auto;
    transform: none;
  }

  .hero-lead {
    font-size: 0.92rem;
    margin-bottom: 1.15rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    width: min(100%, 320px);
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .hero-wave svg {
    height: 52px;
  }

  .header-wave svg {
    height: 16px;
  }

  .notice-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 0.95rem;
    padding: 1.25rem 0;
  }

  .notice-inner p {
    font-size: 1.02rem;
    line-height: 1.55;
  }

  .notice-inner .btn {
    width: 100%;
  }

  .policy-row {
    grid-template-columns: 1fr;
  }

  .policy-item {
    padding: 1.15rem 1.05rem;
  }

  .policy-item h4 {
    font-size: 1.02rem;
  }

  .policy-item p {
    font-size: 0.95rem;
  }

  #gyouji .section-head {
    margin-bottom: 1.15rem;
  }

  #gyouji .section-head p {
    font-size: 0.92rem;
    line-height: 1.65;
  }

  #gyouji .table-wrap {
    max-width: 100%;
  }

  table.events-table thead th {
    padding: 0.4rem 0.5rem;
    font-size: 0.85rem;
  }

  table.events-table tbody th {
    width: 3.6rem;
  }

  table.events-table tbody th,
  table.events-table td {
    padding: 0.35rem 0.5rem;
    font-size: 0.86rem;
    line-height: 1.4;
  }

  #gyouji .info-box {
    max-width: 100%;
    margin-top: 0.7rem;
    padding: 0.7rem 0.85rem;
  }

  #gyouji .info-box h3 {
    margin: 0 0 0.35rem;
    font-size: 0.95rem;
  }

  #gyouji .info-box .icon-list {
    gap: 0.22rem;
  }

  #gyouji .info-box .icon-list li {
    font-size: 0.86rem;
  }

  .illus-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
    width: 100%;
    max-width: none;
    margin-inline: 0;
    margin-top: 1.1rem;
  }

  .illus-row figure {
    width: 100%;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    aspect-ratio: auto;
    background: transparent;
  }

  .illus-row img {
    object-fit: contain;
    object-position: center;
    transform: none;
  }

  .ai-panel,
  .quote-panel {
    padding: 1.25rem 1.1rem;
  }

  .hours-visual {
    max-width: 300px;
    margin-inline: auto;
  }

  .info-box {
    padding: 1.1rem 1.05rem;
  }

  .info-box h3 {
    font-size: 1.02rem;
  }

  .info-box p,
  .info-box li {
    font-size: 0.95rem;
  }

  .schedule-scroll {
    margin-inline: 0;
  }

  .schedule-grid {
    min-width: 0;
    width: 100%;
    grid-template-columns: minmax(0, 1.15fr) 3.6rem minmax(0, 1.15fr);
  }

  .schedule-col-head {
    padding: 0.75rem 0.45rem;
    font-size: 0.78rem;
    letter-spacing: 0.01em;
    line-height: 1.35;
    word-break: keep-all;
    line-break: strict;
    overflow-wrap: break-word;
  }

  .schedule-cell {
    padding: 0.7rem 0.45rem;
    font-size: 0.8rem;
    line-height: 1.55;
    word-break: keep-all;
    line-break: strict;
    overflow-wrap: break-word;
  }

  .schedule-cell.time {
    font-size: 0.78rem;
    padding-inline: 0.2rem;
    line-height: 1.35;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  table.data {
    min-width: 0;
    font-size: 0.88rem;
  }

  table.data th,
  table.data td {
    padding: 0.75rem 0.55rem;
    word-break: keep-all;
    line-break: strict;
    overflow-wrap: break-word;
    line-height: 1.55;
  }

  .numbered li {
    grid-template-columns: auto 1fr;
    padding: 1rem 0.95rem;
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .accordion summary {
    padding: 1.05rem 1.05rem;
    font-size: 1.02rem;
  }

  .accordion .acc-body {
    padding: 0 1.05rem 1.15rem;
    font-size: 0.95rem;
  }

  .instagram-embed-wrap {
    max-width: 100%;
  }

  .instagram-embed-container {
    max-height: none;
    aspect-ratio: 540 / 500;
  }

  .contact-form,
  .access-card {
    padding: 1.1rem;
  }

  .map-embed {
    min-height: 200px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .footer-nav a {
    justify-content: center;
    text-align: center;
    font-size: 0.84rem;
    min-height: 2.55rem;
    padding: 0.45rem 0.5rem;
  }

  .footer-contacts li {
    font-size: 0.88rem;
  }

  .site-footer {
    padding: 2.4rem 0 1.7rem;
  }

  .footer-wave svg {
    height: 22px;
  }
}

/* モバイル専用の改行（PC・タブレットでは非表示） */
@media (min-width: 768px) {
  .br-mobile {
    display: none;
  }
}

/* --- PC --- */
@media (min-width: 1200px) {
  .nav-toggle,
  .nav-backdrop {
    display: none !important;
  }

  .site-nav {
    display: flex !important;
    position: static;
    flex: 1 1 auto;
    justify-content: flex-end;
    min-width: 0;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    max-height: none;
    overflow: visible;
  }

  .nav-list {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
  }

  .nav-list > li {
    flex-shrink: 0;
  }

  .nav-contact {
    display: none;
  }

  /* PC: ドロップダウン付きメニューの矢印表示 */
  .nav-list > li > button::after {
    content: "";
    width: 0.34rem;
    height: 0.34rem;
    margin-left: 0.05rem;
    margin-top: -0.18rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    opacity: 0.72;
    flex-shrink: 0;
    transition: transform 0.2s var(--ease), margin-top 0.2s var(--ease), opacity 0.2s;
  }

  .nav-list > li:hover > button::after,
  .nav-list > li:focus-within > button::after,
  .nav-list > li.is-open > button::after {
    transform: rotate(-135deg);
    margin-top: 0.12rem;
    opacity: 1;
  }

  .submenu-panel {
    display: block;
    position: absolute;
    grid-template-rows: unset;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }

  .submenu {
    display: block;
    overflow: visible;
    min-height: auto;
    margin: 0;
    padding: 0.5rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow);
    opacity: 1;
    transform: none;
    transition: none;
  }

  .header-cta {
    width: auto;
    margin-top: 0;
  }
}

@media (min-width: 1200px) and (max-width: 1380px) {
  .header-inner {
    width: calc(100% - 1.25rem);
    gap: 0.5rem;
  }

  .site-nav {
    gap: 0.2rem;
  }

  .nav-list {
    gap: 0;
  }

  .nav-list > li > a,
  .nav-list > li > button {
    padding: 0.45rem 0.55rem;
    font-size: 0.8rem;
    letter-spacing: -0.02em;
  }

  .header-cta {
    padding: 0.52rem 0.8rem;
    font-size: 0.78rem;
  }

  .brand {
    flex-shrink: 0;
  }

  .brand img {
    width: clamp(128px, 12vw, 168px);
  }
}

@media (min-width: 1381px) {
  .nav-list > li > a,
  .nav-list > li > button {
    font-size: 0.88rem;
    padding: 0.55rem 0.65rem;
  }

  .header-cta {
    font-size: 0.86rem;
  }
}
