@charset "UTF-8";

/* ========================================
 * 1. 共通設定 (Common & Reset)
 * ======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 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 {
    margin: 0;
    padding: 0;
    list-style: none;
}

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 {
    margin-top: -2px;
    text-align: center;
}

/* 販売開始日時文言 */
.sale-announcement {
    padding: 10px 20px 0;
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    color: #000;
    background-color: #fff;
}

/* カウントダウンタイマー */
#countdown {
    position: relative;
    padding: 0 20px;
    background-color: #fff;
}

.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 {
    margin-right: 4px;
    font-size: 2.4rem;
    font-weight: bold;
}

.time-label {
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 2.4rem;
}

/* メインビジュアル */
#kv {
    position: relative;
    overflow: hidden;
    text-align: center;
}

#kv h1 {
    margin: 0;
    font-size: 100%;
    font-weight: normal;
}

.kv-image {
    position: relative;
    left: 50%;
    margin-bottom: 0;
    transform: translateX(-50%);
}

/* アンカーリンクナビゲーション (オリジナル) */
#sticky-nav-origin {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 550px;
    margin-top: -150px;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
    z-index: 40;
    transform: translateX(0);
}

#sticky-nav-origin ul {
    display: flex;
    align-items: center;
    justify-content: 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-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: transform 0.2s ease;
}

.nav-anchor:hover {
    position: relative;
    z-index: 5;
    transform: scale(1.05) translateZ(0);
}

.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 {
    position: relative;
    margin-top: 0;
    padding: 40px 20px 48px;
    overflow: hidden;
    text-align: center;
}

.product-info {
    position: relative;
    z-index: 2;
}

.product-set h2 {
    margin-bottom: 20px;
    font-size: 100%;
    font-weight: normal;
}

.product-set .product-title {
    margin: 0 auto;
    height: auto;
}

.catchphrase {
    margin-bottom: 42px;
}

.product-catchphrase {
    margin: 0 auto;
    height: 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;
    position: relative;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 320px;
    height: 70px;
    margin-bottom: 40px;
    padding: 0 40px;
    overflow: hidden;
    color: #000;
    text-decoration: none;
    background-color: #ffffff;
    border: 4px solid #000;
    border-radius: 50px;
    transition: border-width 0.2s ease;
}

/* SP・タブレット表示：タップ時に線が内側に太くなる */
.product-set .add-to-cart-btn:active {
    border-width: 6px;
}

/* PC表示：マウスオン時に線が内側に太くなる */
@media (min-width: 1024px) {
    .product-set .add-to-cart-btn:hover {
        border-width: 6px;
    }

    /* PC表示では:activeを無効化 */
    .product-set .add-to-cart-btn:active {
        border-width: 4px;
    }
}

.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%;
    z-index: 1;
    fill: #f8e132;
    animation: wave-animation 35s linear infinite;
    transform-origin: center center;
}

/* 完売ボタンスタイル - カートボタンと同じ見た目 */
.product-set .soldout {
    display: inline-flex;
    position: relative;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 320px;
    height: 70px;
    margin-bottom: 40px;
    padding: 0 40px;
    overflow: hidden;
    color: #000;
    text-decoration: none;
    background-color: #bcbcbc;
    border: 4px solid #000;
    border-radius: 50px;
    cursor: default;
}

.soldout-text {
    position: relative;
    z-index: 2;
    font-size: 1.8rem;
    font-weight: bold;
    white-space: nowrap;
}

@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 {
    position: relative;
    z-index: 3;
    margin-top: 30px;
    padding: 32px 17px 20px 20px;
    font-size: 1.2rem;
    color: #333;
    background-color: #E5BD65;
    border: #fff 1px solid;
    border-radius: 20px;
}

.staff-label {
    position: absolute;
    top: -16px;
    left: 20px;
    width: 100px;
    height: 38px;
    margin-left: -8px;
    padding: 10px 0 0 0;
    font-family: "Inter", sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    background-color: transparent;
    background-image: url('/cms/img/fukubukuro2026/lavel_staff.svg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    border-radius: 0;
    box-shadow: none;
    transform: none;
}

.staff-comment-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 3px;
    text-align: left;
}

.comment-body {
    flex-grow: 1;
    margin-bottom: 0;
    font-size: 1.2rem;
    line-height: 1.7;
}

.staff-profile {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    margin-top: 0;
}

.staff-image {
    width: 66px;
    height: 66px;
    margin: 0 0 3px 0;
    border-radius: 50%;
}

.staff-name {
    font-size: 1.1rem;
    font-weight: normal;
    color: #333;
    white-space: nowrap;
}

