/**
 * IRODORI 木造住宅 — Kishoku Craft Build
 * L15 筆文字ドロー / B:slider hero / S4:clipPath / S6:stagger
 * CSS prefix: .wh-*
 */

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */
:root {
  /* Brand colors */
  --wh-brown:       #5c3a1e;
  --wh-brown-dark:  #3d2410;
  --wh-amber:       #a0752a;
  --wh-amber-light: #c9a96e;
  --wh-forest:      #2d5016;
  --wh-sage:        #6b8c5a;
  --wh-cream:       #faf6ef;
  --wh-warm-white:  #f5f0e8;
  --wh-stone:       #9b8b7a;
  --wh-dark:        #1a1008;

  /* Semantic tokens */
  --wh-primary:     var(--wh-brown);
  --wh-primary-dk:  var(--wh-brown-dark);
  --wh-accent:      var(--wh-amber);
  --wh-accent-lt:   var(--wh-amber-light);
  --wh-bg:          var(--wh-cream);
  --wh-bg-alt:      var(--wh-warm-white);
  --wh-text:        #2a1f14;
  --wh-text-light:  #6b5a4a;
  --wh-text-muted:  #9b8b7a;
  --wh-border:      rgba(92, 58, 30, 0.15);

  /* Typography */
  --wh-font-display: 'Shippori Mincho', 'Noto Serif JP', serif;
  --wh-font-serif:   'Noto Serif JP', serif;
  --wh-font-sans:    'Noto Sans JP', sans-serif;

  /* Fluid type */
  --wh-fs-xs:   clamp(11px, 1.1vw, 12px);
  --wh-fs-sm:   clamp(13px, 1.3vw, 14px);
  --wh-fs-base: clamp(15px, 1.5vw, 16px);
  --wh-fs-md:   clamp(18px, 2vw, 21px);
  --wh-fs-lg:   clamp(22px, 2.8vw, 28px);
  --wh-fs-xl:   clamp(28px, 3.8vw, 40px);
  --wh-fs-hero: clamp(32px, 5.5vw, 58px);

  /* Spacing */
  --wh-sp-xs:  8px;
  --wh-sp-sm:  16px;
  --wh-sp-md:  24px;
  --wh-sp-lg:  40px;
  --wh-sp-xl:  64px;
  --wh-sp-2xl: 96px;
  --wh-sp-3xl: 128px;

  /* Design tokens */
  --wh-radius:    4px;
  --wh-radius-lg: 8px;
  --wh-shadow:    0 4px 24px rgba(26, 16, 8, 0.08);
  --wh-shadow-lg: 0 12px 48px rgba(26, 16, 8, 0.14);
  --wh-trans:     0.32s cubic-bezier(0.25, 0.1, 0.25, 1);
  --wh-container: 1120px;

  /* Hero slider */
  --irodori-hero-slide-interval: 5500ms;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
.wh-body {
  font-family: var(--wh-font-sans);
  font-size: var(--wh-fs-base);
  line-height: 1.8;
  color: var(--wh-text);
  background: var(--wh-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.wh-body a { color: inherit; text-decoration: none; }
.wh-body img { max-width: 100%; height: auto; display: block; }
.wh-body ul { list-style: none; }
.wh-body button { cursor: pointer; font-family: inherit; background: none; border: none; }

/* ==========================================================================
   L15: 筆文字ドロー Preloader
   ========================================================================== */
.wh-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--wh-cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  overflow: hidden;
}

.wh-loader.is-exit {
  animation: wh-loader-fade 0.9s ease forwards;
  pointer-events: none;
}

@keyframes wh-loader-fade {
  to { opacity: 0; transform: scale(0.98); }
}

.wh-loader__brush-svg {
  overflow: visible;
  width: 280px;
  height: 100px;
}

.wh-loader__brush-stroke {
  stroke-dasharray: var(--wh-brush-len, 600);
  stroke-dashoffset: var(--wh-brush-len, 600);
  paint-order: stroke fill;
}

.wh-loader__brush-stroke.is-drawing {
  animation: wh-brush-draw 2.2s cubic-bezier(0.42, 0, 0.58, 1) forwards;
}

.wh-loader__brush-stroke--sub {
  stroke-dasharray: var(--wh-brush-len2, 300);
  stroke-dashoffset: var(--wh-brush-len2, 300);
}

.wh-loader__brush-stroke--sub.is-drawing {
  animation-delay: 0.9s;
  animation-duration: 1.4s;
}

@keyframes wh-brush-draw {
  0%   { stroke-dashoffset: var(--wh-brush-len, 600); stroke-width: 1; }
  15%  { stroke-width: 7; }
  45%  { stroke-width: 3; }
  75%  { stroke-width: 6; }
  100% { stroke-dashoffset: 0; stroke-width: 4; }
}

.wh-loader__label {
  font-family: var(--wh-font-serif);
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--wh-stone);
  opacity: 0;
  transition: opacity 0.6s ease 1.2s;
}

.wh-loader__label.is-visible { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .wh-loader__brush-stroke.is-drawing {
    animation: none;
    stroke-dashoffset: 0;
    stroke-width: 4;
  }
  .wh-loader__label { opacity: 1; transition: none; }
}

/* ==========================================================================
   Header
   ========================================================================== */
.wh-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background var(--wh-trans), box-shadow var(--wh-trans);
}

