:root {
  --navy: #123f72;
  --blue: #1958a5;
  --sky: #1991d5;
  --orange: #e66c00;
  --coral: #cf4673;
  --blush: #fff1f5;
  --ink: #24313d;
  --muted: #617180;
  --line: #dce5ec;
  --soft: #f3f7fa;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.8;
  background: var(--white);
}

a { color: inherit; }

h1, h2, h3 { word-break: normal; overflow-wrap: anywhere; }
.lp-line { display: block; white-space: normal; }

.lp-variant-switcher { position: sticky; top: 74px; z-index: 45; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 16px; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.lp-variant-switcher span { margin-right: 8px; color: var(--muted); font-size: 11px; font-weight: 800; }
.lp-variant-switcher button { padding: 5px 13px; color: var(--navy); font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; background: var(--white); border: 1px solid var(--line); border-radius: 99px; }
.lp-variant-switcher button:hover, .lp-variant-switcher button:focus { color: var(--white); background: var(--blue); border-color: var(--blue); }
.lp-variant-switcher .lp-theme-status { min-width: 4em; margin: 0 0 0 2px; color: var(--navy); font-size: 10px; }

.lp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 10px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(18, 63, 114, 0.12);
  backdrop-filter: blur(10px);
}

.lp-brand img { display: block; width: 174px; height: auto; }

.lp-nav { display: flex; align-items: center; gap: 28px; }
.lp-nav a { font-size: 14px; font-weight: 700; text-decoration: none; }
.lp-nav a:hover, .lp-nav a:focus { color: var(--blue); }
.lp-nav .lp-nav__entry { padding: 10px 18px; color: var(--white); background: var(--blue); border-radius: 4px; }
.lp-nav .lp-nav__entry:hover, .lp-nav .lp-nav__entry:focus { color: var(--white); background: var(--navy); }

.lp-hero {
  position: relative;
  display: grid;
  min-height: min(720px, calc(100vh - 74px));
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background: url('../img/Recruit_home.gif') center / cover no-repeat;
}

.lp-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 31, 58, .92) 0%, rgba(18, 63, 114, .76) 52%, rgba(18, 63, 114, .28) 100%); }
.lp-hero__content { position: relative; width: min(1120px, calc(100% - 40px)); padding: 70px 0 110px; }
.lp-eyebrow, .lp-section-label { display: flex; align-items: center; gap: 9px; margin: 0 0 12px; color: var(--sky); font-size: 12px; font-weight: 800; letter-spacing: .2em; }
.lp-eyebrow::before, .lp-section-label::before { width: 26px; height: 3px; content: ""; background: var(--coral); border-radius: 99px; }
.lp-hero h1 { margin: 0; font-size: clamp(42px, 7vw, 80px); line-height: 1.22; letter-spacing: .02em; }
.lp-hero__lead { max-width: 720px; margin: 28px 0 0; font-size: clamp(16px, 2vw, 21px); line-height: 1.9; }
.lp-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.lp-hero__status { position: absolute; right: clamp(20px, 5vw, 72px); bottom: 24px; display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: rgba(255,255,255,.94); border-radius: 4px; color: var(--navy); }
.lp-hero__status span { font-size: 12px; }
.lp-hero__status strong { color: var(--orange); }

