@charset "UTF-8";

html {
  font-size: 16px;
}

body {
  color: #231815;
  background-color: #EAEFEF;
  font-family:
    "Noto Sans JP",
    "Yu Gothic",
    "YuGothic",
    "Meiryo",
    sans-serif;
}

img {
  max-width: 100%;
}

ul {
  list-style: none;
}

a {
  color: #231815;
  text-decoration: none;
}

.main__bgc--normal {
  background-color: #ffffff;
}

.main__bgc--student {
  background-color: #e6ecfa
}

.main__bgc--company {
  background-color: #FFFBF0;
}

.main__bgc--mtf,
.main__bgc--activity {
  background-color: #EAEFEF;
}

.main__bgc--info {
  background-color: #FFFBF0;
}

/* スクロール無効用 */
.no-scroll {
  overflow: hidden;
  height: 100vh;
}

/* スマホ用画面 */
.sp {
  padding-top: 66px;
  padding-bottom: 10px;
}

/* ファーストビュー （ページの先頭パターン１）*/
.first-view {
  background-color: #ffffff;
  text-align: center;
  padding-top: 30px;
}

.first-view__title {
  font-size: 1.5rem;
  font-weight: bold;
}

.first-view__title::before {
  content: "";
  display: inline-block;
  margin-right: 10px;
  width: 12px;
  height: 12px;
  background-image: url("../img/icon_circle_blue.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.first-view__line {
  height: 10px;
  margin: 10px 20px 0 20px;
  background-color: #ccd7ef;
  border: solid 1px #727171;
}

.first-view__contents {
  padding: 20px 30px 0 30px;
  text-align: center;
}

.first-view__img {
  width: 60vw;
  height: auto;
  padding: 20px;
}

.first-view__text {
  text-align: start;
  font-weight: 400;
}

.first-view__text--p {
  margin-top: 20px;
}

/* ページトップ （ページの先頭パターン２）*/
.page-top {
  border-top: solid 2px #727171;
}

.page-top__title {
  display: inline-block;
  width: 70vw;
  background-color: #ffffff;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 10px 20px;
  border-right: solid 2px #727171;
  border-left: solid 2px #727171;
  border-bottom: solid 2px #727171;
  border-radius: 0 0 10px 10px;
}

.page-top__img {
  margin-top: 20px;
  width: 40vw;
  height: auto;
  padding: 10px;
}

.page-top__text {
  text-align: start;
}

/* 各セクション */
.sections {
  text-align: center;
  padding: 40px 20px;
  scroll-margin-top: 30px;
}

.sections__title {
  font-size: 1.5rem;
  font-weight: bold;
  border-bottom: solid 1px #727171;
}

.sections__title::before {
  content: "";
  display: inline-block;
  margin-right: 10px;
  width: 12px;
  height: 12px;
  background-image: url("../img/icon_circle_blue.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.sections__item {
  margin-top: 20px;
  padding: 10px 0;
  border: solid 1px #727171;
  background-color: #F7F7F7;
  border-radius: 12px;
}

.sections__img {
  width: 40vw;
  height: auto;
  padding: 10px;
}

.sections__img--overview-1 {
  width: 80vw;
  height: auto;
  padding: 10px;
}

.sections__arrow {
  margin-left: 10px;
  width: 13px;
  height: 13px;
}

.sections__btn {
  display: inline-block;
  position: relative;
  margin: 20px 0;
  padding: 10px 50px;
  font-weight: bold;
  background-color: #F7F7F7;
  border: solid 2px #727171;
  border-radius: 33px;
}

.sections__btn::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 15px;
  width: 15px;
  height: 15px;
  background-image: url("../img/icon_arrow_right.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.sections__text {
  padding: 0 20px 20px 20px;
  text-align: start;
}

.sections__link {
  font-weight: bold;
}

.page-404 {
  padding: 30px 20px 20px 20px;
  text-align: center;
}

.page-404__img {
  width: 50vw;
  height: auto;
}

.page-404__title {
  margin-top: 20px;
  font-weight: bold;
  font-size: 1.5rem;
}

.page-404__text {
  padding-block: 5px;
}

.page-404__text--first {
  margin-top: 20px;
}

.page-404__return {
  display: inline-block;
  margin-top: 20px;
  padding: 15px 30px;
  background-color: #F7F7F7;
  border: solid 2px #727171;
  border-radius: 33px;

}

/* スマホ幅*/
@media (max-width: 767.98px) {
  .pc {
    display: none;
  }

  .sp {
    width: 100%;
  }
}

/* PC幅 */
@media (min-width:768px) {
  body {
    overflow: hidden;
  }

  .pc-sp-layout {
    display: flex;
    height: 100vh;
  }

  .pc {
    flex: 1;
    background: url('../img/pc_main_image.webp') no-repeat center center;
    background-size: cover;
  }

  /* PC用 */
  .pc-nav-hamburger {
    position: fixed;
    top: 0;
    left: -1000px;
    width: calc(100vw - 465px);
    height: 100vh;
    color: #231815;
    padding: 66px 0 30px 0;
    transition: all 0.5s;
    z-index: 20;
    opacity: 0;
  }

  .open .pc-nav-hamburger {
    left: 70px;
    opacity: 1;
  }

  .pc-nav-hamburger__list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 40px 60px 40px;
    gap: 1.5rem;
    width: calc(100vw - 465px);
    height: calc(100vh - 5vh - 30px);
    overflow-y: auto;
  }

  .pc-nav-hamburger__item {
    position: relative;
    margin-top: 20px;
  }

  .pc-nav-hamburger__item--top {
    font-size: clamp(1rem, 2.5vw, 2.5rem);
    font-weight: bold;
  }

  .pc-nav-hamburger__item--p {
    font-size: clamp(0.75rem, 1.5vw, 1.2rem);
    font-weight: 400;
    margin-top: 10px;
  }

  .pc-nav-hamburger__item::before {
    position: absolute;
    content: "";
    display: inline-block;
    top: 12.5px;
    left: -25px;
    width: 12px;
    height: 12px;
    background-image: url("../img/icon_circle_blue.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  .pc-nav-hamburger__text {
    margin-top: 10px;
    margin-left: 10px;
  }

  .pc-menu {
    width: 70px;
    height: 100vh;
    background-color: #0098DB;
    display: flex;
    position: fixed;
    align-items: center;
    z-index: 20;
  }

  .pc-menu__toggle-btn {
    width: 100%;
    height: 150px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s;
    cursor: pointer;
  }

  .pc-menu__toggle-btn span {
    display: block;
    position: absolute;
    left: 26px;
    width: 18px;
    height: 3px;
    background-color: #ffffff;
    transition: all 0.5s;
  }

  .pc-menu__toggle-btn span:nth-child(1) {
    top: 10%;
  }

  .pc-menu__toggle-btn span:nth-child(2) {
    top: 15%;
  }

  .pc-menu__text {
    display: inline-block;
    color: #ffffff;
    font-weight: 600;
    writing-mode: vertical-rl;
    transition: all 0.5s;
  }

  .pc-menu__text.is-fadeout {
    opacity: 0;
    transform: translateY(-4px);
  }

  .pc-menu__text.is-fadein {
    opacity: 1;
    transform: translateY(0);
  }

  .open .pc-menu__toggle-btn span:nth-child(1) {
    -webkit-transform: translateY(5.25px) rotate(-45deg);
    transform: translateY(3.5px) rotate(-45deg);
  }

  .open .pc-menu__toggle-btn span:nth-child(2) {
    -webkit-transform: translateY(-5.25px) rotate(45deg);
    transform: translateY(-3.5px) rotate(45deg);
  }

  .pc-menu__mask {
    display: none;
    transition: all 0.5s;
  }

  .open .pc-menu__mask {
    display: block;
    position: fixed;
    top: 0;
    width: calc(100% - 375px);
    height: 100%;
    background: linear-gradient(to right, #ffffff, #ccf0f4);
    opacity: 1;
    z-index: 10;
    cursor: pointer;
  }

  /* sp用 */
  .sp {
    width: 375px;
    flex-shrink: 0;
    height: 100vh;
    overflow-y: auto;
    margin-left: auto;
  }

  .page-top__title {
    width: 270px;
  }

  .first-view__img,
  .page-top__img {
    width: 150px;
    height: auto;
    padding: 10px;
  }

  .sections__img {
    width: 150px;
    height: auto;
    padding: 10px;
  }

  .sections__img--overview-1 {
    width: 300px;
    height: auto;
    padding: 10px;
  }

  .page-404__img {
    width: 168px;
    height: auto;
  }
}

@media (min-width:1024px) {
  .pc-nav-hamburger {
    width: auto;
  }

  .pc-nav-hamburger__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
  }

  .pc-nav-hamburger__item--top {
    font-size: clamp(1rem, 1.9vw, 2.5rem);
  }

  .pc-nav-hamburger__item--p {
    font-size: clamp(0.75rem, 1.3vw, 1.2rem);
  }

  /* 左列 */
  .pc-nav-hamburger__item:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .pc-nav-hamburger__item:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  .pc-nav-hamburger__item:nth-child(3) {
    grid-column: 1;
    grid-row: 3;
  }

  .pc-nav-hamburger__item:nth-child(4) {
    grid-column: 1;
    grid-row: 4;
  }

  .pc-nav-hamburger__item:nth-child(5) {
    grid-column: 1;
    grid-row: 5;
  }

  /* 右列 */
  .pc-nav-hamburger__item:nth-child(6) {
    grid-column: 2;
    grid-row: 1;
  }

  .pc-nav-hamburger__item:nth-child(7) {
    grid-column: 2;
    grid-row: 2;
  }

  .pc-nav-hamburger__item:nth-child(8) {
    grid-column: 2;
    grid-row: 3;
  }
}