/* =========================================================
   デザインMD（新卒採用サイト_デザインMD_MCS参考_20261123.md）準拠
   ========================================================= */
:root {
  /* ===== 色（全体でこの5色＋白だけを使う） ===== */
  --c-cream: #fff5f8;   /* 背景：うすいピンク（インスタに合わせる） */
  --c-white: #ffffff;   /* カード・丸・ふきだし */
  --c-ink: #323232;     /* 文字：見出しも本文も同じ色 */
  --c-sub: #8a8a8a;     /* 注釈・コピーライト */
  --c-orange: #e4508a;  /* 差し色：ピンク（インスタに合わせる。変数名はそのまま） */
  --c-line: var(--c-line); /* 区切り線 */

  /* ===== 文字 ===== */
  --f-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --ls-body: 0.05em;
  --fs-body: 16px;
  --fs-small: 14px;
  --lh-body: 1.8;

  /* ===== 形 ===== */
  --radius-card: 24px;
  --radius-pill: 999px;
  --header-h: 144px;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 62.5%; }
body {
  margin: 0;
  background: var(--c-cream);
  color: var(--c-ink);
  font-family: var(--f-jp);
  font-weight: 500; /* 公式サイトの本文と同じ太さ */
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

/* ---------- ヘッダー（MVの上に重ねる・右に白いカプセル） ---------- */
.hero { position: relative; }
.header {
  position: fixed; /* スクロールしても上に固定 */
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 16px 16px 24px;
  transition: background .3s, box-shadow .3s, height .3s, padding .3s;
}
/* スクロールしたら：ロゴを小さく（白い帯は出さない） */
.header.is-scrolled {
  height: 88px;
  padding-top: 0;
  padding-bottom: 0;
  align-items: center;
}
.header.is-scrolled .logo { flex-direction: row; padding-top: 0; gap: 12px; }
.header.is-scrolled .logo__mark { width: 52px; }
.header.is-scrolled .logo__label { display: none; } /* 透明ヘッダーなので、スクロール中は本文と重ならないようマークだけに */
.header.is-scrolled .hnav { height: 68px; }
/* メニューから飛んだとき、見出しが固定ヘッダーに隠れないように */
[id] { scroll-margin-top: 104px; }
.logo { display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 8px; flex-shrink: 0; }
.logo__mark { width: 72px; height: auto; transition: width .3s; }
.logo__label {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-align: center;
  /* イラストの上でも読めるよう白フチ（3pxぶん） */
  text-shadow:
    0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff,
    2px 0 0 #fff, -2px 0 0 #fff, 0 2px 0 #fff, 0 -2px 0 #fff,
    2px 2px 0 #fff, -2px 2px 0 #fff, 2px -2px 0 #fff, -2px -2px 0 #fff;
}
.hnav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 82px;
  padding: 0 8px 0 36px;
  background: rgba(255, 255, 255, .85);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
}
.hnav ul { display: flex; gap: 24px; }
.hnav ul a { font-size: 15px; font-weight: 500; letter-spacing: 0.1em; white-space: nowrap; color: var(--c-ink); transition: color .2s; }
.hnav ul a:hover { color: var(--c-orange); }
.hnav__btns { display: flex; gap: 8px; }
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 176px;
  height: 52px;
  border-radius: var(--radius-pill);
  color: var(--c-white);
  font-size: var(--fs-body);
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: opacity .2s;
}
.pill:hover { opacity: .85; }
/* 差し色はオレンジ1色に：説明会予約は白地＋オレンジ線、エントリーはオレンジ塗り */
.pill--green { background: var(--c-white); color: var(--c-orange); box-shadow: inset 0 0 0 2px var(--c-orange); }
.pill--orange { background: var(--c-orange); }
/* 幅が足りない画面ではメニュー文字を隠し、ボタン2つだけ残す */
@media (max-width: 1419px) {
  .hnav { padding-left: 8px; }
  .hnav ul { display: none; }
}

