/*!
 * Theme Name: irodori-welfare-corp
 * Theme URI: https://irodori-lemon.vercel.app/welfare-corp/preview.html
 * Description: 社会福祉法人向け — 公的信頼と地域の温かみを両立するテーマ。L8:ロゴ分解結合プリローダー
 * Version: 1.0.0
 * Category: care
 */

/* ==========================================================================
   0. CSS Custom Properties & Design Tokens
   ========================================================================== */

:root {
  /* Brand colors */
  --wc-primary:       #0066CC;
  --wc-primary-dk:    #003A70;
  --wc-primary-lt:    #E8F2FF;
  --wc-green:         #00843A;
  --wc-green-dk:      #005D28;
  --wc-green-lt:      #C8E6C9;
  --wc-orange:        #FF9C3E;
  --wc-orange-dk:     #E07820;
  --wc-orange-lt:     #FFF3E0;
  --wc-teal:          #4DBFA5;

  /* Neutrals */
  --wc-bg:            #F5F7FA;
  --wc-bg-alt:        #EEF2F8;
  --wc-white:         #FFFFFF;
  --wc-text:          #1A1A1A;
  --wc-text-sub:      #5A6472;
  --wc-text-light:    #8A94A1;
  --wc-border:        #D8E2EE;
  --wc-border-light:  #EBF0F7;
  --wc-shadow:        rgba(0, 102, 204, 0.12);
  --wc-shadow-md:     0 4px 16px rgba(0, 58, 112, 0.14);
  --wc-shadow-lg:     0 8px 32px rgba(0, 58, 112, 0.18);

  /* Typography */
  --wc-font-ja:       "Zen Kaku Gothic New", "Hiragino Kaku Gothic Pro", "Yu Gothic", YuGothic, "Meiryo", sans-serif;
  --wc-font-en:       "Outfit", Arial, Helvetica, sans-serif;
  --wc-fs-xs:         0.75rem;   /* 12px */
  --wc-fs-sm:         0.875rem;  /* 14px */
  --wc-fs-md:         1rem;      /* 16px */
  --wc-fs-lg:         1.125rem;  /* 18px */
  --wc-fs-xl:         1.25rem;   /* 20px */
  --wc-fs-2xl:        1.5rem;    /* 24px */
  --wc-fs-3xl:        1.875rem;  /* 30px */
  --wc-fs-4xl:        2.25rem;   /* 36px */
  --wc-fs-5xl:        3rem;      /* 48px */
  --wc-lh-tight:      1.3;
  --wc-lh-normal:     1.6;
  --wc-lh-loose:      1.8;

  /* Spacing */
  --wc-space-xs:      0.25rem;
  --wc-space-sm:      0.5rem;
  --wc-space-md:      1rem;
  --wc-space-lg:      1.5rem;
  --wc-space-xl:      2rem;
  --wc-space-2xl:     3rem;
  --wc-space-3xl:     4rem;
  --wc-space-4xl:     6rem;

  /* Layout */
  --wc-container:     1200px;
  --wc-container-sm:  800px;
  --wc-radius-sm:     4px;
  --wc-radius-md:     8px;
  --wc-radius-lg:     16px;
  --wc-radius-xl:     24px;
  --wc-radius-full:   9999px;

  /* Animation */
  --wc-ease:          cubic-bezier(0.4, 0, 0.2, 1);
  --wc-ease-out:      cubic-bezier(0, 0, 0.2, 1);
  --wc-ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
  --wc-dur-fast:      150ms;
  --wc-dur-norm:      250ms;
  --wc-dur-slow:      400ms;
  --wc-dur-enter:     600ms;

  /* Header */
  --wc-header-height: 72px;
  --wc-header-top:    36px;

  /* Loader */
  --irodori-loader-bg:     var(--wc-white);
  --irodori-loader-accent: var(--wc-primary);
  --irodori-loader-text:   var(--wc-primary-dk);
  --irodori-ease-smooth:   cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Preset 0: 高齢者福祉法人（デフォルト）
   ========================================================================== */
[data-preset="0"] {
  --wc-primary:    #0066CC;
  --wc-primary-dk: #003A70;
  --wc-green:      #00843A;
  --wc-orange:     #FF9C3E;
}

/* ==========================================================================
   Preset 1: 障害者福祉法人
   ========================================================================== */
[data-preset="1"] {
  --wc-primary:    #7B1FA2;
  --wc-primary-dk: #4A148C;
  --wc-primary-lt: #F3E5F5;
  --wc-green:      #F06292;
  --wc-green-lt:   #FCE4EC;
  --wc-orange:     #AB47BC;
  --wc-shadow:     rgba(123, 31, 162, 0.12);
  --irodori-loader-accent: #7B1FA2;
  --irodori-loader-text:   #4A148C;
}

/* ==========================================================================
   Preset 2: 児童福祉法人
   ========================================================================== */
[data-preset="2"] {
  --wc-primary:    #E91E63;
  --wc-primary-dk: #880E4F;
  --wc-primary-lt: #FCE4EC;
  --wc-green:      #FF9800;
  --wc-green-lt:   #FFF3E0;
  --wc-orange:     #FF5722;
  --wc-shadow:     rgba(233, 30, 99, 0.12);
  --irodori-loader-accent: #E91E63;
  --irodori-loader-text:   #880E4F;
}

/* ==========================================================================
   Preset 3: 複合型福祉法人
   ========================================================================== */
[data-preset="3"] {
  --wc-primary:    #2E7D32;
  --wc-primary-dk: #1B5E20;
  --wc-primary-lt: #E8F5E9;
  --wc-green:      #FDD835;
  --wc-green-lt:   #FFFDE7;
  --wc-orange:     #4CAF50;
  --wc-shadow:     rgba(46, 125, 50, 0.12);
  --irodori-loader-accent: #2E7D32;
  --irodori-loader-text:   #1B5E20;
}

/* ==========================================================================
   Preset 4: 保育園運営法人
   ========================================================================== */
[data-preset="4"] {
  --wc-primary:    #FF6F00;
  --wc-primary-dk: #E65100;
  --wc-primary-lt: #FFF3E0;
  --wc-green:      #26C6DA;
  --wc-green-lt:   #E0F7FA;
  --wc-orange:     #FF8F00;
  --wc-shadow:     rgba(255, 111, 0, 0.12);
  --irodori-loader-accent: #FF6F00;
  --irodori-loader-text:   #E65100;
}

/* ==========================================================================
   Preset 5: 地域包括ケア法人
   ========================================================================== */
[data-preset="5"] {
  --wc-primary:    #00695C;
  --wc-primary-dk: #004D40;
  --wc-primary-lt: #E0F2F1;
  --wc-green:      #AED581;
  --wc-green-lt:   #F1F8E9;
  --wc-orange:     #26A69A;
  --wc-shadow:     rgba(0, 105, 92, 0.12);
  --irodori-loader-accent: #00695C;
  --irodori-loader-text:   #004D40;
}

/* ==========================================================================
   Preset 6: 救護施設運営
   ========================================================================== */
[data-preset="6"] {
  --wc-primary:    #1565C0;
  --wc-primary-dk: #0D47A1;
  --wc-primary-lt: #E3F2FD;
  --wc-green:      #81D4FA;
  --wc-green-lt:   #E1F5FE;
  --wc-orange:     #1976D2;
  --wc-shadow:     rgba(21, 101, 192, 0.12);
  --irodori-loader-accent: #1565C0;
  --irodori-loader-text:   #0D47A1;
}

/* ==========================================================================
   Preset 7: 母子福祉法人
   ========================================================================== */
[data-preset="7"] {
  --wc-primary:    #AD1457;
  --wc-primary-dk: #880E4F;
  --wc-primary-lt: #FCE4EC;
  --wc-green:      #80DEEA;
  --wc-green-lt:   #E0F7FA;
  --wc-orange:     #C2185B;
  --wc-shadow:     rgba(173, 20, 87, 0.12);
  --irodori-loader-accent: #AD1457;
  --irodori-loader-text:   #880E4F;
}

/* ==========================================================================
   Preset 8: 医療福祉連携法人
   ========================================================================== */
[data-preset="8"] {
  --wc-primary:    #00838F;
  --wc-primary-dk: #006064;
  --wc-primary-lt: #E0F7FA;
  --wc-green:      #B2DFDB;
  --wc-green-lt:   #E0F2F1;
  --wc-orange:     #0097A7;
  --wc-shadow:     rgba(0, 131, 143, 0.12);
  --irodori-loader-accent: #00838F;
  --irodori-loader-text:   #006064;
}

/* ==========================================================================
   Preset 9: 広域展開福祉法人
   ========================================================================== */
[data-preset="9"] {
  --wc-primary:    #F57F17;
  --wc-primary-dk: #E65100;
  --wc-primary-lt: #FFF8E1;
  --wc-green:      #66BB6A;
  --wc-green-lt:   #E8F5E9;
  --wc-orange:     #F9A825;
  --wc-shadow:     rgba(245, 127, 23, 0.12);
  --irodori-loader-accent: #F57F17;
  --irodori-loader-text:   #E65100;
}

/* ==========================================================================
   1. Reset & Base
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* Accessibility: large-text mode */
html.wc-text-large {
  font-size: 18px;
}

html.wc-text-xlarge {
  font-size: 20px;
}

/* Accessibility: high-contrast mode */
html.wc-high-contrast {
  --wc-primary:    #0000EE;
  --wc-text:       #000000;
  --wc-bg:         #FFFFFF;
  --wc-border:     #000000;
}

body {
  font-family: var(--wc-font-ja);
  font-size: var(--wc-fs-md);
  line-height: var(--wc-lh-normal);
  color: var(--wc-text);
  background-color: var(--wc-bg);
  overflow-x: hidden;
}

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

a {
  color: var(--wc-primary);
  text-decoration: none;
  transition: color var(--wc-dur-norm) var(--wc-ease);
}

a:hover {
  color: var(--wc-primary-dk);
  text-decoration: underline;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ==========================================================================
   2. Preloader — L8: ロゴ分解結合
   ========================================================================== */

.wc-preloader {
  position: fixed;
  inset: 0;
  background: var(--wc-white);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--wc-space-lg);
}

.wc-preloader.is-exit {
  animation: wc-loader-exit 0.6s var(--irodori-ease-smooth) forwards;
  pointer-events: none;
}

@keyframes wc-loader-exit {
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

/* irodori-loader base */
.irodori-loader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  background: var(--irodori-loader-bg, #fff);
  z-index: 9999;
}

.irodori-loader--l8 {
  background: var(--wc-white);
}

.irodori-loader--l8.is-exit {
  animation: irodori-l8-exit 0.6s var(--irodori-ease-smooth) forwards;
}

@keyframes irodori-l8-exit {
  to {
    opacity: 0;
    transform: translateY(-30px);
  }
}

/* Logo SVG */
.wc-loader-svg {
  overflow: visible;
  width: 240px;
  height: 80px;
}

.irodori-loader__logo-svg {
  overflow: visible;
}

/* Logo parts — JS が初期位置をランダムに変更 */
.wc-loader-part,
.irodori-loader__logo-part {
  will-change: transform, opacity;
  transform-origin: center;
}

.wc-loader-part.is-assembling,
.irodori-loader__logo-part.is-assembling {
  transition:
    transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.6s ease;
}

/* Assembled pulse */
.wc-loader-svg.is-assembled,
.irodori-loader__logo-svg.is-assembled {
  animation: wc-l8-pulse 0.4s ease-in-out 1;
}

@keyframes wc-l8-pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.05); }
}

