@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Noto+Serif+JP:wght@400;600;700;900&family=Noto+Sans+JP:wght@400;700;900&family=Yomogi&family=Zen+Kurenaido&display=swap");

:root {
  --ink: #101820;
  --navy: #17324d;
  --blue: #2a8fbb;
  --green: #2e9f66;
  --coral: #ef7d58;
  --paper: #f7f8f6;
  --white: #ffffff;
  --muted: #66717d;
  --line: rgba(16, 24, 32, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans JP", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.7;
  letter-spacing: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.opening {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  animation: openingOut 0.7s ease 3.6s forwards;
}

.opening.is-skipped {
  display: none;
}

.opening__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.05);
  background:
    linear-gradient(110deg, rgba(250, 250, 247, 0.9), rgba(250, 250, 247, 0.42)),
    url("assets/facility-treadmill.jpg") center / cover no-repeat,
    radial-gradient(ellipse at 30% 76%, rgba(20, 29, 34, 0.28) 0 7%, transparent 8%),
    linear-gradient(76deg, transparent 0 45%, rgba(255,255,255,0.55) 46% 48%, transparent 49%),
    radial-gradient(circle at 26% 70%, rgba(87, 185, 223, 0.55), transparent 25%),
    linear-gradient(135deg, #dfeeed, #fbfcfb);
  animation: openingPhoto 3.8s ease forwards;
}

.opening__slide--two {
  background:
    linear-gradient(110deg, rgba(250, 250, 247, 0.88), rgba(250, 250, 247, 0.4)),
    url("assets/photo-consult.jpg") center / cover no-repeat,
    radial-gradient(ellipse at 58% 68%, rgba(20, 29, 34, 0.22) 0 8%, transparent 9%),
    linear-gradient(104deg, transparent 0 54%, rgba(255,255,255,0.5) 55% 57%, transparent 58%),
    radial-gradient(circle at 70% 45%, rgba(139, 207, 63, 0.5), transparent 30%),
    linear-gradient(135deg, #f6f8f4, #dfe9f3);
  animation-delay: 1.15s;
}

.opening__slide--three {
  background:
    linear-gradient(110deg, rgba(250, 250, 247, 0.88), rgba(250, 250, 247, 0.38)),
    url("assets/photo-exterior.jpg") center / cover no-repeat,
    radial-gradient(ellipse at 38% 70%, rgba(20, 29, 34, 0.2) 0 7%, transparent 8%),
    radial-gradient(circle at 40% 35%, rgba(239, 125, 88, 0.34), transparent 22%),
    linear-gradient(135deg, #eef6f5, #ffffff 52%, #ddebd7);
  animation-delay: 2.3s;
}

.opening__content {
  position: relative;
  z-index: 2;
  width: min(78vw, 760px);
  min-height: 260px;
  transform: translateY(10px);
  animation: contentIn 1.1s ease 0.35s forwards;
  opacity: 0;
}

.opening__message,
.opening__brand {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
}

.opening__message {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  animation: openingMessage 1.6s ease 0.2s forwards;
}

.opening__msg-en {
  font-family: "Montserrat", "Helvetica Neue", sans-serif;
  font-size: clamp(12px, 1.3vw, 16px);
  font-weight: 400;
  letter-spacing: 0.18em;
  color: rgba(16,24,32,0.42);
  text-transform: uppercase;
}

.opening__msg-ja {
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(22px, 3.6vw, 52px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--ink);
  white-space: nowrap;
}

.opening__brand {
  opacity: 0;
  animation: openingBrand 1.3s ease 1.55s forwards;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.opening__logo {
  height: clamp(72px, 12vw, 128px);
  width: auto;
  display: block;
}

.opening__deco-line {
  display: block;
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, transparent, rgba(16,24,32,0.25) 40%, rgba(16,24,32,0.25) 60%, transparent);
  animation: decoLineGrow 0.9s cubic-bezier(0.22, 1, 0.36, 1) 2.3s forwards;
}

@keyframes decoLineGrow {
  to { width: clamp(160px, 28vw, 320px); }
}

.opening__eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.opening h1 {
  margin: 0;
  font-size: clamp(64px, 12vw, 148px);
  font-weight: 300;
  line-height: 0.9;
}

.opening__skip {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 3;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 999px;
  padding: 9px 16px;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  cursor: pointer;
}

.logo-mark,
.brand__mark {
  width: 72px;
  height: 72px;
  border-radius: 22px 22px 4px 4px;
  background: linear-gradient(180deg, var(--green) 0 45%, transparent 45% 52%, var(--blue) 52%);
  display: block;
  position: relative;
}

.logo-mark::after,
.brand__mark::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 34px;
  width: 46px;
  height: 12px;
  border-radius: 999px;
  background: var(--white);
  transform: rotate(-8deg);
}

.logo-mark span {
  position: absolute;
  left: 16px;
  bottom: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--white);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px clamp(20px, 5vw, 64px);
  color: var(--ink);
  mix-blend-mode: normal;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 12px 12px 3px 3px;
}

.brand__mark::after {
  left: 8px;
  top: 18px;
  width: 24px;
  height: 6px;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1;
}

.brand strong {
  display: block;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.1;
}

.site-nav {
  display: flex;
  gap: 22px;
  font-size: 13px;
  font-weight: 700;
}

.scroll-cue {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 24px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.9);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: "Montserrat", "Helvetica Neue", sans-serif;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
  transition: opacity 0.4s ease;
}

.scroll-cue__label {
  display: block;
}

.scroll-cue__line {
  width: 1px;
  height: 52px;
  background: rgba(255,255,255,0.3);
  position: relative;
}

.scroll-cue__line::after {
  content: "";
  position: absolute;
  top: 0;
  left: -2px;
  width: 5px;
  height: 18px;
  border-radius: 999px;
  background: var(--green);
  animation: cue 1.6s ease-in-out infinite;
}

.scroll-cue__label {
  color: inherit;
}

.scroll-cue__next {
  font-weight: 700;
}

.scroll-cue.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.floating-actions {
  position: fixed;
  right: clamp(18px, 3vw, 42px);
  bottom: 28px;
  z-index: 32;
  display: flex;
  gap: 8px;
  align-items: center;
}

.floating-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 52px rgba(16, 24, 32, 0.18);
  backdrop-filter: blur(14px);
  font-size: 13px;
  font-weight: 800;
}

.floating-actions__primary {
  background: rgba(16, 24, 32, 0.88);
  color: var(--white);
}

.floating-actions__secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.hero {
  min-height: 400vh;
  background: var(--paper);
}

.hero__pin {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: block;
  overflow: hidden;
  opacity: 1;
  transition: opacity 0.55s ease;
}

