.l-content.isProduct {
    position: static;
    margin-top: 30px;
}

.l-product-information {
    width: 30%;
    position: relative;
    padding-right: var(--contentSidePadding);
}

.l-product-image {
    width: 50%;
    position: absolute;
    left: 50%;
    top: auto;
}

.c-product-image {
    width: 100%;
    position: relative;
    background: var(--itemImageBackground);
}

.c-product-image::before {
    content: "";
    padding-top: var(--itemImageHeightRatio);
    display: block;
}

.c-product-imageSlider {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.c-product-imageSliderItem {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    background: var(--itemImageBackground);
}

.c-product-imageSliderItem::before {
    content: "";
    padding-top: var(--itemImageHeightRatio);
    display: block;
}

.c-product-imageSlider:not(.slick-initialized) .c-product-imageSliderItem:not(:first-child) {
    display: none;
}

.c-product-imageSliderItem>*,
.c-product-imageThumbnail>* {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    object-fit: var(--itemImageDisplayMethod);
    display: block;
}

.c-product-image .c-sliderPrev::before,
.c-product-image .c-sliderNext::before {
    background: var(--defaultBackgroundColor);
    opacity: 0.8;
}

.c-product-image .c-sliderPrev {
    position: absolute;
    width: 50px;
    height: 50px;
    left: 0;
    top: calc(50% - 25px);
}

.c-product-image .c-sliderNext {
    position: absolute;
    width: 50px;
    height: 50px;
    right: 0;
    top: calc(50% - 25px);
}

.c-product-imageThumbnails {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    margin-top: 10px;
}

.c-product-imageThumbnails.isDisabled {
    display: none !important;
}

.c-product-imageThumbnails>span {
    height: 0;
    margin-top: 0;
}

.c-product-imageThumbnails>span,
.c-product-imageThumbnail {
    width: calc(20% - 10px);
    margin-right: 10px;
    display: block;
}

.c-product-imageThumbnail {
    margin-top: 10px;
    position: relative;
    background: var(--itemImageBackground);
    cursor: pointer;
    transition: opacity 0.2s ease-out;
}

.c-product-imageThumbnail::before {
    content: "";
    padding-top: var(--itemImageHeightRatio);
    display: block;
}

.c-product-imageThumbnail:hover {
    opacity: 0.8;
}

.c-product-imageThumbnails.isSlider {
    display: block;
}

.c-product-imageThumbnails.isSlider .c-product-imageThumbnail {
    margin: 0 10px 0 0;
}

.c-product-imageSliderCount {
    display: none;
    height: 30px;
    line-height: 30px;
    border-radius: 15px;
    padding: 0 1em;
    background: var(--defaultBackgroundColor);
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translatex(-50%);
    pointer-events: none;
}

.c-product-image .c-favorite {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 70px;
    height: 70px;
}

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

    .c-product-image .c-sliderPrev,
    .c-product-image .c-sliderNext {
        width: 35px;
        height: 35px;
        left: 0;
        top: calc(50% - 17.5px);
    }

    .c-product-image .c-sliderNext {
        left: auto;
        right: 0;
    }

    .c-product-imageSliderCount {
        display: none;
        height: 20px;
        line-height: 20px;
        border-radius: 10px;
        font-size: 14px;
    }

    .c-product-image .c-favorite {
        width: 40px;
        height: 40px;
    }
}

@media screen and (max-width:1024px) {
    .l-content.isProduct {
        position: static;
        margin-top: 30px;
    }

    .l-product-information {
        width: 100%;
        padding-right: 0;
        margin-top: 35px;
        min-height: 0 !important;
    }

    .l-product-image {
        width: 100vw;
        position: relative;
        left: calc(0px - var(--contentSidePadding));
        top: auto;
    }

    .c-product-image {
        width: 100%;
        position: relative;
        background: var(--itemImageBackground);
    }

    .c-product-imageThumbnails {
        width: 100%;
        justify-content: space-between;
        margin-top: 0;
        padding: 5px;
    }

    .c-product-imageThumbnails>span {
        height: 0;
        margin: 0 5px 0 5px;
    }

    .c-product-imageThumbnails>span,
    .c-product-imageThumbnail {
        width: calc(20% - 10px);
        display: block;
    }

    .c-product-imageThumbnail {
        margin: 5px;
    }

    .c-product-imageThumbnails.isSlider {
        display: block;
        padding: 0;
        margin-top: 10px;
    }

    .c-product-imageThumbnails.isSlider .c-product-imageThumbnail {
        margin: 0 5px;
        transform: translatex(5px);
    }

    .c-product-imageSliderCount {
        display: none;
        height: 25px;
        line-height: 25px;
        border-radius: 12.5px;
        font-size: 14px;
    }

    .c-product-image .c-favorite {
        width: 45px;
        height: 45px;
    }
}