/* Tagline below logo */
.wc-loader-tagline {
  font-family: var(--wc-font-ja);
  font-size: var(--wc-fs-sm);
  color: var(--wc-text-sub);
  letter-spacing: 0.1em;
  opacity: 0;
  transition: opacity 0.8s ease 1.8s;
}

.wc-loader-tagline.is-visible {
  opacity: 1;
}

/* Progress bar */
.wc-loader-progress {
  width: 160px;
  height: 3px;
  background: var(--wc-border);
  border-radius: var(--wc-radius-full);
  overflow: hidden;
  margin-top: var(--wc-space-sm);
}

.wc-loader-progress-bar {
  height: 100%;
  background: var(--wc-primary);
  border-radius: var(--wc-radius-full);
  width: 0%;
  transition: width 3s ease-out;
}

/* reduced-motion: 即座に表示 */
@media (prefers-reduced-motion: reduce) {
  .wc-loader-part,
  .irodori-loader__logo-part {
    transform: none !important;
    opacity: 1 !important;
  }

  .wc-loader-part.is-assembling,
  .irodori-loader__logo-part.is-assembling {
    transition: none;
  }

  .wc-loader-svg.is-assembled,
  .irodori-loader__logo-svg.is-assembled {
    animation: none;
  }

  .wc-preloader,
  .irodori-loader {
    animation-duration: 0.1s !important;
  }
}

/* ==========================================================================
   3. Accessibility Panel（固定左下）
   ========================================================================== */

.wc-a11y-panel {
  position: fixed;
  left: var(--wc-space-md);
  bottom: var(--wc-space-md);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: var(--wc-space-xs);
}

