@charset "UTF-8";
/* ==========================================================================
   KANAME CONSTRUCTION — Recruit Page  (style.css → sub.css の後に読み込む)
   --------------------------------------------------------------------------
   01. Hero additions / Message
   02. Numbers
   03. Jobs
   04. Interview (cards / modal content)
   05. A Day
   06. Career (stairs) / Training
   07. Benefits
   08. Requirements / Selection flow
   09. Entry
   10. Responsive
   ========================================================================== */

/* ---------- 01. Hero / Message ---------- */
.phero__entry { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 28px; }
.phero__entry .btn, .phero__entry .textlink { margin-top: 0; }

.rmsg { padding: var(--section-space) 0; }
.rmsg__grid { display: grid; grid-template-columns: 7fr 5fr; gap: 40px 7vw; align-items: center; }
.rmsg__text { margin-top: 36px; }
.rmsg__text p { line-height: 2.3; }
.rmsg__text p + p { margin-top: 1.5em; }
.rmsg__sign { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line-strong); font-family: var(--f-serif); font-weight: 600; font-size: 18px; letter-spacing: .12em; color: var(--navy-2); }
.rmsg__sign span { display: block; font-family: var(--f-mono); font-weight: 400; font-size: 11px; letter-spacing: .04em; color: var(--black); opacity: .55; }

/* ---------- 02. Numbers ---------- */
.rnums .sec-head__text { opacity: .85; }
.rnums .nums { margin-top: 0; grid-template-columns: repeat(4, 1fr); }
.rnums .num { padding-bottom: 36px; }
.rnums .num:nth-child(5) { padding-left: 0; border-left: 0; }
.rnums .num:nth-child(n+5) { border-top: 1px solid var(--line-w); }
.rnums .num:nth-child(5) { --d: 0s; } .rnums .num:nth-child(6) { --d: .08s; } .rnums .num:nth-child(7) { --d: .16s; } .rnums .num:nth-child(8) { --d: .24s; }
.rnums .num__val { margin-top: 28px; font-size: clamp(44px, 4.6vw, 80px); }

/* ---------- 03. Jobs ---------- */
.jobs { padding: var(--section-space) 0; }
.jlist { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.4vw, 20px); }
.job a { position: relative; display: flex; flex-direction: column; height: 100%; padding: clamp(22px, 2.4vw, 34px); border: 1px solid var(--line); border-radius: 14px; background: var(--white); overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), border-color .4s; }
.job a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad); clip-path: inset(100% 0 0 0); transition: clip-path .6s var(--ease); }
.jlist[data-anim="stagger"] > .job { transition: opacity 1s var(--ease), transform 1s var(--ease); }
.job__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-family: var(--f-mono); font-size: 11px; color: var(--red); transition: color .4s, border-color .4s; }
.job__head svg { width: 40px; height: 40px; color: var(--blue); transition: color .4s, transform .7s var(--ease); }
.job__ttl { margin-top: 26px; font-family: var(--f-serif); font-weight: 600; font-size: clamp(20px, 1.8vw, 25px); line-height: 1.45; }
.job__ttl .en { display: block; margin-bottom: 8px; font-family: var(--f-en); font-stretch: 112%; font-weight: 800; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; opacity: .7; }
.job__txt { margin-top: 12px; font-size: 13px; line-height: 2; opacity: .8; }
.job__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.job__tags li { padding: 1px 10px; border: 1px solid currentColor; border-radius: 999px; font-size: 11px; line-height: 1.9; opacity: .75; }
.job__more { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 24px; font-weight: 700; font-size: 13px; }
.job__more svg { width: 36px; height: 36px; padding: 9px; border: 1px solid currentColor; border-radius: 50%; transition: transform .6s var(--ease), background-color .4s, border-color .4s, color .4s; }
.job--cta a { border-style: dashed; border-color: var(--blue); background: var(--blue-pale); }
@media (hover: hover) {
  .job a:hover { color: var(--white); border-color: transparent; }
  .job a:hover::before { clip-path: inset(0); }
  .job a:hover .job__head { color: var(--red-l); border-color: var(--line-w); }
  .job a:hover .job__head svg { color: var(--white); transform: rotate(-8deg) scale(1.08); }
  .job a:hover .job__more svg { background: var(--red); border-color: var(--red); transform: rotate(-45deg); }
}

