/* =========================================================
   Product Detail ? Simple Premium
   写真は上部のみ／商品説明は1ブロック
   ========================================================= */

.product-detail-page {
    --pd-bg: #f7f4ef;
    --pd-paper: #fcfbf8;
    --pd-ink: #292724;
    --pd-muted: #746f69;
    --pd-accent: #9e8971;
    --pd-line: rgba(81, 72, 62, .14);
    background: var(--pd-bg);
}

.product-detail-main {
    margin-left: var(--sidebar-width);
    padding-bottom: 140px;
    background: var(--pd-bg);
    color: var(--pd-ink);
}

.product-shell {
    width: min(1460px, 100%);
    margin: 0 auto;
    padding: 0 clamp(28px, 4vw, 70px);
}

.product-breadcrumb {
    margin: 0;
    padding: 36px 0 30px;
}

/* FV：PCは正方形メイン画像＋縦サムネイル */
.product-fv {
    width: min(980px, 74%);
    margin: 0 auto;
    padding: 18px 0 clamp(78px, 7.5vw, 112px);
}

.pd-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 68px;
    gap: 16px;
    align-items: start;
}

.pd-main {
    position: relative;
    width: 72%;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #ebe5dc;
    cursor: zoom-in;
}

.pd-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.pd-slider > div {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .72s ease, visibility .72s ease;
}

.pd-slider > div.is-current {
    opacity: 1;
    visibility: visible;
}

.pd-slider img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.22, 1, .36, 1);
}

.pd-main:hover .pd-slider img {
    transform: scale(1.012);
}

.pd-counter {
    position: absolute;
    right: 18px;
    bottom: 16px;
    z-index: 3;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(252, 251, 248, .84);
    backdrop-filter: blur(10px);
    color: #67615b;
    font-size: .66rem;
    letter-spacing: .12em;
    pointer-events: none;
}

.pd-expand {
    position: absolute;
    left: 18px;
    right: auto;
    top: 18px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 6px 11px 6px 9px;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 999px;
    background: rgba(252,251,248,.82);
    backdrop-filter: blur(12px);
    color: #514c47;
    cursor: pointer;
    box-shadow: 0 7px 26px rgba(30,26,22,.08);
    transition: transform .25s ease, background .25s ease, opacity .25s ease;
}

.pd-expand:hover {
    transform: translateY(-1px);
    background: rgba(252,251,248,.96);
}

.pd-expand-icon {
    width: 15px;
    height: 15px;
    display: grid;
    place-items: center;
}

.pd-expand svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.45;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pd-expand-text {
    font-size: .65rem;
    letter-spacing: .09em;
}

.pd-thumbs {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.pd-thumb {
    position: relative;
    width: 68px;
    aspect-ratio: 1;
    flex: 0 0 68px;
    padding: 0;
    border: 0;
    background: transparent;
    opacity: .34;
    overflow: hidden;
    cursor: pointer;
    transition: opacity .3s ease;
}

.pd-thumb::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    background: var(--pd-accent);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .3s ease;
}

.pd-thumb.is-active,
.pd-thumb:hover {
    opacity: 1;
}

.pd-thumb.is-active::after {
    transform: scaleY(1);
}

.pd-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* 黒透過の拡大表示 */
.pd-lightbox[hidden] {
    display: none;
}

.pd-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
}

.pd-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(30, 28, 26, .76);
    backdrop-filter: blur(8px);
}

.pd-lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(94vw, 1120px);
    height: min(92vh, 980px);
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 54px;
    align-items: center;
    gap: clamp(12px, 2vw, 28px);
}

.pd-lightbox-stage {
    width: 100%;
    height: 100%;
    margin: 0;
    display: grid;
    place-items: center;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 18px;
}

.pd-lightbox-image {
    max-width: 100%;
    max-height: calc(92vh - 76px);
    width: auto;
    height: auto;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}

.pd-lightbox-counter {
    color: rgba(255,255,255,.7);
    font-family: "Inter", sans-serif;
    font-size: .68rem;
    letter-spacing: .18em;
}

