body.checkout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.checkout .main {
    flex-grow: 1;
    /* min-height: 100%; */
    width: 100%;
    padding-top: 178px;
    position: relative;
    background-color: white;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 1145px) {
    body.checkout .main {
        padding-top: 212px;
    }
}

@media screen and (max-width: 992px) {
    body.checkout .main {
        padding-top: 201px;
    }
}

@media screen and (max-width: 768px) {
    body.checkout .main {
        padding-top: 191px;
    }
}

@media screen and (max-width: 576px) {
    body.checkout .main {
        padding-top: 236px;
    }
}

/*----------------------------------------
	common parts
----------------------------------------*/

.button_primary {
    font-weight: 600;
    background-color: rgb(204, 0, 0);
    border-radius: 4px;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 12px 0px;
    white-space: nowrap;
}

.button_secondary {
    font-weight: 600;
    color: black;
    background-color: white;
    border-radius: 4px;
    border: 1px solid #ddd;
    white-space: nowrap;
}

.button_tertiary {
    font-weight: 600;
    color: white;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 4px;
    white-space: nowrap;
}

.button_text {
    display: flex;
    color: #777;
    align-items: center;
    column-gap: 4px;
    padding: 0;
    white-space: nowrap;
}

.button_text.is_active {
    color: #0070c9;
}

.button_delete {
    color: #333;
    font-size: .8rem;
    padding: 6px 12px;
    background-color: #FAFAFA;
    border: 1px solid #ddd;
    border-radius: 999px;
}
.button_delete:hover {
    filter: brightness(.9);
}

select {
    -webkit-appearance: none;
    appearance: none;
    border: 1px solid #999;
    border-radius: 4px;
    vertical-align: middle;
    text-indent: .01px;
    text-overflow: "";
    background: none transparent;
    background-image: url(../img/expand_more.svg);
    background-repeat: no-repeat;
    background-size: 20px 20px;
    background-position: right 2px center;
    padding: 8px 9px;
    padding-right: 2rem;
}

.number_toggle_input select {
    font-size: 1rem;
    width: 4.5rem;
    background-color: white;
}

.number_toggle_input input {
    font-size: 1rem;
    display: none;
    padding-left: 8px;
    outline: none;
    border: 1px solid #777;
    border-radius: 4px;
    width: 4.5rem;
    height: 34px;
    flex-shrink: 0;
}


/* notification */

.notification_wrapper {
    background-color: #FEF8E5;
    border-radius: 16px;
    border: 1px solid #F5C931;
    margin-bottom: 20px;
    padding-bottom: 8px;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.05);
}

.notification_wrapper.is_success {
    background-color: #F2FCF4;
    border: 1px solid #369D52;
}

.notification_title {
    font-weight: bold;
    display: flex;
    column-gap: 4px;
    align-items: center;
    padding: 16px;
    padding-bottom: 8px;
}

.notification_main {
    display: flex;
    flex-direction: column;
    row-gap: 8px;
    padding: 0 16px 8px 44px;
}

.notification_list {
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
    row-gap: 8px;
}

/*----------------------------------------
	modal
----------------------------------------*/

body.checkout .modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    backdrop-filter: blur(12px);
}

body.checkout .modal-content {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 480px;
    background: #fff;
}

@media screen and (max-width: 576px) {
    body.checkout .modal-content {
        width: 100vw;
    }
}

body.checkout .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 25px;
    cursor: pointer;
    color: #fff;
}

body.checkout .jXBvpD {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0px 24px;
    background: rgb(204, 0, 0);
    color: white;
    letter-spacing: 0.6px;
    text-align: center;
    line-height: 24px;
    font-family: Motiva-Medium, Motiva, Helvetica, Arial, sans-serif;
    font-size: 16px;
    flex-grow: 0;
    min-height: 64px;
    height: 64px;
    z-index: 12000;
}

