/* ===== Local Fonts ===== */
@font-face {
  font-family: 'ふい字P';
  src: url('../fonts/HuiFontP29.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ===== Variables ===== */
:root {
  --navy:    #1B2A6B;
  --magenta: #D4006A;
  --yellow:  #F5C800;
  --white:   #FFFFFF;
  --off:     #F8F7F5;
  --gray:    #E2E2E2;
  --dark:    #111111;
  --text:    #2A2A2A;
  --muted:   #888888;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
.sp-br { display: none; }
.pc-br { display: block; }
html { scroll-behavior: smooth; font-size: 18px; }
body { font-family: 'Noto Sans JP', sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ===== Header ===== */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 22px 52px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .4s, padding .4s, box-shadow .4s;
}
.header.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  padding: 12px 52px;
  box-shadow: 0 2px 20px rgba(0,0,0,.07);
}
.header__logo { display: flex; align-items: center; gap: 12px; }
.header__logo img { height: 36px; transition: height .4s; }
.header.scrolled .header__logo img { height: 28px; }
.header__recruit-label {
  font-family: 'Barlow', sans-serif; font-size: .56rem; font-weight: 700;
  letter-spacing: .22em; color: rgba(255,255,255,.65);
  border-left: 1px solid rgba(255,255,255,.28); padding-left: 12px; line-height: 1;
  white-space: nowrap; transition: color .4s, border-color .4s;
}
.header.scrolled .header__recruit-label { color: var(--navy); border-left-color: var(--gray); }

.header__nav { display: flex; align-items: center; gap: 36px; }
.header__nav a {
  font-size: .73rem; font-weight: 600; letter-spacing: .13em;
  color: rgba(255,255,255,.9); transition: color .3s; position: relative;
}
.header__nav a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 2px; background: var(--yellow); transition: width .3s;
}
.header__nav a:hover::after { width: 100%; }
.header.scrolled .header__nav a { color: var(--navy); }
.header__nav a.nav--active { color: var(--yellow); }
.header.scrolled .header__nav a.nav--active { color: var(--navy); font-weight: 700; }
.header__nav a.nav--active::after { width: 100%; }

.nav-entry {
  background: var(--magenta) !important; color: var(--white) !important;
  padding: 9px 24px !important; border-radius: 1px;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: background .3s, transform .3s !important;
}
.nav-entry::after { display: none !important; }
.nav-entry:hover { background: var(--yellow) !important; color: var(--dark) !important; transform: translateY(-2px) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1001; }
.hamburger span { display: block; width: 26px; height: 2px; background: var(--white); transition: all .3s; }
.header.scrolled .hamburger span { background: var(--navy); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px,-5px); }

.mobile-nav {
  display: none; position: fixed; inset: 0;
  background: var(--navy); z-index: 999;
  flex-direction: column; align-items: center; justify-content: center; gap: 32px;
  transform: translateX(100%); transition: transform .5s cubic-bezier(.77,0,.175,1);
}
.mobile-nav.open { transform: none; }
.mobile-nav a { color: var(--white); font-size: 1.2rem; font-weight: 700; letter-spacing: .18em; }

/* ===== Buttons ===== */
.btn-p {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 16px 38px; background: var(--magenta); color: var(--white);
  font-size: .8rem; font-weight: 700; letter-spacing: .1em;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background .3s, transform .3s, box-shadow .3s;
}
.btn-p:hover { background: var(--yellow); color: var(--dark); transform: translateY(-3px); box-shadow: 0 12px 36px rgba(212,0,106,.28); }
.btn-s {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 16px 38px; background: transparent; color: var(--white);
  font-size: .8rem; font-weight: 700; letter-spacing: .1em;
  border: 2px solid rgba(255,255,255,.4);
  transition: background .3s, border-color .3s, transform .3s;
}
.btn-s:hover { background: rgba(255,255,255,.1); border-color: var(--white); transform: translateY(-3px); }

/* ===== Section Commons ===== */
.sec-label {
  font-family: 'Barlow', sans-serif; font-size: .65rem; font-weight: 700;
  letter-spacing: .36em; color: var(--magenta); display: block; margin-bottom: 10px;
}
.sec-label--w { color: var(--yellow); }
.sec-title {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(2.2rem, 5.5vw, 4.4rem);
  font-weight: 900; color: var(--navy); line-height: 1; letter-spacing: .03em;
}
.sec-title--w { color: var(--white); }
.sec-sub {
  font-family: 'Klee One', cursive;
  font-size: clamp(.95rem, 2vw, 1.15rem);
  color: var(--muted); margin-top: 10px; letter-spacing: .06em;
}
.sec-sub--w { color: rgba(255,255,255,.68); }
.sec-rule { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.sec-rule::before { content: ''; width: 32px; height: 3px; background: var(--yellow); }
.sec-rule::after  { content: ''; width: 32px; height: 3px; background: var(--magenta); }
.sec-rule i { font-size: .45rem; color: var(--navy); }
.sec-rule--w i { color: var(--white); }
.sec-rule--w::before, .sec-rule--w::after { opacity: .7; }
.sec-head--center { text-align: center; }
.sec-head--center .sec-rule { justify-content: center; }

/* ===== FV ===== */
.fv {
  position: relative; height: 100vh; min-height: 640px;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.fv__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fv__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(145deg, rgba(27,42,107,.78) 0%, rgba(0,0,0,.48) 100%);
}
.fv__accent { position: absolute; top: 0; right: 0; width: 5px; height: 100%; background: linear-gradient(to bottom, var(--yellow), var(--magenta)); }
.fv__cut {
  position: absolute; bottom: -1px; left: 0; width: 100%; height: 110px;
  background: var(--white); clip-path: polygon(0 55%, 100% 0, 100% 100%, 0 100%);
}
.fv__content {
  position: relative; z-index: 10;
  text-align: center; padding: 0 24px; max-width: 880px;
}
.fv__label {
  font-family: 'Barlow', sans-serif; font-size: .68rem; font-weight: 700;
  letter-spacing: .38em; color: var(--yellow); display: block; margin-bottom: 28px; opacity: 0;
}
.fv__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; opacity: 0; }
.fv__scroll {
  position: absolute; bottom: 130px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: 'Barlow', sans-serif; font-size: .58rem; font-weight: 700;
  letter-spacing: .45em; color: rgba(255,255,255,.5); z-index: 10; opacity: 0;
}
.fv__scroll::after {
  content: ''; display: block; width: 1px; height: 56px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0%  { transform: scaleY(0); transform-origin: top; }
  49% { transform: scaleY(1); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: bottom; }
  100%{ transform: scaleY(0); transform-origin: bottom; }
}
.fv__copy {
  position: absolute; bottom: 160px; left: 52px; z-index: 10;
  text-align: left; font-family: 'ふい字P', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem); line-height: 1.9; letter-spacing: .06em;
}
.fv__copy span {
  display: block;
  background: linear-gradient(90deg, rgba(255,255,255,.62) 0%, rgba(255,255,255,1) 55%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== INTERVIEW (TOP) ===== */
.interview { padding: 120px 52px 100px; position: relative; }
.interview::before {
  content: 'PEOPLE'; position: absolute; top: 60px; left: 50%; transform: translateX(-50%);
  font-family: 'Barlow', sans-serif; font-size: clamp(4rem, 16vw, 14rem);
  font-weight: 900; color: var(--navy); opacity: .03; white-space: nowrap; pointer-events: none;
}
.interview__inner { max-width: 1200px; margin: 0 auto; }
.interview__head { margin-bottom: 56px; }
.interview__lead { max-width: 480px; font-size: .9rem; line-height: 2.2; color: var(--muted); margin-top: 24px; }
.interview__cta { margin-top: 60px; text-align: center; }
.interview__cta-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 52px; background: var(--navy); color: var(--white);
  font-size: .82rem; font-weight: 700; letter-spacing: .16em;
  border: 2px solid var(--navy);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background .3s, color .3s, transform .3s, box-shadow .3s;
}
.interview__cta-btn:hover {
  background: var(--magenta); border-color: var(--magenta);
  transform: translateY(-3px); box-shadow: 0 12px 36px rgba(212,0,106,.22);
}

/* ===== Person Card (shared: TOP + interview list) ===== */
.persons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.persons__center-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }

