/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #1a1a1a !important;
  background: #fff;
  overflow-x: hidden;
}

p {
  color: #1a1a1a;
}

/* SP専用改行：PCは非表示、SPで表示 */
br.sp {
  display: none;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== VARIABLES ===== */
:root {
  --red: #e60012;
  --red-dark: #c7000b;
  --red-grad: linear-gradient(248.6deg, #e60013 0%, #c7000b 91%);
  --red-grad-rev: linear-gradient(206.9deg, #e60013 0%, #c7000b 101%);
  --orange: #ffac6d;
  --gray-border: #6d6d6d;
  --max-w: 1440px;
}

/* ===== LAYOUT ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 80px;
}

.section {
  padding: 100px 0;
}

/* ===== TYPOGRAPHY ===== */
.heading-en {
  font-family: 'Poppins', sans-serif;
  font-weight: 100;
  font-size: 50px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.heading-en .accent {
  color: var(--red);
}

.heading-en .accent-orange {
  color: var(--orange);
}

/* ===== HEADER ===== */
.recruit-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: auto;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(4px);
}

body:has(#hum_inr.active) .recruit-topbar {
  z-index: 100000;
  background: transparent !important;
  backdrop-filter: none !important;
}

/* 固定バーを非表示に（閉じる用ハンバーガーのみ残す） */
body:has(#hum_inr.active) .recruit-topbar .recruit-topbar__inner>*:not(#hum) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.recruit-topbar__inner {
  max-width: var(--max-w);
  height: 100%;
  margin: 0 auto;
  padding: 30px 46px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.recruit-topbar__logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  flex: 0 0 auto;
}

.recruit-topbar__logo-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  text-decoration: none;
  color: inherit;
}

.recruit-topbar__logo-mark {
  display: block;
}

.recruit-topbar__logo-svg {
  width: 40px;
  height: auto;
  display: block;
}

.recruit-topbar__logo-img {
  width: 105px;
  height: auto;
  display: block;
}

.recruit-topbar__wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  padding-top: 4px;
}

.recruit-topbar__kuru {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: #111;
  text-transform: uppercase;
}

.recruit-topbar__inc {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 11px;
  color: #555;
  margin-top: 2px;
}

.recruit-topbar__badge {
  border: 1px solid var(--red);
  color: var(--red);
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.12em;
  padding: 5px 5px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  border-radius: 2px;
  white-space: nowrap;
}

.recruit-topbar__nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
}

.recruit-topbar__nav-item {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #414141;
  white-space: nowrap;
}

.recruit-topbar__right {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 28px;
}

.recruit-topbar__inner>#hum {
  position: relative;
  inset: auto;
  top: auto;
  right: auto;
  margin-left: auto;
  flex: 0 0 auto;
  order: 10;
  z-index: 99999;
}

.recruit-entry-fab {
  display: none;
}

.recruit-topbar__hamburger {
  margin-top: 18px;
}

/* PC: hamburgerを大きめに（スマホは据え置き） */
@media (min-width: 769px) {
  #hum.top_hum {
    right: max(30px, calc((100vw - var(--max-w)) / 2 + 46px));
    top: 30px;
  }

  #hum:not(.top_hum) {
    right: unset;
    top: unset;
  }

  .recruit-topbar__hamburger {
    gap: 10px;
    padding: 6px;
  }

  .recruit-topbar__hamburger span {
    width: 50px;
    height: 1px;
  }

  .recruit-topbar__badge {
    padding: 5px 16px;
  }
}