.wh-header.is-scrolled {
  background: rgba(250, 246, 239, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--wh-border);
}

.wh-header__inner {
  max-width: var(--wh-container);
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wh-header__logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  gap: 1px;
}

.wh-header__logo-ja {
  font-family: var(--wh-font-serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--wh-brown);
  letter-spacing: 0.08em;
}

.wh-header__logo-en {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--wh-stone);
  text-transform: uppercase;
}

.wh-header__nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.wh-header__nav-list li a {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--wh-text-light);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color var(--wh-trans), border-color var(--wh-trans);
}

.wh-header__nav-list li a:hover {
  color: var(--wh-brown);
  border-color: var(--wh-amber-light);
}

.wh-header__cta {
  background: var(--wh-brown);
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: var(--wh-radius) !important;
  border-color: transparent !important;
  font-size: 13px !important;
  letter-spacing: 0.06em;
  transition: background var(--wh-trans) !important;
}

.wh-header__cta:hover { background: var(--wh-brown-dark) !important; }

.wh-header__menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.wh-header__menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--wh-brown);
  transition: transform var(--wh-trans);
}

/* ==========================================================================
   Drawer
   ========================================================================== */
.wh-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100%;
  z-index: 200;
  background: var(--wh-cream);
  border-left: 1px solid var(--wh-border);
  padding: 80px 40px 40px;
  transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

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

.wh-drawer__close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 20px;
  color: var(--wh-stone);
  padding: 8px;
  line-height: 1;
}

.wh-drawer__nav ul { display: flex; flex-direction: column; gap: 0; }

.wh-drawer__nav li a {
  display: block;
  padding: 14px 0;
  font-family: var(--wh-font-serif);
  font-size: 15px;
  color: var(--wh-text);
  border-bottom: 1px solid var(--wh-border);
  letter-spacing: 0.08em;
  transition: color var(--wh-trans), padding-left var(--wh-trans);
}

.wh-drawer__nav li a:hover { color: var(--wh-brown); padding-left: 8px; }

.wh-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(26, 16, 8, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

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

/* ==========================================================================
   Hero B: Slider
   ========================================================================== */
.wh-hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  container-type: size;
  container-name: wh-hero;
}

.wh-hero__track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.wh-hero__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(60px, 10vh, 120px);
}

.wh-hero__slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.wh-hero__slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 16, 8, 0.1) 0%,
    rgba(26, 16, 8, 0.55) 70%,
    rgba(26, 16, 8, 0.72) 100%
  );
}

.wh-hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--wh-container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
  width: 100%;
}

.wh-hero__eyebrow {
  font-family: var(--wh-font-sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.wh-hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--wh-amber-light);
  flex-shrink: 0;
}

