/* A Modern CSS Reset */
/* Google font Icon */
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
/* Reset CSS */
*, *::before, *::after {
    box-sizing: border-box;
}

body, h1, h2, h3, h4, p, figure, blockquote, dl, dd {
    margin: 0;
}

ul[role="list"], ol[role="list"] {
    list-style: none;
}

html:focus-within {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    line-height: 1.5;
}

a:not([class]) {
    text-decoration-skip-ink: auto;
}

img, picture {
    max-width: 100%;
    display: block;
}

input, button, textarea, select {
    font: inherit;
}

select {
        -webkit-appearance: none;
        appearance: none;
}

@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }
    /* animationの制御は削除 */
    *, *::before, *::after {
        scroll-behavior: auto !important;
    }
}


/* "Cormorant Garamond",*/
     body {
            margin: 0;
            font-size:16px;
            font-family:"Hind","Noto Sans JP", serif;
            font-weight: 400;
            font-style: normal;
            margin: 0;
            padding: 0;
            min-height: 100dvh;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            background-color: #ffffff;
            color:#333333;

        }

        /* mainセクションの背景画像設定 */
        main {

            height: 100%;
        }

        header{ position: relative; width: 100%; top:0; left: 0;}
        h1,h2{
            font-family: "Cormorant Garamond", serif;
            font-weight: 500;
        }
        h3,h4,h5{ font-weight: 500;}
        /* 下半分のスタイル */
        .bottom-section {
            width: 100%; /* 画面全体の幅 */
            box-sizing: border-box; /* パディングを含めた幅に調整 */
            padding: 50px 50px 40px 50px;
            color: #333333;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .bottom-section h2{
            font-size: clamp(1.563rem, 1.222rem + 1.7vw, 2.5rem);
            letter-spacing: 0.25rem;
            font-weight: 500;
        }

        h2 > .ja{ font-size:83%;}
        .product-details {
            max-width: 1080px; /* 最大幅を1080pxに設定 */
            display: flex;
            align-items: center;
            margin: auto;
            flex-direction: column;
        }

        .product-details .product-desc{
            width: fit-content;
            margin: 30px auto;
            padding-left: 15px;
            padding-right: 15px;
        }
        .product-details .product-desc h2{
            text-align: center;
            margin-bottom: 30px;
        }

        .product-details .product-desc p{
            line-height: 2;
            letter-spacing: 0.085em;
            max-width: 780px;
            margin-bottom: 1rem;
        }

        .product-details .product-list{
            display: flex;
            align-items: flex-start;
            margin: auto;
            text-align: left;

        }
        .product-details .product-list .product-row{
            padding-left: 15px;
            padding-right: 15px;
        }

        .product-details .img-show {
            position: relative;
            z-index: 1;
            width: 470px;
            height: 470px;
        }

  
        /* 初期画像のスタイル */
        .img-show img {
            max-width: 470px;
            width: 100%;
            height: auto;
        }
        
              
        .product-info {
            letter-spacing: 0.075em;
        }

        .product-info h3 {
            font-size: 20px;
            margin: 20px auto;
            width: fit-content;
            font-weight: 400;
        }

        .product-info p {
            font-size: 16px;
            line-height: 1.8;
            margin-bottom: 20px;
        }
       .cart-box{
          display:flex;
          flex-direction:column;
          margin-left:auto;
          width:fit-content;
          justify-content:center;
          align-items:flex-end;
         }
        .price,
        .quantity,
        .purchase-btn {
            text-align: right; /* 右寄せ */
        }

        .price {
            font-size: 24px;
            font-weight: 500;
        }
        .price small{
            font-size:0.8rem;
        }

        .quantity {
            display: flex;
            justify-content: flex-end;
            align-items: center;
            margin-bottom: 20px;
        }

        .quantity label {
            margin-right: 10px;
        }

        .quantity select {
            padding: 5px;
            font-size: 1rem;
            width: 150px; /* ボタンと同じ幅に調整 */
           text-align:right;
           border:none;
           border-bottom: solid 2px #333333;
           background-color: #f0ebe4;
        }
        .quantity select option{ text-align: right;padding-left:70%;}
        .purchase-btn,
        .checkout-btn {
            background-color: #666666; /* デザインに合わせたボタンの色 */
            color: white;
            padding: 10px 30px;
            font-size: 18px;
            border: none;
            cursor: pointer;
            transition: background-color 0.3s;
            width: fit-content; /* ボタン幅を指定 */
            border-radius:5px;
        }

        .purchase-btn:hover,
        .checkout-btn:hover {
            background-color: #a5a5a5;
        }

        /* 年齢確認のオーバーレイ */
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(255, 255, 255, 1); /* 白の透過背景を0.95に変更 */
            z-index: 1000;
            display: flex;
            justify-content: center;
            align-items: center;
            color: black; /* テキストは黒 */
        }

        .overlay-content {
            background-color: transparent; /* 背景を透明にして、全体を白で覆う */
            color: black;
            padding: 10px;
            text-align: center;
            max-width: 500px;
        }

            /* アニメーションの基本設定 */
            @keyframes fadeIn {
                from { opacity: 0; }
                to { opacity: 1; }
            }

            @keyframes fadeOut {
                from { opacity: 1; }
                to { opacity: 0; }
            }

            /* 初期設定 */
            .overlay .logoarea, .overlay .overlay-text {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                opacity: 0;
                transition: opacity 1s;
            }

                    /* logoareaの初期状態（フェードイン） */
                    .overlay  .logoarea {
                        opacity: 0;
                    }

                    /* overlay-textの初期状態 */
                    .overlay .overlay-text {
                        opacity: 0;
                    }

        .overlay-content p {
            font-size: 16px;
            margin-bottom: 30px;
        }

        .overlay-content button {
            background-color: #959595;
            color: white;
            border: none;
            border-radius: 5px;
            padding: 10px 20px;
            font-size: 16px;
            cursor: pointer;
            margin: 5px;
            transition: background-color 0.3s;
            width: 150px;
        }
        #yes-btn{background-color: #666;}
        #no-btn:hover{ background-color: #666;}
        .hoverac { background-color: #666666; opacity: 0.5;}
        
        .overlay-content button:hover {
            background-color: #c0c0c0;
        }

        .logoarea{
           text-align: center;
           display: flex;
           margin: 0 auto;
           justify-content: center;
        } 
        .container {
            display: flex;
            justify-content: space-between;
            padding: 50px;
           font-family: "Noto Sans JP", sans-serif;
           font-weight:400;
           font-optical-sizing: auto;
           width:100%;
           max-width:1280px;
           margin:0 auto;
           min-height: calc(100dvh - 220px);

        }
        /* 上部の黒いロゴバー */
        .header-bar {
            background-color: #ffffff;
            padding: 20px 0;
            text-align: center;
            display:flex;
            align-items: center;
            justify-content: center;
            box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 0px 8px;

        }

        .header-bar img {
            width: 200px; /* ロゴサイズを調整 */
        }



        /* 左側の注文内容部分 */
        .order-details {
            width: 45%;
            padding: 20px;
            background-color: white;
            border: 1px solid #000;
            height: 100%;
            margin-top: 30px;
        }
        .order-inner{
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-direction: column;
        }
        .order-items{
            display: flex;
            width: 100%;
            align-items: center;
        }
        .order-details h2 {
            background-color: #333;
            color: white;
            width: fit-content;
            margin: 0 auto;
            padding: 0.25rem 3rem;
            text-align: center;
            transform: translate(0,-35px);
            font-size: 1.25rem;
        }

        .order-details img {
            max-width: 220px;
            width: 100%;
            height: 100%;
            margin-right: 15px;

        }
        .order-details  .cartitems { text-align: right;}
        .order-details  .cartitems p > span{
            font-size:120%;
        }
        small{ font-size: 80%;}
       hr{border:none; height: 1px; background-color: #666666;}

        .order-info {
            margin-top: 20px;
            font-size: 16px;
        }

        .order-info p {
            margin: 10px 0;
        }

        .total-area{
            margin-left: auto;
            width: fit-content;
            margin-top: 20px;
            text-align: right;
        }
        .total {
            font-weight: bold;

            border-top:double 3px #666666;
            padding-top: 0.5rem;
            text-align: right;
        }


        .total  > span{
            font-size:120%;
        }
        .cart-wrapper{
            width: 45%;
        }
        /* 右側の支払い方法部分 */
        .payment-methods {
            
            padding: 20px;
            background-color: white;
        }

        .payment-methods h2 {
            text-align: center;
            font-size: 20px;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .payment-methods h2::before,
        .payment-methods h2::after{
            content:"";
            display: block;
            width: 30px;
            border-bottom: solid 3px #666666;
            margin: 0 10px;

        }
        .mb-2{
            margin-bottom: 20px;
        }

        .payment-methods label {
            color:#333333;
            text-align: center;
            display: block;
            width: 100%;

        }
        

        .payment-confirm .payment-methods label{
            background-color: #d1d3d2;
            color:#333333;
        }
        .payment-description {
            margin-top: 10px;
            padding: 0 10px;
            font-size: 14px;
            color: #666;
        }
        /* 次へ進むボタン */
        .submit-button {
            text-align: center;
            margin-top: 30px;
        }

        .submit-button button {
            background-color: #666666;
            color: #ffffff;
            font-size: 18px;
            padding: 15px 30px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .submit-button button:hover {
            background-color: rgb(94, 1, 1);
        }
        .customer-info {
            display: block; /* 初期状態では非表示 */
            padding: 20px;
            background-color: #fff;
            border: 1px solid #ddd;
            border-radius: 10px;
            margin-top: 20px;
        }

        .customer-info h2 {
            text-align: center;
            font-size: 20px;
            margin-bottom: 20px;
        }

        .customer-info label {
            display: block;
            margin-bottom: 5px;
            font-size: 1rem;
            background-color: #ececec;
            padding: 0.25rem;
            
        }

        .customer-info input[type="text"] {
            width: 100%;
            padding: 10px;
            margin-bottom: 20px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 14px;
            box-sizing: border-box;
        }

        .customer-info.active{
            display: block !important;
        }

        .customer-info.active label{ background-color: #d1d3d2; font-weight: 500; padding: 0.25rem; }
        .customer-info.active .name-inputs,
        .customer-info.active .item-row{
            border-bottom: solid 1px #919191;
            padding-bottom: 0.5rem;
            margin-bottom: 1.35rem;
        }


        .name-inputs {
            display: flex;
            justify-content: flex-start;
            flex-wrap: wrap;
        }

        .name-inputs .input-item {
            width: 48% !important;
            margin-right: 5px;
        }

            /* 生年月日選択のスタイル */
            .form-item.birth {
                margin-bottom: 20px;
            }

            .input-name {
                margin-bottom: 10px;
                font-size: 14px;
            }

            .input-box {
                display: flex;
                align-items: center;
            }

            .select-wrap {
                margin-right: 10px;
            }

            .select-wrap select {
                padding: 5px;
                border: 1px solid #ddd;
                border-radius: 5px;
                background-color: #fff;
            }
            .text-center{ text-align: center;}
            .require-text,
            .error {
                color: rgb(185, 0, 0);
                margin-left: 5px;
                background-color: #e6c9d8;
                padding: 2px;
            }
            .error{ width: 100%; display: block;}
            .customer-info input[type="text"] +.error{
                margin-top: -20px;
                margin-bottom: 20px;
            }
            .customer-info select +.error{
                width: fit-content;

            }

        .submit-button {
            text-align: center;
            margin-top: 30px;
        }

        .submit-button input[type="submit"] {
            background-color: rgb(119, 1, 1);
            color: white;
            font-size: 18px;
            padding: 15px 30px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .submit-button input[type="submit"]:hover {
            background-color: darkred;
        }

        .back-link {
            margin-top: 20px;
            text-align: center;
        }

        .back-link a {
            color: gray;
            text-decoration: none;
        }

        .contents{
            padding:50px;

        }

        .contents .inner{
            width: 100%;
            max-width: 1080px;
            font-weight:400;
            font-optical-sizing: auto;
            display: flex;
            margin: 0 auto;
            flex-direction: column;
        }
        .contents .inner h2{ width: 100%; text-align: center; margin-bottom: 30px; font-size:24px; font-weight: 500; letter-spacing: 0.25rem;}
        .contents .inner table{ width: 80%; margin: 0 auto;border-spacing: 0;}
        .contents .inner table th, .contents .inner table td{ padding:0.5rem; border-bottom: solid 1px #cdcdcd;}
        .contents .inner table th{ width:30%; font-weight: 400; text-align: left; background-color: #dedede;}
        .contents img{ width: 100%; height: auto; max-width: 890px; margin: 0 auto;}

        .footer{ text-align: center;}
        .footer { font-size:0.8rem; }
        .bottom-section + .footer a{  color:rgba(255,255,255,0.5) !important; text-decoration: none;}
        .bottom-section + .footer .copyright{ margin-top:0.5rem;}
        .common{ background-color: #f1f0f0;}
        .links , 
        .footer{ 
            font-weight:400;
            font-optical-sizing: auto; text-align: center;
            margin: 20px auto 0 auto;
        }
        .copyright{ padding-bottom: 5px;}
        .footer a{ text-decoration: none !important; color:#666666;}
        .inner .row{ margin: 1rem auto; width: 100%;}
        .inner .row h3{ font-size: 1rem; font-weight: 600; }
        .inner .row .row-inn{ background-color: #ffffff; padding: 1.5rem; margin: 0.75rem auto;}
        .inner .row .row-inn dl{ margin: 1rem 0;}
        .inner .row .row-inn dt{ font-weight: 500;}
        .inner .row .row-inn dd{padding-top:0.75rem; padding-bottom: 2rem;}
        .inner .row .row-inn dd:last-child{ padding-bottom: 0;}
        h4 + p{ margin-top: 1.2rem;}

        .text-content-center{
            width:fit-content; margin:1rem auto; max-width:90w;
        }
        .mobile{ display: none;}
        .mt-3{ margin-top:1.5rem;}
        .soldout{ 
          background: #dcdcdc;
          padding: 0.5rem 1rem;
          font-size: 18px;
        }
 @media screen and (max-width: 767px) { 
    input,select{ font-size:16px;}
    .overlay-content{ padding: 15px;}
       main{
        background-size: auto 80%;
        background-position: right -100px center;
        }
        .header-bar{ padding-top: 1rem; padding-bottom: 1rem; z-index: 99;}
        .header-bar img {            width: 100px;          }
          .bottom-section{
            padding: 1rem;
          }

          .product-details{
            flex-direction: column;
            width: 100%;

        }
        .product-details form{ width: 100%;}

        .product-details .product-list{
            flex-direction: column;
            width: 100%;
        }
        .product-details .product-list .product-row{ 
            width: 100%;
            margin-bottom: 30px;
        }
        .product-details img{
            margin-right: 0;
        }
        .product-details .img-show{ 
            width: calc(100vw - 60px);
            height: calc(100vw - 60px);
        }

        
        .cart-box{
            margin-right: auto;
            justify-content: center;
            align-items: center;
        }
        .container{            flex-direction: column;    padding: 1rem;    }
        .order-inner{            flex-direction: column;        }
        .order-details{ width: 100%;}
        .cart-wrapper {            width: 100%;          }
        .order-details img { max-width: 120px;}
        .contents{ padding: 50px 1rem;}
        .contents .inner table{ width: 100%; }
        .contents .inner table th, .contents .inner table td{ display: flex; flex-direction: column; width: 100%;}

        h2,h3{overflow-wrap: break-word;
            word-break: keep-all;
            margin-left: auto;
            margin-right: auto;

        }
        .contents .inner h2{ font-size:20px; letter-spacing: normal; }
        .links{ margin-bottom: 10px;}

        .text-content-center{
            width: 100%;
        }
        .mobile{ display: block;}
        .text-content-center .box-center{ width: fit-content; margin-left: auto; margin-right: auto; max-width: 90vw; text-align: center;}
        .text-content-center p+p{ margin-top: 15px;}

}
.text-danger{ padding:1rem; text-align:center; color:#bf2163; border:solid 1px #bf2163; border-radius:5px; margin:2rem auto;}
 
.dummy-image{ background-color:#dedede; height:300px; width:400px; max-width:100%;}
.movie-link{ border:solid 1px #333333; padding:1rem; text-align:center; width:fit-content; margin:2rem auto;}

.marketing-detail{
        h3{ margin-top:3rem; margin-bottom:1rem; background-color: #988384; padding:0.5rem 1rem; color:#ffffff;}
        h4{ margin-top:1rem; margin-bottom:1rem; border-bottom:solid 1px #cccccc;}
}

.mt-3{ margin-top:2rem;}
.mt-1{ margin-top:1rem;}

main.page-danner{ background-color:#f2f0f0;}
.page-danner h2 > .ja {
  font-size: 90%;
}
.page-danner .product-details {
  max-width: 100%;
}
.page-danner .product-desc{
  max-width:80%;
}
.page-danner .product-details .product-desc p {
  max-width:1080px;
  margin-left:auto;
  margin-right:auto;
}

.page-danner .product-details .product-list .product-row{
  margin:0 1rem;
  padding-top:1.5rem;
  padding-bottom:1.5rem;
  /*box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;*/
}

.page-danner .product-details .product-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1080px;
    gap: 10px; /* セル間の隙間を設定 */
}

.page-danner .product-details .product-row {
    display: flex; /* フレックスボックスを使用 */
    flex-direction: column; /* 縦方向に配置 */
    justify-content: center; /* 中央揃え */
    align-items: center; /* 中央揃え */
    overflow: hidden; /* セル外に要素が出ないように */
}

.page-danner .product-details .product-row .img-show {
    width: 100%;
    height: 100%;
    display: flex; /* 中央揃え用のフレックスボックス */
    justify-content: center; /* 水平方向に中央揃え */
    align-items: center; /* 垂直方向に中央揃え */
    aspect-ratio: 1 / 1; /* セルを正方形に保つ */
}

.page-danner .product-details .product-row .img-show img {
    max-width: 100%; /* 横幅を親要素内に制限 */
    max-height: 100%; /* 縦幅を親要素内に制限 */
    object-fit: contain; /* アスペクト比を維持しながら縮小 */
    display: block; /* 余計な隙間を防ぐ */
}


.page-danner .slick-prev::before, .slick-next::before {
   color:#dedede;
}
.page-danner .slick-prev,.slick-next{ z-index:20;}
.page-danner .slick-prev{ left:0;}
.page-danner .slick-next{ right:0;}

 @media screen and (max-width: 767px) { 
  .page-danner .product-desc {  max-width: 100%;}
  .page-danner .product-details .product-list{grid-template-columns: repeat(1, 1fr);}
   .page-danner .product-details .product-list .product-row{ margin:2rem auto;}
  .page-danner .foobtn{ position:fixed; bottom:0; background-color:#ffffff; padding:0.5rem; left:0; z-index:80;}
  .page-danner .text-danger{ margin:0.5rem; font-size:12px; padding:0.5rem;}
   .page-danner .product-details .product-desc{ font-size:85%; padding-left:0; padding-right:0;}
   .page-danner .bottom-section{ margin-bottom: 130px;}
 }
}
}