/* main.css - 会員向けページ共通レイアウト */

/* layouts/app.blade.php - ヘッダー・グローバルナビ */
.site-nav__toggle,
.category-hamburger {
    position: relative;
    width: 24px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: none;
    background: transparent;
    cursor: pointer;
    color: currentColor;
    padding: 0;
    margin-right: 10px;
}

.site-nav__toggle .bar,
.category-hamburger .bar {
    display: block;
    width: 100%;
    height: 2px;
    background: currentColor;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
    border-radius: 1px;
    color: #fff;
}

.site-nav__toggle.is-open .bar,
.category-hamburger.is-open .bar {
    color: var(--default-color);
}

.site-nav__toggle.is-open .bar:nth-child(1),
.category-hamburger.is-open .bar:nth-child(1) {
    transform: translateY(9px) rotate(44deg);
}

.site-nav__toggle.is-open .bar:nth-child(2),
.category-hamburger.is-open .bar:nth-child(2) {
    opacity: 0;
}

.site-nav__toggle.is-open .bar:nth-child(3),
.category-hamburger.is-open .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-44deg);
}

.menu-arrow {
    margin-left: 6px;
    margin-top: 1px;
    width: 18px;
    height: 10px;
    background: url(../img/common/arrow-down.svg) 0% 0% / contain no-repeat;
    transition: 0.3s ease-in-out;
}

.menu-arrow.is-open {
    transform: rotate(0.5turn);
    background: url(../img/common/arrow-up.svg) 0% 0% / contain no-repeat;
}

.site-header__auth-actions {
    display: flex;
    align-items: center;
    gap: 27px;
}

.site-header__action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 72px;
    height: 48px;
    position: relative;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
    box-sizing: border-box;
    padding-top: 1px;
    padding-bottom: 0;
    cursor: pointer;
}

.site-header__action-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.site-header__action-label {
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    color: #000;
    line-height: 1.1;
    white-space: nowrap;
}

.site-header__action .message-badge {
    top: -2px;
    right: 14px;
    width: 16px;
    height: 16px;
    font-size: 9px;
    line-height: 16px;
}

.header-points-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    height: 48px;
    padding: 4px 14px;
    width: max-content;
    background: #fff;
    border-radius: 10px;
    text-decoration: none;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    flex-shrink: 0;
}

.header-points-card:hover {
    border-color: #d0d0d0;
    box-shadow: var(--shadow-sm);
}

.header-points-card__grade {
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-points-card__icon {
    width: 16px;
    height: auto;
    flex-shrink: 0;
}

.header-points-card__label {
    font-size: 11px;
    font-weight: 600;
    color: var(--stage-color, var(--default-color));
    line-height: 1;
}

.header-points-card__value {
    line-height: 1;
}

.header-points-card__number {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.header-points-card__unit {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary-color);
    margin-left: 1px;
}

.header-member-menu {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    z-index: 1;
}

.header-member-menu:hover,
.header-member-menu:focus-within {
    /* 下の検索バー行（z-index: 40）より前面にしてホバーが途切れないようにする */
    z-index: 60;
}

.header-member-menu::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: 12px;
    pointer-events: auto;
}

.header-member-menu__trigger {
    border: none;
    background: transparent;
    cursor: pointer;
    padding-top: 2px;
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 0;
    width: 72px;
    height: 48px;
    font: inherit;
    -webkit-appearance: none;
    appearance: none;
}

.header-member-menu__trigger .site-header__action-icon {
    width: 23px;
    height: 23px;
}

.header-member-menu__dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 320px;
    padding-top: 8px;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.15s ease,
        visibility 0.15s ease;
}

.header-member-menu__dropdown-inner {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.header-member-menu__user {
    padding: 20px 20px 0;
    background: var(--gray-bg-color);
    font-size: 16px;
    font-weight: 600;
    color: var(--sepia);
    word-break: break-all;
}

.header-member-menu__points {
    padding: 12px 20px 0;
}

.header-member-menu__points .sidebar-mypage-points__exchange-btn {
    margin-bottom: 16px;
}

.header-member-menu__nav {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
}

.header-member-menu__item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 16px;
    color: var(--sepia);
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.header-member-menu__item > span:first-child {
    flex: 1;
}

.header-member-menu__item:hover,
.header-member-menu__item:focus {
    background-color: var(--gray-mid);
}

.header-member-menu__arrow {
    font-size: 13px;
    color: #aaa;
    flex-shrink: 0;
}

.header-member-menu__badge {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background-color: #ff4757;
    color: #fff;
    border-radius: 11px;
    font-size: 12px;
    font-weight: 600;
    line-height: 22px;
    text-align: center;
}

.header-member-menu__footer {
    padding: 12px 16px 16px;
    border-top: 1px solid #e8e8e8;
}

.header-member-menu__logout {
    width: 100%;
    padding: 12px 16px;
    background: var(--gray-bg-color);
    border: none;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    color: var(--sepia);
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.header-member-menu__logout:hover {
    background: var(--gray-mid);
}

.header-member-menu:hover .header-member-menu__dropdown,
.header-member-menu:focus-within .header-member-menu__dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* マイページサイドバー：ポイント概要 */
.sidebar-mypage-points {
    padding: 1.25rem 1.5rem 0;
    background: var(--gray-bg-color);
    border-bottom: 1px solid #e8e8e8;
}

.sidebar-mypage-points__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.sidebar-mypage-points__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 12px;
    text-align: center;
    text-decoration: none;
    color: inherit;
}

.sidebar-mypage-points__item:first-child {
    border-right: 1px solid #e8e8e8;
}

.sidebar-mypage-points__label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--sepia);
    opacity: 0.85;
}

.sidebar-mypage-points__value {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--sepia);
    line-height: 1.2;
}

.sidebar-mypage-points__rank-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.sidebar-mypage-points__value--primary {
    color: var(--primary-color);
}

.sidebar-mypage-points__unit {
    font-size: 0.75em;
    margin-left: 2px;
}

.sidebar-mypage-points__exchange-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 16px;
    margin-bottom: 1.25rem;
    padding: 12px 24px;
    border-radius: 999px;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.sidebar-mypage-points__exchange-btn:hover,
.sidebar-mypage-points__exchange-btn:focus {
    color: var(--white);
    opacity: 0.9;
}

.sidebar-guest-register {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 0 1.5rem 1.25rem;
}

.sidebar-guest-register .sidebar-mypage-points__exchange-btn,
.sidebar-guest-register__login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: 12px 8px;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.sidebar-guest-register__login-btn {
    border: 1px solid var(--default-color);
    background-color: transparent;
    color: var(--default-color);
}

.sidebar-guest-register__login-btn:hover,
.sidebar-guest-register__login-btn:focus {
    color: var(--default-color);
    opacity: 0.75;
}

.site-sidebar--mypage .site-sidebar__nav {
    padding-top: 1rem;
}

.header-search {
    display: flex;
    align-items: stretch;
    width: 100%;
    border: none;
    border-radius: 999px;
    background: #ebebeb;
    overflow: hidden;
    box-sizing: border-box;
}

.header-search__category {
    display: none;
}

.header-search__select {
    height: 100%;
    max-width: 160px;
    padding: 0 28px 0 12px;
    border: none;
    border-right: 1px solid #e5e5e5;
    background: transparent
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M6 8L0 0h12z'/%3E%3C/svg%3E")
        no-repeat right 10px center;
    background-size: 10px 6px;
    color: var(--default-color);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.header-search__select:focus {
    outline: none;
}

.header-search__input {
    flex: 1;
    min-width: 0;
    padding: 8px 16px;
    border: none;
    background: transparent;
    font-size: 14px;
    color: var(--default-color);
    outline: none;
}

.header-search__input:focus {
    outline: none;
    box-shadow: none;
}

.header-search__input::placeholder {
    color: #888;
    font-weight: 500;
}

.header-search__input::-webkit-search-cancel-button,
.header-search__input::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.header-search__clear {
    display: none;
    flex-shrink: 0;
    align-self: center;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    color: #999;
    cursor: pointer;
}

.header-search__clear-icon {
    display: block;
    width: 12px;
    height: 12px;
}

.header-search__clear.is-visible {
    display: flex;
}

.header-search__clear:hover {
    color: #666;
}

.header-search__clear:focus,
.header-search__clear:focus-visible {
    outline: none;
}

.header-search__button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    border: none;
    background: transparent;
    color: #666;
    cursor: pointer;
    outline: none;
    transition: opacity 0.15s ease;
}

.header-search__button:hover {
    opacity: 0.75;
}

.header-search__button:focus,
.header-search__button:focus-visible {
    outline: none;
    box-shadow: none;
}

