/* ============================================================
   テラスル株式会社「採用LPパッケージ」
   インタビュー詳細ページ共有CSS（staff-a/b/c.html共通）
   ------------------------------------------------------------
   ・LP本体（../index.html）と同じトーン（パステルピンク／ピーチ・
     白基調・丸み・双葉モチーフ・Noto Sans JP）で統一。
   ・LP本体は単一ファイル方針を維持するため、このCSSはあくまで
     interview/配下の詳細ページ専用の共有スタイルです。
   ・スマホ375px基準。タブレット以上は600px以上で少し余白UP。
   ============================================================ */

/* ============================================================
   CSS変数：配色（LP本体と同じ初期値。施設導入時はLP側と一緒に差し替え）
   ============================================================ */
:root {
  --base-bg:      #FFF9F8;
  --base-bg-soft: #FFF2F0;
  --text-main:    #4A3B38;
  --border-line:  #F3D9D6;
  --white:        #FFFFFF;

  --accent-1:     #F08C9B;
  --accent-2:     #F6B89C;

  --cta-color:    #F0768B;
  --cta-color-d:  #DC5C73;

  --accent-1-soft: #FDE6EA;
  --accent-2-soft: #FDEEE3;
}

/* ============================================================
   リセット・共通
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--base-bg);
  color: var(--text-main);
  line-height: 1.8;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3 {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  color: var(--text-main);
}

.page-inner { max-width: 480px; margin: 0 auto; padding: 0 20px; }

/* ============================================================
   双葉モチーフ（インラインSVGベース）
   ============================================================ */
.motif-leaf {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.12em;
}

/* ============================================================
   戻るリンク（ページ上部）
   ============================================================ */
.back-nav {
  padding: 18px 20px;
  background: var(--white);
  border-bottom: 1px solid var(--border-line);
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--accent-1);
}
.back-link::before {
  content: "←";
  font-weight: 900;
  transition: transform .25s cubic-bezier(.25,.8,.25,1);
}
@media (hover: hover) {
  .back-link:hover::before { transform: translateX(-3px); }
}

/* ============================================================
   ヒーロー：職員写真＋キャッチコピー＋氏名＋役割バッジ
   ============================================================ */
.staff-hero {
  position: relative;
}
.staff-hero-photo {
  width: 100%;
  aspect-ratio: 3/4;
  max-height: 520px;
  background: linear-gradient(160deg, var(--accent-2-soft), var(--accent-1-soft));
  color: var(--accent-1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: .85rem;
  line-height: 1.6;
  padding: 20px;
  position: relative;
}
.staff-hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 56px 24px 24px;
  background: linear-gradient(180deg, rgba(74,30,40,0) 0%, rgba(74,30,40,.78) 100%);
  color: #fff;
}
.staff-hero-catch {
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 10px;
  text-shadow: 0 1px 8px rgba(0,0,0,.25);
}
.staff-hero-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.staff-hero-name { font-weight: 700; font-size: 1rem; }
.staff-hero-role {
  font-size: .72rem;
  color: var(--accent-1);
  background: var(--white);
  padding: 3px 12px;
  border-radius: 100px;
  font-weight: 700;
}

/* ============================================================
   セクション見出し（Q&A本文の上などに使用）
   ============================================================ */
.section-head { text-align: center; margin: 36px 0 28px; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-1-soft);
  color: var(--accent-1);
  font-size: .72rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 14px;
  letter-spacing: .1em;
}
.section-title {
  font-size: 1.3rem;
  line-height: 1.55;
  margin-bottom: 10px;
}
.section-desc { font-size: .88rem; color: var(--text-main); opacity: .75; }

/* ============================================================
   Q&A本文（LP本体から移植・別ページ専用に再配置）
   ============================================================ */
.qa-list { display: flex; flex-direction: column; gap: 16px; padding: 0 0 12px; }
.qa-item {
  border-radius: 16px;
  overflow: hidden;
}
.qa-q {
  display: flex;
  gap: 8px;
  font-weight: 700;
  font-size: .92rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  padding: 12px 16px;
  border-radius: 16px 16px 4px 4px;
}
.qa-q .qa-mark {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
}
.qa-a {
  display: flex;
  gap: 8px;
  font-size: .9rem;
  background: var(--white);
  box-shadow: 0 6px 18px rgba(240,140,155,.12);
  padding: 14px 16px;
  border-radius: 4px 4px 16px 16px;
}
.qa-a .qa-mark {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-1-soft);
  color: var(--accent-1);
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
}

/* ============================================================
   応募系CTA（ページ最後）
   ============================================================ */
.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  text-align: center;
  background: linear-gradient(135deg, var(--cta-color), var(--accent-2));
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  font-size: 1.02rem;
  padding: 17px 20px;
  border-radius: 100px;
  border: none;
  box-shadow: 0 8px 20px rgba(240,118,139,.32);
  transition: transform .25s cubic-bezier(.25,.8,.25,1), box-shadow .25s cubic-bezier(.25,.8,.25,1), opacity .2s;
}
.cta-btn::after {
  content: "→";
  font-weight: 900;
  transition: transform .25s cubic-bezier(.25,.8,.25,1);
}
@media (hover: hover) {
  .cta-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(240,118,139,.4); }
  .cta-btn:hover::after { transform: translateX(4px); }
}
.cta-btn:active { transform: translateY(0) scale(.98); box-shadow: 0 6px 14px rgba(240,118,139,.3); }
.cta-btn--outline {
  background: var(--white);
  color: var(--cta-color);
  box-shadow: none;
  border: 2px solid var(--cta-color);
}
@media (hover: hover) {
  .cta-btn--outline:hover { background: var(--accent-1-soft); }
}
.cta-btn--outline:active { background: var(--accent-1-soft); }

.apply-cta-block {
  margin: 40px 0 56px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.apply-cta-lead {
  text-align: center;
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 6px;
}

/* ============================================================
   フッター簡易（戻り導線）
   ============================================================ */
.staff-footer {
  text-align: center;
  padding: 24px 20px 40px;
  font-size: .78rem;
  opacity: .55;
}

/* ============================================================
   タブレット以上は少し余白を持たせる
   ============================================================ */
@media (min-width: 600px) {
  .page-inner { max-width: 560px; }
  .staff-hero-catch { font-size: 1.55rem; }
}

/* ============================================================
   控えめな動きを優先するユーザー設定への配慮
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .cta-btn,
  .cta-btn::after,
  .back-link::before {
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}
