.section-container.-promotion {
    margin-top: 100px;
}
@media(max-width:768px) {
    .section-container.-promotion {
        margin-top: 65px;
    }   
}

.section-container.-promotion .title-box.-promotion {
    background-image: url(../img/promotion_bg.png);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    padding-top: 100px;
    padding-bottom: 100px;
}
@media(max-width:768px) {
    .section-container.-promotion .title-box.-promotion {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

.section-container.-promotion .title-box.-promotion .title {
    width: calc(100% - 32px);
    max-width: var(--main-width);
    margin: 0 auto;
    font-weight: 600;
    font-size: 34px;
    letter-spacing: 0.1em;
    line-height: 1;
    text-align: center;
    position: relative;
}
@media(max-width:768px) {
    .section-container.-promotion .title-box.-promotion .title {
        font-size: 24px;
    }
}
@media(max-width:768px) {
    .section-container.-promotion .title-box.-promotion .title {
        font-weight: 600;
        font-size: 20px;
        letter-spacing: 0.1em;
        line-height: 1;
    }
}

.section-container.-promotion .title-box.-promotion .title::before {
    content: "";
    display: block;
    background-color: #5E5E5E;
    width: 25px;
    height: 2px;
    position: absolute;
    top: -35%;
    left: 40%;
    transform: rotate(45deg);
}
@media(max-width:768px) {
    .section-container.-promotion .title-box.-promotion .title::before {
        left: 35%;
    }
}
@media(max-width:500px) {
    .section-container.-promotion .title-box.-promotion .title::before {
        left: 20%;
    }
}

.section-container.-promotion .title-box.-promotion .title::after {
    content: "";
    display: block;
    background-color: #5E5E5E;
    width: 25px;
    height: 2px;
    position: absolute;
    top: -35%;
    right: 40%;
    transform: rotate(-45deg);
}
@media(max-width:768px) {
    .section-container.-promotion .title-box.-promotion .title::after {
        right: 35%;
    }
}
@media(max-width:500px) {
    .section-container.-promotion .title-box.-promotion .title::after {
        right: 20%;
    }
}

.section-container.-existingPromotion .explainText {
    padding-bottom: 24px;
    text-align: center;
}

.existing-promotionItems {
    padding: 0 32px 16px 32px;
}

@media screen and (max-width:768px) {
    .existing-promotionItems {
        padding: 0 16px;
    }
}

@media screen and (max-width:520px) {
    .existing-promotionItems {
        padding: 0;
    }
}

.promotionItems-wrap {
    background-color: whitesmoke;
    margin-top: 150px;
    padding-top: 150px;
    padding-bottom: 30px;
}
@media(max-width:768px) {
    .promotionItems-wrap {
        padding-bottom: 15px;
    }
}

.item-image a {
    display: flex;
    align-items: center;
    height: 100%;
    cursor: pointer;
}

.item-image a[href=""] {
    display: flex;
    align-items: center;
    height: 100%;
    cursor: auto;
}

.promotion-items {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    align-items: flex-end;
    column-gap: 40px;
    margin: -300px auto 0 auto;
    width: 90%;
    max-width: var(--main-width);
}


.promotion-items .item-image {
    height: 100%;
}

.promotion-items  li {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

@media screen and (max-width:980px) {
    .promotion-items {
        column-gap: 16px;
    }
}

@media screen and (max-width:768px) {
    .promotion-items {
        column-gap: 8px;
    }
}

@media screen and (max-width:520px) {
    .promotion-items {
        width: 95%;
    }
}

@media screen and (max-width:400px) {
    .promotion-items {
        grid-template-columns: 1fr;
        row-gap: 16px;
    }
}

.section-container .item-image {
    position: relative;
    border: 1px solid lightgray;
}

.section-container .item-image img {
    object-fit: contain;
}

.promotion-items .item-image {
    margin-bottom: 32px;
}

@media screen and (max-width:400px) {
    .promotion-items .item-image {
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 16px;
        width: 50%;
    }
}

.item-image img {
    width: 100%;
    height: auto;
}

.existing-promotionItems .item-image>.item-name,
.pop-promotionItems .item-image>.item-name,
.originalPop-promotionItems .item-image>.item-name {
    display: flex;
    align-items: center;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    z-index: 100;
    white-space: nowrap;
    padding: 8px 64px;
    max-width: 90%;
    font-size: 18px;
    text-align: center;
    background-color: #fff;
}

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

    .existing-promotionItems .item-image>.item-name,
    .pop-promotionItems .item-image>.item-name,
    .originalPop-promotionItems .item-image>.item-name {
        padding: 8px 40px;
        font-size: 16px;
    }
}

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

    .existing-promotionItems .item-image>.item-name,
    .pop-promotionItems .item-image>.item-name,
    .originalPop-promotionItems .item-image>.item-name {
        padding: 5px 16px;
        font-size: 14px;
    }
}

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

    .existing-promotionItems .item-image>.item-name,
    .pop-promotionItems .item-image>.item-name,
    .originalPop-promotionItems .item-image>.item-name {
        padding: 5px 5px;
    }
}

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

    .existing-promotionItems .item-image>.item-name,
    .pop-promotionItems .item-image>.item-name,
    .originalPop-promotionItems .item-image>.item-name {
        padding: 2.5px 5px;
        font-size: 14px;
    }
}