.wc-a11y-btn {
  display: flex;
  align-items: center;
  gap: var(--wc-space-xs);
  padding: 6px 10px;
  background: var(--wc-primary-dk);
  color: var(--wc-white);
  border-radius: var(--wc-radius-sm);
  font-size: var(--wc-fs-xs);
  font-family: var(--wc-font-ja);
  font-weight: 600;
  transition: background var(--wc-dur-norm) var(--wc-ease);
  white-space: nowrap;
  box-shadow: var(--wc-shadow-md);
}

.wc-a11y-btn:hover {
  background: var(--wc-primary);
}

.wc-a11y-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ==========================================================================
   4. Header
   ========================================================================== */

.wc-header-top {
  background: var(--wc-primary-dk);
  color: var(--wc-white);
  height: var(--wc-header-top);
  display: flex;
  align-items: center;
}

.wc-header-top-inner {
  max-width: var(--wc-container);
  margin: 0 auto;
  padding: 0 var(--wc-space-xl);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--wc-space-md);
}

.wc-header-top-tel {
  display: flex;
  align-items: center;
  gap: var(--wc-space-xs);
  color: var(--wc-white);
  font-size: var(--wc-fs-lg);
  font-weight: 700;
  font-family: var(--wc-font-en);
  letter-spacing: 0.02em;
}

.wc-header-top-tel svg {
  width: 16px;
  height: 16px;
}

.wc-header-top-tel:hover {
  color: var(--wc-orange);
  text-decoration: none;
}

.wc-header-top-meta {
  display: flex;
  align-items: center;
  gap: var(--wc-space-md);
  font-size: var(--wc-fs-xs);
}

.wc-header-top-hours {
  color: rgba(255, 255, 255, 0.85);
}

.wc-lang-btn {
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--wc-radius-sm);
  color: var(--wc-white);
  font-size: var(--wc-fs-xs);
  font-family: var(--wc-font-en);
  font-weight: 600;
  transition: background var(--wc-dur-norm) var(--wc-ease), border-color var(--wc-dur-norm) var(--wc-ease);
}

.wc-lang-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--wc-white);
}

/* Main header */
.wc-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--wc-white);
  box-shadow: 0 2px 8px rgba(0, 58, 112, 0.08);
  transition: box-shadow var(--wc-dur-slow) var(--wc-ease);
}

.wc-header.is-scrolled {
  box-shadow: var(--wc-shadow-md);
}

.wc-header-main {
  height: var(--wc-header-height);
  display: flex;
  align-items: center;
}

.wc-header-inner {
  max-width: var(--wc-container);
  margin: 0 auto;
  padding: 0 var(--wc-space-xl);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--wc-space-xl);
}

.wc-logo {
  display: flex;
  align-items: center;
  gap: var(--wc-space-sm);
  text-decoration: none;
  flex-shrink: 0;
}

.wc-logo-mark {
  width: 40px;
  height: 40px;
  background: var(--wc-primary);
  border-radius: var(--wc-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wc-logo-mark svg {
  width: 24px;
  height: 24px;
  fill: var(--wc-white);
}

.wc-logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wc-logo-name {
  font-size: var(--wc-fs-sm);
  font-weight: 700;
  color: var(--wc-primary-dk);
  line-height: 1.2;
  white-space: nowrap;
}

.wc-logo-sub {
  font-size: var(--wc-fs-xs);
  color: var(--wc-text-sub);
  font-family: var(--wc-font-en);
  font-weight: 400;
}

/* Navigation */
.wc-nav {
  display: flex;
  align-items: center;
}

.wc-nav-list {
  display: flex;
  align-items: center;
  gap: 0;
}

.wc-nav-item {
  position: relative;
}

.wc-nav-link {
  display: flex;
  align-items: center;
  height: var(--wc-header-height);
  padding: 0 var(--wc-space-md);
  font-size: var(--wc-fs-sm);
  font-weight: 600;
  color: var(--wc-text);
  white-space: nowrap;
  position: relative;
  transition: color var(--wc-dur-norm) var(--wc-ease);
}

.wc-nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: var(--wc-space-md);
  right: var(--wc-space-md);
  height: 3px;
  background: var(--wc-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--wc-dur-norm) var(--wc-ease);
  border-radius: var(--wc-radius-full) var(--wc-radius-full) 0 0;
}

.wc-nav-link:hover,
.wc-nav-link.is-active {
  color: var(--wc-primary);
  text-decoration: none;
}

.wc-nav-link:hover::after,
.wc-nav-link.is-active::after {
  transform: scaleX(1);
}

.wc-header-cta {
  display: flex;
  align-items: center;
  gap: var(--wc-space-sm);
  flex-shrink: 0;
}

/* Hamburger */
.wc-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--wc-radius-md);
  padding: 0;
  background: transparent;
  transition: background var(--wc-dur-norm) var(--wc-ease);
}

.wc-hamburger:hover {
  background: var(--wc-primary-lt);
}

.wc-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--wc-text);
  border-radius: var(--wc-radius-full);
  transition: transform var(--wc-dur-norm) var(--wc-ease), opacity var(--wc-dur-norm) var(--wc-ease);
}

.wc-hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.wc-hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.wc-hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   5. Breadcrumb
   ========================================================================== */

.wc-breadcrumb {
  background: var(--wc-bg);
  border-bottom: 1px solid var(--wc-border-light);
  padding: var(--wc-space-sm) 0;
}

.wc-breadcrumb-inner {
  max-width: var(--wc-container);
  margin: 0 auto;
  padding: 0 var(--wc-space-xl);
}

.wc-breadcrumb-list {
  display: flex;
  align-items: center;
  gap: var(--wc-space-xs);
  flex-wrap: wrap;
}

.wc-breadcrumb-item {
  display: flex;
  align-items: center;
  gap: var(--wc-space-xs);
  font-size: var(--wc-fs-xs);
  color: var(--wc-text-sub);
}

.wc-breadcrumb-item:not(:last-child)::after {
  content: "/";
  color: var(--wc-border);
}

.wc-breadcrumb-link {
  color: var(--wc-primary);
  font-size: var(--wc-fs-xs);
}

.wc-breadcrumb-current {
  color: var(--wc-text-sub);
  font-size: var(--wc-fs-xs);
}

/* ==========================================================================
   6. Hero Section
   ========================================================================== */

.wc-hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--wc-primary-dk);
}

.wc-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.wc-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}

.wc-hero.is-loaded .wc-hero-img {
  transform: scale(1);
}

.wc-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 58, 112, 0.78) 0%,
    rgba(0, 102, 204, 0.45) 60%,
    rgba(0, 132, 58, 0.25) 100%
  );
}

.wc-hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--wc-container);
  margin: 0 auto;
  padding: 0 var(--wc-space-xl);
  padding-top: calc(var(--wc-header-height) + var(--wc-header-top));
  width: 100%;
}

