/* ========================================
  requirements.css  ―  募集要項ページ
======================================== */

:root {
  --content-width: 1260px;
}

.sp-only { display: none; }
.pc-only { display: inline; }

.fs-s  { font-size: 16px; margin: 0; }
.fs-m  { font-size: 24px; margin: 0; }
.fs-l  { font-size: 36px; margin: 0; line-height: 1.2; }

.c-blue { color: #1156a4; }
.c-dark { color: #101010; }

.mt-half { margin-top: 10px !important; }

@media (max-width: 767px) {
  .sp-only { display: inline; }
  .pc-only { display: none; }
}

.page-sub .site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 40;
}

.page-sub {
  --top-frame-left: calc(50% - 720px);
  --site-header-offset: 64px;
}

.page-sub .page-top__canvas {
  padding-top: var(--site-header-offset);
}

@media (max-width: 1279px) {
  .page-sub {
    --site-header-offset: 56px;
  }
}

@media (max-width: 800px) {
  .page-sub {
    --site-header-offset: 80px;
  }
}


/* ----------------------------------------
  MV
---------------------------------------- */

.page-mv {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: auto;
  aspect-ratio: 1440 / 400;
  background: url('../img/mv_requirements.jpg') center top / 100% auto no-repeat;
  overflow: hidden;
}

.page-mv__body {
  --mv-title-size: 100px;
  position: absolute;
  bottom: 36px;
  left: max(50px, calc(50% - var(--content-width) / 2 + 50px));
}

.page-mv__title {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: var(--mv-title-size);
  font-weight: 700;
  color: #1156a4;
  line-height: 1;
  margin: 0;
  letter-spacing: 0.02em;
}

.page-mv__title-en {
  display: block;
  font-family: 'Futura', 'Trebuchet MS', 'Century Gothic', sans-serif;
  font-size: 39px;
  font-weight: 700;
  color: #bacce1;
  line-height: 1;
  margin-top: 6px;
  margin-left: var(--mv-title-size);
  letter-spacing: 0.05em;
}

.page-mv--detail .page-mv__title-en {
  margin-top: 0;
  margin-left: var(--mv-title-size);
  margin-bottom: 4px;
}

.page-mv--detail .page-mv__title {
  margin-top: 0;
}

.page-mv--teacher {
  background: url('../img/mv_teacher.jpg') center top / 100% auto no-repeat;
}

.page-mv__underline {
  width: 100%;
  height: 4px;
  margin-top: 8px;
  background: var(--blue);
}

.page-mv__sub {
  font-size: 36px;
  font-weight: 700;
  color: var(--blue);
  margin: 12px 0 0;
  line-height: 1;
  text-align: right;
}

@media (max-width: 1279px) {
  .page-mv {
    height: auto;
  }
  .page-mv__body {
    --mv-title-size: 84px;
  }
  .page-mv__title-en {
    font-size: 34px;
  }
}

@media (max-width: 1023px) {
  .page-mv {
    height: auto;
  }
  .page-mv__body {
    --mv-title-size: 68px;
    bottom: 28px;
    left: max(40px, calc(50% - var(--content-width) / 2 + 40px));
  }
  .page-mv__title-en {
    font-size: 28px;
    margin-top: 4px;
  }
}

@media (max-width: 767px) {
  .page-mv {
    height: auto;
  }
  .page-mv__body {
    --mv-title-size: clamp(34px, 8vw, 52px);
    bottom: 24px;
    left: max(24px, calc(50% - var(--content-width) / 2 + 24px));
  }
  .page-mv__title-en {
    font-size: clamp(14px, 3.8vw, 22px);
  }
  .page-mv__sub {
    font-size: clamp(18px, 5vw, 28px);
  }

  .page-mv--detail .page-mv__body {
    --mv-title-size: clamp(28px, 7vw, 44px);
    bottom: clamp(10px, 2.5vw, 16px);
  }

  .page-mv--detail .page-mv__title-en {
    font-size: clamp(12px, 3vw, 18px);
    margin-bottom: 2px;
  }

  .page-mv--detail .page-mv__underline {
    height: 3px;
    margin-top: 4px;
  }

  .page-mv--detail .page-mv__sub {
    margin-top: 6px;
    font-size: clamp(15px, 4vw, 22px);
  }
}

@media (max-width: 479px) {
  .page-mv {
    height: auto;
  }
  .page-mv__body {
    --mv-title-size: clamp(26px, 8vw, 38px);
    bottom: 20px;
    left: max(20px, calc(50% - var(--content-width) / 2 + 20px));
  }
  .page-mv__title-en {
    font-size: clamp(12px, 3.8vw, 18px);
    margin-top: 2px;
  }
  .page-mv__sub {
    font-size: clamp(16px, 5vw, 22px);
  }

  .page-mv--detail .page-mv__body {
    --mv-title-size: clamp(24px, 7vw, 34px);
    bottom: 8px;
  }

  .page-mv--detail .page-mv__title-en {
    font-size: clamp(10px, 3vw, 14px);
  }

  .page-mv--detail .page-mv__sub {
    font-size: clamp(13px, 4vw, 18px);
  }
}


/* ----------------------------------------
  特徴
---------------------------------------- */

.req-features {
  padding: 80px 0;
  background: #e3ecf8;
}

.req-features__inner {
  display: grid;
  grid-template-columns: 548px 1fr;
  gap: 48px;
  max-width: min(var(--content-width), calc(100% - 48px));
  margin: 0 auto;
  align-items: start;
}

.req-features__image {
  width: 100%;
  max-width: 548px;
  aspect-ratio: 548 / 416;
  overflow: hidden;
}

.req-features__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.req-features__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.req-features__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.3;
  letter-spacing: 0;
  text-align: left;
}