.wh-hero__title {
  font-family: var(--wh-font-display);
  font-size: var(--wh-fs-hero);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

.wh-hero__subtitle {
  font-size: clamp(13px, 1.5vw, 16px);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.9;
  margin-bottom: 32px;
  max-width: 520px;
}

.wh-hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.wh-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 14px;
  letter-spacing: 0.06em;
  border-radius: var(--wh-radius);
  transition: all var(--wh-trans);
}

.wh-hero__cta--primary {
  background: var(--wh-amber);
  color: #fff;
}

.wh-hero__cta--primary:hover { background: var(--wh-amber-light); }

.wh-hero__cta--secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
}

.wh-hero__cta--secondary:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Slider controls */
.wh-hero__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(26, 16, 8, 0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: all var(--wh-trans);
}

.wh-hero__nav:hover {
  background: rgba(26, 16, 8, 0.6);
  border-color: rgba(255,255,255,0.7);
}

.wh-hero__nav--prev { left: 24px; }
.wh-hero__nav--next { right: 24px; }

.wh-hero__indicators {
  position: absolute;
  bottom: 36px;
  right: clamp(20px, 5vw, 64px);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.wh-hero__indicator {
  width: 3px;
  height: 20px;
  border-radius: 2px;
  border: none;
  background: rgba(255,255,255,0.35);
  transition: all var(--wh-trans);
  padding: 0;
}

.wh-hero__indicator.is-active,
.wh-hero__indicator[aria-selected="true"] {
  background: #fff;
  height: 32px;
}

.wh-hero__scroll-arrow {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.6);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: wh-scroll-arrow 2s ease infinite;
}

@keyframes wh-scroll-arrow {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
  50%       { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .wh-hero__track { scroll-behavior: auto; }
  .wh-hero__scroll-arrow { animation: none; }
}

/* ==========================================================================
   Philosophy Section (業種固有: 家づくりの想い)
   ========================================================================== */
.wh-philosophy {
  padding: var(--wh-sp-3xl) 0;
  background: var(--wh-cream);
}

.wh-philosophy__inner {
  max-width: var(--wh-container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.wh-philosophy__text {}

.wh-philosophy__eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--wh-amber);
  margin-bottom: 16px;
}

.wh-philosophy__title {
  font-family: var(--wh-font-display);
  font-size: var(--wh-fs-xl);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: var(--wh-brown);
  margin-bottom: 28px;
}

.wh-philosophy__body {
  font-size: var(--wh-fs-base);
  line-height: 2.1;
  color: var(--wh-text-light);
  margin-bottom: 24px;
}

.wh-philosophy__sign {
  font-family: var(--wh-font-serif);
  font-size: 13px;
  color: var(--wh-stone);
  letter-spacing: 0.1em;
}

.wh-philosophy__img-wrap {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--wh-radius-lg);
  overflow: hidden;
}

.wh-philosophy__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wh-philosophy__img-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(250, 246, 239, 0.92);
  padding: 8px 16px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--wh-brown);
  border-radius: var(--wh-radius);
  border-left: 3px solid var(--wh-amber);
}

/* ==========================================================================
   Works Gallery (施工実績)
   ========================================================================== */
.wh-works {
  padding: var(--wh-sp-3xl) 0;
  background: var(--wh-bg-alt);
}

.wh-works__inner {
  max-width: var(--wh-container);
  margin: 0 auto;
  padding: 0 32px;
}

.wh-works__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 24px;
}

.wh-works__all-link {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--wh-brown);
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--wh-amber-light);
  padding-bottom: 2px;
  white-space: nowrap;
  transition: gap var(--wh-trans);
}

.wh-works__all-link:hover { gap: 10px; }

.wh-works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.wh-works__card {
  border-radius: var(--wh-radius-lg);
  overflow: hidden;
  background: var(--wh-cream);
  box-shadow: var(--wh-shadow);
  transition: transform var(--wh-trans), box-shadow var(--wh-trans);
}

