@charset "UTF-8";

/* ==========================================================================
   CSS Variables & Design Tokens (.clinerules 準拠)
   ========================================================================== */
:root {
  /* Color Palette */
  --color-main: #132648;          /* メインカラー: 紺色 */
  --color-sub: #4d99e9;           /* サブカラー: 水色 */
  --color-sub-hover: #3b88d8;
  --color-main-dark: #0d1b33;
  --color-text: #333333;          /* テキスト基本色 */
  --color-text-sub: #555555;      /* 補助テキスト */
  --color-text-muted: #888888;
  --color-white: #ffffff;
  --color-bg-light: #E6F2F8;      /* セクション背景の薄い水色 */
  --color-bg-menu: #132648;       /* SP全画面メニュー背景 */
  --color-border: #e2e8f0;
  --color-border-dark: rgba(255, 255, 255, 0.2);

  /* Typography */
  --font-base: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-en: 'Montserrat', sans-serif;

  /* Layout & Spacing */
  --container-max-width: 1280px;
  --container-padding-sp: 20px;
  --container-padding-pc: 24px;
  --section-space-sp: 64px;
  --section-space-pc: 104px;

  /* Header Height */
  --header-height-sp: 64px;
  --header-height-pc: 104px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(19, 38, 72, 0.08);
  --shadow-md: 0 8px 24px rgba(19, 38, 72, 0.12);
  --shadow-btn: 0 4px 14px rgba(19, 38, 72, 0.22);
  --shadow-btn-hover: 0 6px 20px rgba(77, 153, 233, 0.35);

  /* Transitions */
  --transition-base: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-base);
  font-size: 0.9375rem; /* 15px */
  line-height: 1.85;
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
  touch-action: none;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition-base), color var(--transition-base);
}

a:hover {
  opacity: 0.88;
}

ul, ol {
  list-style: none;
}

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

.u-hidden-sp {
  display: none;
}

@media (min-width: 768px) {
  .u-hidden-sp {
    display: inline;
  }
}

/* ==========================================================================
   Layout Containers
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding-sp);
  padding-right: var(--container-padding-sp);
}

@media (min-width: 768px) {
  .container {
    padding-left: var(--container-padding-pc);
    padding-right: var(--container-padding-pc);
  }
}

.section {
  padding-top: var(--section-space-sp);
  padding-bottom: var(--section-space-sp);
  position: relative;
}

@media (min-width: 768px) {
  .section {
    padding-top: var(--section-space-pc);
    padding-bottom: var(--section-space-pc);
  }
}

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

/* ==========================================================================
   Typography & Section Headings
   ========================================================================== */
.section-heading {
  margin-bottom: 2rem;
  text-align: center; /* SP default is centered */
}

.section-heading--center {
  text-align: center !important;
}

.section-heading__en {
  display: block;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 1.875rem; /* 30px */
  letter-spacing: 0.06em;
  color: var(--color-sub);
  line-height: 1.2;
  text-transform: uppercase;
}

.section-heading__ja {
  display: block;
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 1.125rem; /* 18px */
  color: var(--color-main);
  margin-top: 0.35rem;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.section-heading--light .section-heading__en {
  color: var(--color-sub);
}

.section-heading--light .section-heading__ja {
  color: var(--color-white);
}

@media (min-width: 768px) {
  .section-heading {
    margin-bottom: 2.75rem;
    text-align: left; /* PC default for 2-column sections */
  }

  .section-heading__en {
    font-size: 2.25rem; /* 36px */
    letter-spacing: 0.05em;
  }

  .section-heading__ja {
    font-size: 1.375rem; /* 22px */
    margin-top: 0.45rem;
  }
}

/* ==========================================================================
   Buttons (.clinerules 準拠)
   - 背景: サブカラーからメインカラーへの線形グラデーション
   - 形状: カプセル型 (border-radius: 9999px)
   - 文字: 中央揃え, 白, Bold
   - アイコン: 右端に矢印、文字中央揃えを維持
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  background: linear-gradient(to right, #4d99e9, #132648);
  color: var(--color-white);
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  padding: 0 44px 0 28px;
  height: 52px;
  text-align: left;
  box-shadow: var(--shadow-btn);
  transition: all var(--transition-base);
  user-select: none;
  width: 100%;
  max-width: 330px;
  margin-left: auto;
  margin-right: auto;
}

.btn:hover {
  opacity: 0.95;
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
  color: var(--color-white);
}

.btn__text {
  display: inline-block;
  text-align: left;
  width: auto;
}

.btn__icon {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-base);
}

.btn:hover .btn__icon {
  transform: translateY(-50%) translateX(4px);
}

.btn__icon svg {
  width: 100%;
  height: 100%;
}

/* Button Modifiers */
.btn--white {
  background: var(--color-white);
  color: var(--color-main);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.btn--white:hover {
  background: #f8fafc;
  color: var(--color-main);
}

.btn--outline {
  background: transparent;
  border: 1.5px solid var(--color-white);
  color: var(--color-white);
  box-shadow: none;
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
}

@media (min-width: 768px) {
  .btn {
    width: 320px;
    max-width: 100%;
    height: 56px;
    font-size: 1rem;
    padding: 0 52px 0 36px;
    margin-left: 0;
    margin-right: 0;
  }

  .btn--lg {
    width: 360px;
    height: 58px;
    padding: 0 56px 0 40px;
    margin-left: auto;
    margin-right: auto;
  }

  .btn__icon {
    right: 28px;
  }
}

/* ==========================================================================
   Header Component (全幅・ロゴ左寄せ・他右寄せ)
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--color-white);
  z-index: 90;
  box-shadow: 0 1px 6px rgba(19, 38, 72, 0.06);
}

.header__inner {
  width: 100%;
  height: var(--header-height-sp);
  padding: 0 var(--container-padding-sp);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Logo (Left-aligned) */
.header__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.header__logo-img {
  width: 216px;
  height: auto;
  display: block;
  max-width: 65vw;
}

/* Force mobile state via JS wrap detection */
.header--force-mobile .header__right {
  display: none !important;
}

.header--force-mobile .header__hamburger {
  display: flex !important;
}

.header--force-mobile .header__inner {
  height: var(--header-height-sp) !important;
  padding: 0 var(--container-padding-sp) !important;
  align-items: center !important;
}

.header--force-mobile .header__logo-img {
  width: 216px !important;
  height: auto !important;
  max-width: 65vw !important;
}

/* PC Right Container (Hidden on SP) */
.header__right {
  display: none;
}

/* Hamburger Button (SP Only) */
.header__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 8px;
  cursor: pointer;
  z-index: 95;
}

.header__hamburger-bar {
  display: block;
  width: 26px;
  height: 2.5px;
  background-color: var(--color-main);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

@media (min-width: 940px) {
  .header__inner {
    height: var(--header-height-pc);
    padding: 0 0 0 52px; /* 左ロゴ52px、右端は0で問い合わせボタンを画面端に密着 */
    align-items: stretch;
  }

  .header__brand {
    align-self: center;
  }

  .header__logo-img {
    width: 396px;
    height: 41px;
    max-width: none;
  }

  .header__hamburger {
    display: none;
  }

  /* PC Right Layout (Right-aligned) */
  .header__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    margin-left: auto;
  }

  /* Top Row: Phone + Attached Inquiry Button (Flush to top & right) */
  .header__top-row {
    display: flex;
    align-items: stretch;
    gap: 32px;
    height: 48px;
  }

  .header__tel-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-en);
    font-weight: 800;
    font-size: 1.5625rem; /* 25px: カンプ通り大きく存在感あるサイズ */
    color: var(--color-sub);
    letter-spacing: 0.03em;
  }

  .header__tel-icon {
    width: 22px;
    height: 22px;
    fill: var(--color-sub);
  }

  /* 右上お問い合わせボタン (カンプ忠実再現: 画面最上部・右端に隙間なく密着、左下のみ角丸、右下角丸なし、ホバー時上部途切れ防止) */
  .header__inquiry-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--color-main);
    color: var(--color-white);
    padding: 0 32px;
    border-radius: 0 0 0 10px; /* 右下の角丸は無し、左下のみ角丸 */
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    height: 48px;
    box-shadow: 0 4px 10px rgba(19, 38, 72, 0.2);
    transition: background var(--transition-base), transform var(--transition-base);
  }

  /* ホバーで要素が下に動いた時に上部が途切れないよう、上方向への疑似要素で隙間を完全にカバー */
  .header__inquiry-btn::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: var(--color-main);
    transition: background var(--transition-base);
  }

  .header__inquiry-btn:hover,
  .header__inquiry-btn.is-hover {
    background: var(--color-main-dark);
    color: var(--color-white);
    transform: translateY(3px);
  }

  .header__inquiry-btn:hover::before,
  .header__inquiry-btn.is-hover::before {
    background: var(--color-main-dark);
  }

  .header__inquiry-icon {
    width: 18px;
    height: 18px;
    stroke: var(--color-white);
  }

  /* Bottom Row: Navigation Links */
  .header__nav {
    display: block;
    padding-bottom: 12px;
    padding-right: 52px; /* ナビゲーション右端の余白 */
  }

  .header__nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
  }

  .header__nav-link {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-main);
    padding: 4px 0;
    position: relative;
    white-space: nowrap;
    transition: color var(--transition-base);
  }

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

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

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

