/* ============================================================
   components.css — 再利用UIコンポーネント
   編集ガイド：
   - ボタンの色を変える → .c-btn--* のバリアント
   - カードの角丸 → --radius-lg（base.css）
   - タグの色追加 → .c-tag--[カテゴリ名] を追加
============================================================ */


/* ============================================================
   BUTTONS
============================================================ */


.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 900; /* 日本語太字 */
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
  text-decoration: none;
}

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

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

/* ─ サイズバリアント ─ */
.c-btn--sm {
  padding: 10px 20px;
  font-size: 12px;
}
.c-btn--md {
  padding: 14px 30px;
  font-size: var(--text-base);
}
.c-btn--lg {
  padding: 18px 36px;
  font-size: var(--text-base);
}

/* ─ カラーバリアント ─ */

/* Primary（コーラル塗り） */
.c-btn--primary {
  background: var(--color-coral);
  color: var(--color-white);
  border-color: var(--color-coral);
}
.c-btn--primary:hover {
  background: var(--color-coral-dark);
  border-color: var(--color-coral-dark);
}

/* Navy（ネイビー塗り） */
.c-btn--navy {
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}
.c-btn--navy:hover {
  background: var(--color-navy-dark);
  border-color: var(--color-navy-dark);
}

/* Outline white（アウトライン・白） */
.c-btn--outline-white {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.55);
}
.c-btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: var(--color-white);
}

/* Outline navy（アウトライン・ネイビー） */
.c-btn--outline-navy {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}
.c-btn--outline-navy:hover {
  background: var(--color-navy);
  color: var(--color-white);
}

/* Ghost（テキストのみ・下線ホバー） */
.c-btn--ghost {
  background: transparent;
  color: var(--color-coral);
  border-color: transparent;
  padding-inline: 0;
}
.c-btn--ghost:hover {
  transform: translateX(3px);
}

/* ─ 右矢印アイコン（spanタグ表現用） ─ */
.c-icon-arrow-right,
.icon-arrow-right {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: middle;
  background-color: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") no-repeat center / contain;
  flex-shrink: 0;
}


/* ============================================================
   HERO VIDEO & SLOGAN (トップ画面いっぱいの動画ヒーロー)
   ============================================================ */
/* ============================================================
   HERO VIDEO & SLOGAN (トップ画面いっぱいの動画ヒーロー)
   ============================================================ */
.c-hero-video-container {
  position: relative;
  width: 100%;
  height: 100vh;           /* 画面いっぱいの高さを確保 */
  height: 100svh;          /* スマホアドレスバー対応 */
  min-height: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-navy-dark);
}

/* ─ バックグラウンド動画（全画面レスポンシブフィット） ─ */
.c-hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  z-index: 1;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center;
}

/* ─ 高級感・文字可読性を高める薄い黒のオーバーレイ ─ */
.c-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  /* 上下に少し深みを持たせたシネマティックな黒オーバーレイ */
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(10, 18, 38, 0.65) 50%,
    rgba(0, 0, 0, 0.75) 100%
  );
  pointer-events: none;
}

/* ─ 中央メッセージコンテナ ─ */
.c-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--color-white);
  padding: var(--header-height) 24px 60px;
  max-width: 960px;
  width: 100%;
  margin: auto; /* 上下左右完全中央揃え */
}

.c-hero-title {
  font-size: clamp(32px, 5.5vw, 64px);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.55), 0 2px 8px rgba(0, 0, 0, 0.3);
}

.c-hero-sub {
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.8;
  margin-bottom: 0;
  max-width: 780px;
  margin-inline: auto;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

/* スクロールダウン案内（メッセージの下・画面最下部中央に配置） */
.c-scroll-down {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-en);
  font-weight: 900; /* Termina 800 */
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
}

.c-scroll-down:hover {
  color: var(--color-white);
}

.c-scroll-down__arrow {
  width: 20px;
  height: 32px;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 12px;
  position: relative;
}

.c-scroll-down__arrow::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 6px;
  background: var(--color-coral);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollAnim 1.8s infinite ease-in-out;
}

@keyframes scrollAnim {
  0% { top: 6px; opacity: 1; }
  80% { top: 18px; opacity: 0; }
  100% { top: 6px; opacity: 0; }
}

