﻿/* ========================================
  CSS変数（色・フォント・余白）
======================================== */
:root {
  /* カラー */
  --color-primary: #0D1F3C;
  --color-accent: #1A56DB;
  --color-text: #1A1A1A;
  --color-text-light: #666666;
  --color-bg-white: #FFFFFF;
  --color-bg-gray: #F8F9FB;
  --color-border: #E5E7EB;

  /* フォント */
  --font-ja: 'Noto Sans JP', sans-serif;
  --font-en: 'Outfit', sans-serif;

  /* 余白 */
  --section-padding: 120px;
  --section-padding-sp: 72px;
  --container-max: 1100px;
  --container-padding: 24px;

  /* アニメーション */
  --transition: 0.3s ease;
  --easing-standard: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
  リセット・ベーススタイル
======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden; /* 横スクロール防止 */
  -webkit-text-size-adjust: 100%; /* iOS Safariのテキスト自動拡大を無効化 */
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-ja);
  color: var(--color-text);
  background: var(--color-bg-white);
  line-height: 1.8;
  overflow-x: hidden; /* 横スクロール防止（iOS Safari 対策） */
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* ========================================
  日本語テキスト改行制御
  keep-all：自然なフレーズ区切りで改行
  overflow-wrap: anywhere：収まらない場合は強制折り返し
======================================== */
/* 段落：ブラウザの日本語禁則処理（kinsoku）に委ねる
   word-break: auto-phrase は Chrome 119+ でフレーズ単位の賢い改行を実現 */
p {
  overflow-wrap: break-word;
  word-break: auto-phrase;
}

/* 見出し：文字単位での途中切れを防止し自然な区切りで折り返す */
h1, h2, h3, h4, h5, h6 {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* ========================================
  共通レイアウト
======================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

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

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

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

/* セクション共通パディング */
section {
  padding: var(--section-padding) 0;
}

/* ========================================
  背景デコレーション文字（共通）
  各セクションの背景に薄く大きな文字を表示
======================================== */
.section-deco {
  position: absolute;
  font-family: var(--font-en);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* サイズ：ヒーローセクション用（220px） */
.section-deco--xl {
  font-size: 220px;
}

/* サイズ：通常セクション用（200px） */
.section-deco--lg {
  font-size: 200px;
}

/* カラー：暗背景（ダークネイビー等）向け */
.section-deco--white {
  color: rgba(255, 255, 255, 0.03);
}

/* カラー：明背景（白・薄グレー）向け */
.section-deco--dark {
  color: rgba(0, 0, 0, 0.025);
}

/* 位置：右下（ヒーロー用） */
.section-deco--bottom-right {
  right: -20px;
  bottom: -20px;
}

/* 位置：右上（セクション用） */
.section-deco--top-right {
  right: -20px;
  top: -20px;
}

/* ----------------------------------------
  デコ文字を使うセクションに
  position:relative / overflow:hidden を付与
---------------------------------------- */
.service,
.about,
.contact,
.mv-section,
.value-section {
  position: relative;
  overflow: hidden;
}

/* セクション見出し */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  font-family: var(--font-en);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-label--white {
  color: rgba(255, 255, 255, 0.7);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-primary);
}

/* 見出し下の装飾ライン */
.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--color-accent);
  margin: 16px auto 0;
}

/* js-fade内の装飾ラインはスクロールで展開 */
.section-header.js-fade .section-title::after {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.6s var(--easing-standard) 0.4s;
}

.section-header.js-fade.is-visible .section-title::after {
  transform: scaleX(1);
}

/* 左寄せ見出しの場合 */
.section-title--left::after {
  margin-left: 0;
}

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

/* PCのみ改行 */
.pc-only {
  display: inline;
}

/* ========================================
  ボタン
======================================== */
.btn {
  display: inline-block;
  font-family: var(--font-ja);
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 4px;
  transition: opacity var(--transition), transform var(--transition);
  cursor: pointer;
}

.btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--color-accent);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

/* ホバー時の光沢スライド */
.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.14);
  transform: translateX(-101%);
  transition: transform 0.4s var(--easing-standard);
}

.btn--primary:hover::before {
  transform: translateX(0);
}

.btn--white {
  background: #FFFFFF;
  color: var(--color-primary);
}

/* CTAセクションのボタン */
.btn--cta-white {
  display: inline-block;
  background: #FFFFFF;
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 48px;
  border-radius: 4px;
  border: 2px solid #FFFFFF;
  transition: background var(--transition), color var(--transition);
}

.btn--cta-white:hover {
  background: transparent;
  color: #FFFFFF;
}

/* フォームページ用ボタン */
.btn--form {
  display: inline-block;
  background: #FFFFFF;
  color: #0D1F3C;
  font-size: 1rem;
  font-weight: 700;
  padding: 18px 64px;
  border-radius: 40px;
  border: 1.5px solid #0D1F3C;
  transition: background var(--transition), color var(--transition);
}

.btn--form:hover {
  background: #0D1F3C;
  color: #FFFFFF;
}

/* ========================================
  フェードインアニメーション（共通）
======================================== */
/* ヒーロー内の即時フェードイン */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

