/* ==============================================================
   三幸株式会社 指定管理LP — style.css
   Author: WebDir / Copywriter LP Team
   ============================================================== */

/* ────────────────────────────────────────────────────────────
   1. CSS CUSTOM PROPERTIES（デザイントークン）
──────────────────────────────────────────────────────────── */
:root {
  /* Colors */
  --color-primary:    #1B4F8A;
  --color-accent:     #0d99e6;
  --color-light-bg:   #E8F1FA;
  --color-dark-navy:  #0D2B52;
  --color-text-dark:  #1A1A2E;
  --color-text-gray:  #515151;
  --color-white:      #FFFFFF;
  --color-border:     #D0E3F7;
  --color-success:    #27AE60;
  --color-danger:     #E53E3E;

  /* Typography */
  --font-base: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  --font-num:  'Inter', 'Noto Sans JP', sans-serif;

  /* Spacing */
  --section-pad:  5rem 0;
  --radius-card:  12px;
  --radius-btn:   8px;
  --radius-input: 6px;

  /* Shadow */
  --shadow-card:  0 4px 24px rgba(27, 79, 138, 0.10);
  --shadow-hover: 0 8px 32px rgba(27, 79, 138, 0.18);

  /* Transition */
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  /* Container */
  --max-w: 1160px;
  --gutter: 1.5rem;
}

/* ────────────────────────────────────────────────────────────
   2. RESET & BASE
──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-base);
  color: var(--color-text-dark);
  background: var(--color-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.d-none {
  display: none;
}
/* ────────────────────────────────────────────────────────────
   3. LAYOUT UTILITIES
──────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-pad { padding: var(--section-pad); }
.section-pad-top { padding-top: 4rem; }
.text-center { text-align: center; }

.sp-only { display: none; }

/* ────────────────────────────────────────────────────────────
   4. TYPOGRAPHY
──────────────────────────────────────────────────────────── */
.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(47, 128, 208, 0.08);
  padding: 0.25rem 0.875rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.results-eyebrow { color: var(--color-white); background: rgba(255,255,255,0.15); }

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--color-text-dark);
}

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

.section-lead {
  font-size: 1.1rem;
  color: var(--color-text-gray);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.8;
}

.results-lead { color: rgba(255,255,255,0.8); }

.section-header { margin-bottom: 3rem; }

/* ────────────────────────────────────────────────────────────
   5. BUTTONS
──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-btn);
  font-size: 1rem;
  font-weight: 700;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

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

.btn-sm { padding: 0.625rem 1.25rem; font-size: 0.875rem; }

.btn-accent {
  background: linear-gradient(135deg, #0072bc, #00a0e9);
  color: var(--color-white);
}
.btn-accent:hover {
  background: #005a94;
  box-shadow: 0 4px 16px rgba(0,114,188,0.3);
  transform: translateY(-1px);
}

.btn-white-primary {
  background: var(--color-white);
  color: var(--color-primary);
}
.btn-white-primary:hover {
  background: var(--color-light-bg);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transform: translateY(-1px);
}

.btn-ghost-white {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--color-white);
}

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 1rem;
  font-size: 1.1rem;
  background: linear-gradient(135deg, #0072bc, #00a0e9);
  color: var(--color-white);
  border-radius: var(--radius-btn);
  margin-top: 0.5rem;
}
.btn-submit:hover {
  background: #005a94;
  box-shadow: 0 4px 20px rgba(0,114,188,0.3);
  transform: translateY(-2px);
}

/* ────────────────────────────────────────────────────────────
   6. STICKY CTA
──────────────────────────────────────────────────────────── */
.sticky-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  background: linear-gradient(135deg, #0072bc, #00a0e9);
  color: var(--color-white);
  padding: 0.875rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 20px rgba(0,114,188,0.35);
  opacity: 0;
  transform: translateY(1rem);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
}

.sticky-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sticky-cta:hover {
  background: #005a94;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,114,188,0.4);
}

