/* ============================================================
   医療法人さくら会 歯科衛生士キャリア採用ページ
   css/style_new.css
   ベース: hygienist_course/css/style.css
   カラー: 薄紫系（#c9bddd）
   対象ページ: hygienist_career/index_new.html
   ============================================================ */

/* ────────────────────────────────────────
   CSS変数
──────────────────────────────────────── */
:root {
  --purple-main:  #ca98c3;   /* メイン紫（RGB 202/152/195） */
  --purple-dark:  #a9789f;   /* 濃いめ（圧を抑えたソフトな紫） */
  --purple-light: #f4e9f2;   /* 淡いめ（背景・カード地） */
  --sage:         #e0e6e9;   /* サブ（水色グレー） */
  --sage-dark:    #9fb4bb;   /* サブの濃いめ（アクセント用） */
  --accent-yellow: #fee4af;  /* アクセント：黄色（必要に応じて） */
  --accent-pink:   #f7c3bd;  /* アクセント：ピンク（必要に応じて） */
  --bluegray:     #dfe4e7;
  --text:         #3a3040;
  --text-light:   #8a7a98;
  --white:        #ffffff;
  --bg:           #faf9fc;
  --radius-sm:    12px;
  --radius-md:    20px;
  --shadow:       0 2px 16px rgba(150,120,180,0.10);
  --shadow-hover: 0 6px 24px rgba(150,120,180,0.18);
  --transition:   0.25s ease;
}

/* ────────────────────────────────────────
   リセット・ベース
──────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  /* ページ共通の背景（この上に桜、さらに上にコンテンツが重なる） */
  background: linear-gradient(170deg, #f6eef4 0%, #eef1f3 55%, #f6eef4 100%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* SP：フッターバー分の余白 */
@media (max-width: 768px) {
  body { padding-bottom: 72px; }
}

/* ────────────────────────────────────────
   サイトヘッダー（2段構成・sticky）
──────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.header-top { position: relative; }

/* 上段：ロゴ＋電話＋エントリーボタン */
.header-top {
  background: var(--white);
  border-bottom: 1px solid #e8e0f0;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo { flex-shrink: 0; min-width: 0; }
.header-logo img { height: 36px; width: auto; max-width: 100%; display: block; }
.header-nav-cta { display: flex; gap: 8px; align-items: center; }

/* ハンバーガーボタン（PCでは非表示） */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--purple-dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.header-nav-cta .btn-tel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  background: var(--sage);
  color: var(--text);
  line-height: 1.4;
}
.btn-tel-label {
  font-size: 10px;
  font-weight: 400;
  color: var(--text-light);
}

/* 下段：ページ内アンカーナビ */
.header-page-nav {
  background: var(--white);
  border-bottom: 2px solid var(--purple-light);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.header-page-nav::-webkit-scrollbar { display: none; }
.header-page-nav ul {
  display: flex;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  white-space: nowrap;
}
.header-page-nav ul li a {
  display: block;
  padding: 11px 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-light);
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
}
.header-page-nav ul li a:hover,
.header-page-nav ul li a.active {
  color: var(--purple-dark);
  border-bottom-color: var(--purple-main);
}
/* SP：ハンバーガー内の電話ボタン */
.nav-tel-item { display: none; }
@media (max-width: 768px) {
  .nav-tel-item { display: block; }
  .nav-tel-item a {
    font-weight: 700;
    color: var(--text);
    background: var(--sage);
    margin: 6px 16px;
    border-radius: 10px;
    text-align: center;
  }
}

/* 採用サイトTOPへ戻る（他ナビと差別化） */
.header-page-nav ul li:has(.nav-home) { margin-left: auto; }
.header-page-nav ul li a.nav-home {
  color: var(--purple-dark);
}
.header-page-nav ul li a.nav-home:hover {
  color: var(--white);
  background: var(--purple-dark);
  border-bottom-color: var(--purple-dark);
  border-radius: 6px;
}

/* ヘッダー：スマホ（ハンバーガーメニュー） */
@media (max-width: 768px) {
  .header-top { padding: 10px 16px; }
  .header-nav-cta { display: none; }   /* 右上CTAは撤去（フッター固定CTAがあるため） */
  .nav-toggle { display: flex; }
  .header-logo img { height: auto; width: auto; max-width: min(62vw, 240px); }

  /* 下段ナビをドロワー化 */
  .header-page-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 2px solid var(--purple-light);
    box-shadow: 0 8px 20px rgba(150,120,180,0.15);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .header-page-nav.open { max-height: 80vh; overflow-y: auto; }
  .header-page-nav ul {
    flex-direction: column;
    padding: 8px 0;
    white-space: normal;
  }
  .header-page-nav ul li a {
    padding: 14px 24px;
    font-size: 14px;
    border-bottom: 1px solid var(--purple-light);
  }
  .header-page-nav ul li:last-child a { border-bottom: none; }
  .header-page-nav ul li a:hover,
  .header-page-nav ul li a.active {
    background: var(--purple-light);
    border-bottom-color: var(--purple-light);
  }
}

/* ────────────────────────────────────────
   右下固定CTA（PCのみ）
──────────────────────────────────────── */
.fab-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 300;
}
.fab-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(100,80,140,0.22);
  white-space: nowrap;
  transition: transform var(--transition), box-shadow var(--transition);
}
.fab-cta a:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.fab-entry { background: var(--purple-dark); color: var(--white); }
.fab-job   { background: var(--white); color: var(--purple-dark); border: 2px solid var(--purple-main); }
@media (max-width: 768px) { .fab-cta { display: none; } }

