@charset "utf-8";
/*---MENU---*/
#g-nav{
    position:fixed;
    z-index: 999;
    top: 0;
    right: -120%;
    width: 100%;
    height: 100vh;
    background-color: #D4E2ED;
    transition: all 0.6s;
}

#g-nav.panelactive{
   right: 0;
}

#g-nav-list{
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}

.g-nav-logo{
    width: 250px;
    margin-bottom: 20px;
}

#g-nav-list ul{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #2C4E92;
    font-weight: 700;
}

#g-nav-list li{
    margin-bottom: 10px;
}

#g-nav-list li a,
#g-nav-list li p{
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2C4E92;
    font-weight: 700;
}

#g-nav-list li p{
    color: #fff;
}

#g-nav-list li:last-of-type{
    margin-top: 30px;
    background-color: #2C4E92;
    padding: 5px 30px;
}


#g-nav-list li a.phone-number{
    font-size: 150%;
    color: #fff;
}

/*---ボタンの変化---*/
.openbtn{
    display: none;
	position: fixed;
	top: 15px;
	right: 10px;
	z-index: 9999;
	cursor: pointer;
    width: 50px;
    height:50px;
}

.openbtn.active{
   background-color: transparent; 
}

.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    height: 2px;
	left: 50%;
	transform: translate(-50%,-50%);
    border-radius: 2px;
    background-color: #2C4E92;
    width: 50%;
  }

.openbtn span:nth-of-type(1) {
  top: 15px; 
}

.openbtn span:nth-of-type(2) {
  top: 23px;
}

.openbtn span:nth-of-type(3) {
  top: 31px;
}

.openbtn.active span:nth-of-type(1) {
    top: 16px;
    left: 10px;
    transform: translateY(6px) rotate(-45deg);
    width: 60%;
}

.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 28px;
    left: 10px;
    transform: translateY(-6px) rotate(45deg);
    width: 60%;
}

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

@media screen and (max-width: 540px) {
    .g-nav-logo{
        width: 200px;
    }
    .openbtn span:nth-of-type(2) {
        font-size: 0.8rem;
    }
}

/*---ページトップ---*/
#page-top a{
	text-decoration: none;
    color: #2C4E92;
    font-size: 80%;
    font-weight: 700;
	transition:all 0.3s;
    line-height: 1;
}

#page-top {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 9;
	opacity: 0;
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #FAF6EC;
    border: 1px solid #2C4E92;
	transform: translateY(200px);
}

#page-top img{
    display: block;
    width: 20px;
    margin: 0 auto;
}

#page-top.UpMove{
	animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime{
  from {
    opacity: 0;
	transform: translateY(200px);
  }
  to {
    opacity: 1;
	transform: translateY(0);
  }
}

#page-top.DownMove{
	animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime{
  from {
  	opacity: 1;
	transform: translateY(0);
  }
  to {
  	opacity: 1;
	transform: translateY(200px);
  }
}

/*---スクロールアニメーション---*/
/* ズームイン */
.zoomIn{
  animation-name:zoomInAnime;
  animation-duration:0.5s;
  animation-fill-mode:forwards;
}

@keyframes zoomInAnime{
  from {
  transform: scale(0.6);
  opacity: 0;
  }

  to {
    transform: scale(1);
  opacity: 1;
  }
}

/* じわっと */
.blur{
	animation-name:blurAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
}

@keyframes blurAnime{
  from {
	filter: blur(10px);
	transform: scale(1.02);
	opacity: 0;
  }

  to {
	filter: blur(0);
	transform: scale(1);
	opacity: 1;
  }
}
 
.blurTrigger{
    opacity: 0;
}

/* テキスト（左から右に） */
/*全共通*/
.slide-in {
	overflow: hidden;
    display: inline-block;
}

.slide-in_inner {
	display: inline-block;
}

/*左右のアニメーション*/
.leftAnime{
    opacity: 0;
}

.slideAnimeLeftRight {
	animation-name: slideTextX100;
	animation-duration: 1s;
	animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes slideTextX100 {
  from {
	transform: translateX(-100%);
        opacity: 0;
  }

  to {
	transform: translateX(0);
    opacity: 1;
  }
}

.slideAnimeRightLeft {
	animation-name: slideTextX-100;
	animation-duration: 1s;
	animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes slideTextX-100 {
  from {
	transform: translateX(100%);
    opacity: 0;
  }

  to {
	transform: translateX(0);
    opacity: 1;
  }
}

/*---電話リンク---*/
@media (min-width: 989px) {
    a[href*="tel:"] {
        pointer-events: none;
        cursor: default;
        text-decoration: none;
    }
}