@charset "UTF-8";
/* ==========================================================================
   テーマ共通スタイル（ヘッダー・フッター・共通UI・デザイントークン）
   Theme: アドフロンティア (ad frontier)
   ========================================================================== */

/* ==========================================================================
   アドフロンティア（ad frontier）公式スタイルシート
   コンセプト：誠実・先進・親しみやすい、和歌山のホームページ制作事務所
   ========================================================================== */

/* --------------------------------------------------------------------------
   Design Tokens & CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette (指示書指定に厳格準拠) */
  --color-base: #FFFFFF;
  --color-main: #15308f;
  /* 鮮やかで信頼感のあるメインブルー (#15308f) */
  --color-main-light: #1e42c2;
  --color-main-dark: #0e2060;
  --color-sub: #2E8FD5;
  /* 先進的で爽やかなブルー */
  --color-sub-light: #EBF4FC;
  --color-sub-hover: #1F78B8;
  --color-cta: #F47D20;
  /* 視認性の高いオレンジ */
  --color-cta-hover: #DF6C14;
  --color-line: #06C755;
  /* LINE公式グリーン */
  --color-line-hover: #05AF4A;
  --color-bg-sub: #F8FAFC;
  /* 補助背景 */
  --color-bg-alt: #F1F5F9;
  --color-text: #2D3748;
  /* 基本文字 */
  --color-text-muted: #64748B;
  --color-text-light: #94A3B8;
  --color-border: #E2E8F0;
  --color-border-dark: #CBD5E1;

  /* Typography */
  --font-base: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --font-accent: 'Oswald', 'Montserrat', sans-serif;

  /* Spacing Scale */
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 64px;
  --space-3xl: 96px;
  --space-4xl: 128px;

  /* Layout */
  --container-max: 1400px;
  --container-wide: 1480px;
  --container-narrow: 960px;
  --header-height: 80px;
  --header-height-scrolled: 68px;

  /* Elevation / Shadow */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 30px rgba(27, 45, 94, 0.10);
  --shadow-cta: 0 8px 20px rgba(244, 125, 32, 0.28);
  --shadow-line: 0 8px 20px rgba(6, 199, 85, 0.25);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  /* Plan & Quad Variables */
  --quad-gap: clamp(16px, 2.0vw, 32px);
  --plan-blue: #15308f;
  --plan-orange: #F47D20;
  --plan-cyan: #0284C7;
  --plan-emerald: #059669;

}

/* --------------------------------------------------------------------------
   Reset & Base Styles
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100vw;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-base);
  color: var(--color-text);
  background-color: var(--color-base);
  line-height: 1.8;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

img,
picture,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), background-color var(--transition-fast), transform var(--transition-fast), border-color var(--transition-fast);
}

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

ul,
ol {
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--color-sub);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Layout Containers & Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
  box-sizing: border-box;
}

.container-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
  box-sizing: border-box;
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
  box-sizing: border-box;
}

.section {
  padding-block: clamp(80px, 9vw, 130px);
  position: relative;
  scroll-margin-top: var(--header-height);
}

@media (max-width: 768px) {
  .section {
    padding-block: clamp(60px, 8vw, 84px);
  }
}

/* 伴走ヒーローステージ（最下部）の下の不要な隙間を削除 */
#trouble.section,
#trouble {
  padding-bottom: 0 !important;
}

/* 特徴セクション（#features）：白っぽいデジタルイメージ写真の fixed 背景 ＆ 視認性保証設計 */
#features.section,
#features {
  position: relative;
  overflow: hidden;
  background-color: #F8FAFC;
  padding-block: clamp(100px, 11vw, 150px);
}

/* 白っぽいデジタルイメージ写真の fixed 配置（パララックス風固定表示） */
#features::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../../images/features_digital_bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  opacity: 0.88;
  z-index: 0;
  pointer-events: none;
}

/* 視認性保証ソフトホワイト・グラデーション・オーバーレイ（明るさとデジタル感の両立） */
#features::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(255, 255, 255, 0.45) 0%, rgba(248, 250, 252, 0.75) 60%, rgba(241, 245, 249, 0.92) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.3) 30%, rgba(248, 250, 252, 0.5) 70%, rgba(248, 250, 252, 0.95) 100%);
  z-index: 1;
  pointer-events: none;
}