.wh-works__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--wh-shadow-lg);
}

.wh-works__card-img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.wh-works__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.wh-works__card:hover .wh-works__card-img { transform: scale(1.04); }

.wh-works__card-body {
  padding: 20px;
}

.wh-works__card-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  background: rgba(160, 117, 42, 0.12);
  color: var(--wh-amber);
  border-radius: 2px;
  margin-bottom: 10px;
}

.wh-works__card-title {
  font-family: var(--wh-font-serif);
  font-size: 15px;
  font-weight: 500;
  color: var(--wh-text);
  margin-bottom: 6px;
  line-height: 1.5;
}

.wh-works__card-meta {
  font-size: 12px;
  color: var(--wh-stone);
  display: flex;
  gap: 12px;
}

/* ==========================================================================
   Process Steps (家づくりの流れ)
   ========================================================================== */
.wh-process {
  padding: var(--wh-sp-3xl) 0;
  background: var(--wh-brown);
}

.wh-process__inner {
  max-width: var(--wh-container);
  margin: 0 auto;
  padding: 0 32px;
}

.wh-process__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

.wh-process__steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: rgba(201, 169, 110, 0.3);
}

.wh-process__step {
  text-align: center;
  padding: 0 12px;
  position: relative;
}

.wh-process__step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--wh-amber-light);
  background: var(--wh-brown-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--wh-font-display);
  font-size: 20px;
  color: var(--wh-amber-light);
  position: relative;
  z-index: 1;
}

.wh-process__step-label {
  font-family: var(--wh-font-serif);
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 8px;
  letter-spacing: 0.06em;
}

.wh-process__step-body {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

/* ==========================================================================
   Materials Feature (木材・素材へのこだわり)
   ========================================================================== */
.wh-materials {
  padding: var(--wh-sp-3xl) 0;
  background: var(--wh-cream);
}

.wh-materials__inner {
  max-width: var(--wh-container);
  margin: 0 auto;
  padding: 0 32px;
}

.wh-materials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.wh-materials__card {
  border: 1px solid var(--wh-border);
  border-radius: var(--wh-radius-lg);
  overflow: hidden;
  background: var(--wh-warm-white);
  transition: transform var(--wh-trans), box-shadow var(--wh-trans);
}

.wh-materials__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--wh-shadow);
}

.wh-materials__card-img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}

.wh-materials__card-body {
  padding: 24px;
}

.wh-materials__card-icon {
  font-size: 24px;
  margin-bottom: 12px;
  display: block;
}

.wh-materials__card-title {
  font-family: var(--wh-font-serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--wh-brown);
  margin-bottom: 10px;
}

.wh-materials__card-text {
  font-size: 13px;
  line-height: 1.9;
  color: var(--wh-text-light);
}

.wh-materials__card-origin {
  display: inline-block;
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--wh-forest);
  border: 1px solid var(--wh-sage);
  padding: 2px 10px;
  border-radius: 2px;
}

/* ==========================================================================
   Section Heading (共通)
   ========================================================================== */
.wh-section-head {
  text-align: center;
  margin-bottom: 56px;
}

.wh-section-head--left { text-align: left; }

.wh-section-eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--wh-amber);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.wh-section-eyebrow::before,
.wh-section-eyebrow::after {
  content: '';
  display: block;
  flex: 1;
  max-width: 48px;
  height: 1px;
  background: var(--wh-amber-light);
}

.wh-section-eyebrow--white { color: rgba(255,255,255,0.7); }
.wh-section-eyebrow--white::before,
.wh-section-eyebrow--white::after { background: rgba(255,255,255,0.3); }

.wh-section-title {
  font-family: var(--wh-font-display);
  font-size: var(--wh-fs-lg);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--wh-brown);
  line-height: 1.4;
}

