@charset "utf-8";

/*============================
共通
============================*/
main {
  overflow: hidden;
}

.sec_title_wrap {
  width: 100%;
}
@media screen and (max-width: 640px) {
  .sec_title_wrap {
    text-align: center;
  }
}

  
.sec_title_wrap .en {
  font-size: 0.8rem;
  color: #2272d3;
  font-weight: 800;
}
@media screen and (max-width: 640px) {
  .sec_title_wrap .en {
    font-size: 0.4rem;
  }
}



.sec_title_wrap .jp {
  font-size: 0.26rem;
  color: #2272d3;
  font-weight: 700;
  margin-top: 0.1rem;
}
@media screen and (max-width: 640px) {
  .sec_title_wrap .jp {
    font-size: 0.16rem;
  }
}


/*============================
Scroll-driven Animations
============================*/
/* @keyframes sticky-parallax-header-move-and-size {
	from {
		background-position: 50% 0;
		height: 7.5rem;
		background-size: 120% auto;
	}
	to {
		background-position: 50% 150%;
		background-color: rgba(19, 81, 156, 0.95);
		height: 1.2rem;
		background-size: 100% auto;
	}
}

@keyframes sticky-parallax-header-move-and-size-mobile {
	from {
		background-position: 50% 0;
		height: 4rem;
		background-size: 150% auto;
	}
	to {
		background-position: 50% 150%;
		background-color: rgba(19, 81, 156, 0.95);
		height: 0.8rem;
		background-size: 120% auto;
	}
}

@keyframes sticky-parallax-header-hide {
	from {
		opacity: 1;
		transform: translateY(0);
	}
	to {
		opacity: 0;
		transform: translateY(-100%);
	}
}

@keyframes title-scale {
	from {
		transform: scale(1);
		opacity: 1;
	}
	to {
		transform: scale(0.6);
		opacity: 0.8;
	}
}

@keyframes title-scale-mobile {
	from {
		transform: scale(1);
		opacity: 1;
	}
	to {
		transform: scale(0.7);
		opacity: 0.8;
	}
}

.sticky-parallax-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 7.5rem;
	background-size: 120% auto;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 99;
	animation: 
		sticky-parallax-header-move-and-size linear forwards,
		sticky-parallax-header-hide linear forwards;
	animation-timeline: 
		scroll(),
		scroll();
	animation-range: 
		0vh 120vh,
		120vh 140vh;
}
@media screen and (max-width: 640px) {
  .sticky-parallax-header {
    height: 4rem!important;
    background-size: cover!important;
  }
}


.sticky-parallax-header::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.17);
	z-index: -1;
}

.sticky-parallax-header .title_wrap {
	animation: title-scale linear forwards;
	animation-timeline: scroll();
	animation-range: 0vh 120vh;
} */


/* 120vh以降は通常のスクロール動作に戻す */
/* @supports (animation-timeline: scroll()) {
	.sticky-parallax-header {
		animation-range: 
			0vh 120vh,
			120vh 140vh;
		animation-fill-mode: forwards;
	}
	
	.sticky-parallax-header .title_wrap {
		animation-range: 0vh 120vh;
		animation-fill-mode: forwards;
	}

} */

/* .sticky-header-body {
	padding-top: 7.5rem;
} */

/*============================
MV
============================*/
#mv {
  width: 100%;
  height: 7.5rem;
  position: relative;
  overflow: hidden;
}

@media screen and (max-width: 640px) {
  #mv {
    height: 70vw;
  }
}

#mv .ph_wrap {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transform: scale(1.2);
  transition: transform 0.1s ease-out;
}

#mv .ph_wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(0);
  transition: transform 0.1s ease-out;
}

#mv::after {
  content: "";
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.17);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}



#mv .title_wrap {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  text-shadow: 0 0 0.10rem rgba(0, 0, 0, 0.17);
}
@media screen and (max-width: 640px) {
  #mv .title_wrap {
    top: 55%;
  }
}

#mv .title_wrap .en {
  font-size: 0.61rem;
  color: #fff;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  transition: font-size 0.3s ease;
}
@media screen and (max-width: 640px) {
  #mv .title_wrap .en {
    font-size: 0.3rem;
  }
}

#mv .title_wrap .jp {
  font-size: 0.15rem;
  font-weight: 700;
  color: #fff;
  margin-top: 0.15rem;
  transition: font-size 0.3s ease;
}
@media screen and (max-width: 640px) {
  #mv .title_wrap .jp {
    font-size: 0.14rem;
  }
}

/* スクロール時のタイトルサイズ調整 */
.sticky-parallax-header .title_wrap .en {
  font-size: 0.3rem;
}

