* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden; /* ←超重要 */
}
.hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 80px); /* ← ヘッダー分引く */
  margin-top: 80px;          /* ← ヘッダー下から開始 */
  overflow: hidden;
}
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
}
/* ===== ヘッダー ===== */
.header {
  position: fixed;          /* ← スクロールしても固定 */
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;            /* ← 動画より前に出す */
  background: rgba(180, 200, 210, 0.85); /* 半透明ブルーグレー */
  backdrop-filter: blur(6px);            /* ガラス感（対応ブラウザのみ） */
}

.header-inner {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;

  display: flex;
  align-items: center;
}

.header-logo img {
  height: 140px;
}

/* ナビ */
.header-nav{
    margin-left: auto;
    margin-right: 40px;
}
.header-nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
}
.header-nav a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  font-size: 14px;
  display: inline-block; /* ← 超重要 */
  transition: 
    transform 0.3s ease,
    opacity 0.3s ease;
}
/* ホバー時 */
.header-nav a:hover {
  transform: translateY(-4px);
  opacity: 0.75;
}
.header-btn {
  padding: 10px 18px;
  background: #1e2a32;
  color: #ffffff;
  border-radius: 20px;
  text-decoration: none;
  font-size: 13px;
  transition: 
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* ホバー時 */
.header-btn:hover {
  background: #ffffff;
  color: #1e2a32;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}
.mission {
  background: linear-gradient(180deg, #0b1c2d, #0a1622);
  padding: 120px 0;
  color: #fff;
}

.mission-inner {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.mission-title h2 {
  font-size: 64px;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.mission-title span {
  font-size: 14px;
  color: #b5c7d6;
}

.mission-box {
  background: #7f98a6; /* ← 薄い水色グレー */
  padding: 48px 56px 80px;
  margin-top: 40px;
  position: relative;
}

.mission-lead {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 32px;
  text-align: center;
}
/* 上の行（もっと左へ） */
.mission-lead .lead-left {
  display: inline-block;
  transform: translateX(-80px); /* ← 左にずらす */
}

/* 下の行（もっと右へ） */
.mission-lead .lead-right {
  display: inline-block;
  transform: translateX(80px); /* ← 右にずらす */
}
.mission-text {
  font-size: 15px;
  line-height: 1.9;

  max-width: 600px;     /* ← 行の長さを制限 */
  margin: 0 auto;       /* ← ボックス中央へ */
  text-align: center;   /* ← 中央揃え */
}
.mission-btn {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: #fff;
  color: #0b1c2d;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.mission-title h2 {
  font-family: 'Cinzel', serif;
}
/* ===== MISSION タイトル全体 ===== */
.mission-title {
  text-align: left; /* ← デザインに合わせて left */
  color: #fff;
}

/* 英字 MISSION */
.mission-en {
  font-family: 'Cinzel', serif;
  font-size: 48px;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

/* —— 使命 —— */
.mission-ja {
  display: flex;
  align-items: center;
  gap: 16px;

  margin-left: 75px;  /* ← 右にずらす */
  margin-top: -20px;   /* ← 上にずらす */
}


/* 線 */
.mission-ja .line {
  width: 40px;
  height: 2px;
  background-color: #fff;
}

/* 使命の文字 */
.mission-ja .text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
/* ===== OUR STRENGTHS ===== */
.strengths {
  background: radial-gradient(circle at top, #132636, #08131d);
  padding: 140px 0 160px;
  color: #fff;
}

.strengths-inner {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* タイトル */
.strengths-title {
  text-align: center;
  margin-bottom: 80px;
}

.strengths-en {
  font-family: 'Cinzel', serif;
  font-size: 48px;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.strengths-ja {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: -12px;
}

.strengths-ja .line {
  width: 48px;
  height: 2px;
  background: #fff;
}

.strengths-ja .text {
  font-size: 16px;
  letter-spacing: 0.1em;
}

/* カード全体 */
.strengths-cards {
  display: flex;
  gap: 48px;
  justify-content: center;
}

/* 各カード */
.strength-card {
  position: relative;
  width: 360px;
  min-height: 520px;
  padding: 56px 40px 88px;
  border-radius: 44px;

  background: #9fd0d8;   /* ← 白が本体 */
  color: #0b1c2d;
  z-index: 2;            /* ← 文字ごと前に */
}
.strength-card::before {
  content: "";
  position: absolute;
  inset: 0;

  background: #e6e5e5;   /* ← 水色 */
  border-radius: 44px;

  transform: translate(-24px, -28px); /* ← 左上にズラす */
  z-index: -1;           /* ← 後ろへ */
}



/* カードタイトル */
.card-title {
  background: #ffffff;
  text-align: center;
  padding: 12px 0;
  border-radius: 0px;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 24px;
  transform: translateX(-20px);
}

/* テキスト */
.card-text {
  font-size: 14px;
  line-height: 1.9;
  text-align: center;     /* ← 中央寄せ */
  font-weight: bold; 
  transform: translate(-10px, 20px);
}
/* 対話で導く（1枚目）本文だけ左へ */
.strength-card:nth-child(1) .card-text {
  transform: translate(-18px, 30px);
}

/* 矢印 */
.card-arrow {
  position: absolute;
  bottom: 40px;
  right: 40px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0b1c2d;
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;

  cursor: pointer;
  transition: all 0.3s ease;
}

/* ホバー時 */
.card-arrow:hover {
  background: #4fd1c5;                 /* 色変化 */
  transform: translate(-8px, -12px);   /* 左上＋ちょい浮く */
}
/* スクロール前（見えない状態） */
.strength-card {
  opacity: 0;
  transform: translateY(40px);
  transition: 
    opacity 2.2s ease,
    transform 2.2s ease;
}

/* 表示された時 */
.strength-card.is-show {
  opacity: 1;
  transform: translateY(0);
}
/* 表示タイミングをずらす */
.strength-card:nth-child(1) {
  transition-delay: 0s;
}

.strength-card:nth-child(2) {
  transition-delay: 0.15s;
}

.strength-card:nth-child(3) {
  transition-delay: 0.3s;
}
.flow {
  width: 100%;
  height: 1800px; /* 画面高さ以上にする */
  background-image: url("image/flow-wrap.png"); /* ← 作成済み画像のパス */
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover; /* 縦長でも全体を覆う */
  padding: 80px 0; /* 上下余白（あとで調整） */
}

.flow-inner {
  max-width: 900px; /* デザインに合わせて調整 */
  margin: 0 auto;
  position: relative;
}
.flow {
  padding: 120px 20px;
}

.flow-inner {
  max-width: 900px;
  margin: 0 auto;
  color: #fff;
}

/* タイトル */
.flow-title {
  text-align: center;
  margin-bottom: 80px;
}

.flow-en {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 48px;
  letter-spacing: 0.2em;
}

.flow-ja {
  font-size: 14px;
  font-weight: 500;
}
/* － 流れ － のラッパー */
.flow-ja-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  transform: translate(-15px,-6px);
}

/* 白線 */
.flow-ja-wrap .line {
  width: 32px;
  height: 2px;
  background: #fff;
}
/* フロー全体 */
.flow-list {
  position: relative;
  padding-left: 40px;
}

/* 縦ライン */
.flow-list::before {
  content: "";
  position: absolute;
  top: 0;
  left: 21px;
  width: 2px;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
}

/* 各ステップ */
.flow-item {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 50px;
  position: relative;
  margin-bottom: 80px;
}


/* 丸数字 */
.flow-number {
  position: absolute;

  /* カードの左端付近に被せる */
  left: calc(50% - 360px);

  /* カード上にちょい被せ */
  top: 15px;

  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 5;
}

/* カード */
.flow-card {
  background: rgba(255, 255, 255, 0.85);
  color: #000;
  padding: 32px 36px;
  border-radius: 10px;
  max-width: 720px;
  width: 100%;
  transform: translateX(-40px);
  min-height: 220px;
}

.flow-card h3 {
  text-align: center;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.08em; /* ← ちょい高級感 */
  text-shadow: 
    0 2px 6px rgba(0, 0, 0, 0.25);
  margin-bottom: 8px;
  margin-left: -320px;
  transform: translateY(-5px);
}
.flow-item:nth-child(1) .flow-card p,
.flow-item:nth-child(2) .flow-card p,
.flow-item:nth-child(3) .flow-card p {
  transform: translateY(-5px);
}

.flow-card p {
  text-align: center;
  font-weight: 500;
  font-size: 16px;
  transform: translateY(20px);
  line-height: 1.7;
}
/* 各フロー間の矢印（箱と箱の間） */
.flow-item::after {
  content: "";
  position: absolute;

  /* 縦ラインと同じ位置 */
  left: 380px;

  /* この flow-item の下側に出す */
  bottom: -60px;

  width: 2px;
  height: 50px;
  background: rgba(255,255,255);
  pointer-events: none;
}
.flow-item::before {
  content: "";
  position: absolute;

  left: 372px;
  bottom: -75px;

  width: 20px;
  height: 20px;
  border-radius: 50%;

  background: #fff;
  pointer-events: none;
}
.flow-item:last-child::after,
.flow-item:last-child::before {
  display: none;
}
/* ===== FLOW アニメーション ===== */

/* 初期状態（見えない） */
.flow-item {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1.4s ease,
    transform 1.4s ease;
}

/* 表示されたら */
.flow-item.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* 順番に出す */
.flow-item:nth-child(1) { transition-delay: 0s; }
.flow-item:nth-child(2) { transition-delay: 0.15s; }
.flow-item:nth-child(3) { transition-delay: 0.3s; }
.flow-item:nth-child(4) { transition-delay: 0.45s; }
.flow-item:nth-child(5) { transition-delay: 0.6s; }

/* =========================
   お問い合わせ CTA
========================= */

.contact-cta {
  width: 100%;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;

  background-color: #3b5f7e;
}

.contact-btn {
  display: inline-block;
  padding: 18px 48px;
  background: #0b1c2d;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.05em;

  transition: all 0.3s ease;
}

.contact-btn:hover {
  background: #163a5a;
  transform: translateY(-2px);
}
/* ===== 会社概要 ===== */
.company {
  max-width: 900px;
  margin: 80px auto;
  padding: 0 20px;
}

/* 見出しバー */
.company-title {
  background-color: #0b1c2d; /* ← 暗めの紺色 */
  color: #fff;
  padding: 14px 24px;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 30px;
}

/* テーブル */
.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #ddd;
  font-size: 15px;
}

.company-table th {
  width: 30%;
  text-align: left;
  font-weight: bold;
  color: #333;
  background: #f9f9f9;
}

.company-table td {
  color: #555;
}
.footer {
  background-color: #a6c9d4;
  padding: 180px 20px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 左ロゴ */
.footer-logo img {
  height: 250px;
  margin-top: -80px;
  margin-left: 20px;
}
.footer-logo-img{
    height: 70px;
}
/* ナビ */
.footer-nav {
  display: flex;
  gap: 30px;
  margin-top: 80px;
  margin-left: -120px;
}

.footer-nav a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
}

.footer-nav a:hover {
  opacity: 0.7;
}

/* 右ロゴ */
.footer-symbol img {
  height: 150px;
}
.service-page-hero {
  height: 420px; /* 高さはここで調整 */
  background-image: url("image/blue-wrap.png"); /* ← ここを自分の画像パスに */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
}

.service-page-hero-title {
  color: #ffffff;
  font-size: 32px;
  font-weight: bold;
  letter-spacing: 0.1em;
}
.service {
  background: url("image/service-wrap.png") center / cover no-repeat;
  padding: 160px 0;
}

.service-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.service-text {
  max-width: 700px;
  margin: 0 auto 50px; /* 左右中央寄せ */
  text-align: center; /* 文字を中央 */
  transform: translateY(-30px);
}

.service-copy {
  font-size: 24px;
  font-weight: bold;
  line-height: 1.6;
  margin-bottom: 24px;
}

.service-description {
  font-size: 15px;
  line-height: 1.9;
  font-weight: bold;
}

.service-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.service-card {
  color: #fff;
}

.service-title {
  background: #0b1c2d;
  display: inline-block;
  padding: 10px 24px;
  font-size: 16px;
  margin-bottom: 20px;
  margin-left: 160px; /* ← 数字増やすほど右へ */
}

.service-card img {
  width: 80%;      /* ← 60〜90%で調整 */
  margin: 0 auto 20px;
  display: block;
}
.service-card p {
  font-size: 14px;
  line-height: 1.9;
  margin-left: 120px; /* ←ここで微調整 */
}
.service-text {
  max-width: 700px;
  margin: 0 auto 50px;
  text-align: center;
  transform: translateY(-60px); /* ← 少し上へ */
}

.service-copy {
  font-size: 24px;
  font-weight: bold;
  line-height: 1.6;
}

/* 上の行：左へ */
.service-copy .copy-left {
  display: inline-block;
  transform: translateX(-80px);
}

/* 下の行：右へ */
.service-copy .copy-right {
  display: inline-block;
  transform: translateX(80px);
}
/* セクション全体 */
.strength {
  background: url("image/st-wrap.png") center / cover no-repeat;
  padding: 120px 20px;
}

.strength-inner {
  max-width: 1000px;
  margin: 0 auto;
}

/* 各ブロック */
.strength-item {
  margin-bottom: 80px;
}

/* 黒ラベル */
.strength-label {
  background: #0b1c2d;
  color: #fff;
  display: inline-block;
  padding: 14px 28px;
  font-size: 16px;
  margin-bottom: 20px;
  margin-left: 420px;
}

/* 白い角丸ボックス */
.strength-box {
  background: rgba(255, 255, 255, 0.8); /* ← 少し透けさせる */
  border-radius: 40px;

  padding: 80px 56px;  /* ← 縦を長く、横は控えめ */
  max-width: 680px;    /* ← 横幅を小さく */
  min-height: 360px;   /* ← 高さをしっかり出す */

  margin: 0 auto 100px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  backdrop-filter: blur(4px);
}


/* テキスト */
.strength-text {
  font-size: 14px;
  line-height: 1.9;
  max-width: 520px;
  font-weight: bold;
}

/* イラスト */
.strength-image img {
  max-width: 200px;
  height: auto;
}
/* ===== イラスト アニメーション ===== */
.strength-image img {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1.4s ease,
    transform 1.4s ease;
}

/* 表示された状態 */
.strength-image img.is-show {
  opacity: 1;
  transform: translateY(0);
}
/* =========================
   お問い合わせフォーム
========================= */

.contact-form {
  background: url("image/contact-wrap.png") center / cover no-repeat;
  padding: 120px 20px;
}

.contact-inner {
  max-width: 720px;
  margin: 0 auto;
}

/* タイトル */
.contact-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 60px;
  color: #0b1c2d;
}

/* フォーム全体 */
.contact-form-box {
  background: rgba(255, 255, 255, 0.85);
  padding: 60px 48px;
  border-radius: 32px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  backdrop-filter: blur(4px);
}

/* 各入力ブロック */
.form-group {
  margin-bottom: 32px;
}

.form-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  color: #0b1c2d;
  font-weight: bold;
}

/* input / textarea 共通 */
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  border: none;
  font-size: 14px;
  background: #f4f6f8;
}

/* フォーカス時 */
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(11,28,45,0.2);
}

/* 送信ボタン */
.form-btn {
  text-align: center;
  margin-top: 40px;
}

.form-btn button {
  background: #0b1c2d;
  color: #fff;
  border: none;
  padding: 14px 48px;
  font-size: 16px;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
}

.form-btn button:hover {
  opacity: 0.85;
}
.card-arrow {
  text-decoration: none;
}
/* ===== 初期：PC表示 ===== */
.hero-video-pc {
  display: block;
}

.hero-video-sp {
  display: none;
}

/* 表示切り替え */
.pc-only {
  display: flex;
}

.sp-only {
  display: none;
}
/* ===== スマホ ===== */
@media screen and (max-width: 767px) {

  .hero {
    height: calc(100svh - 80px);
  }

  /* 動画切り替え */
  .hero-video-pc {
    display: none;
  }

  .hero-video-sp {
    display: block;
  }

  /* ナビ切り替え */
  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }
}
/* ===== スマホメニュー ===== */
.sp-menu {
  position: fixed;
  top: 80px;
  right: 0;
  width: 100%;
  height: calc(100vh - 80px);
  background: rgba(11, 28, 45, 0.95);
  backdrop-filter: blur(6px);

  display: none;
  z-index: 999;
}

.sp-menu ul {
  list-style: none;
  padding: 40px 24px;
}

.sp-menu li {
  margin-bottom: 24px;
}

.sp-menu a {
  color: #fff;
  font-size: 18px;
  text-decoration: none;
}

/* 表示された時 */
.sp-menu.is-open {
  display: block;
}
/* ===== ハンバーガーボタン ===== */
.hamburger {
  background: none;
  border: none;
  cursor: pointer;

  margin-left: auto; /* ← 右端へ */
  width: 40px;
  height: 40px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;

  z-index: 1100; /* ← sp-menu より前 */
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #ffffff; /* ← 白線 */
}
/* =========================
   MISSION（スマホ）
========================= */
@media screen and (max-width: 767px) {

  .mission {
    padding: 80px 0;
  }

  .mission-inner {
    width: 90%;
  }

  /* タイトル中央寄せ */
  .mission-title {
    text-align: center;
  }

  .mission-en {
    font-size: 36px;
    letter-spacing: 0.12em;
  }

  .mission-ja {
    justify-content: center;
    margin: 0;
    margin-top: -8px;
  }

  .mission-ja .line {
    width: 28px;
  }

  /* グレーBOX */
  .mission-box {
    padding: 32px 24px 64px;
  }

  /* リード文 */
  .mission-lead {
    font-size: 18px;
    margin-bottom: 24px;
  }

  /* 左右ズラし解除 */
  .mission-lead .lead-left,
  .mission-lead .lead-right {
    transform: none;
  }

  /* 本文 */
  .mission-text {
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
  }

  /* ボタン中央へ */
  .mission-btn {
    position: static;
    display: block;
    width: fit-content;
    margin: 32px auto 0;
  }
}
/* =========================
   STRENGTHS（スマホ）
========================= */
@media screen and (max-width: 767px) {
  .strengths {
    padding: 80px 0;
  }

  .strengths-inner {
    width: 90%;
    margin: 0 auto;
  }

  /* ===== タイトル ===== */
  .strengths-title {
    text-align: center;
    margin-bottom: 48px;
  }

  .strengths-en {
    font-size: 36px;
    letter-spacing: 0.12em;
  }

  .strengths-ja {
    justify-content: center;
    margin-top: -8px;
  }

  .strengths-ja .line {
    width: 28px;
  }

  /* ===== カード全体 ===== */
  .strengths-cards {
    display: flex;
    flex-direction: column;
    gap: 48px;
  }

  /* ===== 各カード ===== */
  .strength-card {
    position: relative;
    padding: 20px 48px 24px 20px;
    background: #9fd0d8;
    border-radius: 20px 60px 60px 20px;
    margin-left: auto;
    width: 93%;
  }

  /* タイトル */
  .card-title {
    font-size: 25px;
    margin-bottom: 12px;
  }

  /* テキスト */
  .card-text {
    font-size: 22px;
    line-height: 1.6;
  }

  /* ===== 矢印ボタン ===== */
  .card-arrow {
    position: absolute;
    right: 40px;
    top:430px;
    width: 40px;
    height: 40px;
    border-radius: 50%;

    background: #0b1c2d;
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    font-size: 16px;
  }
}
/* =========================
   FLOW（スマホ）
========================= */
@media screen and (max-width: 767px) {

  .flow {
    padding: 80px 16px;
    background-size: cover;
  }

  .flow-inner {
    max-width: 100%;
    margin: 0 auto;
  }

  /* ===== タイトル ===== */
  .flow-title {
    margin-bottom: 60px;
  }

  .flow-en {
    font-size: 36px;
    letter-spacing: 0.15em;
  }

  .flow-ja-wrap {
    transform: none;
    margin-top: 4px;
  }

  /* ===== フロー全体 ===== */
  .flow-list {
    position: relative;
    padding-left: 18px;
  }

  /* 縦ライン */
  .flow-list::before {
    content: "";
    position: absolute;
    top: 0;
    left: 16px;
    width: 2px;
    height: 100%;
    background: rgba(255,255,255,0.4);
  }

  /* ===== 各ステップ ===== */
  .flow-item {
    position: relative;
    margin-bottom: 90px;
    display: block;
  }

  /* 丸数字 */
  .flow-number {
    position: absolute;
    left: 0;
    top: 0;

    width: 36px;
    height: 36px;
    border-radius: 50%;

    background: #111;
    color: #fff;

    font-size: 16px;
    font-weight: bold;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 2;
  }

  /* カード */
  .flow-card {
    background: rgba(255,255,255,0.9);
    color: #000;

    margin-left: 20px;
    padding: 20px 18px 24px;
    border-radius: 10px;

    transform: none;
  }

  .flow-card h3 {
    font-size: 25px;
    margin-bottom: 8px;
    text-align: left;
    margin-left: 40px;
    text-shadow: none;
  }

  .flow-card p {
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
    transform: none;
    margin-top: 30px;
  }

  /* 矢印・丸はスマホでは不要 */
  .flow-item::before,
  .flow-item::after {
    display: none;
  }
}
/* =========================
   FLOW 左寄せ調整（スマホ用・上書き）
========================= */
@media screen and (max-width: 767px) {

  /* セクションを画面基準に */
  .flow {
    width: 100%;
    overflow: hidden;
  }

  /* 中央寄せを解除 */
  .flow-inner {
    margin: 0;
    padding-left: 0;
  }

  /* フロー全体を左へ */
  .flow-list {
    padding-left: 12px;
  }

  /* 縦ラインも左へ */
  .flow-list::before {
    left: 16px;
  }

  /* 丸数字（※消えない位置） */
  .flow-number {
    left: 0;
  }

  /* カードをさらに左へ */
  .flow-card {
    margin-left: 12px;
  }

}
/* =========================
   FLOW 左に寄せる（最終調整）
========================= */
@media screen and (max-width: 767px) {

  /* フロー全体の左余白を削る */
  .flow-list {
    padding-left: 0;
  }

  /* 縦ラインをさらに左へ */
  .flow-list::before {
    left: 2px;
  }

  /* 丸数字を左へ */
  .flow-number {
    left: 0;
  }

  /* カードを丸数字に近づける */
  .flow-card {
    margin-left: 6px;
  }

}
/* =========================
   FLOW 左寄せ 最終調整
========================= */
@media screen and (max-width: 767px) {

  /* フロー全体を左へ引っ張る */
  .flow-list {
    padding-left: 0;
  }



  /* 縦ラインを限界まで左へ */
  .flow-list::before {
    left: 50px;
    transform: translateX(-50%);
  }

  /* 丸数字 */
  .flow-number {
    left: 60px;
    top: 17px;
    transform: translateX(-50%);
  }

  /* カード */
  .flow-card {
    margin-left: 8px;
    width: 85%;
    margin: 20px auto 0;
    padding: 24px 20px;
  }

}
@media screen and (max-width: 767px) {

  .flow-item::after {
    display: block;     /* ← これが超重要 */
    content: "▼";
    position: absolute;

    left: 60px;
    bottom: -45px;

    font-size: 22px;
    color: #fff;
    opacity: 0.6;
  }

  .flow-item:last-child::after {
    display: none;
  }

}
@media screen and (max-width: 767px) {

  .flow-item {
    position: relative;
  }

  /* 縦線 */
  .flow-item::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -70px;
    width: 2px;
    height: 50px;
    background: #ffffff;
  }

  /* ○ */
  .flow-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -75px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
  }

  /* 最後は消す */
  .flow-item:last-child::after,
  .flow-item:last-child .flow-dot {
    display: none;
  }
}
/* =========================
   FOOTER（スマホ）
========================= */
@media screen and (max-width: 767px) {

  .footer {
    background: #b1dde4;
    padding: 40px 0 60px;
  }

  .footer-inner {
    position: relative;
    width: 90%;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  /* 左上ロゴ */
  .footer-logo {
    width: 100%;
    text-align: left;
    margin-top: 20px;
  }

  .footer-logo-img img {
    width: 140px;
    height: auto;
  }

  /* ナビ（縦並び・中央） */
  .footer-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
  }

  .footer-nav a {
    color: #111;
    font-size: 16px;
    text-decoration: none;
    font-weight: 500;
  }

  /* 右下シンボルロゴ（装飾） */
  .footer-symbol {
    position: absolute;
    right: 0;
    bottom: -20px;
    opacity: 0.9;
  }

  .footer-symbol img {
    width: 100px;
    height: auto;
  }
}
@media screen and (max-width: 767px) {

  .footer-nav {
    width: 100%;              /* ← 超重要 */
    display: flex;
    flex-direction: column;
    align-items: center;      /* 要素を中央 */
    text-align: center;       /* 文字も中央 */
    margin: 0 auto;           /* 念押し */
  }

  .footer-nav a {
    display: block;
    width: 100%;              /* ← これで中央が効く */
    text-align: center;
  }
}
@media screen and (max-width: 767px) {
  .footer-nav {
    margin-top: -18px; /* ← 少し上に（-8〜-20pxで調整） */
  }
}
@media screen and (max-width: 767px) {
  .footer-symbol {
    display: none;
  }
}
/* =========================
   SERVICE（スマホ）
   ※ 背景画像は触らない
========================= */
@media screen and (max-width: 767px) {

  /* 中身を縦並びに */
  .service-inner {
    display: block;
    width: 100%;
  }

  /* 上：テキスト（白ゾーン） */
  .service-text {
    padding: 72px 20px 40px;
  }

  .service-copy {
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 24px;
  }

  .service-description {
    font-size: 18px;
    line-height: 1.9;
    color: #0f1e3a;
  }

  /* 下：カード（青ゾーン） */
  .service-cards {
    margin-top: 120px;       /* ← 背景の青ゾーンに合わせて調整 */
    display: flex;
    flex-direction: column;
    gap: 96px;
  }

  .service-card {
    width: 85%;
    margin: 0 auto;
    text-align: center;
    background: transparent;
  }

  /* 黒ラベルタイトル */
  .service-title {
    display: inline-block;
    background: #111;
    color: #fff;
    font-size: 14px;
    padding: 6px 14px;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
  }

  /* カード画像 */
  .service-card img {
    width: 100%;
    max-width: 280px;
    display: block;
    margin: 0 auto 20px;
  }

  /* カード文章 */
  .service-card p {
    font-size: 14px;
    line-height: 1.8;
    color: #fff;
  }

}
@media screen and (max-width: 767px) {

  /* コピー文＋本文をまとめて上へ */
  .service-text {
    padding-top: 10px;   /* ← 数字を小さくするほど上に行く */
  }

}
@media screen and (max-width: 767px) {

  /* コピー文を中央に */
  .service-copy {
    text-align: center;      /* ← 横幅中央 */
    margin-bottom: 80px;     /* ← 本文との間隔を広げる */
  }
}
@media screen and (max-width: 767px) {

  /* 明日を作る〜提供します。を右へ */
  .service-copy {
    text-align: center;                 /* 中央基準は維持 */
    transform: translateX(20px);        /* ← 右にずらす（数値で調整） */
  }
}
@media screen and (max-width: 767px) {
  .service-description {
    word-break: keep-all;   /* 不自然な改行を防ぐ */
  }
}
@media screen and (max-width: 767px) {
  .service-card .service-title {
    position: relative;   /* ← これで移動可能に */
    top: -80px;           /* 上に移動 */
    left: 0;              /* 左端に寄せる */
    margin: 0 0 20px 0;   /* 下の間隔だけ調整 */
    text-align: left;     /* 中央揃え解除 */
  }
}@media screen and (max-width: 767px) {

  /* カード全体を少し大きく */
  .service-card {
    width: 90%;         /* 元85% → 少し大きく */
    margin: 0 auto 0 20px;
    text-align: left;   /* 左揃えに */
    background: transparent;
    padding: 20px;      /* 内側の余白を少し増やす */
  }

  /* タイトルを大きく */
  .service-card .service-title {
    font-size: 18px;    /* 元14px → 18pxで大きく */
    padding: 8px 16px;  /* 元6px 14px → 少し大きめ */
    margin-bottom: 20px;
    background: #111;
    color: #fff;
    letter-spacing: 0.05em;
    text-align: left;   /* 左揃え */
  }

  /* カード内の画像を少し大きく */
  .service-card img {
    width: 100%;
    max-width: 320px;   /* 元280px → 少し大きく */
    display: block;
    margin: 0 auto 20px;
    transform: translate(-40px,-50px);
  }

  /* カード文章も少し大きく */
  .service-card p {
    font-size: 16px;    /* 元14px → 16pxで読みやすく */
    line-height: 1.8;
    color: #000000;
    margin-left: -10px;
    font-weight: 600;
  }
}
@media screen and (max-width: 767px) {
  .service-card {
    width: 90%;
    margin-left: auto;   /* ← 左を自動 */
    margin-right: -30px;     /* ← 右に寄せる */
  }
}
@media screen and (max-width: 767px) {
  .service-card .service-title {
    transform: translateX(30px); /* ← 数字を増やすともっと右 */
  }
}
.hamburger {
  display: block;
}
@media screen and (min-width: 768px) {
  .hamburger {
    display: none;
  }
}
.hamburger {
  position: relative;
}

