#key {
  height: 100vh;
  background-size: cover;
  position: relative;
}
#key .key-ttl {
  position: absolute;
  top: 32vw;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 7vw;
  text-align: center;
  font-weight: 500;
  z-index: 2;
  letter-spacing: 2px;
  transition: opacity 0.3s ease;
}
#key .key-ttl:before {
  content: '';
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: url(../img/shared/icon_logo.png) no-repeat center top;
  background-size: contain;
  width: 58px;
  height: 45px;
}
#key .shape {
  position: absolute;
  height: 100vh;
  top: 0;
  bottom: 0;
  width: 100%;
  left: 0;
  display: flex;
  align-items: center;
  -webkit-mask-image: url(../img/recruit-pray/mask2.svg);
  mask-image: url(../img/recruit-pray/mask2.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center center;
  mask-position: center center;
  -webkit-mask-size: 100%;
  mask-size: 100%;
  transition: transform 0.3s ease;
}
#key .shape img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
header .logo {
  display: none;
}

/*=============================================
******************* sec1  **********************
*=============================================*/
#sec1 {
  margin-top: 7vw;
  padding: 5vw 2%;
}
#sec1 .flex {
  display: flex;
  gap: 10px;
  box-sizing: border-box;
  overflow: hidden;
  height: 71vw;
}
#sec1 .row {
  display: flex;
  gap: 5px;
}
#sec1 p {
  margin-bottom: 7px;
}

/*=============================================
******************* sec2  **********************
*=============================================*/
#sec2 {
  padding: 10vw 0 20vw;
}
#sec2 .set1 h2 {
  text-align: center;
  font-size: 6.5vw;
  line-height: 1.5;
  margin: 6vw 0;
}
#sec2 .set1 .txt {
  margin-bottom: 6vw;
}
#sec2 .set1 .txt span {
  display: block;
  margin-top: 2vw;
}
#sec2 .set1 .photo {
  margin: 0 3%;
}
#sec2 .set2 {
  margin: 10vw 0;
}
#sec2 .set2 .ttl {
  margin: 7vw auto;
}
#sec2 .set2 .ttl span {
  display: block;
}
#sec2 .set2 .ttl span:nth-child(2) {
  margin: 0 8%;
}
#sec2 .set2 .photo {
  margin: 6vw 3% 0;
}
#sec2 .set3 .txt {
  margin: 4vw 2% 8vw;
}
#sec2 .set3 .box {
  border: 1px solid;
  padding: 5vw 3%;
}
#sec2 .set3 .box h4 {
  font-size: 5vw;
  margin-bottom: 4vw;
}
#sec2 .set3 .box .price {
  margin: 4vw 0;
}
#sec2 .set3 .box .price dl {
  margin-bottom: 2vw;
}

/*=============================================
******************* sec3  **********************
*=============================================*/

/* #sec3 h2 {
  font-size: 7vw;
  text-align: center;
  letter-spacing: 3px;
}
#sec3 h2 small {
  display: inline-block; 
  font-size: 1.8vw;
  margin-left: 2vw;
  margin-bottom: -3px;
}
#sec3 h2 small span {
  display: inline-block;
  margin-left: 1vw;
}
#h2-ttl {
  font-size: 0.7em;
  letter-spacing: 0;
  display: inline-block; 
  margin-right: 10px;
} */

 /*** 見出し追加 ***/
#sec3 h2 {
  /* font-size: 7vw; */
  text-align: center;
  letter-spacing: 3px;
  margin-bottom: 20px;
}
#sec3 h2 #h2-ttl {
  font-size: 20px;
  letter-spacing: 0;
  margin-bottom: 10px;
  display: block;
}
#sec3 h2 ruby{
  font-size: 36px;
}
#sec3 h2 rt{
  font-size: 12px;
  text-align: center;
}
/******/

#sec3 .photo {
  margin: 6vw -2%;
}
#sec3 .row .photo2 {
  margin: 0 2% 5vw;
}
#sec3 .set2 {
  margin-top: 1vw;
}

/*** 見出し追加 ***/
#sec3 .set2-ttl h2 {
	margin: 12vw auto 15vw;
    font-size: 6.5vw;
    text-align: center;
    line-height: 1.5;
	position: relative;
}
#sec3 .set2-ttl h2::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: 50%;
    width: 100%;
    height: 1px;
    transform: translateX(-50%);
    background: #000;
}
/******/

