@charset "UTF-8";
/* アニメーション中に文字が要素からはみ出さないようにする */
.slide-in {
  display: inline-block;
  width: 0; /* 幅0%から始める */
  white-space: nowrap; /* テキストが折り返されないようにする */
  overflow: hidden; /* 幅が狭い間はテキストが見えないようにする */
  opacity: 0; /* 初期状態で透明 */
  animation: expandWidth 0.8s ease forwards; /* 4秒で幅を広げるアニメーション */
}
.slide-in.delay1 {
  animation-delay: 0.3s;
}
.slide-in.delay2 {
  animation-delay: 0.6s;
}
.slide-in.delay3-5 {
  animation-delay: 0.9s;
}

/* @keyframes を使って幅と透明度を変化させる */
@keyframes expandWidth {
  0% {
    width: 0; /* 最初は幅が0 */
    opacity: 0; /* 最初は透明 */
  }
  50% {
    width: 5%;
    opacity: 0;
  }
  100% {
    width: 100%; /* 最終的に幅が100% */
    opacity: 1; /* 表示されたまま */
  }
}
body {
  letter-spacing: 0.1em;
  background: var(--color-white);
}
body h1, body h2 {
  font-family: var(--regular-family);
}

body {
  overflow-x: hidden;
}

@media (width < 375px) {
  .sp-none {
    display: none;
  }
}

.sp-show {
  display: none;
}
@media (width < 375px) {
  .sp-show {
    display: block;
  }
}

@media (width < 768px) {
  .md-none {
    display: none;
  }
}

.md-show {
  display: none;
}
@media (width < 768px) {
  .md-show {
    display: block;
  }
}

@media (width < 1026px) {
  .lg-none {
    display: none;
  }
}

.lg-show {
  display: none;
}
@media (width < 1026px) {
  .lg-show {
    display: block;
  }
}

.child-top {
  position: relative;
}
@media (width < 768px) {
  .child-top__img {
    aspect-ratio: 750/400;
  }
}
.child-top__img img {
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 1600/400;
}
@media (width < 768px) {
  .child-top__img img {
    aspect-ratio: 750/400;
  }
}
.child-top__txt {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.child-top .slide-in {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 15px;
}
.child-top__text-main {
  font-size: 32px;
  letter-spacing: 0.1em;
  color: var(--color-white);
}
@media (width < 768px) {
  .child-top__text-main {
    font-size: clamp(1.75rem, 0.262rem + 7.44vw, 3.75rem);
    line-height: 1.8333333333;
  }
}
.child-top::after {
  position: absolute;
  white-space: nowrap;
  color: var(--color-white);
  font-size: 192px;
  letter-spacing: 0.07em;
  opacity: 0.1;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
}
@media (width < 768px) {
  .child-top::after {
    font-size: 100px;
  }
}

.sub-menu {
  width: 100%;
  margin-top: 50px;
}
@media (width < 768px) {
  .sub-menu {
    margin-top: 7.8vw;
  }
}
@media (width < 768px) {
  .sub-menu .lower-inner {
    width: 100%;
  }
}
.sub-menu .sub-menu__items {
  display: flex;
  justify-content: space-between;
}
@media (width < 768px) {
  .sub-menu .sub-menu__items {
    width: 100%;
  }
}
.sub-menu .sub-menu__item {
  cursor: pointer;
  width: 100%;
  text-align: center;
  padding-block: 3px;
  border-right: 1px solid var(--color-black);
}
@media (width < 768px) {
  .sub-menu .sub-menu__item {
    padding-block: 0;
    height: 3.2vw;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
.sub-menu .sub-menu__item:first-child {
  border-left: 1px solid var(--color-black);
}
@media (width < 768px) {
  .sub-menu .sub-menu__item:first-child {
    border-left: none;
  }
}
@media (width < 768px) {
  .sub-menu .sub-menu__item:last-child {
    border-right: none;
  }
}
.sub-menu .sub-menu__item:hover {
  opacity: 0.7;
}
.sub-menu .sub-menu__link {
  font-size: 14px;
  transition: opacity 0.3s;
  display: block;
}
@media (width < 768px) {
  .sub-menu .sub-menu__link {
    font-size: 2.6666666667vw;
  }
}
.sub-menu .staff-detail .sub-menu .sub-menu__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 5px;
}

.link-tab__button {
  position: fixed;
  z-index: 9000;
  right: 0px;
  top: 226px;
  width: 54px;
  height: 160px;
  cursor: pointer;
  background-color: var(--color-black);
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  display: flex;
  justify-content: center;
  text-align: center;
}
@media (width < 768px) {
  .link-tab__button {
    display: none;
  }
}
.link-tab__button::before {
  position: absolute;
  content: "";
  width: 24px;
  height: 18px;
  left: 50%;
  translate: -50% 0;
  top: 20px;
  background: url(/recruit/career/cmn/img/search.webp) center center/contain no-repeat;
}
.link-tab__button a {
  display: block;
  color: var(--color-white);
  font-size: 16px;
  writing-mode: vertical-rl;
  width: 100%;
  height: 100%;
}
.link-tab__button p {
  position: absolute;
  top: 68px;
  left: 50%;
  translate: -50% 0;
}

.lower-inner {
  padding-inline: 10px;
  width: calc(70% + 20px);
  max-width: 100%;
  margin-inline: auto;
}
@media (width < 768px) {
  .lower-inner {
    width: 86.6666vw;
    margin-inline: auto;
    padding-inline: 0;
  }
}

.lower-title {
  font-size: 32px;
  line-height: 2.2853571429;
  position: relative;
  letter-spacing: 0.07em;
  padding-left: 44px;
}
@media (width < 768px) {
  .lower-title {
    font-size: 6.4vw;
    padding-left: 1em;
    line-height: 1.3;
  }
}
.lower-title::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background: var(--color-black);
  width: 6px;
  height: 40px;
}
@media (width < 768px) {
  .lower-title::before {
    width: 3px;
    height: 8vw;
  }
}

/*ボタン*/
.btn-area {
  margin-inline: auto;
  display: flex;
  gap: 38px;
  justify-content: center;
}
@media (width < 768px) {
  .btn-area {
    flex-direction: column;
    width: 100%;
    margin: 35px auto 0;
    gap: 8.5333vw;
  }
}
.btn-area .btn {
  margin-inline: auto;
  max-width: 420px;
  width: 50vw;
}
@media (width < 768px) {
  .btn-area .btn {
    width: 85%;
  }
}
@media (width < 768px) {
  .btn-area .btn a {
    height: 70px;
    font-size: 1rem;
  }
}
@media (width < 768px) {
  .btn-area .btn__arrow {
    right: 5vw;
  }
}

.lower-main {
  margin-top: 104px;
}
@media (width < 1026px) {
  .lower-main {
    margin-top: 0;
  }
}

.header__logo-txt {
  color: var(--color-black);
}
.header__item {
  color: var(--color-black);
}
.header__item::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-black);
  position: absolute;
  bottom: -10px;
  transform: scale(0, 1);
  transform-origin: center;
  transition: transform 0.3s ease-in-out;
}
.header__item.current::after {
  transform: scale(1);
}
.header__item:hover::after {
  transform: scale(1);
}