/* ────────────────────────────────────────────────────────────
   7. HEADER
──────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(27,79,138,0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.5rem;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header-logo__img {
  height: 36px;
  width: auto;
  display: block;
}

.header-logo__divider {
  display: inline-block;
  width: 1px;
  height: 28px;
  background: var(--color-border);
  margin: 0 0.25rem;
}

.header-logo__tagline {
  font-size: 0.72rem;
  color: var(--color-text-dark);
  font-weight: 500;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 900;
  border-radius: 8px;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-size: 1rem; font-weight: 700; color: var(--color-text-dark); }
.logo-tagline { font-size: 0.7rem; color: var(--color-text-gray); }

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.875rem;
  color: var(--color-text-dark);
  font-weight: 500;
  transition: color var(--transition);
  white-space: nowrap;
}
.nav-link:hover { color: var(--color-primary); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  padding: 1.5rem;
  flex-direction: column;
  gap: 1rem;
  z-index: 99;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.mobile-menu.open { display: flex; }
.mobile-nav-link {
  font-size: 1rem;
  font-weight: 500;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-dark);
}

/* ────────────────────────────────────────────────────────────
   8. HERO
──────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* 清掃・施設系の明るい写真に合わせてオーバーレイを強化。
     実際の写真の明るさに応じて各 opacity 値（0.92 / 0.78 / 0.50）を調整してください。 */
  background: linear-gradient(
    105deg,
    rgba(15, 50, 100, 0.52) 0%,
    rgba(15, 50, 100, 0.32) 55%,
    rgba(15, 50, 100, 0.10) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 5rem;
  padding-bottom: 5rem;
  width: 100%;
}

.hero-text { max-width: 672px; }

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.3rem 1rem;
  border-radius: 100px;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.25;
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.55), 0 1px 3px rgba(0,0,0,0.4);
}

.headline-emphasis {
  color: #7EC8F5;
}

.hero-subheadline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.95);
  font-weight: 500;
  margin-bottom: 1.25rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.hero-lead {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.8;
  max-width: 540px;
  margin-bottom: 2rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.45);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* 信頼バッジ */
.hero-badges {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-self: flex-end;
  flex-shrink: 0;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-card);
  padding: 0.875rem 1.25rem;
  color: var(--color-white);
  min-width: 200px;
}

.trust-badge svg { flex-shrink: 0; opacity: 0.9; }

.badge-num {
  display: block;
  font-family: var(--font-num);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
}

.badge-label {
  display: block;
  font-size: 0.75rem;
  opacity: 0.8;
}

/* ────────────────────────────────────────────────────────────
   9. CONCERNS
──────────────────────────────────────────────────────────── */
.concerns { background: var(--color-light-bg); }

.concerns-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.concern-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 1.75rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

/*.concern-card::before {
  content: '"';
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  font-size: 5rem;
  font-weight: 900;
  color: var(--color-light-bg);
  line-height: 1;
  pointer-events: none;
}*/

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

.concern-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--color-light-bg);
  border-radius: 12px;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.concern-title {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  color: var(--color-text-dark);
}

.concern-text {
  font-size: 0.875rem;
  color: var(--color-text-gray);
  line-height: 1.7;
  text-align: justify;
}

/* ブリッジ */
.concerns-bridge {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.bridge-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.bridge-text {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.75rem;
  white-space: nowrap;
}

/* ────────────────────────────────────────────────────────────
   10. STRENGTHS
──────────────────────────────────────────────────────────── */
.strength-block { padding: 5rem 0; }
.strength-odd  { background: var(--color-white); }
.strength-even { background: var(--color-light-bg); }

.strength-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.strength-inner.reverse { direction: rtl; }
.strength-inner.reverse > * { direction: ltr; }

.strength-text { position: relative; }

.strength-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: var(--color-accent);
  font-family: var(--font-num);
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--color-white);
  line-height: 1;
}

.strength-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.strength-title {
  font-size: clamp(1.2rem, 2.2vw, 1.625rem);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.strength-body {
  font-size: 0.9375rem;
  color: var(--color-text-gray);
  line-height: 1.85;
  margin-bottom: 1.5rem;
  text-align: justify;
  position: relative;
  z-index: 1;
}

.strength-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  position: relative;
  z-index: 1;
}

.strength-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9rem;
  color: var(--color-text-dark);
}

.strength-list li::before {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background: var(--color-accent);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
  margin-top: 2px;
}

/* Diagram shared */
.strength-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Strength 01: Flow Diagram ── */
.flow-diagram {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.flow-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.flow-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 1rem 0.75rem;
  border-radius: var(--radius-card);
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
  flex: 1;
}

