/* =========================================================
   recruit.css — 採用サイト（/recruit/）
   移植元（採用ページ Artifact）のスタイルを踏襲。
   ========================================================= */
:root{
  --bg: #FCF5F0;
  --ink: #221D1A;
  --orange: #F0691A;
  --orange-deep: #D95710;
  --pink: #F0479B;
  --peach: #F8CBA8;
  --peach-soft: #FBE3D2;
  --card: #FFFFFF;
  --line: #F0DED2;
  --muted: #8A7A6E;
  --sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", sans-serif;
  --latin: Poppins, "DM Sans", "Avenir Next", "Helvetica Neue", var(--sans);
}
*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation: none !important; transition: none !important; }
}
body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 2.0;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img{ max-width: 100%; }
a{ color: var(--orange-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover{ color: var(--pink); }
a:focus-visible, button:focus-visible{ outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
strong{ font-weight: 700; }

header.site{
  background: rgba(252,245,240,.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  padding: 14px 20px;
  position: sticky; top: 0; z-index: 4;
}
.site-inner{
  max-width: 1000px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.wordmark{
  font-family: var(--latin);
  font-size: 20px; font-weight: 800; letter-spacing: .14em;
  color: var(--ink); text-decoration: none;
}
.wordmark small{ font-size: 10.5px; letter-spacing: .2em; color: var(--muted); margin-left: 10px; font-weight: 600; }
nav.top{ display: flex; gap: 20px; font-size: 13px; align-items: center; flex-wrap: wrap; }
nav.top a{ text-decoration: none; color: var(--ink); letter-spacing: .08em; font-weight: 600; }
nav.top a:hover{ color: var(--orange-deep); }
nav.top a.corp{ color: var(--muted); font-weight: 500; }
.pill{
  display: inline-block; text-decoration: none;
  background: var(--orange); color: #fff !important;
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  padding: 10px 22px; border-radius: 999px;
}
.pill:hover{ background: var(--orange-deep); }

main{ max-width: 1000px; margin: 0 auto; padding: 0 20px 40px; position: relative; z-index: 1; }
body{ overflow-x: clip; }
.hero, .apply-band, .jobhead{ overflow: clip; }
.view{ display: block; }

/* ---------- decorations ---------- */
/* 装飾（円・リボン）は常に文字の下のレイヤーに置く。
   親ブロックで stacking context を作り（isolation）、装飾を負の z-index で背面に回す。
   スマホ幅では装飾が本文と重なるため、z-index: 0 のままだと文字の上に描かれて読みにくくなる。 */
.hero, .mv, section.block, .apply-band, .jobhead{ isolation: isolate; }
.deco{ position: absolute; pointer-events: none; z-index: -1; }
.circle-fill{ border-radius: 50%; background: var(--peach); opacity: .55; }
.circle-line{ border-radius: 50%; border: 2px solid var(--peach); opacity: .8; }
.ribbon{
  height: 46px; width: 140%; left: -20%;
  background: linear-gradient(90deg, var(--pink), #F87BB8);
  opacity: .16; transform: rotate(-8deg);
}

/* ---------- home hero ---------- */
.hero{ position: relative; padding: 92px 0 72px; }
.hero .eyebrow{
  font-family: var(--latin);
  font-size: 13px; letter-spacing: .3em; color: var(--orange);
  margin: 0 0 26px; font-weight: 800;
}
.hero h1{
  font-size: clamp(34px, 6.6vw, 58px);
  font-weight: 800; line-height: 1.9; letter-spacing: .05em;
  margin: 0 0 30px;
}
.hero h1 .box{
  background: var(--ink); color: #fff;
  padding: .12em .38em; border-radius: 8px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero .tagline{ font-weight: 700; font-size: 17px; letter-spacing: .08em; margin: 0 0 14px; color: var(--orange-deep); }
.hero p{ max-width: 620px; margin: 0 0 12px; position: relative; }
.cta-row{ display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.btn{
  display: inline-block; text-decoration: none; font-size: 14.5px; font-weight: 700; letter-spacing: .08em;
  padding: 14px 32px; border-radius: 999px;
}
.btn.primary{ background: var(--orange); color: #fff; }
.btn.primary:hover{ background: var(--orange-deep); color: #fff; }
.btn.ghost{ color: var(--ink); background: transparent; border: 2px solid var(--ink); }
.btn.ghost:hover{ background: var(--ink); color: #fff; }

/* ---------- mission / vision ---------- */
.mv{ position: relative; padding: 30px 0 64px; border-bottom: 1px solid var(--line); }
.mv .word{
  font-family: var(--latin);
  font-size: clamp(40px, 7vw, 64px); font-weight: 800; letter-spacing: .02em;
  color: var(--orange); line-height: 1.2; margin: 0 0 6px;
}
.mv .word.pinkish{ color: var(--pink); }
.mv .stmt{
  font-size: clamp(18px, 2.6vw, 24px); font-weight: 800; letter-spacing: .06em; line-height: 2.1;
  margin: 0 0 40px; max-width: 720px;
}
.mv .stmt em{ font-style: normal; color: var(--orange); }
.mv .vision-wrap{ text-align: right; }
.mv .vision-wrap .stmt{ margin-left: auto; margin-bottom: 0; }
.mv .vision-wrap .stmt em{ color: var(--pink); }

/* ---------- generic blocks ---------- */
section.block{ padding: 64px 0; border-bottom: 1px solid var(--line); position: relative; }
section.block:last-of-type{ border-bottom: none; }
.label{
  font-family: var(--latin);
  font-size: 12.5px; letter-spacing: .3em; color: var(--orange);
  margin: 0 0 12px; font-weight: 800;
}
.label .jp{ font-family: var(--sans); font-size: 11px; color: var(--muted); letter-spacing: .2em; margin-left: 14px; font-weight: 600; }
.block h2{
  font-size: clamp(24px, 3.6vw, 34px); font-weight: 800; letter-spacing: .05em; line-height: 1.8;
  margin: 0 0 26px; text-wrap: balance;
}
.block h2 em{ font-style: normal; color: var(--orange); }
.block > p{ max-width: 680px; }
.note{ font-size: 13px; color: var(--muted); }

.chips-row{ display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.exp-chip{
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 20px; font-size: 13.5px; font-weight: 700; letter-spacing: .06em;
}
.exp-chip::before{ content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); margin-right: 9px; vertical-align: 2px; }

/* ---------- values ---------- */
.values{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 30px; }
@media (max-width: 680px){ .values{ grid-template-columns: 1fr; } }
.value{ background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px 28px; }
.value h3{ font-size: 17px; font-weight: 800; letter-spacing: .04em; margin: 0 0 8px; color: var(--orange-deep); }
.value p{ margin: 0; font-size: 14px; line-height: 1.95; }

/* ---------- fit ---------- */
.fit{ display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; margin-top: 30px; }
.fit-card{ background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px 28px; }
.fit-card h3{ font-size: 15px; font-weight: 800; letter-spacing: .08em; margin: 0 0 14px; }
.fit-card.yes h3{ color: var(--orange-deep); }
.fit-card.no h3{ color: var(--muted); }
.fit-card ul{ margin: 0; padding: 0; list-style: none; }
.fit-card li{ padding-left: 30px; position: relative; margin-bottom: 10px; font-size: 14.5px; line-height: 1.9; }
.fit-card.yes li::before{ content: "○"; position: absolute; left: 0; top: 0; color: var(--orange); font-weight: 800; }
.fit-card.no li::before{ content: "×"; position: absolute; left: 0; top: 0; color: var(--pink); font-weight: 800; }

/* ---------- job list ---------- */
.jobgroup{ margin-bottom: 30px; }
.jobgroup h3{
  font-family: var(--latin);
  font-size: 12px; letter-spacing: .26em; color: var(--muted); font-weight: 800;
  margin: 0 0 12px;
}
.job{
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 22px 26px; margin-bottom: 12px;
  text-decoration: none; color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.job:hover{ color: var(--ink); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(240,105,26,.14); }
.job .t{ font-size: 17px; font-weight: 800; letter-spacing: .02em; line-height: 1.7; display: block; }
.job .m{ font-size: 12px; color: var(--muted); margin-top: 4px; letter-spacing: .06em; display: block; }
.job .arrow{
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 17px;
}

/* ---------- steps ---------- */
.steps{ display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-top: 30px; counter-reset: step; }
.step{
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 24px 22px 18px; counter-increment: step; position: relative;
}
.step::before{
  content: "STEP " counter(step);
  font-family: var(--latin);
  font-size: 11px; color: var(--pink); font-weight: 800; letter-spacing: .22em;
  display: block; margin-bottom: 8px;
}
.step b{ display: block; font-size: 15.5px; margin-bottom: 4px; letter-spacing: .04em; }
.step span{ font-size: 12.5px; color: var(--muted); line-height: 1.8; display: block; }

/* ---------- cta band ---------- */
.apply-band{
  position: relative; overflow: hidden;
  background: var(--orange); color: #fff;
  margin-top: 64px; padding: 56px 36px; text-align: center; border-radius: 20px;
}
.apply-band h2{ font-size: clamp(22px, 3.4vw, 30px); font-weight: 800; letter-spacing: .06em; margin: 0 0 12px; color: #fff; position: relative; }
.apply-band p{ margin: 0 auto 26px; max-width: 560px; font-size: 14px; color: #FFE8D6; position: relative; }
.apply-band .btn{ background: #fff; color: var(--orange-deep); position: relative; }
.apply-band .btn:hover{ background: var(--ink); color: #fff; }
.apply-band .deco.circle-line{ border-color: rgba(255,255,255,.4); }
.apply-band .deco.circle-fill{ background: rgba(255,255,255,.16); opacity: 1; }

/* ---------- job detail ---------- */
.back{ display: inline-block; margin: 30px 0 0; font-size: 13px; font-weight: 700; text-decoration: none; letter-spacing: .06em; }
.jobhead{ padding: 26px 0 36px; border-bottom: 1px solid var(--line); position: relative; }
.chips{ display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.chip{
  font-size: 11.5px; letter-spacing: .12em; font-weight: 700; color: var(--orange-deep);
  border: 1.5px solid var(--orange); padding: 4px 14px; border-radius: 999px;
}
.chip.alt{ color: var(--pink); border-color: var(--pink); background: rgba(240,71,155,.06); }
.jobhead h1{ font-size: clamp(25px, 4.2vw, 36px); line-height: 1.75; letter-spacing: .04em; font-weight: 800; margin: 0; text-wrap: balance; }
.jobbody{ max-width: 700px; }
.jobbody section{ padding: 36px 0 8px; }
.jobbody h2{ font-size: 19px; font-weight: 800; letter-spacing: .05em; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--peach); }
.jobbody h2 .en{ font-family: var(--latin); display: block; font-size: 11px; letter-spacing: .28em; color: var(--orange); font-weight: 800; margin-bottom: 4px; }
.jobbody p{ margin: 0 0 14px; }
.jobbody ul{ margin: 0; padding-left: 1.35em; }
.jobbody li{ margin-bottom: 8px; }
.jobbody li::marker{ color: var(--orange); }
.jobcta{
  margin: 46px 0 10px; background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 28px 30px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.jobcta .t{ font-weight: 800; font-size: 17px; letter-spacing: .05em; }
.jobcta .links{ display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

footer.site{ background: var(--ink); color: #CDBFB4; margin-top: 30px; padding: 40px 20px 48px; font-size: 12.5px; }
.foot-inner{ max-width: 1000px; margin: 0 auto; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: baseline; }
.foot-inner .fm{ font-family: var(--latin); font-weight: 800; letter-spacing: .16em; color: #fff; font-size: 17px; }
footer.site a{ color: var(--peach); }
footer.site a + a{ margin-left: 16px; }

@media (max-width: 600px){
  header.site{ padding: 12px 16px; }
  nav.top{ gap: 12px; font-size: 12px; }
  nav.top a.corp{ display: none; }
  .pill{ padding: 8px 16px; font-size: 12px; }
  main{ padding: 0 16px 32px; }
  .hero{ padding: 56px 0 48px; }
  .jobcta{ padding: 22px; }
}