/* ============================================================
   INFINITE PHOTO GALLERY (無限横スクロールギャラリー)
   ============================================================ */
.c-gallery-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 20px 0;
}

.c-gallery-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scrollGallery 35s linear infinite;
}

.c-gallery-track:hover {
  animation-play-state: paused;
}

.c-gallery-item {
  width: 320px;
  height: 220px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  position: relative;
  background: var(--color-navy);
}

.c-gallery-item > div:first-child {
  width: 100%;
  height: 100%;
}

.c-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.c-gallery-item:hover img {
  transform: scale(1.06);
}

.c-gallery-caption {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  padding: 12px;
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 100%);
  color: white;
  font-size: 13px;
  font-weight: 500;
}

@keyframes scrollGallery {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   ROLES SLIDER (役割紹介・無限横スクロールスライダー & 縦型カプセルカード)
   ============================================================ */
.c-roles-slider-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 24px 0 36px;
  margin-top: 16px;
}

.c-roles-slider-track {
  display: flex;
  gap: 28px;
  width: max-content;
  will-change: transform;
  animation: scrollRoles 35s linear infinite;
}

.c-roles-slider-track:hover {
  animation-play-state: paused;
}

@keyframes scrollRoles {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 窓型 (上部半円アーチ・下部角丸) カード & ポップアウトイラスト */
.role-card--window,
.role-card--capsule {
  flex: 0 0 260px;
  width: 260px;
  min-height: 340px;
  background: white;
  border: 2px solid var(--color-gray-200);
  border-radius: 130px 130px 24px 24px; /* 上部のみ半円アーチ、下部は角丸（窓型） */
  padding: 16px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 8px 24px rgba(10, 21, 53, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  box-sizing: border-box;
  margin-top: 45px; /* キャラクターが上部からはみ出るスペース */
}

.role-card--window:hover,
.role-card--capsule:hover {
  transform: translateY(-8px);
  border-color: var(--color-coral);
  box-shadow: 0 16px 36px rgba(235, 94, 85, 0.16);
}

/* 飛び出し（ポップアウト）イラストコンテナ */
.role-card__img-popout {
  position: relative;
  width: 180px;
  height: 140px;
  margin-top: -65px; /* カードの上枠から上に飛び出すネガティブマージン */
  margin-bottom: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* 飛び出すキャラクター画像（背景サークルを削除し、大判でダイナミックに配置） */
.role-card__img-popout img {
  position: relative;
  z-index: 2;
  width: 180px;
  height: 165px;
  object-fit: contain;
  transition: transform 0.35s ease, filter 0.35s ease;
  filter: drop-shadow(0 6px 12px rgba(10, 21, 53, 0.12));
}

.role-card--window:hover .role-card__img-popout img,
.role-card--capsule:hover .role-card__img-popout img {
  transform: translateY(-8px) scale(1.06);
  filter: drop-shadow(0 10px 18px rgba(235, 94, 85, 0.22));
}

.role-card--capsule .role-card__badge,
.role-card--window .role-card__badge {
  position: static;
  display: inline-block;
  margin-bottom: 8px;
  background: var(--color-navy);
  color: white;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  box-shadow: none;
}

.role-card--capsule .role-card__title,
.role-card--window .role-card__title {
  font-size: 18px;
  font-weight: 900;
  color: var(--color-navy);
  margin: 0 0 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  justify-content: center;
  width: 100%;
}

.role-card--capsule .role-card__text,
.role-card--window .role-card__text {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--color-gray-700);
  line-height: 1.75;
  margin: 0;
  text-align: left;
}


/* ============================================================
   TABS UI (募集要項など)
   ============================================================ */
.c-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid var(--color-gray-200);
  margin-bottom: 32px;
  overflow-x: auto;
  scrollbar-width: none;
}
.c-tabs::-webkit-scrollbar { display: none; }

.c-tab-btn {
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-gray-600);
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}

.c-tab-btn:hover {
  color: var(--color-navy);
}

.c-tab-btn.is-active {
  color: var(--color-navy);
  border-bottom-color: var(--color-coral);
}

.c-tab-panel {
  display: none;
}

.c-tab-panel.is-active {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   FILTER SELECT / MONTH FILTER (お知らせ年月絞り込み)
   ============================================================ */
.c-filter-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  background: var(--color-gray-100);
  padding: 16px 20px;
  border-radius: var(--radius-md);
}

