/**
 * 5DENTAL TOKYO GINZA - Custom Stylesheet
 * All styles merged from static HTML site
 *
 * Table of Contents:
 * 1. CSS Variables & Base Styles
 * 2. Header Styles
 * 3. Overlay Menus (Mega Menu, About Menu, Mobile Menu)
 * 4. Hero Slider
 * 5. Homepage Sections
 * 6. Footer Styles
 * 7. Lower Page Styles
 * 8. Responsive Styles
 */

/* ==========================================================================
   1. CSS Variables & Base Styles
   ========================================================================== */
:root {
  color-scheme: light;
  --color-white: #ffffff;
  --color-primary: #595a5d;
  --color-primary-strong: #4d4e50;
  --color-secondary: #787b83;
  --color-accent: #b5a27c;
  --shadow-header: 0 8px 8px rgba(116, 109, 96, 0.1);

  /* Lower Page Colors */
  --color-gold: #9a7d4a;
  --color-gold-light: #b5a27c;
  --color-gold-dark: #7d6c4f;
  --color-bg-gray: #f4f3ef;
  --color-bg-dark: #dedfe3;
  --color-text: #595a5d;

  /* Container Widths */
  --container-sm: 800px;
  --container-md: 960px;
  --container-lg: 1040px;
  --container-xl: 1200px;
}

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

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--color-primary);
  background: #f7f6f3;
}

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

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

body.is-overlay-open {
  overflow: hidden;
  padding-right: var(--scrollbar-width, 0px);
}

/* ==========================================================================
   2. Header Styles
   ========================================================================== */
.site-header {
  background: var(--color-white);
  box-shadow: var(--shadow-header);
  position: sticky;
  top: 0;
  z-index: 200;
}

.site-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px 8px 24px;
  gap: 32px;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand-logo img {
  width: 187px;
  height: 62px;
  object-fit: contain;
}

.brand-access {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-secondary);
}

.access-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.access-icon {
  width: 16px;
  height: 16px;
}

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

.cta-tel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 195px;
}

.cta-tel__label {
  font-size: 14px;
  letter-spacing: 0.05em;
}

.cta-tel__number {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Zen Old Mincho", serif;
  font-size: 24px;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  white-space: nowrap;
}

.cta-tel__number img {
  width: 20px;
  height: 20px;
}

.cta-web {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 70px;
  padding: 16px 24px;
  border-radius: 5px;
  background: var(--color-accent);
  color: var(--color-white);
}

.cta-web__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Zen Old Mincho", serif;
  font-size: 20px;
  letter-spacing: 0.05em;
}

.cta-web__label img {
  width: 20px;
  height: 20px;
}

.cta-web__icon {
  width: 20px;
  height: 20px;
}

.site-header__bottom {
  padding: 4px 24px 8px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 48px;
  font-family: "Zen Old Mincho", serif;
  font-size: 15px;
  letter-spacing: 0.05em;
  line-height: 1.35;
}

.site-nav__item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-primary);
}

.site-nav__item.is-active {
  color: var(--color-primary-strong);
}

.site-nav__item.is-muted {
  color: var(--color-primary);
}

.menu-arrow {
  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 4px solid var(--color-secondary);
  transform: translateY(1px);
}

button.site-nav__item {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.site-header__hamburger {
  display: none;
}

.hamburger-button {
  position: relative;
  width: 56px;
  height: 56px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.hamburger-button::before {
  content: "";
  position: absolute;
  inset: 6px;
  background: #787b83;
}

.hamburger-button__icon {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 20px;
  height: 2px;
  background: #ffffff;
  transform: translateX(-50%);
  box-shadow: 0 6px 0 #ffffff, 0 12px 0 #ffffff;
}

.hamburger-button__icon::before,
.hamburger-button__icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 1.5px;
  background: #ffffff;
  opacity: 0;
  transform: translateY(-50%);
}

.hamburger-button.is-open .hamburger-button__icon {
  top: 20px;
  background: transparent;
  box-shadow: none;
}

.hamburger-button.is-open .hamburger-button__icon::before {
  opacity: 1;
  transform: translateY(-50%) rotate(45deg);
}

.hamburger-button.is-open .hamburger-button__icon::after {
  opacity: 1;
  transform: translateY(-50%) rotate(-45deg);
}

.hamburger-button__label {
  position: absolute;
  left: 50%;
  bottom: 14px;
  font-family: "Zen Old Mincho", serif;
  font-size: 12px;
  letter-spacing: 0.05em;
  line-height: 1;
  color: #ffffff;
  text-transform: lowercase;
  transform: translateX(-50%);
}

/* ==========================================================================
   3. Overlay Menus
   ========================================================================== */
.mega-menu {
  position: fixed;
  top: var(--header-height, 150px);
  left: 0;
  right: 0;
  height: calc(100vh - var(--header-height, 150px));
  background: var(--color-white);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 150;
  overflow: hidden;
}

.mega-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-menu::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 91.35%);
  pointer-events: none;
  z-index: 2;
}

.mega-menu__scroll {
  height: 100%;
  overflow-y: auto;
}

.mega-menu__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 68px 24px 64px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mega-menu__label {
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: "Zen Old Mincho", serif;
  font-size: 16px;
  letter-spacing: 0.05em;
  color: #595a5d;
}

.mega-menu__label::after {
  content: "";
  flex: 1;
  height: 1.5px;
  background: #cfd2d8;
  min-width: 120px;
}

