.button-2 {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 350px;
        margin:0 auto;
        padding: .9em 2em;
        border: none;
        border-radius: 25px;
        background-color: #2589d0;
        color: #fff;
        font-weight: 600;
        font-size: 1em;
        position: absolute;
        bottom: 0%;
        right: 2%;
}
.button-2:hover {
    background-color: #c3c3c3;
}
.button-3 {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 250px;
        margin:0 auto;
        padding: .9em 2em;
        border: none;
        border-radius: 25px;
        background-color: #d51246;
        color: #fff;
        font-weight: 600;
        font-size: 1em;
        position: absolute;
        bottom: 3%;
        right: 8%;
}
.button-3:hover {
    background-color: #c3c3c3;
}

/*カート*/
.dcart{
      position: fixed;
      bottom: 2%;
      right: 1%;
      max-width: 350px;
      background-color: #f3e6e6;
      border-radius: 15px;
      min-height: 500px;
      width: 300px;
      box-shadow: 0 7px 10px rgb(0 0 0 / 10%);
}
.dcart_tit{
       text-align: center;
       font-size: 24px;
       color:#ff0000;
       font-weight: 600;
       padding-top: 30px;
}
.dcart_titsub{
        text-align: center;
        font-size: 18px;
        padding: 10px 25px;
        font-weight: 600;
}
.dcart_main{
        display:flex;
        padding-left:20px;
}
.dcart_button{
    margin-top: 0px;
}
.dcart2{
      position: fixed;
      top: 40%;
      right: 1%;
      max-width: 350px;
      background-color: #e1e1e1;
      border-radius: 15px;
      min-height: 110px;
      width: 300px;
      box-shadow: 0 7px 10px rgb(0 0 0 / 10%);
}
.dcart2_tit{
       text-align: center;
       font-size: 18px;
       color:#000;
       font-weight: 600;
       padding-top: 10px;
}
.dcart2_tit2{
       text-align: center;
       font-size: 12px;
       padding: 0px 10px;
}
.dcart2_tit3{
	text-align: center;
	font-size: 24px;
	color:#ff0000;
	font-weight: 600;
}
figure img {
	width: 100%;
}
@media screen and (max-width: 768px){
     .button-3 {
             display: flex;
             justify-content: center;
             align-items: center;
             width: 250px;
             margin:0 auto;
             padding: .9em 2em;
             border: none;
             border-radius: 25px;
             background-color: #d51246;
             color: #fff;
             font-weight: 600;
             font-size: 1em;
             bottom: 0%;
             right: 0%;
             position: relative;
     }
     .button-3:hover {
         background-color: #c3c3c3;
     }
    .dcart{
          position: fixed;
          bottom: 1%;
          right: 1%;
          max-width: 100%;
          background-color: #f3e6e6;
          border-radius: 15px;
          min-height: 250px;
          width: 98%;
          box-shadow: 0 7px 10px rgb(0 0 0 / 10%);
          z-index: 9999;
          overflow-y: auto;
    }
     .dcart_tit{
            text-align: left;
            font-size: 18px;
            color:#ff0000;
            font-weight: 600;
            padding-top: 15px;
            padding-left: 20px;
     }
     .dcart_titsub{
             text-align: left;
             font-size: 18px;
             padding: 10px 25px;
             font-weight: 600;
     }
     .dcart_main{
             display:flex;
             padding-left:20px;
     }
     .dcart_button{
         margin-top: 20px;
     }
    .dcart2{
        position: fixed;
        top: 55%;
        right: 1%;
        max-width: 100%;
        background-color: #e1e1e1;
        border-radius: 15px;
        min-height: 110px;
        width: 98%;
        box-shadow: 0 7px 10px rgb(0 0 0 / 10%);
        z-index: 9999;
    }
    .dcart2_tit{
           text-align: center;
           font-size: 18px;
           color:#000;
           font-weight: 600;
           padding-top: 10px;
    }
    .dcart2_tit2{
           text-align: center;
           font-size: 12px;
           padding: 0px 10px;
    }
    .dcart2_tit3{
    	text-align: center;
    	font-size: 24px;
    	color:#ff0000;
    	font-weight: 600;
    }
}

