/* リセットと基本スタイル */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Helvetica Neue', sans-serif;
  color: #333;
  background-color: #fff;
  overflow-x: hidden;/* 横スクロール封じ */
}

a {
  text-decoration: none;
  color: inherit;
}

/* ヘッダー */
.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background-color: #fff;
  border-bottom: 1px solid #ccc;
  display: flex;
  align-items: center;
  padding: 0 20px;
  z-index: 1000;
}

/* ロゴ */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 20px;
  margin-right: 10px;
}

/* ナビゲーションとENTRYを右寄せ */
.menu-container {
  display: flex;
  align-items: center;
  margin-left: auto;
}

/* ナビゲーションリンク */
.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
  margin-right: 20px;
}

.nav-links li a {
  font-size: 18px;
  color: #333;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* ナビリンク：ホバー時に青 */
.nav-links li a:hover {
  color: #0056b3;
}

/* ENTRYボタン */
.entry-button a {
  background-color: #0047a3;
  color: white;
  font-size: 18px;
  padding: 14px 24px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.entry-button a:hover {
  background-color: #002f6c; /* もっと濃く */
  transform: scale(1.05);     /* 拡大してわかりやすく */
}

/* ハンバーガー非表示（モバイル用） */
.hamburger {
  display: none;
}

/* モバイルナビ非表示（必要なら後で調整） */
.mobile-nav {
  display: none;
}





/* Interviewセクション */
.interview-section {
  position: relative;
  width: 100vw;
  height: 665px;
  overflow: hidden;
  margin-bottom: 60px;
}

/* 背景画像を下げるために top を調整 */
.interview-bg {
  position: absolute;
  top: 100px; /* ← ← ← ここで「下に下げる」 */
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 900px;
  object-fit: cover;
  z-index: 1;
}

/* テキスト上に乗せる */
.interview-overlay {
  position: absolute;
  top: 25%;
  left: 60px;
  text-align: left;
  z-index: 2;
  color: white;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}

/* Interview の装飾：塗りつぶし無し、影だけ */
.interview-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 90px;
  font-style: italic;               /* ← 斜め */
  color: #fafbfc !important;  
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}

.name-jp {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
  padding-left: 65px;
}

.position {
  font-size: 20px;
  padding-left: 65px;
}

/* ✅ Career背景画像を削除（これで白地になる） */
.career-wrapper {
  background: none;
}

.interview-image {
  flex: 1 1 45%;
  max-width: 500px;
}

.interview-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* Interview見出し */
.interview-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800px;
  font-size: 90px;
  color: #007BFF;
  margin-bottom: 16px;
  margin-left: 100px;
  margin-top: 150px !important;
}

/* 名前と肩書き */
.name-jp {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 6px;
  margin-left: 40px;
  color: #ffffff;
  margin-top: 40px;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.4); /* ← 背景に沈まない工夫 */
}

.position {
  font-size: 24px;
  color: #ffffff;
  margin-left: 40px;
  margin-top: 2px;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.4); /* ← 背景に沈まない工夫 */
}

/* キャリアパス */
/* 白いボックス全体 */
.career-box-wrapper {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  background-color: #fff;
  padding: 40px 60px;
  max-width: 1300px;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 12px 25px rgba(0,0,0,0.1);
  margin-top: -130px;
}

.career-wrapper {
  overflow: visible; /* ← これで影が切れなくなる */
  padding: 100px 20px;
}

.career-bg {
  overflow: visible; /* 念のため追加、親にも開放指示 */
}

/* 各キャリアボックス */
.career-entry {
  width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* タイトルバー */
.career-entry-header {
  background-color: #d9f2ff;
  color: #007BFF;
  font-weight: bold;
  text-align: center;
  padding: 8px;
  border-radius: 4px;
  margin-bottom: 20px;
}

/* 本文レイアウト横並び */
.career-entry-body {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  text-align: left;
}

/* アイコン画像 */
.career-icon {
  height: 60px;
  flex-shrink: 0;
}

/* テキストブロック */
.career-description {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: #333;
  line-height: 1.6;
}

/* 矢印 */
.career-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
  color: #007BFF;
}

