img{
    width: 100%;
}

body{
    font-family: "Noto Serif JP", serif;
}

.n-fade {
    opacity: 0;
    transition: opacity 1s;
    transition-delay: 0.8s;
  }
  
  
  .n-inview {
    opacity: 1;
    animation-duration: 8s;
    animation-fill-mode: forwards;
  }

.second-heading h2{
    font-size: .40rem;
    text-align: center;
    letter-spacing: 0.09em;
    font-family: "adobe-garamond-pro", serif;
}

.second-heading p{
    font-size: .20rem;
    text-align: center;
    letter-spacing: 0.09em;
    font-family: "Noto Serif JP", serif;
}


.sp_only{
    display: none;
}


.effect-rise-wrap p{
    transform: translateY(100%) translateZ(0);
    transition: transform 1s cubic-bezier(0.2, 0.5, 0.4, 1) 0.8s;
}

.effect-rise-on p{
    transform: none;
}

.contents-heading {
    background-image: url(../images/service-heading-back.jpg);
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-bottom: 20%;
    margin-top: 100px;
    position: relative;
    margin-bottom: 77px;
}

.contents-heading:after {
    background-color: rgba(0, 0, 0, .1);
    background-image: url('../images/common/polka-dots.png');
    background-size: 2px;
    content: "";
    opacity: .5;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.contents-heading p {
    position: absolute;
    left: 98px;
    top: -10px;
    bottom: 0;
    margin: auto;
    width: fit-content;
    height: fit-content;
    font-size: .27rem;
    font-weight: 500;
    color: #fff;
    z-index: 1;
}

.contents-container>p {
    font-size: .24rem;
    font-weight: 500;
    text-align: center;
    line-height: 2.35;
    margin-bottom: 63px;
}


.js-fade {
  opacity: 0;
  transition: opacity 1.2s, transform 1.2s;
}
.js-fade.is-inview {
  opacity: 1;
}
.js-fadeSlow {
  opacity: 0;
  transition: opacity .8s, transform .8s;
}
.js-fadeSlow.is-inview {
  opacity: 1;
  transition-delay: 1s;
}
.js-fadeUp {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s, transform .8s;
}
.js-fadeUp.is-inview {
  opacity: 1;
  transform: translateY(0);
}

@media screen and (max-width:800px) {
    .sp_only {
        display: block;
    }

    .pc_only {
        display: none;
    }

    .second-heading h2{
        font-size: .36rem;
		font-weight: 500;
    }
    .second-heading p {
        font-size: .16rem;
        font-weight: 400;
        margin-top: 6px;
    }

    .contents-heading {
        background-image: url(../images/sp-service-heading-back.jpg);
        padding-bottom: 61%;
        margin-top: 67px;
        margin-bottom: 46px;
    }

    .contents-heading p {
        position: absolute;
        left: 0px;
        right: 0;
        top: -10px;
        font-size: .23rem;
    }

    .contents-container>p {
        font-size: .18rem;
        margin-bottom: 53px;
		line-height: 2.2;
    }
}




/* トップお問い合わせ */
.top-contact-us .second-heading {
    margin-bottom: 40px;
}

.top-contact-us {
    position: relative;
    color: #fff;
    padding: 74px 0 39px;
    overflow: hidden;
    z-index: 100000;
}

.top-contact-us a {
    color: #fff;
    text-decoration: none;
    transition: 1.1s;
}

.top-contact-btn:hover {
    background-color: #fff;
    color: #C35427;
    opacity: 1;
}

.top-contact-us__back {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.top-contact-us__back video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}


.top-contact-us__back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.contact-us__contents {
    width: 840px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.top-contact-btn {
    width: 80%;
    margin: 0 auto 60px;
    border: solid 1px #fff;
    font-size: .20rem;
    font-weight: 500;
    display: block;
    text-align: center;
    padding: 24px 0;
    margin-bottom: 45px;
}

.top-contact-container {
    margin-bottom: 50px;
}

.top-contact__telbox {
    font-size: .24rem;
    width: 510px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-qr__text {
    width: 77%;
    margin-bottom: 15px;
}

.top-contact__telbox p {
    letter-spacing: 0.1em;
    font-weight: 500;
}

.top-contact__telbox a {
    letter-spacing: 0.13em;
    font-weight: 600;
    font-family: "adobe-garamond-pro", serif;
}

.top-contact-qr__box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 638px;
    max-width: 100%;
    margin: 0 auto;
}

.contact-qr__text p:nth-of-type(1) {
    font-size: .24rem;
    margin-bottom: 17px;
    letter-spacing: 0.01em;
    font-weight: 500;
}

.contact-qr__text p:nth-of-type(1) img {
    width: 72px;
    margin-right: 8px;
}

.contact-qr__text p:nth-of-type(2) {
    font-size: .15rem;
}

.contact-qr__img {
    width: 113px;
}




body:not(.home){
    opacity:0;
    animation-name: body-opacity;
    animation-duration: 0.9s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}
@keyframes body-opacity {
    0% {
        opacity:0;
    }
    70% {
        opacity:0;
    }
    100% {
        opacity:1;
    }
  }
  
body:not(.home) .animation-bg {
    background: #fff;
    display: block;
    content: "";
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 1111111;
    animation-duration: 1.5s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
	animation-name: PageAnime-ttb;
}
  @keyframes PageAnime-ttb {
    0% {
        transform-origin: left;
        transform: scaleX(0);
      }
      50% {
        transform-origin: left;
        transform: scaleX(1);
      }
      50.001% {
        transform-origin: right;
      }
      100% {
        transform-origin: right;
        transform: scaleX(0);
      }
 }
 
@media screen and (max-width:800px) {
    /* コンタクト */
    .top-contact-us {
        padding: 70px 0 65px;
    }
	.top-contact-container {
		margin-bottom: 0;
	}

    .top-contact-us .second-heading {
        margin-bottom: 40px;
    }

    .top-contact-btn {
        font-size: .15rem;
        width: 95%;
        margin: 0 auto 45px;
        display: block;
        padding: 17px 0;
    }

    .top-contact__telbox {
        flex-direction: column;
    }

    .top-contact__telbox p {
        font-size: .15rem;
        margin-bottom: 7px;
    }

    .top-contact__telbox a {
        letter-spacing: 0.1em;
        font-size: .27rem;
    }

    .top-contact-qr__box {
        flex-direction: column;
    }

    .contact-qr__text {
        width: 100%;
        margin-bottom: 17px;
    }

    .contact-qr__text p:nth-of-type(1) {
        font-size: .14rem;
        margin-bottom: 0px;
        text-align: center;
    }

    .contact-qr__text p:nth-of-type(1) span {
        font-size: .17rem;
    }

    .contact-qr__text p:nth-of-type(1) img {
        width: 46px;
        margin-right: 3px;
    }

    .contact-qr__text p:nth-of-type(3) {
        font-size: .15rem;
        line-height: 1.8;
        text-align: center;
    }

    .contact-qr__img {
        width: 122px;
    }

    .sp-line-btn {
        width: 95%;
        border: solid 1px #fff;
        text-align: center;
        font-size: .15rem;
        font-weight: 500;
        padding: 18px 0;
    }

    .sp-line-btn img {
        width: 44px;
        margin-right: 3px;
    }
}