:root {
  --green: #5da36b;
  --green-dark: #397548;
  --green-light: #edf8ef;

  --yellow: #ffd966;
  --orange: #f29b5b;
  --blue: #6da8d6;
  --red: #df6c6c;

  --text: #333;
  --muted: #666;
  --white: #fff;
  --bg: #fafbf8;
  --border: #e5e5e5;

  --shadow:
    0 8px 25px rgba(0, 0, 0, .07);

  --radius: 18px;
}


/* =========================
   Reset
========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    "YuGothic",
    Meiryo,
    sans-serif;

  color: var(--text);
  background: var(--bg);

  line-height: 1.8;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}


/* =========================
   Common
========================= */

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: 80px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 45px;
}

.eyebrow {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
}

.section-heading h2 {
  font-size: 34px;
  line-height: 1.35;
  margin: 8px 0 10px;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}


/* =========================
   Header
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;

  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--border);

  backdrop-filter: blur(10px);
}

.header-inner {
  min-height: 82px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;
}


/* =========================
   Logo
========================= */

.logo {
  display: flex;
  align-items: center;
  gap: 13px;

  color: var(--green-dark);

  text-decoration: none;
  line-height: 1.15;
}

.logo-mark {
  width: 50px;
  height: 50px;

  display: grid;
  place-items: center;

  flex-shrink: 0;

  border-radius: 50%;

  background: var(--green);
  color: white;

  font-size: 25px;

  box-shadow: 0 4px 12px rgba(93, 163, 107, .22);
}

.logo-text {
  display: flex;
  flex-direction: column;

  font-size: 23px;
  font-weight: 900;

  letter-spacing: .03em;

  color: var(--green-dark);
}

.logo-text small {
  display: inline-block;

  width: fit-content;

  margin-top: 5px;
  padding: 3px 10px;

  border-radius: 6px;

  background: var(--green);
  color: white;

  font-size: 15px;
  font-weight: 800;

  letter-spacing: .08em;
}


/* =========================
   Navigation
========================= */

.main-nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.main-nav a {
  padding: 9px 12px;

  border-radius: 10px;

  font-size: 14px;
  font-weight: 700;

  transition: .2s;
}

.main-nav a:hover {
  background: var(--green-light);
  color: var(--green-dark);
}
/* =========================
   Hamburger
========================= */

.menu-button {
  display: none;

  width: 44px;
  height: 44px;

  padding: 8px;

  border: 0;
  border-radius: 10px;

  background: var(--green);
  cursor: pointer;
}

.menu-button span {
  display: block;

  width: 24px;
  height: 2px;

  margin: 5px auto;

  background: white;

  transition: .2s;
}

.menu-button.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-button.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* =========================
   Hero
========================= */

.hero {
  overflow: hidden;

  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(255, 217, 102, .55),
      transparent 180px
    ),
    radial-gradient(
      circle at 10% 90%,
      rgba(109, 168, 214, .22),
      transparent 220px
    ),
    linear-gradient(
      135deg,
      #eef9ef 0%,
      #fffdf4 100%
    );
}

.hero-inner {
  min-height: 620px;

  display: grid;
  grid-template-columns: 1.1fr .9fr;

  align-items: center;

  gap: 60px;
}

.hero-tag {
  display: inline-block;

  margin-bottom: 18px;
  padding: 7px 14px;

  border-radius: 999px;

  background: white;
  color: var(--green-dark);

  font-size: 13px;
  font-weight: 800;

  box-shadow: 0 4px 15px rgba(0,0,0,.05);
}

.hero h1 {
  margin: 0 0 22px;

  color: var(--green-dark);

  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.25;
  letter-spacing: .02em;
}

.hero h1 span {
  color: var(--orange);
}

.hero-content p {
  max-width: 650px;

  margin: 0 0 28px;

  color: #555;
  font-size: 17px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}


/* =========================
   Buttons
========================= */