.mega-menu__banners {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.mega-banner {
  display: flex;
  height: 100px;
  text-decoration: none;
  overflow: hidden;
}

.mega-banner__image {
  width: 100%;
}

.mega-banner__image img {
  width: 100%;
  height: 100%;
}

.mega-menu__lists {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mega-menu__title {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: "Zen Old Mincho", serif;
  font-size: 16px;
  letter-spacing: 0.05em;
  color: #595a5d;
}

.mega-menu__title::after {
  content: "";
  flex: 1;
  height: 1.5px;
  background: #cfd2d8;
  min-width: 120px;
}

.mega-menu__menu .footer-menu__title img {
  opacity: 0;
}

.about-menu {
  position: fixed;
  top: var(--header-height, 150px);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(120, 123, 131, 0.5);
  backdrop-filter: blur(7.5px);
  -webkit-backdrop-filter: blur(7.5px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 140;
  overflow-y: auto;
}

.about-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.about-menu__panel {
  width: 100%;
  margin: 0;
  padding: 56px 56px 64px;
  background: var(--color-white);
}

.about-menu__heading {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

.about-menu__heading p {
  margin: 0;
  font-family: "Zen Old Mincho", serif;
  font-size: 20px;
  letter-spacing: 0.05em;
  color: #595a5d;
}

.about-menu__heading::after {
  content: "";
  flex: 1;
  height: 1.5px;
  background: #cfd2d8;
}

.about-menu__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 32px;
}

.about-menu__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-menu__link {
  flex: 1;
  color: inherit;
  line-height: 1.35;
}

.mobile-menu {
  position: fixed;
  top: var(--header-height, 96px);
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 160;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-menu__scroll {
  height: 100%;
  overflow-y: auto;
}

.mobile-menu__inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 24px 24px 56px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mobile-menu__pickup {
  padding: 16px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu__label {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
  font-family: "Zen Old Mincho", serif;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: #787b83;
}

.mobile-menu__label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #cfd2d8;
}

.mobile-menu__banners {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu__banner {
  position: relative;
  height: auto;
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
  text-decoration: none;
}

.mobile-menu__banner-image {
  position: relative;
  width: 100%;
  z-index: 0;
}

.mobile-menu__banner-image img {
  width: 100%;
  height: auto;
  object-fit: unset;
}

.mobile-menu__section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu__section-title {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: "Zen Old Mincho", serif;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: #787b83;
}

.mobile-menu__section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #cfd2d8;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.mobile-menu__link {
  display: block;
  text-align: center;
  padding-bottom: 12px;
  border-bottom: 1px solid #d8d9e2;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  letter-spacing: 0.05em;
  color: #595a5d;
  text-decoration: none;
}

.mobile-menu__links-mini {
  display: flex;
  justify-content: center;
  gap: 12px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: #787b83;
}

.mobile-menu__links-mini a {
  color: inherit;
  text-decoration: none;
}

.mobile-menu__links-mini a + a {
  position: relative;
  padding-left: 20px;
}

.mobile-menu__links-mini a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 1px;
  background: #d8d9e2;
  transform: translateY(-50%) rotate(90deg);
}

/* ==========================================================================
   4. Hero Slider
   ========================================================================== */
.hero-slider {
  position: relative;
  overflow: hidden;
}

.hero-slider__viewport {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
  padding: 0 64px;
  scroll-padding: 0 64px;
  gap: 32px;
}

.hero-slider__viewport::-webkit-scrollbar {
  display: none;
}

.hero-slider__viewport.is-dragging {
  cursor: grabbing;
}

.hero-slide {
  flex: 0 0 100%;
  margin: 0;
  scroll-snap-align: start;
}

.hero-slide picture {
  display: block;
  width: 100%;
}

.hero-slide img {
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.hero-slider__dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  display: flex;
  gap: 12px;
  transform: translateX(-50%);
  pointer-events: auto;
}

.hero-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-white);
  border: none;
  padding: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.hero-dot::before,
.hero-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.hero-dot::before {
  box-shadow: inset 0 0 0 1px var(--color-secondary);
}

.hero-dot::after {
  background: var(--color-secondary);
  opacity: 0;
}

.hero-dot.is-active::after {
  opacity: 1;
}

/* ==========================================================================
   5. Homepage Sections
   ========================================================================== */

/* Popular Menu */
.popular-menu {
  max-width: 1120px;
  margin: 72px auto 0;
  padding: 0 16px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.popular-menu__title {
  position: relative;
  text-align: center;
  height: 58px;
}

.popular-menu__eyebrow {
  position: absolute;
  top: 0;
  left: 50%;
  margin: 0;
  font-family: "Pinyon Script", cursive;
  font-size: 104px;
  line-height: 0.5;
  color: #e9ecf2;
  transform: translateX(-50%);
  white-space: nowrap;
  pointer-events: none;
}

.popular-menu__heading {
  margin: 9px 0 0;
  font-family: "Zen Old Mincho", serif;
  font-size: 36px;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  position: relative;
}

.popular-menu__grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 548px));
  gap: 32px 24px;
  justify-content: center;
}

.popular-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 548px;
  max-width: 100%;
}

.popular-card__banner {
  display: block;
  width: 100%;
}

.popular-card__banner img {
  display: block;
  width: 100%;
  height: auto;
}

.popular-card__text {
  margin: 0;
  max-width: 532px;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: var(--color-primary);
}

/* Aesthetic Intro */
.aesthetic-intro {
  background: var(--color-white);
  padding: 72px 16px 96px;
  position: relative;
  overflow: hidden;
}

.aesthetic-intro::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 100vw;
  height: 66%;
  transform: translateX(-50%);
  background: url("../images/backgrounds/bg-top-gray.webp") center top / cover no-repeat;
  z-index: 0;
  pointer-events: none;
}

.aesthetic-intro__content {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 536px);
  gap: 56px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.aesthetic-intro__heading {
  margin: 0;
  font-family: "Zen Old Mincho", serif;
  font-size: 24px;
  line-height: 1.8;
  letter-spacing: 0.1em;
  background: linear-gradient(259.751deg, #949ba9 3.88%, #697181 100.68%);
  -webkit-background-clip: text;
  color: transparent;
}

.aesthetic-intro__heading p {
  margin: 0;
}

.aesthetic-intro__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.1em;
  color: #676a71;
}

.aesthetic-intro__body p {
  margin: 0;
}

.text-strong {
  color: var(--color-primary);
}

