/* ==========================================================================
   IRODORI Esthetic — エステサロン / Lumière Esthétique
   Prefix: .est-*
   Colors: Purple #8B6F8E × Gold #C9A96E × Cream #FAF6F2
   Preloader: L12 マスクリビール
   Hero: E:video
   Scroll: S10:blur-reveal / S3:slideRight / S5:scale
   Reference: TCD HOLOS(TCD108) 美容カテゴリ構造 — video hero + BA section + voice
   ========================================================================== */

/* ==========================================================================
   01. CSS Custom Properties
   ========================================================================== */
:root {
  /* Primary palette — mauve × gold */
  --est-primary:       #8b6f8e;
  --est-primary-dark:  #6b4f6e;
  --est-primary-light: #c4a8c7;
  --est-primary-pale:  rgba(139, 111, 142, 0.08);
  --est-secondary:     #d4a8c7;

  /* Gold accent */
  --est-gold:          #c9a96e;
  --est-gold-light:    #e8d5a8;
  --est-gold-dark:     #a8894e;
  --est-gold-pale:     rgba(201, 169, 110, 0.12);

  /* Warm neutrals */
  --est-cream:         #faf6f2;
  --est-ivory:         #f8f5f0;
  --est-blush:         #f5e6ef;
  --est-lavender:      #ede7f6;
  --est-rose:          #f0e0e8;

  /* Text */
  --est-text:          #3d3035;
  --est-text-light:    #7a6e74;
  --est-text-muted:    #b0a4a8;

  /* Background */
  --est-bg:            #fdfbf9;
  --est-surface:       #ffffff;
  --est-border:        #e8e0e4;
  --est-border-light:  #f2eef0;

  /* Dark (footer) */
  --est-dark:          #2d1b30;
  --est-dark-mid:      #3d2840;
  --est-footer-text:   rgba(255, 255, 255, 0.65);
  --est-footer-gold:   #c9a96e;

  /* Typography */
  --est-display:       "Cormorant Garamond", "Noto Serif JP", Georgia, serif;
  --est-body:          "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --est-serif:         "Noto Serif JP", "Yu Mincho", serif;

  /* Fluid type */
  --est-fs-xs:   clamp(11px, 1.1vw, 13px);
  --est-fs-sm:   clamp(12px, 1.3vw, 14px);
  --est-fs-base: clamp(14px, 1.5vw, 16px);
  --est-fs-md:   clamp(17px, 2vw, 20px);
  --est-fs-lg:   clamp(22px, 2.8vw, 28px);
  --est-fs-xl:   clamp(28px, 3.6vw, 36px);
  --est-fs-2xl:  clamp(32px, 5vw, 48px);
  --est-fs-hero: clamp(34px, 5.5vw, 56px);

  /* Spacing */
  --est-sp-xs:  0.4rem;
  --est-sp-sm:  0.8rem;
  --est-sp-md:  1.6rem;
  --est-sp-lg:  3.2rem;
  --est-sp-xl:  6.4rem;
  --est-sp-2xl: 9.6rem;

  /* Layout */
  --est-container:     1120px;
  --est-container-sm:  800px;
  --est-header-h:      72px;
  --est-radius:        12px;
  --est-radius-lg:     24px;
  --est-radius-xl:     48px;

  /* Effects */
  --est-shadow-sm:     0 2px 8px rgba(61, 48, 53, 0.08);
  --est-shadow-md:     0 8px 32px rgba(61, 48, 53, 0.12);
  --est-shadow-lg:     0 16px 48px rgba(61, 48, 53, 0.16);
  --est-shadow-gold:   0 4px 20px rgba(201, 169, 110, 0.3);

  /* Transitions */
  --est-ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --est-ease-out:    cubic-bezier(0, 0, 0.2, 1);
  --est-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --est-duration:    0.3s;
}

/* ==========================================================================
   02. Reset & Base
   ========================================================================== */
.est-body {
  font-family: var(--est-body);
  font-size: var(--est-fs-base);
  line-height: 1.75;
  color: var(--est-text);
  background: var(--est-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

.est-body a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   03. Layout Utilities
   ========================================================================== */
.est-container {
  max-width: var(--est-container);
  margin-inline: auto;
  padding-inline: 1.6rem;
}

.est-container--sm {
  max-width: var(--est-container-sm);
  margin-inline: auto;
  padding-inline: 1.6rem;
}

.est-section {
  padding-block: var(--est-sp-xl);
}

.est-section--sm {
  padding-block: var(--est-sp-lg);
}

.est-section--dark {
  background: var(--est-dark);
  color: #fff;
}

.est-section--cream {
  background: var(--est-cream);
}

.est-section--blush {
  background: var(--est-blush);
}

.est-section__header {
  text-align: center;
  margin-bottom: 4.8rem;
}

.est-section__eyebrow {
  display: block;
  font-family: var(--est-display);
  font-size: var(--est-fs-sm);
  letter-spacing: 0.25em;
  color: var(--est-gold);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.est-section__title {
  font-family: var(--est-display);
  font-size: var(--est-fs-xl);
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.3;
  color: var(--est-text);
}

.est-section__desc {
  margin-top: 1.2rem;
  color: var(--est-text-light);
  max-width: 44ch;
  margin-inline: auto;
}

/* ==========================================================================
   04. Header & Navigation
   ========================================================================== */
.est-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 900;
  height: var(--est-header-h);
  transition: background var(--est-duration) var(--est-ease),
              box-shadow var(--est-duration) var(--est-ease);
  background: transparent;
}

.est-header.is-scrolled {
  background: rgba(253, 251, 249, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--est-border);
}

.est-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2.4rem;
  padding-inline: 2.4rem;
}

.est-header__logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}

.est-header__logo-mark {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--est-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--est-gold);
}

.est-header__logo-text {
  display: flex;
  flex-direction: column;
}