.button {
  min-height: 48px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 11px 22px;

  border-radius: 999px;

  font-weight: 800;

  transition:
    transform .2s,
    box-shadow .2s,
    background .2s;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--green);
  color: white;

  box-shadow:
    0 8px 18px rgba(93,163,107,.25);
}

.button-primary:hover {
  background: var(--green-dark);
}

.button-secondary {
  background: white;
  color: var(--green-dark);

  border: 1px solid #dce9de;
}

.button-white {
  background: white;
  color: var(--green-dark);
}


/* =========================
   Hero visual
========================= */

.hero-visual {
  position: relative;

  min-height: 370px;
}

.hero-card {
  position: absolute;

  background: white;

  border-radius: 28px;

  box-shadow: var(--shadow);
}

.main-card {
  inset: 30px 20px 20px 30px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;

  border: 1px solid #e1eee2;

  background:
    linear-gradient(
      145deg,
      #fff,
      #f5fbf5
    );
}

.kids-icon {
  margin-bottom: 12px;

  font-size: 80px;
}

.main-card strong {
  color: var(--green-dark);
  font-size: 23px;
}

.main-card span {
  margin-top: 5px;
  color: var(--muted);
}

.floating-card {
  padding: 15px 18px;

  font-size: 14px;
  font-weight: 800;
}

.card-one {
  top: 0;
  right: 0;

  color: #9a7510;
  background: #fff7d7;
}

.card-two {
  bottom: 0;
  left: 0;

  color: #3d719b;
  background: #eaf5ff;
}


/* =========================
   News
========================= */

.news-section {
  background: white;
}

.news-list {
  max-width: 850px;

  margin: auto;

  border-top: 1px solid var(--border);
}

.news-item {
  display: grid;
  grid-template-columns: 110px 100px 1fr;

  gap: 16px;
  align-items: center;

  padding: 17px 10px;

  border-bottom: 1px solid var(--border);

  transition: background .2s;
}

.news-item:hover {
  background: #f8fbf8;
}

.news-item time {
  color: var(--muted);
  font-size: 14px;
}

.news-title {
  font-weight: 700;
}

.news-title:hover {
  color: var(--green-dark);
}

.category {
  display: inline-block;

  padding: 4px 10px;

  border-radius: 999px;

  font-size: 12px;
  font-weight: 800;

  text-align: center;
}

.category-important {
  background: #ffe4e4;
  color: #b34b4b;
}

.category-event {
  background: #fff2c9;
  color: #92710e;
}

.category-info {
  background: var(--green-light);
  color: var(--green-dark);
}

.category-recruit {
  background: #e4f1fb;
  color: #3d719b;
}

.section-more {
  margin-top: 28px;

  text-align: center;
}

.text-button {
  color: var(--green-dark);
  font-weight: 800;
}


/* =========================
   Cards
========================= */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 22px;
}

.card {
  padding: 28px;

  background: white;

  border: 1px solid #edf0eb;
  border-radius: var(--radius);

  box-shadow: var(--shadow);

  transition:
    transform .2s,
    box-shadow .2s;
}

.card:hover {
  transform: translateY(-4px);

  box-shadow:
    0 14px 30px rgba(0,0,0,.09);
}

.card-icon {
  width: 54px;
  height: 54px;

  display: grid;
  place-items: center;

  margin-bottom: 18px;

  border-radius: 15px;

  font-size: 27px;
  background: #e4f3e7;
}

.card:nth-child(1) .card-icon {
  background: #fff2c9;
}

.card:nth-child(3) .card-icon {
  background: #e4f1fb;
}

.card h3 {
  margin: 0 0 10px;

  color: var(--green-dark);

  font-size: 20px;
}

.card p {
  margin: 0;

  color: var(--muted);

  font-size: 14px;
}


/* =========================
   Schedule
========================= */

.schedule-section {
  background: var(--green-light);
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 22px;
}

.schedule-card {
  padding: 28px;

  background: white;

  border-radius: var(--radius);

  text-align: center;

  box-shadow: var(--shadow);
}