.c-product-simpleExplanation,
.c-product-price,
.c-product-optionsModalOpen,
.c-product-option,
.c-product-quantity,
.c-product-link,
.c-product-snsList {
    margin-top: 30px;
}

.c-product-code {
    margin-top: 15px;
}

.c-product-listPrice {
    margin-top: 8px;
}

.c-product-simpleExplanation {
    line-height: 175%;
}

.c-product-price {
    font-size: 20px;
    line-height: 150%;
    font-weight: bold;
    font-family: var(--boldfont);
}

.c-product-listPrice {
    text-decoration: line-through;
}

.c-product-priceDiscount {
    display: inline-block;
    margin-left: 0.5em;
}

.c-product-priceSub {
    font-size: 16px;
    font-family: var(--normalfont);
    font-weight: normal;
}

@media screen and (max-width:1200px) {
    .c-product-price {
        font-size: 18px;
    }

    .c-product-priceSub {
        font-size: 14px;
    }
}

.c-product-option input,
.c-product-option textarea,
.c-product-option select {
    width: 100%;
    height: auto;
    min-height: 50px;
    padding-left: 0.7em;
    padding-right: 0.7em;
    outline: none;
    line-height: 2.5;
}

.c-product-option textarea {
    padding-top: 0.8em;
    padding-bottom: 0.8em;
    line-height: 150%;
    height: calc(3em * 1.5 + 0.8em * 2);
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.c-product-option textarea::-webkit-scrollbar {
    display: none;
}

.c-product-optionsInput,
.c-product-optionsSelect,
.c-product-option textarea {
    margin-top: 8px;
    position: relative;
    z-index: 2;
}

.c-product-optionsInput::before,
.c-product-optionsSelect::before {
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
    border: 1px solid var(--defaultColor);
    border-radius: 5px;
    z-index: -1;
    opacity: 0.15;
}

.c-product-option textarea {
    border: 1px solid #ccc;
    border-radius: 5px;
}

.c-product-optionsSelect:after {
    content: "";
    width: 8px;
    height: 8px;
    position: absolute;
    right: 15px;
    top: calc(50% - 4px);
    border-right: 2px solid var(--defaultColor);
    border-bottom: 2px solid var(--defaultColor);
    transform: rotate(45deg);
    opacity: 0.7;
}

.c-product-quantity input {
    border: 0;
    font-family: var(--boldfont);
    font-weight: bold;
}

.c-product-quantity>div {
    display: flex;
    justify-content: left;
    align-items: center;
    margin-top: 8px;
}

.c-product-quantity>div,
.c-product-quantityMinus,
.c-product-quantityPlus,
.c-product-quantity input {
    height: 50px;
    line-height: 50px;
    white-space: nowrap;
}

.c-product-quantityMinus,
.c-product-quantityPlus {
    width: 35px;
    position: relative;
    cursor: pointer;
    transition: opacity 0.2s ease-out;
}

.c-product-quantityMinus:hover,
.c-product-quantityPlus:hover {
    opacity: 0.8;
}

.c-product-quantityMinus svg,
.c-product-quantityPlus svg {
    width: 15px;
    height: 15px;
    position: absolute;
    left: calc(50% - 7.5px);
    top: calc(50% - 7.5px);
    fill: var(--defaultColor);
}

.c-product-quantityMinus::before,
.c-product-quantityPlus::before {
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
    border: 1px solid var(--defaultColor);
    z-index: -1;
    opacity: 0.15;
}

.c-product-optionsTable table .cell_2>div {
    transform: translate(0, -50%);
    position: absolute;
    top: 36%;
    left: 10px;
}

.c-product-quantity input {
    width: 50px;
    text-align: center;
    outline: none;
}

.c-product-stock {
    margin-left: 30px;
    line-height: 150%;
}

.c-product-optionsModalOpen,
.c-product-reviewAdd {
    width: 100%;
    max-width: 400px;
    height: 50px;
    border-radius: 25px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    position: relative;
    z-index: 2;
    color: var(--defaultBackgroundColor);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.2s ease-out;
}

.c-product-optionsModalOpen::before,
.c-product-reviewAdd::before {
    content: "";
    background: var(--defaultColor);
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    opacity: 0.5;
}

.c-product-optionsModalOpen:hover,
.c-product-reviewAdd:hover {
    opacity: 0.8;
    color: var(--defaultBackgroundColor);
}

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

    .c-product-optionsModalOpen,
    .c-product-reviewAdd {
        font-size: 14px;
    }
}