.recruit-topbar__entry-btn {
  width: 137px;
  height: 51px;
  background: var(--red-grad);
  border-radius: 5.9px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* ENTRY アコーディオン（Toshiba様式のopen時にボタンが下へ伸びる） */
.recruit-entry-accordion {
  width: 130px;
  border-radius: 5.905px;
  overflow: hidden;
  background: var(--red-grad);
  border: 1px solid transparent;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.recruit-entry-accordion.is-open {
  border-radius: 5.905px;
  background: var(--redgrad, linear-gradient(258deg, #E60012 0%, #C7000B 91.45%));
  border-color: var(--red);
}

/* ボタン部分は wrapper 背景に合わせる */
.recruit-entry-accordion .recruit-topbar__entry-btn {
  width: 100%;
  border-radius: 0;
  background: transparent;
}

.recruit-entry-accordion__panel {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  background: transparent;
  transition: max-height 0.28s ease, opacity 0.18s ease;
}

.recruit-entry-accordion.is-open .recruit-entry-accordion__panel {
  max-height: 120px;
  opacity: 1;
  pointer-events: auto;
  background: var(--redgrad, linear-gradient(258deg, #E60012 0%, #C7000B 91.45%));
}

.recruit-entry-accordion.is-open .recruit-entry-accordion__link {
  color: #fff;
}

.recruit-entry-accordion.is-open .recruit-entry-accordion__link-arrow {
  color: #fff;
}

.recruit-entry-accordion.is-open .recruit-topbar__entry-text,
.recruit-entry-accordion.is-open .recruit-topbar__entry-plus {
  color: #fff;
}

/* ENTRY展開リンク */
.recruit-entry-accordion__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  padding: 12px 14px;
  color: var(--red);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  background: transparent;
}

.recruit-entry-accordion__link+.recruit-entry-accordion__link {
  margin-top: 0;
}

.recruit-entry-accordion__link-arrow {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 18px;
  transform: translateY(1px);
}

.recruit-topbar__entry-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 19.25px;
  color: #fff;
  letter-spacing: 0.04em;
}

.recruit-topbar__entry-plus {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 19.25px;
  color: #fff;
  line-height: 1;
  transform: translateY(-1px);
}

/* ===== ENTRY MENU ===== */
.recruit-entry-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: auto;
  z-index: 250;
  display: block;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transition: max-height 0.28s ease, opacity 0.18s ease;
}

.recruit-entry-menu.is-open {
  max-height: 500px;
  opacity: 1;
  pointer-events: auto;
}

.recruit-entry-menu__card {
  width: 250px;
  /* JSで上書きされる */
  border-radius: 14px;
  border: 3px solid #fff;
  background: var(--red);
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1.7px);
  background-size: 10px 10px;
  padding: 14px 20px 14px;
}

.recruit-entry-menu__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.recruit-entry-menu__entry {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 34px;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1;
}

.recruit-entry-menu__plus {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: #fff;
  line-height: 1;
  transform: translateY(4px);
}

.recruit-entry-menu__link {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  text-decoration: none;
  color: #fff;
  margin-top: 0;
}

.recruit-entry-menu__label {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}

.recruit-entry-menu__arrow {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  transform: translateY(-1px);
}

.recruit-entry-menu__link+.recruit-entry-menu__link {
  margin-top: 14px;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 13px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 34px;
  height: 1px;
  background: #676767;
}

/* ===== INTRO & FV (旧挙動) ===== */
body.is-intro #hum,
body.is-intro .recruit-entry-fab {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.recruit-topbar__inner>*:not(#hum) {
  transform-origin: center center;
  transition:
    opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1s cubic-bezier(0.22, 1, 0.36, 1),
    filter 1s cubic-bezier(0.22, 1, 0.36, 1);
}

body.is-intro .recruit-topbar__inner>*:not(#hum) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px) scale(0.94);
  filter: blur(4px);
}

#intro {
  position: fixed;
  inset: 0;
  background: #c6000b;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-100%);
  animation:
    introSlideIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards,
    introSlideOut 0.65s cubic-bezier(0.7, 0, 0.84, 0) 2.5s forwards;
}

@keyframes introSlideIn {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes introSlideOut {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(100%);
  }
}

.intro-text {
  font-family: 'Poppins', 'Noto Sans JP', sans-serif;
  color: #fff;
  font-size: clamp(22px, 3vw, 38px);
  line-height: 2;
  letter-spacing: 0.12em;
  opacity: 0;
  animation: introTextFade 0.6s ease 0.9s forwards;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intro-text picture img {
  display: block;
  width: min(86vw, 920px);
  height: auto;
  margin: 0 auto;
}

@keyframes introTextFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fv-fixed {
  position: relative;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 184px 20px 200px;
  /* recruit-topbar__inner 直下と被らないよう上余白 */
}

.fv-photo-credit {
  position: absolute;
  right: clamp(12px, 2.4vw, 40px);
  bottom: clamp(16px, 3vw, 48px);
  z-index: 3;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #b3b3b3;
  font-family: 'Poppins', 'Noto Sans JP', sans-serif;
  font-weight: 300;
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-align: right;
}

.fv-photo-credit__main {
  display: inline-flex;
  align-items: center;
  padding-right: 0;
}

.fv-photo-credit__copy {
  display: inline-block;
  letter-spacing: 0.06em;
}

.fv-spacer {
  height: 0;
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.scroll-guide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: -32px 0 96px;
  /* FV との距離調整 */
  opacity: 0;
  transform: translateY(12px);
}

.scroll-guide.is-visible {
  animation: scrollGuideFade 1s 0.1s ease-out forwards;
}

.scroll-guide-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 200;
  font-size: 22px;
  letter-spacing: 0.55em;
  text-indent: 0.55em;
  /* 左端のズレ補正 */
  color: #111;
}

.scroll-guide-arrow {
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 18px solid #e60012;
}

@keyframes scrollGuideFade {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.collage {
  display: flex;
  align-items: flex-end;
  gap: 25px;
  max-width: 1210px;
  width: 100%;
  position: relative;
  z-index: 1;
  justify-content: center;
}

/* SP 専用コラージュはデフォルト非表示（769px 未満のメディアで表示） */
.collage--sp {
  display: none;
}

.item {
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.22, 0.8, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 0.8, 0.36, 1);
  transition-delay: 0s;
}

.item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* fv_pc01 / 04 / 09 / 13 のみ遅れて表示 */
.item.fv-delay {
  transition-delay: 0.65s;
}

/* 表示前は赤マスク → スライドで画像が見える */
.item::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  background: var(--red);
  transform: translate3d(0, 0, 0);
  pointer-events: none;
  transition: transform 1.25s cubic-bezier(0.22, 0.8, 0.36, 1);
  transition-delay: 0.18s;
}

.item:not(.visible)::before {
  transform: translate3d(0, 0, 0);
  transition-duration: 0s;
  transition-delay: 0s;
}

/* デフォルト: マスクが上にスライド（SP 等） */
.item.visible::before {
  transform: translate3d(0, -101%, 0);
}

/* 本体の opacity 遅延と揃えてマスクも遅れて剥がす */
.item.visible.fv-delay::before {
  transition-delay: 0.83s;
}

.item picture {
  display: block;
  width: 100%;
  height: 100%;
}

.item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #fff;
  display: block;
}

