/* =========================
   MOOD PAGE
========================= */
/* ========================================
   MOOD トップ背景動画
======================================== */

.mood-top-background {
    position: relative;
    display: flow-root;
    overflow: hidden;
    isolation: isolate;
    background: #faf7f1;
}

/* 背景動画 */
.mood-top-background-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

/* 動画を淡く見せるための白いフィルター */
.mood-top-background::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(255, 253, 249, 0.65);
    pointer-events: none;
}

/* 今までのトップ画像を手前に表示 */
.mood-top-background .mood-frame {
    position: relative;
    z-index: 1;
}

.mood-frame {
    position: relative;
    width: min(1200px, calc(100% - 80px));
    max-width: 1200px;
    margin: 50px auto 80px;
    border: 5px solid rgba(255, 255, 255, .95);
    border-radius: 24px;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(91, 56, 38, .06);
}

.mood-frame-image {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
}

.mood-slideshow {
    position: absolute;
    left: 29.5%;
    top: 28.2%;
    width: 41.4%;
    height: 36%;
    overflow: hidden;
    z-index: 1;
    background: #ffffff;
    box-shadow: -20px 0 0 45px #ffffff;
}

.mood-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.mood-slide.active {
    opacity: 1;
}

.mood-detail {
    padding: 80px 0;
    scroll-margin-top: 30px;
    background: linear-gradient(145deg,
            color-mix(in srgb, var(--mood-color-1) 25%, white),
            color-mix(in srgb, var(--mood-color-2) 22%, white));
    color: #5B3826;
}


.mood-main-visual {
    width: min(1200px, calc(100% - 80px));
    margin: 0 auto 70px;
    overflow: hidden;
}

.mood-main-visual img {
    display: block;
    width: 100%;
    height: auto;
}

.mood-section-title {
    margin-bottom: 40px;
}

.mood-section-title>p {
    margin: 0 0 8px;
    font-size: 11px;
    letter-spacing: .20em;
    color: color-mix(in srgb, var(--mood-color-1) 75%, #5B3826);
}

.mood-section-title h2 {
    margin: 0;
    font-size: 29px;
    font-weight: 500;
    letter-spacing: .05em;
    color: #5B3826;
}

.mood-intro-grid {
    display: grid;
    grid-template-columns: .6fr 1.4fr;
    gap: 45px;
    align-items: center;
}

.mood-product-image img {
    display: block;
    width: 100%;
    height: auto;
}

.mood-product-en {
    margin: 0 0 6px;
    font-size: 13px;
    letter-spacing: .14em;
    color: color-mix(in srgb, var(--mood-color-1) 75%, #5B3826);
}

.mood-intro-text h3 {
    margin: 0 0 20px;
    font-size: 29px;
    font-weight: 500;
    color: #5B3826;
}

.mood-intro-text>p:last-of-type {
    line-height: 2;
    color: #767d72;
}

.mood-material-tags {
    display: flex;
    gap: 10px;
    margin-top: 25px;
    transform: translateY(-20px);
}

.mood-material-tags span {
    padding: 9px 18px;
    border-radius: 30px;
    background: linear-gradient(90deg,
            color-mix(in srgb, var(--mood-color-1) 28%, white),
            color-mix(in srgb, var(--mood-color-2) 28%, white));
    font-size: 11px;
    letter-spacing: .08em;
    color: #5B3826;
}

.mood-teabag {
    grid-column: 1 / -1;
    margin-top: 15px;
    padding-top: 35px;
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 35px;
    align-items: center;
    border-top: 1px solid color-mix(in srgb, var(--mood-color-2) 55%, white);
}

.mood-teabag img {
    width: 100%;
    height: auto;
}

.mood-teabag p {
    margin: 0;
    line-height: 2;
    color: #767d72;
}

.mood-teabag-image {
    position: relative;
}

.mood-teabag-image>img:first-child {
    display: block;
    width: 100%;
    height: auto;
    margin-left: 10px;
    transform: translateX(20px);
}

.teabag-stamp {
    position: absolute;
    width: 38px;
    height: auto;
    top: 34%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-8deg);
    opacity: .18;
    pointer-events: none;
}

.profile-list {
    max-width: 650px;
    margin-left: -60px;
    width: 100%;
}

.profile-item {
    display: grid;
    grid-template-columns: 110px 1fr;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(91, 56, 38, .08);
}

.profile-item>span {
    font-size: 13px;
    color: #5B3826;
}

.profile-dots {
    display: flex;
    gap: 12px;
}

.profile-dots i {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #eee8e3;
}

.profile-dots i.active {
    background: linear-gradient(135deg,
            var(--mood-color-1),
            var(--mood-color-2));
}

.mood-benefit-lead {
    margin: -10px 0 40px;
    line-height: 2;
    color: #767d72;
}

.mood-time-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.mood-time-item {
    padding: 32px 22px;
    text-align: center;
    background: linear-gradient(145deg,
            color-mix(in srgb, var(--mood-color-1) 12%, white),
            color-mix(in srgb, var(--mood-color-2) 12%, white));
    border: 1px solid color-mix(in srgb, var(--mood-color-1) 25%, white);
}

.mood-line-icon {
    margin-bottom: 17px;
    font-size: 32px;
    color: color-mix(in srgb, var(--mood-color-1) 70%, #5B3826);
}

.mood-time-item h3 {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 500;
    color: #5B3826;
}

.mood-time-item p {
    margin: 0;
    font-size: 12px;
    line-height: 1.8;
    color: #767d72;
}

/* =========================
   BUY
========================= */

.mood-buy-card {
    width: min(850px, calc(100% - 100px));
    margin: 25px auto 0;
    padding: 30px 60px 20px;
    transform: translateY(70px);
    text-align: center;
    background: transparent;
}

.mood-buy-card h2 {
    margin: 10px 0 24px;
    font-size: 31px;
    font-weight: 500;
    line-height: 1.6;
    color: #5B3826;
}

.mood-buy-card>p {
    line-height: 1.8;
    color: #767d72;
}

.mood-price {
    margin: 24px 0 !important;
    font-size: 23px;
    color: #5B3826 !important;
}

.mood-price span {
    position: relative;
    top: -2px;
    font-size: 10px;
    color: #767d72;
}

.mood-buy-button {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 28px;
    background: linear-gradient(90deg,
            var(--mood-color-1),
            var(--mood-color-2));
    color: #5B3826;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: .08em;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition:
        transform .25s ease,
        filter .25s ease,
        box-shadow .25s ease;
}

.mood-buy-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 45%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, .75),
            transparent);
    transform: skewX(-20deg);
    z-index: 1;
    transition: left .55s ease;
    pointer-events: none;
}