/* 価格・詳細共通 */
.set-summary {
    margin-bottom: 5px;
    font-size: 1.8rem;
    font-weight: bold;
}

.price-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 0;
    margin-bottom: 24px;
}

.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 {
    margin-bottom: 8px;
    padding-top: 4px;
    padding-bottom: 4px;
    font-size: 1.2rem;
    font-weight: normal;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.6);
}

.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;
    z-index: 1;
    background-repeat: no-repeat;
    background-size: contain;
}

.product-set::before {
    top: 120px;
    left: -55px;
    width: 191.7px;
    height: 96.53px;
    background-image: url('/cms/img/fukubukuro2026/cloud_background_left.png');
}

.product-set::after {
    top: 60px;
    right: -68px;
    width: 160px;
    height: 107px;
    background-image: url('/cms/img/fukubukuro2026/cloud_background_right.png');
}

/* アニメーション雲共通 */
.anim-clouds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    overflow: hidden;
    pointer-events: none;
}

.anim-cloud {
    position: absolute;
    max-width: none;
    opacity: 1;
    transition: opacity 3s, transform 3s;
}

.cloud-1 {
    top: 80px;
    left: -150px;
    z-index: 3;
    width: 1132px;
    height: 303.72px;
    transform: translateX(-5%);
}

.cloud-2 {
    top: 330px;
    right: -100px;
    left: auto;
    z-index: 2;
    width: 265.37px;
    height: 172.44px;
    transform: translateX(-5%);
}

.cloud-3 {
    top: 338px;
    bottom: auto;
    left: -180px;
    right: auto;
    z-index: 1;
    width: 374.18px;
    height: 166.36px;
    transform: translateX(5%);
}

.anim-clouds.is-animated {
    pointer-events: none;
}

.anim-clouds.is-animated .cloud-1 {
    opacity: 0;
    transform: translateX(150%);
}

.anim-clouds.is-animated .cloud-2 {
    opacity: 0;
    transform: translateX(150%);
}

.anim-clouds.is-animated .cloud-3 {
    opacity: 0;
    transform: translateX(-150%);
}


/* ========================================
 * 4. 商品セット個別スタイル (SP-Specific)
 * ======================================== */

/* 4.1 商品セット背景色設定 */
#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;
}


/* 4.2 松・竹・梅セット共通スタイル */
#set-matsu .product-catchphrase,
#set-take .product-catchphrase,
#set-ume .product-catchphrase {
    height: auto;
    transform: translateX(0);
}

#set-matsu .product-title,
#set-take .product-title,
#set-ume .product-title {
    height: auto;
    transform: translateX(0);
}

#set-matsu .product-image,
#set-take .product-image {
    height: auto;
}

/* 4.3 極夢セット (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;
}

/* 4.3 極夢セット (GOKUYUME) 個別調整 */
#set-matsu .product-catchphrase {
    width: 312.78px;
}

#set-matsu .product-title {
    width: 102.39px;
}

#set-matsu .product-image {
    margin: -80px auto 24px auto;
}

/* 竹セット (TAKE) - 独自調整 */
#set-take .product-catchphrase {
    width: 297.02px;
}

#set-take .product-title {
    width: 102.33px;
}

#set-take .product-image {
    margin: 0 auto 24px;
}

/* 梅セット (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 {
    height: auto;
    margin: -50px auto 24px auto;
}

#set-ume .product-image img {
    transform: translateX(0) translateY(-15px);
}


/* ========================================
 * 5. 詳細・その他セクション
 * ======================================== */

/* 5.1 共通セクションスタイル */
#details,
#notes {
    padding: 50px 20px;
    background-color: #fff;
}

/* 5.2 詳細セクション (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;
}

.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;
    text-align: center;
    position: relative;
    border-top: #189C00 1px solid;
    border-bottom: #189C00 1px solid;
}

/* 5.3 限定醸造ビール */
.limited-beer-wrapper {
    text-align: center;
}

.product-cards-container {
    display: block;
    overflow-x: visible;
    padding-bottom: 0;
    text-align: center;
    margin-top: -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;
    position: relative;
    overflow: visible;
    display: block;
}

.product-card:last-child {
    margin-bottom: 0;
}

.product-image-container {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    background-color: transparent;
    border-radius: 0;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 40px;
    z-index: 1;
}

