﻿/* ============================================
   works/hotta/css/renewal.css
   堀田建設様 LP プレミアムデザイン (Refactored)
   ============================================ */

/* 09_coding_rules.md 厳守: 最小限のコードで成約率（応募数）を最大化する */

:root {
  /* --- Brand Colors --- */
  --accent-gold: #c5a059;
  --navy-deep: #012454;
  --navy-light: #01357e;
  --line-green: #06c755;
  --line-green-dark: #05a346;

  /* --- Text Colors --- */
  --text-main: #333333;
  --text-sub: #555555;
  --text-muted: #888888;
  --text-inverse: #ffffff;

  /* --- Backgrounds --- */
  --bg-white: #ffffff;
  --bg-light: #f4f6f9;
  --bg-navy-overlay: rgba(0, 26, 61, 0.9);

  /* --- UI Tokens --- */
  --premium-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.05);
  --border-light: rgba(0, 26, 61, 0.1);

  /* --- Fonts --- */
  --font-en: "Inter", sans-serif;
  --font-jp: "Noto Sans JP", sans-serif;
  --font-serif: "Shippori Mincho B1", serif;
}

/* Override base.css: body overflow-x:hidden blocks all horizontal scroll */
body {
  overflow-x: visible;
}

/* --- Layout Optimization (PC) --- */
body .container {
  max-width: 1400px;
  width: 94%;
  margin: 0 auto;
}

/* --- Header / Navigation --- */
body .site-header {
  height: 70px; /* 80px → 70px: ヘッダーをさらに縮小 */
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.4s ease;
}

body .site-header.scrolled {
  height: 70px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

body .nav-menu li a.nav-cta {
  background: linear-gradient(
    135deg,
    var(--line-green) 0%,
    var(--line-green-dark) 100%
  );
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

/* Header - Mobile Optimization */
@media (max-width: 1135px) {
  /* ロゴのサブラベル（RECRUITMENT）を非表示にしてスッキリさせる */
  body .logo-sub {
    display: none;
  }

  /* ロゴサイズをモバイル向けに縮小 */
  body .header-logo-img {
    height: 24px;
  }

  /* ハンバーガーメニューの位置微調整 */
  body .mobile-menu-toggle {
    margin-top: 2px; /* ロゴのベースラインに合わせる微調整 */
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  /* ハンバーガーの線の太さを均一化（リセット） */
  body .mobile-menu-toggle span {
    height: 2px !important;
    background-color: var(--navy-deep) !important;
    border-radius: 2px;
    border: none !important;
    box-shadow: none !important;
  }

  /* ヘッダーの高さを統一 */
  body .site-header,
  body .site-header.scrolled {
    height: 70px;
  }

  /* ハンバーガーメニューのアクティブ（×閉じる）アニメーション */
  body .mobile-menu-toggle.active span {
    background-color: var(--bg-white) !important; /* 閉じる時は白にする */
  }
  body .mobile-menu-toggle.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }
  body .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  body .mobile-menu-toggle.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
  }
}

/* --- Hero Section ---
   ※ ヒーローのスタイルは hero.css で一元管理
   ※ このファイルにヒーロー関連のスタイルを書かないこと
   ============================================ */

/* --- Common Components --- */
body .label-en {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  margin-bottom: 1rem;
  text-transform: uppercase;
}
body .premium-title {
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.4;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 2.5rem;
  border-bottom: none;
}
body .premium-title::after {
  content: "";
  display: block;
  width: 40%;
  height: 3px;
  background: linear-gradient(
    to right,
    var(--accent-gold),
    rgba(197, 160, 89, 0.3)
  );
  position: absolute;
  bottom: 0;
  left: 0;
}
/* 紺背景用：テキスト白＋ライン金色 */
body .premium-title.gold-line {
  color: #fff;
  margin-bottom: 1.5rem;
}
body .premium-title span {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  font-family: var(--font-en);
}
/* pc-only は premium-title 内でも inline を維持 */
body .premium-title .pc-only {
  display: inline;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  color: inherit;
  margin-bottom: 0;
  text-transform: none;
  font-family: inherit;
}
@media (max-width: 768px) {
  body .premium-title span {
    font-size: 0.8rem;
  }
  body .premium-title {
    font-size: clamp(1.6rem, 4.5vw, 1.9rem);
    letter-spacing: -0.03em;
    font-feature-settings: "palt";
  }
}

body .premium-text {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-main);
}
body .premium-text strong {
  color: var(--accent-gold);
  font-weight: 700;
}
body .visual-frame {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 26, 61, 0.15);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  max-height: 500px;
}
body .visual-frame:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 26, 61, 0.25);
}
body .visual-frame img {
  width: 100%;
  height: 100%;
  max-height: 500px;
  object-fit: cover;
  display: block;
}
@media (max-width: 900px) {
  body .visual-frame {
    max-width: 100%;
    width: 100%;
    max-height: 250px;
    aspect-ratio: 3 / 2;
    margin: 0 auto;
  }
}