.sticky-parallax-header .title_wrap .jp {
  font-size: 0.12rem;
  margin-top: 0.05rem;
}

@media screen and (max-width: 640px) {
  .sticky-parallax-header .title_wrap .en {
    font-size: 0.2rem;
  }
  
  .sticky-parallax-header .title_wrap .jp {
    font-size: 0.08rem;
    margin-top: 0.03rem;
  }
}

/*============================
ページナビ
============================*/
#page_navi {
  width: 100%;
  background-color: rgba(19, 81, 156, 0.9);
}

#page_navi .in {
  width: 100%;
  max-width: 12.8rem;
}

#page_navi .list {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.35rem 0;
  gap: 0 0.3rem;
}
@media screen and (max-width: 640px) {
  #page_navi .list {
    padding: 0;
    gap: 0;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-top: 0.2rem;
  }
}

#page_navi .list .item {
  width: 100%;
  max-width: 2.2rem;
  width: 100%;
}
@media screen and (max-width: 640px) {
  #page_navi .list .item {
    max-width: initial;
    width: 48%;
    padding: 0 0 0.2rem;
  }
}

#page_navi .list .item a {
  font-size: 0.14rem;
  color: #fff;
  font-weight: 700;
  border-bottom: 1px solid #fff;
  padding-bottom: 0.15rem;
  display: block;
  text-align: center;
}
@media screen and (max-width: 640px) {
  #page_navi .list .item a {
    font-size: 0.12rem;
  }
}

#page_navi .list .item a:hover {
  opacity: 0.7;
}

/*============================
CTA
============================*/
#cta {
  width: 100%;
  background: url(../img/common/cta_bg.jpg) no-repeat center center / cover;
  box-sizing: border-box;
  padding: 1.2rem 0;
}

@media screen and (max-width: 640px) {
  #cta {
    padding: 0.8rem 0;
  }
}

#cta .cont_wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media screen and (max-width: 640px) {
  #cta .cont_wrap {
    flex-wrap: wrap;
    width: 100%;
  }
}


#cta .cont_wrap .text_wrap {
  width: 100%;
  color: #fff;
  width: 50%;
  padding-left: 0.5rem;
  box-sizing: border-box;
}
@media screen and (max-width: 640px) {
  #cta .cont_wrap .text_wrap {
    width: 100%;
    padding-left: 0;
    margin-bottom: 0.5rem;
  }
}

#cta .cont_wrap .text_wrap .sec_title_wrap {
  color: #fff;
}

#cta .cont_wrap .text_wrap .sec_title_wrap .en {
  color: #fff;
}

#cta .cont_wrap .text_wrap .sec_title_wrap .jp {
  color: #fff;
}

#cta .cont_wrap .text_wrap .text {
  font-size: 0.18rem;
  font-weight: bold;
  color: #fff;
  margin-top: 0.1rem;
  line-height: 2;
  margin-top: 0.3rem;
}
@media screen and (max-width: 640px) {
  #cta .cont_wrap .text_wrap .text {
    font-size: 0.16rem;
    margin-top: 0.2rem;
    text-align: center;
  }
}

#cta .cont_wrap .btn_wrap {
  width: 50%;
}
@media screen and (max-width: 640px) {
  #cta .cont_wrap .btn_wrap {
    width: 100%;
  }
}

#cta .cont_wrap .btn_wrap .list {
  width: 100%;
}

#cta .cont_wrap .btn_wrap .list .item {
  width: 100%;
  margin-bottom: 0.2rem;
}

#cta .cont_wrap .btn_wrap .list .item a {
  font-size: 0.22rem;
  font-weight: bold;
  max-width: 3.8rem;
  width: 100%;
  color: #13519c;
  background: #fff;
  border-radius: 0.5rem;
  box-sizing: border-box;
  padding: 0.2rem 0.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: auto;
  height: 0.6rem;
}
@media screen and (max-width: 640px) {
  #cta .cont_wrap .btn_wrap .list .item a {
    font-size: 0.2rem;
  }
}

#cta .cont_wrap .btn_wrap .list .item a .icon {
  padding-right: 0.15rem;
}

#cta .cont_wrap .btn_wrap .list .item.tel a {
  font-family: "Inter", sans-serif;
  font-size: 0.3rem;
}

#cta .cont_wrap .btn_wrap .list .item a:hover {
  opacity: 0.7;
}

#cta .cont_wrap .btn_wrap .list .item .note {
  font-size: 0.13rem;
  color: #fff;
  margin-top: 0.1rem;
  display: block;
  text-align: center;
}
