@charset "utf-8";

/* -------------------------------------
 *      MV うごき
 * ------------------------------------- */
.mv_img figure {
  animation :imgTrans 95s infinite;
  }
  
  @keyframes imgTrans {
    0% {
      transform: rotate(0deg);
    }
    
    100% {
      transform: rotate(360deg);;
    }
  }

  /* 遅らせて表示 */
.mv_img,.pc.nav {
  animation :imgfadeIn 3s forwards;
  opacity: 0;
}
  
@keyframes imgfadeIn {
  0% {
    opacity: 0;
  }
  
  100% {
    opacity: 1;
  }
}

/* -------------------------------------
 *      じんわり表示
 * ------------------------------------- */
/* フェードイン(初期値) */
.fade-blur {
  opacity: 0;
  transition: transform 0.5s linear;
  animation-duration: 1s;
  animation-fill-mode: both;
}
/* フェードイン(スクロールした後) */
.fade-blur.view-blur {
  animation-name: imageBlur;
  opacity: 1;
  transition: .3s;
}

@-webkit-keyframes imageBlur {
  from {
    opacity: 0;
    -webkit-filter: blur(15px);
    -moz-filter: blur(15px);
    -ms-filter: blur(15px);
    -o-filter: blur(15px);
    filter: blur(15px);
  }

  to {
    opacity: 1;
    -webkit-filter: blur(0px);
    -moz-filter: blur(0px);
    -ms-filter: blur(0px);
    -o-filter: blur(0px);
    filter: blur(0px);
  }
}
@keyframes imageBlur {
  from {
    opacity: 0;
    -webkit-filter: blur(15px);
    -moz-filter: blur(15px);
    -ms-filter: blur(15px);
    -o-filter: blur(15px);
    filter: blur(15px);
  }

  to {
      opacity: 1;
    -webkit-filter: blur(0px);
    -moz-filter: blur(0px);
    -ms-filter: blur(0px);
    -o-filter: blur(0px);
    filter: blur(0px);
  }
}

/* -------------------------------------
 *      ホバー時のアニメーション
 * ------------------------------------- */
/*== 波紋がふわっと広がる */
.btnripple{
  position: relative;
  display:inline-block;
  text-decoration: none;
  color: #333;
  outline: none;
}

/*波形の設定*/
.btnripple:hover::before {
  content: '';
  position: absolute;
  left:30%;
  top:0;
  border: 1px solid #e5a4a4;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  opacity:1;
  animation:1s circleanime2 forwards;
}

/*波形が広がるアニメーション*/
@keyframes circleanime2{
  0%{
    transform: scale(0);
  }
  100%{
    transform:scale(2);
    opacity: 0;
  }
}

/* -------------------------------------
 *      scrollを促す
 * ------------------------------------- */
/*スクロールダウン全体の場所*/
.scrolldown2{
  /*描画位置※位置は適宜調整してください*/
  position:absolute;
  left: 82px;
  bottom: 20px;
}

/* 丸の描写 */
.scrolldown2:before {
  content: "";
  /*描画位置*/
  position: absolute;
  bottom:0;
  left:-4px;
  /*丸の形状*/
  width:10px;
  height:10px;
  border-radius: 50%;
  background:#e5a4a4;
  /*丸の動き1.6秒かけて透過し、永遠にループ*/
  animation:
  circlemove 2s ease-in-out infinite,
  cirlemovehide 2s ease-out infinite;
}

/*下からの距離が変化して丸の全体が上から下に動く*/
@keyframes circlemove{
  0%{bottom:95px;}
  100%{bottom:5px;}
}

/*上から下にかけて丸が透過→不透明→透過する*/
@keyframes cirlemovehide{
  0%{opacity:0}
  50%{opacity:1;}
  80%{opacity:0.9;}
  100%{opacity:0;}
}

/* 線の描写 */
.scrolldown2:after{
  content:"";
  position: absolute;
  bottom:0;
  left:0;
  width:1px;
  height: 114px;
  background:#e5a4a4;
}

@media screen and (max-width:767px) {
  .scrolldown2{
    left: 29px;
  }
}


/* -------------------------------------
 *      ステップフロー
 * ------------------------------------- */
/* タイトル */
.fadettl{
  animation: stepInnerAnime 2s ease forwards;
  /* 2秒かけて表示 */
  opacity: 0;
}

@keyframes stepInnerAnime{
	0% {opacity:0;}
  100% {opacity:1;}
}