.mood-buy-button:hover {
    transform: translateY(-4px) scale(1.06);
    filter: brightness(1.12) saturate(1.15);
    box-shadow: 0 10px 22px rgba(91, 56, 38, .25);
}

.mood-buy-button:hover::before {
    left: 130%;
}

/* =========================
   COMMON CARD
========================= */

.mood-content-card {
    width: min(1200px, calc(100% - 80px));
    margin: 0 auto;
    padding: 80px 60px 30px;
    background: rgba(250, 248, 242, .94);
    border: 5px solid rgba(255, 255, 255, .95);
    border-radius: 24px;
    box-shadow: 0 12px 35px rgba(91, 56, 38, .06);
}

.mood-main-row {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 55px;
    align-items: start;
}

.mood-main-info {
    padding-top: 0;
}

.mood-small-visual {
    margin: 0;
    overflow: hidden;
}

.mood-small-visual img {
    display: block;
    width: 100%;
    height: auto;
}

.mood-main-info .mood-product-en {
    margin: 0 0 7px;
    font-size: 12px;
    letter-spacing: .15em;
    color: color-mix(in srgb, var(--mood-color-1) 75%, #5B3826);
}

.mood-main-info h3 {
    margin: 0 0 18px;
    font-size: 27px;
    font-weight: 500;
    color: #5B3826;
}

.mood-product-description {
    margin: 0;
    font-size: 13px;
    line-height: 2;
    color: #767d72;
}

.mood-material-tags {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.mood-material-tags span {
    padding: 8px 17px;
    border-radius: 30px;
    background: linear-gradient(90deg,
            color-mix(in srgb, var(--mood-color-1) 25%, white),
            color-mix(in srgb, var(--mood-color-2) 25%, white));
    font-size: 11px;
    color: #5B3826;
}

.mood-teabag-image img {
    display: block;
    width: 100%;
    height: auto;
}

.mood-teabag-text p {
    margin: 0;
    font-size: 12px;
    line-height: 1.9;
    color: #767d72;
}

.profile-item {
    display: grid;
    grid-template-columns: 85px 1fr;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid rgba(91, 56, 38, .08);
}

.profile-item:last-child {
    border-bottom: none;
}

.profile-item>span {
    font-size: 12px;
    color: #5B3826;
}

.profile-dots {
    display: flex;
    gap: 9px;
}

.profile-dots i {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #eee8e3;
}

.profile-dots i.active {
    background: linear-gradient(135deg,
            var(--mood-color-1),
            var(--mood-color-2));
}

.mood-product-info {
    padding-top: 5px;
}

.mood-product-info h2 {
    margin: 5px 0 22px;
    font-size: 30px;
    font-weight: 500;
    letter-spacing: .04em;
    color: #5B3826;
}

.mood-product-info .mood-product-image {
    margin-top: 32px;
}

.mood-product-info .mood-product-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* =========================
   TASTE PROFILE
========================= */

.mood-bottom-row {
    margin-top: 45px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
    transform: translate(0, 85px);
    border-top: none;
    background: linear-gradient(135deg,
            rgba(246, 193, 184, .45),
            rgba(255, 255, 255, .92),
            rgba(246, 193, 184, .45));
    border-radius: 24px;
    padding: 40px 45px;
    position: relative;
    border: 5px solid rgba(255, 255, 255, .9);
    box-shadow: 0 8px 22px rgba(91, 56, 38, .10);
}

.profile-leaf-top {
    position: absolute;
    top: 12px;
    left: 14px;
    width: 160px;
    height: auto;
    opacity: .18;
    pointer-events: none;
    z-index: 0;
}

.profile-leaf-bottom {
    position: absolute;
    right: 14px;
    bottom: 1px;
    width: 160px;
    height: auto;
    opacity: .18;
    pointer-events: none;
    z-index: 0;
    transform: rotate(170deg);
}

.mood-profile-title,
.mood-teabag-area,
.profile-list {
    position: relative;
    z-index: 1;
}

.mood-profile-title {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    padding: 11px 28px;
    background: #fff;
    border-radius: 20px;
    font-size: 13px;
    letter-spacing: .16em;
    color: #5B3826;
    z-index: 2;
}

.profile-title-en::before,
.profile-title-en::after {
    content: "●";
    color: #5B3826;
    font-size: 10px;
    margin: 0 10px;
}

.mood-teabag-area {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 28px;
    align-items: center;
}

.mood-teabag-image img {
    display: block;
    width: 100%;
    height: auto;
    margin-left: 10px;
}

.mood-teabag-text {
    margin: 0;
    font-size: 12px;
    line-height: 1.9;
    color: #767d72;
}

.profile-list {
    width: 100%;
    border-left: 1px solid color-mix(in srgb, var(--mood-color-2) 45%, white);
    padding-left: 25px;
    transform: translateX(25px);
}

.profile-item {
    display: grid;
    grid-template-columns: 95px 1fr;
    align-items: center;
    padding: 7px 0;
    border-bottom: 1px solid rgba(91, 56, 38, .08);
}

.profile-item:last-child {
    border-bottom: none;
}

.profile-item>span {
    font-size: 12px;
    color: #5B3826;
}

.profile-dots {
    display: flex;
    gap: 10px;
}

.profile-dots i {
    display: block;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #eee8e3;
}

.profile-dots i.active {
    background: linear-gradient(135deg,
            var(--mood-color-1),
            var(--mood-color-2));
}

/* =========================
   FOR YOUR MOOD
========================= */

.mood-for-you {
    margin-bottom: 0;
    transform: translateX(-30px);
}

.mood-for-you-en {
    margin: 0 0 10px;
    font-size: 11px;
    letter-spacing: .18em;
    color: #8a8f82;
}

.mood-for-you h2 {
    margin: 0 0 30px;
    font-size: 30px;
    font-weight: 500;
    color: #5B3826;
}

.mood-for-you-text {
    margin: 0;
    font-size: 13px;
    line-height: 2;
    color: #767d72;
}

.mood-for-you-en,
.mood-for-you h2,
.mood-for-you-text,
.mood-time-mini h3 {
    transform: translateX(25px);
}

.mood-for-you-image {
    width: 100%;
    overflow: visible;
    transform: translateY(80px);
}

.mood-for-you-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.mood-product-heading {
    margin-top: 120px;
    margin-bottom: 28px;
}

.mood-product-heading .mood-product-en {
    margin: 0 0 5px;
    font-size: 13px;
    letter-spacing: .14em;
    color: color-mix(in srgb, var(--mood-color-1) 80%, #5B3826);
}

.mood-product-heading h3 {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    color: #5B3826;
}

.mood-product-detail>p {
    transform: translateY(-20px);
}

.mood-product-row {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 55px;
    align-items: start;
}

.mood-product-image img {
    display: block;
    width: 100%;
    height: auto;
}

.mood-product-detail {
    margin-top: 40px;
}

.mood-product-detail p {
    margin: 0;
    font-size: 13px;
    line-height: 2;
    color: #767d72;
}

.mood-for-you-row {
    display: grid;
    grid-template-columns: .87fr 1.3fr;
    gap: 3px;
    align-items: start;
    margin-bottom: 48px;
}

.mood-time-mini {
    margin-top: 52px;
}

.mood-time-mini h3 {
    margin: 0 0 20px;
    font-size: 16px;
    font-weight: 500;
    color: #767d72;
}

.mood-time-mini-list {
    display: grid;
    grid-template-columns: repeat(3, 110px);
    gap: 20px;
    width: 410px;
    margin: 0 auto;
    justify-content: start;
}

.mood-time-mini-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mood-time-mini-item img {
    display: block;
    width: 70px;
    height: 70px;
    margin: 0 auto 8px;
    object-fit: contain;
    opacity: .65;
}

.mood-time-mini-item p {
    margin: 0;
    font-size: 11px;
    line-height: 1.5;
    color: #767d72;
}

.mood-product-right {
    transform: translateY(-150px);
}

.mood-price span {
    position: relative;
    top: -4px;
    margin-left: -10px;
}

.mood-benefit-list {
    display: flex;
    gap: 14px;
    margin-top: 14px;
    margin-left: 25px;
}

.mood-benefit-list span {
    min-width: 100px;
    height: 32px;
    border: .5px solid rgba(118, 125, 114, .45);
    border-radius: 999px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 12px;
    line-height: 1.4;
    color: #767d72;
    background: transparent;
}

/* =========================
   FLAVOR COLORS
========================= */

#refresh .mood-bottom-row {
    background: linear-gradient(135deg,
            rgba(183, 227, 193, .45),
            rgba(255, 255, 255, .92),
            rgba(255, 242, 168, .45));
}

#refresh .profile-leaf-top {
    width: 120px;
}

#refresh .profile-leaf-bottom {
    width: 120px;
    right: 10px;
    transform: translate(-5px, -15px) rotate(175deg);
}