.c-filter-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-navy);
}

.c-filter-select {
  padding: 10px 16px;
  font-size: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-gray-300);
  background: white;
  color: var(--color-gray-800);
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}

.c-filter-select:focus {
  border-color: var(--color-coral);
}


/* ============================================================
   TAGS / BADGES（カテゴリラベル）
============================================================ */

/* 追加方法：.c-tag--[名前] { background: ...; color: ...; border-color: ...; } */

.c-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  white-space: nowrap;
}

/* お知らせ（一般） */
.c-tag--news {
  background: #EEF1FF;
  color: var(--color-navy);
  border-color: #C5CDEE;
}

/* 採用 */
.c-tag--recruit {
  background: #FFF0EE;
  color: var(--color-coral);
  border-color: #F7CACA;
}

/* 安全活動 */
.c-tag--safety {
  background: #EFFAF4;
  color: #2A7050;
  border-color: #B4E8CC;
}

/* 地域活動 */
.c-tag--community {
  background: #FFF8EE;
  color: #8A5500;
  border-color: #F5DBA0;
}

/* 会社行事 */
.c-tag--event {
  background: #F8EEFF;
  color: #6335B5;
  border-color: #DBC3F5;
}

/* 荷役・仕事内容タグ */
.c-tag--job {
  background: var(--color-gray-100);
  color: var(--color-navy);
  border-color: var(--color-gray-200);
}


/* ============================================================
   CARDS
============================================================ */

/* ─ 汎用カード ─ */
.c-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

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

.c-card__img {
  aspect-ratio: 16 / 9;
  background: var(--color-gray-100);
  overflow: hidden;
  position: relative;
}

.c-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.c-card:hover .c-card__img img {
  transform: scale(1.04);
}

/* 写真がない場合のプレースホルダー */
.c-card__img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-400);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
}

.c-card__body {
  padding: 24px 28px;
}

.c-card__title {
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--color-navy);
  margin-bottom: 8px;
  margin-top: 10px;
}

.c-card__text {
  font-size: var(--text-sm);
  color: var(--color-gray-600);
  line-height: var(--leading-normal);
}

.c-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-coral);
  margin-top: 12px;
  transition: gap 0.2s;
}

.c-card__link:hover {
  gap: 8px;
}

/* ─ 社員紹介カード ─ */
.c-member-card {
  background: var(--color-gray-50);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: transform var(--transition);
}

.c-member-card:hover {
  transform: translateY(-4px);
}

.c-member-card__photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--color-gray-200);
  margin: 0 auto var(--space-sm);
  overflow: hidden;
  position: relative;
  border: 3px solid var(--color-white);
  box-shadow: 0 0 0 1.5px var(--color-gray-200);
}

.c-member-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 写真なし時のプレースホルダー */
.c-member-card__photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--color-gray-400);
}

.c-member-card__name {
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--color-navy);
  margin-bottom: 2px;
}

.c-member-card__role {
  font-size: 12px;
  color: var(--color-gray-400);
  margin-bottom: 14px;
}

.c-member-card__comment {
  font-size: var(--text-sm);
  color: var(--color-gray-600);
  line-height: var(--leading-normal);
  position: relative;
  padding-inline: 8px;
}

/* 引用符（装飾） */
.c-member-card__comment::before {
  content: '\201C'; /* " */
  position: absolute;
  left: -4px;
  top: -4px;
  font-size: 24px;
  line-height: 1;
  color: var(--color-coral);
  font-family: Georgia, serif;
}

/* ─ 数値アピールブロック ─ */
.c-stat-block {
  background: var(--color-white);
  padding: 24px 16px;
  text-align: center;
}

.c-stat-block__num {
  font-family: var(--font-en);
  font-size: 36px;
  font-weight: 900; /* Termina 800 */
  color: var(--color-navy);
  line-height: 1;
  margin-bottom: 4px;
}

.c-stat-block__num sub,
.c-stat-block__num sup {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 900;
}

.c-stat-block__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-gray-600); /* 高コントラスト */
}

/* ─ 強みカード（Navy背景上） ─ */
.c-strength-item {
  text-align: center;
  padding: 32px 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  transition: background var(--transition);
}