.wh-section-title--white { color: #fff; }

.wh-section-sub {
  margin-top: 16px;
  font-size: var(--wh-fs-sm);
  color: var(--wh-text-muted);
  line-height: 1.9;
}

/* ==========================================================================
   Voice / Testimonials
   ========================================================================== */
.wh-voice {
  padding: var(--wh-sp-3xl) 0;
  background: var(--wh-bg-alt);
}

.wh-voice__inner {
  max-width: var(--wh-container);
  margin: 0 auto;
  padding: 0 32px;
}

.wh-voice__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.wh-voice__card {
  background: var(--wh-cream);
  border-radius: var(--wh-radius-lg);
  padding: 32px;
  border: 1px solid var(--wh-border);
  position: relative;
}

.wh-voice__card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 24px;
  font-family: Georgia, serif;
  font-size: 48px;
  color: var(--wh-amber-light);
  line-height: 1;
}

.wh-voice__text {
  font-size: 14px;
  line-height: 2;
  color: var(--wh-text-light);
  padding-top: 24px;
  margin-bottom: 24px;
}

.wh-voice__client {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--wh-border);
}

.wh-voice__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.wh-voice__name {
  font-family: var(--wh-font-serif);
  font-size: 14px;
  color: var(--wh-text);
}

.wh-voice__detail {
  font-size: 12px;
  color: var(--wh-stone);
  margin-top: 2px;
}

.wh-voice__stars {
  color: var(--wh-amber);
  font-size: 13px;
  letter-spacing: 2px;
  margin-top: 4px;
}

/* ==========================================================================
   Numbers / Stats
   ========================================================================== */
.wh-numbers {
  padding: var(--wh-sp-2xl) 0;
  background: var(--wh-forest);
}

.wh-numbers__inner {
  max-width: var(--wh-container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.wh-numbers__item {}

.wh-numbers__val {
  font-family: var(--wh-font-display);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 500;
  color: #fff;
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.wh-numbers__unit {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  font-family: var(--wh-font-sans);
}

.wh-numbers__label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.1em;
  margin-top: 10px;
}

/* ==========================================================================
   News
   ========================================================================== */
.wh-news {
  padding: var(--wh-sp-3xl) 0;
  background: var(--wh-cream);
}

.wh-news__inner {
  max-width: var(--wh-container);
  margin: 0 auto;
  padding: 0 32px;
}

.wh-news-list { margin-top: 56px; }

.wh-news-item {
  display: grid;
  grid-template-columns: 140px auto 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--wh-border);
  transition: background var(--wh-trans);
}

.wh-news-item:last-child { border-bottom: none; }

.wh-news-item__date {
  font-size: 13px;
  color: var(--wh-stone);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.wh-news-item__cat {
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 2px;
  background: rgba(160, 117, 42, 0.1);
  color: var(--wh-amber);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.wh-news-item__title a {
  font-size: 14px;
  color: var(--wh-text);
  transition: color var(--wh-trans);
  line-height: 1.6;
}

.wh-news-item__title a:hover { color: var(--wh-brown); }

/* ==========================================================================
   Access / Map
   ========================================================================== */
.wh-access {
  padding: var(--wh-sp-3xl) 0;
  background: var(--wh-bg-alt);
}

.wh-access__inner {
  max-width: var(--wh-container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: start;
  margin-top: 56px;
}

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

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

.wh-access__info { padding-top: 8px; }

.wh-access__info-block { margin-bottom: 28px; }

.wh-access__info-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wh-amber);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--wh-border);
}

.wh-access__info-text {
  font-size: 14px;
  line-height: 1.9;
  color: var(--wh-text-light);
}

.wh-access__hours-table { width: 100%; font-size: 13px; }

.wh-access__hours-table tr td {
  padding: 5px 0;
  color: var(--wh-text-light);
}

.wh-access__hours-table td:first-child {
  width: 100px;
  color: var(--wh-stone);
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.wh-cta-banner {
  padding: var(--wh-sp-2xl) 0;
  background: var(--wh-brown);
  text-align: center;
}

.wh-cta-banner__inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 32px;
}

.wh-cta-banner__lead {
  font-size: 13px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}

.wh-cta-banner__title {
  font-family: var(--wh-font-display);
  font-size: var(--wh-fs-lg);
  font-weight: 500;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 32px;
  letter-spacing: 0.06em;
}

.wh-cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.wh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 14px;
  letter-spacing: 0.06em;
  border-radius: var(--wh-radius);
  transition: all var(--wh-trans);
  font-family: var(--wh-font-sans);
}