#refresh .mood-teabag-image>img:first-child {
    position: relative;
    left: -5px;
}

#comfort .profile-leaf-top {
    width: 120px;
    transform: rotate(-4deg);
}

#comfort .profile-leaf-bottom {
    width: 120px;
    right: 12px;
    bottom: 12px;
    left: auto;
    top: auto;
    transform: rotate(174deg);
}

#comfort .mood-teabag-image>img:first-child {
    position: relative;
    left: -1px;
}

#uplift .profile-leaf-top,
#uplift .profile-leaf-bottom {
    width: 110px;
}

#uplift .profile-leaf-bottom {
    transform: rotate(178deg);
    bottom: 15px;
    right: 18px;
}

#uplift .mood-teabag-image>img:first-child {
    position: relative;
    left: -5px;
}

#orange .mood-bottom-row {
    background: linear-gradient(135deg,
            rgba(199, 217, 111, .45),
            rgba(255, 255, 255, .92),
            rgba(244, 163, 64, .45));
}

#orange .profile-leaf-top,
#orange .profile-leaf-bottom {
    width: 110px;
}

#orange .profile-leaf-bottom {
    right: 20px;
    bottom: 12px;
    left: auto;
    top: auto;
    transform: rotate(175deg);
}

#orange .mood-teabag-image>img:first-child {
    position: relative;
    left: -10px;
}

