/* J School — 枠線を排し、余白・タイポ・ラインで整理（公立系サイトのCTA・余韻を参考） */
:root {
  --color-bg: #f7f8fb;
  --color-bg-elevated: #ffffff;
  --color-ink: #121826;
  --color-muted: #5c6478;
  --color-faint: #9aa3b5;
  --color-primary: #0c2d5e;
  --color-primary-mid: #143d7a;
  --color-primary-soft: rgba(12, 45, 94, 0.08);
  --color-line-hair: rgba(12, 45, 94, 0.08);
  --color-accent: #c9a227;
  --color-accent-ink: #3d3208;
  --color-ok: #0d6e64;
  --color-warn: #a65f00;
  --font-base: "Noto Sans JP", system-ui, sans-serif;
  --font-display: "Zen Maru Gothic", "Noto Sans JP", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.3, 0.64, 1);
  --duration: 0.55s;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.78;
  color: var(--color-ink);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-primary-mid);
  text-decoration-color: rgba(20, 61, 122, 0.35);
  text-underline-offset: 5px;
  transition:
    color 0.35s var(--ease-out),
    text-decoration-color 0.35s var(--ease-out);
}

a:hover {
  color: var(--color-primary);
  text-decoration-color: rgba(20, 61, 122, 0.75);
}

.inner {
  width: min(1140px, 100% - 48px);
  margin-inline: auto;
}

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

.skip-link:focus {
  left: 14px;
  top: 14px;
}

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

/* 告知バー — 境界はグラデのみ */
.site-announcement {
  background: linear-gradient(105deg, #071a38 0%, var(--color-primary) 52%, #143d7a 100%);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  letter-spacing: 0.03em;
}

.site-announcement .inner {
  display: flex;
  align-items: center;
  gap: 14px 22px;
  flex-wrap: wrap;
  padding: 12px 0;
}

.site-announcement__badge {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  padding-bottom: 2px;
  border-bottom: 2px solid var(--color-accent);
}

.site-announcement__cta {
  margin-left: auto;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  position: relative;
}

.site-announcement__cta::after {
  content: "";
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(1px);
  transition: transform 0.4s var(--ease-spring);
}

.site-announcement__cta:hover {
  color: #fff;
}

.site-announcement__cta:hover::after {
  transform: rotate(-45deg) translate(4px, -1px);
}

/* ヘッダー */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(247, 248, 251, 0.88);
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 1px 0 var(--color-line-hair);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0 10px;
}

.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: auto;
  text-decoration: none;
  color: inherit;
}

.site-logo:hover {
  color: inherit;
  opacity: 0.92;
}

.site-logo__img {
  height: clamp(44px, 9vw, 58px);
  width: auto;
  max-width: min(240px, 70vw);
  object-fit: contain;
  display: block;
  /* 透過PNG前提。黒背景が残る場合は画像データを透過エクスポートし直してください */
}

.site-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.site-logo__en {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.03em;
}

.site-logo__ja {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-muted);
}

.site-header__contacts {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-tel {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-ink);
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.2;
}

.site-tel__label {
  font-size: 10px;
  font-weight: 600;
  color: var(--color-faint);
  letter-spacing: 0.12em;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--color-primary-soft);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle__line {
  width: 20px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
  box-shadow: 0 7px 0 var(--color-primary), 0 -7px 0 var(--color-primary);
}

.global-nav {
  padding-bottom: 4px;
}

.global-nav__list {
  list-style: none;
  margin: 0;
  padding: 0 0 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  justify-content: center;
}

.global-nav__list a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 16px 12px;
  text-decoration: none;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 600;
  position: relative;
  transition: color 0.35s var(--ease-out);
}

.global-nav__list a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), rgba(201, 162, 39, 0.4));
  border-radius: 1px;
  transform: translateX(-50%);
  transition:
    width 0.42s var(--ease-spring),
    opacity 0.3s ease;
  opacity: 0;
}

.global-nav__en {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
}

.global-nav__ja {
  font-size: 12px;
}

.global-nav__list a:hover {
  color: var(--color-primary);
}

.global-nav__list a:hover::after {
  width: 60%;
  opacity: 1;
}

.global-nav__list a.is-active {
  color: var(--color-primary);
}

.global-nav__list a.is-active::after {
  width: 76%;
  opacity: 1;
}