.card .textinput_flex {
    display: flex;
    column-gap: 8px;
}

body.checkout .modal_main {
    padding: 24px;
    flex-grow: 1;
    font-size: 14px;
    height: fit-content;
    position: relative;
}

body.checkout .modal_btns {
    padding: 24px;
    display: flex;
    justify-content: end;
    align-items: center;
    column-gap: 20px;
}

body.checkout .modal_btns .button_primary {
    padding-left: 32px;
    padding-right: 32px;
}

body.checkout .modal_main .textinput_flex {
    display: flex;
    column-gap: 8px;
}

body.checkout .modal_main .textinput_flex .textinput__wrapper {
    flex-grow: 1;
}

body.checkout .modal_main .textinput__wrapper {
    margin-top: 24px;
}

.textinput__wrapper select {
    height: 44px;
    width: fit-content;
}

body.checkout .textinput__wrapper label .textinput__required {
    color: #c00;
    width: 9px;
    height: 24px;
    font-size: 20px;
    font-family: Motiva-Bold, Motiva, Helvetica, Arial, sans-serif;
    letter-spacing: 0;
    line-height: 14px;
    position: absolute;
    background: none;
    right: 0;
}

body.checkout .textinput__wrapper label {
    font-family: Motiva-Light, Motiva, Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 14px;
    font-weight: 300;
    position: relative;
    display: block;
    padding: 0px 10px 0 6px;
    text-transform: none;
    color: #000;
    margin: 0 0 -9px 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: fit-content;
    max-width: 97%;
    background-color: #fff;
}

body.checkout .textinput__wrapper .textinput__textInput.textinput__error {
    background: #fff;
    border: 1px solid #c00 !important;
}

body.checkout .textinput__wrapper .textinput__hintOrErrorSec {
    padding: 8px 0 0 8px;
    margin-bottom: -14px;
    width: 100%;
}

body.checkout .ErrorMessage__wrapper {
    display: inline-flex;
    width: inherit;
}

body.checkout .uiStyles__text_primary {
    color: #c00;
}

body.checkout .ErrorMessage__error {
    font-family: Motiva, Helvetica, Arial, sans-serif;
    color: #000;
    font-size: 14px;
    font-weight: 300;
    color: #c00;
    margin-left: 6px;
    line-height: 16px;
    letter-spacing: 0.43px;
    word-break: break-word;
}

body.checkout .textinput__wrapper .textinput__textInput:hover {
    border: 1px solid #086dd2 !important;
}

body.checkout .textinput__wrapper .textinput__hintOrErrorSec .textinput__hintText {
    color: #757575;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0;
    line-height: 20px;
    display: none;
    font-family: Motiva-Light, Motiva, Helvetica, Arial, sans-serif;
}

body.checkout .textinput__wrapper .textinput__textInput {
    width: 100%;
    height: 44px;
    background: #fff;
    border: 1px solid #999;
    border-radius: 4px;
    display: flex;
    align-items: center;
}

body.checkout .textinput__wrapper .textinput__textComp {
    color: #000;
    font-family: Motiva-Light, Motiva, Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 0;
    line-height: 24px;
    overflow: hidden;
    background: transparent;
    border: 0;
    margin: 0;
    padding-left: 9px;
    flex: 1 1 auto;
    width: 1%;
}

body.checkout form input,
body.checkout form select,
body.checkout form textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    border: 1px solid #999;
    padding: 8px 10px;
    font-size: 16px;
    line-height: 1em;
    color: #4d4d4f;
    background: #fff;
    transition: border-color 0.5s;
    box-shadow: none;
    border-radius: 4px;
}

body.checkout .textinput__wrapper .textinput__textComp:focus {
    outline: 0;
}

body.checkout .textinput__wrapper .textinput__hintOrErrorSec .textinput__hintText.textinput__show {
    display: block;
}

