html{
  scroll-behavior: smooth;
}

li{
  list-style: none;
}

a{
  text-decoration: none;
  color: black;
}

/*------ PC ヘッダー ------*/
body{
  background-image: url(../img/contact-bg.jpeg);
  background-color:rgba(255,255,255,0.6);
  background-blend-mode:lighten;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.u-header-mb{
  margin-bottom: 5vw;
}

.p-header-title{
  position: relative;
}

.p-header-title__line{
  width: 40%;
}

.p-header-title__contact{
  position: absolute;
  top: 2vw;
  left: 5%; 
  display: flex;
  overflow: hidden;
  height: 90px; /*出現時、「p」がhiddenするため、高さ指定*/
  font-size: 6vw;
  text-shadow: 5px 0 2px #F7BE81;
  letter-spacing: 7px; 
  font-family: Sylfaen;
  transition: .3s;
}

/* ------ 以下、タイトル出現アニメーション ------ */
.p-header-title__contact span{
  transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) .7s;
}

.is-visible{
  transform: translateY(105%);
}

.p-header-title__contact span:nth-child(2) {
  transition-delay: 0.1s;
}
.p-header-title__contact span:nth-child(3) {
  transition-delay: 0.2s;
}
.p-header-title__contact span:nth-child(4) {
  transition-delay: 0.3s;
}
.p-header-title__contact span:nth-child(5) {
  transition-delay: 0.4s;
}
.p-header-title__contact span:nth-child(6) {
  transition-delay: 0.5s;
}
.p-header-title__contact span:nth-child(7) {
  transition-delay: 0.6s;
}

/* --------------------------------------- */

.p-hamburger-menu{
  display: none;
}

.p-hamburger-menu__icon{
  transition: .5s;
  cursor: pointer;
  cursor: hand;
}

.p-hamburger-menu__icon:hover{
  opacity: 0.6;
}

.u-header-title-pa{
  padding: 1% 3% 0%;
}

/*---- グローバルナビゲーション　project ----*/

.p-header-nav{
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  background-color: black;
  border-bottom-left-radius: 30px;
  letter-spacing: 2px;
  box-shadow: 3px 3px 4px white;
}

.p-header-navlists{
  display: flex;
  justify-content:space-around;
  font-size: 2.2vw;
}

.p-header-navlists li{
  text-align: center;
}

.u-header-navlists li{
  padding: 5%;
}

.p-header-navlists a{
  color: white;
}

.p-header-navlists a::after{
  content: "";
  display: block;
  background: white;
  width: 100%;
  height: 1px;
  margin-top: 4px;
  transform: scaleX(0);
  transition: .4s;
}

.p-header-navlists a:hover::after{
  transform: scale(1);
}

/*------- ヘッダーnaviフェイドアウトアニメーション -------*/
.is-fadeOut{
  opacity: 0;
  visibility: hidden;
}

/*------ PC メインコンテンツ ------*/

.u-guidance{
  margin-bottom: 15vw;
}

.p-guidance__message{
  width: 60%;
  font-weight: bold;
  font-size: 1.7vw;
  letter-spacing: 1px;
  text-align: center;
  line-height: 2.5vw;
  text-shadow: 2px 2px 3px white;
}

.u-guidance__message{
  margin: auto;
  margin-bottom: 5vw;
}

.p-guidance__message-appreciate{
  font-size: 1.4vw;
  color: gray;
}

.p-guidance__scroll-arrow{
  display: block;
  width: 7%;
  margin: auto;
}

/*------ 矢印スライド --------*/
.arrow-slide{
  animation-name: arrowSlideDown;
  animation-duration: 2.5s;
  animation-fill-mode: backwards;
  transition-timing-function : ease;
  animation-delay: 3.5s;
}

@keyframes arrowSlideDown {
  0% {
    transform: translateY(0);
  }

  50%{
    transform: translateY(4vw);
  }

  100% {
    transform: translateY(0);
  }
}

/*------- PC 入力フォーム -------*/

.p-contactform-heading{
  font-size: 2.5vw;
  font-weight: bold;
  text-align: center;
  letter-spacing: 2px;
  text-shadow: 2px 2px 3px white;
}