.c-product-optionsTable {
    padding-bottom: 20px;
    position: relative;
    width: auto;
    min-width: 100%;
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow-y: scroll;
    cursor: pointer;
}

.c-product-optionsTable::-webkit-scrollbar {
    display: none;
}

.c-product-optionsTable::before {
    content: none !important;
}

.c-product-optionsTable table {
    width: auto;
    min-width: 100%;
    margin: 0;
    border-width: 0;
    border-collapse: collapse;
}

.c-product-optionsTable th,
.c-product-optionsTable td {
    white-space: nowrap;
    text-align: center;
    border: none;
    position: relative;
    z-index: 2;
}

.c-product-optionsTable th {
    font-family: var(--title);
    font-weight: bold;
    padding: 1em;
}

.c-product-optionsTable .stock_head>*::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--defaultColor);
    opacity: 0.2;
}

.c-product-optionsTable td br {
    display: none;
}

.c-product-optionsTable input[type="radio"] {
    appearance: auto;
    width: 20px;
    height: 20px;
    min-height: 20px;
    margin: 10px 0 0;
    padding: 0;
    accent-color: var(--defaultImportantColor);
}

.c-product-optionsTable tr>*:not(.none):nth-child(odd)::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--defaultColor);
    opacity: 0.05;
    z-index: -1;
}

.c-product-optionsTable label {
    display: block;
    padding: 15px 15px 15px 40px;
    position: relative;
}

.c-product-optionsTableScrollBar {
    display: block;
    position: absolute;
    bottom: 9px;
    left: 0;
    width: 100%;
    height: 2px;
    padding: 0;
    z-index: 3;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease-out;
}

.c-product-optionsTableScrollBar.active {
    pointer-events: all;
    opacity: 1;
}

.c-product-optionsTableScrollBar:before {
    content: "";
    width: 100%;
    height: 100%;
    background: var(--defaultColor);
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0.05;
}

.c-product-optionsTableScrollBar>span {
    display: block;
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
    background: var(--defaultColor);
    opacity: 0.15;
    z-index: 3;
}

.l-optionsModal {
    width: calc(100% - var(--contentSidePadding) * 2);
    max-width: 800px;
    padding: 60px 60px 45px 60px;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-out;
}

.l-optionsModal.active {
    opacity: 1;
    pointer-events: all;
}

.l-optionsModal::before {
    content: "";
    width: 120vw;
    height: 200vh;
    position: absolute;
    left: calc(50% - 50vw);
    top: calc(50% - 100vh);
    background: rgba(0, 0, 0, 0.5);
    z-index: -2;
    transition: backdrop-filter 0.2s ease-out 0.2s;
}

.l-optionsModal.active::before {
    backdrop-filter: blur(4px);
}

.l-optionsModal::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    background: var(--defaultBackgroundColor);
}

.c-optionsModalHeader {
    height: 50px;
    line-height: 50px;
    white-space: nowrap;
    padding: 0 10px;
}

.c-optionsModalData {
    height: auto;
    max-height: calc(80vh - 60px - 45px - 50px);
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow-y: scroll;
    cursor: pointer;
}