.text-gradient {
  background: linear-gradient(187.674deg, #9fa3aa 0%, #72757c 100%);
  -webkit-background-clip: text;
  color: transparent;
}

.text-gradient--alt {
  background: linear-gradient(202.01deg, #9fa3aa 0%, #72757c 100%);
  -webkit-background-clip: text;
  color: transparent;
}

.aesthetic-intro__emblems {
  max-width: 1120px;
  margin: 48px auto 0;
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.aesthetic-intro__emblem {
  display: block;
  width: auto;
  height: 160px;
}

.aesthetic-intro__emblem--laurel {
  height: 180px;
}

.aesthetic-intro__emblem--access {
  height: 150px;
}

/* Troubles Section */
.troubles {
  max-width: 1120px;
  margin: 64px auto 0;
  padding: 96px 80px;
  background: var(--color-white);
  box-shadow: none;
}

.troubles__title {
  position: relative;
  text-align: center;
  height: 58px;
  z-index: 1;
}

.troubles__eyebrow {
  position: absolute;
  top: 0;
  left: 50%;
  margin: 0;
  font-family: "Pinyon Script", cursive;
  font-size: 104px;
  line-height: 0.5;
  color: #e9ecf2;
  transform: translateX(-50%);
  white-space: nowrap;
  pointer-events: none;
}

.troubles__heading {
  margin: 3px 0 0;
  font-family: "Zen Old Mincho", serif;
  font-size: 36px;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  position: relative;
}

.troubles__grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 476px));
  gap: 8px;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.trouble-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border-radius: 5px;
  background: #f8f8f9;
  color: inherit;
}

.trouble-card__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trouble-card__icon img {
  width: 70px;
  height: auto;
}

.trouble-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.trouble-card__title {
  margin: 0;
  font-family: "Zen Old Mincho", serif;
  font-size: 20px;
  letter-spacing: 0.05em;
  line-height: 1.35;
  color: var(--color-primary);
}

.trouble-card__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: 0.05em;
  color: var(--color-primary);
}

.trouble-card__arrow {
  width: 24px;
  height: 24px;
  margin-left: auto;
  flex-shrink: 0;
}

/* Service Menu */
.service-menu {
  background: var(--color-white);
  padding: 96px 0 120px;
}

.service-menu__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.service-menu__title {
  position: relative;
  text-align: center;
  height: 58px;
}

.service-menu__eyebrow {
  position: absolute;
  top: 0;
  left: 50%;
  margin: 0;
  font-family: "Pinyon Script", cursive;
  font-size: 104px;
  line-height: 0.5;
  color: #e9ecf2;
  transform: translateX(-50%);
  white-space: nowrap;
  pointer-events: none;
}

.service-menu__heading {
  margin: 3px 0 0;
  font-family: "Zen Old Mincho", serif;
  font-size: 36px;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  position: relative;
}

.service-block {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.service-block--compact {
  gap: 24px;
}

.service-block__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.service-block__title h3 {
  margin: 0;
  font-family: "Zen Old Mincho", serif;
  font-size: 28px;
  letter-spacing: 0.05em;
  color: var(--color-primary);
}

.service-block__line {
  width: 100%;
  height: 1px;
  background: #c7cbd4;
}

.service-block__banners {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 548px));
  gap: 24px;
  justify-content: center;
}

.service-banner {
  display: block;
  width: 100%;
}

.service-banner img {
  width: 100%;
  height: auto;
  display: block;
}

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

.service-button {
  width: 362px;
  max-width: 100%;
  min-height: 70px;
  background: #787b83;
  color: var(--color-white);
  border-radius: 5px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: "Zen Old Mincho", serif;
  font-size: 18px;
  letter-spacing: 0.05em;
  line-height: 1.35;
}

.service-button__label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.service-button__arrow {
  width: 24px;
  height: 24px;
  margin-left: auto;
  position: relative;
  flex-shrink: 0;
}

.service-button__arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../icons/notice/notice-arrow-circle.svg") center / contain no-repeat;
}

.service-feature {
  width: 580px;
  max-width: 100%;
  margin: 0 auto;
}

.service-feature img {
  width: 100%;
  height: auto;
  display: block;
}

/* Features Section */
.features {
  background: var(--color-white);
  padding: 104px 0 120px;
}

.features__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.features__title {
  position: relative;
  text-align: center;
  height: 58px;
}

.features__eyebrow {
  position: absolute;
  top: 0;
  left: 50%;
  margin: 0;
  font-family: "Pinyon Script", cursive;
  font-size: 104px;
  line-height: 0.5;
  color: #e9ecf2;
  transform: translateX(-50%);
  white-space: nowrap;
  pointer-events: none;
}

.features__heading {
  margin: 11px 0 0;
  font-family: "Zen Old Mincho", serif;
  font-size: 32px;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  position: relative;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 357px));
  gap: 24px;
  justify-content: center;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-card__media {
  position: relative;
  overflow: visible;
}

.feature-card__media img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-card__media::after {
  content: attr(data-number);
  position: absolute;
  top: -12px;
  right: 8px;
  font-family: "Pinyon Script", cursive;
  font-size: 64px;
  line-height: 1.2;
  opacity: 0.5;
  background: linear-gradient(232deg, #9fa3aa 0%, #72757c 100%);
  -webkit-background-clip: text;
  color: transparent;
  pointer-events: none;
  padding: 6px 8px 0 0;
  transform: translate(8px, -6px);
}

.feature-card__title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-card__lead {
  font-family: "Zen Old Mincho", serif;
  font-size: 40px;
  line-height: 1;
  letter-spacing: 0.05em;
  color: #787b83;
}

.feature-card__headline {
  font-family: "Zen Old Mincho", serif;
  font-size: 20px;
  letter-spacing: 0.05em;
  color: var(--color-primary);
}

.feature-card__headline p {
  margin: 0;
  line-height: 1.35;
}

.feature-card__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: var(--color-primary);
}

.feature-card__link {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Zen Old Mincho", serif;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: #787b83;
  text-decoration: underline;
  margin-top: auto;
}

.feature-card__link img {
  width: 20px;
  height: 20px;
}

.features__cta {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Zen Old Mincho", serif;
  font-size: 18px;
  letter-spacing: 0.05em;
  color: #787b83;
}

.features__cta img {
  width: 32px;
  height: 32px;
}

/* Doctor Section */
.doctor {
  position: relative;
  padding: 120px 0 140px;
  background: #eef2f8 url("../images/backgrounds/bg-doctor.webp") center / cover no-repeat;
}

.doctor__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
  position: relative;
}

.doctor__layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 600px) minmax(0, 1fr);
  gap: 0;
  align-items: start;
  z-index: 1;
  max-width: 1120px;
  margin-left: 160px;
  margin-right: 0;
  padding: 0 16px;
}

.doctor__media {
  position: relative;
  max-width: 600px;
  z-index: 1;
}

.doctor__portrait {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
}

