/* Base */
:root {
  --bg: #eeedec;
  --panel: #ffffff;
  --text: #1c1c1c;
  --muted: rgba(44, 44, 44, 0.75);
  --pink: #ff32b8;
  --pink-dark: #c33491;
  --radius: 30px;
  --shadow: 0 14px 38px rgba(0, 0, 0, 0.08);
}

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

html,
body {
  height: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "fot-tsukua-std", "fot-tsukuardgothic-std", ui-sans-serif, system-ui, -apple-system,
    "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  letter-spacing: 0.02em;
}

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

a {
  color: inherit;
}

.page {
  width: 100%;
  margin: 0 auto;
}

/* Header */
.header {
  padding: 15px;
  display: flex;
  justify-content: center;
}

.brand-logo {
  width: 100px;
  height: auto;
}

/* Hero */

.fv-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.fv-person {
  width: 100%;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.12));
  height: auto;
}

/* Sections */
.section {
  padding: 0px 20px;
}

.lead-title {
  margin: 12px 0 10px;
  color: #494949;
  font-weight: bold;
  font-size: clamp(24px, 1.2rem + 1vw, 36px);
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-align: center;
}

/* テキスト上に置くドット装飾 */
.lead-title__dots {
  position: relative;
  display: inline-block;
  padding-top: 0.5em; /* ドット分の余白 */
}

.lead-title__dots::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0.08em; /* 文字からの距離（好みで微調整） */
  height: 0.35em; /* ドットのエリア高さ */
  background-image: radial-gradient(circle, var(--pink) 55%, transparent 56%);
  background-size: 0.55em 0.35em; /* 横=間隔, 縦=ドット高さ */
  background-repeat: repeat-x;
  background-position: left center;
  pointer-events: none;
}

.section-heading {
  text-align: center;
  padding: 28px 0 16px;
}

.section-title {
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
  margin: 0;
  font-weight: bold;
  font-size: clamp(28px, 7.5vw, 34px);
  letter-spacing: 0.02em;
  color: var(--text);
}

/* 手書き風ブラシ下線（Figma書き出し assets/border.png） */
.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  height: 8px;
  background: url(../assets/border.png) no-repeat center bottom;
  background-size: 100% 8px;
  pointer-events: none;
}

/* Steps */

.step-list {
  list-style: none;
  padding-inline-start: 0;
  display: grid;
  gap: 16px;
}

.step-card {
  position: relative;
  background: var(--panel);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
}

/* Step number label (STEP 01/02/...), matching .merit-num */
.step-card .step-no {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--pink);
}
.step-card .step-no::before {
  content: "Step";
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink-dark);
}
.step-card .step-no::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
  margin-left: 4px;
}

.step-title {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: bold;
  color: var(--text);
  line-height: 1.5;
}

.step-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

/* Bottom CTA */
.bottom-cta {
  padding: 0px 20px;
}

.bottom-cta > a {
  display: block;
  width: min(680px, 100%);
  margin: 0 auto;
  position: relative;
}

.bottom-cta > a:active {
  transform: translateY(1px);
}

.bottom-cta-visual {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 20px;
}

.ctaArea-text {
  position: absolute;
  top: auto;
  bottom: clamp(18px, 4.5vw, 35px);
  left: 0;
  right: 0;
  text-align: center;
  display: block;
  font-weight: bold;
  font-size: clamp(18px, 4.8vw, 24px);
  letter-spacing: 0.02em;
  color: #000;
  pointer-events: none; /* クリックは下のaに通す */
}

/* Footer */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10vw 0;
}
.footer img {
  width: 60%;
} 

.footer .link {
  margin: 3vw 0;
}
.footer .link a {
  margin: 19px;
  font-size: 15px;
  color: inherit;
  text-decoration: none;
  margin: 3% 0 0;
  
}
.footer p {
  font-size: 16px;
  line-height: 140%;
}

/**PC**/
@media only screen and (min-width: 768px) {
  
  body {
    /* gray background outside the fixed-width content */
    background: #d9d9d9;
  }

  .section-title {
    font-size: 38px;
  }

  /* PCでは追従CTAを非表示（インラインCTAで十分・親指動線はSP向け） */
  .fixed-cta {
    display: none;
  }
  body {
    padding-bottom: 0;
  }

  .page {
    width: 600px;
    background: var(--bg);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
  }

  .footer {
    padding: 10% 0;
  }
}
/* career_support_v2 — 追加セクション用スタイル
 * career_support既存トークン（--pink, --panel, --bg, --text, --muted, --shadow）のみ使用。
 */

/* ---- fade-up on scroll ------------------------------------------------ */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
.fade-up.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* ---- 転職サポートの内容（1カラム・左揃え、ご利用方法と統一） ----------------- */
.support-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.support-card {
  background: var(--panel);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 20px;
  text-align: left;
}
.support-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
}
.support-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 50, 184, 0.1);
  color: var(--pink);
  flex-shrink: 0;
}
.support-icon svg { width: 24px; height: 24px; }
.support-card h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
  color: var(--text);
}
.support-card p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}

