@charset "utf-8";

/* ページ遷移時のフェードインアウト */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color:#fff; /* 背景カラー */
  z-index: 9999; /* 一番手前に */
  pointer-events: none; /* 他の要素にアクセス可能にするためにポインターイベントは無効に */
  opacity: 0; /* 初期値では非表示 */
  -webkit-transition: opacity .8s ease; /* アニメーション時間は 0.8秒 */
  transition: opacity .8s ease;
}
/*body要素に.fadeoutセレクタがある場合には、レイヤーが表示されるようにopacityを１に設定します。*/
body.fade::after {
  opacity: 1;
}

 /* main,footerにフォント指定 */
 main,
 footer {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 300;
  font-style: normal;
 }

main {
  text-align: center;
}

 /* topimage */
 .contact-img-wrap {
  width: 100%;
  position: relative;
}

.contact-img-wrap h2 {
  position: absolute;
  top: 50%;
  left: 15%;
  color: #fff;
  font-size: 3em;
  letter-spacing: .3em;
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.6)    
}

.contact-topimage {
  width: 100%;
  height: auto;
  object-fit: cover;
  margin-top: 6%;
}

/* 円弧の設定 */
.contact-en-wrap {
  position: relative;
  height: 55vw;
  overflow: hidden;
  margin-top: -50vh;
    z-index: -1;
}

.contact-shape-en {
  position: absolute;
  top: 0;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 120vw;
  border-top-left-radius: 50%;
  border-top-right-radius: 50%;
  background: #fff;
  margin-top: 40%;
}

.contact-en-bk-grn {
  position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
  background: #e8e9de;
  z-index: -1;
}

/* フェードイン */
.fadeIn {
  transition: 2s;
  opacity: 0;
}

.fadeIn.animated {
  opacity: 1;
}

/* フェードイン 下から */
.fadeIn2 {
  transform: translate3d(0, 50px, 0);
  transition: 1.5s;
  opacity: 0;
}
.fadeIn2.animated {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

/* contact */
.contact-wrap {
  max-width: 1000px;
  margin: 0 auto;
}

  /* タイトル */
  .news-category-title-wrap {
    display: flex;
    align-items: center; 
    margin-top: 6%;        
  }

  .news-category-title {
    text-align: center;
  }

  .news-category-title-wrap h2 {
    font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal; 
    font-size: 2em;   
  }

  .news-category-title-wrap p {
    font-size: .8em;
  }
  
.news-category-title-wrap::before,
.news-category-title-wrap::after {
    content: "";
    height: .5px;
    flex-grow: 1;
    background-color: #b8a39d;
}

.news-category-title-wrap::before {
    margin-right: 1rem;
}

.news-category-title-wrap::after {
    margin-left: 1rem
}

/* contact 続き */
.contact-text {
  margin-top: 7%;
    margin-bottom: 3%;
    font-size: .9em;
}

  /* 問い合わせフォーム */
  /* レイアウト */
form {
    width: 90%;
    margin: 0 auto;
  }
  .form-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 45px 20px 20px;
    border-bottom: 1px solid #f5f5f2;
  }
  .form-row:last-child {
    border-bottom: none;
  }
  .form-label {
    display: flex;
    align-items: center;
    width: 250px;
  }

  .form-label span {
    margin-left: 5px;
    /* padding: 2px 6px; */
    /* border-radius: 3px; */
    font-size: 18px;
    /* font-weight: bold; */
    color: #a74646;
    /* background-color: #166ab5; */
  }
  
  /* フォームパーツのデザイン */
  input, textarea {
    background-color: #f7f7f0;
    border: none;
    border-radius: 10px;
    padding: 15px 20px;
    font-size: 16px;
    outline: .3px solid #b8a39d;
    /* color: #333; */
    flex-grow: 1;
  }
  input::placeholder,
  textarea::placeholder {
    color: #bdbdbd;
    font-size: .7em;
  }

  /* ボタン */
  .c-arrow-link {
    position: relative;
    border: 1px solid #b7b99d;
    padding: 10px 100px 10px 70px;
    color: #6e7059;
    transition: all 0.5s;
    margin-top: 5%;
  }

  .c-arrow-link--icon {
    overflow: hidden;
    position: absolute;
    top: 19px;
    right: 13px;
    bottom: 0;
    width: 30px;
    margin: auto 0;
    line-height: 1;
  }

  .c-arrow-link:hover {
    color: #fff;
    background: #6e7059;
  }
  
  .c-arrow-link--icon:before,
  .c-arrow-link--icon:after {
    width: 29px;
    height: 9px;
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    animation-fill-mode: both;
    animation-duration: 0.6s;
    background-image: url(../img/yajirushi.svg);
  }
  .c-arrow-link--icon:after {
    transform: translateX(-100%);
    background-image: url(../img/yajirusi-white.svg);
  }
  .c-arrow-link.is-hover .c-arrow-link--icon:before {
    animation-name: transformLeftRight;
    animation-delay: 0.2s;
  }
  .c-arrow-link.is-hover .c-arrow-link--icon:after {
    animation-name: transformRightLeft;
  }
  .c-arrow-link.is-hover:hover .c-arrow-link--icon:before {
    animation-name: transformRightLeft;
    animation-delay: 0s;
  }
  .c-arrow-link.is-hover:hover .c-arrow-link--icon:after {
    animation-name: transformLeftRight;
    animation-delay: 0.2s;
  }
  
  @keyframes transformLeftRight {
    0% {
      transform: translateX(-100%);
    }
    100% {
      transform: translateX(0);
    }
  }
  @keyframes transformRightLeft {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(100%);
    }
  }
  