/* ==========================================================================
   Mobile Menu Overlay (SP版メニュー: 全面・透過なし, SP-menu.jpg 準拠)
   ========================================================================== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background-color: var(--color-bg-menu);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity var(--transition-base), visibility var(--transition-base), transform var(--transition-base);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu.is-active {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu__header {
  background: var(--color-white);
  height: var(--header-height-sp);
  min-height: var(--header-height-sp);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--container-padding-sp);
  border-bottom: 1px solid var(--color-border);
}

.mobile-menu__brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-menu__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 8px;
  color: var(--color-main);
  cursor: pointer;
}

.mobile-menu__close svg {
  width: 24px;
  height: 24px;
}

.mobile-menu__close svg line {
  stroke: var(--color-main);
  stroke-width: 2.5;
}

.mobile-menu__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-bottom: 40px;
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
}

.mobile-menu__item {
  border-bottom: 1px solid var(--color-border-dark);
}

.mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--container-padding-sp);
  color: var(--color-white);
  font-size: 1.0625rem; /* 17px */
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background var(--transition-base);
}

.mobile-menu__link:hover,
.mobile-menu__link:active {
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--color-white);
}

.mobile-menu__arrow {
  width: 16px;
  height: 16px;
  fill: var(--color-white);
}

.mobile-menu__bottom {
  padding: 36px var(--container-padding-sp) 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.mobile-menu__btn {
  width: 100%;
  max-width: 320px;
  height: 52px;
  background: var(--color-white);
  color: var(--color-main);
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.mobile-menu__btn-icon {
  width: 18px;
  height: 18px;
  stroke: var(--color-main);
}

.mobile-menu__tel {
  text-align: center;
  color: var(--color-white);
}

.mobile-menu__tel-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 1.5rem; /* 24px: カンプ通り太く大きく */
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--color-white);
  line-height: 1; /* 余計な上下余白を排除して隙間を詰める */
}

.mobile-menu__tel-icon {
  width: 20px;
  height: 20px;
  fill: var(--color-white);
}

.mobile-menu__tel-time {
  display: block;
  font-size: 0.75rem; /* 12px */
  color: rgba(255, 255, 255, 0.85);
  line-height: 1;
  margin-top: 4px; /* カンプ実寸通りタイトに密着 */
  letter-spacing: 0.04em;
}

@media (min-width: 940px) {
  body:not(.header-force-mobile) .mobile-menu {
    display: none !important;
  }
}

/* ==========================================================================
   Hero Section & Swiper Slider (TOP-slide.pdf 準拠)
   文字固定・背景画像3枚切り替え
   ========================================================================== */
/* SP base (800x780, aspect-ratio: 800 / 780): 1px = 100cqw / 800 = 0.125cqw */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 800 / 780; /* SPカンプ (800x780) 縦横比完全準拠 */
  overflow: hidden;
  background: var(--color-main);
  container-type: inline-size;
  container-name: hero;
}

@media (min-width: 768px) {
  .hero {
    aspect-ratio: 1600 / 680; /* PCカンプ (1600x680) 縦横比完全準拠 */
  }
}

.hero__slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero__slide {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero__slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Gradient Overlay for Text Readability (画像にグラデーション処理済みのため無効化) */
.hero__overlay {
  display: none;
}

/* Fixed Static Content Over Slider
   スライダーおよびスライダー内文字要素の完全連動スケーリング（1枚の画像のように伸縮） */
.hero__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

/* SP base (800x780): 1px = 100cqw / 800 = 0.125cqw */
.hero__container {
  position: absolute;
  top: 9.75cqw;    /* y=78px in 800px base comp */
  left: 5.25cqw;   /* x=42px in 800px base comp */
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  pointer-events: auto;
}

.hero__catch {
  color: var(--color-white);
  font-size: 4.25cqw; /* 34px in 800px */
  font-weight: 700;
  line-height: 1.85; /* 行間 29px */
  letter-spacing: 0.05em;
  margin-bottom: 7.875cqw; /* 63px in 800px base comp */
}

.hero__catch span {
  display: block;
}

.hero__title {
  margin: 0 0 5cqw; /* 40px in 800px base comp */
  width: 63.625cqw; /* 509px in 800px base comp */
}

.hero__logo-img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0.5cqw 1.5cqw rgba(0, 0, 0, 0.25));
}

.hero__subtitle {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 3.05cqw; /* 24.4px in 800px base comp */
  letter-spacing: 0.04em;
  color: var(--color-white);
  line-height: 1.2;
}

/* Custom Swiper Pagination Dots (SP: y=719px in 800x780, left=44px) */
.hero__pagination {
  position: relative;
  margin-top: 37.5cqw; /* 300px in 800px */
  display: flex;
  gap: 2.125cqw; /* 17px in 800px */
  z-index: 4;
}

.swiper-pagination-bullet {
  width: 2cqw !important; /* 16px in 800px */
  height: 2cqw !important;
  background: var(--color-white) !important;
  opacity: 1 !important;
  border-radius: 50%;
  transition: background var(--transition-base), box-shadow var(--transition-base);
  margin: 0 !important;
  cursor: pointer;
}

/* 表示中バレット: 水色 (#4d99e9), 非表示中バレット: 白 */
.swiper-pagination-bullet-active {
  background: var(--color-sub) !important;
  opacity: 1 !important;
  box-shadow: 0 0 6px rgba(77, 153, 233, 0.6);
}

/* PC base (1600x680): 1px = 100cqw / 1600 = 0.0625cqw */
@media (min-width: 768px) {
  .hero__container {
    top: 7.125cqw; /* y=114px in 1600px */
    left: 10cqw;   /* x=160px in 1600px */
    padding: 0;
  }

  .hero__catch {
    font-size: 2.0cqw; /* 指定サイズ 2.0cqw */
    line-height: 1.5;
    margin-bottom: 3.875cqw; /* 62px in 1600px */
  }

  .hero__title {
    width: 30.3125cqw; /* 485px in 1600px base comp */
    margin-bottom: 2.375cqw; /* 38px in 1600px */
  }

  .hero__logo-img {
    filter: drop-shadow(0 0.25cqw 0.875cqw rgba(0, 0, 0, 0.25));
  }

  .hero__subtitle {
    font-size: 1.55cqw; /* 指定サイズ 1.55cqw */
    letter-spacing: 0.04em;
  }

  .hero__pagination {
    margin-top: 11.25cqw; /* y=606px in 1600px */
    gap: 0.75cqw; /* 12px in 1600px */
  }

  .swiper-pagination-bullet {
    width: 0.75cqw !important; /* 12px in 1600px */
    height: 0.75cqw !important;
    min-width: 0 !important;
    min-height: 0 !important;
  }
}