.pcard {
  position: relative; overflow: hidden;
  aspect-ratio: 3/4; cursor: pointer; background: var(--gray); display: block;
}
.pcard__img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  transition: transform .7s cubic-bezier(.25,.46,.45,.94);
}
.pcard:hover .pcard__img { transform: scale(1.06); }
.pcard__overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(27,42,107,.92));
  padding: 72px 24px 24px;
  transform: translateY(calc(100% - 82px));
  transition: transform .55s cubic-bezier(.25,.46,.45,.94);
}
.pcard:hover .pcard__overlay { transform: translateY(0); }
.pcard__tag {
  font-family: 'Barlow', sans-serif; font-size: .58rem; font-weight: 700;
  letter-spacing: .22em; background: var(--yellow); color: var(--dark);
  display: inline-block; padding: 3px 10px; margin-bottom: 10px;
}
.pcard__name { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 2px; }
.pcard__univ { font-size: 1rem; font-weight: 700; color: var(--white); letter-spacing: .04em; margin-bottom: 2px; }
.pcard__dept { font-size: .7rem; color: rgba(255,255,255,.6); letter-spacing: .08em; }
.pcard__detail {
  max-height: 0; overflow: hidden;
  transition: max-height .5s ease, margin-top .4s ease;
}
.pcard:hover .pcard__detail { max-height: 160px; margin-top: 14px; }
.pcard__quote {
  font-family: 'ふい字P', sans-serif; font-size: .8rem; line-height: 1.9;
  color: rgba(255,255,255,.82); border-left: 2px solid var(--magenta); padding-left: 12px;
  margin-bottom: 14px;
}
.pcard__more {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'Barlow', sans-serif; font-size: .68rem; font-weight: 700;
  letter-spacing: .2em; color: var(--yellow); transition: gap .3s;
}
.pcard:hover .pcard__more { gap: 11px; }

/* ===== MESSAGE (TOP) ===== */
.message {
  padding: 120px 52px; background: var(--navy);
  position: relative; overflow: hidden;
}
.message::before {
  content: ''; position: absolute; top: -1px; left: 0; width: 100%; height: 100px;
  background: var(--white); clip-path: polygon(0 0, 100% 0, 100% 30%);
}
.message::after {
  content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 100px;
  background: var(--off); clip-path: polygon(0 70%, 100% 0, 100% 100%, 0 100%);
}
.message__inner {
  max-width: 1100px; margin: 0 auto; position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center;
}
.message__img-wrap { position: relative; }
.message__img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; }
.message__img-accent {
  position: absolute; bottom: -12px; right: -12px;
  width: 60%; height: 60%; border: 3px solid var(--magenta); z-index: -1;
}
.message__img-tag {
  position: absolute; top: 20px; left: -14px;
  background: var(--yellow); color: var(--dark);
  font-family: 'Barlow', sans-serif; font-size: .65rem; font-weight: 700;
  letter-spacing: .2em; padding: 6px 16px; box-shadow: 4px 4px 0 var(--navy);
}
.message__body { color: var(--white); }
.message__hand {
  font-family: 'ふい字P', sans-serif; font-size: clamp(1.3rem, 2.8vw, 1.8rem);
  font-weight: normal; line-height: 1.8; margin: 24px 0; color: var(--white);
}
.message__hand em { color: var(--yellow); font-style: normal; }
.message__text { font-size: .85rem; line-height: 2.3; color: rgba(255,255,255,.7); }
.message__sign { margin-top: 32px; display: flex; align-items: center; gap: 16px; }
.message__sign-bar { width: 32px; height: 2px; background: var(--yellow); }
.message__sign-name { font-family: 'Klee One', cursive; font-size: 1.1rem; color: rgba(255,255,255,.9); }
.message__sign-title { font-size: .7rem; color: rgba(255,255,255,.5); letter-spacing: .15em; }

/* ===== CULTURE (TOP) ===== */
.culture { padding: 120px 52px; background: var(--off); }
.culture__inner { max-width: 1100px; margin: 0 auto; }
.culture__features { margin-top: 64px; margin-bottom: 72px; display: flex; flex-direction: column; gap: 3px; }
.culture__feature {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 400px; overflow: hidden;
}
.culture__feature-text {
  padding: 56px 52px; display: flex; flex-direction: column; justify-content: center;
  background: var(--white);
}
.culture__feature-img { overflow: hidden; }
.culture__feature-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.culture__feature-num {
  font-family: 'Barlow', sans-serif; font-size: 3.8rem; font-weight: 900;
  color: var(--gray); line-height: 1; margin-bottom: 10px; display: block;
}
.culture__feature-title {
  font-size: clamp(1.15rem, 2.2vw, 1.55rem); font-weight: 700; color: var(--navy);
  line-height: 1.6; margin-bottom: 18px;
}
.culture__feature-label {
  display: inline-block; font-family: 'Barlow', sans-serif; font-size: .6rem;
  font-weight: 700; letter-spacing: .22em; color: var(--white);
  background: var(--navy); padding: 4px 12px; margin-bottom: 20px;
}
.culture__feature:nth-child(2) .culture__feature-label { background: var(--magenta); }
.culture__feature:nth-child(3) .culture__feature-label { background: var(--navy); }
.culture__feature-desc { font-size: .86rem; line-height: 2.3; color: var(--muted); }
.culture__feature-accent { width: 32px; height: 3px; background: var(--yellow); margin-top: 24px; }
.culture__feature:nth-child(2) .culture__feature-accent { background: var(--magenta); }

