@charset "UTF-8";

/* ========================================
 * 1. 共通設定 (Common & Reset)
 * ======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1.6rem;
    line-height: 1.8;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
p {
    margin: 0;
}

.wrapper {
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    min-height: unset;
}

/* ========================================
 * 2. セクション1: ヘッダー・ナビゲーション
 * ======================================== */
.site-header {
    padding: 20px;
    text-align: center;
}

.header-accessory {
    text-align: center;
    margin-top: -2px;
}

/* ▼ 販売開始日時文言 */
.sale-announcement {
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    padding: 10px 20px 0;
    background-color: #fff;
    color: #000;
}

/* ▼ カウントダウンタイマー */
#countdown {
    background-color: #fff;
    position: relative;
    padding: 0 20px;
}

.countdown-inner {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(2, 2, 2, 0.5);
}

.countdown-title {
    font-size: 1.2rem;
    line-height: 2.4rem;
    white-space: nowrap;
}

.timer {
    display: flex;
    align-items: baseline;
    gap: 8px;
    white-space: nowrap;
}

.timer-unit {
    display: flex;
    align-items: baseline;
}

.time-number {
    font-size: 2.4rem;
    font-weight: bold;
    margin-right: 4px;
}

.time-label {
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 2.4rem;
}

/* ▼ メインビジュアル */
#kv {
    text-align: center;
    position: relative;
    overflow: hidden;
}

#kv h1 {
    margin: 0;
    font-size: 100%;
    font-weight: normal;
}

.kv-image {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 0;
}

/* ▼ アンカーリンクナビゲーション (オリジナル) */
#sticky-nav-origin {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    transform: translateX(0);
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 550px;
    margin-top: -150px;
    margin-bottom: 0;
    z-index: 40;
}

#sticky-nav-origin ul {
    display: flex;
    justify-content: center;
    align-items: center;
}

#sticky-nav-origin li {
    position: relative;
}

#sticky-nav-origin li+li {
    margin-left: -40px;
}

#sticky-nav-origin li:nth-child(1) {
    z-index: 4;
}

#sticky-nav-origin li:nth-child(2) {
    z-index: 3;
}

#sticky-nav-origin li:nth-child(3) {
    z-index: 2;
}

#sticky-nav-origin li:nth-child(4) {
    z-index: 1;
}

.nav-anchor {
    display: inline-block;
    width: 134px;
    height: 134px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.2s ease;
}

.nav-anchor:hover {
    transform: scale(1.05) translateZ(0);
    z-index: 5;
    position: relative;
}

.nav-gokuyume {
    background-image: url('/cms/img/fukubukuro2026/lantern-gokuyume.png');
}

.nav-matsu {
    background-image: url('/cms/img/fukubukuro2026/lantern-matsu.png');
}

.nav-take {
    background-image: url('/cms/img/fukubukuro2026/lantern-take.png');
}

.nav-ume {
    background-image: url('/cms/img/fukubukuro2026/lantern-ume.png');
}


/* ========================================
 * 3. 商品セット共通スタイル (PRODUCT SETS)
 * ======================================== */

.product-set {
    padding: 40px 20px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.product-info {
    position: relative;
    z-index: 2;
}

.product-set h2 {
    font-size: 100%;
    font-weight: normal;
    margin-bottom: 20px;
}

.product-set .product-title {
    margin: 0 auto;
    height: auto;
}

.catchphrase {
    margin-bottom: 42px;
}

.product-catchphrase {
    height: auto;
    margin: 0 auto;
}

.product-set .product-image {
    margin-bottom: 0;
}

.product-set .product-price {
    font-size: 3.6rem;
    font-weight: 600;
}

.product-set .add-to-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    max-width: 320px;
    height: 70px;
    padding: 0 40px;
    border: 4px solid #000;
    border-radius: 50px;
    background-color: #ffffff;
    overflow: hidden;
    text-decoration: none;
    color: #000;
    margin-bottom: 40px;
}

.btn-text {
    position: relative;
    z-index: 2;
    font-size: 1.8rem;
    font-weight: bold;
    white-space: nowrap;
}

.btn-wave {
    display: none;
    position: absolute;
    top: -1%;
    left: 50%;
    width: 3000%;
    height: 3000%;
    fill: #f8e132;
    z-index: 1;
    transform-origin: center center;
    animation: wave-animation 35s linear infinite;
}

@keyframes wave-animation {
    0% {
        transform: translateX(calc(-50% + 2.5px)) translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateX(calc(-50% + 0px)) translateY(2.5px) rotate(-90deg);
    }

    50% {
        transform: translateX(calc(-50% - 2.5px)) translateY(0px) rotate(-180deg);
    }

    75% {
        transform: translateX(calc(-50% + 0px)) translateY(-2.5px) rotate(-270deg);
    }

    100% {
        transform: translateX(calc(-50% + 2.5px)) translateY(0px) rotate(-360deg);
    }
}

/* ▼ スタッフコメント共通 */
.staff-comment {
    margin-top: 30px;
    background-color: #E5BD65;
    border-radius: 20px;
    padding: 32px 17px 20px 20px;
    position: relative;
    z-index: 3;
    border: #fff 1px solid;
    font-size: 1.2rem;
    color: #333;
}