.hero.is-exiting .hero__pin {
  opacity: 0;
  pointer-events: none;
}

.hero__visual {
  position: absolute;
  inset: 0;
  min-height: 100vh;
  background: var(--ink);
}

.photo-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.5s ease, transform 0.8s ease;
}

.photo-layer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.52), rgba(255,255,255,0.18));
}

.photo-layer--one {
  background:
    url("assets/cm-hero-walking-training.jpg") center / cover no-repeat,
    linear-gradient(90deg, rgba(255,255,255,0.32) 0 1px, transparent 1px 100%),
    linear-gradient(78deg, transparent 0 47%, rgba(255,255,255,0.75) 48% 50%, transparent 51%),
    radial-gradient(ellipse at 35% 72%, rgba(16,24,32,0.22) 0 8%, transparent 9%),
    radial-gradient(circle at 25% 70%, rgba(85,173,214,0.6), transparent 22%),
    linear-gradient(135deg, #e8f2f4, #beced6);
}

.photo-layer--two {
  background:
    url("assets/facility-dining.jpg") center / cover no-repeat,
    linear-gradient(104deg, transparent 0 55%, rgba(255,255,255,0.72) 56% 58%, transparent 59%),
    radial-gradient(ellipse at 56% 68%, rgba(16,24,32,0.22) 0 8%, transparent 9%),
    radial-gradient(circle at 68% 46%, rgba(99,179,77,0.58), transparent 26%),
    linear-gradient(135deg, #f2f7f0, #ccdde5);
}

.photo-layer--three {
  background: url("assets/facility-entrance.jpg") center / cover no-repeat;
}

.photo-layer.is-active {
  opacity: 1;
  transform: scale(1.01);
}

.photo-layer--three::before {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.44), rgba(255,255,255,0.14));
}

.hero__copy {
  position: relative;
  padding: 0 clamp(28px, 6vw, 72px);
  z-index: 2;
  width: 100%;
  margin-left: 0;
  min-height: 100vh;
}

.hero__copy::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: min(980px, 76vw);
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(247, 248, 246, 0.92) 0%,
    rgba(247, 248, 246, 0.78) 36%,
    rgba(247, 248, 246, 0.36) 68%,
    rgba(247, 248, 246, 0) 100%
  );
  backdrop-filter: blur(10px);
  mask-image: linear-gradient(90deg, #000 0%, #000 60%, transparent 100%);
  transition: opacity 0.45s ease;
}