/* ==========================================================================
   Placeholder Block Utility
   ========================================================================== */
.placeholder-box {
  width: 100%;
  background: linear-gradient(135deg, #e2eaf2 0%, #cbd5e1 100%);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-main);
  padding: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(19, 38, 72, 0.08);
}

.placeholder-box__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  opacity: 0.7;
  fill: var(--color-sub);
}

.placeholder-box__label {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-main);
}

.placeholder-box__note {
  font-size: 0.75rem;
  color: var(--color-text-sub);
  margin-top: 4px;
}

.aspect-16-9 {
  aspect-ratio: 16 / 9;
}

.aspect-4-3 {
  aspect-ratio: 4 / 3;
}

/* ==========================================================================
   Section: ABOUT TECHNO (企業情報)
   - 1600pxまでは画面右端にマージン0でピッタリくっつく
   - 1600px以上では左側テキストからそれ以上離れない
   - モバイル時はテキスト下に配置し右端ブリード
   ========================================================================== */
.about__container {
  width: 100%;
  padding-left: var(--container-padding-sp);
  padding-right: var(--container-padding-sp);
  margin-left: auto;
  margin-right: auto;
}

.about__grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about__text {
  font-size: 0.9375rem;
  line-height: 2.0;
  color: var(--color-text);
  margin-bottom: 2rem;
  text-align: justify;
  text-justify: inter-ideograph;
}

.about__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 1rem;
}

.about__actions .btn {
  width: 100%;
  max-width: 330px;
  margin-left: auto;
  margin-right: auto;
}

.about__visual {
  width: calc(100% + var(--container-padding-sp));
  margin-right: calc(-1 * var(--container-padding-sp));
  text-align: right;
}

.about__img {
  width: 100%;
  max-width: 540px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: 0;
}

@media (min-width: 768px) {
  .section--about {
    overflow-x: clip;
  }

  .about__container {
    max-width: 1600px;
    padding-right: 0;
    padding-left: clamp(24px, calc((100vw - 1280px) / 2 + 24px), 184px);
  }

  .about__grid {
    display: grid;
    grid-template-columns: minmax(360px, 460px) 1fr;
    gap: clamp(32px, 5vw, 80px);
    align-items: center;
  }

  .about__text {
    font-size: 1rem;
    margin-bottom: 2.5rem;
  }

  .about__actions {
    gap: 18px;
    margin-bottom: 0;
  }

  .about__actions .btn {
    max-width: 415px;
    margin-left: 0;
    margin-right: 0;
  }

  .about__visual {
    width: 100%;
    margin-right: 0;
    text-align: right;
  }

  .about__img {
    max-width: 880px;
  }
}

/* ==========================================================================
   Section: SERVICE (業務紹介)
   ========================================================================== */
.service__lead {
  max-width: 840px;
  margin: -0.75rem auto 2.5rem;
  text-align: justify;
  text-justify: inter-ideograph;
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--color-text);
}

.service__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 2.75rem;
}

.service-card {
  background: var(--color-white);
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  text-decoration: none;
  color: var(--color-text);
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  opacity: 1;
}

.service-card__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 436;
  overflow: hidden;
  background-color: #c8dce8;
}

.service-card__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.service-card:hover .service-card__img {
  transform: scale(1.03);
}

.service-card__num {
  position: absolute;
  top: 12px;
  left: 16px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  z-index: 2;
}

.service-card__body {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--color-white);
  flex-grow: 1;
}

.service-card__circle-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4d99e9 0%, #132648 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  flex-shrink: 0;
  transition: background var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

.service-card:hover .service-card__circle-icon {
  background: var(--color-sub);
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(77, 153, 233, 0.4);
}

.service-card__circle-icon svg {
  width: 17px;
  height: 17px;
  color: var(--color-white);
}

.service-card__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #000;
  line-height: 1.4;
}

.service__action {
  text-align: center;
}

@media (min-width: 768px) {
  .service__lead {
    text-align: center;
    font-size: 1rem;
    line-height: 2.0;
    margin-bottom: 3.5rem;
  }

  .service__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 3.5rem;
  }

  .service-card__num {
    top: 14px;
    left: 20px;
    font-size: 3rem;
  }

  .service-card__body {
    padding: 20px 24px;
    gap: 20px;
  }

  .service-card__circle-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }

  .service-card__circle-icon svg {
    width: 18px;
    height: 18px;
  }

  .service-card__title {
    font-size: 1rem;
  }
}

/* ==========================================================================
   Section: LOCATION (事業所一覧)
   SP: 見出し -> テキスト -> 地図 -> ボタン
   PC: 2カラム (左: 地図, 右: 見出し+テキスト+ボタン)
   ========================================================================== */
.section--location {
  background-color: var(--color-white);
  padding-bottom: 0; /* SP: マップがブロック下端に見切れるようボトムパディングをゼロに */
  overflow: hidden;
}

.location__grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.location__heading {
  order: 1;
  margin-bottom: 20px;
}

.location__text {
  order: 2;
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--color-text);
  margin-bottom: 20px;
  text-align: justify;
  text-justify: inter-ideograph;
}

.location__map {
  order: 3;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  /* SPカンプ比率（800x646）に準拠し、ボタンの下までしっかり回り込む高さを確保 */
  aspect-ratio: 375 / 315;
  overflow: hidden;
  position: relative;
}

.location__map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* スマホ版: マップ上端は一切トリミングせず（0%）、大分のピンク円と点々を中心に維持 */
  object-position: 68% 0%;
  display: block;
}

.location__action {
  order: 4;
  /* ボタンの下にマップが回り込み、ブロック下端に見切れるレイアウト */
  margin-top: -76px;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
  text-align: center;
}

@media (min-width: 768px) {
  .section--location {
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
  }

  .location__container {
    max-width: 1600px;
    padding-left: 0;
    padding-right: clamp(24px, calc((100vw - 1280px) / 2 + 24px), 160px);
  }

  .location__grid {
    display: grid;
    /* マップの最大サイズを680pxに抑え、右端を起点に配置してウィンドウ拡大時も文字要素と離れないように固定 */
    grid-template-columns: minmax(0, 680px) clamp(280px, 32vw, 460px);
    grid-template-rows: 1fr auto auto auto 1fr;
    grid-template-areas:
      "map ."
      "map heading"
      "map text"
      "map action"
      "map .";
    column-gap: clamp(24px, 5vw, 80px);
    justify-content: end;
    min-height: 500px;
    max-height: 500px;
  }

  .location__heading {
    grid-area: heading;
    margin-bottom: 24px;
  }

  .location__text {
    grid-area: text;
    font-size: 1rem;
    line-height: 2.0;
    margin-bottom: 28px;
  }

  .location__map {
    grid-area: map;
    justify-self: end;
    margin-left: auto;
    height: 100%;
    min-height: 500px;
    max-height: 500px;
    width: 100%;
    max-width: 680px;
    position: relative;
    overflow: hidden;
    aspect-ratio: auto;
  }

  .location__map-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 上下の見切れを抑え、上端（対馬・福岡上部）から下端（宮崎）まで綺麗に収まるよう配置 */
    object-position: 68% 10%;
    display: block;
    margin: 0;
  }

  .location__action {
    grid-area: action;
    text-align: left;
    margin: 0;
  }

  .location__action .btn {
    margin-left: 0;
    margin-right: 0;
  }
}

/* ==========================================================================
   Section: TRANSPORTATION SAFETY MANAGEMENT (運輸安全マネジメント)
   SP: 見出し -> テキスト -> 画像 -> ボタン
   PC: 2カラム (左: 見出し+テキスト+ボタン, 右: 画像)
   ========================================================================== */
.safety__grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.safety__heading {
  order: 1;
}

.safety__text {
  order: 2;
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  text-align: justify;
  text-justify: inter-ideograph;
}

