/* ============================================================
   MARUNOWA — common styles
============================================================ */

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

:root {
  --ink: #36424f;
  --ink-soft: #5c6874;
  --ink-faint: #8d99a5;
  --line-green: #06c755;
  --brand: #4f6a99;
  --brand-deep: #4f6a99;
  --brand-soft: #e3eaf5;
  --mint: #dceee4;
  --peach: #f5dfd5;
  --cream: #f8f2ea;
  --paper: #fffdfa;
  --white: #ffffff;
  --border: rgba(79, 106, 153, 0.16);
  --shadow-soft: 0 16px 40px rgba(79, 106, 153, 0.12);
  --shadow-strong: 0 18px 48px rgba(54, 66, 79, 0.18);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1120px;
  --page-gutter: clamp(36px, 4.8vw, 84px);
  --page-gutter-mobile: 1.25rem;
  --header-offset: 154px;
  --header-offset-mobile: 104px;
  --section-padding-desktop: 10.25rem;
  --section-padding-mobile: 6.2rem;
  --rhythm-section-head-gap: 1.3rem;
  --rhythm-section-head-bottom: 3.9rem;
  --rhythm-grid-gap: 1.85rem;
  --rhythm-card-pad: 2.05rem;
  --rhythm-card-pad-mobile: 1.55rem;
  --wave-beige-svg: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%201440%20120%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20fill%3D%27%23f8f2eb%27%20d%3D%27M0%2096%20C180%2078%20360%2078%20540%2096%20C720%20114%20900%20114%201080%2096%20C1260%2078%201350%2078%201440%2092%20L1440%20120%20L0%20120%20Z%27/%3E%3C/svg%3E");
  --wave-blue-svg: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%201440%20120%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20fill%3D%27%23edf4fb%27%20d%3D%27M0%2096%20C180%2078%20360%2078%20540%2096%20C720%20114%20900%20114%201080%2096%20C1260%2078%201350%2078%201440%2092%20L1440%20120%20L0%20120%20Z%27/%3E%3C/svg%3E");
  --wave-warm-svg: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%201440%20120%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20fill%3D%27%23f7ede2%27%20d%3D%27M0%2096%20C180%2078%20360%2078%20540%2096%20C720%20114%20900%20114%201080%2096%20C1260%2078%201350%2078%201440%2092%20L1440%20120%20L0%20120%20Z%27/%3E%3C/svg%3E");
  --wave-footer-svg: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%201440%20120%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20fill%3D%27%23394653%27%20d%3D%27M0%2096%20C180%2078%20360%2078%20540%2096%20C720%20114%20900%20114%201080%2096%20C1260%2078%201350%2078%201440%2092%20L1440%20120%20L0%20120%20Z%27/%3E%3C/svg%3E");
  --blob-pink: rgba(238, 177, 202, 0.22);
  --blob-orange: rgba(244, 193, 145, 0.22);
  --blob-yellow: rgba(243, 223, 152, 0.22);
  --blob-green: rgba(177, 223, 187, 0.2);
  --blob-aqua: rgba(168, 223, 227, 0.2);
  --blob-blue: rgba(175, 202, 238, 0.22);
  --blob-violet: rgba(203, 186, 234, 0.2);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  scroll-padding-top: var(--header-offset);
}

@media (max-width: 860px) {
  html {
    scroll-padding-top: var(--header-offset-mobile);
  }
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(220, 231, 242, 0.55), transparent 24rem),
    linear-gradient(180deg, #fffdfb 0%, #f9f4ee 100%);
  line-height: 1.95;
  overflow-x: hidden;
  max-width: 100%;
  font-feature-settings: "palt" 1;
}

html.drawer-open,
body.drawer-open {
  overflow: hidden;
  overscroll-behavior: contain;
  touch-action: none;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

main {
  min-height: 100vh;
}

.container {
  width: min(calc(var(--container) + var(--page-gutter) * 2), 100%);
  margin: 0 auto;
  padding-inline: var(--page-gutter);
}

.page-main {
  padding-top: var(--header-offset);
  position: relative;
  isolation: isolate;
}

.story-decor-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}

.story-decor {
  position: absolute;
  display: block;
  width: var(--decor-size, clamp(44px, 5.2vw, 76px));
  transform: translate3d(0, 0, 0) rotate(var(--decor-rotate, 0deg));
  transform-origin: center;
  opacity: 0;
  transition: opacity 780ms cubic-bezier(0.2, 0.72, 0.2, 1);
  transition-delay: var(--appear-delay, 0ms);
  will-change: transform;
}

.story-decor.is-visible {
  opacity: 1;
}

.story-decor img {
  width: 100%;
  height: auto;
  opacity: var(--decor-opacity, 0.36);
  filter: drop-shadow(0 6px 12px rgba(145, 157, 176, 0.1));
  transform-origin: center;
  animation: story-float var(--float-duration, 12.8s) cubic-bezier(0.44, 0.08, 0.24, 1) var(--float-delay, 0s) infinite;
}

@keyframes story-float {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
  26% {
    transform: translate3d(10px, calc(var(--float-range, 12px) * -1.08), 0)
      rotate(calc(var(--float-rotate, 4deg) * 0.92)) scale(1.03);
  }
  52% {
    transform: translate3d(16px, calc(var(--float-range, 12px) * -1.42), 0)
      rotate(var(--float-rotate, 4deg)) scale(1.042);
  }
  78% {
    transform: translate3d(-13px, calc(var(--float-range, 12px) * 0.88), 0)
      rotate(calc(var(--float-rotate, 4deg) * -1.12)) scale(0.965);
  }
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-decor {
    opacity: 1;
    transition: none;
  }

  .story-decor img {
    animation: none;
  }

  .scroll-footprints {
    display: none;
  }
}