.hero__copy::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: min(760px, 56vw);
  z-index: -1;
  background: radial-gradient(circle at 34% 48%, rgba(255, 255, 255, 0.42), transparent 62%);
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.hero__maincopy,
.section-heading h2,
.availability h2,
.trust-strip h2,
.site-footer h2 {
  margin: 0;
  font-size: clamp(38px, 6vw, 88px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero__concept {
  position: absolute;
  left: clamp(24px, 5vw, 72px);
  top: clamp(92px, 14vh, 160px);
  margin: 0;
  color: transparent;
  -webkit-text-stroke: 1px rgba(16, 24, 32, 0.13);
  text-stroke: 1px rgba(16, 24, 32, 0.13);
  font-size: clamp(58px, 12vw, 180px);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: 0;
  opacity: 0.62;
  transform: translateY(0);
  transition: opacity 0.55s ease, transform 0.7s ease;
}

.hero__maincopy {
  position: absolute;
  left: clamp(24px, 6vw, 84px);
  top: 50%;
  width: min(70%, 980px);
  font-family: "Zen Kurenaido", "Yomogi", "Yu Gothic", sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(16, 24, 32, 0.9);
  text-shadow: 0 12px 38px rgba(255, 255, 255, 0.45);
  transform: translateY(-50%);
  opacity: 1;
  transition: opacity 0.55s ease, transform 0.75s ease;
}

.hero.is-subcopy-visible .hero__concept,
.hero.is-subcopy-visible .hero__maincopy {
  opacity: 0;
  transform: translateY(-64%);
}

.hero.is-authority-visible .hero__concept,
.hero.is-authority-visible .hero__maincopy,
.hero.is-authority-visible .hero__subcopy {
  opacity: 0;
  pointer-events: none;
}

.hero.is-subcopy-visible .hero__copy::before,
.hero.is-subcopy-visible .hero__copy::after {
  opacity: 0;
}

.hero.is-authority-visible .hero__copy::before,
.hero.is-authority-visible .hero__copy::after {
  opacity: 0;
}

.hero.is-exiting .hero__concept,
.hero.is-exiting .hero__maincopy {
  opacity: 0;
  visibility: hidden;
}

.hero__subcopy {
  position: absolute;
  right: clamp(24px, 6vw, 84px);
  top: 50%;
  width: min(58%, 720px);
  padding: clamp(26px, 3.6vw, 44px);
  background: rgba(255, 255, 255, 0.48);
  border-left: none;
  box-shadow: none;
  backdrop-filter: blur(22px);
  opacity: 0;
  transform: translateY(-42%) translateX(24px);
  pointer-events: none;
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.hero.is-subcopy-visible .hero__subcopy {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  pointer-events: auto;
}

.hero.is-exiting .hero__subcopy {
  opacity: 0;
  transform: translateY(-58%) translateX(18px);
}

.hero__subcopy p {
  max-width: none;
  color: var(--ink);
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(20px, 1.65vw, 28px);
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: 0.02em;
  text-align: left;
  text-shadow: none;
}

.hero__authority {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(320px, 0.86fr);
  gap: clamp(26px, 4.6vw, 68px);
  align-items: center;
  padding: 120px clamp(28px, 6vw, 84px);
  opacity: 0;
  transform: translateY(26px);
  pointer-events: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero.is-authority-visible .hero__authority {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero.is-exiting .hero__authority {
  opacity: 0;
  transform: translateY(-20px);
}

.hero__authority-photo {
  position: relative;
  min-height: min(62vh, 560px);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(16,24,32,0), rgba(16,24,32,0.18)),
    url("assets/staff_shugo.jpg") center / cover no-repeat;
  box-shadow: 0 30px 96px rgba(16,24,32,0.24);
}

.hero__book-stack {
  position: absolute;
  right: clamp(8px, 1.2vw, 18px);
  bottom: clamp(8px, 1.2vw, 16px);
  width: clamp(152px, 15vw, 238px);
  height: clamp(126px, 12.4vw, 198px);
  transform: rotate(-4deg);
}

.hero__book-button {
  position: absolute;
  width: clamp(62px, 5.9vw, 98px);
  max-width: none;
  padding: 0;
  border: 3px solid rgba(255,255,255,0.88);
  border-radius: 3px;
  background: transparent;
  box-shadow: 0 22px 52px rgba(16,24,32,0.34);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero__book-button:hover {
  box-shadow: 0 26px 64px rgba(16,24,32,0.42);
}

.hero__book-button img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero__book-cover--one {
  right: 50%;
  bottom: 0;
  z-index: 3;
}

.hero__book-cover--two {
  right: 22%;
  bottom: 7%;
  z-index: 2;
  transform: rotate(8deg);
}

.hero__book-cover--two:hover {
  transform: rotate(8deg) translateY(-4px);
}

.hero__book-cover--three {
  right: 0;
  bottom: 1%;
  z-index: 1;
  transform: rotate(14deg);
}

.hero__book-cover--three:hover {
  transform: rotate(14deg) translateY(-4px);
}

.hero__book-cover--one:hover {
  transform: translateY(-4px);
}

.book-modal {
  width: min(92vw, 760px);
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: rgba(255,255,255,0.96);
  color: var(--ink);
  box-shadow: 0 34px 110px rgba(16,24,32,0.32);
}

.book-modal::backdrop {
  background: rgba(16,24,32,0.48);
  backdrop-filter: blur(6px);
}

.book-modal__close {
  position: absolute;
  right: 14px;
  top: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(16,24,32,0.08);
  cursor: pointer;
  font-size: 22px;
}

.book-modal__body {
  display: grid;
  grid-template-columns: minmax(120px, 0.36fr) minmax(0, 1fr);
  gap: 26px;
  padding: clamp(24px, 4vw, 44px);
  align-items: center;
}

.book-modal__image {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 18px 48px rgba(16,24,32,0.18);
}

.book-modal__label {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.book-modal h2 {
  margin: 0;
  font-size: clamp(24px, 3.2vw, 42px);
  line-height: 1.15;
}

.book-modal__desc {
  color: #3d4c58;
}

.book-modal__link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 10px 18px;
  background: var(--green);
  color: var(--ink);
  font-weight: 900;
}

.hero__authority-ribbons {
  display: grid;
  gap: 14px;
  justify-self: end;
  width: min(100%, 620px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__authority-ribbons li {
  position: relative;
  width: min(100%, 500px);
  max-width: 100%;
  margin-left: auto;
  padding: 13px 20px 13px 58px;
  border-radius: 4px;
  background: rgba(255,255,255,0.78);
  color: var(--ink);
  box-shadow: 0 18px 48px rgba(16,24,32,0.16);
  backdrop-filter: blur(12px);
  font-family: "Zen Kurenaido", "Yomogi", "Yu Gothic", sans-serif;
  font-size: clamp(21px, 2.25vw, 34px);
  line-height: 1.22;
  transform: rotate(-1.5deg);
}

.hero__authority-ribbons li:nth-child(even) {
  transform: rotate(1.2deg);
  margin-right: clamp(18px, 4vw, 72px);
}

.hero__authority-ribbons li::before {
  content: "✓";
  position: absolute;
  left: 18px;
  top: 50%;
  color: var(--green);
  font-family: "Zen Kurenaido", "Yomogi", cursive;
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-52%) rotate(-12deg);
  text-shadow: 0 3px 0 rgba(255,255,255,0.78);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 18px;
  background: var(--white);
  font-weight: 700;
}

.button--primary {
  background: var(--ink);
  color: var(--white);
}

.button--text {
  border-color: transparent;
  background: transparent;
  color: var(--navy);
}

.hero__status {
  position: absolute;
  left: clamp(20px, 5vw, 64px);
  bottom: 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  z-index: 3;
  justify-content: flex-start;
}

.hero__status span,
.gateway__tag,
.news-item span {
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.76);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.gateways {
  position: relative;
  min-height: 100vh;
  padding: clamp(20px, 4vw, 48px);
  background:
    radial-gradient(circle at 16% 18%, rgba(87, 185, 223, 0.18), transparent 24%),
    radial-gradient(circle at 78% 82%, rgba(139, 207, 63, 0.18), transparent 26%),
    var(--paper);
  color: var(--ink);
}

.section-heading {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 30px;
}

.section-heading--layered {
  min-height: 58px;
  align-items: center;
}

.section-heading--layered h2 {
  position: relative;
  z-index: 2;
}

.section-heading--layered > span {
  position: absolute;
  left: 0;
  top: -0.45em;
  z-index: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(87, 185, 223, 0.18);
  text-stroke: 1px rgba(87, 185, 223, 0.18);
  font-size: clamp(17px, 2.25vw, 32px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
  opacity: 0.55;
}

.gateway-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(420px, 7fr) minmax(190px, 3fr);
  gap: 12px;
  min-height: calc(100vh - clamp(40px, 8vw, 96px));
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition: opacity 0.82s ease, transform 0.82s ease;
}

.gateways.is-visible .gateway-grid {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.gateway {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 100%;
  border: 1px solid rgba(16, 24, 32, 0.12);
  border-radius: 4px;
  padding: clamp(22px, 3vw, 42px);
  isolation: isolate;
  box-shadow: 0 26px 70px rgba(16, 24, 32, 0.12);
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

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

.gateway.is-visible:hover {
  transform: translateY(-3px);
  box-shadow: 0 32px 84px rgba(16, 24, 32, 0.18);
}

.gateway::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    url("assets/cm-hero-handover.jpg") center / cover no-repeat,
    radial-gradient(ellipse at 28% 70%, rgba(16,24,32,0.3) 0 8%, transparent 9%),
    linear-gradient(74deg, transparent 0 44%, rgba(255,255,255,0.78) 45% 47%, transparent 48%),
    radial-gradient(circle at 24% 62%, rgba(87,185,223,0.72), transparent 26%),
    linear-gradient(135deg, #eaf7fb 0%, #f8fbf5 46%, #d6efc0 100%);
}

.gateway::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(16,24,32,0.28) 56%, rgba(16,24,32,0.72) 100%);
}

.gateway--family::before {
  background:
    url("assets/photo-training.jpg") center / cover no-repeat,
    radial-gradient(ellipse at 62% 72%, rgba(16,24,32,0.24) 0 9%, transparent 10%),
    linear-gradient(104deg, transparent 0 53%, rgba(255,255,255,0.74) 54% 56%, transparent 57%),
    radial-gradient(circle at 72% 48%, rgba(139,207,63,0.78), transparent 30%),
    linear-gradient(135deg, #f8fbf5 0%, #e5f6d7 44%, #d8eef6 100%);
}

.gateway--recruit::before {
  background:
    url("assets/photo-team-cheer.jpg") center / cover no-repeat,
    linear-gradient(72deg, transparent 0 48%, rgba(255,255,255,0.72) 49% 52%, transparent 53%),
    radial-gradient(circle at 22% 64%, rgba(87,185,223,0.68), transparent 28%),
    linear-gradient(135deg, #edf8fb, #ffffff);
}

.gateway--seminar::before {
  background:
    url("assets/photo-seminar.jpg") center / cover no-repeat,
    linear-gradient(105deg, transparent 0 50%, rgba(255,255,255,0.72) 51% 53%, transparent 54%),
    radial-gradient(circle at 72% 42%, rgba(139,207,63,0.68), transparent 30%),
    linear-gradient(135deg, #fbfff8, #e7f6d9);
}

.gateway strong {
  width: min(100%, 780px);
  margin-top: 18px;
  color: var(--white);
  font-size: clamp(30px, 4.6vw, 76px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
  text-shadow: 0 20px 54px rgba(16, 24, 32, 0.35);
}

.gateway--small strong {
  font-size: clamp(22px, 2.8vw, 38px);
}

.gateway p {
  width: min(100%, 520px);
  margin: 14px 0 0;
  color: rgba(255,255,255,0.88);
  font-weight: 700;
  text-shadow: 0 8px 26px rgba(16, 24, 32, 0.28);
}

.gateway__arrow {
  position: absolute;
  right: 28px;
  top: 24px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  color: var(--white);
  font-size: 32px;
}

.gateway__num {
  position: absolute;
  left: clamp(22px, 3vw, 42px);
  top: clamp(20px, 3vw, 38px);
  color: rgba(255,255,255,0.72);
  font-size: clamp(48px, 7vw, 128px);
  font-weight: 800;
  line-height: 0.8;
  opacity: 0.5;
}

.gateway__tag {
  width: fit-content;
  border-color: rgba(255,255,255,0.95);
  background: rgba(255,255,255,0.88);
  color: var(--ink);
  backdrop-filter: blur(10px);
}

.info-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.68fr);
  gap: 18px;
  padding: 96px clamp(20px, 5vw, 64px) 120px;
  background:
    linear-gradient(180deg, rgba(247,248,246,1), rgba(255,255,255,1)),
    var(--white);
}

.news-panel,
.availability,
.trust-strip > div {
  border: 1px solid rgba(87,185,223,0.22);
  border-radius: 6px;
  background: var(--white);
  padding: clamp(22px, 3vw, 38px);
  box-shadow: 0 18px 60px rgba(16, 24, 32, 0.06);
}

.news-panel .section-heading h2,
.availability h2 {
  font-size: clamp(26px, 3.4vw, 48px);
}

.profile-card .section-heading h2,
.sns-card .section-heading h2 {
  font-size: clamp(20px, 2.1vw, 30px);
}

.profile-card .section-heading--layered,
.sns-card .section-heading--layered {
  min-height: 44px;
  margin-bottom: 18px;
}

.profile-card .section-heading--layered > span,
.sns-card .section-heading--layered > span {
  font-size: clamp(17px, 2.25vw, 32px);
}

.news-panel .section-kicker,
.availability .section-kicker {
  color: var(--green);
}

.news-item {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border-top: 1px solid rgba(16,24,32,0.1);
  padding: 16px 0;
}

.news-item span {
  border-color: rgba(87,185,223,0.28);
  background: rgba(87,185,223,0.1);
  color: var(--navy);
  font-size: 11px;
}

.news-item h3 {
  margin: 0;
  font-size: clamp(15px, 1.45vw, 20px);
  line-height: 1.55;
  font-weight: 700;
}

.news-item time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.availability__updated,
.availability__legend {
  color: var(--muted);
  font-size: 13px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 8px;
}

th,
td {
  border: 1px solid rgba(16,24,32,0.1);
  padding: 10px;
  text-align: center;
  font-size: 14px;
}

thead th {
  background: rgba(139,207,63,0.12);
  color: var(--navy);
}

td {
  font-weight: 800;
}

td.status-open {
  color: #3b8d1f;
  background: rgba(139, 207, 63, 0.2);
}

td.status-limited {
  color: #237fa0;
  background: rgba(87, 185, 223, 0.18);
}

td.status-consult {
  color: #9a6a16;
  background: rgba(239, 184, 85, 0.18);
}

td.status-full {
  color: #6e747b;
  background: rgba(16, 24, 32, 0.06);
}

.trust-strip {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  padding: 0 clamp(20px, 5vw, 64px) 148px;
  background: var(--white);
}

.profile-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 0.35fr);
  gap: 22px;
  align-items: stretch;
}

.profile-card__photo {
  min-height: 210px;
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(16,24,32,0.04), rgba(16,24,32,0.18)),
    url("assets/photo-representative.jpg") center top / cover no-repeat;
}

.profile-card__name {
  margin: 8px 0 10px;
  font-size: clamp(17px, 1.7vw, 24px);
  font-weight: 800;
}

.profile-card p:not(.profile-card__name),
.sns-card p {
  margin: 0 0 16px;
  color: #3d4c58;
  font-size: 14px;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-weight: 800;
}

.instagram-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 30% 105%, #feda75 0 22%, transparent 23%),
    radial-gradient(circle at 15% 15%, #fa7e1e 0 18%, transparent 19%),
    linear-gradient(135deg, #4f5bd5, #d62976 55%, #feda75);
  position: relative;
}

.instagram-icon::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 2px solid rgba(255,255,255,0.9);
  border-radius: 50%;
}

.instagram-icon::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
}

.instagram-embed {
  min-height: 220px;
  border: 1px dashed rgba(87,185,223,0.42);
  border-radius: 6px;
  display: grid;
  align-content: end;
  gap: 12px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.92)),
    url("assets/facility-bikes.jpg") center / cover no-repeat;
}

.instagram-embed span {
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255,255,255,0.84);
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  gap: 32px;
  padding: 72px clamp(20px, 5vw, 64px);
  background:
    linear-gradient(135deg, rgba(87,185,223,0.92), rgba(139,207,63,0.52)),
    var(--blue);
  color: var(--ink);
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.footer-brand small {
  display: block;
  font-size: 12px;
  color: rgba(16,24,32,0.72);
}

.footer-brand strong {
  display: block;
  font-size: clamp(34px, 4vw, 64px);
  font-weight: 300;
  line-height: 1;
}

.footer-nav {
  display: grid;
  gap: 10px;
  align-content: start;
  font-weight: 800;
}

.footer-nav a {
  border-bottom: 1px solid rgba(16,24,32,0.18);
  padding-bottom: 8px;
}

.footer-contact {
  display: grid;
  gap: 8px;
  align-content: center;
  font-size: 16px;
  font-weight: 700;
}

.footer-contact h2 {
  font-size: clamp(24px, 3vw, 40px);
}

.footer-contact p,
.footer-contact small {
  margin: 0;
  color: rgba(16,24,32,0.72);
}

/* Care manager page draft */
.site-header--solid {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(16, 24, 32, 0.08);
  box-shadow: 0 10px 34px rgba(16, 24, 32, 0.05);
  backdrop-filter: blur(16px);
}

.subpage {
  background: var(--white);
}

.subpage .site-header,
.admin-page .site-header {
  position: sticky;
  top: 0;
}

.site-header--solid .site-nav a {
  position: relative;
  padding: 6px 0;
}

.site-header--solid .site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.site-header--solid .site-nav a:hover::after,
.site-header--solid .site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.sub-hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: stretch;
  overflow: hidden;
  padding-top: 84px;
  background: var(--paper);
}

.sub-hero__media {
  min-height: 100%;
  background:
    linear-gradient(90deg, rgba(247,248,246,0.08), rgba(247,248,246,0.72)),
    url("assets/photo-consult.jpg") center / cover no-repeat;
}

.sub-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 6vw, 88px);
}