/* コンテンツ層の前面配置（背景オーバーレイより前面に配置して視認性を確保） */
#features > .container {
  position: relative;
  z-index: 2;
}

#features .editorial-header,
#features .section-header {
  margin-bottom: clamp(36px, 4.5vw, 56px);
}

.editorial-header 

/* ヘッダー文字の視認性最適化（白系背景で最高コントラストを保つ深紺・濃墨設計） */
#features .editorial-category-tag {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(21, 48, 143, 0.18);
  color: #15308F;
  box-shadow: 0 4px 16px rgba(21, 48, 143, 0.08);
  backdrop-filter: blur(10px);
}

#features .editorial-category-tag .editorial-tag-dot {
  background-color: #EA580C;
  box-shadow: 0 0 8px rgba(234, 88, 12, 0.5);
}

#features .editorial-main-title {
  color: #0F172A;
  text-shadow: 0 2px 14px rgba(255, 255, 255, 0.9);
}

#features .editorial-highlight {
  color: #15308F;
  background: linear-gradient(transparent 62%, rgba(244, 125, 32, 0.22) 62%);
  text-shadow: none;
}

#features 

/* 4枚のカード：明るいデジタル背景に美しく際立つ高品位ガラスフロート */
#features 

#features .stat-statement-card:hover {
  box-shadow: 0 28px 60px -12px rgba(15, 23, 42, 0.18), 0 0 0 1.5px rgba(21, 48, 143, 0.22) !important;
}

/* スマートフォンでの fixed 背景（iOSのfixed不具合対策） */
@media (max-width: 1024px) {
  #features::before {
    background-attachment: scroll;
  }
}

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

/* 料金プランセクション（#plan）：上下余白を #features と同じゆったりとした広さに統一 */
#plan.section,
#plan {
  padding-block: clamp(100px, 11vw, 150px);
}

#plan .editorial-header,
#plan .section-header {
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-dark {
  background-color: var(--color-main);
  color: #FFFFFF;
}

/* Section Headings (全体統一エディトリアル・モダンシステム) */
.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-sub {
  display: inline-block;
  font-family: var(--font-accent);
  font-weight: 800;
  font-size: 0.8125rem;
  letter-spacing: 0.24em;
  color: #15308F;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-dark .section-sub {
  color: #93C5FD;
}

.section-title {
  font-size: clamp(1.75rem, 2.6vw, 2.35rem);
  font-weight: 800;
  color: #0F172A;
  line-height: 1.36;
  letter-spacing: -0.02em;
  margin: 0;
  word-break: normal;
  overflow-wrap: break-word;
}

.section-dark .section-title {
  color: #FFFFFF;
}

.section-lead {
  margin-top: 14px;
  font-size: clamp(0.9375rem, 1.1vw, 1.0rem);
  color: #475569;
  line-height: 1.85;
  max-width: 1400px;
  margin-inline: auto;
  text-wrap: pretty;
}

.section-dark .section-lead {
  color: #CBD5E1;
}

@media (max-width: 768px) {
  .section-header {
    margin-bottom: clamp(20px, 3.5vw, 32px);
  }

  .section-sub {
    font-size: 0.71875rem;
    letter-spacing: 0.18em;
    margin-bottom: 6px;
  }

  .section-title {
    font-size: clamp(1.25rem, 4.8vw, 1.45rem);
    line-height: 1.4;
    letter-spacing: -0.01em;
  }

  .section-lead {
    font-size: 0.8125rem;
    line-height: 1.7;
    margin-top: 8px;
  }
}

/* Section More Link / Button */
.section-footer-cta {
  text-align: center;
  margin-top: clamp(36px, 4.5vw, 56px);
}

/* ==========================================================================
   制作の流れ (EDITORIAL WORKFLOW / 6-STEP PROCESS)
   ========================================================================== */
#flow {
  background-color: #FFFFFF;
  padding-block: clamp(80px, 9vw, 130px);
  position: relative;
  overflow: hidden;
}