.safety__visual {
  order: 3;
  width: 100%;
}

.safety__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.safety__action {
  order: 4;
  margin-top: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .safety__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "heading visual"
      "text visual"
      "action visual";
    gap: 20px 60px;
    align-items: center;
  }

  .safety__heading {
    grid-area: heading;
    align-self: end;
    margin-bottom: 0;
  }

  .safety__text {
    grid-area: text;
    font-size: 1rem;
    line-height: 2.0;
    margin-bottom: 0;
  }

  .safety__action {
    grid-area: action;
    align-self: start;
    text-align: left;
    margin-top: 0.5rem;
  }

  .safety__action .btn {
    margin-left: 0;
    margin-right: 0;
  }

  .safety__visual {
    grid-area: visual;
  }

  .safety__img {
    max-width: 580px;
    margin-left: auto;
  }
}

/* ==========================================================================
   Section: RECRUITMENT (採用情報バナー)
   ========================================================================== */
.recruit-banner {
  background: var(--color-sub);
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
}

.recruit-banner__content {
  padding: 40px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.recruit-banner__tag {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.95);
}

.recruit-banner__title {
  font-size: 1.5rem; /* 24px */
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.recruit-banner__desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.75rem;
}

.recruit-banner__visual {
  width: 100%;
  overflow: hidden;
}

.recruit-banner__img {
  width: 104%;
  max-width: none;
  margin-left: -4%;
  height: auto;
  aspect-ratio: 1200 / 750;
  display: block;
  object-fit: cover;
}

@media (min-width: 768px) {
  .recruit-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .recruit-banner__content {
    position: relative;
    padding: clamp(32px, 4vw, 60px) clamp(32px, 4vw, 50px);
    align-items: flex-start;
    text-align: left;
    justify-content: center;
    height: 100%;
  }

  /* 文字要素と画像との境目にある三角形の装飾（右向き） */
  .recruit-banner__content::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(calc(100% - 1px), -50%);
    width: 0;
    height: 0;
    border-top: 26px solid transparent;
    border-bottom: 26px solid transparent;
    border-left: 26px solid var(--color-sub);
    z-index: 2;
    pointer-events: none;
  }

  .recruit-banner__title {
    font-size: clamp(1.625rem, 2.2vw, 2.125rem);
    margin-bottom: clamp(0.5rem, 1vw, 1rem);
  }

  .recruit-banner__desc {
    font-size: clamp(0.875rem, 1.1vw, 1rem);
    margin-bottom: clamp(1.25rem, 2.5vw, 2.5rem);
  }

  .recruit-banner__btn {
    margin-left: 0;
    margin-right: 0;
  }

  .recruit-banner__visual {
    height: 100%;
    display: flex;
    overflow: visible;
  }

  .recruit-banner__img {
    width: 100%;
    height: 100%;
    margin-left: 0;
    aspect-ratio: 1200 / 750;
    object-fit: cover;
  }
}

/* ==========================================================================
   Section: CONTACT (お問い合わせ)
   ========================================================================== */
.contact-section {
  background-color: var(--color-main);
  color: var(--color-white);
  text-align: center;
}

.contact-section__desc {
  max-width: 760px;
  margin: -1rem auto 2.75rem;
  font-size: 0.9375rem;
  line-height: 2.0;
  color: rgba(255, 255, 255, 0.95);
  text-align: justify;
  text-justify: inter-ideograph;
}

.contact-section__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.contact-section__btn-form {
  width: 100%;
  max-width: 340px;
  height: 62px;
  background: var(--color-white);
  color: var(--color-main);
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: all var(--transition-base);
}

.contact-section__btn-form:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  color: var(--color-main);
}

.contact-section__btn-icon {
  width: 20px;
  height: 20px;
  stroke: var(--color-main);
}

.contact-section__tel-box {
  width: 100%;
  max-width: 340px;
  height: 62px;
  border: 1.5px solid var(--color-white);
  border-radius: 9999px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  text-decoration: none;
  transition: background var(--transition-base), transform var(--transition-base);
}

.contact-section__tel-box:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  color: var(--color-white);
}

.contact-section__tel-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 1.5rem; /* 24px: カンプ通り力強く太い文字 */
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 0.03em;
  line-height: 1; /* 余計な上下余白を排除して隙間を詰める */
}

.contact-section__tel-icon {
  width: 20px;
  height: 20px;
  fill: var(--color-white);
}

.contact-section__tel-time {
  font-size: 0.6875rem; /* 11px */
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.04em;
  line-height: 1;
  margin-top: 2px; /* カンプ忠実: 電話番号の直下に隙間なく配置 */
}

@media (min-width: 768px) {
  .contact-section__desc {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 3.5rem;
  }

  .contact-section__actions {
    flex-direction: row;
    justify-content: center;
    gap: 32px;
  }

  .contact-section__btn-form,
  .contact-section__tel-box {
    width: 350px;
    height: 66px;
  }

  .contact-section__tel-link {
    font-size: 1.625rem; /* 26px */
    gap: 10px;
  }

  .contact-section__tel-time {
    font-size: 0.75rem; /* 12px */
    margin-top: 2px;
  }
}

/* ==========================================================================
   Footer Component
   SP: コピーライトのみ表示 (カンプ SP-TOP.jpg 忠実準拠)
   PC: 会社情報＋3列サイトマップ＋アクションボタン
   ========================================================================== */
.footer {
  background: var(--color-white);
  padding-top: 24px;
  padding-bottom: 24px;
}

/* SP版ではメイン情報およびアクションボタンを非表示 (ハンバーガーメニューに集約) */
.footer__main {
  display: none;
}

.footer__actions {
  display: none;
}

.footer__bottom {
  text-align: center;
}

.footer__copyright {
  font-family: var(--font-en);
  font-size: 0.75rem;
  color: var(--color-text);
  letter-spacing: 0.05em;
  font-weight: 500;
}

@media (min-width: 768px) {
  .footer {
    padding-top: 70px;
    padding-bottom: 40px;
  }

  .footer__main {
    display: grid;
    grid-template-columns: minmax(300px, 320px) 1fr;
    gap: clamp(24px, 4vw, 70px);
    margin-bottom: 40px;
  }

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

  .footer__logo-link {
    display: inline-block;
    text-decoration: none;
  }

  /* 他の要素とのバランスを完璧に合わせたフッターロゴサイズ */
  .footer__logo-img {
    width: 220px;
    height: auto;
    display: block;
    max-width: 100%;
  }

  .footer__address {
    font-style: normal;
    font-size: 0.8125rem;
    line-height: 1.8;
    color: var(--color-main);
    white-space: nowrap;
  }

  .footer__tel-fax {
    font-size: 0.8125rem;
    color: var(--color-main);
  }

  .footer__tel-fax span {
    display: inline-block;
    margin-right: 12px;
  }

  /* 3 Columns Sitemap: 各列の最大幅がそれぞれの列幅となり、列同士の隙間は均一（uniform gap）になる設計 */
  .footer__sitemap {
    display: grid;
    grid-template-columns: max-content minmax(0, max-content) max-content;
    gap: 24px clamp(28px, 4.5vw, 76px);
    justify-content: end;
  }

  .footer__col-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-main);
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1.5px solid var(--color-sub);
    display: inline-block;
  }

  .footer__col-title a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-base), opacity var(--transition-base);
  }

  .footer__col-title a:hover {
    color: var(--color-sub);
  }

  .footer__links {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  /* ぶら下げインデント: テキストが改行されてもハイフンの次の文字と行頭が揃う */
  .footer__link {
    display: block;
    font-size: 0.8125rem;
    color: var(--color-main);
    text-decoration: none;
    position: relative;
    padding-left: 12px;
    line-height: 1.6;
    transition: color var(--transition-base);
  }

  .footer__link::before {
    content: '-';
    position: absolute;
    left: 0;
    color: var(--color-main);
  }

  .footer__link:hover {
    color: var(--color-sub);
    text-decoration: underline;
  }

  /* Footer Bottom: 左にコピーライト、右にお問い合わせ・採用情報ボタンが罫線なし・下揃えで並ぶ */
  .footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* ボタンと下揃え */
    border-top: none; /* 罫線なし */
    padding-top: 28px;
    margin-top: 10px;
  }

  .footer__copyright {
    text-align: left;
    font-size: 0.8125rem;
    color: var(--color-main);
    margin: 0;
    line-height: 1;
    padding-bottom: 4px; /* ボタンの底辺と美しく下揃え */
  }

  .footer__actions {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 20px;
    margin: 0;
  }

  .footer__actions .btn {
    width: 230px;
    height: 52px;
    font-size: 0.9375rem;
    padding: 0 44px 0 28px;
  }

  .footer__actions .btn__icon {
    right: 20px;
  }
}