/* ===== JOBS (TOP) ===== */
.jobs { padding: 120px 52px; background: var(--white); }
.jobs__inner { max-width: 960px; margin: 0 auto; }
.jobs__lead { font-size: .9rem; line-height: 2.2; color: var(--muted); margin-top: 24px; max-width: 480px; }
.jobs__list { display: flex; flex-direction: column; gap: 14px; margin-top: 56px; }
.jitem {
  display: flex; align-items: stretch; background: var(--white);
  border: 1px solid var(--gray); overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.jitem:hover { transform: translateX(8px); box-shadow: 0 8px 40px rgba(0,0,0,.1); border-color: transparent; }
.jitem__bar { width: 5px; flex-shrink: 0; }
.jitem:nth-child(1) .jitem__bar { background: var(--navy); }
.jitem:nth-child(2) .jitem__bar { background: var(--magenta); }
.jitem:nth-child(3) .jitem__bar { background: var(--yellow); }
.jitem__body { padding: 28px 32px; flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.jitem__icon { font-size: 1.7rem; color: var(--navy); flex-shrink: 0; }
.jitem:nth-child(2) .jitem__icon { color: var(--magenta); }
.jitem:nth-child(3) .jitem__icon { color: var(--yellow); }
.jitem__info { flex: 1; min-width: 180px; }
.jitem__sub { font-family: 'Barlow', sans-serif; font-size: .62rem; font-weight: 700; letter-spacing: .26em; color: var(--muted); margin-bottom: 5px; }
.jitem__title { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.jitem__desc { font-size: .78rem; color: var(--muted); line-height: 1.8; }
.jitem__salary { text-align: right; flex-shrink: 0; }
.jitem__sal-n { font-family: 'Barlow', sans-serif; font-size: 1.9rem; font-weight: 900; color: var(--navy); line-height: 1.1; }
.jitem__sal-note { font-size: .62rem; color: var(--muted); }
.jitem__arr { font-size: 1rem; color: var(--muted); flex-shrink: 0; transition: transform .3s, color .3s; }
.jitem:hover .jitem__arr { transform: translateX(5px); color: var(--navy); }

/* ===== GALLERY (TOP) ===== */
.vr { padding: 110px 0 0; background: var(--dark); position: relative; overflow: hidden; text-align: center; transform: skewY(-2deg); }
.vr__inner { transform: skewY(2deg); position: relative; z-index: 1; max-width: 640px; margin: 0 auto; padding: 0 52px 64px; }
.vr__bg { position: absolute; inset: 0; opacity: .08; }
.vr__tag {
  display: inline-block; font-family: 'Barlow', sans-serif;
  font-size: .65rem; font-weight: 700; letter-spacing: .34em;
  color: var(--yellow); border: 1px solid var(--yellow); padding: 5px 18px; margin-bottom: 28px;
}
.vr__title {
  font-family: 'Barlow', sans-serif; font-size: clamp(1.8rem, 5.5vw, 3.8rem);
  font-weight: 900; color: var(--white); letter-spacing: .04em; margin-bottom: 20px;
}
.vr__copy { font-size: .86rem; color: rgba(255,255,255,.65); line-height: 2.2; }
.gallery__slider { position: relative; z-index: 1; overflow: hidden; padding-bottom: 110px; }
.gallery__track { display: flex; width: max-content; animation: galleryRoll 60s linear infinite; }
.gallery__slide { flex-shrink: 0; width: 560px; height: 360px; overflow: hidden; margin-right: 20px; }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes galleryRoll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== RECRUITING (TOP) ===== */
.recruiting { padding: 120px 52px; background: var(--off); }
.recruiting__inner { max-width: 960px; margin: 0 auto; }
.flow { margin-bottom: 100px; }

/* ===== Page Hero ===== */
.page-hero {
  position: relative; padding: 160px 52px 100px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy); overflow: hidden; min-height: 420px;
}
.page-hero__bg {
  position: absolute; inset: 0;
  background: center/cover no-repeat;
  opacity: .06;
}
.page-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(145deg, rgba(27,42,107,.95) 0%, rgba(0,0,0,.7) 100%);
}
.page-hero__accent {
  position: absolute; top: 0; right: 0;
  width: 5px; height: 100%;
  background: linear-gradient(to bottom, var(--yellow), var(--magenta));
}
.page-hero__cut {
  position: absolute; bottom: -1px; left: 0; width: 100%; height: 90px;
  background: var(--white); clip-path: polygon(0 55%, 100% 0, 100% 100%, 0 100%);
}
.page-hero__cut--off {
  background: var(--off);
}
.page-hero__content { position: relative; z-index: 10; text-align: center; }
.page-hero__label {
  font-family: 'Barlow', sans-serif; font-size: .65rem; font-weight: 700;
  letter-spacing: .4em; color: var(--yellow); display: block; margin-bottom: 14px;
}
.page-hero__title {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 900; color: var(--white);
  line-height: 1.1; letter-spacing: .04em; margin-bottom: 14px;
}
.page-hero__sub {
  font-family: 'Klee One', cursive;
  font-size: clamp(.9rem, 1.8vw, 1.05rem);
  color: rgba(255,255,255,.65); letter-spacing: .1em;
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  margin-top: 20px;
  font-family: 'Barlow', sans-serif; font-size: .62rem; font-weight: 600;
  letter-spacing: .16em; color: rgba(255,255,255,.4);
}
.breadcrumb a { color: rgba(255,255,255,.4); transition: color .3s; }
.breadcrumb a:hover { color: var(--yellow); }

/* ===== Interview Main (interview list page) ===== */
.interview-main {
  padding: 120px 52px 100px; position: relative;
}
.interview-main::before {
  content: 'PEOPLE'; position: absolute; top: 60px; left: 50%; transform: translateX(-50%);
  font-family: 'Barlow', sans-serif; font-size: clamp(4rem, 16vw, 14rem);
  font-weight: 900; color: var(--navy); opacity: .03; white-space: nowrap; pointer-events: none;
}
.interview-main__inner { max-width: 1200px; margin: 0 auto; }
.interview-main__head { margin-bottom: 56px; text-align: center; }
.interview-main__lead { font-size: .9rem; line-height: 2.2; color: var(--muted); margin-top: 20px; }

/* ===== Message Main (message page) ===== */
.message-main {
  padding: 120px 52px 140px;
  background: var(--navy);
  position: relative; overflow: hidden;
}
.message-main::before {
  content: 'MESSAGE';
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-family: 'Barlow', sans-serif;
  font-size: clamp(5rem, 18vw, 16rem);
  font-weight: 900; color: rgba(255,255,255,.025);
  white-space: nowrap; pointer-events: none; z-index: 0; letter-spacing: .1em;
}
.message-main::after {
  content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 100px;
  background: var(--white); clip-path: polygon(0 70%, 100% 0, 100% 100%, 0 100%);
}
.message-main__inner {
  max-width: 1100px; margin: 0 auto; position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; align-items: flex-start;
}
.message-main__img-wrap { position: relative; }
.message-main__img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; }
.message-main__img-accent {
  position: absolute; bottom: -12px; right: -12px;
  width: 60%; height: 60%; border: 3px solid var(--magenta); z-index: -1;
}
.message-main__img-tag {
  position: absolute; top: 20px; left: -14px;
  background: var(--yellow); color: var(--dark);
  font-family: 'Barlow', sans-serif; font-size: .65rem; font-weight: 700;
  letter-spacing: .2em; padding: 6px 16px; box-shadow: 4px 4px 0 var(--navy);
}
.message-main__body { color: var(--white); }
.message-main__hand {
  font-family: 'ふい字P', sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: normal; line-height: 1.85; margin: 0 0 28px; color: var(--white);
}
.message-main__hand em { color: var(--yellow); font-style: normal; }
.message-main__text {
  font-size: .82rem; line-height: 2.4; color: rgba(255,255,255,.72);
  display: flex; flex-direction: column; gap: 20px;
}
.message-main__sign { margin-top: 36px; display: flex; align-items: center; gap: 16px; }
.message-main__sign-bar { width: 32px; height: 2px; background: var(--yellow); flex-shrink: 0; }
.message-main__sign-name { font-family: 'Klee One', cursive; font-size: 1.05rem; color: rgba(255,255,255,.92); margin-bottom: 4px; }
.message-main__sign-title { font-size: .7rem; color: rgba(255,255,255,.5); letter-spacing: .15em; }