.welfare .allowance-btn__area {
  padding-block: 113px 160px;
}
@media (width < 768px) {
  .welfare .allowance-btn__area {
    padding-block: 14px 60px;
  }
}
@media (width < 768px) {
  .welfare .allowance-btn__area .btn {
    width: 86.6666vw;
  }
}
@media (width < 768px) {
  .welfare .allowance-btn__area .btn a {
    height: 82px;
  }
}

@media (width < 768px) {
  .benefits-top .child-top__txt {
    top: 51%;
  }
}
@media (width < 768px) {
  .benefits-top .child-top__text-main {
    font-size: 24px;
  }
}
.benefits-top::after {
  content: "WELFARE";
  font-size: 12vw;
  letter-spacing: 0.06em;
  top: 49%;
}
@media (width < 768px) {
  .benefits-top::after {
    font-size: 13.3333333333vw;
  }
}

.benefits {
  padding-block: 73px 78px;
  background-color: var(--color-platinumgray);
}
@media (width < 768px) {
  .benefits {
    padding-block: 13.2vw 15.8vw;
  }
}
.benefits__content {
  margin-top: 24px;
}
@media (width < 768px) {
  .benefits__content {
    margin-top: 30px;
  }
}
.benefits__cards {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
}
@media (width < 768px) {
  .benefits__cards {
    flex-direction: column;
    gap: 8vw;
  }
}
.benefits-card {
  background-color: var(--color-white);
  padding-block: 30px 35px;
  width: calc(33.333% - 33.3333333333px);
  min-height: 470px;
}
@media (width < 1300px) {
  .benefits-card {
    width: calc(50% - 25px);
  }
}
@media (width < 768px) {
  .benefits-card {
    width: 100%;
    padding: 5.4666vw 5.4666vw;
  }
}
.benefits-card__content {
  margin-inline: auto;
  width: 83%;
}
@media (width < 768px) {
  .benefits-card__content {
    width: 93.288344%;
  }
}
@media (width < 768px) {
  .benefits-card__content.mt-8 {
    margin-top: 8vw;
  }
}
@media (width < 768px) {
  .benefits-card__content.mt-6 {
    margin-top: 6vw;
  }
}
@media (width < 768px) {
  .benefits-card__content {
    margin-top: 3.4666vw;
  }
}
.benefits-card__img {
  text-align: center;
  margin-inline: auto;
}
.benefits-card__img img {
  aspect-ratio: 280/190;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: auto;
}
@media (width < 768px) {
  .benefits-card__img img {
    aspect-ratio: 530/360;
  }
}
.benefits-card__title {
  font-family: var(--demibold-family);
  font-size: 22px;
  color: var(--color-black);
  line-height: 1.5;
  margin-top: 22px;
  letter-spacing: 0.1em;
  text-align: center;
}
@media (width < 768px) {
  .benefits-card__title {
    font-size: clamp(1.4rem, 0.049rem + 4.59vw, 2.25rem);
    padding-bottom: 3.6vw;
  }
}
.benefits-card__txt {
  margin-top: 20px;
}
@media (width < 768px) {
  .benefits-card__txt {
    margin-top: 2vw;
  }
}
@media (width < 768px) {
  .benefits-card__txt.mt-7 {
    margin-top: 7vw;
  }
}
.benefits-card__txt p {
  line-height: 1.75;
  font-size: 16px;
}
@media (width < 768px) {
  .benefits-card__txt p {
    font-size: clamp(1rem, 0.043rem + 4.08vw, 2rem);
    line-height: 1.74;
  }
}

