/* =============================================
   フィットPlus 公式サイト CSS
   =============================================
   【カラーパレット】
   メイングリーン: #2e8b57
   アクセントオレンジ: #f97316
   ライトグリーン: #e8f5e9
   ダークグリーン: #1a5c38
   テキスト: #333
   ============================================= */

:root {
  --green: #2e8b57;
  --green-dark: #1a5c38;
  --green-light: #e8f5e9;
  --green-mid: #4caf7d;
  --orange: #f97316;
  --orange-light: #fff3e0;
  --gold: #f5c518;
  --text: #333;
  --text-light: #666;
  --bg: #fff;
  --bg-light: #f8fdf9;
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
  --radius: 16px;
  --radius-sm: 8px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 18px; /* ベースを大きめに（高齢者・読みやすさ配慮） */
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
}

ruby rt {
  font-size: 0.55em;
  color: inherit; /* 親要素の文字色をそのまま継承 */
}

a {
  color: var(--green);
  text-decoration: none;
}

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

/* =============================================
   画像プレースホルダー
   ============================================= */

.img-placeholder {
  background-color: #ffffff;
  border: none;                  /* 破線ボーダー削除（基本） */
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #4caf50;
  font-size: 0.78rem;
  text-align: center;
  padding: 0;
  min-height: 120px;
  width: 100%;
  overflow: hidden;
}

/* プレースホルダーアイコン・テキスト（画像なし時のみ表示） */
.img-placeholder i {
  font-size: 2.4rem;
  opacity: 0.6;
}

.img-placeholder span {
  font-size: 0.72rem;
  color: #388e3c;
  font-weight: 500;
  line-height: 1.4;
}

/* =============================================
   画像差し替え後：imgタグのスタイル
   ============================================= */
.img-placeholder img {
  width: 100%;
  height: 100%;        /* 親の高さいっぱいに広げてからcoverでトリミング */
  object-fit: cover;   /* 余白なし・自動トリミング */
  object-position: center center;
  display: block;
  border-radius: 0;
}

/* 事業所外観・内観（大きめ） */
.img-placeholder.large {
  min-height: 220px;
  border: none;
}

/* 選ばれる理由カード上部 */
.img-placeholder.feature-ph {
  min-height: 180px;
  height: 180px;       /* 固定高さでcoverトリミングを確実に */
  border-radius: var(--radius) var(--radius) 0 0;
  border: none;
}

/* 作業内容カード上部 */
.img-placeholder.work-ph {
  min-height: 160px;
  height: 160px;
  border-radius: var(--radius) var(--radius) 0 0;
  border: none;
}

/* ギャラリー（正方形） */
.img-placeholder.gallery-ph {
  min-height: 140px;
  aspect-ratio: 1 / 1;
  border: none;
}

/* スタッフ集合写真 */
.img-placeholder.staff-main-ph {
  min-height: 250px;
  height: 250px;
  border: none;        /* 集合写真エリアも破線なし */
}

/* スタッフ個人写真（丸）→ 破線ボーダーを残す */
.img-placeholder.staff-ph {
  min-height: 100px;
  height: 100px;
  width: 100px;
  min-width: 100px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2.5px dashed #81c784; /* 残す */
}

/* 利用者の声（丸）→ 破線ボーダーを残す */
.img-placeholder.voice-ph {
  min-height: 70px;
  height: 70px;
  width: 70px;
  min-width: 70px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2.5px dashed #81c784; /* 残す */
}

/* 利用の流れ STEP画像 */
.img-placeholder.step-ph {
  min-height: 120px;
  height: 120px;
  margin-bottom: 12px;
  border: none;
}

/* アクセスマップ */
.img-placeholder.access-ph {
  min-height: 200px;
  height: 200px;
  margin-bottom: 20px;
  border: none;
}

/* マイスター図解 */
.img-placeholder.meister-ph {
  min-height: 320px;
  height: 320px;
  background: rgba(255,255,255,0.12);
  border: none;
  color: rgba(255,255,255,0.7);
}

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

.mt-8 { margin-top: 16px; }

/* =============================================
   ヘッダー / ナビゲーション
   ============================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 24px;
  height: 70px;
}

/* ロゴ */
.logo-link { text-decoration: none; }

