/* ==========================================================================
   養神堂 LP - style.css
   Design tokens: 和モダン温泉宿テイスト
   ========================================================================== */

:root {
  /* Colors */
  --color-bg: #ffffff;
  --color-text: #4a4a48;
  --color-text-soft: #6b6660;
  --color-text-faint: #9a958d;
  --color-border: #e5e1d8;
  --color-cream-stripe: #f6f4ec;

  --color-label-yellow: #ece4a8;
  --color-label-pink: #f4d3da;

  --color-accent-price: #3f8fa8;
  --color-accent-notice: #b85c5c;

  --color-footer-bg: #faf9f6;

  /* Oriental background */
  --bg-oriental-1: #fdf0ea;
  --bg-oriental-2: #fdf2e4;
  --bg-oriental-3: #fdf7e6;
  --bg-oriental-4: #fefaf0;
  --bg-mandala-opacity: 0.85;

  /* 曼荼羅模様のサイズと位置（左上／右下） */
  --mandala-src: url("../images/bg-mandala.svg");
  --mandala-size-1: 640px;
  --mandala-x-1: -180px;
  --mandala-y-1: -120px;
  --mandala-size-2: 720px;
  --mandala-x-2: -220px;
  --mandala-y-2: -180px;

  /* Typography */
  --font-mincho: "Shippori Mincho", "Noto Serif JP", serif;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-en: "Cormorant Garamond", serif;

  /* Layout */
  --container-w: 960px;
  --header-h: 76px;
  --transition-base: 0.4s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: linear-gradient(
    125deg,
    var(--bg-oriental-1) 0%,
    var(--bg-oriental-2) 32%,
    var(--bg-oriental-3) 66%,
    var(--bg-oriental-4) 100%
  );
  background-attachment: fixed;
  line-height: 1.9;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* オリエンタルな曼荼羅模様（左上・右下に配置） */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: var(--bg-mandala-opacity);
  background:
    var(--mandala-src) no-repeat left var(--mandala-x-1) top var(--mandala-y-1) /
      var(--mandala-size-1) var(--mandala-size-1),
    var(--mandala-src) no-repeat right var(--mandala-x-2) bottom
      var(--mandala-y-2) / var(--mandala-size-2) var(--mandala-size-2);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--color-accent-price);
  outline-offset: 3px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* スマホでのみ改行させるユーティリティ */
.br-sp {
  display: none;
}

@media (max-width: 768px) {
  .br-sp {
    display: inline;
  }
}

/* ==========================================================================
   Header
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  transition: box-shadow var(--transition-base);
}

.header.is-scrolled {
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
}

.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header__logo-mark {
  color: var(--color-text);
  display: inline-flex;
}

.header__logo-text {
  font-family: var(--font-mincho);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
}

.header__logo-text_eg {
  font-size: 1rem;
  font-weight: 300;
  margin-left: 0.5rem;
}

.header__nav {
  display: flex;
  align-items: center;
  flex: 1;
}

.header__nav-list {
  display: flex;
  gap: 40px;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  margin-left: 5rem;
}

.header__nav-list a {
  position: relative;
  padding: 4px 0;
}

.header__nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-base);
}

.header__nav-list a:hover::after,
.header__nav-list a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header__sns {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.header__sns a {
  display: inline-flex;
  color: var(--color-text-soft);
  transition: color var(--transition-base);
}

.header__sns a:hover {
  color: var(--color-text);
}

.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
}

.header__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-text);
  transition:
    transform var(--transition-base),
    opacity var(--transition-base);
}

.header__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.header__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.header__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  margin-top: var(--header-h);
}

.hero__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 100%;
  overflow: hidden;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% center;
}

.hero__catch {
  position: absolute;
  top: 50%;
  right: 70px;
  transform: translateY(-50%);
  color: #494949;
  font-size: 2rem;
}

.hero__catch-sub {
  font-family: var(--font-mincho);
  letter-spacing: 0.1em;
}

.hero__catch-main {
  font-family: var(--font-mincho);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  margin-top: 0.6em;
}

/* PC: 画像は全幅のまま、右へ向かって白くフェードさせ余白部分に文字を置く */
@media (min-width: 769px) {
  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to right,
      rgba(253, 244, 235, 0) 45%,
      rgba(253, 244, 235, 0.75) 68%,
      rgba(253, 246, 238, 0.97) 82%,
      var(--bg-oriental-2) 100%
    );
    pointer-events: none;
  }

  .hero__catch {
    display: flex;
    align-items: flex-start;
    right: clamp(24px, 4vw, 70px);
    z-index: 1;
  }

  .hero__catch-sub,
  .hero__catch-main {
    writing-mode: vertical-rl;
    margin-top: 0;
  }
}

