@charset "UTF-8";
/* CSS Document */

@media screen and (min-width: 768px) {
  .contents{
    padding: 0;
  }
  
  .intro{
    height: 620px;
    padding-top: 230px;
    background: url("../img/hero.webp") center center no-repeat;
    background-size: cover;
  }
}

.intro > div{
  width: 800px;
  margin: 0 auto;
}

.intro h2{
  font-size: 38px;
  line-height: 1;
  text-align: center;
  color: #fdfdfc;
  margin-bottom: 45px;
}

.intro p{
  font-size: 20px;
  line-height: 2;
  text-align: center;
  color: #fdfdfc;
  letter-spacing: .09em;
}

.flow{
  width: 1200px;
  margin: 120px auto;
  position: relative;
  z-index: 1;
}

@media screen and (min-width: 768px) {
  .flow h2{
    font-size: 45px;
    letter-spacing: .2em;
    line-height: 1;
    writing-mode: vertical-rl;
    white-space: nowrap;
    background: url("/common/title.webp") right top no-repeat;
    background-size: 15px auto !important;
    padding: 5px 40px 110px 0;
    position: absolute;
    left: 0;
  }
}

.flow ol{
  width: 1020px;
  margin-left: 180px;
}

.flow ol > li{
  min-height: 220px;
  padding: 50px 0 45px 265px;
  background: #e3e8e7;
  position: relative;
}

.flow ol > li + li{
  margin-top: 40px;
}

.flow p.no{
  width: 150px;
  height: 150px;
  font-family: 'Gilda Display', serif;
  font-size: 35px;
  line-height: 1;
  color: #FFF;
  text-align: center;
  padding-top: 50px;
  border-radius: 50%;
  background: #403e50;
  position: absolute;
  top: 50%;
  left: 60px;
  transform: translateY(-50%);
  z-index: 1;
}

.flow p.no span{
  font-size: 18px;
  margin-bottom: 5px;
  display: block;
}

.flow p.no::after{
  content: "";
  width: 3px;
  height: 200px;
  background: #403e50;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%,100%);
  z-index: -1;
}

.flow li:last-of-type p.no::after{
  display: none;
}

.flow li > div{
  width: 695px;
}

.flow li h3{
  font-size: 24px;
  line-height: 1;
  margin-bottom: 15px;
}

.flow li p{
  font-size: 18px;
  line-height: 1.8;
}

.flow ul.note li,
.flow li p.note{
  font-size: 16px;
  line-height: 1.6;
  text-indent: -1em;
  padding-left: 1em;
}

.flow li p.note,
.flow ul.note{
  margin-top: 5px;
}

.flow li a{
  font-size: 18px;
  line-height: 1;
  padding-bottom: 15px;
  border-bottom: 1px solid #242230;
  display: inline-block;
  margin-top: 25px;
  padding-right: 30px;
  position: relative;
}

.flow li a::after{
  content: "";
  width: 18px;
  height: 18px;
  background: url("/common/icon_aw.webp") no-repeat;
  background-size: 100% auto;
  position: absolute;
  top: 3px;
  right: 0;
  transform: translateX(0);
  transition: .3s;
}

@media screen and (min-width: 768px) {
  .flow li a:hover::after{
    transform: translateX(25%);
    transition: .3s;
  }
}

.contact{
  text-align: center;
  padding-bottom: 120px;
}

.contact p{
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact a{
  width: 400px;
  height: 100px;
  font-size: 20px;
  line-height: 100px;
  color: #FFF;
  background: #242230;
  display: block;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .contact a:hover{
    background: #3c3c82;
    opacity: 1;
  }
}

@media screen and (max-width: 767px) {

  .contents{
    padding: 0;
  }
  
  .intro{
    height: 115vw;
    padding: 40vw 8vw;
    background: url("../img/hero_s.webp") center top no-repeat;
    background-size: cover;
  }

  .intro > div{
    width: 100%;
  }

  .intro h2{
    font-size: 6vw;
    margin-bottom: 10vw;
  }

  .intro p{
    font-size: 4vw;
    line-height: 1.6;
    letter-spacing: .05em;
    text-align: center;
  }

  .flow{
    width: 100%;
    margin: 0 auto;
    padding: 20vw 8vw;
  }

  .flow::before{
    display: none;
  }
  
  .flow h2{
    font-size: 7vw;
    letter-spacing: .1em;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    background: url("/common/title_s.webp") center bottom no-repeat;
    background-size: auto 2.8vw !important;
    padding-bottom: 7vw;
    margin-bottom: 15vw;
  }  

  .flow ol{
    width: 100%;
    margin: 0;
  }

  .flow ol > li{
    min-height: inherit;
    padding: 6vw 6vw 6vw 25vw;
  }

  .flow ol >  li + li{
    margin-top: 10vw;
  }

  .flow p.no{
    width: 25vw;
    height: 25vw;
    font-size: 8vw;
    line-height: 1;
    color: #FFF;
    text-align: center;
    padding-top: 7vw;
    top: -8vw;
    left: -4vw;
    transform: translateY(0);
    z-index: 1;
  }

  .flow p.no span{
    font-size: 4vw;
    margin-bottom: .5vw;
    display: block;
  }

  .flow p.no::after{
    width: 3px;
    height: 50vw;
  }

  .flow li > div{
    width: 100%;
  }

  .flow li h3{
    font-size: 5vw;
    line-height: 1.3;
    margin-bottom: 5vw;
  }

  .flow li p{
    font-size: 3.5vw;
    line-height: 1.6;
  }
  
  .flow ul.note li,
  .flow li p.note{
    font-size: 3vw;
    line-height: 1.6;
  }
  
  .flow li p.note,
  .flow ul.note{
    margin-top: 3vw;
  }

  .flow li a{
    font-size: 3.8vw;
    padding-bottom: 3vw;
    margin-top: 5vw;
    padding-right: 6vw;
  }

  .flow li a::after{
    width: 4vw;
    height: 4vw;
    top: .5vw;
    right: 0;
  }

  .contact{
    width: 100%;
    text-align: left;
    padding: 0vw 8vw 30vw;
  }

  .contact p{
    font-size: 3.8vw;
    line-height: 1.6;
    margin-bottom: 8vw;
  }

  .contact a{
    width: 65%;
    height: 15vw;
    font-size: 3.8vw;
    line-height: 15vw;
    text-align: center;
    color: #FFF;
    background: #242230;
    display: block;
    margin: 0 auto;
  }
}