.c-optionsModalData::-webkit-scrollbar {
    display: none;
}

.c-optionsModalHeader,
.c-optionsModalData>div {
    display: flex;
    align-items: stretch;
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.c-optionsModalHeader>div,
.c-optionsModalData>div>div {
    flex-basis: 50%;
}

.c-optionsModalHeader>div:last-child,
.c-optionsModalData>div>div:last-child {
    flex-grow: 1;
}

.c-optionsModalHeader::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: var(--defaultColor);
    opacity: 0.05;
}

.c-optionsModalHeader {
    font-size: 18px;
    font-family: var(--boldfont);
    font-weight: bold;
}

.c-optionsModalData>div>div {
    padding: 20px 10px;
}

.c-optionsModalData>div>div>span {
    display: block;
    margin-top: 0.3em;
}

.c-optionsModalData>div:not(:first-child)::after {
    content: "";
    width: 100%;
    height: 1px;
    position: absolute;
    top: 0;
    left: 0;
    background: var(--defaultColor);
    opacity: 0.15;
}

.c-optionsModalDataScrollBar {
    display: block;
    position: absolute;
    top: calc(60px + 50px);
    bottom: 45px;
    width: 2px;
    padding: 0;
    right: 29px;
    z-index: 3;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease-out;
}

.c-optionsModalDataScrollBar.active {
    pointer-events: all;
    opacity: 1;
}

.c-optionsModalDataScrollBar:before {
    content: "";
    width: 100%;
    height: 100%;
    background: var(--defaultColor);
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0.05;
}

.c-optionsModalDataScrollBar>span {
    display: block;
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    background: var(--defaultColor);
    opacity: 0.15;
    z-index: 2;
}

.c-optionsModalClose {
    width: 50px;
    height: 50px;
    position: absolute;
    right: 5px;
    top: 5px;
    cursor: pointer;
}

.c-optionsModalClose>svg {
    width: 50%;
    height: 50%;
    position: absolute;
    right: 25%;
    top: 25%;
}

@media screen and (max-width:1024px) {
    .l-optionsModal {
        padding: 40px var(--contentSidePadding) 30px var(--contentSidePadding);
    }

    .c-optionsModalHeader {
        display: block;
        height: auto;
        font-size: 16px;
        line-height: 150%;
        white-space: normal;
        padding: 15px 10px;
    }

    .c-optionsModalData {
        height: auto;
        max-height: calc(80vh - 60px - 45px - 50px);
        -ms-overflow-style: none;
        scrollbar-width: none;
        overflow-y: scroll;
        cursor: pointer;
    }

    .c-optionsModalHeader>div {
        display: inline;
    }

    .c-optionsModalHeader>div:last-child::before {
        content: "/";
    }

    .c-optionsModalData>div {
        display: block;
        padding: 15px;
        font-size: 14px;
    }

    .c-optionsModalData>div>div {
        padding: 0;
        display: inline;
    }

    .c-optionsModalDataScrollBar {
        display: none !important;
    }

    .c-optionsModalClose {
        width: 40px;
        height: 40px;
        position: absolute;
        right: 5px;
        top: 5px;
        cursor: pointer;
    }
}

.c-product-button {
    margin: 30px auto 0 auto;
    width: 96%;
    height: 80px;
    border-radius: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--defaultImportantColor);
    color: white;
    transition: opacity 0.2s ease-out;
    font-size: 18px;
    font-family: var(--boldfont);
    font-weight: bold;
}

.c-product-button:hover {
    opacity: 0.8;
}

.c-product-button svg {
    width: 26px;
    height: 26px;
    display: block;
    margin-right: 0.5em;
    position: relative;
    transform: translatey(-10%);
}

.c-product-button.isDisabled {
    background: #b4b4b4;
    pointer-events: none;
}

.c-product-button.isMemberOnly {
    /*background:#275631;*/
    background: #b4b4b4;
    pointer-events: none;
}

.l-product-buttons {
    display: flex;
    justify-content: space-between;
    max-width: 500px;
    margin: 15px auto 0 auto;
}

.l-product-buttons>* {
    width: calc(50% - 7.5px);
    margin-top: 0;
}