.req-features__list li img {
  width: 30px;
  height: 26px;
  flex-shrink: 0;
  margin-top: 4px;
}

@media (max-width: 1023px) {
  .req-features__inner {
    grid-template-columns: 1fr 1fr;
  }
  .req-features__list li {
    font-size: 20px;
    line-height: 1.3;
  }
}

@media (max-width: 767px) {
  .req-features {
    padding: 56px 0;
  }
  .req-features__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .req-features__list li {
    font-size: 18px;
    line-height: 1.3;
  }
  .req-features__list li img {
    width: 24px;
    height: 20px;
    margin-top: 3px;
  }
}

@media (max-width: 479px) {
  .req-features {
    padding: 40px 0;
  }
  .req-features__list li {
    font-size: 16px;
    line-height: 1.3;
  }
  .req-features__list li img {
    width: 20px;
    height: 17px;
    margin-top: 2px;
  }
}

.recruit-teaser__image img {
  transition: transform 0.4s ease;
}

.recruit-teaser__image:hover img {
  transform: scale(1.08);
}


/* ----------------------------------------
  募集詳細ボックス
---------------------------------------- */

.req-detail {
  padding: 30px 0 100px;
  background: #e3ecf8;
}

.req-detail__entry {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  width: 322px;
  height: 63px;
  margin: 40px auto 0;
  border: 0;
  border-radius: 999px;
  background: #f5e50b;
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.req-detail__entry:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.req-detail__entry-en {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.req-detail__box {
  max-width: min(var(--content-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 64px 64px;
  background: #fff;
  border-radius: 16px;
  text-align: left;
}

.req-detail__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 56px;
  margin: 0;
  background: var(--blue);
  border-radius: 999px;
  color: var(--text-inverse);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.req-detail__box > * + * {
  margin-top: 16px;
}

.req-detail__section {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 500;
}

.req-detail__list {
  margin: 10px 0 0;
  padding: 0 0 0 1.5em;
  line-height: 1.5;
}

.req-detail__list li + li {
  margin-top: 16px;
}

.req-detail__section + .req-detail__section {
  margin-top: 70px;
}

.req-detail__section > * + * {
  margin-top: 30px;
}

.req-detail__body {
  font-size: 16px;
  color: var(--text);
  line-height: 1.5;
}

.req-detail__body p {
  margin: 0 0 16px;
}

@media (max-width: 767px) {
  .req-detail {
    padding: 30px 0 50px;
  }
  .req-detail__entry {
    margin-top: 20px;
  }
  .req-detail__box {
    padding: 32px 24px 40px;
  }
  .req-detail__heading {
    height: 48px;
    font-size: 18px;
  }
  .fs-l { font-size: 28px; }
  .fs-m { font-size: 20px; }
}

@media (max-width: 479px) {
  .req-detail {
    padding: 20px 0 50px;
  }
  .req-detail__entry {
    margin-top: 20px;
  }
  .req-detail__box {
    padding: 24px 16px 32px;
    border-radius: 12px;
  }
  .req-detail__heading {
    height: 44px;
    font-size: 16px;
  }
  .fs-l { font-size: 20px; }
  .fs-m { font-size: 18px; }
}


/* ----------------------------------------
  その他の職種
---------------------------------------- */

.req-others {
  padding: 80px 0 100px;
  background: #fff;
  text-align: center;
}

.req-others__title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 48px;
}

.req-others__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: min(var(--content-width), calc(100% - 48px));
  margin: 0 auto;
  text-align: left;
}

.req-others__card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.req-others__card:hover {
  opacity: 0.9;
}

.req-others__card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.req-others__card-bar {
  width: 12px;
  height: 35px;
  background: var(--blue);
  flex-shrink: 0;
}

.req-others__card-name {
  font-size: 28px;
  font-weight: 700;
  color: var(--blue);
  margin: 0;
  line-height: 1;
}

.req-others__card-name small {
  font-size: 20px;
}

.req-others__card-image {
  display: block;
  width: 100%;
  aspect-ratio: 390 / 226;
  overflow: hidden;
  border-radius: 26px;
}

.req-others__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.req-others__card:hover .req-others__card-image img {
  transform: scale(1.08);
}

@media (max-width: 1023px) {
  .req-others__card-name {
    font-size: 24px;
  }
  .req-others__card-name small {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .req-others {
    padding: 56px 0 80px;
  }
  .req-others__title {
    font-size: 28px;
  }
  .req-others__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: calc(100% - 32px);
  }
}

@media (max-width: 479px) {
  .req-others__title {
    font-size: 24px;
  }
  .req-others__card-name {
    font-size: 20px;
  }
  .req-others__card-name small {
    font-size: 16px;
  }
}


/* ----------------------------------------
  職種セクション
---------------------------------------- */

.req-positions {
  padding: 80px 0 120px;
  background: #e3ecf8;
  text-align: center;
}

.req-positions__title {
  display: inline-block;
  font-size: 36px;
  font-weight: 700;
  color: var(--blue);
  margin: 0;
}

.req-positions__title::after {
  content: '';
  display: block;
  width: 100%;
  height: 6px;
  margin: 4px auto 0;
  background: var(--yellow);
}

.req-positions__body {
  max-width: min(var(--content-width), calc(100% - 48px));
  margin: 32px auto 0;
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
  text-align: center;
}

.req-positions__body p {
  margin: 0;
}

.req-positions__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 40px;
  max-width: min(var(--content-width), calc(100% - 48px));
  margin: 48px auto 0;
  text-align: left;
}

.req-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.req-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.req-card__bar {
  width: 12px;
  height: 35px;
  background: var(--blue);
  flex-shrink: 0;
}

.req-card__title {
  font-size: 26px;
  font-weight: 700;
  color: var(--blue);
  margin: 0;
  line-height: 1;
}

.req-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 580 / 226;
  overflow: hidden;
  border-radius: 26px;
}

