.subtotal {
    padding: 2.66% 2%;
    border-bottom: 2px solid #555;
    text-align: left;
}

.table04 .detail .info {
    margin: 0;
}

.table04 .detail .info .box:nth-child(2),
.table04 .detail .info .box:nth-child(4) {
    margin-right: 0;
}

.table04 .detail .info.memo_box {
    margin: 24px 0 0;
}

.pop_time .time_select ul li.act {
    font-weight: bold;
    background: #eee;
}

.table04 .detail .info.memo_box textarea {
    width: 100%;
    height: 60px;
}

.table04 .item .sumBox .coupon p {
    text-align: right;
    padding-right: 5%;
    font-size: 15px;
}

.table04 .item .sumBox div {
    position: relative;
}

.table04 .item .sumBox .price {
    margin: 0;
}

.table04 .detail .select li.widthFull {
    width: 100%;
    margin: 0;
}

.table04 .detail .info .box input[type=number] {
    width: 70px;
}

.table04 .item ul li .txtBox h3 {
    max-width: calc(100% - 90px);
}

.cut-text {
    white-space: normal;
}

.cancel_policy {
    margin-top: 25px;
}

.cancel_policy a {
    text-decoration: underline !important;
}

.subtotal p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.subtotal p .ttl {
    display: block;
    width: calc(100% - 90px);
    font-size: 12px;
    font-weight: bold;
    text-align: left;
}

.subtotal p .price {
    display: block;
    flex: 1;
    margin: 0 3% 0 0;
    color: #050505;
    font-weight: bold;
    font-size: 14px;
    text-align: right;
}

.couponBox {
    display: flex;
    margin: 0 2% 8%;
    border: 1px solid #7c7c8f;
    border-radius: 5px;
    font-size: 15px;
    overflow: hidden;
}

.couponBox .couponRadio {
    position: relative;
    width: 50%;
}

.couponBox .couponRadio input[type=radio] {
    position: absolute;
    top: -100%;
}

.couponBox .couponRadio span {
    display: block;
    width: 100%;
    padding: 14px 0;
    font-size: 14px;
    background: #fff;
}

.couponBox .couponRadio input:checked+span {
    background: #050505;
    color: #fff;
}

.select-address {
    display: block;
    padding: 17px 0;
    color: #050505;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    background: #FFCF28;
    width: 100%;
    vertical-align: top;
}

.ticketCount {
    position: relative;
    text-align: left;
}

.ticketList h3 {
    max-width: calc(100% - 90px);
    display: flex;
    justify-content: space-between;
    padding: 1.5% 0 0;
    font-size: 12px;
}

.ticketCount input {
    display: inline-block;
    width: 48px;
    padding: 0;
    color: #050505;
    font-weight: bold;
    text-align: center;
    border: none;
    margin-top: -0.1em
}

.ticketCount img {
    width: 20px;
    height: 20px;
}

.ticketList {
    border-bottom: 2px solid #999;
    padding: 0px 2% 20px 2%;
}

.loader_ {
    border: 6px solid #f3f3f3;
    /* Light grey */
    border-top: 6px solid #3498db;
    /* Blue */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
    position: absolute;
    /*it can be fixed too*/
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    max-width: 100%;
    max-height: 100%;
    overflow: auto;
}

.loader {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.84);
    top: 0;
    left: 0;
    z-index: 9999;
}

.loader_txt {
    position: absolute;
    left: 0;
    right: 0;
    top: 130px;
    bottom: 0;
    width: 100%;
    height: 1.5em;
    margin: auto;
    font-size: 16px;
    text-align: center;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5, 5, 5, 0.7);
    z-index: 9999;
}

.pop_day {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 78.33%;
    height: 68.75vh;
    margin: auto;
    text-align: center;
    background: #fff;
    border-radius: 6px;
    z-index: 10000;
}

.pop_day .ttl {
    padding: 18px 0;
    font-size: 16px;
    font-weight: bold;
}

.pop_day .day_select {
    display: flex;
    align-items: center;
    width: 81.56%;
    height: calc(100% - 130px);
    margin: 0 auto 10px;
    overflow: hidden;
}

.pop_day .day_select ul {
    width: 100%;
    max-height: 100%;
    overflow-y: scroll;
}

.pop_day .day_select ul li {
    padding: 3px 0;
    font-size: 18px;
    line-height: 1.34;
    border-bottom: 1px solid #eee;
}

.pop_day .day_select ul li:first-child {
    border-top: 1px solid #eee;
}

.pop_day .btn_box {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    display: flex;
    border-top: 1px solid #eee;
}

.pop_day .btn_box p {
    position: static;
    width: 50%;
    margin: 0;
    padding: 12px 0;
    color: #229FFA;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.5;
    box-sizing: border-box;
    cursor: pointer;
}

.pop_day .btn_box p:first-child {
    border-right: 1px solid #eee;
}

.pop_time {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 78.33%;
    height: 68.75vh;
    margin: auto;
    text-align: center;
    background: #fff;
    border-radius: 6px;
    z-index: 10000;
}

.pop_time .ttl {
    padding: 18px 0;
    font-size: 16px;
    font-weight: bold;
}