.section {
  --surface-bg: linear-gradient(180deg, #fdfaf5 0%, #f8f2ea 100%);
  --section-seam-rgb: 253, 250, 245;
  --section-seam-depth: 0px;
  padding: var(--section-padding-desktop) 0;
  background: var(--surface-bg);
  position: relative;
  overflow: visible;
  isolation: isolate;
}

.section-soft {
  --surface-bg: linear-gradient(180deg, #eff5fc 0%, #e9f1fa 100%);
  --section-seam-rgb: 239, 245, 252;
  background: var(--surface-bg);
}

.section-warm {
  --surface-bg: linear-gradient(180deg, #f8f1e7 0%, #f3eadf 100%);
  --section-seam-rgb: 248, 241, 231;
  background: var(--surface-bg);
}

.page-main > .section + .section {
  margin-top: 0;
  padding-top: var(--section-padding-desktop);
}

.page-main > .section + .section::before {
  content: none;
  display: none;
}

.page-main > .section + .section::after {
  content: none;
  display: none;
}

.page-main > .section:first-of-type::before {
  content: none;
}

.page-main > .section:first-of-type::after {
  content: none;
}

.page-main > .section:last-of-type::after {
  content: none;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: clamp(2.6rem, 5.6vw, 4.2rem);
  transform: translateY(calc(-100% + 1px));
  background: linear-gradient(180deg, rgba(57, 70, 83, 0) 0%, rgba(57, 70, 83, 0.2) 46%, rgba(57, 70, 83, 0.74) 100%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.72;
}

.site-footer {
  position: relative;
  isolation: isolate;
}

main > .section > .container,
.page-header > .container,
.site-footer > .footer-inner {
  position: relative;
  z-index: 3;
}

.page-main > .hero > *,
.page-main > .section > *,
.page-main > .page-header > * {
  position: relative;
  z-index: 3;
}

main > .section > .container::before,
.page-header > .container::after {
  content: none;
  display: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brand);
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}

.section-head {
  display: grid;
  gap: var(--rhythm-section-head-gap);
  margin-bottom: var(--rhythm-section-head-bottom);
}

.section-head.centered {
  text-align: center;
  justify-items: center;
}

body[data-page="services"] .section-head.centered.section-head-left-anchor {
  width: min(100%, 56rem);
  margin-inline: auto;
}

.section-title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(2rem, 4.2vw, 3.45rem);
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: 0.03em;
}

.section-copy,
.lede,
.card-copy,
.plain-copy {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.96;
}

.lede {
  max-width: 54rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.tag {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* =====================================
   Unified button system (pill-shape)
   .btn / .hcta は完全に同一スタイル。
   ヘッダー / サイドCTA / フォーム / モーダル
   どこで使っても同じ形・同じ高さに揃える。
   ===================================== */
.btn,
.hcta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: clamp(0.92rem, 2.4vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.btn:hover,
.hcta:hover {
  transform: translateY(-2px);
}

.btn-primary,
.hcta-web {
  background: linear-gradient(135deg, #4f6a99, #4f6a99);
  color: var(--white);
  box-shadow: 0 14px 32px rgba(79, 106, 153, 0.25);
}

.btn-line,
.hcta-line {
  background: linear-gradient(135deg, #0dcf61, #09b953);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(9, 185, 83, 0.22);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.78);
  color: var(--brand-deep);
  border-color: rgba(79, 106, 153, 0.28);
}

.btn-ghost:hover {
  background: var(--white);
}

.btn-contact,
.hcta-contact {
  background: rgba(255, 255, 255, 0.78);
  color: var(--brand-deep);
  border-color: rgba(79, 106, 153, 0.22);
  box-shadow: 0 10px 24px rgba(79, 106, 153, 0.1);
}

.btn-contact:hover,
.hcta-contact:hover {
  background: var(--white);
}

.btn-sm {
  min-height: 40px;
  padding: 0 1.1rem;
  font-size: 0.86rem;
}

.btn-lg {
  min-height: 56px;
  padding: 0 1.75rem;
  font-size: clamp(1rem, 2.6vw, 1.05rem);
}

.btn-block {
  width: 100%;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 var(--page-gutter) 0 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  box-shadow: none;
  transition: transform 0.25s ease;
}

.site-header.scrolled {
  box-shadow: none;
  background: transparent;
  border-bottom: none;
}

/* ホームページのみ：スクロール前は透明ヘッダー */
body[data-page="home"] .site-header:not(.scrolled) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}

body[data-page="home"] .site-header:not(.scrolled) .header-logo-zone {
  border-right-color: transparent;
}

.header-inner {
  /* 旧レイアウト互換用 — 実質header-logo-zone/header-nav-zoneに移行 */
}

.header-logo-zone {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 30px;
  height: 142px;
  flex-shrink: 0;
  border-radius: 0 0 40px 0;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(79, 106, 153, 0.12);
}

.header-nav-zone {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  margin: 40px 0 0 auto;
  padding: 4px 4px 4px 30px;
  background: #ffffff;
  border-radius: 32px;
  box-shadow: 0 8px 24px rgba(79, 106, 153, 0.12);
  max-width: calc(100% - 180px);
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo-mark {
  width: 2rem;
  height: 2rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(227, 234, 245, 0.96), rgba(255, 255, 255, 0.94));
  box-shadow: inset 0 0 0 1px rgba(79, 106, 153, 0.16);
}

.site-logo-mark svg {
  width: 1.38rem;
  height: 1.38rem;
  display: block;
}

.site-logo-text {
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
}

.site-logo-image,
.footer-logo-image {
  display: block;
  height: auto;
}

.site-logo-image {
  width: 75px;
}

.footer-logo-image {
  width: min(220px, 100%);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-header .header-nav a {
  position: relative;
  padding: 0 0 0.42rem;
  color: var(--ink-soft);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: color 0.2s ease;
}

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

.site-header .header-nav a:hover,
.site-header .header-nav a.active {
  color: var(--brand-deep);
}

.site-header .header-nav a:hover::after,
.site-header .header-nav a.active::after {
  transform: scaleX(1);
  opacity: 1;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 0;
}

/* header CTA 内のボタンは均等幅で揃える（文字数差でガタつかせない）*/
.header-cta-group > .hcta,
.header-cta-group > .btn {
  flex: 1 1 0;
  min-width: 130px;
}

/* PC では右端CTA（WEB予約・お問い合わせ）を大きく */
@media (min-width: 981px) {
  .header-cta-group > .hcta-prominent,
  .header-cta-group > .btn.hcta-prominent {
    min-height: 56px;
    min-width: 160px;
    padding: 0 1.7rem;
    font-size: 1rem;
    letter-spacing: 0.04em;
  }
}

/* 外部遷移アイコン（.btn / .hcta 内）*/
.external-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.btn .external-icon,
.hcta .external-icon {
  margin-left: 0.15rem;
}

/* header CTA は基底 .hcta の見た目をそのまま使用。
   ホバー時のシャドウだけ強化する（ピル形・サイズ・色は基底側に集約）。*/
.header-cta-group .hcta-line:hover {
  box-shadow: 0 18px 34px rgba(9, 185, 83, 0.3);
  filter: brightness(1.03);
}

.header-cta-group .hcta-contact:hover {
  background: var(--white);
  border-color: rgba(79, 106, 153, 0.34);
  box-shadow: 0 14px 28px rgba(79, 106, 153, 0.16);
}

.hamburger {
  display: none;
  margin: 0;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--brand-deep);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  box-shadow: 0 8px 24px rgba(79, 106, 153, 0.28);
}

.hamburger span {
  display: block;
  width: 30px;
  height: 2px;
  margin: 0;
  border-radius: 999px;
  background: #ffffff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 950;
  width: 100%;
  height: 100dvh;
  padding: calc(env(safe-area-inset-top, 0px) + var(--header-offset-mobile)) 2rem calc(env(safe-area-inset-bottom, 0px) + 2rem);
  background: rgba(255, 252, 249, 0.98);
  backdrop-filter: blur(16px);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  overflow-y: auto;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mob-links {
  list-style: none;
  display: grid;
  gap: 1.2rem;
}

.mob-links a {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.1rem;
}

.mob-cta {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

.side-cta {
  position: fixed;
  right: 1.4rem;
  bottom: 1.35rem;
  z-index: 900;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.side-cta.is-hidden {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

.side-cta-shell {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0.85rem;
  justify-items: end;
}

.side-cta-shell::before {
  content: "";
  position: absolute;
  right: 1rem;
  bottom: -0.75rem;
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(220, 238, 228, 0.7), transparent 72%);
  z-index: -1;
}

.side-cta-close,
.side-cta-main {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(79, 106, 153, 0.16);
  box-shadow:
    0 20px 42px rgba(54, 66, 79, 0.14),
    0 4px 14px rgba(255, 255, 255, 0.65) inset;
}

.side-cta-main {
  display: flex;
  align-items: stretch;
  min-width: min(92vw, 520px);
  border-radius: 22px;
  overflow: hidden;
}

.side-cta-close {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--ink-soft);
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
}

.side-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex: 1 1 0;
  min-width: 0;
  min-height: 48px;
  padding: 0 1.25rem;
  color: var(--ink);
  font-size: clamp(0.86rem, 2.4vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.side-cta-btn + .side-cta-btn {
  border-left: 1px solid rgba(79, 106, 153, 0.16);
}

.side-cta-label {
  white-space: nowrap;
}

.side-cta-arrow {
  font-size: 1rem;
  line-height: 1;
}

.side-cta-close:hover,
.side-cta-btn:hover {
  transform: translateY(-2px);
}

.side-cta-close:hover {
  color: var(--brand-deep);
}

.page-top {
  position: fixed;
  right: 1.45rem;
  bottom: 6.75rem;
  z-index: 880;
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  padding: 0.7rem 0.75rem 0.8rem;
  border: 1px solid rgba(79, 106, 153, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 36px rgba(54, 66, 79, 0.12);
  color: var(--brand-deep);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.page-top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.page-top:hover {
  box-shadow: 0 20px 38px rgba(54, 66, 79, 0.16);
}

.page-top-mark {
  display: inline-flex;
  color: #4f6a99;
}

.page-top-mark svg,
.page-top-mark img {
  width: 34px;
  height: 34px;
  display: block;
}

.page-top-label {
  font-size: 0.68rem;
  line-height: 1;
  white-space: nowrap;
}

.scroll-footprints {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 840;
  overflow: hidden;
}

.scroll-footprint {
  position: absolute;
  width: clamp(20px, 1.7vw, 28px);
  aspect-ratio: 1;
  background: url("images/footprint.svg") center / contain no-repeat;
  opacity: 0;
  filter: drop-shadow(0 4px 8px rgba(110, 126, 150, 0.18));
  transform: translate3d(-50%, -50%, 0) rotate(var(--print-rotate, 0deg)) scale(0.82);
  will-change: transform, opacity;
}

.scroll-footprint.is-visible {
  animation: footprint-trail 820ms cubic-bezier(0.2, 0.72, 0.26, 1) forwards;
}

@keyframes footprint-trail {
  0% {
    opacity: 0;
    transform: translate3d(-50%, -50%, 0) rotate(var(--print-rotate, 0deg)) scale(0.72);
  }
  30% {
    opacity: 0.78;
    transform: translate3d(-50%, -50%, 0) rotate(var(--print-rotate, 0deg)) scale(0.86);
  }
  100% {
    opacity: 0;
    transform: translate3d(-50%, calc(-50% + var(--print-shift-y, -42px)), 0)
      rotate(var(--print-rotate, 0deg)) scale(0.93);
  }
}

.scta-web {
  background:
    linear-gradient(135deg, rgba(227, 234, 245, 0.9), rgba(255, 255, 255, 0.82)),
    rgba(255, 255, 255, 0.35);
  color: var(--brand-deep);
}

.scta-line {
  background:
    linear-gradient(135deg, rgba(13, 207, 97, 0.12), rgba(9, 185, 83, 0.04)),
    rgba(255, 255, 255, 0.35);
  color: #09954a;
}

.scta-contact {
  background:
    linear-gradient(135deg, rgba(245, 223, 213, 0.44), rgba(248, 242, 234, 0.72)),
    rgba(255, 255, 255, 0.35);
  color: var(--brand-deep);
}

.scta-web:hover {
  background:
    linear-gradient(135deg, rgba(227, 234, 245, 1), rgba(255, 255, 255, 0.94)),
    rgba(255, 255, 255, 0.44);
}

.scta-contact:hover {
  background:
    linear-gradient(135deg, rgba(245, 223, 213, 0.62), rgba(248, 242, 234, 0.82)),
    rgba(255, 255, 255, 0.44);
}

.scta-line:hover {
  background:
    linear-gradient(135deg, rgba(13, 207, 97, 0.2), rgba(9, 185, 83, 0.08)),
    rgba(255, 255, 255, 0.44);
}

.hero {
  position: relative;
  padding: 7.25rem 0 4.8rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 1rem 0 auto auto;
  width: min(44vw, 34rem);
  height: min(44vw, 34rem);
  background: radial-gradient(circle, rgba(245, 223, 213, 0.65), transparent 68%);
  pointer-events: none;
}

.hero-grid {
  width: min(calc(var(--container) + var(--page-gutter) * 2), 100%);
  margin: 0 auto;
  padding-inline: var(--page-gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.88fr);
  gap: 2.2rem;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.28;
  letter-spacing: 0.05em;
  font-weight: 500;
  margin-top: 1rem;
}

.hero-title span {
  color: var(--brand);
}

.hero-text {
  max-width: 40rem;
  margin-top: 1.4rem;
  color: var(--ink-soft);
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-actions > .btn,
.hero-actions > .hcta {
  flex: 1 1 0;
  min-width: 160px;
}

.hero-note {
  margin-top: 1.35rem;
  color: var(--ink-faint);
  font-size: 0.82rem;
}

.hero-panel {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.7)),
    linear-gradient(145deg, rgba(220, 231, 242, 0.72), rgba(248, 242, 234, 0.64));
  border: 1px solid rgba(79, 106, 153, 0.18);
  box-shadow: var(--shadow-soft);
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto 1.4rem 1.4rem auto;
  width: 6rem;
  height: 6rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(220, 238, 228, 0.9), transparent 70%);
}

.hero-visual {
  display: grid;
  gap: 1rem;
}

.stat-card,
.feature-card,
.info-card,
.service-card,
.voice-card,
.plan-card,
.booking-card,
.contact-card,
.detail-card,
.company-card {
  position: relative;
  z-index: 4;
  border-radius: clamp(26px, 2.8vw, 42px);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(120, 145, 178, 0.14);
  box-shadow:
    0 14px 30px rgba(145, 165, 194, 0.1),
    0 2px 10px rgba(248, 236, 222, 0.32);
}

.stat-card {
  padding: 1.25rem;
  display: grid;
  gap: 0.4rem;
}

.stat-number {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 2.3rem;
  color: var(--brand-deep);
}

.stat-label {
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.hero-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.hero-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.dot {
  width: 0.65rem;
  height: 0.65rem;
  margin-top: 0.5rem;
  border-radius: 999px;
  background: var(--brand);
  flex-shrink: 0;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.quick-link {
  padding: 1.35rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(79, 106, 153, 0.16);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.quick-link:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 106, 153, 0.34);
}

.quick-link strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1rem;
  font-weight: 500;
}

.quick-link span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

body[data-page="home"] .hero {
  position: relative;
  z-index: 5;
  height: auto;
  min-height: 100svh;
  padding: 0;
  margin-top: calc(var(--header-offset) * -1);
  display: flex;
  flex-direction: column;
}

body[data-page="home"] .hero::before {
  display: none;
}

body[data-page="home"] .hero-upper {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(circle at 86% 22%, rgba(220, 231, 242, 0.45), transparent 18rem),
    radial-gradient(circle at 16% 78%, rgba(245, 223, 213, 0.25), transparent 20rem),
    #fff;
  position: relative;
  padding-top: 84px;
  overflow: hidden;
  min-height: clamp(690px, 94svh, 960px);
}

body[data-page="home"] .hero-watercolor {
  position: absolute;
  top: -20px;
  right: -60px;
  left: auto;
  transform: none;
  width: clamp(380px, 52vw, 780px);
  opacity: 0.9;
  z-index: 0;
  pointer-events: none;
}

body[data-page="home"] .hero-copyright {
  position: absolute;
  top: 112px;
  right: var(--page-gutter);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.54rem;
  letter-spacing: 0.28em;
  color: var(--ink-faint);
  text-transform: uppercase;
  pointer-events: none;
  z-index: 1;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

body[data-page="home"] .hero-catch-block {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.45rem;
  width: 100%;
  margin: 0;
  padding-inline: var(--page-gutter);
  padding-bottom: clamp(0.75rem, 2vh, 1.4rem);
  padding-top: 0;
  text-align: left;
}

body[data-page="home"] .fv-line {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: visible;
}

body[data-page="home"] .fv-line-1 {
  padding-left: 0;
}

body[data-page="home"] .fv-line-2 {
  padding-left: 0;
}

body[data-page="home"] .fv-line-3 {
  padding-left: 0;
}

body[data-page="home"] .fv-word {
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(2.15rem, 4.2vw, 3.45rem);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
  line-height: 1.12;
  white-space: nowrap;
}

.fv-en-sub {
  margin-top: 0.85rem;
  max-width: min(100%, 760px);
  font-size: clamp(0.84rem, 0.95vw, 1rem);
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  font-weight: 400;
  line-height: 1.85;
  text-align: left;
}

.fv-top-label {
  position: absolute;
  top: 112px;
  left: var(--page-gutter);
  z-index: 1;
  max-width: 170px;
  font-size: 0.72rem;
  color: var(--ink-faint);
  letter-spacing: 0.12em;
  line-height: 1.9;
  font-weight: 300;
}

.fv-mobile-line {
  display: inline;
}

body[data-page="home"] .fv-accent {
  color: var(--brand-deep);
}

body[data-page="home"] .hero-right-text {
  position: absolute;
  right: var(--page-gutter);
  bottom: 3.6rem;
  max-width: 240px;
  text-align: right;
  font-size: 0.7rem;
  color: var(--ink-faint);
  letter-spacing: 0.1em;
  line-height: 2.3;
  z-index: 1;
}

body[data-page="home"] .hero-scroll {
  position: absolute;
  left: var(--page-gutter);
  bottom: 2.8rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 1;
}

body[data-page="home"] .hero-scroll-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #aaa;
  transition: border-color 0.2s, color 0.2s;
  animation: scroll-bob 2.4s ease-in-out infinite;
}

body[data-page="home"] .hero-scroll:hover .hero-scroll-circle {
  border-color: var(--ink);
  color: var(--ink);
}

body[data-page="home"] .hero-lower {
  height: clamp(148px, 18vh, 230px);
  min-height: 148px;
  background: var(--brand-deep);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  z-index: 7;
  box-shadow:
    0 18px 34px rgba(38, 50, 71, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

body[data-page="home"] .hero-lower::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0)),
    radial-gradient(ellipse 560px 260px at 15% 50%, rgba(255,255,255,.08), transparent),
    radial-gradient(ellipse 420px 220px at 80% 40%, rgba(255,255,255,.05), transparent);
  pointer-events: none;
}

body[data-page="home"] .hero-lower::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -48%;
  width: 78vh;
  height: 78vh;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.08);
  pointer-events: none;
}

body[data-page="home"] .sc-grid {
  width: 100%;
  max-width: calc(var(--container) + var(--page-gutter) * 2);
  margin: 0 auto;
  padding-inline: var(--page-gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  z-index: 1;
}

body[data-page="home"] .sc-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1.75rem;
  color: rgba(255,255,255,.82);
  border-right: 1px solid rgba(255,255,255,.13);
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

body[data-page="home"] .sc-item:last-child {
  border-right: none;
}

body[data-page="home"] .sc-item:hover {
  background: rgba(255,255,255,.08);
  transform: translateY(-2px);
}

body[data-page="home"] .sc-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.18rem;
  flex-shrink: 0;
}

body[data-page="home"] .sc-icon .heroicon {
  width: 1.45rem;
  height: 1.45rem;
  display: block;
  background-color: rgba(255, 255, 255, 0.96);
  -webkit-mask-image: var(--heroicon-url);
  mask-image: var(--heroicon-url);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

body[data-page="home"] .sc-label {
  font-size: 0.92rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.35;
  display: block;
}

body[data-page="home"] .sc-sub {
  margin-top: 0.18rem;
  font-size: 0.68rem;
  color: rgba(255,255,255,.6);
  letter-spacing: 0.08em;
}

body[data-page="home"] .hero + .section.section-overlap {
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding-top: var(--section-padding-desktop);
  border-radius: 0;
  --surface-bg: linear-gradient(180deg, #edf3fa 0%, #e6eef9 100%);
  box-shadow: none;
  animation: none;
}

body[data-page="home"] .hero + .section.section-overlap::before {
  display: none;
}

@keyframes scroll-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
  gap: clamp(2.4rem, 4.2vw, 4rem);
  align-items: start;
}

.feature-grid,
.info-grid,
.voices-grid,
.pricing-grid,
.contact-grid {
  display: grid;
  gap: var(--rhythm-grid-gap);
}

.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.voices-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.info-card,
.voice-card,
.contact-card,
.detail-card {
  padding: var(--rhythm-card-pad);
}

.info-card {
  display: flex;
  flex-direction: column;
}

/* info-card 内の最終要素は下寄せ。.btn/.hcta は内側 padding を壊さないよう margin で間隔をとる */
.info-card > .btn,
.info-card > .hcta {
  margin-top: auto;
}

.info-card > .hero-actions {
  margin-top: auto;
  padding-top: 1.05rem;
}

.feature-card h3,
.info-card h3,
.voice-card h3,
.contact-card h3,
.detail-card h3,
.service-card h3,
.plan-card h3,
.booking-card h3 {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.08rem;
  font-weight: 500;
  margin-bottom: 0.7rem;
}

.icon-chip {
  width: 3.4rem;
  height: 3.4rem;
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(220, 231, 242, 0.9), rgba(248, 242, 234, 0.9));
  font-size: 1.32rem;
  color: #4f6a99;
  line-height: 1;
}

.icon-chip .heroicon {
  width: 1.45rem;
  height: 1.45rem;
  display: block;
  background-color: #4f6a99;
  -webkit-mask-image: var(--heroicon-url);
  mask-image: var(--heroicon-url);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.sns-logo-chip {
  background: linear-gradient(135deg, rgba(227, 234, 245, 0.92), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(79, 106, 153, 0.2);
}

.sns-logo-icon {
  width: 1.78rem;
  height: 1.78rem;
  display: grid;
  place-items: center;
  color: var(--brand-deep);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.58rem;
  font-weight: 500;
  line-height: 1;
}

.sns-logo-icon:not(.is-s) {
  display: block;
  background-image: var(--sns-icon);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.sns-logo-icon.is-line {
  background-size: 88%;
}

.sns-logo-icon.is-facebook {
  background-size: 90%;
}

.sns-logo-icon.is-instagram {
  background-size: 92%;
}

.sns-logo-icon.is-s {
  text-transform: lowercase;
  transform: none;
  width: 1.84rem;
  height: 1.84rem;
  border-radius: 999px;
  border: 1.6px solid currentColor;
  background: rgba(79, 106, 153, 0.08);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1;
}

.panel-stack {
  display: grid;
  gap: 1rem;
}

.company-grid {
  max-width: 760px;
  margin: 0 auto;
  grid-template-columns: 1fr;
}

.company-card {
  padding: 2rem;
}

.company-card .icon-chip {
  margin-left: auto;
  margin-right: auto;
}

.company-info-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.company-info-row {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: rgba(248, 242, 234, 0.72);
  border: 1px solid rgba(79, 106, 153, 0.1);
}

.company-info-row dt {
  color: var(--ink-faint);
  font-size: 0.82rem;
  font-weight: 500;
}

.company-info-row dd {
  color: var(--ink);
  font-size: 0.94rem;
}

.people-stack {
  max-width: 760px;
  margin: 0 auto;
}

.profile-placeholder {
  width: min(100%, 180px);
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(215, 219, 224, 0.95), rgba(192, 198, 205, 0.95));
  color: rgba(54, 66, 79, 0.62);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}

.people-section {
  --surface-bg:
    radial-gradient(circle at top left, rgba(220, 238, 228, 0.42), transparent 26rem),
    linear-gradient(180deg, rgba(255, 253, 250, 0.96), rgba(248, 242, 234, 0.88));
  --surface-wave-bg: #fffdf9;
  background: var(--surface-bg);
}

.people-list {
  display: grid;
  gap: 3.4rem;
}

.news-placeholder {
  max-width: 840px;
  margin: 0 auto;
  padding: clamp(2.4rem, 3.4vw, 3rem);
  border-radius: clamp(30px, 3vw, 44px);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(120, 145, 178, 0.16);
  box-shadow:
    0 20px 38px rgba(145, 165, 194, 0.13),
    0 4px 16px rgba(248, 236, 222, 0.4);
  text-align: center;
}

.news-placeholder .icon-chip {
  margin-left: auto;
  margin-right: auto;
}

.person-profile {
  display: grid;
  gap: 1.9rem;
  padding: 0 0 3rem;
  border-bottom: 1px dashed rgba(79, 106, 153, 0.28);
}

.person-profile:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.person-main {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: clamp(1.4rem, 3vw, 3rem);
  align-items: start;
}

.profile-photo {
  width: 100%;
  max-width: none;
  aspect-ratio: 4 / 5;
  margin: 0;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(219, 223, 228, 0.96), rgba(193, 199, 206, 0.96)),
    rgba(255, 255, 255, 0.9);
}

.person-copy {
  display: grid;
  gap: 0.65rem;
  align-content: start;
}

.person-role {
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.person-name {
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 500;
  line-height: 1.35;
}

.person-name-en {
  display: inline-block;
  margin-left: 0.45rem;
  color: var(--ink-faint);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.person-statement {
  margin-top: 0.45rem;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(1.02rem, 1.8vw, 1.28rem);
  line-height: 1.8;
  color: var(--brand-deep);
}

.person-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-left: 0;
  margin-top: 0;
}

.person-detail-card {
  padding: 1rem 1.1rem;
  border-radius: 8px;
  background: rgba(241, 241, 232, 0.72);
  border: 1px solid rgba(213, 213, 198, 0.8);
}

.person-detail-card h4 {
  margin-bottom: 0.55rem;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
}

.person-intro-body {
  display: grid;
  gap: 0.72rem;
  position: relative;
}

.person-intro-card.is-collapsed .person-intro-body p:nth-of-type(n + 5) {
  display: none;
}

.person-intro-card.is-collapsed .person-intro-body::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3.4rem;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(241, 241, 232, 0) 0%,
    rgba(241, 241, 232, 0.7) 55%,
    rgba(241, 241, 232, 0.95) 100%
  );
}

.person-intro-toggle {
  margin-top: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 38px;
  padding: 0 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(79, 106, 153, 0.26);
  background: rgba(255, 255, 255, 0.84);
  color: var(--brand-deep);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.person-intro-toggle::after {
  content: "▾";
  line-height: 1;
  font-size: 0.72rem;
}

.person-intro-card.is-expanded .person-intro-toggle::after {
  content: "▴";
}

.person-meta-list {
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.person-meta-list li {
  position: relative;
  padding-left: 0.95rem;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.75;
}

.person-meta-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 999px;
  background: rgba(240, 159, 95, 0.9);
}

.service-list {
  display: grid;
  gap: 1.2rem;
}

.service-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.72fr);
  overflow: hidden;
}

.service-body {
  padding: 2rem;
}

.service-side {
  padding: 2rem;
  background:
    linear-gradient(180deg, rgba(220, 231, 242, 0.56), rgba(248, 242, 234, 0.92));
  border-left: 1px solid rgba(79, 106, 153, 0.14);
  display: grid;
  align-content: space-between;
  gap: 1rem;
}

.service-num {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 2.8rem;
  color: rgba(79, 106, 153, 0.34);
  line-height: 1;
}

.bullet-list {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.bullet-list li {
  position: relative;
  padding-left: 1rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78rem;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: var(--brand);
}

.price {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 2rem;
  color: var(--brand-deep);
}

.subtle {
  color: var(--ink-faint);
  font-size: 0.82rem;
}

body[data-page="services"] .service-body {
  display: grid;
  align-content: start;
  gap: 0.9rem;
}

body[data-page="services"] .service-side {
  gap: 1.2rem;
}

body[data-page="services"] .service-side > div {
  display: grid;
  gap: 0.45rem;
}

body[data-page="services"] .service-body .card-copy,
body[data-page="services"] .service-body .bullet-list li,
body[data-page="services"] .service-side .subtle {
  color: var(--ink-soft);
}

body[data-page="services"] .service-side .price {
  color: var(--ink);
  line-height: 1.2;
}

body[data-page="services"] .service-side .btn {
  width: 100%;
  justify-content: center;
}

.service-visual-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.45rem;
  margin-top: 0.55rem;
}

.service-visual-card {
  position: relative;
  display: block;
  padding: 0.6rem;
  border: none;
  border-radius: 22px;
  overflow: hidden;
  text-align: left;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-visual-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

.service-visual-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(54, 66, 79, 0.18);
}

.service-visual-card:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.service-visual-label {
  position: absolute;
  left: 0.6rem;
  right: 0.6rem;
  bottom: 0.6rem;
  padding: 1rem 1rem 0.9rem;
  border-radius: 0 0 16px 16px;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.4;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.64));
}

html.modal-open,
body.modal-open {
  overflow: hidden;
  overscroll-behavior: contain;
  touch-action: none;
}

.service-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.service-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.service-modal-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(25, 34, 46, 0.6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.service-modal-panel {
  position: relative;
  z-index: 1;
  width: min(840px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 26px 56px rgba(25, 34, 46, 0.28);
}

.service-modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 2.2rem;
  height: 2.2rem;
  border: none;
  border-radius: 999px;
  background: rgba(54, 66, 79, 0.12);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.service-modal-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.service-modal-copy {
  padding: 1.7rem 1.8rem 1.9rem;
  display: grid;
  gap: 0.85rem;
}

.service-modal-title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(1.22rem, 2.5vw, 1.58rem);
  font-weight: 500;
  line-height: 1.45;
}

.service-modal-actions {
  margin-top: 0.6rem;
}

.service-modal-consent {
  margin-top: 0.9rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(220, 231, 242, 0.32);
  border: 1px dashed rgba(79, 106, 153, 0.28);
  display: grid;
  gap: 0.45rem;
}

.service-modal-consent[hidden] {
  display: none;
}

.service-modal-consent-label {
  font-size: 0.78rem;
  color: var(--brand-deep);
  margin: 0;
  letter-spacing: 0.04em;
}

.service-modal-consent .btn[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.55;
  cursor: default;
}

/* ============================
   予約準備中 ノーティス
   web-booking.html / flow.html に表示
   背景や枠は付けず、ページに馴染ませる
============================ */
.booking-prep-notice {
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
  display: grid;
  gap: 1rem;
  justify-items: center;
}

.booking-prep-notice-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  color: var(--brand-deep);
  text-transform: uppercase;
  margin: 0 0 0.3rem;
}

.booking-prep-notice-title {
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: var(--ink);
  letter-spacing: 0.04em;
  margin: 0;
  line-height: 1.55;
  font-weight: 500;
}

.booking-prep-notice-lede {
  font-size: clamp(0.92rem, 2.4vw, 1rem);
  color: var(--ink-soft);
  line-height: 1.95;
  margin: 0;
}

.booking-prep-notice-lede strong {
  color: var(--brand-deep);
  font-weight: 500;
}

.booking-prep-notice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin-top: 0.6rem;
}

.booking-prep-notice-actions > .btn {
  min-width: 200px;
}

@media (max-width: 560px) {
  .booking-prep-notice-actions {
    flex-direction: column;
    width: 100%;
  }
  .booking-prep-notice-actions > .btn {
    width: 100%;
    min-width: 0;
  }
}

.service-rate-board {
  display: grid;
  gap: 2.4rem;
}

.service-rate-category {
  display: grid;
  gap: 1.15rem;
}

.service-rate-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.service-rate-num {
  color: rgba(79, 106, 153, 0.86);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

.service-rate-head h3 {
  margin: 0;
  font-size: clamp(1.18rem, 2.1vw, 1.56rem);
  font-weight: 500;
  color: var(--brand-deep);
}

.service-rate-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(79, 106, 153, 0.26), transparent);
}

.service-rate-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.service-rate-card {
  border-radius: 18px;
  border: 1px solid rgba(79, 106, 153, 0.14);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  padding: 1.3rem 1.25rem;
  display: grid;
  gap: 0.52rem;
}

.service-rate-card.is-wide {
  grid-column: 1 / -1;
}

.service-rate-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.24rem 0.62rem;
  border-radius: 999px;
  background: rgba(79, 106, 153, 0.13);
  color: var(--brand-deep);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.service-rate-tag.is-pink {
  background: rgba(240, 159, 95, 0.16);
  color: #b76522;
}

.service-rate-card h4 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
}