.est-header__logo-jp {
  font-family: var(--est-serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--est-text);
  line-height: 1.2;
}

.est-header__logo-en {
  font-family: var(--est-display);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--est-gold);
  text-transform: uppercase;
}

.est-header__nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.est-header__nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.est-header__nav-link {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--est-text);
  transition: color var(--est-duration) var(--est-ease);
  position: relative;
}

.est-header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--est-gold);
  transition: width var(--est-duration) var(--est-ease);
}

.est-header__nav-link:hover { color: var(--est-primary); }
.est-header__nav-link:hover::after { width: 100%; }

.est-header__actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-shrink: 0;
}

.est-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--est-primary);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 0.6rem 1.6rem;
  border-radius: var(--est-radius-xl);
  transition: background var(--est-duration) var(--est-ease),
              box-shadow var(--est-duration) var(--est-ease);
}

.est-header__cta:hover {
  background: var(--est-primary-dark);
  box-shadow: var(--est-shadow-gold);
}

.est-header__menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.est-header__menu-btn span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--est-text);
  transition: transform var(--est-duration) var(--est-ease),
              opacity var(--est-duration) var(--est-ease);
}

/* ==========================================================================
   05. Drawer (Mobile Menu)
   ========================================================================== */
.est-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(360px, 90vw);
  height: 100vh;
  background: var(--est-surface);
  z-index: 1000;
  padding: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transition: right 0.4s var(--est-ease);
  box-shadow: var(--est-shadow-lg);
}

.est-drawer.is-open { right: 0; }

.est-drawer__close {
  align-self: flex-end;
  background: none;
  border: 1px solid var(--est-border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 18px;
  color: var(--est-text-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.est-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.est-drawer__nav-link {
  display: block;
  font-size: 15px;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--est-border-light);
  color: var(--est-text);
  letter-spacing: 0.04em;
}

.est-drawer__cta {
  display: block;
  text-align: center;
  background: var(--est-primary);
  color: #fff;
  padding: 1rem 1.6rem;
  border-radius: var(--est-radius-xl);
  font-size: 14px;
  letter-spacing: 0.1em;
}

.est-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--est-duration) var(--est-ease);
}

.est-drawer-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   06. Preloader — L12 マスクリビール
   ========================================================================== */
@property --est-mask-size {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 0%;
}

.est-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.est-loader__surface {
  position: absolute;
  inset: 0;
  background: var(--est-dark);
  mask-image: radial-gradient(
    ellipse at 50% 50%,
    transparent var(--est-mask-size),
    black 0%
  );
  -webkit-mask-image: radial-gradient(
    ellipse at 50% 50%,
    transparent var(--est-mask-size),
    black 0%
  );
  --est-mask-size: 0%;
}

.est-loader__surface.is-revealing {
  animation: est-mask-reveal 1.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes est-mask-reveal {
  to { --est-mask-size: 180%; }
}

.est-loader__content {
  position: relative;
  z-index: 3;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.est-loader__diamond {
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--est-gold);
  transform: rotate(45deg);
  animation: est-diamond-pulse 2s ease-in-out infinite;
}

@keyframes est-diamond-pulse {
  0%, 100% { opacity: 0.4; transform: rotate(45deg) scale(1); }
  50% { opacity: 1; transform: rotate(45deg) scale(1.1); }
}

.est-loader__text {
  font-family: var(--est-display);
  font-size: 1.1rem;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.est-loader__surface.is-revealing ~ .est-loader__content .est-loader__text {
  opacity: 1;
}

.est-loader__subtext {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--est-gold);
  opacity: 0;
  transition: opacity 0.6s ease 0.3s;
}

.est-loader__surface.is-revealing ~ .est-loader__content .est-loader__subtext {
  opacity: 1;
}

.est-loader.is-exit {
  animation: est-loader-exit 0.6s ease forwards;
}

@keyframes est-loader-exit {
  to { opacity: 0; pointer-events: none; }
}

@media (prefers-reduced-motion: reduce) {
  .est-loader__surface.is-revealing {
    animation: none;
    --est-mask-size: 180%;
  }
  .est-loader__diamond { animation: none; }
  .est-loader__text,
  .est-loader__subtext { opacity: 1; }
}

/* ==========================================================================
   07. Hero — E:video
   ========================================================================== */
.est-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--est-header-h);
}

.est-hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.est-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.est-hero__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
}

.est-hero__video[data-failed] ~ .est-hero__fallback { z-index: 1; }

.est-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(45, 27, 48, 0.72) 0%,
    rgba(45, 27, 48, 0.42) 60%,
    rgba(45, 27, 48, 0.25) 100%
  );
  pointer-events: none;
}

.est-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: calc(100vh - var(--est-header-h));
  display: flex;
  align-items: center;
  padding-block: 6.4rem;
}

.est-hero__content {
  max-width: 760px;
}

.est-hero__eyebrow {
  display: block;
  font-family: var(--est-display);
  font-size: var(--est-fs-sm);
  letter-spacing: 0.28em;
  color: var(--est-gold-light);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.est-hero__title {
  font-family: var(--est-display);
  font-size: var(--est-fs-hero);
  font-weight: 300;
  line-height: 1.2;
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: 1.6rem;
}

.est-hero__title em {
  font-style: italic;
  color: var(--est-gold-light);
}

.est-hero__desc {
  font-size: var(--est-fs-md);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 3.2rem;
  max-width: 38ch;
}

.est-hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.est-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.4rem;
  border-radius: var(--est-radius-xl);
  font-size: 14px;
  letter-spacing: 0.1em;
  transition: background var(--est-duration) var(--est-ease),
              box-shadow var(--est-duration) var(--est-ease),
              transform var(--est-duration) var(--est-ease);
}

.est-hero__cta--primary {
  background: var(--est-gold);
  color: var(--est-dark);
  font-weight: 600;
}