/* ==========================================================================
   Section label (pill / blob)
   ========================================================================== */

.section-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 48px;
}

.section-label span {
  font-family: var(--font-mincho);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  position: relative;
  padding: 0.5em 1.6em 0.5em 1.2em;
  z-index: 1;
}

.section-label--yellow span::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-label-yellow);
  border-radius: 50% / 55%;
  transform: scale(1.05, 1.3);
  z-index: -1;
}

.section-label--pink span::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-label-pink);
  border-radius: 62% 38% 55% 45% / 50% 60% 40% 50%;
  transform: scale(1.1, 1.4) rotate(-3deg);
  z-index: -1;
}

/* ==========================================================================
   養神堂薬局 Section
   ========================================================================== */

.pharmacy {
  position: relative;
  padding-top: 10rem;
}

.pharmacy__photo {
  width: 100%;
  height: 90px;
  overflow: hidden;
}

.pharmacy__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pharmacy__body {
  position: relative;
}

.pharmacy__lead {
  position: relative;
  margin: 3rem auto;
  text-align: center;
  color: var(--color-text-soft);
  z-index: 1;
  line-height: 3rem;
}

.info-table {
  max-width: var(--container-w);
  margin: 64px auto 0;
}

.info-table__title {
  font-family: var(--font-mincho);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.info-table__row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--color-border);
  font-size: 0.92rem;
}

.info-table__row:last-child {
  border-bottom: 1px solid var(--color-border);
}

.info-table__row dt {
  color: var(--color-text-soft);
  letter-spacing: 0.04em;
}

.info-table__row dd {
  color: var(--color-text);
}

/* Map */

.map {
  width: 100%;
  max-width: 1200px;
  height: 500px;
  margin: 2rem auto;
  background: #e9e7e0;
}

/* ==========================================================================
   Esthetic Section
   ========================================================================== */

.esthetic {
  padding: 10rem 0 5rem;
}

.esthetic__intro {
  text-align: center;
  margin-bottom: 72px;
}

.esthetic__intro-title {
  font-family: var(--font-mincho);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}

.esthetic__intro-en {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--font-en);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-text-faint);
  letter-spacing: 0.05em;
}

.esthetic__intro-text {
  margin: 2rem auto 3rem;
  color: var(--color-text-soft);
  line-height: 3rem;
}

/* ---- Notices (LINE / 個室案内) ---- */

.esthetic__notices {
  max-width: 720px;
  margin: 0 auto 5rem;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.notice-line {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 24px;
  background: #f2f8f2;
  border: 1px solid #d8e8d8;
}

.notice-line__badge {
  flex-shrink: 0;
  padding: 4px 14px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  background: #06c755;
  border-radius: 999px;
  transition: opacity var(--transition-base);
}

a.notice-line__badge:hover,
a.notice-line__badge:focus-visible {
  opacity: 0.75;
}

.notice-line__text {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.8;
}

.esthetic__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
}

.esthetic__tabs li a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  height: 64px;
  padding: 8px 14px;
  border: 1px solid var(--color-border);
  font-size: 0.82rem;
  text-align: center;
  line-height: 1.4;
  color: var(--color-text-soft);
  transition:
    background var(--transition-base),
    border-color var(--transition-base),
    color var(--transition-base);
}

.esthetic__tabs li a:hover,
.esthetic__tabs li a:focus-visible {
  background: var(--color-text);
  border-color: var(--color-text);
  color: #fff;
}