.service-rate-place {
  margin: 0;
  color: var(--ink-faint);
  font-size: 0.78rem;
}

.service-rate-desc {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.75;
}

.service-rate-prices {
  margin-top: 0.18rem;
  padding-top: 0.62rem;
  border-top: 1px dashed rgba(79, 106, 153, 0.24);
  display: grid;
  gap: 0.2rem;
}

.service-rate-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.7rem;
}

.service-rate-row span {
  color: var(--ink-faint);
  font-size: 0.8rem;
}

.service-rate-row strong {
  color: var(--brand-deep);
  font-size: 1.02rem;
  font-weight: 500;
  white-space: nowrap;
}

.service-rate-row.is-main strong {
  font-size: 1.2rem;
}

.service-rate-note {
  margin: 0.15rem 0 0;
  color: var(--ink-faint);
  font-size: 0.74rem;
  line-height: 1.6;
}

.page-header {
  position: relative;
  isolation: isolate;
  --header-wave-svg: var(--wave-beige-svg);
  --header-wave-shift: 0px;
  --surface-bg:
    radial-gradient(circle at top right, rgba(220, 231, 242, 0.7), transparent 24rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 242, 234, 0.88));
  padding: 9.1rem 0 5.5rem;
  background: var(--surface-bg);
  overflow: visible;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 36% 48% at 10% 18%, rgba(220, 238, 228, 0.38), transparent 66%),
    radial-gradient(ellipse 30% 40% at 86% 14%, rgba(244, 227, 205, 0.34), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.page-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: clamp(2.8rem, 5.8vw, 4.2rem);
  transform: translateY(calc(100% - 1px + var(--header-wave-shift, 0px)));
  background: linear-gradient(180deg, rgba(248, 242, 234, 0.48) 0%, rgba(248, 242, 234, 0.12) 56%, rgba(248, 242, 234, 0) 100%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.58;
  filter: none;
  will-change: transform;
}

.page-header-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.75fr);
  gap: clamp(2.4rem, 4vw, 3.4rem);
  align-items: end;
  padding-inline: 0;
}