.flow-citizens {
  background: var(--color-light-bg);
  border: 2px solid var(--color-border);
  color: var(--color-text-dark);
}

.flow-sanko {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(27,79,138,0.3);
  flex: 1.1;
}

.flow-city {
  background: var(--color-light-bg);
  border: 2px solid var(--color-border);
  color: var(--color-text-gray);
}

.flow-arrow {
  font-size: 1.25rem;
  color: var(--color-accent);
  font-weight: 700;
  flex-shrink: 0;
}

.flow-down-arrow {
  font-size: 1.5rem;
  color: var(--color-accent);
  font-weight: 700;
}

.flow-card-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-card);
  width: 100%;
}

.flow-card-blue {
  background: #fff;
  border: 1.5px solid #D0DDEF;
}

.flow-card-green {
  background: #E8F8ED;
  border: 1.5px solid var(--color-success);
}

.flow-card-icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.flow-icon-blue {
  width: 52px;
  height: 52px;
  background: #EBF3FC;
  color: var(--color-accent);
}

.flow-icon-green {
  width: 60px;
  height: 60px;
  background: var(--color-success);
}

.flow-card-body {
  flex: 1;
}

.flow-card-title {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 0.3rem;
}

.flow-title-blue { color: var(--color-accent); }

.flow-title-green {
  color: var(--color-success);
  font-size: 1rem;
}

.flow-card-desc {
  font-size: 0.75rem;
  color: var(--color-text-gray);
  line-height: 1.6;
  margin: 0;
}

.flow-card-connector {
  height: 18px;
  width: 100%;
  position: relative;
}
.flow-card-connector::before {
  content: '';
  position: absolute;
  left: calc(1.25rem + 26px);
  top: 0;
  bottom: 0;
  border-left: 2px dashed #A8C5A0;
}

/* ── Strength 02: Org Diagram ── */
.org-diagram {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.org-center { margin-bottom: 0.25rem; width: 100%; display: flex; justify-content: center; }

.org-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-card);
  font-size: 0.875rem;
  font-weight: 700;
}

.org-center-box {
  background: var(--color-primary);
  color: var(--color-white);
  flex-direction: column;
  text-align: center;
  gap: 0.4rem;
  box-shadow: 0 4px 20px rgba(27,79,138,0.35);
  padding: 1.5rem 2rem;
  font-size: 1.05rem;
  width: 60%;
}

.org-center-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.org-sub {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.75;
}

.org-branches {
  display: flex;
  gap: 0.75rem;
  width: 100%;
  justify-content: center;
  position: relative;
}

.org-branches::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 1rem;
  background: var(--color-border);
  margin-top: -1rem;
}

.org-branch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  flex: 1;
}

.org-line-v {
  width: 2px;
  height: 1rem;
  background: var(--color-border);
}

.org-facility-box {
  background: var(--color-light-bg);
  border: 2px solid var(--color-border);
  color: var(--color-primary);
  font-size: 0.85rem;
  flex-direction: column;
  text-align: center;
  gap: 0.4rem;
  padding: 1rem 0.75rem;
  width: 100%;
  justify-content: center;
  border-radius: var(--radius-card);
}

.org-rotation-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-card);
  background: #fff;
  border: 1.5px solid #D0DDEF;
  width: 100%;
  margin-top: 0.5rem;
}

.org-rotation-icon {
  width: 52px;
  height: 52px;
  background: #EBF3FC;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}

.org-rotation-body { flex: 1; }

.org-rotation-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.4;
  margin: 0 0 0.3rem;
}

.org-rotation-desc {
  font-size: 0.75rem;
  color: var(--color-text-gray);
  line-height: 1.6;
  margin: 0;
}

/* ── Strength 03: Timeline ── */
.timeline-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 440px;
}

.timeline-diagram {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  width: 100%;
  max-width: 440px;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}

.timeline-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  flex-shrink: 0;
}