.pd-lightbox-close,
.pd-lightbox-nav {
    border: 0;
    background: transparent;
    color: rgba(255,255,255,.78);
    cursor: pointer;
    transition: color .2s ease, transform .2s ease;
}

.pd-lightbox-close:hover,
.pd-lightbox-nav:hover {
    color: #fff;
}

.pd-lightbox-close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
}

.pd-lightbox-close svg,
.pd-lightbox-nav svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pd-lightbox-nav {
    width: 54px;
    height: 74px;
    display: grid;
    place-items: center;
}

.pd-lightbox-nav:hover {
    transform: none;
}


.pd-lightbox:not([hidden]) .pd-lightbox-backdrop {
    animation: productLightboxFadeIn .22s ease both;
}

.pd-lightbox:not([hidden]) .pd-lightbox-dialog {
    animation: productLightboxZoomIn .24s cubic-bezier(.22, 1, .36, 1) both;
}

.pd-lightbox.is-closing .pd-lightbox-backdrop {
    animation: productLightboxFadeOut .18s ease both;
}

.pd-lightbox.is-closing .pd-lightbox-dialog {
    animation: productLightboxZoomOut .18s ease both;
}

@keyframes productLightboxFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes productLightboxFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes productLightboxZoomIn {
    from {
        opacity: 0;
        transform: scale(.965);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes productLightboxZoomOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(.985);
    }
}

body.is-lightbox-open {
    overflow: hidden;
}

/* パンくず：FVと同じ左端へ */
.product-breadcrumb {
    width: min(1120px, 80%);
    margin: 0 auto;
    padding: 36px 0 24px;
}

/* 共通セクション */
.product-intro,
.reserve-panel,
.compact-section,
.pickup-section,
.notice-section,
.set-contents-section,
.shelf-life-section {
    max-width: 1040px;
    margin: 0 auto;
}

.size-guide {
    max-width: 1040px;
    width: 100%;
    margin: 0 auto;
}

/* 見出しは他セクションと同じ左位置、価格表だけ細幅で中央配置 */
.size-guide .section-heading {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.size-guide .size-table,
.size-guide .size-note {
    width: min(760px, 72%);
    margin-left: auto;
    margin-right: auto;
}

.product-intro,
.compact-section,
.pickup-section,
.notice-section,
.set-contents-section,
.shelf-life-section {
    padding: clamp(72px, 7vw, 104px) 0;
    border-top: 1px solid var(--pd-line);
}

.size-guide {
    padding: clamp(66px, 6vw, 88px) 0;
    border-top: 1px solid var(--pd-line);
}

.section-heading {
    margin-bottom: 34px;
}

.product-kicker,
.section-heading > p,
.product-intro-heading > p,
.reserve-panel-copy > p {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    color: var(--pd-accent);
    font-size: .76rem;
    letter-spacing: .25em;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 10px 0 0;
    font-family: "Noto Serif JP", serif;
    font-size: clamp(1.5rem, 2.15vw, 2.2rem);
    font-weight: 300;
    letter-spacing: .11em;
}

/* About：商品名を中央に置き、説明は独立させる */
.product-intro {
    display: block;
    max-width: 920px;
    padding-top: clamp(108px, 10vw, 160px);
    padding-bottom: clamp(96px, 9vw, 140px);
    text-align: center;
}

.product-intro-heading {
    max-width: 920px;
    margin: 0 auto;
}

.product-intro-heading h1 {
    margin: clamp(24px, 3vw, 42px) 0 0;
    font-family: "Noto Serif JP", serif;
    font-size: clamp(2rem, 3.5vw, 3.45rem);
    line-height: 1.65;
    font-weight: 300;
    letter-spacing: .15em;
}


/* 商品状態バッジ */
.product-runtime-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 30px auto 0;
}

.product-runtime-meta[hidden] {
    display: none !important;
}