#relax .mood-bottom-row {
    background: linear-gradient(135deg,
            rgba(201, 183, 240, .45),
            rgba(255, 255, 255, .92),
            rgba(246, 193, 184, .45));
}

#relax .profile-leaf-top,
#relax .profile-leaf-bottom {
    width: 140px;
}

#relax .profile-leaf-bottom {
    transform: translate(-5px, -10px) rotate(170deg);
}

#relax .mood-teabag-image>img:first-child {
    transform: translateX(15px);
}

#comfort .mood-bottom-row {
    background: linear-gradient(135deg,
            rgba(253, 228, 180, .45),
            rgba(255, 255, 255, .92),
            rgba(245, 169, 184, .45));
}

#uplift .mood-bottom-row {
    background: linear-gradient(135deg,
            rgba(201, 111, 115, .45),
            rgba(255, 255, 255, .92),
            rgba(248, 221, 226, .45));
}

/* =========================
   PROFILE ADJUSTMENT
========================= */

.profile-item {
    grid-template-columns: clamp(52px, 7vw, 72px) 1fr;
    padding: clamp(3px, .5vw, 6px) 0;
}

.profile-item>span {
    font-size: clamp(9px, 1vw, 11px);
}

.profile-dots {
    gap: clamp(3px, .5vw, 6px);
}