.timeline-icon-normal   { background: #DDE8F5; color: var(--color-accent); }
.timeline-icon-emergency { background: #FDECEA; color: #E53E3E; }
.timeline-icon-recovery  { background: #E8F8ED; color: var(--color-success); }

.timeline-badge {
  width: 100%;
  padding: 0.3rem 0.5rem 0.3rem 0.75rem;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  border-radius: 3px;
  clip-path: polygon(0% 0%, calc(100% - 8px) 0%, 100% 50%, calc(100% - 8px) 100%, 0% 100%);
}
.timeline-badge-normal    { background: var(--color-accent); }
.timeline-badge-emergency { background: #E53E3E; }
.timeline-badge-recovery  { background: var(--color-success); }

.timeline-content { text-align: center; }

.timeline-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.tl-title-normal   { color: var(--color-accent); }
.tl-title-emergency { color: #E53E3E; }
.tl-title-recovery  { color: var(--color-success); }

.timeline-content p {
  font-size: 0.75rem;
  color: var(--color-text-gray);
  line-height: 1.5;
}

.timeline-connector {
  font-size: 1.75rem;
  color: var(--color-accent);
  padding-top: 1.25rem;
  flex-shrink: 0;
  line-height: 1;
}

.timeline-note-card {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 1.25rem;
  background: var(--color-light-bg);
  border: 1.5px solid #D0DDEF;
  border-radius: var(--radius-card);
  width: 100%;
  max-width: 440px;
  overflow: hidden;
}

.timeline-note-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  flex: 1.6;
  justify-content: center;
}

.timeline-note-icon {
  width: 44px;
  height: 44px;
  background: #DDE8F5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}

.timeline-note-text {
  font-size: 1rem;
  color: var(--color-primary);
  line-height: 1.4;
  margin: 0;
}

.timeline-note-divider {
  width: 1px;
  align-self: stretch;
  background: #D0DDEF;
  flex-shrink: 0;
}

.timeline-note-right {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  color: var(--color-primary);
  font-weight: 700;
  flex: 1;
}

.timeline-note-status {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
}

/* ── Strength 04: Hub Diagram ── */
.hub-diagram {
  position: relative;
  width: 460px;
  height: 460px;
}

.hub-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 130px;
  height: 130px;
  background: var(--color-primary);
  border-radius: 50%;
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 4px 24px rgba(27,79,138,0.4);
  z-index: 2;
}

.hub-center-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hub-nodes { position: absolute; inset: 0; }

.hub-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
  width: 154px;
  padding: 1rem 0.875rem;
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-card);
  text-align: center;
  box-shadow: var(--shadow-card);
  z-index: 2;
}

.hub-node svg { color: var(--color-accent); flex-shrink: 0; }

.hub-node-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.3;
}

.hub-node-right .hub-node-title {
  font-size: 0.75rem;
}

.hub-node-desc {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--color-text-gray);
  line-height: 1.5;
  text-align:left;
}

.hub-node-top    { top: 0;    left: 50%; transform: translateX(-50%); }
.hub-node-right  { right: 0;  top: 50%;  transform: translateY(-50%); }
.hub-node-bottom { bottom: 0; left: 50%; transform: translateX(-50%); }
.hub-node-left   { left: 0;   top: 50%;  transform: translateY(-50%); }

/* Connecting dashed lines */
.hub-diagram::before,
.hub-diagram::after {
  content: '';
  position: absolute;
  z-index: 1;
}
.hub-diagram::before {
  top: 50%; left: 50%;
  width: 2px; height: 100%;
  transform: translate(-50%, -50%);
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 4px, #8AAFD4 4px, #8AAFD4 8px);
}
.hub-diagram::after {
  top: 50%; left: 50%;
  width: 100%; height: 2px;
  transform: translate(-50%, -50%);
  background: repeating-linear-gradient(to right, transparent 0, transparent 4px, #8AAFD4 4px, #8AAFD4 8px);
}

/* ────────────────────────────────────────────────────────────
   11. RESULTS
──────────────────────────────────────────────────────────── */
.results {
  background: var(--color-dark-navy);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-bottom: .5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.3);
}

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

.stat-num {
  display: block;
  font-family: var(--font-num);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-unit {
  font-size: 1.1rem;
  font-weight: 700;
  vertical-align: baseline;
}

.stat-label {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0.25rem;
}

.stat-sub {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
}

.stats-note {
  text-align: right;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.5rem;
  margin-bottom:2.5rem;
}

/* 施設カテゴリバッジ */
.facility-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.facility-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 500;
}

/* 施設写真ギャラリー */
.facility-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.facility-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

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

.facility-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.facility-card-body {
  padding: 1rem 1.25rem;
}

.facility-card-body h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 0.25rem;
}

