/* Recruit page styles – themed to match provided mock, no external images used */

/* ---------- HERO ---------- */
.recruit-hero { position: relative; overflow: hidden; min-height: 800px;
  background-image: url('../images/recruitkv_pc.jpg'), linear-gradient(180deg, #f5f8fd 0%, #ffffff 100%);
  background-position: center -200px, center top; /* nudge image further up to reveal lower area */
  background-size: cover, auto;
  background-repeat: no-repeat, no-repeat;
}
.recruit-hero::before{ content:""; position:absolute; inset:0; background: rgba(0,0,0,.35); z-index:0; }
.recruit-hero::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:140px; background:#e9f1f9; }
.recruit-hero::before{ content:""; position:absolute; inset:0; background: rgba(0,0,0,.35); z-index:1; }
.recruit-hero::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:0; background:transparent; z-index:2; }
.recruit-hero .hero-bg {
  position: absolute; inset: 0; z-index:0;
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(33,140,217,.15), transparent 60%),
    radial-gradient(800px 400px at 100% 20%, rgba(139,230,247,.18), transparent 55%),
    radial-gradient(700px 300px at -5% 80%, rgba(33,140,217,.08), transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 3; height: 800px; display:flex; align-items:center; justify-content:flex-end; padding: 0 60px; }
