/*
Theme Name: AstroX
Author: AstroX
Description: It is the WordPress theme for AstroX web site.
Version: 202511
*/

:root {
  --text-main: #fff;
  --bg-main: #000;
  --sub-color: rgba(0, 157, 255, 0.8);
  --header-height: clamp(54px, calc(143vw / 19.2), 80px);
  --header-height-sp: calc(54vw / 3.75);
  --footer-height: calc(180vw / 19.2);
  --footer-height-sp: calc(119vw / 3.75);
  --text-size-ja: clamp(12px, calc(24vw / 19.2), 24px);
  --text-size-en: clamp(12px, calc(25vw / 19.2), 25px);
  --text-size-sp: clamp(12px, calc(12vw / 3.75), 24px);
}

@font-face {
  font-family: "DIN Alternate Bold";
  src: url("assets/fonts/din-alternate-bold.ttf") format("truetype");
}

@font-face {
  font-family: "Josefin Sans Variable";
  src: url("assets/fonts/JosefinSans-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans JP";
  src: url("assets/fonts/NotoSansJP-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  margin: 0;
  box-sizing: border-box;
}

html,
body {
  color: var(--text-main);
  background-color: var(--bg-main);
  font-family: "DIN Alternate Bold", "Noto Sans JP", sans-serif;
}

body {
  padding-top: var(--header-height);
}

a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}
p {
  font-size: var(--text-size-ja);
  font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
  line-height: clamp(12px, calc(42vw / 19.2), 42px);
}
p.en {
  font-size: var(--text-size-en);
  line-height: clamp(12px, calc(38vw / 19.2), 38px);
}
img {
  object-fit: contain;
}
.section {
  background-repeat: no-repeat;
  background-size: cover;
  background-color: rgba(0, 0, 0, 0.27);
  background-blend-mode: darken;
}
.section__title {
  position: relative;
  display: flex;
  align-items: center;
  gap: calc(51.4vw / 19.2);
}
.section__title--center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: calc(29.3vw / 19.2);
}
.section__title--center > *:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}
.section__title::after,
.section__title--center > *:first-child::before,
.section__title--center > *:first-child::after {
  content: "";
  display: block;
  width: calc(183.73vw / 19.2);
  height: calc(10.48vw / 19.2);
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("assets/images/title/title-decoration/title-decoration.png");
  @supports (
    background-image:
      url("assets/images/title/title-decoration/title-decoration.png.webp")
  ) {
    background-image: url("assets/images/title/title-decoration/title-decoration.png.webp");
  }
}
.section__title--center > *:first-child::before,
.section__title--center > *:first-child::after {
  position: absolute;
}
.section__title--center > *:first-child::before {
  left: 0;
  transform: translate(calc(-100% + calc(-76vw / 19.2)), 0);
}
.section__title--center > *:first-child::after {
  left: 100%;
  transform: translate(calc(76vw / 19.2), 0);
}
@media screen and (max-width: 768px) {
  p {
    font-size: var(--text-size-sp);
    line-height: clamp(24px, calc(24vw / 3.75), 42px);
  }
  p.en {
    font-size: var(--text-size-sp);
    line-height: clamp(20px, calc(20vw / 3.75), 38px);
  }
  .section__title {
    flex-direction: column;
    gap: calc(30.9vw / 3.75);
  }
  .section__title--center {
    position: relative;
    gap: calc(16.6vw / 3.75);
    padding-bottom: calc(16.6vw / 3.75);
  }
  .section__title--center > *:first-child {
    position: static;
  }
  .section__title::after,
  .section__title--center > *:first-child::before,
  .section__title--center > *:first-child::after {
    width: calc(59.16vw / 3.75);
    height: calc(3.37vw / 3.75);
  }
  .section__title--center > *:first-child::before,
  .section__title--center > *:first-child::after {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
  }
  .section__title--center > *:last-child {
    font-size: calc(18vw / 3.75);
  }
}

#header {
  background-color: var(--bg-main);
  width: 100%;
  transition: padding-bottom 0.3s ease;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