@media (max-width: 900px) {
  .site-header__contacts .site-tel {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .global-nav {
    display: none;
    box-shadow: 0 1px 0 var(--color-line-hair);
  }

  .global-nav.is-open {
    display: block;
    animation: nav-in 0.4s var(--ease-out);
  }

  .global-nav__list {
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 18px;
  }

  .global-nav__list a {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 14px 4px;
  }

  .global-nav__list a::after {
    left: 0;
    bottom: 8px;
    transform: none;
  }

  .global-nav__list a:hover::after,
  .global-nav__list a.is-active::after {
    width: 100%;
    transform: none;
  }
}

@keyframes nav-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

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

/* CTA — 押しの強い主ボタン + テキストリンクトラック */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px 15px 30px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.45s var(--ease-spring),
    box-shadow 0.45s var(--ease-out);
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 18px 40px rgba(12, 45, 94, 0.26);
}

.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.18) 50%, transparent 62%);
  transform: translateX(-100%);
  transition: transform 0.85s var(--ease-out);
}

.btn--primary:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 22px 48px rgba(12, 45, 94, 0.32);
}

.btn--primary:hover::before {
  transform: translateX(100%);
}

.btn__arrow {
  display: inline-flex;
  transition: transform 0.45s var(--ease-spring);
}

.btn--primary:hover .btn__arrow {
  transform: translateX(5px);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  box-shadow: none;
  padding-left: 8px;
  padding-right: 8px;
  border-radius: 0;
}

.btn--outline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), transparent);
  transform-origin: left;
  transform: scaleX(0.65);
  transition: transform 0.45s var(--ease-out);
}

.btn--outline:hover {
  transform: none;
}

.btn--outline:hover::after {
  transform: scaleX(1);
}

.hero .btn--outline {
  color: rgba(255, 255, 255, 0.94);
}

.hero .btn--outline::after {
  bottom: 6px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.85), transparent);
}

.btn--sm {
  padding: 11px 20px;
  font-size: 13px;
  box-shadow: 0 8px 24px rgba(12, 45, 94, 0.12);
}

.btn-cta-minimal.btn--outline {
  padding: 10px 0 11px;
  font-weight: 700;
}

.btn-cta-minimal.btn--outline::after {
  bottom: 6px;
}

/* インバースCTAストリップ — 一覧下の長いリンク帯のイメージ */
.cta-strip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  font-weight: 700;
  font-size: 15px;
  color: var(--color-primary);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.cta-strip svg,
.cta-strip .cta-strip__ic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary-soft);
  display: grid;
  place-items: center;
  transition:
    transform 0.45s var(--ease-spring),
    background 0.35s ease;
}

.cta-strip:hover .cta-strip__ic {
  transform: rotate(-8deg) scale(1.08);
  background: rgba(201, 162, 39, 0.2);
}

.cta-strip__txt {
  position: relative;
  padding-bottom: 3px;
}

.cta-strip__txt::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--color-accent), rgba(201, 162, 39, 0));
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.55s var(--ease-out);
}

.cta-strip:hover .cta-strip__txt::after {
  transform: scaleX(1);
}

/* Hero */
.hero {
  position: relative;
  overflow: clip;
  color: #eaf0ff;
  padding: clamp(52px, 9vw, 110px) 0 clamp(64px, 11vw, 120px);
  background:
    radial-gradient(ellipse 900px 440px at 80% -20%, rgba(201, 162, 39, 0.12), transparent),
    radial-gradient(ellipse 800px 500px at 0% 100%, rgba(100, 180, 255, 0.12), transparent),
    linear-gradient(155deg, #051229 0%, var(--color-primary) 42%, #0a3f68 96%);
}

.hero__mesh {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.06), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.04), transparent 45%);
  pointer-events: none;
}

.hero .inner {
  position: relative;
  display: grid;
  gap: clamp(36px, 6vw, 56px);
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.92fr);
  align-items: center;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 10px rgba(201, 162, 39, 0.2);
}

.hero h1 {
  margin: 18px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.8vw, 3.05rem);
  line-height: 1.28;
  letter-spacing: 0.02em;
}

.hero__lead {
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.07rem);
  color: rgba(234, 240, 255, 0.88);
  max-width: 44ch;
}

.hero__cta {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  align-items: center;
}

.hero__note {
  font-size: 13px;
  color: rgba(234, 240, 255, 0.65);
  max-width: 30ch;
}

.hero__figure {
  margin: 0;
  position: relative;
  animation: hero-float 7s ease-in-out infinite;
}

@keyframes hero-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.hero__figure::before {
  content: "";
  position: absolute;
  inset: -8% -6% 10% -6%;
  background: radial-gradient(ellipse at 50% 50%, rgba(201, 162, 39, 0.22), transparent 68%);
  z-index: 0;
  pointer-events: none;
}