#sec3 .set2 .row {
  position: relative;
  margin: 0 -3%;
}
#sec3 .set2 .row:before {
  content: '';
  position: absolute;
  top: -3vw;
  left: 17vw;
  width: 5px;
  bottom: -14vw;
  background: #000;
  border-radius: 2em;
}
#sec3 .set2 .row:after {
  content: '';
  position: absolute;
  height: 13vw;
  left: 17vw;
  width: 5px;
  bottom: -14vw;
  background: #000;
  border-radius: 2em;
  transform: rotate(30deg);
  transform-origin: bottom;
}
#sec3 .set2 .row .item {
  display: flex;
  margin-bottom: 10vw;
  align-items: center;
  gap: 5vw;
}
#sec3 .set2 .row .item .img {
  min-width: 35vw;
}
#sec3 .set2 .row .item h3 {
  margin: 4vw 0 1vw;
}

/*=============================================
******************* sec4  **********************
*=============================================*/
#sec4 {
  padding: 25vw 0 13vw;
}
#sec4 h2 {
  font-size: 6.5vw;
  text-align: center;
  line-height: 1.5;
}
#sec4 .txt-center {
  margin: 4vw 0 8vw;
  padding-top: 4vw;
  position: relative;
}
#sec4 .txt-center:before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  height: 1px;
  transform: translateX(-50%);
  background: #000;
}
#sec4 .tel {
  text-align: center;
}
#sec4 .tel dt {
  font-size: 9vw;
  font-weight: bold;
  line-height: 1.5;
}
#sec4 .button {
  margin-top: 4vw;
}
#sec4 .button a {
  display: block;
  border: 1px solid;
  padding: 2vw 0;
  text-align: center;
  text-decoration: none !important;
}

/*=============================================
******************* PC  **********************
*=============================================*/
@media screen and (min-width: 768px) {
  #key {
    height: calc(100vh);
    min-height: 100vh;
    margin-top: 100px;
    overflow: hidden;
  }
  #key .key-ttl {
    display: block;
    z-index: 2;
    left: calc(50%);
    transform: translateX(-50%);
    top: 65px;
    font-size: 36px;
    letter-spacing: 5px;
    transition: all 0.3s ease;
    width: 32px;
    height: 164px;
    color: #000;
	margin-top: 100px;
  }
  #key .key-ttl::before {
    filter: none;
  }

  main {
    overflow: visible;
  }

  /*=============================================
  ******************* sec1  **********************
  *=============================================*/
  #sec1 {
    margin-top: 123px;
    padding: 0 20px;
  }
  #sec1 .flex {
    justify-content: center;
    position: relative;
    height: auto;
    gap: 20px;
    height: calc(73vw + 20px);
  }

  #sec1 p {
    margin-bottom: 41px;
  }
  #sec1 .row {
    gap: 40px;
  }
  #sec1 .row p {
    width: 50%;
  }
  #sec1 .left,
  #sec1 .right {
    width: 50%;
  }
  #sec1 .left img,
  #sec1 .right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /*=============================================
  ******************* sec2  **********************
  *=============================================*/
  #sec2 {
    padding: 437px 0 257px;
  }
  #sec2 .wrapper {
    justify-content: space-between;
  }
  #sec2 .left {
    box-sizing: border-box;
    width: calc(50%);
    margin-left: 40px;
  }
  #sec2 .left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  #sec2 .right {
    padding: 0 23px;
  }
  #sec2 .right img {
    width: 100%;
  }
  #sec2 .txt {
    /*width: 100%;*/
	width: 500px;
    letter-spacing: 0.1em;
    line-height: 28px;
  }