.logo-placeholder {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text-main {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--green);
  letter-spacing: -0.02em;
}

.logo-plus {
  color: var(--orange);
}

.logo-text-sub {
  font-size: 0.6rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ロゴ画像差し替え時のスタイル */
.logo-img {
  height: 48px;
  width: auto;
}

/* PCナビ */
.nav-pc {
  display: flex;
  gap: 4px;
}

.nav-pc a {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 20px;
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-pc a:hover,
.nav-pc a.active {
  background: var(--green-light);
  color: var(--green);
}

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  height: 3px;
  background: var(--green);
  border-radius: 3px;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ドロワーナビ */
.nav-drawer {
  display: none;
  flex-direction: column;
  background: white;
  padding: 8px 0 16px;
  border-top: 1px solid #eee;
}

.nav-drawer.open {
  display: flex;
}

.drawer-link {
  padding: 14px 24px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s;
}

.drawer-link:hover {
  background: var(--green-light);
  color: var(--green);
}

/* =============================================
   ヒーロー
   =============================================
   PC:  1枚の横長背景画像（hero-bg-pc.jpg）を全面に敷き
        テキストを左寄せで重ねる
   SP:  専用縦長背景画像（hero-bg-sp.jpg）を上部に配置し
        テキストを下に表示してファーストビューに収める
   ============================================= */

/* -----------------------------------------------
   PC（デフォルト）
----------------------------------------------- */
.hero {
  /* 背景画像: 用意できたら url() に切り替える
     フォールバックは明るいグリーン系グラデーション */
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 70px;
  position: relative;
  overflow: hidden;
  /* PC背景画像（全面） */
  background-image: url('../images/hero-bg-pc.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  /* 画像未用意時フォールバック（白） */
  background-color: #ffffff;
}

/* 背景画像の上に明るめ半透明オーバーレイ（白系・テキスト可読性確保） */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(240, 250, 245, 0.82) 0%,
    rgba(240, 250, 245, 0.68) 45%,
    rgba(240, 250, 245, 0.20) 100%
  );
  z-index: 0;
  pointer-events: none;
}

/* スマホ専用画像エリア（PCでは非表示） */
.hero-img-sp {
  display: none;
}

/* テキストコンテンツ（PC: 左側 max 600px） */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 620px;
  padding: 72px 48px 72px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* バッジ〜サブタイトルをまとめてハイライトするラッパー */
.hero-catch-block {
  background: rgba(255,255,255,0.80);
  border-radius: 20px;
  padding: 28px 32px 24px;
  margin-bottom: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(46,139,87,0.14);
  border: 1.5px solid rgba(46,139,87,0.18);
  text-align: left;
}

/* バッジ（「稼げるB型」） */
.hero-badge {
  display: inline-block;
  background: var(--orange);
  color: white;
  font-weight: 900;
  font-size: 1.2rem;
  padding: 10px 36px;
  border-radius: 32px;
  margin-bottom: 20px;
  letter-spacing: 0.08em;
  box-shadow: 0 6px 24px rgba(249,115,22,0.7), 0 2px 8px rgba(249,115,22,0.4);
  width: fit-content;
}

/* メインキャッチ */
.hero-title {
  font-size: clamp(3rem, 6.5vw, 5rem);
  font-weight: 900;
  color: var(--green-dark);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 8px rgba(46,139,87,0.12);
}

.hero-sub {
  font-size: clamp(1.2rem, 2.8vw, 1.7rem);
  font-weight: 900;
  color: var(--orange);
  margin-bottom: 0;
  text-shadow: none;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tag {
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  border: 1.5px solid #81c784;
}

.hero-desc {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 28px;
  background: rgba(255,255,255,0.88);
  padding: 14px 18px;
  border-radius: 12px;
  border-left: 4px solid var(--green);
  box-shadow: 0 2px 10px rgba(46,139,87,0.08);
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.25s;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--green);
  color: white;
  box-shadow: 0 4px 15px rgba(46,139,87,0.35);
}

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46,139,87,0.45);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}

.btn-outline:hover {
  background: white;
  color: var(--green-dark);
  border-color: white;
}

