/* ============== Recruit: common ============== */
.sec__container { max-width: 1200px; padding: 0 16px; margin: 0 auto; }
.sec__head { position: relative; max-width: 1200px; padding: 0 16px; margin: 0 auto 80px; }
.sec__eyebrow { position: absolute; left: -8px; display: inline-block; font-size: 1.5rem; font-weight: 700; color: #fff; background-color: #111; transform-origin: left top; transform: rotate(90deg); padding: 4px; }
.sec__title { display: inline-block; font-family: "Jost", sans-serif; font-size: 6.0rem; font-weight: 500; margin-bottom: 24px; }
.sec__lead { font-size: 1.5rem; line-height: 1.6; }

@media (max-width: 1280px) {
  .sec__eyebrow { left: 0; top: -40px; transform: rotate(0); }
}
@media (max-width: 768px) {
  .sec__head { margin: 0 auto 40px; }
  .sec__eyebrow { font-size: 1.4rem; }
  .sec__title { font-size: 4.0rem; margin-bottom: 8px; }
  .sec__lead { font-size: 1.4rem; }
}

/* ============== Recruit: hero ============== */
.hero { position: relative; height: 800px; min-height: 800px; overflow: hidden; }
@media (max-width: 900px) { .hero { height: 500px; min-height: 500px; } }

.hero__rail { position: absolute; inset: 0; }
.hero__track { position: absolute; top: 0; left: 0; display: flex; width: max-content; animation: scroll-left 120s linear infinite; }
@keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.hero__set { display: grid; grid-template-rows: auto auto; }
.hero__row { display: flex; gap: 0; }
.hero__row--top { transform: translateY(-266.6667px); }
.hero__row--bottom { transform: translateY(-533.3333px); }
@media (max-width: 900px) { .hero__row--top { transform: translateY(-166.6667px); } .hero__row--bottom { transform: translateY(-333.3333px); } }

.hero__slot { position: relative; width: 800px; height: 800px; overflow: hidden; margin-left: -267.6667px; clip-path: polygon(66.6667% 0%, 100% 33.3333%, 33.3333% 100%, 0% 66.6667%); flex-shrink: 0; }
@media (max-width: 900px) { .hero__slot { width: 500px; height: 500px; margin-left: -167.6667px; } }

.hero__img { position: absolute; max-width: none; inset: -4% -4%; width: 108%; height: 108%; object-fit: cover; opacity: 0; transition: opacity 900ms ease; user-select: none; pointer-events: none; }
html:not(.js) .hero__img:first-child { opacity: 1; }
.hero__img.active { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero__track { animation: none; } .hero__img { transition: none; } }

.hero__overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(205,28,250,0.5) 0%, rgba(30,130,190,0.7) 100%); z-index: 5; pointer-events: none; }
.hero__overlay-shape { position: absolute; top: 0; left: 0; height: 480px; width: auto; object-fit: contain; }
@media (max-width: 768px) { .hero__overlay-shape { width: 80%; height: auto; } }