/* --- Introduction Section --- */
body .message {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: linear-gradient(
    135deg,
    rgba(0, 26, 61, 0.02) 0%,
    rgba(197, 160, 89, 0.02) 100%
  );
}
body .message .premium-title::after {
  width: 80%;
}
body .intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
body .intro-visuals {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
body .signature {
  margin-top: 2rem;
  font-family: "Shippori Mincho B1", serif;
}
body .signature p {
  font-size: 1.1rem;
  font-weight: 700;
}
@media (max-width: 900px) {
  body .intro-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  body .intro-visuals .visual-company {
    display: none; /* スマホでは社長のみ表示（本社画像を隠す） */
  }
}

/* --- Gallery Section (OUR TEAM) --- */
body .gallery-section {
  background: #eef2f9;
  padding: clamp(4rem, 8vw, 6rem) 0;
}

/* --- Job Description Section --- */
body .job-description {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--bg-white);
}
body .job-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
body .job-card {
  background: linear-gradient(
    135deg,
    rgba(0, 26, 61, 0.03) 0%,
    rgba(255, 255, 255, 1) 100%
  );
  border-radius: 12px;
  padding: 2rem;
  margin-top: 2rem;
  border: 1px solid rgba(0, 26, 61, 0.1);
}
body .job-step-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
body .job-step-item:last-child {
  margin-bottom: 0;
}
body .step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #d4b070 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.3);
}
body .job-step-title {
  color: var(--navy-deep);
  margin-bottom: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
}
body .job-step-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}
body .job-note {
  font-size: 0.85rem;
  margin-top: 2rem;
  color: var(--accent-gold);
  font-weight: 600;
}

@media (max-width: 900px) {
  body .job-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  body .job-grid .visual-frame {
    order: -1;
  }
  body .job-card {
    padding: 1.5rem;
  }
  body .step-num {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }
}

/* --- Gallery Section --- */
body .gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
body .gallery-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 26, 61, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  aspect-ratio: 4 / 3;
  position: relative;
  cursor: pointer;
}
body .gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 26, 61, 0.2);
}
body .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
body .gallery-item:hover img {
  transform: scale(1.05);
}
@media (max-width: 900px) {
  body .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

/* --- Voice Section (Interviews) --- */
body .voice-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background-color: var(--bg-light);
  overflow: hidden;
}
body .voice-grid {
  display: flex;
  flex-direction: column;
  gap: 6rem;
  margin-top: 4rem;
}
body .interview-card {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 3rem;
  align-items: start; /* centerからstartに変更: sticky positioningを有効化 */
  background: var(--bg-white);
  border-radius: 20px;
  padding: 3.5rem 3rem;
  box-shadow: 0 20px 60px rgba(0, 26, 61, 0.08); /* 浮遊感のある影 */
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}
body .interview-card.reverse {
  grid-template-columns: 1fr 380px;
}
body .interview-card.reverse .interview-visual {
  order: 2;
}

body .interview-visual {
  position: sticky;
  top: 100px; /* ヘッダー高さ(70px) + 余白 */
  width: 125%; /* 115% -> 125% (More presence) */
  margin-left: -25%; /* -15% -> -25% */
  aspect-ratio: 3 / 2;
  height: auto;
  background: var(--bg-white);
  padding: 10px;
  box-shadow:
    10px 15px 30px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(0, 0, 0, 0.03);
  border-radius: 4px;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.4s ease;
  z-index: 10;
}
body .interview-card.reverse .interview-visual {
  margin-left: 0;
  margin-right: -25%; /* -15% -> -25% */
  box-shadow:
    -10px 15px 30px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(0, 0, 0, 0.03);
}
body .interview-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
body .interview-card:hover .interview-visual {
  transform: scale(1.02) translateY(-8px);
  box-shadow:
    15px 25px 40px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(0, 0, 0, 0.03);
}
body .interview-card.reverse:hover .interview-visual {
  box-shadow:
    -15px 25px 40px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(0, 0, 0, 0.03);
}