.c-strength-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.c-strength-item__icon {
  width: 56px;
  height: 56px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
}

.c-strength-item__title {
  font-size: var(--text-base);
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: 8px;
}

.c-strength-item__text {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.85); /* 高コントラスト化 */
  line-height: var(--leading-normal);
}


/* ============================================================
   NEWS LIST
============================================================ */

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

.c-news-card {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-gray-200);
  text-decoration: none;
  transition: padding-inline var(--transition);
}

.c-news-card:first-child {
  border-top: 1px solid var(--color-gray-200);
}

.c-news-card:hover {
  padding-inline-start: 8px;
}

.c-news-card__date {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--color-gray-600); /* 高コントラスト */
  white-space: nowrap;
  min-width: 95px;
  flex-shrink: 0;
}

.c-news-card__title {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-gray-800);
  transition: color 0.2s;
  flex: 1;
}

.c-news-card:hover .c-news-card__title {
  color: var(--color-navy);
}


/* ============================================================
   STEP（港湾物流フロー）
============================================================ */

.c-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 12px;
}

.c-step__num {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 900; /* Termina 800 */
  letter-spacing: 0.10em;
  color: var(--color-coral);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.c-step__icon {
  width: 64px;
  height: 64px;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 50%;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}

.c-step:hover .c-step__icon {
  border-color: var(--color-coral);
  box-shadow: 0 0 0 4px rgba(234, 97, 85, 0.10);
}

.c-step__title {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-navy);
  margin-bottom: 6px;
}

.c-step__text {
  font-size: 12px;
  color: var(--color-gray-400);
  line-height: var(--leading-normal);
}


/* ============================================================
   FAQ（アコーディオン）
============================================================ */

.c-faq__item {
  border-bottom: 1px solid var(--color-gray-200);
}

.c-faq__item:first-child {
  border-top: 1px solid var(--color-gray-200);
}

.c-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 20px 0;
  cursor: pointer;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-navy);
  list-style: none;
  transition: color 0.2s;
  user-select: none;
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  font-family: inherit;
}

.c-faq__question::-webkit-details-marker {
  display: none;
}

.c-faq__question:hover {
  color: var(--color-coral);
}

.c-faq__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.3s ease,
    background 0.2s,
    border-color 0.2s;
}

.c-faq__item.is-open .c-faq__icon,
details[open] .c-faq__icon {
  transform: rotate(45deg);
  background: var(--color-coral);
  border-color: var(--color-coral);
}

.c-faq__item.is-open .c-faq__icon svg,
details[open] .c-faq__icon svg {
  stroke: var(--color-white);
}

.c-faq__answer {
  display: none;
  padding: 0 0 20px 0;
  font-size: var(--text-base);
  color: var(--color-gray-600);
  line-height: var(--leading-loose);
}

.c-faq__item.is-open .c-faq__answer {
  display: block;
}


/* ============================================================
   VIDEO MODAL
============================================================ */
/* 動画URLの変更：main.js の data-video 属性を変更
   またはACFで管理する場合はHTML側のdata属性を差し替え */

.c-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.c-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.c-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 21, 53, 0.88);
  cursor: pointer;
}

.c-modal__inner {
  position: relative;
  z-index: 1;
  width: min(880px, 100%);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  transform: scale(0.96);
  transition: transform 0.3s ease;
}

.c-modal.is-open .c-modal__inner {
  transform: scale(1);
}

.c-modal__inner iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.c-modal__close {
  position: absolute;
  top: -52px;
  right: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 28px;
  font-weight: 300;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
  cursor: pointer;
  line-height: 1;
}

.c-modal__close:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.10);
}


/* ============================================================
   JS FADE IN（スクロールアニメーション）
============================================================ */
/* main.js の IntersectionObserver と連動 */

.js-fade {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

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

/* 遅延バリアント（グループ内で順番にフェード） */
.js-fade-d1 { transition-delay: 0.08s; }
.js-fade-d2 { transition-delay: 0.16s; }
.js-fade-d3 { transition-delay: 0.24s; }

/* ============================================================
   PAGINATION (ページ送りUI)
============================================================ */
.c-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
  list-style: none;
  flex-wrap: wrap;
}

.c-pagination__item {
  display: inline-flex;
}