/* PCレイアウト */
@media (min-width: 769px) {
  .collage>div .item:not(.visible):first-child {
    transform: translateY(-22px);
  }

  .collage>div .item:not(.visible):last-child {
    transform: translateY(22px);
  }

  .collage {
    width: 74.61%;
    max-width: 2000px;
  }

  .col1,
  .col2,
  .col3,
  .col4,
  .col5,
  .col6 {
    flex: 0 0 15.074%;
    display: flex;
    flex-direction: column;
    gap: 25px;
  }

  /* 中間幅での横はみ出し防止: 列を縮め、各カードは列幅に追従 */
  .collage {
    overflow: hidden;
  }

  .col1,
  .col2,
  .col3,
  .col4,
  .col5,
  .col6 {
    flex-shrink: 1;
    min-width: 0;
  }

  .col1 .item,
  .col2 .item,
  .col3 .item,
  .col4 .item,
  .col5 .item,
  .col6 .item {
    width: 100%;
  }

  /* 列構成変更: 右から3番目だけ3枚、他は2枚 */
  .col2 .item:last-child {
    border-radius: 0 0 0 120px;
  }

  .col3 .item:first-child {
    border-radius: 120px 0 0 0;
  }

  .col6 .item:last-child {
    border-radius: 0 0 120px 0;
  }

  /* 赤マスク: 縦スライド（上段は上へ / 下段は下へ / 中段は上へ） */
  .collage>div .item.visible:first-child::before {
    transform: translate3d(0, -101%, 0);
  }

  .collage>div .item.visible:last-child:not(:first-child)::before {
    transform: translate3d(0, 101%, 0);
  }
}