.fade-in--delay1 { animation-delay: 0.2s; }
.fade-in--delay2 { animation-delay: 0.5s; }
.fade-in--delay3 { animation-delay: 0.8s; }
.fade-in--delay4 { animation-delay: 1.1s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* スクロールで発火するフェードイン */
.js-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* セクション見出しは子要素ごとに個別アニメーション */
.section-header.js-fade {
  opacity: 1;
  transform: none;
  transition: none;
}

.section-header.js-fade .section-label {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-header.js-fade .section-title {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.section-header.js-fade.is-visible .section-label {
  opacity: 1;
  transform: translateX(0);
}

.section-header.js-fade.is-visible .section-title {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
  01. ヘッダー
======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition);
  animation: headerFadeDown 0.6s ease forwards;
}

@keyframes headerFadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* スクロール後に背景を白にする（JS側でクラス付与） */
.header.is-scrolled {
  background: var(--color-bg-white);
  box-shadow: 0 1px 24px rgba(0, 0, 0, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 60px;
  max-width: 100%;
}

/* ロゴ */
.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header__logo img {
  height: 48px;
  width: auto;
  display: block;
}

/* ロゴ右の社名テキスト */
.header__logo-name {
  font-family: var(--font-en);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: #FFFFFF;
  transition: color var(--transition);
}

.header.is-scrolled .header__logo-name {
  color: var(--color-primary);
}

/* PCナビ */
.header__nav-list {
  display: flex;
  align-items: center;
  gap: 48px;
}

.header__nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: opacity var(--transition);
  position: relative;
}

.header__nav-link:hover {
  opacity: 1;
}

/* ホバー時アンダーライン（左→右） */
.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.7);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.header.is-scrolled .header__nav-link::after {
  background: var(--color-accent);
}

.header__nav-link:hover::after {
  transform: scaleX(1);
}

/* CTAボタンはアンダーラインなし */
.header__nav-link--cta::after {
  display: none;
}

.nav-en {
  font-family: var(--font-en);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #FFFFFF;
  transition: color var(--transition);
  text-transform: uppercase;
}

.nav-ja {
  font-size: 0.6875rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

/* スクロール後はナビの文字色を紺に変更 */
.header.is-scrolled .nav-en {
  color: var(--color-primary);
}

.header.is-scrolled .nav-ja {
  color: var(--color-primary);
}

/* CONTACTだけ白枠ボタン */
.header__nav-link--cta {
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 4px;
  padding: 10px 20px;
  gap: 3px;
  transition: background var(--transition), border-color var(--transition), opacity var(--transition);
}

.header__nav-link--cta:hover {
  background: rgba(255, 255, 255, 0.12);
  opacity: 1;
}

/* スクロール後のCONTACTは紺枠・紺文字 */
.header.is-scrolled .header__nav-link--cta {
  border-color: var(--color-primary);
}

.header.is-scrolled .header__nav-link--cta .nav-en,
.header.is-scrolled .header__nav-link--cta .nav-ja {
  color: var(--color-primary);
}

.header.is-scrolled .header__nav-link--cta:hover {
  background: var(--color-primary);
}

.header.is-scrolled .header__nav-link--cta:hover .nav-en,
.header.is-scrolled .header__nav-link--cta:hover .nav-ja {
  color: #FFFFFF;
}

/* ハンバーガーボタン */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger__line {
  display: block;
  width: 100%;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}

.header.is-scrolled .hamburger__line {
  background: var(--color-primary);
}

/* ハンバーガーの×アニメーション */
.hamburger.is-open .hamburger__line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.is-open .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open .hamburger__line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ドロワーメニュー */
.drawer {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  background: var(--color-bg-white);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  z-index: 99;
  transform: translateY(-10px);
  opacity: 0;
  transition: transform var(--transition), opacity var(--transition);
  pointer-events: none;
}

.drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.drawer__list {
  padding: 16px 0;
}

.drawer__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--color-border);
}

.drawer__link .nav-en {
  font-family: var(--font-en);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
}

.drawer__link .nav-ja {
  font-size: 0.75rem;
  color: var(--color-text-light);
}

/* ========================================
  02. ヒーローセクション
======================================== */
.hero {
  position: relative;
  background-color: var(--color-primary); /* 画像読み込み前のフォールバック */
  height: 100vh;
  min-height: 600px;
  overflow: hidden; /* hero__bgのはみ出しをクリップ */
}

/* ----------------------------------------
  背景動画レイヤー
  動画 + ダークオーバーレイをまとめて管理
---------------------------------------- */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  /* 動画読み込み失敗時のフォールバック背景 */
  background-image: url('images/Image_fx.png');
  background-size: cover;
  background-position: center;
}

/* 動画本体：中央配置・全面カバー（2本共通） */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
}

/* A：最初に再生・不透明で表示 */
.hero-video--a { opacity: 1; }

/* B：待機中は非表示・JSがクロスフェード時に opacity 1 へ */
.hero-video--b { opacity: 0; }

/* 動画の上に重ねるダークネイビーオーバーレイ */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 31, 60, 0.6);
}

/* CSSグリッドパターン背景 */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}

/* テキストコンテンツ：画面左8%・上35%に配置 */
.hero__inner {
  position: absolute;
  top: 35%;
  transform: translateY(-50%);
  left: 8%;
  right: 8%;
  z-index: 1;
}