.est-hero__cta--primary:hover {
  background: var(--est-gold-light);
  box-shadow: 0 8px 24px rgba(201, 169, 110, 0.4);
  transform: translateY(-2px);
}

.est-hero__cta--secondary {
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.est-hero__cta--secondary:hover {
  border-color: var(--est-gold);
  background: rgba(201, 169, 110, 0.15);
  transform: translateY(-2px);
}

.est-hero__scroll-hint {
  position: absolute;
  bottom: 2.4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.est-hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--est-gold));
  animation: est-scroll-drop 1.8s ease-in-out infinite;
}

@keyframes est-scroll-drop {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(1.3); opacity: 0.5; }
}

.est-hero__scroll-text {
  font-family: var(--est-display);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--est-gold-light);
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  .est-hero__video { display: none; }
  .est-hero__fallback { z-index: 1; }
  .est-hero__scroll-line { animation: none; }
}

/* ==========================================================================
   08. Concept Section
   ========================================================================== */
.est-concept {
  padding-block: var(--est-sp-xl);
  background: var(--est-bg);
}

.est-concept__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6.4rem;
  align-items: center;
}

.est-concept__image-wrap {
  position: relative;
}

.est-concept__image {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--est-radius-lg);
}

.est-concept__image-badge {
  position: absolute;
  bottom: -1.6rem;
  right: -1.6rem;
  width: 96px;
  height: 96px;
  background: var(--est-dark);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  box-shadow: var(--est-shadow-gold);
}

.est-concept__image-badge-num {
  font-family: var(--est-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--est-gold);
  line-height: 1;
}

.est-concept__image-badge-text {
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--est-footer-text);
  text-transform: uppercase;
}

.est-concept__lead {
  font-family: var(--est-display);
  font-size: var(--est-fs-xl);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 0.04em;
  margin-bottom: 1.6rem;
  color: var(--est-text);
}

.est-concept__lead em {
  font-style: italic;
  color: var(--est-primary);
}

.est-concept__text {
  color: var(--est-text-light);
  line-height: 1.9;
  margin-bottom: 1.2rem;
}

.est-concept__features {
  margin-top: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.est-concept__feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.est-concept__feature-icon {
  width: 32px;
  height: 32px;
  background: var(--est-gold-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--est-gold-dark);
  font-size: 14px;
}

.est-concept__feature-text {
  font-size: var(--est-fs-sm);
  color: var(--est-text);
  line-height: 1.6;
}

/* ==========================================================================
   09. Services Section
   ========================================================================== */
.est-services {
  padding-block: var(--est-sp-xl);
  background: var(--est-cream);
}

.est-services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.est-service-card {
  background: var(--est-surface);
  border-radius: var(--est-radius-lg);
  overflow: hidden;
  box-shadow: var(--est-shadow-sm);
  transition: transform var(--est-duration) var(--est-ease),
              box-shadow var(--est-duration) var(--est-ease);
}

.est-service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--est-shadow-md);
}

.est-service-card__image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.est-service-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--est-ease);
}

.est-service-card:hover .est-service-card__image {
  transform: scale(1.06);
}

.est-service-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--est-primary);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.8rem;
  border-radius: var(--est-radius-xl);
}

.est-service-card__body {
  padding: 1.6rem;
}

.est-service-card__name {
  font-family: var(--est-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--est-text);
  margin-bottom: 0.6rem;
}

.est-service-card__desc {
  font-size: var(--est-fs-xs);
  color: var(--est-text-light);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.est-service-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.est-service-card__price-num {
  font-family: var(--est-display);
  font-size: 1.3rem;
  color: var(--est-primary);
  font-weight: 600;
}

.est-service-card__price-unit {
  font-size: var(--est-fs-xs);
  color: var(--est-text-muted);
}

.est-service-card__link {
  display: block;
  margin-top: 1rem;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--est-gold-dark);
  border-bottom: 1px solid var(--est-gold);
  padding-bottom: 0.3rem;
  transition: opacity var(--est-duration);
}

.est-service-card__link:hover { opacity: 0.7; }

/* ==========================================================================
   10. Before/After Section
   ========================================================================== */
.est-ba {
  padding-block: var(--est-sp-xl);
  background: var(--est-bg);
}

.est-ba__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
}

.est-ba-card {
  background: var(--est-surface);
  border-radius: var(--est-radius-lg);
  overflow: hidden;
  box-shadow: var(--est-shadow-sm);
}

.est-ba-card__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.est-ba-card__image-side {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.est-ba-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.est-ba-card__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.4rem 0.6rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.est-ba-card__label--before {
  background: rgba(61, 48, 53, 0.7);
  color: rgba(255, 255, 255, 0.9);
}

.est-ba-card__label--after {
  background: rgba(139, 111, 142, 0.85);
  color: #fff;
}

.est-ba-card__divider {
  height: 2px;
  background: linear-gradient(to right, var(--est-primary), var(--est-gold));
}

.est-ba-card__body {
  padding: 1.4rem;
}

.est-ba-card__course {
  font-size: var(--est-fs-xs);
  letter-spacing: 0.1em;
  color: var(--est-gold-dark);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.est-ba-card__title {
  font-family: var(--est-serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--est-text);
  margin-bottom: 0.4rem;
}

.est-ba-card__meta {
  font-size: 12px;
  color: var(--est-text-muted);
}

/* ==========================================================================
   11. Voice / Testimonials
   ========================================================================== */
.est-voice {
  padding-block: var(--est-sp-xl);
  background: var(--est-blush);
}

.est-voice__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.est-voice-card {
  background: var(--est-surface);
  border-radius: var(--est-radius-lg);
  padding: 2rem;
  box-shadow: var(--est-shadow-sm);
  position: relative;
}

.est-voice-card::before {
  content: '"';
  position: absolute;
  top: -0.4rem;
  left: 1.6rem;
  font-family: var(--est-display);
  font-size: 5rem;
  color: var(--est-primary-light);
  line-height: 1;
  opacity: 0.4;
}

.est-voice-card__stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
}

.est-voice-card__star {
  color: var(--est-gold);
  font-size: 14px;
}

.est-voice-card__text {
  font-size: var(--est-fs-sm);
  color: var(--est-text);
  line-height: 1.8;
  margin-bottom: 1.6rem;
}

.est-voice-card__profile {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.est-voice-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--est-primary-pale);
}