.staff-label {
    position: absolute;
    top: -16px;
    left: 20px;
    transform: none;
    background-image: url(/cms/img/fukubukuro2026/lavel_staff.svg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-color: transparent;
    width: 100px;
    height: 38px;
    padding: 10px 0 0 0;
    font-family: "Inter", sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    border-radius: 0;
    box-shadow: none;
    text-align: center;
    margin-left: -8px;
}

.staff-comment-inner {
    padding-top: 3px;
    display: flex;
    gap: 12px;
    text-align: left;
    align-items: center;
}

.comment-body {
    flex-grow: 1;
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.staff-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    margin-top: 0;
    flex-shrink: 0;
}

.staff-image {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    margin: 0 0 3px 0;
}

.staff-name {
    font-size: 1.1rem;
    font-weight: normal;
    color: #333;
    white-space: nowrap;
}

/* ▼ 価格・詳細共通 */

.set-summary {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.price-area {
    margin-top: 0;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.price-details {
    font-size: 1.2rem;
    line-height: 1.3;
    text-align: left;
}

/* 元のセレクタ (SP & Default) */
.set-details-list .list-item-box {
    margin-bottom: 20px;
    padding: 0 5px;
}

.set-details-list .list-item-box p {
    margin: 0;
    line-height: 1.5;
}

.set-details-list .list-item-box p:first-child {
    font-weight: normal;
    font-size: 1.2rem;
    margin-bottom: 8px;
    background-color: rgba(255, 255, 255, 0.6);
    padding-top: 4px;
    padding-bottom: 4px;
    border-radius: 4px;
    text-align: center;
}

.set-details-list .list-item-box p:not(:first-child) {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: left;
    color: #000;
}

/* ▼ 背景装飾共通 */
.product-set::before,
.product-set::after {
    content: '';
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 1;
}

.product-set::before {
    background-image: url('/cms/img/fukubukuro2026/cloud_background_left.png');
    width: 191.7px;
    height: 96.53px;
    top: 120px;
    left: -55px;
}

.product-set::after {
    background-image: url('/cms/img/fukubukuro2026/cloud_background_right.png');
    width: 160px;
    height: 107px;
    top: 60px;
    right: -68px;
}

/* ▼ アニメーション雲共通 */
.anim-clouds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    overflow: hidden;
    pointer-events: none;
}

.anim-cloud {
    position: absolute;
    opacity: 1;
    transition: opacity 3s, transform 3s;
    max-width: none;
}

.cloud-1 {
    width: 1132px;
    height: 303.72px;
    top: 80px;
    left: -150px;
    transform: translateX(-5%);
    z-index: 3;
}

.cloud-2 {
    width: 265.37px;
    height: 172.44px;
    top: 330px;
    right: -100px;
    left: auto;
    transform: translateX(-5%);
    z-index: 2;
}

.cloud-3 {
    width: 374.18px;
    height: 166.36px;
    top: 338px;
    left: -180px;
    bottom: auto;
    right: auto;
    transform: translateX(5%);
    z-index: 1;
}

.anim-clouds.is-animated {
    pointer-events: none;
}

.anim-clouds.is-animated .cloud-1 {
    transform: translateX(150%);
    opacity: 0;
}

.anim-clouds.is-animated .cloud-2 {
    transform: translateX(150%);
    opacity: 0;
}

.anim-clouds.is-animated .cloud-3 {
    transform: translateX(-150%);
    opacity: 0;
}


/* ========================================
 * 4. セクション2, 3, 4, 5: 商品セット個別調整 (SP-Specific)
 * ======================================== */

/* ▼ 背景色 */
#set-gokuyume {
    background-color: #DBC837;
    margin-top: 9px;
    position: relative;
    z-index: 50;
}

#set-matsu {
    background-color: #FF8F65;
}

#set-take {
    background-color: #52D0C6;
}

#set-ume {
    background-color: #FFC3C3;
    background-image: url('/cms/img/fukubukuro2026/set_section_accessary.png');
    background-repeat: no-repeat;
    background-position: 0 bottom;
    padding: 40px 20px 160px;
    background-size: contain;
}


/* ▼ 極夢セット (GOKUYUME) - 独自調整 */
#set-gokuyume .product-title {
    width: 153px;
    margin: 0 auto;
    transform: none;
}

#set-gokuyume .product-catchphrase {
    width: 290px;
    margin: 0 auto;
    transform: none;
}

#set-gokuyume .product-image {
    margin-top: -30px;
    margin-bottom: 24px;

    width: calc(100% + 36px);
    margin-left: -18px;
    margin-right: -18px;
}

#set-gokuyume .product-image img {
    transform: translateX(0);
}

#set-gokuyume .set-details-list {
    margin-top: 0;
}

#set-gokuyume .set-summary {
    margin-top: 0;
}


/* ▼ 松セット (MATSU) - 独自調整 */
#set-matsu .product-catchphrase {
    width: 312.78px;
    height: auto;
    transform: translateX(0);
}

#set-matsu .product-title {
    width: 102.39px;
    height: auto;
    transform: translateX(0);
}

#set-matsu .product-image {
    /* width: 367.38px; */
    height: auto;
    margin: -80px auto 24px auto;
}


/* ▼ 竹セット (TAKE) - 独自調整 */
#set-take .product-catchphrase {
    width: 297.02px;
    height: auto;
    transform: translateX(0);
}

#set-take .product-title {
    width: 102.33px;
    height: auto;
    transform: translateX(0);
}

#set-take .product-image {
    /* width: 355.95px; */
    height: auto;
    margin: 0 auto 24px;
}

#set-take .product-image img {}

#set-take .set-details-list {}


/* ▼ 梅セット (UME) - 独自調整 */
#set-ume .product-catchphrase {
    width: 219.09px;
    height: auto;
    transform: translateX(0);
}

#set-ume .product-title {
    width: 102.87px;
    height: auto;
    transform: translateX(0);
}

#set-ume .product-image {
    /* width: 331.51px; */
    height: auto;
    margin: -50px auto 24px auto;
}

#set-ume .product-image img {
    transform: translateX(0) translateY(-15px);
}

#set-ume .set-details-list {}


/* ========================================
 * 5. セクション6, 7, 8: その他のセクション
 * ======================================== */

#details,
#reviews,
#notes {
    padding: 50px 20px;
    background-color: #fff;
}

/* ▼ 詳細セクション (DETAILS) */
#details {
    background-color: #f7f7f7;
    text-align: center;
    background-image: url('/cms/img/fukubukuro2026/set_section_accessary2.png');
    background-repeat: no-repeat;
    background-position: 0 bottom;
    padding: 40px 20px 160px;
    background-size: contain;
}

.detail-wrapper {
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    /* padding-left: 20px;
    padding-right: 20px; */
}

.details-copy-wrapper {
    margin-bottom: 12px;
    text-align: center;
    padding: 0 20px;
}

.details-copy {
    width: 200px;
    height: auto;
    margin: 0 auto;
}