@media (min-width: 1200px) {
  .footer__main {
    grid-template-columns: 320px 1fr;
    gap: clamp(40px, 6vw, 100px);
  }
}

/* ==========================================================================
   Floating Page Top Button
   ========================================================================== */
.pagetop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background-color: var(--color-sub);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(77, 153, 233, 0.4);
  z-index: 85;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--transition-base), visibility var(--transition-base), transform var(--transition-base), background-color var(--transition-base), box-shadow var(--transition-base);
}

@media (min-width: 1400px) {
  .pagetop {
    right: max(30px, calc((100vw - 1400px) / 2 + 10px));
  }
}

.pagetop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.pagetop:hover {
  background-color: var(--color-main);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(19, 38, 72, 0.4);
}

.pagetop svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   Subpage Common Styles
   ========================================================================== */

/* ---------- Subpage Hero ---------- */
.subpage-hero {
  position: relative;
  width: 100%;
  height: 200px;
  background-color: var(--color-main);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.subpage-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Responsive mobile crop focus for each page */
@media (max-width: 767px) {
  .subpage-hero__bg--about {
    background-position: 75% center;
  }
  .subpage-hero__bg--service {
    background-position: center center;
  }
  .subpage-hero__bg--safety {
    background-position: 80% center;
  }
  .subpage-hero__bg--recruit {
    background-position: 45% center;
  }
  .subpage-hero__bg--contact {
    background-position: 60% center;
  }
}

.subpage-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(19, 38, 72, 0.75) 0%, rgba(19, 38, 72, 0.45) 50%, rgba(19, 38, 72, 0.1) 100%);
}

.subpage-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding-sp);
}

.subpage-hero__title-en {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 1.75rem; /* 28px */
  color: var(--color-white);
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.subpage-hero__title-ja {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 1rem; /* 16px */
  color: var(--color-white);
  margin-top: 10px;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .subpage-hero {
    height: 280px;
  }

  /* Comp banner images already contain the dark blue gradient background on PC */
  .subpage-hero__bg::after {
    display: none;
  }

  .subpage-hero__content {
    padding: 0 var(--container-padding-pc);
  }

  .subpage-hero__title-en {
    font-size: 3rem; /* 48px, exact cap-height 35px matching comps */
    letter-spacing: 0.04em;
    line-height: 1.15;
    font-weight: 600;
  }

  .subpage-hero__title-ja {
    font-size: 1.5rem; /* 24px, exact 24px height matching comps */
    margin-top: 14px;
    letter-spacing: 0.06em;
    line-height: 1.4;
  }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 20px var(--container-padding-sp) 0;
  font-size: 0.8125rem;
  color: var(--color-text-sub);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--color-text-sub);
  transition: color var(--transition-base);
}

.breadcrumb a:hover {
  color: var(--color-sub);
}

.breadcrumb__separator {
  color: var(--color-text-muted);
  font-size: 0.75rem;
}

@media (min-width: 768px) {
  .breadcrumb {
    padding: 24px var(--container-padding-pc) 0;
  }
}

/* ---------- Anchor Navigation (Tab Bar) ---------- */
.anchor-nav {
  width: 100%;
  background-color: #d9eef8;
}

.anchor-nav__inner {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-white);
}

.anchor-nav__item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-main);
  background-color: #d9eef8;
  text-align: center;
  padding: 0 6px;
  transition: background-color var(--transition-base), color var(--transition-base);
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 5th item on mobile spans across both columns (2+2+1 layout) */
.anchor-nav__item:last-child {
  grid-column: 1 / -1;
}

.anchor-nav__item:hover {
  background-color: #cce7f5;
}

.anchor-nav__item.is-active {
  background-color: var(--color-sub);
  color: var(--color-white);
}

@media (min-width: 768px) {
  .anchor-nav__inner {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    gap: 0;
    background-color: transparent;
    border-bottom: none;
  }

  .anchor-nav__item {
    flex: 1;
    height: 52px;
    font-size: 0.875rem;
    padding: 0 12px;
    border-right: 1px solid var(--color-white);
  }

  .anchor-nav__item:last-child {
    grid-column: auto;
    border-right: none;
  }
}

/* ---------- Content Section (2-Column Layout) ---------- */
.content-section {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 48px var(--container-padding-sp) 0;
}

.content-section + .content-section {
  padding-top: 64px;
}

.content-section__heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 32px;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-main);
  line-height: 1.4;
}

.content-section__heading::before {
  content: '';
  display: block;
  width: 5px;
  height: 20px;
  min-height: 20px;
  background-color: var(--color-sub);
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 7px;
}

.content-section__body {
  /* mobile: single column */
}

@media (min-width: 768px) {
  .content-section {
    padding: 0 var(--container-padding-pc);
    margin-top: 80px;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 48px;
    align-items: start;
  }

  .content-section:first-of-type {
    margin-top: 48px;
  }

  .content-section + .content-section {
    padding-top: 0;
    margin-top: 90px;
  }

  .content-section__heading {
    font-size: 1.5rem;
    margin-bottom: 0;
    position: sticky;
    top: 120px;
  }

  .content-section__heading::before {
    height: 24px;
    min-height: 24px;
    margin-top: 6px;
  }

  .content-section__body {
    /* right column */
  }
}

/* ---------- Subpage Contact CTA Margin ---------- */
main:not(.main) .contact-section {
  margin-top: 64px;
}

@media (min-width: 768px) {
  main:not(.main) .contact-section {
    margin-top: 100px;
  }
}

/* ==========================================================================
   About Page
   ========================================================================== */

/* President greeting - signature area */
/* President greeting - signature area */
.president__text {
  font-size: 0.9375rem;
  line-height: 2;
  color: var(--color-text);
  text-align: justify;
  text-justify: inter-ideograph;
}

.president__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 32px;
  margin-top: 48px;
}

.president__signature {
  text-align: right;
  margin-top: 0;
  margin-bottom: 0;
}

.president__role {
  font-size: 0.9375rem;
  color: #000000;
  margin-bottom: 12px;
  font-weight: 500;
}

.president__name-wrap {
  display: flex;
  justify-content: flex-end;
}

.president__name-img {
  width: 135px;
  height: auto;
  display: block;
}

.president__photo {
  width: 256px;
  aspect-ratio: 256 / 312;
  background-color: transparent;
  border-radius: 0 !important;
  flex-shrink: 0;
  overflow: hidden;
}

.president__photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 767px) {
  .president__bottom {
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 20px;
    margin-top: 32px;
  }

  .president__photo {
    width: min(200px, 60vw);
  }

  .president__name-img {
    width: 128px;
  }
}

/* Company Overview Table */
.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table th {
  width: 260px;
  text-align: center;
  vertical-align: middle;
  padding: 24px 16px;
  border-top: 2px solid var(--color-main);
  border-bottom: 2px solid var(--color-main);
  color: var(--color-main);
  font-size: 0.9375rem;
  font-weight: 700;
  white-space: nowrap;
}

.company-table td {
  padding: 24px 0 24px clamp(32px, 5.5vw, 80px);
  text-align: left;
  vertical-align: middle;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 0.9375rem;
  line-height: 1.8;
}