.hero__figure img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  clip-path: ellipse(96% 92% at 50% 48%);
  box-shadow: 0 32px 64px rgba(5, 15, 40, 0.45);
  transition:
    clip-path 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
}

.hero__figure:hover img {
  clip-path: ellipse(100% 96% at 48% 50%);
  transform: scale(1.02);
}

.hero__scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.hero__scroll-hint span:last-child {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.55), transparent);
  animation: scroll-line 2.4s ease-in-out infinite;
}

@keyframes scroll-line {
  0%,
  100% {
    opacity: 0.2;
    transform: scaleY(0.4);
  }

  45% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@media (max-width: 900px) {
  .hero .inner {
    grid-template-columns: 1fr;
  }

  .hero__scroll-hint {
    display: none;
  }

  .hero__figure {
    max-width: 520px;
    margin-inline: auto;
  }
}

/* セクション */
.section {
  padding: clamp(64px, 10vw, 104px) 0;
}

.section--wash {
  background: linear-gradient(180deg, rgba(12, 45, 94, 0.03) 0%, transparent 45%, rgba(201, 162, 39, 0.04) 100%);
}

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  margin: 0 0 10px;
}

.section__title span {
  display: block;
  font-family: var(--font-base);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-faint);
  margin-bottom: 10px;
}

.section__lead {
  margin: 0 0 40px;
  max-width: 62ch;
  color: var(--color-muted);
  font-size: 1.02rem;
}

/* メニュータイル — 枠なし、左アクセントラインのみ */
.tiles-4 {
  display: grid;
  gap: clamp(20px, 3vw, 36px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

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

.tiles-4 article {
  position: relative;
  padding: 8px 8px 8px 20px;
  transition: transform 0.5s var(--ease-out);
}

.tiles-4 article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--color-primary), rgba(201, 162, 39, 0.65));
  transform: scaleY(0.45);
  transform-origin: top;
  transition: transform 0.55s var(--ease-spring);
}

.tiles-4 article:hover {
  transform: translateX(6px);
}

.tiles-4 article:hover::before {
  transform: scaleY(1);
}

.tiles-4 h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
}

.tiles-4 p {
  margin: 0;
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.72;
}

.tile-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-weight: 700;
  font-size: 13px;
  color: var(--color-primary);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.tile-link::after {
  content: "→";
  font-size: 15px;
  transition: transform 0.45s var(--ease-spring);
}

.tile-link:hover::after {
  transform: translateX(6px);
}

/* 画像 + テキスト分割 */
.split-band {
  display: grid;
  gap: clamp(28px, 5vw, 48px);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  margin-top: clamp(40px, 7vw, 72px);
}

.split-band--reverse {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.split-band--reverse .split-band__media {
  order: 2;
}

@media (max-width: 860px) {
  .split-band,
  .split-band--reverse {
    grid-template-columns: 1fr;
  }

  .split-band--reverse .split-band__media {
    order: 0;
  }
}

.split-band__media {
  margin: 0;
}

.split-band__media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  clip-path: polygon(6% 0, 100% 0, 100% 88%, 0 100%, 0 12%);
  box-shadow: 0 28px 60px rgba(12, 45, 94, 0.12);
  transition:
    clip-path 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}

.split-band__media:hover img {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 92%, 0 0);
  transform: scale(1.015);
}

.split-band__body h2 {
  margin: 0 0 14px;
  font-size: 1.45rem;
  font-family: var(--font-display);
}

.split-band__body p {
  margin: 0 0 12px;
  color: var(--color-muted);
}

/* ニュース — 外枠なし、区切り線のみ */
.flow-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  border-bottom: 1px solid var(--color-line-hair);
}

.flow-list li:first-child {
  border-top: 1px solid var(--color-line-hair);
}

.flow-list a {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 20px;
  padding: 22px 6px 22px 4px;
  text-decoration: none;
  color: inherit;
  transition: background 0.4s ease;
}

.flow-list a:hover {
  background: linear-gradient(90deg, var(--color-primary-soft), transparent 55%);
}

.flow-list time {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-faint);
  font-variant-numeric: tabular-nums;
}

.flow-list span {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
}

.two-col-news {
  display: grid;
  gap: clamp(36px, 5vw, 56px);
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.78fr);
  align-items: start;
}

@media (max-width: 860px) {
  .two-col-news {
    grid-template-columns: 1fr;
  }
}

.campaign-block {
  padding: 8px 0 8px 22px;
  border-left: 3px solid var(--color-accent);
}

.campaign-block h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.28rem;
}

.campaign-block p {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--color-muted);
}

.campaign-block .tagline {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-warn);
  margin-bottom: 8px !important;
}