#header .header-inner {
  height: var(--header-height);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 0 calc(85vw / 19.2) 0 calc(79vw / 19.2);
}
#header .header__logo {
  background-repeat: no-repeat;
  background-size: contain;
  width: clamp(86px, 181.49vw / 19.2, 181.49px);
  height: clamp(27.3px, 57.66vw / 19.2, 57.66px);
  position: relative;
  background-image: url("assets/images/logo/logo.png");
  @supports (background-image: url("assets/images/logo/logo.png.webp")) {
    background-image: url("assets/images/logo/logo.png.webp");
  }
}
#header .header__logo > a {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
#header .header__nav {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: end;
  gap: clamp(15px, calc(85vw / 19.2), 85px);
  flex-wrap: wrap;
}
#header .header__lang {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  user-select: none;
  font-size: 18px;
  .en:not(.lang__english),
  .jp.lang__english {
    color: #999;
    font-size: 16px;
  }
}
#header .header__menu {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(15px, calc(85vw / 19.2), 85px);
}
#header .header__menu > li > * {
  user-select: none;
  font-weight: bold;
}
#header .header__menu--sp {
  display: none;
}
@media screen and (max-width: 768px) {
  #header {
    height: var(--header-height-sp);
    padding: 0;
  }
  #header.header--open {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }
  #header .header__nav {
    position: fixed;
    top: -100vh;
    right: 0;
    left: 0;
    display: block;
  }
  #header .header__menu--sp {
    flex-grow: 1;
    display: flex;
    justify-content: end;
    align-items: center;
  }
  #header .header__bar {
    height: clamp(24px, calc(48vw / 3.75), 48px);
    cursor: pointer;
    user-select: none;
  }
  #header .header__bar:not(.header__bar--close),
  body.menu--open #header .header__bar--close {
    display: block;
  }
  #header .header__bar--close,
  body.menu--open #header .header__bar:not(.header__bar--close) {
    display: none;
  }
  body.menu--open {
    overflow: hidden;
  }
  body.menu--open::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: var(--bg-main);
    z-index: 10;
  }
  body.menu--open #header {
    z-index: 20;
  }
  body.menu--open #header .header__nav {
    background-color: var(--bg-main);
    top: var(--header-height-sp);
    height: calc(100vh - var(--header-height-sp));
    justify-content: center;
    overflow: auto;
    padding: calc(95vw / 3.75) 0;
  }
  body.menu--open #header .header__lang {
    margin-bottom: calc(72vw / 3.75);
  }
  body.menu--open #header ul {
    flex-direction: column;
    font-size: calc(27vw / 3.75);
    gap: calc(72vw / 3.75);
  }
  body.menu--open #header ul > li {
    text-align: center;
  }
  body.menu--open .header__bar--close {
    position: fixed;
    top: 25px;
    right: 31px;
    z-index: 1001;
  }
}

/* サブメニューの表示 */
#header .header__menu .menu-item-has-children {
  position: relative;
}

#header .header__menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 16px;
  list-style: disc;
  padding: 10px 0;
  z-index: 100;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
}

#header .header__menu .sub-menu li {
  padding: 0 4px;
}

#header .header__menu .sub-menu li a {
  display: block;
  padding: 10px 0;
  white-space: nowrap;
}

/* ホバーでサブメニューを表示 */
#header .header__menu .menu-item-has-children:hover > .sub-menu {
  visibility: visible;
  opacity: 1;
}

#header:has(.menu-item-has-children:hover) {
  padding-bottom: 40px;
}

@media screen and (max-width: 768px) {
  /* --- スマホ用サブメニュー --- */
  #header .header__nav .sub-menu {
    position: static;
    list-style: disc;
    border-radius: 5px;
    margin: 0;
    padding: 0 0 0 50px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease, margin 0.3s ease;
  }

  #header .header__nav .menu-item-has-children.submenu-is-open > .sub-menu {
    max-height: 500px;
    padding: 10px 0 10px 50px;
    margin: 15px 0;
  }

  #header .header__nav .sub-menu li a {
    font-size: 0.8em;
    padding: 10px;
    text-align: left;
    margin-left: -16px;
  }
}

