@charset "utf-8";

/* 基本色 */
:root{
	--main-color: #d9d8ce;
	--accent-color: #e0b6a9;
	--accent-color: rgb(211, 233, 208);
	--accent-color: #c1d1e0;
}

/* 共通設定 */

html{
  font-size: 100%;
  scroll-behavior: smooth;
}
body{
  text-align: center;
  font-family: 'Noto Serif JP', 'sans-serif';
  color: #8e775d;
}
img{
  width: 100%;
  vertical-align: bottom;
}
a{
  text-decoration: none;
  /* color: #8e775d; */
}
.logo{
  width: 7%;
}

.eachTextAnime span{
    opacity: 0;
}
.eachTextAnime.appeartext span{
     animation:text_anime_on 1.7s ease-out forwards;
}
@keyframes text_anime_on {
	0% {opacity:0;}
	100% {opacity:1;}
}

/* ナビ */
#g-nav{
  margin-top: 13px;
}
.eng{
  font-size: 0.8rem;
  padding-top: 5px;
  color: #8e775d;
}
#g-nav ul {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  list-style: none;
  text-align: center; 
}
#g-nav li{
  list-style: none;
  text-align: center; 
  width: 15%;
  font-size: 1.1rem;
  margin: 0 15px;
}
#g-nav li a{
	position:relative;
	cursor:pointer;
  font-weight: 700;
  border-bottom: 2px solid #d9d8ce;
	border-left: 2px solid rgb(217, 216, 206);
	display: block;
}
#g-nav li a::after{
	content:'';
	position:absolute;
	z-index:-1;
	top:60%;
	left:-.1px;
	right:-.1px;
	bottom:0;
	transition:top .1s ease-in-out;
	background-color:rgba(217, 216, 206,.8)
}
#g-nav li a:hover::after{
	top:0
}


/* h2の設定 */
@keyframes titleAnimation{
    0%{
        letter-spacing: .3em;
        opacity: 0;
    }
}
h2{
    font-size: 3rem;
    margin: 90px auto 50px auto;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0b6a9;
    animation: titleAnimation 4.5s;
}
h2 .eng{
    font-size: 1.5rem;
    padding-top: 5px;
}
.try{
	margin-top: -73px;
	font-size: 3rem;
	color: #e0b6a9;
	transform: scaleY(40%);
}


/*==================================================
じわっ
===================================*/

/* ぼかしから出現 */
.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;
	}
  }
  
  /* スクロールをしたら出現する要素にはじめに透過0を指定　*/
   
  .blurTrigger{
	  opacity: 0;
  }
/*==================================================
アニメーション設定
===================================*/
/* アニメーションスタートの遅延時間を決めるCSS*/

  .delay-time05{  
	animation-delay: 0.5s;
  }
  
  .delay-time1{  
	animation-delay: 1s;
  }
  
  .delay-time15{  
	animation-delay: 1.5s;
  }
  
  .delay-time2{  
	animation-delay: 2s;
  }
  
  .delay-time25{  
	animation-delay: 2.5s;
  }
  
  .delay-time3{  
	animation-delay: 3s;
  }

  .delay-time35{  
	animation-delay: 3.5s;
  }

  .delay-time4{  
	animation-delay: 4s;
  }

/* cont1 */
/*マーカーアニメーション*/
 
.marker-animation.active{
    background-position: -100% .5em;
}
 
.marker-animation {
    background-image: -webkit-linear-gradient(left, transparent 50%, rgb(255,250,153) 50%);
    background-image: -moz-linear-gradient(left, transparent 50%, rgb(255,250,153) 50%);
    background-image: -ms-linear-gradient(left, transparent 50%, rgb(255,250,153) 50%);
    background-image: -o-linear-gradient(left, transparent 50%, rgb(255,250,153) 50%);
    background-image: linear-gradient(left, transparent 50%, rgb(255,250,153) 50%);
    background-repeat: repeat-x;
    background-size: 200% .8em;
    background-position: 0 .5em;
    transition: all 2s ease;
    font-weight: bold;
}

/*==================================================
ふわっ
===================================*/