.facility-card-body p {
  font-size: 0.9rem;
  color: var(--color-text-gray);
}

/* ────────────────────────────────────────────────────────────
   12. TESTIMONIALS
──────────────────────────────────────────────────────────── */
.testimonials { background: var(--color-light-bg); }

.testimonials-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.testimonials-track-wrap {
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius-card);
}

.testimonials-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  flex: 0 0 100%;
  background: var(--color-white);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-card);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.quote-icon {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 5rem;
  color: var(--color-light-bg);
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.stars {
  color: #F6A623;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--color-text-dark);
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}

.author-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--color-light-bg);
  border-radius: 50%;
  color: var(--color-accent);
  flex-shrink: 0;
}

.author-info { display: flex; flex-direction: column; }

.author-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text-dark);
}

.author-role {
  font-size: 0.8rem;
  color: var(--color-text-gray);
}

/* Carousel controls */
.carousel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: var(--shadow-card);
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition);
}

.carousel-btn:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.dot-active, .dot:hover {
  background: var(--color-accent);
  transform: scale(1.3);
}

/* ────────────────────────────────────────────────────────────
   13. CONTACT
──────────────────────────────────────────────────────────── */
.contact { background: var(--color-white); }

.contact-layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 3rem;
  align-items: start;
}

/* Trust sidebar */
.contact-trust {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--color-light-bg);
  border-radius: 10px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.trust-item strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 0.25rem;
}

.trust-item p {
  font-size: 0.825rem;
  color: var(--color-text-gray);
  line-height: 1.6;
}

.company-mini {
  background: var(--color-light-bg);
  border-radius: var(--radius-card);
  padding: 1.25rem;
  font-size: 0.85rem;
  color: var(--color-text-gray);
  line-height: 1.8;
}

.company-mini h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

/* Form */
.contact-form-wrap {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 2.5rem;
  border: 1px solid var(--color-border);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row { display: flex; gap: 1rem; }
.form-row-2col > .form-group { flex: 1; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-dark);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.required {
  font-size: 0.7rem;
  background: #FDECEA;
  color: var(--color-danger);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-weight: 700;
}

.optional {
  font-size: 0.7rem;
  background: var(--color-light-bg);
  color: var(--color-text-gray);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-weight: 500;
}

.form-input,
.form-textarea {
  font-family: var(--font-base);
  font-size: 0.9375rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-input);
  padding: 0.75rem 1rem;
  color: var(--color-text-dark);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #B0BEC5;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(47, 128, 208, 0.12);
}

.form-input.error,
.form-textarea.error {
  border-color: var(--color-danger);
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.form-textarea { resize: vertical; min-height: 80px; }

.form-error {
  font-size: 0.8rem;
  color: var(--color-danger);
  min-height: 1.2em;
}

/* Radio */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
}

.radio-label input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }

.radio-custom {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid var(--color-border);
  border-radius: 50%;
  flex-shrink: 0;
  transition: border-color var(--transition);
  position: relative;
}

.radio-label input[type="radio"]:checked + .radio-custom {
  border-color: var(--color-accent);
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Checkbox */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--color-text-gray);
}

.checkbox-label input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }

.checkbox-custom {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid var(--color-border);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 1px;
  transition: background var(--transition), border-color var(--transition);
  background-image: none;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
  background: var(--color-accent);
  border-color: var(--color-accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

.privacy-link {
  color: var(--color-accent);
  text-decoration: underline;
}

/* Form success */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4rem 2rem;
  gap: 1rem;
  color: var(--color-success);
}

/* hidden 属性がある間は必ず非表示にする（author CSS の display: flex が
   ブラウザ既定の [hidden] スタイルより優先されてしまうため明示的に上書き） */
.form-success[hidden] {
  display: none;
}

.form-success h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-dark);
}

.form-success p {
  color: var(--color-text-gray);
  font-size: 0.9375rem;
  line-height: 1.8;
}

/* ────────────────────────────────────────────────────────────
   14. FOOTER
──────────────────────────────────────────────────────────── */
.site-footer { background: var(--color-primary); }

.footer-main { padding: 4rem 0 2rem; }

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