.btn-white {
  background: white;
  color: var(--green);
  font-weight: 700;
}

.btn-white:hover {
  background: var(--green-light);
  color: var(--green-dark);
}

.hero-taiken {
  font-size: 0.88rem;
  color: var(--orange);
  font-weight: 700;
}

/* =============================================
   ハイライトバー
   ============================================= */
.highlight-bar {
  background: var(--green);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.highlight-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 16px;
  color: white;
  font-size: 0.82rem;
  font-weight: 700;
  border-right: 1px solid rgba(255,255,255,0.2);
  text-align: center;
}

.highlight-item:last-child { border-right: none; }

.hl-icon {
  font-size: 1.8rem;
  opacity: 0.9;
}

.hl-icon-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

/* =============================================
   セクション共通
   ============================================= */
.section {
  padding: 80px 0;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 900;
  color: var(--green-dark);
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--orange));
  border-radius: 2px;
  margin-top: 8px;
  width: 60%;
  margin-left: auto;
  margin-right: auto;
}

.section-title.white {
  color: white;
}

.section-title.white::after {
  background: rgba(255,255,255,0.5);
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 4px;
}

.section-subtitle.white {
  color: rgba(255,255,255,0.85);
}

/* =============================================
   事業所について
   ============================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.about-logo-placeholder {
  font-size: 2rem;
  font-weight: 900;
  color: var(--green);
  margin-bottom: 16px;
}

.about-logo-placeholder span { color: var(--orange); }

/* 大きいロゴ画像差し替え後 */
.about-logo {
  height: 60px;
  width: auto;
  margin-bottom: 16px;
}

.about-lead {
  font-size: 1.05rem;
  margin-bottom: 24px;
  line-height: 1.9;
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.about-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: white;
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border-left: 4px solid var(--green);
}

.about-card-icon {
  width: 42px;
  height: 42px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.about-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 4px;
}

.about-card p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* 対象者バナー */
.target-banner {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-mid) 100%);
  border-radius: var(--radius);
  padding: 20px 24px;
  color: white;
}

.target-title {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 12px;
  opacity: 0.9;
}

.target-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.target-tags span {
  background: rgba(255,255,255,0.25);
  border: 1.5px solid rgba(255,255,255,0.5);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
}

.target-note {
  font-size: 0.82rem;
  line-height: 1.8;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 12px 14px;
}

/* =============================================
   えらばれる理由
   ============================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card-wide {
  grid-column: span 1;
}

.feature-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.13);
}

/* 画像差し替え後のスタイル */
.feature-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.feature-num {
  background: var(--green);
  color: white;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 4px 12px;
  display: inline-block;
  margin: 12px 12px 0;
  border-radius: 20px;
}

.feature-body {
  padding: 12px 20px 24px;
}

.feature-body h3 {
  font-size: 1rem;
  font-weight: 900;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.feature-badge {
  display: inline-block;
  background: var(--orange-light);
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
  border: 1.5px solid #fed7aa;
}

.feature-body p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.8;
}

.feature-note {
  font-size: 0.72rem !important;
  color: #999 !important;
  margin-top: 8px;
}

/* =============================================
   マイスター制度
   ============================================= */
.meister-section {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 60%, #3da86e 100%);
  color: white;
}

.meister-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

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

.meister-step {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 14px 20px;
}

.highlight-step {
  background: rgba(245, 197, 24, 0.2);
  border: 2px solid var(--gold);
}

.step-circle {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  color: white;
  flex-shrink: 0;
}

.step-circle.gold {
  background: var(--gold);
  color: #7a5c00;
  box-shadow: 0 0 20px rgba(245,197,24,0.6);
}

.step-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.step-text strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
}

.step-text span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
}

.meister-arrow {
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 1rem;
  padding: 6px 0;
}

/* マイスター図解画像差し替え後 */
.meister-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius);
}

/* =============================================
   作業内容
   ============================================= */
.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.work-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.work-card:hover {
  transform: translateY(-5px);
}

/* 画像差し替え後 */
.work-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.work-body {
  padding: 14px 16px 20px;
}

.work-type {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 8px;
}

.work-type.indoor {
  background: #e3f2fd;
  color: #1565c0;
}