.profile-dots i {
    width: clamp(7px, .9vw, 10px);
    height: clamp(7px, .9vw, 10px);
}

.mood-profile-title {
    white-space: nowrap;
    width: max-content;
    max-width: calc(100% - 12px);
    box-sizing: border-box;
    font-size: 10px;
    padding: 7px 12px;
}

.profile-title-en::before,
.profile-title-en::after {
    font-size: 8px;
    margin: 0 6px;
}

/* =========================
   TABLET
========================= */

@media (min-width: 701px) and (max-width: 1200px) {
    .mood-content-card {
        width: 1200px;
        max-width: none;
        zoom: calc((100vw - 40px) / 1200px);
        transform: none;
        position: relative;
        left: auto;
        margin-left: auto;
        margin-right: auto;
    }

    .mood-frame {
        width: calc(100% - 40px);
        max-width: none;
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

    .mood-frame {
        width: calc(100% - 30px);
        border-width: 3px;
        border-radius: 18px;
        margin-bottom: 40px;
    }

    .mood-detail {
        padding: 40px 0;
    }

    .mood-content-card {
        width: calc(100% - 30px);
        padding: 40px 20px 30px;
        border-width: 3px;
        border-radius: 18px;
        display: flex;
        flex-direction: column;
    }

    .mood-for-you-row {
        display: contents;
    }

    .mood-for-you {
        display: contents;
        width: 100%;
        margin: 0;
        transform: none;
    }

    .mood-for-you-en,
    .mood-for-you h2,
    .mood-for-you-text,
    .mood-time-mini h3 {
        transform: none;
    }

    .mood-for-you-en {
        font-size: 10px;
        order: 1;
    }

    .mood-for-you h2 {
        margin-bottom: 20px;
        font-size: 23px;
        order: 2;
    }

    .mood-for-you-image {
        width: 100%;
        transform: none;
        order: 3;
        margin-bottom: 25px;
    }

    .mood-for-you-image img {
        width: 100%;
        border-radius: 16px;
    }

    .mood-for-you-text {
        font-size: 12px;
        line-height: 1.9;
        order: 4;
    }

    .mood-benefit-list {
        margin: 15px 0 0;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        order: 5;
    }

    .mood-benefit-list span {
        min-width: 0;
        width: auto;
        height: 30px;
        padding: 0 12px;
        font-size: 10px;
    }

    .mood-time-mini {
        margin-top: 35px;
        order: 6;
    }

    .mood-time-mini h3 {
        margin-bottom: 15px;
        font-size: 14px;
    }

    .mood-time-mini-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        width: 100%;
    }

    .mood-time-mini-item img {
        width: 50px;
        height: 50px;
    }

    .mood-time-mini-item p {
        font-size: 9px;
    }

    .mood-product-heading {
        margin-top: 55px;
        margin-bottom: 20px;
        order: 7;
    }

    .mood-product-heading h3 {
        font-size: 23px;
    }

    .mood-product-heading .mood-product-en {
        font-size: 11px;
    }

    .mood-product-row {
        display: flex;
        flex-direction: column;
        gap: 30px;
        order: 8;
    }

    .mood-product-left,
    .mood-product-right {
        width: 100%;
    }

    .mood-product-right {
        transform: none;
    }

    .mood-product-detail {
        margin-top: 25px;
    }

    .mood-product-detail>p {
        transform: none;
        font-size: 12px;
        line-height: 1.9;
    }

    .mood-material-tags {
        margin-top: 18px;
        transform: none;
        flex-wrap: wrap;
    }

    .mood-material-tags span {
        padding: 7px 14px;
        font-size: 10px;
    }

    .mood-bottom-row {
        margin-top: 25px;
        display: block;
        transform: none;
        padding: 40px 20px 25px;
        border-width: 3px;
        border-radius: 18px;
    }

    .mood-profile-title {
        top: -28px;
        padding: 8px 18px;
        font-size: 11px;
        white-space: nowrap;
    }

    .profile-title-en::before,
    .profile-title-en::after {
        font-size: 7px;
        margin: 0 6px;
    }

    .mood-teabag-area {
        display: block;
    }

    .mood-teabag-image {
        width: 150px;
        margin: 0 auto 25px;
    }

    .mood-teabag-image img {
        margin-left: 0;
    }

    .profile-list {
        width: 100%;
        margin: 0;
        padding: 0;
        border-left: none;
        transform: translateY(-25px);
    }

    .profile-item {
        grid-template-columns: 90px 1fr;
        padding: 9px 0;
        width: 85%;
    }

    .profile-item>span {
        font-size: 11px;
    }

    .profile-dots {
        gap: 8px;
    }

    .profile-dots i {
        width: 11px;
        height: 11px;
    }

    .mood-buy-card {
        width: 100%;
        margin-top: 20px;
        padding: 20px 10px 10px;
        transform: none;
    }

    .mood-buy-card>p {
        font-size: 12px;
    }

    .mood-price {
        margin: 18px 0 !important;
        font-size: 21px;
    }

    .mood-buy-button {
        width: 100%;
        padding: 13px 15px;
        font-size: 11px;
    }

    .mood-price span {
        top: 0;
        margin-left: -6px;
    }
}

