/* ========================================
   CSS Custom Properties
======================================== */
:root {
  --color-primary:   #FF644E;
  --color-entry-btn: #25D2AB;
  --color-text:      #333333;
  --color-white:     #FFFFFF;
  --font-base:       'Noto Sans JP', sans-serif;

  --content-max:     1400px;
  --content-pad:     13.54%;
}

/* ========================================
   LOADING
======================================== */
.loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 480px;
  padding-inline: 2rem;
}

/* タクシーGIF */
.loading__taxi {
  width: clamp(14rem, 40vw, 24rem);
  height: auto;
  display: block;
  /* 右から左へ走るアニメ */
  animation: taxi-run 2s ease-in-out infinite alternate;
}

@keyframes taxi-run {
  0%   { transform: translateX(10px); }
  100% { transform: translateX(-10px); }
}

/* 道路ライン */
.loading__road {
  width: 100%;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    #FF644E 0px, #FF644E 30px,
    transparent 30px, transparent 50px
  );
  margin-top: -0.5rem;
  animation: road-scroll 0.6s linear infinite;
}

@keyframes road-scroll {
  0%   { background-position: 0 0; }
  100% { background-position: -50px 0; }
}

/* Loadingテキスト */
.loading__text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 700;
  color: #333333;
  letter-spacing: 0.15em;
  margin-top: 1.5rem;
}

.loading__dots span {
  display: inline-block;
  animation: dot-blink 1.2s infinite;
  opacity: 0;
}
.loading__dots span:nth-child(1) { animation-delay: 0s; }
.loading__dots span:nth-child(2) { animation-delay: 0.2s; }
.loading__dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dot-blink {
  0%, 100% { opacity: 0; }
  50%       { opacity: 1; }
}

/* ========================================
   スクロールアニメーション
   .js-fadein クラスをJSで付与
======================================== */
.js-fadein {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js-fadein.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 遅延バリエーション */
.js-fadein.delay-1 { transition-delay: 0.1s; }
.js-fadein.delay-2 { transition-delay: 0.2s; }
.js-fadein.delay-3 { transition-delay: 0.3s; }
.js-fadein.delay-4 { transition-delay: 0.4s; }
.js-fadein.delay-5 { transition-delay: 0.5s; }

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

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

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

ul { list-style: none; }

/* ========================================
   サイト全体背景画像
   - 全セクションにまたがる縦長素材
   - 最背面に固定（z-index: -1）
   - コンテンツ幅無視・全幅配置
======================================== */
.site-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.site-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ========================================
   共通：コンテンツ幅
======================================== */
.inner {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--content-pad);
}

/* ========================================
   HEADER
======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  /* 白50%透過 */
  background: rgba(255, 255, 255, 0.5);
  /* ヘッダー高さ：1920基準で99px相当 → 5.15vw */
  height: clamp(3.5rem, 5.15vw, 6.2rem);
  display: flex;
  align-items: center;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  height: 100%;
  width: 100%;
  /* ロゴ左端をFV画像左端(5.73vw)に合わせる */
  padding-left: 5.73vw;
  /* エントリーボタン右端も同じ余白に合わせる */
  padding-right: 5.73vw;
}

/* ロゴ：288×99基準 → 幅を15vwで比率維持 */
.header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  height: 100%;
}

.header__logo-img {
  width: clamp(7rem, 15vw, 18rem);
  height: auto;
  display: block;
}

/* ナビ */
.header__nav {
  flex: 1;
}

.header__nav-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
}

.header__nav-list li a {
  font-weight: 700;
  /* 18px基準 → 0.9375vw */
  font-size: clamp(0.7rem, 0.94vw, 1.125rem);
  color: var(--color-text);
  white-space: nowrap;
  padding-inline: clamp(0.4rem, 0.8vw, 0.9rem);
  transition: opacity 0.2s;
}

.header__nav-list li a:hover {
  opacity: 0.6;
}

/* 縦線の仕切り */
.header__nav-divider {
  width: 1px;
  height: clamp(0.8rem, 1.2vw, 1.2rem);
  background: var(--color-text);
  flex-shrink: 0;
}