#team {
  padding: calc(200.1vw / 19.2) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(81vw / 19.2);
  .team__banner {
    position: relative;
    .team__banner__background {
      width: calc(1364vw / 19.2);
    }
    .team__banner__content {
      position: absolute;
      top: 60%;
      left: 50%;
      transform: translate(-50%, -50%);
    }
    a {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
    }
    @media screen and (max-width: 768px) {
      width: 100%;
      overflow: hidden;
      .team__banner__background {
        width: 160%;
        object-fit: cover;
      }
      .team__banner__content {
        top: 50%;
      }
    }
  }
}
#team .team__title {
  background-repeat: no-repeat;
  background-size: contain;
  width: calc(403.47vw / 19.2);
  height: calc(97.63vw / 19.2);
  background-image: url("assets/images/title/team-title/team-title.png");
  @supports (
    background-image: url("assets/images/title/team-title/team-title.png.webp")
  ) {
    background-image: url("assets/images/title/team-title/team-title.png.webp");
  }
}
#team .team__list {
  width: 90%;
  max-width: 1363px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(80vw / 19.2);
  & > li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(16vw / 19.2);
    cursor: pointer;
    transition: background-color 0.5s;
    padding: 10px;
    border-radius: 5px;
    height: fit-content;
    &:hover {
      background-color: rgba(255, 255, 255, 0.09);
      & img {
        opacity: 0.8;
        filter: brightness(1.4);
      }
    }
    & .team__image {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      aspect-ratio: 1 / 1;
      background-color: #333;
      & > img {
        object-fit: cover;
        width: 100%;
        height: 100%;
        transition: opacity 0.5s, filter 0.5s;
      }
    }
    & .team__contents {
      display: flex;
      align-items: center;
      width: 90%;
      font-family: "Noto Sans JP", sans-serif;
      & .contents_container {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        gap: calc(10vw / 19.2);
        & .team__name {
          display: flex;
          flex-direction: column;
          font-size: min(calc(32vw / 19.2), 32px);
        }
        & .team__position {
          display: flex;
          align-items: center;
          font-size: min(calc(20vw / 19.2), 20px);
        }
      }
      & .arrow_icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        aspect-ratio: 1 / 1;
        border: 2px #4856f0 solid;
        border-radius: 999px;
        user-select: none;
        & > img {
          width: 16px;
        }
      }
    }
  }
}
.profile.modal {
  .modal__overlay {
    z-index: 1001;
  }
  .modal__container {
    width: calc(690vw / 19.2);
    max-width: 690px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    -ms-overflow-style: none;
    scrollbar-width: none;
    &::-webkit-scrollbar {
      display: none;
    }
    & * {
      color: #333;
    }
    & > .modal__section {
      width: 100%;
      max-width: 500px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      & > .modal__header {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 90%;
        & > .modal__title {
          font-size: clamp(25.6px, calc(32vw / 19.2), 32px);
        }
        & > .modal__position {
          font-size: clamp(16px, calc(20vw / 19.2), 20px);
        }
      }
      & > .modal__content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: clamp(10px, calc(10vw / 19.2), 16px);
        margin: clamp(10px, calc(10vw / 19.2), 16px) 0 0;
        & > .modal__image {
          width: 90%;
          display: flex;
          align-items: center;
          justify-content: center;
          aspect-ratio: 1 / 1;
          background-color: rgba(255, 255, 255, 0.2);
          overflow: hidden;
          border-radius: 30px;
          & > img {
            object-fit: cover;
            width: 100%;
            height: 100%;
          }
        }
        & > .modal__profile {
          font-size: clamp(14px, calc(20vw / 19.2), 20px);
          line-height: clamp(22.4px, calc(32vw / 19.2), 32px);
        }
      }
    }
  }
}
@media screen and (max-width: 768px) {
  #team {
    padding: calc(120vw / 3.75) 0;
    gap: calc(72vw / 3.75);
  }
  #team .team__title {
    width: calc(150.22vw / 3.75);
    height: calc(36.35vw / 3.75);
  }
  #team .team__list {
    gap: calc(101vw / 3.75);
    grid-template-columns: repeat(1, 1fr);
    & > li {
      gap: calc(16vw / 3.75);
      & .team__contents {
        & .contents_container {
          gap: calc(15vw / 3.75);
          & .team__name {
            font-size: calc(28vw / 3.75);
          }
          & .team__position {
            font-size: calc(18vw / 3.75);
          }
        }
      }
    }
  }
  .profile.modal {
    .modal__container {
      width: 90vw;
      max-width: calc(320vw / 3.75);
      padding: calc(16vw / 3.75);
      & > .modal__section {
        & > .modal__header {
          & > .modal__title {
            font-size: min(calc(24vw / 3.75), 24px);
          }
          & > .modal__position {
            font-size: min(calc(16vw / 3.75), 16px);
          }
        }
        & > .modal__content {
          gap: calc(10vw / 3.75);
          margin: calc(10vw / 3.75) 0 0;
          & > .modal__image {
            border-radius: 20px;
          }
          & > .modal__profile {
            font-size: min(calc(14vw / 3.75), 14px);
            line-height: min(calc(20vw / 3.75), 20px);
          }
        }
      }
    }
  }
}

#footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: calc(20vw / 19.2);
  min-height: var(--footer-height);
}
#footer .footer__logo {
  background-repeat: no-repeat;
  background-size: contain;
  width: clamp(150px, 209vw / 19.2, 209px);
  height: clamp(47.68px, 66.43vw / 19.2, 66.43px);
  position: relative;
  background-image: url("assets/images/logo/logo.png");
  @supports (background-image: url("assets/images/logo/logo.png.webp")) {
    background-image: url("assets/images/logo/logo.png.webp");
  }
}
#footer .footer__logo > a {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
#footer .footer__copyright {
  font-weight: bold;
}
@media screen and (max-width: 768px) {
  #footer {
    padding: calc(29vw / 3.75) 0 calc(15vw / 3.75);
    gap: calc(12vw / 3.75);
    min-height: var(--footer-height-sp);
  }
  #footer .footer__copyright {
    font-size: calc(14vw / 3.75);
  }
}

#single__page .single__page__container {
  padding: calc(200.2vw / 19.2) 0 0;
  .news__page__title {
    background-repeat: no-repeat;
    background-size: contain;
    width: calc(487.81vw / 19.2);
    height: calc(97.63vw / 19.2);
    background-image: url("assets/images/title/news-title/news-title.png");
    @supports (
      background-image:
        url("assets/images/title/news-title/news-title.png.webp")
    ) {
      background-image: url("assets/images/title/news-title/news-title.png.webp");
    }
  }
  @media screen and (max-width: 768px) {
    & {
      padding: calc(100.1vw / 3.75) 0 0;
      & .news__page__title {
        width: calc(181.62vw / 3.75);
        height: calc(36.35vw / 3.75);
      }
    }
  }
}

#single {
  min-height: calc(100vh - calc(var(--header-height) + var(--footer-height)));
  display: flex;
  justify-content: center;
  padding: calc(60vw / 19.2) 0;
}
#single .single__container {
  width: calc(1088vw / 19.2);
  max-width: 1088px;
}
#single .single__title {
  font-size: calc(40vw / 19.2);
  display: flex;
  justify-content: center;
  margin-top: calc(30vw / 19.2);
}
#single .single__date {
  display: flex;
  justify-content: start;
  margin-top: calc(5vw / 19.2);
}
#single .single__contents {
  margin-top: calc(30vw / 19.2);
}
@media screen and (max-width: 768px) {
  #single {
    padding: calc(60vw / 3.75) 0;
    min-height: calc(
      100vh - calc(var(--header-height-sp) + var(--footer-height-sp))
    );
  }
  #single .single__container {
    width: calc(308vw / 3.75);
  }
  #single .single__title {
    font-size: calc(40vw / 3.75);
    margin-top: calc(60vw / 3.75);
  }
  #single .single__date {
    margin-top: calc(5vw / 3.75);
  }
  #single .single__contents {
    margin-top: calc(60vw / 3.75);
  }
}