/* ===== Beliefs (message page) ===== */
.beliefs { padding: 120px 52px 110px; background: var(--white); position: relative; }
.beliefs__inner { max-width: 1100px; margin: 0 auto; }
.beliefs__head { text-align: center; margin-bottom: 72px; }
.beliefs__head .sec-rule { justify-content: center; }
.beliefs__sub {
  font-family: 'Klee One', cursive;
  font-size: clamp(.9rem, 1.8vw, 1.05rem);
  color: var(--muted); margin-top: 12px; letter-spacing: .06em;
}
.beliefs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.belief-card {
  padding: 48px 32px; border: 1px solid var(--gray); text-align: center;
  position: relative; overflow: hidden;
  transition: transform .35s, box-shadow .35s;
}
.belief-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--gray); transition: background .3s;
}
.belief-card:nth-child(1)::before { background: var(--navy); }
.belief-card:nth-child(2)::before { background: var(--magenta); }
.belief-card:nth-child(3)::before { background: var(--yellow); }
.belief-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,.1); }
.belief-card__icon { font-size: 2.2rem; margin-bottom: 20px; }
.belief-card:nth-child(1) .belief-card__icon { color: var(--navy); }
.belief-card:nth-child(2) .belief-card__icon { color: var(--magenta); }
.belief-card:nth-child(3) .belief-card__icon { color: #c4a100; }
.belief-card__title { font-size: .9rem; font-weight: 700; color: var(--navy); margin-bottom: 14px; letter-spacing: .06em; }
.belief-card__text { font-size: .78rem; line-height: 2.1; color: var(--muted); }

/* ===== Numbers (culture page) ===== */
.numbers { padding: 110px 52px 120px; background: var(--off); position: relative; }
.numbers__inner { max-width: 1100px; margin: 0 auto; }
.numbers__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin-top: 64px; margin-bottom: 28px; }
.nitem {
  padding: 44px 28px; text-align: center; background: var(--white);
  position: relative; overflow: hidden; transition: transform .3s, box-shadow .3s;
}
.nitem::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 4px;
  transition: width .5s ease;
}
.nitem:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.09); }
.nitem:hover::after { width: 100%; }
.nitem:nth-child(1)::after { background: var(--navy); }
.nitem:nth-child(2)::after { background: var(--magenta); }
.nitem:nth-child(3)::after { background: var(--yellow); }
.nitem:nth-child(4)::after { background: var(--magenta); }
.nitem:nth-child(5)::after { background: var(--navy); }
.nitem:nth-child(6)::after { background: var(--yellow); }
.nitem__val {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 900; color: var(--navy); line-height: 1; margin-bottom: 10px;
}
.nitem__val em { font-size: .48em; color: var(--magenta); font-style: normal; }
.nitem__label { font-size: .72rem; color: var(--muted); letter-spacing: .14em; }
.numbers__banner {
  background: linear-gradient(135deg, var(--navy) 0%, #2a3f8f 50%, #1a3060 100%);
  padding: 32px 48px;
  display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.numbers__banner::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 5px; height: 100%;
  background: linear-gradient(to bottom, var(--yellow), var(--magenta));
}
.numbers__banner-item { text-align: center; }
.numbers__banner-arrow { font-size: 1.8rem; color: var(--yellow); opacity: .7; }
.numbers__banner-val {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 900; color: var(--white); line-height: 1; margin-bottom: 6px;
}
.numbers__banner-val em { font-size: .5em; color: var(--yellow); font-style: normal; margin-right: 3px; }
.numbers__banner-label { font-size: .7rem; color: rgba(255,255,255,.55); letter-spacing: .14em; }

/* ===== Benefits (culture page) ===== */
.benefits { padding: 120px 52px 110px; background: var(--white); }
.benefits__inner { max-width: 1100px; margin: 0 auto; }
.benefits__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; }
.bitem {
  padding: 36px 24px; background: var(--white); text-align: center;
  border: 1px solid var(--gray); position: relative; overflow: hidden;
  transition: transform .35s, box-shadow .35s;
}
.bitem::before {
  content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
  background: var(--gray); transition: background .3s;
}
.bitem:hover { transform: translateY(-5px); box-shadow: 0 14px 44px rgba(0,0,0,.1); }
.bitem:nth-child(1):hover::before { background: var(--navy); }
.bitem:nth-child(2):hover::before { background: var(--magenta); }
.bitem:nth-child(3):hover::before { background: var(--yellow); }
.bitem:nth-child(4):hover::before { background: var(--navy); }
.bitem:nth-child(5):hover::before { background: var(--magenta); }
.bitem:nth-child(6):hover::before { background: var(--yellow); }
.bitem:nth-child(7):hover::before { background: var(--magenta); }
.bitem__icon { font-size: 1.7rem; margin-bottom: 14px; }
.bitem:nth-child(1) .bitem__icon { color: var(--navy); }
.bitem:nth-child(2) .bitem__icon { color: var(--magenta); }
.bitem:nth-child(3) .bitem__icon { color: #c4a100; }
.bitem:nth-child(4) .bitem__icon { color: var(--navy); }
.bitem:nth-child(5) .bitem__icon { color: var(--magenta); }
.bitem:nth-child(6) .bitem__icon { color: #c4a100; }
.bitem:nth-child(7) .bitem__icon { color: var(--magenta); }
.bitem__title { font-size: .82rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.bitem__desc { font-size: .73rem; color: var(--muted); line-height: 1.9; }
.benefits__grid .bitem:last-child:nth-child(3n+1) { grid-column: 1; }

/* ===== Education (culture page) ===== */
.education {
  padding: 120px 52px 140px;
  background: var(--navy);
  position: relative; overflow: hidden;
}
.education::before {
  content: 'EDUCATION';
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-family: 'Barlow', sans-serif; font-size: clamp(4rem, 14vw, 13rem);
  font-weight: 900; color: rgba(255,255,255,.025); white-space: nowrap; pointer-events: none; z-index: 0; letter-spacing: .08em;
}
.education::after {
  content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 100px;
  background: var(--white); clip-path: polygon(0 70%, 100% 0, 100% 100%, 0 100%);
}
.education__inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.education__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 64px; }
.edu-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  padding: 44px 36px; position: relative; overflow: hidden;
  transition: background .3s, border-color .3s, transform .35s;
}
.edu-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  opacity: 0; transition: opacity .3s;
}
.edu-card:nth-child(1)::before { background: var(--yellow); }
.edu-card:nth-child(2)::before { background: var(--magenta); }
.edu-card:nth-child(3)::before { background: var(--yellow); }
.edu-card:nth-child(4)::before { background: var(--magenta); }
.edu-card:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); transform: translateY(-4px); }
.edu-card:hover::before { opacity: 1; }
.edu-card__num {
  font-family: 'Barlow', sans-serif; font-size: .6rem; font-weight: 700;
  letter-spacing: .3em; color: var(--yellow); margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
.edu-card__num::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.15); }
.edu-card__icon { font-size: 2rem; color: var(--yellow); margin-bottom: 18px; }
.edu-card:nth-child(even) .edu-card__icon { color: var(--magenta); }
.edu-card__title { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 14px; letter-spacing: .04em; }
.edu-card__text { font-size: .78rem; line-height: 2.1; color: rgba(255,255,255,.62); }

/* ===== Ha-images ===== */
.ha-images { display: flex; gap: 20px; justify-content: center; margin: 36px 0 0; overflow: visible; }
.ha-images__left, .ha-images__right { flex: 1; max-width: 340px; height: 220px; overflow: hidden; }
.ha-images__left img, .ha-images__right img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ha-images__left { transform: rotate(-4deg); transform-origin: bottom right; }
.ha-images__right { transform: rotate(4deg); transform-origin: bottom left; }

/* ===== Recruit Jobs (recruit page) ===== */
.recruit-jobs { padding: 120px 52px 100px; background: var(--white); position: relative; }
.recruit-jobs::before {
  content: 'RECRUIT';
  position: absolute; top: 60px; left: 50%; transform: translateX(-50%);
  font-family: 'Barlow', sans-serif; font-size: clamp(4rem, 14vw, 12rem);
  font-weight: 900; color: var(--navy); opacity: .03; white-space: nowrap; pointer-events: none;
}
.recruit-jobs__inner { max-width: 1000px; margin: 0 auto; }
.recruit-jobs__head { margin-bottom: 64px; }