.work-type.outdoor {
  background: #e8f5e9;
  color: #2e7d32;
}

.work-body h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 6px;
}

.work-body p {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ギャラリー */
.works-gallery-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 16px;
  text-align: center;
}

.works-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

/* ギャラリー画像差し替え後 */
.works-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
}

/* =============================================
   スタッフ
   ============================================= */
.staff-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
}

/* スタッフ集合写真差し替え後 */
.staff-main-img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

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

.staff-card {
  display: flex;
  gap: 16px;
  align-items: center;
  background: white;
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
}

/* スタッフ顔写真差し替え後 */
.staff-face {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--green-light);
}

.staff-info {
  flex: 1;
}

.staff-role {
  font-size: 0.7rem;
  background: var(--green-light);
  color: var(--green-dark);
  padding: 2px 10px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 4px;
  font-weight: 700;
}

.staff-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.staff-info p {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* =============================================
   利用日・時間
   ============================================= */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.schedule-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--green);
}

.schedule-icon {
  font-size: 2rem;
  color: var(--green);
  margin-bottom: 12px;
}

.schedule-card h3 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 8px;
}

.schedule-big {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--green-dark);
}

.schedule-note {
  font-size: 0.72rem;
  color: #999;
  margin-top: 4px;
}

/* =============================================
   利用の流れ
   ============================================= */
.flow-intro {
  text-align: center;
  background: var(--orange-light);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 40px;
  font-size: 0.92rem;
  border: 2px solid #fed7aa;
  color: #c2410c;
  font-weight: 500;
}

.flow-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: start;
}

.flow-step {
  background: white;
  border-radius: var(--radius);
  padding: 20px 16px 24px;
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
}

.flow-step-last {
  border: 3px solid var(--orange);
}

/* STEP画像差し替え後 */
.step-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
}

.step-num {
  display: inline-block;
  background: var(--green);
  color: white;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.step-num.last {
  background: var(--orange);
}

.flow-step h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.flow-step p {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 10px;
}

.step-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green);
  color: white;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
}

.step-badge {
  display: inline-block;
  background: var(--orange-light);
  color: var(--orange);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1.5px solid #fed7aa;
  margin-top: 6px;
}

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 1.4rem;
  margin-top: 60px;
}

/* =============================================
   利用者の声
   ============================================= */
.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.voice-card {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

/* 声写真差し替え後 */
.voice-face {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--green-light);
}

.voice-text {
  flex: 1;
}

.voice-text p {
  font-size: 0.82rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 8px;
  position: relative;
}

.voice-text p::before {
  content: '"';
  font-size: 2rem;
  color: var(--green-light);
  line-height: 0.5;
  margin-right: 4px;
  font-family: serif;
}

.voice-name {
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 700;
}

/* =============================================
   アクセス
   ============================================= */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* アクセスマップ写真差し替え後 */
.access-map-img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 20px;
}

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

.access-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.85rem;
  line-height: 1.8;
}

.access-row i {
  color: var(--green);
  font-size: 1.1rem;
  margin-top: 3px;
  flex-shrink: 0;
  width: 20px;
}

.map-embed-area {
  border-radius: var(--radius);
  overflow: hidden;
}

.map-ph {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Googleマップ iframe 差し替え後 */
.map-embed-area iframe,
.map-ph iframe {
  width: 100%;
  height: 380px;
  border: none;
  border-radius: var(--radius);
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
  align-self: flex-start;
}

.map-link:hover {
  background: var(--green-dark);
  color: white;
}

/* =============================================
   お問い合わせ
   ============================================= */
/* =============================================
   お問い合わせフォームセクション (#form)
   ============================================= */
.form-section {
  background: var(--bg-light);
}

.form-section .section-title {
  color: var(--green-dark);
}

/* フォーム外枠 */
.form-wrap {
  max-width: 760px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: 0 6px 32px rgba(46, 139, 87, 0.12);
  border: 1.5px solid rgba(46, 139, 87, 0.15);
  padding: 40px 48px 48px;
  overflow: hidden;
}

/* formmailerのiframe・インライン要素をレスポンシブに */
.form-wrap iframe,
.formmailer-embed iframe {
  width: 100% !important;
  min-height: 600px;
  border: none;
}

/* スマホ */
@media (max-width: 768px) {
  .form-wrap {
    padding: 24px 16px 32px;
    border-radius: 12px;
  }
}

.contact-section {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
}

/* お問い合わせバナー差し替え後 */
.contact-banner-img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 32px;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.contact-card {
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  color: white;
  backdrop-filter: blur(8px);
}

.contact-card-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  opacity: 0.85;
}

