@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Glass+Antiqua&family=Noticia+Text:wght@700&family=Zen+Old+Mincho:wght@400;700&family=Zilla+Slab:ital,wght@1,500&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #782616;
    font-family: 'Noticia Text', "Zen Old Mincho", serif;
}

body {
    background: rgb(224, 204, 185);
}


html {
    font-size: 100%;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

/*左から右*/

.eachTextAnime span {
    opacity: 0;
}

.eachTextAnime.appeartext span {
    animation: text_anime_on 1s ease-out forwards;
}

@keyframes text_anime_on {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/*じわっと*/

.blur {
    animation-name: blurAnime;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

@keyframes blurAnime {
    from {
        filter: blur(10px);
        transform: scale(1.02);
        opacity: 0;
    }

    to {
        filter: blur(0);
        transform: scale(1);
        opacity: 1;
    }
}

.blurTrigger {
    opacity: 0;
}



/*========== name ===========*/

/*全共通*/

.slide-in {
    overflow: hidden;
    display: inline-block;
}

.slide-in_inner {
    display: inline-block;

}

/* 上下のアニメーション*/
.downAnime {
    opacity: 0;
    /* 事前に透過0 にして消しておく*/
}

.slideAnimeDownUp {
    animation-name: slideTextY100;
    animation-duration: 3s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes slideTextY100 {
    from {
        transform: translateY(100%);
        /* 要素を上の枠外に移動*/
        opacity: 0;
    }

    to {
        transform: translateY(0);
        /* 要素を元の位置に移動*/
        opacity: 1;
    }
}

.slideAnimeUpDown {
    animation-name: slideTextY-100;
    animation-duration: 3s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes slideTextY-100 {
    from {
        transform: translateY(-100%);
        /* 要素を下の枠外に移動*/
        opacity: 0;
    }

    to {
        transform: translateY(0);
        /* 要素を元の位置に移動*/
        opacity: 1;
    }
}

/*========= nameおわり============*/

.wrapper {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: 100%;
}

header {
    position: fixed;
    background: rgba(220, 190, 184, 0);
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
}


header .wrapper {
    margin-bottom: 0;
    padding-top: 30px;
    width: 33%;
    min-width: 350px;
}

.site-header-nav ul {
    display: flex;
    height: 2.5rem;
    background-color: rgba(255, 243, 243, 0.6);
    border-radius: 30px 30px;
    justify-content: center;
    align-items: center;
    padding-left: 30px;
    padding-right: 30px;
}

.site-header-nav li {
    padding-right: 20px;
    padding-left: 20px;
}

.site-header-nav ul li a {
    color: #782616;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.site-header-nav ul li a:hover {
    opacity: 0.6;

}


.site-header-navbtn {
    display: none;
    position: fixed;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: #782616;
    border-radius: 50%;
    border: none;
    z-index: 3;
}

.site-header-navbtn span,
.site-header-navbtn::before,
.site-header-navbtn::after {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #ffffff;
    position: absolute;
    top: 50%;
    left: 12px;
    transition: transform .5s;
}

.site-header-navbtn::before,
.site-header-navbtn::after {
    content: '';
}

.site-header-navbtn::before {
    transform: translateY(-6px);
}

.site-header-navbtn::after {
    transform: translateY(6px);
}


#slider {
    position: fixed;
    height: 100vh;
    width: 100%;
    object-fit: cover;
    z-index: -1;
}

#name {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

#name1,
#name2 {
    max-width: 100%;
    color: #fff3f3;
    font-family: "Glass Antiqua", cursive;
    font-weight: 400;
    font-size: clamp(4rem, calc(100vw/6), 13rem);
    margin-right: 20px;
    margin-left: 20px;
    z-index: 3;
}

.scroll_down {
    position: fixed;
    width: 100%;
    bottom: 5%;
    z-index: -1;
}

.scroll_down p {
    color: rgba(255, 243, 243, 0.8);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-align: center;
    margin-top: 8px;
}

.scroll_down::before {
    content: "";
    display: block;
    width: 2px;
    height: 60px;
    background-color: rgba(255, 243, 243, 0.8);
    margin-right: auto;
    margin-left: auto;
    animation: arrow 1.8s cubic-bezier(1, 0, 0, 1) infinite;
}

@keyframes arrow {
    0% {
        transform-origin: 0% 0%;
        transform: scale(1, 0) translateX(-1px);
    }

    50% {
        transform-origin: 0% 0%;
        transform: scale(1, 1)translateX(-1px);
    }

    51% {
        transform-origin: 0% 100%;
        transform: scale(1, 1)translateX(-1px);
    }

    100% {
        transform-origin: 0% 100%;
        transform: scale(1, 0)translateX(-1px);
    }
}

#about {
    padding-top: 10px;
    padding-bottom: 50px;
    background: rgba(222, 208, 202, 0.7);
    z-index: 2;
}

#about .section-title {
    background-color: rgba(228, 203, 192, 0.8);
    border: double 5px rgb(255, 244, 244);
    display: flex;
    font-size: 2rem;
    letter-spacing: 0.5px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
    margin-bottom: 50px;
    margin-left: auto;
    margin-right: auto;
}

#about .bgc1 {
    background-color: rgba(255, 243, 243, 0.5);
    width: 100%;
    height: 700px;
    position: relative;
    margin-top: 200px;
    margin-bottom: 250px;
}

