/*
 * Fable-supervised visual system for the Komugien WordPress theme.
 * Loaded after style.css so the original theme remains a safe fallback.
 */

:root {
  --cream: #fff9f0;
  --warm-beige: #f5ebd8;
  --soft-green: #6bbf59;
  --deep-green: #3d8b37;
  --leaf-green: #8ed47c;
  --earth-brown: #8b6f47;
  --sunny-yellow: #ffd44d;
  --warm-yellow: #fff0b3;
  --soft-orange: #ff9f5b;
  --bright-orange: #ff7b3a;
  --pale-pink: #ffb8c1;
  --sky-blue: #7ecbf0;
  --light-blue: #d4efff;
  --poppy-red: #ff6b6b;
  --text-dark: #3d3225;
  --text-medium: #6b5d4f;
  --text-light: #8f7e6d;
  --white: #fff;
  --line: rgba(107, 191, 89, .16);
  --shadow: 0 12px 38px rgba(61, 84, 47, .1);
  --content: 1100px;
}

body {
  background: var(--cream);
  color: var(--text-dark);
  font-family: "Zen Maru Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  vertical-align: -.12em;
}

.section-inner {
  width: min(calc(100% - 48px), var(--content));
}

.section-heading {
  margin-bottom: 50px;
  text-align: center;
}

.section-label {
  margin-bottom: 10px;
  color: var(--soft-green);
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .3em;
}

.section-title {
  color: var(--deep-green);
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  line-height: 1.5;
}

.section-title .title-icon {
  width: .92em;
  height: .92em;
}

.section-desc {
  max-width: 640px;
  margin: 14px auto 0;
  color: var(--text-medium);
  font-size: .95rem;
  line-height: 2;
}

.button {
  background: linear-gradient(135deg, var(--soft-green), var(--deep-green));
  box-shadow: 0 5px 18px rgba(61, 139, 55, .24);
}

.button:hover {
  background: linear-gradient(135deg, #5caf4d, #32772d);
}

/* Header */
.site-header {
  z-index: 100;
  background: rgba(255, 249, 240, .92);
  border-bottom: 2px solid rgba(107, 191, 89, .15);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: none;
}

.header-inner {
  width: min(calc(100% - 48px), var(--content));
  min-height: 72px;
}

.site-brand {
  gap: 8px;
  color: var(--deep-green);
  font-size: 1.45rem;
}

.site-brand .brand-icon {
  width: 1.15em;
  height: 1.15em;
}

.site-brand small {
  color: var(--text-light);
  font-size: .55rem;
  font-weight: 500;
  letter-spacing: .1em;
}

.site-nav ul {
  gap: 24px;
}

.site-nav a {
  position: relative;
  padding: 5px 0;
  color: var(--text-medium);
  font-size: .83rem;
  font-weight: 600;
  letter-spacing: .03em;
}

.site-nav a::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--sunny-yellow);
  content: "";
  transition: width .3s ease;
}

.site-nav a:hover {
  color: var(--deep-green);
}

.site-nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.menu-toggle > span[aria-hidden="true"] {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2.5px;
  border-radius: 3px;
  background: var(--deep-green);
  transition: transform .3s ease, opacity .3s ease, top .3s ease;
}

.menu-toggle > span[aria-hidden="true"]:nth-of-type(2) { top: 13px; }
.menu-toggle > span[aria-hidden="true"]:nth-of-type(3) { top: 21px; }
.menu-toggle > span[aria-hidden="true"]:nth-of-type(4) { top: 29px; }
.menu-toggle.is-active > span[aria-hidden="true"]:nth-of-type(2) { top: 21px; transform: rotate(45deg); }
.menu-toggle.is-active > span[aria-hidden="true"]:nth-of-type(3) { opacity: 0; }
.menu-toggle.is-active > span[aria-hidden="true"]:nth-of-type(4) { top: 21px; transform: rotate(-45deg); }

/* Full-photo hero */
.hero {
  display: block;
  min-height: 0;
  padding: 72px 0 0;
  background: var(--deep-green);
}

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

.hero-bg {
  position: relative;
  inset: auto;
  width: 100%;
  height: clamp(420px, 42vw, 640px);
  background: #dfe9d3;
}

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