/* ────────────────────────────────────────
   SP専用：フッター固定CTAバー
──────────────────────────────────────── */
.sp-footer-cta {
  display: none;
}
@media (max-width: 768px) {
  .sp-footer-cta {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 300;
    background: var(--white);
    border-top: 1.5px solid var(--purple-light);
    box-shadow: 0 -4px 16px rgba(150,120,180,0.12);
    padding: 10px 12px;
    gap: 8px;
  }
  .sp-footer-cta a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    gap: 2px;
    line-height: 1.3;
  }
  .sfc-entry { background: var(--purple-dark); color: var(--white); }
  .sfc-job   { background: var(--white); color: var(--purple-dark); border: 1.5px solid var(--purple-main); }
  .sfc-label { font-size: 9px; font-weight: 700; letter-spacing: 0.1em; opacity: 0.75; }
  .sfc-text  { font-size: 12px; font-weight: 700; }
}

/* ────────────────────────────────────────
   桜アニメーション（ページ全体・固定オーバーレイ）
──────────────────────────────────────── */
#sakura-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;   /* クリックはすべて背後の要素へ透過 */
  z-index: -1;            /* コンテンツより後ろ（最背面レイヤー） */
}
@media (prefers-reduced-motion: reduce) {
  #sakura-canvas { display: none; }
}

/* セクション背景を半透明にして、最背面の桜を全ページで透けさせる
   （背景 → 桜 → コンテンツ の重なりを実現）
   ※ section#... で詳細度を上げ、後方の元宣言より優先させる */
section#requirements,
section#welfare,
section#oneday,
section#faq {
  background: rgba(255,255,255,0.66);
}
section#second-career,
section#gallery,
section#interview,
section#sns {
  background: rgba(255,255,255,0.30);
}

@keyframes sakura-fall {
  0%   { transform: translate(0, -40px) rotate(0deg);    opacity: 0; }
  10%  { opacity: 0.8; }
  90%  { opacity: 0.5; }
  100% { transform: translate(-200px, 110vh) rotate(400deg); opacity: 0; }
}
.sakura-petal {
  position: absolute;
  top: -20px;
  font-size: 18px;
  color: var(--purple-main);
  animation: sakura-fall linear infinite;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
@media (prefers-reduced-motion: reduce) {
  .sakura-petal { animation: none; opacity: 0; }
}

/* ────────────────────────────────────────
   KV（ヒーロー）
──────────────────────────────────────── */
.kv {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  /* 半透明グラデーション：背後の桜が透けて見える */
  background: linear-gradient(135deg, rgba(244,233,242,0.72) 0%, rgba(224,230,233,0.72) 100%);
  display: flex;
  align-items: center;
}
.kv-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 56px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 48px;
  width: 100%;
}