body.checkout .dropdown__btn {
    border-radius: 4px;
    padding: 3px;
    border: 1px solid #757575;
    display: flex;
    align-items: center;
    background: #fff;
    position: relative;
}

body.checkout .dropdown__btn input {
    background: transparent;
    border: 0;
    margin: 0 0 0 3px;
    flex: 1 1 auto;
    width: 1%;
}

body.checkout .dropdown__input {
    font-family: Motiva-Light, Motiva, Helvetica, Arial, sans-serif;
    font-size: 16px;
    padding: 4px;
    height: 38px;
    color: #000;
    outline: none;
}

body.checkout .dropdown__btn .dropdown__icon_container {
    margin-right: 12px;
    margin-top: 6px;
    cursor: pointer;
}

body.checkout .dropdown__options_body {
    display: none;
    margin-top: 8px;
    flex-flow: column nowrap;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.25);
    position: absolute;
    z-index: 3;
    background-color: #fff;
}

body.checkout .dropdown__option {
    font-family: Motiva-Light, Motiva, Helvetica, Arial, sans-serif;
    font-size: 16px;
    padding: 8px;
    cursor: pointer;
    background: transparent;
    border: 0;
    display: flex;
    color: #000;
}

body.checkout [role=listbox] [role=option][aria-selected=true] {
    background-color: #ecf4fd;
}

body.checkout .dropdown__list_open .dropdown__options_body {
    display: block;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
}

/*----------------------------------------
	checkout.html
----------------------------------------*/

/* main */

.main_wrapper {
    margin: 32px 20px 80px 20px;
    display: flex;
    column-gap: 16px;
    align-items: flex-start;
}

.main_container {
    flex-grow: 1;
}