body .role-badge {
  position: absolute;
  top: -15px;
  left: 20px;
  bottom: auto;
  background: var(--navy-deep);
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  z-index: 11;
}
body .role-badge.civil {
  background: #005f73;
}
body .role-en {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 2px;
}
body .role-jp {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

body .interview-content {
  padding-right: 0;
  padding-top: 0; /* モバイルでのオーバーライド準備 */
}
body .interviewee-name {
  font-family: "Shippori Mincho B1", serif;
  font-size: 2.5rem;
  color: var(--navy-deep);
  margin-bottom: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
body .interviewee-name span {
  font-family: var(--font-en);
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.05em;
  word-break: break-all; /* 長いテキストの横溢れを防ぐ */
}
body .interview-catch {
  font-size: 1.25rem;
  line-height: 1.8;
  font-weight: 700;
  color: var(--navy-deep); /* キャッチコピーはネイビーで見やすく */
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
body .qa-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
body .qa-item h4 {
  font-size: 1.05rem;
  color: var(--navy-deep);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
body .qa-item h4 i {
  color: var(--accent-gold);
}
body .qa-item p {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.7;
  margin-left: 1.7rem;
}

/* もっと見るボタン */
body .btn-read-more {
  background: none;
  border: none;
  color: var(--accent-gold);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  padding: 1rem 0;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.3s ease;
}

body .btn-read-more:hover {
  opacity: 0.7;
}

body .btn-read-more svg,
body .btn-read-more i {
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  body .voice-grid {
    gap: 4rem;
    margin-top: 2rem;
  }
  body .btn-read-more {
    margin-left: auto;
    margin-right: auto;
  }
  body .voice-grid .interview-card,
  body .voice-grid .interview-card.reverse {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    max-width: 100%; /* 画面幅を超えないように鞋定 */
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  }
  body .voice-grid .interview-card .interview-visual,
  body .voice-grid .interview-card.reverse .interview-visual {
    display: block;
    position: relative;
    top: auto;
    width: 100%;
    height: 240px;
    margin: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    z-index: auto;
    overflow: hidden;
  }
  body .voice-grid .interview-card.reverse .interview-visual {
    order: -1;
    margin: 0;
  }
  body .interview-visual img {
    border-radius: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top; /* 人in物の上部を表示 */
    filter: none;
    max-height: none;
  }
  body .role-badge {
    top: auto;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--navy-deep);
    padding: 0.6rem 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  body .role-badge.civil {
    background: rgba(255, 255, 255, 0.95);
  }
  body .role-en {
    color: #999;
  }
  body .role-jp {
    color: var(--navy-deep);
  }
  body .interview-content {
    padding: 0.8rem 1.5rem 2rem;
  }
  body .qa-item {
    padding: 1rem 1.5rem 1rem 0.8rem;
  }
  body .interviewee-name {
    font-size: 1.8rem;
    flex-direction: column;
    gap: 0.5rem;
  }
  body .interview-catch {
    font-size: 1.1rem;
  }
}

/* --- Works Section --- */
body .works-section {
  background-color: var(--navy-deep);
  color: #fff;
  padding: clamp(4rem, 8vw, 6rem) 0;
}
body .works-section .premium-title {
  color: #fff;
}
body .works-section .premium-title span {
  color: var(--accent-gold);
  opacity: 1;
}
body .works-section .section-lead {
  color: rgba(255, 255, 255, 0.9);
}
body .works-caption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  text-align: left;
}

/* --- Features / Environment / Data --- */
body .features {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--bg-light);
}
body .environment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}
body .environment-card {
  background: var(--bg-white);
  padding: 3rem 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}
body .environment-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 26, 61, 0.1);
}
body .environment-card i {
  font-size: 3.5rem;
  color: var(--accent-gold);
  margin-bottom: 2rem;
  display: inline-block;
  background: rgba(201, 169, 73, 0.1);
  width: 100px;
  height: 100px;
  line-height: 100px;
  border-radius: 50%;
}
body .environment-card h3 {
  font-size: 1.7rem;
  color: var(--navy-deep);
  margin-bottom: 1.5rem;
  font-weight: 700;
}
body .environment-card p {
  line-height: 1.8;
  color: var(--text-muted);
  font-size: 0.95rem;
  text-align: left;
}
body .environment-visual-card {
  padding: 0 !important;
  overflow: hidden;
}
body .environment-visual-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
body .environment-visual-card .content-box {
  padding: 2rem;
}
body .environment-visual-card h3 {
  font-size: 1.6rem;
}
body .environment-visual-card p {
  font-size: 0.95rem;
}

body .data-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--navy-deep);
  color: #fff;
  position: relative;
}
body .data-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 0; /* コンテンツの後ろに確実に配置 */
}
body .hero-features {
  text-align: center;
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  overflow-x: hidden;
}
body .hero-features .label-en {
  display: block;
  text-align: center;
}
body .hero-features .premium-title {
  color: #fff;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 600;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}
body .hero-features .premium-title::after {
  width: 50px;
  left: 50%;
  transform: translateX(-50%);
}
body .data-section .premium-title {
  color: #fff;
  position: relative;
  z-index: 2; /* ::beforeより前面に確実に表示する */
}
body .data-section .premium-title span {
  color: var(--accent-gold);
  opacity: 1;
}
body .data-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 4rem 0;
  position: relative;
  z-index: 1;
}
body .data-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 3rem 2rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}
body .data-label {
  display: block;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
  font-weight: 700;
}
body .data-val {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-gold);
  font-family: var(--font-en);
  margin-bottom: 1rem;
  text-shadow: none;
}
body .data-val .data-unit {
  font-size: 1.2rem;
  font-family: var(--font-jp);
  font-weight: 700;
  opacity: 0.85;
  margin: 0 0.15em;
}
body .data-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}
body .trust-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 4rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
body .trust-badge-item {
  background: var(--bg-white);
  padding: 1.5rem 2rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  flex: 1;
  min-width: 220px;
  text-align: center;
}
body .trust-badge-item img {
  height: 50px;
  width: auto;
}
body .trust-badge-item span {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}
body .trust-badge-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 900px) {
  body .environment-grid,
  body .data-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  body .trust-badges {
    flex-direction: column;
    gap: 1rem;
  }
  body .trust-badge-item {
    width: 100%;
    justify-content: center;
    border-radius: 15px;
    padding: 1.5rem;
  }
}

