/* =========================================================
   TeleJob — renewal stylesheet
   mobile-first / no framework
   ========================================================= */

:root {
  --pink: #ee6a8c;
  --pink-deep: #d6456d;
  --pink-soft: #fde6ec;
  --peach: #ffc2ae;
  --lavender: #b7a4f0;
  --lavender-soft: #efeafd;
  --mint: #9fdcc8;
  --cream: #fff9f6;
  --white: #ffffff;
  --ink: #3b2c35;
  --muted: #7c6a74;
  --line: #f1dfe5;
  --gold: #f5b942;

  --grad: linear-gradient(135deg, #ff8fa8 0%, #ee6a8c 45%, #c58af0 100%);
  --grad-soft: linear-gradient(135deg, #fff1f4 0%, #f6efff 100%);

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(214, 69, 109, 0.12);
  --shadow-sm: 0 4px 14px rgba(214, 69, 109, 0.10);

  --font-round: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --header-h: 64px;
  --container: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* 固定ヘッダーの分だけ、ページ内リンクの着地位置を下げる */
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.85;
  font-size: 15px;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  word-break: auto-phrase; /* 文節で改行（Chrome/Edge 119+） */
  line-break: strict;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-round); line-height: 1.45; margin: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
svg.icon { width: 1.2em; height: 1.2em; flex: none; }
:focus-visible { outline: 3px solid var(--lavender); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.sp-only { display: inline; }
.pc-only { display: none; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  padding: 10px 18px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 14px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; text-decoration: none; }
/* 選択・コピー不可（会社概要など） */
.no-copy {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none; /* iPhoneの長押しメニューを出さない */
}
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- image placeholder (replace with <img>) ---------- */
.ph {
  position: relative;
  width: 100%;
  aspect-ratio: var(--ar, 4 / 3);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.35) 0 10px, transparent 10px 20px),
    var(--grad-soft);
  border: 2px dashed #e8c3d0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  padding: 12px;
  overflow: hidden;
}
.ph::before {
  content: "IMAGE";
  display: block;
  font-family: var(--font-round);
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--pink);
  font-size: 11px;
  margin-bottom: 4px;
}
.ph > span { display: block; max-width: 24em; }
.ph--circle { border-radius: 50%; aspect-ratio: 1; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 16px;
  border: 0;
  text-decoration: none !important;
  transition: transform .2s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(238, 106, 140, .35); }
.btn--primary:hover { box-shadow: 0 12px 26px rgba(238, 106, 140, .45); }
.btn--ghost { background: #fff; color: var(--pink-deep); border: 2px solid var(--pink); }
.btn--tel { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--lg { padding: 18px 36px; font-size: 18px; }
.btn--block { display: flex; width: 100%; }
.btn .icon { width: 1.2em; height: 1.2em; flex: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 249, 246, .88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(241, 223, 229, .7);
}
.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none !important; }
.logo__mark {
  width: 38px; height: 38px; border-radius: 11px;
  flex: none;
  box-shadow: 0 0 0 1px rgba(59, 44, 53, .08), 0 3px 10px rgba(214, 69, 109, .12);
}
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name { font-family: var(--font-round); font-weight: 900; font-size: 22px; letter-spacing: .02em; }
.logo__name em { font-style: normal; color: var(--pink); }
.logo__sub { font-size: 10px; color: var(--muted); letter-spacing: .08em; }

.gnav { display: none; }
.header-cta { display: none; }

.menu-btn {
  width: 44px; height: 44px;
  border: 0; border-radius: 14px;
  background: var(--pink-soft);
  display: grid; place-items: center;
  position: relative;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--pink-deep);
  border-radius: 2px;
  position: relative;
  transition: transform .3s, opacity .3s;
}
.menu-btn span::before { position: absolute; top: -6px; }
.menu-btn span::after  { position: absolute; top: 6px; }
.is-menu-open .menu-btn span { background: transparent; }
.is-menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.is-menu-open .menu-btn span::after  { transform: translateY(-6px) rotate(-45deg); }

/* drawer */
.drawer {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  background: var(--cream);
  padding: 24px 16px 120px;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, transform .25s, visibility .25s;
}
.is-menu-open .drawer { opacity: 1; transform: none; visibility: visible; }
.is-menu-open { overflow: hidden; }
.drawer__list { list-style: none; display: grid; gap: 8px; margin-bottom: 24px; }
.drawer__list a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px;
  background: #fff;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-family: var(--font-round);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}