/* エントリーボタン：174×47基準 → 比率をvwで */
.header__entry-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* 幅：174/1920 ≒ 9.06vw */
  width: clamp(7rem, 9.06vw, 10.875rem);
  /* 高さ：47/1920 ≒ 2.45vw（高さはvhも使用） */
  height: clamp(2rem, 2.45vw, 2.9375rem);
  background: var(--color-entry-btn);
  border-radius: clamp(3px, 0.36vw, 7px);
  color: var(--color-white);
  font-weight: 700;
  font-size: clamp(0.7rem, 0.94vw, 1.125rem);
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.header__entry-btn:hover {
  opacity: 0.8;
}

/* ========================================
   FV
======================================== */
.fv {
  /* ヘッダー高さ分だけ上にpaddingを取る */
  padding-top: clamp(3.5rem, 5.15vw, 6.2rem);
  overflow: hidden;
}

/*
  FV画像エリア
  - 左：110px余白 → 110/1920 ≒ 5.73vw
  - 右：余白なし（画面端まで）
  - キャッチコピーを画像の上に重ねる
*/
.fv__bg {
  position: relative;
  /* 左に5.73vwの余白、右は0 */
  margin-left: 5.73vw;
  margin-right: 0;
  line-height: 0;
}

.fv__bg img {
  /* 画像は左余白分を除いた全幅 */
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* キャッチコピーを画像の上に絶対配置 */
.fv__content {
  position: absolute;
  top: clamp(3.5rem, 5.15vw, 6.2rem); /* ヘッダー高さ分下から */
  left: 0;
  right: 0;
  /* ボタンエリア分を除いた高さの中央より10px上 */
  bottom: clamp(3rem, 8vw, 8rem);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  /* 10px上にずらす → translateYで調整 */
  transform: translateY(-0.52vw);
}

/* FVセクション全体をrelativeに */
.fv {
  position: relative;
}

.fv__catch {
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 6rem);
  color: var(--color-white);
  text-align: center;
  line-height: 1.3;
  text-shadow: none;
  white-space: nowrap;
  opacity: 0.45;
}

/* 1文字ずつ：ゆっくり出現 → 待機 → 上にひゅっと消える → ループ */
/* animation-delay はJSで負値指定するためCSSでは設定しない */
.fv__char {
  display: inline-block;
  opacity: 0;
  animation: char-loop 9s ease infinite;
}

.fv__char--space {
  width: 0.4em;
}

@keyframes char-loop {
  0%   { opacity: 0; transform: translateY(12px); }
  9%   { opacity: 1; transform: translateY(0); }      /* ゆっくり出現（元の20%→0.8s） */
  44%  { opacity: 1; transform: translateY(0); }      /* 待機 */
  53%  { opacity: 0; transform: translateY(-24px); }  /* 上にひゅっと消える（元の100%→4s） */
  100% { opacity: 0; transform: translateY(12px); }   /* 次のループ開始まで非表示待機 */
}

/* ========================================
   FV ボックス3つ：白背景・ドロップシャドウ・同サイズ
======================================== */
.fv__tags {
  display: flex;
  align-items: stretch;
  width: 100%;
  padding-left: 5.73vw;
  padding-right: 5.73vw;
  margin-top: clamp(6px, 0.52vw, 10px);
  gap: clamp(0.5rem, 1vw, 1.2rem);
  padding-bottom: clamp(1.5rem, 3vw, 3rem);
}