.hero-bg::after {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 42px max(28px, calc((100vw - var(--content)) / 2 + 28px)) 66px;
  background: linear-gradient(135deg, #315d2e 0%, #203f22 100%);
  text-align: left;
}

.hero h1.hero-catch {
  max-width: 760px;
  margin: 0 0 12px;
  color: var(--white);
  font-family: "M PLUS Rounded 1c", "Zen Maru Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: .015em;
  line-height: 1.32;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(20, 35, 12, .45), 0 1px 3px rgba(20, 35, 12, .3);
  animation: hero-up .8s cubic-bezier(.34, 1.56, .64, 1) both;
}

.hero h1.hero-catch .highlight {
  display: inline-block;
  color: var(--sunny-yellow);
  font-weight: 900;
  letter-spacing: .035em;
}

.hero-line {
  display: block;
}

.hero-line > span {
  display: inline-block;
}

.hero-sub {
  max-width: 680px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, .96);
  font-size: clamp(.88rem, 2vw, 1.02rem);
  font-weight: 500;
  line-height: 2;
  text-shadow: 0 1px 12px rgba(20, 35, 12, .5);
  animation: hero-up .8s .2s cubic-bezier(.34, 1.56, .64, 1) both;
}

.hero-badges {
  justify-content: flex-start;
  margin-top: 0;
  gap: 12px;
  animation: hero-up .8s .4s cubic-bezier(.34, 1.56, .64, 1) both;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255, 249, 240, .94);
  box-shadow: 0 3px 14px rgba(20, 35, 12, .18);
  color: var(--text-dark);
  font-size: .8rem;
  font-weight: 700;
}

.badge.green .icon { color: var(--soft-green); }
.badge.orange .icon { color: var(--bright-orange); }
.badge.blue .icon { color: #3a9bc7; }
.badge.pink .icon { color: #e06080; }

.scroll-hint {
  position: absolute;
  z-index: 3;
  bottom: 24px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, .9);
  text-decoration: none;
  transform: translateX(-50%);
}

.hero .scroll-hint { display: none; }

.scroll-hint > span:first-child {
  color: inherit;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-shadow: 0 1px 8px rgba(20, 35, 12, .5);
}

.scroll-arrow {
  width: 18px;
  height: 18px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

@keyframes hero-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Basic information visible immediately after the hero */
.home-essentials {
  position: relative;
  z-index: 5;
  padding: 0 24px 86px;
  background: var(--white);
}

.home-facts {
  display: grid;
  width: min(100%, 1060px);
  grid-template-columns: repeat(4, 1fr);
  margin: -30px auto 78px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.home-fact {
  min-height: 112px;
  padding: 22px 16px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.home-fact:last-child { border-right: 0; }

.home-fact span,
.home-fact small {
  display: block;
  color: var(--text-light);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .09em;
}

.home-fact strong {
  display: block;
  margin-top: 5px;
  color: var(--deep-green);
  font-size: 1rem;
  line-height: 1.5;
}

.first-visit-grid {
  display: grid;
  width: min(100%, 1060px);
  grid-template-columns: .88fr 1.12fr;
  gap: 68px;
  align-items: start;
  margin: 0 auto;
}

.first-visit-copy .section-label { text-align: left; }

.first-visit-copy h2 {
  margin: 0 0 18px;
  color: var(--deep-green);
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.55rem);
  line-height: 1.4;
}

.first-visit-copy p {
  margin: 0;
  color: var(--text-medium);
  font-size: .95rem;
  line-height: 2;
}

.first-visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.first-visit-actions .button {
  gap: 8px;
  text-decoration: none;
}

.first-visit-actions .button-secondary {
  border: 1px solid rgba(61, 139, 55, .28);
  background: var(--white);
  box-shadow: none;
  color: var(--deep-green);
}

.first-visit-actions .button-secondary:hover {
  background: #f2f8ee;
  color: var(--deep-green);
}

.quick-info-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 10px 34px rgba(61, 84, 47, .08);
}

.quick-info-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 22px;
  background: var(--deep-green);
  color: var(--white);
}

.quick-info-heading strong { font-size: 1rem; }
.quick-info-heading span { font-size: .7rem; opacity: .82; }
.quick-info-card dl { margin: 0; }

.quick-info-card dl > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  border-bottom: 1px solid var(--line);
}