.details-main-title {
    font-size: 2.8rem;
    font-weight: bold;
    color: #000;
    position: relative;
    margin-bottom: 40px;
}

/* ▼ カテゴリタイトル */
.beer-category-title,
.goods-category-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #189C00;
    /* 緑に修正 */
    padding: 4px 0;
    display: inline-block;
    margin: 0 auto 20px;
    /* タイトルから背景画像まで40px */
    text-align: center;
    position: relative;
    border-top: #189C00 1px solid;
    border-bottom: #189C00 1px solid;
}

/* --- 限定醸造ビール --- */
.limited-beer-wrapper {
    /* margin-bottom: 60px; */
    text-align: center;
    /* beer-category-titleを中央寄せにするため */
}

.product-cards-container {
    /* カード自体を中央に寄せるため */
    display: block;
    overflow-x: visible;
    padding-bottom: 0;
    text-align: center;
    margin-top: -40px;
    /* タイトルとの間隔を40pxに調整 */
}

.product-card {
    flex-shrink: 0;
    width: 100vw;
    /* 画面幅いっぱいに設定 */
    /* 高さを自動にしてコンテンツに応じたサイズにする */
    margin-left: calc(-50vw + 50%);
    /* 中央から画面端まで拡張 */
    padding: 20px 20px;
    /* 上下のパディングを増やして画像の余白を確保 */
    background-color: transparent;
    /* 背景色を削除 */
    border: none;
    /* 枠線を削除 */
    border-radius: 0;
    /* 角丸を削除して画面端まで表示 */
    text-align: center;
    /* カード内のテキストを中央に寄せる */
    /* margin-bottom: 80px; */
    /* product-cardのマージンボトムは80px */
    position: relative;
    overflow: visible;
    /* overflowをvisibleに変更して画像が切れないようにする */
    display: block;
    /* flexを解除してブロック要素に戻す */
}

.product-card:last-child {
    margin-bottom: 0;
}

.product-image-container {
    position: relative;
    width: 100vw;
    /* 画面幅いっぱいに設定 */
    /* height: calc(100vw * 365 / 375); */
    /* 365/375の縦横比を維持 */
    /* margin: 40px 0 0 0; */
    /* 左右のマージンを0にして確実に画面幅いっぱいに */
    left: 50%;
    transform: translateX(-50%);
    /* 中央寄せを確実にする */
    background-color: transparent;
    border-radius: 0;
    overflow: visible;
    display: flex;
    /* flexに変更して中央寄せを実現 */
    justify-content: center;
    /* 水平方向の中央寄せ */
    align-items: flex-start;
    /* 上寄せに変更してビール画像の位置を調整 */
    padding-top: 40px;
    /* 背景画像の上端からビール画像まで40px */
    z-index: 1;
}

/* 背景の放射状の点線をproduct-image-containerに設定 */
.product-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/cms/img/fukubukuro2026/product_background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: 0;
    pointer-events: none;
}

.product-image-container img {
    object-fit: contain;
    z-index: 2;
    max-height: 50%;
}

.limited-product-image {
    max-width: 50%;
}

/* テキスト要素を中央寄せに調整 */
.product-card>div {
    /* 画像以外のテキストブロック全体 */
    text-align: center;
    position: relative;
    z-index: 2;
    /* max-width: 375px; */
    /* コンテンツの最大幅を375pxに変更 */
    /* margin: 32px auto -150px auto */
    /* 画像とテキスト間に32pxのスペースを確保 */
}

.product-name--wrap {
    position: relative;
    width: max-content;
    margin-inline: auto;
}

/* 新年限定バッジの調整 */
.new-year-badge {
    position: absolute;
    top: 0px;
    /* 位置を少し上に調整 */
    top: -70px;
    right: -90px;
    z-index: 10;
    /* 以前のテキストバッジのスタイルをリセット/削除 */
    background-color: transparent;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
    /* 軽い影を追加 */
}

.product-name {
    font-size: 2.4rem;
    font-weight: bold;
    margin: 32px 0 16px;
    /* ビール名とproduct-subtitleの間は16px */
    color: #333;
    line-height: 1.2;
}

.product-subtitle {
    font-size: 1.8rem;
    /* 18pxに変更 */
    font-weight: bold;
    margin-bottom: 4px;
    /* product-subtitleとproduct-detailsの間は4px */
    color: #333;
    line-height: 1.2;
}

.product-details {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 16px;
    /* product-detailsとproduct-details-extraの間は16px */
    line-height: 1.4;
    text-align: center;
}

.product-details-extra {
    font-size: 1.3rem;
    /* 13pxに変更 */
    font-weight: bold;
    color: #333;
    margin-top: 0;
    margin-bottom: 8px;
    /* product-details-extraとproduct-descriptionの間は8px */
    text-align: center;
}

.product-description {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 8px;
    /* product-descriptionとlink-textの間は8px */
    text-align: left;
    margin-left: auto;
    margin-right: auto;
}