/* 左：コピーエリア */
.kv-copy { flex: 1; min-width: 0; }
.kv-tag {
  display: inline-block;
  background: var(--purple-main);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.kv-copy h1 {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.kv-copy h1 em {
  font-style: normal;
  color: var(--purple-dark);
  border-bottom: 4px solid var(--purple-main);
}
.kv-sub {
  font-size: 15px;
  color: var(--text-light);
  line-height: 2.0;
}

/* 右：写真スライダーエリア */
.kv-visual {
  width: 420px;
  flex-shrink: 0;
  position: relative;
}
.kv-slider {
  position: relative;
  border-radius: 42% 58% 63% 37% / 47% 42% 58% 53%;
  overflow: hidden;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.55), 0 0 0 8px rgba(201,189,221,0.35), 0 12px 36px rgba(150,120,180,0.22);
  animation: frameMorph 12s ease-in-out infinite;
}
@keyframes frameMorph {
  0%   { border-radius: 42% 58% 63% 37% / 47% 42% 58% 53%; transform: rotate(0deg)   translateY(0); }
  25%  { border-radius: 65% 35% 40% 60% / 55% 58% 42% 45%; transform: rotate(1.5deg) translateY(-6px); }
  50%  { border-radius: 38% 62% 55% 45% / 60% 38% 62% 40%; transform: rotate(0deg)   translateY(0); }
  75%  { border-radius: 55% 45% 35% 65% / 40% 55% 45% 60%; transform: rotate(-1.5deg) translateY(6px); }
  100% { border-radius: 42% 58% 63% 37% / 47% 42% 58% 53%; transform: rotate(0deg)   translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .kv-slider { animation: none; }
}
.kv-slider-track {
  position: relative;
  width: 100%;
  height: 380px;
}
.kv-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.kv-slide.active { opacity: 1; }
.kv-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* プレースホルダー（写真がないとき） */
.kv-slide-ph {
  width: 100%;
  height: 100%;
  background: #e0d8ed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text-light);
  text-align: center;
  line-height: 1.6;
}
/* スライダードット */
.kv-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.kv-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
  opacity: 0.5;
  transition: opacity var(--transition);
  border: none;
  padding: 0;
}
.kv-dot.active { opacity: 1; }

/* さくらちゃん（写真右下固定・スライド連動） */
.kv-chara {
  position: absolute;
  right: -12px;
  bottom: -12px;
  width: 75px;
  aspect-ratio: 33 / 57;
  z-index: 2;
}
.kv-chara-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.kv-chara-img.active {
  opacity: 1;
  position: relative;
}
/* さくらちゃん スライドイン */
@keyframes charaSlideIn {
  from { transform: translateX(-40px); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
.kv-chara-img.animate-in {
  animation: charaSlideIn 0.6s ease-out forwards;
}

/* KV SP */
@media (max-width: 768px) {
  .kv { min-height: auto; }
  .kv-inner {
    flex-direction: column;
    padding: 48px 24px 56px;
    gap: 32px;
    text-align: center;
    align-items: center;
  }
  .kv-copy h1 { font-size: 28px; }
  .kv-sub    { font-size: 14px; }
  .kv-visual { width: 100%; }
  .kv-slider-track { height: 260px; }
  .kv-chara { width: 72px; right: -6px; bottom: -6px; }
}

/* ────────────────────────────────────────
   共通セクション
──────────────────────────────────────── */
section { padding: 72px 0; }
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 768px) {
  section { padding: 52px 0; }
  .container { padding: 0 16px; }
}

.section-title { text-align: center; margin-bottom: 44px; }
.section-title .en {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--purple-dark);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 6px;
}
.section-title .ja {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.45;
}
.section-title .line {
  display: block;
  width: 40px;
  height: 3px;
  background: var(--purple-main);
  border-radius: 2px;
  margin: 14px auto 0;
}
@media (max-width: 768px) {
  .section-title .ja { font-size: 20px; }
}

/* ────────────────────────────────────────
   共通ボタン
──────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  background: var(--purple-dark);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(154,137,184,0.30);
  transition: transform var(--transition), box-shadow var(--transition);
  min-height: 50px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  background: var(--white);
  color: var(--purple-dark);
  border: 2px solid var(--purple-main);
  transition: background var(--transition), color var(--transition);
  min-height: 50px;
}
.btn-outline:hover { background: var(--purple-light); }

/* ────────────────────────────────────────
   02. 募集要項
──────────────────────────────────────── */
#requirements { background: var(--white); }

.req-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.req-table th,
.req-table td {
  padding: 16px 22px;
  border-bottom: 1px solid var(--purple-light);
  font-size: 14px;
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}
.req-table th {
  background: var(--purple-light);
  color: var(--purple-dark);
  font-weight: 700;
  width: 140px;
  font-size: 13px;
  white-space: nowrap;
}
.req-table tr:last-child th,
.req-table tr:last-child td { border-bottom: none; }
.req-welfare-link {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--purple-dark);
  font-weight: 700;
  border-bottom: 1px solid var(--purple-main);
}