.c-pagination__link,
.c-pagination__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-gray-300);
  background: white;
  color: var(--color-navy);
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  user-select: none;
}

.c-pagination__link:hover,
.c-pagination__btn:hover:not(:disabled) {
  border-color: var(--color-navy);
  background: var(--color-navy);
  color: white;
}

.c-pagination__link.is-active,
.c-pagination__btn.is-active {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: white;
  pointer-events: none;
}

.c-pagination__btn:disabled,
.c-pagination__link.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  border-color: var(--color-gray-200);
}

.c-pagination__ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 44px;
  color: var(--color-gray-400);
  font-weight: 500;
}
.js-fade-d4 { transition-delay: 0.32s; }
.js-fade-d5 { transition-delay: 0.40s; }

/* ─ 共通アコーディオンコンポーネント (c-accordion) ─ */
.c-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.c-accordion__item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-gray-200);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.c-accordion__item:hover {
  border-color: var(--color-gray-300);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.c-accordion__item.is-open,
.c-accordion__item[open] {
  border-color: rgba(30, 42, 56, 0.25);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.c-accordion__summary {
  width: 100%;
  background: transparent;
  border: none;
  font-family: inherit;
  text-align: left;
  padding: 20px 24px;
  font-weight: 500;
  font-size: 15px;
  color: var(--color-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 0.2s;
}

.c-accordion__summary::-webkit-details-marker {
  display: none;
}

.c-accordion__summary:hover {
  background: rgba(30, 42, 56, 0.015);
}

.c-accordion__toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-navy);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
  margin-left: 14px;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.c-accordion__item.is-open .c-accordion__toggle,
.c-accordion__item[open] .c-accordion__toggle {
  transform: rotate(45deg);
  background: var(--color-coral);
}

.c-accordion__content {
  display: none;
  padding: 0 24px 22px;
}

.c-accordion__item.is-open .c-accordion__content,
.c-accordion__item[open] .c-accordion__content {
  display: block;
}

.c-accordion__body {
  font-size: 14px;
  color: var(--color-gray-600);
  line-height: 1.85;
  border-top: 1px solid var(--color-gray-100);
  padding-top: 16px;
}

/* ============================================================
   PAGE HERO & CONTAINER (汎用固定ページスタイル)
============================================================ */
.page-hero {
  background: var(--color-navy);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(234,97,85,0.08);
  right: -80px;
  bottom: -80px;
}
.page-hero__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  color: white;
  line-height: 1.25;
  margin-bottom: 16px;
}
.page-hero__sub {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  max-width: 580px;
}
.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
  list-style: none;
  flex-wrap: wrap;
  padding: 0;
}
.breadcrumb li + li::before {
  content: '/';
  margin-right: 8px;
}
.breadcrumb a {
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
  text-decoration: none;
}
.breadcrumb a:hover {
  color: white;
}
.page-container {
  background: white;
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid var(--color-gray-200);
  margin-top: -48px;
  position: relative;
  z-index: 10;
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
}

/* ============================================================
   BLOCK PATTERN COMPONENTS (各種ブロック・パターン用スタイル)
============================================================ */

/* ─ 会社概要 / 共通テーブル ─ */
.overview-table,
.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 20px 0;
}
.overview-table th,
.wp-block-table table th {
  background: var(--color-gray-100);
  color: var(--color-navy);
  font-weight: 500;
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-gray-200);
  width: 180px;
  vertical-align: top;
}
.overview-table td,
.wp-block-table table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-gray-200);
  color: var(--color-gray-600);
  line-height: 1.8;
}
.overview-table tr:last-child th,
.overview-table tr:last-child td,
.wp-block-table table tr:last-child th,
.wp-block-table table tr:last-child td {
  border-bottom: none;
}

/* ─ 代表挨拶・人物メッセージ ─ */
.president-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}
.president-photo {
  aspect-ratio: 3/4;
  background: var(--color-gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.president-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.president-quote-mark {
  font-size: 80px;
  line-height: 1;
  color: var(--color-gray-200);
  font-family: Georgia, serif;
  margin-bottom: -24px;
  display: block;
}

/* ─ 沿革タイムライン ─ */
.history-timeline {
  position: relative;
  padding-left: 40px;
  margin-top: 32px;
  margin-bottom: 48px;
}
.history-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--color-gray-200);
}
.history-item {
  position: relative;
  padding-bottom: 32px;
}
.history-item::before {
  content: '';
  position: absolute;
  left: -45px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-coral);
  border: 2px solid white;
  box-shadow: 0 0 0 2px var(--color-coral);
}
.history-year {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-coral);
  margin-bottom: 4px;
}
.history-desc {
  font-size: 15px;
  color: var(--color-gray-800);
  line-height: 1.7;
}