.header-search__icon {
    display: block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.header-search-suggest {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 60;
    display: none;
    max-height: min(70vh, 720px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .header-search-suggest {
        max-height: min(36dvh, 320px);
    }
}

.header-search-suggest.is-open {
    display: block;
}

html.is-search-suggest-open,
html.is-search-suggest-open body {
    overscroll-behavior: none;
}

html.is-search-suggest-open body {
    touch-action: none;
}

html.is-search-suggest-open .header-search,
html.is-search-suggest-open .header-search-suggest,
html.is-search-suggest-open .offers-search-suggest {
    touch-action: pan-y;
}

html.is-search-suggest-open .header-search__input,
html.is-search-suggest-open .header-search__clear,
html.is-search-suggest-open .header-search__button,
html.is-search-suggest-open .site-header__search-back {
    touch-action: manipulation;
}

.header-search-suggest__item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    padding: 8px 12px;
    border: none;
    background: transparent;
    color: var(--default-color);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

.header-search-suggest__item.is-active,
.header-search-suggest__item:active {
    background: #f5f5f5;
}

@media (hover: hover) and (pointer: fine) {
    .header-search-suggest__item:hover {
        background: #f5f5f5;
    }
}

.header-search-suggest__thumb,
.header-search-suggest__thumb-placeholder {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 4px;
    background: #f0f0f0;
    object-fit: cover;
}

.header-search-suggest__body {
    min-width: 0;
    flex: 1;
}

.header-search-suggest__title {
    display: block;
    overflow: hidden;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.header-search-suggest__mark {
    padding: 0;
    margin: 0;
    background: transparent;
    color: inherit;
    font-weight: inherit;
}

.header-search-suggest__points {
    display: block;
    margin-top: 2px;
    color: var(--point-color);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.header-search-suggest__keyword {
    gap: 8px;
    border-top: 1px solid #f0f0f0;
}

.header-search-suggest__keyword-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: #888;
}

.header-search-suggest__keyword-icon svg {
    width: 18px;
    height: 18px;
}

.header-search-suggest__empty {
    padding: 14px 12px;
    color: #888;
    font-size: 13px;
    text-align: center;
}

/* 紹介リンク（コピー）共通 */
.referral-link {
    padding: 0 16px 16px;
    margin: 0 auto;
    border-top: 1px solid #e8e8e8;
}

.referral-link.affiliate-referral-link {
    padding: 0;
    margin: 0 0 1rem;
    border-top: none;
}

.referral-link--plain {
    padding: 0;
    margin: 0;
    border-top: none;
}

.referral-link--plain .referral-link__label {
    margin: 0 0 8px;
}

.referral-link__label {
    display: block;
    margin: 14px 0 8px;
    color: var(--default-color);
    font-size: 13px;
    font-weight: 700;
}

.affiliate-referral-link .referral-link__label {
    margin: 0 0 8px;
}

.referral-link__body {
    position: relative;
}

.referral-link__feedback {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    margin: 0 0 4px;
    height: 22px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    line-height: 22px;
    color: #2560c8;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.referral-link__feedback.is-visible,
.referral-link__feedback:not([hidden]) {
    opacity: 1;
    visibility: visible;
}

.referral-link__feedback[hidden] {
    display: block;
}

.referral-link__field {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px;
    border: none;
    border-radius: 8px;
    background: var(--light-grey);
    overflow: visible;
}

.referral-link__input {
    flex: 1 1 0;
    min-width: 0;
    padding: 10px 12px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: var(--default-color);
    font-size: 13px;
    line-height: 1.4;
    word-break: break-all;
    overflow-wrap: anywhere;
    white-space: normal;
    overflow-x: visible;
    user-select: all;
    -webkit-user-select: all;
}

.referral-link__input:focus {
    outline: none;
}

.referral-link__copy {
    flex: 0 0 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: var(--info-color);
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    transition:
        opacity 0.2s ease,
        background-color 0.2s ease;
}

@media (hover: hover) {
    .referral-link__copy:hover {
        opacity: 0.9;
        background: var(--info-color);
        color: var(--white);
    }
}

.referral-link__copy.is-copied {
    background: #e8f2fc;
    color: #2560c8;
}

@media (max-width: 767px) {
    .referral-link__field {
        width: 100%;
        min-width: 0;
    }

    .referral-link__input {
        font-size: 0.75rem;
    }
}

/* ヘッダー上 横長ブーストバナー */
.header-top-banner {
    width: 100%;
    overflow: hidden;
}

.header-top-banner__inner {
    position: relative;
    width: 100%;
    max-height: 80px;
}

.header-top-banner__link {
    position: relative;
    display: none;
    width: 100%;
    max-height: 80px;
}

.header-top-banner__link.is-active {
    display: block;
}

.header-top-banner__track {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-height: 80px;
}

.header-top-banner__img {
    display: none;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}

.header-top-banner__img:first-child {
    display: block;
}

@media (min-width: 768px) {
    .header-top-banner__inner {
        min-height: 90px;
        max-height: none;
    }

    .header-top-banner__link {
        height: 90px;
        max-height: none;
        overflow: hidden;
    }

    .header-top-banner__track {
        position: absolute;
        top: 0;
        left: 50%;
        justify-content: flex-start;
        gap: 10px;
        width: max-content;
        height: 100%;
        max-height: none;
        transform: translateX(-50%);
    }

    .header-top-banner__img {
        display: block;
        width: auto;
        max-width: none;
        height: 100%;
        max-height: none;
        object-fit: unset;
        flex-shrink: 0;
    }
}

/* 左右サイド 縦長ブースト広告 */
.content-with-boost {
    --boost-content-max: 950px;
    --boost-side-gap: 16px;
    --boost-side-width-min: 120px;
    --boost-side-width-max: 120px;
    --boost-side-width: var(--boost-side-width-max);
    --boost-side-offset-top: 24px;
    --boost-side-sticky-top: 128px;
    width: 100%;
    box-sizing: border-box;
}

.content-with-boost:has(.l-container--wide) {
    --boost-content-max: 1214px;
}

.content-with-boost > .l-container {
    width: 100%;
}

.boost-side-ad {
    display: none;
    width: 100%;
    min-width: var(--boost-side-width-min);
    max-width: var(--boost-side-width-max);
    padding-top: var(--boost-side-offset-top);
    box-sizing: border-box;
}

.boost-side-ad__link {
    display: block;
    line-height: 0;
}

.boost-side-ad__img {
    display: block;
    width: 100%;
    min-width: var(--boost-side-width-min);
    max-width: var(--boost-side-width-max);
    height: auto;
    min-height: var(--boost-side-height-min);
    max-height: var(--boost-side-height-max);
    object-fit: contain;
    object-position: top center;
}

@media (min-width: 1100px) {
    .content-with-boost {
        display: grid;
        grid-template-columns:
            minmax(0, 1fr) minmax(0, var(--boost-content-max))
            minmax(0, 1fr);
        align-items: stretch;
        column-gap: var(--boost-side-gap);
    }

    .content-with-boost > .l-container {
        grid-column: 2;
        max-width: 100%;
        margin-inline: 0;
    }

    .boost-side-ad {
        display: block;
    }

    .boost-side-ad--left {
        grid-column: 1;
        justify-self: end;
    }

    .boost-side-ad--right {
        grid-column: 3;
        justify-self: start;
    }

    .boost-side-ad__sticky {
        position: sticky;
        top: var(--boost-side-sticky-top);
    }
}

/* site-header - モバイルファースト */
.site-header-group {
    background: var(--primary-bg-color);
}

.site-header__outer,
.site-header__inner {
    display: block;
}

.site-header__outer {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--primary-bg-color);
}

.site-header__outer.is-click-through-guard {
    pointer-events: none;
}

.site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 8px;
    padding: 6px 15px;
    min-height: 0;
}

.site-header__bar {
    display: contents;
}

.site-header__start {
    display: contents;
}

.site-header__logo {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
    align-self: stretch;
    flex: 0 0 auto;
    padding: 0;
    max-width: 110px;
    opacity: 1;
    overflow: hidden;
    transition: opacity 0.2s ease;
    cursor: pointer;
}

.site-header__logo img {
    display: block;
    width: 100px;
    height: 36px;
    flex-shrink: 0;
}

.site-header__logo:focus {
    outline: none;
}

.site-header__search-back {
    display: none;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 38px;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--default-color);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.site-header__search-back-icon {
    display: block;
}

.site-header__search-back:focus,
.site-header__search-back:focus-visible {
    outline: none;
}

.site-header__search-row {
    min-width: 0;
}

.site-header__search-row-inner {
    display: contents;
}

.site-header__util-btns {
    display: none;
}

.site-header__util-btn {
    display: none;
}

.site-header__search {
    position: relative;
    width: 100%;
    min-width: 0;
}

.site-header__search .header-search {
    width: 100%;
    height: 38px;
}

.site-header__search .header-search__input {
    width: 100%;
    height: 38px;
    margin: 0;
    padding: 0 13px;
    border-radius: 0;
    font-family:
        -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    font-size: 16px;
    line-height: 38px;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.site-header__search .header-search__button {
    width: 42px;
    height: 38px;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
}

.site-header__auth--mobile {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    align-self: stretch;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-header__auth--mobile > li {
    display: flex;
    align-items: center;
}

.site-header__messages-mobile {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    text-decoration: none;
    color: #4a4a4a;
    flex-shrink: 0;
    line-height: 0;
    transform: translateY(4px);
}

.site-header__messages-mobile-icon {
    display: block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    object-fit: contain;
}

.site-header__messages-mobile .message-badge {
    top: -8px;
    right: -8px;
    width: 16px;
    height: 16px;
    font-size: 10px;
    line-height: 16px;
}

.site-header__points-mobile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    text-decoration: none;
    color: inherit;
    line-height: 1;
    white-space: nowrap;
}

.site-header__points-mobile-label {
    align-self: flex-end;
    font-size: 10px;
    font-weight: 400;
    color: var(--default-color);
    line-height: 1;
}

.site-header__points-mobile-value {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    line-height: 1;
}

.site-header__points-mobile-icon {
    width: 14px;
    height: 17px;
    object-fit: contain;
    flex-shrink: 0;
}

.site-header__points-mobile-amount {
    display: flex;
    align-items: baseline;
    line-height: 1;
}

.site-header__points-mobile-number {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.site-header__points-mobile-unit {
    font-size: 10px;
    font-weight: 600;
    color: var(--primary-color);
    margin-left: 1px;
}

.site-header__auth--desktop {
    display: none;
}

.site-header__nav {
    display: block;
    width: 100%;
}

.site-header__search-trigger {
    display: none;
}

.site-header__outer.is-search-open .site-header__logo {
    max-width: 0;
    opacity: 0;
    padding-left: 0;
    padding-right: 0;
    pointer-events: none;
}

@media (max-width: 1024px) {
    .site-header__outer {
        position: static;
        z-index: auto;
    }

    .site-header {
        padding-bottom: 0px;
    }

    .site-header__search .header-search__input {
        touch-action: manipulation;
    }

    .site-header__search .header-search__clear {
        width: 30px;
        height: 30px;
    }

    .site-header__search-row {
        position: sticky;
        top: 0;
        z-index: 50;
        padding: 6px 15px;
        background: var(--primary-bg-color);
        box-sizing: border-box;
        overflow: visible;
    }

    .site-header__search-row.is-search-active,
    html.is-search-suggest-open .site-header__search-row,
    html.is-mobile-search-active .site-header__search-row {
        z-index: 60;
    }

    .site-header__nav.global-nav-wrapper {
        border-bottom: none;
    }

    .site-header__search-row-inner {
        position: relative;
        display: flex;
        align-items: center;
        gap: 0;
        width: 100%;
        transition: gap 0.25s ease;
    }

    .site-header__search-back {
        display: flex;
        flex: 0 0 auto;
        width: 34px;
        max-width: 0;
        min-width: 0;
        height: 38px;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transition:
            max-width 0.25s ease,
            opacity 0.25s ease;
    }

    .site-header__search-row.is-search-active .site-header__search-row-inner {
        gap: 8px;
    }

    .site-header__search-row.is-search-active .site-header__search-back {
        max-width: 34px;
        opacity: 1;
        pointer-events: auto;
    }

    .site-header__search {
        position: static;
        flex: 1;
        width: auto;
        min-width: 0;
    }

    .site-header__outer.is-search-open .site-header__logo {
        max-width: 98px;
        opacity: 1;
        visibility: visible;
        padding-left: revert;
        padding-right: revert;
        pointer-events: none;
    }

    .site-header__auth-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px 13px;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 600;
        line-height: 1;
        text-decoration: none;
        white-space: nowrap;
        cursor: pointer;
    }
}

@media (max-width: 1024px) and (prefers-reduced-motion: reduce) {
    .site-header,
    .site-header__logo,
    .site-header__search-row-inner,
    .site-header__search-back {
        transition: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-header__logo,
    .site-header__search,
    .site-header__start {
        transition: none;
    }
}

@media (min-width: 1025px) {
    .site-header-group {
        background: inherit;
    }

    .site-header__outer {
        display: block;
        position: static;
        z-index: auto;
    }

    .site-header__inner {
        display: block;
        max-width: none !important;
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .site-header {
        display: block;
        padding: 0;
        min-height: 0;
    }

    .site-header__bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        width: 100%;
        max-width: 1240px;
        height: 64px;
        margin: 0 auto;
        padding: 0 2rem;
        box-sizing: border-box;
        background: var(--primary-bg-color);
    }

    .site-header__start {
        display: flex;
        align-items: center;
        flex: 0 0 auto;
        min-width: 0;
        gap: 0;
        position: static;
        min-height: 0;
        height: 100%;
    }

    .site-header__logo {
        display: flex;
        align-items: center;
        grid-column: auto;
        grid-row: auto;
        flex: revert;
        max-width: none;
        opacity: 1;
        padding: 0;
        overflow: visible;
        transition: none;
        height: 100%;
        cursor: pointer;
    }

    .site-header__logo img {
        height: 3rem;
        width: 160px;
    }

    .site-header__search-back {
        display: none !important;
    }

    .site-header__search-row {
        position: relative;
        z-index: 55;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        grid-column: auto;
        grid-row: auto;
        width: 100%;
        height: 53px;
        padding: 0;
        overflow: visible;
        background: #f5f5f5;
        box-sizing: border-box;
    }

    .site-header__search-row-inner {
        display: flex;
        align-items: center;
        gap: 35px;
        width: 100%;
        max-width: 1240px;
        height: 100%;
        margin: 0 auto;
        padding: 0 2rem;
        box-sizing: border-box;
        transform: none;
        overflow: visible;
    }

    .site-header__util-btns {
        display: flex;
        align-items: center;
        gap: 12px;
        flex: 0 0 auto;
    }

    .site-header__util-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        flex: 0 0 auto;
        height: 40px;
        padding: 0 16px;
        border: 1px solid var(--border-color);
        border-radius: var(--border-raius);
        background: var(--white);
        color: var(--default-color);
        font-size: 13px;
        font-weight: 700;
        line-height: 1;
        text-decoration: none;
        white-space: nowrap;
        cursor: pointer;
    }

    .site-header__util-btn-icon {
        display: block;
        width: auto;
        height: 18px;
        flex-shrink: 0;
    }

    .site-header__util-btn-icon--affiliate {
        height: 16px;
    }

    .site-header__util-btn:hover {
        color: var(--default-color);
        background: var(--light-grey);
        opacity: 1;
    }

    .site-header__search {
        width: 100%;
        max-width: 680px;
        margin: 0;
        transform: none;
        flex: 0 1 680px;
        min-width: 0;
        height: 40px;
        overflow: visible;
    }

    .site-header__search .header-search {
        width: 100%;
        height: 40px;
        border-radius: 6px;
        background: #fff;
        border: 1px solid #bdbdbd;
    }

    .site-header__search .header-search__category {
        display: flex;
        flex: 0 0 auto;
        align-items: stretch;
    }

    .site-header__search .header-search__select {
        height: 40px;
        max-width: 145px;
        padding: 0 28px 0 14px;
        font-size: 13px;
    }

    .site-header__search .header-search__input {
        height: 40px;
        padding: 0 16px;
        font-size: 14px;
        line-height: 40px;
        border-radius: 0;
    }

    .site-header__search .header-search__clear {
        width: 28px;
        height: 28px;
    }

    .site-header__search .header-search__button {
        width: 48px;
        height: 40px;
        border-radius: 0 4px 4px 0;
    }

    .site-header__outer.is-search-open .site-header__logo {
        max-width: none;
        opacity: 1;
        padding: 0;
        pointer-events: auto;
    }

    .site-header__auth--desktop {
        display: flex;
        align-items: center;
        flex: 0 0 auto;
        margin-left: auto;
        height: 100%;
    }

    .site-header__auth--mobile {
        display: none;
    }
}

.site-nav__popup,
.popup-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    color: var(--default-color);
    min-width: 220px;
    padding: 8px 0;
    border: 1px solid #e5e5e5;
    display: none;
    z-index: 50;
    text-align: left;
    width: 100%;
}

.site-nav__popup-item,
.popup-content .popup-content-item {
    display: block;
    padding: 10px 14px;
    text-decoration: none;
    color: var(--default-color);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.site-nav__popup-item:hover,
.popup-content .popup-content-item:hover {
    background: #f5f5f5;
}

.site-nav__popup-item--sub,
.popup-content .popup-content-item.small {
    padding-left: 1rem;
}

.site-nav__item--category.is-open .site-nav__popup,
.nav-category.is-open .popup-content {
    display: block;
}

.site-nav__item--category.is-open,
.nav-category.is-open {
    background: #fff;
    color: var(--default-color);
}

.site-nav__item--category.is-open a,
.nav-category.is-open a {
    color: var(--default-color);
}

/* コンテンツリスト（お知らせ・メッセージ等） */
.content-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.content-list__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
}

.content-list__item:last-child {
    border-bottom: none;
}

.content-list__link {
    flex: 1;
    min-width: 0;
    display: block;
    padding: 16px 0;
    text-decoration: none;
    color: inherit;
}

.content-list__link:hover .content-list__title {
    color: var(--primary-color);
}

.content-list__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
}

.content-list__date {
    font-size: 12px;
    color: #999;
    flex-shrink: 0;
}

.content-list__tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.content-list__title {
    font-size: 14px;
    color: var(--default-color);
    line-height: 1.5;
}

.content-list__item--unread {
    background-color: var(--light-grey, #f5f5f5);
}

.content-list__item--unread .content-list__date {
    color: var(--default-color);
    font-weight: 700;
}

.content-list__title--unread {
    font-weight: 700;
}

.content-list__action {
    flex-shrink: 0;
    padding: 16px 0 16px 0;
}

.filter-scroll {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    margin-inline: -15px;
    padding-inline-start: 15px;
    padding-inline-end: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-padding-inline-start: 15px;
    scroll-padding-inline-end: 15px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.filter-scroll::after {
    content: '';
    flex: 0 0 15px;
    width: 15px;
    height: 1px;
}

.filter-scroll::-webkit-scrollbar {
    display: none;
}

.filter-scroll__btn {
    flex: 0 0 auto;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 5px 10px;
    border: 1px solid var(--border-color, #cccccc);
    border-radius: 8px;
    color: var(--sepia, var(--default-color));
    font-size: 0.8125rem;
    font-weight: 600;
    background-color: var(--white);
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
    line-height: 1.5;
    text-decoration: none;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    transition:
        background-color 0.2s,
        border-color 0.2s,
        color 0.2s;
}

@media (hover: hover) and (pointer: fine) {
    .filter-scroll__btn:hover,
    .filter-scroll__btn:focus-visible {
        border-color: var(--primary-color);
        color: var(--primary-color);
        background-color: var(--white);
    }
}

.filter-scroll__btn.active,
.filter-scroll__btn.active:hover,
.filter-scroll__btn.active:focus,
.filter-scroll__btn.active:active {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: var(--white);
    box-shadow: none;
}

.label-tag {
    display: inline-flex;
    align-items: center;
    padding: 1px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 3px;
    line-height: 1.5;
    border: 1px solid;
    background: #fff;
}

.label-tag--orange {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.label-tag--info {
    color: var(--info-color);
    border-color: var(--info-color);
}

.label-tag--danger {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.label-tag--campaign {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.label-tag--personal {
    color: var(--success-color);
    border-color: var(--success-color);
}

.label-tag--pill {
    background: var(--light-grey);
    border: none;
    color: var(--default-color);
    border-radius: 999px;
    font-weight: 400;
}

.success-alert {
    background-color: #d4edda;
    color: #155724;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.success-alert p {
    margin: 0;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
}

.empty-message {
    margin-bottom: 20px;
    opacity: 0.8;
}

.favorites-page__section {
    margin-bottom: 40px;
}

.favorites-page__alert {
    background-color: #d4edda;
    color: #155724;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.favorites-page__alert-text {
    margin: 0;
}

.favorites-page__empty {
    text-align: center;
    padding: 40px 20px;
}

.favorites-page__empty-message {
    margin-bottom: 20px;
    opacity: 0.8;
}
/* account-guide.blade.php */
/* account/cost.blade.php */
.site-guide .alert-success h5 {
    color: var(--sepia);
    margin-bottom: 10px;
    font-weight: 600;
}

@media screen and (max-width: 767px) {
    .site-guide .guide-header {
        padding: 30px 0;
    }

    .site-guide .guide-title {
        font-size: 22px;
    }


}

.site-guide .alert-success {
    background-color: #d4edda;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.site-guide .feature-box {
    background-color: var(--white);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
    height: 100%;
}

.site-guide .feature-box p {
    color: var(--sepia);
}

.site-guide .feature-box i {
    font-size: 2rem;
    color: var(--primary-color-2);
    margin-bottom: 15px;
}

.site-guide .feature-box h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--sepia);
    font-weight: 600;
}

/* account/deletion.blade.php */
.site-guide .info-icon {
    font-size: 2.5rem;
    color: var(--primary-color-2);
    margin-bottom: 15px;
}

.site-guide .process-steps li {
    position: relative;
    padding: 15px 15px 15px 50px;
    margin-bottom: 15px;
    border-left: 3px solid var(--primary-color-2);
    background-color: #f8f9fa;
    border-radius: 8px;
}

.site-guide .faq-answer {
    margin-bottom: 0;
    color: var(--sepia);
}

.site-guide .process-steps li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background-color: var(--primary-color-2);
    color: white;
    border-radius: 50%;
    font-weight: bold;
}

.site-guide .data-table {
    width: 100%;
    margin-bottom: 20px;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    overflow: hidden;
}

.site-guide .data-table td {
    padding: 12px;
    border-bottom: 1px solid #e9ecef;
    color: var(--sepia);
}

.site-guide .data-table tr:hover td {
    background-color: #f8f9fa;
}



@media screen and (max-width: 767px) {
    .site-guide .process-steps li {
        padding: 15px 15px 15px 40px;
    }

    .site-guide .process-steps li::before {
        width: 25px;
        height: 25px;
        line-height: 25px;
    }

    .site-guide .data-table th,
    .site-guide .data-table td {
        padding: 8px;
    }
}

.site-guide .data-table tr:last-child td {
    border-bottom: none;
}

.site-guide .faq-list {
    list-style-type: none;
    padding-left: 0;
}

.site-guide .process-steps {
    counter-reset: step-counter;
    list-style-type: none;
    padding-left: 0;
}

.site-guide .data-table th {
    background-color: var(--saffron-3);
    padding: 12px;
    text-align: left;
    color: var(--sepia);
    font-weight: 600;
}

.site-guide .faq-list li {
    margin-bottom: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
}

/* account/email-change.blade.php */
.site-guide .card {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.site-guide .list-group-item i {
    margin-right: 10px;
}

.site-guide .important-note {
    border-left: 4px solid var(--primary-color-2);
    padding-left: 15px;
    margin: 20px 0;
}

.site-guide .bg-info {
    background-color: var(--primary-color-2) !important;
    color: var(--white);
}

.site-guide .card-header h5 {
    margin-bottom: 0;
    font-weight: 600;
}

.site-guide .list-group-item {
    border: none;
    padding: 10px 15px;
    color: var(--sepia);
}

.site-guide .tips-box {
    background-color: var(--sidecar);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.site-guide .bg-warning {
    background-color: var(--saffron) !important;
    color: var(--sepia);
}

.site-guide .tips-box h4 {
    color: var(--sepia);
    margin-bottom: 15px;
    border-bottom: 1px solid var(--saffron);
    padding-bottom: 10px;
    font-weight: 600;
}

.site-guide .card-header {
    padding: 15px;
}

/* account/forgot-password.blade.php */
.site-guide .alert-tip {
    background-color: var(--sidecar);
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
}

/* account/multiple-registration.blade.php */
.site-guide .rule-box {
    background-color: var(--white);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
    height: 100%;
}

.site-guide .rule-box h4 {
    color: var(--primary-color-2);
    margin-bottom: 15px;
    font-weight: 600;
}

/* account/password-change.blade.php */
.site-guide .weak {
    background-color: #fd7e14;
    width: 40%;
}

.site-guide .strong {
    background-color: #20c997;
    width: 80%;
}

.site-guide .password-strength {
    margin-top: 20px;
}

.site-guide .strength-meter {
    height: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.site-guide .password-tips {
    background-color: var(--sidecar);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.site-guide .medium {
    background-color: #ffc107;
    width: 60%;
}

.site-guide .very-strong {
    background-color: #28a745;
    width: 100%;
}

.site-guide .password-tips h4 {
    color: var(--sepia);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--saffron);
    font-weight: 600;
}

.site-guide .very-weak {
    background-color: #dc3545;
    width: 20%;
}

/* account/reset-email-issue.blade.php */
.site-guide .card-body {
    padding: 20px;
}

.site-guide .card {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.site-guide .card-title {
    font-weight: 600;
    color: var(--sepia);
    margin-bottom: 15px;
}

.site-guide .card-text {
    color: var(--sepia);
}

/* account/sharing.blade.php */
.site-guide .info-box h4 {
    color: var(--sepia);
    margin-bottom: 10px;
    font-weight: 600;
}

.site-guide .info-box i {
    font-size: 2rem;
    color: var(--primary-color-2);
    margin-bottom: 15px;
}

.site-guide .alert-primary {
    background-color: #cce5ff;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.site-guide .alert-primary h5 {
    color: var(--sepia);
    margin-bottom: 10px;
    font-weight: 600;
}

.site-guide .pros-cons-list li i.text-success {
    color: #28a745;
}

.site-guide .pros-cons-list li i.text-danger {
    color: var(--primary-color-2);
}

.site-guide .pros-cons-list li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
    color: var(--sepia);
}

.site-guide .pros-cons-list li:last-child {
    border-bottom: none;
}

.site-guide .pros-cons-list {
    list-style-type: none;
    padding-left: 0;
}

/* contact-guide.blade.php */
.site-guide .tips-list li:before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    position: absolute;
    left: 0;
    color: var(--primary-color-2);
}

.site-guide .hours-table tr:last-child td {
    border-bottom: none;
}

.site-guide .contact-card-header {
    background-color: var(--saffron-3);
    padding: 15px 20px;
    border-bottom: 1px solid #dee2e6;
}

.site-guide .hours-table th {
    background-color: var(--primary-color-2);
    color: white;
    padding: 12px 15px;
    text-align: left;
}

.site-guide .contact-title {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--sepia);
}

.site-guide .contact-card {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    background-color: var(--white);
}

.site-guide .response-time-header i {
    margin-right: 10px;
    color: var(--primary-color-2);
}

.site-guide .tips-list {
    list-style: none;
    padding-left: 0;
}

.site-guide .hours-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
    color: var(--sepia);
}

.site-guide .response-time {
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 10px;
    background-color: var(--sidecar);
}

.site-guide .contact-content {
    flex-grow: 1;
}

.site-guide .hours-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.site-guide .text-success {
    color: var(--sepia) !important;
}

.site-guide .contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 10px;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    border: 1px solid #e0e0e0;
}

.site-guide .contact-guide-confirm .form-check-input,
.site-guide .contact-guide-confirm .form-check-label {
    cursor: pointer;
}

.site-guide .contact-guide-confirm .form-check-input:checked {
    background-color: var(--primary-color-2);
    border-color: var(--primary-color-2);
}

.site-guide .contact-form-link.is-disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

.site-guide .faq-answer {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    display: none;
    background-color: var(--white);
    color: var(--sepia);
}

.site-guide .response-time-header {
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: var(--sepia);
}

.site-guide .tips-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--sepia);
}

@media screen and (max-width: 767px) {
    .site-guide .contact-method {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-guide .contact-icon {
        margin-bottom: 10px;
    }
}

.site-guide .contact-card-header h4 {
    margin-bottom: 0;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--sepia);
}

.site-guide .contact-card-body {
    padding: 20px;
}

.site-guide .hours-table {
    width: 100%;
    margin-bottom: 20px;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.site-guide .contact-icon {
    min-width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-size: 1.5rem;
    color: var(--primary-color-2);
    margin-right: 15px;
}

/* contact/form.blade.php, contact/guest-form.blade.php */
.info-card {
    background-color: var(--gray-bg-color);
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
}

.info-card-title {
    color: var(--sepia);
    font-weight: 600;
    margin-bottom: 8px;
}

.info-card-text {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .info-card {
        padding: 15px;
    }
}

/* cookie.blade.php */
.site-guide .recommendation-box {
    background-color: #e8f5e9;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
}

.site-guide .note-title {
    font-weight: 600;
    color: var(--sepia);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.site-guide .cookie-section {
    margin-bottom: 40px;
    background-color: var(--white);
}

.site-guide .recommendation-item:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color-2);
    font-size: 20px;
    line-height: 1;
}

.site-guide .cookie-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--sepia);
}