#flow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../../images/voice_flow_stream_bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  opacity: 0.92;
  z-index: 0;
  pointer-events: none;
}

#flow::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.50) 40%, rgba(255, 255, 255, 0.88) 100%);
  z-index: 1;
  pointer-events: none;
}

#flow>.container {
  position: relative;
  z-index: 2;
}

.flow-container {
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

#flow .section-header {
  margin-bottom: clamp(36px, 4.5vw, 56px);
}

#flow .section-sub {
  font-family: var(--font-accent);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  color: #15308F;
  margin-bottom: 12px;
}

#flow .section-title {
  color: #0F172A;
  margin: 0;
}

#flow .section-lead {
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  color: #475569;
  line-height: 1.85;
  margin-top: 14px;
  max-width: 1400px;
  text-wrap: pretty;
}

.flow-linear-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: clamp(36px, 4vw, 54px);
}

.flow-step-item {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: clamp(20px, 2.2vw, 28px) clamp(24px, 3vw, 36px);
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
  position: relative;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.flow-step-item:hover {
  border-color: #15308F;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -4px rgba(21, 48, 143, 0.09);
}

.flow-step-item:hover .flow-step-num-box {
  border-color: #15308F;
  background-color: rgba(21, 48, 143, 0.05);
}

.flow-step-num-box {
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all var(--transition-fast);
}

.flow-step-badge {
  font-family: var(--font-accent);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #64748B;
  line-height: 1;
}

.flow-step-num {
  font-family: var(--font-accent);
  font-size: 2.125rem;
  font-weight: 800;
  line-height: 1;
  color: #15308F;
  margin-top: 4px;
}

.flow-step-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.flow-step-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.flow-step-title {
  font-size: 1.0625rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.4;
  margin: 0;
}

.flow-feature-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: #15308F;
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 3px 10px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.flow-feature-tag::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #EA580C;
}

.flow-step-desc {
  font-size: 0.8875rem;
  color: #475569;
  line-height: 1.75;
  margin: 0;
}

.flow-step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
  height: 20px;
}

.flow-guarantee-note {
  background-color: #F8FAFC;
  border-left: 3px solid #15308F;
  border-radius: 0 6px 6px 0;
  padding: 18px 24px;
  margin-bottom: clamp(36px, 4vw, 54px);
  display: flex;
  align-items: center;
  gap: 16px;
}

.flow-guarantee-icon {
  flex-shrink: 0;
  color: #15308F;
}

.flow-guarantee-text {
  font-size: 0.875rem;
  color: #334155;
  line-height: 1.7;
}

.flow-guarantee-text strong {
  display: inline-block;
  color: #0F172A;
  margin-bottom: 4px;
}

.flow-footer-cta {
  display: flex;
  justify-content: center;
}

.flow-editorial-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #15308F 0%, #1E40AF 100%);
  color: #FFFFFF !important;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 6px 20px -2px rgba(21, 48, 143, 0.35);
  transition: all var(--transition-fast);
  box-sizing: border-box;
}

.flow-editorial-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -2px rgba(21, 48, 143, 0.45);
  filter: brightness(1.05);
}

.flow-editorial-cta-btn .btn-en {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  opacity: 0.88;
}

.flow-editorial-cta-btn .btn-en-br {
  display: none;
}

.flow-editorial-cta-btn .btn-sep {
  opacity: 0.45;
}

.flow-editorial-cta-btn .btn-jp {
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
}

.flow-editorial-cta-btn .btn-arrow {
  font-size: 1.125rem;
  line-height: 1;
  transition: transform var(--transition-fast);
}

.flow-editorial-cta-btn:hover .btn-arrow {
  transform: translateX(4px);
}