.footer-brand { display: flex; flex-direction: column; gap: 1rem; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo__img {
  height: 36px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.footer-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 900;
  border-radius: 8px;
}

.footer-logo-name {
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 700;
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

.footer-nav-title {
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.footer-nav ul { display: flex; flex-direction: column; gap: 0.625rem; }

.footer-nav a {
  font-size: 0.825rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
  line-height: 1.5;
}

.footer-nav a:hover { color: var(--color-white); }

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact-info p {
  font-size: 0.825rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

.footer-cta { margin-top: 0.75rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 0;
}

.copyright {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  text-align: center;
}

.pc {
  display:block;
}

.sp {
  display:none;
}

/* ────────────────────────────────────────────────────────────
   15. RESPONSIVE
──────────────────────────────────────────────────────────── */

/* Tablet: 1024px以下 */
@media (max-width: 1024px) {
  .concerns-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }
  .qual-grid     { grid-template-columns: repeat(3, 1fr); }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }

  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.1); }
  .stat-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.1); }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand { grid-column: 1 / -1; }
  .pc { display:none; }
}

/* Tablet: 768px以下 */
@media (max-width: 768px) {
  :root { --section-pad: 3.5rem 0; }

  .sp-only { display: block; }

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

  .hero-content { flex-direction: column; align-items: flex-start; }
  .hero-badges  { flex-direction: row; flex-wrap: wrap; align-self: stretch; }
  .trust-badge  { flex: 1; min-width: 140px; }

  .concerns-grid { grid-template-columns: 1fr; }

  .strength-inner,
  .strength-inner.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2.5rem;
  }

  .strength-inner.reverse > * { direction: ltr; }

  .strength-inner.reverse .strength-text    { order: 1; }
  .strength-inner.reverse .strength-diagram { order: 2; }

  .org-facility-box { padding: 1rem 0.5rem; }

  .bridge-line { display: none; }

  #strengths .section-header { margin-bottom: 1rem; }

  .carousel-btn { width: 24px; height: 24px; }

  .strength-num { width: 2.5rem; height: 2.5rem; font-size: 1.125rem; margin-bottom: 1rem; }

  .hub-diagram { width: 370px; height: 370px; }
  .hub-center  { width: 90px; height: 90px; font-size: 0.75rem; }
  .hub-node    { width: 132px; padding: 0.625rem; }
  .hub-node-title { font-size: 0.75rem; }
  .hub-node-desc  { font-size: 0.6rem; }

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

  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
  .form-row-2col  { flex-direction: column; }

  .testimonials-wrapper { gap: 0.5rem; }

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

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-brand { grid-column: auto; }
}

/* SP: 480px以下 */
@media (max-width: 480px) {
  :root { --section-pad: 3rem 0; }

  .hero-headline { font-size: 1.4rem; }
  .hero .container { padding-left: 0.75rem; padding-right: 0.75rem; }
  .hero-badges   { flex-direction: column; }

  .hero-cta-group { flex-direction: column; }
  .hero-cta-group .btn { width: 100%; justify-content: center; }

  .btn { padding: 0.8rem 1.25rem; font-size: 0.9rem; }

  .sticky-cta { bottom: 1rem; right: 1rem; font-size: 0.8rem; padding: 0.75rem 1.1rem; }

  .contact-form-wrap { padding: 1.5rem; }
  .testimonial-card  { padding: 1.75rem 1.25rem; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item  { padding: 1.5rem 1rem; }

  .qual-grid  { grid-template-columns: 1fr; }

  .hub-diagram { width: 280px; height: 280px; }
  .hub-node    { width: 88px; padding: 0.5rem; }
  .hub-node-title { font-size: 0.65rem; }
  .hub-node-desc  { display: none; }

  .org-branches { gap: 0.5rem; }

  .bridge-text,
  .section-lead {
    font-size:1rem;
  }
  .section-lead {
    text-align:left;
  }

  .sp {
    display:block;
  }

  .contact-title {
    font-size:1.25rem;
  }
}

/* ────────────────────────────────────────────────────────────
   16. QUALIFICATIONS（資格一覧）
──────────────────────────────────────────────────────────── */
.qualifications {
  background: var(--color-white);
}

.qual-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

@media (max-width: 768px) { .qual-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .qual-grid { grid-template-columns: 1fr; } }

.qual-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 1.75rem 1.25rem 1.5rem;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.qual-card:hover {
  box-shadow: var(--shadow-card);
  transform: none;
}

.qual-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}