.sub-hero__eyebrow {
  position: absolute;
  left: clamp(42px, 6vw, 88px);
  top: clamp(92px, 12vh, 138px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(87,185,223,0.26);
  text-stroke: 1px rgba(87,185,223,0.26);
  font-size: clamp(24px, 3.8vw, 60px);
  font-weight: 900;
  line-height: 1;
}

.sub-hero h1 {
  margin: 0 0 22px;
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.98;
  letter-spacing: 0;
}

.sub-hero p {
  max-width: 620px;
  color: #344552;
  font-size: clamp(15px, 1.35vw, 18px);
}

.sub-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.sub-hero__facts {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: min(92vw, 880px);
}

.sub-hero__facts span {
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.82);
  box-shadow: 0 12px 36px rgba(16,24,32,0.08);
  font-size: 13px;
  font-weight: 800;
}

.cm-overview,
.cm-main-grid,
.cm-services,
.cm-flow,
.cm-profile-link {
  padding: 92px clamp(20px, 5vw, 64px);
}

.cm-overview {
  background: var(--white);
}

.cm-check-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.cm-check-grid article,
.cm-contact-panel,
.cm-service-list article,
.cm-flow li,
.cm-profile-link {
  border: 1px solid rgba(87,185,223,0.22);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 18px 60px rgba(16,24,32,0.06);
}