#recruit__page .main-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 1060;
  overflow: hidden;
}
#recruit__page .main-visual__background-image {
  width: 100%;
  opacity: 0.8;
  aspect-ratio: 1920 / 1080;
}
#recruit__page .main-visual__texts {
  position: absolute;
  width: calc(1568vw / 19.2);
  top: calc(223vw / 19.2);
  left: 50%;
  translate: -50% 0;
}
#recruit__page .main-visual__texts-main {
  font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: min(4.375rem, 70vw / 19.2);
}
#recruit__page .main-visual__texts-sub {
  font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: min(1.875rem, 30vw / 19.2);
  margin-top: min(19px, 19vw / 19.2);
}
#recruit__page .recruitment-materials {
  width: min(1200px, 1200vw / 19.2);
  margin: 0 auto;
  padding: min(141px, 141vw / 19.2) 0 0;
  @media screen and (max-width: 768px) {
    & {
      width: 98%;
      padding: 20px 0 0;
    }
  }
}
#recruit__page .recruitment-link {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  & > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(90%, 480px);
    padding: 20px;
    border-radius: 5px;
    border: currentColor 1px solid;
    transition: background-color 0.2s, width 0.2s, padding 0.2s;
    &:hover {
      background-color: #851600;
      width: min(96%, 500px);
      padding: 25px;
    }
  }
}
#recruit__page .contents {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: min(141px, 141vw / 19.2) 0 min(159px, 159vw / 19.2);
}
#recruit__page .contents__container {
  background-color: #b0b0b0;
  border-radius: 2rem;
  width: min(1200px, 1200vw / 19.2);
  margin: 0 auto;
  padding: min(66px, 66vw / 19.2) min(64px, 64vw / 19.2) min(94px, 94vw / 19.2);
}
#recruit__page .contents__title {
  font-family: "Hiragino Sans", sans-serif;
  font-size: clamp(1.25rem, 50vw / 19.2, 3.125rem);
  text-align: center;
}
#recruit__page .contents__list {
  margin-top: min(49px, 49vw / 19.2);
  display: flex;
  flex-direction: column;
  row-gap: min(31px, 31vw / 19.2);
}
#recruit__page .contents__item {
  position: relative;
  overflow: hidden;
  color: black;
  background-color: white;
  border: #707070 1px solid;
  border-radius: 2rem;
  padding: min(39px, 39vw / 19.2) min(41px, 41vw / 19.2) min(47px, 47vw / 19.2);
}
#recruit__page .contents__item::before,
#recruit__page .contents__item::after {
  position: absolute;
  top: min(39px, 39vw / 19.2);
  bottom: min(47px, 47vw / 19.2);
  right: 0;
  width: 10%;
}
#recruit__page .contents__item::before {
  content: "";
  border-left: 2px dashed #b0b0b0;
}
#recruit__page .contents__item::after {
  content: "→";
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  font-size: 1.5rem;
}
#recruit__page .contents__item__container {
  width: 90%;
}
#recruit__page .contents__item > a {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  border-radius: 62px;
}
#recruit__page .item__title {
  font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: calc(28vw / 19.2);
}
#recruit__page .item__description {
  font-size: var(--text-size-ja);
  margin-top: clamp(10px, 17vw / 19.2, 17px);
  padding-left: 2rem;
  font-weight: bold;
}
@media screen and (max-width: 768px) {
  #recruit__page .main-visual {
    aspect-ratio: 3 / 4;
  }
  #recruit__page .main-visual__background-image {
    width: auto;
    height: 100%;
    translate: -35% 0;
  }
  #recruit__page .main-visual__texts {
    top: 30%;
  }
  #recruit__page .contents {
    padding: 20px 0;
  }
  #recruit__page .contents__container {
    border-radius: 5px;
    width: 98%;
    padding: 10px;
  }
  #recruit__page .contents__item,
  #recruit__page .contents__item > a {
    border-radius: 5px;
  }
  #recruit__page .contents__item::before,
  #recruit__page .contents__item::after {
    width: 20%;
  }
  #recruit__page .contents__item::after {
    font-size: 1rem;
  }
  #recruit__page .contents__item__container {
    width: 80%;
  }
  #recruit__page .item__title {
    font-size: calc(16vw / 3.75);
  }
  #recruit__page .item__description {
    font-size: var(--text-size-sp);
    line-height: 1.6;
    padding-left: 1rem;
  }
}

