@charset "utf-8";
/* CSS Document */

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
root設定
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

*:root {
  /*幅1366pxの時に1文字10pxとなる値 最小値10px*/
  font-size: clamp(8px, 0.732vw, 10px);
  /* font-size: 10px; */
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  line-height: 1;
  /*自動カーニング*/
  /* font-feature-settings: "palt"; */
  /*両端揃え*/
  text-align: justify;
  /* ---------- */
  /* 変数 */
  /* フォント */
  --fsize_m: 1.8rem;
  --fsize_l: calc(var(--fsize_m) * 1.25);
  --fsize_ll: calc(var(--fsize_m) * 1.5);
  --fsize_xl: calc(var(--fsize_m) * 1.75);
  --fsize_xxl: calc(var(--fsize_m) * 2);
  --fsize_s: calc(var(--fsize_m) * 0.875);
  --fsize_ss: calc(var(--fsize_m) * 0.75);
  --fsize_xs: calc(var(--fsize_m) * 0.675);
  /* パディング */
  --pd_page_lr: var(--fsize_m);
  /* 色 */
  --color-text: #444444;
  --color-deep_navy: #001e62;
  --color-navy: #002e86;
  --color-blue: #00a0e6;
  --color-light_blue: #caddff;
  --color-ex_light_blue: #f2f6ff;
  --color-aqua_blue: #42c3e0;
  --color-gold: #b69300;
}

@media screen and (max-width: 768px) {
  /*幅768pxの時に1文字10pxとなる値*/
  /* *:root {
    font-size: 1.30208vw;
  } */
}