/* Right-aligned title block centered vertically */
.hero-content{ color:#fff; text-align:right; max-width: 720px; }
.hero-eyebrow{ font-size:14px; letter-spacing:.22em; font-weight:700; color:rgba(255,255,255,.9); margin:0 0 8px; }
.hero-title{ font-size:56px; line-height:1.15; font-weight:800; color:#fff; text-shadow:0 2px 10px rgba(0,0,0,.28); margin:0; }
/* Breadcrumb on top of hero */
.recruit-hero .breadcrumb.on-hero{ position:absolute; left:24px; top:10px; z-index:4; color:#fff; text-shadow:0 2px 6px rgba(0,0,0,.4); font-size:12px; }
.recruit-hero .breadcrumb.on-hero a{ color:#fff; }
/* Large script bottom-left overlapping the light-blue band */
.hero-script-img{ position:absolute; left:40px; bottom:-14px; z-index:3; }
.hero-script-img img{ width:min(520px, 46vw); height:auto; filter:drop-shadow(0 12px 24px rgba(0,0,0,.18)); }
/* Catch lines on the right center */
.hero-catch{ position:absolute; right:60px; top:45%; transform:translateY(-50%); color:#2f3d4f; font-weight:700; font-size:22px; letter-spacing:.04em; }
.hero-catch p{ margin:12px 0; display:inline-block; padding:10px 18px; border-radius:999px; background:rgba(255,255,255,.78); box-shadow:0 6px 16px rgba(0,0,0,.08); border:1px solid rgba(255,255,255,.9); backdrop-filter:saturate(1.1) blur(1px); }
/* no hero thumbs when using background image */

/* ---------- HERO SCRIPT OVERLAY ---------- */
.hero-script-overlay{ position: relative; z-index: 4; height: 0; }
.hero-script-overlay img{ position: absolute; left: 100px; top: -200px; width: min(520px, 38vw); height: auto; filter: drop-shadow(0 12px 24px rgba(0,0,0,.18)); pointer-events: none; }

/* ---------- MESSAGE ---------- */
.recruit-message { padding: 100px 0 60px; background: linear-gradient(180deg,#ffffff 0%, #f7f9fc 100%); }
.msg-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.msg-pics{ position: relative; width: 320px; height: 450px; }
.msg-pics img{ display:block; border-radius: 8px; box-shadow: 0 12px 28px rgba(0,0,0,.08); }
.msg-pics .big{ position:absolute; left:0; top:0; width: 360px; height: 260px; object-fit: cover; }
.msg-pics .small{ position:absolute; left: 190px; top: 170px; width: 200px; height: 150px; object-fit: cover; border: 6px solid #fff; box-shadow: 0 12px 28px rgba(0,0,0,.12); }
.section-kicker { color: var(--color-text-blue); font-weight: 700; font-size: 12px; letter-spacing: .2em; display:inline-flex; align-items:center; gap:8px; }
.recruit-message .section-kicker::before{ content:""; width:8px; height:8px; border-radius:50%; background: var(--color-main); display:inline-block; }
.recruit-message .section-en { font-size: 42px; font-weight: 900; color: var(--color-main); letter-spacing: .02em; margin: 6px 0 14px; }
.msg-text p { line-height: 2; max-width: 560px; color: var(--color-text-dark); }

/* ---------- WORKS LEAD ---------- */
.works-lead { position: relative; padding: 60px 0 30px; background: #ffffff; overflow: hidden; }
.works-lead .section-kicker{ display:inline-flex; align-items:center; gap:8px }
.works-lead .section-kicker::before{ content:""; width:8px; height:8px; border-radius:50%; background: var(--color-main); display:inline-block; }
.works-lead .section-en{ font-size: 40px; font-weight: 900; color: var(--color-main); letter-spacing:.02em; margin: 6px 0 18px; }
.lead-grid{ display:grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.lead-jp{ font-size: 28px; font-weight: 800; color: var(--color-text-dark); line-height: 1.7; }
.lead-quote{ font-size: 18px; font-weight: 800; color: var(--color-main); margin: 6px 0 10px; }
.works-lead p{ color: var(--color-text-dark); line-height: 2; }
.works-lead .swoosh { position: absolute; left: 40%; transform: translateX(-10%); top: -60px; width: 200%; height: 380px; background: radial-gradient(120% 140% at 80% -20%, rgba(33,140,217,.25), rgba(33,140,217,.10) 50%, transparent 70%); filter: blur(1px); }

/* ---------- WORK DETAIL ---------- */
.work-detail { padding: 40px 0 70px; background: linear-gradient(180deg,#f0f6fc 0%, #ffffff 100%); }
.detail-wrap{ background:#fff; border:1px solid #e5ebf4; border-radius: 14px; box-shadow: 0 20px 48px rgba(17,58,119,.10); padding: 26px 30px 32px; }
.detail-title { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; color: var(--color-text-dark); margin-bottom: 12px; }
.detail-title .line { display: none; }
.detail-title p { margin: 0; font-size: 28px; font-weight: 900; letter-spacing: .06em; color: var(--color-text-black); }
/* underline below heading */
.detail-title::after { content: ""; display: block; height: 2px; width: 560px; margin: 12px auto 0; background: linear-gradient(90deg, transparent 2%, #c7d9f4 10%, #c7d9f4 90%, transparent 98%); }
.detail-caption{ text-align:center; color:#6a7a90; font-size:13px; margin-bottom: 10px; }
/* card layout to match reference */
.detail-card { position: relative; display: grid; grid-template-columns: 420px 1fr; gap: 40px; align-items: center; background: transparent; border: 0; padding: 0; border-radius: 0; box-shadow: none; margin: 40px 0 60px; }
.detail-card .num { position: absolute; left: 8px; top: 6px; font-size: 156px; font-weight: 900; color: var(--color-main); line-height: 1; transform: skewX(-8deg); font-style: italic; z-index: 2; filter: drop-shadow(0 10px 18px rgba(21,73,148,.22));
  text-shadow: -2px 0 #fff, 2px 0 #fff, 0 -2px #fff, 0 2px #fff, 2px 2px #fff, -2px 2px #fff, 2px -2px #fff, -2px -2px #fff; }
.detail-card .num::after { content: ""; position: absolute; left: 26px; top: 94px; width: 58px; height: 10px; background: var(--color-main); opacity: .9; border-radius: 10px; transform: rotate(-20deg); box-shadow: 0 8px 16px rgba(21,73,148,.22); }
/* image block with blue base and chip */
.detail-card .photo{ position:relative; display:inline-block; border-radius: 8px; overflow:hidden; box-shadow: 0 16px 36px rgba(17,58,119,.14); }
.detail-card .photo img{ display:block; width: 420px; height: 260px; object-fit: cover; }
.detail-card .photo::after{ content:""; position:absolute; left:0; bottom:-8px; width:100%; height: 8px; background: linear-gradient(90deg, rgba(33,140,217,.35), rgba(33,140,217,.15)); border-radius: 0 0 8px 8px; }
.detail-card .chip{ position:absolute; right: 14px; bottom: 14px; padding: 6px 14px; background: var(--color-main); color:#fff; font-weight:700; font-size: 12px; border-radius: 4px; box-shadow: 0 10px 22px rgba(21,73,148,.26); }
.detail-card .text h3 { font-size: 20px; margin: 0 0 8px; color: var(--color-main); font-weight: 800; }
.detail-card .text p { line-height: 2; color: var(--color-text-dark); }
/* legacy classes for compatibility */
.detail-card .img { display:none; }
.detail-card .img.circle { display:none; }
.mini-btn { display:none; }

/* ---------- VALUES ---------- */
.values { padding: 40px 0 56px; background: linear-gradient(180deg,#ffffff 0%, #f4f7fb 100%); position: relative; }
.values::before { content:""; position:absolute; left:-120px; bottom:-80px; width: 480px; height: 480px; background: radial-gradient(circle, rgba(33,140,217,.08), transparent 70%); border-radius:50%; }
.values-lead { text-align: center; font-size: 16px; color: var(--color-text-dark); margin-bottom: 18px; }
.value-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.value { background:#fff; border:1px solid #e5ebf4; border-radius: 50px; padding: 22px; text-align:center; box-shadow:0 10px 26px rgba(17,58,119,.06); }
.value .dot { width:8px; height:8px; border-radius:50%; background: var(--color-accent); margin: 0 auto 8px; }
.value h4 { color: var(--color-text-blue); margin-bottom: 6px; font-size: 16px; }
.value p { font-size: 13px; color: var(--color-text-dark); }

/* ---------- INTERVIEW ---------- */
.interview { padding: 30px 0 60px; background: linear-gradient(180deg,#f4f7fb 0%, #ffffff 100%); }
.interview .section-kicker { text-align: left; }
.interview .section-en { margin-bottom: 14px; }
.interview-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.person-card { background:#fff; border:1px solid #e5ebf4; border-radius: 12px; padding: 12px; box-shadow: 0 12px 28px rgba(0,0,0,.06); }
.person-card .person { height: 220px; border-radius: 10px; width: 100%; object-fit: cover; }
.person-card .meta { display:flex; align-items:center; justify-content: space-between; margin-top: 10px; }
.person-card .name { font-weight: 700; color: var(--color-text-dark); }
.person-card .role { color:#6a7a90; font-size: 13px; }
.round-link { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border:2px solid #cfe0f8; color: var(--color-main); font-weight: 700; }

/* ---------- GUIDELINE ---------- */
.guideline { padding: 30px 0; background: #fff; }
.guideline .sheet { background:#fff; border:1px solid #e4ebf3; border-radius: 12px; box-shadow: 0 12px 26px rgba(21,73,148,.06); overflow:hidden; }
.guideline dl .row { display:grid; grid-template-columns: 180px 1fr; border-bottom:1px solid #e9eef6; }
.guideline dl .row:last-child { border-bottom:none; }
.guideline dt { background:#f6f9ff; color: var(--color-text-blue); font-weight: 700; padding: 14px 18px; border-right:1px solid #e9eef6; }
.guideline dd { padding: 14px 18px; }
.center { text-align: center; }
.mt-20 { margin-top: 20px; }
.cta-btn { display:inline-block; background: var(--color-main); color:#fff; border-radius: 26px; padding: 12px 26px; font-weight:700; box-shadow:0 10px 22px rgba(21,73,148,.22); }

/* ---------- ENTRY FORM ---------- */
.entry { position: relative; padding: 40px 0 90px; background: linear-gradient(180deg,#ffffff 0%, #eef4fb 100%); overflow:hidden; }
.entry .glass-bg { position:absolute; right:-80px; bottom:-100px; width:760px; height:760px; border-radius:50%; background: radial-gradient(circle, rgba(33,140,217,.06), transparent 66%); filter:saturate(.9); }
.entry-form { background:#fff; border:1px solid #e4ebf3; border-radius: 14px; box-shadow: 0 22px 48px rgba(17,58,119,.14); padding: 30px 40px 36px; max-width: 820px; margin: 0 auto; }
.entry-form .form-head{ text-align:center; margin: 4px 0 10px; }
.entry-form .form-title{ font-size:18px; letter-spacing:.18em; color: var(--color-text-blue); font-weight:800; margin:8px 0 6px; }
.entry-form .form-desc{ font-size:12px; color:#6a7a90; margin:0 0 10px; }
.field { display: grid; grid-template-columns: 200px 1fr; gap: 14px; align-items: center; padding: 8px 0; }
.field.two { grid-template-columns: 200px 1fr 200px 1fr; }
.field.one { grid-template-columns: 180px 1fr; }
.field label { color: var(--color-text-blue); font-weight: 700; font-size: 14px; display:flex; align-items:center; gap:8px }
.field label .req{ display:inline-block; font-size:11px; color:#fff; background: var(--color-main); padding:2px 6px; border-radius:999px; line-height:1; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field textarea {
  width: 100%; padding: 12px 12px; border:1px solid #dce6f4; border-radius: 8px; font-size: 14px; background:#fbfdff;
}
.field input[type="number"]{ width: 100%; padding: 12px 12px; border:1px solid #dce6f4; border-radius: 8px; font-size: 14px; background:#fbfdff; }
.field textarea { resize: vertical; }
.radios { display: flex; gap: 16px; color: var(--color-text-dark); }
.field.agree { grid-template-columns: 1fr; }
.checkbox { display:flex; gap: 10px; align-items:center; color: var(--color-text-dark); }
/* Consent centered outside the card */
.privacy-consent{ text-align:center; margin:16px auto 0; }
.privacy-consent .checkbox{ justify-content:center; color:#6a7a90 }
.privacy-consent a{ color:var(--color-text-blue) }
/* CTA pill submit button */
.submit-pill{ position:relative; display:inline-flex; align-items:center; justify-content:center; gap:0; padding:16px 64px; min-width:280px; border-radius:999px; color:#fff; text-decoration:none; font-weight:800; border:none; cursor:pointer; background:linear-gradient(180deg,#1d56a5 0%, #103e86 100%); box-shadow:0 12px 24px rgba(16,62,134,.25), 0 0 0 3px rgba(158,180,206,.65), 0 0 0 6px rgba(16,62,134,.08); }
.submit-pill:hover{ background:linear-gradient(180deg,#2261b5 0%, #114991 100%); }
.submit-pill .arrow{ position:absolute; right:22px; display:grid; place-items:center; width:36px; height:36px; border-radius:50%; border:2px solid rgba(255,255,255,.92); color:#fff; font-size:20px }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .hero-inner { height: 420px; justify-content:flex-start; padding: 0 20px; }
  .hero-content{ text-align:left; }
  .hero-script-overlay img{ left: 18px; top: -70px; width: min(420px, 66vw); }
  .msg-grid { gap: 24px; }
  .msg-pics{ width: 300px; height: 250px; margin: 0 auto; }
  .msg-pics .big{ width: 300px; height: 210px; }
  .msg-pics .small{ left: 150px; top: 150px; width: 160px; height: 120px; }
  .recruit-message .section-en{ font-size: 32px; }
  .hero-title{ font-size:36px }
  .hero-eyebrow{ font-size:12px }
  .msg-grid { grid-template-columns: 1fr; }
  .detail-title p { font-size: 20px; }
  .detail-title::after { width: 70%; }
  .detail-wrap{ padding:18px 16px 22px }
  .detail-card { grid-template-columns: 1fr; gap: 16px; margin: 28px 0 40px; }
  .detail-card .photo img{ width: 100%; height: auto; }
  .detail-card .num{ left: 8px; top: 6px; font-size: 128px; }
  .detail-card .num::after { left: 18px; top: 70px; width: 44px; height: 8px; }
  .lead-grid{ grid-template-columns:1fr; }
  .works-lead .section-en{ font-size: 32px; }
  .lead-jp{ font-size:22px }
  .field.two { grid-template-columns: 150px 1fr; }
  .value-cards { grid-template-columns: 1fr; }
  .interview-cards { grid-template-columns: 1fr; }
  .guideline dl .row { grid-template-columns: 1fr; }
  .guideline dt { border-right: none; border-bottom: 1px solid #e9eef6; }
}