.wc-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--wc-space-sm);
  padding: var(--wc-space-xs) var(--wc-space-md);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--wc-radius-full);
  font-size: var(--wc-fs-xs);
  color: rgba(255, 255, 255, 0.95);
  font-family: var(--wc-font-ja);
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: var(--wc-space-lg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--wc-dur-enter) var(--wc-ease) 0.4s, transform var(--wc-dur-enter) var(--wc-ease) 0.4s;
}

.wc-hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--wc-orange);
  border-radius: 50%;
  animation: wc-dot-pulse 2s ease-in-out infinite;
}

@keyframes wc-dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.8); }
}

.wc-hero.is-loaded .wc-hero-eyebrow {
  opacity: 1;
  transform: translateY(0);
}

.wc-hero-title {
  font-size: clamp(2rem, 5vw, var(--wc-fs-5xl));
  font-weight: 700;
  color: var(--wc-white);
  line-height: var(--wc-lh-tight);
  letter-spacing: -0.01em;
  margin-bottom: var(--wc-space-lg);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--wc-ease) 0.6s, transform 0.7s var(--wc-ease) 0.6s;
}

.wc-hero-title-accent {
  color: var(--wc-orange);
}

.wc-hero.is-loaded .wc-hero-title {
  opacity: 1;
  transform: translateY(0);
}

.wc-hero-lead {
  font-size: var(--wc-fs-lg);
  color: rgba(255, 255, 255, 0.9);
  line-height: var(--wc-lh-loose);
  max-width: 560px;
  margin-bottom: var(--wc-space-2xl);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--wc-ease) 0.8s, transform 0.7s var(--wc-ease) 0.8s;
}

.wc-hero.is-loaded .wc-hero-lead {
  opacity: 1;
  transform: translateY(0);
}

.wc-hero-actions {
  display: flex;
  align-items: center;
  gap: var(--wc-space-md);
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--wc-ease) 1s, transform 0.7s var(--wc-ease) 1s;
}

.wc-hero.is-loaded .wc-hero-actions {
  opacity: 1;
  transform: translateY(0);
}

.wc-hero-scroll {
  position: absolute;
  bottom: var(--wc-space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--wc-space-sm);
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--wc-fs-xs);
  font-family: var(--wc-font-en);
  letter-spacing: 0.1em;
  z-index: 1;
}

.wc-hero-scroll-arrow {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--wc-radius-full);
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.wc-hero-scroll-dot {
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--wc-radius-full);
  animation: wc-scroll-bounce 1.8s ease-in-out infinite;
}

@keyframes wc-scroll-bounce {
  0%   { transform: translateY(0); opacity: 1; }
  80%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ==========================================================================
   7. Buttons
   ========================================================================== */

.wc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--wc-space-sm);
  padding: 14px 28px;
  border-radius: var(--wc-radius-md);
  font-size: var(--wc-fs-md);
  font-weight: 700;
  font-family: var(--wc-font-ja);
  line-height: 1;
  transition:
    background var(--wc-dur-norm) var(--wc-ease),
    transform var(--wc-dur-norm) var(--wc-ease),
    box-shadow var(--wc-dur-norm) var(--wc-ease),
    color var(--wc-dur-norm) var(--wc-ease);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
}

.wc-btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.wc-btn:active {
  transform: translateY(0);
}

.wc-btn--primary {
  background: var(--wc-orange);
  color: var(--wc-white);
  border-color: var(--wc-orange);
  box-shadow: 0 4px 14px rgba(255, 156, 62, 0.35);
}

.wc-btn--primary:hover {
  background: var(--wc-orange-dk);
  border-color: var(--wc-orange-dk);
  box-shadow: 0 6px 20px rgba(255, 156, 62, 0.45);
  color: var(--wc-white);
}

.wc-btn--outline {
  background: transparent;
  color: var(--wc-white);
  border-color: rgba(255, 255, 255, 0.6);
}

.wc-btn--outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--wc-white);
  color: var(--wc-white);
}

.wc-btn--blue {
  background: var(--wc-primary);
  color: var(--wc-white);
  border-color: var(--wc-primary);
  box-shadow: 0 4px 14px var(--wc-shadow);
}

.wc-btn--blue:hover {
  background: var(--wc-primary-dk);
  border-color: var(--wc-primary-dk);
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.35);
  color: var(--wc-white);
}

.wc-btn--green {
  background: var(--wc-green);
  color: var(--wc-white);
  border-color: var(--wc-green);
}

.wc-btn--green:hover {
  background: var(--wc-green-dk);
  border-color: var(--wc-green-dk);
  color: var(--wc-white);
}

.wc-btn--ghost {
  background: transparent;
  color: var(--wc-primary);
  border-color: var(--wc-primary);
}

.wc-btn--ghost:hover {
  background: var(--wc-primary-lt);
  color: var(--wc-primary-dk);
}

.wc-btn--sm {
  padding: 10px 20px;
  font-size: var(--wc-fs-sm);
}

.wc-btn--lg {
  padding: 18px 36px;
  font-size: var(--wc-fs-lg);
}

.wc-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform var(--wc-dur-norm) var(--wc-ease);
}

.wc-btn:hover svg {
  transform: translateX(3px);
}

/* ==========================================================================
   8. Section Base
   ========================================================================== */

.wc-section {
  padding: var(--wc-space-4xl) 0;
}

.wc-section--alt {
  background: var(--wc-bg-alt);
}

.wc-section--white {
  background: var(--wc-white);
}

.wc-section--primary {
  background: var(--wc-primary);
  color: var(--wc-white);
}

.wc-section--dark {
  background: var(--wc-primary-dk);
  color: var(--wc-white);
}

.wc-section--green {
  background: var(--wc-green-lt);
}

.wc-container {
  max-width: var(--wc-container);
  margin: 0 auto;
  padding: 0 var(--wc-space-xl);
}

.wc-section-head {
  text-align: center;
  margin-bottom: var(--wc-space-3xl);
}

.wc-section-label {
  display: inline-block;
  font-size: var(--wc-fs-xs);
  font-family: var(--wc-font-en);
  font-weight: 700;
  color: var(--wc-primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--wc-space-sm);
  padding: 4px 12px;
  background: var(--wc-primary-lt);
  border-radius: var(--wc-radius-full);
}

.wc-section-title {
  font-size: clamp(1.5rem, 3vw, var(--wc-fs-3xl));
  font-weight: 700;
  color: var(--wc-primary-dk);
  line-height: var(--wc-lh-tight);
  margin-bottom: var(--wc-space-md);
}

.wc-section-title--white {
  color: var(--wc-white);
}

.wc-section-desc {
  font-size: var(--wc-fs-md);
  color: var(--wc-text-sub);
  line-height: var(--wc-lh-loose);
  max-width: 600px;
  margin: 0 auto;
}