@media (max-width: 720px) {
  .flow-step-item {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px 18px;
  }

  .flow-step-num-box {
    flex-direction: row;
    width: fit-content;
    padding: 6px 14px;
    gap: 8px;
    align-items: baseline;
  }

  .flow-step-badge {
    font-size: 0.75rem;
  }

  .flow-step-num {
    font-size: 1.25rem;
    margin-top: 0;
  }

  .flow-step-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .flow-step-title {
    font-size: 0.9375rem;
  }

  .flow-guarantee-note {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
  }

  .flow-editorial-cta-btn {
    width: 100%;
    max-width: 440px;
    justify-content: space-between;
    padding: 12px 16px;
    gap: 8px;
    box-sizing: border-box;
  }

  .flow-editorial-cta-btn .btn-en-br {
    display: block;
  }

  .flow-editorial-cta-btn .btn-en {
    font-size: 0.625rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.04em;
    opacity: 0.88;
    text-align: left;
    flex-shrink: 0;
  }

  .flow-editorial-cta-btn .btn-sep {
    opacity: 0.4;
    flex-shrink: 0;
  }

  .flow-editorial-cta-btn .btn-jp {
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
  }

  .flow-editorial-cta-btn .btn-arrow {
    font-size: 1.125rem;
    flex-shrink: 0;
  }
}

@media (max-width: 1024px) {
  #flow::before {
    background-attachment: scroll;
  }
}

/* Buttons & CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  min-height: 48px;
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  line-height: 1.2;
  text-align: center;
  transition: all var(--transition-base);
  box-sizing: border-box;
  white-space: nowrap;
}

.btn-cta {
  background-color: var(--color-cta);
  color: #FFFFFF;
  box-shadow: var(--shadow-cta);
}

.btn-cta:hover {
  background-color: var(--color-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(244, 125, 32, 0.35);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #15308F;
  color: #FFFFFF;
  border: 1.5px solid #15308F;
  border-radius: 9999px;
  padding: 13px 32px;
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 14px rgba(21, 48, 143, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-primary:hover {
  background-color: #1E40AF;
  border-color: #1E40AF;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(21, 48, 143, 0.35);
}

.btn-primary .btn-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.btn-primary:hover .btn-icon {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #FFFFFF;
  color: #15308F;
  border: 1.5px solid #CBD5E1;
  border-radius: 9999px;
  padding: 13px 32px;
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: #15308F;
  color: #FFFFFF;
  background-color: #15308F;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(21, 48, 143, 0.18);
}

.btn-secondary .btn-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.btn-secondary:hover .btn-icon {
  transform: translateX(4px);
}

.btn-line {
  background-color: var(--color-line);
  color: #FFFFFF;
  box-shadow: var(--shadow-line);
}

.btn-line:hover {
  background-color: var(--color-line-hover);
  transform: translateY(-2px);
}

.btn-tel {
  background-color: var(--color-main);
  color: #FFFFFF;
}

.btn-tel:hover {
  background-color: var(--color-main-light);
}

/* ==========================================================================
   1. Header (崩れを完全に防止した精密設計)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1100;
  transition: height var(--transition-base), box-shadow var(--transition-base), background-color var(--transition-base);
}

.site-header.is-scrolled {
  height: var(--header-height-scrolled);
  background-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

.site-header .header-container,
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  height: 100%;
  width: 100%;
  max-width: 100%;
  padding-inline: clamp(20px, 3.5vw, 48px);
  box-sizing: border-box;
}

/* Header Brand (ロゴ: 左寄せ・最大幅250px) */
.header-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  max-width: 250px;
  width: auto;
  margin-right: auto;
}

.header-logo {
  max-width: 250px;
  width: auto;
  height: auto;
  aspect-ratio: 275 / 57;
  max-height: 44px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

/* Global Navigation (PC: 右寄せ) */
.gnav {
  display: flex;
  align-items: center;
  margin-left: auto;
  flex-shrink: 0;
}

.gnav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.gnav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  padding: 8px 4px;
  position: relative;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.gnav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-sub);
  transition: width var(--transition-fast);
}

.gnav-link:hover {
  color: var(--color-sub);
}

.gnav-link:hover::after {
  width: 100%;
}

/* PC Submenu Dropdown */
.gnav-item-has-submenu {
  position: relative;
  display: flex;
  align-items: center;
  padding-block: 8px;
  margin-block: -8px;
}