.hero__label {
  font-family: var(--font-en);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ラベル左の短いライン装飾 */
.hero__label::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
  transform: scaleX(0);
  transform-origin: left;
  animation: heroLabelLine 0.8s ease 0.1s forwards;
}

@keyframes heroLabelLine {
  to { transform: scaleX(1); }
}

.hero__heading {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.3;
  color: #FFFFFF;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

/* Heading starts higher for more impact */
.hero__heading.fade-in {
  transform: translateY(40px);
}

.hero__sub {
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 2;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 48px;
  max-width: 600px;
}

/* アウトラインボタン */
.btn--outline {
  background: transparent;
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  padding: 15px 36px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.btn--outline:hover {
  background: #FFFFFF;
  color: var(--color-primary);
  border-color: #FFFFFF;
  transform: translateY(-2px);
  opacity: 1;
}

.btn__arrow {
  font-family: var(--font-en);
  font-size: 1rem;
  transition: transform var(--transition);
}

.btn--outline:hover .btn__arrow {
  transform: translateX(4px);
}

/* スクロール促進矢印 */
.hero__scroll {
  position: absolute;
  bottom: 80px;
  left: 8%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 64px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.8));
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.hero__scroll-text {
  font-family: var(--font-en);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}

/* 斜め区切りの装飾 */
.hero__divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 60px;
  background: var(--color-bg-gray);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

/* スマホのみ改行 */
.sp-only {
  display: none;
}

/* ========================================
  03. 課題提起セクション
======================================== */
.issues {
  padding-top: 80px;
}

.issues__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.issues__card {
  background: var(--color-bg-white);
  border-radius: 12px;
  padding: 40px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  border-left: 4px solid var(--color-accent);
  border-top: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition), transform var(--transition);
}

.issues__card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

/* カードスタッガー遅延 */
.issues__grid .issues__card.js-fade:nth-child(2) { transition-delay: 0.15s; }
.issues__grid .issues__card.js-fade:nth-child(3) { transition-delay: 0.1s; }
.issues__grid .issues__card.js-fade:nth-child(4) { transition-delay: 0.25s; }

.issues__icon {
  font-family: var(--font-en);
  font-size: 4rem;
  font-weight: 700;
  color: #E8EDF5;
  line-height: 1;
  flex-shrink: 0;
}

.issues__text {
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-primary);
  padding-top: 8px;
}

/* ========================================
  04. サービスセクション
======================================== */
.service__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}

.service__card {
  background: var(--color-bg-white);
  border-radius: 12px;
  padding: 40px 32px;
  border: 1px solid #E5E9F0;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service__card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

/* 左ボーダーが上から下へ展開 */
.service__card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 0;
  background: var(--color-accent);
  transition: height 0.4s var(--easing-standard);
  border-radius: 3px 0 0 3px;
}

.service__card:hover::before {
  height: 100%;
}

/* カードスタッガー遅延 */
.service__grid .service__card.js-fade:nth-child(2) { transition-delay: 0.15s; }
.service__grid .service__card.js-fade:nth-child(3) { transition-delay: 0.3s; }

/* 番号バッジ（丸形）*/
.service__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #FFFFFF;
  font-family: var(--font-en);
  font-size: 0.8125rem;
  font-weight: 700;
  flex-shrink: 0;
}

.service__card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #E5E9F0;
}

.service__name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.4;
}

.service__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service__list li {
  font-size: 0.875rem;
  color: var(--color-text-light);
  padding-left: 16px;
  position: relative;
  line-height: 1.6;
}

.service__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* 詳しく見るリンク（カード最下部に固定） */
.service__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-top: auto;
  padding-top: 24px;
  transition: opacity var(--transition);
}

.service__more:hover {
  opacity: 0.7;
}

/* 補足テキスト */
.service__note {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 1.9;
  padding: 32px 40px;
  background: var(--color-bg-gray);
  border-radius: 8px;
  border-left: 3px solid var(--color-accent);
}

/* ========================================
  05. バリューセクション（about.html）
======================================== */
.value-section {
  background: #F8F9FB;
  padding: var(--section-padding) 0;
}

.value__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* カード本体 */
.value__card {
  background: #FFFFFF;
  border: 1px solid #E5E9F0;
  border-radius: 16px;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.value__card:hover {
  border-color: #1A56DB;
  box-shadow: 0 8px 32px rgba(26, 86, 219, 0.1);
  transform: translateY(-4px);
}

/* 右上の装飾数字 */
.value__deco {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--font-en);
  font-size: 80px;
  font-weight: 700;
  color: #F0F4FF;
  line-height: 1;
  z-index: 0;
  user-select: none;
  pointer-events: none;
}

/* カードコンテンツ（装飾数字より前面） */
.value__content {
  position: relative;
  z-index: 2;
}

.value__label {
  font-family: var(--font-en);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: #1A56DB;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.value__name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0D1F3C;
  margin-bottom: 16px;
  line-height: 1.4;
}

.value__desc {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: #6B7280;
}

/* ========================================
  06. ニュースセクション
======================================== */
.news__list {
  max-width: 760px;
  margin: 0 auto;
}

.news__item {
  border-bottom: 1px solid #E5E9F0;
  transition: background var(--transition);
}