/* SPレイアウト */
@media (max-width: 768px) {
  br.sp {
    display: inline;
  }

  .fv-fixed {
    padding: 118px 16px 90px;
  }

  .fv-photo-credit {
    right: clamp(10px, 3.8vw, 20px);
    bottom: clamp(12px, 4vw, 24px);
    padding: 0;
    gap: 10px;
    font-size: 9px !important;
    letter-spacing: 0.05em;
    white-space: nowrap;
  }

  .fv-photo-credit__main {
    padding-right: 0;
  }

  /* HEADER */
  .recruit-topbar__inner {
    padding: 0 16px;
  }

  .recruit-topbar__nav {
    display: none;
  }

  .recruit-topbar__logo-img {
    width: 86px;
  }

  .recruit-topbar__hamburger {
    margin-top: 16px;
  }

  .recruit-topbar__hamburger span {
    width: 40px;
    height: 1px;
  }

  /* ENTRY MENU (SP) */
  .recruit-entry-menu {
    top: 0;
  }

  .recruit-entry-menu__card {
    padding: 16px 16px 14px;
    border-radius: 12px;
  }

  .recruit-entry-menu__entry {
    font-size: 28px;
  }

  .recruit-entry-menu__plus {
    font-size: 22px;
    transform: translateY(4px);
  }

  .recruit-entry-menu__link {
    margin-top: 14px;
  }

  .recruit-entry-menu__label {
    font-size: 17px;
    text-decoration-thickness: 3px;
    text-underline-offset: 7px;
  }

  .recruit-entry-menu__arrow {
    font-size: 20px;
    transform: translateY(-1px);
  }

  /* MESSAGE — SP（オリジナル: 全幅赤・右上角丸・中央） */
  .message-section {
    background: var(--red-grad);
    border-radius: 0 120px 0 0;
    padding: 54px 20px 64px;
    text-align: center;
  }

  .message-inner {
    padding: 0;
    max-width: none;
  }

  .message-section .heading-en {
    font-size: 40px;
    margin-bottom: 18px;
  }

  .message-divider {
    margin-bottom: 22px;
  }

  .message-body {
    font-size: 15px !important;
    line-height: 32px;
    max-width: none;
    margin: 0 auto 28px;
    letter-spacing: 0;
  }

  .message-tagline {
    font-size: 16px !important;
  }

  /* ABOUT */
  .about-section {
    background: #ffffff;
    border-radius: 0;
    padding: 56px 12px 64px;
  }

  .about-inner {
    max-width: 420px;
    margin: 0 auto;
    background: var(--red-grad-rev);
    border-radius: 40px 0 0 0;
    padding: 32px 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 0 0px 0 0px;
  }

  .about-left {
    display: flex;
    flex-direction: column;
  }

  .about-section .heading-en {
    font-size: 35px;
    margin-bottom: 8px;
  }

  .about-body {
    font-size: 14px;
    line-height: 1.9;
  }

  .about-section .aboutCore_mask {
    width: 100%;
    max-width: 100%;
  }

  .about-img-placeholder img {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }

  .about-right {
    padding-top: 0;
  }

  /* 共通セクション幅 */
  .info-section {
    padding: 64px 0;
  }

  .event-section {
    padding: 70px 0 0;
  }

  .info-inner,
  .event-inner {
    padding: 0 20px;
  }

  .section-header {
    padding: 0;
  }

  .news-row {
    gap: 9px;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* SP 共通テキストサイズ */
  p {
    font-size: 14px !important;
  }

  .info-btn-list {
    padding-top: 0;
  }

  .info-btn {
    height: 48px;
  }

  .heading-en {
    font-size: 32px;
  }

  footer.reveal-section {
    padding: 32px 0 40px;
  }
}

/* ===== SCROLL REVEAL 共通 =====
   JS が末尾で body.recruit-reveal-js を付与するまで非表示にしない（中身が消えたままになるのを防ぐ） */
body.recruit-reveal-js .reveal-section {
  opacity: 0;
  transform: translateY(60px);
  will-change: opacity, transform;
}

body.recruit-reveal-js .reveal-section.is-visible {
  animation: fadeUpSlow 1.6s 0.1s ease-out forwards;
}

@keyframes fadeUpSlow {
  0% {
    opacity: 0;
    transform: translateY(60px);
  }

  60% {
    opacity: 1;
    transform: translateY(12px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== MESSAGE（オリジナル: 中央・右上角丸・区切り線） ===== */
.message-section {
  background: var(--red-grad);
  border-radius: 0 267px 0 0;
  padding: 100px 0 120px;
  text-align: center;
  margin: 0;
}

.message-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 208px;
}

.message-section .heading-en {
  color: #fff;
  font-size: 55px;
  margin-bottom: 24px;
}

.message-divider {
  width: 56px;
  height: 1px;
  margin: 0 auto 32px;
  background: #fff;
  opacity: 0.95;
}

.message-body {
  color: #fff;
  font-size: 17px;
  line-height: 42px;
  letter-spacing: 0.34px;
  max-width: 537px;
  margin: 0 auto 40px;
}

.message-tagline {
  color: #fff;
  font-size: clamp(16px, 1.35vw, 22px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.03em;
  margin: 0 auto;
  max-width: 36em;
}

/* ===== ABOUT（KBCブランド about 型） ===== */
.about-section {
  background: var(--red-grad-rev);
  border-radius: 0 0 0 305px;
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
}

.about-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 208px 0 208px;
  display: flex;
  gap: 80px;
  align-items: flex-end;
}

/* Message / About: JS 有効時のみ子を隠す → .is-stagger-in で表示 */
body.recruit-reveal-js .message-section .message-inner>* {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

body.recruit-reveal-js .message-section .message-inner>*.is-stagger-in {
  opacity: 1;
  transform: translateY(0);
}

body.recruit-reveal-js .about-section .about-left>*,
body.recruit-reveal-js .about-section .about-right>* {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

body.recruit-reveal-js .about-section .about-left>*.is-stagger-in,
body.recruit-reveal-js .about-section .about-right>*.is-stagger-in {
  opacity: 1;
  transform: translateY(0);
}

/* ===== EVENT SECTION ===== */
.event-section {
  padding: 150px 0 50px;
}

.event-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 208px;
}

.section-header {
  padding: 0;
  margin-bottom: 32px;
}

.news-card {
  padding: 0;
}

.news-row {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 18px 0;
  border-bottom: 1px solid #eee;
  color: #595757;
}

.news-row a {
  color: #595757;
}

.news-date {
  font-size: 16px;
  white-space: nowrap;
  min-width: 96px;
}

.news-title {
  font-size: 14px;
  line-height: 1.7;
  flex: 1;
}

/* ===== ABOUT SECTION（シェルは上記 .about-section / .about-inner と共有） ===== */
.about-section .heading-en {
  color: #fff;
}

.about-body {
  color: #fff;
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 48px;
}

.about-img-placeholder {
  width: 100%;
  margin-top: 48px;
  overflow: hidden;
}

/* aboutCore_mask — 左下から広がる（下層ヘッダー .photo-inner と同じ） */
.about-section .aboutCore_mask {
  width: min(50%, 360px);
  aspect-ratio: 1;
  overflow: hidden;
  -webkit-clip-path: inset(100% 100% 0 0);
  clip-path: inset(100% 100% 0 0);
  transition: none;
}

body:not(.recruit-reveal-js) .about-section .aboutCore_mask {
  -webkit-clip-path: inset(0 0 0 0);
  clip-path: inset(0 0 0 0);
}

.about-section .about-img-placeholder.is-stagger-in .aboutCore_mask {
  animation: revealBottomLeft 1.2s .1s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

@keyframes revealBottomLeft {
  0% {
    -webkit-clip-path: inset(100% 100% 0 0);
    clip-path: inset(100% 100% 0 0);
  }

  100% {
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
  }
}

.about-img-placeholder img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 0;
}

@media (prefers-reduced-motion: reduce) {
  .about-section .about-img-placeholder.is-stagger-in .aboutCore_mask {
    animation: none;
    -webkit-clip-path: inset(0 0 0 0) !important;
    clip-path: inset(0 0 0 0) !important;
  }
}

.about-right {
  padding-top: 80px;
  flex: 0 0 420px;
}

.about-btn-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.about-btn {
  width: 100%;
  border: 0.564px solid #fff;
  border-radius: 3.4px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 6px;
  box-sizing: border-box;
}

.about-btn p {
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
  color: #fff;
}

.about-btn:link,
.about-btn:visited,
.about-btn:hover,
.about-btn:active {
  color: #fff;
}

.about-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.about-btn-arrow {
  font-size: 12px;
}

/* ===== BUSINESS / ENV / MEMBERS SECTION ===== */
.info-section {
  padding: 50px 0;
}

.info-section.reveal-section.is-visible {
  padding: 50px 0;
}

.info-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 208px;
}

.info-heading {
  margin-bottom: 24px;
}

/* 採用トップ: 日本語見出しの横に英字サブを小さく */
.info-heading--row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.65em;
}

.info-heading__ja {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(14px, 2.4vw, 16px);
  font-weight: 300;
  line-height: 1.35;
  color: #1a1a1a;
}

.info-heading .heading-en.info-heading__en {
  font-size: clamp(28px, 6vw, 50px);
  line-height: 1.2;
  letter-spacing: -0.5px;
  font-weight: 100;
  color: #1a1a1a;
}

.info-body {
  font-size: 15px;
  line-height: 22px;
  color: #595757;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
}

.info-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  /* 画像全体が見えるように */
}

.info-btn-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
}

