@charset "utf-8";

/* 基本ここから */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
}

.opa {
  transition: 0.3s;
}

.opa:hover {
  opacity: 0.7;
}

.section {
  max-width: 1200px;
  margin: auto;
  padding: 100px 0;
}

.hide-sp {
  display: none !important;
}

@media (max-width: 768px) {
  .hide-sp {
    display: block !important;
  }

  .hide-pc {
    display: none !important;
  }
}

a:not([class]) {
	text-decoration-skip-ink: auto;
	color: currentColor;
}
a {
	outline: none;
	text-decoration: none;

	&:active,&:focus {
		outline: none;
	}
	&:link,&:visited,&:hover,&:active {
		color: inherit;
		text-decoration: none;
	}
}

/* 透明から表示 */
.fadeIn.visible {
  animation: opacityFadeIn 2s ease 0s 1 normal;
}

@keyframes opacityFadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.bold {
  font-weight: bold;
}

/* 下から上にフェードイン */
.fadeInUp.visible {
  animation: fadeInBottom 1s ease 0s 1 normal;
}

@keyframes fadeInBottom {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }

  100% {
    opacity: 1;
  }
}


.tit {
  margin-bottom: 50px;
}

.tit .en {
  font-size: 40px;
  text-align: center;
  font-weight: 500;
}

.tit .ja {
  font-size: 18px;
  text-align: center;
  font-weight: normal;
}

.marker {
  background: linear-gradient(transparent 70%, #FFD833 30%);
  padding-bottom: 3px;
}

/* 詳しく見るボタン */

.more-btn {
  background-color: #2F3439;
  border-radius: 5px;
  padding: 15px 35px;
  width: 226px;
  display: flex;
  align-items: center;
}

.more-btn img {
  width: 30px;
}

.more-btn a {
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  margin-left: auto;
}

/* 詳しく見るボタンここまで */
.is_section {
  max-width: 1200px;
  margin: auto;
  /* padding: 100px 0; */
}

@media (max-width: 1200px) {
  .is_section {
    width: 93.75%;
  }

  footer .f-yoyaku .top-btn {
    width: 93.75%;
  }
}


@media screen and (max-width:768px) {

  .tit {
    margin-bottom: 25px;
  }

  .tit .ja {
    font-size: 15px;
    text-align: center;
    font-weight: normal;
  }

  /* section {
    max-width: 1200px;
    margin: auto;
    padding: 50px 0;
  } */

  p {
    font-size: 15px;
  }

  .more-btn {
    background-color: #2F3439;
    border-radius: 5px;
    padding: 10px 30px;
    width: 200px;
    display: flex;
    align-items: center;
    margin: 0 auto;
  }

  .more-btn a {
    color: #fff;
    font-size: 17.5px;
    font-weight: bold;
    margin-left: auto;
  }

  .smo {
    font-size: 10px;
  }

}

/* 基本ここまで */
/* ================================================= */
/* 1. スマホ・共通設定（デフォルト） */
/* ================================================= */

.special-header {
  /* display: flex;
  align-items: center;
  justify-content: space-between; */

  position: fixed;
  width: 100%;
  top: 0;
  margin: auto;
  z-index: 100;
  font-weight: 500;
  /* background-color: #fff;
  height: 58px;
  padding: 0 20px; */
}
.upper-header {
  background-color: #fff;
  height: 58px;
  padding: 0 20px;
  position: relative;
  z-index: 5;
}
.upper-header .logo img,
.upper-header .logo source
 {
  display: block;
  width: 145px;
  height: auto;
}

.special-header .upper-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  grid-column-gap: 10px;
}
/* .special-header .upper-header */

.special-header .lower-header {
  display: none;
  background-color: #0071bc;
}

/* スマホではナビゲーションを隠す */
.special-header nav .nav-links {
  display: none;
}


.special-header .is_tel {
  display: flex;
  align-items: center;
  justify-content: flex-start;

  margin-left: auto;

  text-decoration: none;
  color: #0a2d5a;

  line-height: 1;
  grid-column-gap: 10px;

  .number-icons {
    aspect-ratio: 1 / 1;
    width: 30px;
    height: 100%;
  }
  .number-wraps {
    display: none;
  }
}
/* .special-header .is_tel */

.special-header .is_contact,
.special-header .smart-menu {
  text-decoration: none;
  aspect-ratio: 1 / 1;
  width: 40px;
  height: 40px;
  background-color: #ccc;

  .contact-icons {
    aspect-ratio: 40 / 30;
    width: 20px;
    height: auto;
  }
}
/* .special-header .is_contact */
.special-header .is_contact {
  background-color: #0a2d5a;
  color: #fff;
  font-size: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  .contact-sentence {display: none;}
}