/* ---- Course block ---- */

.course {
  margin-bottom: 96px;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.course__title {
  font-family: var(--font-mincho);
  font-size: 1.3rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.course__title::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  background: var(--color-text-faint);
  margin: 18px auto 0;
}

.course__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 44px;
}

.course__media--reverse {
  grid-template-columns: 1fr 1fr;
}

.course__media--reverse .course__desc {
  order: 1;
}
.course__media--reverse .course__figure {
  order: 2;
}

.course__figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #ece9e1;
}

.course__figure figcaption {
  margin-top: 8px;
  font-size: 0.74rem;
  color: var(--color-text-faint);
}

.course__desc {
  font-size: 0.9rem;
  color: var(--color-text-soft);
}

.course__desc p {
  margin-bottom: 1em;
}

/* ---- Price grid / cards ---- */

.price-grid {
  margin-top: 48px;
  display: grid;
  border-top: 1px solid var(--color-border);
}

.price-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
.price-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.price-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.price-card {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}

.price-grid--4 .price-card:nth-child(4n),
.price-grid--3 .price-card:nth-child(3n),
.price-grid--2 .price-card:nth-child(2n) {
  border-right: none;
}

.price-card h4 {
  font-family: var(--font-mincho);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.price-card__menu {
  font-size: 0.82rem;
  color: var(--color-text-soft);
  margin-bottom: 18px;
}

.price-card__menu li {
  padding: 2px 0;
}

.price-card__price {
  font-size: 1.5rem;
  color: var(--color-accent-price);
  font-family: var(--font-en);
  font-weight: 600;
  margin-top: auto;
}

.price-card__note {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.8;
  color: var(--color-text-soft);
  text-align: left;
  margin-bottom: 16px;
}

/* Plain variant (kimono pricing — no menu list) */
.price-grid--plain .price-card {
  justify-content: center;
  min-height: 150px;
}

.price-grid--plain .price-card__note {
  text-align: center;
}

.price-grid--plain .price-card__price {
  margin-top: 0;
}

/* ---- Plan card (手ぶらでGO) ---- */

.plan-card {
  margin-top: 40px;
  padding: 36px 40px;
  border: 1px solid var(--color-border);
  background: var(--color-cream-stripe);
  text-align: center;
}

.plan-card__head {
  margin-bottom: 20px;
}

.plan-card__title {
  font-family: var(--font-mincho);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.plan-card__subtitle {
  margin-top: 8px;
  font-size: 0.92rem;
  color: var(--color-text-soft);
}

.plan-card__desc {
  max-width: 620px;
  margin: 0 auto 24px;
  font-size: 0.86rem;
  color: var(--color-text-soft);
}

.plan-card__plans {
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-card__plans li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--color-border);
}

.plan-card__plan-name {
  font-size: 0.9rem;
  color: var(--color-text);
}

.plan-card__plan-price {
  font-size: 0.95rem;
  color: var(--color-accent-price);
  font-weight: 600;
  white-space: nowrap;
}

.plan-card__plan-price span {
  font-size: 1.4rem;
  font-family: var(--font-en);
  margin-right: 2px;
}

.plan-card__note {
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--color-accent-notice);
}

/* ---- Option block ---- */

.option-block {
  margin-bottom: 96px;
}