/* ─ 拠点・組織カード ─ */
.office-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
  margin-bottom: 48px;
}
.office-card {
  background: white;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.office-name {
  font-size: 15px;
  font-weight: 500;
  background: var(--color-navy);
  color: white;
  margin-bottom: 12px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  width: fit-content;
}
.office-crew-list {
  list-style: none;
  margin-top: 16px;
  padding: 0;
}
.office-crew-item {
  background: var(--color-gray-100);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 10px;
  border-left: 3px solid var(--color-coral);
}
.office-crew-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-navy);
}
.office-crew-desc {
  font-size: 12px;
  color: var(--color-gray-600);
  margin-top: 4px;
  line-height: 1.5;
}

/* ─ お問い合わせ案内ボックス ─ */
.contact-tel-box {
  background: var(--color-gray-100);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  margin-bottom: 40px;
}
.contact-tel-number {
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 900;
  color: var(--color-navy);
  margin: 12px 0 8px;
}

/* ─ プライバシー・共通セクション ─ */
.privacy-section {
  margin-bottom: 48px;
}
.privacy-section h2 {
  font-size: 22px;
  font-weight: 900;
  color: var(--color-navy);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-coral);
  margin-bottom: 20px;
}
.privacy-section p,
.privacy-section ul {
  font-size: 15px;
  color: var(--color-gray-600);
  line-height: 1.95;
}

/* ─ 社員インタビュー / カード ─ */
.interview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 32px;
  margin-bottom: 48px;
}
.interview-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-gray-200);
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}
.interview-img {
  aspect-ratio: 4/3;
  background: var(--color-gray-100);
  overflow: hidden;
}
.interview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.interview-body {
  padding: 24px;
}
.interview-name {
  font-size: 18px;
  font-weight: 900;
  color: var(--color-navy);
}
.interview-role {
  font-size: 13px;
  color: var(--color-coral);
  font-weight: 500;
  margin-bottom: 12px;
}
.interview-lead {
  font-size: 14px;
  color: var(--color-gray-600);
  line-height: 1.7;
}

/* ─ 用語定義・取り組みブロック ─ */
.definition-box {
  background: var(--color-white);
  border-left: 3px solid var(--color-coral);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  font-size: 14px;
  color: var(--color-gray-600);
  line-height: 1.9;
  margin: 24px 0;
}
.initiative-block {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--color-gray-200);
}
.initiative-block:first-child {
  padding-top: 0;
}
.initiative-block:last-child {
  border-bottom: none;
}
.initiative-block__img {
  aspect-ratio: 4/3;
  background: var(--color-gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-gray-200);
  box-shadow: 0 12px 32px rgba(0,0,0,0.04);
}
.initiative-block__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.initiative-block__title {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 900;
  color: var(--color-navy);
  margin-bottom: 16px;
  line-height: 1.4;
}
.initiative-block__text {
  font-size: 15px;
  color: var(--color-gray-600);
  line-height: 1.9;
}
.initiative-block__stats {
  display: flex;
  gap: 20px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.initiative-stat-card {
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-200);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  min-width: 130px;
}
.initiative-stat-card__num {
  font-family: var(--font-en);
  font-size: 26px;
  font-weight: 900;
  color: var(--color-navy);
  line-height: 1;
  margin-bottom: 4px;
}
.initiative-stat-card__label {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-gray-600);
}