/* 説明テキスト */
.fadetxt{
  animation: stepTextAnime 0.8s linear 0.8s forwards;
  /* 0.8秒後に0.8秒かけて表示 */
  opacity: 0;
}

@keyframes stepTextAnime{
	0% {opacity:0;}
  100% {opacity:1;}
}


/* 線 */
.fadeline {
  animation: stepLine 1s linear 1s forwards;
  /* １秒後に１秒かけて表示 */
  opacity: 0;
}

@keyframes stepLine {
  0% {
    height:0%;
    opacity: 0;
  }
  100%{
    height:120%;
    opacity: 1;
  }
}

@media screen and (max-width:1240px) {
  .pc.nav{
    display: none;
  }

  /* -------------------------------------
 *      ハンバーガー
 * ------------------------------------- */
  /*アクティブになったエリア*/
  #g-nav.panelactive{
    position:fixed;
    z-index: 999;
    top: 0;
    width:100%;
    height: 100vh;
  }

  /*丸の拡大*/
  .circle-bg{
    position: fixed;
    z-index:3;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #f5f5f3;
    transform: scale(0);
    right:-50px;
    top:-50px;
    transition: all 1s;
  }

  /* 背景が円状に出現 */
  .circle-bg.circleactive{
    transform: scale(50);
    transition: all 2s;
  }

  #g-nav.panelactive #g-nav-list{
    display: block;
  }

  /*ナビゲーション*/
  #g-nav ul {
    opacity: 0;
    position: absolute;
    z-index: 999;
    top:50%;
    left:45%;
    transform: translate(-50%,-50%);
  }

  /*背景が出現後にナビゲーションを表示*/
  #g-nav.panelactive ul {
    opacity:1;
  }

  /* 背景が出現後にナビゲーション li を表示*/
  #g-nav.panelactive ul li{
    animation-name:gnaviAnime;
    animation-duration:1s;
    animation-delay:.2s;/*0.2 秒遅らせて出現*/
    animation-fill-mode:forwards;
    opacity:0;
  }
  @keyframes gnaviAnime{
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }


  /*リストのレイアウト設定*/
  #g-nav li{
  list-style: none;
  }

  #g-nav li a{
  color: #A17A94;
  text-decoration: none;
  padding:10px;
  display: block;
  /* text-transform: uppercase; */
  letter-spacing: 0.1em;
  font-weight: bold;
  }


  /*========= ボタンのためのCSS ===============*/
  .openbtn{
  position:fixed;
  top:20px;
  right: 20px;
  z-index: 9999;/*ボタンを最前面に*/
  cursor: pointer;
    width: 50px;
    height:50px;
  }

  /*×に変化*/	
  .openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 3px;
    height: 2px;
    border-radius: 2px;
  background-color: #A17A94;
    width: 80%;
  }

  .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: 18px;
    left: 12px;
    transform: translateY(6px) rotate(-45deg);
    width: 50%;
  }

  .openbtn.active span:nth-of-type(2) {
  opacity: 0;
  }

  .openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 12px;
    transform: translateY(-6px) rotate(45deg);
    width: 50%;
  }
}

/* -------------------------------------
 *      TOPへボタン
 * ------------------------------------- */
.scroll-top {
	position: sticky;
	bottom: 60px;
  text-align: right;
}

.scroll-top a{
  display: inline-block;
  margin-right: 30px;
  margin-bottom: -30px;
}

.scroll-top .circle {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

.scroll-top .circle::before{
  content: url('../img/top-arrow.svg');
  display: inline-block;
  width: 25px;
  height: 50px;
  position: absolute;
  top: 31px;
}

.scroll-top .circle .circle-inner {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  animation: rotateAnim 15s linear infinite;
}

.circle-inner:hover {
  animation-play-state: paused;
}

@keyframes rotateAnim {
  0% { transform: rotate(0deg); }
  50%{ transform: rotate(180deg); }
  100% { transform: rotate(360deg); }
}

.circle-text span {
  position: absolute;
  inset: 0;
  font-weight: bold;
  font-family: 'Playfair Display', serif;
  color: #A17A94;
}

@media screen and (max-width:767px){
  .scroll-top{
    bottom: 40px;
  }

  .scroll-top a{
    margin-right: 15px;
  }

  .scroll-top .circle{
    width: 90px;
    height: 90px;
  }

  .scroll-top .circle::before{
    top: 27px;
  }
}