@media screen and (max-width: 480px) {
  /*幅390pxの時に1文字10pxとなる値*/
  *:root {
    font-size: 2.564vw;
    --fsize_l: 1.8rem;
    --fsize_m: 1.5rem;
    --fsize_s: 1rem;
    --fsize_ss: 1rem;
  }
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
スムーズスクロール
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/
html {
  scroll-behavior: smooth;
  scroll-padding-top: 10rem;
  @media screen and (max-width: 480px) {
    scroll-padding-top: 5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
#recruit {
  scroll-margin-top: 10rem;
  @media screen and (max-width: 480px) {
    scroll-margin-top: 5rem;
  }
}
/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
noscript
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

noscript {
  display: block;
  font-size: var(--fsize_m);
  padding: 1em;
  background-color: #ff0;
  text-align: center;
  line-height: 2;
  position: relative;
  z-index: 10000000;
  width: auto;
  color: #000;
  word-break: keep-all;
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
font設定
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

.font-oswald {
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
表示制御
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

/*PCで消す*/
.pc_hide {
  display: none;

  @media screen and (max-width: 768px) {
    display: block;
  }
}

/*SPで消す*/
@media screen and (max-width: 768px) {
  .sp_hide {
    display: none;
  }
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
リンク設定
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

/*リンク*/

a {
  text-decoration: underline;
  color: var(--color-navy);

  &:visited {
    color: var(--color-deep_navy);
  }

  &:hover {
    opacity: 0.5;
    transition: all 0.2s ease;
  }

  &:active {
    opacity: 0.8;
  }
}

/*PCでリンクを殺す*/
@media screen and (min-width: 481px) {
  a.pc_disabled {
    pointer-events: none;

    &:hover,
    &:active {
      opacity: 1 !important;
    }
  }
}

/*SPでリンクを殺す*/
@media screen and (max-width: 480px) {
  a.sp_disabled {
    pointer-events: none;

    &:hover,
    &:active {
      opacity: 1 !important;
    }
  }
}

/*--------------------*/

.button_wrap {
  display: flex;
  gap: 3.2rem;
  @media screen and (max-width: 480px) {
    flex-direction: column;
    row-gap: 2.4rem;
  }
  &.center {
    justify-content: center;
  }
}
/* ボタン */
.button_item {
  display: flex;
  position: relative;
  background-color: #fff;
  border: 2px solid var(--color-navy);
  box-sizing: border-box;
  border-radius: 999px;
  padding: 0 min(9%, 4.2rem);
  font-size: 2rem;
  line-height: 1.5;
  align-items: center;
  color: var(--color-navy);
  text-decoration: none;
  @media screen and (max-width: 1024px) {
    font-size: 1.8rem;
  }

  span {
    width: 100%;
    text-align: center;
  }
  &.sp_text-left {
    span {
      @media screen and (max-width: 480px) {
        text-align: left;
      }
    }
  }

  /* 矢印 */
  &.arrow {
    &::after {
      content: "";
      display: block;
      position: absolute;
      width: 3.7rem;
      aspect-ratio: 37 / 5;
      border-bottom: 1px solid #000;
      border-right: 1px solid #000;
      right: 3.7rem;
      top: 50%;
      transform: translate(0, -50%) skew(45deg);
    }

    @media screen and (max-width: 480px) {
      &::after {
        width: 2.2rem;
        aspect-ratio: 22 / 3;
        right: 2rem;
      }
    }
    &.navy::after {
      border-color: #fff;
    }
    &.size-header {
      &::after {
        width: 100%;
        max-width: 2.9rem;
        aspect-ratio: 29 / 5;
        border-color: #fff;
        right: 3rem;
      }
    }
    &:hover {
      &::after {
        transition: all 0.2s ease;
        transform: translate(1rem, -50%) skew(45deg);
      }
    }
    &.arrow-left {
      &::after {
        border-right: none;
        border-bottom: 1px solid #000;
        border-left: 1px solid #000;
        right: auto;
        left: 3.7rem;
        transform: translate(0, -50%) skew(-45deg);
      }
      &:hover {
        &::after {
          transform: translate(-1rem, -50%) skew(-45deg);
        }
      }
    }
  }

  /* サイズ */
  &.size-header {
    width: 37.7rem;
    aspect-ratio: 377/90;
    @media screen and (max-width: 480px) {
      width: 100%;
    }
  }
  &.size-ll {
    height: 10.3rem;
    width: 47.7rem;
    @media screen and (max-width: 480px) {
      width: 100%;
      height: 6.8rem;
    }
  }
  &.size-l {
    height: 7.9rem;
    width: 49.4rem;

    @media screen and (max-width: 480px) {
      width: 100%;
      height: 6.8rem;
      &.width {
        width: 100%;
      }
    }
  }
  &.size-m {
    height: 7.9rem;
    width: 38.7rem;
    @media screen and (max-width: 480px) {
      width: 100%;
      height: 6.8rem;
      &.width {
        width: 100%;
      }
    }
  }
  &.size-s {
    height: 7.9rem;
    width: 31.4rem;
    @media screen and (max-width: 480px) {
      width: 100%;
      height: 6.8rem;
      &.width {
        width: 100%;
      }
    }
  }
  /* 色 */
  &.navy {
    background-color: var(--color-navy);
    color: #fff;
  }
  &.gold {
    background-color: var(--color-gold);
    color: #fff;
    border-color: var(--color-gold);
  }
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
ページトップボタン設定
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

.pagetop_jump {
  position: fixed;
  right: 0.5rem;
  bottom: 0.5rem;
  visibility: hidden;
  opacity: 0;
  transition: 0.5s;
  z-index: 100;
  width: 4rem;
  height: 4rem;

  &.on {
    visibility: visible;
    opacity: 1;
  }

  a {
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    position: relative;
    font-size: 0;

    &::after {
      content: "";
      position: absolute;
      display: block;
      top: 50%;
      left: 50%;
      width: 1rem;
      height: 1rem;
      border: 1px solid #fff;
      border-bottom: none;
      border-left: none;
      transform: translate(-50%, -25%) rotate(-45deg);
    }

    /*PC版のみhoverを付与*/

    @media screen and (min-width: 769px) {
      &:hover {
        opacity: 0.7;
        transition: 0.2s;
      }
    }
  }
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
画像
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

img {
  width: 100%;
  height: auto;

  &.ojf_cover {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
  }

  &.ojf_contain {
    object-fit: contain;
    width: 100%;
    height: 100%;
    display: block;
  }
}

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

.ojf_contain_wrap {
  > img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    display: block;
  }
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
ローディング画面
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-ex_light_blue);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.3s ease-out;
  .loader {
    position: relative;
    width: min(20%, 120px);
    aspect-ratio: 1/1;
    &::before {
      content: "";
      background-image: url(../img/common/logo.png);
      background-size: contain;
      background-position: center center;
      background-repeat: no-repeat;
      display: block;
      position: absolute;
      top: calc(50% - 4px);
      left: 50%;
      transform: translate(-50%, -50%);
      width: 160%;
      aspect-ratio: 1/1;
    }
    div.progress {
      position: absolute;
      bottom: 0;
      height: 4px;
      width: 100%;
      --c: no-repeat linear-gradient(#999 0 0);
      background: var(--c), var(--c), #ccc;
      background-size: 60% 100%;
      animation: l16 3s infinite;
    }
  }
}
@keyframes l16 {
  0% {
    background-position:
      -150% 0,
      -150% 0;
  }
  66% {
    background-position:
      250% 0,
      -150% 0;
  }
  100% {
    background-position:
      250% 0,
      250% 0;
  }
}

#loading-screen {
  &.fade-out {
    opacity: 0;
  }
}
#page_wrap {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  &.visible {
    opacity: 1;
  }
}
/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
ページ設定
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

#page_wrap {
  /*--------------------*/
  /* ページ全体の幅 */
  min-width: 320px;
  /* header.cssの#headerの高さと連動 */
  /* padding-top: 9.6rem; */
  padding-bottom: 1px;
  border-left: 1px solid var(--color-light_blue);
  border-right: 1px solid var(--color-light_blue);
  position: relative;
  overflow: hidden;
  &::after {
    content: "";
    position: fixed;
    display: block;
    bottom: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid var(--color-light_blue);
    z-index: 900;
  }
  @media screen and (max-width: 480px) {
    /* header.cssの#headerの高さと連動 */
    border: none;
    &::after {
      display: none;
    }
  }

  /*--------------------*/
  /* コンテンツ部分 */
  #contents_wrap {
    /*--------------------*/
    /* サイドバーあり */
    &.has_sidebar {
      display: flex;
      justify-content: space-between;

      @media screen and (max-width: 980px) {
        flex-direction: column;
      }

      #contents_area {
        width: calc(100% - 30rem - 2rem);

        @media screen and (max-width: 980px) {
          width: 100%;
        }
      }

      #sidar_area {
        width: 30rem;
        flex-shrink: 0;

        @media screen and (max-width: 980px) {
          width: 100%;
          margin-top: 2rem;
        }
      }
    }
  }
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
404
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/
body.error404 {
  section.pagenotfound {
    h1 {
      font-size: var(--fsize_l);
      line-height: 2;
      text-align: center;
      margin: 2em 0;
    }

    p {
      font-size: var(--fsize_m);
      line-height: 2;
      text-align: center;
      margin: 1em 0;
    }
  }
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
共通
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/
/* 三角形のフロー */
:where(.after_sankaku) {
  position: relative;
  &::after {
    content: "";
    display: block;
    background-image: none;
    position: absolute;
    /* 以下変更 */
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    width: 6.7rem;
    aspect-ratio: 1.4/1;
    background-color: var(--color-navy);
    bottom: 0;
    left: 0;
    transform: translate(0, 100%);
  }
}

/*----------------------------------------*/
/* セクション */
:where(.main_contents.ui) {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  margin: 10rem auto 14rem;
  max-width: 117rem;
  @media screen and (max-width: 480px) {
    margin: 5rem auto 8rem;
  }
  &:where(.has_bg_section) {
    max-width: 100%;
    padding: 0;
  }
}
:where(section.ui) {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  padding-top: 9.2rem;
  padding-bottom: 12rem;
  @media screen and (max-width: 480px) {
    padding-top: 6rem;
    padding-bottom: 7rem;
  }
  &:first-child {
    padding-top: 0;
  }

  :where(.section_inner) {
    max-width: 117rem;
    margin: auto;
    &:where(.w-925) {
      max-width: 92.5rem;
      margin: auto;
    }
  }
}
div,
section {
  &:where(.bg_blue) {
    background-color: var(--color-ex_light_blue);
  }
}
/*----------------------------------------*/
/* 三角形 */
:where(.bg_sankaku-white) {
  position: relative;
  background-color: #e9eef7;
  overflow: hidden;
  * {
    position: relative;
    z-index: 10;
  }
  &::before,
  &::after {
    content: "";
    display: block;
    position: absolute;
    z-index: 1;
    background-size: contain;
    background-repeat: no-repeat;
  }
  &:where(.before) {
    &::before {
      width: 38.7%;
      max-width: 52.8rem;
      aspect-ratio: 528/309;
      background-position: top left;
      top: 0;
      left: 0;
      background-image: url(../img/common/bg_sankaku-01-white.svg);
    }
  }
  &:where(.after) {
    &::after {
      aspect-ratio: 696/361;
      background-position: bottom right;
      max-width: 69.6rem;
      width: 51%;
      bottom: 0;
      left: 52%;
      background-image: url(../img/common/bg_sankaku-02-white.svg);
    }
  }
}
:where(.bg_sankaku-blue) {
  position: relative;
  * {
    position: relative;
    z-index: 10;
  }
  &::before,
  &::after {
    content: "";
    display: block;
    position: absolute;
    z-index: 1;
    background-size: contain;
    background-repeat: no-repeat;
  }
  &:where(.before) {
    &::before {
      width: 44.4vw;
      max-width: 60.6rem;
      aspect-ratio: 528/309;
      background-position: top left;
      top: 0;
      left: 0;
      background-image: url(../img/common/bg_sankaku-01.svg);
    }
  }
  &:where(.before-bottom) {
    &::before {
      width: 67.2vw;
      max-width: 78.5rem;
      aspect-ratio: 785/620;
      background-position: top left;
      top: 0;
      left: 0;
      background-image: url(../img/common/bg_sankaku-03.svg);
    }
  }
  &:where(.after) {
    &::after {
      aspect-ratio: 2537/1018;
      background-position: bottom right;
      width: 186vw;
      left: 50%;
      background-image: url(../img/common/bg_sankaku-06.svg);
    }
  }
  &:where(.reverse) {
    &::before {
      width: 186vw;
      aspect-ratio: 895/359;
      background-position: top center;
      transform: translate(-50%, -50rem);
      bottom: 50%;
      left: 50%;
      background-image: url(../img/common/bg_sankaku-04.svg);
    }
    @media screen and (max-width: 768px) {
      &::before {
        display: none;
      }
    }
  }
}
/*----------------------------------------*/
/* 四角形 */
:where(.bg_shikaku-white) {
  position: relative;
  background-color: #e9eef7;
  overflow: hidden;
  * {
    position: relative;
    z-index: 10;
  }
  &::before,
  &::after {
    content: "";
    display: block;
    position: absolute;
    z-index: 1;
    background-size: contain;
    background-repeat: no-repeat;
  }
  &:where(.before) {
    &::before {
      width: 100%;
      aspect-ratio: 1368/1555;
      background-size: contain;
      top: 0;
      left: 0;
      background-image: url(../img/common/bg_shikaku-01-white.svg);
    }
    @media screen and (max-width: 480px) {
      &::before {
        display: none;
      }
    }
  }
}
/*.bg_shikaku-white {
  .before {
    &::before {
      top: 0;
      left: 0;
    }
         @media screen and (max-width: 480px) {
             &::before {
}
        }
  }
}*/

/*----------------------------------------*/
/* 本文 */
.palt {
  font-feature-settings: "palt";
}
.text_gold {
  color: var(--color-gold);
}
.text_blue {
  color: var(--color-navy);
}
:where(p.ui) {
  font-size: 1.6rem;
  line-height: 2.25;
  color: var(--color-text);
  letter-spacing: 0.01em;
  @media screen and (max-width: 480px) {
    font-size: 1.2rem;
    line-height: 2.1;
  }
  &.size-l {
    font-size: 1.8rem;
    line-height: 2.39;
    @media screen and (max-width: 480px) {
      font-size: 1.5rem;
      line-height: 1.87;
    }
    &.narrow {
      line-height: 2;
      @media screen and (max-width: 480px) {
        line-height: 1.75;
      }
    }
  }
  span.blue,
  strong.blue {
    color: var(--color-navy);
    display: inline;
  }
  small {
    font-size: 0.875em;
  }
}
:where(span) {
  display: inline-block;
}
:where(em.uline) {
  color: var(--color-navy);
  font-size: min(1.12em, 2rem);
  font-style: normal;
  font-weight: 600;
  background: linear-gradient(transparent 75%, #e2d499 75%);
  &:where(.no_line) {
    background: transparent;
  }
}

/*----------------------------------------*/
/* タイトル */
/* 基本 */
:where(h2.ui) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--color-navy);
  row-gap: 1.1rem;
  @media screen and (max-width: 480px) {
    row-gap: 0.4rem;
  }
  span.text {
    letter-spacing: 0.05em;
    font-size: 5rem;
    line-height: 1.6;
    padding-left: 0.05em;
    @media screen and (max-width: 480px) {
      font-size: 2.2rem;
      line-height: 1.73;
    }
  }
  span.en {
    font-size: 2.8rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    padding-left: 0.05em;
    @media screen and (max-width: 480px) {
      font-size: 1.6rem;
    }
    &.gold {
      color: var(--color-gold);
    }
  }
  &:where(.has-img_en) {
    row-gap: 1.6rem;
    @media screen and (max-width: 480px) {
      row-gap: 1rem;
    }
    .img_en {
      height: 2.8rem;
      display: block;
      @media screen and (max-width: 480px) {
        height: 1.8rem;
      }
      img {
        height: 100%;
        width: auto;
      }
    }
  }
}
:where(h3.ui) {
  font-size: 3.4rem;
  line-height: 1.35;
  letter-spacing: 0.05em;
  color: var(--color-navy);
  @media screen and (max-width: 480px) {
    font-size: 1.8rem;
  }
  strong {
    color: var(--color-gold);
  }
  &.center {
    text-align: center;
  }
}