.allowance {
  margin-top: 84px;
}
@media (width < 768px) {
  .allowance {
    margin-top: 14vw;
  }
}
.allowance .section-lead {
  text-align: left;
  margin-top: 24px;
}
@media (width < 768px) {
  .allowance .section-lead {
    line-height: 1.8;
  }
}
.allowance .section-lead2 {
  margin-top: 38px;
}
.allowance .section-lead3 {
  margin-top: 10px;
}
.allowance__content {
  margin-top: 38px;
}
@media (width < 768px) {
  .allowance__content {
    margin-top: 22px;
  }
}
.allowance__cards {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
@media (width < 768px) {
  .allowance__cards {
    flex-direction: column;
    gap: 6.4vw;
  }
}
.allowance-card {
  background: var(--color-platinumgray);
  padding: 32px 50px 28px 30px;
  width: calc(50% - 20px);
}
@media (width < 1280px) {
  .allowance-card {
    padding: 32px 30px 28px 30px;
  }
}
@media (width < 768px) {
  .allowance-card {
    width: 100%;
  }
}
.allowance-card__inner {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}
@media (width < 1280px) {
  .allowance-card__inner {
    flex-direction: column;
    gap: 1.6vw;
  }
}
.allowance-card__img {
  width: 54.347826087%;
}
@media (width < 1280px) {
  .allowance-card__img {
    width: 100%;
  }
}
.allowance-card__img img {
  aspect-ratio: 250/190;
  -o-object-fit: cover;
     object-fit: cover;
  height: auto;
}
@media (width < 768px) {
  .allowance-card__img img {
    aspect-ratio: 530/360;
  }
}
@media (width < 1280px) {
  .allowance-card__title__container {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
.allowance-card__title {
  margin-top: 15px;
  font-family: var(--regular-family);
  font-size: 22px;
  letter-spacing: 0.1em;
  color: var(--color-black);
}
@media (width < 1280px) {
  .allowance-card__title {
    margin-top: 0;
  }
}
@media (width < 768px) {
  .allowance-card__title {
    font-size: clamp(1.4rem, 0.049rem + 4.59vw, 2.25rem);
  }
}
.allowance-card__txt {
  width: 39.1304347826%;
  margin-top: -14px;
}
@media (width < 1280px) {
  .allowance-card__txt {
    width: 100%;
    margin-top: 14px;
  }
}
@media (width < 768px) {
  .allowance-card__txt {
    margin-top: 6vw;
  }
}
.allowance-card__txt span {
  font-size: 14px;
}
@media (width < 768px) {
  .allowance-card__txt span {
    font-size: clamp(1rem, 0.043rem + 4.08vw, 2rem);
  }
}
.allowance-card__txt p {
  margin-top: 20px;
  line-height: 1.75;
  font-size: 16px;
}
@media (width < 768px) {
  .allowance-card__txt p {
    font-size: clamp(1rem, 0.043rem + 4.08vw, 2rem);
    line-height: 1.75;
  }
}