.cm-check-grid article {
  padding: 22px;
}

.cm-check-grid span,
.cm-flow li span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.cm-check-grid h3,
.cm-service-list h3 {
  margin: 10px 0 8px;
  font-size: clamp(18px, 1.6vw, 24px);
}

.cm-check-grid p,
.cm-service-list p,
.cm-flow p,
.cm-contact-panel li {
  color: #455561;
  font-size: 14px;
}

.cm-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 18px;
  background:
    radial-gradient(circle at 15% 20%, rgba(87,185,223,0.14), transparent 25%),
    radial-gradient(circle at 85% 80%, rgba(139,207,63,0.14), transparent 25%),
    var(--paper);
}

.cm-availability,
.cm-contact-panel {
  padding: clamp(22px, 3vw, 38px);
}

.cm-contact-panel ul {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding-left: 1.2em;
}

.cm-services {
  background: var(--white);
}

.cm-service-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.cm-service-list article {
  padding: 24px;
}

.cm-flow {
  background: var(--paper);
}

.cm-flow ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cm-flow li {
  padding: 24px;
}

.cm-flow strong {
  display: block;
  margin: 8px 0;
  font-size: clamp(17px, 1.4vw, 22px);
}

.cm-profile-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.34fr);
  gap: 24px;
  align-items: center;
  margin: 0 clamp(20px, 5vw, 64px) 96px;
  padding: clamp(24px, 4vw, 42px);
}

/* Persona and admin prototype pages */
.persona-page {
  background: var(--white);
}

.persona-hero {
  min-height: 84vh;
  display: grid;
  align-items: end;
  padding: 120px clamp(20px, 6vw, 84px) clamp(54px, 8vw, 96px);
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(16,24,32,0.08), rgba(16,24,32,0.72)),
    url("assets/staff_shugo.jpg") center / cover no-repeat;
}

.persona-hero--family {
  background:
    linear-gradient(180deg, rgba(16,24,32,0.08), rgba(16,24,32,0.68)),
    url("assets/photo-training.jpg") center / cover no-repeat;
}

.persona-hero--recruit {
  background:
    linear-gradient(180deg, rgba(16,24,32,0.08), rgba(16,24,32,0.68)),
    url("assets/staff_shugo.jpg") center / cover no-repeat;
}

.persona-hero--seminar {
  background:
    linear-gradient(180deg, rgba(16,24,32,0.08), rgba(16,24,32,0.68)),
    url("assets/photo-seminar.jpg") center / cover no-repeat;
}

.persona-hero--profile {
  background:
    linear-gradient(180deg, rgba(16,24,32,0.08), rgba(16,24,32,0.68)),
    url("assets/photo-exterior.jpg") center / cover no-repeat;
}

.persona-hero > div {
  width: min(820px, 92vw);
}

.persona-hero h1 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(42px, 6.2vw, 90px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.persona-hero p:not(.cmh-kicker) {
  width: min(640px, 100%);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 700;
}

.cmh-kicker {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cmh-kicker::before {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  flex-shrink: 0;
}

/* section-bandはkickerとして再定義 */
.cmh-section-band {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: transparent;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  clip-path: none;
  min-width: auto;
}
.cmh-section-band::before {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  flex-shrink: 0;
}
.cmh-section-band--blue {
  color: var(--blue);
}
.cmh-section-band--green {
  color: var(--green);
}

.decision-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(16,24,32,0.08);
}

.decision-strip article {
  min-height: 0;
  padding: clamp(28px, 3.6vw, 44px) clamp(24px, 3vw, 40px);
  background: var(--white);
  border-top: 3px solid var(--green);
}

.decision-strip span,
.proof-list span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.decision-strip strong {
  display: block;
  margin: 0 0 8px;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(15px, 1.4vw, 20px);
  font-weight: 700;
  line-height: 1.5;
}

.decision-strip p {
  margin: 0;
  color: #78909c;
  font-size: 13px;
  line-height: 1.7;
}

.persona-section {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 4vw, 56px);
  min-height: auto;
  padding: 88px clamp(20px, 6vw, 84px);
  background: var(--white);
}

.persona-section > .cmh-section-band {
  grid-column: 1 / -1;
  margin-bottom: 16px;
}