.schedule-card .label {
  display: inline-block;

  padding: 5px 13px;

  border-radius: 999px;

  background: var(--green);
  color: white;

  font-size: 12px;
  font-weight: 800;
}

.schedule-card h3 {
  margin: 16px 0 5px;

  color: var(--green-dark);
}

.schedule-card .time {
  color: #333;

  font-size: 22px;
  font-weight: 900;
}

.schedule-card p {
  margin-bottom: 0;

  color: var(--muted);
  font-size: 13px;
}


/* =========================
   Fee
========================= */

.table-wrapper {
  overflow-x: auto;

  border-radius: var(--radius);

  box-shadow: var(--shadow);
}

.fee-table {
  width: 100%;

  border-collapse: collapse;

  background: white;
}

.fee-table th,
.fee-table td {
  padding: 17px;

  border-bottom: 1px solid var(--border);

  text-align: left;
}

.fee-table tr:last-child th,
.fee-table tr:last-child td {
  border-bottom: 0;
}

.fee-table th {
  width: 35%;

  background: #f4f8f3;

  color: var(--green-dark);
}

.fee-table small {
  color: var(--muted);
}

.note {
  margin-top: 15px;

  color: var(--muted);

  font-size: 13px;
}

/* =========================
   Registration Documents
========================= */

.registration-section {
  background: #f7faf8;
}

.registration-documents {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 6px 20px rgba(40, 80, 55, 0.06);
}

.documents-title {
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid #e4eee7;
  font-size: 20px;
  color: #333;
}

.document-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 8px;
  border-bottom: 1px solid #e8eee9;
  color: #333;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.document-item:last-child {
  border-bottom: none;
}

.document-item:hover {
  background: #f5faf6;
}

.document-type {
  flex-shrink: 0;
  width: 54px;
  padding: 7px 4px;
  border-radius: 6px;
  color: #fff;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
}

.document-type.pdf {
  background: #d9534f;
}

.document-type.excel {
  background: #217346;
}

.document-name {
  flex: 1;
  font-size: 16px;
  font-weight: 500;
}

.document-arrow {
  color: #6b9d79;
  font-size: 20px;
  transition: transform 0.2s ease;
}

.document-item:hover .document-arrow {
  transform: translateX(4px);
}


/* スマートフォン */

@media (max-width: 768px) {

  .registration-documents {
    padding: 20px;
    border-radius: 12px;
  }

  .documents-title {
    font-size: 18px;
  }

  .document-item {
    gap: 12px;
    padding: 16px 4px;
  }

  .document-type {
    width: 48px;
    font-size: 10px;
  }

  .document-name {
    font-size: 14px;
  }

  .document-arrow {
    font-size: 18px;
  }

}
/* =========================
   Access
========================= */

.access-section {
  background: white;
}

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 30px;
}

.access-info {
  padding: 35px;

  background: #f7faf6;

  border-radius: var(--radius);
}

.access-info h3 {
  margin-top: 0;

  color: var(--green-dark);
}

.access-info dl {
  margin: 0;
}

.info-row {
  display: flex;

  gap: 15px;

  padding: 12px 0;

  border-bottom: 1px solid #e2e9e1;
}

.info-row:last-child {
  border-bottom: 0;
}

.info-row dt {
  width: 80px;

  flex-shrink: 0;

  color: var(--green-dark);

  font-weight: 800;
}

.info-row dd {
  margin: 0;
}

.info-row a {
  color: var(--green-dark);
  font-weight: 800;
}