/* Job Card */
.job-card {
  background: var(--white); border: 1px solid var(--gray); overflow: hidden;
  position: relative; opacity: 0; transform: translateY(30px);
  transition: box-shadow .4s;
}
.job-card:hover { box-shadow: 0 20px 60px rgba(27,42,107,.12); }
.job-card__header {
  background: var(--navy); padding: 44px 52px; position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 32px;
}
.job-card__header::before {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0;
  width: 40%; background: linear-gradient(to right, transparent, rgba(245,200,0,.06));
}
.job-card__header-accent {
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(to right, var(--yellow), var(--magenta));
}
.job-card__icon-wrap {
  width: 72px; height: 72px; flex-shrink: 0;
  background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center;
  border: 2px solid rgba(255,255,255,.15);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.job-card__icon-wrap i { font-size: 1.8rem; color: var(--yellow); }
.job-card__header-body { flex: 1; }
.job-card__eng {
  font-family: 'Barlow', sans-serif; font-size: .62rem; font-weight: 700;
  letter-spacing: .3em; color: rgba(255,255,255,.5); margin-bottom: 8px;
}
.job-card__title { font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 700; color: var(--white); line-height: 1.3; margin-bottom: 12px; }
.job-card__catch { font-family: 'Klee One', cursive; font-size: clamp(.82rem, 1.6vw, .95rem); color: rgba(255,255,255,.65); line-height: 1.7; }
.job-card__tag {
  position: absolute; top: 24px; right: 32px;
  background: var(--magenta); color: var(--white);
  font-family: 'Barlow', sans-serif; font-size: .58rem; font-weight: 700;
  letter-spacing: .2em; padding: 5px 14px;
}
.job-table-wrap { padding: 52px; }
.job-table { width: 100%; border-collapse: collapse; }
.job-table tr { border-bottom: 1px solid var(--gray); }
.job-table tr:last-child { border-bottom: none; }
.job-table th {
  width: 160px; padding: 20px 24px 20px 0;
  text-align: left; vertical-align: top;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  color: var(--navy); white-space: nowrap;
}
.job-table th .th-icon { display: inline-flex; align-items: center; gap: 8px; }
.job-table th .th-icon i { width: 20px; color: var(--magenta); font-size: .75rem; }
.job-table td { padding: 20px 0 20px 28px; font-size: .8rem; line-height: 2; color: var(--text); border-left: 2px solid var(--gray); }
.job-table tr:hover td { background: rgba(27,42,107,.02); }
.highlight-row th { color: var(--magenta); }
.highlight-row td { background: rgba(212,0,106,.03); border-left-color: var(--magenta); }
.highlight-val { font-family: 'Barlow', sans-serif; font-size: 1.4rem; font-weight: 900; color: var(--magenta); line-height: 1.2; }
.highlight-val span { font-size: .65em; color: var(--muted); font-family: 'Noto Sans JP', sans-serif; font-weight: 400; display: block; margin-top: 4px; }
.tag-badge { display: inline-block; background: var(--navy); color: var(--white); font-family: 'Barlow', sans-serif; font-size: .55rem; font-weight: 700; letter-spacing: .14em; padding: 3px 10px; margin-right: 6px; margin-bottom: 4px; vertical-align: middle; }
.tag-badge--y { background: var(--yellow); color: var(--dark); }
.tag-badge--m { background: var(--magenta); }

/* ===== Incentive (recruit page) ===== */
.incentive { padding: 120px 52px; background: var(--off); position: relative; overflow: hidden; }
.incentive::before {
  content: 'INCENTIVE';
  position: absolute; top: 60px; left: 50%; transform: translateX(-50%);
  font-family: 'Barlow', sans-serif; font-size: clamp(4rem, 16vw, 13rem);
  font-weight: 900; color: var(--navy); opacity: .04; white-space: nowrap; pointer-events: none;
}
.incentive__inner { max-width: 960px; margin: 0 auto; position: relative; z-index: 1; }
.incentive__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 64px; }
.incentive__card {
  background: var(--white); padding: 44px 40px; position: relative; overflow: hidden;
  opacity: 0; transform: translateY(30px);
  transition: transform .35s, box-shadow .35s;
}
.incentive__card:hover { transform: translateY(-5px); box-shadow: 0 20px 60px rgba(0,0,0,.09); }
.incentive__card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(to right, var(--navy), var(--magenta));
}
.incentive__card--accent::before { background: linear-gradient(to right, var(--magenta), var(--yellow)); }
.incentive__card-label {
  font-family: 'Barlow', sans-serif; font-size: .6rem; font-weight: 700;
  letter-spacing: .3em; color: var(--muted); margin-bottom: 16px; display: block;
}
.incentive__num {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900;
  color: var(--magenta); line-height: 1; margin-bottom: 10px;
}
.incentive__num em { font-size: .45em; color: var(--muted); font-style: normal; }
.incentive__desc { font-size: .78rem; line-height: 1.9; color: var(--muted); border-top: 1px solid var(--gray); padding-top: 14px; margin-top: 14px; }
.incentive__note { margin-top: 36px; padding: 24px 32px; background: rgba(27,42,107,.04); border-left: 3px solid var(--navy); font-size: .78rem; line-height: 2; color: var(--muted); }
.incentive__note strong { color: var(--navy); }

/* ===== Flow Section (recruit page) ===== */
.flow-section { padding: 120px 52px; background: var(--white); }
.flow-section__inner { max-width: 900px; margin: 0 auto; }
.flow-section__head { margin-bottom: 64px; }

