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


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

    /* layout-green */

    .layout-green {
        border-width: 6px;
        padding: 30px 8%;
        border-radius: 25px;
    }

    /* layout-contact */

    .layout-contact {
        padding: 25px;
        border-radius: 25px;
    }

    .layout-contact h2 {
        font-size: 35px;
    }

    .layout-contact h3 {
        font-size: 18px;
        letter-spacing: 0.1em;
        padding: 10px 0px 25px;
    }

    .layout-contact h4,
    .layout-contact h4 a {
        font-family: var(--number-font);
        font-size: 34px;
    }

    .layout-contact h4 {
        padding-left: 40px;
    }

    .layout-contact h4::before {
        top: 5px;
        height: 30px;
    }

    .layout-contact h4::after {
        font-size: 22px;
        display: block;
        text-align: left;
    }

    /* layout01 */


    .layout01 h4 {
        font-size: 22px;
        line-height: 1.6;
        margin-bottom: 25px;
    }

    .layout01 ul {
        display: block;
    }

    .layout01 ul li {
        font-size: 20px;
        padding-left: 20px;
        letter-spacing: 0em;
    }

    .layout01 ul li:not(:last-child) {
        margin-bottom: 20px;
    }

    .layout01 ul li::before {
        top: 10px;
        width: 10px;
        height: 10px;
    }

    /* layout02 */

    .layout02 .box {
        justify-content: center;
        flex-direction: column;
        padding: 0px 5px;
        text-align: center;
        gap: 20px;
    }

    .layout02 .box-detail {
        width: 100%;
    }

    .layout02 .box-img {
        width: 100%;
    }

    .layout02 .box-img img {
        width: auto;
        max-width: 220px;
        max-height: 210px;
    }

    .layout02 h5 {
        font-size: 23px;
        line-height: 1.4;
        margin-bottom: 20px;
        position: relative;
        padding-left: 20px;
        text-align: left;
    }

    .layout02 h5::before {
        top: 12px;
        width: 10px;
        height: 10px;
    }

    .layout02 ul {
        padding-left: 0px;
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }

    .layout02 ul li {
        font-size: 18px;
        padding: 12px 0px;
        min-width: auto;
        width: 100%;
    }


    /* layout03 */

    .layout03 .box-table {
        margin-bottom: 50px;
    }

    .box-table table td {
        font-size: 15px;
        border-width: 2px;
        padding: 0px 10px 15px;
        display: block;
    }

    .box-table table td:first-child {
        border-style: none;
        padding-top: 15px;
        padding-bottom: 0px;
    }

    .box-table table tr:first-child td {
        border-top-style: none;
    }

    .box-table table tr:first-child td:first-child {
        border-top-style: solid;
        border-color: #E5E5E5;
    }

    /*map-box*/

    .map-box {
        height: 250px;
    }

    .map-box iframe {
        height: 250px;
        width: 100%;
    }

    /* layout04 */

    .layout04,
    .layout05 {
        margin-bottom: 50px;
    }

    .layout04 .box-inner {
        justify-content: center;
        flex-direction: column;
        gap: 30px 70px;
    }

    .layout04 .box-img {
        width: 100%;
        text-align: center;
    }

    .layout04 .box-detail {
        width: 100%;
        padding-top: 0px;
    }

    .layout04 .box-table {
        padding: 20px 0px;
    }

    .layout04 h5 {
        font-size: 19px;
    }


    /* layout05 */

    .layout05 .inner {
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .layout05 table {
        width: 650px;
    }

    .layout05 td {
        font-size: 15px;
        padding: 15px;
    }

    .layout05 p.sp-view {
        padding-top: 0px;
        padding-bottom: 10px;
    }


    .pc-view {
        display: none;
    }

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

}