/* その場で */
.fadeIn{
    animation-name:fadeInAnime;
    animation-duration:1.8s;
    animation-fill-mode:forwards;
    opacity:0;
    }
    
    @keyframes fadeInAnime{
      from {
        opacity: 0;
      }
    
      to {
        opacity: 1;
      }
    }
    
    /* 下から */
    
    .fadeUp{
    animation-name:fadeUpAnime;
    animation-duration:1.8s;
    animation-fill-mode:forwards;
    opacity:0;
    }
    
    @keyframes fadeUpAnime{
      from {
        opacity: 0;
      transform: translateY(100px);
      }
    
      to {
        opacity: 1;
      transform: translateY(0);
      }
    }
    
    /* 上から */
    
    .fadeDown{
    animation-name:fadeDownAnime;
    animation-duration:1s;
    animation-fill-mode:forwards;
    opacity:0;
    }
    
    @keyframes fadeDownAnime{
      from {
        opacity: 0;
      transform: translateY(-100px);
      }
    
      to {
        opacity: 1;
      transform: translateY(0);
      }
    }
    
    /* 左から */
    
    .fadeLeft{
    animation-name:fadeLeftAnime;
    animation-duration:1s;
    animation-fill-mode:forwards;
    opacity:0;
    }
    
    @keyframes fadeLeftAnime{
      from {
        opacity: 0;
      transform: translateX(-100px);
      }
    
      to {
        opacity: 1;
      transform: translateX(0);
      }
    }
    
    /* 右から */
    
    .fadeRight{
    animation-name:fadeRightAnime;
    animation-duration:1s;
    animation-fill-mode:forwards;
    opacity:0;
    }
    
    @keyframes fadeRightAnime{
      from {
        opacity: 0;
      transform: translateX(100px);
      }
    
      to {
        opacity: 1;
      transform: translateX(0);
      }
    }
    
    /* スクロールをしたら出現する要素にはじめに透過0を指定　*/
     
    .fadeInTrigger,
    .fadeUpTrigger,
    .fadeDownTrigger,
    .fadeLeftTrigger,
    .fadeRightTrigger{
        opacity: 0;
    }

/*==================================================
パタッ
===================================*/

/* 左上へ */
.flipLeftTop{
animation-name:flipLeftTopAnime;
animation-duration:1.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes flipLeftTopAnime{
  from {
   transform: translate(-20px,80px) rotate(-15deg);
  opacity: 0;
  }

  to {
   transform: translate(0,0) rotate(0deg);
  opacity: 1;
  }
}
/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
 
.flipLeftTopTrigger{
    opacity: 0;
}

.btn{
    font-size: 3.5rem;
    display:inline-block;
    padding:10px 25px;
    margin-bottom: 50px;
    position:relative;
    color:#fff;
    cursor:pointer
}
.btn2{
  font-size: 3.5rem;
  display:inline-block;
  padding:10px 20px;
  margin-bottom: 50px;
  position:relative;
  color:#45423f;
  cursor:pointer
}
.btn::before{
    content:'';
    position:absolute;
    height:100%;
    width:100%;
    top:5px;
    right:5px;
    background-color:#64c2be;
    z-index:-1;
    transition:transform .2s ease-in-out
}
.btn2::before{
  content:'';
  position:absolute;
  height:100%;
  width:80%;
  top:5px;
  right: 5px;
  background-color:#d9d8ce;
  z-index:-1;
  border-radius: 5px 0 0 5px;
  transition:transform .2s ease-in-out
}
.btn::after{
    content:'';
    position:absolute;
    top:0;
    left:0;
    height:100%;
    width:100%;
    border:1px solid #474e51
}
.btn2::after{
  content:'';
  position:absolute;
  top:0;
  right: 0;
  height:100%;
  width:80%;
  border-radius: 5px 0 0 5px;
  border:1px solid #474e51;
  border-right: none;
}
.btn:hover::before,.btn2:hover::before{
    transform:translate(6px,-4px)
}

.tittle{
  position: absolute;/*絶対配置*/
  color: white;/*文字は白に*/
  top: 35%;
  left: 50%;
  -ms-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  margin:0;
  padding:0;
  font-family: 'Times New Roman';
  font-size:5rem;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 252, 252, .15);
  border-radius: 8px;
  backdrop-filter: blur(12px); 
}