.special-header .smart-menu {
  text-decoration: none;
  aspect-ratio: 1 / 1;
  width: 40px;
  height: 40px;
  background-color: #0071bc;

  position: relative;

  span.btnwrap {
    position: absolute;
    width: 15px;
    height: 12px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
  }

  span:not(.btnwrap) {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #fff;
    top: 0;
    bottom: 0;
    margin: auto;

    &:before,
    &:after {
      content: "";
      width: 100%;
      height: 2px;
      background-color: #fff;

      position: absolute;
    }
    &:before {top: -4px;}
    &:after {bottom: -4px;}
  }
}

@media screen and (max-width: 767px) {
  .lower-header {
    display: block!important;
    background-color: #0a2d5a!important;
    height: calc(100vh - 58px);
    overflow: scroll;

    position: fixed;
    /* top: 58px; */
    top: -105vh;
    left: 0;
    width: 100%;
    z-index: 4;

    transition: top .8s cubic-bezier(0.16, 1, 0.3, 1);

    .nav-links {
      width: calc(670% / 7.50);
      margin-left: auto;
      margin-right: auto;
      height: auto;
      padding: 30px 0 50px;
    }

    a {
      font-size: 20px;
      font-weight: bold;
      line-height: 1;
      color: #fff;

      display: flex;
      align-items: center;
      justify-content: flex-start;

      height: 60px;
      border-bottom: 1px solid #fff;
    }

    &.is_active {top: 58px;}
  }
}


/* ================================================= */
/* 2. PC版設定（769px以上） */
/* ================================================= */

@media screen and (min-width: 769px) {
  .special-header {
    /* height: 100px; */
    /* padding: 10px 120px; */
    .lower-header {
      width: 100%;
      display: block;
    }
    .nav-links {
      width: 100%;
      max-width: 1200px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      grid-column-gap: 30px;

      height: 60px;

      margin-left: auto;
      margin-right: auto;
      color: #fff;

      a {
        color: inherit;
        font-size: 20px;
        font-weight: bold;
      }
    }
  }


  .special-header .logo img {
    width: 293px;
    /* margin-left: 60px; */
  }

  /* PCでナビゲーションを表示 */

}

/* ================================================= */
/* 3. 中・大画面向けの微調整（vw指定など） */
/* ================================================= */

@media screen and (min-width: 1080px) {
  .special-header {
  }
  .upper-header {
    padding: 10px 60px;
    height: 100px;
  }
  .upper-header .logo img,
  .upper-header .logo source
  {
    width: 337px;
  }


  .special-header .is_tel {
    .number-icons {width: 60px;}
    .number-wraps {
      display: block;
      line-height: 1;
      font-size: 14px;

      p {margin: 0;}
      .number {
        font-size: 37px;
        margin: 0 0 5px 0;
      }
    }
    .number {}
  }
  /* .special-header .is_tel */

  .special-header .is_contact,
  .special-header .smart-menu {
    width: 40px;
    .contact-icons {
      aspect-ratio: 27 / 20;
      width: 25px;
      height: auto;
    }
  }
  /* .special-header .is_contact */
  .special-header .is_contact {
    aspect-ratio: inherit;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    width: 200px;
    height: 60px;

    .contact-sentence {display: block;}
  }
  /* .special-header .is_contact */
  .special-header .smart-menu {display: none;}
}






/* ローディング */
#loading_sequence {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  transition: .8s;
  background-color: #fff;

  &.ready {
    top: 0;
  }

  & .scafold_container {
    height: 100%;

    & .background {
      display: block;
      height: 100%;
      position: relative;

      & source,
      & img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;

        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
      }
    }
  }

  .official_logo img {
    width: 100%;
  }

  & .official_logo {
    position: absolute;
    width: 256px;
    height: fit-content;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;

    opacity: 0;
    transition: 2s;
  }

  &.show_image {
    & .official_logo {
      /* transform: scale(1); */
      opacity: 1;
    }
  }

  &.hide_image {
    opacity: 0;
  }
}


/* アニメーション終了時の非表示 */
#loading_sequence.hide_image {
    opacity: 0;
    pointer-events: none;
}

@media (min-width: 768px) {
    #loading_sequence {
        & .official_logo {
            width: 430px;
        }
    }

    .side-menu {
        top: 38%;
    }
}

@media (max-width: 767px) {
    #loading_sequence {
        & .official_logo {
            width: 256px;
            transform: translateX(-50%);
            left: 52.5%;
        }
    }

    .scafold_container {
        height: 100%;

        & .official_logo {
            position: absolute;
            width: 256px;
            height: fit-content;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            margin: auto;

            opacity: 0;
            transform: translateX(-30%);
            transition: 2s;
        }

        & .background {
            display: block;
            height: 100%;
            position: relative;

            & source,
            & img {
                display: block;
                width: 100%;
                height: 100%;
                object-fit: cover;

                position: absolute;
                top: 0;
                left: 50%;
                transform: translateX(-50%);
            }
        }
    }
}



/* loading animation -> first view timing */
#mv_wrap {
  transition: opacity .6s;
  opacity: 1;
  &.mv_hidden {opacity: 0;}
}