.est-voice-card__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--est-text);
}

.est-voice-card__age {
  font-size: 11px;
  color: var(--est-text-muted);
}

.est-voice-card__course {
  font-size: 11px;
  color: var(--est-primary);
  margin-top: 0.2rem;
}

/* ==========================================================================
   12. Staff Section
   ========================================================================== */
.est-staff {
  padding-block: var(--est-sp-xl);
  background: var(--est-bg);
}

.est-staff__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
}

.est-staff-card {
  text-align: center;
}

.est-staff-card__image-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 1.6rem;
}

.est-staff-card__image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 3px solid var(--est-border);
  transition: border-color var(--est-duration) var(--est-ease);
}

.est-staff-card:hover .est-staff-card__image {
  border-color: var(--est-gold);
}

.est-staff-card__role {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--est-gold-dark);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.est-staff-card__name {
  font-family: var(--est-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--est-text);
  margin-bottom: 0.6rem;
}

.est-staff-card__license {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}

.est-staff-card__license-item {
  font-size: 11px;
  background: var(--est-primary-pale);
  color: var(--est-primary-dark);
  border-radius: 100px;
  padding: 0.2rem 0.7rem;
}

.est-staff-card__bio {
  font-size: var(--est-fs-xs);
  color: var(--est-text-light);
  line-height: 1.8;
}

/* ==========================================================================
   13. Campaign Banner
   ========================================================================== */
.est-campaign {
  padding-block: var(--est-sp-lg);
  background: linear-gradient(135deg, var(--est-primary) 0%, var(--est-primary-dark) 100%);
  position: relative;
  overflow: hidden;
}

.est-campaign::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.est-campaign__inner {
  display: flex;
  align-items: center;
  gap: 4rem;
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
}

.est-campaign__label {
  display: inline-block;
  background: var(--est-gold);
  color: var(--est-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 0.3rem 1rem;
  border-radius: var(--est-radius-xl);
  margin-bottom: 0.8rem;
}

.est-campaign__title {
  font-family: var(--est-display);
  font-size: var(--est-fs-xl);
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
}

.est-campaign__desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--est-fs-sm);
}

.est-campaign__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--est-gold);
  color: var(--est-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 1rem 2.4rem;
  border-radius: var(--est-radius-xl);
  transition: background var(--est-duration) var(--est-ease),
              transform var(--est-duration) var(--est-ease);
  flex-shrink: 0;
}

.est-campaign__cta:hover {
  background: var(--est-gold-light);
  transform: translateY(-2px);
}

/* ==========================================================================
   14. News Section
   ========================================================================== */
.est-news {
  padding-block: var(--est-sp-xl);
  background: var(--est-cream);
}

.est-news__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.est-news-item {
  display: flex;
  align-items: flex-start;
  gap: 1.6rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--est-border-light);
  transition: background var(--est-duration) var(--est-ease);
}

.est-news-item:first-child { border-top: 1px solid var(--est-border-light); }

.est-news-item:hover { background: var(--est-primary-pale); }

.est-news-item__date {
  font-family: var(--est-display);
  font-size: var(--est-fs-sm);
  color: var(--est-text-muted);
  white-space: nowrap;
  padding-top: 0.1rem;
  min-width: 90px;
}

.est-news-item__cat {
  display: inline-flex;
  align-items: center;
  background: var(--est-primary-pale);
  color: var(--est-primary-dark);
  font-size: 11px;
  padding: 0.2rem 0.7rem;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}

.est-news-item__title {
  font-size: var(--est-fs-sm);
  color: var(--est-text);
  line-height: 1.5;
  transition: color var(--est-duration) var(--est-ease);
}

.est-news-item:hover .est-news-item__title { color: var(--est-primary); }

/* ==========================================================================
   15. Access Section
   ========================================================================== */
.est-access {
  padding-block: var(--est-sp-xl);
  background: var(--est-bg);
}

.est-access__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.est-access__map {
  aspect-ratio: 4/3;
  background: var(--est-border-light);
  border-radius: var(--est-radius-lg);
  overflow: hidden;
}

.est-access__map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.est-access__name {
  font-family: var(--est-serif);
  font-size: var(--est-fs-lg);
  font-weight: 600;
  color: var(--est-text);
  margin-bottom: 0.6rem;
}

.est-access__address {
  color: var(--est-text-light);
  font-size: var(--est-fs-sm);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.est-hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--est-fs-sm);
}

.est-hours-table th {
  text-align: left;
  padding: 0.7rem 1rem 0.7rem 0;
  font-weight: 500;
  color: var(--est-text);
  border-bottom: 1px solid var(--est-border-light);
  white-space: nowrap;
  min-width: 80px;
}

.est-hours-table td {
  padding: 0.7rem 1rem;
  color: var(--est-text-light);
  border-bottom: 1px solid var(--est-border-light);
}

.est-hours-table__closed {
  color: var(--est-text-muted);
  font-style: italic;
}

.est-access__tel {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.6rem;
  font-family: var(--est-display);
  font-size: var(--est-fs-lg);
  font-weight: 600;
  color: var(--est-primary);
  letter-spacing: 0.04em;
}

/* ==========================================================================
   16. CTA Banner
   ========================================================================== */
