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

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


    /* contents-pre */

    .contents-pre .sp-view {
        display: block;
    }

    .contents-pre .sp-view img {
        max-width: 400px;
    }


    .header h1 img {
        height: 90px;
    }

    /* contents-top */

    .contents-top p {
        line-height: 2;
    }

    .contents-top-wrap {
        padding-top: 50px;
    }

    .contents-top-wrap section:not(:last-child) {
        margin-bottom: 60px;
    }

    .contents-top-wrap section.contents-treatmentmenu2 {
        margin-bottom: 0px;
    }

    /* box-title-top01 */


    .contents06 .box-title-top01 {
        margin-bottom: 25px;
    }

    .box-title-top01::before,
    .box-title-top01::after {
        min-height: 100px;
    }

    .box-title-top01a::before,
    .box-title-top01a::after {
        min-height: 270px;
    }

    .box-title-top01::before {
        margin-right: 40px;
    }

    .box-title-top01::after {
        margin-left: 40px;
    }

    .box-title-top01 .inner {
        padding: 5px 0px;
    }

    .box-title-top01 h2 {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .box-title-top01 h3 {
        font-size: 28px;
        letter-spacing: 0.15em;
    }

    .box-title-top01 h4 {
        font-size: 17px;
        letter-spacing: 0.1em;
        padding-top: 25px;
    }


    /* box-title-top02 */

    .box-title-top02 {
        margin-bottom: 30px;
    }

    .contents04 .box-title-top02 {
        margin-bottom: 50px;
    }

    .box-title-top02 h2 {
        font-size: 12px;
        margin-bottom: 20px;
        padding-left: 22px;
    }

    .contents04 .box-title-top02 h2::after {
        margin-left: 20px;
    }

    .box-title-top02 h2::before {
        top: 5px;
        width: 7px;
        height: 7px;
    }

    .box-title-top02 h3 {
        font-size: 28px;
        letter-spacing: 0.15em;
    }


    /* main-img-top */

    .main-img-top {
        padding-top: 15px;
    }

    .main-img-top .box-img::after {
        width: 170px;
        height: 100px;
        border-radius: 0px 0px 15px 0px;
    }

    .main-img-top .box-img img {
        border-radius: 12px;
        height: auto;
        min-height: 300px;
    }

    .main-img-top .box-text {
        position: static;
        padding-top: 20px;
        padding-left: 5%;
        padding-bottom: 0px;
        margin-top: -33vw;
    }


    .main-img-top h2 {
        font-weight: var(--base-weight2);
        text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7);
        font-size: 5.6vw;
        line-height: 1.4;
        letter-spacing: 0.15em;
        margin-bottom: 35px;
    }

    .main-img-top h3 {
        color: var(--color-base);
        font-size: 4vw;
        letter-spacing: 0.15em;
        line-height: 1.8;
        text-shadow: 0px 0px 10px rgba(0, 0, 0, 0);
    }

    /* box-text-open */

    .box-text-open {
        position: static;
        width: 100%;
        text-align: center;
    }

    .box-text-open h4 {
        border-radius: 0px;
        padding: 0px 6%;
        padding-top: 20px;
    }

    .box-text-open h4 img {
        max-width: 400px;
    }


    /* contents02 */

    .contents-top-wrap section.contents02:not(:last-child) {
        margin-bottom: 40px;
    }

    /* contents04 */

    .contents04 {
        padding: 50px 0px;
    }

    /* contents05 */

    .contents05 {
        padding-bottom: 50px;
    }

    .contents05::before {
        height: 88%;
    }

    .contents05 .box-img {
        padding: 40px 0px 60px;
    }

    .contents05 .box-img img {
        border-radius: 20px;
        min-height: 200px;
    }

    .contents05 .box-img h4 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    /* layout01 */

    .layout01 {
        justify-content: center;
        flex-direction: column;
        gap: 50px;
    }

    .layout04 {
        flex-direction: column;
    }

    .layout01 .box-detail {
        width: 100%;
        padding: 0px 6%;
    }

    .layout01 .box-img {
        width: 100%;
        max-width: 400px;
        height: 400px;
        padding: 0px 6%;
    }

    .layout01 .box-img01 {
        width: 85%;
    }

    .layout01 .box-img01 img {
        height: 350px;
    }

    .layout01 .box-img02 {
        width: 60%;
    }

    .layout01 .box-img02 img {
        height: 150px;
    }

    .layout01 .box-text {
        padding: 30px 0px 40px;
    }

    .layout04 .box-text {
        padding-bottom: 0px;
    }

    .layout01 h4 {
        font-size: 32px;
        line-height: 2;
        letter-spacing: 0.15em;
    }

    .layout01 h5 {
        font-size: 28px;
        letter-spacing: 0.15em;
    }

    .layout01 h5::before {
        font-size: 18px;
        padding-right: 15px;
    }

    /* layout02 */

    .layout02 {
        padding: 25px 6%;
    }


    .layout02 h6 {
        font-size: 18px;
        letter-spacing: 0em;
    }


    /* layout03 */

    .layout03 {
        justify-content: center;
        flex-direction: column;
        padding-top: 40px;
        gap: 35px;
    }

    .layout03 .box {
        width: 85%;
        max-width: 360px;
        margin: 0px auto;
    }

    .layout03 .box-img img {
        border-radius: 15px;
    }

    .layout03 .box-img::after {
        width: 78px;
        height: 78px;
        border-radius: 15px 0px 12px 0px;
        font-size: 48px;
    }

    .layout03 h6 {
        font-size: 22px;
        letter-spacing: 0.15em;
        padding: 20px 0px 15px
    }

    .layout03 p {
        line-height: 1.8;
    }

    /* layout05 */

    .layout05 {
        justify-content: center;
        flex-direction: column;
        gap: 40px;
    }

    .layout05 .box {
        width: 100%;
        border-radius: 20px;
        padding: 30px 8% 25px;
        justify-content: center;
    }

    .layout05 .box::after {
        left: 25px;
        font-size: 18px;
        letter-spacing: 0.15em;
        margin-top: -20px;
    }

    .layout05 p {
        width: 100%;
    }

    /* layout06 */

    .layout06 .item {
        padding-top: 45px;
    }

    .layout06 .item:not(:last-child) {
        margin-bottom: 40px;
    }

    .layout06 .box-detail {
        padding: 60px 6% 35px;
    }

    .layout06 .item02 .box-text {
        padding-top: 40px;
    }

    .layout06 .item02 .box-text p {
        text-align: left;
    }

    .layout06 .box-text:not(:last-child) {
        margin-bottom: 35px;
    }

    .layout06 .box-tablebox .box {
        padding: 20px 5px;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
    }

    .layout06 .box-tablebox h6 {
        width: 100%;
        font-size: 17px;
        letter-spacing: 0.15em;
    }

    .layout06 .box-tablebox p {
        width: 100%;
    }

    .layout06 .box-title h3 {
        font-size: 12px;
    }

    .layout06 .box-title h4 {
        font-size: 20px;
        letter-spacing: 0.1em;
        min-width: 0px;
        width: 80%;
        padding: 12px 0px;
    }

    .layout06 h5 {
        font-size: 17px;
        letter-spacing: 0.1em;
        border-radius: 10px;
        margin-bottom: 15px;
    }


    .layout06 h5::before {
        font-size: 40px;
        margin-top: -55px;
    }

    .layout06 .item04 h6 a {
        font-size: 20px;
        padding: 18px 35px;
        letter-spacing: 0em;
    }


    .layout06 .item03 ul {
        display: block;
    }

    .layout06 .item03 ul li {
        font-size: 17px;
        padding-left: 20px;
    }

    .layout06 .item03 ul li:not(:last-child) {
        margin-bottom: 15px;
    }

    .layout06 .item03 ul li::before {
        top: 9px;
        width: 9px;
        height: 9px;
    }

    /* layout07 */

    .layout07 {
        border-radius: 20px;
        padding: 20px 8%;
        border-width: 2px;
    }


    .pc-view {
        display: none;
    }

    .sp-view {
        display: inline-block;
    }

}