/* 資料請求 */
.fixed_banner { 
  position: fixed; /* 追従させる為にfixedの値を記述します */
  z-index: 1; /* 他の要素の下に隠れないように全面配置させます */
  bottom: 70px; /* 上から150pxのところにバナーを配置します */
  right: 0; /* 右から40pxのところにバナーを配置します */
}
.fixed_banner a{
  font-size: 0.9rem;
  writing-mode: vertical-rl;
}
 
.fixed_banner:hover {
  opacity: .8; /* マウスが重なった時に少し透過させます */
}
  
.fixed_banner_sp {
  display: none; /* PCではスマホ用のバナーは非表示にします */
}


/* page TOP */
#pagetop{
	position: fixed;
	bottom: 30px;
	right: 30px;
}
#pagetop a{
	box-sizing: border-box;
	display: block;
	position: relative;
	width: 60px;
	height: 60px;
	/* border: solid 2px #e0b6a9; */
	border-radius: 50%;
	box-shadow: 0 3px 10px rgb(0 0 0 / 16%);
}
#pagetop a::after{
	content: "";
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 60px;
	height: 60px;
	background-color: #e0b6a9;
	border-radius: 50%;
	transform: translate(-50%, -50%) scale(0, 0);
	transition: transform ease 0.4s;
}
#pagetop a:hover::after{
	transform: translate(-50%, -50%) scale(1.1, 1.1);
}
#pagetop a::before{
	content: "";
	position: absolute;
	z-index: 10;
	top: 59%;
	left: 50%;
	width: 20px;
	height: 20px;
	border-style: solid;
	border-color: #e0b6a9;
	border-width: 5px 0 0 5px;
	transform: translate(-50%, -50%) rotate(45deg);
	transition: border-color ease 0.1s;
}
#pagetop a:hover::before{
	border-color: #fff;
}

/* スマホ対応 */
@media (max-width:768px){
/*========= ナビゲーションのためのCSS ===============*/
.logo{
  width: 25%;
}

#g-nav{
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position:fixed;
  z-index: 999;
  /*ナビのスタート位置と形状*/
  top:-100%;
  left:0; 
  width:100%;
  height: 60vh;     /*ナビの高さ*/
  background:rgba(217, 216, 206,.9);
  /*動き*/
  transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
  top: 0;
}

/*ナビゲーション*/
#g-nav ul {
  width: 100%;
  /*ナビゲーション天地中央揃え*/
  position: absolute;
  flex-direction: column;
  z-index: 999;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
}

/*リストのレイアウト設定*/

#g-nav li{
  list-style: none;
  text-align: center; 
  width: 100%;
  margin: auto;
}

#g-nav li a{
  color: #45423f;
  text-decoration: none;
  padding:10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
}

#g-nav li a:hover::after{
  background-color: rgba(224, 182, 169, .5);

}

/*========= ボタンのためのCSS ===============*/
.openbtn1{
  position:fixed;
  z-index: 9999;/*ボタンを最前面に*/
  top:10px;
  right: 10px;
  cursor: pointer;
  width: 50px;
  height:50px;
}

/*×に変化*/  
.openbtn1 span{
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background-color: #666;
  width: 45%;
}

.openbtn1 span:nth-of-type(1) {
  top:15px; 
}

.openbtn1 span:nth-of-type(2) {
  top:23px;
}

.openbtn1 span:nth-of-type(3) {
  top:31px;
}

.openbtn1.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

.openbtn1.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn1.active span:nth-of-type(3){
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}

  /* h2の設定 */

h2{
    font-size: 2rem;
}
h2 .eng{
    font-size: 1rem;
}

.btn{
    font-size: 2rem;
    margin: 30px auto;
}
.btn::before{
  content:'';
  position:absolute;
  height:100%;
  width:100%;
  top:5px;
  right:5px;
  background-color:#64c2be;
  z-index:-1;
  transition:transform .2s ease-in-out
}
.btn::after{
  content:'';
  position:absolute;
  top:0;
  left:0;
  height:100%;
  width:100%;
  border:1px solid #474e51
}
.btn:hover::before{
  transform:translate(6px,-4px)
}
.tittle{
  top: 23%;
  font-size: 2.5rem;
  -ms-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 252, 252, .15);
  border-radius: 8px;
  backdrop-filter: blur(12px)
}
.btn2{
  display: none;
}
}

/* *{border: 1px solid #000;} */