/* --- Guardians --- */
body .guardians-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: #fff;
}
body .guardians-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 4rem;
}
body .guardians-content {
  flex: 1;
}
body .guardians-image {
  flex: 0 0 400px;
}
body .guardians-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}
body .guardians-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-main);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInTitle 0.8s ease-out 0.4s forwards;
}
body .guardians-subtitle {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--accent-gold);
  padding-left: 1rem;
}
body .guardians-points {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
/* --- Guardian Cards (Navy Background) --- */
body .guardians-points li {
  display: flex;
  gap: 0.2rem;
  align-items: flex-start;
  background: var(--navy-deep);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 100px;
}

body .guardians-points strong {
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
  display: block;
}

body .guardians-points p {
  color: rgba(255, 255, 255, 0.9);
}

/* --- Guardians Check Icon (Gold Circle / Navy Check) --- */
/* Navy card requires light icon for contrast */
body .check-icon {
  display: inline-flex;
  align-items: center;
  padding-top: 1px;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--accent-gold);
  color: var(--navy-deep);
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 900;
  -webkit-text-stroke: 0.5px var(--navy-deep);
  margin-top: 5px;
}

/* --- Special Notes (Single Card Layout) --- */
body .notes-card {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}
body .notes-card .features-list {
  margin-bottom: 1.5rem;
}
body .notes-card .features-list li {
  border-left: none;
  box-shadow: none;
  background: transparent;
  padding: 0.8rem 0;
  margin-bottom: 0;
  border-radius: 0;
  border-bottom: none;
  font-size: 1rem;
}
body .notes-card .features-list li:last-child {
  border-bottom: none;
}
body .notes-card .features-list li:hover {
  transform: none;
  box-shadow: none;
}
body .notes-card .features-list li i {
  color: var(--navy-deep);
  font-size: 1rem;
  margin-right: 0.75rem;
  vertical-align: middle;
}
body .notes-card .simple-note {
  font-size: 0.85rem;
  color: #999;
  line-height: 1.8;
  margin-top: 1rem;
  text-align: left;
}

@media (max-width: 768px) {
  body .notes-card {
    padding: 1.5rem;
  }
}

@media (max-width: 900px) {
  body .guardians-wrapper {
    flex-direction: column-reverse;
    gap: 3rem;
  }
  body .guardians-image {
    width: 100%;
    flex: none;
  }
  body .guardians-image img {
    max-height: 300px;
    object-fit: cover;
  }
}

/* --- Recruit (Positions) --- */
body .positions {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--bg-light);
}
body .positions .section-subtitle {
  margin-top: 0;
  padding-top: 1.5rem;
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
}
body .recruit-wrapper {
  max-width: 900px;
  margin: 4rem auto 0;
}
body .recruit-list {
  border-top: 1px solid var(--border-light);
}
body .recruit-row {
  display: flex;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-light);
  align-items: flex-start;
}
body .recruit-row dt {
  width: 200px;
  font-weight: 700;
  color: var(--navy-deep);
  font-size: 1.05rem;
  padding-right: 2rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
body .recruit-row dt::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 1em;
  background: var(--accent-gold);
  border-radius: 2px;
}
body .recruit-row dd {
  flex-grow: 1;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-main);
}
body .recruit-row dd strong {
  font-size: 1.2rem;
  color: var(--navy-deep);
  display: block;
  margin-bottom: 0.5rem;
}
body .recruit-row .tag {
  display: inline-block;
  font-size: 0.8rem;
  padding: 0.2rem 0.8rem;
  background: #f0f4f8;
  color: var(--navy-deep);
  border-radius: 4px;
  margin-right: 0.5rem;
  font-weight: 600;
  vertical-align: middle;
}
body .recruit-row .note {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}
body .benefit-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 2rem;
  list-style: none;
  padding: 0;
}
body .benefit-list li {
  position: relative;
  padding-left: 1.2rem;
}
body .benefit-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  body .recruit-row {
    flex-direction: column;
    padding: 1.5rem 0;
  }
  body .recruit-row dt {
    width: 100%;
    margin-bottom: 0.8rem;
    padding-right: 0;
  }
  body .benefit-list {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

/* --- Company Section --- */
body .company-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: #f9f9f9;
}
body .company-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
body .company-visual-wide {
  margin-bottom: 2rem;
  width: 100%;
}
body .company-visual-wide img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}
body .company-table {
  width: 100%;
}
body .company-row {
  display: flex;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-light);
}
body .company-row:last-child {
  border-bottom: none;
}
body .company-row dt {
  width: 180px;
  font-weight: 700;
  color: var(--navy-deep);
  flex-shrink: 0;
}
body .company-row dd {
  flex-grow: 1;
  color: var(--text-main);
  line-height: 1.6;
}
body .map-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
}
body .map-link:hover {
  text-decoration: underline;
}
body .ceo-signature {
  display: block;
  width: 280px;
  height: auto;
  min-height: 50px;
  margin-top: 0.5rem;
  opacity: 0.85;
  max-width: 100%;
}
body .signature-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: var(--navy-deep);
  padding: 0.3rem 1rem;
  border-radius: 30px;
  letter-spacing: 0.15em;
}