.link-text {
    margin-top: 0;
    margin-bottom: 0;
    /* padding-bottom: 40px; */
    /* 商品カード間の重なりを防ぐために80pxの余白を追加 */
    clear: both;
    text-align: right;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.link-text a {
    font-size: 1.3rem;
    /* 13pxに変更 */
    color: #000;
    /* 黒に修正 */
    text-decoration: underline;
}

/* --- 限定グッズ --- */
.limited-goods-wrapper {
    margin-top: 80px;
    /* padding-top: 120px; */
}

.goods-items-container {
    display: flex;
    flex-direction: column;
}

.goods-item {
    padding: 20px 0;
    text-align: left;
}

.goods-title {
    font-size: 2.4rem;
    font-weight: bold;
    color: #000;
    padding-bottom: 8px;
    margin-bottom: 10px;
    text-align: center;
    margin-top: 0;
    /* 中央寄せに変更 */
}

.goods-description {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.goods-sub-link {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.goods-sub-link a {
    color: #007bff;
    text-decoration: underline;
}

/* グッズカルーセル (横スクロール) */
.goods-carousel {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    overflow-x: scroll;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    margin: 0;
    max-width: none;
    /* スクロールバー非表示（任意） */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.goods-carousel::-webkit-scrollbar {
    display: none;
}

.carousel-track {
    transition: transform 0.3s ease;
}

.carousel-track .slick-slide {
    width: 335px;
    margin: 0;
}

.carousel-track .slick-list {}

.carousel-track.slick-initialized {
    display: block;
}

.carousel-track .slick-track {
    display: flex;
}

.carousel-slide {
    flex-shrink: 0;
    height: auto;
    display: inline-block;
    border-radius: 8px;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    /* カンプの黄色い枠線のためにmarginと::afterを使用 */
    position: relative;
    z-index: 2;
}

.carousel-btn,
.slick-prev,
.slick-next {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: normal;
    font-family: 'Arial';
}

.goods-item-pairchopsticks .slick-prev,
.goods-item-pairchopsticks .slick-next {
    top: 34%;
}

.carousel-btn:hover,
.slick-prev:hover,
.slick-next:hover {
    background-color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev,
.slick-prev {
    left: 10px;
}

.carousel-btn-next,
.slick-next {
    right: 10px;
}

/* Slick.jsのデフォルトスタイルをリセット */
.slick-prev:before,
.slick-next:before {
    display: none;
}

/* カルーセル内のキャプション */
.slide-caption {
    /* position: absolute; */
    bottom: 0;
    left: 0;
    width: 100%;
    font-size: 1.3rem;
    line-height: 1.5;
    text-align: left;
    padding: 8px 16px;
    color: #333;
    z-index: 3;
    white-space: normal;
    /* キャプションのテキストは折り返す */
}

/* アーティスト情報 */
.artist-content--wrap {
    margin-top: 20px;
    position: relative;
}

.artist-content {
    padding: 30px 20px 20px;
    background-color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.artist-title {
    position: absolute;
    top: -20px;
    left: 20px;
    transform: none;
    background-image: url(/cms/img/fukubukuro2026/artist-title-bg.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-color: transparent;
    background-position: 0px 0px;
    height: 38px;
    /* font-family: "Inter", sans-serif; */
    font-size: 1.1rem;
    font-weight: 400;
    color: #333;
    border-radius: 0;
    box-shadow: none;
    text-align: center;
    margin-left: -15px;
    padding: 10px 38px 0 28px;
}

.artist-text {
    flex-grow: 1;
    font-size: 1.2rem;
    line-height: 1.6;
}

.artist-social-link {
    color: rgb(2, 2, 2, 0.6);
    text-decoration: underline;
}

.artist-image {
    width: 82px;
    height: 82px;
    flex-shrink: 0;
}

/* --- その他逸品 --- */
.core-products-wrapper {
    margin: 60px 0;
}

.core-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 10px;
    justify-items: center;
    padding-top: 20px;
}

.small-product-card {
    background-color: #fff;
    border-radius: 12px;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);  */
    text-align: center;
    width: 100%;
    position: relative;
    min-height: 330px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.small-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.small-product-image {
    width: 100%;
    height: auto;
    margin-bottom: 16px;
    border-radius: 8px;
}

.small-product-name {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 12px;
    color: #333;
    line-height: 1.3;
    padding: 0 13px;
    text-align: left;
}

.small-product-description {
    font-size: 1.3rem;
    line-height: 1.5;
    color: #666;
    margin-bottom: 16px;
    text-align: left;
    padding: 0 13px;
}

.small-product-description.note {
    font-size: 11px;
    color: rgba(0, 0, 0, 0.3);
}

.small-product-card::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 60px;
    height: 60px;
    background-color: #f8e132;
    background-image: url('/cms/img/fukubukuro2026/ionic-ios-arrow-forward.png');
    background-position: 18px 14px;
    background-repeat: no-repeat;
    border-radius: 50%;
}

/* --- 注意事項 --- */

.notes-wrap {
    background-color: #F6F7F7;
    padding: 48px 20px;
}

.notes-wrap .section-title {
    font-size: 30px;
    font-weight: 900;
    text-align: center;
    color: #000;
}

.notes-wrap .notes-content {
    margin-top: 36px;
}

.note-heading {
    font-size: 15px;
    margin-bottom: 16px;
}

.note-list {
    font-size: 12px;
    padding-left: 1em;
    text-indent: -1em;
}

.note-list li:not(:last-of-type) {
    margin-bottom: 12px;
}

.note-list:not(:last-of-type) {
    margin-bottom: 24px;
}

/* ========================================
 * 7. セクション9: フッター・追従ナビ
 * ======================================== */
.site-footer {
    background-color: #DBC837;
    padding: 30px 20px;
    text-align: center;
}

.site-footer small {
    font-size: 1.2rem;
}

/* ▼ 追従アンカーリンク */
#fixed-nav {
    position: fixed;
    bottom: 0;
    top: auto;
    left: 0;
    width: 100%;
    background-color: transparent;
    box-shadow: none;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

#fixed-nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    max-width: 900px;
    margin: 0 auto;
}

#fixed-nav li {
    position: relative;
}

#fixed-nav li+li {
    margin-left: -40px;
}

#fixed-nav li:nth-child(1) {
    z-index: 4;
}

#fixed-nav li:nth-child(2) {
    z-index: 3;
}

#fixed-nav li:nth-child(3) {
    z-index: 2;
}

#fixed-nav li:nth-child(4) {
    z-index: 1;
}

#fixed-nav .nav-anchor {
    width: 134px;
    height: 134px;
    margin-bottom: -30px;
}

body.show-fixed-nav #fixed-nav {
    transform: translateY(0);
}


/* ========================================
 * 7. PC向けスタイル (PC: 768px以上)
 * ======================================== */