.title_container {
    margin-top: 32px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.title_container:first-of-type {
    margin-top: 0;
}

.title_container h2 {
    font-size: 32px;
    line-height: 48px;
    font-weight: 400;
    margin: 0;
}

.title_container h4 {
    font-size: 24px;
    font-weight: 400;
    margin: 0;
}

@media screen and (max-width: 576px) {
    .title_container h2 {
        font-size: 24px;
        line-height: 32px;
    }

    .title_container h4 {
        line-height: 1.25em;
        font-weight: 400;
    }
}

.title_container .button_secondary {
    font-size: .8rem;
}

.card .title_container {
    padding: 16px;
    margin: 0;
}

.card .title_container h3 {
    font-size: 20px;
}

.card .title_container a {
    font-weight: normal;
}

.email_container {
    display: flex;
    align-items: center;
    column-gap: 20px;
    margin-bottom: 20px;
}

.email_container+.textinput_flex {
    width: calc(50% - 6px);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.email_container+.textinput_flex .textinput__wrapper {
    width: calc(100% - 72px);
}

.email_container button,
.email_container+.textinput_flex button {
    padding: 8px;
}

.email_container button:hover,
.email_container+.textinput_flex button:hover {
    transform: translateY(0);
}

.card_wrapper {
    display: flex;
    column-gap: 12px;
    width: 100%;
    margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
    .card_wrapper {
        flex-direction: column;
        row-gap: 16px;
    }

    .email_container+.textinput_flex {
        width: 100%;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
    }
}

.card {
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid #ddd;
    border-radius: 16px;
    width: 100%;
}

.card .separate {
    display: flex;
    column-gap: 24px;
    height: 304px;
    padding: 0 16px;
    padding-bottom: 16px;
}

.separate>div {
    width: 100%;
}

.separate>hr {
    width: 1px;
    height: 100%;
    background-color: #ccc;
}

@media screen and (max-width: 768px) {
    .card .separate {
        flex-direction: column;
        height: fit-content;
    }

    .separate>hr {
        width: 0px;
    }
}

.card .textinput_flex .textinput__wrapper {
    width: 100%;
    margin-bottom: 24px;
}

body.checkout .card .textinput_flex .textinput__textInput,
body.checkout .card .textinput_flex select {
    border: 1px solid #ccc;
}

.textinput__textInput>select {
    border: none !important;
    background-color: transparent !important;
}

body.checkout .textinput_flex .button_tertiary {
    margin-top: 5px;
    font-size: .8rem;
    padding-top: 15px;
    padding-bottom: 15px;
}

.checkbox_content label {
    display: flex;
    column-gap: 4px;
    align-items: center;
    width: fit-content;
}

.radio_content {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.radio_content label {
    border-top: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    column-gap: 4px;
    align-items: center;
}

.radio_content label:first-of-type {
    padding-top: 0;
    border: none;
}

.radio_content label .button_primary {
    padding: 8px 12px;
}

.card .radio_content {
    width: 100%;
    padding: 0 16px;
}

.card .radio_content label {
    min-height: 56px;
    line-height: 1.25em;
}

.card .radio_content ul {
    margin: 0px 0 20px 17px;
}

.card .radio_content ul li {
    line-height: 1.5em;
}

.card .checkbox_content {
    margin-top: 20px;
    padding: 16px;
    border-top: 1px solid #eee;
}

.card .checkbox_content label {
    margin: 10px 0;
}

.modal_main .radio_content label {
    padding: 16px;
    align-items: flex-start;
    column-gap: 8px;
    border-radius: 8px;
    border: 1px solid transparent;
}

.modal_main>.button_text {
    margin-top: 20px;
}

.modal_main .radio_content label:has(input:checked) {
    border: 1px solid #0070c9;
}

.modal_main .radio_content label ul {
    flex-grow: 1;
}

.modal_main .radio_content {
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.modal_main .radio_content label ul li {
    font-size: 1rem;
    margin-bottom: .5em;
}

.modal_main .radio_content label ul li:last-of-type {
    margin-bottom: 0;
}

.checked_open {
    display: none;
}

.card .checked_open ul {
    margin: 10px 0 0px 17px;
}

.card .checked_open ul li {
    line-height: 1.5em;
}

.radio_list_wrapper {
    width: calc(100% - 17px);
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.radio_list_wrapper button {
    display: none;
    font-size: .8rem;
}

.radio_list_wrapper+ul {
    display: none;
}

input[type="radio"]:checked+.radio_list_wrapper button,
input[type="radio"]:checked+.radio_list_wrapper+ul {
    display: block;
}

/* sub */

.sub_container {
    position: sticky;
    top: 182px;
    width: 25%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

@media screen and (max-width: 1050px) {
    .main_wrapper {
        flex-direction: column;
        row-gap: 48px;
    }

    .main_container {
        width: 100%;
    }

    .sub_container {
        width: 100%;
    }
}

@media screen and (max-width: 992px) {
    .sub_container {
        top: 201px;
    }
}

@media screen and (max-width: 768px) {
    .sub_container {
        top: 191px;
    }
}

@media screen and (max-width: 576px) {
    .sub_container {
        top: 236px;
    }
}

.sub_card {
    padding: 16px;
    background-color: #f3f3f3;
    border-radius: 16px;
    width: 100%;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid #ddd;
}

.item_list_wrapper {
    display: flex;
    flex-direction: column;
    row-gap: 12px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #d8d8d8;
}

.item_list_wrapper:first-of-type {
    padding-top: 0;
    border-top: none;
}

.item_list_wrapper>a,
.item_list_wrapper>a>button {
    width: 100%;
}

.item_list {
    font-size: .8rem;
    display: flex;
    justify-content: space-between;
}

.item_list.sum {
    font-size: 1.2rem;
}

.annotation {
    font-size: .8rem;
    line-height: 1.25em;
}

.item_list_wrapper.arrow_list {
    flex-direction: row;
    justify-content: space-between;
}

.icon_list {
    display: flex;
    align-items: center;
    column-gap: 4px;
}

/*----------------------------------------
	shopping cart
----------------------------------------*/

.cart_wrapper .title_container {
    background-color: #f3f3f3;
    justify-content: flex-start;
}

.cart_wrapper .main_title {
    display: flex;
    justify-content: flex-start;
    column-gap: 12px;
    padding: 12px;
    width: 60%;
}

.cart_wrapper .title_container span {
    width: 39%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart_wrapper .title_container h5 {
    font-size: 1rem;
    font-weight: 400;
    color: #048103;
}

@media screen and (max-width: 576px) {
    .cart_wrapper .title_container {
        display: block;
    }

    .cart_wrapper .main_title {
        width: 100%;
    }

    .cart_wrapper .title_container span {
        display: block;
        width: 100%;
        padding-left: 12px;
        padding-bottom: 8px;
    }
}

.cart_card_wrapper {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.cart_card {
    display: flex;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid #ddd;
    border-radius: 16px;
    overflow: hidden;
}

.cart_card .main_item {
    display: flex;
    padding: 16px;
    width: 60%;
    column-gap: 12px;
}

.cart_card .main_item .main_item_text h4 {
    line-height: 1.25em;
    margin-bottom: 4px;
}

.cart_card .main_item img {
    width: 80px;
    height: 80px;
}

.cart_card .sub_item {
    padding: 16px;
    width: 40%;
    background-color: #fafafa;
}

@media screen and (max-width: 576px) {
    .cart_card {
        flex-direction: column;
    }

    .cart_card .main_item,
    .cart_card .sub_item {
        width: 100%;
    }
}

.cart_card.is_empty {
    padding: 40px 0;
    flex-direction: column;
    align-items: center;
    row-gap: 12px;
    background-color: #fafafa;
}

.cart_card.is_empty span {
    color: #cc0000;
    font-size: 24px;
}

.number_toggle_input input {
    display: none;
}

.sub_item .item_list {
    align-items: center;
    width: 100%;
}

.item_price {
    font-size: 1.2rem;
}

.delete_wrapper {
    display: flex;
    justify-content: end;
    margin-bottom: 12px;
}

.delete_wrapper .button_text span {
    font-size: .8rem;
}

.item_list.multiple_delivery {
    display: block;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.item_list.multiple_delivery span {
    font-size: .8rem;
    display: block;
    margin-bottom: 6px;
}

.item_list.multiple_delivery select,
.checkbox_content select {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border: 1px solid #ccc;
    background-color: white;
}



/*----------------------------------------
	mypage
----------------------------------------*/

.button_secondary .point {
    font-size: 1.2rem;
    color: #cc0000;
    margin-left: 6px;
}

.card .title_container .button_text.is_active {
    font-size: .8rem;
}

.card_wrapper.bento_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
}

.card:first-of-type {
    grid-column: 1;
    grid-row: 1;
}

.card:nth-of-type(2) {
    grid-column: 2;
    grid-row: 1 / 3;
}

.card:nth-of-type(3) {
    grid-column: 3;
    grid-row: 1 / 3;
}

.card:nth-of-type(4) {
    grid-column: 1;
    grid-row: 2;
}

@media screen and (max-width: 992px) {
    .card_wrapper.bento_grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2列の定義 */
        grid-template-rows: repeat(3, 1fr); /* 3行の定義 */
      }
      
      .card:first-of-type {
        grid-column: 1;
        grid-row: 1;
      }
      
      .card:nth-of-type(2) {
        grid-column: 1;
        grid-row: 2 / 4; /* 2行目と3行目にまたがる */
      }
      
      .card:nth-of-type(3) {
        grid-column: 2;
        grid-row: 2 / 4; /* 2行目と3行目にまたがる */
      }
      
      .card:nth-of-type(4) {
        grid-column: 2;
        grid-row: 1;
      }
}

@media screen and (max-width: 768px) {
    .card_wrapper.bento_grid {
        display: flex;
        flex-direction: column;
        row-gap: 20px;
    }
}

ul.vertical_list {
    padding: 16px;
    padding-top: 0;
}

ul.vertical_list li.list_label {
    font-size: .8rem;
    margin-bottom: 4px;
}

ul.horizontal_list {
    display: flex;
    margin-bottom: 6px;
    column-gap: 4px;
}

ul.horizontal_list:last-of-type {
    margin-bottom: 0;
}

.card_main .list_wrapper {
    margin: 16px;
    margin-top: 0;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.card_main .list_wrapper:last-of-type {
    border: none;
    padding-bottom: 0;
}

.card_main ul.horizontal_list li {
    line-height: 1.2em;
}

.card_main ul.horizontal_list li:first-of-type {
    width: 25%;
    flex-shrink: 0;
}

.card_main .horizontal_list a .button_text {
    font-weight: normal;
}

.vertical_button_list li {
    margin: 0 16px;
    padding: 0;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.vertical_button_list li:hover {
    color: #cc0000;
}

.vertical_button_list li:last-of-type {
    border-bottom: 0;
}

.vertical_button_list li button {
    width: 100%;
    padding: 16px 0;
}

.radioinput__radioInput {
    display: flex;
    column-gap: 4px;
    align-items: center;
    margin-bottom: 12px;
}
.radioinput__radioInput:last-of-type {
    margin-bottom: 0;
}


.radioinput__radioInput input {
    width: fit-content !important;
}


/*----------------------------------------
	tab
----------------------------------------*/

.tab__tab_container {
    width: 100%;
    padding: 0 12px;
    border-bottom: 1px solid #eee;
}

.tab__tab .tab__tab_header_container {
    display: flex;
    flex-flow: row nowrap;
}

.tab__tab .tab__tab_slider {
    display: flex;
    column-gap: 8px;
    flex-flow: row nowrap;
    margin-left: 0;
    width: -moz-fit-content;
    width: fit-content;
    transition: margin 0.5s cubic-bezier(0.15, 0.5, 0.5, 1);
}

.tab__tab .tab__tab_header_container.tab__sm .tab__parent_tab_item .tab__label {
    padding: 16px 4px 8px;
    white-space: normal;
    word-break: break-word;
    cursor: pointer;
}

.tab__tab .tab__parent_tab_item_selected.tab__parent_tab_item .tab__parent_tab_item_border {
    transform: scaleX(1);
    background: #0875e3;
}

.tab__tab .tab__parent_tab_item_border {
    position: relative;
    z-index: 1;
    border-radius: 4px 4px 0 0;
    height: 4px;
    border-bottom: 0;
    transform: scaleX(0);
    transition: transform .2s;
    width: 100%;
    transform-origin: 0 0;
}

.tab__tab_content_container {
    padding: 16px 0;
}

.card .tab_list_wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 12px 0;
    margin: 0 16px;
    border-bottom: 1px solid #eee;
}

.card .tab_list_wrapper .vertical_list {
    padding: 0;
    margin: 0;
    border-bottom: none;
    flex-grow: 1;
}

.card .tab_list_wrapper .vertical_list + button {
    margin: 0;
}

.card .tab_list_wrapper .edit_btns {
    display: flex;
    column-gap: 8px;
    font-size: .8rem;
}
.card .tab_list_wrapper .edit_btns button {
    font-size: .8rem;
}

.tab__content .vertical_list li {
    line-height: 1.2em;
    margin-bottom: 4px;
}

.tab__content .vertical_list {
    padding: 12px 0;
    margin: 0 16px;
    border-bottom: 1px solid #eee;
}

.tab__content .vertical_list + button, .tab__content .tab_list_wrapper + button, .btn_edit_shipping_address {
    margin-top: 16px;
    margin-left: 16px;
}

.modal-content .tab__tab_container {
    padding: 0 20px;
}

.modal-content .tab__content .vertical_list {
    margin: 0;
    border-bottom: none;
}

.modal-content .tab__content .tab_list_wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    margin: 0 24px;
}

.modal-content .tab__content .tab_list_wrapper + button {
    margin-top: 16px;
    margin-left: 24px;
}


/*----------------------------------------
	order_list
----------------------------------------*/

.order_card_wrapper {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.order_card {
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid #ddd;
    border-radius: 16px;
    overflow: hidden;
}

.order_card .card_title {
    position: relative;
    display: flex;
    justify-content: space-between;
    background-color: #f3f3f3;
    padding: 16px;
}

.title_main {
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 8px;
}

.order_card .card_title .title_main {
    width: 80%;
}

.title_sub {
    position: absolute;
    top: 16px;
    right: 16px;
    text-align: right;
}

.title_main p, .title_sub p {
    font-size: .8rem;
}

.title_main h4, .title_sub h4 {
    font-weight: normal;
    line-height: 1.4em;
}

.order_card .card_container {
    display: flex;
    column-gap: 16px;
    padding: 20px 16px;
    border-bottom: 1px solid #eee;
}

.order_card .card_container:last-of-type {
    border-bottom: 0;
}

.order_card .main_item {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    row-gap: 16px;
    width: 100%;
}

.order_card .main_item .main_item_box {
    line-height: 1.2em;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
    display: flex;
    flex-direction: column;
    row-gap: 4px;
}

.order_card .main_item .main_item_box:last-of-type {
    padding-bottom: 0;
    border: none;
}

.order_card .card_container .sub_item {
    display: flex;
    flex-direction: column;
    row-gap: 8px;
    width: 300px;
}

.order_card .card_container .sub_item button {
    font-weight: normal;
    width: 100%;
    padding: 6px;
    border-radius: 999px;
    box-shadow: none;
}

.order_card .card_container .sub_item button:hover {
    transform: translateY(0);
    filter: brightness(.8);
}

@media screen and (max-width: 576px) {
    .order_card .card_container {
        flex-direction: column;
        row-gap: 20px;
    }

    .order_card .card_container .sub_item {
        width: 100%;
    }
}

/*----------------------------------------
	order_detail
----------------------------------------*/

.order_main_wrapper {
    display: flex;
    column-gap: 20px;
}

.sub_card.is_info {
    display: flex;
    flex-direction: column;
    column-gap: 20px;
    row-gap: 12px;
    background-color: white;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid #ddd;
}

.sub_card.is_info div p {
    font-size: .8rem;
}

.sub_card.is_info div h4 {
    font-weight: normal;
    font-size: 1rem;
    line-height: 1.5em;
}

.sub_card.is_info div span {
    color: #048103;
    font-size: .8rem;
}

.order_card .info_list {
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 16px;
    padding: 16px;
    border-bottom: 1px solid #eee;
}

.order_card .info_list>ul, .order_card .info_list>div {
    width: calc(25% - 15px);
}

.order_card .info_list>div {
    display: flex;
    flex-direction: column;
    row-gap: 12px;
}

.order_card .info_list ul li {
    line-height: 1.5em;
}

.order_card .info_list ul li:first-of-type {
    font-size: .8rem;
}

.main_item_support h5 {
    color: #048103;
    font-weight: normal;
    font-size: 1rem;
}

.main_item_support div p {
    font-size: .8rem;
}

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

    .sub_card.is_info {
        flex-direction: row;
    }

    .order_main_wrapper {
        display: flex;
        flex-direction: column;
        row-gap: 20px;
    }

    .sub_card.is_info div {
        max-width: calc(50% - 10px);
    }
}

@media screen and (max-width: 850px) {
    .order_card .info_list>ul, .order_card .info_list>div {
        width: calc(33.3334% - 13.3334px);
    }
}

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

    .sub_card.is_info {
        flex-direction: column;
    }

    .order_card .info_list>ul, .order_card .info_list>div {
        width: calc(50% - 10px);
    }
}

@media screen and (max-width: 576px) {
    .order_card .info_list {
        display: flex;
        column-gap: 20px;
        padding: 16px;
        border-bottom: 1px solid #eee;
    }
}

@media screen and (max-width: 470px) {
    .sub_card.is_info div {
        width: 100%;
        max-width: 100%;
    }

    .order_card .info_list>ul, .order_card .info_list>div {
        width: 100%;
    }
}



/*----------------------------------------
	pagenation
----------------------------------------*/

.pagination {
    margin-top: 20px;
    padding-bottom: 40px;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 0.5rem;
}

.pagination .current {
    color: black;
}

.pagination a, .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 8px 0;
    text-decoration: none;
    width: 42px;
    height: 42px;
    padding: 14px 0;
    box-sizing: border-box;
    line-height: 1;
}

.pagination a {
    color: #086dd2;
    border-radius: 999px;
    box-shadow: 0 0 4px 0 #d8d8d8;
    background-color: white;
}

.pagination a:hover {
    filter: brightness(.8);
}

@media screen and (max-width: 576px) {
    .page-numbers {
        display: none !important;
    }

    .page-numbers.current, .page-numbers.first, .page-numbers.prev, .page-numbers.next, .page-numbers.last {
        display: flex !important;
    }
}

/*----------------------------------------
	upload
----------------------------------------*/

.card_box {
    padding: 16px;
    border-bottom: 1px solid #eee;
    display: flex;
    flex-direction: column;
    row-gap: 8px;
}

.active_tag {
    font-size: 12px;
    line-height: 1em;
    color: #0070C9;
    background-color: #EDF6FC;
    /* border: 1px solid #0070C9; */
    border-radius: 999px;
    padding: 6px 12px;
    box-sizing: border-box;
}

.file_name {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 8px;
    row-gap: 6px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.file_name:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.order_card_wrapper.is_upload .main_item_text p + input {
    margin-top: 8px;
}

.order_card_wrapper.is_upload .main_item_text input[type="text"] {
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
}

.order_card_wrapper.is_upload .main_item_box {
    row-gap: 16px;
}

.order_card_wrapper.is_upload .card_box .button_primary {
    width: fit-content;
}

@media screen and (max-width: 576px) {
    .order_card_wrapper.is_upload .card_box .button_primary {
        width: 100%;
    }
}


/*----------------------------------------
	completion
----------------------------------------*/
.centered_txt {
    text-align: center;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    align-items: center;
    line-height: 1.6em;
}

.centered_txt h1 {
    font-size: 2rem;
}

.centered_txt .button_tertiary {
    border-radius: 999px;
}

.centered_flex {
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
}


/*----------------------------------------
	modal body
----------------------------------------*/

body.body_modal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    background-color: #00A0E9;
}

.only_modal {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 456px;
    background-color: white;
    border: 1px solid #aaa;
    border-radius: 4px;
    padding: 20px;
    box-sizing: border-box;
}

.only_modal>img {
    width: 120px;
    margin-bottom: 32px;
}

.btn_vispri {
    background-color: #00A0E9;
    border-radius: 3px;
    margin-bottom: 20px;
}
.btn_vispri:hover {
    transform: translateY(0) !important;
}

.btn_vispri+a {
    font-weight: 400;
    color: #0091da;
}

body.body_modal .textinput__wrapper {
    width: 100%;
    margin-bottom: 20px;
}

body.body_modal .textinput__wrapper p+input {
    margin-top: 8px;
}

body.body_modal .textinput__wrapper input {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #eee;
    background-color: #f6f6f6;
    width: 100%;
    height: 40px;
}

@media screen and (max-width: 576px) {
    body.body_modal {
        background-color: white;
    }
    .only_modal {
        width: 100%;
        border: none;
        border-radius: 0;
    }
}