.contact-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-big-tel {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.contact-email {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
  word-break: break-all;
  margin-bottom: 12px;
}

.contact-hours {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 16px;
}

.contact-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 16px;
}

.contact-taiken-box {
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  padding: 24px 32px;
  display: flex;
  gap: 20px;
  align-items: center;
  color: white;
}

.taiken-icon {
  font-size: 2.5rem;
  opacity: 0.85;
  flex-shrink: 0;
}

.contact-taiken-box h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-taiken-box p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}

/* =============================================
   フッター
   ============================================= */
.footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.85);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: start;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* フッターロゴ画像差し替え後 */
.footer-logo-img {
  height: 50px;
  width: auto;
}

.footer-logo-text {
  font-size: 1.8rem;
  font-weight: 900;
  color: white;
}

.footer-logo-text span {
  color: var(--gold);
}

.footer-logo-sub {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.65);
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.8rem;
}

.footer-info p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-info i {
  color: var(--gold);
  margin-top: 3px;
  width: 16px;
}

.footer-info a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-info a:hover { color: white; }

.footer-copy {
  background: rgba(0,0,0,0.2);
  text-align: center;
  padding: 14px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
}

/* =============================================
   FAB 電話ボタン（スマホ固定）
   ============================================= */
.fab-tel {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  background: var(--green);
  color: white;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-shadow: 0 4px 20px rgba(46,139,87,0.5);
  font-size: 0.6rem;
  font-weight: 700;
  text-decoration: none;
  animation: pulse 2.5s infinite;
}

.fab-tel i {
  font-size: 1.4rem;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(46,139,87,0.5); }
  50% { box-shadow: 0 4px 30px rgba(46,139,87,0.8), 0 0 0 8px rgba(46,139,87,0.15); }
}