/* -------------------------------------- */
/* --- Tablet (600px - 1023px) --- */
@media (min-width: 600px) {

    /* 修正1: 共通設定 */
    .wrapper {
        padding-left: 30px;
        padding-right: 30px;
    }

    .product-set {
        padding: 30px 30px 48px;
    }

    #details,
    #reviews,
    #notes {
        padding: 60px 30px;
    }

    /* 修正2: KVの背景化 (PC KV画像をTabletでも利用) */
    #kv {
        background-color: #F88521;
        overflow: visible;
        z-index: 10;
        margin-bottom: -75px;
    }

    #kv h1 {
        background-image: url('/cms/img/fukubukuro2026/kv_pc.png');
        background-size: 100% auto;
        background-position: center top;
        background-repeat: no-repeat;
        height: 0;
        padding-bottom: 55%;
        max-width: 1440px;
        margin: 0 auto;
        position: relative;
    }

    .kv-image {
        display: none;
    }

    /* 修正3: ナビゲーションの位置とサイズをTablet向けに初期コードから復元 */
    #sticky-nav-origin {
        position: sticky;
        top: 0;
        left: 0;
        right: 0;
        transform: translateX(0);
        max-width: calc(0.6548 * 100vw - 42.88px);
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        padding-right: 0;
        margin-top: calc(48.86px - 0.2381 * 100vw);
    }

    .nav-anchor {
        width: calc(0.2595 * 100vw - 80.7px);
        height: calc(0.2595 * 100vw - 80.7px);
    }

    #sticky-nav-origin li+li {
        margin-left: calc(-0.0845 * 100vw + 25.7px);
    }

    /* 修正4: 最初のセクションの位置調整 */
    #set-gokuyume {
        margin-top: 0;
        z-index: 5;
    }

    /* 追従ナビゲーションはTabletでも表示維持 */
    #fixed-nav {
        display: block;
    }
}