/* 募集要項CTA（#cta-banner と同じデザインに統一） */
.req-cta {
  display: flex;
  gap: 20px;
  margin-top: 32px;
  justify-content: center;
  flex-wrap: wrap;
}
.req-cta .cta-btn {
  flex: 1;
  min-width: 220px;
  max-width: 320px;
}
/* 白背景セクションでは entry ボタンを紫に（白だど溶ける） */
.req-cta .cta-btn.entry {
  background: var(--purple-dark);
  color: var(--white);
}
.req-cta .cta-btn.entry .btn-label,
.req-cta .cta-btn.entry .btn-sub-text {
  color: rgba(255,255,255,0.75);
}

@media (max-width: 768px) {
  .req-table th { width: 88px; font-size: 12px; padding: 12px 14px; }
  .req-table td { font-size: 13px; padding: 12px 14px; }
  .req-cta { flex-direction: column; gap: 12px; align-items: stretch; }
  .req-cta .cta-btn { max-width: none; min-width: 0; }
  .req-cta .cta-btn .btn-sub-text { display: none; }
}

/* ────────────────────────────────────────
   03. セカンドキャリア・サポート体制
──────────────────────────────────────── */
#second-career { background: var(--bg); }

/* 写真つき3カード（交互レイアウト） */
.sc-cards { display: flex; flex-direction: column; gap: 28px; margin-bottom: 56px; }
.sc-card {
  display: flex;
  gap: 36px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--purple-main);
}
.sc-card:nth-child(even) {
  flex-direction: row-reverse;
  border-left: none;
  border-right: 5px solid var(--sage-dark);
}
.sc-card-img {
  width: 220px;
  height: 170px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #e0d8ed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text-light);
  text-align: center;
}
.sc-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sc-card-body .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--purple-dark);
  margin-bottom: 8px;
  font-family: 'Poppins', sans-serif;
}
.sc-card-body h3 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 12px; line-height: 1.4; }
.sc-card-body p  { font-size: 14px; color: var(--text-light); line-height: 1.85; }

/* ママさん衛生士サポート体制 */
.mama-heading { text-align: center; margin-bottom: 32px; }
.mama-heading h3 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.mama-heading p  { font-size: 14px; color: var(--text-light); }

.mama-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 560px; margin: 0 auto; }
.mama-card {
  background: var(--purple-light);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  text-align: left;
  border: 1px solid #e0d8ed;
  transition: box-shadow var(--transition);
}
.mama-card:hover { box-shadow: var(--shadow); }
.mama-card .icon-box {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--purple-main);
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--white);
  font-weight: 700;
}
.mama-card h4 { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 8px; line-height: 1.4; text-align: center; }
.mama-card p  { font-size: 12px; color: var(--text-light); line-height: 1.65; }

