:root {
  --bg: #ffffff;
  --bg-soft: #f7faf8;
  --bg-warm: #fff8ee;
  --text: #13201b;
  --muted: #64706b;
  --line: #e6eee9;
  --accent: #2f7d6b;
  --accent-dark: #1f5e50;
  --accent-soft: #eaf5f1;
  --sun: #f5a524;
  --blue: #4f7fd8;
  --pink: #e84f8a;
  --shadow: 0 18px 48px rgba(20, 48, 40, 0.10);
  --radius: 24px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(230, 238, 233, 0.9);
}

.header-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.logo-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo small {
  display: block;
  margin-top: -3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: #31433b;
}

.nav a:hover,
.nav a:focus-visible {
  background: var(--accent-soft);
  color: var(--accent-dark);
  outline: none;
}

.nav .nav-contact {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 8px 22px rgba(47, 125, 107, 0.22);
}

.nav .nav-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  margin-left: 2px;
  color: #31433b;
}

.nav .nav-instagram svg {
  display: block;
}

.nav-instagram-label,
.nav .nav-top,
.header-mobile {
  display: none;
}

.header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #31433b;
  cursor: pointer;
  font: inherit;
}

.header-icon:hover,
.header-icon:focus-visible {
  background: var(--accent-soft);
  color: var(--accent-dark);
  outline: none;
}

.header-icon svg {
  display: block;
}

.header-icon-contact {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 6px 16px rgba(47, 125, 107, 0.22);
}

.header-icon-contact:hover,
.header-icon-contact:focus-visible {
  background: var(--accent-dark);
  color: #fff;
}

.menu-toggle .icon-close {
  display: none;
}

.site-header.is-open .menu-toggle .icon-bars {
  display: none;
}

.site-header.is-open .menu-toggle .icon-close {
  display: block;
}