/* ---------- 04. Interview ---------- */
.itv { padding: var(--section-space) 0; background: var(--blue-pale); }
.ilist { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 36px); }
.icard:nth-child(2) { margin-top: clamp(0px, 5vw, 80px); }
.icard__img { position: relative; aspect-ratio: 4 / 5; border-radius: 14px; }
.icard__img::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(0deg, rgba(10, 30, 54, .55), transparent); pointer-events: none; }
.icard__no { position: absolute; left: 18px; bottom: 14px; z-index: 1; color: var(--white); font-family: var(--f-en); font-stretch: 125%; font-weight: 800; font-size: 64px; line-height: 1; letter-spacing: -.03em; }
.icard__quote { margin-top: 22px; font-family: var(--f-serif); font-weight: 600; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.65; letter-spacing: .04em;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .8s var(--ease), color .4s; display: inline; }
.icard a:hover .icard__quote { color: var(--blue); }
.icard__meta { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-strong); font-size: 12px; line-height: 1.7; }
.icard__meta b { display: block; font-family: var(--f-serif); font-size: 18px; letter-spacing: .16em; }
.icard__meta span { opacity: .7; }
.itv .img-note { margin-top: clamp(28px, 3vw, 40px); }

/* modal content */
.iv__hero { display: grid; grid-template-columns: 5fr 7fr; background: var(--grad); color: var(--white); }
.iv__img { position: relative; min-height: 380px; }
.iv__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.iv__intro { display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(28px, 4vw, 60px); padding-right: clamp(60px, 6vw, 80px); }
.iv__no { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; }
.iv__no::before { content: ""; display: inline-block; width: 28px; height: 2px; margin: -3px 12px 0 0; background: var(--white); vertical-align: middle; }
.iv__quote { margin-top: 20px; font-family: var(--f-serif); font-weight: 600; font-size: clamp(24px, 2.8vw, 40px); line-height: 1.55; letter-spacing: .04em; }
.iv__quote span { display: inline-block; }
.iv__name { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line-w); font-size: 12px; line-height: 1.8; }
.iv__name b { display: block; font-family: var(--f-serif); font-size: 22px; letter-spacing: .2em; }
.iv__body { max-width: 820px; margin: 0 auto; padding: clamp(32px, 4vw, 64px) clamp(24px, 4vw, 56px) clamp(40px, 5vw, 72px); }
.iv__body h3 { display: flex; align-items: baseline; gap: 14px; font-family: var(--f-serif); font-weight: 600; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.6; }
.iv__body h3:not(:first-child) { margin-top: 40px; }
.iv__body h3 span { flex-shrink: 0; color: var(--red); font-family: var(--f-mono); font-weight: 500; font-size: 12px; }
.iv__body p { margin-top: 12px; font-size: 14.5px; line-height: 2.2; }

/* ---------- 05. A Day ---------- */
.day { padding: var(--section-space) 0; background: radial-gradient(ellipse at top right, rgba(43, 145, 235, .46), transparent 62%), linear-gradient(135deg, #0e2d56, #104c89); }
.day .sec-head__text { opacity: .85; }
.clock { position: relative; display: grid; grid-template-columns: repeat(8, 1fr); gap: 0; }
.clock::before { content: ""; position: absolute; left: 0; right: 0; top: 52px; height: 1px; background: var(--line-w); }
.clock li { position: relative; padding: 0 14px 0 0; }
.clock time { display: block; font-family: var(--f-en); font-stretch: 125%; font-weight: 800; font-size: clamp(20px, 1.9vw, 28px); line-height: 1; letter-spacing: -.02em; }
.clock li::before { content: ""; position: absolute; left: 0; top: 46px; width: 13px; height: 13px; border: 2px solid var(--white); border-radius: 50%; background: #0f3a6c; transition: background-color .4s, transform .5s var(--ease); }
.clock li:hover::before { background: var(--red); border-color: var(--red); transform: scale(1.3); }
.clock h3 { margin-top: 50px; font-size: 14px; font-weight: 700; line-height: 1.5; }
.clock p { margin-top: 8px; font-size: 12px; line-height: 1.8; opacity: .8; }

/* ---------- 06. Career ---------- */
.career { padding: var(--section-space) 0; }
.stairs { display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; gap: 0; min-height: 520px; border-bottom: 1px solid var(--line-strong); }
.stairs li { --u: 96px; position: relative; display: flex; flex-direction: column; justify-content: flex-end; }
.stairs li::after { /* step block */ content: ""; display: block; height: calc(var(--h) * var(--u)); background: linear-gradient(180deg, var(--blue-pale), rgba(232, 244, 253, .3)); border-top: 4px solid var(--blue);
  transform: scaleY(0); transform-origin: bottom; transition: transform 1.2s var(--ease-io); transition-delay: calc(var(--h) * .15s); }
.stairs li:last-child::after { border-top-color: var(--red); }
.stairs.is-in li::after { transform: none; }
.stairs__card { padding: 0 18px 18px; opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--h) * .15s + .5s); }
.stairs.is-in .stairs__card { opacity: 1; transform: none; }
.stairs__yr { font-size: 13px; font-weight: 700; }
.stairs__yr b { margin-right: 4px; color: var(--blue); font-family: var(--f-en); font-stretch: 125%; font-weight: 800; font-size: clamp(44px, 4.4vw, 68px); line-height: 1; letter-spacing: -.03em; }
.stairs li:last-child .stairs__yr b { color: var(--red); }
.stairs h3 { margin-top: 10px; font-family: var(--f-serif); font-weight: 600; font-size: 19px; line-height: 1.5; }
.stairs__card p:not(.stairs__yr) { margin-top: 6px; font-size: 12.5px; line-height: 1.85; opacity: .75; }
.stairs__lic { display: inline-block; margin-top: 12px; padding: 2px 10px; border-radius: 4px; background: var(--navy); color: var(--white); font-size: 11px; line-height: 1.8; }
.train { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.2vw, 18px); margin-top: clamp(28px, 3.4vw, 48px); }
.train li { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-radius: 12px; background: var(--blue-pale); }
.train b { font-size: 15px; }
.train b::before { content: ""; display: inline-block; width: 8px; height: 8px; margin: 0 10px 2px 0; border-radius: 50%; background: var(--red); }
.train span { font-size: 12.5px; line-height: 1.85; opacity: .75; }