.item-image>.item-name>.marker {
    height: 7.5px;
    width: 7.5px;
    margin-right: 8px;
}

@media screen and (max-width:768px) {
    .item-image>.item-name>.marker {
        margin-right: 4px;
    }
}

.item-image>.item-name>.text {
    padding: 0;
}

.orderItems-label {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

@media screen and (max-width:768px) {
    .orderItems-label {
        font-size: 18px;
    }
}

select.amount {
    border: 1px solid lightgray;
    padding: 2.5px 5px;
    border-radius: 5px;
}

.caution-list {
    max-width: fit-content;
    background-color: #fff;
    box-shadow: 0 2px 4px #4385bb12;
}

.promotionItems-wrap>.caution-list {
    margin: 16px auto;
    padding: 32px;
}
@media screen and (max-width:768px) {
    .promotionItems-wrap>.caution-list {
        max-width: 75%;
    }
}
@media screen and (max-width:560px) {
    .promotionItems-wrap>.caution-list {
        max-width: 100%;
    }
}

.caution-list li {
    margin-left: 16px;
    text-indent: -16px;
}

.caution-list.-originalPop p,
.caution-list.-originalPopHowToOrder p {
    text-align: center;
    font-size: 16px;
}

.btn-box {
    display: flex;
}

.btn-order,
.btn-confirm,
.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-return {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    border: 1px solid gray;
    color: gray;
}

.promotionItems-wrap>.btn-order {
    margin: 0 auto;
    height: 32px;
    width: fit-content;
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 16px;
}

.btn-order>.marker {
    margin-right: 8px;
    height: 7.5px;
    width: 7.5px;
}

.order-modal {
    display: none;
}

.order-modal[open] {
    overscroll-behavior: contain;
    overflow-y: scroll;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    background-color: rgba(50, 50, 50, 0.75);
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.order-modal[open]::-webkit-scrollbar{
  display:none;
}

/*モーダルの後ろでスクロールしないようにつっかえ棒を追加*/
.nonScroll {
    height:calc(100vh + 1px) ;
    width: 1px;
    background-color: transparent;
}

.order-modal>.modal-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: 100px max-content max-content max-content;
    gap: 16px;
    padding: 16px;
    width: 80%;
    max-width: 980px;
    min-height: 80%;
    height: fit-content;
    max-height: 80%;
    background-color: #fff;
    overflow-y: scroll;
}

.btn-fileSelect {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    margin-top: 8px;
    height: 32px;
    padding: 0 32px;
    width: fit-content;
    font-size: 16px;
    border: 1px solid var(--accent-color);
    border-radius: 16px;
    color: var(--accent-color);
    cursor: pointer;
}

@media screen and (max-width:980px) {
    .btn-fileSelect {
        font-size: 14px;
        padding: 0 16px;
    }
}

.btn-fileSelect > input {
    display: none;
}

@media screen and (max-width:980px) {
    .order-modal>.modal-inner {
        width: 90%;
        grid-template-columns: 1fr minmax(70%, 350px);
    }
}

@media screen and (max-width:768px) {
    .order-modal>.modal-inner {
        grid-template-rows: 60px max-content max-content max-content;
        width: 90%;
    }
}

@media screen and (max-width:400px) {
    .order-modal>.modal-inner {
        width: calc(100% - 32px);
        background-color: #fff;
    }
}

.order-modal>.modal-inner>.btn-close {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 32px;
    height: 32px;
}

.order-modal>.modal-inner>.btn-close::before,
.order-modal>.modal-inner>.btn-close::after {
    content: "";
    position: absolute;
    top: 16px;
    right: 0;
    width: 32px;
    height: 3px;
    background-color: lightgray;
}

.order-modal>.modal-inner>.btn-close::before {
    transform: rotate(45deg);
}

.order-modal>.modal-inner>.btn-close::after {
    transform: rotate(-45deg);
}

.container-header {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
}

.order-content {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 32px;
    width: 100%;
}

@media screen and (max-width:768px) {
    .order-content {
        row-gap: 24px;
    }
}

@media screen and (max-width:400px) {
    .order-content {
        row-gap: 16px;
    }
}

@media screen and (max-width:768px) {
    .order-content {
        grid-column: 1 / 3;
        grid-row: 3 / 4;
    }
}

.order-content form {width: 100%;
}

.order-content .form-group {
    display: grid;
    grid-template-columns: 175px 1fr;
}

@media screen and (max-width:768px) {
    .order-content .form-group {
        grid-template-columns: 1fr;
    }
}

.order-form>.form-inner {
    display: grid;
    row-gap: 32px;
    font-size: 16px;
}

@media screen and (max-width:768px) {
    .order-form>.form-inner {
        row-gap: 24px;
    }
}

@media screen and (max-width:400px) {
    .order-form>.form-inner {
        row-gap: 16px;
    }
}

.order-content,
.order-content .field {
    font-size: 16px;
}

.order-form .field.-editable {
    padding: 2.5px 5px;
    border: 1px solid lightgray;
}

.order-form input[type="text"].field.-editable.-readonly,
.order-form select.field.-editable.-readonly,
.order-form textarea.field.-editable.-readonly {
    border-color: rgba(0,0,0,0);
}

.order-form textarea.field.-editable.-readonly {
    resize: none;
}

.order-form textarea.field {
    resize: vertical;
    min-height: 10em;
}

.item-images .explain {
    font-size: 14px;
}

.modal-inner .user-image img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.modal-inner>.item-images {
    display: grid;
    grid-template-columns: 1fr;
    grid-row: 2 / 4;
    place-items: center;
    row-gap: 32px;
    height: fit-content;
}

@media screen and (max-width:768px) {
    .modal-inner>.item-images {
        column-gap: 16px;
        row-gap: 16px;
        grid-template-columns: repeat(auto-fit, calc((100% / 3) - (16px * 2 / 3)));
        grid-column: 1 / 3;
        grid-row: 2 / 3;
        justify-content: center;
        margin: 0 auto 16px auto;
        width: 100%;
        height: auto;
    }
}

@media screen and (max-width:560px) {
    .modal-inner>.item-images {
        width: 90%;
        column-gap: 8px;
        grid-template-columns: repeat(auto-fit, calc((100% / 3) - (8px * 2 / 3)));
    }
}

@media screen and (max-width:400px) {
    .modal-inner>.item-images {
        width: 100%;
    }
}


@media screen and (max-width:560px) {
    .order-modal._originalPop .modal-inner>.item-images {
        grid-template-columns: 1fr;
    }
}

.modal-inner .item-image>.item-name,
.modal-inner .item-image>.item-name {
    display: flex;
    align-items: center;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    z-index: 100;
    white-space: nowrap;
    padding: 8px 16px;
    max-width: 90%;
    font-size: 18px;
    text-align: center;
    background-color: #fff;
}

@media screen and (max-width:980px) {
    .modal-inner>.item-images .item-name {
        padding: 5px 10px;
        font-size: 16px;
    }
}

@media screen and (max-width:560px) {
    .modal-inner>.item-images .item-name {
        display: none;
    }
}

.customer-info {
    margin-top: 32px;
    display: grid;
    row-gap: 32px;
    width: 100%;
}

@media screen and (max-width:768px) {
    .customer-info {
        margin-top: 24px;
        row-gap: 24px;
    }
}

@media screen and (max-width:400px) {
    .customer-info {
        margin-top: 16px;
        row-gap: 16px;
    }
}

.modal-inner>.order-content .btn-confirm,
.modal-inner>.order-content .btn-order,
.modal-inner>.order-content .btn-submit,
.modal-inner>.order-content .btn-return {
    margin: 0 auto;
    height: 32px;
    padding: 0 32px;
    border-radius: 16px;
}

.section-container.-pop {
    width: calc(100% - 32px);
    max-width: var(--main-width);
    margin: 0 auto;
    margin-top: -75px;
    padding-top: 25px;
    background-color: white;
}
@media(max-width:768px) {
    .section-container.-pop {
        margin-top: 0;
    }
}

.pop-promotionItems {
    margin: 150px auto 0 auto;
    padding: 0 32px;
}

@media screen and (max-width:768px) {
    .pop-promotionItems {
        padding: 0 16px;
    }
}

@media screen and (max-width:520px) {
    .pop-promotionItems {
        padding: 0;
    }
}

.swiper-wrapper {
    position: relative;
}

.swiper-slider.-pop {
    position: relative;
    margin: -300px auto 0 auto;
    height: fit-content;
    width: calc(90% + 80px);
    padding: 0 40px;
    max-width: calc(var(--main-width) + 80px);
    overflow: hidden;
    margin-bottom: 30px;
}

@media screen and (max-width:560px) {
    .swiper-slider.-pop {
        width: 100%;
    }
}

.swiper-slider.-pop .item-image {
    margin-bottom: 32px;
}

.pop-promotionItems .btn-order {
    margin: 0 auto;
    margin-top: 32px;
    height: 32px;
    padding: 0 32px;
    border-radius: 16px;
}

@media screen and (max-width:768px) {
    .pop-promotionItems .btn-order {
        padding: 0 16px;
    }
}

.swiper-slider.-pop .swiper-button-prev,
.swiper-slider.-pop .swiper-button-next {
    height: 40px;
    width: 40px;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
    background-color: #fff;
    border-radius: 50%;
    z-index: 100;
}

.swiper-slider.-pop .swiper-button-prev {
    left: -0;
}

.swiper-slider.-pop .swiper-button-next {
    right: -0;
}

.swiper-slider.-pop .swiper-button-prev:after,
.swiper-slider.-pop .swiper-button-next:after {
    font-size: 16px;
    color: #000;
}

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

    .swiper-slider.-pop .swiper-button-prev,
    .swiper-slider.-pop .swiper-button-next {
        height: 35px;
        width: 35px;
    }

    .swiper-slider.-pop .swiper-button-prev:after,
    .swiper-slider.-pop .swiper-button-next:after {
        font-size: 14px;
    }

    .swiper-slider.-pop .swiper-button-prev {
        left: 32px;
    }

    .swiper-slider.-pop .swiper-button-next {
        right: 32px;
    }
}