.wc-section-desc--white {
  color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   9. News Section
   ========================================================================== */

.wc-news {
  background: var(--wc-white);
}

.wc-news-inner {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--wc-space-3xl);
  align-items: start;
}

.wc-news-head {
  text-align: left;
}

.wc-news-head .wc-section-label {
  display: block;
  margin-bottom: var(--wc-space-sm);
}

.wc-news-head .wc-section-title {
  font-size: var(--wc-fs-2xl);
  margin-bottom: var(--wc-space-lg);
}

.wc-news-list {
  border-top: 1px solid var(--wc-border);
}

.wc-news-item {
  border-bottom: 1px solid var(--wc-border-light);
}

.wc-news-link {
  display: flex;
  align-items: baseline;
  gap: var(--wc-space-md);
  padding: var(--wc-space-md) 0;
  text-decoration: none;
  transition: background var(--wc-dur-norm) var(--wc-ease);
  flex-wrap: wrap;
}

.wc-news-link:hover {
  text-decoration: none;
}

.wc-news-link:hover .wc-news-title-text {
  color: var(--wc-primary);
  text-decoration: underline;
}

.wc-news-meta {
  display: flex;
  align-items: center;
  gap: var(--wc-space-sm);
  flex-shrink: 0;
}

.wc-news-date {
  font-size: var(--wc-fs-sm);
  color: var(--wc-text-sub);
  font-family: var(--wc-font-en);
  white-space: nowrap;
}

.wc-news-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--wc-radius-full);
  font-size: var(--wc-fs-xs);
  font-weight: 700;
  background: var(--wc-primary-lt);
  color: var(--wc-primary);
  white-space: nowrap;
}

.wc-news-badge--green {
  background: var(--wc-green-lt);
  color: var(--wc-green);
}

.wc-news-badge--orange {
  background: var(--wc-orange-lt);
  color: var(--wc-orange-dk);
}

.wc-news-title-text {
  font-size: var(--wc-fs-md);
  color: var(--wc-text);
  line-height: var(--wc-lh-normal);
  transition: color var(--wc-dur-norm) var(--wc-ease);
}

/* ==========================================================================
   10. Services Section
   ========================================================================== */

.wc-services {
  background: var(--wc-bg);
}

.wc-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--wc-space-lg);
}

.wc-service-card {
  background: var(--wc-white);
  border-radius: var(--wc-radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 58, 112, 0.06);
  transition:
    box-shadow var(--wc-dur-slow) var(--wc-ease),
    transform var(--wc-dur-slow) var(--wc-ease);
}

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

.wc-service-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.wc-service-body {
  padding: var(--wc-space-lg);
}

.wc-service-icon {
  width: 48px;
  height: 48px;
  background: var(--wc-primary-lt);
  border-radius: var(--wc-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--wc-space-md);
}

.wc-service-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--wc-primary);
}

.wc-service-title {
  font-size: var(--wc-fs-lg);
  font-weight: 700;
  color: var(--wc-primary-dk);
  margin-bottom: var(--wc-space-sm);
}

.wc-service-desc {
  font-size: var(--wc-fs-sm);
  color: var(--wc-text-sub);
  line-height: var(--wc-lh-loose);
}

.wc-service-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--wc-fs-sm);
  font-weight: 600;
  color: var(--wc-primary);
  margin-top: var(--wc-space-md);
  transition: gap var(--wc-dur-norm) var(--wc-ease);
}

.wc-service-link:hover {
  gap: 8px;
  text-decoration: none;
  color: var(--wc-primary-dk);
}

/* ==========================================================================
   11. Stats Section (Counter)
   ========================================================================== */

.wc-stats {
  background: var(--wc-primary);
  color: var(--wc-white);
}

.wc-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--wc-space-xl);
}

.wc-stat-item {
  text-align: center;
  padding: var(--wc-space-xl) var(--wc-space-lg);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.wc-stat-item:last-child {
  border-right: none;
}

.wc-stat-num {
  font-family: var(--wc-font-en);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--wc-white);
  line-height: 1;
  margin-bottom: var(--wc-space-xs);
}

.wc-stat-num-suffix {
  font-size: var(--wc-fs-xl);
  font-family: var(--wc-font-ja);
}

.wc-stat-label {
  font-size: var(--wc-fs-sm);
  color: rgba(255, 255, 255, 0.85);
  line-height: var(--wc-lh-normal);
}

.wc-stat-note {
  font-size: var(--wc-fs-xs);
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

/* ==========================================================================
   12. Services Flow (Seido Explanation)
   ========================================================================== */

.wc-flow {
  background: var(--wc-green-lt);
}

.wc-flow-title {
  font-size: var(--wc-fs-xl);
  font-weight: 700;
  color: var(--wc-primary-dk);
  margin-bottom: var(--wc-space-2xl);
  text-align: center;
}

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

.wc-flow-steps::before {
  content: "";
  position: absolute;
  top: 40px;
  left: calc(10% + 40px);
  right: calc(10% + 40px);
  height: 2px;
  background: var(--wc-primary);
  z-index: 0;
}

.wc-flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 var(--wc-space-sm);
}

.wc-flow-num {
  width: 80px;
  height: 80px;
  background: var(--wc-primary);
  color: var(--wc-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--wc-font-en);
  font-size: var(--wc-fs-2xl);
  font-weight: 700;
  margin-bottom: var(--wc-space-md);
  border: 4px solid var(--wc-white);
  box-shadow: 0 0 0 2px var(--wc-primary);
  flex-shrink: 0;
}

.wc-flow-label {
  font-size: var(--wc-fs-sm);
  font-weight: 700;
  color: var(--wc-primary-dk);
  margin-bottom: var(--wc-space-xs);
}

.wc-flow-desc {
  font-size: var(--wc-fs-xs);
  color: var(--wc-text-sub);
  line-height: var(--wc-lh-normal);
}

/* ==========================================================================
   13. Facilities Section
   ========================================================================== */

.wc-facilities {
  background: var(--wc-white);
}

.wc-facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--wc-space-xl);
}

.wc-facility-card {
  border-radius: var(--wc-radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 58, 112, 0.08);
  transition:
    box-shadow var(--wc-dur-slow) var(--wc-ease),
    transform var(--wc-dur-slow) var(--wc-ease);
}

.wc-facility-card:hover {
  box-shadow: var(--wc-shadow-lg);
  transform: translateY(-4px);
}

.wc-facility-img-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.wc-facility-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--wc-ease);
}

.wc-facility-card:hover .wc-facility-img {
  transform: scale(1.05);
}

.wc-facility-tag {
  position: absolute;
  top: var(--wc-space-md);
  left: var(--wc-space-md);
  padding: 4px 12px;
  background: var(--wc-primary);
  color: var(--wc-white);
  font-size: var(--wc-fs-xs);
  font-weight: 700;
  border-radius: var(--wc-radius-full);
}