.fv__tag {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border-radius: clamp(6px, 0.5vw, 10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  padding: clamp(0.8rem, 1.5vw, 1.5rem) clamp(0.5rem, 1vw, 1rem);
  min-height: clamp(4rem, 7.2vh, 6rem);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fv__tag:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.fv__tag span {
  font-weight: 700;
  font-size: clamp(0.9rem, 1.4vw, 1.7rem);
  color: #333333;
  text-align: center;
  line-height: 1.5;
  white-space: normal;
}

/* 3ボックスは均等幅 */
.fv__tag--1,
.fv__tag--2,
.fv__tag--3 { flex: 1; }

/* ========================================
   ABOUT
======================================== */

/*
  上のFVボタン下部からの余白：217px → 217/1080 ≒ 20.09vh
  section全体の左右はコンテンツ幅（5.73vw）に合わせる
*/
.about {
  margin-top: clamp(6rem, 20.09vh, 13.5rem);
}

.about__inner {
  padding-inline: 5.73vw;
}

/* --- 上段：H2のみ（写真は中段に移動） --- */
.about__top {
  margin-bottom: clamp(1.5rem, 2.5vw, 3rem);
}

/* H2：64px → 3.33vw */
.about__h2 {
  font-size: clamp(2rem, 3.33vw, 4rem);
  font-weight: 700;
  line-height: 1;
}

.about__h2-a {
  color: #FF644E;
}

.about__h2-bout {
  color: #333333;
}

/* --- 中段：H3+P（左）・写真（右）横並び --- */
.about__lead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(2rem, 4vw, 5rem);
  margin-bottom: clamp(2rem, 4vw, 5rem);
}

.about__lead-text {
  flex-shrink: 0;
}

/* H3：48px → 2.5vw　フチなし #333333 */
.about__h3 {
  font-size: clamp(1.5rem, 2.5vw, 3rem);
  font-weight: 700;
  color: #333333;
  line-height: 1.5;
  margin-bottom: clamp(1rem, 2vw, 2rem);
}

/* P共通 */
.about__p {
  font-size: clamp(0.875rem, 0.94vw, 1.125rem);
  font-weight: 500;
  color: #333333;
  line-height: 1.9;
}

/* 上のP：幅688px → 688/1920 ≒ 35.83vw */
.about__p--wide {
  width: clamp(20rem, 35.83vw, 43rem);
}

/* 下のP：幅612px → 612/1920 ≒ 31.875vw */
.about__p--narrow {
  width: clamp(18rem, 31.875vw, 38.25rem);
}

/* 写真：688×236基準 → 幅35.83vw・右寄せ */
.about__lead-img {
  flex-shrink: 0;
  width: clamp(20rem, 35.83vw, 43rem);
  align-self: flex-start;
}

.about__lead-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: clamp(4px, 0.5vw, 8px);
}

/* --- 下段：イラスト + テキスト --- */
.about__shiga {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 4vw, 5rem);
  margin-bottom: clamp(2rem, 4vw, 5rem);
}

/* イラスト：749×594基準 → 幅39.01vw */
.about__illust {
  flex-shrink: 0;
  width: clamp(20rem, 39.01vw, 46.8rem);
}

.about__illust img {
  width: 100%;
  height: auto;
  aspect-ratio: 749 / 594;
  object-fit: contain;
}

.about__shiga-text {
  flex: 1;
  /*
    上の写真左端 = inner幅 - 写真幅(35.83vw) の位置
    イラスト + gap ですでに (39.01vw + 4vw) = 43.01vw 右にいる
    差分を padding-left で補正:
    calc((100% - 35.83vw) - (39.01vw + 4vw))
    = calc(100% - 78.84vw)
  */
  padding-left: calc(100% - 78.84vw);
}

/* イラスト右のH3：48px → 2.5vw #333333 */
.about__shiga-h3 {
  font-size: clamp(1.5rem, 2.5vw, 3rem);
  font-weight: 700;
  color: #333333;
  line-height: 1.5;
  margin-bottom: clamp(1rem, 2vw, 2rem);
}

/* --- 無限スクロール写真 --- */
/*
  写真サイズ：530×354基準 → 幅27.6vw
  overflow: hidden でトラックをマスク
*/
.about__scroll-wrap {
  overflow: hidden;
  width: 100vw;
  margin-left: -5.73vw; /* innerのpadding分を打ち消して全幅に */
}

.about__scroll-track {
  display: flex;
  gap: clamp(0.5rem, 1vw, 1.2rem);
  /* 無限ループアニメーション */
  animation: scroll-loop 30s linear infinite;
  width: max-content;
}

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

.about__scroll-item {
  flex-shrink: 0;
  /* 幅：530/1920 ≒ 27.6vw */
  width: clamp(16rem, 27.6vw, 33.125rem);
}

.about__scroll-item img {
  width: 100%;
  /* 高さ比率：354/530 ≒ 66.8% */
  aspect-ratio: 530 / 354;
  object-fit: cover;
  border-radius: clamp(4px, 0.5vw, 8px);
}

@keyframes scroll-loop {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* 複製分の半分まで動かしてループ */
}

/* ========================================
   MERIT
======================================== */
.merit {
  padding-block: clamp(4rem, 8vw, 8rem);
}

.merit__inner {
  padding-inline: 5.73vw;
}