@media (max-width: 767px) {
  .company-table {
    display: block;
    width: 100%;
    position: relative;
    border-top: 1px solid var(--color-border);
  }

  .company-table::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 120px;
    height: 2px;
    background-color: var(--color-main);
    z-index: 1;
  }

  .company-table tbody,
  .company-table tr {
    display: block;
    width: 100%;
  }

  .company-table tr {
    position: relative;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
  }

  .company-table tr::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 120px;
    height: 2px;
    background-color: var(--color-main);
  }

  .company-table th {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0 0 6px;
    border: none;
    font-size: 0.9375rem;
    white-space: normal;
  }

  .company-table td {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0;
    border: none;
    font-size: 0.875rem;
  }
}

/* Timeline / History */
.timeline {
  position: relative;
  padding-left: 0;
  margin: 12px 0;
}

/* Continuous light vertical line running through all timeline entries (starts at first dot) */
.timeline::before {
  content: '';
  position: absolute;
  top: 32px;
  bottom: 14px;
  left: 97px;
  width: 1px;
  background-color: #dbdbdb;
  z-index: 1;
}

.timeline__item {
  display: grid;
  grid-template-columns: 80px 36px 50px 1fr;
  gap: 0;
  align-items: baseline;
  position: relative;
  padding: 18px 0;
  font-size: 0.9375rem;
  line-height: 1.8;
}

/* Cyan dot on the vertical line for each entry */
.timeline__item::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 93px; /* Centered on the 97px line (97 - 9/2 = 92.5) */
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--color-sub);
  z-index: 2;
}

.timeline__year {
  grid-column: 1 / 2;
  font-weight: 700;
  color: var(--color-main);
  white-space: nowrap;
}

.timeline__month {
  grid-column: 3 / 4;
  color: #333333;
  font-weight: 700;
  text-align: left;
}

.timeline__event {
  grid-column: 4 / 5;
  color: var(--color-text);
  padding-left: 8px;
}

@media (max-width: 767px) {
  .timeline::before {
    top: 27px;
    left: 77px;
  }

  .timeline__item {
    grid-template-columns: 64px 26px 42px 1fr;
    font-size: 0.875rem;
    padding: 14px 0;
  }

  .timeline__item::before {
    top: 23px;
    left: 73px;
    width: 8px;
    height: 8px;
  }

  .timeline__event {
    padding-left: 6px;
  }
}

/* Office Cards */
.office-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.office-card {
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.office-card__img {
  width: 100%;
  aspect-ratio: 440 / 280;
  background-color: #dde8f0;
  position: relative;
  overflow: visible;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

.office-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.office-card__tag {
  position: absolute;
  bottom: -22px;
  left: 20px;
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-sub);
  color: var(--color-white);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 2;
}

.office-card__tag--navy {
  background-color: var(--color-main);
}

.office-card__body {
  padding: 34px 0 0 0;
}

.office-card__name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #000000;
  line-height: 1.6;
  margin-bottom: 12px;
}

.office-card__address,
.office-card__tel {
  font-size: 0.875rem;
  color: #333333;
  line-height: 1.8;
}

.office-card__map-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.875rem;
  color: var(--color-sub);
  text-decoration: underline;
  font-weight: 500;
  transition: opacity var(--transition-base);
}

.office-card__map-link:hover {
  opacity: 0.75;
  text-decoration: underline;
}

@media (min-width: 768px) {
  .office-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 56px;
    row-gap: 52px;
  }
}

/* Environmental Policy */
.env-policy__subtitle {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: 16px;
  padding-bottom: 12px;
  position: relative;
  border-bottom: 1px solid var(--color-border);
}

.env-policy__subtitle::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 120px;
  height: 2px;
  background-color: var(--color-main);
}

.env-policy__subtitle:not(:first-child) {
  margin-top: 40px;
}

.env-policy__text {
  font-size: 0.9375rem;
  line-height: 2;
  color: var(--color-text);
  text-align: justify;
  text-justify: inter-ideograph;
}

.env-policy__list {
  margin-top: 16px;
}

.env-policy__list-item {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--color-text);
}

.env-policy__list-num {
  font-weight: 700;
  color: var(--color-sub);
  font-family: var(--font-en);
  min-width: 32px;
  flex-shrink: 0;
}

.env-policy__sublist {
  margin-top: 8px;
  padding-left: 40px;
}

.env-policy__sublist li {
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 4px;
}

.env-policy__signature {
  text-align: right;
  margin-top: 40px;
  font-size: 0.9375rem;
  line-height: 2;
  color: var(--color-text);
}

/* ==========================================================================
   Service Page
   ========================================================================== */

/* ==========================================================================
   Service Page (業務紹介)
   ========================================================================== */

/* Full-width Light Blue Overview Section (Breadcrumb + Intro + Cards) */
.service-overview-section {
  background-color: #e0f0fd;
  padding: 0 0 80px;
}

.service-overview-section .breadcrumb {
  margin-bottom: 32px;
}

/* Intro lead */
.service-intro {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding-sp);
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  line-height: 2;
  color: var(--color-text);
}

@media (min-width: 768px) {
  .service-intro {
    padding: 0 var(--container-padding-pc);
    font-size: 1.125rem;
    margin-bottom: 40px;
  }
}

/* 2x2 Service Card Grid */
.service-card-grid {
  max-width: var(--container-max-width);
  margin: 24px auto 0;
  padding: 0 var(--container-padding-sp);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .service-card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    padding: 0 var(--container-padding-pc);
    margin-top: 0;
  }
}

/* Service Detail Sections */
.service-detail {
  max-width: var(--container-max-width);
  margin: 64px auto 0;
  padding: 0 var(--container-padding-sp);
}

.service-detail + .service-detail {
  margin-top: 80px;
}

.service-detail__header {
  margin-bottom: 24px;
}

.service-detail__num-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 16px;
}

.service-detail__num {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 2rem;
  color: var(--color-sub);
  line-height: 1;
}

.service-detail__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-main);
  line-height: 1.35;
}

.service-detail__catch {
  font-size: 1.125rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 12px;
  line-height: 1.5;
}

.service-detail__lead {
  font-size: 0.9375rem;
  line-height: 2;
  color: #333;
}

.service-detail__content {
  margin-top: 32px;
}

.service-detail__img {
  width: 100%;
  aspect-ratio: 800 / 582;
  background-color: #c8dce8;
  border-radius: 0 !important;
  object-fit: cover;
  margin-bottom: 24px;
  display: block;
}

.service-detail__info-title {
  font-size: 1rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 16px;
  padding-bottom: 0;
  border-bottom: none;
}

.service-detail__info-title:not(:first-child) {
  margin-top: 32px;
}

.service-detail__list {
  list-style: none;
  padding: 0;
}

.service-detail__list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9375rem;
  line-height: 1.9;
  color: #333;
  margin-bottom: 8px;
}

.service-detail__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--color-sub);
}

.service-detail__cert-group {
  margin-bottom: 24px;
}

.service-detail__cert-label {
  position: relative;
  padding-left: 20px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #333;
  line-height: 1.6;
  margin-top: 16px;
  margin-bottom: 10px;
}

.service-detail__cert-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--color-sub);
}

.service-detail__cert-sub {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--color-text-sub);
}

/* Certification Badge Cards */
.cert-card {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--color-sub);
  border-radius: 0;
  padding: 14px 18px;
  margin-bottom: 14px;
  background: var(--color-white);
}

.cert-card__img,
.cert-card__icon {
  width: 72px;
  height: 72px;
  aspect-ratio: 1 / 1;
  background-color: transparent;
  border-radius: 0 !important;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
}

.cert-card__img.placeholder-box {
  background-color: #c8dce8 !important;
}

.cert-card__img img,
.cert-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.cert-card__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 4px;
}