@media screen and (max-width:560px) {
    .swiper-slider.-pop .item-image {
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 16px;
        width: calc((100% + 80px) / 2);
    }
}

input[type="radio"].field.-size {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 4px;
    margin-left: 16px;
    height: 16px;
    width: 16px;
    border: 1px solid gray;
    border-radius: 50%;
}

input[type="radio"].field.-size:checked::after {
    content: "";
    height: 10px;
    width: 10px;
    border-radius: 50%;
    background-color: var(--accent-color);
}

.field {
    display: flex;
}

.field label {
    display: flex;
    align-items: center;
}

.sample-image .imageCaption {
    font-size: 18px;
    text-align: center;
}

/* .promotionItems-wrap .sample-image {
    grid-row: 1 / 4;
    grid-column: 1 / 2;
}

.promotionItems-wrap .caution-list.-originalPop {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
    text-align: center;
}

.promotionItems-wrap .caution-list.-originalPopHowToOrder {
    grid-row: 2 / 3;
    grid-column: 2 / 3;
    text-align: center;
}

.promotionItems-wrap .btn-order._originalPop {
    grid-row: 3 / 4;
    grid-column: 2 / 3;
    font-weight: bold;
    font-size: 16px;
    height: 40px;
    border-radius: 20px;
    padding: 12px 16px;
} */