.news__item:first-child {
  border-top: 1px solid #E5E9F0;
}

.news__item:hover {
  background: var(--color-bg-gray);
}

/* リンクがflexコンテナを担う */
.news__link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 16px;
  color: inherit;
  width: 100%;
}

.news__date {
  font-family: var(--font-en);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-accent);
  flex-shrink: 0;
  width: 80px;
}

.news__tag {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--color-accent);
  background: #EEF3FF;
  padding: 4px 10px;
  border-radius: 4px;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

.news__text {
  font-size: 1.0625rem;
  color: var(--color-text);
  line-height: 1.6;
  font-weight: 500;
  flex: 1;
}

/* 右端の矢印アイコン */
.news__arrow {
  margin-left: auto;
  flex-shrink: 0;
  font-family: var(--font-en);
  font-size: 1rem;
  color: var(--color-accent);
  transition: transform var(--transition);
}

.news__item:hover .news__arrow {
  transform: translateX(5px);
}

/* ========================================
  ニュースセクション（index.html）
======================================== */
.news-index {
  background: #FFFFFF;
  padding: 100px 80px; /* グローバルのsection paddingを上書き */
  position: relative;
  overflow: hidden;
}

/* 背景デコレーション文字 */
.news-index__deco {
  position: absolute;
  top: -20px;
  right: -20px;
  font-family: var(--font-en);
  font-size: 200px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.03);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  line-height: 1;
}

/* ヘッダー行（左：見出し / 右：リンク） */
.news-index__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

/* 英語小見出し */
.news-index__label {
  font-family: var(--font-en);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--color-accent);
  margin-bottom: 8px;
}

/* 日本語見出し */
.news-index__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
  line-height: 1.2;
}

/* 「一覧を見る →」リンク */
.news-index__more {
  font-family: var(--font-en);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-accent);
  text-decoration: none;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: opacity var(--transition);
}

.news-index__more:hover {
  opacity: 0.65;
}

/* ニュース一覧リスト */
.news-index__list {
  list-style: none;
  position: relative;
  z-index: 1;
}

/* 各記事行 */
.news-index__item {
  border-bottom: 1px solid #F0F4F8;
  transition: background 0.3s;
}

.news-index__item:first-child {
  border-top: 1px solid #F0F4F8;
}

.news-index__item:hover {
  background: #F8F9FB;
}

/* リンク（flexコンテナ） */
.news-index__link {
  display: flex;
  align-items: center;
  padding: 28px 0;
  text-decoration: none;
  color: inherit;
}

/* 日付 */
.news-index__date {
  font-family: var(--font-en);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-accent);
  min-width: 80px;
  flex-shrink: 0;
}

/* バッジ「お知らせ」 */
.news-index__badge {
  background: #EEF3FF;
  color: var(--color-accent);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin: 0 24px;
  flex-shrink: 0;
}

/* タイトル */
.news-index__text {
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 500;
  transition: color 0.3s;
}

.news-index__item:hover .news-index__text {
  color: var(--color-accent);
}

/* スマホ */
@media (max-width: 768px) {
  .news-index {
    padding: 72px 24px;
  }

  .news-index__deco {
    font-size: 120px;
  }

  .news-index__title {
    font-size: 1.5rem;
  }
}

/* ========================================
  ニュース一覧ページ（news.html）
======================================== */
.news-page {
  background: #FFFFFF;
  padding: 100px 80px; /* グローバルのsection paddingを上書き */
}

.news-page__inner {
  max-width: 900px;
  margin: 0 auto;
}

.news-page__list {
  list-style: none;
}

/* 各記事行 */
.news-page__item {
  border-bottom: 1px solid #F0F4F8;
  transition: all 0.3s;
}

.news-page__item:first-child {
  border-top: 1px solid #F0F4F8;
}

.news-page__item:hover {
  padding-left: 16px;
  border-left: 3px solid var(--color-accent);
}

/* リンク（flexコンテナ） */
.news-page__link {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 32px 0;
  text-decoration: none;
  color: inherit;
}

/* 日付 */
.news-page__date {
  font-family: var(--font-en);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 1px;
  min-width: 80px;
  flex-shrink: 0;
}

/* バッジ「お知らせ」 */
.news-page__badge {
  background: #EEF3FF;
  color: var(--color-accent);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.6875rem;
  font-weight: 500;
  min-width: 80px;
  text-align: center;
  flex-shrink: 0;
}

/* タイトル */
.news-page__text {
  font-size: 1.0625rem;
  color: var(--color-primary);
  font-weight: 500;
  transition: color 0.3s;
}

.news-page__item:hover .news-page__text {
  color: var(--color-accent);
}

/* スマホ */
@media (max-width: 768px) {
  .news-page {
    padding: 72px 24px;
  }

  .news-page__link {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .news-page__text {
    width: 100%; /* テキストを常に次の行に落とす */
    font-size: 0.9375rem;
  }
}

/* ========================================
  ニュース詳細（news-detail.html）
======================================== */
.news-article {
  background: var(--color-bg-white);
  padding: var(--section-padding) 0;
}

.news-article__inner {
  max-width: 760px;
  margin: 0 auto;
}

/* 日付・カテゴリ行 */
.news-article__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 32px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--color-border);
}