.site-guide .cookie-header {
    background-color: var(--saffron-3);
    padding: 40px 0;
    margin-bottom: 30px;
}

.site-guide .recommendation-item strong {
    display: block;
    margin-bottom: 5px;
    color: var(--sepia);
}

@media screen and (max-width: 767px) {
    .site-guide .cookie-header {
        padding: 30px 0;
    }

    .site-guide .cookie-title {
        font-size: 24px;
    }

    .site-guide .recommendation-item:before {
        font-size: 18px;
    }
}

.site-guide .cookie-section-title {
    border-bottom: 2px solid var(--primary-color-2);
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: var(--sepia);
    font-weight: 600;
}

@media screen and (min-width: 768px) and (max-width: 1439px) {
    .site-guide .cookie-header {
        padding: 35px 0;
    }
}

.site-guide .definition-title {
    font-weight: 600;
    color: var(--sepia);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.site-guide .definition-box {
    background-color: var(--sidecar);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.site-guide .warning-box {
    background-color: var(--sidecar);
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
}

.site-guide .recommendation-item {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.site-guide .info-box {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
    background-color: var(--white);
}

/* friend-referral.blade.php */
.site-guide .bonus-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.site-guide h4 {
    color: var(--sepia);
    font-weight: 600;
}

.site-guide .referral-icon {
    font-size: 2.5rem;
    color: var(--primary-color-2);
    margin-bottom: 15px;
}

.site-guide .share-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.site-guide .share-option {
    flex: 1;
    min-width: 200px;
    padding: 15px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e0e0e0;
}

.site-guide .share-option h5 {
    color: var(--sepia);
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.site-guide .bonus-table {
    width: 100%;
    margin-bottom: 20px;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.site-guide .step-header {
    background-color: var(--saffron-3);
    padding: 15px 20px;
    border-bottom: 1px solid #dee2e6;
}

.site-guide .bonus-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
    color: var(--sepia);
}

.site-guide .reward-content {
    flex-grow: 1;
}

.site-guide .bonus-table th {
    background-color: var(--primary-color-2);
    color: white;
    padding: 12px 15px;
    text-align: left;
}

.site-guide .reward-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 10px;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    border: 1px solid #e0e0e0;
}

.site-guide .bonus-table tr:last-child td {
    border-bottom: none;
}

.site-guide .referral-benefits {
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.site-guide .reward-title {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--sepia);
}

.site-guide .reward-icon {
    min-width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-size: 1.5rem;
    color: var(--primary-color-2);
    margin-right: 15px;
}

@media screen and (max-width: 767px) {
    .site-guide .referral-benefits {
        margin-bottom: 15px;
    }

    .site-guide .share-option {
        min-width: 100%;
        margin-bottom: 10px;
    }
}

.site-guide .step-card {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
}

.site-guide .step-header h4 {
    margin-bottom: 0;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--sepia);
}

.site-guide .faq-answer {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    display: none;
    background-color: var(--white);
}

/* mechanism.blade.php */

.site-guide .mechanism-section .step-box {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    background-color: var(--white);
}

.site-guide .mechanism-section .step-title {
    font-weight: 600;
    display: inline-block;
    vertical-align: middle;
    color: var(--sepia);
    margin-bottom: 0;
    font-size: inherit;
    padding-top: 0;
}

.site-guide .mechanism-section .note-box {
    background-color: var(--sidecar);
    padding: 15px;
    margin-top: 20px;
    border-radius: 8px;
}

/* point-check.blade.php */
.site-guide .point-types li {
    margin-bottom: 15px;
    padding: 10px 15px;
    background-color: #f8f9fa;
    border-radius: 6px;
    position: relative;
    color: var(--sepia);
}

.site-guide .point-types li::before {
    content: "●";
    color: var(--primary-color-2);
    margin-right: 10px;
}

.site-guide h4,
.site-guide h5 {
    color: var(--sepia);
    font-weight: 600;
}

.site-guide .img-thumbnail {
    border: 1px solid #ddd;
    margin: 15px 0;
    max-width: 100%;
}

.site-guide .point-types {
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

/* point-exchange-cancel.blade.php */
.site-guide .status-item:last-child::after {
    display: none;
}

.site-guide .status-item::after {
    content: "→";
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--sepia);
}

.site-guide .warning-box {
    background-color: #f8d7da;
    padding: 15px;
    margin: 15px 0;
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--sepia);
}

.site-guide .status-box {
    display: flex;
    margin: 20px 0;
}

.site-guide .status-item {
    flex: 1;
    text-align: center;
    padding: 15px;
    border: 1px solid #e0e0e0;
    position: relative;
    color: var(--sepia);
}

.site-guide .status-item.active {
    background-color: var(--sidecar);
    border-color: var(--saffron);
}

/* point-exchange-requirements.blade.php */
.site-guide .exchange-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.site-guide .exchange-table thead {
    background-color: var(--saffron-3);
}

.site-guide .requirements-list li:last-child {
    margin-bottom: 0;
}

.site-guide .exchange-table {
    width: 100%;
    border-collapse: collapse;
}

@media screen and (max-width: 767px) {
    .site-guide .exchange-table {
        font-size: 0.9rem;
    }

    .site-guide .exchange-table th,
    .site-guide .exchange-table td {
        padding: 8px 10px;
    }
}

.site-guide .exchange-table th,
.site-guide .exchange-table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    color: var(--sepia);
}