.wh-btn--primary {
  background: var(--wh-brown);
  color: #fff;
  border: 2px solid var(--wh-brown);
}

.wh-btn--primary:hover {
  background: var(--wh-brown-dark);
  border-color: var(--wh-brown-dark);
}

.wh-btn--amber {
  background: var(--wh-amber);
  color: #fff;
  border: 2px solid var(--wh-amber);
}

.wh-btn--amber:hover { background: var(--wh-amber-light); border-color: var(--wh-amber-light); }

.wh-btn--outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}

.wh-btn--outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.wh-footer {
  background: var(--wh-dark);
  padding: 72px 0 32px;
}

.wh-footer__inner {
  max-width: var(--wh-container);
  margin: 0 auto;
  padding: 0 32px;
}

.wh-footer__top {
  display: grid;
  grid-template-columns: 260px 1fr auto;
  gap: 64px;
  margin-bottom: 64px;
}

.wh-footer__brand {}

.wh-footer__logo-ja {
  font-family: var(--wh-font-serif);
  font-size: 18px;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: 0.08em;
}

.wh-footer__logo-en {
  font-size: 10px;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.wh-footer__tagline {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
}

.wh-footer__nav-col h4 {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.wh-footer__nav-col ul { display: flex; flex-direction: column; gap: 8px; }

.wh-footer__nav-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  transition: color var(--wh-trans);
}

.wh-footer__nav-col a:hover { color: var(--wh-amber-light); }

.wh-footer__contact-box {
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--wh-radius-lg);
  text-align: center;
  min-width: 200px;
}

.wh-footer__tel {
  font-family: var(--wh-font-display);
  font-size: 22px;
  color: #fff;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.wh-footer__hours {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}

.wh-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.wh-footer__legal { display: flex; gap: 16px; }

.wh-footer__legal a {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  transition: color var(--wh-trans);
}

.wh-footer__legal a:hover { color: rgba(255,255,255,0.7); }

/* ==========================================================================
   Subpage: Page Hero
   ========================================================================== */
.wh-page-hero {
  padding: 140px 32px 80px;
  background: var(--wh-bg-alt);
  text-align: center;
  border-bottom: 1px solid var(--wh-border);
}

.wh-page-hero__eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--wh-amber);
  margin-bottom: 12px;
}

.wh-page-hero__title {
  font-family: var(--wh-font-display);
  font-size: var(--wh-fs-lg);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--wh-brown);
}

/* Breadcrumb */
.wh-breadcrumb {
  padding: 12px 32px;
  max-width: var(--wh-container);
  margin: 0 auto;
}

.wh-breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--wh-stone);
}

.wh-breadcrumb__list li + li::before {
  content: '/';
  color: var(--wh-border);
}

.wh-breadcrumb__list a { transition: color var(--wh-trans); }
.wh-breadcrumb__list a:hover { color: var(--wh-brown); }

/* ==========================================================================
   Prose content
   ========================================================================== */
.wh-prose-section {
  padding: var(--wh-sp-3xl) 0;
  background: var(--wh-cream);
}

.wh-prose-section__inner {
  max-width: 840px;
  margin: 0 auto;
  padding: 0 32px;
}

.wh-prose h2 {
  font-family: var(--wh-font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--wh-brown);
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--wh-amber-light);
}

.wh-prose h3 {
  font-family: var(--wh-font-serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--wh-text);
  margin: 32px 0 12px;
  padding-left: 12px;
  border-left: 3px solid var(--wh-amber);
}

.wh-prose p {
  font-size: 15px;
  line-height: 2.1;
  color: var(--wh-text-light);
  margin-bottom: 20px;
}

.wh-prose ul { margin-bottom: 20px; }