.req-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.req-card:hover .req-card__image img {
  transform: scale(1.08);
}

@media (max-width: 1023px) {
  .req-positions__title {
    font-size: 32px;
  }
  .req-positions__grid {
    max-width: calc(100% - 64px);
    gap: 40px 32px;
  }
  .req-card__title {
    font-size: 24px;
  }
}

@media (max-width: 767px) {
  .req-positions {
    padding: 56px 0 120px;
  }
  .req-positions__title {
    font-size: 28px;
  }
  .req-positions__body {
    max-width: calc(100% - 32px);
  }
  .req-positions__grid {
    grid-template-columns: 1fr;
    max-width: calc(100% - 32px);
    gap: 32px;
  }
}

@media (max-width: 479px) {
  .req-positions {
    padding: 40px 0 120px;
  }
  .req-positions__title {
    font-size: 24px;
  }
  .req-positions__title::after {
    height: 4px;
  }
  .req-card__title {
    font-size: 20px;
  }
  .req-card__bar {
    height: 28px;
  }
}


/* ----------------------------------------
  フッターCTA（下層用の上書きのみ）
---------------------------------------- */

.page-sub .top-footer-cta .site-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0;
  background: transparent;
}

.page-sub .top-footer-cta .site-footer__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  height: 54px;
}

@media (max-width: 1023px) {
  .page-sub .top-footer-cta .site-footer {
    position: static;
    padding: 28px 0 0;
  }
}

@media (max-width: 479px) {
  .page-sub .top-footer-cta .site-footer__inner {
    flex-direction: column;
  }
}