.quick-info-card dt,
.quick-info-card dd {
  margin: 0;
  padding: 15px 18px;
}

.quick-info-card dt {
  background: #f1f8ed;
  color: var(--deep-green);
  font-size: .78rem;
  font-weight: 800;
}

.quick-info-card dd {
  color: var(--text-dark);
  font-size: .86rem;
  font-weight: 600;
}

.quick-info-link {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px 20px;
  color: var(--deep-green);
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
}

.mobile-contact-bar { display: none; }

/* Column and news cards */
.latest {
  position: relative;
  padding: 90px 0;
  overflow: hidden;
  background: var(--white);
}

.latest--news {
  padding: 64px 0 72px;
  border-bottom: 1px solid rgba(107, 191, 89, .12);
}

.latest--columns {
  border-top: 1px solid rgba(107, 191, 89, .12);
  background: #fbfdf8;
}

.latest::before {
  position: absolute;
  top: -60px;
  left: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 212, 77, .17);
  content: "";
}

.latest-list {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.latest-card {
  display: block;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 2px solid rgba(107, 191, 89, .12);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 5px 24px rgba(61, 84, 47, .07);
  transition: transform .35s ease, box-shadow .35s ease;
}

.latest-card:hover {
  border-color: rgba(107, 191, 89, .25);
  box-shadow: 0 14px 36px rgba(61, 84, 47, .11);
  transform: translateY(-6px);
}

.latest-thumb {
  aspect-ratio: 16 / 10;
  border-radius: 0;
}

.latest-card > div:last-child {
  padding: 20px 22px 24px;
}

.latest-meta {
  color: var(--text-light);
  font-size: .72rem;
  font-weight: 700;
}

.latest-card h3 {
  margin: 8px 0;
  color: var(--deep-green);
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
}

.latest-card p {
  color: var(--text-medium);
  font-size: .82rem;
  line-height: 1.8;
}

.latest-empty {
  grid-column: 1 / -1;
  display: flex;
  max-width: 680px;
  align-items: center;
  gap: 14px;
  margin: 0 auto;
  padding: 22px 26px;
  border: 2px dashed rgba(107, 191, 89, .25);
  border-radius: 18px;
  background: var(--cream);
  color: var(--text-medium);
}

.latest-empty .icon {
  width: 30px;
  height: 30px;
  color: var(--soft-green);
}

.latest-empty p { margin: 0; }
.latest-more { margin-top: 28px; text-align: center; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--deep-green);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover { color: var(--bright-orange); }

/* Fable section cards */
.features {
  position: relative;
  padding: 90px 0;
  overflow: hidden;
}

.features::before,
.features::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.features::before {
  top: -40px;
  left: -40px;
  width: 200px;
  height: 200px;
  background: rgba(255, 240, 179, .35);
}

.features::after {
  right: -60px;
  bottom: -60px;
  width: 250px;
  height: 250px;
  background: rgba(212, 239, 255, .28);
}

.feature-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  padding: 20px 20px 30px;
  border: 2px solid transparent;
  border-radius: 24px;
  box-shadow: none;
  text-align: center;
  transition: transform .4s ease, box-shadow .4s ease;
}