.doctor__namecard {
  position: absolute;
  left: -40px;
  bottom: 24px;
  width: 278px;
  padding: 20px 24px;
  background: #f8f8f9;
  box-shadow: 10px 10px 10px rgba(122, 134, 158, 0.03);
  z-index: 2;
}

.doctor__role {
  margin: 0;
  font-family: "Zen Old Mincho", serif;
  font-size: 16px;
  letter-spacing: 0.05em;
  color: var(--color-primary);
}

.doctor__name {
  margin: 4px 0 0;
  font-family: "Zen Old Mincho", serif;
  font-size: 20px;
  letter-spacing: 0.05em;
  color: var(--color-primary);
}

.doctor__name-en {
  position: absolute;
  right: 16px;
  bottom: 12px;
  font-family: "Pinyon Script", cursive;
  font-size: 40px;
  opacity: 0.2;
  background: linear-gradient(200deg, #9fa3aa 0%, #72757c 100%);
  -webkit-background-clip: text;
  color: transparent;
}

.doctor__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-left: clamp(-200px, calc(100vw - 1180px), -48px);
  max-width: 420px;
  margin-top: 64px;
  z-index: 2;
}

.doctor__title {
  position: relative;
  height: 58px;
}

.doctor__eyebrow {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  font-family: "Pinyon Script", cursive;
  font-size: clamp(64px, 8vw, 104px);
  line-height: 0.5;
  opacity: 0.2;
  color: #7e7f82;
}

.doctor__heading {
  margin: 17px 0 0;
  font-family: "Zen Old Mincho", serif;
  font-size: 32px;
  letter-spacing: 0.1em;
  color: var(--color-primary);
}

.doctor__lead {
  font-family: "Zen Old Mincho", serif;
  font-size: 20px;
  letter-spacing: 0.05em;
  background: linear-gradient(200deg, #9fa3aa 0%, #72757c 100%);
  -webkit-background-clip: text;
  color: transparent;
}

.doctor__lead p {
  margin: 0;
  line-height: 1.35;
}

.doctor__text {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: var(--color-primary);
}

.doctor__text p {
  margin: 0;
}

.doctor__cta {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Zen Old Mincho", serif;
  font-size: 18px;
  letter-spacing: 0.05em;
  color: #787b83;
}

.doctor__cta img {
  width: 32px;
  height: 32px;
}

/* Column Section */
.column {
  background: var(--color-white);
  padding: 104px 0 120px;
  overflow-x: hidden;
}

.column__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.column__title {
  position: relative;
  text-align: left;
  height: 58px;
}

.column__eyebrow {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  font-family: "Pinyon Script", cursive;
  font-size: 104px;
  line-height: 0.5;
  color: #e9ecf2;
  transform: none;
  white-space: nowrap;
  pointer-events: none;
}

.column__heading {
  margin: 11px 0 0;
  font-family: "Zen Old Mincho", serif;
  font-size: 32px;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  position: relative;
}

.column__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.column__categories {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.column__select {
  display: none;
}

.column-category {
  border: none;
  background: rgba(120, 123, 131, 0.15);
  color: #787b83;
  border-radius: 15.5px;
  padding: 6px 14px;
  font-family: "Zen Old Mincho", serif;
  font-size: 13px;
  letter-spacing: 0.05em;
  line-height: 1.35;
  font-weight: 900;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.column-category.is-active {
  background: #787b83;
  color: var(--color-white);
}

.column__slider {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-right: calc(50% - 50vw);
  padding-right: calc(50% - 50vw);
}

.column__slider::-webkit-scrollbar {
  display: none;
}

.column__track {
  display: flex;
  gap: 24px;
  padding: 0 0 12px;
  cursor: grab;
  user-select: none;
}

.column__track.is-dragging {
  cursor: grabbing;
}

.column-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
}

.column-card__link {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #787b83;
}

.column-card__media {
  width: 100%;
  height: 200px;
  background: #e9ecf2;
  overflow: hidden;
}

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

.column-card__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: "Zen Old Mincho", serif;
}

.column-card__date {
  font-size: 13px;
  letter-spacing: 0.05em;
  color: #787b83;
}

.column-card__title {
  margin: 0;
  font-size: 16px;
  letter-spacing: 0.05em;
  line-height: 1.35;
  color: #787b83;
}

.column-card__category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  border: 1px solid rgba(120, 123, 131, 0.6);
  border-radius: 15.5px;
  padding: 6px 12px;
  font-family: "Zen Old Mincho", serif;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: #787b83;
}

.column__more {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Zen Old Mincho", serif;
  font-size: 18px;
  letter-spacing: 0.05em;
  color: #787b83;
}

.column__more img {
  width: 44px;
  height: 44px;
}

/* Notice Section */
.notice {
  background: var(--color-white);
  padding: 104px 0 120px;
}

.notice__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.notice__aside {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.notice__title {
  position: relative;
  height: 58px;
}

.notice__eyebrow {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  font-family: "Pinyon Script", cursive;
  font-size: 104px;
  line-height: 0.5;
  color: #e9ecf2;
  white-space: nowrap;
  pointer-events: none;
}

.notice__heading {
  margin: 11px 0 0;
  font-family: "Zen Old Mincho", serif;
  font-size: 32px;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  position: relative;
}

.notice__more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Zen Old Mincho", serif;
  font-size: 18px;
  letter-spacing: 0.05em;
  color: #787b83;
}

.notice__more img {
  width: 44px;
  height: 44px;
}

.notice__list-wrap {
  position: relative;
  height: 500px;
}

.notice__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  overflow-y: auto;
  padding-right: 32px;
  scrollbar-width: none;
}

.notice__list::-webkit-scrollbar {
  display: none;
}

.notice-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  background: #f8f8f9;
  color: inherit;
  min-height: 98px;
}

.notice-item__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
  font-family: "Zen Old Mincho", serif;
  color: #595a5d;
}

.notice-item__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  letter-spacing: 0.05em;
}

.notice-item__date {
  white-space: nowrap;
}

.notice-item__category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 10.5px;
  background: rgba(120, 123, 131, 0.15);
  font-size: 13px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.notice-item__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: 0.05em;
}