/* Company Mobile Optimization */
@media (max-width: 900px) {
  body .company-wrapper {
    padding: 1.5rem 1rem;
  }
  body .company-row {
    flex-direction: column;
    padding: 1.2rem 0;
    gap: 0.5rem;
  }
  body .company-row dt {
    width: 100%;
    margin-bottom: 0.2rem;
    color: var(--navy-deep);
    font-size: 0.9rem;
    opacity: 0.8;
  }
  body .company-row dd {
    width: 100%;
    padding-left: 0;
  }
}

/* --- Entry Section --- */
body .entry-section {
  padding: clamp(4rem, 8vw, 8rem) 0;
  background: var(--navy-deep);
  color: #fff;
  position: relative;
}
body .entry-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}
body .entry-lead {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.8);
}
body .entry-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
body .entry-card {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 3rem;
  position: relative;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  border: 2px solid transparent;
}
body .entry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}
body .card-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff5252;
  color: #fff;
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 5px 15px rgba(255, 82, 82, 0.3);
  white-space: nowrap;
}
body .card-badge.sub {
  background: var(--text-sub);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
body .card-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}
body .entry-card h3 {
  font-size: 1.5rem;
  color: var(--navy-deep);
  margin-bottom: 1rem;
  font-weight: 700;
}
body .entry-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}
/* ネイビー背景に対してタイトルを白に */
body .entry-section .premium-title {
  color: #fff;
}
body .entry-section .premium-title span {
  color: var(--accent-gold);
  opacity: 1;
}

body .entry-card.line {
  border-color: rgba(6, 199, 85, 0.3);
  background: linear-gradient(to bottom, #fff, #f9fff9);
}
body .entry-card.line .card-icon {
  color: #06c755;
}
body .btn-line {
  background: #06c755;
  color: #fff;
  width: 100%;
  border-radius: 10px;
  font-weight: 700;
}
body .btn-line:hover {
  background: #05b34c;
  color: #fff;
}
body .entry-card.form {
  border-color: rgba(0, 0, 0, 0.05);
}
body .entry-card.form .card-icon {
  color: var(--navy-deep);
}
body .entry-card.form .card-icon svg {
  width: 4rem;
  height: 4rem;
}
body .simple-entry-form {
  text-align: left;
}
body .form-group {
  margin-bottom: 1.5rem;
}
body .form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-main);
  font-size: 0.9rem;
}
body .form-group .required {
  background: #ff5252;
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 0.5rem;
}
body .form-group .optional {
  background: #999;
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 0.5rem;
}
body .form-group input {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 1rem;
  background: #f9f9f9;
  transition: border-color 0.2s;
}
body .form-group input:focus {
  border-color: var(--navy-deep);
  background: #fff;
  outline: none;
}

body .entry-phone {
  text-align: center;
  margin-top: 4rem;
  color: #fff;
}
body .entry-phone p,
body .entry-phone span {
  color: rgba(255, 255, 255, 0.8) !important;
}
body .phone-link {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin: 0.5rem 0;
  font-family: var(--font-en);
}

@media (max-width: 900px) {
  body .entry-options {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  body .entry-card {
    padding: 1.5rem 1.2rem;
    width: 98%;
    margin-left: auto;
    margin-right: auto;
  }
  body .entry-card .btn,
  body .entry-card input,
  body .entry-card button {
    box-sizing: border-box;
    max-width: 100%;
  }
  /* btn-largeのmin-width: 280pxをリセット */
  body .btn-large {
    min-width: unset;
  }
  /* 電話番号の文字サイズを調整して1行に収める */
  body .phone-link {
    font-size: 1.7rem;
    white-space: nowrap;
  }
}

/* --- Floating CTA --- */
body .floating-line-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #06c755;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  box-shadow: 0 5px 20px rgba(6, 199, 85, 0.4);
  font-weight: 700;
  font-size: 1.1rem;
  z-index: 1000;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}