.feature-card:nth-child(1) { border-color: rgba(107, 191, 89, .2); background: linear-gradient(160deg, #e8ffe0, #f0ffe8); }
.feature-card:nth-child(2) { border-color: rgba(255, 159, 91, .2); background: linear-gradient(160deg, #fff3e0, #fff8ee); }
.feature-card:nth-child(3) { border-color: rgba(126, 203, 240, .2); background: linear-gradient(160deg, #e0f4ff, #edf9ff); }
.feature-card:hover { box-shadow: 0 16px 40px rgba(0, 0, 0, .08); transform: translateY(-8px); }

.feature-card > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  object-fit: cover;
}

.feature-body { padding: 20px 4px 0; }

.feature-body h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--deep-green);
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 1.12rem;
}

.feature-card:nth-child(2) h3 { color: var(--bright-orange); }
.feature-card:nth-child(3) h3 { color: #3a9bc7; }
.feature-body p { color: var(--text-medium); line-height: 1.9; }

.policy {
  padding: 90px 0;
  background: var(--cream);
}

.policy-stack { gap: 28px; }

.policy-card,
.policy-card:nth-child(even) {
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  padding: 44px;
  overflow: visible;
  border-left: 5px solid var(--soft-green);
  border-radius: 28px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, .04);
}

.policy-card:nth-child(even) {
  border-left-color: var(--soft-orange);
}

.policy-card:nth-child(even) .policy-photo { order: 2; }

.policy-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 20px;
}

.policy-photo img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.policy-copy { padding: 0; }

.policy-copy h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--deep-green);
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 1.28rem;
}

.policy-card:nth-child(even) h3 { color: var(--bright-orange); }
.policy-copy p { color: var(--text-medium); line-height: 2; }

.schedule {
  padding: 90px 0;
  background: var(--white);
}

.timeline {
  max-width: 800px;
  padding-left: 70px;
}

.timeline::before {
  left: 28px;
  width: 4px;
  background: linear-gradient(to bottom, var(--soft-green), var(--sunny-yellow), var(--soft-orange), var(--sky-blue), var(--pale-pink));
}

.time-row {
  display: block;
  margin-bottom: 28px;
  padding: 22px 28px;
  border-radius: 20px;
  transition: transform .3s ease;
}

