#recruit:has(+ .manga-bookcase),
#recruit:has(+ .manga-bookcase) .top-recruit__body {
  padding-bottom: 0 !important;
}
#recruit:has(+ .manga-bookcase) .top-recruit__lists {
  padding-bottom: clamp(16px, 2.4vw, 34px) !important;
}
#recruit-manga {
  width: 100%;
  margin: 0;
  padding: 0 0 clamp(32px, 5vw, 72px);
  background: var(--st-paper, #f5f2ea);
  color: var(--st-navy, #142c59);
  scroll-margin-top: 100px;
}
.manga-bookcase .manga-bookcase__title {
  box-sizing: border-box;
  width: fit-content;
  max-width: calc(100% - 32px);
  margin: 0 auto;
  padding: clamp(10px, 1.1vw, 16px) 0 clamp(12px, 1.25vw, 18px);
  color: #fff;
  font-family: SugitoK02Complete, sans-serif;
  font-size: clamp(23px, 3.6vw, 48px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -.025em;
  text-align: center;
  text-shadow: 0 2px 6px #2214089e;
  text-wrap: balance;
}

@media (prefers-reduced-motion: no-preference) {
  .manga-bookcase .manga-bookcase__title.is-sign-revealed {
    animation: manga-sign-reveal .58s cubic-bezier(.2,.7,.3,1) both;
  }
  @keyframes manga-sign-reveal {
    from { opacity: .3; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
.manga-bookcase .manga-bookcase__bay {
  position: relative;
  isolation: isolate;
  width: 100%;
  overflow: hidden;
  padding-top: clamp(18px, 2.6vw, 37px);
  background: #63412e;
}
.manga-bookcase .manga-bookcase__bay::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(ellipse at 51% 3%, #f5c6894d, transparent 57%),
    linear-gradient(180deg, #29150990, #321e126d 67%, #27170dd9);
  box-shadow: inset 0 19px 24px -13px #140c06df;
  pointer-events: none;
  content: "";
}
.manga-bookcase .manga-bookcase__wood {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.manga-bookcase .manga-shelf__track {
  position: relative;
  display: flex;
  box-sizing: border-box;
  width: 100%;
  gap: clamp(25px, 4vw, 56px);
  align-items: flex-end;
  margin: 0;
  padding: clamp(21px, 2.6vw, 36px) clamp(22px, 4.7vw, 65px) 7px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  list-style: none;
  scrollbar-width: thin;
  scrollbar-color: #e7c99e #4c2d20;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: clamp(22px, 4.7vw, 65px);
}
.manga-bookcase .manga-shelf__track > li {
  flex: 0 0 clamp(154px, 23vw, 244px);
  min-width: 0;
  margin: 0;
  padding: 0;
  scroll-snap-align: start;
}
.manga-bookcase .manga-shelf__track > li:first-child { margin-inline-start: auto; }
.manga-bookcase .manga-shelf__track > li:last-child { margin-inline-end: auto; }
.manga-bookcase .manga-bookcase__ledge {
  height: clamp(18px, 2.6vw, 34px);
  border-top: 2px solid #d5a673b8;
  background: linear-gradient(180deg, #ad7b4bbd, #865136b5 19%, #603b2bc9);
  box-shadow: inset 0 -4px 5px #30201487;
}
.manga-bookcase .manga-book {
  position: relative;
  isolation: isolate;
  display: block;
  aspect-ratio: 7 / 11;
  color: #fffdf6;
  text-decoration: none;
  transition: transform .18s ease;
}
.manga-bookcase .manga-book::before {
  position: absolute;
  z-index: -1;
  inset: 6px 5px 0 -8px;
  border: 1px solid #ae9576;
  border-radius: 2px;
  background: repeating-linear-gradient(0deg, #ded0ae 0 1px, #fcf2d8 1px 3px);
  box-shadow: -1px 2px 0 #2d251c, 5px 9px 14px #1a0e09d4;
  transform: skewY(-3deg);
  transform-origin: right bottom;
  content: "";
}
.manga-bookcase .manga-book__face {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  border-radius: 2px 4px 4px 2px;
  background: #182844;
  box-shadow: inset 0 0 0 1px #ffffff36, 1px 2px 1px #31231a;
}
.manga-bookcase .manga-book__face::before,
.manga-bookcase .manga-book__face::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  content: "";
}
.manga-bookcase .manga-book__face::before {
  background: linear-gradient(180deg, #10162987, #10162911 33%, transparent 43%, transparent 83%, #101629ad);
}
.manga-bookcase .manga-book__face::after {
  background: linear-gradient(270deg, #140e11a6, transparent 4%, #ffffff24 4.2%, transparent 6.5%);
}
.manga-bookcase .manga-book__art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.manga-bookcase .manga-book__title {
  position: absolute;
  inset: 8.5% 10% auto 8%;
  z-index: 2;
  color: #fffdf7;
  font-family: SugitoK02Complete, sans-serif;
  font-size: clamp(14px, 1.55vw, 22px);
  line-height: 1.25;
  letter-spacing: -.027em;
  text-shadow: 0 1px 4px #121a35df;
}
.manga-bookcase .manga-book__title > span { display: block; }
.manga-bookcase .manga-book__imprint {
  position: absolute;
  z-index: 2;
  inset: auto 10% 4.6% 8%;
  display: block;
  width: max-content;
  padding-top: 4px;
  border-top: 1px solid #fffdf6a8;
  color: #fffdf6;
  font-size: clamp(9px, .96vw, 12px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: .12em;
  text-shadow: 0 1px 4px #10162b;
}
.manga-bookcase .manga-bookcase__hint[hidden] { display: none !important; }
.manga-bookcase .manga-bookcase__hint svg {
  display: block;
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.manga-bookcase .manga-book:focus-visible,
.manga-bookcase .manga-shelf__track:focus-visible {
  outline: 3px solid var(--st-yellow, #ffda24);
  outline-offset: -3px;
}
@media (hover: hover) {
  .manga-bookcase .manga-book:hover { transform: translateY(-6px); }
}
@media (max-width: 640px) {
  #recruit-manga { scroll-margin-top: 76px; }
  .manga-bookcase .manga-bookcase__title { font-size: clamp(21px, 6vw, 30px); }
  .manga-bookcase .manga-shelf__track {
    gap: 22px;
    padding: 22px 15px 6px;
    scroll-padding-inline: 15px;
  }
  .manga-bookcase .manga-shelf__track > li { flex-basis: min(59vw, 224px); }
  .manga-bookcase .manga-book__title { font-size: clamp(15px, 4.55vw, 18px); }
}
@media (prefers-reduced-motion: reduce) {
  .manga-bookcase .manga-book { transition: none; }
  .manga-bookcase .manga-book:hover { transform: none; }
}

.st-refined-hero .st-catch__slash--mobile { display: none; }

.recruit-manga-section {
  background: var(--st-paper, #f5f2ea);
  color: var(--st-navy, #142c59);
  scroll-margin-top: 100px;
}
.recruit-manga-section__header {
  padding: clamp(32px, 5vw, 72px) 16px clamp(18px, 2.5vw, 34px);
  text-align: center;
}
.recruit-manga-section__header h2 {
  margin: 0;
  color: inherit;
  font-family: SugitoK02Complete, sans-serif;
  font-size: clamp(26px, 4vw, 56px);
  font-weight: 900;
  line-height: 1.18;
  text-wrap: balance;
}

.manga-bookcase .manga-bookcase__hint {
  position: absolute;
  z-index: 3;
  inset: auto 9px clamp(27px, 4vw, 49px) auto;
  display: flex;
  box-sizing: border-box;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 68px;
  height: 68px;
  padding: 5px;
  border: 1px solid #ffffff4d;
  border-radius: 9px;
  background: #142c59d1;
  color: #fff;
  text-align: center;
  pointer-events: none;
}
.manga-bookcase .manga-bookcase__hint svg {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
}
.manga-bookcase .manga-bookcase__hint-text {
  display: block;
  flex: none;
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

@media (max-width: 767px) {
  body#document-top .st-refined-hero .st-catch__en {
    font-size: clamp(13px, 4.15vw, 16px) !important;
    letter-spacing: .095em !important;
    white-space: nowrap;
  }
  .st-refined-hero .st-catch__slash--desktop { display: none; }
  .st-refined-hero .st-catch__slash--mobile { display: inline; }

  .recruit-manga-section { scroll-margin-top: 76px; }
  .recruit-manga-section__header { padding-block: 32px 20px; }
  .recruit-manga-section__header h2 { font-size: clamp(23px, 6.5vw, 32px); }
  .manga-bookcase .manga-bookcase__bay { padding-top: 24px; }
  .manga-bookcase .manga-bookcase__title { font-size: clamp(30px, 8.5vw, 42px); }
  .manga-bookcase .manga-bookcase__title-line { display: block; }
}
