/*
 * This file is part of the CouponPro4 Plugin
 *
 * Copyright (C) 2022 Diezon.
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

 @charset "UTF-8";

 /* クーポン一覧----------------------------------------------- */
 .coupon-wrap {
   padding-left: 0 !important;
 }
 .coupon-wrap-list {
   display: block;
   border-radius: 8px;
   overflow: hidden;
   border: 1px solid #d0d0d0;
   background: #f3f3f3;
 }
 .coupon-wrap-list:nth-of-type(n + 2) {
   margin-top: 8px;
 }
 .coupon-wrap-list-link {
   color: #525263;
   text-decoration: none !important;
   display: block;
   height: 100%;
 }
 .coupon-wrap-list-name {
   font-size: 16px;
   font-weight: bold;
   text-align: center;
   display: block;
   margin-bottom: 4px;
   color: #525263;
 }
 .coupon-name-area {
   text-align: center;
 }
 .coupon-name-area .coupon-wrap-list-name {
   position: relative;
   padding-right: 22px;
   display: inline;
 }
 .coupon-name-area .coupon-wrap-list-name::before {
   position: absolute;
   content: "";
   background: url(/html/upload/save_image/tab1.png);
   width: 15px;
   height: 15px;
   right: 0;
   background-position: center;
   background-size: cover;
   top: 50%;
   transform: translateY(-50%);
 }
 .coupon-wrap-list-main {
   background: #fff;
   padding: 16px;
 }
 .coupon-wrap-list-off {
   display: flex;
   justify-content: center;
   align-items: flex-end;
   flex-wrap: wrap;
   color: #de5d50;
   font-weight: bold;
 }
 .coupon-wrap-list-off-strong {
   font-size: 57px;
   line-height: 1.2;
 }
 .coupon-wrap-list-off-unit {
   font-size: 29px;
   margin-left: 4px;
 }
 .coupon-wrap-list-off-middle {
   font-size: 43px;
   margin-left: 4px;
 }
 .coupon-wrap-list-limit {
   text-align: center;
 }
 .coupon-wrap-list-limit p {
   text-align: center;
   font-size: 12px;
   margin-top: 6px;
   color: #525263;
   position: relative;
   padding-left: 16px;
   line-height: 1;
   display: inline-block;
 }
 .coupon-wrap-list-limit p::before {
   position: absolute;
   content: "";
   background: url(/html/upload/save_image/clock1.png);
   width: 13px;
   height: 13px;
   left: 0;
   background-position: center;
   background-size: cover;
 }
 .coupon-wrap-list-done .coupon-wrap-list-limit p::before {
   position: absolute;
   content: "";
   background: url(/html/upload/save_image/clock2.png);
   width: 13px;
   height: 13px;
   left: 0;
   background-position: center;
   background-size: cover;
 }
 .coupon-wrap-list-sub {
   background: #f3f3f3;
   padding: 12px;
 }
 .coupon-wrap-list-sub dd {
   line-height: 1.4;
 }
 .coupon-wrap-list-sub-link {
   color: #525263;
   pointer-events: none;
 }
 .coupon-wrap-list-sub-dl dd object {
   position: relative;
   margin-right: 3px;
 }
 /* .coupon-wrap-list-sub-dl object:before {
   content: "、";
   color: #525263;
   position: absolute;
   right: 0;
   bottom: 0;
   background-position: center;
 }
 .coupon-wrap-list-sub-dl object:nth-of-type(3):before {
   content: none;
 } */
 .coupon-wrap-list-sub-dl {
   margin-bottom: 0;
   color: #525263;
 }
 .coupon-wrap-list-sub-dl:nth-of-type(n + 2) {
   margin-top: 8px;
 }
 .coupon-wrap-list-sub-dl dt {
   font-size: 12px;
 }
 .coupon-wrap-list-sub-dl dd {
   font-size: 12px;
 }
 .coupon-wrap-free {
   color: #de5d50;
   font-size: 47px;
   font-weight: bold;
   text-align: center;
 }
 .icon-clock {
   content: "\e920";
 }
 @media screen and (min-width: 1024px) {
   .coupon-wrap {
     display: flex;
     justify-content: flex-start;
     flex-wrap: wrap;
   }
   .coupon-wrap-list {
     width: 32%;
     list-style-type: none;
     margin-right: 2%;
   }
   .coupon-wrap-list:nth-of-type(2) {
     margin-top: 0;
   }
   .coupon-wrap-list:nth-of-type(3) {
     margin-top: 0;
   }
   .coupon-wrap-list:nth-of-type(n + 4) {
     margin-top: 24px;
   }
   .coupon-wrap-list:nth-of-type(3n) {
     margin-right: 0;
   }
   .coupon-wrap-list-main {
     min-height: 170px;
     display: flex;
     align-items: center;
     justify-content: center;
     flex-wrap: nowrap;
     flex-direction: column;
   }
   .other-tab .coupon-wrap-list-link:hover {
     opacity: 0.6;
     transition: 0.3s;
   }
   .coupon-wrap-list-sub-link:hover {
     color: #de5d50;
     text-decoration: none;
   }
 }
 .coupon-wrap-list-done .coupon-wrap-list-name,
 .coupon-wrap-list-done .coupon-wrap-list-off,
 .coupon-wrap-list-done .coupon-wrap-list-sub-dl,
 .coupon-wrap-list-done .coupon-wrap-list-limit p {
   color: #999 !important;
 }
 .coupon-wrap-list-done .coupon-wrap-list-main {
   background: #ddd;
 }
 .coupon-wrap-list-done .coupon-wrap-list-sub {
   background: #ccc;
 }
 .coupon-wrap-list-done {
   position: relative;
 }
 .coupon-wrap-list-done::before {
   position: absolute;
   content: "";
   background: #de5d50;
   top: 0;
   left: 0;
   font-size: 14px;
   border-radius: 8px 0 8px 0;
   color: #fff;
   font-weight: bold;
   z-index: 1;
   width: 86px;
   height: 28px;
 }
 .coupon-wrap-list-done::after {
   position: absolute;
   content: "利用済み";
   top: 5px;
   left: 17px;
   font-size: 14px;
   color: #fff;
   font-weight: bold;
   z-index: 1;
 }
 .coupon-wrap-list-done {
   background: #ccc;
 }
 .coupon-wrap-list-done .coupon-wrap-list-sub-link {
   color: #999;
 }
 /* フロント＞クーポンブロック----------------------------------------------- */
 .coupon-wrap-block {
   max-height: 650px;
   overflow-y: scroll;
 }
 
 /* ご注文手続き----------------------------------------------- */
 .shopping-coupon {
   display: flex;
   justify-content: space-between;
   flex-wrap: wrap;
   position: relative;
 }
 .shopping-coupon:after{
   content:"※値引き額はお支払い方法の指定後に表示されます";
   display: block;
   /* color: #D61414; */
   margin-top: 5px;
 }
 .shopping-coupon-item {
   position: relative;
   width: 100%;
 }
 .shopping-coupon-item label {
   transition: 0.2s linear;
   cursor: pointer;
   border-radius: 4px;
   position: relative;
   display: inline-block;
   border: 1px solid #d0d0d0;
   padding: 14px 16px 12px 40px;
   margin-bottom: 0;
   width: 100%;
   height: 100%;
   font-size: 12px;
 }
 .shopping-coupon-item span {
   font-weight: normal;
 }
 .shopping-coupon-item .radio {
   position: absolute;
   top: 12px;
   left: 16px;
   z-index: 1;
 }
 .form-radio-box__label {
   display: block;
 }
 .form-radio-box__error {
   display: block;
 }
 .shopping-coupon-discount .price .shopping-coupon-discount-unit {
   font-size: 12px;
   font-weight: bold;
 }
 .is-error {
   background: #fdf1f0;
   border: 1px solid #cf3f34 !important;
   border-radius: 3px;
 }
 .shopping-coupon-button {
   background: #000;
   margin-left: 8px;
   height: 33px;
   width: 76px;
   color: #fff;
   font-size: 14px;
   font-weight: bold;
 }
 .shopping-coupon-item label {
   width: 100%;
 }
 .shopping-coupon-form {
   display: flex;
   flex-wrap: nowrap;
   justify-content: space-between;
   align-items: center;
   width: 100%;
   margin-top: 8px;
 }
 .shopping-coupon-form-textarea {
   width: 100%;
   flex: 1;
 }
 .shopping-coupon-form-textarea input {
   width: 100%;
   padding: 5px 12px;
   font-size: 16px !important;
 }
 .form-radio-box__code input {
   width: 100%;
 }
 .shopping-coupon-item .error-message {
   color: #de5d50;
   font-weight: bold;
   margin-top: 10px;
   display: block;
 }
 ::placeholder {
   color: #9b9b9b;
 }
 .shopping-coupon-discount {
   display: block;
   margin-top: 8px;
 }
 .shopping-coupon-discount .free {
   color: #de5d50;
   font-weight: bold;
   font-size: 13px;
 }
 .shopping-coupon-discount .value {
   font-family: Roboto;
   font-weight: bold;
 }
 .coupon-name-textarea {
   display: block;
   margin-top: 8px;
 }
 .shopping-coupon-item .price {
   margin-left: 5px;
   color: #de5d50;
   font-size: 14px;
   font-weight: bold;
 }
 .shopping-coupon-item input[type="radio"]:checked + label {
   background-color: #f6f6f6;
 }
 .shopping-coupon-item:nth-of-type(n + 2) {
   margin-top: 8px;
 }
 @media screen and (min-width: 1024px) {
   .shopping-coupon-item {
     width: calc((100% - 8px) / 2);
   }
   .shopping-coupon-item:nth-of-type(2) {
     margin-top: 0;
   }
   .shopping-coupon-item:nth-of-type(n + 3) {
     margin-top: 8px;
   }
 }
 /* formリセット */
 .shopping-coupon input:not([type="radio"]),
 .shopping-coupon button {
   -webkit-appearance: none;
   -moz-appearance: none;
   appearance: none;
   font: inherit;
   outline: none;
 }
 .shopping-coupon input[type="radio"] {
   min-width: 16px;
   min-height: 16px;
 }
 .shopping-coupon input[type="submit"],
 .shopping-coupon input[type="button"],
 .shopping-coupon label,
 .shopping-coupon button,
 .shopping-coupon select {
   cursor: pointer;
 }
 .shopping-coupon select::-ms-expand {
   display: none;
 }
 
 /* 商品詳細----------------------------------------------- */
 .product-detail-coupon-link {
   text-decoration: none !important;
   display: block;
   width: 100%;
   height: 100%;
 }
 .product-detail-coupon-box-in {
   padding: 12px 8px 4px 8px;
 }
 .product-detail-coupon-box {
   background: #f7f7f7;
   border: 1px solid #d0d0d0;
   border-radius: 3px;
   min-width: 150px;
   width: 100%;
 }
 .product-detail-free {
   color: #de5d50;
   text-align: center;
   font-size: 18px;
   font-weight: bold;
 }
 .coupon-box-another-tab .coupon-name {
   position: relative;
   padding-right: 15px;
   /* display: inline-block; */
 }
 .coupon-box-another-tab .coupon-name::before {
   position: absolute;
   content: "";
   background: url(/html/upload/save_image/tab3.png);
   width: 13px;
   height: 13px;
   right: 0;
   background-position: center;
   background-size: cover;
   top: 50%;
   transform: translateY(-50%);
 }
 .product-detail-coupon-box:nth-of-type(n + 2) {
   margin-left: 8px;
 }
 .product-detail-coupon-box .coupon-name {
   font-size: 18px;
   text-align: center;
   color: #525263;
   overflow: hidden;
   white-space: nowrap;
   text-overflow: ellipsis;
   margin: 4px 0;
 }
 .product-detail-coupon-box .coupon-price {
   color: #de5d50;
   text-align: center;
   margin: 4px 0;
 }
 .product-detail-coupon-box .coupon-price .price-left {
   font-size: 25px;
 }
 .price-right {
   font-size: 24px;
 }
 .product-detail-coupon-box .coupon-price .price-middle {
   font-size: 14px;
 }
 .product-detail-coupon__sub {
   background: #fff;
   border-radius: 3px;
   padding: 3px;
   margin-top: 4px;
 }
 .product-detail-coupon__sub dl {
   color: #8d8d8d;
   font-size: 14px;
   display: flex;
   margin: 4px 0;
 }
 .product-detail-coupon__sub dl dt,
 dd {
   font-weight: normal;
 }
 .product-detail-coupon__sub dl dt {
   min-width: 30px;
 }
 .product-detail-coupon-scroll {
   overflow-x: scroll;
   width: 100%;
   padding-bottom: 16px;
 }
 .product-detail-coupon-wrap {
   display: flex;
   flex-wrap: nowrap;
   justify-content: flex-start;
   width: 100%;
   align-items: stretch;
 }
 @media screen and (min-width: 1024px) {
   .coupon-box-another-tab .product-detail-coupon-link:hover {
     opacity: 0.6;
     transition: 0.3s;
   }
 }
 /* スクロールバー調整 */
 .scrollbar::-webkit-scrollbar {
   width: 10px;
   height: 8px;
 }
 .scrollbar::-webkit-scrollbar-thumb {
   background: #dedede;
   border-radius: 30px;
   margin-left: 10px;
 }
 .precautionary-text {
   font-size: 12px;
   color: #8d8d8d;
   margin-top: 8px;
 }
 .product-detail-coupon-block {
   border-bottom: 1px dotted #ccc;
   padding-bottom: 14px;
 }
 
 /* クーポンブロック----------------------------------------------- */
 .padding-coupon-block {
   padding-top: 1em;
   padding-bottom: 16px;
 }
 