.hamburger span {
  position: static;      /* ← 重なり防止 */
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;

  margin: 4px 0;         /* ← 縦に並ばせる */
}
/* =========================
   STRENGTH（スマホ完成版）
========================= */
@media screen and (max-width: 767px) {

  .strength {
    padding: 80px 0;
  }

  .strength-inner {
    width: 90%;
    margin: 0 auto;
  }

  .strength-item {
    margin-bottom: 80px;
  }

  /* ===== 黒ラベル ===== */
  .strength-label {
    display: block;
    width: fit-content;
    margin: 0 auto 20px;
    background: #111;
    color: #fff;
    font-size: 14px;
    padding: 6px 20px;
    letter-spacing: 0.05em;
    text-align: center;
  }

  /* ===== 白ボックス ===== */
  .strength-box {
    position: relative;
    background: #ffffff;
    border-radius: 30px;
    padding: 32px 24px 80px; /* 下はイラスト分 */
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  }

  /* ===== テキスト ===== */
  .strength-text p {
    font-size: 14px;
    line-height: 1.8;
    color: #111;
    margin-bottom: 14px;
    text-align: left;
  }

  /* ===== イラスト（右下） ===== */
  .strength-image {
    position: absolute;
    right: 16px;
    bottom: 10px;
  }

  .strength-image img {
    width: 90px;
    height: auto;
    display: block;
  }

}
@media screen and (max-width: 767px) {
  .strength-label {
    font-size: 20px;   /* ← 今より少し大きく */
  }
}