.u-contactform-heading-mb{
  margin-bottom: 3%;
}

/*------ フォーム --------*/

.p-form-stop {
  position: relative;
  z-index: 99;
  top: 50%;
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  color: red;
  margin-bottom: 3%;
}

::placeholder{
  color: #E6E6E6;
}

.p-caution{
  text-align: center;
  line-height: 20px;
  letter-spacing: 1px;
  color: #585858;
  font-size: 1.4vw;
  font-weight: bold;
}

.u-caution{
  margin-bottom: 2vw;
}

.p-formtable{
  border: solid 3px;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 23px;
  box-shadow: 3px 3px 8px rgb(80, 80, 80);
  width: 80%;
  pointer-events: none; 
  opacity: 0.5;
}

.u-formtable{
  margin: auto;
}

.p-formtable__head{
  text-align: left;
  width: 150px;
  border-right: solid 1.5px;
  border-bottom: solid 1.5px;
  background-color: #EFFBFB;
}

.u-formtable__head{
  padding: 4% 2%;
}

.p-formtable__data{
  width: 80%;
  vertical-align: middle;
  background-color: white;
  border-bottom: solid 1.5px;
}

.u-formtable__data{
  padding-left: 2%;
}

.p-formtable__head--tlcurve{
  border-top-left-radius: 20px;
}

.p-formtable__head--blcurve{
  border-bottom-left-radius: 20px;
}

.p-formtable__data--trcurve{
  border-top-right-radius: 20px;
}

.p-formtable__data--brcurve{
  border-bottom-right-radius: 20px;
}

.p-formtable__inputspace{
  width: 80%;
  height: 30px;
  font-size: 1.3vw;
  border: solid 1px #848484;
  border-radius: 3px;
}

.p-prompt {
  position: relative;
  opacity: 0;
  transition: .3s;
}

.p-prompt__message:before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -15px;
  border: 1vw solid transparent;
  border-top: 1vw solid red;
}

.p-prompt__message{
  position: absolute;
  left: 50%;
  transform: translate( -50%, 0);
  display: inline-block;
  max-width: 100%;
  color: white;
  font-size: 1.2vw;
  font-weight: bold;
  background-color: red;
  border-radius: 30px;
}

.u-prompt__message{
  padding: .8vw 1.2vw;
}

.p-prompt__message-name{
  top: -15px;
}

.p-prompt__message-address{
  top: 6.5vw;
}

.p-prompt__message-textarea{
  top: 13.6vw;
}

.is-prompt-active{
  opacity: 1;
}

.p-formtable__textarea{
  width: 100%;
  height: 150px;
  font-size: 1.3vw;
  border: solid 1px #848484;
  border-radius: 3px;
}

.u-formtable__data--textarea{
  padding: 2%;
}

.english-escape{
  word-break: break-all; /*英語の記述は（特にURL）などは折り返さないよう設定されている*/
}

.p-formtable__head--blcurve,
.p-formtable__data--brcurve{
  border-bottom: transparent;
}

/*ボタン*/

.p-formreset{
  width: 70%;
  text-align: right;
  border-radius: 15px;
}

.u-formreset{
  margin: 3vw auto;
}

.p-formreset__button{
  font-size: 1vw;
  text-decoration: none;
  background-color: #FF0000;
  color: white;
  font-weight: bold;
  letter-spacing: 2px;
  transition: .4s;
  outline-style: inset;
  outline-width: 2px;
  outline-color: gray;
  border: solid 1.5px black; 
  border-radius: 15px;
  box-shadow: 2px 2px 4px black;
  -webkit-appearance: none; 
  pointer-events: none;
  opacity: 0.5;
}

.u-formreset__button{
  padding: .5% 1.5%;
}

.p-formreset__button:hover{
  cursor: pointer;
  outline-style: outset;
  outline-color: rgb(255, 255, 255);
}

.p-formsubmit{
  text-align: center;
  pointer-events: none;
  opacity: 0.5;
}

.u-formsubmit{
  margin: 3vw auto 7vw;
}