.page-header-grid-single {
  grid-template-columns: 1fr;
}

.page-header-copy {
  display: grid;
  gap: 1rem;
}

.page-header-note {
  position: relative;
  z-index: 4;
  display: grid;
  justify-items: center;
  gap: 1.25rem;
  padding: 1.9rem 1.7rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(79, 106, 153, 0.18);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.about-logo {
  width: min(100%, 320px);
}

.about-logo-mark {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 30px rgba(79, 106, 153, 0.12));
}

.flow-list {
  display: grid;
  gap: 1rem;
}

.flow-step {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 1.2rem;
  padding: 1.5rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(79, 106, 153, 0.16);
  box-shadow: var(--shadow-soft);
}

.flow-step-num {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  background: linear-gradient(135deg, #4f6a99, #4f6a99);
  color: var(--white);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.8rem;
  display: grid;
  place-items: center;
}

.voice-card blockquote {
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.95rem;
  line-height: 1.95;
}

.voice-meta {
  margin-top: 1rem;
  color: var(--ink-faint);
  font-size: 0.8rem;
}

.contact-card a {
  color: var(--brand-deep);
  font-weight: 500;
}

.form-shell {
  display: grid;
  gap: 1.8rem;
}

/* お問い合わせフォームはPCで横長すぎないよう中央寄せ＋上限幅 */
body[data-page="contact"] .form-shell {
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
}

/* お問い合わせページのセクション縦余白を圧縮（フォームを早く見せる） */
body[data-page="contact"] .page-main > .section {
  padding-top: clamp(2.4rem, 6vw, 4rem);
  padding-bottom: clamp(2.4rem, 6vw, 4rem);
}

body[data-page="contact"] .page-header {
  padding-bottom: clamp(1.4rem, 3vw, 2.4rem);
}

/* ローディングスピナー（送信ボタン内） */
.btn-spinner {
  display: inline-block;
  width: 1.05em;
  height: 1.05em;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: btn-spin 0.8s linear infinite;
}

.btn.is-loading {
  pointer-events: none;
  opacity: 0.92;
}

@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

/* フォーム送信中の全画面オーバーレイ */
.form-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: center;
  background: rgba(20, 26, 33, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.form-loading-overlay.is-visible {
  opacity: 1;
}

.form-loading-card {
  background: var(--white);
  padding: 1.6rem 2.2rem;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  min-width: 200px;
}

.form-loading-spinner {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 3px solid rgba(79, 106, 153, 0.18);
  border-top-color: var(--brand-deep);
  animation: btn-spin 0.9s linear infinite;
}

.form-loading-text {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink);
  letter-spacing: 0.04em;
}

/* Thanks ページ */
.thanks-card {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  display: grid;
  gap: 1rem;
  justify-items: center;
  padding: 2rem 0;
}

.thanks-check {
  color: #1f9f6b;
  display: grid;
  place-items: center;
  margin-bottom: 0.4rem;
}

.thanks-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  color: var(--brand-deep);
  text-transform: uppercase;
  margin: 0;
}