#about .content1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 1000px;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 100%;
    max-width: 1300px;
    position: absolute;
    text-align: center;
}


#about .img1 {
    top: 10%;
    left: 0;
    position: absolute;
    width: 23%;
    z-index: 2;
}

#about .img2 {
    top: 5%;
    right: 5%;
    position: absolute;
    width: 23%;
    z-index: 2;
}

#about .text {
    position: relative;
    width: 100%;
    padding: 230px 180px 230px 180px;
    z-index: 1;
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 2px;
    line-height: 3;
    text-align: center;
}

#about .img3 {
    bottom: -7%;
    left: 14%;
    position: absolute;
    width: 28%;
    z-index: 2;
}

#about .img4 {
    bottom: 1%;
    right: 0;
    position: absolute;
    width: 33%;
    z-index: 2;
}


@media screen and (max-width:1100px) {
    #about .img1 {
        top: 5%;
        left: 0;
        position: absolute;
        width: 28%;
        z-index: 2;
    }

    #about .img2 {
        top: 6%;
        right: 3%;
        position: absolute;
        width: 27%;
        z-index: 2;
    }

    /* #about .text {
        font-size: ?;
    } */

    #about .img3 {
        bottom: 3%;
        left: 5%;
        position: absolute;
        width: 33%;
        z-index: 2;
    }

    #about .img4 {
        bottom: 5%;
        right: 0;
        position: absolute;
        width: 37%;
        z-index: 2;
    }
}

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


    #about .bgc1 {
        height: 85vw;
    }


    #about .content1 {
        margin: 0;
        height: 85vw;
    }

    #about .img1 {
        top: -20%;
        left: 0;
        position: absolute;
        width: 35%;
        z-index: 2;
    }

    #about .img2 {
        top: -7%;
        right: 3%;
        position: absolute;
        width: 35%;
        z-index: 2;
    }

    #about .text {
        padding: 30px 0 30px 0;
        font-size: 0.8rem;
        width: 85%;
        z-index: 3;
        background-color: rgba(233, 219, 214, 0.8);
    }

    #about .img3 {
        bottom: -15%;
        left: 3%;
        position: absolute;
        width: 38%;
        z-index: 2;
    }

    #about .img4 {
        bottom: -5%;
        right: 0;
        position: absolute;
        width: 45%;
        z-index: 2;
    }
}



.service {
    display: flex;
    flex-direction: column;
    text-align: center;
}

#about .content-title,
#a-about .content-title {
    font-size: 1.3rem;
    letter-spacing: .9px;
    margin-top: 100px;
    margin-bottom: 100px;
}

#about .content2-1,
#a-about .content2-1 {
    position: relative;
    width: 80%;
    max-width: 1050px;
    margin-top: 100px;
    margin-bottom: 700px;
    margin-right: auto;
    margin-left: auto;
}


#about .content2-2,
#a-about .content2-2 {
    position: relative;
    width: 80%;
    max-width: 1050px;
    margin-top: 150px;
    margin-bottom: 300px;
    margin-right: auto;
    margin-left: auto;
}

#about .content2-1 .box_text,
#a-about .content2-1 .box_text {
    position: absolute;
    left: 10%;
    top: 0;
    background-color: rgba(247, 229, 211, 0.8);
    padding: 10px;
    border-radius: 5px;
    width: 480px;
    max-width: 80%;
    line-height: 1.8;
    border-radius: 5px;
    padding: 50px;
    z-index: 1;
}