/* =============================================
   トップへ戻るボタン
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 900;
  width: 48px;
  height: 48px;
  background: white;
  border: 2.5px solid var(--green);
  color: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--green);
  color: white;
}

/* =============================================
   スクロールアニメーション
   ============================================= */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-active {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   タブレット対応 (max-width: 1024px)
   ============================================= */
@media (max-width: 1024px) {
  html { font-size: 17px; }

  .nav-pc { display: none; }
  .hamburger { display: flex; }

  /* ヒーロー：タブレットはPC背景画像そのままでコンテンツ幅を広げる */
  .hero-content { max-width: 680px; padding: 56px 36px 56px 40px; }

  .about-grid { grid-template-columns: 1fr; }
  .about-img-area { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .mt-8 { margin-top: 0; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card-wide { grid-column: span 2; }

  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .works-gallery { grid-template-columns: repeat(3, 1fr); }

  .staff-grid { grid-template-columns: 1fr; }

  .flow-steps { grid-template-columns: 1fr auto 1fr; gap: 12px; }
  .flow-step:nth-child(6),
  .flow-step:nth-child(7),
  .flow-arrow:nth-child(4) { display: none; }

  .voices-grid { grid-template-columns: 1fr 1fr; }

  .contact-cards { grid-template-columns: 1fr; }

  .meister-grid { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
}

/* =============================================
   スマホ対応 (max-width: 768px)
   スマホでは「稼げるB型」バッジと「やりがいが工賃に！」を
   大きく・中央揃えで表示する
   ============================================= */
@media (max-width: 768px) {
  html { font-size: 16px; }

  /* ===================================================
     スマホ ヒーロー
     構成：
       ① スマホ専用画像（.hero-img-sp）を上部に配置
       ② .hero-content をその下に表示
       ③ ファーストビュー内にキャッチが必ず収まるよう
          min-height を設定せず縦積みで自然な高さにする
     =================================================== */
  .hero {
    flex-direction: column;
    min-height: 100svh; /* safe area考慮 */
    padding-top: 70px; /* ヘッダー分 */
    align-items: stretch;
    background-image: none !important; /* PC背景画像を無効化 */
    background-color: #ffffff; /* 白 */
  }

  /* PC用背景オーバーレイも不要 */
  .hero::before {
    display: none;
  }

  /* スマホ専用画像エリア：表示ON・上部に固定高さで配置 */
  .hero-img-sp {
    display: block;
    width: 100%;
    /* ヘッダー(70px)を除いたビューポート高さの約45% */
    height: calc((100svh - 70px) * 0.45);
    min-height: 200px;
    max-height: 340px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
  }

  .hero-bg-sp-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
  }

  /* 画像の下端をテキスト領域へ自然につなぐ */
  .hero-img-sp::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to top, #ffffff, transparent);
    pointer-events: none;
  }

  /* テキストコンテンツ：全幅・中央揃え・残り高さを使い切る */
  .hero-content {
    flex: 1;
    width: 100%;
    max-width: 100%;
    padding: 24px 20px 36px;
    text-align: center;
    align-items: center;
    justify-content: center;
  }

  /* キャッチブロック：スマホでは中央揃え・コンパクトに */
  .hero-catch-block {
    width: 100%;
    text-align: center;
    padding: 20px 20px 18px;
    margin-bottom: 16px;
    background: rgba(255,255,255,0.85);
    border-color: rgba(46,139,87,0.18);
  }

  /* バッジ「稼げるB型」：大きく・中央に */
  .hero-badge {
    font-size: 1.3rem;
    padding: 10px 32px;
    margin-bottom: 14px;
    box-shadow: 0 6px 28px rgba(249,115,22,0.65);
  }

  /* メインキャッチ「やりがいが工賃に！」：最大限大きく・中央に */
  .hero-title {
    font-size: clamp(3rem, 13vw, 4.2rem);
    text-align: center;
    margin-bottom: 12px;
    line-height: 1.1;
  }

  /* サブタイトル「毎月３万円以上を目指せる！」 */
  .hero-sub {
    font-size: clamp(1.2rem, 5.5vw, 1.6rem);
    text-align: center;
    margin-bottom: 16px;
    font-weight: 900;
  }

  /* タグ・ボタン：中央揃え */
  .hero-tags { justify-content: center; margin-bottom: 14px; }
  .hero-desc { text-align: left; margin-bottom: 20px; }
  .hero-btns { justify-content: center; margin-bottom: 12px; }
  .hero-taiken { text-align: center; }

  .highlight-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .highlight-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }
  .highlight-item:nth-child(2n) { border-right: none; }

  .section { padding: 56px 0; }
  .section-title { font-size: 1.4rem; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-card-wide { grid-column: span 1; }

  .works-grid { grid-template-columns: 1fr 1fr; }
  .works-gallery { grid-template-columns: repeat(2, 1fr); }

  .schedule-grid { grid-template-columns: repeat(2, 1fr); }

  .about-img-area { grid-template-columns: 1fr; }

  .contact-taiken-box { flex-direction: column; text-align: center; }

  .access-grid { grid-template-columns: 1fr; }

  /* 利用の流れ：縦積み */
  .flow-steps {
    grid-template-columns: 1fr;
  }
  .flow-arrow {
    margin-top: 0;
    transform: rotate(90deg);
  }
}

/* =============================================
   極小スマホ対応 (max-width: 480px)
   ============================================= */
@media (max-width: 480px) {
  html { font-size: 15px; }

  .header-inner { padding: 10px 16px; }

  .hero-img-sp {
    max-height: 260px;
  }

  .hero-badge {
    font-size: 1.15rem;
    padding: 8px 24px;
  }

  .hero-title {
    font-size: clamp(2.6rem, 13vw, 3.4rem);
  }

  .hero-catch-block {
    padding: 16px 16px 14px;
  }

  .hero-btns { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }

  .works-grid { grid-template-columns: 1fr; }
  .works-gallery { grid-template-columns: repeat(2, 1fr); }

  .schedule-grid { grid-template-columns: 1fr; }

  .voice-card { flex-direction: column; align-items: center; text-align: center; }

  .contact-big-tel { font-size: 1.6rem; }
}