.product-state-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 31px;
    padding: 6px 14px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: "Noto Sans JP", sans-serif;
    font-size: .7rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: .11em;
    white-space: nowrap;
}

.product-state-badge[hidden] {
    display: none !important;
}

.product-state-badge.is-paused {
    color: #7a5e36;
    background: #f5ede0;
    border-color: rgba(158, 137, 113, .28);
}

.product-state-badge.is-ended {
    color: #77716b;
    background: #efede9;
    border-color: rgba(116, 111, 105, .18);
}

.product-state-badge.is-reservation-only {
    color: #806c55;
    background: rgba(255, 253, 248, .74);
    border-color: rgba(158, 137, 113, .52);
}

.product-state-badge.is-reservation-open {
    color: #5f6d58;
    background: #edf1e9;
    border-color: rgba(95, 109, 88, .24);
}

.product-state-badge.is-neutral {
    color: var(--pd-muted);
    background: rgba(255, 253, 248, .76);
    border-color: var(--pd-line);
}

.product-intro-content {
    max-width: 900px;
    margin: clamp(54px, 6vw, 86px) auto 0;
    text-align: left;
}

.product-description {
    margin: 0;
    color: var(--pd-muted);
    font-size: .88rem;
    line-height: 2.4;
    letter-spacing: .055em;
}

/* サイズと価格：コンパクトな固定列で視線を揃える */
.size-table {
    width: 100%;
    border-top: 1px solid var(--pd-line);
    border-bottom: 1px solid var(--pd-line);
}

.size-table-head,
.size-table-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    column-gap: 12px;
}

.size-table-head {
    min-height: 38px;
    border-bottom: 1px solid var(--pd-line);
    color: #9a928a;
    font-size: .63rem;
    letter-spacing: .11em;
}

.size-table-row {
    min-height: 54px;
    border-bottom: 1px solid rgba(151, 139, 127, .18);
}

.size-table-row:last-child {
    border-bottom: 0;
}

.size-table-head > *,
.size-table-row > * {
    padding: 0 8px;
    text-align: center;
}

.size-table-row b {
    font-family: "Noto Serif JP", serif;
    font-size: .98rem;
    font-weight: 400;
    letter-spacing: .08em;
}

.size-table-row span,
.size-table-row small {
    color: var(--pd-muted);
    font-size: .73rem;
    letter-spacing: .065em;
}

.size-table-row strong {
    font-family: "Noto Serif JP", serif;
    font-size: 1.06rem;
    font-weight: 400;
    font-variant-numeric: tabular-nums;
    letter-spacing: .025em;
}

.size-note {
    margin: 14px 0 0;
    color: #8d867e;
    font-size: .68rem;
    letter-spacing: .055em;
}


/* Information 表示スタイル */
#productNotes .product-note {
    position: relative;
}

#productNotes .product-note.is-highlight {
    color: #914e43;
    text-decoration: none;
}

#productNotes .product-note.is-alert {
    /* 警告: 強調と同じ赤茶の下線。背景色・囲いを使わず文字だけ少し太くする */
    color: #914e43;
    background: transparent;
    font-weight: 600;
    text-decoration: none;
}


/* サイズ（内容）と価格の2項目だけの商品：中央に整えた2列レイアウト */
.size-table.is-compact-price {
    width: min(620px, 100%);
    margin-inline: auto;
}

.size-table.is-compact-price .size-table-head,
.size-table.is-compact-price .size-table-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(120px, 0.75fr) !important;
    column-gap: clamp(12px, 3vw, 28px);
}

.size-table.is-compact-price .size-table-head {
    display: grid;
}

.size-table.is-compact-price .size-table-head > :first-child,
.size-table.is-compact-price .size-table-row > :first-child {
    text-align: left;
    padding-left: clamp(12px, 2vw, 24px);
}

.size-table.is-compact-price .size-table-head > :last-child,
.size-table.is-compact-price .size-table-row > :last-child {
    text-align: right;
    padding-right: clamp(12px, 2vw, 24px);
}

.size-table.is-compact-price .size-table-row {
    min-height: 58px;
}