/* =========================
   5種類共通・購入エリア修正
========================= */

.mood-buy-card {
    box-sizing: border-box;
    width: 100%;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    text-align: left;
}

.mood-buy-card>p:first-child {
    margin: 0 0 16px;
    text-align: center;
}

.mood-purchase-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 0 0 18px;
}

.mood-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    color: #5B3826;
    font-size: 12px;
}

.mood-quantity-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #cfc4bc;
    border-radius: 20px;
    overflow: hidden;
    height: 32px;
}

.mood-quantity-stepper button {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #5B3826;
    width: 30px;
    height: 32px;
    padding: 0;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

.mood-quantity-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 100%;
    text-align: center;
    font-size: 13px;
}

.mood-purchase-row .mood-price {
    margin: 0 !important;
    white-space: nowrap;
    text-align: right;
    font-size: 23px;
}

.mood-purchase-row .mood-price span {
    margin-left: 2px;
}

.mood-buy-card .mood-buy-button,
.mood-buy-card .assortment-link {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    text-align: center;
    text-decoration: none;
}

.mood-buy-card .assortment-link {
    margin-top: 12px;
    padding: 12px 16px;
    color: #5B3826;
    border: 1px solid rgba(91, 56, 38, .3);
    border-radius: 28px;
    background: rgba(255, 255, 255, .55);
    font-size: 12px;
}

.mood-buy-card .mood-buy-button {
    border: 0;
    cursor: pointer;
    font-family: inherit;
}

@media (max-width: 700px) {
    .mood-buy-card {
        width: 100%;
        max-width: 420px;
        padding-left: 0;
        padding-right: 0;
    }

    .mood-purchase-row .mood-price {
        font-size: 18px;
    }

    .mood-quantity {
        gap: 5px;
        font-size: 11px;
    }

    .mood-quantity-stepper button {
        width: 25px;
    }
}


/* =========================
   MOOD 購入エリア最終調整
   5種類共通
========================= */

.mood-buy-card {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    column-gap: 15px;
    row-gap: 18px;
}