/* ===== Flow Track (shared: TOP recruiting + recruit page) ===== */
.flow__track {
  display: flex; align-items: flex-start;
  position: relative; margin-top: 56px;
}
.flow__track::before {
  content: ''; position: absolute; top: 31px; left: 31px; right: 31px; height: 2px;
  background: linear-gradient(to right, var(--navy), var(--magenta));
}
.flow__step { flex: 1; text-align: center; position: relative; }
.flow__num {
  width: 62px; height: 62px; background: var(--navy); color: var(--white);
  font-family: 'Barlow', sans-serif; font-size: 1.3rem; font-weight: 900;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; position: relative; z-index: 1;
  transition: background .3s, transform .3s;
}
.flow__step:hover .flow__num { background: var(--magenta); transform: scale(1.1); }
.flow__step-t { font-size: .8rem; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.flow__step-d { font-size: .7rem; color: var(--muted); line-height: 1.75; }

.flow-section__cta {
  margin-top: 64px; text-align: center; padding: 52px 32px;
  background: linear-gradient(135deg, var(--navy) 0%, #1d3080 100%);
  position: relative; overflow: hidden;
}
.flow-section__cta-text {
  font-family: 'Klee One', cursive; font-size: clamp(.9rem, 1.8vw, 1.1rem);
  color: rgba(255,255,255,.75); margin-bottom: 28px; position: relative; z-index: 1;
}
.flow-section__cta .btn-p { position: relative; z-index: 1; }

/* ===== FAQ (shared: TOP + entry page) ===== */
.faq__list { display: flex; flex-direction: column; gap: 8px; margin-top: 56px; }
.faq__item { border: 1px solid var(--gray); background: var(--white); overflow: hidden; }
.faq__q { display: flex; align-items: center; gap: 14px; padding: 20px 26px; cursor: pointer; transition: background .3s; }
.faq__q:hover { background: #f0f0f0; }
.faq__q-mark { font-family: 'Barlow', sans-serif; font-size: 1.3rem; font-weight: 900; color: var(--navy); width: 26px; flex-shrink: 0; }
.faq__q-text { flex: 1; font-size: .86rem; font-weight: 700; color: var(--navy); }
.faq__chev { font-size: .7rem; color: var(--muted); transition: transform .35s; }
.faq__item.open .faq__chev { transform: rotate(180deg); }
.faq__a { display: none; padding: 16px 26px 20px 66px; font-size: .82rem; line-height: 2; color: var(--muted); border-top: 1px solid var(--gray); }
.faq__item.open .faq__a { display: block; }
.faq__a-wrap { display: flex; gap: 14px; }
.faq__a-mark { font-family: 'Barlow', sans-serif; font-size: 1.1rem; font-weight: 900; color: var(--magenta); flex-shrink: 0; }
.faq__a-text { font-size: .82rem; line-height: 2; color: var(--muted); }

/* ===== Entry Form Section (entry page) ===== */
.entry-form-section { padding: 120px 52px 110px; background: var(--white); position: relative; }
.entry-form-section::before {
  content: 'ENTRY';
  position: absolute; top: 60px; left: 50%; transform: translateX(-50%);
  font-family: 'Barlow', sans-serif; font-size: clamp(5rem, 18vw, 15rem);
  font-weight: 900; color: var(--navy); opacity: .03; white-space: nowrap; pointer-events: none;
}
.entry-form__inner { max-width: 760px; margin: 0 auto; position: relative; z-index: 1; }
.entry-form__head { margin-bottom: 56px; text-align: center; }
.entry-form__head .sec-rule { justify-content: center; }

/* FAQ Section (entry page) */
.faq-section { padding: 120px 52px; background: var(--off); position: relative; }
.faq-section::before {
  content: 'FAQ';
  position: absolute; top: 60px; left: 50%; transform: translateX(-50%);
  font-family: 'Barlow', sans-serif; font-size: clamp(5rem, 20vw, 16rem);
  font-weight: 900; color: var(--navy); opacity: .03; white-space: nowrap; pointer-events: none;
}
.faq-section__inner { max-width: 840px; margin: 0 auto; position: relative; z-index: 1; }

/* Contact Form 7 adaptation */
.wpcf7-form { display: flex; flex-direction: column; gap: 24px; }
.wpcf7-form p { margin: 0; }
.wpcf7-text,
.wpcf7-email,
.wpcf7-tel,
.wpcf7-textarea {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--gray);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: .84rem; color: var(--text);
  background: var(--white); outline: none;
  transition: border-color .3s, box-shadow .3s;
  -webkit-appearance: none; appearance: none;
  border-radius: 0;
}
.wpcf7-text:focus,
.wpcf7-email:focus,
.wpcf7-tel:focus,
.wpcf7-textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,42,107,.08);
}
.wpcf7-textarea { resize: vertical; min-height: 160px; line-height: 1.9; }
.wpcf7-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 20px 64px; background: var(--magenta); color: var(--white);
  font-size: .88rem; font-weight: 700; letter-spacing: .14em;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  border: none; cursor: pointer;
  transition: background .3s, transform .3s, box-shadow .3s;
}
.wpcf7-submit:hover { background: var(--navy); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(212,0,106,.28); }
.wpcf7-not-valid-tip { color: var(--magenta); font-size: .68rem; }
.wpcf7 .screen-reader-response { display: none; }
.wpcf7-response-output { padding: 12px 16px; font-size: .82rem; border: none; }
.wpcf7-form.sent .wpcf7-response-output { background: rgba(27,42,107,.06); color: var(--navy); }
.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.invalid .wpcf7-response-output { background: rgba(212,0,106,.05); color: var(--magenta); }

/* ===== Entry Form Custom (ent-* classes) ===== */
.ent-form { display: flex; flex-direction: column; gap: 20px; }
.ent-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ent-field { display: flex; flex-direction: column; gap: 8px; }
.ent-field .wpcf7-form-control-wrap { display: block; }
.ent-label {
  font-size: .8rem; font-weight: 700; color: var(--navy);
  letter-spacing: .05em; display: flex; align-items: center; gap: 8px;
}
.ent-req {
  font-family: 'Barlow', sans-serif; font-size: .6rem; font-weight: 700;
  letter-spacing: .1em; background: var(--magenta); color: var(--white); padding: 2px 8px;
}
.ent-opt {
  font-family: 'Barlow', sans-serif; font-size: .6rem; font-weight: 700;
  letter-spacing: .1em; background: var(--gray); color: var(--muted); padding: 2px 8px;
}
.ent-input {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--gray);
  font-family: 'Noto Sans JP', sans-serif; font-size: .84rem; color: var(--text);
  background: var(--white); outline: none;
  transition: border-color .3s, box-shadow .3s;
  -webkit-appearance: none; appearance: none; border-radius: 0;
}
.ent-input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27,42,107,.08); }
.ent-textarea {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--gray);
  font-family: 'Noto Sans JP', sans-serif; font-size: .84rem; color: var(--text);
  background: var(--white); outline: none;
  transition: border-color .3s, box-shadow .3s;
  -webkit-appearance: none; appearance: none; border-radius: 0;
  resize: vertical; min-height: 180px; line-height: 1.9;
}
.ent-textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27,42,107,.08); }
.ent-privacy {
  font-size: .76rem; line-height: 2; color: var(--muted);
  padding: 20px 24px; background: var(--off); border-left: 3px solid var(--yellow);
}
.ent-privacy__link { color: var(--navy); font-weight: 700; text-decoration: underline; }
.ent-privacy__link:hover { color: var(--magenta); }
.ent-check-row { font-size: .8rem; color: var(--text); }
.ent-check-row p { margin: 0; }
.ent-check-row label {
  display: flex; align-items: center; gap: 16px; cursor: pointer;
}
.ent-check-row input[type="checkbox"] {
  width: 18px; height: 18px; flex-shrink: 0;
  accent-color: var(--navy); cursor: pointer;
}
.ent-cf7-submit:disabled {
  opacity: .35; cursor: not-allowed; background: var(--muted);
  transform: none !important; box-shadow: none !important;
}
.ent-submit-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 8px; }
.ent-submit-note { font-size: .72rem; color: var(--muted); letter-spacing: .06em; }
.ent-cf7-submit {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 20px 64px; background: var(--magenta); color: var(--white);
  font-family: 'Noto Sans JP', sans-serif; font-size: .88rem; font-weight: 700; letter-spacing: .14em;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  border: none; cursor: pointer;
  transition: background .3s, transform .3s, box-shadow .3s;
}
.ent-cf7-submit:hover { background: var(--navy); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(212,0,106,.28); }
@media (max-width: 640px) {
  .ent-row { grid-template-columns: 1fr; }
  .ent-cf7-submit { padding: 18px 48px; width: 100%; }
}