.info-btn {
  background: #fff;
  border: 0.5px solid var(--gray-border);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  cursor: pointer;
  color: #1a1a1a;
  transition: background 0.2s;
}

.info-btn:hover {
  background: #f5f5f5;
}

.info-btn-arrow {
  color: #000;
  font-size: 22px;
}

.info-body {
  margin-bottom: 3rem;
}

/* ===== ENTRY CTA ===== */
.entry-cta-section {
  padding: 64px 20px 80px;
  background-color: #f7f7f7;
  background-size: 32px 32px;
}

.entry-cta-section.reveal-section.is-visible {
  margin-top: 100px;
}

.entry-cta-inner {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border-radius: 0 56px 0 0;
  text-align: center;
  padding: 54px 32px 46px;
  box-shadow: 3px 2px 13px 0 rgba(0, 0, 0, 0.08);
}

.entry-cta-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 200;
  font-size: 46px;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.entry-cta-title span {
  color: var(--red);
}

.entry-cta-text {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 28px;
  color: #1a1a1a;
}

.entry-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.entry-cta-btn {
  min-width: 210px;
  height: 50px;
  padding: 0 20px;
  border-radius: 5px;
  border: 1px solid var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.2s ease;
}

.entry-cta-btn--primary {
  background: var(--red-grad);
  color: #fff !important;
}