.p-formsubmit__button{
  background-color: #CED8F6;
  font-size: 2vw;
  font-weight: bold;
  color: black;
  letter-spacing: 8px;
  transition: .4s;
  outline-style: inset;
  outline-width: 2px;
  outline-color: gray;
  border: solid 2px black; 
  border-radius: 15px;
  box-shadow: 2px 2px 4px black;
  -webkit-appearance: none;
}

.u-formsubmit__button{
  padding: 1vw 8vw;
}

.p-formsubmit__button:hover{
  cursor: pointer;
  color: white;
  background-color: #0101DF;
  outline-style: outset;
  outline-color: rgb(255, 255, 255);
}

.p-formsubmit__button:active{
  color: black;
  background-color: white;
  transition: .3s;
}

/*------- 確認画面　pc --------*/

.p-reset-confirm,
.p-mail-confirm,
.p-finish-confirm{
  position: fixed;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.7);
  width: 100%;
  height: 100%;
  line-height: 2rem;
  transition: .6s;
  visibility: hidden;
  opacity: 0;
}

.p-confirmdisplay{
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  width: 50%;
  height: 50vh;
  background-color: white;
  border: solid 1px;
  border-radius: 30px;
}

.p-confirmdisplay__message{
  font-size: 2vw;
  letter-spacing: 2px;
  font-weight: bold;
  text-align: center;
}

.u-confirmdisplay__message{
  margin: 10vh 0 15vh 0;
}

.p-confirmdisplay__button{
  text-align: center;
}

.p-confirmdisplay__close{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2vw;
  color: #0404b6;
}

.p-confirmdisplay__close:hover{
  transition: .5s;
  opacity: .5;
}

.c-button{
  font-size: 2.5vw;
  font-weight: bold;
  color: white;
  cursor: pointer;
  transition: .3s;
  outline-style: inset;
  outline-width: 2px;
  outline-color: gray;
  border: solid 2px black;
  border-radius: 30px;
  box-shadow: 4px 4px 5px gray;
  -webkit-appearance: none;
}

.c-button:hover{
  opacity: .7;
}

.p-confirmdisplay__yes{
  background-color: #68f;
}
.p-confirmdisplay__no{
  background-color: #f64;
}

.u-confirmdisplay__yes{
  margin-right: 5vw;
  padding: 0 2vw;
}

.u-confirmdisplay__no{
  padding: 0 2vw;
}

.is-active-confirmDisplay {
  animation-name: openDisplay;
  animation-duration: .4s;
  animation-fill-mode: forwards;
  transition-timing-function : ease-out;
}

@keyframes openDisplay {
  0% {
  }

  100% {
    visibility: visible;
    opacity: 1;
  }
}

.is-close-confirmDisplay {
  animation-name: closeDisplay;
  animation-duration: .4s;
  animation-fill-mode: forwards;
  transition-timing-function : ease-out;
}

@keyframes closeDisplay {
  0% {
    visibility: visible;
    opacity: 1;
  }

  100% {
    visibility: hidden;
    opacity: 0;
  }
}

/*------ PC フッター ------*/

.p-footer-nav{
  background-color: #6E6E6E;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-footer-nav__list{
  width: 20%;
  text-align: center;
  font-size: 2vw;
  border-right: 1.5px solid white;
}

.p-footer-nav__link{
  color: white;
  letter-spacing: 1px;
}
.p-footer-nav__link:hover{
  opacity: .4;
  transition: .5s;
}

.p-footer-nav__list--contact{
  border: none;
}

.u-footer-nav__list{
  margin: 3vw 0;
}

.p-footer-copywrite{
  background-color: black;
  color: white;
  font-size: .8vw;
}

.u-footer-copywrite__name{
  padding: .5vw 1%;
}

/* ============= ipad ============== */