.career-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 48px;           /* ← ちょっと控えめに */
  color: #222;
  text-align: center;        /* ← 念のため中央揃え */
  margin-top: 120px;         /* ← 上との距離！ */
  margin-bottom: 16px;
}

.career-sub {
  font-size: 18px;
  color: #666;
  letter-spacing: 0.15em;
  font-weight: 400;
  text-align: center;
  margin-bottom: 60px;
}




/* ========================
 基本ブロック構成（レイアウト系）
======================== */
.interview-block {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  background-color: #fff;
}

.interview-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin-bottom: 80px;
}

.interview-row.reverse {
  flex-direction: row-reverse;
}

.interview-card-overlay {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0 auto 100px;
  padding: 0 40px;
}


/* ========================
 画像関連（共通＆個別）
======================== */

/* 共通：画像サイズ */
.image-01 img,
.image-02 img,
.image-03 img {
  width: 100%;
  max-width: 590px;
  height: 390px;
  object-fit: cover;
}

/* 個別画像レイアウト */
.image-01 {
  position: relative;
  left: 560px;
  margin-bottom: 0px;
}

.image-02 {
  position: relative;
  left: 0px;
  margin-bottom: 300px;
  margin-top: 270px;
}

.image-03 {
  position: relative;
  left: 560px;
  margin-bottom: 170px;
}

.image-01 img,
.image-02 img,
.image-03 img {
  height: 390px;
}

.interview-image img {
  width: 100%;
  max-width: 550px;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
}


/* ========================
 テキストボックス：共通＋個別
======================== */

/* 共通：白ボックスの装飾 */
.overlay-text-box {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  padding: 90px 24px;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  max-width: 60%;
  z-index: 2;
}

/* 個別：白ボックスの配置・サイズ */
.text-01 {
  margin-top: -290px !important;
  left: 0px;
  bottom: auto;
  height: 450px;
  width: 700px;
  padding: 40px;
  z-index: 10;
  position: absolute;
}

.text-02 {
  position: absolute;
  top: 100px !important;
  right: -70px;
  max-width: none;
  width: 690px;
  height: 470px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
  z-index: 2;
  overflow: auto;
}

.text-03 {
  position: absolute;
  top: 90px;
  left: 0px;
  max-width: none;
  width: 700px;
  height: 450px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
  z-index: 2;
  overflow: visible;
}


/* ========================
 テキストスタイル（フォント類）共通＋個別
======================== */
.interview-number {
  position: absolute;
  top: -50px;
  left: 30px;
  z-index: 9;
  font-size: 80px;
  color: #007BFF;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  padding: 0 12px;
  line-height: 1;
  font-style: italic;  
}

.interview-question {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 16px;
  margin-top: 0px;
}

.interview-subtitle {
  font-size: 17px;
  font-weight: bold;
  color: #222;
  margin-bottom: 25px;
  padding-left: 18px;
}

.interview-answer {
  font-size: 15px;
  color: #333;
  line-height: 1.8;
  margin-bottom: 0.8em;
}

.subtitle-bar {
  display: inline-block;
  width: 4px;
  height: 24px;
  background: #a8e063;
  margin-right: 10px;
  border-radius: 2px;
  flex-shrink: 0;
  margin-left: -15px;
}

.interview-question1 {
margin-top: 70px;
}

.interview-question2 {
margin-top: 70px;
}

.interview-question3 {
margin-top: 80px;
}




/* ========================
 個別調整：数字（旧版margin-top対応）
======================== */
.number1 {
  margin-top: 10px;
}

.number2 {
  margin-top: 98px;
  left: 1060px;
}

.number3 {
  margin-top: 100px;
}




/* ========================
 「一日の流れ」セクション
======================== */
.days-section {
  margin-top: 120px;
  margin-bottom: 60px;
  text-align: center;
}

.days-wrapper {
  width: 100%;
  padding: 100px 20px;
  background: linear-gradient(135deg, #133b7a, #2059a6, #428fdb);
}

.days-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 48px;
  color: #ffffff;
  margin-bottom: 16px;
  text-align: center;
}