#recruit__detail-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: min(66px, 66vw / 19.2) 0 min(146px, 146vw / 19.2);
}
#recruit__detail-page .detail__title {
  text-align: center;
  font-family: "Hiragino Sans", sans-serif;
  font-size: clamp(1.25rem, 50vw / 19.2, 3.125rem);
}
#recruit__detail-page .recruit-container {
  width: min(1200px, 1200vw / 19.2);
  background-color: white;
  border-radius: 2rem;
  color: black;
  margin: min(28px, 28vw / 19.2) auto 0;
  padding: clamp(24px, 92vw / 19.2, 92px) clamp(18px, 95vw / 19.2, 95px);
}
#recruit__detail-page .recruit-title {
  font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: clamp(1.125rem, 50vw / 19.2, 3.125rem);
  margin-bottom: clamp(14px, 44vw / 19.2, 44px);
}
#recruit__detail-page .recruit-description {
  font-size: var(--text-size-ja);
  line-height: 1.6;
  margin: 0 auto;
}
#recruit__detail-page .recruit-items {
  margin-top: clamp(24px, 76vw / 19.2, 76px);
  display: flex;
  flex-direction: column;
  row-gap: clamp(24px, 87vw / 19.2, 87px);
}
#recruit__detail-page .recruit-item {
  display: flex;
  flex-direction: column;
  row-gap: min(20px, 20vw / 19.2);
}
#recruit__detail-page .recruit-item__title {
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
  font-size: clamp(0.875rem, 30vw / 19.2, 1.875rem);
}
#recruit__detail-page .recruit-item__title::before {
  content: "<";
}
#recruit__detail-page .recruit-item__title::after {
  content: ">";
}
#recruit__detail-page .recruit-item__content:not(table) {
  font-size: var(--text-size-ja);
  width: min(1228px, 1228vw / 19.2);
  margin: 0 auto;
}
#recruit__detail-page table.recruit-item__content {
  font-size: clamp(0.75rem, 25vw / 19.2, 1.5625rem);
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
  border: 1px solid black;
}
#recruit__detail-page table.recruit-item__content tr {
  border-bottom: 1px solid black;
}
#recruit__detail-page table.recruit-item__content th {
  width: 20%;
  padding: 20px;
  border-right: 1px solid black;
  text-align: center;
}
#recruit__detail-page table.recruit-item__content td {
  padding: 20px;
}
#recruit__detail-page .recruit__back {
  display: block;
  margin: min(95px, 95vw / 19.2) auto 0;
  width: fit-content;
  text-decoration: underline;
  font-size: clamp(1.125rem, 30vw / 19.2, 1.875rem);
}
@media screen and (max-width: 768px) {
  #recruit__detail-page {
    padding: 32px 0;
  }
  #recruit__detail-page .recruit-container {
    border-radius: 5px;
    width: 90%;
    margin-top: 32px;
  }
  #recruit__detail-page .recruit-description {
    font-size: var(--text-size-sp);
    width: 90%;
  }
  #recruit__detail-page .recruit-item__title {
    column-gap: 2px;
  }
  #recruit__detail-page .recruit-item__content:not(table) {
    font-size: var(--text-size-sp);
    width: 90%;
  }
  #recruit__detail-page table.recruit-item__content th {
    width: 10%;
    padding: 20px 2px;
  }
  #recruit__detail-page table.recruit-item__content th > * {
    writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: vertical-rl;
    white-space: pre;
  }
}

.page__header-group {
  width: 80vw;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: clamp(30px, 5.083vw, 61px) 0 clamp(48px, 8vw, 96px) 0;
}

.page__title {
  font-size: clamp(32px, 10vw, 120px);
  font-family: "Inter", sans-serif;
  font-weight: 400;
}

.page__subtitle {
  font-size: clamp(16px, 2.833vw, 34px);
}

.page-background {
  background-image: url("assets/images/background_images/common/balloon.png"),
    url("assets/images/background_images/common/control-device.png"),
    url("assets/images/background_images/common/minami-soma-map.png"),
    url("assets/images/background_images/common/rocket.png"),
    url("assets/images/background_images/common/FOX.png"),
    url("assets/images/background_images/common/office.png"),
    url("assets/images/background_images/common/MIC.png");
  background-repeat: no-repeat;
  background-position: calc(50% + 780px) clamp(30px, 5.083vw, 61px),
    calc(50% + 820px) 1000px, calc(50% + 890px) 1667px, calc(50% + 800px) 2680px,
    calc(50% - 750px) 388px, calc(50% - 880px) 2120px, calc(50% - 840px) 3131px;
  background-size: 536px 443px, 334px 360px, 430px 645px, 146px 937px,
    161px 1309px, 423px 423px, 407px 407px;
}