/* ===== Privacy (privacy page) ===== */
.privacy { padding: 100px 52px 120px; background: var(--off); }
.privacy__inner { max-width: 860px; margin: 0 auto; }
.privacy__date {
  font-family: 'Barlow', sans-serif; font-size: .68rem; font-weight: 600;
  letter-spacing: .2em; color: var(--muted); margin-bottom: 48px;
  padding-bottom: 20px; border-bottom: 1px solid var(--gray);
}
.privacy__intro {
  font-size: .88rem; line-height: 2.4; color: var(--text);
  margin-bottom: 56px; padding: 28px 32px;
  background: var(--white); border-left: 4px solid var(--navy);
}
.privacy__section { margin-bottom: 48px; }
.privacy__section-num {
  font-family: 'Barlow', sans-serif; font-size: .6rem; font-weight: 700;
  letter-spacing: .3em; color: var(--magenta); display: block; margin-bottom: 8px;
}
.privacy__section-title {
  font-size: 1rem; font-weight: 700; color: var(--navy);
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 2px solid var(--gray); position: relative;
}
.privacy__section-title::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 40px; height: 2px; background: var(--navy);
}
.privacy__section p { font-size: .86rem; line-height: 2.4; color: var(--text); margin-bottom: 12px; }
.privacy__section p:last-child { margin-bottom: 0; }
.privacy__section ul { list-style: none; margin: 8px 0 12px; display: flex; flex-direction: column; gap: 8px; }
.privacy__section ul li { font-size: .86rem; line-height: 2; color: var(--text); padding-left: 18px; position: relative; }
.privacy__section ul li::before { content: ''; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--navy); }
.privacy__contact {
  margin-top: 64px; padding: 36px 40px;
  background: var(--white); border: 1px solid var(--gray);
  position: relative; overflow: hidden;
}
.privacy__contact::before {
  content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
  background: linear-gradient(to bottom, var(--yellow), var(--magenta));
}
.privacy__contact-title {
  font-family: 'Barlow', sans-serif; font-size: .65rem; font-weight: 700;
  letter-spacing: .3em; color: var(--magenta); display: block; margin-bottom: 10px;
}
.privacy__contact h3 { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.privacy__contact p { font-size: .84rem; line-height: 2.3; color: var(--muted); }
.privacy__contact strong { color: var(--navy); }

/* ===== Person Hero (interview detail pages) ===== */
.person-hero { position: relative; min-height: 520px; display: flex; align-items: flex-end; overflow: hidden; }
.person-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.person-hero__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(27,42,107,.95) 0%, rgba(27,42,107,.5) 50%, rgba(0,0,0,.3) 100%); }
.person-hero__content { position: relative; z-index: 10; padding: 60px 52px; width: 100%; }
.person-hero__initial {
  font-family: 'Barlow', sans-serif; font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 900; color: white; line-height: 1; margin-bottom: 16px;
}
.person-hero__tag {
  font-family: 'Barlow', sans-serif; font-size: .65rem; font-weight: 700;
  letter-spacing: .3em; background: var(--yellow); color: var(--dark);
  display: inline-block; padding: 4px 14px; margin-bottom: 12px;
}
.person-hero__univ { font-size: 1.15rem; font-weight: 700; color: rgba(255,255,255,.9); letter-spacing: .05em; margin-bottom: 8px; }
.person-hero__meta { font-size: .85rem; color: rgba(255,255,255,.75); line-height: 2; }
.person-hero__accent { position: absolute; top: 0; right: 0; width: 5px; height: 100%; background: linear-gradient(to bottom, var(--yellow), var(--magenta)); }
.breadcrumb-bar {
  position: absolute; top: 90px; left: 52px; z-index: 10;
  font-size: .65rem; color: rgba(255,255,255,.45); letter-spacing: .12em;
}
.breadcrumb-bar a { color: rgba(255,255,255,.45); transition: color .3s; }
.breadcrumb-bar a:hover { color: var(--white); }
.breadcrumb-bar span { margin: 0 8px; }