/* ─ 資料ダウンロードカード ─ */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin: 32px 0;
}
.doc-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1px solid var(--color-gray-200);
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition), box-shadow var(--transition);
}
.doc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(10,21,53,0.10);
}
.doc-card__badge {
  display: inline-block;
  background: #EBF3FF;
  color: var(--color-navy);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.doc-card__title {
  font-size: 18px;
  font-weight: 900;
  color: var(--color-navy);
  line-height: 1.45;
  margin-bottom: 12px;
}

@media (max-width: 840px) {
  .president-layout {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .president-photo {
    max-width: 240px;
    aspect-ratio: 1;
  }
  .initiative-block {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .overview-table th,
  .wp-block-table table th {
    width: 110px;
  }
}


/* ============================================================
   11. インラインスタイル整理・共通化クラス
============================================================ */

/* ─ 汎用ユーティリティ ─ */
.u-wave-container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
}

.u-wave-svg {
  height: 48px;
}

.u-section-padding {
  padding-block: var(--space-xl);
}

/* ─ 採用情報：タブ・キャリアパス ─ */
.p-recruit-tab-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 36px;
}

.p-recruit-tab-btn {
  min-width: 160px;
  font-weight: 900;
}

.p-recruit-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-navy);
  padding: 32px;
  margin-bottom: 36px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.p-recruit-card--sougou {
  border-color: var(--color-coral);
}

.p-recruit-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}

.p-recruit-card__badge {
  font-size: 13px;
  font-weight: 900;
  color: white;
  background: var(--color-navy);
  padding: 4px 14px;
  border-radius: var(--radius-full);
}

.p-recruit-card__badge--sougou {
  background: var(--color-coral);
}

.p-recruit-card__summary {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-navy);
}

.p-recruit-card__summary--sougou {
  color: var(--color-coral);
}

.p-recruit-card__title {
  font-size: 22px;
  font-weight: 900;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.p-recruit-card__text {
  font-size: 15px;
  color: var(--color-gray-700);
  line-height: 1.85;
  margin-bottom: 20px;
}

.p-recruit-card__feature-box {
  background: var(--color-gray-100);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  border: 1px solid var(--color-gray-200);
}

.p-recruit-card__feature-box--sougou {
  background: #FFF9F8;
  border-color: rgba(234, 97, 85, 0.2);
}

.p-recruit-card__feature-title {
  font-size: 14.5px;
  color: var(--color-navy);
  display: block;
  margin-bottom: 12px;
}

.p-recruit-card__feature-title--sougou {
  color: var(--color-coral);
}

.p-recruit-card__feature-list {
  padding-left: 20px;
  font-size: 14px;
  color: var(--color-gray-700);
  line-height: 1.85;
  margin: 0;
}

.p-recruit-card__feature-item {
  margin-bottom: 10px;
}

/* ─ 成長ロードマップ ─ */
.p-recruit-roadmap-box {
  margin-top: 24px;
}

.p-recruit-roadmap-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.p-recruit-roadmap-title {
  font-size: 15px;
  font-weight: 900;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  gap: 6px;
}

.p-recruit-roadmap-title--sougou {
  color: var(--color-coral);
}

.p-recruit-roadmap-hint {
  font-size: 12px;
  color: var(--color-coral);
  font-weight: 500;
}

.p-recruit-roadmap-wrapper {
  width: 100%;
  background: white;
  border: 2px dashed var(--color-navy);
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.p-recruit-roadmap-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.p-recruit-roadmap-wrapper--sougou {
  background: #FFF9F8;
  border-color: var(--color-coral);
  box-shadow: 0 4px 16px rgba(234, 97, 85, 0.04);
}

.p-recruit-roadmap-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

/* ─ 採用サポート / グリッド ─ */
.p-recruit-support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.p-recruit-support-card {
  background: white;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-gray-200);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.p-recruit-support-badge {
  font-size: 12px;
  font-weight: 900;
  color: var(--color-navy);
  background: rgba(30, 42, 56, 0.08);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 12px;
}

.p-recruit-support-title {
  font-size: 19px;
  font-weight: 900;
  color: var(--color-navy);
  margin-bottom: 14px;
  line-height: 1.4;
}

.p-recruit-support-text {
  font-size: 14px;
  color: var(--color-gray-600);
  line-height: 1.85;
  margin-bottom: 16px;
}

.p-recruit-support-note {
  background: #F4F6F9;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-navy);
}

/* ─ ロードマップ全画面モーダル ─ */
.c-roadmap-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 18, 29, 0.88);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.c-roadmap-modal__container {
  position: relative;
  max-width: 95vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.c-roadmap-modal__close {
  position: absolute;
  top: -42px;
  right: 0;
  color: white;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.c-roadmap-modal__close:hover {
  background: rgba(255, 255, 255, 0.35);
}

.c-roadmap-modal__body {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.c-roadmap-modal__img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  display: none;
}

.c-roadmap-modal__placeholder {
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  max-width: 520px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.c-roadmap-modal__title {
  font-size: 18px;
  font-weight: 900;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.c-roadmap-modal__text {
  font-size: 14px;
  color: var(--color-gray-600);
  line-height: 1.75;
  margin-bottom: 0;
}

.c-roadmap-modal__caption {
  color: white;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}


/* ─ ホームページ・汎用追加 ─ */
.p-home-mission-box {
  background: var(--color-navy);
  padding: clamp(32px, 5vw, 56px) clamp(24px, 4vw, 48px);
  border-radius: var(--radius-lg);
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(10, 21, 53, 0.12);
}

.p-home-mission-watermark {
  position: absolute;
  right: -20px;
  bottom: -20px;
  font-size: 180px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
  font-family: serif;
}

.p-home-mission-heading {
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 900;
  margin-bottom: 24px;
  color: white;
  line-height: 1.35;
}

.p-home-mission-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.95;
  margin-bottom: 24px;
}

.p-home-philosophy-heading {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 900;
  color: var(--color-navy);
  margin-bottom: 24px;
  line-height: 1.45;
}

.p-home-philosophy-text {
  font-size: 16px;
  color: var(--color-gray-600);
  line-height: 1.95;
  margin-bottom: 36px;
}

.p-home-mission-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.95;
  margin: 0;
}

.p-home-work-title {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 900;
  color: var(--color-navy);
  margin-bottom: 20px;
  line-height: 1.45;
}

.p-home-work-text {
  font-size: 16px;
  color: var(--color-gray-600);
  line-height: 1.95;
  margin-bottom: 20px;
}

.p-home-work-text--last {
  font-size: 16px;
  color: var(--color-gray-600);
  line-height: 1.95;
  margin: 0;
}

.p-home-news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

.c-filter-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  background: var(--color-gray-100);
  color: var(--color-navy);
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s, color 0.2s;
}
.c-filter-badge:hover,
.c-filter-badge.is-active {
  background: var(--color-navy);
  color: white;
}

.p-home-feature-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px) clamp(24px, 4vw, 48px);
  border: 1px solid var(--color-gray-200);
  margin-bottom: 56px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.04);
}