body.menu-lock {
  overflow: hidden;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 70px;
  background:
    radial-gradient(circle at 12% 18%, rgba(245, 165, 36, 0.16), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(47, 125, 107, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fbfdfc 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(47, 125, 107, 0.12);
  pointer-events: none;
}

.hero::before {
  width: 420px;
  height: 420px;
  right: -160px;
  top: -130px;
}

.hero::after {
  width: 280px;
  height: 280px;
  left: -130px;
  bottom: -140px;
}

.hero-inner {
  position: relative;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 52px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin: 22px 0 18px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-lead {
  margin-bottom: 28px;
  color: #3d4b46;
  font-size: clamp(17px, 2vw, 20px);
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 14px 28px rgba(47, 125, 107, 0.24);
}

.button-secondary {
  color: var(--accent-dark);
  background: #fff;
  border-color: rgba(47, 125, 107, 0.2);
}

.hero-note {
  color: var(--muted);
  font-size: 14px;
}

.hero-card {
  position: relative;
  min-height: 500px;
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: 34px;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px dashed rgba(47, 125, 107, 0.24);
  border-radius: 26px;
  pointer-events: none;
  z-index: 3;
}

.hero-card.has-photo {
  padding: 0;
  min-height: auto;
}

.hero-card.has-photo::before {
  display: none;
}

.hero-photo {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--bg-soft);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.has-photo .hero-card-title {
  margin: 28px 30px 16px;
}

.has-photo .bubble-list {
  margin: 0 22px 28px;
}

.hero-card-title {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 36px;
}

.hero-card-title span {
  display: inline-block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.hero-card-title strong {
  display: block;
  margin-top: 2px;
  font-size: 34px;
  line-height: 1.15;
}

.speech {
  flex: 0 0 auto;
  transform: rotate(-5deg);
  padding: 10px 14px;
  border: 2px solid #17211d;
  border-radius: 18px 18px 18px 4px;
  font-size: 20px;
  font-weight: 900;
  background: #fff8df;
}

.kids-visual {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 28px;
  height: 300px;
  z-index: 1;
}

.kid {
  position: absolute;
  width: 112px;
  height: 154px;
  border-radius: 56px 56px 28px 28px;
  background: var(--accent-soft);
  border: 2px solid rgba(19, 32, 27, 0.78);
}

.kid::before {
  content: "";
  position: absolute;
  top: -38px;
  left: 17px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(19, 32, 27, 0.78);
  box-shadow: inset 0 -7px 0 rgba(19, 32, 27, 0.06);
}

.kid::after {
  content: "⌣";
  position: absolute;
  top: -17px;
  left: 46px;
  color: #17211d;
  font-size: 30px;
  font-weight: 900;
}

.kid i,
.kid b {
  position: absolute;
  width: 44px;
  height: 12px;
  top: 26px;
  background: #fff;
  border: 2px solid rgba(19, 32, 27, 0.78);
  border-radius: 999px;
}

.kid i {
  left: -34px;
  transform: rotate(-36deg);
}

.kid b {
  right: -34px;
  transform: rotate(36deg);
}

.kid-1 {
  left: 5%;
  bottom: 34px;
  background: #fff2b8;
  transform: rotate(-8deg);
}

.kid-2 {
  left: 36%;
  bottom: 72px;
  background: #dff4ee;
}

.kid-3 {
  right: 7%;
  bottom: 30px;
  background: #ffe4ed;
  transform: rotate(8deg);
}

.bubble-list {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.bubble-list div {
  padding: 16px 14px;
  border-radius: 18px;
  background: var(--accent-soft);
  border: 1px solid rgba(47, 125, 107, 0.18);
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 4px 12px rgba(20, 48, 40, 0.04);
}

section {
  padding: 84px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
}

.section-kicker {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

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

.card {
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(20, 48, 40, 0.06);
}

.icon {
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 24px;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.35;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.program-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.program-card {
  position: relative;
  padding: 30px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}

.program-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -42px;
  bottom: -44px;
  border-radius: 50%;
  background: var(--accent-soft);
}

.program-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.program-card p {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  color: var(--muted);
}

.info-box {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: stretch;
}

.info-panel,
.news-panel,
.contact-panel {
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.info-panel {
  padding: 28px;
}

.info-row {
  display: grid;
  grid-template-columns: 9em 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.info-row:last-child {
  border-bottom: none;
}

.info-row dt {
  color: var(--muted);
  font-weight: 800;
}

.info-row dd {
  margin: 0;
  font-weight: 700;
}

.info-row dd .info-note {
  display: inline-block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.info-hours-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.info-hours-list li {
  display: grid;
  grid-template-columns: 9em 1fr;
  gap: 8px;
  align-items: baseline;
}

.info-hours-list li span {
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}

.br-sp {
  display: none;
}

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

  .br-pc {
    display: none;
  }

  .info-hours-list li {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.map iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
  filter: saturate(0.92);
}

.news-panel {
  padding: 18px;
}

.news-list {
  display: grid;
  gap: 0;
}

.news-item {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 18px;
  padding: 22px 10px;
  border-bottom: 1px solid var(--line);
}

.news-item:last-child {
  border-bottom: none;
}

.news-item time {
  color: var(--accent-dark);
  font-weight: 900;
  font-size: 14px;
}

.news-item h3 {
  margin-bottom: 4px;
  font-size: 18px;
}

.news-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.news-item p a {
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news-item p a:hover,
.news-item p a:focus-visible {
  color: var(--accent);
}

.contact-section {
  padding-bottom: 96px;
}

.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 24px;
  padding: 42px;
  background:
    radial-gradient(circle at 100% 0%, rgba(245, 165, 36, 0.15), transparent 28%),
    #ffffff;
}

.contact-panel h2 {
  margin-bottom: 14px;
}

.contact-panel p {
  margin-bottom: 24px;
  color: var(--muted);
}

.contact-methods {
  display: grid;
  gap: 12px;
}

.contact-method {
  padding: 18px;
  border-radius: 18px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.contact-method span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.contact-method strong {
  display: block;
  margin-top: 2px;
  font-size: 20px;
}

.site-footer {
  padding: 34px 0;
  background: #13201b;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-inner strong {
  color: #fff;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
}

.footer-instagram {
  justify-content: flex-start;
  gap: 22px;
  margin-bottom: 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-qr {
  flex: 0 0 auto;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.footer-qr img {
  display: block;
  width: 120px;
  height: 120px;
}

.footer-instagram-text {
  flex: 1 1 240px;
  line-height: 1.7;
}

.footer-instagram-text strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}

.footer-instagram-text p {
  margin: 0;
}

.footer-instagram-link {
  display: inline-block;
  margin-top: 8px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.footer-instagram-link:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.event-section {
  padding: 0;
}

.event-head {
  width: min(var(--max), calc(100% - 40px));
  margin: 28px auto 0;
}

.event-head .section-kicker {
  margin-bottom: 4px;
}

.event-head h2 {
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.3;
}

.event-banner {
  position: relative;
  overflow: hidden;
  width: min(var(--max), calc(100% - 40px));
  margin: 16px auto 0;
  border-radius: 28px;
  background:
    radial-gradient(circle at 8% 12%, rgba(245, 165, 36, 0.22), transparent 32%),
    radial-gradient(circle at 92% 0%, rgba(232, 79, 138, 0.14), transparent 30%),
    var(--bg-warm);
  border: 2px solid rgba(245, 165, 36, 0.5);
  box-shadow: var(--shadow);
}

.event-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 32px;
  padding: 32px;
  align-items: center;
}

.event-flyer {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(20, 48, 40, 0.12);
  background: #fff;
}

.event-flyer img {
  width: 100%;
  height: auto;
}

.event-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--sun);
  color: #4a2f00;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.event-title {
  margin: 16px 0 6px;
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.event-sub {
  margin: 0 0 20px;
  color: #6b5326;
  font-size: 15px;
  font-weight: 700;
}

.event-meta {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.event-meta li {
  display: grid;
  grid-template-columns: 5.5em 1fr;
  gap: 12px;
  align-items: baseline;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(245, 165, 36, 0.45);
  font-weight: 700;
  font-size: 15px;
}

.event-meta li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.event-meta li span {
  color: var(--accent-dark);
  font-weight: 900;
  font-size: 13px;
}

.event-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.button-event {
  color: #fff;
  background: var(--sun);
  box-shadow: 0 14px 28px rgba(245, 165, 36, 0.35);
  font-size: 17px;
  min-height: 56px;
  padding: 0 30px;
}

.button-event:hover {
  background: #e2940f;
}

.event-cta-note {
  margin: 0;
  color: #8a6a2c;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 62px;
    gap: 12px;
  }

  .header-mobile {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 8px 20px 18px;
    max-height: calc(100vh - 62px);
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(230, 238, 233, 0.9);
    box-shadow: 0 18px 30px rgba(19, 32, 27, 0.12);
    font-size: 15px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.24s ease, visibility 0s linear 0.24s;
  }

  .site-header.is-open .nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition: opacity 0.2s ease, transform 0.24s ease, visibility 0s;
  }

  .nav .nav-top {
    display: block;
  }

  .nav a {
    padding: 13px 14px;
    border-radius: 12px;
  }

  .nav .nav-contact {
    margin-top: 6px;
    text-align: center;
  }

  .nav .nav-instagram {
    width: auto;
    height: auto;
    margin: 10px 0 0;
    padding: 13px 14px;
    justify-content: flex-start;
    gap: 10px;
    border-top: 1px solid rgba(230, 238, 233, 0.9);
    border-radius: 0 0 12px 12px;
  }

  .nav-instagram-label {
    display: inline;
  }

  @media (prefers-reduced-motion: reduce) {
    .nav,
    .site-header.is-open .nav {
      transition: none;
    }
  }

  .hero {
    padding-top: 56px;
  }

  .hero-inner,
  .section-heading,
  .info-box,
  .contact-panel,
  .event-grid {
    grid-template-columns: 1fr;
  }

  .event-flyer {
    order: -1;
  }

  .hero-card {
    min-height: 470px;
  }

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

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

  .map iframe {
    min-height: 320px;
  }
}

@media (max-width: 600px) {
  .header-inner,
  .container,
  .hero-inner,
  .footer-inner {
    width: min(100% - 28px, var(--max));
  }

  .nav {
    padding: 8px 14px 16px;
  }

  .hero-card {
    padding: 24px;
    min-height: 430px;
  }

  .hero-card-title strong {
    font-size: 27px;
  }

  .speech {
    font-size: 16px;
  }

  .kids-visual {
    left: 12px;
    right: 12px;
    transform: scale(0.9);
    transform-origin: bottom center;
  }

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

  section {
    padding: 62px 0;
  }

  .card,
  .program-card,
  .info-panel,
  .contact-panel {
    padding: 22px;
  }

  .info-row,
  .news-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* ============================================================
   CMS: お知らせ・イベント カード（トップページ）
   ============================================================ */

.news-section {
  padding: 70px 0 76px;
  background:
    radial-gradient(circle at 90% 8%, rgba(245, 165, 36, 0.10), transparent 30%),
    var(--bg-soft);
}

.news-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.news-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(20, 48, 40, 0.06);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover,
.news-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(20, 48, 40, 0.13);
  outline: none;
}

.news-card-media {
  margin: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--accent-soft);
}

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

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

.news-card-media-empty {
  display: grid;
  place-items: center;
}

.news-card-media-empty img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  opacity: 0.85;
}

.news-card:hover .news-card-media-empty img {
  transform: none;
}

.news-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 20px;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.news-card-meta time {
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}

.news-card h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
}

.news-card-eventdate {
  margin: 0;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
}

.news-card-summary {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.chip-news {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.chip-event {
  background: rgba(245, 165, 36, 0.18);
  color: #8a5a00;
}

.news-more {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

@media (max-width: 600px) {
  .news-cards {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   下層ページ共通（お知らせ一覧・記事・カレンダー）
   ============================================================ */

.page-hero {
  padding: 56px 0 40px;
  background:
    radial-gradient(circle at 12% 18%, rgba(245, 165, 36, 0.14), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(47, 125, 107, 0.10), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #fbfdfc 100%);
}

.page-hero h1 {
  margin: 10px 0 0;
  font-size: clamp(30px, 4.5vw, 46px);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.page-hero .section-kicker {
  margin-bottom: 0;
}

.breadcrumb {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.breadcrumb a {
  color: var(--accent-dark);
}

.page-body {
  padding: 44px 0 90px;
}

@media (max-width: 600px) {
  .page-hero {
    padding: 40px 0 14px;
  }

  .page-body {
    padding: 16px 0 60px;
  }

  .article-media,
  .event-meta-panel {
    margin-top: 18px;
  }

  .prose {
    margin-top: 22px;
  }
}

.news-empty {
  padding: 30px 10px;
  color: var(--muted);
  font-weight: 700;
}

.news-item {
  transition: background 0.2s ease;
  border-radius: 14px;
}

a.news-item:hover,
a.news-item:focus-visible {
  background: var(--accent-soft);
  outline: none;
}

.news-item-main .news-card-meta {
  margin-bottom: 4px;
}

/* 記事ページ */
.article {
  max-width: 760px;
  margin: 0 auto;
}

.article-header h1 {
  margin: 28px 0 0;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.article-header .news-card-meta time {
  font-size: 14px;
}

.article-media {
  margin: 28px 0 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}

.article-media img {
  width: 100%;
  height: auto;
}

.event-meta-panel {
  margin: 28px 0 0;
  padding: 24px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 8% 12%, rgba(245, 165, 36, 0.18), transparent 34%),
    var(--bg-warm);
  border: 2px solid rgba(245, 165, 36, 0.5);
}

.event-meta-panel .event-meta {
  margin-bottom: 0;
}

.event-meta-panel .event-cta {
  margin-top: 18px;
}

.prose {
  margin-top: 30px;
  font-size: 16px;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.prose p {
  margin: 0 0 1em;
}

.prose h3 {
  margin: 1.6em 0 0.6em;
  font-size: 22px;
}

.prose h4 {
  margin: 1.4em 0 0.5em;
  font-size: 18px;
}

.prose ul,
.prose ol {
  margin: 0 0 1em;
  padding-left: 1.5em;
}

.prose li {
  margin-bottom: 0.3em;
}

.prose a {
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose img {
  border-radius: 14px;
  margin: 0.4em 0;
}

.prose blockquote {
  margin: 0 0 1em;
  padding: 12px 18px;
  border-left: 4px solid var(--accent);
  background: var(--bg-soft);
  border-radius: 0 12px 12px 0;
  color: #3d4b46;
}

/* 記事本文の先頭要素は上マージンを持たない（タイトル部の余白と二重になるため） */
.article .article-media:first-child,
.article .event-meta-panel:first-child,
.article .prose:first-child {
  margin-top: 0;
}

.article-footer {
  margin-top: 44px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ミニカレンダー（トップページ） */
.news-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

/* カードとカレンダーを同一グリッドに参加させる */
.news-layout .news-cards {
  display: contents;
}

.news-layout .mini-cal {
  grid-column: 3;
}

.mini-cal {
  padding: 20px;
  border-radius: var(--radius);
  background: #fff;
  border: 2px solid rgba(245, 165, 36, 0.55);
  box-shadow: 0 12px 30px rgba(20, 48, 40, 0.06);
}

.mini-cal-kicker {
  margin: -20px -20px 14px;
  padding: 12px 20px;
  border-radius: 22px 22px 0 0;
  background:
    radial-gradient(circle at 90% 20%, rgba(245, 165, 36, 0.18), transparent 55%),
    var(--bg-warm);
  border-bottom: 1px solid rgba(245, 165, 36, 0.35);
  color: #8a5a00;
  font-size: 14px;
  font-weight: 900;
}

.mini-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.mini-cal-head strong {
  font-size: 15px;
}

.mini-cal-head button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(47, 125, 107, 0.25);
  background: #fff;
  color: var(--accent-dark);
  font-size: 16px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease;
}

.mini-cal-head button:hover {
  background: var(--accent-soft);
}

.mini-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.mini-cal-dow {
  padding: 4px 0;
  text-align: center;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 900;
}

.mini-cal-dow.is-sun { color: var(--pink); }
.mini-cal-dow.is-sat { color: var(--blue); }

.mini-cal-cell {
  display: grid;
  place-items: center;
  height: 34px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 800;
  color: #31433b;
}

.mini-cal-cell.is-sun { color: var(--pink); }
.mini-cal-cell.is-sat { color: var(--blue); }

.mini-cal-cell.is-other {
  opacity: 0.3;
}

.mini-cal-cell.is-today {
  box-shadow: inset 0 0 0 1.5px var(--accent);
}

a.mini-cal-cell.has-event {
  background: var(--sun);
  color: #4a2f00;
  font-weight: 900;
  box-shadow: 0 3px 8px rgba(245, 165, 36, 0.4);
  transition: background 0.2s ease, transform 0.2s ease;
}

a.mini-cal-cell.has-event:hover {
  background: #e2940f;
  transform: scale(1.08);
}

.mini-cal-upcoming {
  margin-top: 12px;
  border-top: 1px dashed var(--line);
  padding-top: 10px;
  display: grid;
  gap: 6px;
}

.mini-cal-upcoming a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 10px;
  background: var(--bg-warm);
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.45;
  transition: background 0.2s ease;
}

.mini-cal-upcoming a:hover {
  background: rgba(245, 165, 36, 0.25);
}

.mini-cal-upcoming a span {
  flex: 0 0 auto;
  color: var(--accent-dark);
  font-size: 11.5px;
  font-weight: 900;
}

.mini-cal-empty {
  margin: 0;
  padding: 4px 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
}

.news-archive-link {
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.news-archive-link:hover {
  color: var(--accent);
}

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

  .news-layout .mini-cal {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  .news-layout {
    grid-template-columns: 1fr;
    row-gap: 18px;
  }

  .news-layout .mini-cal {
    margin-top: 22px;
  }

  /* スマホは最新3件までに絞る */
  .news-layout .news-cards .news-card:nth-child(n+4) {
    display: none;
  }
}

/* ============================================================
   動き（スクロールリビール・ヒーロー装飾）
   ============================================================ */

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

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

.hero::before {
  animation: float-slow 9s ease-in-out infinite alternate;
}

.hero::after {
  animation: float-slow 11s ease-in-out infinite alternate-reverse;
}

@keyframes float-slow {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(18px) scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .news-card,
  .news-card-media img {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero::before,
  .hero::after {
    animation: none;
  }
}

/* 受付終了ボタン */
.button.is-disabled {
  background: #c4ccc8;
  color: #fff;
  box-shadow: none;
  cursor: default;
  pointer-events: none;
}

.button.is-disabled:hover {
  transform: none;
  background: #c4ccc8;
}

/* ライトボックス（画像拡大表示） */
.article-media img,
.prose img {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  background: rgba(10, 18, 15, 0.92);
}

.lightbox.is-open {
  display: block;
}

.lightbox-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: none;
}

.lightbox-img {
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 90px);
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  will-change: transform;
  user-select: none;
  -webkit-user-select: none;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: rgba(255, 255, 255, 0.3);
  outline: none;
}

.lightbox-hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  margin: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  font-weight: 700;
  pointer-events: none;
}

.lightbox-lock {
  overflow: hidden;
}

/* お知らせ一覧（アーカイブ）: 3列カード + ページネーション */
.news-cards-archive {
  grid-template-columns: repeat(3, 1fr);
}

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

@media (max-width: 600px) {
  .news-cards-archive {
    grid-template-columns: 1fr;
  }
}

.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}

.pagination a,
.pagination span {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(47, 125, 107, 0.25);
  background: #fff;
  color: var(--accent-dark);
  font-size: 15px;
  font-weight: 800;
  transition: background 0.2s ease, transform 0.2s ease;
}

.pagination a:hover,
.pagination a:focus-visible {
  background: var(--accent-soft);
  transform: translateY(-1px);
  outline: none;
}

.pagination .is-current {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.pagination .is-disabled {
  opacity: 0.35;
}