body .floating-line-cta.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  animation: floatPulse 2s infinite;
}
body .floating-line-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(6, 199, 85, 0.6);
}
body .floating-line-cta i {
  font-size: 1.8rem;
}
@keyframes floatPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(6, 199, 85, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(6, 199, 85, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(6, 199, 85, 0);
  }
}
@media (max-width: 768px) {
  body .floating-line-cta {
    bottom: 1.5rem;
    right: 1.5rem;
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
  }
  body .floating-line-cta i {
    font-size: 1.4rem;
  }
  /* メニュー展開時は追従ボタンを非表示にする（被り防止） */
  body.menu-open .floating-line-cta {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(20px);
  }
}

/* --- Scroll To Top --- */
body .scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: rgba(0, 26, 61, 0.8);
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
body .scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
body .scroll-top:hover {
  background: var(--navy-deep);
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* LINEボタンがある場合は位置を調整（PC用） */
body .scroll-top.adjust-for-cta {
  bottom: 120px;
  right: 1.5rem;
  width: 44px;
  height: 44px;
}

@media (max-width: 768px) {
  body .scroll-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
  }
  /* モバイル用の位置調整（PCより少し下げる） */
  body .scroll-top.adjust-for-cta {
    bottom: 90px;
  }
}

/* --- Footer --- */
body .site-footer {
  background-color: var(--navy-deep);
  color: #ffffff;
  padding: 4rem 0 0;
  border-top: 3px solid var(--accent-gold);
}
body .footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 3rem;
}
body .footer-brand {
  flex: 1;
  min-width: 250px;
}
body .footer-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 0.5rem;
  display: block;
}
body .footer-tagline {
  font-size: 0.9rem;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  display: block;
}
body .footer-contact p {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.7;
  color: #fff;
  margin-bottom: 0.5rem;
}
body .footer-phone {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  margin-top: 0.5rem;
  transition: opacity 0.3s;
}
body .footer-phone:hover {
  opacity: 0.7;
}
body .footer-links {
  display: flex;
  gap: 4rem;
}
body .link-column h4 {
  font-size: 0.85rem;
  color: var(--accent-gold);
  margin-bottom: 1.2rem;
  letter-spacing: 0.1em;
  font-family: var(--font-en);
}
body .link-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
body .link-column ul li {
  margin-bottom: 0.8rem;
}
body .link-column ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.7;
  transition: all 0.3s;
}
body .link-column ul li a:hover {
  opacity: 1;
  padding-left: 5px;
  color: var(--accent-gold);
}
body .footer-bottom {
  border-top: none;
  padding: 1.5rem 0;
  text-align: center;
}
body .copyright {
  font-size: 0.75rem;
  opacity: 0.5;
  font-family: var(--font-en);
}

@media (max-width: 768px) {
  body .footer-top {
    flex-direction: column;
    gap: 2.5rem;
  }
  body .footer-links {
    flex-direction: row;
    justify-content: flex-start;
    gap: 3rem;
    flex-wrap: wrap;
  }
}
@media (max-width: 480px) {
  body .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
}

/* --- Utils --- */
body .mt-sm {
  margin-top: 0.5rem !important;
}
body .mt-md {
  margin-top: 1.5rem !important;
}
body .mt-lg {
  margin-top: 2rem !important;
}
body .text-left {
  text-align: left !important;
}
body .mb-sm {
  margin-bottom: 0.5rem !important;
}
body .mb-md {
  margin-bottom: 1.5rem !important;
}
body .mb-lg {
  margin-bottom: 3rem !important;
}
body .fs-xs {
  font-size: 0.8rem !important;
}
body .premium-title.title-clean-center,
body .section-title.title-clean-center {
  text-align: center;
  border-bottom: none;
  margin-bottom: 2rem;
  padding-bottom: 2.5rem;
}
body .premium-title.title-clean-center::after,
body .section-title.title-clean-center::after {
  width: 50px;
  left: 50%;
  transform: translateX(-50%);
}

/* --- Culture Section (BBQ) --- */
body .culture-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--bg-white);
  position: relative;
  overflow: hidden;
}

body .culture-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

body .culture-text {
  order: 1;
}

body .culture-visual {
  order: 2;
  position: relative;
}

body .culture-visual img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 26, 61, 0.15);
  transform: rotate(2deg);
  transition: transform 0.3s ease;
}

body .culture-visual:hover img {
  transform: rotate(0deg) scale(1.02);
}

body .culture-lead {
  font-size: 1.1rem;
  line-height: 2;
  color: var(--text-main);
  margin-top: 2rem;
  font-weight: 500;
}

body .culture-tag {
  display: inline-block;
  background: var(--line-green);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 10px rgba(6, 199, 85, 0.3);
}