.thanks-title {
  font-size: clamp(1.5rem, 4.5vw, 2.2rem);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.55;
  margin: 0;
}

.thanks-lede {
  font-size: clamp(0.92rem, 2.4vw, 1rem);
  color: var(--ink-soft);
  line-height: 1.95;
  margin: 0;
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin-top: 0.6rem;
}

.thanks-actions > .btn {
  min-width: 200px;
}

@media (max-width: 560px) {
  .thanks-actions {
    flex-direction: column;
    width: 100%;
  }
  .thanks-actions > .btn {
    width: 100%;
    min-width: 0;
  }
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.field-grid-single {
  grid-template-columns: 1fr;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.field label.required,
.field label.conditional {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.field label.required::after,
.field label.conditional::after {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.3rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  font-size: 0.68rem;
  line-height: 1;
  letter-spacing: 0.04em;
}

.field label.required::after {
  content: "必須";
  background: rgba(214, 79, 79, 0.12);
  color: #b44747;
}

.field label.conditional::after {
  content: "カード選択時必須";
  background: rgba(79, 106, 153, 0.12);
  color: var(--brand-deep);
}

.required-note {
  color: var(--ink-faint);
  font-size: 0.78rem;
  margin-top: -0.9rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(79, 106, 153, 0.22);
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
}

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

.field-has-tip {
  position: relative;
  overflow: visible;
}

.field-tip {
  display: none;
  position: absolute;
  top: 50%;
  left: calc(100% + 1rem);
  transform: translateY(-50%);
  width: min(280px, 32vw);
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(79, 106, 153, 0.18);
  box-shadow: 0 10px 24px rgba(79, 106, 153, 0.1);
  color: var(--ink-faint);
  font-size: 0.76rem;
  line-height: 1.75;
  z-index: 10;
}

.field-tip::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translateY(-50%);
  border-width: 8px;
  border-style: solid;
  border-color: transparent rgba(79, 106, 153, 0.18) transparent transparent;
}

.field-tip::after {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(100% - 1px);
  transform: translateY(-50%);
  border-width: 7px;
  border-style: solid;
  border-color: transparent rgba(255, 255, 255, 0.94) transparent transparent;
}

.field-has-tip:focus-within .field-tip {
  display: block;
}

.help {
  color: var(--ink-faint);
  font-size: 0.78rem;
}

.line-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.8fr);
  gap: 1.5rem;
}