/* ---------- MV（左右2枚のイラストを斜めに切り替え＋手書きキャッチ） ---------- */
.mv {
  position: relative;
  width: 100%;
  height: calc(100vw * 786 / 2000 + var(--header-h));
  overflow: hidden;
  background: #cfe6f2;
}
.mv__bg { position: absolute; top: 0; bottom: 0; margin: 0; overflow: hidden; }
/* 絵はヘッダーの後ろまで（上に空が広い絵なので、人物は隠れない） */
.mv__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mv__bg--right { right: 0; width: 62%; }
.mv__bg--right img { object-position: 100% 100%; }
.mv__bg--left {
  left: 0;
  width: 62%;
  z-index: 1;
  /* 上は62%・下は44%の位置で斜めに切る */
  clip-path: polygon(0 0, 100% 0, 71% 100%, 0 100%);
}
.mv__bg--left img { object-position: 0% 50%; }
/* PC：男女の顔の大きさと高さをそろえる（絵の高さに対する％で指定） */
@media (min-width: 768px) {
  .mv__bg--left img { inset: auto; top: var(--man-top, -11.7%); left: var(--man-left, -5%); width: auto; height: var(--man-h, 116%); max-width: none; }
  .mv__bg--right img { inset: auto; top: var(--woman-top, -7%); right: 0; width: auto; height: var(--woman-h, 107%); max-width: none; }
}
/* 右の絵は斜めの線の下まで敷く */
.mv__bg--right { width: 70%; }
.mv__catch {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: calc(var(--header-h) + (100% - var(--header-h)) * .54);
  width: 52%;
  transform: translate(-50%, -50%);
  margin: 0;
}
.mv__catch img { width: 100%; height: auto; }
/* 文字の後ろにうっすら影を敷いて読みやすく */
.mv::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 50%;
  top: calc(var(--header-h) + (100% - var(--header-h)) * .56);
  width: 60%;
  height: 55%;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(16, 44, 64, .55) 0%, rgba(16, 44, 64, .3) 55%, rgba(16, 44, 64, 0) 100%);
  pointer-events: none;
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- コンセプト（参考：筆でなでたクリーム色の面＋中央の見出し） ---------- */
.concept {
  position: relative;
  z-index: 4;
  background: var(--c-cream);
  color: var(--c-ink);
  text-align: center;
  padding: 24px 0 96px;
}
.concept__brush {
  position: absolute;
  left: 0;
  top: 1px;
  width: 100%;
  height: clamp(60px, 9vw, 160px);
  transform: translateY(-100%);
  fill: var(--c-cream);
  pointer-events: none;
}
.concept__inner { max-width: 820px; margin: 0 auto; padding: 0 20px; }
.concept__ttl {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.12em;
}
/* 見出しは「花とちょうちょ」（購入フォント・Webフォント不可）で書き出した文字画像を並べる */
.concept__line { display: flex; justify-content: center; align-items: flex-end; }
.concept__line + .concept__line { margin-top: 0.35em; }
.concept__line img { display: block; height: 1.3em; width: auto; }
.concept__em {
  display: block;
  /* 手書きで書いていくように、左から現れる */
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.4s cubic-bezier(.65, 0, .35, 1) .3s;
}
.concept.is-in .concept__em { clip-path: inset(0 0 0 0); }
.concept__body { margin-top: 56px; }
.concept__body p { font-size: 17px; line-height: 2.2; letter-spacing: 0.08em; }
.concept__body p + p { margin-top: 32px; }
.msg-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 64px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.13em;
  color: var(--c-ink);
  transition: opacity .2s;
}
.msg-link:hover { opacity: .7; }
.msg-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--c-orange);
  color: var(--c-white);
  font-size: 16px;
  letter-spacing: 0;
}

/* =========================================================
   代表インタビュー以降（参考：マネーフォワード新卒採用サイトのデザイン）
   クリーム背景／白い丸い形／オレンジの手書き英字ラベル＋大きな日本語見出し
   ========================================================= */
.wrap { position: relative; max-width: 1280px; margin: 0 auto; padding: 0 80px; z-index: 1; }
.sec { position: relative; padding: 128px 0; overflow: hidden; }
.sec + .sec { padding-top: 64px; }
.concept + .sec { padding-top: 32px; }
.sec-head { margin-bottom: 64px; }
.sec-head--center { text-align: center; }
.sec-label {
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: var(--c-orange);
}
.sec-ttl {
  margin-top: 4px;
  font-size: 44px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: var(--c-ink);
}
.sec-lead { margin-top: 24px; max-width: 760px; font-size: 15px; line-height: 2.2; letter-spacing: 0.05em; }
.sec-head--center .sec-lead { margin-left: auto; margin-right: auto; }
.sec, .sec p, .sec dd, .sec td { color: var(--c-ink); }
/* 白い丸っこい形（背景の飾り） */
.blob {
  position: absolute;
  z-index: 0;
  background: var(--c-white);
  border-radius: 58% 42% 63% 37% / 45% 55% 45% 55%;
  pointer-events: none;
}
.msg-link--sm { margin-top: 32px; font-size: 14px; gap: 12px; }
.msg-link--sm .msg-link__icon { width: 40px; height: 40px; font-size: 14px; }
.note { margin-top: 24px; font-size: 12px; color: var(--c-sub); }

/* ---------- 代表からのメッセージ ---------- */
.message { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.sec-ttl { word-break: auto-phrase; }
.sec-ttl__sub { display: inline-block; margin-left: 24px; font-size: 18px; font-weight: 500; letter-spacing: 0.08em; vertical-align: 0.3em; } /* 見出しは文節で折り返す（1文字だけ落ちない） */
.message .sec-ttl { white-space: nowrap; }
.message__lead { font-size: 22px; font-weight: 500; line-height: 1.9; letter-spacing: 0.08em; }
.message__name { margin-top: 32px; display: flex; align-items: baseline; gap: 16px; }
.message__name small { font-size: 14px; }
.message__name strong { font-size: 24px; font-weight: 500; letter-spacing: 0.1em; }
.message__photo { margin: 0; border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 4 / 3; }
.message__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }


/* ---------- 1日のスケジュール（24時間のドーナツ）＋下に詳細 ---------- */
.sched { position: relative; width: min(900px, 100%); aspect-ratio: 1 / 1; margin: 24px auto 0; }
.sched__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.seg-work { fill: var(--c-orange); }
.seg-life { fill: #f6a8c4; }   /* プライベート：やわらかいピンク */
.seg-sleep { fill: #b8b4dd; }  /* 睡眠：夜っぽいラベンダー */
.sched__dots line { stroke-width: 4; stroke-linecap: round; stroke-dasharray: 0 9; }
.dot-work { stroke: var(--c-orange); }
.dot-life { stroke: #f6a8c4; }
.dot-sleep { stroke: #b8b4dd; }
.sched__tick { font-family: "Montserrat", sans-serif; font-size: 18px; font-weight: 600; fill: #d6b9c5; text-anchor: middle; }
/* 真ん中の人物（仮のイラスト。あとで本人の切り抜き写真に差し替え） */
.sched__person {
  position: absolute; left: 50%; bottom: 17%;
  height: 66%; width: auto; max-width: none;
  transform: translateX(-50%);
  filter: drop-shadow(0 10px 14px rgba(50, 50, 50, .15));
}
.sched__label { position: absolute; text-align: center; white-space: nowrap; line-height: 1.45; }
/* 時刻・予定は「花とちょうちょ」の文字画像（Webフォント不可のため） */
.sched__label time, .sched__label span { display: flex; justify-content: center; }
.sched__label time img { height: 30px; width: auto; }
.sched__label span img { height: 22px; width: auto; margin-top: 2px; }
.sched__list { display: none; }
.work-more { margin-top: 64px; text-align: center; }
/* やわらかいボタン（薄いオレンジ地＋細い枠＋ずらした影＋長い矢印） */
.btn-soft {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 40px;
  min-width: 340px; height: 64px; padding: 0 32px 0 40px;
  border: 1.5px solid var(--c-orange); border-radius: 999px;
  background: #fde4ee; color: var(--c-orange);
  font-size: 16px; font-weight: 700; letter-spacing: 0.12em;
  box-shadow: 5px 5px 0 #f6c3d6;
  transition: transform .2s, box-shadow .2s;
}
.btn-soft span { position: relative; width: 34px; height: 1.5px; background: currentColor; }
.btn-soft span::after { content: ""; position: absolute; right: 0; top: 50%; width: 9px; height: 1.5px; background: currentColor; transform-origin: right center; transform: translateY(-50%) rotate(35deg); }
.btn-soft:hover { transform: translate(3px, 3px); box-shadow: 2px 2px 0 #f6c3d6; }

/* ---------- 先輩インタビュー（2列をずらして並べる） ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; column-gap: 180px; row-gap: 96px; }
.story li:nth-child(even) { margin-top: 150px; }
.story__head { display: flex; align-items: flex-end; gap: 20px; margin-bottom: 20px; }
.story__num { font-family: "Montserrat", sans-serif; font-weight: 300; font-size: 64px; line-height: 1; letter-spacing: 0; }
.story__catch { padding-bottom: 8px; font-size: 14px; letter-spacing: 0.1em; }
.story__img {
  aspect-ratio: 550 / 714;
  background: #f3e4ea;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-sub); font-size: 14px;
}
.story__name { margin-top: 20px; font-size: 15px; line-height: 2; letter-spacing: 0.1em; }
.story__link { display: block; }
.story__img { overflow: hidden; }
.story__img > * , .story__img img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.story__img img { width: 100%; height: 100%; object-fit: cover; }
.story__link:hover .story__img img { transform: scale(1.04); }
.story__link:hover .story__img { filter: brightness(1.03); }
.story__link:hover .story__catch, .story__link:hover .story__num { color: var(--c-orange); }
.story__num, .story__catch { transition: color .3s; }
.story__more { margin-top: 96px; text-align: center; }

/* ---------- きずなの研修 ---------- */
.training { display: grid; grid-template-columns: 1.1fr 1fr; gap: 96px; align-items: center; }
.training__photo { position: relative; margin: 0; }
.training__photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 62%; border-radius: var(--radius-card); }
.training__en { font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 44px; line-height: 1.3; letter-spacing: 0.01em; }
.training__sub { margin-top: 8px; font-size: 15px; font-weight: 700; letter-spacing: 0.1em; }
.steps2 { margin-top: 40px; }
.steps2 li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start; padding: 20px 0; border-top: 1px solid var(--c-line); }
.steps2 li:last-child { border-bottom: 1px solid var(--c-line); }
.steps2 b { font-family: "Caveat", cursive; font-weight: 700; font-size: 44px; line-height: 1; color: var(--c-orange); }
.steps2 h3 { font-size: 17px; font-weight: 700; letter-spacing: 0.06em; }
.steps2 p { margin-top: 4px; font-size: 14px; line-height: 2; }

/* ---------- 数字で見る（白い丸） ---------- */
.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; justify-items: center; max-width: 820px; margin: 0 auto; }
.nums li {
  width: 220px; height: 220px; border-radius: 50%;
  background: var(--c-white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.nums__label { font-size: 13px; letter-spacing: 0.08em; }
.nums__num { margin-top: 4px; font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 56px; line-height: 1.1; }
.nums__num small { font-family: var(--f-jp); font-size: 15px; font-weight: 700; margin-left: 4px; }

/* ---------- 会社説明会・新着情報 ---------- */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.events li { background: var(--c-white); border-radius: var(--radius-card); padding: 32px 36px; }
.events li + li { margin-top: 20px; }
.events__ttl { font-size: 17px; font-weight: 700; line-height: 1.7; letter-spacing: 0.05em; }
.events dl { margin-top: 12px; display: grid; grid-template-columns: 56px 1fr; row-gap: 4px; font-size: 14px; line-height: 1.9; }
.events dt { color: var(--c-orange); font-weight: 700; }
.events .msg-link { margin-top: 20px; }
.news li { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--c-line); }
.news li:first-child { border-top: 1px solid var(--c-line); }
.news time { font-family: "Montserrat", sans-serif; font-size: 14px; font-weight: 600; color: var(--c-orange); letter-spacing: 0.04em; }
.news a { font-size: 15px; line-height: 1.8; transition: opacity .2s; }
.news a:hover { opacity: .6; }

/* ---------- 募集要項・選考フロー ---------- */
.flow2 { margin-top: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; position: relative; }
.flow2::before { content: ""; position: absolute; top: 85px; left: 12%; right: 12%; border-top: 2px dotted rgba(228, 80, 138, .5); }
.flow2 li { position: relative; }
.flow2__circle {
  width: 170px; height: 170px; margin: 0 auto; border-radius: 50%;
  background: var(--c-white);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.flow2__circle b { font-family: "Caveat", cursive; font-weight: 700; font-size: 28px; line-height: 1; color: var(--c-orange); }
.flow2__circle h3 { margin-top: 6px; font-size: 16px; font-weight: 700; letter-spacing: 0.04em; }
.flow2 p { margin-top: 16px; font-size: 14px; line-height: 1.9; }
.flow-more { margin-top: 72px; text-align: center; }

/* ---------- よくある質問（白いカードのアコーディオン） ---------- */
.qa { margin-top: 128px; }
.qa__list { max-width: 864px; margin: 0 auto; }
.qa__item {
  background: var(--c-white);
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(50, 50, 50, .1);
  padding: 0 32px;
}
.qa__item + .qa__item { margin-top: 20px; }
.qa__item summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 64px 1fr 24px;
  align-items: center;
  min-height: 72px;
  padding: 14px 0;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.7;
}
.qa__item summary::-webkit-details-marker { display: none; }
.qa__q { font-family: "Montserrat", sans-serif; font-weight: 300; font-size: 32px; line-height: 1; color: var(--c-orange); }
.qa__icon {
  position: relative;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--c-orange);
  transition: background .3s;
}
.qa__icon::before, .qa__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 10px; height: 2px; border-radius: 1px;
  background: var(--c-white);
  transform: translate(-50%, -50%);
  transition: transform .3s;
}
.qa__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa__item[open] .qa__icon { background: #707070; }
.qa__item[open] .qa__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa__body { border-top: 1px solid var(--c-line); padding: 28px 0 32px 64px; }
.sec .qa__lead { font-size: 17px; font-weight: 700; color: var(--c-orange); letter-spacing: 0.05em; }
.qa__body p + p { margin-top: 12px; }
.qa__body p:not(.qa__lead) { font-size: 16px; line-height: 2.1; letter-spacing: 0.05em; }
.btn-pill {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 368px; height: 72px; border-radius: 999px;
  background: var(--c-orange); color: var(--c-white);
  font-size: 16px; font-weight: 700; letter-spacing: 0.1em;
  box-shadow: 0 6px 16px rgba(228, 80, 138, .25);
  transition: opacity .2s;
}
.btn-pill::after { content: "→"; position: absolute; right: 32px; font-size: 14px; }
.btn-pill:hover { opacity: .85; }

/* ---------- エントリー ---------- */
.entry-card { max-width: 920px; margin: 0 auto; background: var(--c-white); border-radius: 32px; padding: 64px 72px; }
.form { display: grid; gap: 24px; }
.form__row { display: grid; grid-template-columns: 220px 1fr; align-items: start; gap: 24px; }
.form__label { font-size: 15px; font-weight: 700; padding-top: 12px; letter-spacing: 0.05em; }
.form__label em { font-style: normal; font-size: 11px; color: var(--c-white); background: var(--c-orange); border-radius: 999px; padding: 2px 10px; margin-left: 8px; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
  width: 100%; font: inherit; font-size: 15px;
  padding: 14px 18px;
  border: 0; border-radius: 12px;
  background: var(--c-cream);
}
.form textarea { min-height: 160px; resize: vertical; }
.form__radios { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: 12px; font-size: 15px; }
.form__radios input { accent-color: var(--c-orange); }
.form__submit { text-align: center; margin-top: 24px; }
.anchor { position: absolute; top: 0; }
.form__dates { display: grid; gap: 10px; }
.date-card { display: block; cursor: pointer; }
.date-card input { position: absolute; opacity: 0; pointer-events: none; }
.date-card span { display: block; padding: 14px 18px; border-radius: 12px; background: var(--c-cream); border: 2px solid transparent; font-size: 15px; line-height: 1.7; transition: border-color .2s, background .2s; }
.date-card b { margin-right: 12px; }
.date-card input:checked + span { border-color: var(--c-orange); background: #fde4ee; }
.date-card input:focus-visible + span { outline: 2px solid var(--c-orange); outline-offset: 2px; }
.form__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form input[type="date"], .form select { width: 100%; font: inherit; font-size: 15px; padding: 14px 18px; border: 0; border-radius: 12px; background: var(--c-cream); color: var(--c-ink); }
.btn-send {
  display: inline-flex; align-items: center; justify-content: center;
  width: 240px; height: 64px; border: 0; border-radius: 999px;
  background: var(--c-orange); color: var(--c-white);
  font: inherit; font-size: 16px; font-weight: 700; letter-spacing: 0.15em;
  cursor: pointer; transition: opacity .2s;
}
.btn-send:hover { opacity: .85; }
.form__note { text-align: center; font-size: 13px; color: var(--c-sub); }

/* ---------- フッター ---------- */
.footer { background: var(--c-cream); padding: 96px 0 32px; border-top: 1px solid var(--c-line); }
.footer__inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; }
.footer__company { font-size: 14px; line-height: 2; color: var(--c-ink); }
.footer__company img { width: 72px; margin-bottom: 16px; }
.footer ul li + li { margin-top: 12px; }
.footer ul a { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; color: var(--c-ink); transition: color .2s; }
.footer ul a:hover { color: var(--c-orange); }
.footer__bottom { margin-top: 72px; text-align: center; font-family: "Montserrat", sans-serif; font-size: 12px; color: var(--c-sub); letter-spacing: 0.05em; }

/* 草案の注意書き（公開時は削除） */
.draft-note { background: var(--c-orange); color: var(--c-white); font-size: 12px; text-align: center; padding: 8px 20px; letter-spacing: 0.05em; }

/* ---------- スクロールでふわっと出る動き（全セクション共通） ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.js-reveal .reveal.is-show { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  .concept__em { clip-path: none; transition: none; }
}

/* =========================================================
   SP（767px以下）
   ========================================================= */
@media (max-width: 767px) {
  :root {
    --fs-body: 14px;
  }
  .header { padding: 0 12px; align-items: center; }
  .header.is-scrolled { height: var(--header-h); }
  .header.is-scrolled .logo__mark { width: 44px; }
  [id] { scroll-margin-top: 76px; }
  .logo { flex-direction: row; padding-top: 0; }
  .logo__mark { width: 44px; }
  .logo__label { display: none; }
  .hnav { height: auto; padding: 0; background: none; box-shadow: none; }
  .hnav ul, .pill--green { display: none; }
  .pill { width: 120px; height: 44px; font-size: var(--fs-small); }
  :root { --header-h: 68px; }
  .mv { height: calc(600px + var(--header-h)); }
  /* スマホは上下に分ける：上が海（左の絵）、下が街（右の絵） */
  .mv__bg--left, .mv__bg--right { width: 100%; left: 0; right: 0; }
  .mv__bg--left { clip-path: polygon(0 0, 100% 0, 100% calc(var(--header-h) + (100% - var(--header-h)) * .44), 0 calc(var(--header-h) + (100% - var(--header-h)) * .56)); }
  .mv__bg--left img { bottom: auto; height: calc(var(--header-h) + (100% - var(--header-h)) * .56); object-position: 25% 100%; }
  .mv__bg--right { top: calc(var(--header-h) + (100% - var(--header-h)) * .44); }
  .mv__bg--right img { object-position: 80% 100%; }
  .mv__catch { width: 96%; top: calc(var(--header-h) + (100% - var(--header-h)) * .5); }
  .mv::after { width: 110%; height: 40%; top: calc(var(--header-h) + (100% - var(--header-h)) * .5); }
  .concept { padding: 8px 0 80px; }
  .concept__ttl { font-size: 22px; letter-spacing: 0.08em; }
  .concept__body { margin-top: 32px; }
  .concept__body p { font-size: 15px; line-height: 2; letter-spacing: 0.04em; }
  .msg-link { margin-top: 40px; font-size: 15px; }
  .msg-link__icon { width: 40px; height: 40px; }
  /* スマホは長い行を文節のきりのいいところで折り返す（1文字だけ落ちるのを防ぐ） */
  .concept__body p { word-break: auto-phrase; }
  .concept__body p + p { margin-top: 24px; }
  .wrap { padding: 0 20px; }
  .sec { padding: 80px 0; }
  .sec + .sec { padding-top: 40px; }
  .sec-head { margin-bottom: 40px; }
  .sec-label { font-size: 26px; }
  .sec-ttl { font-size: 26px; }
  .sec-lead { font-size: 14px; line-height: 2; }
  .message, .training, .two { grid-template-columns: 1fr; gap: 40px; }
  .message__lead { font-size: 18px; }
  .btn-soft { min-width: 0; width: 100%; max-width: 320px; height: 58px; font-size: 15px; padding: 0 24px 0 28px; }
  /* スマホ：ドーナツのまわりの文字を小さくして残す（下の一覧は出さない） */
  .sched { width: 100vw; margin: -2% 0 -4% calc(50% - 50vw); }
  .sched__dots { display: none; }
  .sched__labels { position: absolute; inset: 0; margin: 0; padding: 0; transform: scale(.86); transform-origin: 50% 50%; }
  .sched__label time img { height: 14px; }
  .sched__label span img { height: 11px; margin-top: 1px; }
  .sched__tick { font-size: 30px; }
  .sched__list { display: none; }
  .story { grid-template-columns: 1fr; row-gap: 56px; }
  .story li:nth-child(even) { margin-top: 0; }
  .story__num { font-size: 48px; }
  .story__more { margin-top: 56px; }
  .training__en { font-size: 32px; }
  .nums { grid-template-columns: 1fr 1fr; gap: 16px; }
  .nums li { width: 150px; height: 150px; }
  .nums__num { font-size: 38px; }
  .nums__label { font-size: 11px; }
  .events li { padding: 24px; }
  .news li { grid-template-columns: 1fr; gap: 4px; }
          .flow2 { margin-top: 0; grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .flow-more { margin-top: 48px; }
  .flow2::before { display: none; }
  .flow2__circle { width: 140px; height: 140px; }
  .qa { margin-top: 80px; }
  .qa__item { padding: 0 18px; }
  .qa__item summary { grid-template-columns: 36px 1fr 24px; gap: 4px; font-size: 15px; }
  .qa__q { font-size: 24px; }
  .qa__body { padding: 20px 0 24px 0; }
  .sec .qa__lead { font-size: 15px; }
  .qa__item summary > span:nth-child(2) { word-break: auto-phrase; }
  .qa__body p:not(.qa__lead) { font-size: 14px; line-height: 2; }
  .btn-pill { width: 100%; max-width: 320px; height: 60px; font-size: 15px; }
  .entry-card { padding: 40px 20px; border-radius: var(--radius-card); }
  .form__row { grid-template-columns: 1fr; gap: 8px; }
  .form__label { padding-top: 0; }
  .form__pair { grid-template-columns: 1fr; }
  .date-card b { display: block; margin: 0; }
  .footer { padding-top: 64px; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ===== スマホ・タブレット（1419px以下）：ハンバーガーメニュー ===== */
.menu-btn, .hnav__tel, .hnav__sns { display: none; }
@media (max-width: 1419px) {
  .menu-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    position: relative; z-index: 120; width: 52px; height: 52px; margin-left: auto;
    border: 0; border-radius: 50%; background: var(--c-white); color: var(--c-orange); cursor: pointer;
    box-shadow: inset 0 0 0 2px var(--c-orange), 0 4px 14px rgba(0, 0, 0, .12);
  }
  .menu-btn span { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s, opacity .3s; }
  .menu-btn em { font-style: normal; font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 8px; letter-spacing: .12em; line-height: 1; margin-top: 1px; }
  .header.is-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header.is-open .menu-btn span:nth-child(2) { opacity: 0; }
  .header.is-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header.is-open .logo { position: relative; z-index: 120; }
  /* メニュー本体：全画面。上にエントリー2つを大きく、下にページ一覧 */
  .header .hnav, .header.is-scrolled .hnav {
    position: fixed; inset: 0; z-index: 110; height: 100dvh; padding: max(92px, calc(var(--header-h) + 24px)) 20px 32px;
    display: flex; flex-direction: column; align-items: stretch; gap: 24px; overflow-y: auto;
    background: var(--c-cream); border-radius: 0; box-shadow: none;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .header.is-open .hnav { opacity: 1; visibility: visible; }
  .header .hnav__btns { order: -1; display: grid; gap: 12px; margin: 0; }
  .header .hnav__btns .pill { display: flex; width: 100%; height: 60px; font-size: 16px; }
  .header .hnav ul { display: block; margin: 0; padding: 0; border-top: 1px solid var(--c-line); }
  .header .hnav li { border-bottom: 1px solid var(--c-line); }
  .header .hnav li a { display: flex; align-items: center; justify-content: space-between; padding: 18px 4px; font-size: 15px; color: var(--c-ink); }
  .header .hnav li a::after { content: ""; width: 7px; height: 7px; border-top: 2px solid var(--c-orange); border-right: 2px solid var(--c-orange); transform: rotate(45deg); }
  .hnav__tel { display: block; margin: 0; padding: 20px; border-radius: var(--radius-card); background: var(--c-white); text-align: center; font-size: 13px; color: var(--c-sub); }
  .hnav__tel a { display: block; margin: 4px 0 2px; font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 24px; letter-spacing: .04em; color: var(--c-orange); }
  .hnav__tel span { font-size: 12px; }
  .hnav__sns { display: flex; justify-content: center; gap: 28px; margin: 0; }
  .hnav__sns-link { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 12px; letter-spacing: .04em; color: var(--c-orange); }
  .hnav__sns-link svg { width: 30px; height: 30px; }
  body.is-menu-open { overflow: hidden; }
}

/* タブレット：メニューの中身は中央に560pxで */
@media (min-width: 768px) and (max-width: 1419px) {
  .header .hnav > *, .header .hnav > ul, .header .hnav > .hnav__btns { width: min(560px, 100%); margin-left: auto; margin-right: auto; }
  .menu-btn { width: 64px; height: 64px; margin-top: 12px; }
}

/* ===== スマホ：FVキャッチを見出しだけを画像で大きく（下の文章は出さない） ===== */
.mv__catch-ttl { display: none; }
@media (max-width: 767px) {
  .mv__catch .mv__catch-pc { display: none; }
  .mv__catch .mv__catch-ttl { display: block; width: 100%; margin: 0 auto; }
}

/* ===== フッター：オレンジ地に白文字 ===== */
.footer { background: var(--c-orange); border-top: 0; color: var(--c-white); }
.footer .footer__company { color: var(--c-white); }
.footer__company img { background: var(--c-white); border-radius: 16px; padding: 8px; box-sizing: content-box; }
.footer ul a { color: var(--c-white); }
.footer ul a:hover { color: var(--c-white); opacity: .7; }
.footer .footer__bottom { color: rgba(255, 255, 255, .85); }
.footer a { color: var(--c-white); }

/* 選んだ希望に合わせて出す行（会社説明会→日程、職場見学→希望日） */
.form__row[hidden] { display: none !important; }

/* ===== Instagram：右下に固定のバナー（MoneyForward参考） ===== */
.ig-float {
  position: fixed; right: 0; bottom: 24px; z-index: 90;
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px 12px;
  width: 300px; padding: 18px 20px 18px 22px; overflow: hidden;
  border-radius: 24px 0 0 24px; color: var(--c-white);
  background: linear-gradient(135deg, #f27aa8 0%, var(--c-orange) 55%, #cc3a74 100%);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .9), 0 8px 24px rgba(0, 0, 0, .15);
  transition: transform .25s;
}
.ig-float::before, .ig-float::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.ig-float::before { width: 140px; height: 140px; left: -40px; bottom: -70px; }
.ig-float::after { width: 90px; height: 90px; right: -20px; top: -30px; }
.ig-float { isolation: isolate; }
.ig-float:hover { transform: translateX(-6px); }
.ig-float__icon svg { display: block; width: 42px; height: 42px; }
.ig-float__txt img { display: block; width: auto; height: 20px; }
.ig-float__txt img + img { margin-top: 6px; }
.ig-float__btn {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: center;
  height: 42px; border-radius: 999px; background: var(--c-white); color: var(--c-orange);
  font-size: 14px; font-weight: 700; letter-spacing: .08em;
}
body.is-menu-open .ig-float { display: none; }
@media (max-width: 767px) {
  .ig-float { width: 200px; bottom: 16px; padding: 12px 12px 12px 14px; gap: 8px; border-radius: 18px 0 0 18px; }
  .ig-float__icon svg { width: 28px; height: 28px; }
  .ig-float__txt img { height: 13px; }
  .ig-float__txt img + img { margin-top: 4px; }
  .ig-float__btn { height: 32px; font-size: 12px; }
}
/* フッターのInstagramリンク */
.footer__ig { display: inline-flex; align-items: center; gap: 8px; margin: 16px 20px 0 0; font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 14px; letter-spacing: .06em; color: var(--c-white); }
.footer__ig svg { width: 28px; height: 28px; }
.footer__ig:hover { opacity: .75; }
.footer { padding-bottom: 140px; } /* 固定バナーと重ならないように */

/* スマホだけ読点のところで改行する */
.sp-br { display: none; }
@media (max-width: 767px) { .sp-br { display: inline; } }

/* スマホ：ロゴの横に会社名・事業所名（白い四角の上に） */
.logo__sp { display: none; }
@media (max-width: 767px) {
  .header .logo, .header.is-scrolled .logo { gap: 8px; padding: 5px 12px 5px 6px; background: var(--c-white); border-radius: 10px; box-shadow: 0 2px 10px rgba(0, 0, 0, .08); }
  .header .logo__mark, .header.is-scrolled .logo__mark { width: 36px; }
  .logo__sp { display: flex; flex-direction: column; gap: 1px; line-height: 1.3; text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .03em; color: var(--c-ink); white-space: nowrap; }
  .logo__sp small { font-size: 9px; font-weight: 500; letter-spacing: .05em; }
}

/* 代表メッセージ下のリンク2つ */
.msg-links { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 32px; }
.msg-links .msg-link { margin-top: 0; }

/* LINE公式ブランドアイコン（加工禁止・最小サイズ スマホ40px／PC20px） */
.footer__ig svg, .footer__ig .sns-line { width: 32px; height: 32px; }
.sns-line { display: block; flex-shrink: 0; }
.hnav__sns-link svg, .hnav__sns-link .sns-line { width: 40px; height: 40px; }
.footer__company .sns-line { background: none; padding: 0; border-radius: 0; margin: 0; box-sizing: border-box; }
@media (max-width: 767px) {
  .footer__ig svg, .footer__ig .sns-line { width: 40px; height: 40px; }
  .footer__ig { margin-right: 14px; gap: 6px; font-size: 13px; }
}

/* Instagram公式グリフ（フッター・バナーは白、メニューはグラデーション。加工なし） */
.ig-float__icon img { display: block; width: 42px; height: 42px; }
@media (max-width: 767px) { .ig-float__icon img { width: 30px; height: 30px; } }

/* =========================================================
   下層ページ用
   ========================================================= */
.page-hero { position: relative; padding: calc(var(--header-h) + 40px) 0 56px; text-align: center; overflow: hidden; }
.page-hero .sec-label { font-size: 34px; }
.page-ttl { margin-top: 4px; font-size: 40px; font-weight: 500; letter-spacing: 0.08em; line-height: 1.5; }
.page-lead { margin: 20px auto 0; max-width: 720px; font-size: 15px; line-height: 2.1; }
.crumb { margin-bottom: 24px; font-size: 12px; color: var(--c-sub); letter-spacing: 0.05em; }
.crumb a { color: var(--c-sub); text-decoration: underline; }
.page-body { padding: 24px 0 128px; overflow: hidden; }
.narrow { max-width: 880px; margin: 0 auto; }
.block + .block { margin-top: 96px; }
.block .block__ttl, .block__ttl { font-size: 26px; font-weight: 700; letter-spacing: 0.08em; line-height: 1.6; margin-bottom: 28px; }
.block__ttl small { display: block; font-family: "Caveat", cursive; font-weight: 700; font-size: 26px; color: var(--c-orange); letter-spacing: 0.04em; line-height: 1.2; }
.block > p { font-size: 16px; line-height: 2.2; letter-spacing: 0.05em; }
.block > p + p { margin-top: 20px; }
.white-card { background: var(--c-white); border-radius: var(--radius-card); padding: 40px 48px; }
.photo-ph { background: #f3e4ea; color: var(--c-sub); display: flex; align-items: center; justify-content: center; font-size: 14px; border-radius: var(--radius-card); }
.note-kari { margin-top: 12px; font-size: 12px; color: var(--c-sub); }
/* 2列カード */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid2 .white-card h3 { font-size: 19px; font-weight: 700; letter-spacing: 0.06em; margin-bottom: 10px; }
.grid2 .white-card h3 span { display: block; font-family: "Caveat", cursive; font-size: 26px; color: var(--c-orange); line-height: 1.1; }
.grid2 .white-card p { font-size: 15px; line-height: 2; }
/* 箇条書き（オレンジの点） */
.dots li { position: relative; padding: 14px 0 14px 24px; border-bottom: 1px solid var(--c-line); font-size: 16px; line-height: 1.8; }
.dots li:first-child { border-top: 1px solid var(--c-line); }
.dots li::before { content: ""; position: absolute; left: 4px; top: 27px; width: 8px; height: 8px; border-radius: 50%; background: var(--c-orange); }
/* 時系列（1日の流れ・研修ステップ） */
.tl li { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--c-line); }
.tl li:first-child { border-top: 1px solid var(--c-line); }
.tl b { font-family: "Caveat", cursive; font-weight: 700; font-size: 40px; line-height: 1; color: var(--c-orange); }
.tl h3 { font-size: 18px; font-weight: 700; letter-spacing: 0.06em; }
.tl p { margin-top: 6px; font-size: 15px; line-height: 2; }
/* 表（募集要項） */
.req { width: 100%; border-collapse: collapse; }
.req th, .req td { text-align: left; vertical-align: top; padding: 22px 0; border-bottom: 1px solid var(--c-line); font-size: 15px; line-height: 1.9; }
.req tr:last-child th, .req tr:last-child td { border-bottom: 0; }
.req th { width: 200px; font-weight: 700; letter-spacing: 0.06em; }
/* 代表メッセージ */
.msg-top { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.msg-top img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius-card); }
.msg-top__name { margin-top: 24px; font-size: 14px; }
.msg-top__name strong { display: block; font-size: 26px; font-weight: 500; letter-spacing: 0.1em; }
/* インタビュー記事 */
.iv-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
.iv-head .photo-ph { aspect-ratio: 550 / 714; }
.iv-num { font-family: "Montserrat", sans-serif; font-weight: 300; font-size: 80px; line-height: 1; }
.iv-catch { margin-top: 16px; font-size: 30px; font-weight: 500; line-height: 1.7; letter-spacing: 0.08em; }
.iv-prof { margin-top: 24px; font-size: 14px; line-height: 2; }
.block .iv-q { font-size: 20px; font-weight: 700; letter-spacing: 0.06em; line-height: 1.7; margin-bottom: 16px; padding-left: 20px; border-left: 4px solid var(--c-orange); }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 96px; }
/* ニュース */
.news-full article { padding: 32px 0; border-bottom: 1px solid var(--c-line); }
.news-full article:first-child { border-top: 1px solid var(--c-line); }
.news-full time { font-family: "Montserrat", sans-serif; font-size: 14px; font-weight: 600; color: var(--c-orange); }
.news-full h2 { margin: 8px 0 12px; font-size: 19px; font-weight: 700; letter-spacing: 0.05em; line-height: 1.7; }
.news-full p { font-size: 15px; line-height: 2; }
/* ページ下のエントリー誘導 */
.page-cta { background: var(--c-white); border-radius: 32px; padding: 64px 40px; text-align: center; }
.page-cta p { font-size: 15px; line-height: 2; margin-bottom: 32px; }
.page-cta .btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.btn-pill--line { background: var(--c-white); color: var(--c-orange); box-shadow: inset 0 0 0 2px var(--c-orange); }
@media (max-width: 767px) {
  .page-hero { padding: calc(var(--header-h) + 24px) 0 32px; }
  .page-hero .sec-label { font-size: 26px; }
  .page-ttl { font-size: 26px; }
  .page-lead { font-size: 14px; text-align: left; }
  .page-body { padding-bottom: 80px; }
  .block + .block { margin-top: 64px; }
  .block .block__ttl { font-size: 20px; }
  .block > p { font-size: 15px; line-height: 2; }
  .white-card { padding: 28px 20px; }
  .grid2, .msg-top, .iv-head { grid-template-columns: 1fr; gap: 24px; }
  .tl li { grid-template-columns: 72px 1fr; gap: 12px; padding: 20px 0; }
  .tl b { font-size: 28px; }
  .req th, .req td { display: block; width: auto; padding: 4px 0; border: 0; }
  .req th { padding-top: 18px; }
  .req td { padding-bottom: 18px; border-bottom: 1px solid var(--c-line); }
  .iv-num { font-size: 56px; }
  .iv-catch { font-size: 22px; }
  .block .iv-q { font-size: 17px; }
  .pager { flex-direction: column; align-items: center; margin-top: 64px; }
  .page-cta { padding: 40px 20px; border-radius: 24px; }
}

/* 代表メッセージ：理念・経営理念・お約束（既存HPの書の画像） */
.rinen__list { display: grid; gap: 32px; max-width: 820px; margin: 0 auto; }
.rinen__item { margin: 0; padding: 32px 40px 40px; background: var(--c-white); border-radius: var(--radius-card); text-align: center; }
.rinen__ttl { margin-bottom: 20px; font-size: 18px; font-weight: 700; letter-spacing: .1em; color: var(--c-ink); }
.rinen__ttl small { display: block; margin-bottom: 4px; font-family: "Caveat", cursive; font-size: 22px; font-weight: 700; letter-spacing: .02em; color: var(--c-orange); }
.rinen__item img { display: block; width: 100%; height: auto; margin: 0 auto; }
@media (max-width: 767px) {
  .rinen__list { gap: 20px; }
  .rinen__item { padding: 20px 14px 24px; }
  .rinen__ttl { font-size: 16px; margin-bottom: 12px; }
}