.option-block__title {
  font-family: var(--font-mincho);
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.option-block__title .star {
  color: var(--color-text-faint);
}

.option-block__lead {
  font-size: 0.86rem;
  color: var(--color-text-soft);
  margin-bottom: 24px;
}

.option-block__notice {
  background: #fbf8f8;
  border: 1px solid #efdede;
  padding: 24px 28px;
  margin-bottom: 100px;
  font-size: 0.82rem;
  color: var(--color-accent-notice);
}

.option-block__notice-title {
  font-weight: 600;
  margin-bottom: 10px;
}

.option-block__notice ul {
  margin-bottom: 14px;
}

.option-block__notice li {
  margin-bottom: 4px;
}

.option-table {
  width: 100%;
  border-collapse: collapse;
}

.option-table tr {
  border-bottom: 1px solid var(--color-border);
}

.option-table tr:nth-child(odd) {
  background: var(--color-cream-stripe);
}

.option-table th,
.option-table td {
  padding: 18px 20px;
  text-align: left;
  font-weight: 400;
  vertical-align: middle;
}

.option-table th {
  width: 200px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
}

.option-table td {
  font-size: 0.8rem;
  color: var(--color-text-soft);
}

.option-table__price {
  width: 180px;
  text-align: right;
  font-size: 1.5rem !important;
  color: var(--color-accent-price) !important;
  font-weight: 600;
  font-family: var(--font-en);
  white-space: nowrap;
}

/* ---- Menu grid (キレイUP / スキルUP) ---- */

.menu-grid {
  margin-top: 44px;
  display: grid;
  gap: 24px;
}

.menu-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.menu-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.menu-card {
  padding: 32px 26px;
  border: 1px solid var(--color-border);
  text-align: center;
}

.menu-card h4 {
  font-family: var(--font-mincho);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.menu-card__note {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-soft);
  margin-bottom: 1em;
}

.menu-card__time {
  font-size: 0.76rem;
  color: var(--color-text-faint);
}

.menu-card__price {
  font-size: 1.5rem;
  color: var(--color-accent-price);
  font-family: var(--font-en);
  font-weight: 600;
}

.menu-card__sub {
  font-size: 0.85rem;
  color: var(--color-accent-price);
  font-weight: 600;
  margin-top: 6px;
}

.menu-card__note-small {
  display: block;
  font-size: 0.7rem;
  color: var(--color-text-faint);
  font-weight: 400;
  margin-top: 2px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: rgba(255, 255, 255, 0.45);
  border-top: 1px solid var(--color-border);
  padding: 48px 0;
}

.footer__inner {
  text-align: center;
  font-size: 0.78rem;
  color: var(--color-text-faint);
}

/* ---- LINE & 検索案内 ---- */

.footer__line {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 18px 0 24px;
}

.footer__line-link {
  display: inline-flex;
  color: #06c755;
  transition: opacity var(--transition-base);
}

.footer__line-link:hover,
.footer__line-link:focus-visible {
  opacity: 0.7;
}

.footer__search {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.footer__search-icon {
  margin-left: 2px;
}

.footer__contact a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base);
}

.footer__contact a:hover {
  border-bottom-color: currentColor;
}

.footer__credit {
  letter-spacing: 0.05em;
}

/* ==========================================================================
   To top button
   ========================================================================== */

.totop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    visibility 0.4s ease,
    background 0.4s ease,
    color 0.4s ease;
  z-index: 900;
}

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

.totop:hover {
  background: var(--color-text);
  color: #fff;
}

/* ==========================================================================
   Scroll reveal (fade-in)
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
  /* 背景の曼荼羅も画面幅に合わせて縮小 */
  :root {
    --mandala-size-1: 440px;
    --mandala-x-1: -130px;
    --mandala-y-1: -100px;
    --mandala-size-2: 490px;
    --mandala-x-2: -160px;
    --mandala-y-2: -130px;
    --bg-mandala-opacity: 0.7;
  }
}

@media (max-width: 1000px) {
  .container {
    padding: 0 20px;
  }

  /* Hero: 画面が狭くなるほど文字サイズを縮める */
  .hero__catch {
    font-size: 1.6rem;
  }
}