@media (max-width: 900px) {
  body .culture-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  body .culture-text {
    order: 1;
  }
  body .culture-visual {
    order: 2;
    margin: 0 -1rem;
  }
  body .culture-visual img {
    transform: rotate(0);
    border-radius: 12px;
  }
  body .culture-ticker img {
    height: 160px;
  }
}

/* Office Gallery */
body .office-gallery {
  padding: 4rem 0;
  background: var(--bg-light);
  overflow: hidden;
}
body .office-scroll-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 2rem;
  padding-bottom: 1rem;
}
body .office-scroll {
  display: flex;
  gap: 1rem;
  width: max-content;
  padding: 0 1rem;
}
body .office-scroll img {
  height: 250px;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Team Gallery (horizontal scroll on all breakpoints) */
body .team-scroll-wrapper {
  overflow-x: visible;
  margin-top: 2rem;
  padding-bottom: 1rem;
  position: relative;
}
body .team-scroll-wrapper::after {
  display: none; /* PC: gradient hidden */
}
body .team-scroll {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: 100%;
  padding: 0;
}
body .team-scroll img {
  height: auto;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  object-fit: cover;
}

/* FAQ Section */
body .faq-section {
  padding: 6rem 0;
  background: var(--bg-white);
}
body .faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
body .faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
}
body .faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: var(--accent-gold);
}
body .faq-question {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--navy-deep);
}
body .faq-q {
  color: var(--accent-gold);
  font-size: 1.5rem;
  line-height: 1;
  margin-right: 0.8rem;
  font-family: var(--font-serif);
}
body .faq-answer {
  display: flex;
  align-items: flex-start;
  color: var(--text-sub);
  line-height: 1.8;
  font-size: 0.95rem;
}
body .faq-a {
  color: var(--navy-light);
  font-size: 1.5rem;
  line-height: 1;
  margin-right: 0.8rem;
  font-family: var(--font-serif);
  font-weight: 700;
}
@media (min-width: 769px) and (max-width: 1024px) {
  body .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  /* Office Gallery: Scroll -> Grid for Visibility */
  body .office-scroll-wrapper {
    overflow-x: visible;
  }
  body .office-scroll {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    padding: 0 10px;
    overflow-x: visible;
  }
  body .office-scroll img {
    height: auto;
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
  }

  /* Team Gallery: Grid -> Horizontal Scroll on Mobile */
  body .team-scroll-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  body .team-scroll-wrapper::-webkit-scrollbar {
    display: none;
  }
  body .team-scroll-wrapper::after {
    display: block;
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 1rem;
    width: 80px;
    background: linear-gradient(to right, transparent, #eef2f9);
    pointer-events: none;
    z-index: 1;
  }
  body .team-scroll {
    display: flex;
    gap: 0.75rem;
    width: max-content;
    padding: 0 1rem;
  }
  body .team-scroll img {
    height: 160px;
    width: 213px;
    aspect-ratio: unset;
    object-fit: cover;
  }

  /* Environment & Benefits: 1 Column */
  body .environment-grid {
    grid-template-columns: 1fr;
  }
  body .environment-card {
    padding: 2rem;
  }
  body .environment-card h3 {
    font-size: 1.1rem;
  }

  body .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* Culture Ticker */
body .culture-ticker-wrapper {
  margin-top: 4rem;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

body .culture-ticker {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: tickerScroll 40s linear infinite;
}

body .culture-ticker:hover {
  animation-play-state: paused;
}

body .culture-ticker img {
  height: 220px;
  width: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 26, 61, 0.1);
  flex-shrink: 0;
  object-fit: cover;
  transition: transform 0.3s ease;
}

body .culture-ticker img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 26, 61, 0.2);
}

.qa-more-content {
  margin-top: 1rem;
  animation: fadeIn 0.5s ease;
}

.qa-more-content .qa-item {
  margin-top: 1.5rem;
}

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

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

/* sp-only / pc-only ユーティリティ（デフォルト = PC） */
.br-sp-only {
  display: none;
}
@media (max-width: 768px) {

  .br-pc-only {
    display: none;
  }
  .br-sp-only {
    display: block;
  }
  .pc-only {
    display: none;
  }
  body .premium-title .pc-only {
    display: none;
  }
  body .culture-ticker-wrapper {
    margin-top: 3rem;
  }
  body .culture-ticker img {
    height: 160px;
  }
}

/* ===== 1日の業務フローセクション ===== */
/* 1日の業務フローセクションのCSS */

.daily-schedule {
  background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
  padding: 80px 0;
}

.schedule-tabs {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 40px 0;
}

