@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500&display=swap');
/* ==========================================================================
   Variables（カラー変数）
   ========================================================================== */
:root {
  --color-navy:             #1c2b52; /* メインカラー：ヒーロータイトル帯・フッター下部バー */
  --color-navy-dark:        #16213e; /* フッターコピーライトバー：メインより一段暗いトーン */
  --color-cta:               #23407a; /* CTA（Call To Action）ボタン背景色 */
  --color-cta-hover:        #1a3162; /* CTAボタン：ホバー時に少し暗くして押下感を出す */
  --color-year:               #0075ff; /* 会社沿革の年号・Google Mapリンクに使うアクセント青 */
  --color-gray-bar:          #d6d6d6; /* 各セクション見出しのグレー帯 */
  --color-gray-bar-border:  #a8a8a8; /* 見出し帯の下端に入る、帯より一段濃いグレーの境界線 */
  --color-heading-accent:   #3d7dd8; /* 見出し帯の下端に重ねる、左寄せの短い青色アクセントライン */
  --color-gray-border:      #cccccc; /* アンカーナビ枠線など */
  --color-gray-border-light: #e0e0e0; /* セクション内の薄い区切り線 */
  --color-black-border: #000000; /* セクション内の薄い区切り線 */
  --color-text:               #000000; /* 本文基本色 */
  --color-text-sub:          #000000; /* 補足テキスト（住所・電話番号など） */
  --color-orange:            #f7941d; /* トップページ限定：CTAリンク・ニュースティッカー背景 */
  --color-orange-hover:      #d97e0f; /* オレンジCTAのホバー色 */

  --font-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;

  --container-width: 1400px; /* PC（Personal Computer）表示時のコンテンツ幅の基準値 */

  /* 【フォントサイズスケールについて】
     本文（.greeting-text等）の1rem(16px)を基準に、見出し比率のご指定（本文23px:見出し32px ≒ 1.3913倍）
     を「r」として、そのままページ全体のスケールに展開している。
     　Level -1（キャプション）  = 1rem ÷ r  ≒ 0.72rem（11.5px）
     　Level -0.5（ナビ・ボタン）= 1rem ÷ √r ≒ 0.85rem→実運用で0.9remに調整（13.6〜14.4px）
     　Level  0（本文）          = 1rem（16px）
     　Level +0.5（小見出し）    = 1rem × √r ≒ 1.18rem（18.9px）
     　Level +1（セクション見出し）= 1rem × r  ≒ 1.39rem（22.3px）
     　Level +2（ヒーロー大見出し）= 1rem × r² ≒ 1.94rem（31px） */
  --fs-caption:    0.72rem;
  --fs-secondary:   0.9rem;
  --fs-body:          1rem;
  --fs-subheading: 1.18rem;
  --fs-heading:    1.39rem;
  --fs-heading-lg: 1.94rem;
}

.d-flex {
  display: flex;
}

/* ==========================================================================
   Reset / Base
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: var(--font-base);
  color: var(--color-text);
  line-height: 1.8;
  background: #ffffff;
  overflow-x: hidden;
}

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

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

ul, ol, dl {
  list-style: none;
}

.inner {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  border-bottom: 1px solid var(--color-gray-border-light);
  padding: 28px 0;
  background: #fff;
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  height: clamp(28px, 4vw, 36px);
  width: auto;
}

header .logo-icon.black {
  display: none;
}
header.is-scrolled .logo-icon.black {
  display: block;
}
header .logo-icon.white {
  display: block;
}
header.is-scrolled .logo-icon.white {
  display: none;
}

.gnav {
  flex: 1;
}

.gnav ul {
  display: flex;
  justify-content: flex-end;
  gap: clamp(14px, 2.5vw, 24px);
  margin-right: 24px;
}

.gnav a {
/*  font-size: clamp(0.82rem, 0.6vw + 0.7rem, var(--fs-secondary));*/
  font-weight: 500;
  color: var(--color-text);
  white-space: nowrap;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.gnav a:hover,
.gnav a.is-current {
  color: var(--color-cta);
  border-bottom-color: var(--color-cta);
}

.cta-button {
  flex-shrink: 0;
  background: #0000ff;
  color: #ffffff;
  font-size: var(--fs-secondary);
  font-weight: 500;
  padding: 2px 20px;
  border-radius: 50px;
  white-space: nowrap;
  transition: background 0.2s ease;
  border:1px solid #0000ff;
}

.cta-button:hover {
  background: #fff;
  color: #000;
}

.cta-button--gnav {
  display: none;
}

.gnav__anchor {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

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

/* ==========================================================================
   Top page: 透明ヘッダー（トップページ限定）
   ========================================================================== */
.site-header--transparent,
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  transition: background 0.3s ease;
}
.site-header--transparent {
  border-bottom: none;
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.site-header--transparent .gnav a {
  color: #ffffff;
  transition: color 0.3s ease;
}

.site-header--transparent .gnav a:hover,
.site-header--transparent .gnav a.is-current {
  color: #ffffff;
  border-bottom-color: #ffffff;
}
.site-header--transparent .gnav.is-open a {
  color: #fff;
}

.site-header--transparent .menu-toggle span {
  background: #ffffff;
  transition: background 0.3s ease;
}

/* ==========================================================================
   Top page: スクロール後のヘッダー配色切り替え（白文字→黒文字）
   ========================================================================== */
.site-header--transparent.is-scrolled,
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 1);
  border-bottom: 1px solid var(--color-gray-border-light);
}

.site-header--transparent.is-scrolled .gnav a {
  color: var(--color-text);
}

.site-header--transparent.is-scrolled .gnav a:hover,
.site-header--transparent.is-scrolled .gnav a.is-current {
  color: var(--color-cta);
  border-bottom-color: var(--color-cta);
}

.site-header--transparent.is-scrolled .menu-toggle span {
  background: var(--color-navy);
}