.news-article__date {
  font-family: var(--font-en);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-accent);
}

.news-article__tag {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--color-accent);
  background: #EEF3FF;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

/* 本文エリア */
.news-article__body {
  font-size: 1rem;
  line-height: 2.1;
  color: var(--color-text);
}

.news-article__body p + p {
  margin-top: 1.4em;
}

/* 本文内の小見出し */
.news-article__body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 2.4em;
  margin-bottom: 0.6em;
  padding-left: 14px;
  border-left: 3px solid var(--color-accent);
  line-height: 1.5;
}

/* 一覧に戻るボタン */
.news-article__back {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--color-border);
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
  transition: gap var(--transition), opacity var(--transition);
}

.btn-back:hover {
  opacity: 0.7;
  gap: 14px;
}

.btn-back__arrow {
  font-family: var(--font-en);
  font-size: 1rem;
  transition: transform var(--transition);
}

.btn-back:hover .btn-back__arrow {
  transform: translateX(-4px);
}

/* ========================================
  07. 会社情報セクション
======================================== */
.company__table {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-collapse: collapse;
}

.company__table tr {
  border-bottom: 1px solid #F0F4F8;
}

.company__table tr:last-child {
  border-bottom: none;
}

.company__table th,
.company__table td {
  padding: 24px 0;
  text-align: left;
  vertical-align: top;
}

/* 項目名：Outfitフォント・薄いグレー */
.company__table th {
  width: 180px;
  font-family: var(--font-en);
  font-size: 0.8125rem;
  letter-spacing: 2px;
  color: #9CA3AF;
  font-weight: 400;
  white-space: nowrap;
}

/* 内容 */
.company__table td {
  font-size: 1rem;
  color: #0D1F3C;
  font-weight: 500;
  line-height: 1.7;
}

/* 地図リンク */
.company__map-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.8125rem;
  color: #1A56DB;
  font-weight: 500;
  transition: opacity var(--transition);
}

.company__map-link:hover {
  opacity: 0.7;
}

/* ========================================
  08. お問い合わせセクション（CTA）
======================================== */
.contact {
  text-align: center;
}

.contact__desc {
  font-size: 1.125rem;
  line-height: 2;
  color: rgba(255,255,255,0.8);
  margin-bottom: 48px;
}

/* ========================================
  09. フッター
======================================== */
.footer {
  background: var(--color-primary);
  padding: 60px 0 32px;
}

.footer__body {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 28px;
}

.footer__left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__logo img {
  height: 40px;
  width: auto;
  display: block;
}

.footer__logo-name {
  font-family: var(--font-en);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: #FFFFFF;
}

.footer__info {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.9;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
}

.footer__nav-link {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  transition: color var(--transition);
}

.footer__nav-link:hover {
  color: #FFFFFF;
}

.footer__copy {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
}

/* ========================================
  サブページ共通：ページヒーロー
======================================== */
.page-hero {
  background: var(--color-primary);
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 80px;
  /* 下部の斜めカット（右下85%→左下100%）分の余白で視覚的に中央揃え */
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  padding-bottom: 28px;
}

/* ページヒーローのグリッドパターン */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-hero__label {
  font-family: var(--font-en);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  margin-bottom: 16px;
  position: relative;
}

.page-hero__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.02em;
  position: relative;
}

/* ページヒーロー背景デコレーション文字（各サブページで使用） */
.page-hero__deco {
  position: absolute;
  font-family: var(--font-en);
  font-size: 300px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.04);
  right: -40px;
  bottom: -40px;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* ========================================
  アクティブなナビリンクの強調
======================================== */
.header__nav-link.is-active .nav-en {
  color: var(--color-accent);
}

.header__nav-link.is-active .nav-ja {
  color: var(--color-accent);
}

.header.is-scrolled .header__nav-link.is-active .nav-en,
.header.is-scrolled .header__nav-link.is-active .nav-ja {
  color: var(--color-accent);
}

/* ========================================
  セクション：「もっと見る」リンク
======================================== */
.section-more {
  text-align: center;
  margin-top: 48px;
}

.section-more__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  text-transform: uppercase;
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 6px;
  transition: gap var(--transition), opacity var(--transition);
}

.section-more__link:hover {
  gap: 16px;
  opacity: 0.8;
}

/* ========================================
  サービスページ：縦並びサービスセクション
======================================== */

/* セクション共通 */
.sv-section {
  padding: 100px 0;
}

.sv-section--white {
  background: #FFFFFF;
}

.sv-section--gray {
  background: #F4F6F9;
}

/* 左右2カラムレイアウト */
.sv-section__inner {
  display: flex;
  align-items: center;
  gap: 80px;
}

/* 左カラム：テキストエリア */
.sv-section__left {
  flex: 1;
  min-width: 0;
}

/* 右カラム：タグカード */
.sv-section__right {
  width: 340px;
  flex-shrink: 0;
  border-radius: 16px;
  padding: 40px;
}

/* 白背景セクションの右カラムはグレーカード */
.sv-section--white .sv-section__right {
  background: #F4F6F9;
}