.drawer__list a::after { content: "›"; color: var(--pink); font-size: 20px; }
.drawer__cta { display: grid; gap: 12px; }

/* ---------- mobile fixed CTA ---------- */
.fixed-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 98;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 -6px 20px rgba(0,0,0,.06);
  transform: translateY(110%);
  transition: transform .3s;
}
.fixed-cta.is-show { transform: none; }
.fixed-cta .btn { padding: 12px 10px; font-size: 14px; }
body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
body.no-fixed-cta { padding-bottom: 0; }
.no-fixed-cta .pagetop { bottom: calc(20px + env(safe-area-inset-bottom)); }
.is-menu-open .pagetop { display: none; }

/* ---------- section common ---------- */
.section { padding: 52px 0; }
/* ページ上部の見出しエリア直後は詰める */
.page-hero + .section { padding-top: 32px; }
.section--white { background: #fff; }
.section--soft { background: var(--grad-soft); }
.section-head { text-align: center; margin-bottom: 28px; }
.section-head__en {
  display: inline-block;
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .25em;
  color: var(--pink);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.section-head__title { font-size: 26px; font-weight: 900; }
.section-head__title .hl { background: linear-gradient(transparent 62%, #ffd9e2 62%); }
.section-head__lead { margin-top: 12px; color: var(--muted); }

.note { font-size: 12px; color: var(--muted); }
.tag {
  display: inline-block;
  padding: 2px 12px;
  border-radius: 999px;
  background: var(--pink-soft);
  color: var(--pink-deep);
  font-size: 12px;
  font-weight: 700;
}

/* ---------- hero (full-bleed photo) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  padding: calc(84vw + 16px) 0 32px;
  overflow: hidden;
}
.hero__bg { position: absolute; left: 0; right: 0; top: 0; height: 100vw; z-index: -1; }
.hero__bg picture { display: block; height: 100%; }
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 24%;
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(255, 249, 246, 0) 66%,
    rgba(255, 249, 246, .6) 82%,
    var(--cream) 100%);
}
.hero__content { position: relative; max-width: 560px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .75);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px; font-weight: 700;
  color: var(--pink-deep);
  border: 1px solid rgba(238, 106, 140, .2);
  margin-bottom: 14px;
}
.hero__badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(238,106,140,.5)} 70%{box-shadow:0 0 0 8px rgba(238,106,140,0)} 100%{box-shadow:0 0 0 0 rgba(238,106,140,0)} }
.hero__title {
  /* スマホ：画面幅に合わせて拡大（320px→32px／375px→37.5px／414px→41px） */
  font-size: clamp(28px, 10vw, 44px);
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: .04em;
  margin-bottom: 16px;
}
.hero__title .grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead { color: var(--muted); margin-bottom: 20px; font-size: 14px; }
.hero__actions { display: grid; gap: 12px; }
.hero__actions .btn--ghost { background: rgba(255, 255, 255, .7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* stats bar under hero */
.hero-stats-wrap { background: linear-gradient(var(--cream) 50%, #fff 50%); }
.hero-stats {
  position: relative;
  z-index: 2;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-stats li {
  padding: 18px 8px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.hero-stats li:nth-child(odd) { border-right: 1px solid var(--line); }
.hero-stats li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.hero-stats strong { display: block; font-family: var(--font-round); font-size: 22px; font-weight: 700; color: var(--pink-deep); margin-bottom: 2px; }
.hero-stats strong small { font-size: 12px; margin-left: 1px; }

.age-notice {
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
  display: flex; gap: 6px; align-items: flex-start;
}
.age-notice::before { content: "18+"; flex: none; font-weight: 700; font-size: 10px; color: #fff; background: var(--ink); border-radius: 6px; padding: 1px 6px; margin-top: 2px; }

/* ---------- payout banner ---------- */
.payout {
  background: var(--grad);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 20px;
  display: grid;
  gap: 20px;
  align-items: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.payout::after {
  content: "";
  position: absolute; right: -60px; top: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.payout__label { font-size: 13px; opacity: .9; }
.payout__title { font-size: 24px; font-weight: 900; }
.payout__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; list-style: none; }
.payout__steps li {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 48px;
  background: rgba(255,255,255,.2);
  border-radius: 12px;
  padding: 6px 4px;
  font-size: 12px; font-weight: 700;
  line-height: 1.35;
  text-align: center;
}
.payout__steps li + li::before {
  content: "›";
  position: absolute; left: -11px; top: 50%;
  transform: translateY(-50%);
  font-size: 16px; opacity: .9;
}

/* ---------- features ---------- */
.features { display: grid; gap: 16px; }
.feature {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
}
.feature__icon {
  width: 56px; height: 56px;
  border-radius: 18px;
  background: var(--pink-soft);
  color: var(--pink-deep);
  display: grid; place-items: center;
}
.feature:nth-child(3n+2) .feature__icon { background: var(--lavender-soft); color: #7a5fd6; }
.feature:nth-child(3n+3) .feature__icon { background: #e4f6f0; color: #3a9c7c; }
.feature__icon svg { width: 28px; height: 28px; }
.feature__title { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.feature__text { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- styles (在宅/通勤) ---------- */
.styles { display: grid; gap: 20px; }
.style-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.style-card .ph { border-radius: 0; border: 0; --ar: 16 / 9; }
.style-card__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.style-card__body { padding: 24px 20px; }
.style-card__label { margin-bottom: 8px; }
.style-card__title { font-size: 20px; font-weight: 900; margin-bottom: 10px; }
.check-list { list-style: none; display: grid; gap: 8px; margin: 12px 0 20px; }
.check-list li { position: relative; padding-left: 28px; font-size: 14px; }
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: .35em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--pink) 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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ---------- flow ---------- */
.flow { list-style: none; display: grid; gap: 16px; counter-reset: step; }
.flow__item {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 20px 24px 76px;
  box-shadow: var(--shadow-sm);
  counter-increment: step;
}
.flow__item::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 18px; top: 22px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-round);
  font-weight: 900;
  display: grid; place-items: center;
  font-size: 15px;
}
.flow__title { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.flow__text { font-size: 14px; color: var(--muted); margin: 0; }
.flow__time { display: inline-block; margin-top: 8px; }

/* ---------- simulator ---------- */
.sim {
  background: #fff;
  border-radius: 28px;
  padding: 28px 20px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 28px;
}
.sim__field { margin-bottom: 22px; }
.sim__label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; margin-bottom: 8px; font-size: 14px; }
.sim__value { font-family: var(--font-round); color: var(--pink-deep); font-size: 20px; }
.sim input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 8px; border-radius: 999px;
  background: linear-gradient(90deg, var(--pink) var(--fill, 50%), var(--line) var(--fill, 50%));
  outline: none;
}
.sim input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 28px; height: 28px; border-radius: 50%;
  background: #fff; border: 4px solid var(--pink);
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  cursor: pointer;
}
.sim input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 4px solid var(--pink);
  cursor: pointer;
}
.sim__result {
  background: var(--grad-soft);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.sim__result-label { font-size: 13px; color: var(--muted); }
.sim__result-num {
  font-family: var(--font-round);
  font-weight: 900;
  font-size: 44px;
  line-height: 1.2;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sim__result-num small { font-size: 18px; }
.sim__result-sub { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ---------- income plans ---------- */
.plans { display: grid; gap: 16px; }
.plan {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.plan::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--peach); }
.plan:nth-child(2)::before { background: var(--pink); }
.plan:nth-child(3)::before { background: var(--lavender); }
.plan p { margin: 0; }
.plan__who { font-weight: 700; font-family: var(--font-round); margin-bottom: 8px; }
.plan__calc { font-size: 13px; color: var(--muted); margin-bottom: 4px !important; }
.plan__amount { font-family: var(--font-round); font-size: 30px; font-weight: 900; color: var(--pink-deep); }
.plan__amount small { font-size: 14px; }

/* ---------- voices ---------- */
.voices { display: grid; gap: 20px; }
.voice {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
}
.voice__head { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; margin-bottom: 16px; }
.voice__img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line); }
.voice__name, .voice__meta { margin: 0; }
.voice__name { font-family: var(--font-round); font-weight: 700; font-size: 17px; }
.voice__meta { font-size: 12px; color: var(--muted); line-height: 1.6; }
.voice__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 14px; }
.voice__stats div { background: var(--cream); border-radius: 10px; padding: 8px 4px; text-align: center; font-size: 11px; color: var(--muted); line-height: 1.4; }
.voice__stats b { display: block; font-size: 15px; color: var(--pink-deep); font-family: var(--font-round); }
.voice__text { font-size: 14px; margin: 0; position: relative; padding-top: 10px; border-top: 1px dashed var(--line); }

/* ---------- reward types ---------- */
.rewards { display: grid; gap: 16px; }
.reward {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
}
.reward__num { font-family: var(--font-round); font-weight: 900; color: var(--pink); font-size: 13px; letter-spacing: .1em; }
.reward__title { font-size: 18px; font-weight: 700; margin: 4px 0 8px; }
.reward__text { font-size: 14px; color: var(--muted); margin: 0; }

.formula {
  margin-top: 24px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}
.formula__eq { font-family: var(--font-round); font-size: 20px; font-weight: 700; }
.formula__eq b { color: var(--peach); font-size: 28px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq__item {
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq__q {
  list-style: none;
  display: flex; align-items: center; gap: 12px;
  padding: 18px 48px 18px 18px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  font-size: 15px;
  line-height: 1.6;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::before, .faq__a::before {
  flex: none;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-round); font-weight: 900; font-size: 14px;
}
.faq__q::before { content: "Q"; background: var(--pink); color: #fff; }
.faq__q--note::before { content: "!"; background: #f3b5b5; }
.faq__q::after {
  content: "";
  position: absolute; right: 20px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--pink); border-bottom: 2px solid var(--pink);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s;
}
.faq__item[open] .faq__q::after { transform: translateY(-30%) rotate(-135deg); }
.faq__a {
  display: flex; gap: 12px;
  padding: 0 18px 20px;
  font-size: 14px;
  color: var(--muted);
}
.faq__a::before { content: "A"; background: var(--lavender-soft); color: #7a5fd6; }
.faq__a p:last-child { margin-bottom: 0; }

/* ---------- CTA block ---------- */
.cta {
  position: relative;
  background: var(--grad);
  color: #fff;
  border-radius: 32px;
  padding: 44px 20px;
  text-align: center;
  overflow: hidden;
}
.cta::before, .cta::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.12);
}
.cta::before { width: 240px; height: 240px; left: -80px; top: -80px; }
.cta::after  { width: 180px; height: 180px; right: -50px; bottom: -60px; }
.cta > * { position: relative; z-index: 1; }
.cta__title { font-size: 24px; font-weight: 900; margin-bottom: 10px; }
.cta__lead { opacity: .95; margin-bottom: 24px; font-size: 14px; }
.cta__actions { display: grid; gap: 12px; max-width: 520px; margin: 0 auto; }
.cta .btn--primary { background: #fff; color: var(--pink-deep); box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.cta .btn--tel { background: rgba(255,255,255,.15); color: #fff; border: 2px solid rgba(255,255,255,.7); box-shadow: none; }
.cta__tel-note { font-size: 12px; opacity: .9; margin-top: 12px; }

/* ---------- page header (sub pages) ---------- */
.page-hero {
  padding: 28px 0 40px;
  background: var(--grad-soft);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%;
  background: #ffd9e2; filter: blur(50px); right: -80px; top: -80px; opacity: .7;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero .section-head__en { display: block; line-height: 1.4; }
.page-hero .breadcrumb { line-height: 1.4; }
.page-hero__title { font-size: 26px; font-weight: 900; }
.breadcrumb { list-style: none; display: flex; justify-content: center; gap: 8px; font-size: 12px; color: var(--muted); margin-top: 10px; flex-wrap: wrap; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #d9c3cb; }
.breadcrumb a { color: var(--muted); }

/* ---------- text block / two col ---------- */
.split { display: grid; gap: 28px; align-items: center; }
.split__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.split__title { font-size: 22px; font-weight: 900; margin-bottom: 14px; }
.split__title .hl { color: var(--pink-deep); }

.card { background: #fff; border-radius: var(--radius); padding: 28px 20px; box-shadow: var(--shadow-sm); }
.card + .card { margin-top: 16px; }
.card__title { font-size: 18px; font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.card__title::before { content: ""; width: 6px; height: 22px; border-radius: 3px; background: var(--grad); flex: none; }

/* ---------- table ---------- */
.spec { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.spec th, .spec td { display: block; padding: 14px 20px; text-align: left; font-size: 14px; }
.spec th { background: var(--pink-soft); color: var(--pink-deep); font-family: var(--font-round); font-weight: 700; padding-bottom: 10px; }
.spec td { border-bottom: 1px solid var(--line); }
.spec tr:last-child td { border-bottom: 0; }

/* ---------- qualification ---------- */
.quals { display: grid; gap: 12px; list-style: none; }
.quals li {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 18px 18px 18px 60px;
  position: relative;
  box-shadow: var(--shadow-sm);
  font-size: 14px;
}
.quals li b { display: block; font-size: 16px; font-family: var(--font-round); margin-bottom: 2px; }
.quals li::before {
  content: "OK";
  position: absolute; left: 16px; top: 18px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--mint); color: #fff;
  font-weight: 900; font-size: 11px;
  display: grid; place-items: center;
  font-family: var(--font-round);
}
.alert {
  background: #fff4f4;
  border: 1px solid #ffd0d0;
  color: #b33a3a;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 700;
}

/* ---------- legal ---------- */
.legal { max-width: 860px; margin: 0 auto; }
.company-info { display: block; }
.company-info img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); pointer-events: none; }
.legal h2 { font-size: 20px; margin: 40px 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--line); }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 16px; margin: 28px 0 10px; color: var(--pink-deep); }
.legal ol { padding-left: 0; list-style: none; counter-reset: li; }
.legal ol > li { counter-increment: li; position: relative; padding-left: 2.6em; margin-bottom: 10px; font-size: 14px; }
.legal ol > li::before { content: "【" counter(li) "】"; position: absolute; left: 0; color: var(--pink-deep); font-weight: 700; }
.legal p, .legal ul { font-size: 14px; }
.legal ul { padding-left: 1.4em; margin-bottom: 1em; }

/* page TOC: mobile = stacked list card / tablet+ = pills */
.page-hero + .section--toc { padding-top: 24px; }
.toc {
  list-style: none;
  margin-bottom: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.toc li + li { border-top: 1px solid var(--line); }
.toc a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px;
  font-size: 14px; font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.toc a::after { content: "↓"; color: var(--pink); font-size: 13px; }

/* ---------- forms ---------- */
.form { max-width: 720px; margin: 0 auto; background: #fff; border-radius: 28px; padding: 28px 20px; box-shadow: var(--shadow); }
.form__row { margin-bottom: 22px; }
.form__label { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 8px; font-size: 14px; }
.req, .opt { font-size: 11px; padding: 1px 8px; border-radius: 6px; font-weight: 700; }
.req { background: var(--pink); color: #fff; }
.opt { background: #eee; color: var(--muted); }
.form__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.input, .textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  -webkit-appearance: none;
  appearance: none;
  padding: 14px 16px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  font: inherit;
  font-size: 16px; /* prevent iOS zoom */
  color: var(--ink);
  transition: border-color .2s, background .2s;
}
.input:focus, .textarea:focus { outline: none; border-color: var(--pink); background: #fff; }
.textarea { min-height: 180px; resize: vertical; }
.form__hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
.form__hint .ok { color: #3a9c7c; font-weight: 700; }
.form__hint .ng { color: #d14b4b; font-weight: 700; }
/* サーバー側バリデーションのエラー表示 */
.form__alert { margin-bottom: 22px; }
.form__error { font-size: 13px; color: #d14b4b; font-weight: 700; margin-top: 6px; }
.form__alert p { margin: 0; }

/* ---------- entry（応募フォーム） ----------
   form_validate.js がエラー時に .error_form / .error_label の要素から class を全部外すため、
   入力欄・登録種別の label は class ではなくセレクタで見た目を指定する */
.form--entry input[type="text"],
.form--entry input[type="email"],
.form--entry input[type="tel"],
.form--entry input[type="date"] {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  -webkit-appearance: none;
  appearance: none;
  padding: 14px 16px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  transition: border-color .2s, background .2s;
}
.form--entry input[type="date"] { min-height: 54px; }
.form--entry input:focus { outline: none; border-color: var(--pink); background: #fff; }
.form--entry .radio-card label {
  display: block;
  text-align: center;
  padding: 16px 10px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  background: var(--cream);
}
.form--entry .radio-card input:checked + label { border-color: var(--pink); background: var(--pink-soft); color: var(--pink-deep); }
.form--entry .radio-card input:focus-visible + label { outline: 3px solid var(--lavender); }
/* form_validate.js の jQuery スクロール（最初のエラーへ移動）が smooth 指定と干渉するため、応募フォームでは無効化 */
html:has(.form--entry) { scroll-behavior: auto; }
/* エラー表示（サーバー側・form_validate.js 共通のクラス名） */
.form--entry .error_form { border-color: #e74c3c !important; background: #ffeaea !important; }
.form--entry .error_label { border-color: #e74c3c !important; background: #ffeaea !important; }
.form--entry p.error { font-size: 13px; color: #d14b4b; font-weight: 700; margin: 6px 0 0; text-align: left; }
.form--entry .upload p.error { text-align: center; }
.form--entry .upload:has(.error_form) { border-color: #e74c3c; background: #ffeaea; }

/* 確認画面：身分証画像 */
.confirm-ids img { width: 100%; height: auto; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.confirm-ids__none { margin: 0; padding: 24px 0; text-align: center; background: var(--cream); border-radius: var(--radius-sm); }

/* 認証画面 */
.auth__lead { font-size: 14px; margin-bottom: 6px; }
.auth__note { margin-bottom: 24px; }
.auth__success { background: #effaf5; border: 1px solid #bfe8d6; color: #2f7d5f; border-radius: var(--radius-sm); padding: 14px 18px; font-size: 13px; font-weight: 700; margin-bottom: 22px; }
.auth__heading { display: flex; align-items: center; gap: 10px; font-size: 16px; margin: 0 0 14px; }
.auth__num { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 13px; display: grid; place-items: center; font-family: var(--font-round); }
.auth__send { display: grid; gap: 12px; margin-bottom: 32px; }
.auth__send > form { min-width: 0; }
.auth__send .btn { white-space: normal; padding: 16px 20px; font-size: 16px; }
.otp2fa { margin-bottom: 20px; }
.otp2fa__group { display: flex; justify-content: center; gap: 8px; }
.otp2fa__cell {
  width: 46px; height: 56px;
  min-width: 0;
  padding: 0;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  text-align: center;
  font: inherit;
  font-size: 24px; font-weight: 700;
  color: var(--ink);
  caret-color: transparent;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s, background .2s;
}
.otp2fa__cell:focus { outline: none; border-color: var(--pink); background: #fff; box-shadow: 0 0 0 4px rgba(238, 106, 140, .18); }
@media (max-width: 400px) {
  .otp2fa__group { gap: 6px; }
  .otp2fa__cell { flex: 1; width: auto; max-width: 46px; height: 52px; font-size: 22px; }
}
@media (min-width: 768px) {
  .auth__send { grid-template-columns: 1fr 1fr; }
}

.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.radio-card { position: relative; }
.radio-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radio-card span {
  display: block;
  text-align: center;
  padding: 16px 10px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  background: var(--cream);
}
.radio-card small { display: block; font-weight: 400; font-size: 11px; color: var(--muted); }
.radio-card input:checked + span { border-color: var(--pink); background: var(--pink-soft); color: var(--pink-deep); }
.radio-card input:focus-visible + span { outline: 3px solid var(--lavender); }

.upload {
  display: block;
  border: 2px dashed #e8c3d0;
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  background: var(--cream);
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.upload:hover, .upload.is-drag { background: var(--pink-soft); border-color: var(--pink); }
.upload { position: relative; }
.upload input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.upload__icon { width: 40px; height: 40px; margin: 0 auto 8px; color: var(--pink); }
.upload__text { font-weight: 700; font-size: 14px; }
.upload__preview { margin-top: 12px; display: none; }
.upload__preview img { max-height: 180px; margin: 0 auto; border-radius: 10px; }
.upload.has-file .upload__preview { display: block; }

.id-guide { background: var(--cream); border-radius: var(--radius-sm); padding: 16px 18px; font-size: 13px; margin-bottom: 16px; }
.id-guide h4 { font-size: 14px; margin-bottom: 6px; }
.id-guide ul { padding-left: 1.2em; margin-bottom: 8px; }

.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.agree input { width: 20px; height: 20px; accent-color: var(--pink); margin-top: 3px; flex: none; }

.steps-bar { display: flex; justify-content: center; gap: 0; list-style: none; margin-bottom: 24px; }
.steps-bar li {
  flex: 1; max-width: 160px;
  text-align: center;
  font-size: 12px; color: var(--muted);
  position: relative;
  padding-top: 38px;
}
.steps-bar li::before {
  content: attr(data-step);
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--line); color: var(--muted);
  display: grid; place-items: center;
  font-weight: 900; font-family: var(--font-round);
  z-index: 1;
}
.steps-bar li + li::after {
  content: ""; position: absolute; top: 14px; right: 50%; width: 100%; height: 2px; background: var(--line);
}
.steps-bar li.is-current { color: var(--pink-deep); font-weight: 700; }
.steps-bar li.is-current::before { background: var(--grad); color: #fff; }
.steps-bar li.is-done { color: var(--pink-deep); }
.steps-bar li.is-done::before { content: "✓"; background: var(--pink-soft); color: var(--pink-deep); }

/* ---------- confirm / complete ---------- */
.confirm-lead { font-size: 14px; margin-bottom: 20px; }
.confirm-list { margin: 0; border-top: 1px solid var(--line); }
.confirm-list__row { padding: 14px 0; border-bottom: 1px solid var(--line); }
.confirm-list dt { font-size: 12px; font-weight: 700; color: var(--pink-deep); margin-bottom: 4px; }
.confirm-list dd { margin: 0; font-size: 15px; word-break: break-all; }
.confirm-ids { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
.confirm-ids figure { margin: 0; }
.confirm-ids .ph { border-radius: var(--radius-sm); font-size: 11px; }
.confirm-ids figcaption { font-size: 12px; color: var(--muted); margin-top: 4px; text-align: center; }
.confirm-note { margin: 16px 0 0; }
.form-actions { display: grid; gap: 12px; margin-top: 28px; }
.tel-note { max-width: 720px; margin: 32px auto 0; text-align: center; font-size: 14px; color: var(--muted); }
.tel-note p { margin-bottom: 12px; }
.form-actions .btn--primary { order: -1; } /* スマホでは主ボタンを上に */
.done { text-align: center; }
.done__icon {
  width: 72px; height: 72px; margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--grad); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 20px rgba(238, 106, 140, .35);
}
.done__icon svg { width: 34px; height: 34px; }
.done__title { font-size: 22px; font-weight: 900; margin-bottom: 14px; }
.done__sub { font-size: 13px; color: var(--muted); margin-bottom: 0; }

/* ---------- footer ---------- */
.site-footer {
  background: #3b2c35;
  color: #e9dce2;
  padding: 56px 0 24px;
  font-size: 13px;
}
.site-footer a { color: #e9dce2; }
.footer__grid { display: grid; gap: 32px; margin-bottom: 36px; }
.footer__brand .logo { color: #fff; margin-bottom: 12px; }
.footer__brand .logo__sub { color: #c5b3bc; }
.footer__brand p { color: #c5b3bc; font-size: 12px; }
.footer__tel { font-family: var(--font-round); font-size: 24px; font-weight: 900; color: #fff !important; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.footer__tel .icon { width: .9em; height: .9em; flex: none; }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.footer__nav h4 { font-size: 12px; letter-spacing: .15em; color: var(--peach); margin-bottom: 10px; }
.footer__nav ul { list-style: none; display: grid; gap: 6px; }
.footer__copy { text-align: center; font-size: 11px; color: #a8959f; border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; }

.pagetop {
  position: fixed; right: 14px; bottom: calc(92px + env(safe-area-inset-bottom)); z-index: 99;
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: var(--pink-deep);
  border: 0;
  box-shadow: var(--shadow);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.pagetop.is-show { opacity: 1; visibility: visible; }

/* ---------- scroll reveal ---------- */
/* JSが動く環境でだけ隠す（JS無効時は常に表示） */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero__badge::before { animation: none; }
}

/* =========================================================
   tablet ≥ 768px
   ========================================================= */
@media (min-width: 768px) {
  body { font-size: 16px; }
  .container { padding: 0 32px; }
  .section { padding: 96px 0; }
  .page-hero + .section { padding-top: 64px; }
  .section-head { margin-bottom: 40px; }
  .section-head__title { font-size: 34px; }
  .hero { padding-top: 560px; }
  .hero__bg { height: 780px; }
  .hero__bg img { object-position: 84% 0%; }
  .hero__title { font-size: 40px; }
  .hero__lead { font-size: 15px; }
  .hero__actions { grid-template-columns: auto auto; justify-content: start; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .hero-stats li { padding: 22px 8px; border: 0 !important; }
  .hero-stats li + li { border-left: 1px solid var(--line) !important; }
  .hero-stats strong { font-size: 26px; }
  .features { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .styles { grid-template-columns: 1fr 1fr; gap: 28px; }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .rewards { grid-template-columns: repeat(3, 1fr); }
  .voices { grid-template-columns: repeat(2, 1fr); }
  .payout { grid-template-columns: 1fr auto; padding: 32px 40px; }
  .payout__steps { display: flex; gap: 8px; align-items: center; }
  .payout__steps li { min-height: 0; padding: 6px 14px; border-radius: 999px; font-size: 13px; }
  .payout__steps li + li::before { position: static; transform: none; content: "→"; margin-right: 8px; font-size: 13px; opacity: .8; }
  .cta { padding: 64px 40px; }
  .cta__title { font-size: 32px; }
  .cta__actions { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: 44px 0 60px; }
  .page-hero__title { font-size: 36px; }
  .page-hero + .section--toc { padding-top: 48px; }
  .toc { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; background: none; border: 0; border-radius: 0; overflow: visible; }
  .toc li + li { border-top: 0; }
  .toc a { display: inline-flex; gap: 8px; padding: 8px 18px; font-size: 13px; background: #fff; border-radius: 999px; box-shadow: var(--shadow-sm); }
  .split { grid-template-columns: 1fr 1fr; gap: 48px; }
  .split--rev > :first-child { order: 2; }
  .split__title { font-size: 28px; }
  .card { padding: 36px 40px; }
  .spec th, .spec td { display: table-cell; padding: 20px 24px; border-bottom: 1px solid var(--line); }
  .spec th { width: 200px; vertical-align: top; }
  .spec tr:last-child th { border-bottom: 0; }
  .form { padding: 48px 56px; }
  .confirm-list__row { display: grid; grid-template-columns: 200px 1fr; gap: 16px; align-items: start; }
  .confirm-list dt { font-size: 14px; margin: 0; padding-top: 2px; }
  .form-actions { grid-template-columns: 1fr 1.4fr; }
  .form-actions .btn--primary { order: 0; }
  .done__title { font-size: 28px; }
  .sim { grid-template-columns: 1.2fr 1fr; align-items: center; padding: 44px; }
  .footer__grid { grid-template-columns: 1.2fr 2fr; }
  .footer__nav { grid-template-columns: repeat(3, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .flow__item { padding: 84px 24px 28px; }
  .flow__item::before { left: 24px; top: 24px; }
}

/* =========================================================
   desktop ≥ 1024px
   ========================================================= */
@media (min-width: 1024px) {
  :root { --header-h: 76px; }
  .sp-only { display: none; }
  .pc-only { display: inline; }
  .menu-btn, .drawer, .fixed-cta { display: none; }
  body { padding-bottom: 0; }
  .pagetop { bottom: 24px; right: 24px; }

  .gnav { display: block; }
  .gnav ul { list-style: none; display: flex; gap: 4px; }
  .gnav a {
    display: block;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--ink);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: background .2s, color .2s;
  }
  .gnav a:hover, .gnav a[aria-current="page"] { background: var(--pink-soft); color: var(--pink-deep); }
  .header-cta { display: flex; gap: 10px; align-items: center; }
  .header-cta .btn { padding: 10px 20px; font-size: 14px; }
  .header-tel { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; color: var(--ink); text-decoration: none !important; }
  .header-tel b { font-family: var(--font-round); font-size: 18px; color: var(--pink-deep); }
  .header-tel small { font-size: 10px; color: var(--muted); white-space: nowrap; }
  .gnav a { white-space: nowrap; }

  .hero { min-height: clamp(640px, calc(100vh - var(--header-h)), 820px); align-items: center; padding: 72px 0 110px; }
  .hero__bg { bottom: 0; height: auto; }
  .hero__bg img { object-position: 70% 30%; }
  .hero__bg::after {
    background: linear-gradient(90deg,
      var(--cream) 0%,
      rgba(255, 249, 246, .94) 32%,
      rgba(255, 249, 246, .55) 50%,
      rgba(255, 249, 246, 0) 66%);
  }
  /* PC：画面幅に合わせて拡大（1024px→60px／1280px→69px／1440px以上→78〜80px） */
  .hero__title { font-size: clamp(60px, 5.4vw, 80px); }
  .hero__content { max-width: 700px; }
  .hero-stats { margin-top: -56px; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .feature { grid-template-columns: 1fr; text-align: left; padding: 32px 28px; }
  .voices { grid-template-columns: repeat(3, 1fr); }
}

/* 小さめのノートPC：ヘッダーを1行に収める */
@media (min-width: 1024px) and (max-width: 1199px) {
  .site-header__inner { gap: 10px; }
  .gnav ul { gap: 0; }
  .gnav a { padding: 8px 7px; font-size: 13px; }
  .header-cta { gap: 8px; }
  .header-cta .btn { padding: 10px 14px; font-size: 13px; }
}
@media (min-width: 1200px) and (max-width: 1280px) {
  .gnav a { padding: 8px 10px; }
}