/* ==========================================================================
   Top page FV（ファーストビュー）: フルスクリーンスライダー + キャッチコピー + ティッカー
   ========================================================================== */
.fv {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: #1a1a1a;
}

.fv__slider {
  position: absolute;
  inset: 0;
}

.fv__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.fv__slide.is-active {
  opacity: 1;
}

.fv__slide-image {
  position: absolute;
  inset: 0;
}

.fv__slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
  transform: scale(1.16); /* 変更：非アクティブ時も常にこの拡大率を保つ（戻り先をゼロにしない） */
  transition: transform 1.2s ease; /* 追加：アニメーションが外れて基準値に戻る瞬間も滑らかに収束させる */
}
/* 追加：アクティブなスライドの画像だけがじわっと拡大する */
.fv__slide.is-active .fv__slide-image img {
  animation: fv-kenburns 8s ease-out forwards;
}

@keyframes fv-kenburns {
  from { transform: scale(1.08); }
  to   { transform: scale(1.18); }
}

.fv__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.55) 100%);
  z-index: 1;
}

.fv__catch {
  position: absolute;
  z-index: 2;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  left: clamp(20px, 5vw, 64px);
  bottom: clamp(90px, 14vw, 150px);
}

.fv__catch-line {
  display: inline-block;
  background: #000000;
  color: var(--color-heading-accent);
  font-weight: 700;
  padding: 0.1em 0.35em;
  font-size: clamp(1.1rem, 1vw + 1rem, 1.6rem);
  line-height: 1.5;
}

.fv__catch-line em {
  font-style: normal;
  font-weight: 700;
  color: #ffffff;
}

.fv__catch-line em.fv__em--green {
  color: #4ce0a0;
}

.fv__catch-line em.fv__em--yellow {
  color: #ffe14d;
}

.fv__logotype {
  position: absolute;
  z-index: 2;
  font-family: Oswald, Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: clamp(2.5rem, 8vw, 7rem);
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1;
  left: clamp(20px, 5vw, 64px);
  bottom: clamp(30px, 6vw, 60px);
}

/* ==========================================================================
   Top page FV: スライドごとのキャッチコピー・透かし文字 個別配置
   ========================================================================== */
.fv__slide--company .fv__catch {
  left: clamp(20px, 5vw, 64px);
  bottom: clamp(150px, 20vw, 240px);
}

.fv__slide--company .fv__logotype {
  left: clamp(20px, 5vw, 64px);
  bottom: clamp(80px, 13vw, 120px);
}

.fv__slide--business .fv__logotype {
  left: auto;
  right: clamp(20px, 5vw, 64px);
/*  top: clamp(90px, 16vw, 160px);*/
  bottom: clamp(80px, 13vw, 120px);
  text-align: right;
}

.fv__slide--business .fv__catch {
  left: clamp(20px, 5vw, 64px);
  bottom: clamp(90px, 14vw, 150px);
}

.fv__slide--recruit .fv__logotype {
  left: clamp(20px, 5vw, 64px);
  top: clamp(90px, 16vw, 160px);
  bottom: auto;
}

.fv__slide--recruit .fv__catch {
  left: clamp(20px, 5vw, 64px);
  bottom: clamp(90px, 14vw, 150px);
}

/* ---- ニュースティッカー -------------------------------------------- */
.fv__ticker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  height: clamp(40px, 5vw, 52px);
  background: var(--color-orange);
}

.fv__ticker-label {
  flex-shrink: 0;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 clamp(12px, 2vw, 24px);
  background: #000000;
  color: #ffffff;
  font-weight: 700;
  font-size: clamp(0.72rem, 0.8vw + 0.5rem, 0.92rem);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.fv__ticker-viewport {
  flex: 1;
  position: relative;
  height: 100%;
  overflow: hidden;
}

.fv__ticker-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 clamp(12px, 2vw, 24px);
  color: #1a1a1a;
  font-weight: 500;
  /* 【overflow:hiddenについて】マーキー表示のときにテキストが左右にはみ出るため、
     項目自体の範囲外を隠す。はみ出た部分が見えてしまうと、隣の要素と
     文字が重なって見えるなど表示が崩れるのを防ぐ */
  overflow: hidden;
  /* 【translateY(100%)について】次に表示される項目は、まず表示エリアの
     真下に隠れた位置で待機させておく。ここから上へせり上がってくることで
     「下から迫り出してくる」動きを表現する。
     【opacityを使わない理由】以前はtranslateX＋opacityのフェード込みで
     切り替えていたが、動きが中途半端に見えるとのことだったため、
     不透明度は常に1のまま、位置の移動だけで見せるシンプルな動きに変更した */
  transform: translateY(100%);
}

/* 【transitionをここに書かない理由】読み込み直後（リロード直後）の最初の描画から
   transitionが効いてしまうと、最初から表示されているはずの項目まで
   「下からせり上がって」見えてしまう。そのため基本状態では
   transitionなしにしておき、下の.is-readyが付いたときだけ有効化する */

/* 【is-readyについて】JS側で、初期セットアップが完了した直後（次の描画フレーム）に
   .fv__ticker-viewportへ付与するクラス。これが付いた後の状態変化（＝スライド切り替え時）
   にだけtransitionが効くようにすることで、初回表示時の意図しないアニメーションを防ぐ */
.fv__ticker-viewport.is-ready .fv__ticker-item {
  transition: transform 0.5s ease;
}

.fv__ticker-item.is-active {
  transform: translateY(0);
}

/* 【fv__ticker-item__textについて】ニュース本文そのもの。
   通常時は左詰めで静止表示するが、幅が収まらない場合のみ
   .is-marqueeクラスが付与され、右→左へ流れるアニメーションが動く */
.fv__ticker-item__text {
  display: inline-block;
  white-space: nowrap;
  font-size: clamp(0.8rem, 0.4vw + 0.7rem, 0.95rem);
}