/* グレー背景セクションの右カラムは白カード＋シャドウ */
.sv-section--gray .sv-section__right {
  background: #FFFFFF;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

/* ENラベル */
.sv-section__en {
  font-family: var(--font-en);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 4px;
  color: #1A56DB;
  text-transform: uppercase;
  margin-bottom: 4px;
}

/* 大きな番号装飾 */
.sv-section__num {
  display: block;
  font-family: var(--font-en);
  font-size: 88px;
  font-weight: 700;
  color: #EEF3FF;
  line-height: 1;
  margin-bottom: 4px;
}

/* タイトル */
.sv-section__title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: #0D1F3C;
  line-height: 1.3;
  margin-bottom: 20px;
}

/* 装飾ライン */
.sv-section__line {
  width: 40px;
  height: 2px;
  background: #1A56DB;
  margin-bottom: 28px;
}

/* 説明文 */
.sv-section__desc {
  font-size: 1rem;
  line-height: 2.0;
  color: #4B5563;
  margin-bottom: 40px;
}

/* SUPPORT CONTENTS ラベル */
.sv-section__support-label {
  font-family: var(--font-en);
  font-size: 0.6875rem;
  letter-spacing: 3px;
  color: #9CA3AF;
  margin-bottom: 16px;
}

/* タグリスト */
.sv-section__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* 右カラムのフェードインを少し遅らせてスタッガー効果 */
.sv-section__right.js-fade {
  transition-delay: 0.2s;
}

/* サービスタグ */
.sv-tag {
  background: #EEF3FF;
  color: #1A56DB;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 500;
  transition: background 0.25s, color 0.25s;
  cursor: default;
}

.sv-tag:hover {
  background: #1A56DB;
  color: #FFFFFF;
}

/* お問い合わせボタン */
.sv-btn-more {
  display: inline-block;
  border: 1.5px solid #0D1F3C;
  color: #0D1F3C;
  padding: 16px 48px;
  border-radius: 40px;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 1px;
  transition: background 0.3s, color 0.3s;
}

.sv-btn-more:hover {
  background: #0D1F3C;
  color: #FFFFFF;
}

/* ========================================
  サービス詳細（service.html）
======================================== */
.service-detail {
  padding: var(--section-padding) 0;
}

.service-detail__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}

.service-detail__num {
  font-family: var(--font-en);
  font-size: 80px;
  font-weight: 700;
  color: #F0F4FF;
  line-height: 1;
  margin-bottom: 16px;
}

.service-detail__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.service-detail__desc {
  background: var(--color-bg-gray);
  padding: 24px;
  border-radius: 8px;
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 2;
  margin-bottom: 24px;
}

.service-detail__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-detail__list li {
  font-size: 0.9375rem;
  color: var(--color-text);
  padding-left: 24px;
  position: relative;
  line-height: 2.0;
}

.service-detail__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent);
  font-size: 0.875rem;
}

/* ========================================
  代表挨拶（about.html）
======================================== */
.greeting {
  background: var(--color-bg-white);
  padding: var(--section-padding) 0;
}

.greeting__inner {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

/* 左カラム：代表写真 */
.greeting__photo {
  width: 40%;
  flex-shrink: 0;
  height: 520px;
  border-radius: 12px;
  overflow: hidden;
}

.greeting__photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  display: block;
}

/* 右カラム：テキスト */
.greeting__body {
  flex: 1;
  padding-left: 80px;
}

/* 肩書き */
.greeting__role {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 3px;
  color: #1A56DB;
  margin-bottom: 12px;
  text-transform: uppercase;
}

/* 名前 */
.greeting__name {
  font-size: 2rem;
  font-weight: 700;
  color: #0D1F3C;
  margin-bottom: 32px;
  line-height: 1.3;
}

/* 区切り線 */
.greeting__line {
  width: 40px;
  height: 2px;
  background: #1A56DB;
  margin-bottom: 32px;
}

/* 挨拶文 */
.greeting__text {
  font-size: 1.0625rem;
  line-height: 2.2;
  color: #4B5563;
}

.greeting__text p + p {
  margin-top: 1.4em;
}

/* 挨拶文末尾の署名 */
.greeting__signature {
  font-size: 0.875rem;
  color: #9CA3AF;
  font-style: italic;
  margin-top: 40px !important;
}

/* ========================================
  ミッション・ビジョン（about.html）
======================================== */
.mv-section {
  background: #0D1F3C;
  padding: var(--section-padding) 0;
}

/* セクション見出し */
.mv-section__header {
  text-align: center;
  margin-bottom: 60px;
}

.mv-section__label {
  font-family: var(--font-en);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 4px;
  color: #1A56DB;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.mv-section__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
}

/* 2カラムカードグリッド（高さを均等に揃える） */
.mv__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}

.mv__card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 56px 48px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.mv__card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(26, 86, 219, 0.4);
}

/* カードラベル */
.mv__label {
  font-family: var(--font-en);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 4px;
  color: #1A56DB;
  text-transform: uppercase;
  margin-bottom: 24px;
}

/* カードテキスト */
.mv__text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.8;
}

/* ========================================
  CTAバナー（ページ末尾）
======================================== */
.cta-banner {
  background: var(--color-primary);
  padding: 80px 0;
  text-align: center;
}

.cta-banner__title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.cta-banner__desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  line-height: 2;
}