.map-box {
  min-height: 320px;

  display: grid;
  place-items: center;

  padding: 30px;

  border-radius: var(--radius);

  background:
    linear-gradient(45deg, #eef3e9 25%, transparent 25%),
    linear-gradient(-45deg, #eef3e9 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #eef3e9 75%),
    linear-gradient(-45deg, transparent 75%, #eef3e9 75%);

  background-size: 40px 40px;

  background-position:
    0 0,
    0 20px,
    20px -20px,
    -20px 0;
}

.map-inner {
  padding: 25px 35px;

  border-radius: 18px;

  background: rgba(255,255,255,.94);

  text-align: center;

  box-shadow: var(--shadow);
}

.map-pin {
  font-size: 40px;
}

.map-inner p {
  color: var(--muted);
}


/* =========================
   CTA
========================= */

.cta {
  padding: 70px 0;

  background:
    linear-gradient(
      135deg,
      var(--green-dark),
      var(--green)
    );

  color: white;

  text-align: center;
}

.cta h2 {
  margin: 0 0 12px;

  font-size: 32px;
}

.cta p {
  max-width: 650px;

  margin: 0 auto 25px;

  opacity: .9;
}


/* =========================
   Footer
========================= */

.site-footer {
  padding: 40px 0 25px;

  background: #263b2b;

  color: white;
}

.footer-inner {
  display: flex;

  justify-content: space-between;

  gap: 30px;
}

.footer-title {
  font-size: 18px;
  font-weight: 900;
}

.footer-address,
.footer-organization {
  margin-top: 8px;

  color: #d4ddd5;

  font-size: 14px;
}

.copyright {
  margin-top: 30px;
  padding-top: 18px;

  border-top: 1px solid rgba(255,255,255,.15);

  color: #aeb9b0;

  font-size: 12px;
}


/* =========================
   Focus
========================= */

a:focus-visible,
button:focus-visible {
  outline: 3px solid #f2b84b;
  outline-offset: 3px;
}


/* =========================
   Tablet
========================= */

@media (max-width: 850px) {

  .container {
    width: min(100% - 36px, 700px);
  }

  .menu-button {
    display: block;
  }

  .main-nav {
    display: none;

    position: absolute;

    left: 0;
    right: 0;
    top: 76px;

    padding: 12px 20px 18px;

    flex-direction: column;

    background: white;

    border-bottom: 1px solid var(--border);

    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    width: 100%;

    text-align: center;
  }

  .hero-inner {
    grid-template-columns: 1fr;

    padding-top: 60px;
    padding-bottom: 60px;
  }

  .hero-visual {
    min-height: 330px;
  }

  .cards,
  .schedule-grid {
    grid-template-columns: 1fr;
  }

  .access-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }
}


/* =========================
   Mobile
========================= */

@media (max-width: 600px) {

  .container {
    width: calc(100% - 36px);
  }

  .section {
    padding: 60px 0;
  }

  .header-inner {
    min-height: 66px;
  }

  .main-nav {
    top: 66px;
  }

  .logo-mark {
    width: 42px;
    height: 42px;

    font-size: 21px;
  }

  .logo-text {
    font-size: 16px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 15px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 290px;
  }

  .main-card {
    inset: 25px 10px 20px;
  }

  .kids-icon {
    font-size: 60px;
  }

  .main-card strong {
    font-size: 18px;
  }

  .main-card span {
    font-size: 13px;
  }

  .news-item {
    grid-template-columns: 1fr;

    gap: 5px;

    padding: 15px 5px;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  .fee-table th,
  .fee-table td {
    min-width: 160px;

    padding: 13px 10px;

    font-size: 13px;
  }

  .info-row {
    flex-direction: column;

    gap: 2px;
  }

  .info-row dt {
    width: auto;
  }

  .map-inner {
    width: 100%;

    padding: 20px;
  }

  .cta h2 {
    font-size: 27px;
  }
}


/* =========================
   Reduced motion
========================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* =========================
   News Detail
========================= */

.news-detail-section {
  background: #f7faf8;
  min-height: 600px;
}

.news-detail {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  padding: 50px 60px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(40, 80, 55, 0.06);
}

.news-detail-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: #777;
  font-size: 14px;
}

.news-detail h1 {
  margin: 0 0 40px;
  padding-bottom: 24px;
  border-bottom: 2px solid #e4eee7;
  font-size: 32px;
  line-height: 1.5;
  color: #333;
}

.news-detail-body {
  font-size: 16px;
  line-height: 2;
  color: #444;
}

.news-detail-body p {
  margin: 0 0 24px;
}

.news-detail-body h2 {
  margin: 40px 0 20px;
  padding-left: 14px;
  border-left: 4px solid #6b9d79;
  font-size: 22px;
  line-height: 1.5;
  color: #333;
}

.news-detail-back {
  margin-top: 50px;
  padding-top: 25px;
  border-top: 1px solid #e4eee7;
}


/* スマートフォン */

@media (max-width: 768px) {

  .news-detail {
    padding: 30px 20px;
    border-radius: 12px;
  }

  .news-detail h1 {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .news-detail-body {
    font-size: 15px;
    line-height: 1.9;
  }

  .news-detail-body h2 {
    font-size: 19px;
    margin-top: 32px;
  }

}

/* ========================================
   利用登録フローチャート
======================================== */

.registration-flow {
  max-width: 800px;
  margin: 60px auto 80px;
}

.flow-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 28px;
  color: #333;
}

.flow {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flow-step {
  width: 100%;
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid #eee;
}

.flow-number {
  width: 110px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffcf4a;
  color: #333;
  font-size: 14px;
  font-weight: bold;
}

.flow-content {
  padding: 22px 28px;
}

.flow-content h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: #333;
}

.flow-content p {
  margin: 0;
  line-height: 1.8;
  color: #666;
}

.flow-arrow {
  font-size: 30px;
  line-height: 1;
  color: #ffb400;
  font-weight: bold;
  padding: 14px 0;
}

.flow-divider {
  position: relative;
  width: 100%;
  margin: 35px 0;
  text-align: center;
}

.flow-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-top: 2px dashed #ffcf4a;
  z-index: 0;
}

.flow-divider span {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 8px 20px;
  background: #fff8df;
  border-radius: 30px;
  color: #8a6500;
  font-size: 14px;
  font-weight: bold;
}

.flow-step-last {
  border: 2px solid #7bc96f;
}

.flow-step-last .flow-number {
  background: #7bc96f;
  color: #fff;
}


/* スマートフォン */
@media (max-width: 600px) {

  .registration-flow {
    margin: 40px 0 60px;
  }

  .flow-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .flow-step {
    flex-direction: column;
  }

  .flow-number {
    width: 100%;
    padding: 8px;
    font-size: 13px;
  }

  .flow-content {
    padding: 20px;
    text-align: center;
  }

  .flow-content h3 {
    font-size: 18px;
  }

  .flow-content p {
    font-size: 14px;
  }

  .flow-arrow {
    font-size: 26px;
    padding: 10px 0;
  }

  .flow-divider {
    margin: 25px 0;
  }

  .flow-divider span {
    font-size: 13px;
    padding: 7px 15px;
  }

}

/* ========================================
   Hero 背景スライド
======================================== */

.hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #fff;
}

/* 背景スライド全体 */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* 各写真 */
.hero-slide {
  position: absolute;
  inset: 0;

  background-size: cover;
  background-position: center;

  opacity: 0;
  transform: scale(1.05);

  transition:
    opacity 1.5s ease,
    transform 7s ease;
}

/* 表示中 */
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* 写真 */
.slide-1 {
  background-image: url("images/kids01.jpg");
}

.slide-2 {
  background-image: url("images/kids02.jpg");
}

.slide-3 {
  background-image: url("images/kids03.jpg");
}


/* 写真の上に薄い色を重ねる */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.25)
    );
}


/* コンテンツを写真より前に */
.hero-inner {
  position: relative;
  z-index: 2;
}


/* 文字を少し見やすく */
.hero-content {
  max-width: 650px;
}

.hero-content h1 {
  color: #fff;
}

.hero-content p {
  color: #fff;
}


/* スマホ */
@media (max-width: 600px) {

  .hero {
    min-height: 600px;
  }

  .hero-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.6),
        rgba(0, 0, 0, 0.35)
      );
  }

  .hero-slide {
    background-position: center;
  }

}