/* 青い帯 */
h2,
h3 {
  &:where(.bg_blue) {
    font-size: 5rem;
    letter-spacing: 0.05em;
    font-weight: 600;

    color: var(--color-navy);
    position: relative;
    &.center {
      text-align: center;
    }
    @media screen and (max-width: 480px) {
      font-size: 2.1rem;
    }
    :where(span) {
      display: inline-block;
      background-color: var(--color-navy);
      color: #fff;
      line-height: 1.26;
      padding: 0 0.27em 0.1em 0.32em;
      margin: 0 0.1em;
      @media screen and (max-width: 480px) {
        font-size: 2.1rem;
        padding: 0.1em 0.27em 0.2em 0.32em;
      }
    }
    :where(small) {
      color: var(--color-navy);
      font-size: 0.6em;
      line-height: 2;
      display: inline-block;
      margin: 0.3em;
      @media screen and (max-width: 480px) {
        font-size: 0.81em;
        margin: 0.1em;
      }
    }

    /* ナンバー */
    :where(em.number) {
      display: block;
      position: absolute;
      left: 0;
      transform: translate(0, -100%);
      font-size: 2.2rem;
      font-weight: 400;
      letter-spacing: 0.05em;
    }
  }

  /* 英語テキスト付きタイトル */
  &:where(.enimg_title) {
    margin-bottom: 8rem;
    display: flex;
    align-items: flex-end;
    gap: 2.8rem;
    padding-bottom: 5rem;
    border-bottom: 1px solid #bababa;
    @media screen and (max-width: 480px) {
      margin-bottom: 3.6rem;
      padding-bottom: 1.4rem;
      gap: 1.2rem;
    }
    &.center {
      justify-content: center;
    }
    .img_text {
      height: 12.4rem;
      @media screen and (max-width: 480px) {
        height: 3.8rem;
      }
      img {
        height: 100%;
        width: auto;
      }
    }

    .title_text {
      font-size: 3.2rem;
      color: var(--color-gold);
      margin-bottom: 2.2rem;
      letter-spacing: 0.05em;
      @media screen and (max-width: 480px) {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
      }
    }
    &.noborder {
      border-bottom: none;
      padding-bottom: 0;
      .img_text {
        height: 8.6rem;
        @media screen and (max-width: 480px) {
          height: 3.8rem;
        }
      }
    }
  }
}
/*----------------------------------------*/
/* リスト */
.list-base {
  font-size: 2rem;
  line-height: 1.6;
  @media screen and (max-width: 480px) {
    font-size: 1.6rem;
  }
  li {
    position: relative;
    text-align: left;
  }

  /* 番号つき */
  &.number {
    counter-reset: my-counter;
    list-style: none;
    li {
      counter-increment: my-counter;
      position: relative;
      padding-top: 0.5em;
      padding-left: 4.1em;
      margin-bottom: 1.4em;
      min-height: 2.45em;
      @media screen and (max-width: 480px) {
        margin-bottom: 1em;
      }
      &::before {
        content: "0" counter(my-counter);
        position: absolute;
        display: block;
        width: 2.45em;
        aspect-ratio: 1/1;
        overflow: hidden;
        background-color: var(--color-gold);
        border-radius: 9999px;
        top: 0;
        left: 0;
        font-size: 1.1em;
        line-height: 2.45em;
        color: #fff;
        text-align: center;
        font-family: "Oswald", sans-serif;
        font-weight: 400;
      }
      &:nth-child(n + 10)::before {
        content: counter(my-counter); /* 10以降はそのまま */
      }
    }
  }
}
:where(.check_list) {
  font-size: 1rem;

  :where(li) {
    font-size: 1.8em;
    display: flex;
    align-items: center;
    gap: 0.78em;
    min-height: 1.56em;
    line-height: 1.3;
    letter-spacing: 0.01em;
    color: var(--color-text);
    margin-bottom: 1em;
    @media screen and (max-width: 480px) {
      font-size: 1.5rem;
    }
    &:last-child {
      margin-bottom: 0;
    }
    &::before {
      content: "";
      display: block;
      width: 1.56em;
      aspect-ratio: 1/1;
      background-image: url(../img/common/icon-check.svg);
      background-repeat: no-repeat;
      background-size: contain;
      align-self: flex-start;
      flex-shrink: 0;
    }
  }
}
/*----------------------------------------*/
/* カウント */
:where(.count_wrap) {
  counter-reset: my-counter;
  list-style: none;
  :where(.count_item) {
    counter-increment: my-counter;
    position: relative;
    &::before {
      content: "0" counter(my-counter);
      position: absolute;
      display: block;
      width: 6.2rem;
      aspect-ratio: 1/1;
      overflow: hidden;
      background-color: var(--color-gold);
      border-radius: 9999px;
      top: 0;
      left: 0;
      font-size: 2.2rem;
      line-height: 6.2rem;
      color: #fff;
      text-align: center;
      font-family: "Oswald", sans-serif;
      font-weight: 400;
    }
    &:nth-child(n + 10)::before {
      content: counter(my-counter); /* 10以降はそのまま */
    }
  }
}
/*----------------------------------------*/
/* 画像とテキスト */
:where(.ui.img_text_wrap) {
  display: flex;
  justify-content: space-between;
  @media screen and (max-width: 480px) {
    flex-direction: column;
    gap: 3rem;
  }
  :where(.text_wrap) {
    width: 49.6%;
    max-width: 58rem;
    @media screen and (max-width: 480px) {
      width: 100%;
    }
  }
  :where(.img_wrap) {
  }
}
/*----------------------------------------*/
/* 年表 */
dl.history_list {
  margin-top: 12rem;
  display: flex;
  flex-wrap: wrap;
  @media screen and (max-width: 768px) {
    margin-top: 6rem;
  }
  dt {
    font-size: 3.6rem;
    font-weight: 500;
    color: var(--color-gold);
    width: 17.3%;
    box-sizing: border-box;
    padding-left: 4.2rem;
    @media screen and (max-width: 768px) {
      padding-left: 0;
      font-size: 2.4rem;
      width: 20%;
    }
  }
  dd {
    box-sizing: border-box;
    width: 82.7%;
    padding-top: 0.25em;
    padding-left: 5.5rem;
    padding-bottom: 4.2rem;
    position: relative;

    &::before,
    &::after {
      content: "";
      display: block;
      position: absolute;
      left: 0;
    }
    &::before {
      width: 1.4rem;
      aspect-ratio: 1/1;
      border-radius: 9999px;
      background-color: var(--color-navy);

      top: 1.4rem;
      transform: translate(-50%, -25%);
    }
    &::after {
      width: 1px;
      height: 100%;
      background-color: var(--color-navy);
      top: 1.4rem;
    }
    @media screen and (max-width: 768px) {
      padding-top: 0.125em;
      padding-left: 2rem;
      padding-bottom: 2.4rem;
      width: 80%;
      &::before {
        width: 0.9rem;
        top: 1rem;
      }
      &::after {
        top: 1rem;
      }
    }
    p {
      font-size: 2rem;
      line-height: 1.4;
      letter-spacing: 0.01em;
      color: #000;
      @media screen and (max-width: 480px) {
        font-size: 1.5rem;
      }
    }
  }
}