@media screen and (max-width:1200px) {
    .c-product-button {
        font-size: 16px;
        height: 60px;
        border-radius: 30px;
    }
}

.c-product-link {
    font-size: 14px;
    color: var(--defaultColor);
    display: block;
}

.c-product-link+.c-product-link {
    margin-top: 0.5em;
}

.c-product-snsList {
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
    gap: 12px;
}

.c-product-snsList>div {
    margin-right: 10px;
}

.c-product-detail {
    line-height: 180%;
}

.c-product-detail img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1em auto;
}

.c-product-detail,
.c-product-reviews,
.c-product-recommend {
    margin-top: 90px;
}

.c-product-detail .c-message {
    margin-top: 30px;
}

.c-product-reviewListWrapper {
    margin-top: 30px;
    position: relative;
    padding: 45px 7%;
    z-index: 2;
}

.c-product-reviewListWrapper::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: var(--defaultColor);
    opacity: 0.05;
    z-index: -1;
}

.c-product-reviewList {
    height: auto;
    max-height: 480px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow-y: scroll;
    cursor: pointer;
    position: relative;
}

.c-product-reviewList::-webkit-scrollbar {
    display: none;
}

.c-product-review {
    position: relative;
}

.c-product-review:not(:first-child) {
    margin-top: 90px;
}

.c-product-review:not(:first-child)::before {
    content: "";
    width: 100%;
    height: 1px;
    position: absolute;
    top: -45px;
    left: 0;
    background: var(--defaultColor);
    opacity: 0.15;
}

.c-product-reviewUser,
.c-product-reviewRate {
    display: flex;
    justify-content: left;
    align-items: center;
}

.c-product-reviewRate {
    margin-top: 15px;
}

.c-product-reviewUser svg {
    width: 35px;
    height: 35px;
    display: block;
    background: white;
    border-radius: 100%;
    overflow: hidden;
    margin-right: 0.7em;
}

.c-product-reviewRate svg {
    width: 30px;
    height: 30px;
    fill: #d5d5d5;
}

.c-product-reviewRate svg:last-of-type {
    margin-right: 1em;
}

@media screen and (max-width:1024px) {
    .c-product-reviewUser svg {
        width: 25px;
        height: 25px;
    }

    .c-product-reviewRate svg {
        width: 20px;
        height: 20px;
    }

    .c-product-reviewRate svg:last-of-type {
        margin-right: 0.5em;
    }
}

.c-product-reviewRate[data-stars="1"] svg:nth-of-type(-n+1),
.c-product-reviewRate[data-stars="2"] svg:nth-of-type(-n+2),
.c-product-reviewRate[data-stars="3"] svg:nth-of-type(-n+3),
.c-product-reviewRate[data-stars="4"] svg:nth-of-type(-n+4),
.c-product-reviewRate[data-stars="5"] svg:nth-of-type(-n+5) {
    fill: #deb21a;
}

.c-product-reviewTitle {
    font-family: var(--boldfont);
    font-weight: bold;
    font-size: 18px;
    margin-top: 30px;
    word-break: break-all;
}

.c-product-reviewComment {
    margin-top: 15px;
    word-break: break-all;
}

.c-product-reviewComment.fromShop {
    margin-top: 30px;
    padding: 15px 20px;
    position: relative;
    font-size: 14px;
    z-index: 2;
}

.c-product-reviewComment.fromShop::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: var(--defaultBackgroundColor);
    opacity: 1;
    z-index: -1;
}

.c-product-reviewImage {
    margin-top: 15px;
    width: auto;
    height: auto;
    max-width: 130px;
    max-height: 130px;
    cursor: pointer;
}

.c-product-reviewAdd {
    margin-top: 30px;
}

@media screen and (max-width:1024px) {
    .c-product-review:not(:first-child) {
        margin-top: 60px;
    }

    .c-product-review:not(:first-child)::before {
        top: -30px;
    }

    .c-product-reviewTitle {
        margin-top: 15px;
        font-size: 16px;
    }

    .c-product-reviewImage {
        margin-top: 15px;
        max-width: 100px;
        max-height: 100px;
    }
}