/* ===== Interview Detail (QA) ===== */
.interview-detail { padding: 100px 52px 80px; background: var(--white); }
.interview-detail__inner { max-width: 800px; margin: 0 auto; }
.qa-block { margin-bottom: 60px; padding-bottom: 60px; border-bottom: 1px solid var(--gray); }
.qa-block:last-child { border-bottom: none; margin-bottom: 0; }
.qa-q { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 28px; }
.qa-q__badge {
  flex-shrink: 0; width: 48px; height: 48px; background: var(--navy); color: var(--white);
  font-family: 'Barlow', sans-serif; font-size: 1.3rem; font-weight: 900;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.qa-q__num { font-family: 'Barlow', sans-serif; font-size: .62rem; font-weight: 700; letter-spacing: .2em; color: var(--muted); display: block; margin-bottom: 4px; }
.qa-q__text { font-size: 1rem; font-weight: 700; color: var(--navy); line-height: 1.7; padding-top: 10px; }
.qa-a { border-left: 3px solid var(--magenta); padding-left: 24px; margin-left: 68px; }
.qa-a__text { font-family: 'Klee One', cursive; font-size: .95rem; line-height: 2.2; color: var(--muted); }
.qa-photo { margin: 0 0 60px; overflow: hidden; }
.qa-photo img { width: 100%; max-height: 420px; object-fit: cover; object-position: top; display: block; }

/* ===== Person Nav ===== */
.person-nav {
  background: var(--off); padding: 60px 52px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.person-nav__back {
  text-align: center; flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Barlow', sans-serif; font-size: .7rem; font-weight: 700; letter-spacing: .2em;
  color: var(--muted); transition: color .3s;
}
.person-nav__back:hover { color: var(--navy); }
.person-nav__link {
  display: flex; align-items: center; gap: 14px; padding: 20px 28px;
  background: var(--white); border: 1px solid var(--gray);
  transition: border-color .3s, box-shadow .3s, transform .3s;
  flex: 1; max-width: 280px;
}
.person-nav__link:hover { border-color: var(--navy); box-shadow: 0 6px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.person-nav__link--prev { flex-direction: row-reverse; text-align: right; }
.person-nav__link-img { width: 60px; height: 60px; object-fit: cover; object-position: top; border-radius: 50%; flex-shrink: 0; }
.person-nav__link-label { font-family: 'Barlow', sans-serif; font-size: .58rem; font-weight: 700; letter-spacing: .2em; color: var(--muted); display: block; margin-bottom: 4px; }
.person-nav__link-name { font-family: 'Barlow', sans-serif; font-size: 1rem; font-weight: 900; color: var(--navy); }
.person-nav__link-dept { font-size: .7rem; color: var(--muted); }
.person-nav__arrow { font-size: .9rem; color: var(--muted); flex-shrink: 0; transition: transform .3s, color .3s; }
.person-nav__link:hover .person-nav__arrow { color: var(--navy); }
.person-nav__link--next:hover .person-nav__arrow { transform: translateX(4px); }
.person-nav__link--prev:hover .person-nav__arrow { transform: translateX(-4px); }

/* ===== Entry CTA ===== */
.entry { position: relative; height: 460px; overflow: hidden; }
.entry__bg { position: absolute; inset: 0; background: url('../img/entry.jpg') center/cover no-repeat; }
.entry__overlay { position: absolute; inset: 0; background: linear-gradient(145deg, rgba(27,42,107,.9) 0%, rgba(212,0,106,.6) 100%); }
.entry__content {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 48px 24px;
}
.entry__hand {
  font-family: 'ふい字P', sans-serif; font-size: clamp(1.5rem, 4vw, 2.8rem);
  font-weight: normal; color: var(--white); line-height: 1.5; margin-bottom: 12px;
}
.entry__sub { font-size: .86rem; color: rgba(255,255,255,.75); line-height: 2; margin-bottom: 40px; }
.entry__btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ===== Footer ===== */
.footer { background: var(--navy); padding: 60px 52px 28px; }
.footer__inner { max-width: 1100px; margin: 0 auto; }
.footer__top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 48px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); flex-wrap: wrap;
}
.footer__logo img { height: 52px; }
.footer__info { margin-top: 20px; font-size: .76rem; color: rgba(255,255,255,.5); line-height: 2.3; }
.footer__info a { color: inherit; transition: color .3s; }
.footer__info a:hover { color: var(--white); }
.footer__nav { display: flex; gap: 52px; flex-wrap: wrap; }
.footer__col h4 { font-family: 'Barlow', sans-serif; font-size: .65rem; font-weight: 700; letter-spacing: .26em; color: var(--yellow); margin-bottom: 16px; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer__col li a { font-size: .76rem; color: rgba(255,255,255,.52); transition: color .3s; }
.footer__col li a:hover { color: var(--white); }
.footer__bottom { padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer__copy { font-size: .66rem; color: rgba(255,255,255,.3); }
.footer__policy { font-size: .66rem; color: rgba(255,255,255,.3); transition: color .3s; }
.footer__policy:hover { color: rgba(255,255,255,.65); }
.footer__corp-btn { text-align: center; padding: 28px 0; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 4px; }
.footer__corp-link {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 40px; background: rgba(255,255,255,.08); color: var(--white);
  font-size: .78rem; font-weight: 700; letter-spacing: .16em;
  border: 1px solid rgba(255,255,255,.22); transition: background .3s, border-color .3s;
}
.footer__corp-link:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.5); }
.footer__dots { display: flex; gap: 7px; }
.footer__dot { width: 9px; height: 9px; border-radius: 50%; }

/* ===== Float Buttons ===== */
.float-btns { position: fixed; bottom: 32px; right: 32px; z-index: 980; display: flex; gap: 10px; align-items: flex-end; }
.cv-float {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: var(--magenta); color: var(--white);
  padding: 18px 22px; font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; line-height: 1.5; text-align: center;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  box-shadow: 0 8px 32px rgba(212,0,106,.38);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .4s, transform .4s, background .3s, box-shadow .3s;
}
.cv-float--show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.cv-float:hover { background: var(--yellow); color: var(--dark); box-shadow: 0 12px 40px rgba(245,200,0,.4); }
.cv-float__icon { font-size: 1.3rem; line-height: 1; display: flex; align-items: center; justify-content: center; }
.cv-float__text { font-size: .62rem; letter-spacing: .08em; }
.cv-float--mynavi { background: #00a0e9; box-shadow: 0 8px 32px rgba(0,160,233,.38); }
.cv-float--mynavi:hover { background: var(--navy) !important; color: var(--white) !important; box-shadow: 0 12px 40px rgba(27,42,107,.4) !important; }
.cv-float--mynavi .cv-float__logo { height: 1.3rem; width: auto; max-width: 2.5rem; object-fit: contain; filter: brightness(0) invert(1); display: block; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .header { padding: 18px 28px; }
  .header.scrolled { padding: 12px 28px; }
  .header__nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }
  .header__recruit-label { display: none; }
  /* TOP */
  .message__inner { grid-template-columns: 1fr; gap: 48px; }
  .message__img-wrap { max-width: 360px; margin: 0 auto; }
  .culture__feature { grid-template-columns: 1fr; min-height: auto; }
  .culture__feature-img { height: 280px; }
  .persons { grid-template-columns: repeat(2, 1fr); }
  .persons__center-row { grid-template-columns: 1fr 1fr; }
  /* message page */
  .message-main__inner { grid-template-columns: 1fr; gap: 48px; }
  .message-main__img-wrap { max-width: 380px; margin: 0 auto; }
  .beliefs__grid { grid-template-columns: repeat(2, 1fr); }
  /* culture page */
  .numbers__grid { grid-template-columns: repeat(2, 1fr); }
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .education__grid { grid-template-columns: 1fr; }
  .numbers__banner { gap: 24px; padding: 28px 32px; }
  /* recruit page */
  .incentive__cards { grid-template-columns: 1fr; }
  /* page hero */
  .page-hero { padding: 140px 28px 90px; }
}
@media (max-width: 768px) {
  /* TOP */
  .fv { height: 80vh; min-height: 480px; }
  .interview, .message, .culture, .jobs, .recruiting { padding-left: 24px; padding-right: 24px; }
  .vr__inner { padding-left: 0; padding-right: 0; }
  .culture__feature-text { padding: 40px 20px; }
  .interview__cta-btn { padding: 18px 40px; }
  .float-btns { bottom: 62px; }
  .sp-br { display: block; }
  .pc-br { display: none; }
  .persons { grid-template-columns: 1fr; }
  .persons__center-row { grid-template-columns: 1fr; }
  .pcard__overlay { transform: translateY(0) !important; }
  .pcard__detail { max-height: 220px !important; margin-top: 14px !important; }
  .flow__track { flex-direction: column; align-items: center; gap: 28px; }
  .flow__track::before { display: none; }
  .faq__a { padding-left: 26px; }
  .faq__a-wrap { gap: 10px; }
  .jitem__body { flex-wrap: wrap; padding: 20px 22px; }
  .jitem__salary { text-align: left; }
  /* message page */
  .message-main { padding: 80px 24px 120px; }
  .beliefs { padding: 80px 24px 80px; }
  .beliefs__grid { grid-template-columns: 1fr; }
  /* culture page */
  .numbers { padding: 80px 24px 100px; }
  .benefits { padding: 80px 24px 80px; }
  .education { padding: 80px 24px 120px; }
  .numbers__banner { flex-direction: column; gap: 20px; }
  .numbers__banner-arrow { transform: rotate(90deg); }
  .benefits__grid { grid-template-columns: 1fr; }
  .benefits__grid .bitem:last-child:nth-child(3n+1) { grid-column: auto; }
  .ha-images { gap: 12px; }
  .ha-images__left, .ha-images__right { height: 160px; }
  /* recruit page */
  .recruit-jobs, .incentive, .flow-section { padding-left: 24px; padding-right: 24px; }
  .page-hero { padding: 140px 24px 90px; }
  .recruit-jobs__head { text-align: center; }
  .recruit-jobs__head .sec-rule { justify-content: center; }
  .job-card__header { padding: 32px 28px; flex-direction: column; align-items: flex-start; gap: 20px; }
  .job-card__tag { top: 16px; right: 16px; }
  .job-table-wrap { padding: 32px 24px; }
  .job-table th { width: 120px; font-size: .68rem; }
  .job-table td { padding-left: 18px; }
  /* entry page */
  .entry-form-section { padding-left: 15px; padding-right: 15px; }
  .faq-section { padding-left: 24px; padding-right: 24px; }
  .ent-privacy { padding-left: 15px; padding-right: 15px; }
  /* privacy page */
  .privacy { padding-left: 15px; padding-right: 15px; }
  /* interview detail */
  .interview-detail { padding: 60px 24px 60px; }
  .person-hero__content { padding: 40px 24px; }
  .breadcrumb-bar { left: 24px; top: 80px; }
  .qa-a { margin-left: 0; }
  .person-nav { padding: 40px 24px; flex-direction: column; align-items: stretch; }
  .person-nav__link { max-width: 100%; }
  /* footer */
  .footer { padding: 44px 24px 22px; }
  .footer__top { flex-direction: column; }
  .footer__nav { gap: 32px; }
}
@media (max-width: 580px) {
  .job-table { display: block; }
  .job-table tbody { display: block; }
  .job-table tr { display: block; border-bottom: 1px solid var(--gray); padding: 16px 0; }
  .job-table th, .job-table td { display: block; width: 100%; padding: 4px 0; border-left: none; }
  .job-table th { padding-bottom: 6px; }
  .job-table td { padding-left: 0; border-top: 1px dashed var(--gray); }
}
@media (max-width: 640px) {
  .fv__copy {
    left: 24px;
    right: 24px;
    font-size: 1.2rem;
  }
}
@media (max-width: 480px) {
  .entry__btns { flex-direction: column; align-items: center; }
  .btn-p, .btn-s { width: 260px; justify-content: center; }
  .numbers__grid { grid-template-columns: 1fr 1fr; }
  .edu-card { padding: 32px 24px; }
  .message-main__inner { gap: 36px; }
}