/* 【is-marqueeについて】JS側で「テキスト幅 > 表示できる幅」と判定した場合のみ
   付与されるクラス。--marquee-from/--marquee-to/animation-durationは
   テキストの実際の幅に応じてJSが計算し、インラインスタイルとして
   個別にセットする（テキストの長さごとに移動距離・速度が変わるため） */
.fv__ticker-item__text.is-marquee {
  animation-name: ticker-marquee;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

/* 【なぜtranslateXの値をpx指定のCSS変数で渡すか】
   transformのtranslateX(%)は「要素自身の幅」に対する割合になってしまい、
   「左揃えの位置から、テキスト全体が画面外に抜けきるまで」という
   正確な距離を表現できない。そのため%ではなくJSで計算した実ピクセル値を
   CSS変数として渡し、それをそのままtransformに使う設計にしている。
   開始位置(--marquee-from)は基本的に0px（＝左揃えの通常表示位置）になるため、
   読み込み直後・項目切り替え直後はまず静止した左揃え表示に見え、
   そこから左へ流れ始める */
@keyframes ticker-marquee {
  from {
    transform: translateX(var(--marquee-from, 0px));
  }
  to {
    transform: translateX(var(--marquee-to, 0px));
  }
}

/* 【is-leavingについて】退場する項目は、新しく下からせり上がってくる項目に
   押し出されるように、そのまま上へ抜けていく。新旧が同じ方向（上）へ
   同時に動くことで、「新しい項目が古い項目を突き上げて押し出す」ような
   一体感のある縦方向の切り替わりになる */
.fv__ticker-item.is-leaving {
  transform: translateY(-100%);
}

.fv__ticker-controls {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 100%;
  padding: 0 clamp(8px, 1.5vw, 16px);
  background: rgba(0, 0, 0, 0.15);
}

.fv__ticker-btn {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  color: #ffffff;
  border: none;
  border-radius: 2px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.fv__ticker-btn:hover {
  background: rgba(0, 0, 0, 0.55);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  width: 90%;
  height: clamp(200px, 30vw, 245px);
  overflow: hidden;
  background: #ffffff;
  margin-top: 68px;
  --hero-shear: 100px;
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--hero-shear)) 100%, 0 100%);
}
 
.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    #666666 0%,
    #7d7c7c 10%,
    #939292 20%,
    #aaa8a8 30%,
    #c1bfbe 40%,
    #d7d5d4 50%,
    #d7d5d4 100%
  );
  z-index: 0;
}
 
.hero__bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: clamp(28px, 3.5vw, 48px);
  background: #58585a;
  z-index: 2;
}
 
.hero__image {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  --hero-offset: 500px;
  left: var(--hero-offset);
  z-index: 1;
  clip-path: polygon(
    calc(((100% + var(--hero-offset)) * 0.34) - var(--hero-offset)) 0, 
    100% 0, 
    calc(100% - var(--hero-shear)) 100%, 
    calc(((100% + var(--hero-offset)) * 0.34) - var(--hero-offset) - var(--hero-shear)) 100%
  );
}

.hero__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(35%);
}
 
.hero__title {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-38%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
 
.hero__title-line {
  display: block;
  height: 3px;
  background: var(--color-heading-accent);
}
 
.hero__title-line--top {
  width: clamp(90px, 9vw, 130px);
}
 
.hero__title-line--bottom {
  width: 445px;
  margin-left: 70px;
}
 
.hero__title h1 {
  background: #000000;
  color: var(--color-heading-accent);
  padding: clamp(10px, 1.8vw, 10px) clamp(24px, 3vw, 40px) clamp(12px, 1.8vw, 10px) 65px;
  font-size: clamp(1.5rem, 3.2vw, var(--fs-heading-lg));
  font-weight: 400;
  letter-spacing: 0.08em;
}
 
.hero__title-en {
  color: #ffffff;
  font-size: clamp(0.8rem, 1vw + 0.5rem, 1.05rem);
  letter-spacing: 0.15em;
  margin-left: 300px;
  margin-top: 4px;
}
.policy .hero__title-en {
  margin-left: 370px;
}

/* ==========================================================================
   Anchor Nav（ページ内リンクボタン）
   ========================================================================== */
.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(8px, 1.5vw, 14px);
  margin: clamp(20px, 4vw, 32px) 0;
}

.anchor-nav a {
  display: inline-block;
  padding: clamp(10px, 1.5vw, 12px) clamp(18px, 3vw, 30px);
  border: 1px solid var(--color-gray-border);
  border-radius: 3px;
  font-size: clamp(0.9rem, 0.3vw + 0.85rem, var(--fs-secondary));
  font-weight: 500;
  color: var(--color-text);
  background: #ffffff;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.anchor-nav a:hover {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: #ffffff;
}

/* ==========================================================================
   Section common
   ========================================================================== */
.section {
  margin-bottom: clamp(36px, 6vw, 70px);
  scroll-margin-top: clamp(70px, 10vw, 90px);
}

.section-heading {
  background: var(--color-gray-bar);
  border-bottom: 2px solid var(--color-gray-bar-border);
  --heading-pb: 10px;
  padding: 10px 0 10px 40px;
  font-size: clamp(1.32rem, 0.28vw + 1.28rem, var(--fs-heading-lg));
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: clamp(18px, 3vw, 28px);
}

.section-heading__text {
  position: relative;
  display: inline-block;
}

.section-heading__text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: calc(-1 * (var(--heading-pb) + 2px));
  width: 100%;
  height: 4px;
  background: var(--color-heading-accent);
}

.section-body {
  padding-left: 230px;
}
.section-body.greeting {
  display: flex;
  gap: 20px;
}

  .company-profile-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 15px;
    line-height: 1.6;
  }
  .company-profile-table th,
  .company-profile-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
    vertical-align: top;
  }
  .company-profile-table th {
    width: 25%;
    background-color: #f9f9f9;
  }
  .company-profile-table ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .company-profile-table li {
    position: relative;
    padding-left: 1.2em;
    margin-bottom: 4px;
  }
  .company-profile-table li::before {
    content: "・";
    color: #000000;
    position: absolute;
    left: 0;
    top: 0;
  }
  .section--image {
    margin-top:30px;
  }