/*----------------------------------------*/
/* ページナビゲーション */
nav.page_link_wrap {
  padding: 0 2rem;
  margin: 4.2rem auto 14rem;
  @media screen and (max-width: 480px) {
    margin: 3rem auto 4.8rem;
  }
  ul.page_link {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7rem;
    row-gap: 2rem;
    @media screen and (max-width: 480px) {
      gap: 4%;
      row-gap: 2.4rem;
      justify-content: space-between;
    }
    li {
      @media screen and (max-width: 480px) {
        width: 48%;
      }
      a {
        font-size: 1.5rem;
        line-height: 1.4;
        color: #000;
        @media screen and (max-width: 480px) {
          font-size: 1.2em;
        }
        span {
          padding-right: 1.6em;
          position: relative;
          &::after {
            content: "";
            display: block;
            width: 1.1rem;
            aspect-ratio: 11/7;
            background-image: url(../img/common/icon-glomenu-yajirushi-navy.svg);
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center center;
            position: absolute;
            top: 0.7em;
            right: 0;
            transform: translateY(-40%);
          }
        }
      }
    }
  }
}
/*----------------------------------------*/
/* スタッフ紹介 */
.staff_item {
  display: flex;
  justify-content: space-between;
  color: var(--color-text);
  margin-bottom: 12rem;
  @media screen and (max-width: 480px) {
    flex-direction: column-reverse;
    row-gap: 3rem;
    margin-bottom: 6rem;
  }
  &:last-of-type {
    margin-bottom: 0;
  }
  .img_wrap {
    max-width: 38.8rem;
    width: 33.2%;
    flex-shrink: 0;
    @media screen and (max-width: 480px) {
      width: 68%;
      margin: auto;
    }
  }
  .text_wrap {
    width: 53.5%;
    @media screen and (max-width: 480px) {
      width: 100%;
    }
    .name {
      font-size: 2.4rem;
      line-height: 1.5;
      font-weight: 600;
      margin-bottom: 1.7rem;
      letter-spacing: normal;
      @media screen and (max-width: 480px) {
        font-size: 1.6rem;
      }
    }
    .qualifications {
      font-size: 2rem;
      line-height: 1.8;
      margin-bottom: 3rem;
      @media screen and (max-width: 480px) {
        font-size: 1.5rem;
        margin-bottom: 2.4rem;
      }
      strong {
        font-weight: 600;
        color: var(--color-navy);
        text-align: left;
      }
    }
    h4 {
      font-size: 2rem;
      line-height: 2.3;
      letter-spacing: 0.05em;
      color: var(--color-navy);
      @media screen and (max-width: 480px) {
        font-size: 1.5rem;
      }
      & + p {
        line-height: 2;
        margin-bottom: 3.4rem;
        &:last-of-type {
          margin-bottom: 0;
        }
        @media screen and (max-width: 480px) {
          margin-bottom: 2rem;
        }
      }
    }
  }
}
/*----------------------------------------*/
/* ステップ */
:where(.step_item_wrap) {
  :where(.stepyajirusi_wrap) {
    margin-bottom: 3.2rem;
    position: relative;

    &::after {
      content: "";
      display: block;
      background-color: var(--color-navy);
      position: absolute;
      clip-path: polygon(0 0, 100% 0, 50% 100%);
      width: 6.7rem;
      aspect-ratio: 67/32;
      bottom: 0;
      left: 5.6rem;
      transform: translate(0, 100%);
      background-image: none;
    }
    &:last-of-type {
      margin-bottom: 0;
      &::after {
        display: none;
      }
    }
    @media screen and (max-width: 480px) {
      margin-bottom: 1.9rem;
      &::after {
        width: 4.8rem;
        aspect-ratio: 67/32;
        left: 1.6rem;
      }
    }
  }
  :where(.item) {
    position: relative;
    padding: 2.5rem 4.8rem 3.8rem;

    @media screen and (max-width: 480px) {
      padding: 2.2rem 1.2rem;
      margin-bottom: 2.1rem;
      &::after {
        width: 4.8rem;
        aspect-ratio: 48/21;
        left: 1.6rem;
      }
    }
    @media screen and (max-width: 480px) {
      &.bg_sankaku-white {
        &::before {
          width: 20rem;
        }
        &::after {
          display: none;
        }
      }
    }
    :where(h4:not(.menu_wrap *), .count_item, .step_title) {
      padding-left: 9.4rem;
      padding-bottom: 2.2rem;
      border-bottom: 1px solid #bababa;
      display: flex;
      align-items: center;
      min-height: 6.2rem;
      :where(span) {
        color: var(--color-navy);
        display: block;

        font-size: 3.6rem;
        line-height: 1.5;
        letter-spacing: 0.02em;
        box-sizing: border-box;
      }
      :where(small) {
        font-size: 0.722em;
      }
      &.noborder {
        border-bottom: none;
      }
      &::before {
        top: 0;
        left: 0.4rem;
        min-height: 5.1rem;
      }
      @media screen and (max-width: 480px) {
        padding-left: 6.8rem;
        padding-bottom: 1.1rem;
        min-height: 5.1rem;
        :where(span) {
          font-size: 1.8rem;
        }
        &::before {
          width: 5.1rem;
          font-size: 2.2rem;
          line-height: 5.1rem;
          left: 0;
        }
      }
    }
    :where(.item_inner) {
      padding-top: 1.6rem;
      position: relative;
      padding-right: 0.4rem;
      @media screen and (max-width: 480px) {
        padding-right: 0;
      }
      :where(.illust) {
        position: absolute;
        top: 0;
        left: 0;
      }
      :where(p.ui) {
        margin-bottom: 1.6rem;
        margin-left: 20.6rem;
        @media screen and (max-width: 480px) {
          margin-left: 7.2rem;
          margin-bottom: 2rem;
        }
      }
      :where(.menu_wrap) {
        background-color: #fff;
        padding: 2.2rem 2.4rem 2.6rem;
        margin-left: 20.6rem;
        @media screen and (max-width: 480px) {
          margin-left: 0;
          padding: 1.2rem;
        }
        :where(h5, h4:not(.flex_wrap *), h3) {
          font-size: 1.6rem;
          color: var(--color-navy);
          line-height: 1.6875;
          @media screen and (max-width: 480px) {
            font-size: 1.2rem;
            line-height: 2;
          }
        }
        :where(p) {
          font-size: 1.4rem;
          line-height: 1.93;
          strong {
            font-weight: bold;
          }
          @media screen and (max-width: 480px) {
            font-size: 1.2rem;
            line-height: 2;
          }
        }
      }
    }
  }
}
/*----------------------------------------*/
/* プラン */
.plan_item_wrap {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  align-items: flex-end;
  @media screen and (max-width: 768px) {
    flex-direction: column;
    row-gap: 3em;
  }

  .plan_item {
    max-width: 37em;
    width: 31.7%;
    background-color: #fff;
    border-radius: 2em;
    overflow: hidden;
    box-shadow: 0px 0px 20px rgba(0, 46, 134, 0.5);
    @media screen and (max-width: 768px) {
      width: 100%;
      max-width: 100%;
    }
    h3 {
      background-color: var(--color-navy);
      color: #fff;
      padding: 0 0 0 3em;
      display: flex;
      align-items: center;
      gap: 1.6em;
      min-height: 10.5em;
      @media screen and (max-width: 768px) {
        min-height: 7.4rem;
      }
      .maru {
        background-color: #fff;
        font-size: 2.6em;
        color: var(--color-navy);
        width: 1.92em;
        aspect-ratio: 1/1;
        border-radius: 9999px;

        line-height: 1.92em;
        text-align: center;
        @media screen and (max-width: 768px) {
          font-size: 2rem;
        }
      }
      .text {
        font-size: 2.6em;
        line-height: 1.155;
        letter-spacing: 0.02em;
        @media screen and (max-width: 768px) {
          font-size: 2rem;
        }
      }
    }
    .inner {
      padding: 0 2.4em 2em;
      h4 {
        display: block;
        font-size: 2.4em;
        border-bottom: 1px solid #bababa;
        padding: 1.25em 0 1.667em;
        text-align: center;
        letter-spacing: 0.02em;
        color: var(--color-text);
        position: relative;
        margin-bottom: 1.25em;
        min-height: 0;
        @media screen and (max-width: 768px) {
          font-size: 2.4rem;
          padding: 1em 0 1.667em;
        }
        em {
          font-size: 1.92em;
          color: var(--color-navy);
          display: inline-block;
          margin-right: 0.15em;
          font-style: normal;
        }
        span {
          line-height: 1;
          font-size: 0.58em;
          color: #95989a;
          &.absolute {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-80%, 160%);
            &.hitoketa {
              transform: translate(-100%, 160%);
            }
          }
        }
      }
      .list_wrap {
        min-height: 24.4em;
        @media screen and (max-width: 768px) {
          min-height: auto;
          margin-bottom: 2.8rem;
        }

        p {
          font-size: 1.4em;
          line-height: 1.5;
          color: var(--color-navy);
          margin-top: 0.5em;
          padding-left: 2.8em;
          @media screen and (max-width: 768px) {
            font-size: 1.2rem;
          }
        }
      }
      .osusume_wrap {
        font-size: 1.6em;
        line-height: 1.625;
        min-height: 8.3125em;
        @media screen and (max-width: 768px) {
          font-size: 1.4rem;
          min-height: auto;
        }
        h5 {
          color: var(--color-gold);
          margin-bottom: 0.25em;
        }
        p {
          color: var(--color-text);
        }
      }
    }
    &.gold {
      box-shadow: 0px 0px 20px #b69300;
      h3 {
        background-color: var(--color-gold);
      }
      .inner {
        h4 {
          padding: 2em 0 2.4em;
          @media screen and (max-width: 768px) {
            padding: 1em 0 1.667em;
          }
        }
      }
    }
  }
  &.option {
    display: block;
    margin-top: 3.9rem;

    @media screen and (min-width: 481px) {
      .plan_item {
        width: 100%;
        max-width: 100%;
        display: flex;
        h3 {
          width: 26.6%;
          flex-shrink: 0;
          box-sizing: border-box;
          flex-direction: column;
          align-items: flex-start;
          justify-content: center;
          padding-left: 4.2rem;
          .maru {
            width: 13.2rem;
            height: 3.2rem;
            font-size: 2rem;
            line-height: 1.6;
          }
        }
        .inner {
          width: 73.4%;
          box-sizing: border-box;
          display: flex;
          padding: 3.2rem 0 6.4rem;
          position: relative;
          h4 {
            width: 40%;
            border: none;
            padding: 0.6rem 0 0;
            align-items: flex-start;
            span {
              &.absolute {
                &.hitoketa {
                  transform: translate(-100%, 220%);
                }
              }
            }
          }
          .list_wrap {
            width: 60%;
            min-height: auto;
            position: static;

            p {
              position: absolute;
              font-size: 1.4rem;
              padding: 0;
              margin: 0;
              width: 100%;
              left: 0;
              text-align: center;
              bottom: 2rem;
            }
          }
        }
      }
    }
    @media screen and (max-width: 480px) {
      .plan_item {
        h3 {
          box-sizing: border-box;
          padding-left: 1.8rem;
          .maru {
            width: 9.6rem;
            height: 3.1rem;
            font-size: 1.4rem;
            line-height: 3.1rem;
          }
        }
        .inner {
          padding-bottom: 3rem;
          .list_wrap {
            margin: 0;
            p {
              padding: 0;
              margin: 2.2rem 0 0;
            }
          }
        }
      }
    }
  }
}
/*----------------------------------------*/
/* 無料診断 */
.diagnosis_wrap {
  &.bg_shikaku-white {
    &.before {
      &::before {
        top: 29.3rem;
      }
    }
  }
  padding-top: 10rem;
  @media screen and (max-width: 480px) {
    padding-top: 6.4rem;
  }
  h2 {
    margin-bottom: 8.7rem;
    @media screen and (max-width: 480px) {
      margin-bottom: 4.2rem;
    }
  }
  .img_text_wrap {
    margin-bottom: 8rem;
    @media screen and (max-width: 480px) {
      row-gap: 2.4rem;
      margin-bottom: 4rem;
    }
    .img_wrap {
      max-width: 55.8rem;
    }
    .text_wrap {
      max-width: 57.5rem;
      p {
        line-height: 2.22;
        padding-top: 2.6rem;
        @media screen and (max-width: 480px) {
          padding-top: 0;
          line-height: 2;
        }
        strong {
          color: var(--color-navy);
          font-size: 2rem;
          @media screen and (max-width: 480px) {
            font-size: 1.6rem;
          }
        }
      }
    }
  }
}
/*----------------------------------------*/
/* サービスへのリンク */
.sevice_footer_link_wrap {
  padding-top: 7rem;
  padding-bottom: 9.2rem;
  position: relative;
  ul.service_link {
    display: flex;
    justify-content: space-between;
    margin: auto;
    @media screen and (max-width: 768px) {
      flex-wrap: wrap;
      row-gap: 3.2rem;
    }
    li {
      width: 23.1%;
      max-width: 27rem;
      @media screen and (max-width: 480px) {
        width: 47.1%;
        max-width: 16rem;
      }
      a {
        display: block;
        position: relative;
        color: var(--color-navy);
        text-decoration: none;
        .img_wrap {
          position: relative;
          z-index: 1;
          @media screen and (max-width: 768px) {
            aspect-ratio: 16/19;
          }
        }
        h3 {
          display: flex;
          justify-content: center;
          background-color: #fff;
          max-width: 22.8rem;
          padding: 8.4rem 0 0;
          aspect-ratio: 228/130;
          box-sizing: border-box;
          width: 84.5%;
          margin: auto;
          text-align: center;
          font-size: 1.8rem;
          line-height: 1.22;
          letter-spacing: 0.012em;
          box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.12);
          margin-top: -6.5rem;
          position: relative;
          z-index: 10;
          word-break: keep-all;
          @media screen and (max-width: 768px) {
            font-size: 1.2rem;
            margin-top: -3.8rem;
            aspect-ratio: 136/77;
            padding: 5rem 0 0;
          }
          span {
            width: 80%;
          }
          .img_wrap {
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
          }
          &.service {
            padding-top: 6.4rem;
            @media screen and (max-width: 768px) {
              padding-top: 4rem;
            }
            .img_wrap {
              width: 4.6rem;
              top: 1.5rem;
              @media screen and (max-width: 768px) {
                width: 2.8rem;
                top: 0.8rem;
              }
            }
          }
          &.training {
            .img_wrap {
              width: 4.7rem;
              top: 2rem;
              @media screen and (max-width: 768px) {
                width: 2.9rem;
                top: 1.2rem;
              }
            }
          }
          &.new_business {
            .img_wrap {
              width: 4.6rem;
              top: 1.4rem;
              @media screen and (max-width: 768px) {
                width: 2.6rem;
                top: 0.8rem;
              }
            }
          }
          &.recruit {
            .img_wrap {
              width: 4.5rem;
              top: 2.1rem;
              transform: translateX(-35%);
              @media screen and (max-width: 768px) {
                width: 2.7rem;
                top: 1.4rem;
              }
            }
          }
          &::after {
            content: "";
            display: block;
            position: absolute;
            width: 2.6rem;
            aspect-ratio: 26 / 5;
            border-bottom: 1px solid var(--color-gold);
            border-right: 1px solid var(--color-gold);
            right: 1.6rem;
            top: 50%;
            transform: translate(0, -50%) skew(45deg);
          }
          @media screen and (max-width: 768px) {
            &::after {
              width: 1.6rem;
              aspect-ratio: 16 / 4;
              right: 1rem;
            }
          }
          &:hover {
            &::after {
              transition: all 0.2s ease;
              transform: translate(0.5rem, -50%) skew(45deg);
            }
          }
        }
      }
    }
  }
}
/*----------------------------------------*/
/* 罫線の囲み */
:where(.border_wrap) {
  border: 1px solid var(--color-navy);
  padding: 5.8rem 1.6rem;
  max-width: 103.4rem;
  margin: 6rem auto;
  @media screen and (max-width: 480px) {
    margin: 4rem auto;
    padding: 3.8rem 2.2rem;
  }
  h3 {
    position: relative;
    padding-bottom: 2.6rem;
    margin-bottom: 4.4rem;
    @media screen and (max-width: 480px) {
      padding-bottom: 1.8rem;
      margin-bottom: 2.2rem;
    }
    &::after {
      content: "";
      display: block;
      position: absolute;
      width: 4.6em;
      height: 1px;
      background-color: var(--color-navy);
      bottom: 0;
      left: 50%;
      transform: translate(-50%, 0);
    }
  }
}
/* 月割り金額の表示 */
:where(.plice_par_month) {
  font-size: 2.4em;
  text-align: center;
  letter-spacing: 0.02em;
  color: var(--color-text);
  position: relative;
  @media screen and (max-width: 768px) {
    font-size: 2.4rem;
  }
  em {
    font-size: 1.92em;
    color: var(--color-navy);
    display: inline-block;
    margin: 0 0.15em;
    font-style: normal;
    font-weight: bold;
  }
  span {
    font-size: 0.58em;
    color: #95989a;
    &.absolute {
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translate(-80%, 140%);
      &.hitoketa {
        transform: translate(-100%, 140%);
      }
      &.left {
        transform: translate(-190%, 140%);
      }
    }
  }
}
/*----------------------------------------*/
/* ポイント */
:where(.point_wrap) {
  @media screen and (max-width: 480px) {
    .parent {
      display: grid;
      grid-template-columns: auto auto;
      grid-template-rows: repeat(3, auto);
      grid-column-gap: 0px;
      grid-row-gap: 0px;
    }

    .div1 {
      grid-area: 1 / 1 / 2 / 2;
    }
    .div2 {
      grid-area: 1 / 2 / 2 / 3;
    }
    .div3 {
      grid-area: 2 / 1 / 3 / 3;
    }
    .div4 {
      grid-area: 3 / 1 / 4 / 3;
    }
  }

  display: flex;
  gap: min(3.35%, 3.8rem);
  @media screen and (max-width: 480px) {
    flex-direction: column;
    row-gap: 3rem;
  }
  max-width: 92.5rem;
  margin-right: auto;
  margin-left: auto;
  gap: min(3.35%, 3.8rem);
  :where(.item) {
    width: 31.1%;
    max-width: 28.3rem;
    @media screen and (max-width: 480px) {
      margin: auto;
    }
    :where(.icon) {
      margin: auto;
      @media screen and (max-width: 480px) {
        margin: 0;
      }
    }
    :where(h4, h3.div2) {
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      @media screen and (max-width: 480px) {
        text-align: left;
        justify-content: flex-start;
      }
    }
    :where(.img_wrap) {
      display: flex;
      justify-content: center;
      align-items: flex-end;
    }

    :where(.text_wrap) {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      @media screen and (max-width: 480px) {
        aspect-ratio: auto;
      }
    }
  }
}