.site-guide .requirements-list {
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: var(--shadow-sm);
}

.site-guide .exchange-table th {
    text-align: left;
    font-weight: 600;
}

.site-guide .requirements-list ul {
    margin-bottom: 0;
}

.site-guide .requirements-list li {
    margin-bottom: 10px;
}

/* point-exchange-time.blade.php */
.site-guide .time-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.site-guide .factors-box {
    margin: 20px 0;
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.site-guide .time-table {
    width: 100%;
    border-collapse: collapse;
}

.site-guide .factors-box h4 {
    margin-bottom: 15px;
    color: var(--sepia);
    font-weight: 600;
}

.site-guide .factors-list li:last-child {
    border-bottom: none;
}

.site-guide .time-table thead {
    background-color: var(--saffron-3);
}

.site-guide .factors-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.site-guide .factors-list li::before {
    content: "✓";
    position: absolute;
    left: 5px;
    color: var(--primary-color-2);
    font-weight: bold;
}

.site-guide .time-table th {
    text-align: left;
    font-weight: 600;
}

.site-guide .time-table th,
.site-guide .time-table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    color: var(--sepia);
}

.site-guide .time-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    background-color: var(--sidecar);
    color: var(--sepia);
}

.site-guide .factors-list li {
    padding: 8px 0 8px 30px;
    position: relative;
    border-bottom: 1px dashed #e0e0e0;
    color: var(--sepia);
}

/* point-exchange.blade.php */
.site-guide .condition-list li {
    margin-bottom: 10px;
    color: var(--sepia);
}

.site-guide .exchange-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--sepia);
}

.site-guide .exchange-section-title {
    font-weight: 600;
    color: var(--sepia);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.site-guide .condition-box {
    background-color: var(--white);
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.site-guide .condition-list li:last-child {
    margin-bottom: 0;
}

.site-guide .condition-list {
    padding-left: 20px;
    margin-bottom: 0;
}

@media screen and (min-width: 768px) and (max-width: 1439px) {
    .site-guide .exchange-header {
        padding: 35px 0;
    }
}

.site-guide .exchange-header {
    background-color: var(--saffron-3);
    padding: 40px 0;
    margin-bottom: 30px;
}

@media screen and (max-width: 767px) {
    .site-guide .exchange-header {
        padding: 30px 0;
    }

    .site-guide .exchange-title {
        font-size: 24px;
    }

}

.site-guide .exchange-section {
    margin-bottom: 30px;
    background-color: var(--white);

}

.site-guide .about-section {
    margin-bottom: 30px;
}

.site-guide .guide-exchange-showcase {
    background-color: var(--saffron-3);
    border: 2px solid #f5d76e;
    border-radius: 12px;
    padding: 24px 16px;
    margin: 24px 0;
}

.site-guide .guide-exchange-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 12px;
}

.site-guide .guide-exchange-item {
    background-color: var(--white);
    border-radius: 8px;
    padding: 10px 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-height: 100%;
}

.site-guide .guide-exchange-item__thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 56px;
}

.site-guide .guide-exchange-item__thumb img {
    max-width: 100%;
    max-height: 56px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.site-guide .guide-exchange-item__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--gray-light, #f0f0f0);
    border-radius: 8px;
    color: var(--sepia);
    font-size: 1.5rem;
}

.site-guide .guide-exchange-item__name {
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.35;
    color: var(--sepia);
    word-break: break-word;
}

.site-guide .guide-exchange-disclaimer {
    color: var(--sepia);
    opacity: 0.85;
}

@media screen and (min-width: 768px) {
    .site-guide .guide-exchange-showcase {
        padding: 28px 24px;
    }

    .site-guide .guide-exchange-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 16px;
    }

    .site-guide .guide-exchange-item__thumb {
        height: 64px;
    }

    .site-guide .guide-exchange-item__thumb img {
        max-height: 64px;
    }
}

/* point-expiration.blade.php */
/* point-flow.blade.php */
.site-guide .flow-section {
    margin-bottom: 30px;
    background-color: var(--white);
}

.site-guide .flow-header {
    background-color: var(--saffron-3);
    padding: 40px 0;
    margin-bottom: 30px;
}

@media screen and (min-width: 768px) and (max-width: 1439px) {
    .site-guide .flow-header {
        padding: 35px 0;
    }
}

.site-guide .flow-diagram {
    position: relative;
    margin: 40px 0;
}

.site-guide .flow-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--sepia);
}

.site-guide .flow-section-title {
    font-weight: 600;
    color: var(--sepia);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.site-guide .flow-arrow {
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: -15px 0;
    font-size: 24px;
    color: var(--primary-color-2);
}

/* point-history.blade.php */
.site-guide .history-table th,
.site-guide .history-table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    color: var(--sepia);
}

.site-guide .status-exchanged {
    background-color: #cce5ff;
    color: var(--sepia);
}

.site-guide .history-table {
    width: 100%;
    border-collapse: collapse;
}

.site-guide .history-table th {
    text-align: left;
    font-weight: 600;
}

.site-guide .status-pending {
    background-color: var(--sidecar);
    color: var(--sepia);
}

.site-guide .status-rejected {
    background-color: #f8d7da;
    color: var(--sepia);
}

.site-guide .status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

.site-guide .history-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.site-guide .img-example {
    max-width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin: 15px 0;
    box-shadow: var(--shadow-sm);
}

.site-guide .history-table thead {
    background-color: #f2f2f2;
}

.site-guide #rank-period .history-table tbody tr {
    background-color: var(--white);
}

.site-guide .status-approved {
    background-color: #d4edda;
    color: var(--sepia);
}

@media screen and (max-width: 767px) {
    .site-guide .history-table {
        font-size: 0.9rem;
    }

    .site-guide .history-table th,
    .site-guide .history-table td {
        padding: 8px 10px;
    }
}

/* point-invalid.blade.php */
@media screen and (min-width: 768px) and (max-width: 1439px) {
    .site-guide .invalid-header {
        padding: 35px 0;
    }
}

.site-guide .invalid-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--sepia);
}

.site-guide .invalid-section {
    margin-bottom: 30px;
    background-color: var(--white);
}

.site-guide .invalid-header {
    background-color: var(--saffron-3);
    padding: 40px 0;
    margin-bottom: 30px;
}

.site-guide .reason-title {
    font-weight: 600;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--sepia);
}

.site-guide .reason-box {
    margin-bottom: 30px;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

@media screen and (max-width: 767px) {
    .site-guide .invalid-header {
        padding: 30px 0;
    }

    .site-guide .invalid-title {
        font-size: 24px;
    }

}

.site-guide .alert-box {
    background-color: var(--sidecar);
    padding: 15px;
    margin: 15px 0;
    border-radius: 8px;
}

.site-guide .invalid-section-title {
    font-weight: 600;
    color: var(--sepia);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.site-guide .reason-number {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background-color: var(--primary-color-2);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    margin-right: 10px;
}

.site-guide .caution-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--sepia);
}

