html{
  scroll-behavior: smooth;
}

html,
body {
  height: 100%; 
}

li{
  list-style: none;
}

a{
  text-decoration: none;
  color: black;
}

/*------ PC ヘッダー ------*/

.l-header{ 
  height: 100%;
  min-height: 500px;
  max-height: 750px;
  position: relative;
}

.u-header-mb{
  margin-bottom: 8vw;
}

.p-header-image {
  width: 100%;
  height: 100%;
  background-image: url(../img/service-header-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.p-header-title{
  position: relative;
}

.p-header-title__line{
  width: 35%;
}

.p-header-title__service{
  position: absolute;
  top: 2vw;
  left: 5%; 
  display: flex;
  overflow: hidden;
  font-size: 6vw;
  text-shadow: 5px 0 2px #F7BE81;
  letter-spacing: 7px; 
  font-family: Sylfaen;
  transition: .3s;
}

/* ------ 以下、タイトル出現アニメーション ------ */
.p-header-title__service span{
  transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) .7s;
}

.is-visible{
  transform: translateY(105%);
}

.p-header-title__service span:nth-child(2) {
  transition-delay: 0.1s;
}
.p-header-title__service span:nth-child(3) {
  transition-delay: 0.2s;
}
.p-header-title__service span:nth-child(4) {
  transition-delay: 0.3s;
}
.p-header-title__service span:nth-child(5) {
  transition-delay: 0.4s;
}
.p-header-title__service span:nth-child(6) {
  transition-delay: 0.5s;
}
.p-header-title__service 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% 5%;
}

.p-header-contents{
  position: absolute;
  top: 50%;
  transform: translateY(-25%);
  right: 7%;
  width: 45%;
  border: solid 1.5px #848484;
  border-radius: 20px;
  font-size: 1.8vw;
  background-color:rgba(255,255,255,0.8);
  box-shadow: 4px 4px 5px gray;
  transition: .3s;
}

.u-header-contents-ma li{
  margin: 5% 6%;
}



/*-------- リンクホバー時アンダーダイン幅調整 ---------*/
.p-header-contents a,
.p-header-navlists a{
  display: inline-block;
}

.p-header-contents a::after{
  content: "";
  display: block;
  background: black;
  width: 100%;
  height: .7px;
  margin-top: 4px;
  transform: scaleX(0);
  transform-origin: left;
  transition: .4s;
}

.p-header-contents a:hover::after{
  transform: scale(1);
}

/*---- グローバルナビゲーション　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 メインコンテンツ ------*/

.p-design,
.p-size-banner{
  width: 70%;
}

.u-section-mb{
  margin: 0 auto 8vw;
}

.p-heading{
  text-align: center;
  font-size: 2.5vw;
  font-weight: bold;
  color: rgb(122, 0, 86);
  text-shadow: 2px 2px 3px #BDBDBD;
  letter-spacing: 3px;
}

.u-heading-mb{
  margin-bottom: 10%;
}

.c-heading-on-frame{
  position: relative;
  border: solid 2px rgb(27, 3, 165);
  border-radius: 10px;
}

.u-frame-interval{
  padding: 4% 3% 3%;
  margin-bottom: 7%;
}

.c-heading-on-frame__heading{
  position: absolute;
  top: -2vw;
  font-size: 1.7vw;
  font-weight: bold;
  background-color: white;
}

.u-heading-on-frame__heading-pa{
  padding: 1vw ;
}

.c-heading-on-frame__text{
  line-height: 1.8vw;
  font-size: 1.3vw;
}

.p-banner{
  width: 100%;
  text-align: center;
  transition: .5s;
}

.p-banner:hover{
  opacity: .6;
}

.u-banner{
  margin-bottom: 10vw;
}

.p-banner-contact{
  display: inline-block;
  width: 80%;
}

.p-banner-contact__image{
  width: 100%;
  border: 1.5px solid gray;
  border-radius: 10px;
}

.p-completeflow{
  background-color: #FBF5EF;
}

.u-completeflow-pa{
  padding: 5% 3% 2%;
}

.p-completeflow-mail,
.p-completeflow-verification,
.p-completeflow-start,
.p-completeflow-tentative,
.p-completeflow-fix,
.p-completeflow-complete{
  display: flex;
  justify-content: space-around;
}

.u-completeflow-mail-mb,
.u-completeflow-verification-mb,
.u-completeflow-start-mb,
.u-completeflow-tentative-mb,
.u-completeflow-fix-mb,
.u-completeflow-complete-mb{
  margin-bottom: 4%;
}

.p-completeflow-step{
  width: 40%;
}

.p-completeflow-step__heading{
  font-size: 3vw;
  color: #0101DF;
  text-shadow: 3px 3px 3px #A4A4A4;
  letter-spacing: 3px;
}

.p-completeflow-step__heading::after{
  position: relative;
  left: -2%;
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: #BDBDBD;
  margin: 1% 0 4%;
}

.p-completeflow-step__explanation{
  font-size: 1.3vw;
  line-height: 1.6vw;
}

.p-completeflow-annotation{
  width: 40%;
  text-align: center;
}

.p-completeflow-annotation__text{
  font-size: 1.5vw;
}

.u-completeflow-annotation__text-ma{
  margin: 17% 5% 5% 0;
}

.p-completeflow-annotation__image{
  width: 60%;
  height: 60%;
  border: solid 1.5px #848484;
  border-radius: 15%;
  box-shadow: 3px 3px 4px #A4A4A4;
}

.p-completeflow-annotation__imageflow{
  display: block;
  position: relative;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10%;
}

.p-completeflow-complete img:last-of-type{
  display: none;
}

/* -------- 制作にあたってのご質問とお願い --------- */