@media (max-width: 768px) {
  .sc-card {
    flex-direction: column !important;
    border-left: none !important;
    border-right: none !important;
    border-top: 5px solid var(--purple-main);
    padding: 24px 20px;
  }
  .sc-card:nth-child(even) { border-top-color: var(--sage-dark); }
  .sc-card-img { width: 100%; height: 200px; }
  .mama-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ────────────────────────────────────────
   04. 福利厚生
──────────────────────────────────────── */
#welfare { background: var(--white); }

/* ヒーローエリア（写真＋キャッチ） */
.welfare-hero {
  display: flex;
  gap: 36px;
  align-items: center;
  background: var(--purple-light);
  border-radius: var(--radius-md);
  padding: 36px;
  margin-bottom: 36px;
  box-shadow: var(--shadow);
}
.welfare-hero-img {
  width: 280px;
  height: 200px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #e0d8ed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text-light);
  text-align: center;
}
.welfare-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.welfare-hero-copy h3 { font-size: 22px; font-weight: 900; color: var(--text); line-height: 1.4; margin-bottom: 12px; }
.welfare-hero-copy h3 em { font-style: normal; color: var(--purple-dark); }
.welfare-hero-copy .sub { font-size: 13px; color: var(--text-light); margin-bottom: 18px; line-height: 1.75; }
.welfare-summary-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.wsb {
  background: var(--purple-dark);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
}

/* 6項目グリッド */
.welfare-items-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 36px; }
.welfare-item {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  border: 2px solid var(--purple-light);
  border-radius: var(--radius-md);
  padding: 20px 20px 20px 22px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.welfare-item:hover { border-color: var(--purple-main); box-shadow: var(--shadow); }
.welfare-item .wi-bg-icon {
  position: absolute;
  right: -8px;
  bottom: -8px;
  width: 80px;
  height: 80px;
  opacity: 0.10;
  pointer-events: none;
}
.welfare-item .wi-bg-icon svg { width: 100%; height: 100%; fill: var(--purple-dark); }
.welfare-item .wi-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; position: relative; z-index: 1; }
.welfare-item .wi-desc  { font-size: 12px; color: var(--text-light); line-height: 1.65; position: relative; z-index: 1; }

/* スタッフの声 */
.welfare-voices { border-top: 1px solid var(--purple-light); padding-top: 32px; }
.welfare-voices-title { font-size: 14px; font-weight: 700; color: var(--purple-dark); margin-bottom: 18px; letter-spacing: 0.05em; }
.voice-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.voice-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 18px;
  border: 1px solid var(--purple-light);
}
.voice-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid var(--purple-main);
  object-fit: cover;
  background: #e0d8ed;
}
.voice-body .year { font-size: 11px; color: var(--text-light); margin-bottom: 6px; }
.voice-body p     { font-size: 13px; color: var(--text); line-height: 1.75; }

@media (max-width: 768px) {
  .welfare-hero { flex-direction: column; padding: 24px 20px; }
  .welfare-hero-img { width: 100%; height: 200px; }
  .welfare-items-grid { grid-template-columns: repeat(2, 1fr); }
  .voice-cards { grid-template-columns: 1fr; }
}

/* ────────────────────────────────────────
   05. ギャラリースライダー「さくら会の雰囲気」
──────────────────────────────────────── */
#gallery { padding: 0; background: var(--bg); }
.gallery-header {
  padding: 48px 24px 20px;
  text-align: center;
}
.gallery-header .en  { font-family: 'Poppins', sans-serif; font-size: 11px; letter-spacing: 0.25em; color: var(--purple-dark); text-transform: uppercase; font-weight: 600; margin-bottom: 6px; }
.gallery-header .ja  { font-size: 22px; font-weight: 700; color: var(--text); }
.gallery-header .line { display: block; width: 40px; height: 3px; background: var(--purple-main); border-radius: 2px; margin: 12px auto 0; }

