/* 横仕様 */
.side_by_side .sizefeatures_inner {
    display: flex;
    gap: 5%;
    align-items: center;
}

.side_by_side .sizefeatures_inner_side_by_side_wrap,
.side_by_side .sizefeatures_img_box_side_by_side {
    width: 50%;
}

@media (max-width: 767px) {
    .side_by_side .sizefeatures_inner_side_by_side_wrap,
    .side_by_side .sizefeatures_img_box_side_by_side {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .side_by_side .sizefeatures_img_box_side_by_side {
        width: 62%;
    }

    .side_by_side
        .sizefeatures_inner_side_by_side_wrap
        .sizefeatures_text_box:first-child {
        margin-top: 0;
    }
}

/* 横仕様 */

/* 横仕様複数 */
@media (min-width: 768px) {
    .side_by_sides.pattern .sizefeatures_img_box img {
        max-height: 100px;
    }

    .side_by_sides .side_by_sides_wrap {
        display: flex;
        gap: 5%;
        margin-bottom: 2%;
    }

    .side_by_sides .side_by_sides_wrap .sizefeatures_img_box {
        width: 15%;
        margin-top: 0;
    }

    .side_by_sides.pattern .sizefeatures_text_box {
        margin-top: 10px;
    }

    .side_by_sides .side_by_sides_wrap > *:nth-child(n + 2) {
        margin-bottom: 2%;
    }

    p.cm.is-sp {
        text-align: right;
    }
}

/* 横仕様複数 */

.sizefeatures_img_box {
    margin-top: 5%;
}

.sizefeatures_inner {
    padding: 2%;
    background-color: #ffffff;
    border-radius: 10px;
}

.pattern {
    font-size: clamp(10px, 1vw, 13px);
    border-radius: 15px;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
    margin-top: 5%;
}

.ac-header {
    cursor: pointer;
    padding: 10px;
    background-color: #f1f1f1;
    transition: background-color 0.3s ease;
    position: relative;
}

.ac-header::after,
.ac-header::before {
    position: absolute;
    top: 50%;
    right: 4%;
    width: 1.5px;
    height: 1.75rem;
    content: "";
    background: #000;
    border-radius: 3px;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.ac-header.active::after {
    content: none;
}

.ac-content.open {
    padding: 2% 2%;
    padding-top: 0;
}

.ac-content {
    padding: 0 2%;
}

.ac-header::before {
    transform: translateY(-50%) rotate(90deg);
}

.ac-content {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.8s ease-out,
        padding 0.8s ease-out;
    background-color: #f1f1f1;
}

.defaults .sizefeatures_caution {
    margin-top: 5%;
}

.pattern .sizefeatures_head {
    box-sizing: border-box;
    font-weight: 500;
    line-height: 1.4583333333;
    color: #000;
    text-align: center;
    font-size: 1.9em;
    background-color: #f1f1f1;
    padding: 20px 15px;
}

.pattern .sizefeatures_img_box img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
}

.pattern .sizefeatures_text_box {
    margin-top: 30px;
    color: #000;
    font-size: 1em;
}

.pattern .sizefeatures_text_box p.item_name::before {
    content: "●";
    color: #8c8c8c;
    margin-right: 6px;
}

.pattern .sizefeatures_text_box p.item_name b {
    font-size: 1.3em;
}

.pattern .sizefeatures_text_box span.item_size {
    font-weight: 500;
    font-size: 1.2rem;
}

.sizefeatures_caution {
    font-size: 0.85em;
    margin-top: 2%;
}

.pattern .sizefeatures_text_box .sizefeatures_caution {
    overflow: hidden;
    color: #000;
    font-weight: 500;
    text-align: left;
    font-size: 0.9rem;
    margin-top: 50px;
}

@media (max-width: 767px) {
    p.cm.is-sp {
        text-align: right;
    }

    .pattern {
        font-size: 2.5vw;
    }

    .pattern .sizefeatures_layout {
        display: flex;
        flex-direction: column;
        margin-top: 100px;
    }

    .pattern .sizefeatures_layout .sizefeatures_head {
        font-weight: 700;
        line-height: 1.4583333333;
        color: #000;
        background-color: #f1f1f1;
        text-align: center;
        margin-bottom: 20px;
        padding: 20px 0;
    }

    .pattern .sizefeatures_text_box {
        width: 100%;
        position: static;
    }

    .pattern .sizefeatures_text_box p.item_name::before {
        display: none;
    }

    .pattern .sizefeatures_img_box {
        width: 100%;
    }

    .pattern .sizefeatures_img_box img {
        width: 80%;
        margin: 0 auto;
        height: auto;
        display: block;
    }

    .pattern .sizefeatures_text_box {
        width: 100%;
    }

    .pattern .sizefeatures_text_box p.item_name::before {
        display: none;
    }

    .pattern .sizefeatures_text_box p.item_name {
        background-color: #f1f1f1;
        margin-bottom: 5px;
        padding: 5px 10px;
    }

    .pattern .sizefeatures_text_box span.item_size {
        font-weight: 500;
    }

    .pattern .sizefeatures_text_box .sizefeatures_caution {
        overflow: hidden;
        color: #000;
        font-weight: 500;
        text-align: left;
        margin-top: 50px;
    }

    .ac-header::after,
    .ac-header::before {
        height: 1rem;
        right: 5%;
    }

    .side_by_side .sizefeatures_inner {
        flex-direction: column;
    }

    .pattern .sizefeatures_head {
        padding: 10px 25px;
        font-size: 1.65em;
    }

    .ac-content {
        background-color: #ffffff;
        padding: 0px 0;
    }

    .ac-content.open {
        padding: 0;
    }

    .sizefeatures_inner {
        padding: 7% 0%;
    }

    .sizefeatures_img_box_side_by_side {
        width: 100%;
    }

    .sizefeatures_head.ac-header:not(.active) {
        border-radius: 10px;
    }

    .pattern .sizefeatures_text_box {
        margin-bottom: 15px;
        margin-top: 10px;
    }

    .pattern {
        border-radius: 15px;
    }
}