.est-cta-banner {
  padding-block: var(--est-sp-xl);
  background: var(--est-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.est-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(201,169,110,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.est-cta-banner__eyebrow {
  display: block;
  font-family: var(--est-display);
  font-size: var(--est-fs-sm);
  letter-spacing: 0.25em;
  color: var(--est-gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
  position: relative;
}

.est-cta-banner__title {
  font-family: var(--est-display);
  font-size: var(--est-fs-xl);
  font-weight: 300;
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  line-height: 1.3;
  position: relative;
}

.est-cta-banner__desc {
  color: var(--est-footer-text);
  max-width: 40ch;
  margin-inline: auto;
  margin-bottom: 2.4rem;
  position: relative;
}

.est-cta-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--est-gold);
  color: var(--est-dark);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 1.2rem 3.2rem;
  border-radius: var(--est-radius-xl);
  transition: background var(--est-duration) var(--est-ease),
              box-shadow var(--est-duration) var(--est-ease),
              transform var(--est-duration) var(--est-ease);
  position: relative;
}

.est-cta-banner__btn:hover {
  background: var(--est-gold-light);
  box-shadow: 0 8px 32px rgba(201, 169, 110, 0.5);
  transform: translateY(-3px);
}

/* ==========================================================================
   17. Footer
   ========================================================================== */
.est-footer {
  background: var(--est-dark);
  color: var(--est-footer-text);
  padding-top: 5.6rem;
}

.est-footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.est-footer__logo-text {
  display: block;
  font-family: var(--est-serif);
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}

.est-footer__logo-en {
  display: block;
  font-family: var(--est-display);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--est-gold);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.est-footer__brand-address {
  font-size: var(--est-fs-xs);
  line-height: 1.8;
  font-style: normal;
  color: var(--est-footer-text);
}

.est-footer__nav-title {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--est-gold);
  margin-bottom: 1.2rem;
}

.est-footer__nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.est-footer__nav-link {
  font-size: var(--est-fs-xs);
  color: var(--est-footer-text);
  transition: color var(--est-duration) var(--est-ease);
}

.est-footer__nav-link:hover { color: #fff; }

.est-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.4rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.est-footer__copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.est-footer__legal-links {
  display: flex;
  gap: 1.6rem;
}

.est-footer__legal-link {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  transition: color var(--est-duration);
}

.est-footer__legal-link:hover { color: var(--est-footer-text); }

/* ==========================================================================
   18. Page Hero (sub-pages)
   ========================================================================== */
.est-page-hero {
  padding: calc(var(--est-header-h) + 4.8rem) 0 4rem;
  background: linear-gradient(135deg, var(--est-primary) 0%, var(--est-primary-dark) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.est-page-hero__bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--est-display);
  font-size: clamp(60px, 12vw, 120px);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.06);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.08em;
}

.est-page-hero__eyebrow {
  display: block;
  font-family: var(--est-display);
  font-size: var(--est-fs-xs);
  letter-spacing: 0.3em;
  color: var(--est-gold-light);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.est-page-hero__title {
  font-family: var(--est-display);
  font-size: var(--est-fs-xl);
  font-weight: 300;
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: 0.8rem;
}

.est-page-hero__sub {
  font-size: var(--est-fs-sm);
  color: rgba(255, 255, 255, 0.75);
}

/* ==========================================================================
   19. Breadcrumb
   ========================================================================== */
.est-breadcrumb {
  background: var(--est-cream);
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--est-border-light);
}

.est-breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 12px;
  color: var(--est-text-muted);
}

.est-breadcrumb__list li + li::before {
  content: '›';
  margin-right: 0.6rem;
}

.est-breadcrumb__link {
  color: var(--est-primary);
  transition: color var(--est-duration);
}

.est-breadcrumb__link:hover { color: var(--est-primary-dark); }

/* ==========================================================================
   20. HTML Content (prose)
   ========================================================================== */
.est-prose h2 {
  font-family: var(--est-serif);
  font-size: var(--est-fs-lg);
  color: var(--est-primary-dark);
  border-left: 4px solid var(--est-primary);
  padding-left: 1rem;
  margin: 2.4rem 0 1rem;
}

.est-prose h3 {
  font-family: var(--est-serif);
  font-size: var(--est-fs-md);
  color: var(--est-text);
  margin: 1.6rem 0 0.8rem;
}

.est-prose p {
  color: var(--est-text-light);
  line-height: 1.9;
  margin-bottom: 1.2rem;
}

.est-prose ul {
  padding-left: 1.6rem;
  color: var(--est-text-light);
  line-height: 1.9;
}

.est-prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--est-fs-sm);
}

.est-prose table th {
  background: var(--est-primary-pale);
  color: var(--est-primary-dark);
  padding: 0.8rem 1rem;
  border: 1px solid var(--est-border);
  font-weight: 600;
}

.est-prose table td {
  padding: 0.8rem 1rem;
  border: 1px solid var(--est-border);
  color: var(--est-text-light);
}

/* ==========================================================================
   21. Scroll Animations
   ========================================================================== */

/* S10: blur-reveal */
.est-inview {
  opacity: 0;
  transition: opacity 0.8s var(--est-ease),
              filter 0.8s var(--est-ease),
              transform 0.8s var(--est-ease);
  filter: blur(8px);
  transform: translateY(8px);
}

.est-inview.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* S3: slideRight */
.est-inview-right {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--est-ease),
              transform 0.8s var(--est-ease);
}

.est-inview-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* S5: scale */
.est-inview-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s var(--est-ease),
              transform 0.8s var(--est-ease-spring);
}

.est-inview-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delay helpers */
.est-delay-1 { transition-delay: 0.1s; }
.est-delay-2 { transition-delay: 0.2s; }
.est-delay-3 { transition-delay: 0.3s; }
.est-delay-4 { transition-delay: 0.4s; }
.est-delay-5 { transition-delay: 0.5s; }
.est-delay-6 { transition-delay: 0.6s; }

