﻿@media screen and (max-width: 767px) {
    .pc-only#html2 {
        display: block !important;
    }
}
#html2 .kokoro-product-block {
    display: none !important;
}
#store-device-html2 .front-product-block {
    display: none !important;
}
#store-device-html2 .kokoro-product-block {
    display: block !important;
}

.maindesign *,
.maindesign *:before,
.maindesign *:after {
    box-sizing: border-box;
    min-height: 0%;
}
.maindesign img {
    width: 100%;
    height: auto;
    display: block;
}
.maindesign .insert-container {
    margin: 50px 0;
}

@media screen and (max-width: 767px) {
    .maindesign .insert-container {
        margin: 30px 0;
    }
}

.maindesign .mt-leave {
    margin-top: 50px;
}
.maindesign .mt-moderate {
    margin-top: 30px;
}
.maindesign .mt-close {
    margin-top: 15px;
}
.maindesign .mt-thin {
    margin-top: 10px;
}
@media screen and (max-width: 767px) {
    .maindesign .mt-leave {
        margin-top: 30px;
    }
    .maindesign .mt-close {
        margin-top: 10px;
    }
}

.maindesign .merit-box {
    border: 5px solid #7f6000;
    color: #5f2c09;
    background-color: #fff2cc;
    padding: 30px;
    font-weight: bold;
}
.maindesign .merit-ttl {
    font-size: 2.25rem;
    text-align: center;
}
.maindesign .merit-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.maindesign .merit-list .merit-list--item:nth-child(n + 3) {
    margin-top: 20px;
}
.maindesign .merit-list--item {
    width: 47%;
    font-size: 2rem;
    line-height: 1.3;
    padding-left: 1em;
    text-indent: -1em;
}

@media screen and (max-width: 767px) {
    .maindesign .merit-box {
        padding: 15px 10px;
    }
    .maindesign .merit-ttl {
        font-size: 1.5rem;
    }
    .maindesign .merit-list--item {
        width: 100%;
        font-size: 5vw;
    }
    .maindesign .merit-list .merit-list--item:nth-child(n + 2) {
        margin-top: 15px;
    }
}

.maindesign .detail-ttl {
    padding: 15px 0;
    font-weight: bold;
    font-size: 2.25rem;
    color: #fff;
    text-align: center;
    background-color: #843c0c;
}
@media screen and (max-width: 767px) {
    .maindesign .detail-ttl {
        font-size: 4.8vw;
    }
}

.maindesign .detail-col {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.maindesign .detail-col--img {
    width: 48%;
    order: 1;
}
.maindesign .detail-col--feature {
    width: 48%;
    order: 2;
}
.maindesign .detail-col--gallery {
    width: 100%;
    order: 3;
    margin-top: 15px;
}

@media screen and (max-width: 767px) {
    .maindesign .detail-col--img {
        width: 100%;
        order: 1;
    }
    .maindesign .detail-col--feature {
        width: 100%;
        order: 3;
        margin-top: 15px;
    }
    .maindesign .detail-col--gallery {
        width: 100%;
        order: 2;
    }
}

.maindesign .detail-img {
    position: relative;
}
.maindesign .detail-img--icon {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 20%;
}
.maindesign .arrow-heading {
    display: flex;
    justify-content: space-between;
    position: relative;
    height: 30px;
}
.maindesign .arrow-heading::after {
    content: "";
    width: calc(100% - 130px);
    height: 5px;
    background-color: #aa6633;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.maindesign .arrow-heading--boat {
    position: relative;
    width: 100px;
    height: 30px;
    display: flex;
    color: #fff;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.1rem;
}
.maindesign .arrow-heading--boat::before,
.maindesign .arrow-heading--boat::after {
    content: "";
    position: absolute;
    margin: 0;
}
.maindesign .arrow-heading--boat::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: #954000;
    z-index: -1;
}
.maindesign .arrow-heading--boat::after {
    top: 50%;
    right: 0;
    transform: translate(100%,-50%);
    box-sizing: border-box;
    width: 13px;
    height: 15px;
    border: 15px solid transparent;
    border-left: 13px solid #954000;
}

.maindesign .fearures-list .fearures-list--item:not(:first-child) {
    margin-top: 10px;
}
.maindesign .fearures-list--item {
    border: 5px solid #7f6000;
    background-color: #fff2cc;
    padding: 15px 5px;
    color: #5f2c09;
    min-height: 90px;
}
.maindesign .fearures-list--ttl {
    font-weight: bold;
    font-size: 1.25rem;
}
.maindesign .fearures-list--lead {
    margin-top: 10px;
    font-size: 1.0rem;
    line-height: 1.3;
}

@media screen and (max-width:767px) {
    .maindesign .fearures-list--ttl {
        font-size: 1.1rem;
    }
    .maindesign .fearures-list--lead {
        font-size: 0.95rem;
    }
}


.maindesign .modal-col {
    display: flex;
    justify-content: space-between;
}
.maindesign .modal-col--item {
    width: 24%;
}

@media screen and (max-width: 767px) {
    .maindesign .modal-col {
        flex-wrap: wrap;
    }
    .maindesign .modal-col--item {
        width: 48%;
    }
    .maindesign .modal-col .modal-col--item:nth-child(n + 3) {
        margin-top: 15px;
    }
}

.maindesign .modal-card {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid #ccc;
}
.maindesign .modal-card:hover {
    cursor: pointer;
}
.maindesign .modal-card--icon {
    position: absolute;
    width: 50px;
    height: 50px;
    bottom: 2px;
    right: 2px;
    border: 10px solid #fff;
    border-top: 25px solid rgba(0, 0, 0, 0);
    border-left: 25px solid rgba(0, 0, 0, 0);
    border-right: 25px solid #ffffff;
    border-bottom: 25px solid #ffffff;
}
.maindesign .modal-card--icon > img {
    max-width: 25px;
    width: 25px !important;
    height: 25px !important;
    margin: auto;
}

.modal_box {
    display: none;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
}

.modal_bg {
    background-color: rgba(30, 30, 30, 0.9);
    height: 100%;
    width: 100%;
}
.modal_block {
    width: 50%;
}
.modal_block img {
    width: 100%;
    height: auto;
    display: block;
}
.modal_inner {
    background-color: #fff;
    left: 50%;
    padding: 30px 20px 20px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 900px;
    max-height: 500px;
    width: 90%;
    border-radius: 20px;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
}
.maindesign .modal_inner img {
    max-width: 780px;
    height: 100%;
    max-height: 460px;
    margin: auto;
    display: block;
}
.maindesign .modal_area_02 .modal_inner {
    background-color: #fff;
    left: 50%;
    padding: 30px 20px 20px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 900px;
    width: 90%;
    border-radius: 20px;
    box-sizing: border-box;
}
.maindesign .modal_area_02 .modal_inner img {
    max-width: 1200px;
    margin: auto;
    display: block;
}
.modal_close {
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 0;
    font-size: 2rem;
}

@media screen and (max-width:767px) {
    .modal_block {
        width: 85%;
    }
}

.maindesign .structure-lead {
    font-size: 1.5rem;
    font-weight: bold;
    color: #5f2c09;
    line-height: 1.35;
}
.maindesign .structure-list .structure-list--item:not(:first-child) {
    margin-top: 15px;
}

@media screen and (max-width:767px) {
    .maindesign .structure-lead {
        font-size: 1.25rem;
    }
}