/* 自動ループストリップ */
.gallery-track-wrap { overflow: hidden; padding: 20px 0 32px; }
.gallery-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: gallery-loop 45s linear infinite;
}
.gallery-track:hover { animation-play-state: paused; }
@keyframes gallery-loop {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.gallery-photo {
  flex-shrink: 0;
  width: 280px;
  height: 200px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: #e0d8ed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text-light);
  text-align: center;
}

/* ────────────────────────────────────────
   06. 1日のスケジュール
──────────────────────────────────────── */
#oneday { background: var(--white); }

.schedule-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 10px 28px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 700;
  border: 2px solid var(--purple-main);
  color: var(--purple-dark);
  background: var(--white);
  transition: all var(--transition);
}
.tab-btn.active,
.tab-btn:hover { background: var(--purple-dark); color: var(--white); border-color: var(--purple-dark); }

.tab-content { display: none; }
.tab-content.active { display: block; }

.schedule-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
}
.schedule-timeline::before {
  content: '';
  position: absolute;
  top: 27px;
  left: 6%;
  right: 6%;
  height: 3px;
  background: var(--purple-main);
  z-index: 0;
  border-radius: 2px;
}
.sch-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
  z-index: 1;
}
.sch-dot {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--purple-main);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-size: 10px;
  color: var(--purple-dark);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(150,120,180,0.12);
}
.sch-dot.highlight { background: var(--purple-main); color: var(--white); }
.sch-time  { font-size: 15px; font-weight: 900; color: var(--text); margin-bottom: 4px; }
.sch-label { font-size: 11px; color: var(--text-light); text-align: center; line-height: 1.4; }
.sch-badge { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 10px; margin-top: 4px; color: var(--white); }
.sch-badge.green { background: var(--sage-dark); }

.schedule-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  margin: 24px auto 0;
  background: var(--purple-light);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  max-width: 500px;
}

@media (max-width: 768px) {
  /* 縦型タイムライン（画面幅に収める） */
  .schedule-timeline {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin: 0 auto;
  }
  .schedule-timeline::before {
    top: 27px;
    bottom: 27px;
    left: 27px;
    right: auto;
    width: 3px;
    height: auto;
  }
  .sch-item {
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    padding: 8px 0;
  }
  .sch-dot { margin-bottom: 0; flex-shrink: 0; }
  .sch-time { margin-bottom: 0; min-width: 62px; }
  .sch-label { text-align: left; }
  .sch-badge { margin-top: 0; margin-left: 8px; }
}

/* ────────────────────────────────────────
   07. インタビュー（career_course 準拠）
──────────────────────────────────────── */
#interview { background: var(--bg); }

/* career_course 準拠：写真全面カード＋下部グラデーション＋白文字オーバーレイ */
/* 3カードグリッド */
.interview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;  /* カードごとに独立した高さ（アコーディオン展開時に他カードが伸びない） */
}
.interview-card {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}
/* コンパクトカード：アイコン＋テキスト */
.interview-icon {
  padding: 28px 0 0;
  text-align: center;
}
.interview-icon img {
  width: 180px;
  aspect-ratio: 250 / 290;
  object-fit: contain;
  display: inline-block;
}
/* 写真未着時のプレースホルダー */
.interview-icon-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 209px;
  background: linear-gradient(160deg, var(--purple-light) 0%, var(--sage) 100%);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  color: var(--purple-dark);
  text-align: center;
  line-height: 1.6;
}
.interview-body {
  padding: 16px 22px 20px;
  text-align: center;
}
.interview-body .interview-tag {
  background: var(--sage);
  color: var(--text);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 10px;
  margin-bottom: 10px;
  display: inline-block;
}
.interview-body .interview-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.interview-body .interview-meta {
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 10px;
}
.interview-body .interview-quote {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 14px;
}

/* ボタン行（インタビューを読む + 動画を見る） */
.interview-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

/* VIEW MORE ボタン（アコーディオントリガー・コンパクトカード用） */
.accordion-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1.5px solid var(--purple-main);
  border-radius: 24px;
  padding: 8px 22px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--purple-dark);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.accordion-trigger:hover { background: var(--purple-dark); color: var(--white); }
.accordion-arrow { font-size: 9px; transition: transform var(--transition); }
.accordion-trigger.open .accordion-arrow { transform: rotate(180deg); }