.lp-btn { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 13px 24px; font-weight: 800; text-decoration: none; border: 2px solid transparent; border-radius: 4px; transition: .2s ease; }
.lp-btn--primary { color: var(--white); background: var(--orange); }
.lp-btn--primary:hover, .lp-btn--primary:focus { background: #bc5700; transform: translateY(-2px); }
.lp-btn--ghost { color: var(--white); border-color: rgba(255,255,255,.7); }
.lp-btn--ghost:hover, .lp-btn--ghost:focus { background: rgba(255,255,255,.14); }
.lp-btn--white { color: var(--blue); background: var(--white); }
.lp-btn--white:hover, .lp-btn--white:focus { color: var(--navy); transform: translateY(-2px); }

.lp-container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.lp-section { padding: clamp(72px, 9vw, 118px) 0; }
.lp-section h2 { margin: 0 0 30px; color: var(--navy); font-size: clamp(30px, 4vw, 48px); line-height: 1.45; }
.lp-section-lead { margin: -16px 0 36px; color: var(--muted); }
.lp-section--blue { position: relative; color: var(--white); background: linear-gradient(135deg, #123f72 0%, #195b91 100%); overflow: hidden; }
.lp-section--blue::before { position: absolute; top: -120px; right: -80px; width: 310px; height: 310px; content: ""; background: rgba(255,255,255,.055); border-radius: 50%; }
.lp-section--blue .lp-container { position: relative; }
.lp-section--blue h2 { color: var(--white); }
.lp-section--soft { background: linear-gradient(160deg, var(--soft) 0%, #fff7f9 100%); }
.lp-section-label--light { color: #b8e3ff; }
.lp-section-label--light::before { background: #f294b2; }

.lp-intro__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 8vw, 110px); align-items: start; }
.lp-intro h2 { font-size: clamp(30px, 3.7vw, 44px); }
.lp-intro__copy { color: var(--muted); font-size: 17px; }
.lp-intro__copy p:first-child { margin-top: 0; }

.lp-photo { position: relative; margin-top: clamp(42px, 6vw, 76px); }
.lp-photo::before { position: absolute; top: -14px; right: -14px; width: 38%; height: 70%; content: ""; background: linear-gradient(135deg, #dff1fc, var(--blush)); border-radius: 18px; }
.lp-photo img { position: relative; display: block; width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 16px; box-shadow: 0 22px 55px rgba(18, 63, 114, .16); }
.lp-photo figcaption { position: relative; width: min(720px, calc(100% - 48px)); margin: -38px 0 0 24px; padding: 18px 24px; color: var(--navy); font-weight: 800; background: rgba(255,255,255,.96); border-left: 4px solid var(--coral); border-radius: 0 10px 10px 0; box-shadow: 0 10px 30px rgba(18,63,114,.13); }

.lp-role-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.lp-role-card { position: relative; padding: clamp(28px, 4vw, 46px); color: var(--ink); background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: 0 12px 30px rgba(5,35,65,.12); }
.lp-role-card__number { position: absolute; top: 12px; right: 20px; margin: 0; color: rgba(25, 88, 165, .1); font-size: 72px; font-weight: 900; line-height: 1; }
.lp-role-card h3 { position: relative; margin: 0; color: var(--navy); font-size: 26px; }
.lp-role-card__en { margin: 4px 0 22px; color: var(--sky); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.lp-role-card ul { margin: 22px 0 0; padding: 16px 0 0; list-style: none; border-top: 1px solid var(--line); }
.lp-role-card li { display: inline-block; margin: 4px 4px 0 0; padding: 3px 9px; color: var(--blue); font-size: 12px; background: #edf6fc; border-radius: 3px; }

.lp-work-visual { position: relative; margin: 34px 0 0; overflow: hidden; background: #071f3a; border-radius: 16px; }
.lp-work-visual::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(7,31,58,.12), rgba(7,31,58,.88)); pointer-events: none; }
.lp-work-visual img { display: block; width: 100%; aspect-ratio: 16 / 6; object-fit: cover; opacity: .88; }
.lp-work-visual figcaption { position: absolute; z-index: 1; top: 50%; right: clamp(24px, 5vw, 64px); width: min(470px, 48%); transform: translateY(-50%); }
.lp-work-visual figcaption span, .lp-work-visual figcaption strong { display: block; }
.lp-work-visual figcaption span { color: #8dd1ff; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.lp-work-visual figcaption strong { margin-top: 9px; color: var(--white); font-size: clamp(20px, 2.6vw, 30px); line-height: 1.55; }

.lp-culture { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); margin-bottom: 42px; overflow: hidden; background: linear-gradient(135deg, #f3f8fb, var(--blush)); border: 1px solid #e8edf1; border-radius: 16px; box-shadow: 0 18px 44px rgba(18,63,114,.1); }
.lp-culture img { display: block; width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.lp-culture__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 48px); }
.lp-culture__en { margin: 0 0 12px; color: #c1255a; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.lp-culture__copy h3 { margin: 0 0 18px; color: var(--navy); font-size: clamp(22px, 2.3vw, 29px); line-height: 1.55; }
.lp-culture__copy h3 .lp-line { white-space: nowrap; }
.lp-culture__copy > p:last-child { margin: 0; color: var(--muted); font-size: 14px; }

.lp-point-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.lp-point-card { padding: 28px 24px; background: linear-gradient(150deg, #fff 70%, #f8fbfd); border: 1px solid var(--line); border-top: 4px solid var(--sky); border-radius: 12px; box-shadow: 0 8px 22px rgba(18,63,114,.055); }
.lp-point-card:nth-child(2), .lp-point-card:nth-child(4) { border-top-color: #e57b9d; }
.lp-point-card__icon { display: grid; width: 42px; height: 42px; margin-bottom: 20px; place-items: center; color: var(--white); font-size: 22px; font-weight: 800; background: var(--blue); border-radius: 50%; }
.lp-point-card h3 { margin: 0 0 10px; color: var(--navy); font-size: 18px; }
.lp-point-card p { margin: 0; color: var(--muted); font-size: 14px; }

.lp-requirements { overflow: hidden; background: var(--white); border-top: 3px solid var(--blue); border-radius: 0 0 14px 14px; box-shadow: 0 14px 38px rgba(18, 63, 114, .08); }
.lp-requirements dl { display: grid; grid-template-columns: 210px 1fr; margin: 0; border-bottom: 1px solid var(--line); }
.lp-requirements dt, .lp-requirements dd { margin: 0; padding: 22px 26px; }
.lp-requirements dt { color: var(--navy); font-weight: 800; background: #eaf2f8; }
.lp-person { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 32px; }
.lp-person > div { padding: 28px; background: var(--white); border-radius: 14px; box-shadow: 0 8px 22px rgba(18,63,114,.05); }
.lp-person h3 { margin: 0 0 14px; color: var(--navy); }
.lp-person ul { margin: 0; padding-left: 1.3em; }

.lp-process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.lp-process li { position: relative; padding: 30px; background: #f8fbfd; border: 1px solid var(--line); border-radius: 12px; }
.lp-process li + li { border-left: 1px solid var(--line); }
.lp-process span { display: block; color: var(--sky); font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.lp-process strong { display: block; margin: 7px 0 10px; color: var(--navy); font-size: 21px; }
.lp-process p { margin: 0; color: var(--muted); font-size: 14px; }

.lp-entry { padding: clamp(80px, 10vw, 130px) 0; color: var(--white); text-align: center; background: linear-gradient(135deg, var(--navy), var(--blue)); }
.lp-entry h2 { margin: 0 0 18px; font-size: clamp(32px, 5vw, 54px); line-height: 1.4; }
.lp-entry__inner > p:not(.lp-section-label):not(.lp-entry__note) { margin-bottom: 30px; }
.lp-entry__guide { width: min(680px, 100%); margin: 0 auto 30px; padding: 18px 22px; line-height: 1.8; text-align: left; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28); border-radius: 10px; }
.lp-entry__note { margin: 14px 0 0; font-size: 12px; opacity: .78; }

.lp-footer { display: flex; justify-content: space-between; gap: 20px; padding: 28px clamp(20px, 5vw, 72px); color: #d7e2ec; font-size: 12px; background: #0b2b4d; }
.lp-footer a { color: var(--white); font-weight: 800; text-decoration: none; }
.lp-footer p { margin: 0; }

@media (max-width: 900px) {
  .lp-nav a:not(.lp-nav__entry) { display: none; }
  .lp-intro__grid, .lp-role-grid, .lp-point-grid, .lp-person { grid-template-columns: 1fr 1fr; }
  .lp-intro__grid { gap: 30px; }
  .lp-point-grid { gap: 12px; }
  .lp-culture { grid-template-columns: 1.15fr .85fr; }
}

@media (max-width: 640px) {
  .lp-variant-switcher { top: 64px; justify-content: flex-start; overflow-x: auto; }
  .lp-variant-switcher span { display: none; }
  .lp-variant-switcher a { flex: 0 0 auto; }
  .lp-header { min-height: 64px; padding: 8px 16px; }
  .lp-brand img { width: 140px; }
  .lp-nav .lp-nav__entry { padding: 8px 12px; font-size: 12px; }
  .lp-hero { min-height: 660px; background-position: 62% center; }
  .lp-hero__shade { background: linear-gradient(180deg, rgba(7,31,58,.72), rgba(7,31,58,.94)); }
  .lp-hero__content { width: calc(100% - 32px); padding: 64px 0 120px; }
  .lp-hero h1 { font-size: 38px; }
  .lp-hero__lead br { display: none; }
  .lp-hero__actions { display: grid; }
  .lp-btn { width: 100%; text-align: center; }
  .lp-hero__status { right: 16px; bottom: 18px; left: 16px; justify-content: center; }
  .lp-container { width: calc(100% - 32px); }
  .lp-section { padding: 68px 0; }
  .lp-intro__grid, .lp-role-grid, .lp-point-grid, .lp-person, .lp-process { grid-template-columns: 1fr; }
  .lp-section h2 { font-size: 31px; }
  .lp-intro__copy { font-size: 15px; }
  .lp-photo { width: 100%; margin-top: 40px; }
  .lp-photo::before { display: none; }
  .lp-photo img { aspect-ratio: 4 / 3; border-radius: 0; }
  .lp-photo figcaption { width: calc(100% - 32px); margin: -24px 16px 0; padding: 15px 17px; font-size: 14px; }
  .lp-work-visual { margin-top: 22px; }
  .lp-work-visual::after { background: linear-gradient(0deg, rgba(7,31,58,.96), rgba(7,31,58,.18)); }
  .lp-work-visual img { aspect-ratio: 4 / 5; object-position: 55% center; }
  .lp-work-visual figcaption { top: auto; right: 20px; bottom: 22px; left: 20px; width: auto; transform: none; }
  .lp-work-visual figcaption strong { font-size: 20px; }
  .lp-culture { grid-template-columns: 1fr; margin-bottom: 28px; }
  .lp-culture img { height: auto; min-height: 0; aspect-ratio: 3 / 2; }
  .lp-culture__copy { padding: 24px 20px 28px; }
  .lp-culture__copy h3 { font-size: 23px; }
  .lp-entry__guide { padding: 16px; font-size: 14px; }
  .lp-requirements dl { display: block; }
  .lp-requirements dt, .lp-requirements dd { padding: 15px 17px; }
  .lp-requirements dt { border-bottom: 1px solid var(--line); }
  .lp-process li + li { border: 1px solid var(--line); }
  .lp-footer { display: block; text-align: center; }
  .lp-footer p { margin-top: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