.time-row:nth-child(1) { background: linear-gradient(135deg, #e8ffe0, #f5fff0); }
.time-row:nth-child(2) { background: linear-gradient(135deg, #fff8e0, #fffcf0); }
.time-row:nth-child(3) { background: linear-gradient(135deg, #fff3e0, #fff8f0); }
.time-row:nth-child(4) { background: linear-gradient(135deg, #e0f4ff, #f0faff); }
.time-row:nth-child(5) { background: linear-gradient(135deg, #ffe8eb, #fff2f4); }
.time-row:hover { transform: translateX(6px); }

.time {
  padding: 0;
  color: var(--deep-green);
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-align: left;
}

.time-row:nth-child(2) .time { color: #c79500; }
.time-row:nth-child(3) .time { color: var(--bright-orange); }
.time-row:nth-child(4) .time { color: #3a9bc7; }
.time-row:nth-child(5) .time { color: #e06080; }

.time-icon {
  position: absolute;
  top: 24px;
  left: -50px;
  display: grid;
  width: 18px;
  height: 18px;
  border: 4px solid var(--soft-green);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(107, 191, 89, .15);
  color: var(--deep-green);
}

.time-icon .icon {
  position: absolute;
  top: -2px;
  right: -40px;
  width: 26px;
  height: 26px;
}

.time-copy { padding: 0; }
.time-copy h3 { margin: 2px 0; color: var(--text-dark); }
.time-copy p { color: var(--text-medium); }

.photo-band {
  position: relative;
  height: clamp(300px, 48vh, 460px);
  padding: 0;
  overflow: hidden;
}

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

.photo-band::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(35, 50, 22, .25), rgba(35, 50, 22, .45));
  content: "";
}

.photo-band-quote {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  color: var(--white);
  font-family: "Klee One", cursive;
  font-size: clamp(1.3rem, 3.4vw, 2rem);
  font-weight: 600;
  line-height: 1.9;
  text-align: center;
  text-shadow: 0 2px 20px rgba(20, 35, 12, .55);
}

.daily-life {
  padding: 90px 0;
  background: var(--cream);
}

.life-grid {
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.life-card {
  grid-column: span 2;
  padding: 0;
  overflow: hidden;
  border: 2px solid rgba(107, 191, 89, .1);
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .05);
  text-align: left;
  transition: transform .4s ease, box-shadow .4s ease;
}

.life-card:nth-child(4) { grid-column: 2 / span 2; }
.life-card:hover { box-shadow: 0 14px 36px rgba(0, 0, 0, .09); transform: translateY(-6px); }

.life-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #eef4e7;
}

.life-photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
  object-fit: contain;
  transition: transform .6s ease;
}

.life-card:hover .life-photo img { transform: scale(1.05); }
.life-body { padding: 18px 20px 22px; }
.life-body h3 { margin: 0 0 6px; color: var(--deep-green); font-size: 1rem; }
.life-body p { color: var(--text-medium); font-size: .82rem; line-height: 1.8; }

.temporary {
  padding: 0 24px 70px;
  background: var(--cream);
}

.temporary-card {
  max-width: 900px;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 38px;
  border: 2px solid rgba(255, 159, 91, .2);
  border-radius: 28px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, .05);
}

.temporary-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  object-fit: contain;
  background: #f3f0df;
}

.temporary-card h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--bright-orange);
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 1.3rem;
}

.temporary-card p { color: var(--text-medium); line-height: 2; }

.admission {
  padding: 90px 0;
  background: var(--white);
}

.info-table {
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 20px;
}

.info-table th {
  width: 150px;
  padding: 16px 24px;
  background: var(--deep-green);
  color: var(--white);
}

.info-table td {
  padding: 16px 24px;
  background: #f5fff0;
  color: var(--text-dark);
}

.contact-grid {
  gap: 20px;
  margin-bottom: 40px;
}

.contact-card {
  padding: 28px;
  border: 2px solid transparent;
  border-radius: 20px;
  background: var(--cream);
  transition: transform .3s ease, box-shadow .3s ease;
}

.contact-card.phone { border-color: rgba(107, 191, 89, .2); background: linear-gradient(135deg, #e0ffd9, #c8f5be); }
.contact-card.email { border-color: rgba(255, 159, 91, .2); background: linear-gradient(135deg, #fff3e0, #ffe8cc); }
.contact-card.ig { border-color: rgba(225, 48, 108, .15); background: linear-gradient(135deg, #ffeef5, #f5e0ff); }
.contact-card span { display: inline-flex; align-items: center; gap: 7px; color: var(--text-light); font-size: .78rem; font-weight: 700; }
.contact-card strong { color: var(--deep-green); font-family: "M PLUS Rounded 1c", sans-serif; }
.contact-card.email strong { color: var(--bright-orange); }
.contact-card.ig strong { color: #e1306c; }

.map {
  border: 3px solid rgba(107, 191, 89, .15);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
}

/* Article and archive pages */
.content-wrap {
  width: min(calc(100% - 48px), 860px);
  padding-top: 132px;
}

.content-header h1 {
  color: var(--deep-green);
  font-family: "M PLUS Rounded 1c", sans-serif;
}

.breadcrumbs {
  margin: 0 0 28px;
  color: var(--text-medium);
  font-size: .82rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  margin-left: 8px;
  color: #9eb49a;
  content: "/";
}

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

.archive-description {
  max-width: 700px;
  margin: 20px auto 0;
  color: var(--text-medium);
  line-height: 2;
}

.archive-sections {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: -8px 0 38px;
}

.archive-sections a {
  padding: 9px 17px;
  border: 1px solid #cfe1ca;
  border-radius: 999px;
  background: var(--white);
  color: var(--deep-green);
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
}

.archive-sections a[aria-current="page"] {
  border-color: var(--deep-green);
  background: var(--pale-green);
}

.entry-thumbnail {
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.entry-content {
  color: var(--text-dark);
  font-size: 1rem;
  line-height: 2;
}

.entry-content h2 {
  border-left-color: var(--soft-green);
  background: #e8ffe0;
  color: var(--deep-green);
}

.entry-content h3 { color: var(--deep-green); }
.entry-content a { text-decoration-thickness: 1px; text-underline-offset: 3px; }

.article-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 2px solid var(--line);
}

.archive-next-step {
  margin-top: 48px;
  padding: 28px;
  border-radius: 22px;
  background: var(--pale-green);
  text-align: center;
}

.archive-next-step p {
  margin: 0 0 18px;
  color: var(--text-medium);
}

.related-articles {
  padding-top: 0;
}

.related-articles > h2 {
  margin: 6px 0 24px;
  color: var(--deep-green);
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.related-article-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.related-article-list article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
}

.related-article-list h3 {
  margin: 8px 0 10px;
  font-size: 1rem;
  line-height: 1.65;
}

.related-article-list h3 a {
  color: var(--deep-green);
  text-decoration: none;
}

.related-article-list p {
  margin: 0;
  color: var(--text-medium);
  font-size: .86rem;
  line-height: 1.75;
}

.post-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.post-list article {
  padding: 0 0 24px;
  overflow: hidden;
  border: 2px solid rgba(107, 191, 89, .12);
  border-radius: 20px;
  background: var(--white);
}

.post-list-thumb {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.post-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-list article > .content-meta,
.post-list article > h2,
.post-list article > p {
  margin-right: 22px;
  margin-left: 22px;
}

.post-list article > .content-meta { margin-top: 20px; }
.post-list h2 { margin-top: 8px; line-height: 1.55; }
.post-list article > p { color: var(--text-medium); font-size: .88rem; }

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 50px 24px 34px;
  background: linear-gradient(135deg, var(--deep-green), #2d6b28);
}

.site-footer::before {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .05);
  content: "";
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: "M PLUS Rounded 1c", sans-serif;
}

.site-footer .footer-info,
.site-footer .footer-info a,
.site-footer .footer-info a:visited,
.site-footer a[x-apple-data-detectors] {
  color: rgba(255, 255, 255, .9) !important;
  text-decoration-color: rgba(255, 255, 255, .72) !important;
}

/* Existing animation class uses is-visible in WordPress. */
.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-nav ul { gap: 17px; }
  .site-nav a { font-size: .77rem; }
  .latest-list { grid-template-columns: repeat(2, 1fr); }
  .life-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .life-card,
  .life-card:nth-child(4) { grid-column: auto; }
  .life-card:nth-child(5) { grid-column: 1 / -1; width: 100%; max-width: 420px; margin: 0 auto; }
}

@media (max-width: 900px) {
  .site-nav {
    top: 72px;
    right: 0;
    left: 0;
    width: auto;
    padding: 18px 24px;
    border-radius: 0;
    background: rgba(255, 249, 240, .98);
    border-bottom: 2px solid rgba(107, 191, 89, .15);
    box-shadow: 0 12px 24px rgba(61, 84, 47, .08);
  }

  .site-nav ul { gap: 0; }
  .site-nav a { padding: 10px 6px; font-size: .86rem; }
  .feature-card { display: block; }
  .feature-card > img { height: auto; }
}

@media (max-width: 768px) {
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .section-inner { width: min(calc(100% - 40px), var(--content)); }
  .hero {
    display: block;
    min-height: 0;
    padding-top: 72px;
    background: var(--deep-green);
  }
  .hero-bg {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    background: #dfe9d3;
  }
  .hero-bg img {
    object-fit: contain;
    object-position: center;
  }
  .hero-bg::after { display: none; }
  .hero-content {
    max-width: none;
    padding: 30px 22px max(48px, env(safe-area-inset-bottom));
    background: linear-gradient(180deg, #315d2e 0%, #203f22 100%);
  }
  .home-essentials { padding: 0 0 58px; }
  .home-facts {
    grid-template-columns: 1fr 1fr;
    margin: 0 0 54px;
    border-width: 0 0 1px;
    border-radius: 0;
    box-shadow: none;
  }
  .home-fact {
    min-height: 94px;
    padding: 16px 10px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .home-fact:nth-child(2n) { border-right: 0; }
  .home-fact strong { font-size: .9rem; }
  .first-visit-grid {
    width: min(calc(100% - 40px), 1060px);
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .first-visit-actions .button { flex: 1; padding-right: 12px; padding-left: 12px; }
  .quick-info-card dl > div { grid-template-columns: 104px 1fr; }
  .quick-info-card dt,
  .quick-info-card dd { padding: 13px 12px; }
  .mobile-contact-bar {
    position: fixed;
    z-index: 110;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 9px max(12px, env(safe-area-inset-right)) max(9px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    border-top: 1px solid rgba(61, 139, 55, .18);
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 -8px 24px rgba(35, 63, 31, .12);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
  .mobile-contact-bar a {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid var(--deep-green);
    border-radius: 11px;
    background: var(--white);
    color: var(--deep-green);
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
  }
  .mobile-contact-bar a:first-child {
    background: var(--deep-green);
    color: var(--white);
  }
  .badge { padding: 8px 14px; font-size: .76rem; }
  .latest, .features, .policy, .schedule, .daily-life, .admission { padding: 70px 0; }
  .latest--news { padding: 52px 0 58px; }
  .latest-list { grid-template-columns: 1fr; }
  .latest-card { display: grid; grid-template-columns: 132px 1fr; }
  .latest-thumb { aspect-ratio: auto; }
  .latest-card > div:last-child { padding: 16px 18px; }
  .feature-grid { grid-template-columns: 1fr; gap: 20px; }
  .policy-card,
  .policy-card:nth-child(even) { grid-template-columns: 1fr; gap: 24px; padding: 28px 20px; }
  .policy-card:nth-child(even) .policy-photo { order: 0; }
  .timeline { padding-left: 58px; }
  .timeline::before { left: 21px; }
  .time-icon { left: -43px; }
  .temporary-card { grid-template-columns: 1fr; gap: 22px; padding: 26px; }
  .contact-grid { grid-template-columns: 1fr; }
  .post-list { grid-template-columns: 1fr; }
  .article-actions { flex-direction: column-reverse; align-items: stretch; }
  .article-actions .text-link { justify-content: center; }
  .related-article-list { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .header-inner { width: calc(100% - 32px); min-height: 68px; }
  .site-nav {
    top: 68px;
    max-height: calc(100dvh - 68px);
    overflow-y: auto;
  }
  .site-brand { font-size: 1.12rem; }
  .site-brand small { font-size: .5rem; }
  .hero { padding-top: 68px; }
  .hero-content {
    padding: 26px 18px max(40px, calc(env(safe-area-inset-bottom) + 24px));
  }
  .hero h1.hero-catch {
    margin-bottom: 10px;
    font-size: clamp(1.55rem, 7vw, 1.78rem);
    line-height: 1.38;
    letter-spacing: .01em;
    text-wrap: balance;
  }
  .hero-line > span { display: block; }
  .hero-sub {
    margin-bottom: 22px;
    font-size: .82rem;
    line-height: 1.78;
    text-wrap: pretty;
  }
  .hero-badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .badge {
    min-height: 44px;
    justify-content: center;
    gap: 6px;
    padding: 7px 9px;
    font-size: .75rem;
    line-height: 1.35;
    text-align: center;
    text-wrap: balance;
  }
  .badge .icon {
    width: 1.15em;
    height: 1.15em;
    flex: 0 0 auto;
  }
  .section-title { font-size: clamp(1.48rem, 7vw, 1.8rem); }
  .section-heading { margin-bottom: 34px; }
  .scroll-hint { display: none; }
  .latest-card { grid-template-columns: 105px 1fr; }
  .latest-card p { display: none; }
  .latest-card h3 { font-size: .92rem; }
  .latest-empty { align-items: flex-start; padding: 18px; font-size: .85rem; }
  .life-grid { grid-template-columns: 1fr; }
  .life-card:nth-child(5) { max-width: none; }
  .temporary { padding-right: 14px; padding-left: 14px; }
  .temporary-card { margin-inline: 0; padding: 20px; }
  .temporary-card h3 { font-size: 1.08rem; text-wrap: balance; }
  .info-table th,
  .info-table td { display: block; width: 100%; padding: 13px 16px; }
  .info-table th { padding-bottom: 6px; }
  .content-wrap { width: min(calc(100% - 36px), 860px); padding-top: 108px; }
}

@media (max-width: 360px) {
  .header-inner { width: calc(100% - 24px); }
  .site-brand { font-size: 1.02rem; }
  .hero-content { padding-right: 14px; padding-left: 14px; }
  .hero h1.hero-catch { font-size: 1.5rem; }
  .hero-badges { gap: 6px; }
  .badge { padding-right: 6px; padding-left: 6px; font-size: .72rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-catch,
  .hero-sub,
  .hero-badges { animation: none; }
}