/* 商品名・内容量を左に */
.mood-buy-card>p:first-child {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    text-align: left;
    line-height: 1.9;
}

/* 数量と価格を別々に配置 */
.mood-purchase-row {
    display: contents;
}

/* 価格を商品名の右に */
.mood-purchase-row .mood-price {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: start;
    margin: 0 !important;
    white-space: nowrap;
    text-align: right;
}

/* 数量を中央に */
.mood-quantity {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
    justify-content: center;
    margin: 5px 0;
}

/* 購入ボタン */
.mood-buy-card .mood-buy-button {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    margin: 7px 0 0;
}

/* アソートセット：枠なし・下線 */
.mood-buy-card .assortment-link {
    grid-column: 1 / -1;
    grid-row: 4;
    display: block;
    width: fit-content;
    justify-self: center;
    margin: 0;
    padding: 0 0 4px;
    border: none;
    border-bottom: 1px solid #8c766a;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #8c766a;
    font-size: 12px;
    text-decoration: none;
    line-height: 1.6;
}

.mood-buy-card .assortment-link:hover {
    color: #5B3826;
    border-bottom-color: #5B3826;
}

/* スマホ用 */
@media (max-width: 700px) {
    .mood-buy-card {
        column-gap: 8px;
        row-gap: 16px;
    }

    .mood-purchase-row .mood-price {
        font-size: 18px;
    }

    .mood-buy-card>p:first-child {
        font-size: 11px;
    }
}


/* 価格の上下位置を商品名に揃える */
.mood-purchase-row .mood-price {
    transform: none;
}

/* （税込）を金額に近づける */
.mood-purchase-row .mood-price span {
    margin-left: -10px;
}


/* アソートセットのホバーをわかりやすく */
.mood-buy-card .assortment-link {
    transition:
        color 0.1s ease,
        border-bottom-color 0.1s ease,
        border-bottom-width 0.1s ease,
        transform 0.2s ease;
}

.mood-buy-card .assortment-link:hover {
    color: #5B3826;
    border-bottom: 2px solid #5B3826;
    transform: translateY(-2px);
}


/* 5種類共通・メール便対応 */
.mood-buy-card .mood-mail-badge {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: end;

    display: inline-block;
    padding: 7px 12px;
    border: 1px solid #d8d0c7;
    border-radius: 2px;
    background: transparent;

    color: #8c766a;
    font-size: 11px;
    letter-spacing: 0.04em;
    white-space: nowrap;
}


/* メール便対応：5種類共通 */
.mood-buy-card {
    grid-template-columns: minmax(0, 1fr) auto;
}

.mood-buy-card .mood-mail-badge {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: end;

    display: inline-block;
    padding: 7px 12px;
    border: 1px solid #d8d0c7;
    border-radius: 2px;
    background: #c5af98;

    color: #8c766a;
    font-size: 11px;
    letter-spacing: 0.04em;
    white-space: nowrap;
}


/* 素材タグとメール便対応：5種類共通 */
.mood-product-detail .mood-material-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin-top: 22px;
    transform: translateY(-20px);
}

/* Lavender・Peachなどの素材タグ */
.mood-product-detail .mood-material-row .mood-material-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    transform: none;
}

/* メール便対応 */
.mood-product-detail .mood-material-row .mood-mail-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 0 0 0 auto;
    padding: 6px 12px;

    background: #e5d9cb;
    border: 1px solid rgba(91, 56, 38, 0.22);
    border-radius: 2px;

    color: #767d72;
    font-size: 11px;
    letter-spacing: 0.05em;
    line-height: 1.4;
    white-space: nowrap;
}



.mood-material-row .mood-material-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* PRODUCTと同じ雰囲気の四角 */
.mood-material-row .mood-mail-badge {
    display: inline-block;
    flex-shrink: 0;
    margin-left: auto;
    padding: 7px 12px;
    border: 1px solid #d8d0c7;
    border-radius: 2px;
    background: transparent;
    color: #8c766a;
    font-size: 11px;
    letter-spacing: 0.04em;
    white-space: nowrap;
}


/* 素材タグとメール便対応の位置を揃える */
.mood-material-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
}

.mood-material-row .mood-material-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
}