/* ─ メッセージセクション (Mission&Vision と Philosophy のグリッド配置) ─ */
.top-message-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 992px) {
  .top-message-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

/* ─ 私たちの仕事 (テキスト と 補足説明図 のグリッド配置・図のコンパクト化) ─ */
.top-work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.top-work-grid .c-img-placeholder-block {
  width: 100%;
  max-width: 380px;
  margin-inline: auto;
  aspect-ratio: 16 / 10;
}

@media (min-width: 992px) {
  .top-work-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
  }
  .top-work-grid .c-img-placeholder-block {
    max-width: 340px;
    margin-inline: auto;
  }
}


.u-mb-0 { margin-bottom: 0 !important; }
.u-mb-16 { margin-bottom: 16px !important; }
.u-mb-20 { margin-bottom: 20px !important; }
.u-mb-24 { margin-bottom: 24px !important; }
.u-mb-36 { margin-bottom: 36px !important; }
.u-mb-48 { margin-bottom: 48px !important; }
.u-mb-56 { margin-bottom: 56px !important; }

.u-flex-center-gap {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.u-flex-between-end {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.u-text-coral {
  color: var(--color-coral);
}

.u-wave-svg--lg {
  height: 64px;
}

.c-img-placeholder-block {
  background: var(--color-gray-100);
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--color-gray-300);
  width: 100%;
}

.c-img-placeholder-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─ 会社を知るページ・組織図モーダル ─ */
.c-org-modal-inner {
  aspect-ratio: auto;
  padding: 32px;
  background: white;
}

.c-org-modal-close {
  top: 12px;
  right: 12px;
  color: black;
}

.p-about-group-box {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--color-gray-200);
}

.p-about-group-note {
  font-size: 13px;
  color: var(--color-gray-500);
  background: var(--color-gray-100);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
}