/* 動画を見るボタン */
.video-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1.5px solid var(--sage-dark);
  border-radius: 24px;
  padding: 8px 22px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.video-trigger:hover { background: var(--sage-dark); color: var(--white); }

/* 動画モーダル */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.video-modal.open { display: flex; }
.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.82);
}
.video-modal-inner {
  position: relative;
  width: 100%;
  max-width: 900px;
  z-index: 1;
}
.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}
.video-modal-close:hover { opacity: 0.7; }
.video-modal-player video,
.video-modal-player iframe {
  width: 100%;
  border-radius: var(--radius-sm);
}
.video-modal-player video { max-height: 70vh; }
.video-modal-player iframe { aspect-ratio: 16 / 9; height: auto; }

/* アコーディオン本文 */
.accordion-body {
  display: none;
  padding: 0 22px 22px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.95;
  text-align: left;
}

.interview-add-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  margin-top: 20px;
}

/* インタビュー SP：1列スタック */
@media (max-width: 768px) {
  .interview-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
    gap: 24px;
  }
}

/* ────────────────────────────────────────
   08. FAQ
──────────────────────────────────────── */
#faq { background: var(--white); }

.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 720px; margin: 0 auto; }
.faq-item { border: 1px solid var(--purple-light); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q {
  background: var(--purple-light);
  padding: 14px 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  user-select: none;
  transition: background var(--transition);
}
.faq-q:hover { background: #e4daf0; }
.faq-q .q-mark {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--purple-dark);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.faq-q .q-text { font-size: 14px; font-weight: 700; color: var(--text); flex: 1; line-height: 1.5; }
.faq-q .q-arrow { font-size: 10px; color: var(--purple-dark); flex-shrink: 0; transition: transform var(--transition); }
.faq-q.open .q-arrow { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 14px 20px 16px 56px;
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.85;
  background: var(--white);
}
.faq-a .a-mark { color: var(--purple-dark); font-weight: 700; margin-right: 6px; }

/* ────────────────────────────────────────
   09. Instagram
──────────────────────────────────────── */
#sns { background: var(--bg); }
.sns-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.sns-inner h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.sns-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--purple-main);
  font-size: 11px;
  color: var(--white);
  font-weight: 700;
  flex-shrink: 0;
}
.sns-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
.sns-photo {
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
  background: #e0d8ed;
}
.sns-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--purple-dark);
  border-bottom: 1px solid var(--purple-main);
  padding-bottom: 2px;
  transition: opacity var(--transition);
}
.sns-link:hover { opacity: 0.7; }

/* ────────────────────────────────────────
   10. CTAバナー（PCのみ・SPは非表示）
──────────────────────────────────────── */
#cta-banner {
  background: linear-gradient(120deg, var(--purple-main) 0%, var(--purple-dark) 100%);
  padding: 72px 0;
  text-align: center;
}
#cta-banner h2 { font-size: 26px; font-weight: 700; color: var(--white); margin-bottom: 10px; line-height: 1.45; }
#cta-banner p  { color: rgba(255,255,255,0.85); font-size: 15px; margin-bottom: 32px; }
.cta-btns-wrap { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.cta-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 40px;
  border-radius: 16px;
  text-decoration: none;
  min-width: 220px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.cta-btn .btn-label     { font-size: 10px; font-weight: 700; letter-spacing: 0.15em; margin-bottom: 4px; opacity: 0.8; }
.cta-btn .btn-text      { font-size: 16px; font-weight: 700; line-height: 1.4; }
.cta-btn .btn-sub-text  { font-size: 11px; font-weight: 400; margin-top: 2px; opacity: 0.8; }
.cta-btn.entry  { background: var(--white); color: var(--purple-dark); }
.cta-btn.jobinfo{ background: var(--sage);  color: var(--text); }
@media (max-width: 768px) { #cta-banner { display: none; } }

/* ────────────────────────────────────────
   フッター
──────────────────────────────────────── */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 24px;
  font-size: 12px;
}

/* ────────────────────────────────────────
   アニメーション（スクロール出現）
──────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
}