.btn-order._modalOpen {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background-color: #fff;
    font-weight: bold;
    font-size: 18px;
    height: 40px;
    border-radius: 20px;
    padding: 12px 16px;
}


.section-container.-original {
    width: calc(100% - 32px);
    max-width: var(--main-width);
    margin: 0 auto;
    margin-top: 32px;
}

.section-container.-original .promotionItems-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 0;
    padding: 32px;
    background-color: whitesmoke;
}

.originalPop-promotionItems {
    padding: 0 32px;
}

@media screen and (max-width:400px) {
    .originalPop-promotionItems {
        padding: 0;
    }

    .section-container.-original .promotionItems-wrap {
        padding: 16px;
    }
}

/* @media screen and (max-width:980px) { */
    .section-container.-original .promotionItems-wrap {
        gap: 16px;
    }

    .promotionItems-wrap .caution-list.-originalPop {
        grid-row: 1 / 2;
        grid-column: 1 / 3;
    }

    .promotionItems-wrap .caution-list.-originalPopHowToOrder {
        grid-row: 2 / 3;
        grid-column: 1 / 3;
    }
    
    .promotionItems-wrap .sample-image {
        grid-row: 3 / 4;
        grid-column: 1 / 3;
        margin: 0 auto;
        max-width: 768px;
    }

    .promotionItems-wrap .btn-order._originalPop {
        grid-row: 4 / 5;
        grid-column: 1 / 3;
    }