.notice-item__arrow {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* Information Section */
.information {
  position: relative;
  background: var(--color-white);
  padding: 120px 16px 140px;
}

.information__eyebrow {
  position: absolute;
  top: 96px;
  left: 50%;
  margin: 0;
  font-family: "Pinyon Script", cursive;
  font-size: 104px;
  line-height: 0.5;
  color: #595a5d;
  opacity: 0.2;
  pointer-events: none;
  white-space: nowrap;
  transform: translateX(-638px);
  z-index: 2;
}

.information__panel {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 80px;
  min-height: 450px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, clamp(320px, 42vw, 480px));
  gap: 64px;
  align-items: start;
  color: var(--color-white);
  background: linear-gradient(228.14deg, #9fa3aa 0%, #72757c 100%);
  box-shadow: 10px 10px 10px rgba(122, 134, 158, 0.03);
}

.information__details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: "Zen Old Mincho", serif;
  min-width: 0;
}

.information__org {
  margin: 0;
  font-size: 16px;
  letter-spacing: 0.05em;
}

.information__name {
  margin: 0;
  font-size: 26px;
  letter-spacing: 0.05em;
}

.information__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  letter-spacing: 0.05em;
  line-height: 1.6;
}

.information__item p {
  margin: 0;
}

.information__icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.information__map-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
  min-width: 0;
}

.information__map {
  width: 100%;
  max-width: 480px;
  height: auto;
  aspect-ratio: 480 / 250;
  background: rgba(120, 123, 131, 0.5);
  padding: 16px;
  box-shadow: 10px 10px 10px rgba(122, 134, 158, 0.03);
}

.information__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.information__map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Zen Old Mincho", serif;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--color-white);
  text-decoration: none;
}

.information__map-link img {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   6. Footer Styles
   ========================================================================== */
.site-footer {
  background: var(--color-white);
}

.footer-cta {
  background: var(--color-white);
}

.footer-cta__inner {
  position: relative;
  max-width: none;
  width: 100%;
  min-height: 473px;
  padding: 120px 160px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: url("../images/footer/footer-cta-bg.png") center / cover no-repeat;
  overflow: hidden;
}

.footer-cta__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/footer/footer-cta-texture.svg") center / cover no-repeat;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.footer-cta__en {
  position: absolute;
  top: 210px;
  left: 0;
  font-family: "Zen Old Mincho", serif;
  font-size: 120px;
  letter-spacing: 0.05em;
  opacity: 0.1;
  background: linear-gradient(250.356deg, #949ba9 3.88%, #697181 100.68%);
  -webkit-background-clip: text;
  color: transparent;
  white-space: nowrap;
  width: max-content;
  z-index: 1;
  pointer-events: none;
  animation: footer-cta-marquee 22s linear infinite;
  will-change: transform;
}

@keyframes footer-cta-marquee {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

.footer-cta__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: 960px;
}

.footer-cta__text-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  max-width: 680px;
}

.footer-cta__title {
  margin: 0;
  font-family: "Zen Old Mincho", serif;
  font-size: 28px;
  letter-spacing: 0.1em;
  background: linear-gradient(237.633deg, #949ba9 3.88%, #697181 100.68%);
  -webkit-background-clip: text;
  color: transparent;
}

.footer-cta__text {
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: #787b83;
}

.footer-cta__text p {
  margin: 0;
}

.footer-cta__buttons {
  display: flex;
  gap: 40px;
  width: 100%;
  justify-content: center;
}

.footer-cta__button {
  position: relative;
  width: 460px;
  height: 80px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--color-white);
  font-family: "Zen Old Mincho", serif;
  letter-spacing: 0.05em;
}

.footer-cta__button--web {
  background: #b5a27c;
  font-size: 26px;
}

.footer-cta__button--tel {
  background: #595a5d;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

.footer-cta__button-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-cta__button-main img {
  width: 28px;
  height: 28px;
}

.footer-cta__button-sub {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  letter-spacing: 0.05em;
}

.footer-cta__button-number {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.footer-cta__button-number img {
  width: 20px;
  height: 20px;
}

.footer-cta__button-arrow {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
}

.footer-main {
  background: #f8f8f9;
  padding: 80px 0 56px;
}

.footer-main__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 56px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.footer-info {
  background: #f1f1f6;
  border: 1.5px solid #e8e8f0;
  padding: 42px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.footer-info__logo {
  width: 145px;
  height: 48px;
  object-fit: contain;
}

.footer-info__details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #595a5d;
}

.footer-info__name {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: "Zen Old Mincho", serif;
}

.footer-info__org {
  font-size: 13px;
  letter-spacing: 0.05em;
}

.footer-info__clinic {
  font-size: 20px;
  letter-spacing: 0.05em;
}

.footer-info__address {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  letter-spacing: 0.05em;
}

.footer-info__address img {
  width: 20px;
  height: 20px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 40px;
  color: #787b83;
  font-family: "Zen Old Mincho", serif;
  font-size: 14px;
  letter-spacing: 0.05em;
}

.footer-social__link {
  position: relative;
  padding-right: 44px;
  height: 40px;
  display: inline-flex;
  align-items: center;
}

.footer-social__link img {
  position: absolute;
  right: 0;
  top: 0;
  width: 40px;
  height: 40px;
}

.footer-menus {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 268px;
}

details.footer-menu--accordion > summary {
  list-style: none;
  cursor: default;
  pointer-events: none;
}

details.footer-menu--accordion > summary::-webkit-details-marker {
  display: none;
}

details.footer-menu--accordion > .footer-menu__line {
  display: block;
}

details.footer-menu--accordion > .footer-menu__list {
  display: flex;
}

.footer-menu__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #b5a27c;
  font-size: 16px;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0.05em;
}

.footer-menu__title p {
  margin: 0;
}

.footer-menu__title img {
  width: 9px;
  height: 9px;
}

.footer-menu__line {
  width: 100%;
  height: 1.5px;
  display: block;
}

.footer-menu__line img {
  width: 100%;
  height: 1.5px;
  display: block;
}

.footer-menu__list {
  list-style: none;
  margin: 0;
  padding: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #595a5d;
  font-size: 14px;
  letter-spacing: 0.05em;
}

.footer-menu__list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-menu__list a {
  color: inherit;
  line-height: 1.35;
}

.footer-menu__dot {
  width: 4px;
  height: 4px;
  background: #b5a27c;
  margin-top: 6px;
  flex-shrink: 0;
}

.footer-links {
  background: #e8e8f0;
  padding: 56px 0 80px;
}

.footer-links__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  font-weight: 500;
}