.required-note {
  display: inline-block;
  margin-top: 6px;
  color: #c0392b;
}

.required-note i {
  font-size: 0.6rem;
  vertical-align: super;
  margin-right: 3px;
}

/* ===== フォームテーブル ===== */
.contact-form {
  background: #ffffff;
  padding: 40px 0;
}

.job-table,
.form-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
}

.job-table th,
.job-table td,
.form-table th,
.form-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #e8e8e8;
  vertical-align: middle;
  text-align: left;
  font-size: 1rem;
  line-height: 1.8;
}
.job-table th,
.form-table th {
  width: 30%;
  background: #f5f5f5;
  color: #102487;
  font-weight: 500;
  white-space: nowrap;
}
.job-table td,
.form-table td {
  color: #333;
}

.required {
  color: #c0392b;
  font-size: 0.6rem;
  vertical-align: super;
  margin-left: 4px;
}

/* ===== 入力要素 ===== */
.form-table input[type="text"],
.form-table input[type="tel"],
.form-table input[type="email"],
.form-table select,
.form-table textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 1rem;
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  background: #fafafa;
  border: 1px solid #d0d0d0;
  border-radius: 2px;
  transition: border-color 0.2s, background 0.2s;
  box-sizing: border-box;
}

.form-table input[type="text"]:focus,
.form-table input[type="tel"]:focus,
.form-table input[type="email"]:focus,
.form-table select:focus,
.form-table textarea:focus {
  border-color: #102487;
  background: #ffffff;
  outline: none;
}

.form-table textarea {
  resize: vertical;
  min-height: 140px;
}

.form-table select {
  cursor: pointer;
}

.input-note {
  display: block;
  font-size: 0.75rem;
  color: #888;
  margin-top: 4px;
}

.radio-wrap,
.checkbox-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.radio-wrap label,
.checkbox-wrap label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
  color: #333;
  cursor: pointer;
}

.radio-wrap input[type="radio"],
.checkbox-wrap input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #102487;
  cursor: pointer;
}

/* ===== プライバシー注記 ===== */
.privacy-note {
  font-size: 0.8125rem;
  color: #888;
  line-height: 1.9;
  margin-bottom: 32px;
  padding: 16px 20px;
  background: #f5f5f5;
  border-left: 3px solid #d0d0d0;
}

/* ===== ボタンエリア ===== */
.form-btn-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.btn-submit {
  display: inline-block;
  background: #102487;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
  padding: 14px 60px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  letter-spacing: 0.05em;
}

.btn-submit:hover {
  background: #0b1a6a;
}

.btn-reset {
  display: inline-block;
  background: #ffffff;
  color: #888;
  font-size: 1rem;
  font-weight: 500;
  font-family: 'Noto Sans JP', sans-serif;
  padding: 14px 40px;
  border: 1px solid #d0d0d0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.05em;
}

.btn-reset:hover {
  background: #f5f5f5;
  color: #333;
}

/* ===== 個人情報保護方針同意エリア ===== */
.privacy-agree {
  margin: 24px 0;
  padding: 20px 24px;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  text-align: center;
}

.privacy-agree-text {
  font-size: 0.9375rem;
  color: #333;
  margin-bottom: 12px;
  line-height: 1.8;
}

.privacy-agree-link {
  color: #102487;
  text-decoration: underline;
  font-weight: 500;
  transition: opacity 0.2s;
}

.privacy-agree-link:hover {
  opacity: 0.7;
}

.privacy-agree-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: #333;
  cursor: pointer;
  font-weight: 500;
}

.privacy-agree-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #102487;
  cursor: pointer;
  flex-shrink: 0;
}

.btn-submit:disabled {
  background: #b0b0b0;
  cursor: not-allowed;
}

.btn-submit:disabled:hover {
  background: #b0b0b0;
}

/* ===== 確認画面・完了画面 ===== */
.confirm-heading {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 700;
  color: #102487;
  border-left: 4px solid #102487;
  padding-left: 14px;
  margin-bottom: 24px;
}

.confirm-table th {
  background: #f5f5f5;
  color: #102487;
  font-weight: 500;
  width: 30%;
  white-space: nowrap;
}

.confirm-table td {
  color: #333;
}

.error-box {
  background: #fff5f5;
  border: 1px solid #f5c6c6;
  padding: 20px 24px;
  margin-bottom: 24px;
  font-size: 0.9375rem;
  line-height: 1.9;
}

.thanks-msg {
  font-size: 1rem;
  line-height: 2;
  color: #333;
  text-align: center;
  margin-bottom: 32px;
}

/* ==========================================================================
   Greeting（代表挨拶）
   ========================================================================== */
.greeting-text {
  font-size: clamp(0.95rem, 0.2vw + 0.92rem, var(--fs-body));
  line-height: 2;
  color: var(--color-text);
  margin-bottom: clamp(16px, 3vw, 24px);
}

.greeting-photo {
  width: 400px;
} 

.greeting-sign {
  text-align: right;
  font-size: clamp(0.92rem, 0.2vw + 0.88rem, var(--fs-body));
  color: var(--color-text-sub);
}

/* ==========================================================================
   History（会社沿革）
   ========================================================================== */
.history-list {
  display: flex;
  flex-direction: column;
}

.history-item {
  display: flex;
  align-items: baseline;
  flex-direction: column;
  padding: clamp(12px, 2vw, 16px) 0;
  border-bottom: 1px solid var(--color-gray-border-light);
}

.history-item dt {
  flex-shrink: 0;
  width: 200px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.history-item dt.month {
	width: 230px;
}

.history-item .year {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-year);
}

.history-item .era {
  font-size: var(--fs-secondary);
  font-weight: 700;
  color: #000;
}