.c-product-reviewListScrollBar {
    display: block;
    position: absolute;
    top: 45px;
    bottom: 45px;
    width: 2px;
    padding: 0;
    right: 3%;
    z-index: 3;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease-out;
}

.c-product-reviewListScrollBar.active {
    pointer-events: all;
    opacity: 1;
}

.c-product-reviewListScrollBar:before {
    content: "";
    width: 100%;
    height: 100%;
    background: var(--defaultColor);
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0.05;
}

.c-product-reviewListScrollBar>span {
    display: block;
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    background: var(--defaultColor);
    opacity: 0.10;
    z-index: 2;
}

/*  クイックカートイン CSS  */
.cart_in_modal,
.cart_in_error_modal {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .7);
    z-index: 20000;
    display: flex;
    overflow: auto;
}

@media screen and (min-width: 960px) {

    .cart_in_modal,
    .cart_in_error_modal {
        align-items: center;
    }
}

.cart_in_modal__bg {
    background-color: rgba(0, 0, 0, .7);
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 20000;
}

.cart_in_modal__outline {
    width: 90%;
    margin: 20px 5%;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .4);
    box-sizing: border-box;
    text-align: center;
    position: absolute;
}

@media screen and (min-width: 960px) {
    .cart_in_modal__outline {
        width: 900px;
        margin: auto;
        padding: 20px 70px;
        position: relative;
    }
}

.cart_in_modal__heading {
    font-size: 20px;
    font-weight: bold;
    margin: 20px 0;
    line-height: 1.4;
}

@media screen and (min-width: 960px) {
    .cart_in_modal__heading {
        font-size: 26px;
        margin: 30px 0;
        line-height: 1.2;
    }
}

.cart_in_error_modal__heading {
    font-size: 20px;
    font-weight: bold;
    margin: 40px 0 20px;
    line-height: 1.4;
}

@media screen and (min-width: 960px) {
    .cart_in_error_modal__heading {
        margin: 30px 0;
        line-height: 1.2;
    }
}

.cart_in_modal__detail {
    display: flex;
    padding: 20px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    align-items: center;
    flex-direction: column;
}

@media screen and (min-width: 960px) {
    .cart_in_modal__detail {
        flex-direction: row;
    }
}

.cart_in_modal__name {
    font-size: 16px;
    flex: 1;
    line-height: 1.4;
    text-align: left;
    margin: 0;
}

@media screen and (min-width: 960px) {
    .cart_in_modal__name {
        font-size: 18px;
    }
}

.cart_in_modal__image-wrap {
    padding: 5px;
    width: 170px;
    height: 170px;
    background: rgba(0, 0, 0, .1);
    position: relative;
    border: 5px solid transparent;
    box-sizing: border-box;
}

@media screen and (min-width: 960px) {
    .cart_in_modal__image-wrap {
        margin: 0 30px 0 0;
        flex-basis: 170px;
    }
}

.cart_in_modal__image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.cart_in_modal__text-link {
    color: #2169f3;
    cursor: pointer;
    position: relative;
    display: inline-block;
    margin: 20px 0 0;
    padding: 0 0 0 20px;
    line-height: 1.15;
}

.cart_in_modal__text-link::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    border-top: 2px solid #2169f3;
    border-right: 2px solid #2169f3;
    -webkit-transform: rotate(225deg);
    transform: rotate(225deg);
}

.cart_in_modal__button-wrap {
    width: 100%;
    margin: 30px auto;
    font-size: 17px;
}

@media screen and (min-width: 960px) {
    .cart_in_modal__button-wrap {
        width: 350px;
    }
}