.hero__tagline { position: absolute; left: clamp(20px, 6vw, 160px); top: 50%; transform: translateY(-50%); z-index: 10; display: flex; flex-direction: column; gap: 1em; max-width: min(42vw, 720px); pointer-events: none; }
.hero__tagline-line { margin: 0; font-weight: 900; font-size: 14.0rem; letter-spacing: 0; color: #fff; white-space: nowrap; text-shadow: 0 1px 0 rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35); opacity: 0; transform: translateY(18px) skewX(-12deg); filter: blur(6px); animation: tagline-in 1200ms cubic-bezier(.2,.8,.2,1) forwards; }
.hero__tagline-line--1 { animation-delay: 0ms; }
.hero__tagline-line--2 { animation-delay: 260ms; }
.hero__tagline-line--3 { animation-delay: 520ms; }
@keyframes tagline-in { 0% { opacity: 0; transform: translateY(18px) skewX(-12deg); filter: blur(6px); letter-spacing: .06em; } 60% { opacity: 1; filter: blur(0); } 100% { opacity: 1; transform: translateY(0) skewX(-12deg); filter: blur(0); letter-spacing: 0; } }
@media (max-width: 900px) { .hero__tagline { left: 16px; } .hero__tagline-line { font-size: 6.0rem; } }
@media (prefers-reduced-motion: reduce) { .hero__tagline-line { opacity: 1; transform: none; filter: none; animation: none; } }

.recruit-hero__cta { position: absolute; top: 50%; transform: translateY(-50%); right: -50px; z-index: 6; width: 400px; height: 400px; border-radius: 9999px; border: 2px solid rgba(255,255,255,.75); background: transparent; color: #fff; font-family: "Jost", sans-serif; font-size: clamp(16px, 1.6vw, 24px); font-weight: 500; letter-spacing: .28em; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: .3s ease; }
.recruit-hero__cta:hover { backdrop-filter: blur(6px) saturate(120%); transform: translateY(-50%) scale(1.2); }
@media (max-width: 900px) { .recruit-hero__cta { right: -8vw; width: 40vw; height: 40vw; } }

/* ============== Recruit: laws ============== */
.laws { position: relative; overflow: hidden; padding: 80px 0 0; }
.laws::before, .laws::after { content: ""; position: absolute; left: 0; right: 0; height: 240px; z-index: -1; transform: skewY(-2deg); }
.laws::before { top: -80px; background: linear-gradient(120deg, #f6f5fc 0%, #ffffff 100%); transform-origin: 0 0; }
.laws::after { bottom: -160px; background: #f6f5fc; transform-origin: 100% 100%; }
.laws__text { text-align: center; }
.laws__tagline { font-size: 4.8rem; font-weight: 900; letter-spacing: 0; transform: skewX(-4deg); color: #764fdb; margin-bottom: 56px; }
.laws__lead { font-size: 1.8rem; line-height: 2; }
.laws__cta { margin: 48px 0 120px; }

@media (max-width: 768px) {
  .laws { padding: 80px 0 0; }
  .laws::before, .laws::after { height: 160px; }
  .laws::after { bottom: -100px; }
  .laws__text { flex-direction: column; text-align: left; }
  .laws__tagline { font-size: 2.6rem; margin-bottom: 24px; }
  .laws__lead { font-size: 1.6rem; line-height: 1.75; }
  .laws__cta { text-align: center; margin: 32px 0 80px; }
}

/* ============== Recruit: culture ============== */
.culture { background-color: #f6f5fc; padding: 80px 0; }
.culture__slide { width: 100%; margin: 0 auto; }

@media (max-width: 900px) {
  .culture { padding: 40px 0 80px; }
}

/* ============== Recruit: message ============== */
.message { padding: 80px 0; }
.message__panel { display: flex; align-items: flex-start; gap: 40px; }
.message__photo { display: flex; flex: 0 0 clamp(260px, 32vw, 480px); box-shadow: -36px 36px 0 #f6f5fc; }
.message__photo img { max-width: 100%; height: auto; }
.message__text { flex: 1 1 auto; min-width: 0; }
.message__text p { line-height: 2; }
.message__text p + p { margin-top: 1em; }

@media (max-width: 900px) {
  .message__panel { flex-direction: column; gap: 16px; }
  .message__photo { align-self: center; max-width: min(520px, 100%); }
  .message__text { max-width: none; }
}

/* ============== Recruit: voices ============== */
.voices { padding: 40px 0 80px; }
.voices__outer { max-width: 1200px; margin: 0 auto; overflow: hidden; }
.voices__viewport{ overflow-x: auto; overflow-y: visible; -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; touch-action: pan-x pan-y; }
.voices__viewport::-webkit-scrollbar{ display:none; width:0; height:0; }
.voices__track{ display:flex; gap:18px; width:max-content; }
.voices__group{ display:flex; gap:18px; }
.voices__viewport{ scroll-snap-type:x proximity; }
.voices__item{ scroll-snap-align:start; }
.voices__item{ display:flex; flex-direction:column; width:240px; flex:0 0 240px; background:#fff; border:1px solid #e5e7eb; overflow:hidden; text-decoration:none; -webkit-tap-highlight-color:transparent; }
.voices__item:focus-visible{ outline:2px solid #764fdb; outline-offset:2px; }
.voices__figure{ background:#f3f4f6; }
.voices__figure img{ user-select:none; -webkit-user-drag:none; pointer-events:none; width:100%; height:100%; object-fit:cover; display:block; transition:filter .35s ease; }
.voices__body{ padding:16px; }
.voices__name{ font-size:1.6rem; }
.voices__role{ font-size:1.4rem; color:#6b7280; margin-top:8px; }

/* ============== Recruit: roles ============== */
.roles { background-color: #f6f5fc; padding: 80px 0; }
.roles__list { border-top: 1px solid #e5e7eb; }
.roles__item { border-bottom: 1px solid transparent; border-image: linear-gradient(90deg, #e6e2ff, #e5e7eb) 1; transition: background-color .3s ease; }
.roles__item + .roles__item { margin-top: 0; }
.roles__item.is-open { background: #ffffff; }
.roles__head { display: flex; align-items: center; gap: 0; width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 32px 56px 32px 24px; position: relative; transition: background-color .3s ease; }
.roles__head:hover { background-color: #ffffff; }
.roles__head::after { content: ""; position: absolute; top: 50%; right: 32px; transform: translateY(-50%); width: 14px; height: 14px; pointer-events: none; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat; transition: background-size .5s ease; }
.roles__head[aria-expanded="true"]::after { background-size: 100% 2px, 0 0; }
.roles__dept { font-weight: 700; font-size: 1.8rem; color: #333; white-space: nowrap; margin-right: 0; }
.roles__role { flex: 1 1 auto; font-size: 1.4rem; font-weight: 400; letter-spacing: .05em; color: #6b7280; white-space: nowrap; position: relative; }
.roles__role::before { content: "|"; display: inline-block; margin: 0 10px 0 10px; transform: translateY(-.02em); font-size: 14px; line-height: 1; color: #6b7280; }
.roles__panel { overflow: hidden; height: 0; opacity: 0; transition: height .3s ease, opacity .5s ease; will-change: height, opacity; }
.roles__panel-inner { background: #ffffff; padding: 0 32px 32px; color: #333; }
.roles__desc { font-size: 1.5rem; line-height: 1.6; margin: 0 0 16px 0; }
.roles__cta { margin: 24px 0 0; padding: 0; list-style: none; }
.roles__cta > li { margin: 0 0 12px; padding: 0; line-height: 1.3; }
.roles__cta > li:last-child { margin-bottom: 0; }
.roles__cta a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 16px; line-height: 1.3; border: 2px solid #111; border-radius: 4px; font-weight: 700; font-size: 1.5rem; color: #111; text-decoration: none; transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .3s ease; }
.roles__cta a:hover { background-color: #111; color: #fff; border-color: #111; transform: translateY(-1px); }
.roles__cta a:active { transform: translateY(0); }
.roles__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 16px; line-height: 1.3; border: 2px solid #cfcfcf; border-radius: 4px; font-weight: 700; font-size: 1.5rem; background: #eee; color: #888; }
.roles__btn--disabled { cursor: not-allowed; pointer-events: none; }
.roles__btn:disabled { cursor: not-allowed; pointer-events: none; }

.roles-link { margin-top: 24px; }
.roles-link__btn { display: inline-block; font-size: 1.5rem; font-weight: 700; color: #000; position: relative; padding-right: 16px; transition: .3s; }
.roles-link__btn::after { content: ''; position: absolute; top: 50%; right: 0; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translateY(-50%) rotate(45deg); }
.roles-link__btn:hover { opacity: 0.5; }

@media (max-width: 768px) {
  .roles__head::after { right: 16px; }
  .roles__head { padding: 24px 40px 24px 16px; }
  .roles__dept { order: -1; font-size: 1.6rem; }
  .roles__role { width: 100%; font-size: 1.2rem; }
  .roles__role::before { margin: 0 8px 0 8px; font-size: 1.2rem; }
  .roles__panel-inner { padding: 0 16px 24px; }
  .roles__cta a { padding: 8px 12px; }
}

/* ============== Recruit: environment ============== */
.environment { padding: 80px 0; }
.environment__gallery { display: flex; gap: 16px; flex-wrap: nowrap; align-items: stretch; overflow: hidden; }
.environment__gallery > img { flex: 1 1 0; min-width: 0; width: 0; aspect-ratio: 3/4; height: auto; object-fit: cover; display: block; position: static; opacity: 1; transition: none; }
.environment__intro { padding: 0 0 80px; }
.environment__intro-title { display: flex; align-items: center; gap: 0; width: 100%; text-align: left; background: none; border: 0; padding: 0; margin: 24px 0 8px; position: relative; }
.environment__intro-ja { font-weight: 800; font-size: 2rem; color: #111; white-space: nowrap; margin-right: 0; }
.environment__intro-en { flex: 1 1 auto; font-size: 1.4rem; font-weight: 400; letter-spacing: .05em; color: #6b7280; white-space: nowrap; position: relative; padding-left: 16px; }
.environment__intro-en::before { content: ""; position: absolute; left: 8px; top: 50%; width: 1px; height: 1.1em; background: #d1d5db; transform: translateY(-50%); }
.environment__intro-lead { color: #111827; line-height: 1.9; }
.environment__row { display: flex; flex-direction: row; align-items: stretch; gap: 28px; position: relative; }
.environment__row--reverse { display: flex; flex-direction: row; align-items: stretch; gap: 28px; position: relative; padding: 80px 0 0; }
.environment__media { order: 0; display: flex; flex: 0 1 40%; }
.environment__media img { width: 100%; height: 100%; max-height: 460px; object-fit: cover; display: block; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.environment__content { order: 0; flex: 1 1 60%; display: flex; flex-direction: column; justify-content: center; padding: 6px 8px; }
.environment__block-title { display: flex; align-items: center; gap: 0; width: 100%; text-align: left; background: none; border: 0; padding: 0; margin: 0 0 10px; position: relative; font-weight: 800; font-size: 2rem; color: #111; }
.environment__block-lead { color: #111827; line-height: 1.9; }
.environment__row--band { position: relative; padding: 80px 0; }
.environment__row--band::before { content: ""; position: absolute; z-index: -1; inset: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); background: #f6f5fc; }

.environment__list { margin-top: 16px; }
.environment__list > li { position: relative; padding-left: 0.8em; font-size: 1.5rem; font-weight: 400; line-height: 1.3; margin-bottom: 8px; }
.environment__list > li:last-child { margin-bottom: 0; }
.environment__list > li::before { content: ""; position: absolute; top: 0.75em; left: 0; width: 4px; height: 4px; background: #9ca3af; border-radius: 50%; }
.environment__list a { color: inherit; text-decoration: none; transition: opacity .3s ease; }
.environment__list a:hover { opacity: .5; }

.environment__list ul { padding-left: 0.8em; margin-bottom: 8px; }
.environment__list ul li { position: relative; padding-left: 0.8em; font-size: 1.5rem; font-weight: 400; line-height: 1.3; margin-bottom: 4px; }
.environment__list ul li::before { content: ""; position: absolute; top: 9px; left: 0; width: 8px; height: 1px; background: #9ca3af; border-radius: 1px; }

@media (max-width: 900px) {
  .environment__gallery { display: block; position: relative; width: 100%; aspect-ratio: 3/4; overflow: hidden; }
  .environment__gallery > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
  .environment__gallery > img.is-active { opacity: 1; }
  .environment__intro { padding: 0 0 40px; }
  .environment__intro-title { margin: 16px 0 8px; }
  .environment__intro-ja { font-size: 1.8rem; }
  .environment__intro-en { font-size: 1.3rem; padding-left: 12px; }
  .environment__intro-en::before { left: 6px; height: 1em; }
  .environment__row { flex-direction: column; align-items: stretch; gap: 16px; }
  .environment__row--reverse { flex-direction: column; align-items: stretch; gap: 16px; padding: 40px 0 0; }
  .environment__media { order: -1; flex: 0 1 auto; }
  .environment__media img { max-height: 320px; }
  .environment__content { padding: 0; flex: 1 1 auto; }
  .environment__block-title { font-size: 1.8rem; }
  .environment__row--band { padding: 40px 0; }
}

/* ============== Recruit: more ============== */
.more { padding: 80px 0; background: #f6f5fc; }
.more .sec__lead { color: #111827; }
.more__items { display: flex; flex-wrap: wrap; gap: 16px; }
.more__item { flex: 0 0 calc((100% - 16px*3)/4); }
.more__link { display: block; color: inherit; -webkit-tap-highlight-color: transparent; transition: .3s ease; }
.more__figure { position: relative; overflow: hidden; aspect-ratio: 16/9; background: #f3f4f6; border-radius: 4px; }
.more__figure img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 4px; }
.more__link:hover { opacity: .8; }
.more__meta { padding: 8px 0 0; }
.more__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; font-size: 1.5rem; font-weight: 700; color: #111; }
.more__title .mi { font-size: 1.3em; line-height: 1; vertical-align: -0.2em; margin-right: 4px; }
.more__title .more__ext { margin-left: 4px; font-size: 1.2em; }
.more__badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.badge { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 1.2rem; font-weight: 700; color: #111; background: #eef2ff; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: currentColor; opacity: .7; }
.badge--purple { background: #f1ecff; color: #764fdb; }
.badge--blue   { background: #e8f3fb; color: #1e82be; }
.badge--green  { background: #e9f7ef; color: #15803d; }
.badge--orange { background: #fff3e6; color: #d97706; }

@media (max-width: 900px){
  .more { padding: 40px 0; }
  .more__item { flex-basis: calc((100% - 18px)/2); }
  .more__title { -webkit-line-clamp: 3; font-size: 1.3rem; }
}

/* ============== Recruit: footer ============== */
.recruit-footer { background: #2f2f2f; color: #fff; padding: 32px 0; }
.recruit-footer__inner { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 72px; }
.recruit-footer__brand { display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: inherit; margin-top: 32px; }
.recruit-footer__logo { height: 40px; width: auto; }
.recruit-footer__tag { font-family: "Jost", sans-serif; font-size: 3.2rem; font-weight: 500; letter-spacing: .1em; }
.recruit-footer__nav { display: flex; gap: 64px; flex-wrap: wrap; flex: 1 1 520px; margin-top: 32px; }
.recruit-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 32px; }
.recruit-footer__item { font-size: 1.4rem; color: #999; }
.recruit-footer__link { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 0; }
.recruit-footer__link .recruit-footer__ja:hover { opacity: .5; }
.recruit-footer__ja { font-size: 1.6rem; color: #fff; transition: .3s ease; }
.recruit-footer__en { color: #999; }
.recruit-footer__divider { opacity: .5; }
.recruit-footer__cta { flex: 0 0 auto; align-self: center; width: 240px; height: 240px; border-radius: 9999px; border: 2px solid rgba(255,255,255,.75); background: transparent; color: #fff; font-family: "Jost", sans-serif; font-size: clamp(16px, 1.6vw, 24px); font-weight: 500; letter-spacing: .28em; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: .3s ease; }
.recruit-footer__cta:hover { color: #333; background-color: #fff; transform: scale(1.1); }

@media (max-width: 1200px) {
  .recruit-footer { padding: 64px 0; }
  .recruit-footer__brand { margin-top: 0; }
  .recruit-footer__nav { flex: 1 1 auto; margin-top: 0; }
  .recruit-footer__cta { margin: 0 auto; }
}
@media (max-width: 900px) {
  .recruit-footer__inner { flex-direction: column; align-items: center; text-align: center; gap: 32px; }
  .recruit-footer__brand { align-items: center; }
  .recruit-footer__nav { flex: 1 1 100%; flex-direction: column; align-items: center; gap: 32px; margin-top: 16px; }
  .recruit-footer__list { width: 100%; max-width: 280px; align-items: flex-start; gap: 24px; }
  .recruit-footer__link { justify-content: flex-start; padding: 12px 0; }
  .recruit-footer__cta { width: 180px; height: 180px; margin-top: 16px; }
}