.pop_time .time_select {
    display: flex;
    align-items: center;
    width: 81.56%;
    height: calc(100% - 130px);
    margin: 0 auto 10px;
    overflow: hidden;
}

.pop_time .time_select ul {
    width: 100%;
    max-height: 100%;
    overflow-y: scroll;
}

.pop_time .time_select ul li {
    padding: 3px 0;
    font-size: 18px;
    line-height: 1.34;
    border-bottom: 1px solid #eee;
}

.pop_time .time_select ul li a {
    display: block;
}

.pop_time .time_select ul li:first-child {
    border-top: 1px solid #eee;
}

.pop_time .btn_box {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    display: flex;
    border-top: 1px solid #eee;
}

.pop_time .btn_box p {
    position: static;
    width: 50%;
    margin: 0;
    padding: 12px 0;
    color: #229FFA;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.5;
    box-sizing: border-box;
    cursor: pointer;
}

.pop_time .btn_box.long p {
    width: 100%;
}

.pop_time .btn_box p:first-child {
    border-right: 1px solid #eee;
}

.p-modal-window {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.45);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999999;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    overflow-y: auto;
}

.p-modal-window:target {
    opacity: 1;
    pointer-events: auto;
}

.p-modal-window>div {
    width: 500px;
    position: relative;
    min-height: calc(100% - (1.75rem * 2));
    margin: 1.75rem auto;
    transform: translate(0, 0);
    display: flex;
    align-items: center;
}

.p-modal-window>div .p-modal-content {
    width: 100%;
    background: #ffffff;
    padding: 2em;
    border-radius: 5px;
}

.p-modal-window header {
    font-weight: bold;
}

.p-modal-window h1 {
    font-size: 1.5em;
    margin: 0 0 15px;
    position: relative;
}

.p-modal-close {
    color: #aaa;
    position: absolute;
    top: -0.3em;
    right: 0;
    font-size: 1.5em;
}

.p-modal-close:hover {
    color: black;
    text-decoration: none;
}


/* p-message */

.p-modal-window>div {
    width: 400px;
}

@media screen and (max-width: 30em) {
    .p-modal-window>div {
        width: 80%;
    }
}

.p-modal-window>div .p-message-content {
    padding: 0;
    border-radius: .5em;
    position: relative;
}

.p-message-content [data-title],
.p-message-content [data-content],
.p-message-content [data-buttons] {
    text-align: center;
    line-height: 1.5em;
    display: block;
}

.p-message-content [data-title] {
    font-size: 1.2em;
    font-weight: bold;
    margin: .2em 0;
}

.p-message-content [data-buttons] {
    margin-top: 1em;
    border-top: #ccc solid 1px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.p-message-content [data-buttons] a,
.p-message-content [data-buttons] button {
    padding: .8em 0;
    color: blue;
    text-transform: uppercase;
    font-weight: bold;
    border-left: #ccc solid 1px;
    flex: 1 1 0;
}

.p-message-content [data-buttons] a:first-child {
    border: none;
}

.circle_number {
    background: #FFBD28;
    height: 22px;
    width: 22px;
    display: inline-block;
    line-height: 22px;
    text-align: center;
    border-radius: 50%;
    color: #000;
    float: right;
    margin: 3px 0 0;
    font-size: 14px;
}

.detail h3 {
    font-weight: bold;
}

.recieve_address,
.recieve_datetime {
    margin-top: 5px;
    font-weight: bold;
    line-height: 20px;
    font-size: 15px;
}

.select-address,
.local_pickup a {
    display: block;
    padding: 17px 0;
    color: #050505;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    background: #FFCF28;
    width: 100%;
    vertical-align: top;
    cursor: pointer;
}

.recieve_address a {
    position: absolute;
    top: 0;
    right: 0;
    width: 53px;
    padding: 2px 0;
    text-align: center;
    font-weight: normal;
    border: 1px solid #7c7c8f;
    border-radius: 3px;
    font-size: 14px;
    background: #fff;
}

.table04 .item .delivery_fee {
    position: relative;
    padding: 2.66% 2%;
    border-bottom: 2px solid #999;
    text-align: left;
}

.table04 .item .delivery_fee h3 {
    max-width: calc(100% - 90px);
    padding: 1.5% 0 0;
    font-size: 15px;
}

.table04 .item .delivery_fee p {
    position: absolute;
    top: 0;
    right: 8%;
    margin-top: 4%;
    color: #050505;
    font-size: 14px;
    font-weight: bold;
}

.sumBox .subtotalComment {
    display: block;
    margin: 5px 0 0;
    font-size: 15px;
    color: #8A8A9B;
    font-size: 12px;
}

.card.disabled {
    color: #CCCCCC;
}

#payment_select_button {
    position: absolute;
    top: 0;
    right: 0;
    width: 53px;
    padding: 2px 0;
    text-align: center;
    border: 1px solid #7c7c8f;
    border-radius: 3px;
    font-size: 14px;
    background: #fff;
}

#payment_select_button:disabled {
    border-color: #CCCCCC;
    color: #CCCCCC;
}

#payment_select_button.non_selected {
    padding: 4px 0;
    top: -4px;
    width: 32%;
}

html,
body {
    font-family: 'Noto Sans JP', sans-serif;
}