@media(max-width: 820px){

  /*--------- iPad ヘッダー ---------*/ 
  
  .u-header-mb{
    margin-bottom: 15vw;
  }
  
  .u-header-title-pa{
    padding: 0;
  }

  .p-header-title__line {
    transform: translateX(40%);
    width: 60%;
  }

  .p-header-title__contact {
    height: 60%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12vw;
  }

  .p-hamburger-menu{
    position: relative;
    display: block;
  }

  .p-hamburger-menu__icon{
    position: fixed;
    z-index: 2;
    top: 40px;
    right: 50px;
    width: 7%;  
  }

  /*---- グローバルナビゲーション　project ----*/
  .p-header-nav{
    position: fixed;
    width: 100%;
    height: 100%; /*包含ブロックの高さ指定がないと子要素のheight100%が効かないため*/
    display: none;
    background-color: transparent;
    z-index: 1;
  }

  .p-header-navlists{
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.7);
    border: none;
    border-top-right-radius: 0;
    font-size: 4vw;
    width: 40%;
    height: 100%;
    transition: .5s;
  }

  .u-header-navlists{
    padding-top:20%;
  }

  .p-header-navlists li{
    text-align: center;
    border-bottom: 1px solid white;
  }

  .u-header-navlists li{
    margin: auto;
    padding: 7%;
  }

  .p-header-navlists a::after{
    content: none;
  }

  .p-header-navlists a:hover{
    opacity: .5;
    transition: .5s;
  }
  /*-----------------------------*/ 

  /* ハンバーガーメニュークリック時アクション */

  .is-active {
    display: block;
  }

  .is-slideIn-X {
    animation-name: navListSlideIn-X;
    animation-duration: .6s;
    animation-fill-mode: forwards;
    transition-timing-function : ease-out;
  }

  @keyframes navListSlideIn-X {
    0% {
      opacity: 0;
      transform: translateX(100%);
    }

    100% {
      visibility: visible;
      opacity: 1;
      transform: translateX(0);
    }
  }

  .is-slideOut-X {
    animation-name: navListSlideOut-X;
    animation-duration: .6s;
    animation-fill-mode: forwards;
    transition-timing-function : ease-out;
  }

  @keyframes navListSlideOut-X {
    0% {
      transform: translateX(0);
    }

    100% {
      visibility: hidden;
      opacity: 0;
      transform: translateX(100%);
    }
  }
  /*--------------------------------*/

  
  /*--------- iPad メイン ---------*/
  
  .u-guidance{
    margin-bottom: 15vw;
  }

  .p-guidance__message{
    width: 70%;
    font-size: 2.5vw;
    line-height: 3vw;
  }

  .p-guidance__scroll-arrow{
    width: 10%;
  }

  .p-contactform-heading{
    font-size: 3vw;
    font-weight: bold;
  }
  
  .p-caution{
    line-height: 15px;
  }
  
  .u-prompt__message{
    padding: 1vw 2vw;
  }
  
  /*--------- iPad フォーム ---------*/

  .p-form{
    width: 100%;
  }

  .p-contactform{
    width: 100%;
  }

  .p-formtable{
    width: 80%;
  }

  .p-formtable__head{
    display: block;
    width: 96%;
    font-size: 2vw;
    border-bottom: solid 1px;
  }

  .u-formtable__head{
    padding: 3% 2%;
  }

  .p-formtable__head--tlcurve{
    /*border-top-left-radius: 20px;　既存radius*/
    border-top-right-radius: 20px; /*フォーム右上にradius追加*/
  }

  .p-formtable__head--blcurve{
    border-bottom-left-radius: 0;
  }

  .p-formtable__data--trcurve{
    border-top-right-radius: 0;
  }

  .p-formtable__data--brcurve{
    border-bottom-left-radius: 20px; /*フォーム左下にradius追加*/
  }

  .p-formtable__data{
    display: block;
    width: 96%;
  }

  .u-formtable__data{
    padding: 2%;
  }

  .p-formtable__inputspace{
    width: 80%;
    height: 5vw;
    font-size: 2vw;
  }

  .p-formtable__textarea{
    width: 98%;
    height: 200px;
    font-size: 2vw;
    line-height: 25px;
  }

  .u-formtable__data--textarea{
    padding: 4% 2%;
  }

  .p-prompt__message-name{
    top: 4.4vw;
  }

  .p-prompt__message-address{
    top: 20vw;
  }

  .p-prompt__message-textarea{
    top: 37.2vw;
  }
  
  .p-formreset{
    width: 60%;
  }

  .p-formreset__button{
    font-size: 1.8vw;
  }

  .p-formsubmit__button{
    font-size: 3vw;
  }
  
  /*------- iPad 確認画面　--------*/

  .p-confirmdisplay{ 
    height: 30vh;
  }
  
  .p-confirmdisplay__message{
    font-size: 2.5vw;
  }
  
  .u-confirmdisplay__message{
    margin: 7vh 0 6vh 0;
  }
  
  .c-button{
    font-size: 3.5vw;
  }

  /*--------- ip フッター ---------*/

  .p-footer-nav__list{
    font-size: 3vw;
  }

  .u-footer-nav__list{
    margin: 5vw 0;
  }
}