.footer-links__row {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.footer-links__item {
  position: relative;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  letter-spacing: 0.05em;
  color: #595a5d;
  padding: 0 12px;
}

.footer-links__item:not(:first-child)::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 50%;
  width: 20px;
  height: 1px;
  transform: translateY(-50%) rotate(90deg);
  background: url("../icons/footer/footer-line-primary.svg") center / contain no-repeat;
}

.footer-links__row--small .footer-links__item {
  font-size: 13px;
  color: #787b83;
}

.footer-links__row--small .footer-links__item:not(:first-child)::before {
  background: url("../icons/footer/footer-line-secondary.svg") center / contain no-repeat;
  height: 1px;
}

.footer-bottom {
  background: linear-gradient(184.961deg, #9fa3aa 0%, #72757c 100%);
  color: var(--color-white);
  text-align: center;
  font-family: "Zen Old Mincho", serif;
  font-size: 14px;
  letter-spacing: 0.05em;
  padding: 10px 0;
}

/* ==========================================================================
   7. Lower Page Styles
   ========================================================================== */

/* Lower Main Visual */
.lower-mv {
  position: relative;
  width: 100%;
  height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lower-mv__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.lower-mv__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 250px;
  z-index: 1;
  pointer-events: none;
}

.lower-mv__fade--left {
  left: 0;
  background: linear-gradient(to right, #fff, transparent);
}

.lower-mv__fade--right {
  right: 0;
  background: linear-gradient(to left, #fff, transparent);
}

.lower-mv__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 0 24px;
}

.lower-mv__title {
  margin: 0;
  font-family: "Zen Old Mincho", serif;
  font-weight: 900;
  font-size: 48px;
  line-height: 1.35;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  text-shadow: 0 0 5px #fff;
}

.lower-mv__subtitle {
  margin: 0;
  font-family: "Zen Old Mincho", serif;
  font-weight: 900;
  font-size: 28px;
  line-height: 1.35;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  text-shadow: 0 0 5px #fff;
}

/* Breadcrumb */
.breadcrumb {
  padding: 0 80px;
  margin-top: 24px;
}

.breadcrumb__list {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 6px 12px;
  list-style: none;
  background: var(--color-bg-gray);
  border-radius: 3px;
}

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

.breadcrumb__link,
.breadcrumb__current {
  font-family: "Zen Old Mincho", serif;
  font-weight: 900;
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: 0.7px;
  color: var(--color-primary);
  transition: opacity 0.2s;
}

.breadcrumb__link:hover {
  opacity: 0.7;
}

.breadcrumb__separator {
  display: block;
  width: 14px;
  height: 11px;
  flex-shrink: 0;
}

.breadcrumb__separator img {
  width: 100%;
  height: 100%;
}

/* Section Title */
.section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.section-title__text {
  margin: 0;
  font-family: "Zen Old Mincho", serif;
  font-weight: 900;
  font-size: 32px;
  line-height: 1.35;
  letter-spacing: 0.05em;
  text-align: center;
  color: var(--color-gold);
}

.section-title__line {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    var(--color-gold-light) 15%,
    var(--color-gold-light) 85%,
    transparent 100%
  );
}

/* Content Block */
.content-block {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  max-width: var(--container-lg);
}

.content-block__heading {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 6px 16px;
  margin: 0;
  background: var(--color-gold-light);
  font-family: "Zen Old Mincho", serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.35;
  letter-spacing: 1.3px;
  color: #fff;
}

.content-block__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.content-block__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.32px;
  color: var(--color-text);
}

.content-block__text strong {
  font-weight: 700;
}

.content-block__text .marker {
  background: linear-gradient(transparent 60%, #ebe8d9 60%);
}

/* Treatment Section */
.treatment-section {
  padding: 56px 80px;
  display: flex;
  flex-direction: column;
  gap: 56px;
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
}

.treatment-section--top-lg {
  padding-top: 104px;
  padding-bottom: 104px;
}

.treatment-section--gray {
  background: var(--color-bg-gray);
  padding: 104px 120px;
  max-width: none;
}

.treatment-block {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.treatment-block__subheading {
  display: flex;
  align-items: center;
  gap: 8px;
}

.treatment-block__subheading::before {
  content: "";
  display: block;
  width: 2px;
  align-self: stretch;
  background: var(--color-gold);
}

.treatment-block__subheading-text {
  margin: 0;
  font-family: "Zen Old Mincho", serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: 1.1px;
  color: var(--color-gold);
}

/* Treatment Content */
.treatment-content {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.treatment-content__image {
  flex-shrink: 0;
  width: 48%;
  max-width: 500px;
  aspect-ratio: 500 / 333;
}

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

.treatment-content__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
}

.treatment-content__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.32px;
  color: var(--color-text);
}

/* Detail Link Button */
.detail-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 12px 24px;
  background: #fff;
  border-radius: 100px;
  font-family: "Zen Old Mincho", serif;
  font-weight: 900;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: 0.9px;
  color: var(--color-gold-dark);
  transition: opacity 0.2s, transform 0.2s;
  width: fit-content;
}

.detail-link:hover {
  opacity: 0.8;
  transform: translateX(4px);
}

.detail-link--gray {
  background: var(--color-bg-gray);
}

.detail-link__arrow {
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.detail-link:hover .detail-link__arrow {
  transform: translateX(2px);
}

/* Pricing Table */
.pricing-table {
  position: relative;
  width: 100%;
  border: 1px solid #cdc6ba;
  background: #fff;
}

.pricing-table::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 400px;
  height: 100%;
  background: #f2ede4;
  border-right: 1px solid #cdc6ba;
  pointer-events: none;
  box-sizing: border-box;
}

.pricing-table__row {
  position: relative;
  display: flex;
  align-items: stretch;
  padding: 12px 16px;
}

.pricing-table__row:not(:last-child) {
  border-bottom: 1px solid #cdc6ba;
}