/* point-reactivation.blade.php */
.site-guide .reason-box {
    background-color: var(--white);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

/* point-troubleshoot.blade.php */
.site-guide .troubleshoot-section {
    margin-bottom: 30px;
    background-color: var(--white);
}

.site-guide .troubleshoot-section .step-box {
    background-color: var(--white);
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

@media screen and (max-width: 767px) {
    .site-guide .troubleshoot-header {
        padding: 30px 0;
    }

    .site-guide .troubleshoot-title {
        font-size: 24px;
    }

}

.site-guide .troubleshoot-section-title {
    font-weight: 600;
    color: var(--sepia);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

@media screen and (min-width: 768px) and (max-width: 1439px) {
    .site-guide .troubleshoot-header {
        padding: 35px 0;
    }
}

.site-guide .troubleshoot-section .step-title {
    color: var(--sepia);
}

.site-guide .troubleshoot-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--sepia);
}

.site-guide .troubleshoot-header {
    background-color: var(--saffron-3);
    padding: 40px 0;
    margin-bottom: 30px;
}

.site-guide .step-content {
    margin-left: 40px;
}

/* point-usage.blade.php */
.site-guide .usage-section .intro-text {
    margin-bottom: 40px;
}

.site-guide .usage-section .note-box {
    margin: 15px 0 0 0;
}

/* rank-guide.blade.php */
.site-guide .rank-gold {
    background-color: var(--saffron);
}

.site-guide .rank-silver {
    background-color: #adb5bd;
}

.site-guide .rank-benefits li {
    margin-bottom: 8px;
    color: var(--sepia);
}

.site-guide .rank-platinum {
    background-color: #20c997;
}

.site-guide .rank-benefits {
    margin-top: 15px;
}

.site-guide .table-ranks {
    width: 100%;
    margin-bottom: 20px;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.site-guide .text-primary,
.site-guide .text-success {
    color: var(--primary-color-2) !important;
}

.site-guide .alert-info {
    background-color: var(--info-yellow);
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.site-guide .rank-period-card {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
}

.site-guide .rank-period-icon {
    font-size: 2.5rem;
    color: var(--primary-color-2);
    margin-bottom: 15px;
}

.site-guide .table-ranks tr:last-child td {
    border-bottom: none;
}

@media screen and (max-width: 767px) {
    .site-guide .table-responsive {
        font-size: 0.9rem;
    }
}

.site-guide .rank-header {
    padding: 15px;
    color: var(--sepia);
    font-weight: 600;
    background-color: var(--saffron-3);
}

.site-guide .rank-standard {
    background-color: #6c757d;
}

.site-guide .faq-answer {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    display: none;
    background-color: #fff;
}

.site-guide .rank-diamond {
    background-color: #0dcaf0;
}

.site-guide .table-ranks td {
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
    color: var(--sepia);
}

.site-guide .rank-card {
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    background-color: var(--white);
}

.site-guide .rank-badge {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 15px;
    color: white;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.site-guide .rank-body {
    padding: 20px;
    background-color: white;
}

.site-guide .table-ranks th {
    background-color: var(--primary-color-2);
    color: white;
    padding: 12px 15px;
    text-align: left;
}

.site-guide .table-success th {
    background-color: var(--primary-color-2);
    color: white;
}
/* ===== Page-specific styles (migrated from inline blade) ===== */

/* --- resources/views/profile.blade.php --- */

.page-surface {
    width: 100%;
    background-color: var(--gray-light);
    display: flow-root;
}

body.mypage .mypage-nav {
    display: flex;
    flex-direction: column;
}

body.mypage .mypage-nav__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding: 14px 16px;
    background-color: var(--white);
    color: var(--sepia);
    text-decoration: none;
    text-align: left;
    line-height: 1.5;
    transition: background-color 0.2s ease;
}

body.mypage .mypage-nav__item:hover {
    background-color: #ebebeb;
    color: var(--sepia);
}

body.mypage .mypage-nav__item--logout {
    border: none;
    cursor: pointer;
    font: inherit;
}

body.mypage .mypage-nav__item--active {
    background-color: #ebebeb;
    font-weight: 600;
}

body.mypage .mypage-nav__label {
    flex: 1;
    min-width: 0;
}

body.mypage .mypage-nav__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background-color: var(--primary-color-2);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

body.mypage .passbook-page__title,
body.mypage .account-page__title,
body.mypage .favorites-page__title,
body.mypage .messages-page-title,
body.mypage .points-section-title,
body.mypage .exchange-confirm__title {
    margin: 0 0 16px;
    font-weight: 600;
    font-size: 22px;
    color: var(--sepia);
}

.account-page {
    --account-radius: 4px;
    width: 100%;
}

.account-card {
    background-color: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: var(--account-radius);
    box-shadow: none;
    overflow: hidden;
}

.account-card__header {
    background-color: var(--white);
    padding: 16px 20px;
    border-bottom: 1px solid #ddd;
}

.account-card__title {
    margin: 0;
    color: var(--sepia);
}

.account-card__body {
    padding: 20px;
}

.account-form {
    display: flex;
    flex-direction: column;
}

.account-form__section {
    padding: 20px 0;
    border-bottom: 1px solid #e8e8e8;
}

.account-form__section:first-child {
    padding-top: 0;
}

.account-form__section:last-of-type {
    border-bottom: none;
}

.account-form__heading {
    margin: 0 0 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--sepia);
}

.account-form__note {
    margin: 0 0 16px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--sepia);
    opacity: 0.7;
}

.form-field {
    margin-bottom: 16px;
}

.form-field:last-child {
    margin-bottom: 0;
}

.form-field__label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--sepia);
}

.form-field__input[readonly] {
    background-color: var(--white);
    cursor: text;
}

.form-field__hint {
    margin: 6px 0 0;
    font-size: 13px;
    color: var(--sepia);
    opacity: 0.6;
}

.form-field__error {
    margin: 6px 0 0;
    font-size: 13px;
    color: var(--error-red);
}

.form-field--legend {
    position: relative;
}

.form-field--legend .form-field__label {
    position: absolute;
    top: 0;
    left: 12px;
    z-index: 1;
    transform: translateY(-50%);
    margin: 0;
    padding: 0 6px;
    background-color: var(--white);
    font-size: 13px;
    color: #888;
}

.account-notice {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: var(--account-radius);
    font-size: 13px;
    line-height: 1.5;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
}

.account-notice p {
    margin: 0;
    color: var(--sepia);
}

.account-info-table__row--required th,
.account-info-table__row--required td {
    background: #fff6f0;
}

.account-info-table__row--required th::after {
    content: '要設定';
    display: inline-block;
    margin-left: 8px;
    padding: 2px 6px;
    border-radius: 4px;
    background: #f3e0d4;
    color: #9b4a1c;
    font-size: 11px;
    font-weight: 600;
    vertical-align: middle;
}

.account-info-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e8e8e8;
}

.account-info-table th,
.account-info-table td {
    padding: 5px 16px;
    border-bottom: 1px solid #e8e8e8;
    vertical-align: middle;
    text-align: left;
}

.account-info-table tr:last-child th,
.account-info-table tr:last-child td {
    border-bottom: none;
}

.account-info-table th {
    width: 160px;
    font-weight: 700;
    color: var(--sepia);
    white-space: nowrap;
    background-color: #f5f5f5;
}

.account-info-table td {
    color: var(--sepia);
    background-color: var(--white);
}

.account-info-table__cell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.account-info-table__value {
    min-width: 0;
    flex: 1;
    word-break: break-all;
}

.account-info-table__value-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    flex: 1;
}

.account-info-table__value-group--inline {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
}

.account-info-table__value-group--inline .account-info-table__value {
    flex: 0 0 auto;
    white-space: nowrap;
}

.account-password-notice {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 8px 10px;
    background-color: #f5f5f5;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    white-space: nowrap;
}

.account-password-notice--line {
    background-color: #e8f9ef;
    border-color: #b8e6c8;
}

.account-password-notice--google {
    background-color: #f3f6ff;
    border-color: #d6e0ff;
}

.account-password-notice--popup {
    display: flex;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    margin-bottom: 16px;
    white-space: normal;
    box-sizing: border-box;
}

.account-password-notice--popup .account-password-notice__text {
    flex: 1;
    min-width: 0;
    white-space: normal;
    word-break: break-word;
}

.account-password-notice__icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    object-fit: contain;
}

.account-password-notice__icon-fa {
    flex-shrink: 0;
    font-size: 20px;
    line-height: 1;
    color: var(--sepia);
}

.account-password-notice__text {
    line-height: 1.4;
    color: var(--sepia);
    white-space: nowrap;
}

.account-info-table__cell--social {
    align-items: center;
}

.account-info-table__cell--social form {
    display: contents;
    margin: 0;
}

.account-social-status {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
    max-width: 100%;
}

.account-social-status__icon {
    display: block;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    object-fit: contain;
}

.account-social-status__name,
.account-social-status__badge {
    display: flex;
    align-items: center;
    line-height: 1;
    color: var(--sepia);
    white-space: nowrap;
}

.account-social-status__name {
    min-width: 52px;
}

.account-info-table__cell .btn-outline-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    flex-shrink: 0;
    width: 130px;
}

.account-info-table__cell .btn-outline-secondary:disabled,
.account-info-table__cell .btn-outline-secondary[disabled] {
    cursor: not-allowed;
    background-color: #999999;
    border-color: #999999;
    color: #ffffff;
    opacity: 1;
}

.account-info-table__cell .btn.btn-outline-secondary:disabled,
.account-info-table__cell .btn.btn-outline-secondary[disabled] {
    --bs-btn-disabled-bg: #999999;
    --bs-btn-disabled-border-color: #999999;
    --bs-btn-disabled-color: #ffffff;
    --bs-btn-disabled-opacity: 1;
    background-color: #999999;
    border-color: #999999;
    color: #ffffff;
    opacity: 1;
}

.account-info-table__btn-label--short {
    display: none;
}

@media (max-width: 767px) {
    .account-info-table {
        display: block;
        box-sizing: border-box;
        border-collapse: separate;
        border-spacing: 0;
        border: 1px solid #e8e8e8;
        border-radius: 4px;
        overflow: hidden;
        background-color: var(--white);
    }

    .account-info-table tbody {
        display: block;
        width: 100%;
    }

    .account-info-table tr {
        display: block;
        width: 100%;
    }

    .account-info-table th,
    .account-info-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
        border: none;
    }

    .account-info-table td {
        border-bottom: 1px solid #e8e8e8;
    }

    .account-info-table tr:last-child td {
        border-bottom: none;
    }

    .account-info-table th {
        padding: 5px 12px;
        background-color: #f5f5f5;
        border-bottom: 1px solid #e8e8e8;
        font-size: 14px;
        font-weight: 700;
    }

    .account-info-table th:empty {
        display: none;
    }

    .account-info-table td {
        padding: 5px 16px;
        background-color: var(--white);
    }

    .account-info-table__cell {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .account-info-table__cell > .account-info-table__value,
    .account-info-table__cell > .account-info-table__value-group {
        flex: 1;
        min-width: 0;
        align-self: center;
    }

    .account-info-table__value-group .account-info-table__value,
    .account-info-table__value-group > .account-info-table__value-group {
        align-self: flex-start;
        flex: 0 0 auto;
        width: 100%;
    }

    .account-info-table__value-group--inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .account-info-table__cell--social {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .account-password-notice,
    .account-password-notice__text {
        white-space: normal;
    }

    .account-info-table .btn-outline-secondary {
        width: auto;
        min-width: 70px;
        flex-shrink: 0;
        padding: 8px 12px;
        font-size: 13px;
    }

    .account-info-table__btn-label--full {
        display: inline;
    }

    .account-info-table__btn-label--short {
        display: none;
    }

    .account-info-table tr:has(.account-notice) td {
        padding-top: 0;
    }

    .account-info-table tr:has(.account-notice) + tr th {
        border-top: none;
    }
}

.account-popup {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.account-popup.is-open {
    opacity: 1;
    pointer-events: auto;
}

.account-popup[hidden] {
    display: none;
}

.account-popup__backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.45);
    cursor: pointer;
}

.account-popup__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    max-height: calc(100vh - 40px);
    overflow: auto;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: scale(0.96);
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.account-popup.is-open .account-popup__dialog {
    opacity: 1;
    transform: scale(1);
}

.account-popup__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid #e8e8e8;
}

.account-popup__title {
    margin: 0;
    color: var(--sepia);
}

.account-popup__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: var(--sepia);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.account-popup__close:hover {
    background-color: #f5f5f5;
}

.account-popup__body {
    padding: 20px;
}

.account-popup__step {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
    width: 100%;
}

.account-popup__body [data-bank-step]:not([hidden]) + [data-bank-step]:not([hidden]) {
    margin-top: 16px;
}

.account-birth-date-selects {
    display: flex;
    gap: 8px;
}

.account-birth-date-selects__item {
    flex: 1;
    min-width: 0;
}

.account-popup__footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 20px;
    border-top: 1px solid #e8e8e8;
}

.account-popup__footer .btn {
    min-width: 120px;
}

.account-popup__footer .btn-outline-secondary {
    width: auto;
}

.account-password-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.account-password-toggle__label {
    font-size: 14px;
    color: var(--sepia);
}

.account-password-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.account-form__actions {
    padding-top: 20px;
}

.account-alert {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: var(--account-radius);
    background-color: var(--white);
    border: 1px solid #ddd;
    color: var(--sepia);
}

.account-alert--error {
    background: #fdecea;
    border-color: #f5c2c0;
    color: #9b1c1c;
}

.account-alert__close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 16px;
}

/* --- resources/views/messages.blade.php --- */

/* セクションヘッダー */
.messages-container .section-header {
    margin-bottom: 20px;
}

.messages-container .section-title {
    color: var(--sepia);
    margin: 0;
}

/* メッセージグリッド */
.messages-container .message-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
}

/* セクションカード */
.messages-container .section-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.messages-container .section-card-header {
    background-color: var(--saffron);
    padding: 15px 20px;
}

.messages-container .section-card-title {
    margin: 0;
    color: var(--sepia);
}

.messages-container .section-card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* メッセージ一覧 */
.messages-container .message-list {
    display: flex;
    flex-direction: column;
}