/* ============= sp ============== */

@media(max-width: 414px){

  .u-guidance{
    margin-top: 20vw;
    margin-bottom: 25vw;
  }
  
  .p-hamburger-menu__icon{
    top: 25px;
    right: 30px;
    width: 10%;
  }
  .p-header-navlists{
    font-size: 5vw;
  }

  .u-header-navlists{
    padding-top: 30%;
  }
  
  .p-guidance__message{
    width: 80%;
    font-size: 5vw;
    line-height: 1.8rem;
  }
  
  .u-guidance__message{
    padding-bottom: 10vw;
  }
  
  .p-guidance__scroll-arrow{
    width: 15%;
  }
  
  .p-contactform-heading{
    font-size: 7vw;
  }

  .u-contactform-heading-mb{
    margin-bottom: 15vw;
  }
  
  .p-caution{
    font-size: 4vw;
    line-height: 1.5rem;
    text-align: left;
  }

  .u-caution{
    margin: 0 10vw 10vw;
  }
  
  .p-prompt__message-name,
  .p-prompt__message-address,
  .p-prompt__message-textarea{
    font-size: 2.8vw;
  }

  .p-prompt__message-name{
    top: 6vw;
  }

  .p-prompt__message-address{
    top: 24.8vw;
  }

  .p-prompt__message-textarea{
    top: 48vw;
  }

  .p-formtable{
    width: 90%;
  }
  
  .p-formtable__head,
  .p-formtable__inputspace,
  .p-formtable__textarea{
    font-size: 4vw;
  }

  .p-formtable__data{
    width: 100%;
    box-sizing: border-box;
  }

  .p-formtable__textarea{
    line-height: 1.2rem;
    width: 95%;
  }

  .p-formreset{
    width: 75%;
  }

  .u-formreset{
    margin-bottom: 15vw;
  }
  
  .p-formreset__button{
    font-size: 3.5vw;
    letter-spacing: .7px;
    outline-style: none; /*スマホ用の表示崩れ対応 */
  }

  .p-formreset__button:hover{
     outline-style: none; /*スマホ用の表示崩れ対応 */
  }
  
  .p-formsubmit__button{
    font-size: 7vw;
    letter-spacing: 10px;
    outline-style: none;
  }

  .u-formsubmit__button{
    margin-bottom: 15vw;
    padding: 2% 10%;
  }  
  /*--------- sp 確認画面 ---------*/
  .p-confirmdisplay{ 
    width: 90%;
    height: 55vw;
  }
  
  .p-confirmdisplay__message{
    font-size: 5.5vw;
  }
  
  .p-confirmdisplay__close{
    font-size: 5.5vw;
    font-weight: bold;
  }

  .c-button{
    font-size: 6.5vw;
  }
  
  .u-confirmdisplay__message{
    margin: 8vh 0 8vh 0;
  }

  .u-confirmdisplay__yes{
    padding: 2% 7%;
    margin-right: 15vw;
  }

  .u-confirmdisplay__no{
    padding: 2% 4%;
  }
  
  /*--------- sp フッター ---------*/
  .p-footer-nav{
    height: auto;
    flex-flow: column;
  }

  .u-footer-nav{
    padding: 4vw;
  }

  .p-footer-nav__list{
    list-style: square;
    text-align: left;
    font-size: 6vw;
    border-right: 0px solid;
  }
  .u-footer-nav__list{
    margin: 2% 0;
  }

  li{   /*■の色変更のため*/
    color: white;
  }

  /* ---------- SP copy ----------- */

  .p-footer-copywrite__name{
    font-size: 2.5vw;
    letter-spacing: 1px;
  }

  .u-footer-copywrite__name{
    padding: 2vw 0 2vw 2vw;
  }

}