.wc-facility-body {
  padding: var(--wc-space-lg);
  background: var(--wc-white);
}

.wc-facility-name {
  font-size: var(--wc-fs-lg);
  font-weight: 700;
  color: var(--wc-primary-dk);
  margin-bottom: var(--wc-space-sm);
}

.wc-facility-info {
  font-size: var(--wc-fs-sm);
  color: var(--wc-text-sub);
  line-height: var(--wc-lh-normal);
  margin-bottom: var(--wc-space-md);
}

.wc-facility-info dt {
  font-weight: 600;
  color: var(--wc-text);
  margin-bottom: 2px;
}

.wc-facility-info dd {
  margin-bottom: var(--wc-space-sm);
}

.wc-facility-info dd:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   14. Recruit Section
   ========================================================================== */

.wc-recruit {
  background: var(--wc-bg);
}

.wc-recruit-banner {
  background: linear-gradient(135deg, var(--wc-primary-dk) 0%, var(--wc-primary) 60%, var(--wc-green) 100%);
  border-radius: var(--wc-radius-xl);
  padding: var(--wc-space-3xl);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--wc-space-2xl);
  align-items: center;
  margin-bottom: var(--wc-space-3xl);
}

.wc-recruit-title {
  font-size: var(--wc-fs-3xl);
  font-weight: 700;
  color: var(--wc-white);
  line-height: var(--wc-lh-tight);
  margin-bottom: var(--wc-space-md);
}

.wc-recruit-lead {
  font-size: var(--wc-fs-lg);
  color: rgba(255, 255, 255, 0.9);
  line-height: var(--wc-lh-loose);
}

.wc-recruit-jobs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--wc-space-lg);
}

.wc-job-card {
  background: var(--wc-white);
  border-radius: var(--wc-radius-lg);
  padding: var(--wc-space-xl);
  border: 1px solid var(--wc-border);
  transition:
    box-shadow var(--wc-dur-slow) var(--wc-ease),
    border-color var(--wc-dur-slow) var(--wc-ease),
    transform var(--wc-dur-slow) var(--wc-ease);
}

.wc-job-card:hover {
  box-shadow: var(--wc-shadow-md);
  border-color: var(--wc-primary);
  transform: translateY(-4px);
}

.wc-job-type {
  display: inline-block;
  padding: 4px 10px;
  background: var(--wc-primary-lt);
  color: var(--wc-primary);
  font-size: var(--wc-fs-xs);
  font-weight: 700;
  border-radius: var(--wc-radius-full);
  margin-bottom: var(--wc-space-sm);
}

.wc-job-title {
  font-size: var(--wc-fs-xl);
  font-weight: 700;
  color: var(--wc-primary-dk);
  margin-bottom: var(--wc-space-sm);
}

.wc-job-detail {
  font-size: var(--wc-fs-sm);
  color: var(--wc-text-sub);
  line-height: var(--wc-lh-normal);
}

/* ==========================================================================
   15. Disclosure (情報公開) Section
   ========================================================================== */

.wc-disclosure {
  background: var(--wc-bg-alt);
  border-top: 4px solid var(--wc-green);
}

.wc-disclosure-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--wc-space-lg);
}

.wc-disclosure-item {
  background: var(--wc-white);
  border-radius: var(--wc-radius-md);
  padding: var(--wc-space-xl);
  border: 1px solid var(--wc-border);
  display: flex;
  flex-direction: column;
  gap: var(--wc-space-sm);
}

.wc-disclosure-icon {
  width: 40px;
  height: 40px;
  background: var(--wc-green-lt);
  border-radius: var(--wc-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wc-disclosure-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--wc-green);
}

.wc-disclosure-title {
  font-size: var(--wc-fs-md);
  font-weight: 700;
  color: var(--wc-primary-dk);
}

.wc-disclosure-desc {
  font-size: var(--wc-fs-sm);
  color: var(--wc-text-sub);
  line-height: var(--wc-lh-normal);
  flex: 1;
}

.wc-disclosure-link {
  font-size: var(--wc-fs-sm);
  font-weight: 600;
  color: var(--wc-green);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.wc-disclosure-link:hover {
  color: var(--wc-green-dk);
  gap: 8px;
  text-decoration: none;
}

/* ==========================================================================
   16. FAQ Section
   ========================================================================== */

.wc-faq {
  background: var(--wc-white);
}

.wc-faq-list {
  max-width: var(--wc-container-sm);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--wc-space-sm);
}

.wc-faq-item {
  border: 1px solid var(--wc-border);
  border-radius: var(--wc-radius-md);
  overflow: hidden;
}

.wc-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--wc-space-md);
  padding: var(--wc-space-lg) var(--wc-space-xl);
  background: var(--wc-white);
  text-align: left;
  font-size: var(--wc-fs-md);
  font-weight: 700;
  color: var(--wc-text);
  transition: background var(--wc-dur-norm) var(--wc-ease);
}

.wc-faq-question:hover {
  background: var(--wc-primary-lt);
}

.wc-faq-q-mark {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--wc-primary);
  color: var(--wc-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--wc-font-en);
  font-weight: 700;
  font-size: var(--wc-fs-md);
}

.wc-faq-q-text {
  flex: 1;
}

.wc-faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  color: var(--wc-primary);
}

.wc-faq-icon::before,
.wc-faq-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: var(--wc-radius-full);
  transition: transform var(--wc-dur-norm) var(--wc-ease);
}

.wc-faq-icon::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.wc-faq-icon::after {
  width: 2px;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.wc-faq-item.is-open .wc-faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.wc-faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--wc-dur-slow) var(--wc-ease);
}

.wc-faq-item.is-open .wc-faq-answer {
  grid-template-rows: 1fr;
}

.wc-faq-answer-inner {
  overflow: hidden;
  display: flex;
  gap: var(--wc-space-md);
  padding: 0 var(--wc-space-xl);
}

.wc-faq-item.is-open .wc-faq-answer-inner {
  padding: var(--wc-space-md) var(--wc-space-xl) var(--wc-space-lg);
}

.wc-faq-a-mark {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--wc-orange);
  color: var(--wc-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--wc-font-en);
  font-weight: 700;
  font-size: var(--wc-fs-md);
  margin-top: 2px;
}

.wc-faq-a-text {
  font-size: var(--wc-fs-md);
  color: var(--wc-text-sub);
  line-height: var(--wc-lh-loose);
}

/* ==========================================================================
   17. Footer
   ========================================================================== */

.wc-footer {
  background: var(--wc-primary-dk);
  color: rgba(255, 255, 255, 0.85);
}