/*** 追加 ***/

  #sec2 .set1 h2 {
    font-size: 36px;
    margin: -11px auto 22px;
    letter-spacing: 5px;
  }
  #sec2 .set1 .txt {
    margin: 0 auto;
  }
  #sec2 .set1 .txt span {
    margin-top: 28px;
  }
  #sec2 .set1 .photo {
    margin: 68px auto 0;
    text-align: center;
	width: 670px;
  }
  #sec2 .set2 {
    margin: 190px 0 185px;
  }
  #sec2 .set2 .ttl {
    font-size: 24px;
    line-height: 50px;
    margin: 41px auto 59px;
    letter-spacing: 0.1em;
  }
  #sec2 .set2 .ttl span:nth-child(2) {
    margin: 0 49px;
  }
  #sec2 .set2 .txt {
    margin: 0 auto;
  }
  #sec2 .set2 .photo {
    margin: 67px auto 0;
    text-align: center;
	width: 670px;
  }
  #sec2 .set3 .txt {
    margin: 26px auto 68px;
  }
  #sec2 .set3 .box {
    /*width: 100%;*/
	width: 670px;
    margin: 0 auto;
    padding: 33px 0px 48px 30px;
    box-sizing: border-box;
    position: relative;
  }
  #sec2 .set3 .box h4 {
    font-size: 24px;
    margin-bottom: 31px;
  }
  #sec2 .set3 .box .price {
    margin: 0;
    letter-spacing: 0.1em;
    line-height: 28px;
	padding-bottom: 80px;
  }
  #sec2 .set3 .box .price dl {
    margin-bottom: 28px;
  }
  #sec2 .set3 .box .photo {
    position: absolute;
    top: 104px;
    right: 40px;
  }

  /*=============================================
  ******************* sec3  **********************
  *=============================================*/
  #sec3 {
    overflow: hidden;
  }
  #sec3 .set1 .wrap {
    width: 100%;
    max-width: 1330px;
    margin: 0 auto;
  }
  #sec3 .set1 h2 {
    font-size: 36px;
    line-height: 52px;
    letter-spacing: 7px;
    margin-left: 7px;
  }
  #sec3 .set1 h2 small {
    font-size: 11px;
    line-height: 14px;
    margin-bottom: -7px;
    letter-spacing: 3px;
    margin-left: 8px;
  }
  #sec3 .set1 h2 small span {
    margin-left: 10px;
  }
  #sec3 .set1 .photo {
    margin: 37px 0 70px;
  }
  #sec3 .set1 .row {
    display: flex;
    max-width: 1190px;
    width: 100%;
    margin: 0 auto;
    align-items: center;
    justify-content: space-evenly;
    gap: 20px;
  }
  #sec3 .set1 .row .photo2 {
    margin: 0;
  }
  #sec3 .set1 .row .txt {
    width: 400px;
    line-height: 28px;
    margin: 0 7px 12px 0;
    letter-spacing: 0.12em;
  }
  #sec3 .set2 {
    /*margin-top: 274px;*/
	margin-top: 170px;
  }
	
  #sec3 h2 #h2-ttl {
    margin-bottom: 0;
  }
/*** 見出し追加 ***/
  #sec3 .set2-ttl h2 {
    font-size: 32px;
    letter-spacing: 4px;
    width: 770px;
  }
  #sec3 .set2-ttl h2::after {
        width: 130%;
  }
/******/

  #sec3 .set2 .row {
    flex-direction: row;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    gap: 74px;
    width: 1048px;
  }
  #sec3 .set2 .row:before {
    top: 160px;
    left: -73px;
    right: -70px;
    height: 5px;
    width: auto;
    bottom: auto;
  }
  #sec3 .set2 .row:after {
    height: 44px;
    left: auto;
    width: 5px;
    bottom: auto;
    top: 120px;
    right: -73px;
    transform: rotate(-56deg);
  }
  #sec3 .set2 .row .item {
    flex-direction: column;
    width: 300px;
    position: relative;
    margin-bottom: 0;
  }
  #sec3 .set2 .row .item .img {
    min-width: 0;
  }
  #sec3 .set2 .row .item .content .ttl {
    position: absolute;
    top: -102px;
    font-size: 20px;
    left: 50%;
    transform: translateX(-50%);
    letter-spacing: 4px;
  }
  #sec3 .set2 .row .item .content h3 {
    margin: -33px 0 16px 4px;
    text-align: center;
    letter-spacing: 5px;
  }
  #sec3 .set2 .row .item .content .txt {
    margin: 0 21px 0 19px;
    letter-spacing: 0.14em;
    line-height: 28px;
  }

  /*=============================================
  ******************* sec4  **********************
  *=============================================*/
  #sec4 {
    padding: 297px 0 305px;
  }
  #sec4 h2 {
    font-size: 32px;
    letter-spacing: 4px;
  }
  #sec4 .txt-center {
    margin: 38px auto 0;
    text-align: center;
    padding-top: 34px;
    width: 770px;
    line-height: 28px;
    letter-spacing: 0.11em;
  }
  #sec4 .txt-center::before {
    width: 130%;
  }
  #sec4 .tel {
    margin-top: 46px;
  }
  #sec4 .tel dt {
    font-size: 36px;
    letter-spacing: 4px;
  }
  #sec4 .tel dd {
    letter-spacing: 0.1em;
  }
  #sec4 .button {
    margin: 34px auto 0;
    width: 406px;
  }
  #sec4 .button a {
    font-size: 24px;
    padding: 6px 0;
  }
}