/* H2：Aboutと同スタイル */
.merit__h2 {
  font-size: clamp(2rem, 3.33vw, 4rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: clamp(1rem, 2vw, 2rem);
}

.merit__h2-m {
  color: #FF644E;
}

.merit__h2-rest {
  color: #333333;
}

/* H3：48px → 2.5vw　センター寄せ */
.merit__h3 {
  font-size: clamp(1.5rem, 2.5vw, 3rem);
  font-weight: 700;
  color: #333333;
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 5rem);
}

/* カード3枚横並び */
.merit__cards {
  display: flex;
  gap: clamp(1rem, 2vw, 2.5rem);
  justify-content: center;
  align-items: stretch;
}

/*
  カード：460×548基準
  幅：460/1920 ≒ 23.96vw
*/
.merit__card {
  background: #FDFDFD;
  border-radius: clamp(2rem, 3.65vw, 4.375rem);
  box-shadow: 0 0.37vh 0.37vh rgba(0, 0, 0, 0.25);
  width: clamp(16rem, 23.96vw, 28.75rem);
  flex-shrink: 0;
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-items: start;
  padding: clamp(2rem, 3vw, 3.5rem) clamp(1.5rem, 2vw, 2.5rem);
  gap: clamp(1rem, 1.8vw, 2rem);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.merit__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* H4：3行にならないよう少し縮小　2行固定 */
.merit__card-h4 {
  font-size: clamp(1rem, 1.56vw, 1.875rem);
  font-weight: 700;
  color: #333333;
  text-align: center;
  line-height: 1.5;
  /* 2行分の高さを確保して全カード揃える */
  min-height: 3em;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* イラスト画像：高さ固定でPの上部位置を統一 */
.merit__card-illust {
  width: 100%;
  /* イラスト高さを固定：カード幅の60%相当 */
  height: clamp(8rem, 12vw, 15rem);
  display: flex;
  justify-content: center;
  align-items: center;
}

.merit__card-illust img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* P：24px → 1.25vw　左寄せ・センター配置 */
.merit__card-p {
  font-size: clamp(0.875rem, 1.25vw, 1.5rem);
  font-weight: 500;
  color: #333333;
  line-height: 1.8;
  text-align: left;
  width: 100%;
}

/* ========================================
   DATA
======================================== */
.data {
  padding-block: clamp(4rem, 8vw, 8rem);
}

.data__inner {
  padding-inline: 5.73vw;
}

/* H2：他セクションと同スタイル */
.data__h2 {
  font-size: clamp(2rem, 3.33vw, 4rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: clamp(1rem, 2vw, 2rem);
}

.data__h2-d {
  color: #FF644E;
}

.data__h2-rest {
  color: #333333;
}

/* H3：他セクションと同スタイル */
.data__h3 {
  font-size: clamp(1.5rem, 2.5vw, 3rem);
  font-weight: 700;
  color: #333333;
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 5rem);
}

/* 画像：3×2グリッドでsection幅いっぱい */
.data__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(6px, 0.625vw, 12px);
  width: 100%;
}

.data__item img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========================================
   VOICE
======================================== */
.voice {
  padding-block: clamp(4rem, 8vw, 8rem);
}

.voice__inner {
  padding-inline: 5.73vw;
}

/* H2 */
.voice__h2 {
  font-size: clamp(2rem, 3.33vw, 4rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: clamp(1rem, 2vw, 2rem);
}
.voice__h2-v    { color: #FF644E; }
.voice__h2-rest { color: #333333; }

/* H3 */
.voice__h3 {
  font-size: clamp(1.5rem, 2.5vw, 3rem);
  font-weight: 700;
  color: #333333;
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 4rem);
}

/* バナー画像：全幅 */
.voice__banner {
  width: 100%;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.voice__banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* H4＋ボタン（左）＋スライダー（右）横並びの外枠
   左padding揃え・右端はみ出しOK */
.voice__row-outer {
  padding-left: 5.73vw;
  overflow: hidden;
  margin-bottom: clamp(1rem, 2vw, 2rem);
}

.voice__row {
  display: flex;
  /* 画像の下端を横揃え */
  align-items: flex-end;
  gap: clamp(2rem, 4vw, 5rem);
}

/* H4＋ボタンエリア */
.voice__members-left {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 2.5vw, 3rem);
}

/* H4 */
.voice__h4 {
  font-size: clamp(1.5rem, 2.5vw, 3rem);
  font-weight: 700;
  color: #333333;
  line-height: 1.5;
  white-space: nowrap;
}

/* リンクボタン */
.voice__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 1vw, 1rem);
  width: clamp(12rem, 16.15vw, 19.375rem);
  height: clamp(3rem, 6.76vh, 4.5625rem);
  background: #EAFFFA;
  border: 3px solid #25D2AB;
  border-radius: 9999px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.voice__btn:hover { opacity: 0.75; }
.voice__btn-text {
  font-size: clamp(1rem, 1.46vw, 1.75rem);
  font-weight: 500;
  color: #333333;
}
.voice__btn-arrow {
  font-size: clamp(1rem, 1.46vw, 1.75rem);
  color: #25D2AB;
  font-weight: 700;
}

/*
  3枚固定カードエリア：
  - 3枚目が右に1/3はみ出るよう右にずらす
  - 1枚分の1/3 ≒ カード幅の33%分 右にオフセット
*/
.voice__cards {
  display: flex;
  align-items: flex-end;
  gap: clamp(0.5rem, 1vw, 1.2rem);
  flex: 1;
  min-width: 0;
  overflow: visible;
  margin-right: calc(-1 * (100% / 3 / 3));
}

.voice__card {
  flex: 1;
  min-width: 0;
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.voice__card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: clamp(4px, 0.5vw, 8px);
  object-fit: contain;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.voice__card:hover img {
  opacity: 0.85;
  transform: scale(1.02);
}

.voice__card img.is-fading {
  opacity: 0;
}

/* ナビゲーション */
.voice__nav {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1vw, 1rem);
  max-width: clamp(20rem, 40vw, 50rem);
  margin-top: clamp(1rem, 2vw, 2rem);
}

.voice__arrow {
  background: none;
  border: none;
  font-size: clamp(1.2rem, 1.8vw, 2rem);
  color: #333333;
  cursor: pointer;
  padding: 0.2em 0.5em;
  transition: color 0.2s;
  flex-shrink: 0;
  line-height: 1;
}
.voice__arrow:hover { color: #FF644E; }

/* スクロールバー */
.voice__progress {
  flex: 1;
  height: 4px;
  background: #D9D9D9;
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
}
.voice__progress-bar {
  height: 100%;
  background: #FF644E;
  border-radius: 9999px;
  position: absolute;
  top: 0;
  left: 0;
  width: 33.33%;
  transition: left 0.4s ease;
}

/* ========================================
   JOB INTRODUCTION
======================================== */
.job {
  padding-block: clamp(4rem, 8vw, 8rem);
}

.job__inner {
  padding-inline: 5.73vw;
}

/* H2 */
.job__h2 {
  font-size: clamp(2rem, 3.33vw, 4rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: clamp(1rem, 2vw, 2rem);
}
.job__h2-j    { color: #FF644E; }
.job__h2-rest { color: #333333; }

/* H3 */
.job__h3 {
  font-size: clamp(1.5rem, 2.5vw, 3rem);
  font-weight: 700;
  color: #333333;
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 4rem);
}

/* 画像：コンテンツ幅の2/3・センター */
.job__img {
  width: 66.66%;
  margin-inline: auto;
  margin-bottom: clamp(2rem, 4vw, 4rem);
}
.job__img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: clamp(4px, 0.5vw, 8px);
}

/* ボタン：センター配置 */
.job__btn-wrap {
  display: flex;
  justify-content: center;
}

/* ========================================
   RECRUIT
======================================== */
.recruit {
  padding-block: clamp(4rem, 8vw, 8rem);
}

.recruit__inner {
  padding-inline: 5.73vw;
}

.recruit__h2 {
  font-size: clamp(2rem, 3.33vw, 4rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: clamp(1rem, 2vw, 2rem);
}
.recruit__h2-r    { color: #FF644E; }
.recruit__h2-rest { color: #333333; }

.recruit__h3 {
  font-size: clamp(1.5rem, 2.5vw, 3rem);
  font-weight: 700;
  color: #333333;
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 4rem);
}

/* 画像：jobと同じ2/3サイズ・センター */
.recruit__img {
  width: 66.66%;
  margin-inline: auto;
}
.recruit__img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: clamp(4px, 0.5vw, 8px);
}

/* ========================================
   Q&A
======================================== */
.qa {
  padding-block: clamp(4rem, 8vw, 8rem);
}

.qa__inner {
  padding-inline: 5.73vw;
}

.qa__h2 {
  font-size: clamp(2rem, 3.33vw, 4rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: clamp(1rem, 2vw, 2rem);
}
.qa__h2-q    { color: #FF644E; }
.qa__h2-rest { color: #333333; }

.qa__h3 {
  font-size: clamp(1.5rem, 2.5vw, 3rem);
  font-weight: 700;
  color: #333333;
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 4rem);
}

/* リスト */
.qa__list {
  display: flex;
  flex-direction: column;
  /* 区切り線は各itemのborderで表現 */
}

.qa__item {
  border-bottom: 3px dashed #FF644E;
  border-radius: 2px;
  padding-block: clamp(1.5rem, 3vw, 3rem);
}

.qa__item:first-child {
  border-top: 3px dashed #FF644E;
}

/* Q行 */
.qa__question {
  display: flex;
  align-items: flex-start;
  gap: clamp(1rem, 2vw, 2rem);
  cursor: pointer;
  user-select: none;
}

.qa__q-label {
  font-size: clamp(2rem, 3.33vw, 4rem);
  font-weight: 700;
  color: #25D2AB;
  line-height: 1;
  flex-shrink: 0;
}

.qa__q-text {
  font-size: clamp(1rem, 1.67vw, 2rem);
  font-weight: 700;
  color: #333333;
  line-height: 1.5;
  padding-top: 0.2em;
}

/* ▼矢印 */
.qa__arrow {
  font-size: clamp(0.8rem, 1.2vw, 1.5rem);
  color: #FF644E;
  flex-shrink: 0;
  padding-top: 0.3em;
  transition: transform 0.3s ease;
  align-self: flex-start;
}

/* 開いたら▲に回転 */
.qa__item.is-open .qa__arrow {
  transform: rotate(180deg);
}

/* A行：デフォルトは非表示 */
.qa__answer {
  display: flex;
  align-items: flex-start;
  gap: clamp(1rem, 2vw, 2rem);
  margin-top: clamp(1rem, 2vw, 2rem);
  /* アコーディオン：高さ0から展開 */
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease, margin-top 0.4s ease;
  margin-top: 0;
}

/* 開いた状態 */
.qa__item.is-open .qa__answer {
  max-height: 20rem;
  opacity: 1;
  margin-top: clamp(1rem, 2vw, 2rem);
}

.qa__a-label {
  font-size: clamp(2rem, 3.33vw, 4rem);
  font-weight: 700;
  color: #FF644E;
  line-height: 1;
  flex-shrink: 0;
}

.qa__a-text {
  font-size: clamp(1rem, 1.67vw, 2rem);
  font-weight: 700;
  color: #333333;
  line-height: 1.7;
  padding-top: 0.2em;
}

/* ========================================
   CTA
======================================== */
.cta {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* 背景画像：全幅 */
.cta__bg {
  width: 100%;
  line-height: 0;
}
.cta__bg img {
  width: 100%;
  height: auto;
  display: block;
}

/* テキスト＋ボタン：背景画像の上に絶対配置・中央 */
.cta__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 4vw, 4rem);
}

/* コピー：96px → 5vw */
.cta__copy {
  font-size: clamp(2rem, 5vw, 6rem);
  font-weight: 700;
  color: #FFFFFF;
  text-align: center;
  line-height: 1.5;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ボタン：453×91基準 */
.cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* 幅：453/1920 ≒ 23.59vw */
  width: clamp(16rem, 23.59vw, 28.3rem);
  /* 高さ：91/1080 ≒ 8.43vh */
  height: clamp(3.5rem, 8.43vh, 5.7rem);
  background: #FFFFFF;
  border-radius: clamp(5px, 0.52vw, 10px);
  font-size: clamp(1.2rem, 2.08vw, 2.5rem);
  font-weight: 700;
  color: #25D2AB;
  text-decoration: none;
  transition: opacity 0.2s;
}
.cta__btn:hover {
  opacity: 0.85;
}

/* ========================================
   FOOTER
======================================== */
.footer {
  padding-block: clamp(3rem, 6vw, 6rem);
  background: var(--color-white);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2rem, 3vw, 3rem);
}

/* ナビ：ヘッダーと同じ内容・センター寄せ */
.footer__nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.footer__nav-list li a {
  font-size: clamp(0.7rem, 0.94vw, 1.125rem);
  font-weight: 700;
  color: #333333;
  white-space: nowrap;
  padding-inline: clamp(0.4rem, 0.8vw, 0.9rem);
  transition: opacity 0.2s;
}
.footer__nav-list li a:hover { opacity: 0.6; }

/* 縦線仕切り */
.footer__nav-divider {
  width: 1px;
  height: clamp(0.8rem, 1.2vw, 1.2rem);
  background: #333333;
  flex-shrink: 0;
}

/* ロゴ */
.footer__logo {
  display: flex;
  justify-content: center;
}
.footer__logo img {
  width: clamp(8rem, 15vw, 18rem);
  height: auto;
  display: block;
}

/* ========================================
   ハンバーガーボタン（PC非表示）
======================================== */
.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  margin-left: auto;
  flex-shrink: 0;
  z-index: 200;
}
.header__hamburger span {
  display: block;
  width: clamp(1.2rem, 2vw, 1.6rem);
  height: 2px;
  background: #333333;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
/* ×に変化 */
.header__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__hamburger.is-open span:nth-child(2) { opacity: 0; }
.header__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========================================
   ドロワーメニュー（SP用）
======================================== */
.drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(80vw, 320px);
  height: 100%;
  background: #FFFFFF;
  z-index: 150;
  padding: clamp(4rem, 10vw, 6rem) clamp(1.5rem, 5vw, 2rem) 2rem;
  display: flex;
  flex-direction: column;
  transition: right 0.35s ease;
  box-shadow: -4px 0 20px rgba(0,0,0,0.1);
}
.drawer.is-open {
  right: 0;
}

.drawer__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  margin-bottom: 2rem;
}
.drawer__link {
  display: block;
  font-size: clamp(0.9rem, 4vw, 1.1rem);
  font-weight: 700;
  color: #333333;
  text-decoration: none;
  padding: 1rem 0;
  border-bottom: 1px solid #EEEEEE;
  transition: color 0.2s;
}
.drawer__link:hover { color: #FF644E; }

.drawer__entry-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.9rem;
  background: #25D2AB;
  border-radius: 9999px;
  font-size: clamp(0.9rem, 4vw, 1.1rem);
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: none;
  margin-top: auto;
  transition: opacity 0.2s;
}
.drawer__entry-btn:hover { opacity: 0.8; }

/* オーバーレイ */
.drawer__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 140;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.drawer__overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ========================================
   画面下部固定エントリーボタン
======================================== */
.fixed-entry {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 120;
  padding: clamp(0.6rem, 2vw, 1rem);
  background: rgba(255,255,255,0.95);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.1);
  display: flex;
  justify-content: center;
  /* PCでは非表示 */
  display: none;
}
.fixed-entry__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 400px;
  padding: 0.9rem 2rem;
  background: #FF644E;
  border-radius: 9999px;
  font-size: clamp(0.9rem, 4vw, 1.1rem);
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: none;
  transition: opacity 0.2s;
}
.fixed-entry__btn:hover { opacity: 0.85; }

/* ========================================
   レスポンシブ
======================================== */
@media (max-width: 1024px) {
  :root { --content-pad: 5%; }

  /* ヘッダー */
  .header__nav,
  .header__entry-btn { display: none; }
  .header__hamburger { display: flex; }

  /* FV：文字を中央に */
  .fv__content {
    top: clamp(3.5rem, 5.15vw, 6.2rem);
    bottom: clamp(3rem, 8vw, 6rem);
    align-items: center;
    justify-content: center;
  }
  .fv__catch {
    white-space: normal;
    text-align: center;
    font-size: clamp(1.8rem, 5vw, 3.5rem);
  }

  /* FVタグ：縦並び・小さく */
  .fv__tags {
    flex-direction: column;
    align-items: stretch;
    padding-left: 5%;
    padding-right: 5%;
    gap: clamp(0.4rem, 1.5vw, 0.6rem);
  }
  .fv__tag--1, .fv__tag--2, .fv__tag--3 {
    flex: none;
    width: 100%;
    min-height: clamp(3rem, 8vh, 4rem);
  }
  .fv__tag span {
    font-size: clamp(0.9rem, 3.8vw, 1.3rem);
  }

  /* About */
  .about__lead { flex-direction: column; }
  .about__lead-img { width: 100%; }
  .about__p--wide,
  .about__p--narrow { width: 100%; }
  .about__shiga { flex-direction: column; align-items: flex-start; }
  .about__illust { width: 100%; }
  .about__shiga-text { padding-left: 0; }
  .about__scroll-wrap { margin-left: -5%; }

  /* Merit */
  .merit__cards { flex-direction: column; align-items: center; }
  .merit__card { width: 100%; max-width: 28rem; }

  /* Data */
  .data__grid { grid-template-columns: repeat(2, 1fr); }

  /* Voice */
  .voice__row { flex-direction: column; }
  .voice__cards { margin-right: 0; }
  .voice__h4 { white-space: normal; }

  /* Job / Recruit */
  .job__img,
  .recruit__img { width: 90%; }

  /* CTA */
  .cta__copy { font-size: clamp(1.5rem, 4vw, 3rem); }
  .cta__btn { width: 80%; }

  /* Footer */
  .footer__nav-list { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 768px) {
  /* FV：縦長・全画面 */
  .fv {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    padding-top: clamp(3.5rem, 5.15vw, 6.2rem);
    position: relative;
    overflow: hidden;
  }

  /* 背景画像：全画面ではなく上部70%程度に収める */
  .fv__bg {
    position: relative;
    margin-left: 0;
    flex-shrink: 0;
    height: 65svh;
  }

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

  /* キャッチコピー：画像の上に絶対配置・中央 */
  .fv__content {
    position: absolute;
    top: clamp(3.5rem, 5.15vw, 6.2rem);
    left: 0;
    right: 0;
    height: 65svh;
    bottom: auto;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: none;
  }

  .fv__catch {
    font-size: clamp(2rem, 9vw, 3.2rem);
    white-space: normal;
    text-align: center;
    line-height: 1.4;
  }

  /* タグボタン：画像の下に通常フローで配置 */
  .fv__tags {
    position: relative;
    z-index: 2;
    flex-direction: column;
    align-items: stretch;
    padding-left: 5%;
    padding-right: 5%;
    padding-top: clamp(0.8rem, 2vw, 1.2rem);
    padding-bottom: clamp(1rem, 3vw, 1.5rem);
    gap: clamp(0.4rem, 1.5vw, 0.6rem);
    margin-top: 0;
    flex: 1;
    justify-content: center;
  }
  .fv__tag--1, .fv__tag--2, .fv__tag--3 {
    flex: none;
    width: 100%;
    min-height: clamp(2.8rem, 7vh, 4rem);
  }
  .fv__tag span {
    font-size: clamp(0.9rem, 4vw, 1.3rem);
  }

  /* About */
  .about__h3 { font-size: clamp(1.2rem, 5vw, 2rem); }
  .about__shiga-h3 { font-size: clamp(1.2rem, 5vw, 2rem); }
  .about__shiga-images { grid-template-columns: repeat(3, 1fr); }

  /* Merit */
  .merit__h3 { font-size: clamp(1.2rem, 5vw, 2rem); }
  .merit__card-h4 { font-size: clamp(0.9rem, 4vw, 1.4rem); }
  .merit__card-p { font-size: clamp(0.8rem, 3.5vw, 1.1rem); }

  /* Data */
  .data__grid { grid-template-columns: repeat(2, 1fr); }

  /* Voice */
  .voice__members-wrap { padding-left: 5%; }
  .voice__slider-outer { overflow: hidden; }

  /* Q&A */
  .qa__q-label,
  .qa__a-label { font-size: clamp(1.5rem, 7vw, 2.5rem); }
  .qa__q-text,
  .qa__a-text { font-size: clamp(0.85rem, 3.5vw, 1.2rem); }

  /* CTA */
  .cta__copy { font-size: clamp(1.2rem, 5vw, 2rem); }
  .cta__btn {
    width: 90%;
    font-size: clamp(0.9rem, 4vw, 1.4rem);
    height: auto;
    padding: 0.8em 1em;
  }

  /* 固定エントリーボタン：SPで表示 */
  .fixed-entry { display: flex; }

  /* フッターのpadding-bottomを固定ボタン分確保 */
  .footer { padding-bottom: clamp(5rem, 15vw, 8rem); }
}
