/* 金色の手書き英字の字体（サイト内に保存して、iPhoneでも必ず表示されるようにする） */
@font-face { font-family: "Nothing You Could Do"; src: url(../fonts/nothing-you-could-do.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

/* =========================================================
   RISE CREATE 採用サイト
   色やフォントは :root の変数をまとめて変えられます
   ========================================================= */
:root {
  --navy: #082d50;
  --navy-deep: #061f37;
  --blue: #0875b6;
  --blue-soft: #2f8fd0;
  --gold: #d4aa59;
  --gold-deep: #b98a35;
  --gold-light: #f1d18a;
  --sky: #eaf4fb;
  --ink: #0b2a4a;
  --muted: #4c6377;
  --line: #d7e5f0;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 18px 50px -24px rgba(8, 45, 80, .35);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-h: 64px;
  --font-sans: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-display: "Yuji Syuku", "Noto Sans JP", serif;
  --font-hand: "Yuji Syuku", serif;
  --font-en: "Montserrat", "Noto Sans JP", sans-serif;
  --font-script: "Nothing You Could Do", cursive;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font-sans); font-size: 16px; line-height: 1.9; letter-spacing: .02em;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
/* 日本語の改行：文節の切れ目で折り返し、行末に1文字だけ残らないようにする */
p, li, dd, dt, h2, h3, h4 { line-break: strict; word-break: auto-phrase; text-wrap: pretty; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
svg { fill: currentColor; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }
.sp-only { display: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.container--narrow { width: min(760px, 100% - 40px); }

/* ---------- 共通パーツ ---------- */
.display { font-family: var(--font-display); font-weight: 400; color: var(--navy); line-height: 1.32; letter-spacing: .04em; position: relative; }
.display em { font-style: normal; color: var(--blue); }
.swoosh { display: block; width: min(100%, 420px); height: 18px; margin-top: 6px; overflow: visible; }
.swoosh path { fill: none; stroke: var(--blue); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 0; }
.swoosh--gold path { stroke: var(--gold); }
.eyebrow { font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: .26em; color: var(--gold-deep); }
.eyebrow--navy { color: var(--blue); }
.eyebrow--light { color: var(--gold-light); }
.section-title { font-size: clamp(30px, 4.2vw, 44px); font-weight: 900; color: var(--navy); letter-spacing: .08em; line-height: 1.35; margin: 6px 0 18px; }
.body-copy { font-size: clamp(15px, 1.3vw, 16px); font-weight: 500; color: var(--navy); line-height: 2.1; margin-top: 28px; }
/* 金色の手書き英字「More Growth. More Future.」（元デザインと同じく2行＋下線） */
.script { font-family: var(--font-script); font-weight: 400; color: #c99a3c; line-height: 1.25; transform: rotate(-12deg); transform-origin: left bottom; white-space: nowrap; }
.script__line { display: block; }
.script__line--2 { padding-left: 1.1em; }
.script__under { display: block; width: 92%; height: .55em; margin: -.05em 0 0 .7em; overflow: visible; }
.script__under path { fill: none; stroke: #c99a3c; stroke-width: 2.6; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 320; stroke-dashoffset: 0; }
.js .script__under path { stroke-dashoffset: 320; transition: stroke-dashoffset 1.4s var(--ease) 1.2s; }
.js .is-ready .hero .script__under path, .js .is-visible .script__under path { stroke-dashoffset: 0; }
.script-ja { font-family: var(--font-display); color: var(--blue); font-size: 17px; white-space: nowrap; line-height: 1.6; transform: rotate(-6deg); transform-origin: left; margin-top: 22px; display: inline-block; border-bottom: 2px solid var(--gold); padding-bottom: 4px; }
.script-ja--blue { color: var(--blue); }
.script-ja--gold { color: var(--gold-light); border-color: transparent; }

.btn {
  --btn-bg: var(--navy); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px; border-radius: 999px; border: 0;
  background: var(--btn-bg); color: var(--btn-fg); font: 700 15px/1 var(--font-en); letter-spacing: .14em;
  text-decoration: none; cursor: pointer; position: relative; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .3s;
  -webkit-tap-highlight-color: transparent;
}
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(8,45,80,.5); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.98); }
.btn__arrow { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--sm { min-height: 40px; padding: 0 20px; font-size: 13px; }
.btn--lg { min-height: 62px; padding: 0 48px; font-size: 17px; }
.btn--ghost { --btn-bg: rgba(255,255,255,.7); --btn-fg: var(--navy); box-shadow: inset 0 0 0 1.5px rgba(8,45,80,.25); backdrop-filter: blur(8px); font-family: var(--font-sans); letter-spacing: .06em; }
.btn--gold { --btn-bg: linear-gradient(135deg, #f4d68f, var(--gold) 55%, #c4943f); background: var(--btn-bg); --btn-fg: var(--navy); }
.btn--gold:hover { box-shadow: 0 18px 40px -12px rgba(212,170,89,.75); }

/* 手書き見出し（元デザインの文字をなぞったSVG）：左から書かれるように表示 */
.title-img { margin: 0; line-height: 0; }
.title-img img { width: 100%; height: auto; }
.hero__title { width: min(100%, 600px); margin-top: 6px; margin-left: -10px; }
.concept__title { width: min(100%, 540px); margin-left: -8px; }
.earnings__title { width: min(100%, 600px); margin-left: -10px; }

/* 丸バッジ（高収入・未経験OK など） */
.badges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.badge {
  aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: 0 10px 30px -14px rgba(8,45,80,.35);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 8px; color: var(--navy);
}
.badge svg { width: 30px; height: 30px; color: var(--navy); margin-bottom: 4px; }
.badge strong { font-size: 14px; font-weight: 900; line-height: 1.3; letter-spacing: .02em; }
.badge small { font-size: 10px; font-weight: 500; line-height: 1.4; color: var(--muted); margin-top: 2px; white-space: nowrap; letter-spacing: -.03em; }
.badge small::before { content: "（"; } .badge small::after { content: "）"; }

/* ---------- 左に文字・右に写真のレイアウト（ヒーロー等で共通） ---------- */
.split {
  display: grid; position: relative;
  grid-template-columns: minmax(0, 600px) minmax(0, 1fr);
  grid-template-areas: "text visual" "extras visual";
  grid-template-rows: auto 1fr;
  padding-left: max(24px, calc((100% - 1200px) / 2));
  column-gap: 8px;
  overflow: hidden;
}
.split__text { grid-area: text; position: relative; z-index: 2; align-self: end; padding: 72px 0 0; }
.split__extras { grid-area: extras; position: relative; z-index: 2; padding: 36px 0 72px; }
.split__visual { grid-area: visual; position: relative; margin-left: -140px; overflow: hidden; }
.split__visual .media { height: 100%; }
.split__visual img {
  width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26%);
  mask-image: linear-gradient(90deg, transparent 0, #000 26%);
}

/* ---------- ヘッダー ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(255,255,255,.72); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s; }
.site-header.is-scrolled { border-color: rgba(8,45,80,.1); background: rgba(255,255,255,.86); }
.site-header__inner { height: 100%; width: min(1200px, 100% - 40px); margin-inline: auto; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand__mark { font: italic 800 30px/1 var(--font-en); letter-spacing: -.04em; color: var(--navy); transform: skewX(-6deg); }
.brand__name { font: 700 17px/1 var(--font-en); letter-spacing: .16em; display: flex; flex-direction: column; gap: 5px; }
.brand__name small { font-size: 9px; letter-spacing: .3em; opacity: .8; }
.brand--light, .brand--light .brand__mark { color: #fff; }
/* 正式ロゴ（元画像からなぞったSVG。正式データが届いたら images/logo.svg を差し替え） */
.brand__logo { display: block; height: 26px; width: auto; }
.brand__logo--footer { height: 84px; }
.brand--light { flex-direction: column; align-items: flex-start; gap: 8px; }
.brand__sub { font: 600 10px/1 var(--font-en); letter-spacing: .32em; color: rgba(255,255,255,.75); }
.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: 26px; }
.gnav a { font-size: 13px; font-weight: 700; text-decoration: none; color: var(--navy); letter-spacing: .06em; position: relative; padding: 6px 0; }
.gnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.gnav a:hover::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; }

/* ---------- ① ヒーロー ---------- */
.hero {
  min-height: calc(100svh - var(--header-h));
  background:
    radial-gradient(60% 50% at 18% 40%, rgba(255,255,255,.95), rgba(255,255,255,0) 70%),
    linear-gradient(180deg, #a7d0ef 0%, #d7eaf8 38%, #f3f8fc 72%, #ffffff 100%);
  overflow: hidden;
}
.hero__label { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--navy); background: rgba(255,255,255,.75); padding: 6px 8px 6px 14px; border-radius: 999px; letter-spacing: .06em; }
.hero__label span { background: var(--navy); color: #fff; font-size: 11px; padding: 3px 10px; border-radius: 999px; }
.hero__tagline { margin-top: 22px; font-size: 14px; font-weight: 700; letter-spacing: .14em; color: var(--navy); }
.hero__title .swoosh { width: min(100%, 460px); margin-top: 2px; }
.hero__lead { margin-top: 26px; font-size: clamp(15px, 1.35vw, 17px); font-weight: 700; color: var(--navy); line-height: 2; }
.hero__visual { margin-left: -130px; }
.hero__visual img { object-position: 40% 50%; }
.hero__script { position: absolute; right: 7%; top: 7%; font-size: clamp(24px, 2.5vw, 38px); }
.hero__ribbon {
  position: absolute; right: 0; bottom: 0; width: 52%; height: 27%;
  clip-path: polygon(10% 100%, 100% 0, 100% 100%);
  background: linear-gradient(160deg, #1d7bc7, #0b4f97 60%, #083d7a);
  color: #fff; text-decoration: none; font-family: var(--font-display); font-size: clamp(13px, 1.15vw, 17px); line-height: 1.5;
  display: flex; align-items: flex-end; justify-content: flex-end; text-align: left; padding: 0 5% 5% 0;
  transition: filter .4s;
}
.hero__ribbon::before { content: ""; position: absolute; inset: 0; clip-path: polygon(10% 100%, 100% 0, 100% 7%, 16% 100%); background: rgba(255,255,255,.25); }
.hero__ribbon svg { width: 18px; height: 18px; display: inline-block; vertical-align: -3px; margin-left: 8px; }
.hero__ribbon:hover { filter: brightness(1.12); }
.hero .badges { max-width: 420px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- ② コンセプト ---------- */
.concept { background: linear-gradient(180deg, #ffffff 0%, #eef6fc 60%, #ffffff 100%); }
.concept__visual { min-height: 560px; }
.concept__visual img { object-position: 50% 30%; }
.concept__script { position: absolute; right: 6%; top: 6%; font-size: clamp(26px, 2.8vw, 42px); }
/* 仮写真では人物の顔に重なるため非表示。写真B（空の余白あり）が届いたらこの行を削除 */
.concept__script { display: none; }
.concept .badges { max-width: 580px; }
.concept .badge strong { font-size: 12.5px; letter-spacing: 0; }

/* ---------- ③ 代表者メッセージ ---------- */
.message { position: relative; padding: clamp(90px, 12vw, 160px) 20px; overflow: hidden; isolation: isolate; }
.message__sky {
  position: absolute; inset: -12% 0; z-index: -1;
  /* 写真Cが届いたら次の1行を有効にして差し替え：
     background: url(../images/sky.jpg) center/cover no-repeat; */
  background:
    radial-gradient(38% 22% at 18% 22%, rgba(255,255,255,.95), rgba(255,255,255,0) 70%),
    radial-gradient(30% 16% at 30% 30%, rgba(255,255,255,.8), rgba(255,255,255,0) 70%),
    radial-gradient(34% 18% at 82% 64%, rgba(255,255,255,.9), rgba(255,255,255,0) 70%),
    radial-gradient(26% 14% at 70% 72%, rgba(255,255,255,.75), rgba(255,255,255,0) 70%),
    radial-gradient(40% 20% at 50% 98%, rgba(255,255,255,.85), rgba(255,255,255,0) 70%),
    linear-gradient(180deg, #2f86d6 0%, #5aa6e6 35%, #9cccf2 70%, #d9edfb 100%);
}
/* 代表者メッセージ：桑山さんの手紙の画像 */
.message__letter { max-width: 640px; margin: 0 auto; border-radius: 26px; overflow: hidden; box-shadow: 0 40px 90px -40px rgba(8,45,80,.6); border: 1px solid rgba(255,255,255,.8); }
.message__letter img { width: 100%; height: auto; }
.message__zoom { display: block; cursor: zoom-in; }
.message__hint { display: none; text-align: center; font-size: 13px; font-weight: 700; color: var(--navy); margin-top: 14px; }
.message__card {
  max-width: 800px; margin-inline: auto; padding: clamp(36px, 6vw, 72px) clamp(24px, 6vw, 80px);
  background: rgba(255,255,255,.68); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255,255,255,.9); border-radius: 28px; box-shadow: 0 30px 80px -40px rgba(8,45,80,.55);
  text-align: center;
}
.message__title { font-size: clamp(26px, 3.4vw, 36px); font-weight: 900; color: var(--navy); letter-spacing: .12em; margin: 10px 0 34px; }
/* 代表者メッセージ：達筆な筆文字（本文・結び：Yuji Syuku／署名の名前：Yuji Mai） */
.hand { font-family: "Yuji Syuku", "Noto Serif JP", serif; font-weight: 400; }
.message__body { text-align: left; color: #0a2547; font-size: clamp(17px, 1.75vw, 19.5px); line-height: 2.2; letter-spacing: .06em; }
.message__body p + p { margin-top: 1.3em; }
.message__key { font-size: 1.12em; color: #0a2547; padding: 18px 0 0; line-height: 2.1; -webkit-text-stroke: .25px currentColor; }
.message__statement { text-align: center; color: #0a2547; font-size: clamp(26px, 3.9vw, 42px); line-height: 1.6; letter-spacing: .08em; -webkit-text-stroke: .7px currentColor; margin-top: 1.4em !important; position: relative; padding-bottom: 14px; }
.message__statement::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 120px; height: 2px; background: var(--gold); transform: translateX(-50%); }
.sig-org { font-size: .9em; letter-spacing: .08em; white-space: nowrap; }
.sig-name { font-family: "Yuji Mai", "Yuji Syuku", serif; font-size: 1.75em; display: inline-block; margin-left: .3em; letter-spacing: .06em; white-space: nowrap; }
.message__signature { text-align: right; font-size: 1.05em; margin-top: 2em !important; }

/* ---------- ④ 報酬例 ---------- */
.earnings { background: linear-gradient(180deg, #ffffff 0%, #f2f8fd 40%, #ffffff 100%); padding-bottom: clamp(70px, 9vw, 120px); }
.earnings__top { background: linear-gradient(180deg, #b6daf3 0%, #e5f2fb 55%, rgba(255,255,255,0) 100%); grid-template-areas: "text visual"; grid-template-rows: auto; }
.earnings__top .split__text { align-self: center; padding: 72px 0; }
.earnings__top .split__visual { min-height: 520px; }
.earnings__top .split__visual img { object-position: 40% 20%; }
.earnings__script { position: absolute; right: 6%; top: 8%; font-size: clamp(22px, 2.3vw, 36px); }
.earnings__grid { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 34px 26px; align-items: stretch; margin-top: 16px; }
.perks { grid-column: 1 / -1; }
.perks ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 28px; }
.perks li + li { border-top: 0; }
.earnings__intro { font-size: 15px; font-weight: 500; color: var(--navy); line-height: 1.9; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px 18px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; overflow: hidden; isolation: isolate;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.plan::before {
  content: ""; position: absolute; right: -6px; top: 72px; width: 46%; height: 34%; z-index: -1; opacity: .95;
  background: url(../images/van-temp.webp) center/cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%);
}
.plan:hover { transform: translateY(-6px); box-shadow: 0 28px 60px -28px rgba(8,45,80,.45); }
.plan__name { align-self: flex-start; background: linear-gradient(180deg, #144b8c, var(--navy)); color: #fff; font-weight: 900; font-size: 16px; letter-spacing: .1em; padding: 6px 22px; border-radius: 10px 10px 10px 0; }
.plan__for { font-size: 13px; font-weight: 700; color: var(--navy); margin-top: 10px; }
.plan__chip { align-self: flex-start; margin-top: 18px; font-size: 13px; font-weight: 700; color: var(--navy); border: 1.5px solid #9cc0de; border-radius: 999px; padding: 2px 14px; background: rgba(255,255,255,.85); }
.plan__amount { margin-top: 6px; font-size: 20px; font-weight: 900; color: var(--navy); white-space: nowrap; letter-spacing: 0; }
.plan__amount b {
  font: italic 800 clamp(44px, 4.2vw, 60px)/1 var(--font-en); letter-spacing: -.02em; padding-right: 4px; font-variant-numeric: tabular-nums; display: inline-block; min-width: 1.25em; text-align: right;
  background: linear-gradient(180deg, #f6dc97 0%, #d7a542 45%, #a87a26 70%, #e7c26c 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 rgba(120,80,20,.18));
}
.plan__note { margin-top: auto; padding-top: 14px; font-size: 11px; color: var(--muted); line-height: 1.6; }
.perks { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 30px 18px 14px; box-shadow: var(--shadow); }
.perks__label { position: absolute; top: -14px; left: 18px; background: linear-gradient(180deg, #f8e3b0, var(--gold-light)); color: var(--navy); font-size: 13px; font-weight: 900; padding: 3px 14px; border-radius: 8px; }
.perks li { display: flex; gap: 14px; align-items: center; padding: 12px 0; font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.6; }
.perks li span { flex: 1; min-width: 0; }
.perks li + li { border-top: 1px solid var(--line); }
.perks svg { flex: 0 0 40px; width: 40px; height: 40px; color: var(--navy); }
.perks small { font-weight: 500; font-size: 12px; white-space: nowrap; }

/* ---------- ⑤ 1日の流れ ---------- */
.flow { padding: clamp(80px, 10vw, 130px) 0; background: linear-gradient(180deg, #f1f7fc, #ffffff); }
.flow__head { display: flex; justify-content: space-between; gap: 40px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 48px; }
.flow__head > div:first-child { font-size: 15px; font-weight: 500; color: var(--navy); }
.flow__side { max-width: 340px; }
.checks { margin-top: 14px; }
.checks li { display: flex; gap: 10px; align-items: center; font-weight: 700; color: var(--navy); font-size: 15px; padding: 3px 0; }
.checks svg { width: 20px; height: 20px; color: var(--blue); }
.steps { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; padding-top: 30px; }
/* 工程をつなぐライン（スクロールで伸びる） */
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--blue), var(--gold)); transform-origin: left; transform: scaleX(1); transition: transform 1.8s var(--ease) .2s; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px 10px 18px; box-shadow: var(--shadow); }
.step::before { content: ""; position: absolute; top: -30px; left: 22px; width: 17px; height: 17px; border-radius: 50%; background: #fff; border: 4px solid var(--blue); box-shadow: 0 0 0 5px rgba(8,117,182,.12); }
.step:not(:last-child)::after { content: ""; position: absolute; right: -13px; top: 50%; width: 10px; height: 10px; border-top: 2.5px solid var(--navy); border-right: 2.5px solid var(--navy); transform: rotate(45deg); opacity: .6; }
.step__img { border-radius: 10px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--sky); }
.step__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.step:hover .step__img img { transform: scale(1.06); }
.step__time { display: flex; align-items: center; gap: 6px; margin-top: 14px; padding: 0 4px; font: 700 15px/1.3 var(--font-en); color: var(--navy); letter-spacing: .02em; }
.step__time svg { width: 20px; height: 20px; color: var(--blue); flex: none; }
.step__title { font-size: 16px; font-weight: 900; color: var(--navy); margin-top: 8px; padding: 0 4px; letter-spacing: .04em; line-height: 1.5; }
.step__text { font-size: 12.5px; color: var(--muted); line-height: 1.75; margin-top: 6px; padding: 0 4px; }
.step--break { border-color: #f0dcae; }
.step--break::before { border-color: var(--gold); }
.flow__note { margin-top: 26px; font-size: 12px; color: var(--muted); text-align: right; }

/* ---------- ⑥ 募集要項 ---------- */
.requirements { padding: clamp(80px, 10vw, 120px) 0; }
.req-list { border-top: 2px solid var(--navy); margin-top: 10px; }
.req-list > div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 20px 4px; border-bottom: 1px solid var(--line); }
.req-list dt { font-weight: 900; color: var(--navy); letter-spacing: .08em; }
.req-list dd { font-weight: 500; color: var(--ink); }
.req-list small { color: var(--muted); font-size: 12.5px; }
/* 勤務エリア */
.areas { margin-top: 56px; }
.areas__title { font-size: clamp(22px, 2.6vw, 28px); font-weight: 900; color: var(--navy); letter-spacing: .08em; }
.areas__lead { color: var(--muted); font-size: 15px; margin-top: 6px; }
.areas__group { margin-top: 28px; }
.areas__pref { display: inline-block; font-size: 15px; font-weight: 900; color: #fff; background: var(--navy); padding: 4px 16px; border-radius: 999px; letter-spacing: .1em; }
.area-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.area { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; box-shadow: 0 10px 30px -22px rgba(8,45,80,.4); }
.area--urgent { border-color: #f0c96f; background: linear-gradient(180deg, #fffaf0, #fff); }
.area__name { font-weight: 900; color: var(--navy); font-size: 16px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.area__tag { font-size: 11px; font-weight: 900; color: #fff; background: #d0342c; padding: 2px 9px; border-radius: 6px; letter-spacing: .06em; }
.area__tag--soon { background: var(--blue); }
.area__cities { font-size: 13.5px; color: var(--muted); line-height: 1.8; margin-top: 4px; }
.areas__note { margin-top: 18px; font-size: 12.5px; color: var(--muted); }

/* ---------- ⑦ 最終CTA ---------- */
.cta { position: relative; display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; isolation: isolate; padding: clamp(70px, 8vw, 110px) 20px; }
.cta__bg {
  position: absolute; inset: -40px; z-index: -1; transform: scale(1.1); transition: transform 2.4s var(--ease);
  /* 後ろの背景：同じ画像を大きくぼかして、横長の画面でも空いた場所ができないようにする */
  background: linear-gradient(180deg, rgba(6,31,55,.25), rgba(6,31,55,.55)), url(../images/cta.webp) center 30% / cover no-repeat;
  filter: blur(28px) saturate(1.1);
}
.cta.is-visible .cta__bg { transform: scale(1); }
.cta__poster { display: block; width: min(100%, 560px); margin: 0 auto; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 100px -30px rgba(0,0,0,.55); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.cta__poster img { width: 100%; height: auto; }
.cta__poster:hover { transform: translateY(-6px); box-shadow: 0 50px 110px -30px rgba(0,0,0,.6), 0 0 0 3px rgba(241,209,138,.7); }
.cta__inner { max-width: 1040px; }
.cta__title { font-size: clamp(32px, 4.6vw, 62px); font-weight: 900; letter-spacing: .08em; line-height: 1.35; margin-top: 16px; text-shadow: 0 4px 30px rgba(0,0,0,.25); }
.cta__sub { margin-top: 22px; font-size: clamp(15px, 1.6vw, 18px); font-weight: 500; line-height: 2; opacity: .95; }
.cta__btn { margin-top: 44px; min-width: 260px; }

/* ---------- ⑧ フォーム ---------- */
.apply { padding: clamp(80px, 10vw, 120px) 0; background: linear-gradient(180deg, #f3f8fc, #fff); }
.apply__lead { color: var(--muted); font-size: 15px; margin-bottom: 30px; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 5vw, 48px); box-shadow: var(--shadow); }
.field { margin-bottom: 22px; border: 0; padding: 0; min-width: 0; }
.field > label, .field legend { display: block; font-weight: 700; color: var(--navy); font-size: 15px; margin-bottom: 8px; padding: 0; }
.req-mark, .opt-mark { display: inline-block; font-size: 11px; font-weight: 700; line-height: 1; padding: 4px 7px; border-radius: 4px; margin-left: 6px; vertical-align: 2px; letter-spacing: .04em; }
.req-mark { background: #c4302b; color: #fff; }
.opt-mark { background: #e5edf3; color: var(--muted); }
.apply__lead .req-mark { margin-left: 0; }
.form input[type=text], .form input[type=tel], .form input[type=email], .form input[type=number], .form textarea {
  width: 100%; font: 500 16px/1.6 var(--font-sans); color: var(--ink); padding: 13px 15px; border: 1.5px solid #c3d4e1; border-radius: 12px; background: #fbfdff;
  transition: border-color .2s, box-shadow .2s, background-color .2s; -webkit-appearance: none; appearance: none;
}
.form textarea { resize: vertical; min-height: 130px; }
.form ::placeholder { color: #9fb0bf; opacity: 1; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(8,117,182,.15); background: #fff; }
.form [aria-invalid=true] { border-color: #c4302b !important; background: #fff8f7 !important; }
.field__error { color: #c4302b; font-size: 13px; font-weight: 700; margin-top: 6px; min-height: 0; }
.field__error:empty { display: none; }
.field-row { display: grid; grid-template-columns: 1fr 1.6fr; gap: 16px; }
.input-suffix { display: flex; align-items: center; gap: 8px; }
.input-suffix span { font-weight: 700; color: var(--navy); }
.choices { display: flex; gap: 12px; }
.choice { flex: 1; max-width: 180px; position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; justify-content: center; min-height: 50px; border: 1.5px solid #c3d4e1; border-radius: 12px; font-weight: 700; color: var(--navy); transition: all .2s; }
.choice input:checked + span { border-color: var(--blue); background: #eaf4fb; box-shadow: inset 0 0 0 1px var(--blue); }
.choice input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: center; font-weight: 700; color: var(--navy); cursor: pointer; padding: 14px 16px; background: var(--sky); border-radius: 12px; }
.consent input { width: 22px; height: 22px; accent-color: var(--blue); flex: none; }
.consent a { color: var(--blue); }
.hp { position: absolute !important; left: -9999px !important; }
.form__alert { background: #fff1f0; border: 1px solid #f0b4b0; color: #a02622; border-radius: 12px; padding: 14px 16px; font-weight: 700; font-size: 14px; margin-bottom: 18px; }
.form__submit { width: 100%; margin-top: 8px; font-family: var(--font-sans); letter-spacing: .08em; }
.form__submit[disabled] { opacity: .65; cursor: progress; transform: none; }
.form-done { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 56px 24px; box-shadow: var(--shadow); }
.form-done svg { width: 64px; height: 64px; color: #fff; background: var(--blue); border-radius: 50%; padding: 14px; }
.form-done h3 { font-size: 24px; color: var(--navy); margin: 18px 0 10px; }
.form-done p { color: var(--muted); }

/* ---------- フッター ---------- */
.site-footer { background: var(--navy-deep); color: #dce7ee; padding: 56px 0 40px; }
.site-footer__inner { display: grid; grid-template-columns: auto 1fr; gap: 20px 40px; align-items: center; }
.site-footer__script { justify-self: end; font-size: 22px; margin: 0; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 13px; }
.site-footer__links a { text-decoration: none; opacity: .85; }
.site-footer__links a:hover { opacity: 1; text-decoration: underline; }
.site-footer__copy { justify-self: end; font-size: 12px; opacity: .7; }

/* =========================================================
   アニメーション
   ・JSが動くとき（html.js）だけ最初に隠す
   ・画面に入ると .is-visible が付いて表示される
   ========================================================= */
.js [data-reveal] {
  opacity: 0;
  transition: opacity 1.1s var(--ease), transform 1.2s var(--ease), filter 1.2s var(--ease);
  transition-delay: calc(var(--i, 0) * 120ms + var(--d, 0ms));
  will-change: opacity, transform;
}
.js [data-reveal="up"] { transform: translate3d(0, 48px, 0); }
.js [data-reveal="zoom"] { transform: scale(.88); }
.js [data-reveal="fade"] { filter: blur(6px); }
.js .split__visual[data-reveal="fade"] { transform: scale(1.04); filter: none; transition-duration: 1.6s; }
.js [data-reveal].is-visible { opacity: 1; transform: none; filter: none; }

/* 見出し下の線が描かれる */
.js .swoosh path { stroke-dashoffset: 420; transition: stroke-dashoffset 1.6s var(--ease) .5s; }
.js .is-visible .swoosh path, .js .is-ready .hero .swoosh path { stroke-dashoffset: 0; }

/* 手書き見出し：左から右へ書かれていくように表示 */
.js .title-img img { clip-path: inset(-10% 100% -10% 0); transition: clip-path 1.9s cubic-bezier(.65, 0, .35, 1) .25s; }
.js .title-img.is-visible img, .js .is-ready .hero__title img { clip-path: inset(-10% 0 -10% 0); }
.js .title-img[data-reveal="up"] { transform: translate3d(0, 20px, 0); }

/* ファーストビュー：順番にふわっと表示 */
.js [data-hero] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 1.2s var(--ease), transform 1.3s var(--ease); transition-delay: calc(var(--n, 0) * 180ms + 200ms); }
.js .hero__visual[data-hero] { transform: none; transition-duration: 1.8s; transition-delay: 0s; }
.js .hero__visual img { transform: scale(1.1); transition: transform 3.2s var(--ease); }
.js .is-ready [data-hero] { opacity: 1; transform: none; }
.js .is-ready .hero__visual img { transform: scale(1); }
.js .hero__ribbon { clip-path: polygon(100% 100%, 100% 100%, 100% 100%); transition: clip-path 1.2s var(--ease) 1.1s, filter .4s; }
.js .is-ready .hero__ribbon { clip-path: polygon(10% 100%, 100% 0, 100% 100%); }

/* 1日の流れ：ラインが左から伸びる */
.js .steps::before { transform: scaleX(0); }
.js .steps.is-visible::before { transform: scaleX(1); }

/* パララックス用 */
[data-parallax] { will-change: transform; }

/* 動きを減らす設定の人には動きを止める */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js [data-hero], .js .hero__visual img, .js .title-img img, .js .hero__ribbon, .js .script__under path, .js .steps::before, .js .swoosh path, .cta__bg {
    opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; transition: none !important; stroke-dashoffset: 0 !important;
  }
  .js .hero__ribbon { clip-path: polygon(10% 100%, 100% 0, 100% 100%) !important; }
  [data-parallax] { transform: none !important; }
  .btn, .btn::after, .plan, .step__img img { transition: none !important; }
}

/* =========================================================
   タブレット
   ========================================================= */
@media (max-width: 1100px) {
  .gnav ul { gap: 18px; }
  .earnings__grid { grid-template-columns: 1fr; }
  .plan__amount b { font-size: 46px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 50px; }
  .steps::before { display: none; }
  .step:nth-child(3n)::after { display: none; }
}

/* =========================================================
   スマートフォン（PC版を縮小するのではなく縦に並べ替え）
   ========================================================= */
@media (max-width: 860px) {
  :root { --header-h: 58px; }
  .pc-only { display: none; }
  .sp-only { display: inline; }
  .container { width: calc(100% - 32px); }
  .container--narrow { width: calc(100% - 32px); }

  /* メニュー */
  .header-entry { margin-left: auto; }
  .menu-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 7px; width: 44px; height: 44px; padding: 0 11px; border: 0; background: transparent; cursor: pointer; }
  .menu-toggle__bar { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .4s var(--ease); }
  .menu-open .menu-toggle__bar:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-open .menu-toggle__bar:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }
  .gnav { position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); padding: 8px 16px 20px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), transform .45s var(--ease), visibility .35s; }
  .menu-open .gnav { opacity: 1; transform: none; visibility: visible; }
  .gnav ul { flex-direction: column; gap: 0; }
  .gnav li + li { border-top: 1px solid var(--line); }
  .gnav a { display: block; padding: 16px 4px; font-size: 16px; }
  .gnav a::after { display: none; }
  .site-header__inner { gap: 6px; width: calc(100% - 24px); }
  .brand__logo { height: 22px; }
  .brand__logo--footer { height: 76px; }

  /* 左右レイアウト → 縦並び */
  .split { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "visual" "extras"; grid-template-rows: auto; padding-left: 0; }
  .hero__title, .concept__title, .earnings__title { width: 100%; margin-left: -6px; }
  .body-copy { font-size: 14px; line-height: 2; }
  .split__text { padding: 44px 20px 0; align-self: start; }
  .split__extras { padding: 26px 20px 56px; }
  .split__visual { margin: 18px 0 0 !important; min-height: 0 !important; }
  .split__visual img { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%); mask-image: linear-gradient(180deg, transparent 0, #000 16%); }
  .hero { min-height: 0; }
  .hero__visual { aspect-ratio: 654 / 550; }
  .hero__ribbon { font-size: 12px; width: 78%; height: 32%; padding: 0 4% 4% 0; }
  .hero__ribbon svg { width: 14px; height: 14px; margin-left: 4px; }
  .hero__script { font-size: 22px; right: 7%; top: 9%; }
  .hero__lead { font-size: 14.5px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .concept__visual { aspect-ratio: 447 / 360; }
  .earnings__top .split__text { padding: 44px 20px 0; }
  .earnings__top .split__visual { aspect-ratio: 3 / 2; }
  .earnings__top { grid-template-areas: "text" "visual"; }
  .concept__script, .earnings__script { font-size: 21px; }

  .badges, .hero .badges { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 360px !important; margin-inline: auto; }
  .badge { aspect-ratio: auto; border-radius: 16px; flex-direction: row; justify-content: flex-start; gap: 10px; padding: 12px 12px; text-align: left; align-items: center; display: grid; grid-template-columns: 30px 1fr; grid-template-rows: auto auto; column-gap: 10px; }
  .badge svg { grid-row: 1 / 3; margin: 0; width: 28px; height: 28px; }
  .badge strong { font-size: 14px; }
  .badge small { font-size: 11px; margin: 0; }

  .message { padding: 80px 14px; }
  .message__card { border-radius: 22px; padding: 40px 22px; }
  .message__body { font-size: 17px; line-height: 2.1; letter-spacing: .03em; }
  /* 署名は携帯では「RISE CREATE　代表」と「桑山洋輔」の2行に固定 */
  .sig-org { letter-spacing: .04em; }
  .sig-name { display: block; margin: 4px 0 0; line-height: 1.5; }

  .earnings__grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .plan__amount b { font-size: 50px; }
  .perks ul { grid-template-columns: 1fr; }
  .perks li + li { border-top: 1px solid var(--line); }

  .flow__head { margin-bottom: 30px; }
  /* 1日の流れ：縦のタイムライン */
  .steps { grid-template-columns: 1fr; gap: 16px; padding: 0 0 0 30px; }
  .steps::before { display: block; left: 8px; right: auto; top: 8px; bottom: 8px; width: 3px; height: auto; background: linear-gradient(180deg, var(--blue), var(--gold)); transform-origin: top; }
  .js .steps::before { transform: scaleY(0); }
  .js .steps.is-visible::before { transform: scaleY(1); }
  .step { display: grid; grid-template-columns: 112px 1fr; grid-template-rows: auto auto 1fr; column-gap: 14px; padding: 10px; }
  .step__img { grid-row: 1 / 4; align-self: start; }
  .step__time { margin-top: 2px; padding: 0; }
  .step__title { margin-top: 2px; padding: 0; }
  .step__text { padding: 0; }
  .step::before { left: -30px; top: 18px; }
  .step:not(:last-child)::after { display: none; }
  .flow__note { text-align: left; }

  .req-list > div { grid-template-columns: 1fr; gap: 4px; padding: 16px 4px; }
  .area-list { grid-template-columns: 1fr; }

  .cta { padding: 0; }
  .cta__poster { width: 100%; border-radius: 0; box-shadow: none; }
  .cta__poster:hover { transform: none; }
  .message { padding: 56px 12px; }
  .message__letter { border-radius: 18px; }
  .message__hint { display: block; }
  .cta__btn { width: 100%; max-width: 340px; }

  .field-row { grid-template-columns: 1fr; gap: 0; }
  .choice { max-width: none; }

  .site-footer__inner { grid-template-columns: 1fr; text-align: left; }
  .site-footer__script, .site-footer__copy { justify-self: start; }
}

@media (max-width: 340px) {
  .header-entry { padding: 0 14px; }
  .site-header .brand__logo { height: 18px; }
}