.persona-section--blue {
  background: linear-gradient(150deg, rgba(42,143,187,0.12) 0%, rgba(46,159,102,0.08) 100%);
  padding-bottom: calc(88px + 56px);
  position: relative;
  z-index: 0;
}

/* 青セクションの直後の白セクションがYaahaスタイルで被さる */
.persona-section--blue + .persona-section,
.persona-section--blue + .persona-proof-panel,
.persona-section--blue + .persona-fit-panel,
.persona-section--blue + .persona-impact-panel {
  border-radius: 56px 56px 0 0;
  margin-top: -52px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* 白→青の遷移: 青セクションの上をラウンド */
.persona-section + .persona-section--blue,
.persona-proof-panel + .persona-section--blue,
.persona-fit-panel + .persona-section--blue,
.decision-strip + .persona-section--blue,
.stats-strip + .persona-section--blue {
  border-radius: 0 0 56px 56px;
}

.persona-copy {
  width: 100%;
}

.persona-copy h2 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.22;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.persona-copy p:not(.cmh-section-band) {
  max-width: 600px;
  color: #62737f;
  font-size: 14px;
  line-height: 1.8;
  margin-top: 12px;
}

/* 見どころのある文（fit-panel・proof-panelのh2）は大きいまま維持 */
.persona-fit-panel .persona-copy h2,
.persona-impact-panel .persona-copy h2,
.persona-fit-panel h2,
.persona-impact-panel h2 {
  font-size: clamp(34px, 4.5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.persona-inline-cta {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 22px;
  border-radius: 999px;
  padding: 10px 26px;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.persona-proof-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
  background: var(--white);
}

.proof-photo {
  width: 100%;
  aspect-ratio: 16 / 6;
  min-height: 280px;
  background:
    linear-gradient(180deg, rgba(16,24,32,0.04), rgba(16,24,32,0.36)),
    url("assets/staff_shugo.jpg") center / cover no-repeat;
}

.proof-copy {
  display: grid;
  gap: clamp(24px, 3vw, 40px);
  padding: clamp(52px, 7vw, 96px) clamp(20px, 6vw, 84px);
  background:
    radial-gradient(ellipse at 4% 90%, rgba(42,143,187,0.09), transparent 38%),
    var(--white);
}

.proof-copy h2 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(32px, 4vw, 62px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  max-width: 760px;
}

.proof-list {
  display: grid;
  gap: 14px;
  max-width: 860px;
}

.proof-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px 24px;
  align-items: start;
  border-left: 4px solid var(--green);
  padding: 20px 24px;
  background: rgba(247,250,252,0.9);
  box-shadow: none;
  border-radius: 0 8px 8px 0;
}

.proof-list span {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  opacity: 0.85;
}

.proof-list strong {
  display: block;
  margin: 4px 0 4px;
  font-size: clamp(16px, 1.4vw, 20px);
}

.proof-list p {
  margin: 0;
  grid-column: 2;
  color: #40515e;
  font-size: 15px;
}

.persona-card-grid,
.icon-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.persona-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  background: rgba(16,24,32,0.07);
  border-radius: 12px;
  overflow: hidden;
}

.persona-card-grid article,
.seminar-item,
.icon-card-grid article {
  border: 1px solid rgba(16,24,32,0.1);
  border-radius: 8px;
  padding: 24px;
  background: var(--white);
  box-shadow: 0 8px 32px rgba(16,24,32,0.06);
}

.persona-faq details {
  border: none;
  border-bottom: 1px solid rgba(16,24,32,0.1);
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.persona-card-grid span,
.seminar-item time {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

/* ---- timeline strip ---- */
.persona-timeline article {
  background: var(--white);
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: clamp(28px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.persona-timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-width: 44px;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.persona-card-grid strong {
  display: block;
  margin: 8px 0;
  font-size: clamp(20px, 2vw, 28px);
}

.icon-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.icon-card-grid article {
  min-height: 200px;
}

.icon-card-grid svg {
  width: 52px;
  height: 52px;
  color: var(--green);
}

.icon-card-grid strong {
  display: block;
  margin: 10px 0 8px;
  font-size: clamp(19px, 1.8vw, 27px);
  line-height: 1.25;
}

.persona-timeline strong {
  display: block;
  margin: 0;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.3;
}

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

.persona-checks li {
  position: relative;
  padding-left: 34px;
  font-weight: 800;
}

.persona-checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -4px;
  color: var(--green);
  font-family: "Zen Kurenaido", "Yomogi", cursive;
  font-size: 28px;
}

.persona-image {
  width: 100%;
  aspect-ratio: 16 / 6;
  min-height: 280px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(16,24,32,0.02), rgba(16,24,32,0.22)),
    url("assets/photo-consult.jpg") center / cover no-repeat;
}

.persona-image--training {
  background:
    linear-gradient(180deg, rgba(16,24,32,0.02), rgba(16,24,32,0.22)),
    url("assets/photo-training.jpg") center / cover no-repeat;
}

.persona-image--seminar {
  background:
    linear-gradient(180deg, rgba(16,24,32,0.02), rgba(16,24,32,0.22)),
    url("assets/photo-seminar.jpg") center / cover no-repeat;
}

.persona-image--team {
  background:
    linear-gradient(180deg, rgba(16,24,32,0.02), rgba(16,24,32,0.22)),
    url("assets/staff_shugo.jpg") center / cover no-repeat;
}

.persona-faq {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(16,24,32,0.1);
  max-width: 860px;
}

.persona-faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  padding: 22px 0;
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 700;
}

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

.persona-faq summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 28px;
  font-weight: 300;
  color: var(--green);
  line-height: 1;
  transition: transform 0.25s ease;
}

details[open] > summary::after {
  transform: rotate(45deg);
}

.persona-faq details[open] {
  border-bottom: 1px solid rgba(16,24,32,0.1);
}

.persona-faq p {
  padding: 0 0 24px;
  color: #3d4c58;
  max-width: 680px;
}

.persona-faq p,
.persona-timeline p,
.icon-card-grid p,
.book-grid p {
  color: #3d4c58;
  margin: 0;
}

.persona-timeline p {
  font-size: 15px;
  line-height: 1.6;
}

.persona-fit-panel,
.persona-impact-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 4vw, 52px);
  padding: 88px clamp(20px, 6vw, 84px);
  background: var(--white);
}

.persona-fit-panel > div:first-child,
.persona-impact-panel > div:first-child {
  max-width: 760px;
}