.qual-card__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.45;
  margin: 0;
  min-height: calc(0.95rem * 1.45 * 2);
}

.qual-card__note {
  font-size: 0.8rem;
  color: var(--color-text-gray);
  line-height: 1.6;
  margin: 0;
  text-align: justify;
}

.qualifications__note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-gray);
  margin-top: 2rem;
}

/* ────────────────────────────────────────────────────────────
   17. PARTNERS（パートナー企業）
──────────────────────────────────────────────────────────── */
.partners {
  background: var(--color-light-bg);
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

/* PC（1025px以上）: 1段目2社・2段目3社を中央揃えで表示 */
.partners-grid .partner-card {
  flex: 0 1 calc((100% - 3rem) / 3);
}

.partners-break {
  flex-basis: 100%;
  width: 100%;
  height: 0;
}

@media (max-width: 1024px) {
  .partners-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
  .partners-grid .partner-card { flex: initial; }
  .partners-break { display: none; }
}
@media (max-width: 768px) { .partners-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .partners-grid { grid-template-columns: 1fr; } }

.partner-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: box-shadow var(--transition), transform var(--transition);
}

.partner-card:hover {
  box-shadow: var(--shadow-hover);
  transform: scale(1.03);
}

.partner-card__logo {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
}

.partner-card__logo img {
  max-width: 100%;
  max-height: 60px;
  width: auto;
  object-fit: contain;
}

.partner-card__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin: 0;
}

.partner-card__desc {
  display: none;
}

.partner-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  margin-top: auto;
  /*padding-top: 0.5rem;*/
  transition: color var(--transition);
}

.partner-card__link:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.partners__note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-gray);
  margin-top: 2rem;
}

/* ────────────────────────────────────────────────────────────
   18. FOCUS & ACCESSIBILITY
──────────────────────────────────────────────────────────── */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ── FACILITIES CTA ── */
.facilities-cta {
  background: var(--color-white);
}

.facilities-cta__img {
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  margin-bottom: 2rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.facilities-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75em;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #0072bc, #00a0e9);
  color: #fff;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
  position: relative;
}

.facilities-cta__btn::after {
  content: '›';
  position: absolute;
  right: 2rem;
  font-size: 1.4rem;
  line-height: 1;
}

.facilities-cta__btn:hover {
  background: #005a94;
  transform: translateY(-2px);
}

.facilities-cta__btn svg {
  display: none;
}

@media (max-width: 768px) {
  .facilities-cta__img {
    border-radius: 0.5rem;
  }

  .facilities-cta__btn {
    font-size: 1rem;
    padding: 1rem 1.5rem;
  }
}

/* ── PHOTO REEL ── */
.photo-reel {
  overflow: hidden;
  background: #f0f4f8;
  padding: 0;
  line-height: 0;
}

.photo-reel__track {
  display: flex;
  width: max-content;
  cursor: grab;
  user-select: none;
}

.photo-reel__track.is-dragging {
  cursor: grabbing;
}

.photo-reel__img {
  height: 240px;
  width: auto;
  object-fit: cover;
  flex-shrink: 0;
  margin-right: 10px;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
  user-drag: none;
}

@keyframes photo-reel-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .photo-reel__img {
    height: 160px;
  }

  .timeline-note-right {
    padding:1rem 0;
  }
}

/* ── ハブ図：モバイルでグリッドレイアウトに切り替え ── */
@media (max-width: 600px) {
  .hub-diagram {
    width: 100%;
    height: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .hub-diagram::before,
  .hub-diagram::after { display: none; }

  .hub-center {
    position: static;
    transform: none;
    width: 118px;
    height: 118px;
  }

  .hub-nodes {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    width: 100%;
  }

  .hub-node,
  .hub-node-top,
  .hub-node-right,
  .hub-node-bottom,
  .hub-node-left {
    position: static;
    transform: none;
    width: 100%;
    padding: 0.875rem;
  }

  .hub-node-desc {
    display: block;
    font-size: 0.72rem;
  }

  .hub-node-title { font-size: 0.8rem; }
  .hub-node-right .hub-node-title { font-size: 0.8rem; }
}

/* 電話番号リンク（タップ計測用。見た目は通常テキストのまま） */
.tel-link {
  color: inherit;
  text-decoration: none;
}
@media (hover: hover) {
  .tel-link:hover { text-decoration: underline; }
}