.history-item dd {
  font-size: clamp(0.95rem, 0.2vw + 0.92rem, var(--fs-body));
  color: var(--color-text);
  line-height: 1.9;
}

/* ==========================================================================
   Offices（営業所一覧・アクセス）
   ========================================================================== */
.office-list {
  display: flex;
  flex-direction: column;
}

.office-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(20px, 4vw, 40px);
  padding: clamp(18px, 3vw, 26px) 0;
  border-bottom: 1px solid var(--color-black-border);
}

.office-item:first-child {
  padding-top: 0;
}

.office-info {
  flex: 1;
}

.office-name {
  font-size: var(--fs-subheading);
  font-weight: 700;
  margin-bottom: 6px;
}

.office-map a {
  color: var(--color-year);
  font-size: var(--fs-secondary);
}

.office-map a:hover {
  text-decoration: underline;
}

.office-address,
.office-tel,
.office-fax {
  font-size: var(--fs-body);
  color: var(--color-text-sub);
}

.office-photo {
  flex-shrink: 0;
  width: 450px;
  height: 236px;
  overflow: hidden;
  border-radius: 2px;
}

.office-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Policy（ポリシー関係）
   ========================================================================== */
.right {
  text-align: right;
}

/* ==========================================================================
   Top page: section-block（会社情報 / 事業案内 共通レイアウト）
   ========================================================================== */
.section-block {
  padding: clamp(48px, 8vw, 96px) 0;
  background: #ffffff;
}
.section-body h3 {
  letter-spacing: .02em;
  margin-top: 3.5rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
}
.aboutus .section-body h3 {
  margin-top:0;
}

.section-body h4 {
  letter-spacing: .02em;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.6;
}
.business .section-body h4 {
  margin-top: 0;
}
.recruit .section-body .message-text .plate h4 {
	margin-bottom: 0;
} 

.section-block--alt {
  background: #cccccc;
}

.section-block__grid {
  display: flex;
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
}

.section-block__photo {
  flex: 0 0 42%;
}

.section-block__photo img {
  width: 100%;
  height: auto;
  border-radius: 2px;
}

.section-block__body {
  flex: 1;
}

.section-block__title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: clamp(1.5rem, 2.5vw, 3rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: clamp(16px, 2.5vw, 24px);
  line-height: 1.5;
}

.section-block__title-en {
  font-size: var(--fs-secondary);
  font-family: Oswald;
  font-weight: 500;
  color: var(--color-year);
  letter-spacing: 0.1em;
}

.section-block__text {
  font-size: var(--fs-heading);
  font-family: Oswald, Arial, Helvetica, sans-serif;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: clamp(20px, 3vw, 32px);
}

.section-block__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-orange);
  color: #000000;
  font-weight: 500;
  font-size: var(--fs-secondary);
  padding: 0.7em 1.6em;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.section-block__link:hover {
  background: var(--color-orange-hover);
}
.section-body {
  border-left: 1px solid #000;
  padding-left: 50px;
  margin-left: 230px;
}

.business .section-body h3 {
  margin-top: 50px;
}
.business .strong--points img {
  max-width: 100%;
  width: 800px;
}
.business .section-body ul li,
.sqeactions .section-body ul li {
  position: relative;
  padding-left: 1.2em;
}
.sqeactions .section-body ul li::before,
.business .section-body ul li::before {
  position: absolute;
  left: 0;
  top: 0;
  content: "■";
  color: #f7941d;
  margin-right: 5px;
}
.business .greeting-text {
  margin-bottom: 10px;
}
.recruit .case--list,
.business .case .case--list {
  display: flex;
  gap: 32px;
  margin-top: 10px;
}
.recruit .case--list li,
.business .case .case--list li {
  width: calc(100% / 2 - 32px);
  background: #f7f6f0;
  padding: 32px 40px;
  border-radius: 16px;
}
.recruit .case--list li::before,
.business .case .case--list li::before {
  content: none;
}
.recruit .case--list li h4::before,
.business .case .case--list li h4::before {
  content: "■";
  color: #f7941d;
  margin-right: 5px;
}
.recruit .case--list li ul li,
.business .case .case--list li ul li {
  width: 100%;
  padding: 0 10px;
  margin: 0;
  position: relative;
}
.recruit .case--list li ul,
.business .case .case--list li ul {
  margin-left: 10px;
}
.recruit .case--list li ul li::marker,
.business .case .case--list li ul li::marker {
  content: "■";
  position: absolute;
  font-size: 0.5em;
}
.recruit .case--list.over-item,
.business .case .case--list.over-item {
  flex-wrap:wrap;
}

.tics {
	gap:20px;
}

.tics .section--image {
	margin: 0;
	width: 500px;
}

.tics .section-block__link {
	margin-top: 20px;
}

/* ==========================================================================
   Safety Awards（安全衛生 表彰状ギャラリー）
   ========================================================================== */
.safety-awards {
  display: flex;
  gap: clamp(16px, 3vw, 32px);
  margin-top: clamp(20px, 3vw, 32px);
}

.safety-awards__item {
  width: calc((100% - (clamp(16px, 3vw, 32px) * 2)) / 3);
  text-align: center;
  padding-left: 0!important;
}
.safety-awards .safety-awards__item::before {
	content: none!important;
}

.safety-awards__item img {
  width: 100%;
  height: auto;
  border: 1px solid var(--color-gray-border);
  background: #ffffff;
}
.safety-awards__item:first-child {
	display: flex;
	flex-direction:column;
	align-items:center;
}
.safety-awards__item:first-child .safety-awards__item--img img {
	width: 200px;
	text-align: center;
}

.safety-awards__caption {
  margin-top: clamp(10px, 1.5vw, 14px);
  font-size: var(--fs-secondary);
  font-weight: 500;
  color: var(--color-text);
}

/* ==========================================================================
   Recruit
   ========================================================================== */