@media (prefers-reduced-motion: reduce) {
  .est-inview,
  .est-inview-right,
  .est-inview-scale {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   22. Utility
   ========================================================================== */
.est-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.est-text-gold { color: var(--est-gold); }
.est-text-primary { color: var(--est-primary); }
.est-text-muted { color: var(--est-text-muted); }
.est-text-center { text-align: center; }

/* ==========================================================================
   23. Responsive — Tablet (max-width: 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .est-services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .est-concept__grid {
    grid-template-columns: 1fr;
    gap: 3.2rem;
  }

  .est-concept__image-wrap {
    max-width: 480px;
    margin-inline: auto;
  }

  .est-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   24. Responsive — Mobile (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .est-header__nav { display: none; }
  .est-header__cta { display: none; }
  .est-header__menu-btn { display: flex; }

  .est-hero__title {
    font-size: clamp(28px, 7vw, 40px);
  }

  .est-hero__desc { max-width: 100%; }

  .est-hero__cta-group { flex-direction: column; }

  .est-services__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  .est-ba__grid {
    grid-template-columns: 1fr;
  }

  .est-voice__list {
    grid-template-columns: 1fr;
  }

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

  .est-access__grid {
    grid-template-columns: 1fr;
  }

  .est-campaign__inner {
    flex-direction: column;
    gap: 2rem;
  }

  .est-footer__inner {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .est-section { padding-block: var(--est-sp-lg); }
}

/* ==========================================================================
   25. Responsive — Small mobile (max-width: 480px)
   ========================================================================== */
@media (max-width: 480px) {
  .est-services__grid {
    grid-template-columns: 1fr;
  }

  .est-staff__grid {
    grid-template-columns: 1fr;
  }

  .est-footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   26. Style Variations (10 preset color overrides)
   ========================================================================== */
/* V01: Mauve Purple × Gold (default) */
[data-est-style="v01"] {
  --est-primary: #8b6f8e;
  --est-primary-dark: #6b4f6e;
  --est-gold: #c9a96e;
  --est-dark: #2d1b30;
}

/* V02: Rose Pink × Champagne */
[data-est-style="v02"] {
  --est-primary: #c2607b;
  --est-primary-dark: #a04060;
  --est-primary-light: #e8a0b5;
  --est-primary-pale: rgba(194, 96, 123, 0.08);
  --est-gold: #d4b896;
  --est-gold-dark: #b09078;
  --est-dark: #3d2030;
}

/* V03: Deep Plum × Silver */
[data-est-style="v03"] {
  --est-primary: #5a3a6a;
  --est-primary-dark: #3d2248;
  --est-primary-light: #9a78aa;
  --est-primary-pale: rgba(90, 58, 106, 0.08);
  --est-gold: #a8a8c0;
  --est-gold-dark: #8888a0;
  --est-dark: #1e1428;
}

/* V04: Coral Orange × Bronze */
[data-est-style="v04"] {
  --est-primary: #c86050;
  --est-primary-dark: #a84038;
  --est-primary-light: #e89085;
  --est-primary-pale: rgba(200, 96, 80, 0.08);
  --est-gold: #b87848;
  --est-gold-dark: #986038;
  --est-dark: #2d1a18;
}

/* V05: Teal × Gold */
[data-est-style="v05"] {
  --est-primary: #3a8a85;
  --est-primary-dark: #286860;
  --est-primary-light: #78c0bc;
  --est-primary-pale: rgba(58, 138, 133, 0.08);
  --est-gold: #c8a84c;
  --est-gold-dark: #a88030;
  --est-dark: #1a2d2c;
}

/* V06: Navy × Pearl */
[data-est-style="v06"] {
  --est-primary: #2a4875;
  --est-primary-dark: #1a3058;
  --est-primary-light: #6888b8;
  --est-primary-pale: rgba(42, 72, 117, 0.08);
  --est-gold: #d0c0a8;
  --est-gold-dark: #b0a090;
  --est-dark: #101828;
}

/* V07: Forest Green × Gold */
[data-est-style="v07"] {
  --est-primary: #3a6848;
  --est-primary-dark: #284a33;
  --est-primary-light: #78a888;
  --est-primary-pale: rgba(58, 104, 72, 0.08);
  --est-gold: #c8a050;
  --est-gold-dark: #a87830;
  --est-dark: #1a2820;
}

/* V08: Warm Burgundy × Copper */
[data-est-style="v08"] {
  --est-primary: #802848;
  --est-primary-dark: #601830;
  --est-primary-light: #c07090;
  --est-primary-pale: rgba(128, 40, 72, 0.08);
  --est-gold: #c07850;
  --est-gold-dark: #a05835;
  --est-dark: #28101a;
}

/* V09: Lavender × Soft Gold */
[data-est-style="v09"] {
  --est-primary: #9880c0;
  --est-primary-dark: #7060a0;
  --est-primary-light: #c8b8e8;
  --est-primary-pale: rgba(152, 128, 192, 0.08);
  --est-gold: #d0bc80;
  --est-gold-dark: #b0a065;
  --est-dark: #242030;
}

/* V10: Charcoal × Rose Gold */
[data-est-style="v10"] {
  --est-primary: #58525a;
  --est-primary-dark: #3a3540;
  --est-primary-light: #9890a0;
  --est-primary-pale: rgba(88, 82, 90, 0.08);
  --est-gold: #c89898;
  --est-gold-dark: #a87878;
  --est-dark: #1e1a20;
}

/* ============================================================
   サブページ用追加クラス (quality-gate subpage_classes_defined_in_css 対応)
   ============================================================ */

/* ボタン */
.est-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 40px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}
.est-btn--gold {
  background: var(--est-gold);
  color: #fff;
}
.est-btn--gold:hover { background: var(--est-gold-dark); transform: translateY(-2px); }
.est-btn--outline {
  background: transparent;
  border: 1px solid var(--est-gold);
  color: var(--est-gold);
}
.est-btn--outline:hover { background: var(--est-gold); color: #fff; }
.est-btn--large { padding: 18px 48px; font-size: 1rem; }

/* ヘッダー追加 */
.est-header__logo-ja {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--est-dark);
}
.est-header__logo-jp { font-family: 'Noto Serif JP', serif; font-size: 0.75rem; color: var(--est-dark); }
.est-header__nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: var(--est-gold);
  color: #fff;
  border-radius: 24px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.est-header__nav-cta:hover { background: var(--est-gold-dark); }

/* ページヒーロー (サブページ) */
.est-page-hero {
  padding: 120px 0 64px;
  background: var(--est-surface);
  text-align: center;
}
.est-page-hero__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}
.est-page-hero__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--est-gold);
  margin-bottom: 12px;
}
.est-page-hero__title {
  font-family: 'Cormorant Garamond', 'Noto Serif JP', serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--est-dark);
  margin-bottom: 12px;
}
.est-page-hero__sub {
  font-size: 0.9rem;
  color: var(--est-text-muted, #888);
}
.est-page-hero__bg-text {
  position: absolute;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 700;
  color: rgba(0,0,0,0.03);
  pointer-events: none;
  user-select: none;
}

/* パンくず */
.est-breadcrumb { padding: 12px 0; }
.est-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.8125rem;
  color: var(--est-text-muted, #888);
}
.est-breadcrumb__link { color: var(--est-gold); text-decoration: none; }
.est-breadcrumb__link:hover { text-decoration: underline; }

/* ニュース一覧 */
.est-news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.est-news-item {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 12px 16px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--est-border, #e8ddd5);
  text-decoration: none;
  color: var(--est-dark);
  transition: opacity 0.2s;
}
.est-news-item:hover { opacity: 0.7; }
.est-news-item__date { font-size: 0.8125rem; color: var(--est-text-muted, #888); white-space: nowrap; }
.est-news-item__tag {
  font-size: 0.6875rem;
  padding: 2px 8px;
  border-radius: 20px;
  background: var(--est-primary-pale);
  color: var(--est-primary);
  white-space: nowrap;
}
.est-news-item__body { display: contents; }
.est-news-item__title { grid-column: 3; font-size: 0.9375rem; }

/* ページネーション */
.est-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
}
.est-pagination__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--est-gold);
  color: var(--est-gold);
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s;
}
.est-pagination__btn:hover, .est-pagination__btn--next:hover, .est-pagination__btn--prev:hover {
  background: var(--est-gold);
  color: #fff;
}
.est-pagination__btn--prev { font-size: 0.75rem; }
.est-pagination__btn--next { font-size: 0.75rem; }
.est-pagination__current {
  font-size: 0.875rem;
  color: var(--est-dark);
  font-weight: 600;
  min-width: 40px;
  text-align: center;
}