.wc-footer-main {
  padding: var(--wc-space-4xl) 0 var(--wc-space-3xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wc-footer-grid {
  display: grid;
  grid-template-columns: 300px 1fr 1fr 1fr;
  gap: var(--wc-space-3xl);
}

.wc-footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--wc-space-lg);
}

.wc-footer-logo {
  display: flex;
  align-items: center;
  gap: var(--wc-space-sm);
  text-decoration: none;
}

.wc-footer-logo-mark {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--wc-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wc-footer-logo-mark svg {
  width: 22px;
  height: 22px;
  fill: var(--wc-white);
}

.wc-footer-logo-name {
  font-size: var(--wc-fs-sm);
  font-weight: 700;
  color: var(--wc-white);
}

.wc-footer-address {
  font-size: var(--wc-fs-sm);
  color: rgba(255, 255, 255, 0.7);
  line-height: var(--wc-lh-loose);
}

.wc-footer-tel {
  color: var(--wc-white);
  font-family: var(--wc-font-en);
  font-size: var(--wc-fs-xl);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: var(--wc-space-xs);
}

.wc-footer-tel svg {
  width: 18px;
  height: 18px;
}

.wc-footer-tel:hover {
  color: var(--wc-orange);
  text-decoration: none;
}

.wc-footer-sns {
  display: flex;
  gap: var(--wc-space-sm);
}

.wc-footer-sns-btn {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--wc-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  transition: background var(--wc-dur-norm) var(--wc-ease), color var(--wc-dur-norm) var(--wc-ease);
}

.wc-footer-sns-btn svg {
  width: 18px;
  height: 18px;
}

.wc-footer-sns-btn:hover {
  background: var(--wc-primary);
  color: var(--wc-white);
  text-decoration: none;
}

.wc-footer-nav-group {}

.wc-footer-nav-title {
  font-size: var(--wc-fs-sm);
  font-weight: 700;
  color: var(--wc-white);
  margin-bottom: var(--wc-space-md);
  padding-bottom: var(--wc-space-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.wc-footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--wc-space-sm);
}

.wc-footer-nav-link {
  font-size: var(--wc-fs-sm);
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--wc-dur-norm) var(--wc-ease);
}

.wc-footer-nav-link:hover {
  color: var(--wc-white);
  text-decoration: none;
}

/* Footer bottom */
.wc-footer-bottom {
  padding: var(--wc-space-lg) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--wc-space-md);
  flex-wrap: wrap;
}

.wc-footer-copy {
  font-size: var(--wc-fs-xs);
  color: rgba(255, 255, 255, 0.5);
}

.wc-footer-legal {
  display: flex;
  gap: var(--wc-space-lg);
}

.wc-footer-legal-link {
  font-size: var(--wc-fs-xs);
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--wc-dur-norm) var(--wc-ease);
}

.wc-footer-legal-link:hover {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.wc-footer-a11y-note {
  font-size: var(--wc-fs-xs);
  color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   18. Scroll Animation (S1:fadeInUp / S6:stagger)
   ========================================================================== */

.wc-fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity var(--wc-dur-enter) var(--wc-ease-out),
    transform var(--wc-dur-enter) var(--wc-ease-out);
}

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

/* S6: stagger */
.wc-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--wc-dur-enter) var(--wc-ease-out),
    transform var(--wc-dur-enter) var(--wc-ease-out);
}

.wc-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.wc-stagger.is-visible > *:nth-child(2) { transition-delay: 80ms; }
.wc-stagger.is-visible > *:nth-child(3) { transition-delay: 160ms; }
.wc-stagger.is-visible > *:nth-child(4) { transition-delay: 240ms; }
.wc-stagger.is-visible > *:nth-child(5) { transition-delay: 320ms; }

.wc-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* S8: counter */
.wc-counter {
  display: inline-block;
}

/* Slide-in from left */
.wc-slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity var(--wc-dur-enter) var(--wc-ease-out),
    transform var(--wc-dur-enter) var(--wc-ease-out);
}

.wc-slide-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale up */
.wc-scale-up {
  opacity: 0;
  transform: scale(0.92);
  transition:
    opacity var(--wc-dur-enter) var(--wc-ease-out),
    transform var(--wc-dur-enter) var(--wc-ease-out);
}

.wc-scale-up.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* reduced-motion: disable animations */
@media (prefers-reduced-motion: reduce) {
  .wc-fade-up,
  .wc-stagger > *,
  .wc-slide-left,
  .wc-scale-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   19. Page Header (subpages)
   ========================================================================== */

.wc-page-header {
  background: linear-gradient(135deg, var(--wc-primary-dk) 0%, var(--wc-primary) 100%);
  padding: calc(var(--wc-header-height) + var(--wc-header-top) + var(--wc-space-3xl)) 0 var(--wc-space-3xl);
  color: var(--wc-white);
}

.wc-page-header-title {
  font-size: var(--wc-fs-3xl);
  font-weight: 700;
  color: var(--wc-white);
  margin-bottom: var(--wc-space-sm);
}

.wc-page-header-subtitle {
  font-size: var(--wc-fs-md);
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   20. Sidebar Layout (subpages)
   ========================================================================== */

.wc-subpage-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--wc-space-3xl);
  align-items: start;
  padding: var(--wc-space-3xl) 0;
}

.wc-sidebar {}

.wc-sidebar-nav {
  background: var(--wc-white);
  border: 1px solid var(--wc-border);
  border-radius: var(--wc-radius-md);
  overflow: hidden;
}

.wc-sidebar-nav-title {
  background: var(--wc-primary);
  color: var(--wc-white);
  font-size: var(--wc-fs-sm);
  font-weight: 700;
  padding: var(--wc-space-md) var(--wc-space-lg);
}

.wc-sidebar-nav-list {
  display: flex;
  flex-direction: column;
}

.wc-sidebar-nav-link {
  display: flex;
  align-items: center;
  gap: var(--wc-space-sm);
  padding: var(--wc-space-sm) var(--wc-space-lg);
  font-size: var(--wc-fs-sm);
  color: var(--wc-text);
  border-bottom: 1px solid var(--wc-border-light);
  transition: background var(--wc-dur-norm) var(--wc-ease), color var(--wc-dur-norm) var(--wc-ease);
}

.wc-sidebar-nav-link:hover,
.wc-sidebar-nav-link.is-active {
  background: var(--wc-primary-lt);
  color: var(--wc-primary);
  text-decoration: none;
}

.wc-sidebar-nav-link.is-active {
  font-weight: 700;
  border-left: 3px solid var(--wc-primary);
}

/* ==========================================================================
   21. Content Styles
   ========================================================================== */

.wc-content {
  font-size: var(--wc-fs-md);
  line-height: var(--wc-lh-loose);
  color: var(--wc-text);
}

