.sub-main {
    padding-top: calc((160 / 1920)* 100vw);
}

.sub-fv {
    height: calc((290 / 1920)* 100vw);
}
.sub-fv h1 {
    width: max-content;
}


.two-btn > a {
    width: calc((960 / 1920)* 100vw);
    height: calc((80 / 1920)* 100vw);
    transition: all 0.3s;
    border: 1px solid rgba(0, 0, 0, 0);
}
.two-btn > a:nth-child(1) {
    background-color: #FFFE02;
}
.two-btn > a:nth-child(2) {
    background-color: #040064;
    color: white;
}
.two-btn > a:nth-child(1):hover {
    background-color: white;
    border: 1px solid black;
}
.two-btn > a:nth-child(2):hover {
    background-color: white;
    color: black;
    border: 1px solid black;
}


.box-dl .box__container {
    padding: 0 calc((130 / 1920)* 100vw);
}
.box__dl {
    display: flex;
    justify-content: space-between;
    padding: calc((8 / 1920)* 100vw) 0;
    border-bottom: calc((1 / 1920)* 100vw) solid black;
}

/* serviceページ */
.box-dl-border .box__container {
    border: calc((2 / 1920)* 100vw) solid #727171;
    border-bottom-left-radius: calc((10 / 1920)* 100vw);
    border-bottom-right-radius: calc((10 / 1920)* 100vw);
}

.box-dl-sub .box__container {
    padding: calc((10 / 1920)* 100vw) calc((100 / 1920)* 100vw) calc((30 / 1920)* 100vw);
}

.box-dl-sub .box__dl {
    border: unset;
    width: auto;
    padding: calc((8 / 1920)* 100vw) calc((10 / 1920)* 100vw);
}

.box-dl-sub .box__dl:nth-child(2n) {
    background-color: #D9D8EC;
}

.dl-border {
    border-bottom: 1px solid black !important;
}


/* contactページ */
.contact__dl-wrapper {
    width: calc(100% - calc((200 / 1920) * 100vw));
    margin: 0 auto;
}

.contact__dl {
    margin-bottom: calc((15 / 1920) * 100vw);
    justify-content: space-between;
}

.contact__dt {
    margin-bottom: calc((15 / 1920) * 100vw);
    display: flex;
}

.contact__dd {
    width: calc((615 / 1920)* 100vw);
}


/* ddフォームパターン */
.contact__dd.dd-input > p > span > input {
    width: calc(100% - calc((60 / 1920) * 100vw));
    padding: calc((20 / 1920) * 100vw) calc((30 / 1920) * 100vw);
    border: 1px solid #727171;
}

/* ddテキストエリアパターン */
.contact__dd.dd-txtara > p > span > textarea {
    width: calc(100% - calc((60 / 1920) * 100vw));
    padding: calc((20 / 1920) * 100vw) calc((30 / 1920) * 100vw);
    height: calc((200 / 1920) * 100vw);
    border: 1px solid #727171;
}

.confirm .contact__dd.dd-file p {
    display: none;
}

/* 送信ボタン */
.contact__btn > p > input {
    border: 0;
    -webkit-appearance: none;
    border-radius: 0;
    width: calc((960 / 1920)* 100vw);
    height: calc((80 / 1920)* 100vw);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: calc((24 / 1920) * 100vw);
    position: relative;
    cursor: pointer;
    background-color: #FFFE02;
    margin: calc((100 / 1920) * 100vw) 0 0;
    font-family: "meiryo", sans-serif;
    font-weight: 700;
}

.contact__btn {
    width: fit-content;
    margin: 0 auto;
    position: relative;
}

.contact__thanks {
	text-align: center;
    line-height: 1.5;
    margin-bottom: calc((100 / 1920) * 100vw);
    font-size: calc((40 / 1920) * 100vw);
}

.wpcf7-spinner {
    display: none !important;
}

/* blogページ */
.blog__contents {
    border: 1px solid black;
    height: fit-content;
}

.blog__img {
    height: calc((320 / 1920)* 100vw);
}

.blog__img > p {
    left: 0;
    bottom: 0;
    padding: calc((12 / 1920)* 100vw) calc((30 / 1920)* 100vw);
}

.blog__img > img {
    border-top-left-radius: calc((10 / 1920)* 100vw);
    border-top-right-radius: calc((10 / 1920)* 100vw);
}

.blog__txt-wrp {
    padding: calc((20 / 1920)* 100vw) calc((30 / 1920)* 100vw);
}

.blog__time {
    border-bottom: 1px solid black;
    padding-bottom: calc((3 / 1920)* 100vw);
    width: fit-content;
}

.blog__txt-inner {
    overflow: hidden;
}

.blog__txt {
    line-height: 1.2;
    text-align: justify;
}

.blog__gray {
    width: calc((95 / 1920)* 100vw);
    height: calc((85 / 1920)* 100vw);
    border-bottom-right-radius: calc((10 / 1920)* 100vw);
    bottom: 0;
    right: 0;
}

.shape-dummy {
    width: calc((85 / 1920) * 100vw);
    height: calc((102 / 1920) * 100vw);
    float: right;
    shape-outside: inset(0);
    clip-path: inset(0);
    background: transparent;
}

@media (max-width: 768px) {
    .sub-main {
        padding-top: 67px;
    }

    .sub-fv {
        height: calc((110 / 375)* 100vw);
    }


    .two-btn > a {
        width: 300px;
        height: 50px;
    }


    .box-dl .box__container {
        padding: 0 10px;
    }
    .box__dl {
        flex-direction: column;
        padding: 5px 0;
        border-bottom: 1px solid black;
    }

    /* serviceページ */
    
    .service__top > p {
        margin-bottom: 50px;
    }

    .box-dl-border .box__container {
        border: 2px solid #727171;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
    }

    .box-dl-sub .box__container {
        padding: 15px;
    }

    .box-dl-sub .box__dl {
        padding: 5px 10px;
    }

    .box-dl-sub .ko-re.txt-center {
        text-align: left;
    }



    /* contactセクション */
    .contact__dl-wrapper {
        width: auto;
    }

    .contact__dl {
        margin-bottom: 30px;
        flex-direction: column;
    }

    .contact__dt {
        margin-bottom: 10px;
    }

    .contact__dd {
        width: auto;
    }


    /* ddフォームパターン */
    .contact__dd.dd-input > p > span > input {
        width: calc(100% - 20px);
        padding: 10px;
    }

    /* ddテキストエリアパターン */
    .contact__dd.dd-txtara > p > span > textarea {
        width: calc(100% - 20px);
        padding: 10px;
        height: calc((150 / 375) * 100vw);
    }

    /* 送信ボタン */
    .contact__btn > p > input {
        width: 300px;
        height: 50px;
        font-size: 16px;
        margin: 80px 0 0;
    }

    .contact__thanks {
        margin-bottom: 50px;
        font-size: 16px;
    }


    /* blogページ */

    .blog__img {
        height: calc((200 / 375)* 100vw);
    }

    .blog__img > p {
        padding: 10px 20px;
    }

    .blog__img > img {
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }

    .blog__txt-wrp {
        padding: 10px 20px;
    }

    .blog__time {
        padding-bottom: 3px;
    }

    .blog__gray {
        width: 60px;
        height: 55px;
        border-bottom-right-radius: 10px;
    }

    .shape-dummy {
        width: 62px;
        height: 53px;
    }
}