.pricing-table__item {
  flex-shrink: 0;
  width: 368px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pricing-table__name {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: 0.32px;
  color: var(--color-gold);
}

.pricing-table__desc {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: 0.32px;
  color: var(--color-gold);
}

.pricing-table__price {
  flex: 1;
  margin: 0;
  padding-left: 32px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: 0.32px;
  color: var(--color-text);
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* Media Block */
.media-block {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  max-width: var(--container-lg);
}

.media-block__heading {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 6px 16px;
  margin: 0;
  background: var(--color-gold-light);
  font-family: "Zen Old Mincho", serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.35;
  letter-spacing: 1.3px;
  color: #fff;
}

.media-content {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.media-content__image {
  flex-shrink: 0;
  width: 48%;
  max-width: 500px;
  display: block;
  overflow: hidden;
  transition: opacity 0.2s;
}

.media-content__image:hover {
  opacity: 0.85;
}

.media-content__image img {
  width: 100%;
  height: auto;
  display: block;
}

.media-content__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
}

.media-content__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.32px;
  color: var(--color-text);
}

/* ==========================================================================
   8. Responsive Styles
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .hero-slider__viewport {
    scroll-behavior: auto;
  }
}

@media (min-width: 1200px) {
  .mobile-menu {
    display: none;
  }
}

@media (max-width: 1199px) {
  .site-header__top {
    align-items: center;
    padding: 8px 8px 8px 12px;
  }

  .site-header__brand {
    flex-direction: row;
    align-items: center;
    gap: 0;
  }

  .brand-logo img {
    width: 145px;
    height: 48px;
  }

  .brand-access {
    display: none;
  }

  .site-header__cta {
    display: none;
  }

  .site-header__bottom {
    display: none;
  }

  .site-header__hamburger {
    display: flex;
    align-items: center;
  }

  .mobile-menu .footer-menus {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .mobile-menu .footer-menu {
    max-width: none;
    gap: 0;
  }

  .mobile-menu .footer-menu__line {
    display: none;
  }

  .mobile-menu .footer-menu__title {
    height: 50px;
    padding: 10px 16px;
    border-top: 1.5px solid #b5a27c;
    border-bottom: 1.5px solid #b5a27c;
    border-left: none;
    border-right: none;
    border-radius: 0;
    background: var(--color-white);
    font-size: 16px;
    font-weight: 500;
  }

  .mobile-menu .footer-menu + .footer-menu .footer-menu__title {
    border-top: none;
  }

  .mobile-menu details.footer-menu--accordion > summary.footer-menu__title {
    cursor: pointer;
    pointer-events: auto;
  }

  .mobile-menu .footer-menu__title img {
    width: 24px;
    height: 24px;
    border: 1px solid #b5a27c;
    border-radius: 50%;
    box-sizing: border-box;
    transition: transform 0.2s ease;
  }

  .mobile-menu details.footer-menu--accordion > .footer-menu__list {
    display: none;
  }

  .mobile-menu details.footer-menu--accordion[open] > .footer-menu__title {
    background: #b5a27c;
    color: var(--color-white);
  }

  .mobile-menu details.footer-menu--accordion[open] > .footer-menu__title img {
    border-color: transparent;
  }

  .mobile-menu details.footer-menu--accordion[open] > .footer-menu__list {
    display: flex;
  }

  .mobile-menu .footer-menu__list {
    padding: 16px 8px 24px;
    gap: 16px;
  }

  .mobile-menu .footer-menu__list li {
    padding-bottom: 16px;
    border-bottom: 1px solid #e8e8f0;
  }

  .mobile-menu .footer-menu__list li:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  /* Mega Menu SP */
  .mega-menu__inner {
    padding: 24px 16px 40px;
  }

  .mega-menu__banners {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-menu__panel {
    padding: 32px 20px 40px;
  }

  .about-menu__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Hero Slider SP */
  .hero-slider__viewport {
    padding: 0;
    scroll-padding: 0;
    gap: 0;
  }

  .hero-slide picture {
    aspect-ratio: 4 / 5;
  }

  .hero-slider__dots {
    display: none;
  }

  /* Popular Menu SP */
  .popular-menu {
    max-width: 100%;
    margin: 56px auto 0;
    padding: 0 24px 72px;
  }

  .popular-menu__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .popular-card {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .popular-menu__title {
    height: 44px;
  }

  .popular-menu__eyebrow {
    font-size: 88px;
  }

  .popular-menu__heading {
    margin-top: 4px;
    font-size: 28px;
  }

  /* Aesthetic Intro SP */
  .aesthetic-intro {
    padding: 64px 24px 72px;
  }

  .aesthetic-intro__content {
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .aesthetic-intro__heading {
    font-size: 18px;
    text-align: left;
  }

  .aesthetic-intro__body {
    font-size: 14px;
  }

  /* Troubles SP */
  .troubles {
    width: 100%;
    margin: 56px auto 0;
    padding: 64px 0 72px;
  }

  .troubles__title {
    height: 88px;
  }

  .troubles__grid {
    grid-template-columns: repeat(2, minmax(0, 100%));
    gap: 8px;
  }

  .troubles__eyebrow {
    font-size: 88px;
    top: 30px;
  }

  .troubles__heading {
    max-width: 220px;
    margin: 0 auto;
    font-size: 28px;
    line-height: 1.35;
  }

  .trouble-card {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 8px;
    min-height: 160px;
    text-align: center;
  }

  .trouble-card__icon {
    width: 72px;
    height: 72px;
  }

  .trouble-card__icon img {
    width: 56px;
  }

  .trouble-card__body {
    align-items: center;
  }

  .trouble-card__title {
    font-size: 15px;
  }

  .trouble-card__text {
    display: none;
  }

  .trouble-card__arrow {
    margin: auto 0 0;
  }

  /* Service Menu SP */
  .service-menu {
    padding: 72px 0 96px;
  }

  .service-menu__inner {
    gap: 40px;
  }

  .service-menu__eyebrow {
    font-size: 72px;
  }

  .service-menu__heading {
    font-size: 28px;
  }

  .service-block__title h3 {
    font-size: 22px;
  }

  .service-block__banners {
    grid-template-columns: minmax(0, 548px);
    gap: 16px;
  }

  .service-button {
    width: 100%;
    font-size: 16px;
    padding: 14px 16px;
  }

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

  /* Features SP */
  .features {
    padding: 88px 24px 144px;
  }

  .features__inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    gap: 32px;
    align-items: flex-start;
  }

  .features__title {
    width: 100%;
    text-align: center;
    height: 44px;
  }

  .features__eyebrow {
    font-size: 80px;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
  }

  .features__heading {
    font-size: 28px;
    margin-top: 4px;
  }

  .features__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  /* Doctor SP */
  .doctor {
    padding: 88px 0 190px;
  }

  .doctor__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 80px;
    justify-items: center;
    margin: 0 auto;
    padding: 0 24px;
  }

  .doctor__media {
    max-width: 100%;
    width: 100%;
    padding-bottom: 40px;
  }

  .doctor__namecard {
    left: -10px;
    bottom: -39px;
    width: 251px;
    padding: 16px 18px;
    min-height: 99px;
  }

  .doctor__content {
    max-width: 100%;
    margin-left: 0;
    margin-top: 0;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
  }

  .doctor__title {
    height: 44px;
    text-align: left;
  }

  .doctor__eyebrow {
    font-size: 80px;
  }

  .doctor__heading {
    font-size: 26px;
    margin-top: 4px;
  }

  /* Column SP */
  .column {
    padding: 88px 0 64px;
  }

  .column__inner {
    padding: 0 24px;
    gap: 24px;
  }

  .column__categories {
    display: none;
  }

  .column__select {
    position: relative;
    display: block;
    width: 252px;
    max-width: 100%;
    flex: 1;
    min-width: 180px;
  }

  /* Notice SP */
  .notice {
    padding: 0 24px 40px;
  }

  .notice__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
  }

  .notice__aside {
    display: contents;
  }

  .notice__title {
    height: 48px;
    text-align: left;
    order: 1;
  }

  .notice__list-wrap {
    height: 500px;
    order: 2;
  }

  .notice__more {
    order: 3;
  }

  /* Information SP */
  .information {
    padding: 42px 0 96px;
  }

  .information__panel {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    margin: 0 auto;
    min-height: 707px;
    padding: 40px 24px 56px;
    gap: 32px;
  }

  /* Footer CTA SP */
  .footer-cta__inner {
    min-height: 540px;
    padding: 80px 24px 64px;
  }

  .footer-cta__content {
    max-width: 100%;
    gap: 24px;
  }

  .footer-cta__buttons {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .footer-cta__button {
    width: 100%;
    max-width: 100%;
    height: 80px;
  }

  /* Footer Main SP */
  .footer-main {
    background: var(--color-white);
    padding: 64px 0 40px;
  }

  .footer-main__inner {
    padding: 0 24px;
    align-items: center;
    gap: 40px;
  }

  .footer-info {
    width: 100%;
    padding: 32px 24px;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .footer-menus {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .footer-menu {
    max-width: none;
    gap: 0;
  }

  .footer-menu__line {
    display: none;
  }

  .footer-menu__title {
    height: 50px;
    padding: 10px 16px;
    border-top: 1.5px solid #b5a27c;
    border-bottom: 1.5px solid #b5a27c;
    background: var(--color-white);
    font-size: 16px;
    font-weight: 500;
  }

  details.footer-menu--accordion > summary.footer-menu__title {
    cursor: pointer;
    pointer-events: auto;
  }

  details.footer-menu--accordion > .footer-menu__list {
    display: none;
  }

  details.footer-menu--accordion[open] > .footer-menu__title {
    background: #b5a27c;
    color: var(--color-white);
  }

  details.footer-menu--accordion[open] > .footer-menu__list {
    display: flex;
  }

  .footer-menu__list {
    padding: 16px 8px 24px;
    gap: 16px;
  }

  /* Footer Links SP */
  .footer-links {
    padding: 40px 24px 56px;
  }

  .footer-links__inner {
    width: 100%;
    gap: 32px;
    padding: 0;
  }

  .footer-links__row {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .footer-links__item {
    width: 100%;
    padding: 0 0 12px;
    text-align: center;
    border-bottom: 1px solid #d8d9e2;
  }

  .footer-links__item::before {
    display: none;
  }

  .footer-links__row--small {
    display: flex;
    justify-content: center;
    gap: 12px;
  }

  .footer-links__row--small .footer-links__item {
    width: auto;
    padding: 0;
    border-bottom: none;
  }

  /* Lower Page SP */
  .lower-mv {
    height: 200px;
  }

  .lower-mv__fade {
    display: none;
  }

  .lower-mv__title {
    font-size: 32px;
    letter-spacing: 3.2px;
  }

  .lower-mv__subtitle {
    font-size: 20px;
    letter-spacing: 2px;
  }

  .breadcrumb {
    padding: 0 24px;
    margin-top: 16px;
  }

  .breadcrumb__list {
    flex-wrap: wrap;
  }

  .section-title__text {
    font-size: 28px;
    letter-spacing: 1.4px;
  }

  .section-title__line {
    background: linear-gradient(
      to right,
      transparent 0%,
      var(--color-gold-light) 0%,
      var(--color-gold-light) 100%,
      transparent 100%
    );
  }

  .treatment-section {
    padding: 80px 24px;
    gap: 40px;
  }

  .treatment-section--top-lg {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .treatment-section--gray {
    padding: 80px 24px;
  }

  .treatment-content {
    flex-direction: column;
    gap: 24px;
  }

  .treatment-content__image {
    width: 100%;
    max-width: none;
    aspect-ratio: 352 / 234;
  }

  .content-block {
    gap: 24px;
    max-width: none;
  }

  .content-block__heading {
    font-size: 24px;
    letter-spacing: 1.2px;
    padding: 6px 16px;
  }

  .media-content {
    flex-direction: column;
    gap: 24px;
  }

  .media-content__image {
    width: 100%;
    max-width: none;
  }

  /* Pricing Table SP */
  .pricing-table {
    border: none;
  }

  .pricing-table::before {
    display: none;
  }

  .pricing-table__row {
    flex-direction: column;
    gap: 0;
    padding: 0;
    border: 1px solid #cdc6ba;
  }

  .pricing-table__row:not(:last-child) {
    border-bottom: none;
  }

  .pricing-table__item {
    width: 100%;
    padding: 12px 16px;
    background: #f2ede4;
    border-bottom: 1px solid #cdc6ba;
    text-align: center;
    align-items: center;
  }

  .pricing-table__price {
    width: 100%;
    padding: 12px 16px;
    text-align: center;
    justify-content: center;
    background: #fff;
  }
}