.p-question-please{
  width: 60%;
}

.u-question-please-ma{
  margin: auto;
  margin-bottom: 10vw;
}

.p-question-please__text{
  font-size: 1.5vw;
}

.u-question-please__text-mb{
  margin-bottom: 7%;
}

.p-question-please__question{
  display: inline-block;
  font-size: 1.4vw;
  font-weight: bold;
  color: #690303;
  border-bottom: 2px dotted #B40486;
}

.u-question-please__question-mb{
  margin-bottom: 2%;
  padding-bottom: .2vw;
}

.p-question-please__supplement{
  font-size: 1.2vw;
  line-height: 2vw;
}

.p-question-please__supplement::after{
  content: "";
  display: inline-block;
  width: 100%;
  height: 2px;
  background-color: #380B61;
  margin: 2% 0 4%;
}

/*------ 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%;
}

/* ============= PC縮小時 ============== */

@media(max-width: 1024px){
  
  .p-header-contents{
    top: 35%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    font-size: 2vw;
}

/* ============= ipad ============== */

@media(max-width: 820px){

  /*--------- iPad ヘッダー ---------*/ 
  
  .u-header-title-pa{
    padding: 0;
  }

  .p-header-title__line {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
  }
  
  .p-header-title__service {
    left: 50%;
    transform: translateX(-50%);
    font-size: 16vw;
  }
  
  .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;
    width: 40%;
    height: 100%;
    transition: .5s;
  }
  
  .u-header-navlists{
    padding-top: 25%;
  }

  .p-header-navlists li{
    text-align: center;
    font-size: 4vw;
    border-bottom: 1px solid white;
  }

  .u-header-navlists li{
    margin: auto;
    padding: 8%;
  }
  
  .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%);
    }
  }
  /*--------------------------------*/
  
  .p-header-contents{
    width: 70%;
    font-size: 3vw;
  }
  
  @media(max-height: 750px){
    .p-header-title__line{
      width: 50%;
      left: 53%;
    }
    
    .p-header-title__service{
      font-size: 12vw;
    }

  }
}
  
  /*--------- iPad メインコンテンツ ---------*/
  
  .p-heading{
    font-size: 3.4vw;
  }
  
  .p-design,
  .p-size-banner,
  .p-question-please{
    width: 85%;
  }
  
  .c-heading-on-frame__heading{
    font-size: 2.3vw;
  }
  
  .c-heading-on-frame__text{
    font-size: 1.8vw;
    line-height: 1.5rem;
  }
  
  .p-completeflow-step__heading{
    font-size: 3.4vw;
  }
  
  .p-completeflow-step__explanation{
    font-size: 1.8vw;
    line-height: 3.5vw;
    letter-spacing: 1px;
  }
  
  .p-completeflow-annotation__text{
    font-size: 1.8vw;
  }

  .p-question-please{
    width: 80%;
  }
  
  .p-question-please__text{
    font-size: 2vw;
  }

  .p-question-please__question{
    font-size: 1.9vw;
  }

  .p-question-please__supplement{
    font-size: 1.7vw;
    line-height: 2.5vw;
  }

  /*--------- ip フッター ---------*/
  
  .p-footer-nav__list{
    font-size: 3vw;
  }

  .u-footer-nav__list{
    margin: 5vw 0;
  }
}
  
/* ============= sp ============== */

@media(max-width: 414px){
  
  .l-header{
    min-height: 300px;
    max-height: 100%;
  }
  
  .p-hamburger-menu__icon{
    top: 25px;
    right: 30px;
    width: 10%;
  }

  .p-header-navlists li{
    font-size: 5vw;
  }

  .u-header-navlists{
  }
  
  /*--------- sp main ---------*/

  .p-header-contents{
    top: 30%;
    font-size: 5vw;
    line-height: 1.5rem;
  }

  .u-header-contents-ma li {
    margin: 10% 6%;
  }
  
  .p-heading{
    font-size: 7vw;
  }

  .c-heading-on-frame__heading {
    top: -3vw;
    font-size: 4.5vw;
  }

  .c-heading-on-frame__text{
    font-size: 3.7vw;
  }
  
  .u-frame-interval{
    margin-bottom: 12%;
  }
  
  .u-heading-mb{
    margin-bottom: 10vw;
  }

  .u-banner{
    margin-bottom: 20vw;
  }

  .p-banner-contact{
    width: 90%;
  }

  /*--------- sp flow ---------*/

  .p-completeflow-step__heading{
    font-size: 6vw;
  }
  
  .p-completeflow-step__explanation,
  .p-completeflow-annotation__text{
    font-size: 3.2vw;
    line-height: 1.1rem;
  }
  
  .u-completeflow-pa{
    padding-top: 10vw;
  }
  
  .p-completeflow-annotation__image{
    width: 110px;
    height: 90px;
  }
  
  .p-completeflow-annotation__imageflow{
    width: 15%;
  }
  
  .u-section-mb{
    margin-bottom: 10vw;
  }
  
  .p-question-please{
    width: 90%;
  }
  
  .p-question-please__text{
    font-size: 4vw;
    line-height: 1rem;
    text-align: left;
  }

  .u-question-please__text-mb{
    margin-bottom: 10vw;
  }
  
  .p-question-please__question{
    text-align: center;
    font-size: 3.5vw;
    line-height: 1rem;
    text-align: left;
    border-bottom: 1px dotted #B40486;
  }

  .p-question-please__supplement{
    font-size: 3.5vw;
    line-height: 1.2rem;
    text-align: left;
  }
  

  .p-question-please__supplement::after{
    margin-bottom: 10vw;
  }
  
  /*--------- 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;
  }
}