#about .content2-2 .box_text,
#a-about .content2-2 .box_text {
    position: absolute;
    right: 10%;
    bottom: 0;
    background-color: rgba(247, 229, 211, 0.8);
    padding: 10px;
    border-radius: 5px;
    width: 480px;
    max-width: 80%;
    line-height: 1.8;
    border-radius: 5px;
    padding: 50px;
    z-index: 1;
}

#about .content2-1 h2,
#about .content2-2 h2,
#a-about .content2-1 h2,
#a-about .content2-2 h2 {
    font-size: 1.2rem;
    padding-bottom: 20px;
}

#about .content2-1 p,
#about .content2-2 p,
#a-about .content2-1 p,
#a-about .content2-2 p {
    margin: 0;
}

#about .content2-1 img,
#a-about .content2-1 img {
    display: block;
    position: absolute;
    width: 65%;
    max-width: 660px;
    top: 180px;
    right: 0;
}

#about .content2-2 img,
#a-about .content2-2 img {
    display: block;
    position: relative;
    width: 65%;
    max-width: 660px;
    bottom: 180px;
    right: 0;
}


.placeholder1 {
    height: 1px;
}

.placeholder2 {
    height: 350px;
}

#works {
    padding-top: 10px;
    padding-bottom: 50px;
    background: rgba(53, 69, 63, 0.6);
    z-index: 2;
}


#works .section-title {
    background-color: rgba(90, 86, 84, 0.9);
    border: double 5px rgb(255, 243, 243);
    display: flex;
    font-size: 2rem;
    letter-spacing: 0.5px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
    margin-bottom: 50px;
    margin-left: auto;
    margin-right: auto;

}

#works span {
    color: rgb(255, 243, 243);
}

#works p {
    color: rgb(255, 243, 243);
    padding-top: 30px;
    padding-bottom: 30px;
}

#works li {
    margin: 0 0 80px;
}

#works .worksbox {
    margin-top: 50px;
    margin-right: auto;
    margin-left: auto;
}

.btn {
    max-width: 150px;
    margin: 100px auto 50px;
}

.m-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 245, 245, 0.7);
    width: 100%;
    height: 50px;
    margin: 0px;
    border-radius: 25px;
    color: #782616;
    font-size: 0.8rem;
    text-decoration: none;
    position: relative;
    transition-duration: 0.8s;
}

.m-btn:hover {
    background: #782616;
    color: rgb(255, 243, 243);
}

/*a-about*/

#a-about {
    background-color: rgb(224, 204, 185);
}


#a-about .section-title {
    display: block;
    font-size: 2rem;
    letter-spacing: 0.5px;
    padding-top: 150px;
    margin-bottom: 200px;
}

#a-about .content1 {
    display: flex;
    margin-top: 100px;
    margin-bottom: 100px;
    margin-right: auto;
    margin-left: auto;
    justify-content: center;
    align-items: center;
    width: 80%;
    max-width: 1300px;
}

#a-about .content1 img {
    height: 300px;
    object-fit: cover;
    max-width: 90%;
    border-radius: 50%;
    margin-right: 100px;
    border: double 5px rgb(255, 243, 243);
}

#a-about .text h1 {
    font-size: 1.3rem;
    padding-bottom: 30px;
    letter-spacing: 0.8px;
}

#a-about .text {
    text-align: left;
    line-height: 1.8;
    border-radius: 20px;
    padding: 20px;
}

#a-about .content1 .daihyou {
    padding-top: 30px;
}

#a-about .kaisha {
    background-color: rgb(232, 214, 197);
    padding-top: 50px;
    padding-bottom: 30px;
}

#a-about .content3 {
    display: flex;
    margin-top: 130px;
    margin-bottom: 100px;
    margin-right: auto;
    margin-left: auto;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    width: 90%;
}

table {
    width: 60%;
    border-spacing: 0;
}

th {
    text-align-last: justify;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-right: clamp(2px, calc(100vw/50), 50px);
    padding-left: clamp(2px, calc(100vw/50), 50px);
    font-weight: bold;
    border-right: solid 1px #782616;
}

td {
    text-align: left;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: clamp(2px, calc(100vw/50), 70px);
}

#a-about .content3 .img_box {
    display: flex;
    flex-direction: column;
    width: 35%;
}

#a-about .content3 .img7 {
    width: 80%;
    margin-left: 100px;
    margin-bottom: 20px;
}