/* メール便対応 */
.mood-material-row .mood-mail-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    flex-shrink: 0;
    margin: 0 0 0 auto;
    padding: 7px 12px;
    background-color: #f4f0eb;
    border: 1px solid #d8d0c7;
    border-radius: 2px;
    color: #8c766a;
    font-size: 11px;
    line-height: 1.4;
    white-space: nowrap;
}


/* 素材タグとメール便対応を同じ高さに */
.mood-product-detail .mood-material-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin-top: 22px;
}

/* 素材タグの余白をなくす */
.mood-product-detail .mood-material-row .mood-material-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
}

/* PRODUCTと同じ四角 */
.mood-product-detail .mood-material-row .mood-mail-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    flex-shrink: 0;
    margin: 0 0 0 auto;
    padding: 6px 12px;

    background: #f8f4ee;
    border: 1px solid rgba(91, 56, 38, 0.12);
    border-radius: 2px;

    color: #767d72;
    font-size: 11px;
    letter-spacing: 0.05em;
    line-height: 1.4;
    white-space: nowrap;
}



/* 素材タグとメール便対応の高さを揃える */
.mood-product-detail .mood-material-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin-top: 30px;
}

/* 元の20px上移動を解除 */
.mood-product-detail .mood-material-row .mood-material-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    transform: none;
}

/* メール便対応の四角 */
.mood-product-detail .mood-material-row .mood-mail-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    flex-shrink: 0;
    margin: 0 0 0 auto;
    padding: 6px 12px;


    background: #f8f4ef;
    border: 1px solid rgba(91, 56, 38, 0.10);

    border-radius: 2px;

    color: #767d72;
    font-size: 11px;
    letter-spacing: 0.05em;
    line-height: 1.4;
    white-space: nowrap;
}


/* 素材タグは元の位置を維持 */
.mood-product-detail .mood-material-row .mood-material-tags {
    transform: translateY(-20px);
}

/* メール便対応だけ20px上げる */
.mood-product-detail .mood-material-row .mood-mail-badge {
    transform: translateY(-20px);
}


/* 説明文とメール便対応の右端を統一 */
.mood-product-detail>p,
.mood-product-detail .mood-material-row {
    width: 95%;
    box-sizing: border-box;
}

/* メール便対応を右端に配置 */
.mood-product-detail .mood-material-row .mood-mail-badge {
    margin-left: auto;
    margin-right: 0;
}


/* メール便対応を右端に配置 */
.mood-product-detail .mood-material-row .mood-mail-badge {
    margin-left: auto;
    margin-right: 0;
}


/* スマホ表示：5種類共通 */
@media (max-width: 700px) {

    .mood-product-detail>p,
    .mood-product-detail .mood-material-row {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .mood-product-detail .mood-material-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 18px;
        transform: none;
    }

    .mood-product-detail .mood-material-row .mood-material-tags {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
        margin: 0;
        padding: 0;
        transform: none;
    }

    .mood-product-detail .mood-material-row .mood-mail-badge {
        margin-left: auto;
        margin-right: 0;
        padding: 5px 8px;
        font-size: 10px;
        transform: none;
    }
}

/* 説明文の幅を元に戻す */
.mood-product-detail>p {
    width: 100%;
    box-sizing: border-box;
}

/* メール便対応の行だけ右端を調整 */
.mood-product-detail .mood-material-row {
    width: 95%;
    box-sizing: border-box;
}

/* メール便対応を右端に配置 */
.mood-product-detail .mood-material-row .mood-mail-badge {
    margin-left: auto;
    margin-right: 0;
}


/* 説明文の幅は変えない */
.mood-product-detail>p {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

/* 素材タグの位置は変えない */
.mood-product-detail .mood-material-row {
    width: 100%;
    box-sizing: border-box;
}

/* メール便対応の四角だけ横位置を調整 */
.mood-product-detail .mood-material-row .mood-mail-badge {
    margin-right: 0;
    background: #f8f4ee;
    border: 1px solid rgba(91, 56, 38, 0.12);
    transform: translate(var(--mood-badge-offset-x, 0px), -24px);
}

@media (max-width: 700px) {
    .mood-product-detail .mood-material-row .mood-mail-badge {
        transform: translateX(var(--mood-badge-offset-x, 0px));
    }
}

/* MOODページ：スマホの自動スクロールを無効化 */
@media (max-width: 700px) {
    html {
        scroll-behavior: auto;
    }
}