.booking-layout {
  display: grid;
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.booking-catalog-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.widget-panel {
  display: grid;
  gap: 1rem;
}

.square-widget-shell {
  width: 100%;
  min-height: 380px;
  padding: 0.95rem;
  border-radius: 18px;
  border: 1px solid rgba(79, 106, 153, 0.16);
  background: rgba(255, 255, 255, 0.94);
}

.square-widget-shell.is-placeholder {
  min-height: 180px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.72);
  border-style: dashed;
}

.step-stack {
  display: grid;
  gap: 1rem;
}

.step-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(79, 106, 153, 0.16);
  box-shadow: var(--shadow-soft);
}

.step-inline-note {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(227, 234, 245, 0.42);
  border: 1px solid rgba(79, 106, 153, 0.12);
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.45rem;
}

.booking-card {
  padding: var(--rhythm-card-pad);
}

.booking-card h3 + p,
.detail-card h3 + p {
  margin-bottom: 1rem;
}

.booking-link-list,
.document-link-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.booking-link-list li {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(79, 106, 153, 0.14);
  background: rgba(255, 255, 255, 0.68);
}

.booking-link-list .btn {
  margin-top: 0.55rem;
}

.document-link-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--brand-deep);
  text-decoration: none;
  font-size: 0.92rem;
}

.document-link-list a::after {
  content: "↗";
  font-size: 0.82rem;
  color: var(--ink-faint);
}

.document-link-list a:hover {
  text-decoration: underline;
}

.document-link-list a.is-disabled-link {
  opacity: 0.56;
  pointer-events: none;
}

.booking-guide-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-choice-grid,
.slot-grid,
.payment-grid {
  display: grid;
  gap: 0.8rem;
}

.calendar-shell {
  padding: 1.2rem;
  border-radius: 22px;
  background: rgba(220, 231, 242, 0.22);
  border: 1px solid rgba(79, 106, 153, 0.16);
}

.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.calendar-nav {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(79, 106, 153, 0.18);
  color: var(--brand-deep);
  font-size: 1.2rem;
  line-height: 1;
}

.calendar-nav:disabled {
  opacity: 0.45;
  cursor: default;
}

.calendar-month {
  color: var(--ink);
  font-size: 1rem;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.45rem;
}

.calendar-weekdays {
  margin-bottom: 0.45rem;
}

.calendar-weekdays span {
  text-align: center;
  font-size: 0.78rem;
  color: var(--ink-faint);
  padding: 0.4rem 0;
}

.calendar-day {
  min-height: 78px;
  padding: 0.7rem 0.55rem;
  border-radius: 18px;
  border: 1px solid rgba(79, 106, 153, 0.16);
  background: rgba(255, 255, 255, 0.88);
  text-align: center;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.3rem;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.calendar-day:hover:not(:disabled) {
  transform: translateY(-2px);
}

.calendar-day:disabled {
  opacity: 0.72;
  cursor: default;
}

.calendar-day.is-empty {
  background: transparent;
  border-color: transparent;
  min-height: 78px;
}

.calendar-day.is-today {
  border-color: rgba(79, 106, 153, 0.35);
}

.calendar-day.is-active {
  border-color: rgba(79, 106, 153, 0.68);
  background: rgba(220, 231, 242, 0.55);
  box-shadow: 0 12px 26px rgba(79, 106, 153, 0.14);
}

.calendar-day-num {
  font-size: 0.95rem;
  line-height: 1;
  color: var(--ink);
}

.calendar-day-note {
  font-size: 1rem;
  line-height: 1;
  font-weight: 600;
  white-space: nowrap;
  color: var(--ink-faint);
}

.calendar-day.is-open .calendar-day-note {
  color: var(--brand-deep);
}

.calendar-day.is-busy .calendar-day-note {
  color: #c18a2d;
}

.calendar-day.is-closed .calendar-day-note {
  color: rgba(92, 104, 116, 0.9);
}

.calendar-day.is-closed:disabled {
  opacity: 0.78;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.25rem;
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(79, 106, 153, 0.12);
}

.calendar-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
  white-space: nowrap;
}

.calendar-legend-mark {
  font-size: 1rem;
  line-height: 1;
  font-weight: 600;
}

.calendar-legend-mark.is-open {
  color: var(--brand-deep);
}

.calendar-legend-mark.is-busy {
  color: #c18a2d;
}

.calendar-legend-mark.is-closed {
  color: rgba(92, 104, 116, 0.9);
}

.calendar-selection {
  margin-top: 1rem;
  display: grid;
  gap: 0.9rem;
}

.calendar-selection-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  flex-wrap: wrap;
}