.gnav-link-parent {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.gnav-dropdown-icon {
  width: 11px;
  height: 11px;
  stroke: currentColor;
  transition: transform 0.22s ease;
  margin-top: 1px;
}

.gnav-item-has-submenu:hover .gnav-dropdown-icon {
  transform: rotate(180deg);
}

.gnav-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(21, 48, 143, 0.12), 0 4px 10px rgba(0, 0, 0, 0.04);
  padding: 8px 6px;
  min-width: 210px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s ease;
  z-index: 1200;
}

/* マウス移動時の隙間脱落を防止する透明ブリッジ（ヒットエリア） */
.gnav-submenu::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  right: 0;
  height: 22px;
  background: transparent;
}

.gnav-submenu.gnav-submenu-wide {
  min-width: 320px;
}

.gnav-item-has-submenu:hover .gnav-submenu,
.gnav-item-has-submenu:focus-within .gnav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.gnav-submenu li {
  margin: 0;
  width: 100%;
}

.gnav-submenu-link {
  display: flex;
  align-items: center;
  font-size: 0.84375rem;
  font-weight: 600;
  color: var(--color-text, #0F172A);
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.gnav-submenu-link:hover {
  background: #F1F5F9;
  color: var(--color-main, #15308F);
  transform: translateX(3px);
}

.submenu-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 800;
  color: var(--color-main, #15308F);
  background: rgba(21, 48, 143, 0.08);
  border-radius: 4px;
  padding: 1px 5px;
  margin-right: 8px;
  letter-spacing: 0.05em;
  line-height: 1.2;
  flex-shrink: 0;
}

.sp-submenu-num {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: #60A5FA;
  margin-right: 6px;
  letter-spacing: 0.05em;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  z-index: 1200;
  flex-shrink: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--color-main);
  transition: transform var(--transition-base), opacity var(--transition-base), background-color var(--transition-base);
}

.mobile-nav-toggle.is-active {
  border-color: rgba(255, 255, 255, 0.45);
  background-color: rgba(255, 255, 255, 0.15);
}

.mobile-nav-toggle.is-active span {
  background-color: #FFFFFF;
}

.mobile-nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(27, 45, 94, 0.98);
  color: #FFFFFF;
  z-index: 1050;
  padding: 90px var(--space-md) var(--space-xl);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.mobile-drawer.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.mobile-drawer-link {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}

/* Mobile Drawer Submenu Hierarchy */
.mobile-drawer-group {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-drawer-group .mobile-drawer-parent {
  border-bottom: none;
  padding-bottom: 6px;
}

.mobile-drawer-subnav {
  display: flex;
  flex-direction: column;
  padding-left: 14px;
  padding-bottom: 8px;
  gap: 2px;
  border-left: 2px solid rgba(96, 165, 250, 0.5);
  margin-left: 6px;
  margin-bottom: 6px;
}

.mobile-drawer-sublink {
  font-size: 0.90625rem;
  color: rgba(255, 255, 255, 0.82);
  padding: 6px 0;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.mobile-drawer-sublink:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}

.mobile-drawer-actions {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

/* Mobile Bottom Bar (SP専用) */
.sp-fixed-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  background-color: #FFFFFF;
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.06);
  z-index: 999;
  grid-template-columns: repeat(4, 1fr);
}

.sp-fixed-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--color-text);
  gap: 2px;
  min-height: 48px;
}

.sp-fixed-item svg {
  width: 18px;
  height: 18px;
}

.sp-fixed-item.item-tel {
  background-color: var(--color-main);
  color: #FFFFFF;
}

.sp-fixed-item.item-line {
  background-color: var(--color-line);
  color: #FFFFFF;
}

.sp-fixed-item.item-contact {
  background-color: var(--color-cta);
  color: #FFFFFF;
}

.sp-fixed-item.item-menu {
  background-color: #FFFFFF;
  color: var(--color-text);
  border: none;
}

/* Header Responsive Breakpoints */
@media (max-width: 1080px) {
  .gnav-list {
    gap: 18px;
  }

  .gnav-link {
    font-size: 0.875rem;
  }
}