/* ---------- 07. Benefits ---------- */
.bene { padding: var(--section-space) 0; background: var(--blue-pale); }
.bene .cells { background: var(--white); }

/* ---------- 08. Requirements ---------- */
.req { padding: var(--section-space) 0; }
.req__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; margin-bottom: clamp(24px, 3vw, 40px); }
.req__panel[hidden] { display: none; }
.sel { margin-top: clamp(48px, 6vw, 88px); padding: clamp(22px, 3vw, 40px); border: 1px solid var(--line); border-radius: 14px; background: var(--blue-pale); }
.sel__head { display: flex; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line-strong); font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; }
.sel__head span:last-child { font-family: var(--f-sans); opacity: .65; }
.sel__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 24px; counter-reset: s; }
.sel__list li { position: relative; padding: 18px 18px 20px; border-radius: 10px; background: var(--white); box-shadow: 0 6px 16px rgba(18, 105, 207, .06); }
.sel__list li:not(:last-child)::after { content: ""; position: absolute; right: -9px; top: 50%; z-index: 1; width: 8px; height: 14px; margin-top: -7px; background: var(--blue); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.sel__list li:last-child { background: var(--red); color: var(--white); }
.sel__list b { font-family: var(--f-en); font-stretch: 125%; font-weight: 800; font-size: 26px; line-height: 1; color: var(--blue); }
.sel__list li:last-child b { color: var(--white); }
.sel__list h3 { margin-top: 12px; font-size: 14px; line-height: 1.5; }
.sel__list p { margin-top: 2px; font-size: 11.5px; opacity: .7; }

/* ---------- 09. Entry ---------- */
.entry { padding: var(--section-join) 0 var(--section-space); }
.entry__box { position: relative; padding: clamp(32px, 5vw, 80px); border-radius: 22px; background: linear-gradient(130deg, #e2334f 0%, #c8203e 55%, #a5172f 100%); color: var(--white); overflow: hidden; isolation: isolate;
  box-shadow: 0 30px 60px -30px rgba(165, 23, 47, .7); }
.entry__box::before { content: ""; position: absolute; inset: 0 0 0 40%; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.1) 0 1px, transparent 1px 40px), repeating-linear-gradient(0deg, rgba(255,255,255,.1) 0 1px, transparent 1px 40px);
  mask-image: radial-gradient(ellipse at right, #000 10%, transparent 72%); }
.entry__word { position: absolute; right: -.04em; bottom: -.2em; z-index: -1; font-family: var(--f-en); font-stretch: 125%; font-weight: 800; font-size: clamp(120px, 18vw, 300px); line-height: 1; letter-spacing: -.04em; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .35); }
.entry .label__en::before { background: var(--white); }
.entry__ttl { margin-top: 26px; font-family: var(--f-serif); font-weight: 600; font-size: clamp(30px, 3.8vw, 56px); line-height: 1.45; letter-spacing: .04em; }
.entry__ttl span { display: inline-block; }
.entry__txt { max-width: 38em; margin-top: 18px; font-size: 14px; line-height: 2.1; opacity: .92; }
.entry__btns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 36px; max-width: 980px; }
.entry__btn { position: relative; display: grid; grid-template-columns: 1fr 44px; grid-template-areas: "s ic" "t ic"; align-items: center; gap: 0 12px; padding: 18px 18px 18px 24px; border-radius: 12px; background: var(--white); color: var(--red);
  box-shadow: 0 12px 24px rgba(90, 10, 25, .25); transition: translate .45s var(--ease), background-color .4s, color .4s; }