/* ========================================
  トップページ：Aboutサマリー
======================================== */
.about-summary__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-summary__mission {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.6;
  margin-bottom: 24px;
  padding-left: 20px;
  border-left: 4px solid var(--color-accent);
}

.about-summary__desc {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 2;
  margin-bottom: 40px;
}

.about-summary__right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-summary__value {
  background: var(--color-bg-white);
  border-left: 4px solid var(--color-accent);
  border-top: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.about-summary__value-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-summary__value-num {
  font-family: var(--font-en);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-accent);
  flex-shrink: 0;
  text-transform: uppercase;
}

.about-summary__value-text {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
}

.about-summary__value-desc {
  font-size: 0.75rem;
  color: var(--color-text-light);
  line-height: 1.6;
  padding-left: 60px;
}

/* ========================================
  お問い合わせの流れ（contact.html）
======================================== */
.contact-steps {
  background: var(--color-bg-gray);
}

.steps__grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step__item {
  flex: 1;
  text-align: center;
  padding: 0 24px;
  position: relative;
}

/* STEP間の矢印 */
.step__item:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -12px;
  top: 28px;
  font-size: 1.25rem;
  color: var(--color-accent);
  font-weight: 700;
}

.step__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #FFFFFF;
  font-family: var(--font-en);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.step__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.step__desc {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* お問い合わせフォームエリア（ダークネイビー） */
.contact-form-section {
  background: var(--color-primary);
  text-align: center;
}

.contact-form__lead {
  font-size: 1.125rem;
  line-height: 2;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
}

.contact-form__note {
  margin-top: 24px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
}

/* ========================================
  ローディングアニメーション
======================================== */
#loader {
  position: fixed;
  inset: 0;
  background: #0D1F3C;
  z-index: 10000;
  overflow: hidden;
  transition: opacity 0.8s ease;
}

#loader.is-exit {
  opacity: 0;
  pointer-events: none;
}

/* グリッドパターン */
#loader::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

/* 中央グロー */
#loader::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(26, 86, 219, 0.1) 0%, transparent 60%);
  z-index: 0;
}

/* 左右スプリットパネル（退場演出） */
.loader__panel {
  position: absolute;
  top: 0;
  height: 100%;
  width: 50%;
  background: #0D1F3C;
  z-index: 2;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.loader__panel--left  { left: 0; }
.loader__panel--right { right: 0; }

#loader.is-exit .loader__panel--left  { transform: translateX(-100%); }
#loader.is-exit .loader__panel--right { transform: translateX(100%); }

/* PHASE 1: 水平ライン */
.loader__line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, #1A56DB 10%, #1A56DB 90%, transparent);
  z-index: 3;
  margin-top: -0.5px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.loader__line.is-drawn { width: 100%; }

/* 上下分裂ライン */
.loader__line::before,
.loader__line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(26, 86, 219, 0.35);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.loader__line.is-split::before {
  opacity: 1;
  transform: translateY(-32px);
}

.loader__line.is-split::after {
  opacity: 1;
  transform: translateY(32px);
}

/* PHASE 2: ブランドエリア */
.loader__brand {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  z-index: 4;
}

.loader__logo {
  height: 120px;
  width: auto;
  display: block;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

/* STRUCTIVE テキスト */
.loader__name {
  display: flex;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 8px;
  color: rgba(255, 255, 255, 0.45);
  overflow: hidden;
}

.loader__name span {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.loader__name span.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* PHASE 3: 進捗カウンター */
.loader__counter {
  position: absolute;
  bottom: 40px;
  right: 48px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.3);
  z-index: 4;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.loader__counter.is-visible { opacity: 1; }

/* ========================================
  バリューカードスタッガー（about.html）
======================================== */
.value__grid .value__card.js-fade:nth-child(2) { transition-delay: 0.15s; }
.value__grid .value__card.js-fade:nth-child(3) { transition-delay: 0.3s; }
.value__grid .value__card.js-fade:nth-child(4) { transition-delay: 0.45s; }

/* ========================================
  ページ遷移オーバーレイ
======================================== */
#page-transition {
  position: fixed;
  inset: 0;
  background: var(--color-primary);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

/* is-entering：オーバーレイ表示（ページ離脱時・入場直後） */
#page-transition.is-entering {
  opacity: 1;
  pointer-events: auto;
}

/* ========================================
  動きを減らす設定への対応
======================================== */
@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;
  }
}