.wh-prose ul li {
  font-size: 15px;
  line-height: 1.9;
  color: var(--wh-text-light);
  padding: 4px 0 4px 24px;
  position: relative;
}

.wh-prose ul li::before {
  content: '●';
  position: absolute;
  left: 4px;
  color: var(--wh-amber);
  font-size: 8px;
  top: 10px;
}

.wh-prose address {
  font-style: normal;
  font-size: 15px;
  line-height: 2;
  color: var(--wh-text-light);
  padding: 20px;
  background: var(--wh-bg-alt);
  border-radius: var(--wh-radius);
  border-left: 3px solid var(--wh-amber-light);
}

/* ==========================================================================
   Scroll Animations
   S4: clipPath / S6: stagger / S1: fadeInUp
   ========================================================================== */
.wh-inview {
  opacity: 0;
  filter: blur(4px);
  transform: translateY(20px);
  transition: opacity 0.7s ease, filter 0.7s ease, transform 0.7s ease;
}

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

.wh-inview-clip {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.wh-inview-clip.is-visible { clip-path: inset(0 0% 0 0); }

.wh-inview-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.wh-inview-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.wh-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.wh-stagger.is-visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0s; }
.wh-stagger.is-visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.12s; }
.wh-stagger.is-visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.24s; }
.wh-stagger.is-visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.36s; }
.wh-stagger.is-visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  .wh-inview,
  .wh-inview-clip,
  .wh-inview-up,
  .wh-stagger > * {
    opacity: 1;
    filter: none;
    transform: none;
    clip-path: none;
    transition: none;
  }
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.wh-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
}

.wh-pagination__btn {
  font-size: 13px;
  color: var(--wh-brown);
  border: 1px solid var(--wh-amber-light);
  padding: 8px 20px;
  border-radius: var(--wh-radius);
  transition: all var(--wh-trans);
}

.wh-pagination__btn:hover:not([aria-disabled="true"]) {
  background: var(--wh-brown);
  color: #fff;
  border-color: var(--wh-brown);
}

.wh-pagination__btn[aria-disabled="true"] {
  opacity: 0.35;
  cursor: not-allowed;
}

.wh-pagination__current { font-size: 13px; color: var(--wh-stone); }

/* ==========================================================================
   Style Variations (v01-v10)
   ========================================================================== */