.cert-card__desc {
  font-size: 0.8125rem;
  color: var(--color-text-sub);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .service-detail {
    position: relative;
    padding: 0 var(--container-padding-pc);
    padding-left: calc(var(--container-padding-pc) + 90px);
    margin-top: 100px;
  }

  .service-detail + .service-detail {
    margin-top: 100px;
  }

  .service-detail__num-title {
    position: relative;
    display: block;
    margin-bottom: 16px;
  }

  .service-detail__num {
    position: absolute;
    left: -90px;
    top: -2px;
    font-size: 2.25rem;
    line-height: 1.35;
  }

  .service-detail__title {
    font-size: 1.75rem;
    line-height: 1.35;
  }

  .service-detail__content {
    display: grid;
    grid-template-columns: minmax(340px, 460px) 1fr;
    gap: 48px;
    align-items: start;
    margin-top: 36px;
  }

  .service-detail__img {
    margin-bottom: 0;
  }

  .cert-card {
    gap: 24px;
    padding: 16px 20px;
  }

  .cert-card__img,
  .cert-card__icon {
    width: 88px;
    height: 88px;
  }
}

/* ==========================================================================
   Safety Management Page
   ========================================================================== */

/* Catch copy with light blue marker highlight */
.safety-catch {
  display: inline;
  background: linear-gradient(transparent 50%, #d5eefa 50%);
  padding: 0 4px;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-main);
  line-height: 1.6;
}

.safety-body-text {
  font-size: 0.9375rem;
  line-height: 2;
  color: var(--color-text);
  margin-top: 20px;
}

/* Numbered policy list (01-09) */
.safety-list__item {
  position: relative;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
}

.safety-list__item::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 120px;
  height: 2px;
  background-color: var(--color-main);
  pointer-events: none;
}

.safety-list__item:first-child {
  padding-top: 0;
}

.safety-list__header {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.safety-list__num {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-sub);
  flex-shrink: 0;
  min-width: 32px;
}

.safety-list__title {
  font-size: 1rem;
  font-weight: 700;
  color: #000;
  line-height: 1.5;
}

.safety-list__desc {
  padding-left: 44px; /* 32px min-width + 12px gap */
  font-size: 0.875rem;
  color: var(--color-text);
  line-height: 1.8;
  margin-top: 8px;
}

/* Safety goals section with marker highlight */
.safety-goal__title {
  display: inline;
  background: linear-gradient(transparent 50%, #d5eefa 50%);
  padding: 0 4px;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-main);
  border-bottom: none;
  line-height: 1.6;
}

.safety-goal__text {
  font-size: 0.9375rem;
  line-height: 2;
  color: var(--color-text);
  margin-top: 24px;
}

/* Slogan box with offset bottom-right shadow */
.slogan-box {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  border: 1.5px solid var(--color-sub);
  background: var(--color-white);
  box-shadow: 6px 6px 0 var(--color-sub);
  padding: 12px 28px;
  margin-bottom: 36px;
}

.slogan-box__label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-sub);
  border: 1.5px solid var(--color-sub);
  border-radius: 0;
  padding: 2px 10px;
}

.slogan-box__text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-main);
  letter-spacing: 0.05em;
}

/* Safety plan sub-sections */
.safety-plan__subtitle {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-main);
  padding-bottom: 10px;
  position: relative;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 16px;
  margin-top: 32px;
}

.safety-plan__subtitle::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 120px;
  height: 2px;
  background-color: var(--color-main);
  pointer-events: none;
}

.safety-plan__list {
  font-size: 0.9375rem;
  line-height: 2;
  color: var(--color-text);
  padding-left: 0;
}

.safety-plan__list p {
  margin-bottom: 4px;
}

/* Photo gallery (sharp corners) */
.photo-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 28px;
}

.photo-gallery__img {
  width: 100%;
  aspect-ratio: 800 / 603;
  background-color: #c8dce8;
  border-radius: 0 !important;
  object-fit: cover;
  display: block;
}

.safety-signature {
  text-align: right;
  margin-top: 40px;
  font-size: 0.875rem;
  line-height: 2;
  color: var(--color-text);
}

@media (min-width: 768px) {
  .safety-catch {
    font-size: 1.5rem;
  }

  .safety-goal__title {
    font-size: 1.5rem;
  }

  .photo-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* ==========================================================================
   Contact Page
   ========================================================================== */

/* ==========================================================================
   Contact Page
   ========================================================================== */

/* Lead & Phone CTA (Left-aligned on PC) */
.contact-lead {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 40px var(--container-padding-sp) 0;
  text-align: left;
}

.contact-lead__text {
  font-size: 1rem;
  font-weight: 700;
  line-height: 2;
  color: #000;
  text-align: left;
}

.contact-lead__tel-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--color-main);
  border-radius: 9999px;
  background: var(--color-white);
  padding: 14px 32px;
  margin-top: 28px;
  text-decoration: none;
  transition: all var(--transition-base);
  max-width: 100%;
}

.contact-lead__tel-box:hover {
  background: rgba(19, 38, 72, 0.05);
  transform: translateY(-2px);
}

.contact-lead__tel-num {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.1;
  color: var(--color-main);
  letter-spacing: 0.02em;
}

.contact-lead__tel-num svg {
  width: 22px;
  height: 22px;
  fill: var(--color-main);
  flex-shrink: 0;
}

.contact-lead__tel-time {
  font-size: 0.75rem;
  line-height: 1;
  color: var(--color-main);
  letter-spacing: 0.04em;
  margin-top: 4px;
}

@media (min-width: 768px) {
  .contact-lead {
    padding: 60px var(--container-padding-pc) 0;
  }

  .contact-lead__text {
    font-size: 1.125rem;
  }

  .contact-lead__tel-box {
    padding: 18px 48px;
    margin-top: 32px;
  }

  .contact-lead__tel-num {
    font-size: 2rem;
    gap: 12px;
  }

  .contact-lead__tel-num svg {
    width: 26px;
    height: 26px;
  }

  .contact-lead__tel-time {
    font-size: 0.8125rem;
    margin-top: 6px;
  }
}

/* Contact Form Section (Light Blue Background & Borderless White Inputs) */
.contact-form-section {
  background-color: #e0f0fd;
  padding: 56px var(--container-padding-sp);
  margin-top: 48px;
}

.contact-form-section__inner {
  max-width: 860px;
  margin: 0 auto;
}

.contact-form__notice {
  font-size: 0.875rem;
  color: #000;
  margin-bottom: 36px;
  line-height: 1.8;
}

.contact-form__notice .required-mark {
  color: #E60012;
  font-weight: 700;
}

.form-group {
  margin-bottom: 20px;
}

.form-group__label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 8px;
}

.form-group__label .required-mark {
  color: #E60012;
  margin-left: 2px;
}

.form-group__input,
.form-group__textarea {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: none;
  border-radius: 0;
  font-size: 1rem;
  font-family: var(--font-base);
  background: var(--color-white);
  transition: box-shadow var(--transition-base);
}

.form-group__input:focus,
.form-group__textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--color-sub);
}

.form-group__input--short {
  max-width: 220px;
}

.form-group__textarea {
  height: 220px;
  padding: 16px;
  resize: vertical;
}

/* Privacy handling within form */
.form-privacy {
  margin-top: 48px;
  padding-top: 0;
  border-top: none;
}

.form-privacy__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 12px;
}

.form-privacy__text {
  font-size: 0.8125rem;
  line-height: 1.8;
  color: #000;
}

.form-privacy__text a {
  color: var(--color-sub);
  font-weight: 700;
  text-decoration: underline;
}

.form-agree {
  text-align: center;
  margin-top: 32px;
}

.form-agree label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #000;
  cursor: pointer;
}

.form-agree input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-sub);
  border-radius: 0;
}

.form-agree .required-mark {
  color: #E60012;
}

.form-submit {
  text-align: center;
  margin-top: 32px;
}

.form-submit__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 380px;
  height: 60px;
  background: linear-gradient(to right, #4d99e9, #132648);
  color: var(--color-white);
  border: none;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-base);
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-btn);
}

.form-submit__btn:hover {
  opacity: 0.95;
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
}

.form-submit__btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
  transform: none !important;
}