.recruit .content .item {
    width: calc(100% / 2 - 1rem);
    background: none;
}
.recruit .content .item::before {
    content: none;
}
.recruit .message {
    background: #f7f6f0;
    border-radius: 16px;
    padding: 50px;
    gap: 2rem;
    margin-bottom: 25px;
}
.recruit .message .profile-data {
    width: 30%;
}
.recruit .message .message-text {
    width: 100%;
}
.recruit .message .message-text .plate h4 span {
	font-size: 1rem;
}

.recruit .message .profile-data p {
    padding-top: .5rem;
    margin-bottom: 0;
}
.recruit .message .profile-data p span:last-child {
    font-size: 1.2rem;
    font-weight: 700;
}
.recruit .itemBox .menu-items {
    margin: 30px auto;
}
.recruit .itemBox .menu-items .item {
    max-width: calc(100% / 2 - 1rem);
}
.recruit .section-body h4:first-child {
  margin-top: 0;
}
        .faq-title {
            text-align: center;
            color: var(--color-text);
            margin-bottom: 40px;
            position: relative;
            padding-bottom: 15px;
        }
        .faq-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 4px;
            background-color: #0056b3;
            border-radius: 2px;
        }
        .faq-category {
            margin-bottom: 40px;
        }

        .faq-item {
            background-color: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 6px;
            margin-bottom: 15px;
            overflow: hidden;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
        }
        
        .faq-question {
            padding: 18px 20px;
            font-weight: bold;
            font-size: 16px;
            display: flex;
            align-items: flex-start;
            border-bottom: 1px solid #edf2f7;
            background-color: #ffffff;
        }
        .icon-q {
            color: #0056b3;
            font-size: 1.5rem;
            font-weight: bold;
            width: 25px;
            height: 25px;
            border-radius: 4px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-right: 12px;
            flex-shrink: 0;
            margin-top: 2px;
        }
        .text-q {
            color: var(--color-text);
        }

        .faq-answer {
            padding: 20px 20px 20px 56px;
            font-size: var(--fs-body);
            color: var(--color-text);
            position: relative;
        }
        .faq-answer::before {
            content: "A.";
            position: absolute;
            left: 25px;
            top: 20px;
            font-size: 1.5rem;
            font-weight: bold;
            color: #e53e3e;
            line-height: 1;
        }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  margin-top: 60px;
  background: #f2f2f2;
}

.footer-main {
  padding: 34px 0;
  display: flex;
  justify-content: space-between;
}


.footer-logo {
  display: flex;
  gap: 10px;
}

.footer-address {
  margin-top: 10px;
  font-size: var(--fs-secondary);
  color: var(--color-text-sub);
}

.right-area ul:last-child {
	margin-top: 10px;
}

.footer-copyright {
  background: #1b3175;
  padding: 14px 0;
}

.footer-copyright p {
  color: #ffffff;
  font-size: var(--fs-caption);
  letter-spacing: 0.05em;
}
.gnav ul.gnav__anchor {
  display: none;
}

/* ==========================================================================
   Scroll to top（ページ先頭へ戻るボタン）
   ========================================================================== */
.scroll-top {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 30; /* 透明ヘッダー(z-index:20)より手前、常に最前面に表示する */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: var(--color-navy);
  color: #ffffff;
  cursor: pointer;
  /* 【初期状態について】ページ最上部では非表示にしておく。
     opacityだけでなくvisibilityも切り替えることで、非表示中はクリックも
     できない状態にする（見えないのに裏でクリック判定が残るのを防ぐため） */
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background 0.2s ease;
}

/* 【is-visibleについて】JS側で一定量スクロールした時点で付与されるクラス */
.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--color-navy-dark);
}

.scroll-top__arrow {
  font-size: 1.1rem;
  line-height: 1;
}

.scroll-top__label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
}

/* ===================================
   サンクスページ用スタイル
   =================================== */

.thanks-box {
  max-width: 680px;
  padding: 56px 48px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  text-align: center;
}

.thanks-icon {
  font-size: 64px;
  color: #4caf50;
  margin-bottom: 24px;
  line-height: 1;
}

.thanks-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
  color: #1a1a1a;
}

.thanks-text {
  font-size: 0.97rem;
  line-height: 2;
  color: #333;
  margin-bottom: 24px;
}

.thanks-note {
  font-size: 0.82rem;
  line-height: 1.9;
  color: #777;
  background: #f8f8f8;
  border-left: 3px solid #222;
  padding: 16px 20px;
  text-align: left;
  margin-bottom: 36px;
  border-radius: 0 2px 2px 0;
}

.thanks-tel {
  border-top: 1px solid #222;
  padding-top: 32px;
  margin-bottom: 40px;
}

.thanks-tel-label {
  font-size: 0.88rem;
  color: #555;
  margin-bottom: 8px;
}

.thanks-tel-label i {
  margin-right: 6px;
}

.thanks-tel-number {
  display: inline-block;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #1a1a1a;
  text-decoration: none;
  margin-bottom: 6px;
  pointer-events: none;
}

.thanks-tel-hours {
  font-size: 0.82rem;
  color: #777;
}

.thanks-btn-wrap {
  margin-top: 8px;
}

.thanks-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 40px;
  background: #1a1a1a;
  color: #fff!important;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s, opacity 0.2s;
}

.thanks-btn:hover {
  background: #333;
  opacity: 0.85;
}

/* 404 */
 .error-section {
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    padding: 60px 0;
    margin-top: 60px;
  }
  .error-inner {
    text-align: center;
    padding: 0 20px;
  }
  .error-code {
    font-family: 'Shippori Mincho B1', serif;
    font-size: clamp(5rem, 15vw, 10rem);
    font-weight: 400;
    color: #102487;
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.15;
  }
  .error-title {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 700;
    color: #1b3175;
    margin-bottom: 16px;
  }
  .error-text {
    font-size: 1rem;
    color: #555;
    line-height: 2;
    margin-bottom: 40px;
  }
  .error-btn-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
  }
  .error-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1b3175;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    padding: 14px 40px;
    text-decoration: none;
    transition: background 0.2s;
  }
  .error-btn-primary:hover {
    background: #0b1a6a;
  }
  .error-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #1b3175;
    font-size: 1rem;
    font-weight: 500;
    padding: 14px 40px;
    text-decoration: none;
    border: 1px solid #1b3175;
    transition: background 0.2s, color 0.2s;
  }
  .error-btn-secondary:hover {
    background: #102487;
    color: #ffffff;
  }