.persona-fit-panel h2,
.persona-impact-panel h2 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(34px, 4.5vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.persona-fit-panel p,
.persona-impact-panel p {
  color: #40515e;
  max-width: 620px;
}

.fit-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.fit-columns article {
  min-height: 340px;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(16,24,32,0.1);
  border-radius: 8px;
  background: rgba(247,248,246,0.9);
  box-shadow: 0 8px 32px rgba(16,24,32,0.06);
}

.fit-columns .fit-good {
  border-top: 8px solid var(--green);
}

.fit-columns .fit-bad {
  border-top: 8px solid #9eadb8;
}

.fit-columns h3 {
  margin: 0 0 18px;
  font-size: clamp(24px, 2.6vw, 42px);
}

.fit-columns ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 1.2em;
  font-weight: 800;
}

.impact-lanes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(16,24,32,0.12);
}

.impact-lanes article {
  min-height: 300px;
  padding: clamp(24px, 3vw, 38px);
  background: var(--paper);
}

.impact-lanes span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.impact-lanes strong {
  display: block;
  margin: 14px 0 10px;
  font-size: clamp(22px, 2vw, 34px);
  line-height: 1.16;
}

.persona-cta {
  position: relative;
  padding: calc(96px + 52px) clamp(20px, 6vw, 84px) 96px;
  background: linear-gradient(150deg, var(--blue) 0%, var(--green) 100%);
  color: var(--white);
  overflow: hidden;
  border-radius: 56px 56px 0 0;
  margin-top: -52px;
  z-index: 2;
}

.persona-cta h2 {
  margin: 0 0 18px;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(34px, 4vw, 64px);
  color: var(--white);
}

.persona-cta a {
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 900;
  color: var(--white);
}

.seminar-list {
  display: grid;
  gap: 14px;
}

.cmh-flow-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cmh-flow-steps li {
  border: 1px solid rgba(16,24,32,0.1);
  border-radius: 8px;
  padding: 22px 24px;
  background: var(--white);
  box-shadow: 0 8px 32px rgba(16,24,32,0.06);
}

.cmh-flow-steps span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.cmh-flow-steps strong {
  display: block;
  margin: 8px 0;
  font-size: clamp(18px, 1.7vw, 24px);
}

.cmh-flow-steps p {
  margin: 0;
  color: #3d4c58;
}

.book-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 860px;
}

.book-grid article {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px 28px;
  align-items: start;
  border: 1px solid rgba(16,24,32,0.1);
  border-radius: 12px;
  padding: 24px 28px;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(16,24,32,0.05);
}

.book-grid img {
  width: 100%;
  max-width: 120px;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(16,24,32,0.18);
}

.book-grid h2 {
  margin: 0 0 8px;
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.4;
  font-family: "Noto Serif JP", serif;
}

.admin-page {
  background: var(--paper);
}

.admin-shell {
  padding: 120px clamp(18px, 5vw, 64px) 80px;
}

.admin-hero h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
}

.admin-panel {
  margin-top: 28px;
  border: 1px solid rgba(87,185,223,0.22);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 34px);
  background: var(--white);
  box-shadow: 0 18px 60px rgba(16,24,32,0.06);
}

.admin-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.admin-heading h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 42px);
}