.form-submit__btn svg {
  width: 20px;
  height: 20px;
}

/* Form Confirmation View & Error Styles */
.form-error-banner {
  display: none;
  background: #fee2e2;
  color: #991b1b;
  padding: 14px 20px;
  margin-bottom: 24px;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
  border-left: 4px solid #ef4444;
}

.form-group__error {
  display: none;
  font-size: 0.8125rem;
  color: #E60012;
  margin-top: 6px;
  font-weight: 500;
}

.form-group.has-error .form-group__error {
  display: block;
}

.form-group.has-error .form-group__input,
.form-group.has-error .form-group__textarea {
  box-shadow: 0 0 0 2px #E60012;
  background-color: #fffafa;
}

.contact-confirm__notice {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: #000;
  margin-bottom: 32px;
  padding: 16px 20px;
  background: #fff;
  border-left: 4px solid var(--color-sub);
}

.confirm-group {
  margin-bottom: 20px;
}

.confirm-group__label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 6px;
}

.confirm-group__value {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  background: var(--color-white);
  font-size: 1rem;
  color: #000;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

.form-confirm__actions {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.form-submit__btn--back {
  background: #fff;
  color: var(--color-main);
  border: 1px solid #c8dce8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.form-submit__btn--back:hover {
  background: #f4f9fd;
  border-color: var(--color-sub);
  color: var(--color-sub);
}

.form-submit__btn--back svg {
  transform: rotate(180deg);
}

@media (min-width: 600px) {
  .form-confirm__actions {
    flex-direction: row;
    gap: 24px;
  }
}

@media (min-width: 768px) {
  .contact-form-section {
    padding: 80px var(--container-padding-pc);
    margin-top: 60px;
  }

  .form-group {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
  }

  .form-group--textarea {
    align-items: start;
  }

  .form-group__label {
    margin-bottom: 0;
    text-align: left;
  }

  .confirm-group {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: start;
    gap: 20px;
    margin-bottom: 24px;
  }

  .confirm-group__label {
    margin-bottom: 0;
    padding-top: 12px;
  }
}

/* Thanks Page */
.thanks-section {
  background-color: #e0f0fd;
  padding: 56px var(--container-padding-sp);
  margin-top: 48px;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .thanks-section {
    padding: 80px var(--container-padding-pc);
    margin-top: 60px;
  }
}

.thanks-inner {
  max-width: 860px;
  margin: 0 auto;
}

.thanks-card {
  background: var(--color-white);
  padding: 40px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(19, 38, 72, 0.06);
}

@media (min-width: 768px) {
  .thanks-card {
    padding: 60px 48px;
  }
}

.thanks-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: #e8f4fc;
  color: var(--color-sub);
  border-radius: 50%;
  margin: 0 auto 24px;
}

.thanks-icon svg {
  width: 36px;
  height: 36px;
}

.thanks-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: 20px;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .thanks-title {
    font-size: 1.75rem;
  }
}

.thanks-lead {
  font-size: 0.9375rem;
  line-height: 1.9;
  color: #333;
  margin-bottom: 32px;
}

.thanks-notice {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 24px;
  text-align: left;
  margin-bottom: 40px;
}

.thanks-notice__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: 12px;
}

.thanks-notice__list {
  font-size: 0.875rem;
  line-height: 1.8;
  color: #444;
  list-style: disc;
  padding-left: 20px;
}

.thanks-notice__list li + li {
  margin-top: 8px;
}

.thanks-tel-link {
  color: var(--color-sub);
  font-weight: 700;
  text-decoration: underline;
}

.thanks-actions {
  display: flex;
  justify-content: center;
}

/* Privacy Policy Section */
.privacy-section {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 48px var(--container-padding-sp) 0;
}

.privacy-section__text {
  font-size: 0.9375rem;
  line-height: 2;
  color: var(--color-text);
  text-align: justify;
  text-justify: inter-ideograph;
  margin-bottom: 28px;
}

.privacy-section__list {
  counter-reset: privacy-counter;
}

.privacy-section__item {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.9375rem;
  line-height: 2;
  color: var(--color-text);
}

.privacy-section__item-num {
  font-weight: 700;
  color: var(--color-text);
  flex-shrink: 0;
  min-width: 20px;
}

.privacy-section__sublist {
  padding-left: 28px;
  margin-top: 8px;
}

.privacy-section__sublist li {
  font-size: 0.875rem;
  line-height: 1.9;
  color: var(--color-text);
  margin-bottom: 4px;
}

@media (min-width: 768px) {
  .privacy-section {
    padding: 90px var(--container-padding-pc) 0;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 48px;
    align-items: start;
  }
}

/* ==========================================================================
   Recruitment Page
   ========================================================================== */

/* Feature Card (Banner) */
.recruit-feature {
  max-width: var(--container-max-width);
  margin: 48px auto 0;
  padding: 0 var(--container-padding-sp);
}

.recruit-feature__card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 0;
}

.recruit-feature__info {
  position: relative;
  background-color: var(--color-sub);
  color: var(--color-white);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.recruit-feature__catch {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
}

.recruit-feature__sub {
  font-size: 0.9375rem;
  margin-top: 12px;
  opacity: 0.9;
}

.recruit-feature__photo {
  width: 100%;
  overflow: hidden;
}

.recruit-feature__img {
  width: 104%;
  max-width: none;
  margin-left: -4%;
  height: auto;
  aspect-ratio: 1200 / 750;
  display: block;
  object-fit: cover;
}

@media (min-width: 768px) {
  .recruit-feature {
    padding: 0 var(--container-padding-pc);
    margin-top: 48px;
  }

  .recruit-feature__card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .recruit-feature__info {
    position: relative;
    width: 100%;
    padding: clamp(32px, 4vw, 56px);
    height: 100%;
  }

  .recruit-feature__info::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(calc(100% - 1px), -50%);
    width: 0;
    height: 0;
    border-top: 26px solid transparent;
    border-bottom: 26px solid transparent;
    border-left: 26px solid var(--color-sub);
    z-index: 2;
    pointer-events: none;
  }

  .recruit-feature__photo {
    width: 100%;
    height: 100%;
    display: flex;
    overflow: visible;
  }

  .recruit-feature__img {
    width: 100%;
    height: 100%;
    margin-left: 0;
    aspect-ratio: 1200 / 750;
    object-fit: cover;
    display: block;
  }

  .recruit-feature__catch {
    font-size: clamp(1.625rem, 2.2vw, 2.125rem);
  }

  .recruit-feature__sub {
    font-size: 1rem;
    margin-top: 18px;
  }
}

/* Entry Section */
.recruit-entry {
  max-width: var(--container-max-width);
  margin: 48px auto 0;
  padding: 0 var(--container-padding-sp);
}

.recruit-entry__lead {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--color-text);
}

.recruit-entry__contact {
  display: flex;
  align-items: center;
  gap: 16px 36px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.recruit-entry__company {
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 700;
  color: var(--color-main);
  line-height: 1.3;
}

.recruit-entry__tel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-sub);
  text-decoration: none;
  font-family: var(--font-en), var(--font-base);
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
  transition: opacity 0.25s ease, color 0.25s ease;
}

.recruit-entry__tel:hover {
  opacity: 0.8;
  color: var(--color-sub-hover);
}

.recruit-entry__tel-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex-shrink: 0;
}

.recruit-entry__tel-num {
  font-family: inherit;
}

@media (min-width: 768px) {
  .recruit-entry {
    padding: 0 var(--container-padding-pc);
    margin-top: 64px;
  }

  .recruit-entry__lead {
    font-size: 1rem;
  }

  .recruit-entry__contact {
    margin-top: 24px;
  }

  .recruit-entry__tel-icon {
    width: 26px;
    height: 26px;
  }
}

/* ---------- Subpage Utility ---------- */
.subpage-main {
  padding-bottom: 0;
}

/* Active nav highlight for current page */
.header__nav-link.is-current {
  color: var(--color-sub);
}