/* ========================================
  レスポンシブ（タブレット〜スマホ）
======================================== */
@media (max-width: 1024px) {
  .service__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: var(--section-padding-sp);
  }

  .pc-only {
    display: none;
  }

  /* ヘッダー */
  .header__nav {
    display: none;
  }

  .header__inner {
    height: 68px;
    padding: 0 20px;
  }

  .header__logo img {
    height: 40px;
  }

  .hamburger {
    display: flex;
  }

  .drawer {
    display: block;
    top: 68px;
  }

  /* ヒーロー */
  .hero__inner {
    left: 5%;
    right: 5%;
    top: 42%;
  }

  .hero__heading {
    font-size: 2.25rem;
  }

  .sp-only {
    display: inline;
  }

  .hero__scroll {
    left: 50%;
    transform: translateX(-50%);
    bottom: 72px;
  }

  /* 課題提起 */
  .issues__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* サービス */
  .service__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service__note {
    padding: 24px 20px;
  }

  /* バリュー */
  .value__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .value__card {
    padding: 36px 28px;
  }

  .value__deco {
    font-size: 4rem;
  }

  /* ニュース */
  .news__item {
    flex-wrap: wrap;
    gap: 10px;
  }

  /* 会社情報 */
  .company__table th {
    display: block;
    width: 100%;
    border-bottom: none;
    padding-bottom: 4px;
  }

  .company__table td {
    display: block;
    width: 100%;
    padding-top: 4px;
  }

  /* フッター */
  .footer__body {
    flex-direction: column;
    gap: 40px;
  }

  .footer__nav {
    align-items: flex-start;
  }

  /* お問い合わせSTEP */
  .steps__grid {
    flex-direction: column;
    align-items: stretch; /* flex-start（左寄せ）→ stretch（全幅）に上書き */
    gap: 40px;
  }

  .step__item {
    text-align: center;
    padding: 0;
  }

  /* バッジ：inline-flex を block に変えて margin auto で確実に中央寄せ */
  .step__badge {
    display: flex;
    margin: 0 auto 20px;
  }

  .step__item:not(:last-child)::after {
    content: none;
  }

  /* ミッション・ビジョン */
  .mv__grid {
    grid-template-columns: 1fr;
  }

  .mv__card {
    padding: 40px 32px;
  }

  .mv__text {
    font-size: 1.25rem;
  }

  /* 代表挨拶 */
  .greeting__inner {
    flex-direction: column;
    gap: 40px;
  }

  .greeting__photo {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    border-radius: 12px;
    overflow: hidden;
  }

  .greeting__body {
    padding-left: 0;
  }

  .greeting__name {
    font-size: 1.625rem;
  }

  /* Aboutサマリー */
  .about-summary__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* セクション見出し */
  .section-title {
    font-size: 1.75rem;
  }
}

/* サービスページ：スマホ対応（768px未満） */
@media (max-width: 768px) {
  .sv-section {
    padding: 72px 0;
  }

  /* 縦並びに切り替え */
  .sv-section__inner {
    flex-direction: column;
    gap: 40px;
  }

  /* 右カラムを全幅に */
  .sv-section__right {
    width: 100%;
  }

  /* 番号を少し小さく */
  .sv-section__num {
    font-size: 4rem;
  }

  .sv-section__title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero__heading {
    font-size: 1.375rem;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .btn {
    padding: 14px 32px;
    font-size: 0.875rem;
  }
}

/* ========================================
  スマホ追加修正
======================================== */
@media (max-width: 768px) {

  /* -------------------------------------------
     デコレーション文字：
     220px / 200px / 300px の巨大文字が
     スマホで横はみ出しを引き起こすため非表示に
     .news-index__deco は別クラスのため個別に指定
  ------------------------------------------- */
  .section-deco,
  .page-hero__deco,
  .news-index__deco {
    display: none;
  }

  /* -------------------------------------------
     ローダーロゴ：
     height:120px の横長ロゴがスマホ幅からはみ出す
     width 指定に切り替えて画面内に収める
  ------------------------------------------- */
  .loader__logo {
    height: auto;
    width: 200px;
    max-width: calc(100vw - 80px);
  }

  /* -------------------------------------------
     ページヒーロー
     PCヘッダー80px → スマホヘッダー68px に合わせる
  ------------------------------------------- */
  .page-hero {
    height: 220px;
    margin-top: 68px;
  }

  /* -------------------------------------------
     課題提起カード
     padding 40px → 24px に縮小、アイコンも小さく
  ------------------------------------------- */
  .issues__card {
    padding: 24px 20px;
    gap: 16px;
  }

  .issues__icon {
    font-size: 3rem;
  }

  /* -------------------------------------------
     サービスカード
     padding 40px 32px → 28px 20px に縮小
  ------------------------------------------- */
  .service__card {
    padding: 28px 20px;
  }

  /* -------------------------------------------
     ニュースインデックス：ヘッダー行を縦並びに
     「お知らせ」見出し と「一覧を見る」が
     横に並ぶと窮屈になるため縦積みに変更
  ------------------------------------------- */
  .news-index__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* -------------------------------------------
     ヒーローサブコピー：max-width を解除
  ------------------------------------------- */
  .hero__sub {
    max-width: 100%;
  }

  /* -------------------------------------------
     Aboutサマリー：バリュー説明文のインデント解除
  ------------------------------------------- */
  .about-summary__value-desc {
    padding-left: 0;
  }

  /* -------------------------------------------
     CTAバナー：ボタン幅を画面幅に合わせる
  ------------------------------------------- */
  .cta-banner {
    padding: 60px 0;
  }

  /* -------------------------------------------
     contact-form：ボタンを中央寄せ・幅広に
  ------------------------------------------- */
  .btn--form {
    width: 100%;
    max-width: 320px;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  /* ページヒーロー：さらに小さく */
  .page-hero {
    height: 180px;
  }

  /* 課題提起カード */
  .issues__card {
    padding: 20px 16px;
  }

  /* ヒーロー内テキストエリアの余白調整 */
  .hero__inner {
    left: 4%;
    right: 4%;
  }

  .hero__label {
    font-size: 0.625rem;
    margin-bottom: 16px;
  }
}