.size-table.is-compact-price .size-table-row strong {
    white-space: nowrap;
}

/* 焼菓子ギフトなどのセット内容 */
.set-contents-list {
    width: min(760px, 72%);
    margin: 0 auto;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--pd-line);
}

.set-contents-list li {
    position: relative;
    padding: 16px 18px 16px 30px;
    border-bottom: 1px solid rgba(151, 139, 127, .18);
    color: var(--pd-muted);
    font-size: .82rem;
    line-height: 1.9;
    letter-spacing: .055em;
}

.set-contents-list li::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 1.55em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--pd-accent);
}

/* 賞味期限 */
.shelf-life-list {
    width: min(760px, 72%);
    margin: 0 auto;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--pd-line);
}

.shelf-life-list li {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(151, 139, 127, .18);
    color: var(--pd-muted);
    font-size: .82rem;
    line-height: 1.9;
    letter-spacing: .055em;
}


/* 予約 */
.reserve-panel {
    display: grid;
    grid-template-columns: 1fr minmax(330px, .72fr);
    gap: 80px;
    align-items: center;
    padding: clamp(54px, 6vw, 80px);
    background: #efe9e0;
}

.reserve-panel-copy h2 {
    margin: 12px 0 18px;
    font-family: "Noto Serif JP", serif;
    font-size: clamp(1.6rem, 2.5vw, 2.6rem);
    font-weight: 300;
    letter-spacing: .11em;
}

.reserve-panel-copy span {
    color: var(--pd-muted);
    font-size: .78rem;
    line-height: 2;
    letter-spacing: .05em;
}

.reserve-actions {
    display: grid;
    gap: 10px;
}

.btn-reserve-line,
.btn-reserve-tel {
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 14px 20px;
    text-decoration: none;
    font-size: .82rem;
    letter-spacing: .08em;
    transition: opacity .25s ease, transform .25s ease;
}

.btn-reserve-line { background: #292724; color: #fff; }
.btn-reserve-tel { border: 1px solid rgba(41,39,36,.28); color: #292724; }
.btn-reserve-line:hover,
.btn-reserve-tel:hover { opacity: .76; transform: translateY(-1px); }

/* サービス */
.service-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--pd-line);
    border-bottom: 1px solid var(--pd-line);
}

.service-list > div {
    display: flex;
    gap: 18px;
    padding: 28px 30px;
    border-right: 1px solid var(--pd-line);
}

.service-list > div:last-child { border-right: 0; }
.service-list i { margin-top: 3px; color: var(--pd-accent); }
.service-list span { display: flex; flex-direction: column; gap: 8px; }
.service-list b { font-size: .8rem; font-weight: 500; letter-spacing: .08em; }
.service-list small { color: var(--pd-muted); font-size: .7rem; line-height: 1.8; }

/* 店舗 */
.pickup-store-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.pickup-store-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: clamp(30px, 3.4vw, 46px);
    border: 1px solid var(--pd-line);
    background: var(--pd-paper);
}

.pickup-store-card.is-unavailable {
    background: rgba(79, 73, 67, .035);
}

.pickup-store-status {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 18px;
    margin-bottom: 27px;
    color: #777067;
    font-size: .65rem;
    line-height: 1.6;
    letter-spacing: .09em;
}

.status-dot {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
    background: var(--pd-accent);
}

.status-line {
    width: 13px;
    height: 1px;
    flex: 0 0 13px;
    background: #999188;
}

.pickup-store-main {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
}