.alink{
    text-decoration: underline;
}
.bloc_gray_1200 {
    width: 100%;
    max-width: 100%;
    margin: 3% auto;
    padding: 15px;
    text-align: center;
    color: #000;
    font-size: 18px;
    font-weight: bold;
    border-radius: 10px;
    color: #fff;
}
.block4_2_fx {
   list-style: none;
   padding: 0;
   margin: 0 auto;
   gap: 15px;
   overflow: hidden;
}

.img_g{
    border: solid 1px #e3e3e3;
}

/* アクティブな画像の枠線を変更 */
.sub-img div.current img {
      border: 2px solid red;
      transition: border .5s;
}
/* レイアウトのためのスタイル */
.main-img{
    height: 500px;
    text-align: center;
    border: solid 1px #e3e3e3
}
.main-img img {
     height: 498px;
     max-width: 100%;
     object-fit: contain;
     margin: 0 auto;
     border: 0
}
.sub-img {
     margin-top: 10px;
}
.sub-img .p-tab__tool{
    margin-top: 0;
}
.sub-img div img {
     border: 2px solid transparent;
     transition: border .5s;
}
.sub-img .slider-item > div{
    width: 60px
}
.sub-img img {
     cursor: pointer;
     max-width: 100%;
}
.sub-img .swiper-slide{
    height: auto;
}
.sub-img .swiper-slide > div{
    height: 100%;
    display: flex;
    align-items: center;
}
.product-gallery{
    width: 100%;
    overflow: hidden;
}
.buy_b {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 250px;
    margin:0 auto;
    padding: .9em 2em;
    overflow: hidden;
    border: 1px solid #cc0000;
    border-radius: 5px;
    background-color: #fff;
    color: #cc0000;
    font-size: 1em;
}

.buy_b:hover {
    background-color: #cc0000;
    color: #fff;
    cursor:pointer
}
.buy_b::before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 0;
    height: 100%;
    background-color: #cc0000;
    content: '';
    transition: width .3s ease;
}
.buy_b:hover::before {
    width: 100%;
}
.box {
   margin-bottom: 100px;
   line-height: 24px;
}
.fill{
   position: relative;
}
.fill p{
   position: absolute;/*重ねたい子要素にabsolute*/
   top:50%;
   left: 50%;
   -ms-transform: translate(-50%,-50%);/*ベンダープレフィックス*/
   -webkit-transform: translate(-50%,-50%);/*ベンダープレフィックス*/
   transform: translate(-50%,-50%);/*センター寄せの修正*/
   background: #000;
   color: #fff;
   font-size: 1.8rem;
   margin: 0!important;/*文字がずれている場合や*/
   padding: 0!important;/*文字が折り返される場合*/
}
@media screen and (max-width: 768px){
    .fill p{
       font-size: 1.5rem;
       width: 100%;
    }
    .main-img {
        height: 400px;
    }
    .main-img img{
        height: 398px;
    }
}