/* ---- 転職支援で得られるメリット（3項目・番号付き） ------------------------- */
.merit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.merit-item {
  background: var(--panel);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 24px 20px 20px;
}
.merit-num {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--pink);
}
.merit-num::before {
  content: "Merit";
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink-dark);
}
.merit-num::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
  margin-left: 4px;
}
.merit-title {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 14px;
  color: var(--text);
  line-height: 1.5;
}
.merit-img-wrap {
  margin: 0 0 14px;
  border-radius: 16px;
  overflow: hidden;
}
.merit-img { display: block; width: 100%; height: auto; }
.merit-desc { font-size: 13px; line-height: 1.8; color: var(--muted); margin: 0; }

/* ---- 2. こんな方におすすめ ---------------------------------------------- */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--panel);
  padding: 14px 16px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.7;
  box-shadow: var(--shadow);
}
.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background-color: var(--pink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5 13 10 18 19 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
}

/* ---- 3. アドバイザー紹介 ------------------------------------------------- */
.advisors-lead {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
  text-align: center;
}
.advisor-scroll {
  margin: 14px -20px 0;
  padding: 4px 20px 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.advisor-rows {
  display: grid;
  grid-template-rows: 1fr 1fr;
  grid-auto-flow: column;
  grid-auto-columns: 160px;
  gap: 14px;
  width: max-content;
}
.advisor-card {
  background: var(--panel);
  border: 0;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 10px 10px 14px;
  text-align: left;
  cursor: pointer;
  width: 160px;
}
.advisor-card-photo {
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
  display: block;
  margin: 0 0 10px;
  background: #f2f2f2;
}
.advisor-card-name {
  font-weight: bold;
  font-size: 14px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  color: var(--text);
}
.advisor-card-name > span span {
  font-size: 10px;
  color: var(--pink-dark);
  font-weight: normal;
  margin-left: 4px;
}
.advisor-card-chevron {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.advisor-card-chevron svg { width: 10px; height: 10px; stroke: #fff; }
.advisor-card-copy {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  margin: 6px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.advisor-card-tap {
  display: inline-block;
  margin-top: 8px;
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--pink-dark);
}

/* ---- 共有モーダル -------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal[aria-hidden="false"] { display: flex; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.modal-window {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 32px);
  background: var(--panel);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--panel);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  color: var(--text);
}
.modal-content {
  overflow-y: auto;
  padding: 0 0 16px;
  -webkit-overflow-scrolling: touch;
}
body.modal-open { overflow: hidden; }

.m-advisor-hero {
  position: relative;
  background: linear-gradient(160deg, #ffe6f5, #ffd0ec);
  overflow: hidden;
  padding: 26px 24px 22px;
}
.m-advisor-hero-copy {
  font-weight: bold;
  font-size: 14px;
  color: var(--pink-dark);
  line-height: 1.6;
  margin: 0 120px 0 0;
}
.m-advisor-hero-photo {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 120px;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.m-advisor-body { padding: 22px 22px 6px; }
.m-advisor-name { font-size: 20px; font-weight: bold; margin: 0; color: var(--text); }
.m-advisor-role { font-size: 12px; color: var(--muted); margin: 6px 0 20px; }
.m-advisor-section { margin: 0 0 20px; padding: 0 22px; }
.m-advisor-section h4 {
  font-size: 13px;
  font-weight: bold;
  margin: 0 0 10px;
  padding-left: 14px;
  position: relative;
  color: var(--text);
}
.m-advisor-section h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  transform: translateY(-50%);
}
.m-advisor-section p { font-size: 13px; line-height: 1.9; color: var(--muted); margin: 0; }
.m-advisor-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.m-advisor-tags li { font-size: 11px; background: var(--bg); color: var(--muted); padding: 5px 10px; border-radius: 6px; }

/* ---- 追従CTA（画面下固定・LINE相談、bottom-cta-visualを踏襲） --------------- */
body { padding-bottom: 70px; }
.fixed-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: 600px;
  margin: 0 auto;
  padding: 10px 20px calc(10px + env(safe-area-inset-bottom));
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
  pointer-events: none;
}
.fixed-cta.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.fixed-cta > a {
  display: block;
  position: relative;
}
.fixed-cta > a:active { transform: translateY(1px); }
.fixed-cta-visual { display: block; width: 100%; height: auto; }
.fixed-cta-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: clamp(14px, 4vw, 17px);
  color: #000;
  pointer-events: none;
}

/* ---- 5. FAQ ------------------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.faq-item {
  background: var(--panel);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.faq-q {
  width: 100%;
  display: grid;
  grid-template-columns: 26px 1fr 20px;
  gap: 10px;
  align-items: center;
  padding: 16px;
  text-align: left;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}
.faq-q-mark { font-size: 18px; font-weight: bold; color: var(--pink); text-align: center; }
.faq-toggle { position: relative; width: 16px; height: 16px; }
.faq-toggle::before, .faq-toggle::after {
  content: "";
  position: absolute;
  background: var(--muted);
  border-radius: 1px;
  transition: transform .25s ease;
}
.faq-toggle::before { top: 50%; left: 0; right: 0; height: 2px; }
.faq-toggle::after { left: 50%; top: 0; bottom: 0; width: 2px; }
.faq-item.is-open .faq-toggle::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.is-open .faq-a { max-height: 600px; }
.faq-a p { padding: 0 16px 16px 52px; font-size: 13px; line-height: 1.85; color: var(--muted); margin: 0; }
.faq-a p strong { color: var(--text); font-weight: bold; }