/* 背景の放射状の点線をproduct-cardに設定 */
.product-card::before {
    content: '';
    position: absolute;
    top: 40%;
    left: 50%;
    width: 100vw;
    height: 100vw;
    background-image: url('/cms/img/fukubukuro2026/product_background.png');
    background-size: contain;
    /* coverではなくcontainで比率維持 */
    background-position: center;
    background-repeat: no-repeat;
    transform: translate(-50%, -50%);
    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: 40%;
}

/* テキスト要素を中央寄せに調整 */
.product-card>div {
    text-align: center;
    position: relative;
    z-index: 2;
}

.product-name--wrap {
    position: relative;
    width: max-content;
    margin-inline: auto;
}

/* 新年限定バッジの調整 */
.new-year-badge {
    position: absolute;
    top: 0px;
    top: -60px;
    right: -90px;
    z-index: 10;
    background-color: transparent;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}

/* 商品名・サブタイトル共通スタイル */
.product-name,
.product-subtitle {
    font-weight: bold;
    color: #333;
    line-height: 1.2;
}

.product-name {
    font-size: 2.4rem;
    margin: 32px 0 16px;
}

.product-subtitle {
    font-size: 1.8rem;
    margin-bottom: 4px;
}

.product-details {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 16px;
    line-height: 1.4;
    text-align: center;
}

.product-details-extra {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    margin-top: 0;
    margin-bottom: 8px;
    text-align: center;
}

.product-description {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 8px;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
}

.link-text {
    margin-top: 0;
    margin-bottom: 0;
    clear: both;
    text-align: right;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.link-text a {
    font-size: 1.3rem;
    color: #000;
    text-decoration: underline;
}

/* 5.4 限定グッズ */
.limited-goods-wrapper {
    margin-top: 80px;
}

.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: 0 0 10px 0;
    text-align: center;
}



/* グッズカルーセル (横スクロール) */
.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-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;
    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 {
    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: 40px;
    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-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;
}

/* 5.5 その他逸品 */
.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;
    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);
    cursor: pointer;
}

.carousel-slide img:hover {
    transform: translateY(-2px);
    cursor: pointer;
}

.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%;
}

/* 5.6 注意事項 */
.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;
    font-weight: bold;
}

.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;
}

/* ========================================
 * 6. フッター・追従ナビゲーション
 * ======================================== */
.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. レスポンシブ対応 (Tablet・PC)
 * ======================================== */

/* -------------------------------------- */
/* --- Tablet (600px - 1023px) --- */
@media (min-width: 600px) {

    /* 修正1: 共通設定 */
    .wrapper {
        padding-left: 30px;
        padding-right: 30px;
    }

    .product-set {
        padding: 30px 30px 48px;
    }

    #details,
    #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;
    }
}

/* -------------------------------------- */
/* --- ～1023px (SP・タブレット) --- */
@media (max-width: 1023px) {
    .product-card.first {
        padding-top: 80px;
    }
}