#a-about .content3 .img8 {
    width: 80%;
    margin-right: 50px;
    margin-top: 20px;
}

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

    #a-about .content3 {
        flex-direction: column;
        width: 100%;
        margin-bottom: 0;
    }

    table {
        width: 80%;
        border-spacing: 0;
    }


    th {
        padding-right: 35px;
    }

    td {
        padding-left: 35px;
    }


    #a-about .kaisha {
        padding-bottom: 0;
    }

    #a-about .content3 .img_box {
        display: flex;
        flex-direction: row;
        justify-content: center;
        width: 100%;
        margin-top: 150px;
    }

    #a-about .content3 .img7 {
        width: 50%;
        margin: 0;
    }

    #a-about .content3 .img8 {
        width: 50%;
        margin: 0;
    }
}

#a-about #access {
    padding-top: 30px;
}

#a-about #access .access_text {
    line-height: 2rem;
    padding-bottom: 20px;
}

#a-about .content4 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 550px;
    margin-right: auto;
    margin-left: auto;
    max-width: 100%;
    position: relative;
    text-align: center;
}


#a-about .content4 .img5 {
    top: -30px;
    right: 50px;
    position: absolute;
    width: 25%;
    border-radius: 3%;
    z-index: 2;
}


#a-about .content4 .img6 {
    bottom: 0;
    left: 10%;
    position: absolute;
    width: 20%;
    border-radius: 3%;
    z-index: 2;
}

iframe {
    width: 100%;
    filter: grayscale(60%);
    -webkit-filter: grayscale(60%)
}

/* w-works */

#w-works {
    background-color: rgb(224, 204, 185);
}

#w-works .section-title {
    display: block;
    font-size: 2rem;
    letter-spacing: 0.5px;
    padding-top: 150px;
    margin-bottom: 50px;
}

#works .jirei,
#w-works .jirei {
    font-size: 0.9rem;
    padding-bottom: 30px;
    line-height: 1.8rem;
}

#w-works ul {
    display: flex;
    justify-content: space-between;
    width: 90%;
    margin: 60px auto 120px auto;
    max-width: 1300px;

}

#w-works li {
    display: flex;
    width: 29%;
    align-items: stretch
}


#w-works li .worksbox {
    background-color: rgb(255, 243, 243);

}

#w-works li h3 {
    padding: 10px;
    font-size: 0.9rem;
}

#w-works li p {
    padding: 0px 15px 10px 15px;
    font-size: 0.8rem;
    text-align: left;
}


/* c-contact */

#contact {
    background-color: rgb(224, 204, 185);
}

#contact .section-title {
    display: block;
    font-size: 2rem;
    letter-spacing: 0.5px;
    padding-top: 150px;
    margin-bottom: 80px;
    color: #782616;
}

#contact .content-title {
    display: inline-block;
    padding-top: 20px;
    padding-bottom: 6px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 60px;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 1px;
    border-bottom: solid 1px #782616;
}

#contact .tel {
    display: block;
    font-family: "Zilla Slab", serif;
    text-align: center;
    padding: 30px 60px 100px 60px;
    font-size: 3.5rem;
    letter-spacing: 3px;
    border-radius: 60px;
}


.container {
    font-size: 0.7rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

input {
    margin-bottom: 40px;
}

textarea {
    height: 130px;
    margin-bottom: 30px;
}

input:first-of-type {
    margin-top: 70px;
}

input,
textarea {
    font-size: 1em;
    padding: 10px;
    border: 1px solid rgba(255, 245, 245, 0.6);
    background: rgb(255, 243, 243);
    color: #782616;
    border-radius: 5px;
    width: 80%;
    max-width: 600px;
}

::-webkit-input-placeholder {
    color: rgba(120, 39, 23, 0.8);
}

:-moz-placeholder {
    color: rgba(120, 39, 23, 0.8);
}

::-moz-placeholder {
    color: rgba(120, 39, 23, 0.8);
}

:-ms-input-placeholder {
    color: rgba(120, 39, 23, 0.8);
}

label.error {
    font-size: 1em;
    display: block;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #d89c9c;
    width: 80%;
    margin: auto;
    color: rgba(120, 39, 23, 0.8);
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

#send-btn {
    display: flex;
    margin-bottom: 100px;
    justify-content: center;
    align-items: center;
    background: #782717;
    width: 100%;
    height: 50px;
    border-radius: 25px;
    color: rgb(255, 243, 243);
    font-size: 16px;
    text-decoration: none;
    position: relative;
    transition-duration: 0.8s;
}

#send-btn:hover {
    background: rgba(255, 245, 245, 0.6);
    color: #782616;
}