[data-style="v01"] { --wh-primary: #5c3a1e; --wh-accent: #a0752a; }
[data-style="v02"] { --wh-primary: #2d5016; --wh-accent: #5c3a1e; --wh-bg: #f5f8f0; }
[data-style="v03"] { --wh-primary: #3d2d1a; --wh-accent: #8b5e3c; --wh-bg: #faf8f5; }
[data-style="v04"] { --wh-primary: #1a3a2a; --wh-accent: #4a8c5a; --wh-bg: #f0f7f2; }
[data-style="v05"] { --wh-primary: #2a2a2a; --wh-accent: #a0752a; --wh-bg: #f8f6f2; }
[data-style="v06"] { --wh-primary: #4a2a18; --wh-accent: #c49637; --wh-bg: #fdf9f0; }
[data-style="v07"] { --wh-primary: #1e3a4a; --wh-accent: #a0752a; --wh-bg: #f0f5f8; }
[data-style="v08"] { --wh-primary: #3a1e0e; --wh-accent: #d4a050; --wh-bg: #fdf8f0; }
[data-style="v09"] { --wh-primary: #2d3a1a; --wh-accent: #8c9a5a; --wh-bg: #f5f7f0; }
[data-style="v10"] { --wh-primary: #5a4a3a; --wh-accent: #b08050; --wh-bg: #faf7f4; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .wh-philosophy__inner { grid-template-columns: 1fr; gap: 48px; }
  .wh-philosophy__img-wrap { aspect-ratio: 16/9; max-height: 400px; }
  .wh-works__grid { grid-template-columns: repeat(2, 1fr); }
  .wh-process__steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .wh-process__steps::before { display: none; }
  .wh-materials__grid { grid-template-columns: repeat(2, 1fr); }
  .wh-numbers__inner { grid-template-columns: repeat(2, 1fr); }
  .wh-voice__grid { grid-template-columns: repeat(2, 1fr); }
  .wh-footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .wh-access__inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .wh-header__nav { display: none; }
  .wh-header__menu-btn { display: flex; }

  .wh-header__inner { padding: 0 20px; }

  .wh-hero__nav { display: none; }

  .wh-works__grid { grid-template-columns: 1fr; }
  .wh-materials__grid { grid-template-columns: 1fr; }
  .wh-voice__grid { grid-template-columns: 1fr; }
  .wh-numbers__inner { grid-template-columns: repeat(2, 1fr); }

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

  .wh-news-item { grid-template-columns: 1fr; gap: 8px; }

  .wh-footer__top { grid-template-columns: 1fr; }
  .wh-footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }

  .wh-philosophy__inner { padding: 0 20px; }
  .wh-works__inner,
  .wh-process__inner,
  .wh-materials__inner,
  .wh-voice__inner,
  .wh-numbers__inner,
  .wh-news__inner,
  .wh-access__inner,
  .wh-footer__inner { padding: 0 20px; }

  .wh-page-hero { padding: 100px 20px 60px; }
  .wh-breadcrumb { padding: 12px 20px; }
  .wh-prose-section__inner { padding: 0 20px; }
  .wh-cta-banner__inner { padding: 0 20px; }
}

@media (max-width: 480px) {
  .wh-hero__indicators { display: none; }
  .wh-process__steps { grid-template-columns: 1fr; }
  .wh-numbers__inner { grid-template-columns: repeat(2, 1fr); }
  .wh-cta-banner__actions { flex-direction: column; }
  .wh-hero__cta-group { flex-direction: column; }
}

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

/* カウンター */
.wh-counter {
  font-size: 3rem;
  font-weight: 700;
  color: var(--wh-brown, #5c3d1e);
  font-family: 'Playfair Display', serif;
  line-height: 1;
}

/* ページネーション */
.wh-pagination__btn--prev,
.wh-pagination__btn--next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--wh-brown, #5c3d1e);
  color: var(--wh-brown, #5c3d1e);
  text-decoration: none;
  transition: all 0.2s;
}
.wh-pagination__btn--prev:hover,
.wh-pagination__btn--next:hover {
  background: var(--wh-brown, #5c3d1e);
  color: #fff;
}

/* FAQ リスト */
.wh-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.wh-faq__item {
  border-bottom: 1px solid var(--wh-border, #d9cdc0);
}
.wh-faq__answer {
  padding: 0 0 20px 32px;
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--wh-text, #2a2118);
}

/* お問い合わせフォーム */
.wh-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.wh-form__row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wh-form__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--wh-text, #2a2118);
}
.wh-form__required {
  font-size: 0.6875rem;
  padding: 2px 6px;
  background: #c0392b;
  color: #fff;
  border-radius: 4px;
  margin-left: 6px;
}
.wh-form__input,
.wh-form__select,
.wh-form__textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--wh-border, #d9cdc0);
  border-radius: 4px;
  font-size: 0.9375rem;
  background: #fff;
  color: var(--wh-text, #2a2118);
  transition: border-color 0.2s;
  appearance: none;
  font-family: inherit;
}
.wh-form__input:focus,
.wh-form__select:focus,
.wh-form__textarea:focus {
  outline: none;
  border-color: var(--wh-brown, #5c3d1e);
}
.wh-form__textarea { resize: vertical; min-height: 140px; }
.wh-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  line-height: 1.7;
}
.wh-form__submit {
  padding: 16px 48px;
  background: var(--wh-brown, #5c3d1e);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  align-self: center;
  font-family: inherit;
}
.wh-form__submit:hover {
  background: var(--wh-brown-dark, #3e2a12);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   99. 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(--wh-shadow);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--wh-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(--wh-primary);
  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(--wh-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;
}