/* -------------------------------------- */
/* --- PC (1024px以上) --- */
@media (min-width: 1024px) {

    /* ★修正1: コンテンツの最大幅を1200pxに設定 */
    .wrapper {
        max-width: 1400px;
        padding-left: 100px;
        padding-right: 100px;
        min-height: unset;
    }

    /* #details,  #notesセクションのラッパーも1200pxに */
    #details .wrapper,
    #notes .wrapper {
        max-width: 1200px;
    }

    /* 販売開始日時文言 (PC調整) */
    .sale-announcement {
        padding: 10px 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;
        padding-right: 0;
    }

    .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;
        padding-right: 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;
        padding-bottom: 80px;
    }

    /* --- PCスタイルコンテナの左右カラム共通設定（統一化されたクラス名対応） --- */
    .left-column,
    .right-column {
        flex: 1;
        min-width: 300px;
    }

    .right-column {
        display: flex;
        flex-direction: column;
        padding-top: 13px;
    }

    /* 商品タイトルラッパーの統一スタイル */
    .product-title-wrapper {
        font-size: 100%;
        font-weight: normal;
        margin-bottom: 20px;
    }

    /* キャッチフレーズの統一スタイル */
    .catchphrase {
        margin-bottom: 42px;
    }

    /* 後方互換性のため、既存のセレクタも維持 */
    .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: 13px;
    }

    /* --- 極夢セットの構造上の調整（中央寄せとレスポンシブ対応） --- */
    #set-gokuyume .product-info .product-details-wrapper {
        flex-direction: column;
    }

    #set-gokuyume .product-info .product-details-wrapper .pc-style {
        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;
    }

    #set-gokuyume .product-image {
        margin-left: 0;
        margin-right: 0;
    }

    /* --- 極夢セットの構造上の調整（中央寄せとレスポンシブ対応）終わり --- */


    /* PCスタイルコンテナ全体にFlexboxと中央寄せを適用 (松竹梅セット用) */
    .pc-style {
        max-width: 1200px;
        width: 100%;
        margin: 0 auto;
        padding-top: 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;
        padding-bottom: 80px;
    }

    #set-take {
        padding-top: 80px;
        padding-bottom: 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 {
        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;
        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;
    }

    /* 極夢セット (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');
        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');
        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');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
        margin: 0 auto;
    }

    /* ▼ 全セット共通: タイトル画像サイズ固定 (極夢のスタイルを共通化) */
    .product-set .product-title {
        order: 2;
        width: 100%;
        max-width: 236px;
        margin-top: 0;
        margin-bottom: 0;
        margin-right: auto;
        height: auto;
        text-align: 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;
        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;
        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;
    }

    .comment-body {
        font-size: 1.4rem;
    }

    .product-set .product-info {
        text-align: center;
        /* 松竹梅のテキストカラム全体を中央寄せ */
    }

    /* その他のスタイルは維持 */
    .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,
    #notes {
        padding: 80px 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;
        padding-top: 40px;
    }

    .product-cards-container .product-card:nth-child(3)::before {
        top: 50%;
    }

    .product-card {
        width: auto;
        padding: 20px;
        text-align: left;
        margin-bottom: 0;
        border: none;
        background-color: transparent;
        margin-left: 0;
    }

    /* PC用：背景画像のサイズを制限 */
    .product-card::before {
        width: min(100vw, 600px);
        /* 最大700pxに制限 */
        height: min(100vw, 600px);
        top: 40%;
    }

    .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;
    }

    .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) --- */

    .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-carousel {
        overflow-x: visible;
        margin: 0 0 20px 0;
        padding: 0;
        width: auto;
        left: auto;
        transform: none;
    }



    .slide-caption {
        font-size: 1.5rem;
        padding: 10px 8px;
    }

    .carousel-btn {
        display: none;
    }

    .artist-content--wrap {
        max-width: 640px;
        margin: 25px auto 0;
    }

    .artist-content {
        margin: 35px 0 40px;
    }



    /* --- その他逸品 (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;
    }


    /* 注意事項セクションのPCスタイル調整 */
    .note-heading {
        font-size: 18px;
    }

    .notes-wrap {
        padding: 48px 40px;
    }

    .note-list {
        font-size: 15px;
    }

    .note-list:not(:last-of-type) {
        margin-bottom: 32px;
    }
}

/* ========================================
 * 8. ユーティリティクラス・モーダル機能
 * ======================================== */
/* 新規追加: タイマー終了時に使用（要素全体を非表示） */
#countdown.is-hidden {
    display: none;
}

.sale-announcement.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;
    will-change: transform;
}

.modal-inner-cover-close {
    pointer-events: none;
    opacity: 0;
}

.modal-inner-cover-open {
    opacity: 1;
    background: rgba(0, 0, 0, 1);
    background-color: rgba(0, 0, 0, 1);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* モーダル本体 */
#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;

}





/* レスポンシブ対応 */
@media (min-width: 768px) {
    #modal {
        width: 30vw;
        left: 35vw;
        top: 100px;
    }
}

@media (max-width: 767px) {
    #modal {
        left: 5vw;
        width: 90vw;
    }
}

/* ★ 変更点: ライトボックス用のCSSを追加 */
/* ====== Lightbox 基本UI ====== */
.lb-overlay {
    position: fixed;
    inset: 0;
    display: none;
    /* 初期は非表示 */
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .8);
    z-index: 9999;
}

.lb-overlay.is-open {
    display: flex;
}

.lb-content {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    touch-action: manipulation;
    /* ネイティブピンチズームを妨げない */
}

.lb-img-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: 4vw; */
    /* 端に密着しないように少し余白 */
}

.lb-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.lb-close {
    position: absolute;
    padding: 5px 5px 0 0;
    top: env(safe-area-inset-top, 12px);
    right: env(safe-area-inset-right, 12px);
    width: 40px;
    height: 40px;
    line-height: 40px;
    border: none;
    border-radius: 999px;
    background: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    outline: none;
    /* オレンジの線を消す */
}

/* 背景スクロール固定用 */
.lb-lock-scroll {
    overflow: hidden !important;
    touch-action: none;
}

/* フェードイン/アウトの気持ち良さ */
.lb-overlay,
.lb-img {
    transition: opacity .18s ease, transform .18s ease;
}

.lb-overlay.is-opening {
    opacity: 0;
}

.lb-overlay.is-open {
    opacity: 1;
}