/* -------------------------------------- */
/* --- PC (1024px以上) --- */
@media (min-width: 1024px) {

    /* ★修正1: コンテンツの最大幅を1200pxに設定 */
    .wrapper {
        max-width: 1400px;
        /* 1200pxは維持 */
        padding-left: 100px;
        /* 100pxは維持 */
        padding-right: 100px;
        /* 100pxは維持 */
        min-height: unset;
    }

    /* #details, #reviews, #notesセクションのラッパーも1200pxに */
    #details .wrapper,
    #reviews .wrapper,
    #notes .wrapper {
        max-width: 1200px;
    }

    /* ▼ 販売開始日時文言 (PC調整) */
    .sale-announcement {
        padding: 10px 100px;
        /* 100pxは維持 */
        font-size: 2.0rem;
    }

    /* 修正2: ヘッダー装飾 */
    .header-accessory {
        position: relative;
        z-index: 20;
        background-image: url('/cms/img/fukubukuro2026/header_accessary_pc.png');
        background-size: cover;
        background-position: top center;
        background-repeat: no-repeat;
        height: 50px;
        margin-top: 0px;
        margin-bottom: 0;
        z-index: 20;
        width: 100%;
        position: relative;
        left: 0;
        transform: none;
    }

    .header-accessory img {
        display: none;
    }

    .site-header {
        position: relative;
        z-index: 30;
    }

    /* 修正3: カウントダウンタイマー */
    #countdown {
        position: relative;
        z-index: 50;
        margin-bottom: 0;
        padding-top: 0px;
        width: 100%;
    }

    .countdown-content {
        max-width: 440px;
        margin: -5px auto 0;
        padding-left: 0;
        /* 100pxは維持 */
        padding-right: 0;
        /* 100pxは維持 */
    }

    .countdown-inner {
        padding-top: 0px;
        margin-bottom: 0;
        border-bottom: 2px solid rgba(0, 0, 0, 0.5);
    }

    .countdown-title {
        font-size: 1.8rem;
    }

    .timer {
        gap: 12px;
    }

    .time-number {
        font-size: 2.8rem;
        margin-right: 6px;
    }

    .time-label {
        font-size: 1.6rem;
    }

    /* 修正4: メインビジュアル (KV) */
    #kv {
        background-color: #F88521;
        padding-top: 0;
        overflow: visible;
        width: 100%;
        position: relative;
        left: auto;
        transform: none;
        z-index: 10;
        margin-bottom: -100px;
    }

    #kv h1 {
        background-image: url('/cms/img/fukubukuro2026/kv_pc.png');
        background-size: 100% auto;
        background-position: center top;
        background-repeat: no-repeat;
        height: 0;
        padding-bottom: 61.1%;
        max-width: 1920px;
        margin: 0 auto;
        position: relative;
        overflow: visible;
    }

    .kv-image {
        display: none;
    }

    /* 修正5: アンカーリンクナビゲーションの位置とサイズをPC向けに初期コードから復元 */
    #sticky-nav-origin {
        position: sticky;
        top: 0;
        left: 0;
        right: 0;
        transform: translateX(0);
        max-width: calc(0.6548 * 100vw - 42.88px);
        margin-top: calc(-0.1137 * 100vw - 130.27px);
        margin-bottom: 0;
        padding-left: 100px;
        /* 100pxは維持 */
        padding-right: 100px;
        /* 100pxは維持 */
    }

    #sticky-nav-origin ul {
        margin-bottom: -9px;
    }

    #sticky-nav-origin li+li {
        margin-left: -60px;
    }

    .nav-anchor {
        width: 180px;
        height: 180px;
    }

    /* 修正6: 商品セット共通スタイル (背景を全幅にするための修正) */
    .product-set {
        padding: 0;
    }

    /* 修正7: 極夢セクションのPC向け調整 */
    #set-gokuyume {
        margin-top: -5px;
        position: relative;
        z-index: 50;
        background-color: #DBC837;
        padding-top: 80px;
        /* 80pxは維持 */
        padding-bottom: 80px;
        /* 80pxは維持 */
    }

    /* --- PCスタイルコンテナの左右カラム共通設定を.product-details-wrapper > .pc-style > div に統合 --- */
    .product-details-wrapper>.pc-style>div:first-child,
    .product-details-wrapper>.pc-style>div:last-child {
        flex: 1;
        /* 画面幅に応じて伸縮 */
        min-width: 300px;
        /* 最低限の幅を設定 */
    }

    .product-details-wrapper>.pc-style>div:last-child {
        display: flex;
        flex-direction: column;
        /* 【★修正点】すべてのセットの右側テキストカラムに padding-top: 80px; を追加 */
        padding-top: 13px;
    }

    /* --- 極夢セットの構造上の調整（中央寄せとレスポンシブ対応） --- */
    #set-gokuyume .product-info .product-details-wrapper {
        flex-direction: column;
    }

    #set-gokuyume .product-info .product-details-wrapper .pc-style {
        /* max-width: 1200px; の指定を削除し、親要素の幅に合わせる */
        width: 100%;
        margin: 70px auto 0;
        padding: 0;
        display: flex;
        justify-content: center;
        /* これで左右中央寄せ */
        align-items: flex-start;
        gap: 40px;
    }


    /* ▼ 極夢セット画像の位置調整 (PC) */
    #set-gokuyume .product-image img {
        transform: none;
        position: relative;
        top: -40px;
        /* ★修正箇所: topを-40pxに設定 */
        /* ★修正箇所: leftを-40pxに設定 */
    }

    #set-gokuyume .product-image {
        margin-left: 0;
        margin-right: 0;
    }

    /* --- 極夢セットの構造上の調整（中央寄せとレスポンシブ対応）終わり --- */


    /* PCスタイルコンテナ全体にFlexboxと中央寄せを適用 (松竹梅セット用) */
    .pc-style {
        max-width: 1200px;
        /* .wrapperに合わせる */
        width: 100%;
        margin: 0 auto;
        padding-top: 0;
        /* padding-topはセクション全体に移動したため、ここは0にリセット */
        padding-bottom: 0;
        /* padding-bottomはセクション全体に移動したため、ここは0にリセット */
        padding-left: 100px;
        padding-right: 100px;
        text-align: left;
        display: flex;
        justify-content: center;
        /* これで左右中央寄せ */
        align-items: flex-start;
        gap: 40px;
    }

    /* setセクション全体に対してpadding-top, padding-bottom: 80px を適用 */
    /* #set-gokuyume の padding-top/bottom は上に移動 */
    #set-matsu {
        padding-top: 80px;
        /* 80pxは維持 */
        padding-bottom: 80px;
        /* 80pxは維持 */
    }

    #set-take {
        padding-top: 80px;
        /* 80pxは維持 */
        padding-bottom: 80px;
        /* 80pxは維持 */
    }

    #set-ume {
        background-color: #FFC3C3;
        background-image: url(/cms/img/fukubukuro2026/set_section_accessary_pc.png);
        background-repeat: no-repeat;
        background-position: 0px bottom;
        padding: 80px 20px 160px;
        background-size: contain;
    }


    /* ★全セット共通調整: 極夢セットのスタイルを松竹梅セットにも適用 */
    /* 松竹梅セットの左右カラムのflex設定は、共通設定に統合したため削除/修正 */
    #set-matsu .pc-style>div:first-child,
    #set-matsu .pc-style>div:last-child,
    #set-take .pc-style>div:first-child,
    #set-take .pc-style>div:last-child,
    #set-ume .pc-style>div:first-child,
    #set-ume .pc-style>div:last-child {
        /* .product-details-wrapper > .pc-style > div の共通設定に任せるため、個別の flex/min-width 設定を削除/修正 */
        /* min-width: 300px; flex-shrink: 1; flex-grow: 1; は共通セレクタで設定済み */
        /* 互い違いのレイアウトを無効化（order: initialでFlexboxのデフォルト順序（HTMLソース順）に戻す） */
        order: initial !important;
    }

    #set-matsu .product-info .product-image,
    #set-take .product-info .product-image,
    #set-ume .product-info .product-image {
        /* SP向けの設定をリセット */
        margin: 0;
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    #set-matsu .product-info .product-image {
        /* SP向けの設定をリセット */
        margin-top: -130px;
    }

    #set-ume .product-info .product-image {
        /* SP向けの設定をリセット */
        margin-top: -80px;
    }

    #set-matsu .product-title,
    #set-take .product-title,
    #set-ume .product-title {
        width: 156px;
    }

    #set-matsu .product-info .product-image img,
    #set-take .product-info .product-image img,
    #set-ume .product-info .product-image img {
        /* SP向けの位置調整をリセット */
        transform: none;
    }

    .price-and-cartbtn {
        display: flex;
        /* Flexboxを有効にする */
        flex-direction: column;
        /* 要素を縦に並べる */
        align-items: center;
        /* 縦に並んだ要素を中央寄せする */
    }

    /* 修正8: 商品セット個別調整 (極夢, 松, 竹, 梅) のPC向けレイアウト */

    /* === キャッチフレーズのPC版表示調整 (共通化) === */
    /* SP版を非表示 */
    .product-set .product-catchphrase {
        display: none;
    }

    /* PC版を背景画像で表示（極夢のスタイルをベースに、松竹梅にも適用）*/
    #set-gokuyume .catchphrase,
    #set-matsu .catchphrase,
    #set-take .catchphrase,
    #set-ume .catchphrase {
        margin-bottom: 0;
        height: 50px;
        width: 100%;
        text-align: center;
        /* 親要素を中央寄せ */
        order: 1;
        /* 極夢の order: 1 を共通化 */
    }

    /* 極夢セット (GOKUYUME) */
    #set-gokuyume .catchphrase::before {
        content: "";
        display: block;
        max-width: 980px;
        width: 100%;
        height: 50px;
        background-image: url('/cms/img/fukubukuro2026/catchphrase_gokuyume_pc.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
        /* 中央に配置 */
        margin: 0 auto;
        /* ブロックレベル要素の中央寄せ */
    }

    /* 松セット (MATSU) */
    #set-matsu .catchphrase::before {
        content: "";
        display: block;
        max-width: 855px;
        width: 100%;
        height: 50px;
        background-image: url('/cms/img/fukubukuro2026/catchphrase_matsu_pc.png');
        /* PC用画像が存在すると仮定して指定 */
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
        /* 中央に配置 */
        margin: 0 auto;
        /* ブロックレベル要素の中央寄せ */
    }

    /* 竹セット (TAKE) */
    #set-take .catchphrase::before {
        content: "";
        display: block;
        max-width: 900px;
        width: 100%;
        height: 50px;
        background-image: url('/cms/img/fukubukuro2026/catchphrase_take_pc.png');
        /* PC用キャッチフレーズ画像を表示 */
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
        /* 中央に配置 */
        margin: 0 auto;
        /* ブロックレベル要素の中央寄せ */
    }

    /* 梅セット (UME) */
    #set-ume .catchphrase::before {
        content: "";
        display: block;
        width: 100%;
        height: calc(23.57px / 50px * 100%);
        background-image: url('/cms/img/fukubukuro2026/catchphrase_ume_pc.png');
        /* PC用画像が存在すると仮定して指定 */
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
        /* 中央に配置 */
        margin: 0 auto;
        /* ブロックレベル要素の中央寄せ */
    }

    /* ▼ 全セット共通: タイトル画像サイズ固定 (極夢のスタイルを共通化) */
    .product-set .product-title {
        order: 2;
        /* 極夢の order: 2 を共通化 */
        width: 100%;
        max-width: 236px;
        /* max-widthを236pxに固定 */
        margin-top: 0;
        margin-bottom: 0;
        margin-right: auto;
        /* 左マージンを78pxに固定 */
        height: auto;
        text-align: left;
        /* text-align: center; を left に変更 */
    }

    .product-set .product-title img {
        width: 235.64px;
        /* 固定幅設定 */
        max-width: none;
        /* 画面幅による制限を無効化 */
        height: 114.15px;
        /* 固定高さ設定 */
        display: block;
        margin: 0 auto;
        /* 画像も中央寄せ */
    }


    /* ▼ 全セット共通: サマリー、価格、ボタンの順序を極夢セットのルールに統一 */
    .product-set .set-summary {
        order: 3;
        font-size: 1.8rem;
        margin-bottom: 0;
        text-align: center;
        /* サマリーも中央寄せ */
    }

    .product-set .price-area {
        order: 4;
        display: flex;
        align-items: center;
        justify-content: center;
        /* 価格エリアも中央寄せ */
        gap: 15px;
        padding-top: 0;
        margin-bottom: 0;
    }

    /* 【修正済み】カートボタンの順番を明示的に指定し、価格エリアの下に配置 */
    .product-set .price-and-cartbtn .set-summary {
        order: 1;
    }

    .product-set .price-and-cartbtn .price-area {
        order: 2;
    }

    .product-set .price-and-cartbtn .add-to-cart-btn {
        order: 3;
        margin-bottom: 40px;
        /* SPのデフォルト値を再設定 */
        margin-left: auto;
        margin-right: auto;
        margin: 24px auto 40px;
    }

    .set-details-list .list-item-box p:first-child {
        font-weight: normal;
        font-size: 1.2rem;
        margin-bottom: 8px;
        padding-top: 4px;
        padding-bottom: 4px;
        border-radius: 4px;
        text-align: center;
    }


    /* --- 松・竹・梅セットの PC Flex レイアウト調整 --- */
    /* 共通化により、個別設定は不要またはリセット */

    #set-matsu .pc-style,
    #set-take .pc-style,
    #set-ume .pc-style {
        width: 100%;
        margin: 70px auto 0;
        padding-top: 0;
        padding-bottom: 0;
        padding-left: 0px;
        padding-right: 0px;
        justify-content: center;
        /* 中央寄せを維持 */
        gap: 40px;
        /* カラム間のスペース */
    }

    .product-set .product-info {
        text-align: center;
        /* 松竹梅のテキストカラム全体を中央寄せ */
    }

    /* 追従ナビはPC版カンプにないため非表示 */
    #fixed-nav {
        display: none;
    }

    /* その他のスタイルは維持 */
    .product-set::before,
    .product-set::after {
        width: 268px;
        height: 171px;
    }

    .product-set::before {
        top: 150px;
        left: -80px;
    }

    .product-set::after {
        top: 220px;
        right: -80px;
    }

    .product-set h2 {
        font-size: 4rem;
        text-align: center;
    }

    #details,
    #reviews,
    #notes {
        padding: 80px 100px;
        /* 100pxは維持 */
    }

    #details {
        background-color: #f7f7f7;
        background-image: url(/cms/img/fukubukuro2026/set_section_accessary2_pc.png);
        background-repeat: no-repeat;
        background-position: 0px bottom;
        padding: 80px 20px 160px;
        background-size: contain;
    }

    /* ▼ PC向け詳細セクション (DETAILS) */
    .detail-wrapper {
        max-width: 1200px;
    }

    .details-copy-wrapper {
        margin-bottom: 30px;
    }

    .details-copy {
        width: 400px;
    }

    .details-main-title {
        font-size: 4rem;
        padding-bottom: 25px;
        margin-bottom: 60px;
    }

    .beer-category-title,
    .goods-category-title {
        font-size: 3.2rem;
        padding: 0px 14px;
        margin-bottom: 80px;
        border-top: #189C00 2px solid;
        border-bottom: #189C00 2px solid;
    }

    .goods-category-title {
        margin: 120px 080px;
    }
    

    /* --- 限定醸造ビール (PC) --- */
    .limited-beer-wrapper {
        margin-bottom: 0;
    }

    .product-cards-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        overflow-x: visible;
        padding-bottom: 0;
        text-align: center;
        margin-top: 0;
    }

    .product-cards-container .product-card:nth-child(3) {
        grid-column: 1 / -1;
        justify-self: center;
        max-width: 50%;
        width: auto;
        margin-left: 0;
    }

    .product-card {
        width: auto;
        padding: 20px;
        text-align: left;
        margin-bottom: 0;
        border: none;
        background-color: transparent;
        margin-left: 0;
    }

    .product-image-container {
        width: 160px;
        height: 160px;
        margin: 0 auto 10px auto;
        border-radius: 50%;
        left: auto;
        transform: none;
        padding-top: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .product-image-container::before {
        /* display: none; */
    }

    .limited-product-image {
        position: relative;
    }

    .product-card>div {
        max-width: none;
        margin: 0;
        width: 100%;
        display: block;
        height: auto;
    }

    .product-name,
    .product-subtitle,
    .product-details,
    .product-details-extra {
        text-align: center;
    }

    .product-name {
        margin: 52px 0 27px;
        font-size: 36px;
    }

    .product-description {
        clear: both;
        margin-top: 20px;
        text-align: left;
        max-width: none;
    }

    .link-text {
        padding-bottom: 0;
        max-width: none;
        text-align: right;
    }

    .link-text a {
        color: #000;
        text-decoration: none;
        border: 1px solid #000;
        padding: 10px 30px;
        display: inline-block;
        font-weight: bold;
        transition: background-color 0.2s ease, color 0.2s ease;
        border-radius: 50px;
    }

    /* --- 限定グッズ (PC) --- */
    .goods-items-container {}

    .limited-goods-wrapper {
        margin-top: 0;
    }

    .goods-item {
        padding: 0 30px;
    }

    /* PC時にカレンダーのカルーセルが無効化された際の横並びレイアウト */
    .goods-item-sp .carousel-track {
        display: flex;
        justify-content: center;
    }

    .goods-item-sp .carousel-slide {
        width: 335px;
    }

    .goods-title {
        font-size: 2.8rem;
    }

    /* PC時のgoods-carouselを左寄せに */
    .goods-carousel {
        overflow: visible;
    }

    /* centerModeによる中央寄せを無効化 */
    .goods-carousel .slick-list {
        padding: 0 !important;
    }

    .goods-carousel .slick-track {
        margin-left: 0 !important;
    }

    .goods-description {
        min-height: 0;
    }

    .goods-sub-link {
        margin-bottom: 25px;
    }

    .goods-carousel {
        overflow-x: visible;
        margin: 0 0 20px 0;
        padding: 0;
        width: auto;
        left: auto;
        transform: none;
    }

    .carousel-track {}

    .carousel-slide {}

    .slide-caption {
        font-size: 1.3rem;
        padding: 10px 8px;
    }

    .artist-content--wrap {
        max-width: 640px;
        margin: 25px auto 0;
    }

    .artist-content {
        margin: 35px 0 40px;
    }

    .carousel-btn {
        display: none;
    }

    /* --- その他逸品 (PC) --- */

    .core-products-wrapper {
        margin-top: 120px;
        max-width: 1200px;
        padding: 0 30px;
        margin-inline: auto;
    }

    .core-products-grid {
        grid-template-columns: repeat(7, 1fr);
        gap: 30px 20px;
        justify-items: center;
    }

    .small-product-card {
        text-align: center;
    }

    .small-product-image {
        max-width: 180px;
    }
}