@media (max-width: 860px) {
  .hero__catch {
    font-size: 1.25rem;
  }

  .price-grid--4,
  .price-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .price-grid--4 .price-card:nth-child(2n),
  .price-grid--3 .price-card:nth-child(2n) {
    border-right: none;
  }
  .price-grid--4 .price-card:nth-child(odd):not(:nth-child(4n-1)),
  .price-grid--3 .price-card:nth-child(odd) {
    border-right: 1px solid var(--color-border);
  }

  .menu-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;

    /* 背景の曼荼羅：細い線のSVGに差し替え、小さめ＋薄めで主張を抑える */
    --mandala-src: url("../images/bg-mandala-sp.svg");
    --mandala-size-1: 220px;
    --mandala-x-1: -60px;
    --mandala-y-1: -50px;
    --mandala-size-2: 250px;
    --mandala-x-2: -75px;
    --mandala-y-2: -65px;
    --bg-mandala-opacity: 0.45;
  }

  .header__nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: stretch;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
    z-index: 999;
  }

  .header__nav.is-open {
    max-height: 400px;
    border-bottom: 1px solid var(--color-border);
  }

  .header__nav-list {
    flex-direction: column;
    gap: 0;
    margin-left: 0;
    padding: 8px 24px 0;
  }

  .header__nav-list a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
  }

  .header__sns {
    justify-content: center;
    gap: 28px;
    margin-left: 0;
    padding: 22px 24px 26px;
  }

  .header__toggle {
    display: flex;
  }

  /* Hero: スマホは全幅・縦長にして被写体を大きく見せ、文字を下部に重ねる */
  .hero__image {
    width: 100%;
    aspect-ratio: auto;
    height: 700px;
    max-height: 78vh;
  }

  .hero {
    position: relative;
  }

  .hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 32%;
    background: linear-gradient(
      to bottom,
      rgba(253, 244, 235, 0) 0%,
      rgba(253, 245, 236, 0.82) 55%,
      var(--bg-oriental-2) 100%
    );
    pointer-events: none;
  }

  .hero__catch {
    writing-mode: horizontal-tb;
    right: auto;
    left: 0;
    bottom: 20px;
    top: auto;
    transform: none;
    width: 100%;
    text-align: center;
    padding: 0 20px;
    font-size: 1.35rem;
    text-shadow: none;
    z-index: 1;
    /* 横書きでは「湯畑にある」→「草津温泉の薬屋さん」の語順に */
    display: flex;
    flex-direction: column;
  }

  .hero__catch-sub {
    order: 1;
  }

  .hero__catch-main {
    order: 2;
    margin-top: 0.2em;
  }

  .cloud-deco {
    display: none;
  }

  .info-table__row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .course__media,
  .course__media--reverse {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .course__media--reverse .course__desc,
  .course__media--reverse .course__figure {
    order: initial;
  }

  .price-grid--4,
  .price-grid--3,
  .price-grid--2 {
    grid-template-columns: 1fr 1fr;
  }

  .price-grid--4 .price-card:nth-child(2n),
  .price-grid--3 .price-card:nth-child(2n),
  .price-grid--2 .price-card:nth-child(2n) {
    border-right: none;
  }
  .price-grid--4 .price-card:nth-child(odd),
  .price-grid--3 .price-card:nth-child(odd) {
    border-right: 1px solid var(--color-border);
  }

  .menu-grid--3,
  .menu-grid--2 {
    grid-template-columns: 1fr;
  }

  .option-table,
  .option-table tbody,
  .option-table tr,
  .option-table th,
  .option-table td {
    display: block;
    width: 100%;
  }

  .option-table tr {
    padding: 18px 20px;
  }

  .option-table th,
  .option-table td {
    padding: 4px 0;
  }

  .option-table__price {
    text-align: left;
    margin-top: 6px;
  }

  .plan-card {
    padding: 28px 22px;
  }

  .plan-card__plans li {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
}

@media (max-width: 480px) {
  :root {
    --mandala-size-1: 180px;
    --mandala-x-1: -50px;
    --mandala-y-1: -45px;
    --mandala-size-2: 200px;
    --mandala-x-2: -60px;
    --mandala-y-2: -55px;
  }

  .hero__catch {
    font-size: 1.15rem;
    bottom: 16px;
  }

  .section-label span {
    font-size: 1.4rem;
  }
  .price-grid--4,
  .price-grid--3,
  .price-grid--2 {
    grid-template-columns: 1fr;
  }
  .price-grid--4 .price-card,
  .price-grid--3 .price-card,
  .price-grid--2 .price-card {
    border-right: none !important;
  }
}