.pickup-store-label {
    margin: 0 0 8px;
    font-family: "Cormorant Garamond", serif;
    color: var(--pd-accent);
    font-size: .67rem;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.pickup-store-card h3 {
    margin: 0 0 24px;
    font-family: "Noto Serif JP", serif;
    font-size: 1.24rem;
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: .085em;
}

.pickup-store-card.is-unavailable h3 {
    color: #746e68;
}

.pickup-store-card dl {
    margin: 0;
}

.pickup-store-card dl > div {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 16px;
    margin-top: 11px;
}

.pickup-store-card dt {
    color: #988f86;
    font-size: .67rem;
    line-height: 1.75;
    letter-spacing: .09em;
}

.pickup-store-card dd {
    min-width: 0;
    margin: 0;
    font-size: .75rem;
    line-height: 1.75;
    letter-spacing: .045em;
    overflow-wrap: anywhere;
}

.pickup-store-card a {
    color: inherit;
}

.pickup-unavailable-note {
    max-width: 440px;
    margin: 0;
    color: #89827b;
    font-size: .75rem;
    line-height: 2;
    letter-spacing: .045em;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    max-width: 100%;
    margin-top: auto;
    padding-top: 32px;
    color: #625c56;
    font-size: .71rem;
    letter-spacing: .08em;
    text-decoration: none;
    white-space: normal;
    opacity: .82;
    transition: opacity .25s ease;
}

.map-link:hover {
    opacity: 1;
}


/* hidden属性を付けた店舗カードは非表示。商品ごとに状態を切り替えて再利用できます */
.pickup-store-card[hidden] {
    display: none !important;
}

/* 注意事項 */
.notice-section ul {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--pd-line);
}

.notice-section li {
    position: relative;
    padding: 17px 0 17px 18px;
    border-bottom: 1px solid var(--pd-line);
    color: var(--pd-muted);
    font-size: .76rem;
    line-height: 1.9;
    letter-spacing: .045em;
}

.notice-section li::before {
    content: "-";
    position: absolute;
    left: 0;
    top: 17px;
    color: var(--pd-accent);
    font-size: .8rem;
    line-height: 1.9;
}

@media (max-width: 900px) {
    .product-detail-main { margin-left: 0; padding-bottom: 100px; }
    .product-shell { padding: 0 22px; }

    .product-breadcrumb,
    .product-fv,
    .size-guide {
        width: 100%;
    }

    .size-guide .size-table,
    .size-guide .size-note {
        width: 100%;
    }

    .product-breadcrumb {
        padding: 26px 0 20px;
    }

    .product-fv {
        padding-top: 8px;
    }

    .pd-gallery {
        grid-template-columns: minmax(0, 1fr) 60px;
        gap: 12px;
    }

    .pd-main {
        aspect-ratio: 1 / 1;
    }

    .pd-thumb {
        width: 60px;
        flex-basis: 60px;
    }

    .product-intro {
        display: block;
    }

    .pickup-store-list {
        grid-template-columns: 1fr;
    }

    .reserve-panel { grid-template-columns: 1fr; gap: 38px; }
    .service-list { grid-template-columns: 1fr; }
    .service-list > div { border-right: 0; border-bottom: 1px solid var(--pd-line); }
    .service-list > div:last-child { border-bottom: 0; }
}