.service-choice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-card,
.slot-card,
.payment-card {
  width: 100%;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(79, 106, 153, 0.22);
  background: rgba(255, 255, 255, 0.9);
  text-align: left;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.choice-card:hover,
.slot-card:hover,
.payment-card:hover {
  transform: translateY(-2px);
}

.choice-card.is-active,
.slot-card.is-active,
.payment-card.is-active {
  border-color: rgba(79, 106, 153, 0.65);
  box-shadow: 0 10px 28px rgba(79, 106, 153, 0.14);
  background: rgba(220, 231, 242, 0.44);
}

.choice-price {
  margin-top: 0.5rem;
  color: var(--brand-deep);
  font-size: 0.88rem;
  font-weight: 600;
}

.slot-card strong {
  display: block;
  margin-bottom: 0.3rem;
}

.slot-card span {
  color: var(--ink-faint);
  font-size: 0.8rem;
}

.slot-card:disabled {
  opacity: 0.45;
  cursor: default;
}

.payment-card {
  display: grid;
  gap: 0.35rem;
}

.payment-card strong {
  font-size: 0.92rem;
}

.booking-summary {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
  padding: 1.15rem;
  border-radius: 18px;
  background: rgba(220, 231, 242, 0.3);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
}

.summary-row strong {
  color: var(--brand-deep);
}

.summary-total {
  padding-top: 0.9rem;
  border-top: 1px solid rgba(79, 106, 153, 0.18);
}

.booking-panel {
  display: grid;
  gap: 1.2rem;
}

.booking-status {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  font-size: 0.88rem;
  background: rgba(220, 238, 228, 0.62);
  color: #1f6c40;
  display: none;
}

.booking-status.is-visible {
  display: block;
}

.booking-status.is-warn {
  background: rgba(255, 244, 222, 0.9);
  color: #8a6200;
}

.booking-status.is-error {
  background: rgba(255, 229, 229, 0.92);
  color: #8e1f1f;
}

[data-member-action-area] {
  display: grid;
  gap: 0.65rem;
}

[data-member-action-area] .btn {
  width: fit-content;
}

.member-check-modal .service-modal-panel {
  width: min(560px, calc(100vw - 2rem));
}

.member-check-modal .service-modal-copy {
  gap: 0.75rem;
}

.form-status {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  font-size: 0.88rem;
  background: rgba(220, 231, 242, 0.32);
  color: var(--brand-deep);
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  background: rgba(220, 238, 228, 0.62);
  color: #1f6c40;
}

.mini-notes {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.mini-note {
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(79, 106, 153, 0.12);
}

.mini-note h3 {
  margin-bottom: 0.45rem;
  font-size: 0.84rem;
  color: var(--ink);
}

.mini-note p {
  color: var(--ink-faint);
  font-size: 0.74rem;
  line-height: 1.8;
}

.payment-fields {
  display: grid;
  gap: 1rem;
}

.booking-complete {
  display: none;
  padding: 1.4rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(220, 238, 228, 0.72), rgba(255, 255, 255, 0.85));
}

.booking-complete.is-visible {
  display: grid;
  gap: 0.7rem;
}

.muted-list {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.muted-list li {
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.site-footer {
  --surface-bg: #394653;
  --surface-wave-bg: #394653;
  background-color: #394653;
  background-image: radial-gradient(circle at left bottom, rgba(220, 238, 228, 0.16), transparent 18rem);
  background-repeat: no-repeat;
  color: rgba(255, 255, 255, 0.72);
  padding: 3rem 0 2rem;
  margin-top: 0;
}

.site-footer::before {
  content: "";
  display: block;
}

.footer-inner {
  width: min(calc(var(--container) + var(--page-gutter) * 2), 100%);
  margin: 0 auto;
  padding-inline: var(--page-gutter);
}

.footer-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 2rem;
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-cta-brand {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: start;
}

.footer-brand-image {
  width: 100%;
  height: auto;
  display: block;
}

.footer-cta-copy {
  display: grid;
  gap: 0.9rem;
}

.footer-kicker {
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-cta-title {
  color: var(--white);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 500;
  line-height: 1.45;
}

.footer-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.footer-tag-row span {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.76rem;
}

.footer-cta-meta {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.footer-meta-card {
  padding: 0;
  background: transparent;
  border: 0;
}

.footer-meta-label {
  display: block;
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-meta-card p,
.footer-meta-card a {
  color: var(--white);
  font-size: 0.9rem;
  line-height: 1.75;
}

.footer-cta-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 0.4rem;
}

.footer-cta-actions > .btn,
.footer-cta-actions > .hcta {
  width: 100%;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo .logo-ja {
  color: var(--white);
}

.footer-logo .logo-en {
  color: rgba(255, 255, 255, 0.5);
}

.footer-logo .logo-mark {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.footer-copy-block {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.84rem;
}

.footer-contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 0.25rem;
  max-width: 520px;
}

.footer-contact-actions > .btn {
  width: 100%;
}

.footer-contact-actions > .footer-cta-btn {
  min-height: 54px;
  padding: 0 1.2rem;
  justify-content: space-between;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.footer-contact-actions > .footer-cta-btn .external-icon {
  margin-left: auto;
  width: 16px;
  height: 16px;
}

.footer-contact-actions > .btn-line.footer-cta-btn .external-icon {
  padding: 0.22rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.footer-contact-actions > .btn-ghost.footer-cta-btn .external-icon {
  padding: 0.22rem;
  border-radius: 999px;
  background: rgba(79, 106, 153, 0.14);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.footer-nav h4 {
  color: var(--white);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.footer-nav ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
}

.footer-legal {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.6rem;
  padding: 1.4rem 0 0;
  margin-top: 1.2rem;
  font-size: 0.78rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.28);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.footer-legal a:hover {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.7);
}

.footer-legal a[aria-disabled="true"],
.footer-legal a.is-disabled {
  color: rgba(255, 255, 255, 0.38);
  pointer-events: none;
  text-decoration-color: transparent;
  cursor: default;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.4rem;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.54);
}

.fade-up,
.fade-left,
.fade-right {
  opacity: 0;
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up {
  transform: translateY(24px);
}

.fade-left {
  transform: translateX(-24px);
}

.fade-right {
  transform: translateX(24px);
}

.fade-up.vis,
.fade-left.vis,
.fade-right.vis {
  opacity: 1;
  transform: none;
}

body,
button,
input,
select,
textarea,
.eyebrow,
.header-nav a,
.btn,
.hcta,
.tag,
.field label,
.section-title,
.feature-card h3,
.info-card h3,
.voice-card h3,
.contact-card h3,
.detail-card h3,
.service-card h3,
.plan-card h3,
.booking-card h3,
.footer-nav h4,
.stat-number,
.service-num,
.price,
.flow-step-num,
.step-num,
.sc-label,
.sc-sub,
.choice-price,
.summary-row strong,
.hero-title,
.fv-word,
.hero-copyright,
.voice-card blockquote {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
}

@media (max-width: 1180px) {
  .header-nav {
    gap: 1rem;
  }

  .service-choice-grid {
    grid-template-columns: 1fr;
  }

  .service-visual-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .header-nav,
  .header-cta-group {
    display: none;
  }

  .header-nav-zone {
    margin-top: 20px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    max-width: none;
  }

  .hamburger {
    display: flex;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .split-grid,
  .line-layout,
  .booking-layout,
  .page-header-grid,
  .service-card,
  .person-main {
    grid-template-columns: 1fr;
  }

  .person-details {
    grid-template-columns: 1fr;
    margin-left: 0;
  }

  .service-side {
    border-left: 0;
    border-top: 1px solid rgba(79, 106, 153, 0.14);
  }

  .quick-links,
  .info-grid,
  .voices-grid,
  .contact-grid,
  .pricing-grid,
  .feature-grid,
  .mini-notes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="home"] .hero {
    min-height: 580px;
  }

  .service-visual-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
  }

  .service-modal-copy {
    padding: 1.3rem 1.2rem 1.45rem;
  }

  .service-rate-card {
    padding: 1.1rem 1rem;
  }
}

@media (max-width: 860px) {
  .story-decor-layer .story-decor:nth-child(n + 10) {
    display: none;
  }

  .story-decor img {
    opacity: calc(var(--decor-opacity, 0.78) * 0.78);
  }

  .header-nav,
  .header-cta-group {
    display: none;
  }

  .site-header {
    padding-right: var(--page-gutter-mobile);
  }

  .header-logo-zone {
    height: 90px;
    padding: 12px 18px;
    border-radius: 0 0 20px 0;
    box-shadow: 0 6px 20px rgba(79, 106, 153, 0.12);
  }

  .site-logo-mark {
    width: 1.68rem;
    height: 1.68rem;
  }

  .site-logo-mark svg {
    width: 1.16rem;
    height: 1.16rem;
  }

  .site-logo-text {
    font-size: 1.02rem;
    letter-spacing: 0.04em;
  }

  .header-nav-zone {
    margin-top: 12px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    max-width: none;
  }

  .hamburger {
    display: flex;
  }

  .page-main {
    padding-top: var(--header-offset-mobile);
    padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px));
  }

  /* ---- Mobile bottom booking bar ---- */
  .side-cta {
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .side-cta.is-hidden {
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
  }

  .side-cta-shell {
    flex-direction: row;
    gap: 0;
    border-radius: 0;
    background: rgba(255, 252, 249, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(79, 106, 153, 0.14);
    box-shadow: 0 -6px 24px rgba(54, 66, 79, 0.1);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .side-cta-shell::before {
    display: none;
  }

  .side-cta-main {
    flex: 1;
    min-width: 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: transparent;
  }

  .side-cta-close {
    display: none;
  }

  .side-cta-btn {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    padding: 0.65rem 0.4rem;
    font-size: 0.74rem;
    font-weight: 500;
    min-height: 62px;
    letter-spacing: 0.04em;
  }

  .side-cta-btn + .side-cta-btn {
    border-left: 1px solid rgba(79, 106, 153, 0.1);
  }

  .scta-line {
    background: rgba(9, 185, 83, 0.07);
    color: #09954a;
  }

  .scta-web {
    background: rgba(79, 106, 153, 0.07);
    color: var(--brand-deep);
  }

  .scta-contact {
    background: rgba(245, 223, 213, 0.24);
    color: var(--brand-deep);
  }

  .side-cta-arrow {
    display: none;
  }

  .page-top {
    right: 0.8rem;
    bottom: calc(74px + env(safe-area-inset-bottom, 0px));
    padding: 0.62rem 0.7rem 0.7rem;
    border-radius: 18px;
  }

  .page-top-mark svg,
  .page-top-mark img {
    width: 30px;
    height: 30px;
  }

  .page-top-label {
    font-size: 0.62rem;
  }

  .scroll-footprint {
    width: clamp(18px, 5vw, 24px);
  }

  .hero {
    padding-top: 6.5rem;
  }

  body[data-page="home"] .hero {
    height: auto;
    min-height: 100svh;
    padding-top: 0;
    margin-top: calc(var(--header-offset-mobile) * -1);
  }

  body[data-page="home"] .hero-upper {
    padding-top: 64px;
    min-height: clamp(460px, calc(100svh - 160px), 680px);
  }

  body[data-page="home"] .hero-copyright {
    display: none;
  }

  body[data-page="home"] .hero-catch-block {
    width: 100%;
    padding: 1rem var(--page-gutter-mobile) 0.8rem;
    justify-content: flex-start;
    align-items: flex-start;
    height: auto;
    min-height: auto;
    gap: 0.6rem;
  }

  .fv-top-label {
    display: none;
  }

  body[data-page="home"] .fv-word {
    white-space: normal;
    line-height: 1.2;
  }

  .fv-en-sub {
    margin-top: 0.9rem;
    font-size: 0.86rem;
    letter-spacing: 0.01em;
    line-height: 1.8;
  }

  body[data-page="home"] .hero-watercolor {
    width: min(70vw, 360px);
    top: 0.4rem;
    right: -1rem;
  }

  body[data-page="home"] .hero-right-text {
    position: static;
    text-align: left;
    max-width: 18rem;
    padding: 0 var(--page-gutter-mobile) 1.1rem;
    font-size: 0.78rem;
    line-height: 1.95;
  }

  body[data-page="home"] .hero-scroll {
    display: none;
  }

  body[data-page="home"] .hero-lower {
    height: auto;
    min-height: 154px;
  }

  body[data-page="home"] .sc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-inline: var(--page-gutter-mobile);
  }

  body[data-page="home"] .hero + .section.section-overlap {
    margin-top: 0;
    padding-top: var(--section-padding-mobile);
    border-radius: 0;
  }

  body[data-page="home"] .sc-item {
    min-height: 82px;
    padding: 1.05rem 1rem;
    gap: 0.9rem;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.13);
  }

  body[data-page="home"] .sc-item:last-child {
    border-bottom: none;
  }

  body[data-page="home"] .sc-icon {
    width: 46px;
    height: 46px;
    font-size: 1rem;
  }

  body[data-page="home"] .fv-line {
    display: block;
    width: 100%;
    max-width: 100%;
  }

  body[data-page="home"] .fv-line-1,
  body[data-page="home"] .fv-line-2,
  body[data-page="home"] .fv-line-3 {
    padding-left: 0;
  }

  .footer-top,
  .footer-nav,
  .footer-cta-panel,
  .footer-cta-brand {
    grid-template-columns: 1fr;
  }

  .footer-contact-actions {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    max-width: none;
  }

  .footer-contact-actions > .footer-cta-btn {
    min-height: 56px;
    padding: 0 1.25rem;
    font-size: 0.98rem;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .story-decor-layer .story-decor:nth-child(n + 8) {
    display: none;
  }

  .page-main > .section + .section {
    --section-seam-depth: 0px;
  }

  .page-main > .section + .section::before {
    content: none;
    display: none;
  }

  .page-main > .section + .section::after {
    content: none;
    display: none;
  }

  .site-footer::before {
    height: clamp(2.2rem, 8vw, 3.2rem);
  }

  .page-header::after {
    height: clamp(2.2rem, 8vw, 3.2rem);
    transform: translateY(calc(100% - 1px + var(--header-wave-shift, 0px)));
  }

  body[data-page="home"] .sc-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .hero + .section.section-overlap {
    margin-top: 0;
    padding-top: var(--section-padding-mobile);
    border-radius: 0;
  }

  .container,
  .footer-inner {
    width: 100%;
    padding-inline: var(--page-gutter-mobile);
  }

  .footer-contact-actions {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: clamp(2.2rem, 11vw, 3.8rem);
  }

  body[data-page="home"] .fv-word {
    font-size: clamp(1.58rem, 8.2vw, 2.55rem);
    line-height: 1.2;
    letter-spacing: 0.02em;
    font-weight: 500;
  }

  body[data-page="home"] .hero-upper {
    padding-top: 58px;
    min-height: clamp(360px, calc(100svh - 270px), 500px);
  }

  .fv-mobile-line {
    display: block;
  }

  body[data-page="home"] .fv-line-2 .fv-word {
    white-space: normal;
  }

  body[data-page="home"] .sc-item {
    padding: 1.15rem 1rem;
  }

  .service-visual-grid {
    grid-template-columns: 1fr;
    gap: 0.95rem;
  }

  .service-modal {
    padding: 0.65rem;
  }

  .service-modal-panel {
    width: calc(100vw - 1.3rem);
    border-radius: 20px;
  }

  .service-modal-image {
    aspect-ratio: 1 / 1;
  }

  .service-rate-head {
    flex-wrap: wrap;
    gap: 0.45rem 0.65rem;
  }

  .service-rate-line {
    width: 100%;
    flex-basis: 100%;
  }

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

  .quick-links,
  .info-grid,
  .voices-grid,
  .contact-grid,
  .pricing-grid,
  .feature-grid,
  .field-grid,
  .mini-notes {
    grid-template-columns: 1fr;
  }

  .flow-step,
  .step-card {
    grid-template-columns: 1fr;
  }

  .flow-step-num,
  .step-num {
    width: 56px;
    height: 56px;
  }

  .booking-card,
  .detail-card,
  .feature-card,
  .info-card,
  .voice-card,
  .contact-card,
  .person-profile {
    padding: var(--rhythm-card-pad-mobile);
  }

  .company-info-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .footer-cta-panel {
    padding: 1.3rem;
  }

  .footer-cta-brand {
    grid-template-columns: 1fr;
  }

  .footer-brand-image {
    width: min(160px, 100%);
  }

  .site-logo-image {
    width: 50px;
  }

  .hamburger {
    width: 50px;
    height: 50px;
    gap: 6px;
  }

  .hamburger span {
    width: 20px;
    height: 1px;
  }

  .hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .footer-logo-image {
    width: min(180px, 100%);
  }

  .person-profile {
    padding: 0 0 2rem;
  }

  .person-name-en {
    display: block;
    margin-top: 0.2rem;
    margin-left: 0;
  }

  .calendar-day {
    min-height: 58px;
    padding: 0.4rem 0.2rem;
    border-radius: 14px;
    gap: 0.18rem;
  }

  .calendar-weekdays,
  .calendar-grid {
    gap: 0.22rem;
  }

  .calendar-weekdays span {
    font-size: 0.68rem;
    padding: 0.25rem 0;
  }

  .calendar-day-num {
    font-size: 0.78rem;
  }

  .calendar-day-note {
    font-size: 0.92rem;
  }

  .calendar-legend {
    gap: 0.55rem 0.9rem;
  }

  .calendar-legend-item {
    font-size: 0.74rem;
  }

  .field-tip {
    top: calc(100% + 0.65rem);
    left: 0;
    transform: none;
    width: 100%;
  }

  .field-tip::before,
  .field-tip::after {
    top: auto;
    bottom: 100%;
    right: auto;
    left: 1rem;
    transform: none;
    border-color: transparent transparent rgba(79, 106, 153, 0.18) transparent;
  }

  .field-tip::after {
    bottom: calc(100% - 1px);
    left: calc(1rem + 1px);
    border-color: transparent transparent rgba(255, 255, 255, 0.94) transparent;
  }

  .calendar-selection-head {
    align-items: flex-start;
  }

  .page-header {
    padding: 6.8rem 0 3.6rem;
  }

  .section {
    padding: var(--section-padding-mobile) 0;
    background: var(--surface-bg);
  }

  .header-inner,
  .container,
  .footer-inner {
    width: 100%;
    padding-inline: var(--page-gutter-mobile);
  }

  .site-footer {
    padding: 3.25rem 0 1.75rem;
  }
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(220, 231, 242, 0.4);
}

::-webkit-scrollbar-thumb {
  background: rgba(79, 106, 153, 0.6);
  border-radius: 999px;
}