.messages-container .message-item {
    display: block;
    padding: 15px;
    border-bottom: 1px solid var(--sidecar);
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.messages-container .message-item:last-child {
    border-bottom: none;
}

.messages-container .message-item:hover {
    background-color: var(--light-grey);
}

.messages-container .message-item.active {
    background-color: var(--sidecar);
}

.messages-container .message-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.messages-container .message-sender {
    margin: 0;
    color: var(--sepia);
}

.messages-container .message-date {
    color: var(--sepia);
    opacity: 0.7;
}

.messages-container .message-preview {
    margin: 0;
    color: var(--sepia);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* メッセージ詳細 */
.messages-container .message-detail-content {
    margin-bottom: 30px;
}

.messages-container .message-title {
    margin: 0 0 15px 0;
    color: var(--sepia);
}

.messages-container .message-info {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--sidecar);
}

.messages-container .message-info-item {
    margin-right: 20px;
    color: var(--sepia);
}

.messages-container .message-info-label {
    opacity: 0.7;
}

.messages-container .message-content {
    margin-bottom: 20px;
    line-height: 1.6;
}

.messages-container .message-content p {
    margin-bottom: 10px;
    color: var(--sepia);
}

/* 返信フォーム */
.messages-container .message-reply-form {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--sidecar);
}

.messages-container .reply-form-title {
    margin-bottom: 15px;
    color: var(--sepia);
}

.messages-container .form-group {
    margin-bottom: 5px;
}

.messages-container .form-actions {
    display: flex;
    justify-content: flex-end;
}

.messages-container .submit-button {
    padding: 10px 20px;
    background-color: var(--primary-color-2);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.messages-container .submit-button:hover {
    background-color: #e8655a;
}

/* レスポンシブスタイル */
@media screen and (max-width: 767px) {
    .messages-container .message-grid {
        grid-template-columns: 1fr;
    }

    .messages-container .section-card {
        margin-bottom: 20px;
    }

    .messages-container .message-info {
        flex-direction: column;
    }

    .messages-container .message-info-item {
        margin-right: 0;
        margin-bottom: 5px;
    }
}

/* --- policy pages (antisocial, misconduct, privacy) --- */

.policy-container {
    max-width: 800px;
    margin: 0 auto;
}

.policy-container .section-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.policy-container .section-card-body {
    padding: 30px;
}

.policy-container .policy-title {
    text-align: center;
    margin-bottom: 30px;
    color: var(--sepia);
}

.policy-container .policy-intro {
    margin-bottom: 30px;
}

.policy-container .policy-intro p {
    line-height: 1.6;
    color: var(--sepia);
}

.policy-container .policy-section {
    margin-bottom: 30px;
}

.policy-container .policy-section-title {
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
    color: var(--sepia);
}

.policy-container .policy-section-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--sidecar);
}

.policy-container .policy-list {
    padding-left: 20px;
    margin-bottom: 20px;
}

.policy-container .policy-list-item {
    margin-bottom: 10px;
    line-height: 1.6;
    color: var(--sepia);
}

/* --- resources/views/antisocial.blade.php --- */

.policy-container .policy-sublist {
    padding-left: 20px;
    margin-top: 10px;
    list-style-type: disc;
}

.policy-container .policy-sublist-item {
    margin-bottom: 10px;
    line-height: 1.6;
    color: var(--sepia);
}

/* --- resources/views/misconduct.blade.php --- */

.policy-container .policy-content {
    line-height: 1.6;
}

.policy-container .policy-paragraph {
    margin-bottom: 20px;
    color: var(--sepia);
}

.policy-container .policy-signature {
    text-align: right;
    margin-top: 40px;
}

/* --- resources/views/privacy.blade.php --- */

.policy-container .contact-info {
    background-color: var(--light-grey);
    padding: 15px;
    border-radius: 5px;
    margin-top: 15px;
}

.policy-container .contact-link {
    color: var(--primary-color-2);
    text-decoration: none;
}

.policy-container .contact-link:hover {
    text-decoration: underline;
}

.policy-container .policy-section p {
    line-height: 1.6;
    color: var(--sepia);
    margin-bottom: 15px;
}

.policy-container .mt-3 {
    margin-top: 15px;
}

.policy-container .policy-footer {
    margin-top: 40px;
    border-top: 1px solid var(--sidecar);
    padding-top: 20px;
}

.policy-container .text-right {
    text-align: right;
}

@media screen and (max-width: 767px) {
    .policy-container .section-card-body {
        padding: 20px;
    }

    .policy-container .policy-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .policy-container .policy-section-title {
        font-size: 18px;
    }

    .policy-container .policy-list {
        padding-left: 15px;
    }

    .policy-container .policy-sublist {
        padding-left: 15px;
    }

    .policy-container .policy-signature {
        margin-top: 30px;
    }
}

/* --- resources/views/terms.blade.php --- */

/* コンテナスタイル */
.terms-container {
    max-width: 800px;
    margin: 0 auto;
}

/* セクションカード */
.terms-container .section-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.terms-container .section-card-body {
    padding: 30px;
}

/* タイトルスタイル */
.terms-container .terms-title {
    text-align: center;
    margin-bottom: 30px;
    color: var(--sepia);
}

/* イントロスタイル */
.terms-container .terms-intro {
    margin-bottom: 30px;
}

.terms-container .terms-intro p {
    line-height: 1.6;
    color: var(--sepia);
}

/* セクションスタイル */
.terms-container .terms-section {
    margin-bottom: 30px;
}

.terms-container .terms-section-title {
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
    color: var(--sepia);
}

.terms-container .terms-section-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--sidecar);
}

/* リストスタイル */
.terms-container .terms-list {
    padding-left: 20px;
    margin-bottom: 20px;
}

.terms-container .terms-list-item {
    margin-bottom: 10px;
    line-height: 1.6;
    color: var(--sepia);
}

.terms-container .terms-sublist {
    padding-left: 20px;
    margin-top: 10px;
    list-style-type: disc;
}

.terms-container .terms-sublist-item {
    margin-bottom: 8px;
    line-height: 1.6;
    color: var(--sepia);
}

/* 文章スタイル */
.terms-container .terms-section p {
    line-height: 1.6;
    color: var(--sepia);
    margin-bottom: 15px;
}

/* フッタースタイル */
.terms-container .terms-footer {
    margin-top: 40px;
    border-top: 1px solid var(--sidecar);
    padding-top: 20px;
}

.terms-container .text-right {
    text-align: right;
}

/* レスポンシブスタイル */
@media screen and (max-width: 767px) {
    .terms-container .section-card-body {
        padding: 20px;
    }

    .terms-container .terms-title {
        font-size: 22px;
    }

    .terms-container .terms-section-title {
        font-size: 18px;
    }

    .terms-container .terms-list {
        padding-left: 15px;
    }

    .terms-container .terms-sublist {
        padding-left: 15px;
    }
}

/* --- resources/views/reviews/edit.blade.php --- */

/* コンテナスタイル */
.review-edit-container {
    max-width: 800px;
    margin: 0 auto;
}

/* セクションカード */
.review-edit-container .section-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.review-edit-container .section-card-header {
    background-color: var(--saffron);
    padding: 15px 20px;
}

.review-edit-container .section-card-title {
    margin: 0;
    color: var(--sepia);
}

.review-edit-container .section-card-body {
    padding: 20px;
}

/* 広告情報 */
.review-edit-container .offer-info {
    border-bottom: 1px solid var(--sidecar);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.review-edit-container .offer-title {
    margin: 0 0 5px 0;
    color: var(--sepia);
}

.review-edit-container .offer-points {
    color: var(--primary-color-2);
}

/* アラートメッセージ */
.review-edit-container .alert-message {
    padding: 15px;
    border-radius: 5px;
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.review-edit-container .alert-message.warning {
    background-color: var(--sidecar);
}

.review-edit-container .alert-message.error {
    background-color: #ffeeee;
    color: var(--error-red);
}

.review-edit-container .alert-icon {
    margin-right: 10px;
    color: var(--warning-amber);
}

.review-edit-container .alert-content {
    color: var(--sepia);
}

/* フォーム */
.review-edit-container .review-form {
    margin-top: 20px;
}

.review-edit-container .form-group {
    margin-bottom: 20px;
}

.review-edit-container .form-label {
    display: block;
    margin-bottom: 10px;
    color: var(--sepia);
}

.review-edit-container .form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--sidecar);
    border-radius: 5px;
    color: var(--sepia);
    resize: vertical;
}

.review-edit-container .form-error {
    color: var(--error-red);
    font-size: 14px;
    margin-top: 5px;
}

/* 星評価 */
.review-edit-container .star-rating-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 15px 0;
}

.review-edit-container .rating-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.review-edit-container .rating-item input[type="radio"] {
    display: none;
}

.review-edit-container .rating-item label {
    cursor: pointer;
    font-size: 2rem;
    color: #ddd;
    transition: color 0.2s ease;
}

.review-edit-container .rating-item input[type="radio"]:checked + label {
    color: var(--saffron);
}

.review-edit-container .rating-number {
    display: block;
    margin-top: 5px;
    color: var(--sepia);
    font-size: 14px;
}