.cart_in_modal__button {
    font-size: 17px;
    font-weight: bold;
    line-height: 23px;
    display: inline-block;
    box-sizing: border-box;
    cursor: pointer;
    vertical-align: middle;
    text-decoration: none;
    color: #fff;
    border: 0;
    border-radius: 4px;
    width: 100%;
    height: 58px;
    padding: 15px;
    background: #2169f3;
    box-shadow: 0 2px 0 #1a54c2;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.cart_in_modal__button:hover,
.cart_in_modal__button:focus {
    height: 58px;
    color: #e9f0fe;
    background-color: #1e5fdb;
    box-shadow: none;
    transform: translate3d(0, 2px, 0);
}

.cart_in_modal__close-icon {
    cursor: pointer;
}

.cart_in_modal__close-icon::before,
.cart_in_modal__close-icon::after {
    content: "";
    width: 35px;
    height: 6px;
    display: block;
    position: absolute;
    top: 30px;
    right: 20px;
    background: #eee;
    border-radius: 4px;
}

.cart_in_modal__close-icon::before {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.cart_in_modal__close-icon::after {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.spinner::before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    height: 100px;
    width: 100px;
    margin-top: -50px;
    margin-left: -50px;
    border-radius: 50%;
    border: 5px solid #eee;
    border-top-color: #fd7f23;
    animation: spinner 0.5s linear infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

@media screen and (min-width: 960px) {
    .sp-br {
        display: none;
    }
}

.isProduct .password_field {
    box-sizing: border-box;
    padding: 6px;
    border: 1px solid #b3b2b2;
    border-radius: 5px;
    height: 44px;
    line-height: 1.2;
    font-size: 16px;
}

/* ================================
   Product Detail Flexible Layout
   （汎用テンプレート用）
   ================================ */

/* ベース */
.product-section { margin: 0; }
.product-block {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: nowrap;
  margin-bottom: 60px;
}
.product-block__image,
.product-block__text {
  flex: 1;
  min-width: 0; /* はみ出し防止 */
}
.product-block__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

/* パターン切替 */
.product-block--single { flex-direction: column; text-align: left; }
.product-block--reverse { flex-direction: row-reverse; }

/* このエリア内で勝手に入る br を目立たなくする（文章内の br は残る） */
.product-section > br,
.product-block > br,
.product-block__image > br {
  display: none !important;
}

/* ================================
   スマホ（&#12316;768px）：縦積み＋文字サイズ統一
   ================================ */
@media (max-width: 768px){

  /* レイアウト：全部縦積み */
  .product-section .product-block{
    flex-direction: column;
    text-align: left;
    gap: 20px;
  }

  /* 商品説明エリアのベース文字サイズ（スマホ） */
  .product-section{
    font-size: 18px !important;
    line-height: 1.9;
  }

  /* 子要素は親のサイズをそのまま使う */
  .product-section *{
    font-size: inherit !important;
  }

  /* インライン style="font-size:large;" を打ち消し */
  .product-section [style*="font-size"]{
    font-size: inherit !important;
  }

  /* ★ スマホだけ h2 を大きく（20px） */
  .product-section h2{
    font-size: 20px !important;
    line-height: 1.6;
  }
}

/* ================================
   PC（1025px&#12316;）：左寄せ＋広め＋2カラム維持
   ================================ */
@media (min-width: 1025px){

  /* 可変値（お好みで調整OK） */
  .product-section{
    --block-w: 1040px;  /* 通常ブロック幅（1000&#12316;1100px推奨） */
    --single-w: 920px;  /* 1カラム幅（880&#12316;980px推奨） */
    --text-w: 520px;    /* 2カラム時のテキスト幅 */
    padding-left: 16px;
    padding-right: 16px;
  }

  /* 2カラムブロック（画像＋テキスト横並び） */
  .product-section .product-block{
    max-width: var(--block-w);
    margin-left: 0;    /* 左寄せ */
    margin-right: auto;
  }

  /* 反転（画像右側） */
  .product-section .product-block--reverse{
    flex-direction: row-reverse;
  }

  /* 1カラムブロック（縦積み） */
  .product-section .product-block--single{
    flex-direction: column;
    max-width: var(--single-w);
    margin-left: 0;
    margin-right: auto;
  }

  /* 2カラム時の比率（テキストを細め、画像を広め） */
  .product-section .product-block:not(.product-block--single) .product-block__text{
    flex: 0 0 var(--text-w);
    max-width: var(--text-w);
  }
  .product-section .product-block:not(.product-block--single) .product-block__image{
    flex: 1 1 auto;
  }

  /* PC：1カラム文字を少し大きめに */
  .product-section .product-block--single .product-block__text,
  .product-section .product-block--single .product-block__text p{
    font-size: 18px;
    line-height: 1.9;
  }
}

</style>