/* 文章ページ (プライバシー・利用規約) */
.est-prose-section { padding: 64px 0 96px; }
.est-prose-section__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}
.est-prose { line-height: 1.9; color: var(--est-dark); }
.est-prose__date { font-size: 0.8125rem; color: var(--est-text-muted, #888); margin-bottom: 32px; }
.est-prose__address { font-style: normal; font-size: 0.9rem; line-height: 1.7; }

/* FAQ */
.est-faq__item {
  border-bottom: 1px solid var(--est-border, #e8ddd5);
}
.est-faq__answer {
  padding: 0 0 20px 32px;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--est-dark);
}

/* CTAバナー追加 */
.est-cta-banner__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.est-cta-banner__lead { font-size: 0.875rem; color: var(--est-text-muted, #888); }
.est-cta-banner__actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* アクセス追加 */
.est-access__info { display: flex; flex-direction: column; gap: 12px; }

/* 診療・営業時間表 */
.est-hours-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.est-hours-table__closed { color: var(--est-text-muted, #888); font-size: 0.8125rem; }

/* お問い合わせフォーム */
.est-contact-section { padding: 80px 0; }
.est-contact-section__inner { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.est-contact-intro { margin-bottom: 48px; }
.est-contact-intro__text { font-size: 0.9375rem; line-height: 1.9; margin-bottom: 24px; }
.est-contact-intro__tel { margin-top: 16px; }
.est-contact-intro__tel-link { font-size: 1.5rem; font-weight: 700; color: var(--est-gold); text-decoration: none; }
.est-contact-intro__hours { font-size: 0.8125rem; color: var(--est-text-muted, #888); margin-top: 4px; }
.est-form { display: flex; flex-direction: column; gap: 24px; }
.est-form__title { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.est-form__row { display: flex; flex-direction: column; gap: 6px; }
.est-form__label { font-size: 0.875rem; font-weight: 600; color: var(--est-dark); }
.est-form__sublabel { font-size: 0.75rem; color: var(--est-text-muted, #888); }
.est-form__required { font-size: 0.6875rem; padding: 2px 6px; background: #e74c3c; color: #fff; border-radius: 4px; margin-left: 6px; }
.est-form__input, .est-form__select, .est-form__textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--est-border, #e8ddd5);
  border-radius: 8px;
  font-size: 0.9375rem;
  background: #fff;
  color: var(--est-dark);
  transition: border-color 0.2s;
  appearance: none;
}
.est-form__input:focus, .est-form__select:focus, .est-form__textarea:focus {
  outline: none;
  border-color: var(--est-gold);
}
.est-form__textarea { resize: vertical; min-height: 140px; }
.est-form__datetime { display: flex; gap: 12px; flex-wrap: wrap; }
.est-form__datetime-pair { flex: 1; min-width: 200px; }
.est-form__consent { display: flex; align-items: flex-start; gap: 10px; font-size: 0.875rem; line-height: 1.6; }
.est-form__checkbox-label { cursor: pointer; }
.est-form__submit {
  padding: 16px 48px;
  background: var(--est-gold);
  color: #fff;
  border: none;
  border-radius: 40px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  align-self: center;
}
.est-form__submit:hover { background: var(--est-gold-dark); transform: translateY(-2px); }

/* フッター追加 */
.est-footer__brand { display: flex; flex-direction: column; gap: 8px; }
.est-footer__brand-address { font-size: 0.8125rem; color: rgba(255,255,255,0.5); line-height: 1.7; }
.est-footer__logo-text { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; color: #fff; }
.est-footer__nav { display: flex; flex-direction: column; gap: 8px; }
.est-footer__nav-title { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.5); margin-bottom: 4px; }
.est-footer__nav-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.est-footer__nav-link { font-size: 0.875rem; color: rgba(255,255,255,0.7); text-decoration: none; }
.est-footer__nav-link:hover { color: #fff; }
.est-footer__tagline { font-family: 'Cormorant Garamond', serif; font-size: 0.875rem; font-style: italic; color: rgba(255,255,255,0.5); }
.est-footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }

/* est-concept__body — コンセプトセクションのテキストブロック */
.est-concept__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

/* --------------------------------------------------------------------------
   27. WP Block FSE Header & Navigation
   -------------------------------------------------------------------------- */

html { overflow-x: hidden; }
.wp-site-blocks { overflow-x: hidden; }

.irodori-header {
  position: sticky;
  top: 0; left: 0; right: 0;
  width: 100%;
  z-index: 800;
  background: transparent;
  color: #fff;
  transition: background 0.4s ease, box-shadow 0.4s ease, color 0.4s ease;
}
.irodori-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--est-shadow-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--est-text);
}
.irodori-header__inner {
  height: 72px;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.irodori-header__logo .wp-block-site-logo img {
  max-height: 44px;
  width: auto;
}
.irodori-header .wp-block-navigation-item__content {
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 6px 10px;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.irodori-header .wp-block-navigation-item__content:hover { opacity: 0.7; }
.irodori-header .wp-block-navigation .wp-block-navigation-item { list-style: none; }
.irodori-header__cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: var(--est-primary-dark);
  color: #fff !important;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-decoration: none;
  transition: opacity 0.2s;
}
.irodori-header__cta-btn:hover { opacity: 0.85; }
.irodori-header .wp-block-navigation__responsive-container-open,
.irodori-header .wp-block-navigation__responsive-container-close { display: none !important; }
.irodori-header .wp-block-navigation__responsive-container {
  display: contents !important;
  background: none !important;
}
.wp-site-blocks > * + * { margin-block-start: 0 !important; }
footer .wp-block-navigation { flex-direction: column !important; }
.wp-block-group.irodori-section.is-layout-constrained > *,
.wp-block-group.irodori-section > * {
  max-width: 100% !important;
  width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.wp-block-post-content > .wp-block-group.irodori-section,
.wp-block-post-content > .wp-block-group.irodori-section + .wp-block-group.irodori-section {
  margin-block: 0;
}
@media (max-width: 1100px) {
  .irodori-header__toggle {
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    gap: 6px; width: 34px; height: 34px; cursor: pointer; position: relative;
    z-index: 10001; flex-shrink: 0;
  }
  .irodori-header__toggle span {
    display: block; width: 22px; height: 1.8px;
    background: currentColor; transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .irodori-header__toggle-input { display: none; }
  .wp-block-group.irodori-header__nav {
    display: none; position: fixed; inset: 0;
    background: rgba(255,255,255,0.98); z-index: 10000;
    flex-direction: column; align-items: center; justify-content: center; padding: 40px;
  }
  #irodori-nav-toggle:checked ~ .wp-block-group.irodori-header__nav { display: flex; }
  #irodori-nav-toggle:checked ~ label.irodori-header__toggle span:nth-child(1) {
    transform: translateY(7.8px) rotate(45deg);
  }
  #irodori-nav-toggle:checked ~ label.irodori-header__toggle span:nth-child(2) { opacity: 0; }
  #irodori-nav-toggle:checked ~ label.irodori-header__toggle span:nth-child(3) {
    transform: translateY(-7.8px) rotate(-45deg);
  }
  .irodori-header--hamburger .irodori-header__nav .wp-block-navigation {
    display: flex !important; flex-direction: column; align-items: center; width: 100%;
  }
  .irodori-header--hamburger .irodori-header__nav .wp-block-navigation__container {
    display: flex; flex-direction: column; align-items: center;
    gap: 2rem; list-style: none; margin: 0; padding: 0;
  }
  .irodori-header--hamburger .irodori-header__nav .wp-block-navigation__container a {
    font-size: clamp(18px, 4vw, 24px); font-weight: 600; letter-spacing: 0.06em;
    color: var(--est-text);
  }
  .irodori-header__cta { margin-top: 32px; }
}

/* ===== WP 7.0 Bug Fixes ===== */

/* ---------------------------------------------------------------
   WP 7.0 Fix: ナビゲーション デスクトップ表示強制
   親テーマ .irodori-header--hamburger が position:fixed/opacity:0 を
   全ブレークポイントに適用するため !important で解除
   --------------------------------------------------------------- */
@media (min-width: 1101px) {
  .irodori-header .wp-block-group.irodori-header__nav {
    position: relative !important;
    opacity: 1 !important;
    visibility: visible !important;
    inset: auto !important;
    background: none !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 24px !important;
    padding: 0 !important;
    z-index: auto !important;
  }
  .irodori-header__toggle {
    display: none !important;
  }
}

/* ---------------------------------------------------------------
   WP 7.0 Fix: ヒーロー背景 全幅解除
   WP is-layout-constrained が max-width:1280px/margin:auto を
   hero bg 要素に適用するため強制解除
   --------------------------------------------------------------- */
.is-layout-constrained > [class*="-hero__bg"],
.is-layout-constrained > [class*="-hero-bg"],
.is-layout-constrained > [class*="-hero__slide"],
.is-layout-constrained > [class*="-hero__image"],
.is-layout-constrained > [class*="-hero__visual"] {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