.entry-cta-btn--outline {
  background: #fff;
  color: var(--red) !important;
}

.entry-cta-btn:hover {
  opacity: 0.9;
}

/* ===== FOOTER ===== */
/* 採用サイトでは共通フッターの CONTACT 帯（#f_contact）のみ非表示（#f_content はそのまま） */
#footer #f_contact {
  display: none !important;
}

footer.reveal-section {
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid #eee;
}

.footer-top-link {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-decoration: underline;
  color: #1a1a1a;
}

/* ===== SECTION SEPARATOR ===== */
.sep {
  height: 1px;
  background: #eee;
  margin: 0 208px;
}

/* PC: info-btn height */
@media (min-width: 769px) {
  .info-btn {
    height: 57px;
  }
}

/* ===== SP OVERRIDE (placed at end to ensure priority) ===== */
@media (max-width: 768px) {

  /* FV — PC用 collage--pc を隠し、co01〜co03 の縦flex列を横並び（3列） */
  .fv-fixed {
    padding: 118px 16px 80px;
  }

  .fv-fixed .collage--pc {
    display: none !important;
  }

  .fv-fixed .collage--sp {
    display: flex !important;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    width: auto;
    max-width: none;
    margin: 0 auto;
    padding: 2px;
    box-sizing: border-box;
    background: #fff;
  }

  /* SP も PC と同じ: 列ごとに上段は上から / 下段は下からスライド＋赤マスク */
  .fv-fixed .collage--sp>div .item:not(.visible):first-child {
    transform: translateY(-18px);
  }

  .fv-fixed .collage--sp>div .item:not(.visible):last-child {
    transform: translateY(18px);
  }

  .fv-fixed .collage--sp>div .item.visible:first-child::before {
    transform: translate3d(0, -101%, 0);
  }

  .fv-fixed .collage--sp>div .item.visible:last-child:not(:first-child)::before {
    transform: translate3d(0, 101%, 0);
  }

  .fv-fixed .collage--sp .co01,
  .fv-fixed .collage--sp .co02,
  .fv-fixed .collage--sp .co03 {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 0 0 100px;
    width: 100px;
    min-width: 0;
  }

  .fv-fixed .collage--sp .co01 .item,
  .fv-fixed .collage--sp .co02 .item,
  .fv-fixed .collage--sp .co03 .item {
    width: 100% !important;
    flex-shrink: 0;
  }

  .fv-fixed .collage--sp .item {
    height: auto !important;
    overflow: hidden;
  }

  .fv-fixed .collage--sp .item picture {
    display: block;
    width: 100%;
    height: auto !important;
  }

  .fv-fixed .collage--sp .item img {
    width: 100%;
    height: auto !important;
    max-height: none;
  }

  .scroll-guide {
    margin: -28px 0 80px;
  }

  /* HEADER */
  .recruit-topbar__inner {
    padding: 20px 16px;
    /* flex-start: PC と同じくアコーディオンは下へ伸びる（center だと開閉で縦中央寄せされ上にずれる） */
    align-items: flex-start;
    gap: 10px;
  }

  .recruit-topbar__nav {
    display: none;
  }

  /* ENTRY をハンバーガー直前にまとめる */
  .recruit-topbar__right {
    margin-left: auto;
  }

  .recruit-topbar__inner>#hum {
    margin-left: 0;
    top: auto;
  }

  /* SP: コンパクトな ENTRY */
  .recruit-entry-accordion {
    width: 92px;
    border-radius: 4px;
  }

  .recruit-entry-accordion.is-open {
    border-radius: 4px;
  }

  .recruit-entry-accordion .recruit-topbar__entry-btn {
    height: 40px;
    min-height: 40px;
    gap: 6px;
  }

  .recruit-topbar__entry-text {
    font-size: 14px;
    letter-spacing: 0.03em;
  }

  .recruit-topbar__entry-plus {
    font-size: 15px;
    transform: translateY(-0.5px);
  }

  .recruit-entry-accordion__link {
    padding: 8px 10px;
    font-size: 13px;
  }

  .recruit-entry-accordion__link-arrow {
    font-size: 15px;
  }

  .recruit-entry-accordion.is-open .recruit-entry-accordion__panel {
    max-height: 100px;
  }

  /* SP でもヘッダー内 ENTRY（PC と同じ上段表示）。右下 FAB は使わない */
  .recruit-entry-fab {
    display: none;
  }

  /* MESSAGE — SP（オリジナル） */
  .message-section {
    background: var(--red-grad);
    border-radius: 0 120px 0 0;
    padding: 54px 20px 64px;
    text-align: center;
  }

  .message-inner {
    padding: 0;
    max-width: none;
  }

  .message-section .heading-en {
    font-size: 40px;
    margin-bottom: 18px;
  }

  .message-divider {
    margin-bottom: 22px;
  }

  .message-body {
    font-size: 15px !important;
    line-height: 32px;
    max-width: none;
    margin: 0 auto 28px;
    letter-spacing: 0;
  }

  .message-tagline {
    font-size: 16px !important;
  }

  /* ABOUT */
  .about-section {
    background: #ffffff;
    border-radius: 0;
    padding: 56px 12px 64px;
  }

  .about-img-placeholder {
    margin-top: 0px;
  }

  .about-body {
    margin-bottom: 0px;
  }

  .about-inner {
    max-width: 420px;
    margin: 0 auto;
    background: var(--red-grad-rev);
    border-radius: 40px 0 0 0;
    padding: 32px 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .about-left {
    display: flex;
    flex-direction: column;
  }

  .about-body {
    font-size: 14px;
    line-height: 1.9;
  }

  .about-section .aboutCore_mask {
    width: 100%;
    max-width: 100%;
  }

  .about-img-placeholder img {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }

  .about-right {
    padding-top: 0;
    width: 100%;
    flex: 0;
  }

  /* EVENT & INFO 共通幅 */
  .info-section {
    padding: 40px 0;
  }

  .info-section.reveal-section.is-visible {
    padding: 40px 0;
  }

  .event-section {
    padding: 56px 0 0;
  }

  .event-section.reveal-section.is-visible {
    padding: 80px 0 30px;
  }

  .info-inner,
  .event-inner {
    padding: 0 20px;
  }

  .event-inner .section-header {
    margin-bottom: 0;
    padding: 0;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .info-img {
    width: 100%;
    height: auto;
  }

  .info-btn-list {
    padding-top: 0;
  }

  /* info-btn 高さ: SP 48px */
  .info-btn {
    height: 48px;
    font-size: 14px;
  }

  .heading-en {
    font-size: 35px;
  }

  /* 横並び英字サブは大見出しの縮小に合わせず常にコンパクト */
  .info-heading .heading-en.info-heading__en {
    font-size: clamp(24px, 7vw, 35px);
  }

  .entry-cta-section {
    padding: 48px 12px 56px;
    background-size: 24px 24px;
  }

  .entry-cta-section.reveal-section.is-visible {
    margin-top: 50px;
  }

  .entry-cta-inner {
    max-width: 420px;
    border-radius: 0 36px 0 0;
    padding: 36px 26px 30px;
  }

  .entry-cta-title {
    font-size: 42px !important;
    margin-bottom: 10px;
  }

  .entry-cta-text {
    font-size: 14px !important;
    margin-bottom: 20px;
  }

  .entry-cta-buttons {
    gap: 8px;
  }

  .entry-cta-btn {
    width: 100%;
    min-width: 0;
    height: 44px;
    font-size: 14px;
  }

  footer.reveal-section {
    padding: 32px 0 40px;
  }
}

/* PC: h2 font-size unified */
@media (min-width: 769px) {
  h2 {
    font-size: 50px;
  }
}

/* Mobile: h1 font-size unified across pages */
@media (max-width: 768px) {
  h1 {
    font-size: 40px !important;
  }

  h2 {
    font-size: 40px !important;
  }

  .heading-en {
    font-size: 40px !important;
  }

  .info-heading .heading-en.info-heading__en {
    font-size: 40px !important;
  }

  .entry-cta-title {
    font-size: 40px !important;
  }

  .event-section .info-heading--row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

/* 20260424　追記 */

.u_bg-red{
  background: linear-gradient(248.6deg, #e60013 0%, #c7000b 91%) !important;
}

.u_target{
  padding-top: 100px;
  margin-top: -100px;
}

/* よくある質問セクション */
.bg-red-section {
  background: linear-gradient(248.6deg, #e60013 0%, #c7000b 91%) !important;
  border-radius: 267px 0 0 0 !important;
  padding: 120px 0 120px !important;
  text-align: center !important;
  margin: 0 !important;
}

@media screen and (max-width:768px) {
  .bg-red-section {
    border-radius: 0 120px 0 0 !important;
    padding: 75px 20px 65px !important;
  }
}

.p-top_section-list-item {
  border-bottom: 0.56px solid #6D6D6D;
}

.p-top_section-list.__white .p-top_section-list-item {
  border-bottom: 0.56px solid #fff;
}

.p-top_section-list-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px 16px 24px;
  font-size: 16px;
  color: #1A1A1A !important;
}

.p-top_section-list.__white .p-top_section-list-link {
  color: #fff !important;
}


@media screen and (max-width:768px) {
  .p-top_section-list-link {
    font-size: 14px;
  }
}

.p-top_section-list-link .__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5px;
}

.u_color-white {
  color: #fff;
}

.u_text-left {
  text-align: left;
}


/* サービス セクション */
.business-section {
  border-radius: 0 267px 0 0;
  background-color: #fff;
  position: relative;
  top: -267px;
  margin-bottom: -267px;
}

@media screen and (max-width:768px){
  .business-section {
    border-radius: 0 120px 0 0;
    top: -120px;
    margin-bottom: -120px;
  }
 }

/* About us */
.about-section{
  padding-bottom:386px !important;
}

@media screen and (max-width:768px){
  .about-section{
    padding-bottom:185px !important;
  }
}