.campaign-block .panel-list {
  margin: 16px 0 0;
  padding-left: 1.2rem;
  font-size: 14px;
  color: var(--color-ink);
}

/* 特徴 — 枠なしカラム */
.features-flow {
  display: grid;
  gap: clamp(36px, 5vw, 56px);
}

@media (min-width: 820px) {
  .features-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.feature-item {
  padding-top: 8px;
}

.feature-item__num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.feature-item h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

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

/* 体験カレンダー — 境界ベタ打ちせず */
.trial-calendar {
  padding: clamp(8px, 2vw, 16px) 0 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.trial-calendar__head {
  margin-bottom: 22px;
}

.trial-cal-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--color-primary-soft);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  color: var(--color-primary);
  transition:
    transform 0.35s var(--ease-spring),
    background 0.35s ease;
}

.trial-cal-nav button:hover {
  transform: scale(1.08);
  background: rgba(201, 162, 39, 0.22);
}

.trial-cal-nav__month {
  min-width: 168px;
  text-align: center;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  font-size: 1.08rem;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  font-size: 12px;
  color: var(--color-muted);
  margin-bottom: 18px;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot--ok {
  background: var(--color-ok);
}

.dot--few {
  background: #c9a010;
}

.dot--full {
  background: #8b95a8;
}

.dot--holiday {
  background: #e07373;
}

.cal-grid-wrap {
  overflow: auto;
  padding-bottom: 8px;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(42px, 1fr));
  gap: 8px;
  min-width: 320px;
}

.cal-head {
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  color: var(--color-faint);
  padding: 6px 0;
  letter-spacing: 0.08em;
}

.cal-day {
  min-height: 58px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  padding: 8px 9px;
  font-size: 12px;
  position: relative;
  transition:
    transform 0.38s var(--ease-spring),
    background 0.35s ease,
    box-shadow 0.35s ease;
}

.cal-day--muted {
  opacity: 0.25;
  background: transparent;
}

.cal-day-num {
  font-weight: 800;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.cal-day-chip {
  display: inline-flex;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 3px 6px;
  border-radius: 4px;
  color: #fff;
}

.cal-day-chip--ok {
  background: var(--color-ok);
}

.cal-day-chip--few {
  background: #b45309;
}

.cal-day-chip--full {
  background: #64748b;
}

.cal-day-chip--holiday {
  background: #b91c1c;
}

.cal-day[tabindex]:not(.cal-day--muted):hover {
  cursor: pointer;
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(12, 45, 94, 0.12);
  background: #fff;
}

.cal-footnote {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--color-muted);
}

/* 下層ヒーロー + ページ写真 */
.page-hero {
  padding: clamp(48px, 7vw, 80px) 0 48px;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.2rem);
}

.page-hero--split {
  display: grid;
  gap: clamp(28px, 4vw, 40px);
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.82fr);
  align-items: end;
}

@media (max-width: 820px) {
  .page-hero--split {
    grid-template-columns: 1fr;
  }
}

.page-hero__visual {
  margin: 0;
}

.page-hero__visual img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  clip-path: ellipse(95% 90% at 60% 45%);
  box-shadow: 0 28px 56px rgba(12, 45, 94, 0.14);
}

.breadcrumb {
  font-size: 12px;
  color: var(--color-faint);
  margin-bottom: 14px;
}

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

.breadcrumb li::after {
  content: "·";
  margin-left: 10px;
  color: var(--color-line-hair);
  font-weight: 700;
}

.breadcrumb li:last-child::after {
  content: none;
}

.doc-block {
  max-width: 720px;
  margin: 0 auto 64px;
  padding-inline: min(28px, 4vw);
}

.doc-block.full {
  max-width: none;
  padding-inline: 0;
}

.doc-block.inner {
  padding-inline: 0;
  width: min(1140px, 100% - 48px);
  margin-inline: auto;
  max-width: none;
}

.doc-block h2 {
  margin: 2.75rem 0 0.9rem;
  font-size: 1.28rem;
  color: var(--color-primary);
  font-family: var(--font-display);
}

.doc-block h2:first-of-type {
  margin-top: 0;
}

.doc-block h3 {
  margin: 1.6rem 0 0.5rem;
  font-size: 1.08rem;
}

.doc-block p,
.doc-block ul {
  margin: 0 0 1rem;
  color: var(--color-muted);
}

.doc-block ul {
  padding-left: 1.3rem;
}

/* プロフィール — 枠なし */
.profile-row {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
  align-items: start;
  margin-bottom: clamp(36px, 5vw, 52px);
  padding-bottom: clamp(36px, 5vw, 52px);
  border-bottom: 1px solid var(--color-line-hair);
}