/* ========================================
 * 8. ユーティリティクラス (Utility)
 * ======================================== */
/* 新規追加: タイマー終了時に使用（要素全体を非表示） */
#countdown.is-hidden {
    display: none;
}

/* ========================================
 * モーダル機能のスタイル
 * ======================================== */

/* 共通設定 */
.cursor {
    cursor: pointer;
}

/* モーダル背景カバー */
#modal-inner-cover {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1000;
    transition: all 0.5s;
}

.modal-inner-cover-close {
    pointer-events: none;
    opacity: 0;
}

.modal-inner-cover-open {
    opacity: 1;
    background: rgba(0, 0, 0, 1);
}

/* モーダル本体 */
#modal {
    position: fixed;
    top: 30px;
    left: 0;
    width: 100%;
    z-index: 1001;
    margin: 0 auto;
    transition: all 0.5s;
    overflow: hidden;
}

.modal-close {
    pointer-events: none;
    opacity: 0;
    top: 10vh;
}

.modal-open {
    opacity: 1;
    top: 0;
}

#modal-inner-wrapper {
    padding: 5rem 0;
    z-index: 1;
}

.modal-inner {
    flex-shrink: 0;
    width: 100%;
    height: auto;
    background: #fff;
    border-radius: 20px;
    overflow-y: auto;
}