/* フォームアクション */
.review-edit-container .form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.review-edit-container .cancel-button {
    padding: 10px 20px;
    background-color: var(--white);
    color: var(--sepia);
    border: 1px solid var(--sepia);
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.review-edit-container .cancel-button:hover {
    background-color: var(--light-grey);
}

.review-edit-container .submit-button {
    padding: 10px 20px;
    background-color: var(--primary-color-2);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.review-edit-container .submit-button:hover {
    background-color: #e8655a;
}

/* レスポンシブスタイル */
@media screen and (max-width: 767px) {
    .review-edit-container .section-card-body {
        padding: 15px;
    }

    .review-edit-container .star-rating-container {
        gap: 10px;
    }

    .review-edit-container .rating-item label {
        font-size: 1.5rem;
    }

    .review-edit-container .form-actions {
        flex-direction: column;
        gap: 10px;
    }

    .review-edit-container .cancel-button,
    .review-edit-container .submit-button {
        width: 100%;
        text-align: center;
    }
}

/* --- components/breadcrumb.blade.php --- */
nav.breadcrumb.container {
    display: block;
    width: 100%;
    max-width: 1240px !important;
    margin: 10px auto 7px;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

@media (min-width: 1025px) {
    nav.breadcrumb.container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: Inter, sans-serif;
    font-size: 13px;
}

.breadcrumb__item {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    white-space: nowrap;
}

.breadcrumb__item:not(:last-child)::after {
    content: "/";
    margin: 0 4px;
    color: var(--sepia);
}

.breadcrumb__link {
    color: var(--default-color);
    text-decoration: none;
}

.breadcrumb__link:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {
    nav.breadcrumb.container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    nav.breadcrumb.container::-webkit-scrollbar {
        display: none;
    }

    .breadcrumb__list {
        flex-wrap: nowrap;
        font-size: 12px;
        width: max-content;
        max-width: none;
    }
}

/* --- resources/views/offers/index.blade.php --- */

/* 検索カード */
/* --- offers/index.blade.php --- */

/* サイドバーパネル */
.sidebar-panel {
    padding: 16px 0 12px;
    overflow: hidden;
}

.sidebar-panel--favorites,
.sidebar-panel--categories {
    overflow: visible;
}

.sidebar-panel--categories {
    position: relative;
    z-index: 30;
}

.sidebar-panel + .sidebar-panel {
    margin-top: 16px;
}

.sidebar-panel__title {
    margin: 0 0 12px;
    padding: 0 12px 0px;
    font-size: 16px;
    font-weight: 700;
    color: var(--sepia);
}

/* サイドバー：新着（常時全文表示） */
.sidebar-panel__news {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-panel__news-item {
    padding: 14px 12px;
}

.sidebar-panel__news-item + .sidebar-panel__news-item {
    border-top: 1px solid var(--border-color);
}

.sidebar-panel__news-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
}

.sidebar-panel__news-date {
    font-size: 12px;
    color: var(--default-color);
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.sidebar-panel__news-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.04em;
    background: var(--primary-color);
    color: var(--white);
}

.sidebar-panel__news-title {
    display: block;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--default-color);
    margin-bottom: 6px;
}

a.sidebar-panel__news-link {
    color: inherit;
    text-decoration: none;
}

a.sidebar-panel__news-link:hover {
    text-decoration: underline;
}

.sidebar-panel__news-body {
    font-size: 12px;
    line-height: 1.7;
    color: var(--default-color);
    white-space: pre-line;
}

/* カテゴリタブ（横スクロール） */
.sidebar-tabs-wrap {
    margin-bottom: 12px;
    overflow: hidden;
    width: 100%;
}

.sidebar-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.sidebar-tab {
    flex-shrink: 0;
    padding: 6px 10px;
    font-size: 11px;
    line-height: 1.3;
    white-space: nowrap;
    cursor: pointer;
    transition:
        color 0.2s,
        background-color 0.2s,
        border-color 0.2s;
}

/* サイドバーカード一覧 */
.sidebar-cards {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sidebar-tab-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sidebar-empty {
    margin: 0;
    padding: 16px 8px;
    text-align: center;
    color: var(--sepia);
    opacity: 0.7;
}

/* お気に入り広告（縦型カード・3列） */
.sidebar-cards--vertical {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 6px 6px 0;
}

.sidebar-cards--vertical .offer-card,
.sidebar-cards--vertical .offer-card--sp {
    width: 100%;
    min-width: 0;
    max-width: none;
}

.sidebar-cards--vertical .offer-card__inner {
    padding: 4px;
}

.sidebar-cards--vertical .offer-card__image {
    margin-bottom: 4px;
}

.sidebar-cards--vertical .offer-card__title {
    margin-bottom: 4px;
    font-size: 9px;
    line-height: 1.3;
    white-space: normal;
}

.sidebar-cards--vertical .offer-card__stars {
    margin-bottom: 2px;
}

.sidebar-cards--vertical .offer-card__stars span {
    font-size: 8px;
}

.sidebar-cards--vertical .offer-card__price {
    font-size: 14px;
}

.sidebar-cards--vertical .offer-card__price-unit {
    font-size: 11px;
}

.sidebar-cards--vertical .offer-card__price--unavailable {
    font-size: 10px;
}

.sidebar-cards--vertical .offer-card__favorite-btn {
    top: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
}

.sidebar-cards--vertical .offer-card__favorite-btn svg {
    width: 10px;
    height: 10px;
}

.sidebar-more-wrap {
    display: flex;
    justify-content: center;
    padding: 12px 12px 0;
}

.sidebar-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 20px;
    color: var(--sepia);
    text-decoration: none;
    border: 1px solid var(--border-color);
    border-radius: var(--border-raius);
    background: var(--white);
    transition: background-color 0.2s ease;
}

.sidebar-more-btn:hover {
    background-color: #f5f5f5;
    color: var(--sepia);
}

.sidebar-more-btn__icon {
    font-size: 10px;
}

/* サイドバー内の横型カード（リスト風・新着・閲覧履歴など共通） */
.sidebar-cards--list .offer-card--row {
    margin: 0;
    max-width: none;
    border-bottom: 1px solid var(--border-color, #e5e7eb);
}

.sidebar-cards--list .offer-card--row + .offer-card--row {
    border-top: none;
}

.sidebar-cards--list .offer-card--row:hover .offer-card__inner {
    background-color: rgba(0, 0, 0, 0.03);
    box-shadow: none;
}

.sidebar-cards--list .offer-card--row .offer-card__inner {
    display: grid;
    grid-template-columns: 72px 1fr;
    grid-template-rows: 72px;
    column-gap: 8px;
    align-items: center;
    padding: 3px 10px;
    min-height: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.sidebar-cards--list .offer-card--row .offer-card__image {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    width: 72px;
    height: 72px;
    max-width: 72px;
    align-self: center;
    overflow: hidden;
}

.sidebar-cards--list .offer-card--row .offer-card__new-badge {
    top: 0;
    left: 0;
    min-width: 32px;
    height: 16px;
    padding: 0 4px;
    border-radius: 0 0 4px 0;
    font-size: 9px;
}

.sidebar-cards--list .offer-card--row .offer-card__title {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    margin-bottom: 0;
    padding-right: 0;
    font-size: 12px;
    line-height: 1.35;
    display: -webkit-box !important;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    word-break: break-word;
    max-height: calc(72px - 18px);
}

.sidebar-cards--list .offer-card--row .offer-card__price {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    justify-self: end;
    position: static;
    margin-bottom: 0;
    font-size: 15px;
    line-height: 1;
    text-align: right;
    white-space: nowrap;
}

.sidebar-cards--list .offer-card--row .offer-card__price-unit {
    font-size: 12px;
}

.sidebar-cards--list .offer-card--row .offer-card__price--unavailable {
    font-size: 11px;
    white-space: normal;
}

.offers-index-page .search-card {
    background-color: var(--white);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.offers-index-page .search-card-header {
    background-color: var(--sidecar);
    padding: 15px 20px;
}

.offers-index-page .search-card-title {
    margin: 0;
    color: var(--sepia);
}

.offers-index-page .search-card-body {
    padding: 20px;
}

.offers-index-page .search-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.offers-index-page .search-form-group {
    flex: 1;
    min-width: 200px;
}

.offers-index-page .search-form-group--narrow {
    flex: 0.7;
    min-width: 130px;
}

.offers-index-page .search-button-group {
    display: flex;
    align-items: flex-end;
    max-width: 150px;
}

.offers-index-page .search-label {
    display: block;
    margin-bottom: 8px;
    color: var(--sepia);
}

.offers-index-page .search-input,
.offers-index-page .search-select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--sidecar);
    border-radius: 5px;
    color: var(--sepia);
}

.offers-index-page .search-button {
    width: 100%;
    padding: 10px;
    background-color: var(--primary-color-2);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.offers-index-page .search-button:hover {
    background-color: #e8655a;
}

/* セクションヘッダー */
.offers-index-page .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.offers-index-page .section-title {
    margin: 0;
    color: var(--text-color);
}

.offers-index-page .section-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.offers-index-page .results-count {
    color: var(--sepia);
    opacity: 0.7;
    white-space: nowrap;
}

.offers-index-page .sort-form {
    margin: 0;
}

.offers-index-page .sort-select {
    padding: 6px 28px 6px 10px;
    border: 1px solid var(--border-color-1);
    border-radius: 5px;
    color: var(--sepia);
    background-color: var(--white);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23464646' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px 6px;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

/* 広告グリッド: レイアウトは common.css の .offer-grid を使用 */
.offers-index-page .offer-grid {
    margin-bottom: 30px;
}

/* 広告なしメッセージ */
.offers-index-page .no-offers-message {
    width: 100%;
}

.offers-index-page .alert-card {
    padding: 20px;
    text-align: center;
}

/* 登録バナー */
.offers-index-page .signup-banner {
    background-color: var(--sidecar);
    border-radius: 10px;
    margin: 40px 0;
    overflow: hidden;
}

.offers-index-page .signup-banner-content {
    padding: 30px;
    text-align: center;
}

.offers-index-page .signup-banner-title {
    margin-bottom: 15px;
    color: var(--sepia);
}

.offers-index-page .signup-banner-text {
    color: var(--sepia);
    max-width: 600px;
    margin: 0 auto 20px;
}

.offers-index-page .signup-banner-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
}

.offers-index-page .signup-button {
    display: block;
    padding: 12px 20px;
    background-color: var(--primary-color-2);
    color: var(--white);
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.offers-index-page .signup-button:hover {
    background-color: #e8655a;
}

.offers-index-page .login-button {
    display: block;
    padding: 12px 20px;
    background-color: var(--white);
    color: var(--sepia);
    text-decoration: none;
    border: 1px solid var(--sepia);
    transition: background-color 0.2s ease;
}

.offers-index-page .login-button:hover {
    background-color: #f5f5f5;
}

/* タブレット用スタイル */
@media screen and (min-width: 768px) and (max-width: 1439px) {
    .offers-index-page .search-form-group {
        min-width: 150px;
    }
}

/* スマホ用スタイル */
@media screen and (max-width: 767px) {
    .offers-index-page .section-title {
        font-size: 20px;
    }

    .offers-index-page .section-header {
        flex-wrap: wrap;
        gap: 12px;
    }

    .offers-index-page .section-meta {
        width: 100%;
        justify-content: space-between;
    }

    .offers-index-page .sort-select {
        padding: 10px 32px 10px 10px !important;
        background-position: right 10px center;
    }

    .offers-index-page .search-form-row {
        flex-direction: column;
        gap: 15px;
    }

    .offers-index-page .search-form-group {
        width: 100%;
    }

    .offers-index-page .search-button-group {
        max-width: 100%;
    }

    .offers-index-page .signup-banner-content {
        padding: 20px;
    }

    .offers-index-page .signup-banner-title {
        font-size: 20px;
    }
}
/* --- offers/show.blade.php (favorite button) --- */
.favorite-button {
    cursor: pointer;
    border: none;
    padding: 0;
    flex-shrink: 0;
    transform: scale(1);
    transform-origin: center center;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: background-color 0.2s ease;
}

.favorite-button svg {
    display: block;
    flex-shrink: 0;
    pointer-events: none;
}

@keyframes favorite-pop {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.favorite-button-pop {
    animation: favorite-pop 0.4s ease;
}

/* --- partials/reviews_section.blade.php --- */
.review-container .review-form-box {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
}

.review-container .review-form-title {
    margin-bottom: 15px;
    font-weight: bold;
}

.review-container .review-form-field {
    margin-bottom: 15px;
}

.review-container .star-rating-container--inline {
    flex-direction: row;
    justify-content: flex-start;
}

.review-container .review-alert-spaced {
    margin-top: 15px;
}

.review-container .review-list-title {
    margin-bottom: 15px;
    font-weight: bold;
}

.review-container .review-card-item {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.review-container .review-content {
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin-top: 10px;
}

.review-container .review-rating {
    display: flex;
    gap: 1px;
    font-size: 0.95rem;
    margin-top: 4px;
}

.review-container .review-rating i {
    margin-right: 0;
}

.review-container .review-rating i.fas {
    color: var(--saffron);
}

.review-container .review-rating i.far {
    color: #d8d8d8;
}

.review-container .review-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}

.review-container .pagination-container {
    margin-top: 20px;
}

.review-container .star-rating-container {
    display: flex;
    font-size: 1.125rem;
    gap: 2px;
}

.review-container .rating-item-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
}

.review-container .star-rating-input {
    display: none;
}

.review-container .star-rating-label {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #d8d8d8;
    transition: color 0.2s;
}

.review-container .star-rating-label.is-active {
    color: var(--saffron);
}

.review-container .rating-number-container {
    font-size: 0.7rem;
    margin-top: 2px;
    color: #666;
}

.review-container .star-icon {
    transition: color 0.3s;
}
/* --- resources/views/welcome.blade.php --- */

.main-banner-slider-wrapper {
    padding: 0;
    margin-bottom: 20px;
}

.main-banner-slider {
    position: relative;
}

.main-banner-slider__stage {
    position: relative;
    overflow: hidden;
}

.main-banner-slider__dots-wrap {
    margin-top: 0;
    padding-top: 0px;
}

.main-banner-slider__track {
    margin: 0;
}

.main-banner-slider__track:not(.slick-initialized) {
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.main-banner-slider__track:not(.slick-initialized) .main-banner-slider__slide {
    display: none;
    flex: 0 0 auto;
    min-width: 0;
}

.main-banner-slider__track:not(.slick-initialized)
    .main-banner-slider__slide:first-child {
    display: block;
    width: 100%;
    max-width: 100%;
}

.main-banner-slider__slide {
    padding: 0;
    box-sizing: border-box;
}

.main-banner-slider .slick-list {
    overflow: hidden;
    /* 縦はブラウザ、横は Slick に任せる（pan-x だとスワイプ感が悪化する） */
    touch-action: pan-y;
    overscroll-behavior-x: contain;
}

.main-banner-slider .slick-track {
    display: flex !important;
    align-items: stretch;
}

.main-banner-slider .slick-slide {
    height: auto;
}

.main-banner-slider .slick-slide > div {
    height: auto;
}

.main-banner-slider__link {
    display: block;
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0;
    aspect-ratio: 430 / 170;
    height: auto;
    cursor: pointer;
    background: #fff;
}

.main-banner-slider__link--nolink {
    cursor: default;
}

.main-banner-slider picture,
.main-banner-slider .main-banner-slider__img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.main-banner-slider picture img,
.main-banner-slider .main-banner-slider__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.main-banner-slider__arrow {
    display: none;
}

.main-banner-slider__dots {
    position: static;
    display: flex !important;
    justify-content: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    transform: none;
}

.main-banner-slider__dots li {
    margin: 0;
    width: auto;
    height: auto;
}

.main-banner-slider__dots li button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c8c8c8;
    opacity: 1;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
}

.main-banner-slider__dots li.is-active button {
    background: var(--primary-color, #333);
}

@media (min-width: 1025px) {
    .main-banner-slider__track:not(.slick-initialized) {
        align-items: stretch;
    }

    .main-banner-slider__track:not(.slick-initialized) .main-banner-slider__slide {
        display: block;
        flex: 0 0 90%;
        max-width: 90%;
        padding: 0 4px;
        box-sizing: border-box;
    }

    .main-banner-slider__track:not(.slick-initialized)
        .main-banner-slider__slide:not(:first-child):not(:nth-child(2)):not(:last-child) {
        display: none;
    }

    .main-banner-slider__track:not(.slick-initialized)
        .main-banner-slider__slide:first-child {
        order: 2;
        width: auto;
        max-width: none;
    }

    .main-banner-slider__track:not(.slick-initialized)
        .main-banner-slider__slide:nth-child(2) {
        order: 3;
    }

    .main-banner-slider__track:not(.slick-initialized)
        .main-banner-slider__slide:last-child:not(:first-child) {
        order: 1;
    }

    .main-banner-slider__track:not(.slick-initialized)
        .main-banner-slider__slide:nth-child(2):last-child {
        order: 3;
    }

    .main-banner-slider__track:not(.slick-initialized)
        .main-banner-slider__slide:not(:first-child) .main-banner-slider__link::after,
    .main-banner-slider .slick-slide.is-banner-dim .main-banner-slider__link::after {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(255, 255, 255, 0.2);
        pointer-events: none;
        z-index: 1;
    }

    .main-banner-slider__slide {
        padding: 0 4px;
    }

    .main-banner-slider__arrow {
        position: absolute;
        top: 50%;
        z-index: 20;
        width: 36px;
        height: 36px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.94);
        color: #222;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        transform: translateY(-50%);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition:
            background-color 0.2s ease,
            color 0.2s ease,
            box-shadow 0.2s ease;
    }

    .main-banner-slider__arrow:hover {
        background: #fff;
        color: var(--primary-color, #fd3542);
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.24);
    }

    .main-banner-slider__arrow--prev {
        left: max(8px, calc(5% - 18px));
    }

    .main-banner-slider__arrow--next {
        right: max(8px, calc(5% - 18px));
    }

    .main-banner-slider__link {
        aspect-ratio: 1950 / 480;
        border-radius: 0;
    }

    .main-banner-slider__arrow svg {
        width: 18px;
        height: 18px;
        display: block;
    }
}

.error-header {
    padding: 50px 0 0;
    margin-bottom: 30px;
}

.error-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.error-header .row {
    margin: 0;
}

.error-header .col-md-8 {
    padding: 0;
    max-width: 100%;
    flex: 0 0 100%;
}

.error-heading {
    font-weight: 600;
    color: var(--primary-color-2);
    font-size: 24px;
}

.error-body {
    margin: 60px auto;
    min-height: 380px;
}

.error-content {
    background-color: #f8f9fa;
    border-radius: 15px;
    padding: 30px 20px;
    margin-top: 20px;
    width: 100%;
}

.error-content p {
    color: #555;
    margin-bottom: 0;
    text-align: center;
    line-height: 28px;
}

.button-container {
    margin: 20px auto;
    display: flex;
    justify-content: center;
    text-align: center;
}

.error-header .text-center {
    text-align: center;
}

p.footer__copyright-text {
    color: var(--white);
}

/* ---- 共通: 広告カードグリッド / カテゴリオファーズスライダー ---- */
/* 広告カードグリッド: 横6列×2段 */
.offer-card-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px 12px;
    /* NEWバッジのはみ出し用 */
    padding-top: 8px;
}

.offer-card-grid .offer-card {
    width: 100%;
    max-width: none;
    margin: 0;
    height: 100%;
    overflow: visible;
}

.offer-card-grid .offer-card__link {
    height: 100%;
}

.offer-card-grid .offer-card__link,
.offer-card-grid .offer-card__inner {
    overflow: visible;
}

.offer-card-grid .offer-card__inner {
    padding: 8px;
}

.offer-card-grid .offer-card__image {
    margin-bottom: 6px;
}

.offer-card-grid .offer-card__title {
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.35;
    white-space: normal;
    min-height: calc(13px * 1.35 * 2);
}

.offer-card-grid .offer-card__stars {
    margin-bottom: 2px;
}

.offer-card-grid .offer-card__stars span {
    font-size: 9px;
}

.offer-card-grid .offer-card__price {
    font-size: 20px;
    font-weight: 700;
    min-height: 1.85rem;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.offer-card-grid .offer-card__price-unit {
    font-size: 14px;
    font-weight: 700;
}

.offer-card-grid .offer-card__price--unavailable {
    font-size: 13px;
    line-height: 1.3;
}

.offer-card-grid .offer-card__price--excluded {
    font-size: 13px;
    line-height: 1.3;
}

.offer-card-grid .offer-card__favorite-btn {
    top: 4px;
    right: 4px;
    width: 26px;
    height: 26px;
}

.offer-card-grid .offer-card__favorite-btn svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 1023px) {
    .offer-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px 6px;
    }

    .offer-card-grid .offer-card__inner {
        padding: 6px;
    }

    .offer-card-grid .offer-card__title {
        font-size: 12px;
        min-height: calc(12px * 1.35 * 2);
    }

    .offer-card-grid .offer-card__price {
        font-size: 18px;
    }

    .offer-card-grid .offer-card__price-unit {
        font-size: 13px;
    }

    .offer-card-grid .offer-card__price--unavailable {
        font-size: 13px;
    }

    .offer-card-grid .offer-card__price--excluded {
        font-size: 13px;
    }

}

@media (min-width: 1024px) {
    .offer-card-grid--inset {
        margin-left: 12px;
        margin-right: 12px;
    }

    .offer-card-grid--cols-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 16px 20px;
    }

    .offer-card-grid--cols-5 .offer-card {
        max-width: 150px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* 横型カードグリッド（おすすめ広告など） */
.offer-card-row-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-left: 28px;
    margin-right: 28px;
}

@media (max-width: 1023px) {
    .offer-card-row-grid {
        gap: 10px;
        margin-left: 12px;
        margin-right: 12px;
    }

    .offer-card-row-grid .offer-card--row .offer-card__title {
        font-size: 16px;
        line-height: 1.4;
        padding-right: 38px;
    }

    .offer-card-row-grid .offer-card--row .offer-card__favorite-btn {
        top: 8px;
        right: 8px;
    }
}

@media (min-width: 1024px) {
    .offer-card-row-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .offer-card-row-grid .offer-card--row .offer-card__title {
        font-size: 18px;
        padding-right: 40px;
    }

    .offer-card-row-grid .offer-card--row .offer-card__favorite-btn {
        top: 10px;
        right: 10px;
    }
}

/* カテゴリオファーズスライダー: 画面幅いっぱい（SP） / 列幅いっぱい（PC） */
.category-offers-section {
    width: 100%;
    margin-inline: auto;
    overflow: visible;
}

.category-offers-slider-sp,
.category-offers-slider-sp.slider-wrapper-sp {
    overflow: visible;
}

.category-offers-slider-sp,
.category-offers-slider-pc {
    position: relative;
}

.category-offers-slider-pc {
    display: none;
}

@media (min-width: 1024px) {
    .category-offers-section {
        max-width: 1200px;
    }

    .category-offers-slider-pc {
        display: block;
    }

    .category-offers-slider-sp {
        display: none !important;
    }
}

@media (max-width: 1023px) {
    .category-offers-slider-sp {
        width: 100vw;
        max-width: 100vw;
        margin-inline: calc(50% - 50vw);
        padding-left: 0;
        padding-right: 0;
        box-sizing: border-box;
    }
}

@media (min-width: 1024px) {
    .category-offers-slider-pc {
        width: 100% !important;
        max-width: none !important;
        margin-inline: 0 !important;
        overflow: visible;
    }
}

@media (max-width: 1023px) {
    .category-offers-slider-pc {
        display: none !important;
    }

    .category-offers-slider-sp.slider-wrapper-sp {
        min-height: auto;
        overflow: hidden;
    }

    /* 3列×2段 + 前後同量のチラ見え（CSS scroll-snap）
       --single も同じレイアウト。違いはスクロール可否と ::after のみ */
    .category-offers-sp-scroll {
        --sp-peek-col: 0.18;
        --sp-col-gap: 6px;
        --sp-page-gap: 8px;
        --sp-grid-w: calc(100vw * 3 / (3 + 2 * var(--sp-peek-col)));
        --sp-peek-w: calc((100vw - var(--sp-grid-w)) / 2);
        box-sizing: border-box;
        display: flex;
        gap: 0;
        width: 100%;
        scroll-padding-left: var(--sp-peek-w);
        scroll-padding-right: var(--sp-peek-w);
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        touch-action: pan-x pan-y;
    }

    .category-offers-sp-scroll::-webkit-scrollbar {
        display: none;
    }

    .category-offers-sp-scroll::before,
    .category-offers-sp-scroll::after {
        content: '';
        display: block;
        flex: 0 0 var(--sp-peek-w);
        scroll-snap-align: none;
    }

    /* 1ページのみ: スクロール不可 */
    .category-offers-sp-scroll--single {
        overflow-x: hidden;
        scroll-snap-type: none;
    }

    .category-offers-sp-page {
        flex: 0 0 var(--sp-grid-w);
        min-width: var(--sp-grid-w);
        scroll-snap-align: start;
        scroll-snap-stop: always;
        box-sizing: border-box;
    }

    .category-offers-sp-page + .category-offers-sp-page {
        margin-left: var(--sp-page-gap);
    }

    .category-offers-sp-page .offer-card-grid {
        width: 100%;
        margin: 0;
        gap: 10px var(--sp-col-gap);
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .category-offers-sp-arrow {
        position: absolute;
        top: 50%;
        z-index: 3;
        width: 32px;
        height: 32px;
        padding: 0;
        border: 1px solid rgba(0, 0, 0, 0.1);
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.96);
        color: #555;
        box-shadow: var(--shadow-sm);
        transform: translateY(-50%);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    }

    .category-offers-sp-arrow[hidden] {
        display: none;
    }

    .category-offers-sp-arrow--prev {
        left: 4px;
    }

    .category-offers-sp-arrow--next {
        right: 4px;
    }

    .category-offers-sp-arrow svg {
        display: block;
        width: 16px;
        height: 16px;
    }

    .category-offers-sp-arrow:active {
        color: var(--primary-color);
        border-color: rgba(0, 0, 0, 0.14);
        background: var(--white);
    }
}

.category-offers-slider-pc .category-slider:not(.slick-initialized) {
    display: block;
}

.category-offers-slider-pc .category-slider.slick-initialized {
    display: block;
}

@media (min-width: 1024px) {
    .category-offers-slider-pc.slider-wrapper {
        min-height: 420px;
    }

    /* 1段のみ（12件未満）: 2段分の余白を確保しない */
    .category-offers-slider-pc.category-offers-slider-pc--single-row.slider-wrapper {
        min-height: 0;
    }

    .category-offers-section--single-row + .offers-more-wrap {
        margin-top: 16px;
    }

    /* 新着広告と同じ offer-card-grid（1段=6件 / 2段=12件） */
    .category-offers-slider-pc[data-pc-layout="grid"] .category-slider .slick-slide {
        padding-left: 0;
        padding-right: 0;
        box-sizing: border-box;
    }

    .category-offers-slider-pc[data-pc-layout="grid"] .category-offers-pc-page {
        width: 100%;
    }

    .category-offers-slider-pc .offer-card__link {
        height: 100%;
    }

    .category-offers-slider-pc .offer-card__link,
    .category-offers-slider-pc .offer-card__inner {
        overflow: visible;
    }

    .category-offers-slider-pc .offer-card__inner {
        padding: 8px;
    }

    .category-offers-slider-pc .offer-card__image {
        margin-bottom: 6px;
    }

    .category-offers-slider-pc .offer-card__title {
        margin-bottom: 10px;
        font-weight: 700;
        font-size: 13px;
        line-height: 1.35;
        white-space: normal;
        min-height: calc(13px * 1.35 * 2);
    }

    .category-offers-slider-pc .offer-card__stars {
        margin-bottom: 2px;
    }

    .category-offers-slider-pc .offer-card__stars span {
        font-size: 9px;
    }

    .category-offers-slider-pc .offer-card__price {
        font-size: 20px;
        font-weight: 700;
        min-height: 1.85rem;
        display: flex;
        align-items: flex-end;
        justify-content: center;
    }

    .category-offers-slider-pc .offer-card__price-unit {
        font-size: 14px;
        font-weight: 700;
    }

    .category-offers-slider-pc .offer-card__price--unavailable {
        font-size: 13px;
        line-height: 1.3;
    }

    .category-offers-slider-pc .offer-card__price--excluded {
        font-size: 13px;
        line-height: 1.3;
    }

    .category-offers-slider-pc .offer-card__favorite-btn {
        top: 4px;
        right: 4px;
        width: 26px;
        height: 26px;
    }

    .category-offers-slider-pc .offer-card__favorite-btn svg {
        width: 14px;
        height: 14px;
    }

    .category-offers-slider-pc .offer-card,
    .category-offers-slider-pc .offer-card__link,
    .category-offers-slider-pc .offer-card-content {
        min-width: 0;
        max-width: 100%;
    }
}

.offers-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 16px;
    padding-left: 12px;
    padding-right: 12px;
}

.offers-more-btn {
    position: relative;
    box-sizing: border-box;
    display: block;
    width: 100%;
    max-width: 560px;
    padding: 10px 52px;
    border-radius: 9999px;
    background-color: var(--white);
    color: #333;
    border: 1px solid #d9d9d9;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .offers-more-btn:hover {
        background-color: var(--white);
        border-color: var(--primary-color);
        color: var(--primary-color);
    }
}

.offers-more-btn__label {
    display: block;
}

.offers-more-btn__icon {
    position: absolute;
    top: 50%;
    right: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-50%);
}

.offers-more-btn__icon svg {
    display: block;
    width: 14px;
    height: 14px;
}

@media (min-width: 1024px) {
    .offers-more-wrap {
        margin-top: 26px;
    }
}