.profile-row:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

@media (max-width: 700px) {
  .profile-row {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .profile-row figure {
    max-width: 280px;
    margin-inline: auto;
  }
}

.profile-row figure {
  margin: 0;
}

.profile-row img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  clip-path: circle(48% at 50% 50%);
  transition:
    clip-path 0.6s var(--ease-out),
    transform 0.6s var(--ease-out);
}

.profile-row:hover img {
  clip-path: ellipse(72% 68% at 50% 45%);
  transform: scale(1.03);
}

.profile-row h3 {
  margin: 4px 0 10px !important;
  color: var(--color-primary) !important;
  font-size: 1.35rem !important;
}

.price-lede {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 800;
  color: var(--color-primary);
  margin: 1rem 0 0.5rem;
}

.price-detail {
  font-size: 15px;
  color: var(--color-muted);
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-line-hair);
}

.photo-inline {
  margin: 2rem 0;
}

.photo-inline img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  clip-path: polygon(0 8%, 100% 0, 94% 100%, 0 92%);
  box-shadow: 0 22px 50px rgba(12, 45, 94, 0.1);
}

.photo-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 28px);
  margin: clamp(32px, 5vw, 48px) auto 0;
  max-width: 900px;
}

.photo-pair figure {
  margin: 0;
}

.photo-pair img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  clip-path: ellipse(92% 88% at 50% 50%);
  transition: transform 0.6s var(--ease-out);
}

.photo-pair figure:hover img {
  transform: scale(1.03);
}

@media (max-width: 640px) {
  .photo-pair {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

.contact-form-area {
  max-width: 640px;
  padding: clamp(8px, 2vw, 16px) 0 0;
}

.form-note {
  font-size: 14px;
  color: var(--color-muted);
  margin: 0 0 28px;
}

.form-row {
  margin-bottom: 22px;
}

.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-row label .req {
  color: #b45309;
  font-size: 12px;
  margin-left: 4px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 14px 0 12px;
  border: none;
  border-bottom: 1px solid rgba(12, 45, 94, 0.15);
  border-radius: 0;
  font: inherit;
  background: transparent;
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-bottom-color: var(--color-primary);
  box-shadow: 0 10px 0 -8px rgba(12, 45, 94, 0.12);
  transform: translateY(-2px);
}

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

.contact-map-slot {
  margin-top: clamp(36px, 5vw, 56px);
}

.contact-map-slot iframe {
  width: 100%;
  min-height: 260px;
  border: none;
  border-radius: 0;
  clip-path: polygon(4% 0, 100% 4%, 96% 100%, 0 96%);
}

/* フッター */
.site-footer {
  margin-top: 48px;
  background: radial-gradient(ellipse 900px 340px at 15% -30%, rgba(201, 162, 39, 0.12), transparent),
    linear-gradient(180deg, #040d1d 0%, var(--color-primary) 100%);
  color: rgba(230, 236, 255, 0.88);
}

.site-footer__top {
  padding: clamp(52px, 8vw, 80px) 0 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: space-between;
}

.site-logo__text--footer .site-logo__en {
  color: #fff;
}

.site-footer__address {
  max-width: 38ch;
  font-size: 13px;
  line-height: 1.72;
}

.site-footer__brand p {
  margin: 14px 0 0;
  font-weight: 700;
}

.site-footer a {
  color: #fff;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 14px 40px;
  font-size: 14px;
}

.footer-nav a {
  color: rgba(236, 240, 255, 0.85);
  text-decoration: none;
  position: relative;
}

.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.38s var(--ease-out);
}

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

.site-footer__bottom {
  padding: 22px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-footer__copy {
  margin: 0;
  font-size: 12px;
  opacity: 0.72;
}

.scroll-top {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition:
    transform 0.35s var(--ease-spring),
    background 0.35s ease;
}

.scroll-top:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.2);
}

.scroll-top span {
  border: solid rgba(255, 255, 255, 0.95);
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 5px;
  transform: rotate(-135deg);
}

/* 先読み：body 末尾の JS で html に reveal-enhanced を付けるまで、[data-reveal] は既定で見えるままにする（白画面を防ぐ） */
html.reveal-enhanced [data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translate3d(0, 42px, 0) scale(0.982);
  transition:
    opacity 1.06s cubic-bezier(0.19, 1, 0.22, 1),
    transform 1.08s cubic-bezier(0.19, 1, 0.22, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

html.reveal-enhanced [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  html.reveal-enhanced [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }
}