@media (max-width: 600px) {
    .product-breadcrumb { padding: 22px 0 16px; }

    .product-fv {
        padding-bottom: 68px;
    }

    .pd-gallery {
        display: block;
    }

    .pd-main {
        width: 88%;
        aspect-ratio: 1 / 1;
        margin: 0 auto;
        cursor: zoom-in;
    }

    .pd-thumbs {
        width: 88%;
        flex-direction: row;
        justify-content: flex-start;
        gap: 8px;
        margin: 24px auto 0;
        overflow-x: auto;
        padding: 0 0 5px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .pd-thumbs::-webkit-scrollbar {
        display: none;
    }

    .pd-thumb {
        width: 54px;
        min-width: 54px;
        flex-basis: 54px;
        scroll-snap-align: start;
    }

    .pd-thumb::after {
        top: auto;
        right: 0;
        bottom: 0;
        width: auto;
        height: 2px;
        transform: scaleX(0);
        transform-origin: left;
    }

    .pd-thumb.is-active::after {
        transform: scaleX(1);
    }

    .pd-expand {
        left: 12px;
        right: auto;
        top: 12px;
        min-width: 40px;
        min-height: 40px;
        padding: 8px;
        justify-content: center;
    }

    .pd-expand-text {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .pd-counter {
        right: 12px;
        bottom: 12px;
    }

    .pd-main:active {
        transform: scale(.992);
    }

    .pd-lightbox-dialog {
        width: 100vw;
        height: 100dvh;
        display: block;
    }

    .pd-lightbox-stage {
        width: 100%;
        height: 100%;
        padding: 62px 18px 28px;
        box-sizing: border-box;
        grid-template-rows: minmax(0, 1fr) auto;
    }

    .pd-lightbox-image {
        max-height: calc(100dvh - 116px);
    }

    .pd-lightbox-close {
        top: 10px;
        right: 10px;
        width: 46px;
        height: 46px;
    }

    .pd-lightbox-nav {
        position: absolute;
        top: 50%;
        z-index: 2;
        width: 48px;
        height: 76px;
        transform: translateY(-50%);
    }

    .pd-lightbox-nav.is-prev {
        left: 2px;
    }

    .pd-lightbox-nav.is-next {
        right: 2px;
    }

    .pd-lightbox-nav:hover {
        transform: translateY(-50%);
    }

    .product-intro,
    .compact-section,
    .pickup-section,
    .notice-section {
        padding: 68px 0;
    }

    .size-guide {
        padding: 62px 0;
    }


    .product-intro {
        padding-top: 82px;
        padding-bottom: 76px;
    }

    .product-intro-heading h1 {
        margin-top: 20px;
        font-size: 1.68rem;
        line-height: 1.7;
        letter-spacing: .1em;
    }


    .product-runtime-meta {
        gap: 8px;
        margin-top: 22px;
    }

    .product-state-badge {
        min-height: 29px;
        padding: 6px 12px;
        font-size: .64rem;
        letter-spacing: .09em;
    }

    .product-intro-content {
        margin-top: 42px;
    }

    .product-description {
        font-size: .78rem;
        line-height: 2.28;
    }

    .size-table-head,
    .size-table-row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        column-gap: 2px;
    }

    .size-table-head > *,
    .size-table-row > * {
        padding: 0 2px;
    }

    .size-table-head {
        font-size: .56rem;
    }

    .size-table-row {
        min-height: 52px;
    }

    .size-table-row b {
        font-size: .88rem;
    }

    .size-table-row span,
    .size-table-row small {
        font-size: .64rem;
    }

    .size-table-row strong {
        font-size: .91rem;
    }

    .pickup-store-card {
        padding: 28px 22px;
    }

    .pickup-store-card dl > div {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 11px;
    }

    .map-link {
        padding-top: 26px;
    }


    .section-heading { margin-bottom: 30px; }


    .reserve-panel { padding: 44px 24px; }
    .map-link { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
    .pd-slider > div,
    .pd-slider img,
    .pd-thumb,
    .pd-expand,
    .btn-reserve-line,
    .btn-reserve-tel { transition: none; }
}


/* 最下部の予約導線：注意事項の後に十分な間を取り、フッター前の締めとして配置 */
.notice-section + .reserve-panel {
    margin-top: clamp(22px, 3vw, 42px);
    margin-bottom: clamp(72px, 8vw, 120px);
}

/* =========================================================
   PD GALLERY FINAL SIZE
   common.css の旧ギャラリークラスとは競合しません
   ========================================================= */
@media (min-width: 901px) {
    .pd-gallery {
        width: 82%;
        margin: 0 auto;
        grid-template-columns: minmax(0, 1fr) 68px;
        gap: 18px;
    }

    .pd-main {
        width: 100%;
        margin: 0;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .pd-gallery {
        width: 86%;
        margin: 0 auto;
        grid-template-columns: minmax(0, 1fr) 60px;
        gap: 14px;
    }

    .pd-main {
        width: 100%;
        margin: 0;
    }
}

@media (max-width: 600px) {
    .product-breadcrumb {
        padding: 22px 0 16px;
    }

    .product-fv {
        padding-bottom: 68px;
    }

    .pd-gallery {
        display: block;
        width: 100%;
        margin: 0;
    }

    .pd-main {
        width: 88%;
        max-width: 440px;
        aspect-ratio: 1 / 1;
        margin: 0 auto;
        cursor: zoom-in;
    }

    .pd-thumbs {
        width: 88%;
        max-width: 440px;
        flex-direction: row;
        justify-content: flex-start;
        gap: 8px;
        margin: 24px auto 0;
        overflow-x: auto;
        padding: 0 0 5px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }
}


/* =========================================================
   MOBILE FINAL CORRECTION
   スマホ画像サイズと拡大アイコン位置を最終固定
   ========================================================= */
@media (max-width: 600px) {
    .pd-gallery {
        display: block;
        width: 100%;
        margin: 0;
    }

    .pd-main {
        width: 88%;
        max-width: 440px;
        margin: 0 auto;
        aspect-ratio: 1 / 1;
        position: relative;
    }

    .pd-thumbs {
        width: 88%;
        max-width: 440px;
        margin: 20px auto 0;
    }

    .pd-expand {
        left: 10px;
        top: 10px;
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        padding: 0;
        gap: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 0;
    }

    .pd-expand-icon {
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 0;
        transform: none;
    }

    .pd-expand svg {
        display: block;
        width: 18px;
        height: 18px;
        margin: 0;
        transform: none;
    }
}

@media(max-width:760px){
    .size-table.is-compact-price,
    .set-contents-list,
    .shelf-life-list{
        width:100%;
    }

    .size-table.is-compact-price .size-table-row{
        column-gap:18px;
    }

    .set-contents-list li{
        padding:14px 10px 14px 24px;
        font-size:.78rem;
    }

    .set-contents-list li::before{
        left:7px;
    }

    .shelf-life-list li{
        padding:14px 10px;
        font-size:.78rem;
    }
}

/* 2026-11-19 | HP商品管理の現行注意事項表示レイアウト修正
   対象は商品詳細の注意事項だけ。通常／強調／警告の色指定は維持。
   旧CSSの先頭記号と詰まり過ぎたパディングによる線重なりを解消。 */
.notice-section #productNotes {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--pd-line);
}
.notice-section #productNotes > .product-note {
    display: block;
    position: relative;
    margin: 0;
    padding: clamp(17px, 2vw, 22px) 0 clamp(18px, 2vw, 24px);
    border-bottom: 1px solid var(--pd-line);
    font-size: .79rem;
    line-height: 2.05;
    overflow-wrap: anywhere;
    background: transparent;
}
.notice-section #productNotes > .product-note::before {
    content: none !important;
    display: none !important;
}
.notice-section #productNotes > .product-note.is-normal {
    color: var(--pd-muted);
    font-weight: 400;
    text-decoration: none;
}
.notice-section #productNotes > .product-note.is-highlight {
    color: #914e43;
    font-weight: 400;
}
.notice-section #productNotes > .product-note.is-alert {
    color: #914e43;
    font-weight: 600;
    background: transparent;
}
@media (max-width: 600px) {
    .notice-section #productNotes > .product-note {
        padding: 17px 0 20px;
        line-height: 2;
        font-size: .76rem;
    }
}

/* 2026-11-19 final: 注意事項の色分けを残し、全て下線は廃止 */
.notice-section #productNotes > .product-note,
.notice-section #productNotes > .product-note.is-normal,
.notice-section #productNotes > .product-note.is-highlight,
.notice-section #productNotes > .product-note.is-alert {
  text-decoration: none !important;
  text-decoration-line: none !important;
  text-decoration-color: transparent !important;
  text-underline-offset: 0;
}
.notice-section #productNotes > .product-note.is-highlight { color: #914e43; font-weight: 400; }
.notice-section #productNotes > .product-note.is-alert { color: #914e43; font-weight: 600; }
.product-paused-status { display:block; color:#914e43; font-size:.85rem; font-weight:600; line-height:1.8; margin-top:1.25rem; }