@media (max-width: 900px) {
  .gnav {
    display: none;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .mobile-drawer {
    display: block;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 56px;
  }

  .sp-fixed-bar {
    display: grid;
  }

  .header-brand {
    max-width: 200px;
  }

  .header-logo {
    max-width: 180px;
  }
}


/* ==========================================================================
   16. Footer & Bottom Fixed Bar
   ========================================================================== */
/* ==========================================================================
   16. Footer (コンパクト＆洗練されたプレミアムフッターデザイン)
   ========================================================================== */
#siteFooter,
.site-footer {
  background: linear-gradient(180deg, #15308F 0%, #0E2060 100%);
  color: #FFFFFF;
  padding-top: clamp(36px, 4vw, 48px);
  padding-bottom: clamp(24px, 3vw, 32px);
  position: relative;
  overflow: hidden;
  border-top: none;
}

/* フッター上部：精緻なマルチカラールミナスライン */
#siteFooter::before,
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2E8FD5 0%, #60A5FA 40%, #F47D20 80%, #EA580C 100%);
  box-shadow: 0 1px 8px rgba(96, 165, 250, 0.35);
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 2.5vw, 30px);
}

/* --------------------------------------------------------------------------
   1. フッター上部：ブランド＆クイック連絡先ヘッダー
   -------------------------------------------------------------------------- */