.schedule-tab {
  background: #ffffff;
  border: 2px solid var(--color-neutral-border);
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.schedule-tab:hover {
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.schedule-tab.active {
  background: linear-gradient(
    135deg,
    var(--navy-deep) 0%,
    var(--navy-light) 100%
  );
  color: #ffffff;
  border-color: var(--navy-deep);
}

.schedule-content {
  display: none;
}

.schedule-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

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

.schedule-intro {
  background: rgba(197, 160, 89, 0.1);
  border-left: 4px solid var(--accent-gold);
  padding: 20px 30px;
  margin-bottom: 40px;
  border-radius: 8px;
}

.schedule-intro strong {
  color: var(--navy-deep);
}

.schedule-timeline {
  max-width: 800px;
  margin: 0 auto;
}

.schedule-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 30px;
  padding: 25px 0;
  border-bottom: 1px solid var(--color-neutral-border);
}

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

.schedule-time {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--accent-gold);
  padding-top: 5px;
}

.schedule-detail h4 {
  color: var(--navy-deep);
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.schedule-detail p {
  color: var(--color-neutral-dark);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .schedule-tabs {
    flex-direction: column;
    gap: 15px;
  }

  .schedule-tab {
    padding: 12px 30px;
    font-size: 0.95rem;
  }

  .schedule-item {
    grid-template-columns: 80px 1fr;
    gap: 20px;
    padding: 20px 0;
  }

  .schedule-time {
    font-size: 1.1rem;
  }

  .schedule-detail h4 {
    font-size: 1rem;
  }

  .schedule-detail p {
    font-size: 0.9rem;
  }
}

/* ========================================
   Header Styles (Full Width Override)
   ======================================== */
body .site-header .header-full-width {
  width: 100%;
  padding: 0 0 0 3%;
  max-width: none;
  margin: 0;
}

body .header-nav {
  margin-right: 1.5rem;
}

@media (max-width: 1135px) {
  body .header-nav {
    margin-right: 0;
    width: 100%;
    max-width: none;
  }
  html body .header-nav .nav-menu li .nav-cta {
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
    width: 90%;
  }
}

/* ========================================
   CTA Buttons - Rebuilt Clean Implementation
   ======================================== */

/* Note: .nav-cta is defined in inline CSS for performance (prevents FOUC) */

/* LINE Icon Spacing - All CTA Buttons */
.nav-cta .fab.fa-line,
.btn-primary .fab.fa-line,
.btn-line .fab.fa-line,
.floating-line-cta .fab.fa-line {
  margin-right: 0;
}

/* Floating LINE CTA */
.floating-line-cta {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.floating-line-cta .fab.fa-line {
  font-size: 24px;
  display: inline-block;
}

/* Trust Badge - 3つ目だけ縦並び（狭い幅での崩れ防止） */
.trust-badge-item:nth-child(3) {
  flex-direction: column;
  text-align: center;
}

.trust-badge-item:nth-child(3) img {
  margin-bottom: 0.5rem;
}

/* ============================================
   FACTS & NUMBERS ティッカー（右→左スクロール）
   ============================================ */
.badges-ticker-wrapper {
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
  /* containerを突き破って全幅に */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 1rem 0;
  /* 両端をフェードアウト */
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
}

.badges-ticker {
  display: flex;
  gap: 1.2rem;
  width: max-content;
  animation: badgesTicker 40s linear infinite;
}

/* ホバーで一時停止 */
.badges-ticker-wrapper:hover .badges-ticker {
  animation-play-state: paused;
}

@keyframes badgesTicker {
  0% {
    transform: translateX(0);
  }
  100% {
    /* 9バッジ分（セット1）だけずらしてループ */
    transform: translateX(-50%);
  }
}

/* バッジ個別スタイル（ティッカー内） */
.badges-ticker .impact-badge {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(197, 160, 89, 0.4);
  border-radius: 12px;
  padding: 1.2rem 1.8rem;
  min-width: 140px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition:
    border-color 0.2s,
    background 0.2s;
}

.badges-ticker .impact-badge:hover {
  border-color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.14);
}

.badges-ticker .badge-number {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.badges-ticker .badge-number .unit {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-gold);
  margin-left: 2px;
}

.badges-ticker .badge-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .badges-ticker {
    animation-duration: 32s;
    gap: 1.2rem;
  }

  .badges-ticker .impact-badge {
    padding: 1.4rem 1.8rem;
    min-width: 150px;
  }

  .badges-ticker .badge-number {
    font-size: 2rem;
  }

  .badges-ticker .badge-label {
    font-size: 0.85rem;
  }
}

/* --- WHAT WE DO: Mobile order (image first) --- */
@media (max-width: 768px) {
  body .job-grid {
    grid-template-columns: 1fr;
  }
  body .visual-frame {
    order: -1;
  }
  body .job-text {
    order: 1;
  }
}

/* ============================================
   Scroll Reveal
   ============================================ */
.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- Title Center Variant --- */
body .premium-title.title-center {
  text-align: center;
}
body .premium-title.title-center::after {
  width: 50px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gold);
}