footer {
    background-color: rgba(224, 204, 185, 0.9);
    margin-top: 0;
    padding-bottom: 10px;
    justify-content: space-between;
    text-align: center;
}

#footercontain {
    display: flex;
    justify-content: center;
    text-align: center;
    max-width: 1300px;
    margin-right: auto;
    margin-left: auto;
}

#otoiawasebtn,
#accessbtn {
    width: 40%;
    height: 75px;
    margin: 5%;
    position: relative;
    transition-duration: 0.8s;
}

#otoiawasebtn-c,
#accessbtn-c {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    border: double 2px #782616;
    margin: 0px;
    border-radius: 40px;
    color: #782616;
    background-color: rgba(255, 245, 245, 0.8);
    font-size: 0.8rem;
    letter-spacing: 0.5rem;
    text-decoration: none;
    position: relative;
    transition-duration: 0.8s;
}

#otoiawasebtn-c:hover,
#accessbtn-c:hover {
    background: rgba(164, 207, 8, 0);
    color: rgb(255, 243, 243);
    border: double 2px rgb(255, 243, 243);
}


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

    header .wrapper,
    .wrapper p {
        margin-left: 1rem;
        margin-right: 1rem;
    }


    #slider {
        height: 100vh;
    }

    #name {
        display: flex;
        flex-direction: column;
    }

    #name .section-title {
        color: #ffffff;
        font-size: clamp(4rem, calc(100vw/3), 11rem);
        letter-spacing: -0.5rem;
        z-index: 3;
        line-height: 65%;
    }

    #about {
        background: rgba(240, 236, 234, 0.8);
    }

    #a-about .section-title {
        margin-bottom: 120px;
    }

    #about .content-title,
    #a-about .content-title {
        text-align: center;
        margin: 40px 0;
        font-size: 1.3rem;
    }

    #a-about .content1 {
        flex-direction: column;
        margin-top: 80px;
    }

    #a-about .content1 img {
        margin: 0;
        width: 80%;
        height: 80%;
        max-width: 300px;
        object-fit: cover;
    }

    #a-about .content1 h1 {
        text-align: center;
        margin-top: 100px;
        margin-bottom: 50px;
    }

    #a-about .content1 .text {
        padding: 0;
        font-size: 0.9rem;
        line-height: 1.7rem;
        margin-top: 80px;
    }

    #a-about .content1 .daihyou {
        padding-top: 30px;
        text-align: center;
    }

    #about .content2-1,
    #a-about .content2-1 {
        display: flex;
        flex-direction: column;
        max-width: 100%;
        padding-bottom: 10px;
        margin-bottom: 80px;
        margin-top: 50px;
    }

    #about .content2-2,
    #a-about .content2-2 {
        display: flex;
        flex-direction: column;
        max-width: 100%;
        padding-bottom: 10px;
        margin-bottom: 80px;
        margin-top: 50px;
    }

    #about .content2-1 .box_text,
    #about .content2-2 .box_text,
    #a-about .content2-1 .box_text,
    #a-about .content2-2 .box_text {
        position: static;
        margin: 0 auto 60px auto;
        max-width: 100%;
        padding: 10px;
        background-color: rgba(255, 255, 255, 0);
    }

    #about .content2-1 img,
    #about .content2-2 img,
    #a-about .content2-1 img,
    #a-about .content2-2 img {
        position: static;
        width: 80%;
        margin-right: auto;
        margin-left: auto;
    }

    #about .content2-1 h2,
    #about .content2-2 h2,
    #a-about .content2-1 h2,
    #a-about .content2-2 h2 {
        font-size: 0.9rem;
    }


    #about .content2-1 p,
    #about .content2-2 p,
    #a-about .content2-1 p,
    #a-about .content2-2 p {
        font-size: 0.8rem;
        text-align: left;
    }

    #a-about .content3 {
        flex-direction: column;
        max-width: 85%;
        justify-content: center;
        align-items: center;
        padding-bottom: 70px;
    }

    table,
    tbody {
        display: block;
        font-size: 0.8rem;
        margin-left: auto;
        margin-right: auto;
        width: 95%;
    }

    tr {
        display: block;
        margin-left: auto;
        margin-right: auto;
        padding: 10px;
        border-bottom: 1px solid #782616;
    }

    tr:last-child {
        border-bottom: none;
    }

    th {
        display: block;
        width: 100%;
        text-align-last: left;
        border-right: none;
        letter-spacing: 3px;
        padding-top: 5px;
        padding-bottom: 5px;
        padding-right: auto;
        padding-left: 5px;
    }

    td {
        display: block;
        width: 100%;
        padding-top: 5px;
        padding-bottom: 5px;
        padding-left: 5px;
    }

    #a-about .content3 .img_box {
        flex-direction: column;
        width: 100%;
        margin-top: 100px;
    }

    #a-about .content3 .img7 {
        display: none;
    }

    #a-about .content3 .img8 {
        width: 75%;
        margin: auto;
        height: 30vw;
        object-fit: cover;
    }

    #a-about #access {
        padding-top: 50px;
    }

    #a-about #access .access_text {
        font-size: 0.8rem;
    }

    #a-about .content4 .img5 {
        display: none;
    }


    #a-about .content4 .img6 {
        display: none;
    }

    #works .jirei,
    #w-works .jirei {
        font-size: 0.8rem;
        padding-bottom: 30px;
        line-height: 1.8rem;
    }

    #w-works ul {
        flex-direction: column;
        margin: 0 auto 0 auto;
    }


    #works li {
        margin: 0 0 40px;
    }

    #w-works li {
        width: 90%;
        margin: 35px auto 35px auto;
        max-width: 480px;
    }

    #w-works li h3 {
        padding: 5px;
        font-size: 0.8rem;
    }

    #w-works li p {
        padding: 0px 10px 5px 10px;
        font-size: 0.7rem;
        text-align: left;
    }

    body.is-nav-open .site-header-navbtn span {
        transform: scaleX(0);
    }

    body.is-nav-open .site-header-navbtn::before {
        transform: translateY(0) rotate(45deg);
    }

    body.is-nav-open .site-header-navbtn::after {
        transform: translateY(0) rotate(-45deg);
    }

    .site-header-nav {
        position: fixed;
        border-radius: 30px 0 0 30px;
        width: 170px;
        height: 230px;
        right: 0;
        top: clamp(120px, calc(100vw*0.2), 170px);
        background-color: #782616;
        transform: translateX(100%);
        transition: transform .6s;
    }

    body.is-nav-open .site-header-nav {
        transform: translateX(0);
    }

    .site-header-navbtn {
        display: block;
    }

    .site-header-nav ul {
        height: 100%;
        flex-direction: column;
        justify-content: center;
        background-color: #782616;
    }

    .site-header-nav li {
        margin-left: 0;
        text-align: center;
    }

    .site-header-nav ul li a {
        color: rgb(255, 243, 243);
        font-size: 1.1rem;
        line-height: 3;
    }

    #contact p {
        font-size: 0.8rem;
        margin-left: auto;
        margin-right: auto;
        max-width: 90%;
    }

    input,
    textarea {
        font-size: 0.8rem;

    }

    footer {
        height: 140px;
    }

    .cf {
        height: 30px;
    }

    #otoiawasebtn,
    #accessbtn {
        height: 50px;
        margin: 5%;
    }

    #otoiawasebtn-c,
    #accessbtn-c {
        letter-spacing: 0.2rem;
    }
}

/*ビューポート*/

.service-card {
    transition: .6s;
    opacity: 0;
    transform: translateY(50px);
}

.service-list.in-view .service-card {
    opacity: 1;
    transform: translateY(0);
}

.service-list li:nth-of-type(2) .service-card {
    transition-delay: .4s;
}

.service-list li:nth-of-type(3) .service-card {
    transition-delay: .8s;
}


.service-list2.in-view .service-card {
    opacity: 1;
    transform: translateY(0);
}

.service-list2 li:nth-of-type(2) .service-card {
    transition-delay: .4s;
}

.service-list2 li:nth-of-type(3) .service-card {
    transition-delay: .8s;
}


.service-list3.in-view .service-card {
    opacity: 1;
    transform: translateY(0);
}

.service-list3 li:nth-of-type(2) .service-card {
    transition-delay: .4s;
}

.service-list3 li:nth-of-type(3) .service-card {
    transition-delay: .8s;
}


.service-list4.in-view .service-card {
    opacity: 1;
    transform: translateY(0);
}

.service-list4 li:nth-of-type(2) .service-card {
    transition-delay: .4s;
}

.service-list4 li:nth-of-type(3) .service-card {
    transition-delay: .8s;
}

/*ビューポートおわり*/