.footer-hero {
  display: grid;
  grid-template-columns: 1.35fr 1.65fr;
  gap: clamp(20px, 2.5vw, 36px);
  align-items: center;
  padding-bottom: clamp(18px, 2.2vw, 24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-hero-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.footer-logo-link {
  display: inline-block;
  width: fit-content;
  transition: opacity 0.2s ease;
}

.footer-logo-link:hover {
  opacity: 0.85;
}

.footer-logo {
  height: 34px;
  width: auto;
  max-width: 190px;
  aspect-ratio: 275 / 57;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-hero-tagline {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #FFFFFF;
  letter-spacing: 0.01em;
  margin: 0;
  white-space: normal;
}

/* クイック連絡先（2つのスマートカプセルカード） */
.footer-hero-contacts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  min-width: 0;
}

.footer-hero-contact-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.footer-hero-contact-card:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.footer-contact-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #FFFFFF;
}

.footer-contact-icon-wrap svg {
  width: 17px;
  height: 17px;
}

.footer-contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.footer-contact-caption {
  font-size: 0.6875rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.footer-tel-row {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}

.footer-tel-display {
  font-family: inherit; /* 通常標準フォント */
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #FFFFFF;
  text-decoration: none;
  line-height: 1.2;
  transition: color 0.2s ease;
}

.footer-tel-display:hover {
  color: #F47D20;
}

.footer-tel-hours {
  font-size: 0.5625rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.footer-address-display {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.35;
  letter-spacing: 0.01em;
}

/* --------------------------------------------------------------------------
   2. フッター中間：サイトマップナビゲーション（4カラム Bentoカードグリッド）
   -------------------------------------------------------------------------- */
.footer-sitemap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.footer-sitemap-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 14px 15px;
  display: flex;
  flex-direction: column;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.footer-sitemap-card:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.footer-sitemap-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-sitemap-badge {
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #60A5FA;
  background: rgba(96, 165, 250, 0.16);
  border: 1px solid rgba(96, 165, 250, 0.28);
  padding: 2px 6px;
  border-radius: 4px;
  line-height: 1.2;
}

.footer-sitemap-heading {
  font-size: 0.84375rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: 0.02em;
}

.footer-sitemap-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-sitemap-link {
  font-size: 0.78125rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  line-height: 1.4;
  padding: 1px 0;
  transition: color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  position: relative;
}

.footer-sitemap-link::before {
  content: "›";
  font-size: 0.875rem;
  color: #60A5FA;
  font-weight: 700;
  line-height: 1;
  opacity: 0.6;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-sitemap-link:hover {
  color: #FFFFFF;
  opacity: 1;
  transform: translateX(3px);
}

.footer-sitemap-link:hover::before {
  opacity: 1;
  color: #F47D20;
  transform: translateX(2px);
}

/* --------------------------------------------------------------------------
   3. フッター最下部：バー＆コピーライト
   -------------------------------------------------------------------------- */
.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  flex-wrap: wrap;
  gap: 10px;
}

.footer-copyright {
  font-family: inherit;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  letter-spacing: 0.02em;
}

.footer-sub-tag {
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  letter-spacing: 0.02em;
  font-size: 0.75rem;
}

/* --------------------------------------------------------------------------
   レスポンシブ（タブレット・スマートフォン）
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .footer-hero {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-sitemap-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 680px) {
  .footer-hero-contacts {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer-sitemap-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer-sitemap-card {
    padding: 12px 14px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
  }
}


/* ==========================================================================
   18. 画面上部へ戻るボタン (Back to Top) & 共通ユーティリティ
   ========================================================================== */
/* ==========================================================================
   18. 画面上部へ戻るボタン (Back to Top)
   テーマカラー基調・軽快なフローティングボタン ＆ SP固定バー配慮
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 50px;
  height: 52px;
  border-radius: var(--radius-md, 10px);
  background: var(--color-main, #15308F);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 18px rgba(21, 48, 143, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.2s ease,
    box-shadow 0.2s ease,
    visibility 0.3s ease;
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  stroke: #FFFFFF;
  transition: transform 0.2s ease;
}

.back-to-top-text {
  font-family: var(--font-accent, sans-serif);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  color: #FFFFFF;
}

/* スクロール時の表示状態 */
.back-to-top.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ホバー時（PC） */
@media (hover: hover) {
  .back-to-top:hover {
    background: var(--color-main-light, #1E42C2);
    box-shadow: 0 8px 24px rgba(21, 48, 143, 0.5);
    transform: translateY(-4px);
  }

  .back-to-top:hover svg {
    transform: translateY(-2px);
  }
}

/* スマートフォン表示時：固定ボトムバーと被らないよう上部に退避 */
@media (max-width: 768px) {
  .back-to-top {
    bottom: 74px;
    right: 16px;
    width: 44px;
    height: 46px;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.28);
  }

  .back-to-top svg {
    width: 16px;
    height: 16px;
  }

  .back-to-top-text {
    font-size: 0.5625rem;
  }
}

/* --------------------------------------------------------------------------
   クリーンアップ追加スタイル (インラインstyleのCSS完全移行)
   -------------------------------------------------------------------------- */
/* モバイルドロワーアクションボタン */
.mobile-drawer-actions .btn {
  width: 100%;
}

/* FAQ 質問ヘッダー行ラッパー */
.faq-q-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* About 代表プロフィール */
.about-rep-profile {
  text-align: center;
}
.about-rep-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 10px;
  border: 3px solid #FFFFFF;
  box-shadow: var(--shadow-sm);
  display: block;
}
.about-rep-name {
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: 2px;
}
.about-rep-en {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}


/* --------------------------------------------------------------------------
   下層ページ共通（パンくずリスト、ページヘッダー、共通テーブル等）
   -------------------------------------------------------------------------- */
.breadcrumb-wrap {
  background: var(--color-bg-sub);
  border-bottom: 1px solid var(--color-border);
  padding: 12px 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  margin-right: 8px;
  color: var(--color-text-light);
}
.breadcrumb-item a {
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}
.breadcrumb-item a:hover {
  color: var(--color-main);
}
.breadcrumb-item.current {
  color: var(--color-text);
  font-weight: 600;
}

.subpage-hero {
  background: linear-gradient(135deg, #0e2060 0%, #15308f 60%, #2E8FD5 100%);
  color: #ffffff;
  padding: clamp(48px, 6vw, 80px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.subpage-hero-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.subpage-hero-sub {
  font-family: var(--font-accent);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: #93c5fd;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.subpage-container {
  padding-block: clamp(48px, 6vw, 80px);
}

/* 下層ページ共通 Google Map & 埋め込みコンテンツ 100%幅 */
.subpage-main iframe,
.page-article iframe,
iframe[src*="google.com/maps"] {
  width: 100% !important;
  max-width: 100% !important;
  display: block;
  border: 0;
  border-radius: var(--radius-md, 12px);
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(15, 23, 42, 0.06));
}