#carouselButtonArea{
    display: flex;
    margin-top: 20px;
    justify-content: flex-end;
}
.prev-button {
    margin-right: 15px;
}
.prev-button,
.next-button {
    border: solid #e4e4e4 1px;
    line-height: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    width: 40px;
}
.prev-button > img,
.next-button > img {
    display: block;
    width: 1rem;
}

.modal-close-button {
    position: absolute;
    width: 1.5rem;
    height: 1.5rem;
    top: 0.5rem;
    right: 0;
    z-index: 1002;
    cursor: pointer;
}

.modal-txt-area {
    padding: 3rem 2rem;
}

.modal-product-name{
    font-size: 2.6rem;
    line-height: 3.8rem;
    font-weight: 700;
}

.modal-product-info{
    margin-top: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.modal-description{
    margin-top: 1.6rem;
    font-size: 1.4rem;

}

.modal-button-wrapper {
    text-align: center;
    margin-top: 2rem;
}

.cancelbutton {
    padding: 0.5rem 1rem;
    border: solid #333 2px;
    border-radius: 20px;
    background: none;
    cursor: pointer;
    transition: all 0.3s;
}

.cancelbutton:hover {
    background: #333;
    color: #fff;
}

/* カルーセル関連 */
.modal-carousel-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.modal-slick-carousel {
    width: 100%;
    display: none;
}
.modal-slick-carousel.slick-initialized {
    display: block;
}
.modal-slick-carousel .slick-track{
    display: flex;
}

.modal-slide {
    outline: none;
}

.modal-slide-content {
    padding: 1rem;
    text-align: center;
}

.modal-product-title {
    font-size: 2.4rem;
    color: #333;
    margin: 0 0 2rem 0;
    font-weight: bold;
}

.modal-carousel-image-container {
    text-align: center;
    margin-bottom: 2rem;
    background: #f9f9f9;
    border-radius: 10px;
    padding: 2rem;
}

.modal-carousel-image {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    border-radius: 8px;
}

.modal-carousel-info {
    padding: 0 1rem;
}

.modal-product-description {
    font-size: 1.6rem;
    line-height: 1.8;
    color: #666;
    margin: 0;
    text-align: center;
}

/* レスポンシブ対応 */
@media (min-width: 768px) {
    #modal {
        width: 30vw;
        left: 35vw;
        top: 100px;
    }
}

@media (max-width: 767px) {
    #modal {
        left: 5vw;
        width: 90vw;
    }
}