.entry__btn small { grid-area: s; font-family: var(--f-mono); font-size: 11px; opacity: .75; }
.entry__btn span { grid-area: t; font-weight: 700; font-size: 16px; line-height: 1.5; color: var(--black); transition: color .4s; }
.entry__btn svg { grid-area: ic; width: 44px; height: 44px; padding: 12px; border-radius: 50%; background: var(--red); color: var(--white); transition: transform .6s var(--ease), background-color .4s, color .4s; }
.entry__btn--ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); }
.entry__btn--ghost span { color: var(--white); }
.entry__btn--ghost svg { background: var(--white); color: var(--red); }
@media (hover: hover) {
  .entry__btn:hover { translate: 0 -4px; background: var(--navy); color: var(--red-l); }
  .entry__btn:hover span { color: var(--white); }
  .entry__btn:hover svg { background: var(--white); color: var(--navy); transform: rotate(-45deg); }
}
.entry__tel { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 28px; font-family: var(--f-en); font-weight: 700; font-size: 15px; }
.entry__tel > svg { width: 20px; height: 20px; }
.entry__tel span { font-family: var(--f-sans); font-weight: 400; font-size: 12px; opacity: .85; }
.entry__tel a { display: inline-flex; align-items: center; gap: 8px; margin-left: 8px; font-family: var(--f-mono); font-weight: 400; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,.6); }
.entry__tel a svg { width: 18px; height: 18px; }

/* ---------- 10. Responsive ---------- */
@media (max-width: 1180px) {
  .jlist { grid-template-columns: 1fr 1fr; }
  .clock { grid-template-columns: repeat(4, 1fr); row-gap: 44px; }
  .clock::before { display: none; }
  .clock li { padding-top: 0; border-top: 1px solid var(--line-w); }
  .clock li::before { top: -7px; }
  .clock time { margin-top: 22px; }
  .clock h3 { margin-top: 12px; }
  .train { grid-template-columns: 1fr 1fr; }
  .sel__list { grid-template-columns: repeat(3, 1fr); }
  .sel__list li::after { display: none; }
  .entry__btns { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .rmsg__grid { grid-template-columns: 1fr; }
  .rmsg__visual { max-width: 480px; }
  .rnums .nums { grid-template-columns: 1fr 1fr; }
  .rnums .num:nth-child(odd) { padding-left: 0; border-left: 0; }
  .rnums .num:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line-w); }
  .rnums .num:nth-child(n+3) { margin-top: 0; border-top: 1px solid var(--line-w); }
  .ilist { grid-template-columns: 1fr 1fr; }
  .icard:nth-child(2) { margin-top: 0; }
  .iv__hero { grid-template-columns: 1fr; }
  .iv__img { min-height: 0; aspect-ratio: 16 / 10; }
  .stairs { min-height: 0; grid-template-columns: 1fr 1fr; row-gap: 24px; border-bottom: 0; }
  .stairs li { --u: 22px; }
}
@media (max-width: 640px) {
  .jlist, .ilist { grid-template-columns: 1fr; }
  .rnums .num { padding-bottom: 24px; }
  .rnums .num:nth-child(even) { padding-left: 14px; }
  .rnums .num__val { font-size: 10vw; }
  .clock { grid-template-columns: 1fr; row-gap: 0; padding-left: 22px; }
  .clock li { display: grid; grid-template-columns: 70px 1fr; column-gap: 12px; padding: 16px 0; border-top: 0; border-left: 1px solid var(--line-w); padding-left: 20px; }
  .clock li::before { left: -7px; top: 20px; }
  .clock time { grid-row: 1 / 3; margin-top: 2px; font-size: 20px; }
  .clock h3 { margin-top: 0; }
  .clock p { margin-top: 2px; }
  .stairs { grid-template-columns: 1fr; }
  .stairs li { flex-direction: row; align-items: stretch; }
  .stairs li::after { order: -1; width: calc(var(--h) * 14px); height: auto; flex-shrink: 0; border-top: 0; border-left: 4px solid var(--blue); transform: scaleX(0); transform-origin: left; }
  .stairs li:last-child::after { border-left-color: var(--red); }
  .stairs__card { padding: 4px 0 4px 16px; }
  .stairs__yr b { font-size: 40px; }
  .train { grid-template-columns: 1fr; }
  .sel__list { grid-template-columns: 1fr 1fr; }
  .sel__list li:last-child { grid-column: 1 / -1; }
  .entry__btns { grid-template-columns: 1fr; }
  .entry__ttl { font-size: 7.4vw; }
  .entry__tel a { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .stairs li::after { transform: none; }
  .stairs__card { opacity: 1; transform: none; }
}