.wc-content h2 {
  font-size: var(--wc-fs-2xl);
  font-weight: 700;
  color: var(--wc-primary-dk);
  margin-top: var(--wc-space-3xl);
  margin-bottom: var(--wc-space-lg);
  padding-left: var(--wc-space-md);
  border-left: 4px solid var(--wc-primary);
}

.wc-content h3 {
  font-size: var(--wc-fs-xl);
  font-weight: 700;
  color: var(--wc-text);
  margin-top: var(--wc-space-2xl);
  margin-bottom: var(--wc-space-md);
}

.wc-content p {
  margin-bottom: var(--wc-space-lg);
}

.wc-content table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--wc-space-xl) 0;
  font-size: var(--wc-fs-sm);
}

.wc-content th {
  background: var(--wc-primary);
  color: var(--wc-white);
  padding: var(--wc-space-sm) var(--wc-space-md);
  text-align: left;
  font-weight: 700;
}

.wc-content td {
  padding: var(--wc-space-sm) var(--wc-space-md);
  border: 1px solid var(--wc-border);
}

.wc-content tr:nth-child(even) td {
  background: var(--wc-bg);
}

/* ==========================================================================
   22. Mobile Menu Overlay
   ========================================================================== */

.wc-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 850;
  pointer-events: none;
  visibility: hidden;
}

.wc-mobile-menu.is-open {
  pointer-events: auto;
  visibility: visible;
}

.wc-mobile-menu-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 58, 112, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--wc-dur-slow) var(--wc-ease);
}

.wc-mobile-menu.is-open .wc-mobile-menu-overlay {
  opacity: 1;
}

.wc-mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 88vw);
  background: var(--wc-white);
  transform: translateX(100%);
  transition: transform var(--wc-dur-slow) var(--wc-ease);
  overflow-y: auto;
  padding: var(--wc-space-xl) var(--wc-space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--wc-space-sm);
}

.wc-mobile-menu.is-open .wc-mobile-menu-panel {
  transform: translateX(0);
}

.wc-mobile-menu-close {
  align-self: flex-end;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--wc-radius-md);
  background: var(--wc-bg);
  color: var(--wc-text);
  font-size: var(--wc-fs-xl);
  line-height: 1;
  margin-bottom: var(--wc-space-md);
}

.wc-mobile-menu-close:hover {
  background: var(--wc-primary-lt);
  color: var(--wc-primary);
}

.wc-mobile-nav-link {
  display: block;
  padding: var(--wc-space-md) var(--wc-space-lg);
  font-size: var(--wc-fs-md);
  font-weight: 600;
  color: var(--wc-text);
  border-radius: var(--wc-radius-md);
  transition: background var(--wc-dur-norm) var(--wc-ease), color var(--wc-dur-norm) var(--wc-ease);
}

.wc-mobile-nav-link:hover {
  background: var(--wc-primary-lt);
  color: var(--wc-primary);
  text-decoration: none;
}

/* ==========================================================================
   23. Utility Classes
   ========================================================================== */

.wc-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.wc-text-center { text-align: center; }
.wc-text-left   { text-align: left; }
.wc-text-right  { text-align: right; }

.wc-mt-lg  { margin-top: var(--wc-space-lg); }
.wc-mt-xl  { margin-top: var(--wc-space-xl); }
.wc-mt-2xl { margin-top: var(--wc-space-2xl); }
.wc-mt-3xl { margin-top: var(--wc-space-3xl); }
.wc-mb-lg  { margin-bottom: var(--wc-space-lg); }
.wc-mb-xl  { margin-bottom: var(--wc-space-xl); }

.wc-flex { display: flex; }
.wc-flex-center { display: flex; align-items: center; justify-content: center; }
.wc-gap-sm { gap: var(--wc-space-sm); }
.wc-gap-md { gap: var(--wc-space-md); }
.wc-gap-lg { gap: var(--wc-space-lg); }

/* ==========================================================================
   24. Responsive — Tablet (≤1024px)
   ========================================================================== */

@media (max-width: 1024px) {
  :root {
    --wc-header-height: 64px;
  }

  .wc-nav { display: none; }
  .wc-hamburger { display: flex; }

  .wc-hero-content {
    padding-top: calc(var(--wc-header-height) + var(--wc-header-top) + var(--wc-space-2xl));
  }

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

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

  .wc-stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .wc-stat-item:last-child {
    border-bottom: none;
  }

  .wc-news-inner {
    grid-template-columns: 1fr;
  }

  .wc-facilities-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin: 0 auto;
  }

  .wc-recruit-banner {
    grid-template-columns: 1fr;
  }

  .wc-recruit-jobs {
    grid-template-columns: 1fr;
  }

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

  .wc-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--wc-space-2xl);
  }

  .wc-flow-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--wc-space-lg);
  }

  .wc-flow-steps::before {
    display: none;
  }

  .wc-subpage-layout {
    grid-template-columns: 1fr;
  }

  .wc-sidebar {
    display: none;
  }
}

/* ==========================================================================
   25. Responsive — Mobile (≤768px)
   ========================================================================== */

@media (max-width: 768px) {
  :root {
    --wc-header-height: 56px;
    --wc-header-top: 0px;
    --wc-space-4xl: 4rem;
  }

  .wc-header-top { display: none; }

  .wc-hero {
    min-height: 100svh;
  }

  .wc-hero-title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .wc-hero-lead {
    font-size: var(--wc-fs-md);
  }

  .wc-hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .wc-section {
    padding: var(--wc-space-3xl) 0;
  }

  .wc-container {
    padding: 0 var(--wc-space-lg);
  }

  .wc-services-grid {
    grid-template-columns: 1fr;
  }

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

  .wc-flow-steps {
    grid-template-columns: 1fr;
    gap: var(--wc-space-md);
  }

  .wc-facilities-grid {
    grid-template-columns: 1fr;
  }

  .wc-recruit-jobs {
    grid-template-columns: 1fr;
  }

  .wc-disclosure-grid {
    grid-template-columns: 1fr;
  }

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

  .wc-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--wc-space-sm);
  }

  .wc-a11y-panel {
    bottom: var(--wc-space-sm);
    left: var(--wc-space-sm);
  }
}

/* ==========================================================================
   26. Print
   ========================================================================== */

@media print {
  .wc-preloader,
  .irodori-loader,
  .wc-header,
  .wc-a11y-panel,
  .wc-mobile-menu,
  .wc-hero-scroll {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  .wc-hero {
    height: auto;
    min-height: 0;
    background: #fff;
    padding: 2cm 0 1cm;
  }

  .wc-hero-overlay { display: none; }

  .wc-hero-title,
  .wc-hero-lead {
    color: #000;
    opacity: 1;
    transform: none;
  }
}

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