.admin-heading button,
.admin-actions button,
.admin-news-row button {
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  background: var(--green);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.admin-news-list {
  display: grid;
  gap: 12px;
}

.admin-news-row {
  display: grid;
  grid-template-columns: 0.8fr 0.8fr minmax(240px, 1.5fr) auto auto;
  gap: 10px;
  align-items: end;
}

.admin-news-row label,
.admin-table select {
  display: grid;
  gap: 5px;
  font-size: 12px;
  font-weight: 900;
  color: var(--muted);
}

.admin-news-row input,
.admin-table select {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(16,24,32,0.14);
  border-radius: 6px;
  padding: 8px 10px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.admin-check {
  align-self: center;
  display: flex !important;
  grid-auto-flow: column;
  align-items: center;
}

.admin-table {
  margin-top: 0;
}

.admin-actions {
  position: sticky;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
}

@keyframes openingPhoto {
  0%, 8% { opacity: 0; transform: scale(1.08); }
  18%, 48% { opacity: 1; transform: scale(1.02); }
  62%, 100% { opacity: 0; transform: scale(1); }
}

@keyframes openingOut {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

@keyframes openingMessage {
  0% {
    opacity: 0;
    transform: translateY(8px);
    filter: blur(20px);
  }
  22%, 65% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-6px);
    filter: blur(10px);
  }
}

@keyframes openingBrand {
  0% {
    opacity: 0;
    filter: blur(18px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes contentIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cue {
  0% { transform: translateY(0); opacity: 0.2; }
  50% { opacity: 1; }
  100% { transform: translateY(28px); opacity: 0.2; }
}

/* ---- スクロールアニメーション ---- */
.animate-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.animate-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-up:nth-child(2) { transition-delay: 0.1s; }
.animate-up:nth-child(3) { transition-delay: 0.2s; }
.animate-up:nth-child(4) { transition-delay: 0.3s; }

/* ---- stats-strip ---- */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, var(--green) 0%, var(--blue) 100%);
}
.stats-strip > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 40px);
  background: transparent;
  color: var(--white);
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.18);
}
.stats-strip > div:last-child {
  border-right: none;
}
.stats-strip strong {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 900;
  line-height: 1;
  color: var(--white);
}
.stats-strip strong + span {
  font-size: clamp(14px, 1.4vw, 20px);
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  margin-top: -8px;
}
.stats-strip p {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin: 0;
  letter-spacing: 0.06em;
}
@media (max-width: 640px) {
  .stats-strip {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .animate-up { opacity: 1; transform: none; transition: none; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .opening {
    display: none;
  }
}

@media (max-width: 1100px) {
  .persona-section > .cmh-section-band {
    margin-bottom: 0;
  }
}

@media (max-width: 860px) {
  .opening__content {
    width: min(84vw, 520px);
  }

  .opening__message {
    font-size: clamp(24px, 7vw, 34px);
    white-space: normal;
  }

  /* stickyだとヘッダー分ヒーローが下から始まり、ピンが効くまで
     わずかにスライドして見えるためPCと同じfixedにする */
  /* 固定ヘッダーにブラーをかけるとスクロール中ずっと再描画が走るため、
     モバイルでは不透明の背景で代用する */
  .site-header {
    position: fixed;
    top: 0;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(16, 24, 32, 0.08);
    backdrop-filter: none;
  }

  .site-nav {
    display: none;
  }

  /* ヒーローはPCと同じピン留めフェード演出を維持し、寸法だけモバイルに合わせる */
  .hero {
    min-height: 320vh;
  }

  /* svhだとアドレスバー収納時に下へ余白が出るため、
     ビューポートに動的追従するdvhを使う */
  .hero__pin {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero__visual {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero__copy {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 0 20px;
  }

  /* 写真の白かぶりを抑え、テキスト帯だけ読みやすくする */
  .photo-layer::before {
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.06));
  }

  .hero__copy::before {
    inset: 0;
    width: 100%;
    background: linear-gradient(
      180deg,
      rgba(247, 248, 246, 0.88) 0%,
      rgba(247, 248, 246, 0.62) 42%,
      rgba(247, 248, 246, 0.30) 72%,
      rgba(247, 248, 246, 0.08) 100%
    );
    mask-image: none;
    backdrop-filter: none; /* 全面ブラーで写真がボケるのを防ぐ */
  }

  .hero__copy::after {
    width: 100%;
    background: radial-gradient(circle at 40% 46%, rgba(255, 255, 255, 0.30), transparent 58%);
  }

  /* メインコピーに筆致の緑アクセント */
  .hero__maincopy::after {
    content: "";
    display: block;
    width: 72px;
    height: 5px;
    margin-top: 20px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--green), rgba(99, 179, 77, 0.35));
  }

  .hero__maincopy {
    left: 20px;
    width: calc(100% - 40px);
  }

  .hero__subcopy {
    left: 20px;
    right: 20px;
    width: auto;
    padding: 22px;
  }

  .hero__authority {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 18px;
    padding: 84px 20px 96px;
    overflow-y: auto;
  }

  .hero__authority-photo {
    min-height: 200px;
  }

  .hero__book-stack {
    right: 8px;
    bottom: 8px;
    width: 126px;
    height: 104px;
  }

  .hero__book-button {
    width: 52px;
    border-width: 2px;
  }

  .book-modal__body {
    grid-template-columns: 1fr;
  }

  .book-modal__image {
    width: min(220px, 64vw);
  }

  .hero__authority-ribbons {
    width: 100%;
  }

  .hero__authority-ribbons li,
  .hero__authority-ribbons li:nth-child(even) {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 10px 14px 10px 46px;
    font-size: clamp(17px, 5vw, 22px);
  }

  .hero__concept {
    font-size: clamp(34px, 12vw, 54px);
    margin-bottom: 14px;
  }

  .hero__maincopy {
    margin: 0 0 24px;
    font-size: clamp(30px, 8vw, 42px);
    line-height: 1.14;
  }

  .hero__subcopy p {
    font-size: clamp(18px, 5.4vw, 24px);
    line-height: 1.85;
    text-align: left;
  }

  .hero__status {
    left: 20px;
    right: 20px;
    bottom: 146px; /* floating-actions・scroll-cueと重ならない位置 */
    transition: opacity 0.4s ease;
  }

  /* 授権ステージはリボンと重なるためチップを隠す */
  .hero.is-authority-visible .hero__status {
    opacity: 0;
    pointer-events: none;
  }

  .gateway-grid,
  .info-flow,
  .trust-strip,
  .site-footer,
  .sub-hero,
  .cm-main-grid,
  .cm-profile-link,
  .decision-strip,
  .persona-proof-panel,
  .persona-fit-panel,
  .persona-impact-panel,
  .fit-columns,
  .impact-lanes {
    grid-template-columns: 1fr;
  }

  .cm-check-grid,
  .cm-service-list,
  .cm-flow ol,
  .persona-section,
  .persona-card-grid,
  .icon-card-grid,
  .cmh-flow-steps,
  .persona-timeline {
    grid-template-columns: 1fr;
  }

  .book-grid article {
    grid-template-columns: 88px 1fr;
    gap: 16px 20px;
  }

  .book-grid img {
    max-width: 88px;
  }

  .proof-photo {
    aspect-ratio: 4 / 3;
  }

  .sub-hero__media {
    min-height: 42vh;
  }

  .sub-hero__content,
  .cm-overview,
  .cm-main-grid,
  .cm-services,
  .cm-flow,
  .cm-profile-link {
    padding: 48px 20px;
  }

  .sub-hero__facts {
    position: static;
    transform: none;
    padding: 0 20px 28px;
  }

  .gateway-grid {
    grid-template-rows: auto;
    min-height: auto;
  }

  .gateway {
    min-height: 280px;
  }

  .gateway strong {
    font-size: clamp(28px, 9vw, 48px);
  }

  .gateway--small strong {
    font-size: clamp(22px, 7.5vw, 34px);
  }

  .gateway__num {
    font-size: 58px;
  }

  .gateway__arrow {
    width: 48px;
    height: 48px;
    font-size: 26px;
  }

  .news-item {
    grid-template-columns: 1fr;
  }

  /* スクロール誘導はフローティングボタンの上にコンパクト表示（次セクション名は省略） */
  .scroll-cue {
    bottom: 78px;
    gap: 6px;
  }

  .scroll-cue__line {
    height: 34px;
  }

  .scroll-cue__next {
    display: none;
  }

  .floating-actions {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .floating-actions a {
    flex: 1;
    min-height: 46px;
  }

  .persona-hero {
    min-height: 78vh;
    padding: 108px 20px 48px;
  }

  .persona-section {
    min-height: auto;
    padding: 72px 20px;
  }

  .cmh-section-band {
    min-width: min(320px, 92vw);
    padding: 12px 28px 12px 16px;
    font-size: 16px;
  }

  .admin-shell {
    padding: 100px 16px 60px;
  }

  .admin-heading,
  .admin-news-row {
    grid-template-columns: 1fr;
  }

  .admin-heading {
    display: grid;
  }

  .admin-actions {
    position: static;
  }
}

/* 実ロゴ画像をヘッダー・フッターのマークに使用 */
img.brand__mark {
  background: none;
  border-radius: 0;
  object-fit: contain;
}

/* ===== クラフトアクセント（Index） ===== */

/* ゲートウェイ：紙の粒感グレイン */
.gateways::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.14'/%3E%3C/svg%3E");
  opacity: 0.55;
  mix-blend-mode: multiply;
}

.gateway-grid {
  position: relative;
  z-index: 1;
}

/* お知らせ・空き状況：細かいドットグリッド */
.info-flow {
  background:
    radial-gradient(circle, rgba(16,24,32,0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(248,247,244,1), rgba(255,255,255,1));
  background-size: 26px 26px, 100% 100%;
}

/* trust-strip：温かい紙色 */
.trust-strip {
  background: rgba(250,247,241,0.6);
}

/* ヘッダー横長ロゴ */
.brand__logo-main {
  height: 44px;
  width: auto;
  display: block;
}

/* フッター住所Googleマップリンク */
.footer-contact__map {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* フッターbrand strong（ロゴなし版） */
.footer-brand strong {
  align-self: center;
}

.footer-brand__logo {
  height: 64px;
  width: auto;
  display: block;
}