.click-btn{
   display: inline-flex;
   align-items: center;
   justify-content: center;
   font-size: 15px;
}
.click-btn:hover{
    opacity: 0.8;
    cursor: pointer;
}
.modal-span {
  cursor: pointer;
  text-decoration: underline; 
}
.modal-outer {
   position: fixed;
   top: 0;
   left: 0;
   display: none; 
   width:100%;
   height: 100%;
   background: rgba(0, 0, 0, 0.8);
   z-index: 10000; 
}
.modal-wrapper{
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    height: auto;
    max-width: 1030px;
    width: calc(100% - 30px);
    height: calc(100% - 100px);
    box-sizing: content-box;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-inner {
   max-height: 650px;
   padding-bottom: 50px;
   height: 100%;
   width: 100%;
   padding: 40px 60px 40px 40px;
   margin: 0 auto;
   position: relative;
   display: flex;
   align-items: center;
}
.modal-inner-container{
    text-align: center;
    display: flex;
    overflow: auto;
    flex-direction: column;
    width: 100%;
    margin: 0 auto;
    background-color: #fff;
    height: 100%;
 }
 .modal-inner-container img{
       margin: 0 auto; 
       max-height: 90%;
       max-width: 100%;
  }
  .show {
       display: block; 
  }
  .quick-view{
    padding: 40px 20px;
    gap: 20px;
    display: flex;
    flex-wrap: wrap
}
.quick-view > div{
    width: calc((100% - 20px)/2)
}
.modal-inner-header{
    position: absolute;
    z-index: 20;
    font-size: 35px;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    right: 10px;
    top: -10px;
    padding: 0;
    margin: 0;
    line-height: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #04aeb8;
    cursor: pointer;
}
.close-btn-top{
    color: #fff
}
.quick-view .selectbox-3,
.quick-view .button-2{
    width: 100%;
}

.close-btn-bottom {
     margin-bottom: 0;
     width:150px;
     margin:0 auto;
     text-align: center; 
 }
.close-btn-bottom button {
     padding: 5px 10px; 
     cursor: pointer;
}
.mwidth{
     width:50%;
}
.quick-view__thumb .thumb{
    display: flex;
    flex-wrap: wrap;
    gap: 5px
}
 .thumb li {
     display: flex;
     align-items: center;
     width: 55px;
     height: 55px;
     cursor: pointer;
     vertical-align: top;
     border: 1px solid transparent
 }
 .thumb li.-active{
    border-color: #c00
 }
 
 .thumb, .thumb li {
     margin: 0;
     padding: 0;
     list-style: none;
 }
.selectbox-3 {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.selectbox-3::after {
    position: absolute;
    right: 15px;
    width: 10px;
    height: 7px;
    background-color: #535353;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
    pointer-events: none;
}

.selectbox-3 select {
    appearance: none;
    width: 100%;
    height: 2.8em;
    padding: .4em 30px .4em .8em;
    border: 1px solid #d0d0d0;
    border-radius: 15px;
    background-color: #fff;
    color: #333333;
    font-size: 1em;
    cursor: pointer;
}
@media screen and (max-width: 768px){
    .modal-inner{
      padding: 0;
    }
    .modal-inner-container{
      padding: 0;
      max-width: 500px;
      height: fit-content;
      max-height: 100%;
      box-sizing: border-box;
      height:100%;
    }
    .modal-inner-container img{    
       max-width: 100%;
       max-height: 100%;
       position: relative;
    }
    .modal-wrapper{
        top: 30px;
        height: calc(100% - 60px);
    }
    .quick-view .custom-input-wrapper{
        padding: 0
    }
    .modal-inner-header{
        right: -10px;
        top: -10px;
    }
 }

     
/* 料金表 */
.tab-5 {
    display: flex;
    flex-wrap: wrap;
    /*max-width: 500px;*/
}

.tab-5 > label {
    flex: 1 1;
    order: -1;
    position: relative;
    min-width: 70px;
    padding: .7em 1em;
    background-color: #f2f2f2;
    color: #c30e0e;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    letter-spacing: 0.1em;
}

.tab-5 > label:hover,
.tab-5 label:has(:checked) {
    background-color: #d50000;
    color: #fff;
}

.tab-5 label:has(:checked)::before {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 9px;
    background-color: #d50000;
    content: '';
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.tab-5 input {
    display: none;
}

.tab-5 > div {
    display: none;
    width: 100%;
    padding: 1.5em 0;
}
.price_table_main .scroll:has(table){
    line-height: 1;
}
.tab-5 label:has(:checked) + div {
    display: block;
}

.table_4 th {
    border: solid 1px #d1d1d1;
    background-color: #e3e3e3;
    color: #000;
    font-weight: 400;
    height: 60px;
    line-height: 1.3;
}
.table_4 td {
    border: solid 1px #d1d1d1;
    background-color: #ffffff;
    color: #000;
    font-weight: 400;
    text-align: center;
    line-height: 1.3;
}
/* レスポンシブ対応 */

@media screen and (min-width: 769px){
    .Form-Item > .printtypes-container > div{
        gap: 20px;
        display: flex;
        flex-wrap: wrap
    }
    .Form-Item > .printtypes-container > div > span{
        width: 100%;
        display: flex;
        gap: 20px
    }
    .Form-Item > .printtypes-container > div > span > label{
        width: calc((100% - 20px)/2)
    }
    .Form-Item > .printtypes-container > div > span > label img{
        max-width: 250px
    }
    .quick-view__thumb .main img {
        max-width: 100%;
        height: 300px;
        object-fit: cover;
    }
    #titlePopupCate{
        margin-top: -10px;
    }
}
@media screen and (max-width: 768px) {
 .scroll{
    overflow-x : auto;
    white-space: nowrap;
  }

  .Form-Item > .printtypes-container > div > span{
    display: flex;
    gap: 20px;
    margin-right: 30px;
    width: auto
  }
  .Form-Item > .printtypes-container > div > span > label img{
    max-width: 150px
  }
  .quick-view__thumb .main img {
    width: 200px;
    height: 200px;
    object-fit: contain;
  }
}
.fill > a.choose{
    position: relative;
}
.fill > a.choose:after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 165, 0, 0.5);
    border: 5px solid transparent;
    left: 0;
    top: 0;
    transition: border-color 0.5s ease;
    border-color: rgba(204, 0, 0, 0.2);
    animation: borderPulse 1.5s ease-in-out infinite;
}
.fill > a.choose:before{
    content: "";
    position: absolute;
    width: 35px;
    height: 35px;
    background: url(../img/icon_check.svg) no-repeat center / contain;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: 1;
}
@keyframes borderPulse {
    0% {
      border-color: rgba(204, 0, 0, 0.2);
    }
    50% {
      border-color: rgba(204, 0, 0, 1);
    }
    100% {
      border-color: rgba(204, 0, 0, 0.2);
    }
}
/*style radio*/
.choosen-buttons label > input[type="radio"]{
    display: none;
}
.choosen-buttons label:has(> input[type="radio"]){
    position: relative;
    padding-left: 30px;
    cursor: pointer;
}
.choosen-buttons label:has(> input[type="radio"]):before,
.choosen-buttons label:has(> input[type="radio"]):after{
    content:"";
    position: absolute;
}
.choosen-buttons label:has(> input[type="radio"]):before{
    width: 20px;
    height: 20px;
    border-radius: 100%;
    border: 1px solid #ccc;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.choosen-buttons label:has(> input[type="radio"]):after{
    width: 16px;
    height: 16px;
    background:#04aeb8;
    border-radius: 100%;
    left: 2px;
    top: 50%;
    transform: translateY(-50%);
    transition: opacity .3s;
    opacity: 0;
}
.choosen-buttons label:has(> input[type="radio"]:checked):after{
    opacity: 1;
}
#swalContainer div:where(.swal2-container){
    z-index: 99990;
}
.option-price{
    margin: 10px 0 0;
}
.option-price__num{
    font-size: 18px;
    color: #c00;
    margin-left: 5px;
}
.option-price__unit{
    font-size: 13px;
    color: #c00;
    margin-left: 5px;
}
.option-price span{
    display: inline-block;
}
.c-button{
    background: #0056b3;
    color: #fff;
    padding: 5px 10px;
    height: 40px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .3s;
}
.c-button:hover{
    background: #ec5015;
}