/* 【PC（デフォルト）の位置指定について】
   SP幅のようにposition:fixedへ切り替えず、.daihatsulogo自身を基準にした
   position: absoluteのままにしている。画面の実際の右端に揃えたいのは
   SP幅のときだけ、というご要望のため、PC幅ではこれまで通りの見え方を維持する */
.daihatsulogo {
	position: relative;
	display: block;
}
.daihatsulogo li {
	position: absolute;
	right: 0;
	top: 46px;
	width: 160px;
	height: 45px;
}
.daihatsulogo li img {
	border-left: 1px solid var(--color-gray-border-light);
	border-right: 1px solid var(--color-gray-border-light);
	border-bottom: 1px solid var(--color-gray-border-light);
}



/* ==========================================================================
   SP（SmartPhone）対応
   憲法ルールに従い、ブレイクポイントは max-width: 768px。
   メディアクエリは別ファイルに分けず、このCSSファイルの末尾にまとめて記載する。
   ========================================================================== */
@media (max-width: 768px) {
/* 常時存在させておき、開閉時はopacityだけ切り替えて滑らかにフェードさせる */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 15; /* .site-header(20)より下、通常コンテンツより上 */
  background: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

body:has(.gnav.is-open)::before {
  opacity: 1;
  visibility: visible;
}
	.pc {
		display: none;
	}

  /* ---- Header ----------------------------------------------------------
     グロナビ5項目+CTAは768px以下では横に収まらないため、
     ハンバーガーメニューに切り替える */
  .site-header {
    padding: 14px 0;
  }
  .site-header .inner {
    position: relative;
  }

  .gnav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    /*border-top: 1px solid var(--color-gray-border-light);*/
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 9999;
  }

  .gnav.is-open {
    max-height: 480px;
	overflow-y: auto; /* 追加：480pxを超えた分はスクロールで見られるようにする */
	-webkit-overflow-scrolling: touch; /* 追加：iOS Safariで指を離した後も慣性で滑らかにスクロールする */
	overscroll-behavior: contain; /* 追加：メニュー内スクロールが端に達しても、背面のページ本体までスクロールが伝わらないようにする */
  }

  .gnav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
  }

  .gnav a {
    display: block;
    padding: 14px clamp(16px, 5vw, 24px);
    border-bottom: 1px solid var(--color-gray-border-light);
    white-space: normal;
  }
  .gnav a.is-current,
  .gnav a:hover {
    border-bottom: 1px solid var(--color-gray-border-light);
    background: #f7f9fc;
  }
  .site-header--transparent .gnav.is-open ul li a {
	  color:#000;
  }
  .site-header--transparent.is-scrolled .gnav a,
  .site-header--transparent.is-scrolled .gnav.is-open ul li a.cta-button--gnav {
	  color:#fff;
  }
  .gnav ul.gnav__anchor {
    display: block;
  }
  .gnav__anchor {
    display: block;
    border-top: 6px solid #f2f2f2;
    padding: 10px 0 4px;
  }
  .gnav__anchor a {
    display: block;
    padding: 12px clamp(16px, 5vw, 24px);
    font-size: var(--fs-secondary);
    color: var(--color-year);
    border-bottom: 1px solid var(--color-gray-border-light);
  }

  .cta-button--header {
    display: none;
  }

  .cta-button--gnav {
    display: block;
    margin: 12px clamp(16px, 5vw, 24px) 4px;
    text-align: center;
  }

  .menu-toggle {
    display: flex;
  }
  
  .business .case .case--list li {
	  padding: 5vw;
  }
  .gnav__anchor .text {
	  margin-left: 18px;
  }
  
  /* ---- Common --------------------------------------------------- */
  .section-body {
    padding-left: 10px;
    padding-right: 10px;
    margin-left: 0;
    border: none;
  }
  .d-flex {
	  flex-direction:column;
  }
  .hero {
    margin-bottom: 30px;
    clip-path: none;
    width: 100%;
  }
  .hero__title-en {
    margin-left: 65px;
  }

  .section-heading {
    padding-left: 10px;
  }

    .company-profile-table th, 
    .company-profile-table td {
      display: block;
      width: 100%;
      box-sizing: border-box;
    }
    .company-profile-table th {
      background-color: #f1f1f1;
      padding: 8px 16px;
      border-bottom: none;
    }
    .company-profile-table td {
      padding: 10px 16px 20px 16px;
    }
    
    .section-body h3 {
	    font-size: 1.375rem;
    }
    .section-heading + p,
    .section p:not:has(.greeting-text) {
	    padding-left: 10px;
	    padding-right: 10px;
    }

  /* ---- Anchor Nav ---------------------------------------------------
     【非表示化の理由】SP幅ではボタンが縦積みになり画面を大きく占有してしまうため、
     768px以下では非表示にする。ユーザーはスクロールで各セクションへ到達できるため
     機能的な問題はない */
  .anchor-nav {
    display: none;
  }

  /* ---- Greeting（ご挨拶）
  */
  .section-body.greeting {
    flex-direction: column;
    align-items: center;
  }
  .greeting-photo {
    width: 300px;
  }

  /* ---- History（会社沿革） -------------------------------------------
     憲法ルール「3ステップは縦並び」に準拠し、年号と説明文を縦に積む */
  .history-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .history-item dt {
    width: auto;
  }

  /* ---- Offices（営業所一覧） -----------------------------------------
     グリッドを1列に変更。写真は情報の下に配置し、幅は100%にする */
  .office-item {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .office-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 260 / 150;
  }

  /* ---- Top page: FV（ファーストビュー） -------------------------------
     SP幅ではキャッチコピー・ロゴ風テキストを縮小し、ティッカーの文字量も
     画面に収まるよう小さくする */
  .fv {
    height: 100svh;
    min-height: 480px;
  }

  .fv__catch,
  .fv__slide--business .fv__catch,
  .fv__slide--recruit .fv__catch {
    left: 16px;
    right: 16px;
    bottom: 120px;
    top: auto;
  }

  .fv__catch-line {
    /*font-size: 0.95rem;*/
    padding: 0.3em 0.5em;
  }

  .fv__logotype,
  .fv__slide--business .fv__logotype,
  .fv__slide--recruit .fv__logotype {
    left: 16px;
    right: auto;
    bottom: 60px;
    top: auto;
    text-align: left;
    font-size: 3.5rem;
  }

  .fv__ticker-label {
    padding: 0 10px;
    font-size: 0.62rem;
  }

  /* ---- Top page: section-block（会社情報・事業案内） -------------------
     憲法ルール「グリッドは1列に変更」に準拠し、写真とテキストを縦積みにする */
  .section-block__grid,
  .section-block__grid--reverse {
    flex-direction: column;
    align-items: stretch;
  }

  .section-block__photo {
    flex: none;
  }