.days-sub {
  font-size: 18px;
  color: #ffffff;
  letter-spacing: 0.15em;
  font-weight: 400;
  margin-bottom: 60px;
  text-align: center;
}


/* 中央白ボックス */
.days-container {
  background: #ffffff;
  border-radius: 16px;
  padding: 60px 40px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}


/* タイムライン構成 */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline-item {
  position: relative;
  margin-bottom: 60px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 30px; /* ← 点線のX位置（右に動かしたい距離） */
  width: 4px;
  border-left: 4px dashed #0050b3;
  z-index: 0;
}

.time-label {
  position: absolute;
  left: -35px;
  top: 0;
  background: #0050b3;
  color: #fff;
  font-weight: bold;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 14px;
  min-width: 40px;
  text-align: center;
}

.timeline-content h3 {
  font-size: 19px;
  margin-bottom: 8px;
  font-weight: bold;
  color: #111;
  margin-left: 50px;
}

.timeline-content p {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  margin-left: 50px;
}



/* ========================
 「一日の流れ」セクション
======================== */

/* キャリアパスタイトル */
@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(60px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.slide-up {
  animation: slideUp 1.2s ease-out forwards;
}

/* 白ボックス＋3つのグループ */
@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(60px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.slide-up {
  opacity: 0;
  animation: slideUp 1s ease-out forwards;
}
@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
.slide-in-left {
  opacity: 0;
  animation: slideInLeft 1s ease-out forwards;
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease-in forwards;
}

/* 01・02・03グループ */
.animate-hidden {
  opacity: 0;
  transform: translateY(120px);
}
@keyframes slideUpBig {
  0% {
    opacity: 0;
    transform: translateY(120px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.slide-up-big {
  animation: slideUpBig 1.8s ease forwards;
}

/* 一日の流れセクション */
.animate-hidden {
  opacity: 0;
  transform: translateY(80px);
}
@keyframes slideUpTitle {
  0% {
    opacity: 0;
    transform: translateY(80px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.slide-up-title {
  animation: slideUpTitle 1.2s ease-out forwards;
}
@keyframes slideUpTimeline {
  0% {
    opacity: 0;
    transform: translateY(80px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.slide-up-timeline {
  animation: slideUpTimeline 1s ease forwards;
}




/* フッター */
.site-footer {
  position: relative;
  background-color: #0B1E32;
  background-image:
    radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(#0B1E32, #0B1E32);
  background-repeat: repeat;
  background-size: 20px 20px, cover;
  padding: 60px 20px 20px;
  color: #fff;
  font-family: 'Helvetica Neue', sans-serif;
}

.footer-top {
  text-align: center;
  margin-bottom: 40px;
}
.footer-top h2 {
  font-size: 28px;
  margin-bottom: 10px;
}
.footer-top p {
  margin: 6px 0;
  font-size: 15px;
  line-height: 1.6;
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding: 40px 0;
}

.footer-logo {
  max-width: 280px;
}
.footer-logo img {
  width: 160px;
  margin-bottom: 10px;
}
.footer-logo p {
  font-size: 14px;
  margin: 6px 0;
}

.footer-icon-group {
  margin-top: 10px;
}
.footer-icon-group a {
  display: inline-block;
  margin-right: 12px; /* アイコン間の余白 */
}
.footer-icon-group img {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  filter: brightness(0) invert(1); /* 白アイコン */
}

.footer-nav {
  display: flex;
  margin-left: 70px;
  gap: 70px;
}
.footer-nav h3 {
  font-size: 16px;
  margin-bottom: 10px;
}
.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-nav li {
  font-size: 14px;
  margin-bottom: 6px;
  cursor: pointer;
}

.footer-bottom {
  text-align: center;
  margin-top: 130px;
  font-size: 13px;
  opacity: 0.7;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-bottom 0.2s ease;
}

.footer-nav a:hover {
  border-bottom: 1px solid #fff;
}

/* □ LINEバナーとのスペースを調整したい場合は以下を追加 */
.site-footer {
  margin-top: 40px; /* 必要に応じて調整 */
}



/* line・Instagramアイコン */
.footer-icon-group a {
  display: inline-block;
  margin-right: 10px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.footer-icon-group a:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.sns-icon {
  width: 38px !important;
  height: 38px !important;
}

.worknote {
  font-size: 16px;
  color: #666;
  margin-top: 40px;
  text-align: left;
  line-height: 1.8;
  padding: 0;
}


/* モバイル対応 */
@media (max-width: 768px) {
  .footer-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-nav {
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
  }
}











/* ================================ */
/*  モバイル版・ハンバーガーメニュー   */
/* ================================ */
@media screen and (max-width: 768px) {
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    position: absolute;
    top: 20px;
    right: 16px;
    z-index: 1001;
    cursor: pointer;
  }

  .hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #000;
    border-radius: 2px;
  }

   .mobile-nav {
    display: none;
    flex-direction: column;
    gap: 16px;
    background-color: rgba(0, 0, 0, 0.7); /* 透け感ありの黒 */
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .mobile-nav a {
    color: #fff; /* ← 白文字にしないと読めないぞ */
    text-decoration: none;
    font-size: 16px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* 線も透明白に */
  }

  .mobile-nav.open {
    display: flex;
  }

  /* ナビとボタンを非表示にする */
  .menu-container {
    display: none;
  }
}

/* PCではハンバーガーもモバイルナビも消す */
@media screen and (min-width: 769px) {
  .hamburger,
  .mobile-nav {
    display: none !important;
  }
}

/* ロゴ画像を小さくする */
@media screen and (max-width: 768px) {
  .fixed-header .logo img {
    height: 11px !important;
    width: auto !important;
    max-height: 11px !important;
    display: block;
    left: -10px;
  }

  .fixed-header {
  height: 60px; /* ← 例えば60pxにする */
  padding: 0 16px;
}
}



/* ================================ */
/*  モバイル版・ファーストビュー画像   */
/* ================================ */
@media screen and (max-width: 768px) {
  .interview-section {
    position: relative;
    width: 100%;
    height: 100vw; /* 正方形でバランス */
    overflow: hidden;
  }

  .interview-bg {
    position: absolute;
    top: 0;
    left: 50%; /* ← 中央から始めて */
    transform: translateX(-50%); /* ← 真ん中に */
    width: auto;
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
  }

  .interview-overlay {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    width: 90%;
    z-index: 2;
  }

  .interview-title {
    font-size: 1.8rem;
    margin-top: 120px;
  }

  .name-jp,
  .position {
    font-size: 1rem;
    left: 50px;
  }
}


/* ================================ */
/*  　　モバイル版・キャリアパス　　   */
/* ================================ */
@media screen and (max-width: 768px) {
  .career-box-wrapper {
    flex-direction: column;
    gap: 24px;
    padding: 20px 16px;
    max-width: 95%;
    margin: 0 auto;
    box-shadow: none;
    border-radius: 0;
    margin-top: -120px;
  }

  /* 見出し：Career path */
.career-title {
  font-size: 1.8rem;     /* ← ほどほど */
  font-weight: 700;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 12px;
}

/* サブタイトル：キャリアパス */
.career-sub {
  font-size: 0.9rem;
  color: #888;
  text-align: center;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
}

  .career-entry {
    width: 100%;
    background-color: #fff;
    border-radius: 12px;
    padding: 24px 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    position: relative;
    text-align: center;
  }

  .career-entry-header {
    font-size: 0.95rem;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 16px;
  }

  .career-entry-body {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 0;
  }

  .career-icon {
    height: 56px;
    margin-bottom: 10px;
  }

  .career-description {
    font-size: 0.85rem;
    line-height: 1.6;
  }

 @media (max-width: 768px) {
  .career-arrow,
  .career-arrow::before,
  .career-arrow::after {
    background: none !important;
    box-shadow: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    transform: none !important;          /* ← 回転が残っていたら無効化 */
    content: none !important;            /* ← 擬似要素アイコンを消す */
  }

  .career-arrow {
    display: block !important;
    width: 0 !important;
    height: 0 !important;
    margin: 20px auto !important;        /* 中央配置＆上下余白 */
    /* 下向き三角形（CSSボーダーで描画） */
    border-left: 12px solid transparent !important;
    border-right: 12px solid transparent !important;
    border-top: 16px solid #0B63CE !important;  /* 青色 */
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.12)); /* ほんのり影（任意） */
    font-size: 0 !important;             /* フォント系の影響を断つ保険 */
    line-height: 0 !important;
  }
}
}



/* ================================ */
/*  　  　モバイル版・01~03  　  　   */
/* ================================ */
@media screen and (max-width: 768px) {
  .interview-card-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    position: static !important;
    margin-bottom: 60px;
  }

  .overlay-image-container {
    order: 2;
    position: static !important;
    margin: 0 auto;
    width: 100%;
    text-align: center;
  }

  .overlay-image-container img {
    width: 115%;
    height: auto;
    max-width: 115%;
    border-radius: 8px;
    margin-top: 630px;
    margin-left: -17px;
  }

   .overlay-image-container02 {
  margin-top: -135px !important;
   } 

   .overlay-image-container03 {
   margin-top: -145px !important;
   } 


  /* ✅ 共通化で幅を100%に安定させる */
  @media screen and (max-width: 768px) {
  .overlay-text-box {
    width: 90%;
    max-width: 90%;
    margin: 0 auto;
    text-align: center;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
  }
}

  .interview-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0073e6;
    margin-bottom: 12px;
    text-align: center;
    padding-left: 4px;
    position: relative;
    top: 0;
    left: 0;
  }

  .card-01 .interview-number,
  .card-02 .interview-number,
  .card-03 .interview-number {
    display: block;
    order: 0;
    text-align: center;
  }

/* 01~03　テキスト */
@media screen and (max-width: 768px) {
  .overlay-text-box01 {
    width: 90%;
    max-width: 90%;
    margin: 0 auto;
    text-align: left;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    margin-left: 20px;
    margin-top: -20px !important;
  }

  .overlay-text-box02 {
    width: 90%;
    margin: 0 auto;
    text-align: left;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    left: -57px !important;
  }

  .overlay-text-box03 {
    width: 90%;
    margin: 0 auto;
    text-align: left;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    left: 20px;
  }
}
}

/* 02のテキスト縦スクロール削除 */
@media screen and (max-width: 768px) {
  .overlay-text-box02 {
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
  }
}

@media screen and (max-width: 768px) {
.image-03{
    margin-top: -170px !important;
 }
}



/* --------------------------- */
/* 　モバイル対応・フッター　　　 */
/* --------------------------- */
@media screen and (max-width: 768px) {
  .footer-nav {
    display: flex;
    flex-direction: row; /* ← 横並び */
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 12px;
    text-align: left;
    margin-left: 17px;
  }

  .footer-nav > div {
    flex: 1;
    min-width: 100px;
  }

  .footer-nav h3 {
    font-size: 13px;
    margin-bottom: 4px;
    white-space: nowrap;
  }

  .footer-nav ul {
    padding-left: 0;
    list-style: none;
  }

  .footer-nav li {
    font-size: 11px;
    margin-bottom: 2px;
    white-space: nowrap;
  }

  .footer-nav a {
    text-decoration: none;
    color: #fff;
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .footer-main {
    flex-wrap: wrap;
    padding: 12px;
    gap: 12px;
    margin-left: -5px;
  }

  .site-footer {
    font-size: 11px;
  }

  .footer-logo {
    text-align: left !important;
    align-items: flex-start !important;
  }

  .footer-logo p {
    text-align: left !important;
  }

  .footer-icon-group {
    justify-content: flex-start !important;
  }
}



/* 01の白ボックスPC版でのみ復活 */
@media screen and (min-width: 769px) {
  .overlay-text-box01 {
    background-color: #fff; /* ← 白ボックス復活 */
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
}