/* } */

.section-container.-original .promotionItems-wrap .caution-list {
    height: fit-content;
    margin: 0 auto;
    width: 100%;
    max-width: 768px;
}

#toast {
    display: none;
    box-shadow: 0 0 8px gray;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    z-index: 999;
    background-color: #0065FF;
    position: absolute;
    margin-top: 15px;
    left: 50%;
    transform: translateX(-50%);
}

@media screen and (min-width:1px) {
    #toast {
        height: 124px;
        width: 260px;
    }
}

@media screen and (min-width:400px) {
    #toast {
        height: 129px;
        width: 270px;
    }
}

@media screen and (min-width:560px) {
    #toast {
        height: 134px;
        width: 280px;
    }
}

@media screen and (min-width:768px) {
    #toast {
        height: 139px;
        width: 290px;
    }
}

@media screen and (min-width:980px) {
    #toast {
        height: 150px;
        width: 313px;
    }
}

#toast>p {
    margin-left: 12px;
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
    font-size: 22px;
    vertical-align: center;
    color: white;
    letter-spacing: 0;
}

#toast.did {
    display: flex;
    align-items: center;
    justify-content: center;
}

.size-selector {
    display: flex;
    justify-content: center;
}

.size-selector .download {
    display: flex;
    align-items: center;
    border: 1px solid rgb(111, 110, 173);
    background-color: #fff;
    font-weight: bold;
    height: 40px;
    border-radius: 20px;
    padding: 12px 16px;
}
@media(max-width:600px) {
    .size-selector .download {
        height: 30px;
    }
}

.size-selector .download .text{
    font-size: 16px;
    color: var(--accent-color);
    padding-bottom: 26px;
}
@media(max-width:768px) {
    .size-selector .download .text {
        font-size: 14px;
        padding-bottom: 30px;
    }
}
@media(max-width:600px) {
    .size-selector .download .text {
        font-size: 10px;
    }
}

.size-selector .download .marker {
    margin-right: 8px;
    height: 7.5px;
    width: 7.5px;
}
 

.size-selector label {
    display: flex;
    align-items: center;
}

.size-selector input[type="checkbox"] {
    position: relative;
    height: 1.5em;
    width: 1.5em;
    border: 1px solid gray;
}

.size-selector input[type="checkbox"]:checked {
    background-color: var(--accent-color);
}

.size-selector input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    height: 40%;
    width: 90%;
    transform: rotate(-45deg) translate(-15%, -125%);
    border-bottom: 3px solid #fff;
    border-left: 3px solid #fff;
}

.field.-list {
    display: flex;
    flex-direction: column;
}

.customer-info .size-list .size-selector{
    justify-content: flex-start;
    column-gap: 16px;
}

.customer-info .size-list li {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.customer-info .size-list {
    display: flex;
    flex-direction: column;
    row-gap: 8px;
}

.requiredMark {
    color: red;
}

.customer-info .form-group.-child {
    margin-left: 16px;
}

.field.-userDocument .documentName {
    display: flex;
    align-items: center;
    min-height: 32px;
    width: 100%;
    padding: 0 5px;
    color: gray;
}

.field.-userDocument {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.field.-userDocument > .btn-fileSelect {
    width: fit-content;
    margin: 0;
}

.explain-texts.-caution {
    margin: 16px auto;
}

.explain-texts.-caution p {
    text-align-last: left;
    font-size: 16px;
    margin: 0;
}

input[type="text"][name="size[]"] {
    width: 100%;
}

.btn-back {
    display: flex;
    align-items: center;
    margin: 40px auto;
    height: 40px;
    width: fit-content;
    padding: 12px 16px;
    font-size: 18px;
    font-weight: bold;
    border: 1px solid lightgray;
    border-radius: 20px;
    background-color: #fff;
    color: gray;
}