.safety-awards {
    flex-direction: column;
  }

  .safety-awards__item {
    width: 100%;
  }

  /* ---- Scroll to top ---------------------------------------------------
     SP幅ではボタンを少し小さくし、指のタップ領域を確保しつつ
     コンテンツの邪魔になりすぎないサイズに調整する */
  .scroll-top {
    width: 46px;
    height: 46px;
    right: 12px;
    bottom: 12px;
  }

  .scroll-top__arrow {
    font-size: 0.95rem;
  }

  .scroll-top__label {
    font-size: 0.56rem;
  }

  /* ---- Footer --------------------------------------------------------- */
  .footer-main {
    flex-direction: column;
  }

  .footer-main .left-area {
    order: 2;
    margin-top: 50px;
  }

  .footer-main .left-area {
    order: 1;
  }

  .footer-address {
    line-height: 1.8;
  }


  .form-table th,
  .form-table td {
    display: block;
    width: 100%;
    padding: 10px 12px;
  }

  .form-table th {
    border-bottom: none;
    margin-top: 8px;
  }

  .form-btn-wrap {
    flex-direction: column;
    gap: 12px;
  }

  .btn-submit,
  .btn-reset {
    width: 100%;
    text-align: center;
  }

/* ===================================
   サンクスページ用スタイル
   contact.css の末尾に追記してください
   =================================== */

.thanks-box {
  max-width: 680px;
  margin: 60px auto 80px;
  padding: 56px 48px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  text-align: center;
}

.thanks-icon {
  font-size: 64px;
  color: #4caf50;
  margin-bottom: 24px;
  line-height: 1;
}

.thanks-title {
  font-family: 'Shippori Mincho B1', serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
  color: #1a1a1a;
}

.thanks-text {
  font-size: 0.97rem;
  line-height: 2;
  color: #333;
  margin-bottom: 24px;
}

.thanks-note {
  font-size: 0.82rem;
  line-height: 1.9;
  color: #777;
  background: #f8f8f8;
  border-left: 3px solid #ccc;
  padding: 16px 20px;
  text-align: left;
  margin-bottom: 36px;
  border-radius: 0 2px 2px 0;
}

.thanks-tel {
  border-top: 1px solid #e0e0e0;
  padding-top: 32px;
  margin-bottom: 40px;
}

.thanks-tel-label {
  font-size: 0.88rem;
  color: #555;
  margin-bottom: 8px;
}

.thanks-tel-label i {
  margin-right: 6px;
}

.thanks-tel-number {
  display: inline-block;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #1a1a1a;
  text-decoration: none;
  margin-bottom: 6px;
  pointer-events: none;
}

.thanks-tel-hours {
  font-size: 0.82rem;
  color: #777;
}
.recruit .case--list,
.business .case .case--list {
	flex-direction: column;
}
.recruit .case--list li,
.business .case .case--list li {
	width: 100%;
}

.faq-title {
                margin-bottom: 30px;
            }
            .category-name {
                padding: 8px 15px;
            }
            .faq-question {
                padding: 15px;
            }
            .faq-answer {
                padding: 15px 15px 15px 42px;
            }
            .faq-answer::before {
                left: 15px;
                top: 14px;
            }
            .icon-q {
                width: 20px;
                height: 20px;
                margin-right: 8px;
                margin-top: 2px;
            }

.recruit .message {
	gap: 1rem;
}
.recruit .section-body .plate h4 {
	margin-bottom: 0;
}

.recruit .message .profile-data {
	width: 60%;
}

  /* 【position: fixedについて】画面幅の実際の右端にピタッと揃えたいのはSP幅の
     ときだけ、というご要望のため、この位置(SP専用メディアクエリの中)でのみ
     position: fixedに切り替える。.site-header--transparentにはbackdrop-filterが
     指定されており、backdrop-filterを持つ要素はfixed配置の子要素にとっての
     基準（containing block）になるという仕様があるため、position:fixedにしても
     ブラウザの画面全体ではなく.site-header--transparent（＝画面幅いっぱい）が
     基準になる。この要素はposition:fixedかつwidth:100%なので、
     結果的に「画面の実際の右端」に一致する */
  .daihatsulogo li {
	  position: fixed;
	  top: 68px;
	  right: 0;
	  z-index: 999;
  }
  .hero__title h1 {
	  padding-left: 7px;
  }
  .section-block__text {
	  font-size: 1.2rem;
  }
  .tics {
	  align-items: center;
  }
  .tics .section--image {
	  width: 250px;
	  text-align: center;
  }
  nav.gnav.is-open .cta-button--gnav {
	  color:#fff;
  }
  .recruit .message {
	  padding: 40px 30px;
  }
}
