@charset "UTF-8";
/* ========================================
   Foundation
======================================== */
/* ========================================
   Reset
======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    min-width: 0;
}

html {
    scroll-behavior: smooth;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
    margin: 0;
}

body {
    min-height: 100vh;
    min-height: 100svh;
    line-height: 1.5;
}

ul,
ol {
    padding: 0;
    list-style: none;
}

img,
picture,
svg,
video,
canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

img {
    border-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    margin: 0;
    color: inherit;
    font: inherit;
}

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button {
    padding: 0;
    background: transparent;
    border: 0;
}

    button:not(:disabled) {
        cursor: pointer;
    }

    button:disabled {
        cursor: not-allowed;
    }

input,
textarea,
select {
    background-color: transparent;
    border-radius: 0;
}

textarea {
    overflow: auto;
    resize: vertical;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

legend {
    display: table;
    max-width: 100%;
    padding: 0;
    color: inherit;
    white-space: normal;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

address {
    font-style: normal;
}

summary {
    display: list-item;
    cursor: pointer;
}

template {
    display: none;
}

[hidden] {
    display: none !important;
}

/* ========================================
   Variables
======================================== */
/* ----------------------------------------
   Color: Basic
---------------------------------------- */
/* ----------------------------------------
   Color: Brand
---------------------------------------- */
/* ----------------------------------------
   Color: Store UI
---------------------------------------- */
/* ----------------------------------------
   Color: State
---------------------------------------- */
/* ----------------------------------------
   Font
---------------------------------------- */
/* ----------------------------------------
   Font Weight
---------------------------------------- */
/* ----------------------------------------
   Layout
---------------------------------------- */
/* ----------------------------------------
   Breakpoint
---------------------------------------- */
/* ----------------------------------------
   Border Radius
---------------------------------------- */
/* ----------------------------------------
   Shadow
---------------------------------------- */
/* ----------------------------------------
   Transition
---------------------------------------- */
/* ----------------------------------------
   Z-index
---------------------------------------- */
/* ========================================
   Mixins
======================================== */
/* ----------------------------------------
   Font
---------------------------------------- */
/* ----------------------------------------
   Media Query
---------------------------------------- */
/* ----------------------------------------
   Interaction
---------------------------------------- */
/* ----------------------------------------
   Layout
---------------------------------------- */
/* ----------------------------------------
   Accessibility
---------------------------------------- */
/* ----------------------------------------
   Text
---------------------------------------- */
/* ----------------------------------------
   Position
---------------------------------------- */
/* ----------------------------------------
   Selectable Pill Button
---------------------------------------- */
/* ========================================
   Base
======================================== */
html {
    width: 100%;
    max-width: 100%;
    font-size: 62.5%;
    scroll-padding-top: 96px;
    overflow-x: hidden;
    background-color: #383838;
}

@supports (overflow: clip) {
    html {
        overflow-x: clip;
    }
}

@media screen and (max-width: 768px) {
    html {
        scroll-padding-top: 72px;
    }
}

body {
    position: relative;
    width: 100%;
    min-width: 320px;
    max-width: 100%;
    margin: 0;
    overflow-x: hidden;
    color: #222222;
    font-family: "M PLUS 1", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.6;
    overflow-wrap: anywhere;
    background-color: #383838;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "palt";
}

@supports (overflow: clip) {
    body {
        overflow-x: clip;
    }
}

body.is-scroll-locked {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
}

main {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 50vh;
    overflow-x: hidden;
}

@supports (overflow: clip) {
    main {
        overflow-x: clip;
    }
}

img {
    max-width: 100%;
}

a,
button {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

    a:focus-visible {
        outline: 3px solid #2879d0;
        outline-offset: 3px;
    }

    button:focus-visible {
        outline: 3px solid #2879d0;
        outline-offset: 3px;
    }

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #2879d0;
    outline-offset: 3px;
}

::-moz-selection {
    color: #ffffff;
    background-color: #222222;
}

::selection {
    color: #ffffff;
    background-color: #222222;
}

/* ----------------------------------------
   Reduced Motion
---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* ========================================
   Layout
======================================== */
/* ========================================
   Header
======================================== */
.header {
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 80px;
    background-color: #ffffff;
    /* ----------------------------------------
     Always fixed Header
  ---------------------------------------- */
}

.header--fixed {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 100;
}

/* ----------------------------------------
   Header Upper
---------------------------------------- */
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 80px;
    padding-left: 10px;
    color: #ffffff;
    background-color: #000000;
}

/* ----------------------------------------
   Header Left
---------------------------------------- */
.header__left {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* ----------------------------------------
   Header Logo
---------------------------------------- */
.header__logo {
    width: 278px;
    height: 80px;
    flex-shrink: 0;
}

    .header__logo a {
        display: flex;
        align-items: center;
        width: 100%;
        height: 100%;
    }

@media (hover: hover) and (pointer: fine) {
    .header__logo a:hover {
        opacity: 0.75;
    }
}

.header__logo img {
    display: block;
    width: 278px;
    height: 80px;
    -o-object-fit: contain;
    object-fit: contain;
}

/* ----------------------------------------
   User Area
---------------------------------------- */
.header__user {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    height: 80px;
    margin-left: auto;
}

/* ----------------------------------------
   Login Button
---------------------------------------- */
.header__login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 116px;
    height: 36px;
    margin-right: 29px;
    padding: 0 16px;
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3125;
    letter-spacing: 0;
    text-align: center;
    white-space: nowrap;
    background-color: #2261c6;
    border: 1px solid #2261c6;
    border-radius: 8px;
}

@media (hover: hover) and (pointer: fine) {
    .header__login-btn:hover {
        color: #2261c6;
        background-color: #e7eef5;
        border-color: #2261c6;
    }
}

/* ----------------------------------------
   Logged-in User Information
---------------------------------------- */
.header__user-info {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    height: 80px;
}

/*
 * HTMLに style="display: none;" がある間は非表示です。
 * ログイン後、JavaScriptでインラインスタイルを解除すると
 * display: flex が適用されます。
 */
.header__user-name {
    display: block;
    max-width: min(240px, 20vw);
    overflow: hidden;
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.3125;
    letter-spacing: 0;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header__id {
    display: flex;
    align-items: center;
    min-width: 0;
    margin-left: 31px;
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.3125;
    letter-spacing: 0;
    text-align: left;
    white-space: nowrap;
}

    .header__id span {
        display: inline-block;
        width: 130px;
        flex-shrink: 0;
        margin-left: 5px;
        margin-right: 50px;
        font: inherit;
        font-variant-numeric: tabular-nums;
        text-align: left;
        white-space: nowrap;
    }

/* ----------------------------------------
   Hamburger Button
---------------------------------------- */
.header__menu-toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    margin-left: 0;
    color: #ffffff;
    background-color: #000000;
}

.header__menu-icon,
.header__menu-icon::before,
.header__menu-icon::after {
    position: absolute;
    display: block;
    width: 28px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 9999px;
    transition: top 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.header__menu-icon {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

    .header__menu-icon::before,
    .header__menu-icon::after {
        content: "";
        left: 0;
    }

    .header__menu-icon::before {
        top: -9px;
    }

    .header__menu-icon::after {
        top: 9px;
    }

/* メニュー展開時 */
.header__menu-toggle[aria-expanded=true] .header__menu-icon {
    background-color: transparent;
}

    .header__menu-toggle[aria-expanded=true] .header__menu-icon::before {
        top: 0;
        transform: rotate(45deg);
    }

    .header__menu-toggle[aria-expanded=true] .header__menu-icon::after {
        top: 0;
        transform: rotate(-45deg);
    }

/* ----------------------------------------
   Tablet
---------------------------------------- */
@media screen and (max-width: 1024px) {
    .header__user-name {
        max-width: 180px;
    }

    .header__id {
        margin-left: 20px;
    }
}
/* ----------------------------------------
   Smartphone
---------------------------------------- */
@media screen and (max-width: 768px) {
    .header {
        min-height: 70px;
    }

    .header__inner {
        height: 70px;
        padding-right: 17px;
        padding-left: 0;
    }

    .header__logo {
        width: min(228px, 58vw);
        height: 70px;
    }

        .header__logo img {
            width: 100%;
            height: 70px;
        }

    .header__user {
        height: 64px;
    }

    .header__login-btn {
        width: auto;
        min-width: 80px;
        height: 29px;
        margin-right: 12px;
        padding: 0 16px;
        font-size: 1.2rem;
        border-radius: 6px;
    }

    .header__user-info {
        height: 64px;
    }

    .header__user-name,
    .header__id {
        display: none;
    }

    .header__menu-toggle {
        width: 64px;
        height: 64px;
    }

    .header__nav {
        height: 56px;
    }

    .header__menu {
        gap: 15px;
        padding: 8px 47.5px;
    }

    .header__item {
        height: 40px;
        flex: 1 1 0;
        min-width: 0;
    }

        .header__item a {
            width: 100%;
            min-width: 0;
            min-height: 40px;
            height: 40px;
            padding: 7px 12px;
            font-size: 1.4rem;
        }
}
/* ----------------------------------------
   Small Smartphone
---------------------------------------- */
@media screen and (max-width: 480px) {
    .header__logo {
        width: min(228px, 58vw);
    }

    .header__login-btn {
        min-width: 80px;
        margin-right: 8px;
        padding: 0 12px;
    }

    .header__menu {
        gap: 15px;
        padding-right: clamp(15px, 12.18vw, 47.5px);
        padding-left: clamp(15px, 12.18vw, 47.5px);
    }

    .header__item a {
        padding-inline: 8px;
        font-size: 1.3rem;
    }
}
/* ========================================
   Scroll Header Control
======================================== */
.header__inner {
    transition: transform 0.3s ease, visibility 0.3s ease;
    will-change: transform;
}

/*
 * 上方向スクロールによって表示されたヘッダー上段。
 *
 * カテゴリーの固定状態とは分離して管理する。
 * そのため、ヒーロー部分まで戻ってカテゴリー固定が
 * 解除されたあとも上部固定を維持する。
 */
body.is-scroll-header-fixed .header__inner {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 100;
}

/*
 * 固定状態だが非表示の場合。
 */
body.is-scroll-header-fixed:not(.is-scroll-header-visible) .header__inner {
    visibility: hidden;
    transform: translateY(-100%);
    pointer-events: none;
}

/*
 * 上方向スクロール時の表示状態。
 */
body.is-scroll-header-fixed.is-scroll-header-visible .header__inner {
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* ----------------------------------------
   Smartphone
---------------------------------------- */
@media screen and (max-width: 768px) {
    body.is-scroll-header-fixed .header__inner {
        height: 70px;
    }
}
/* ----------------------------------------
   Reduced Motion
---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .header__inner {
        transition: none;
    }
}
/* ========================================
   Main
======================================== */
main {
    /*
  * 固定ヘッダー上段の高さだけ余白を確保します。
  *
  * ヘッダー全体は144pxですが、アイキャッチは
  * 画面上端から80pxの位置で始まるため、
  * padding-topは80pxにします。
  *
  * ヘッダー下段の64px部分は、
  * アイキャッチの上に重なります。
  */
}

@media screen and (max-width: 768px) {
    main {
        /*
    * スマートフォンではヘッダー上段が64pxのため、
    * アイキャッチの開始位置も64pxにします。
    */
    }
}

/* ========================================
   Footer
======================================== */
.footer {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 39px 0 30px;
    color: #ffffff;
    background-color: #000000;
}

@media screen and (max-width: 768px) {
    .footer {
        min-height: auto;
        padding: 14px 0 17px;
    }
}

/* ----------------------------------------
   Inner
---------------------------------------- */
.footer__inner {
    width: min(100% - 48px, 1400px);
    margin-inline: auto;
}

@media screen and (max-width: 768px) {
    .footer__inner {
        width: min(100% - 32px, 1400px);
    }
}

.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ----------------------------------------
   Logo
---------------------------------------- */
.footer__logo {
    width: min(19.271vw, 370px);
    flex-shrink: 0;
}

@media screen and (max-width: 768px) {
    .footer__logo {
        width: min(60vw, 234px);
    }
}

.footer__logo a {
    display: block;
    width: 100%;
}

@media (hover: hover) and (pointer: fine) {
    .footer__logo a:hover {
        opacity: 0.75;
    }
}

.footer__logo img {
    display: block;
    width: 100%;
    height: auto;
}

/* ----------------------------------------
   Navigation
---------------------------------------- */
.footer__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    -moz-column-gap: clamp(32px, 4.167vw, 80px);
    column-gap: clamp(32px, 4.167vw, 80px);
    row-gap: 12px;
    width: 100%;
    margin-top: 16px;
}

@media screen and (max-width: 768px) {
    .footer__nav {
        flex-direction: column;
        align-items: center;
        row-gap: 13px;
        margin-top: 12px;
    }
}

.footer__item {
    display: flex;
    justify-content: center;
    text-align: center;
}

    .footer__item a {
        display: inline-block;
        color: #ffffff;
        font-size: 1.4rem;
        font-weight: 400;
        line-height: 1.36;
        letter-spacing: 0;
        white-space: nowrap;
    }

@media (hover: hover) and (pointer: fine) {
    .footer__item a:hover {
        opacity: 0.7;
    }
}

@media screen and (max-width: 768px) {
    .footer__item a {
        font-size: 1.2rem;
        white-space: normal;
    }
}

/* ----------------------------------------
   Copyright
---------------------------------------- */
.footer__copyright {
    margin-top: 29px;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.36;
    letter-spacing: 0;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .footer__copyright {
        margin-top: 95px;
        font-size: 1.2rem;
        line-height: 1.6;
    }
}

.footer__copyright small {
    font-size: inherit;
}

/* ========================================
   Component
======================================== */
/* ========================================
Button
======================================== */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ========================================
   Drawer Menu
======================================== */
/* ----------------------------------------
   Drawer Root
---------------------------------------- */
.drawer-menu {
    position: fixed;
    z-index: 500;
    inset: 0;
    visibility: hidden;
    width: 100%;
    height: 100%;
    height: 100dvh;
    overflow: hidden;
    pointer-events: none;
}

    .drawer-menu.is-open {
        visibility: visible;
        pointer-events: auto;
    }

/* ----------------------------------------
   Overlay
---------------------------------------- */
.drawer-menu__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.drawer-menu.is-open .drawer-menu__overlay {
    opacity: 1;
}

/* ----------------------------------------
   Container
---------------------------------------- */
.drawer-menu__container {
    position: absolute;
    top: 0;
    right: 0;
    width: min(100%, 495px);
    height: 100%;
    height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    color: #ffffff;
    background-color: #000000;
    transform: translateX(100%);
    transition: transform 0.2s ease;
    will-change: transform;
    backface-visibility: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.drawer-menu.is-open .drawer-menu__container {
    transform: translateX(0);
}

/* ----------------------------------------
   Header
---------------------------------------- */
.drawer-menu__header {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    min-height: 91px;
    padding: 20px 20px 0 19px;
}

/* ----------------------------------------
   Logo
---------------------------------------- */
.drawer-menu__logo {
    width: 128px;
    height: 71px;
    flex-shrink: 0;
}

    .drawer-menu__logo img {
        display: block;
        width: 100%;
        height: 100%;
        -o-object-fit: contain;
        object-fit: contain;
    }

/* ----------------------------------------
   Close Button
---------------------------------------- */
.drawer-menu__close-btn {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    margin-top: -10px;
    margin-right: -10px;
    overflow: hidden;
    color: transparent;
    font-size: 0;
    background-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
    .drawer-menu__close-btn:hover {
        opacity: 0.7;
    }
}

.drawer-menu__close-btn::before,
.drawer-menu__close-btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 28px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 9999px;
}

.drawer-menu__close-btn::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.drawer-menu__close-btn::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* ----------------------------------------
   Body
---------------------------------------- */
.drawer-menu__body {
    width: 100%;
    padding-bottom: 40px;
}

/* ----------------------------------------
   User Profile
---------------------------------------- */
.drawer-menu__user-profile {
    min-height: 233px;
    margin-top: 20px;
    margin-right: 5.632%;
    margin-left: 5.834%;
    padding: 31px 39px 39px;
    background-color: #313131;
    border-radius: 8px;
}

/* ----------------------------------------
   User ID
---------------------------------------- */
.drawer-menu__user-id {
    margin: 0;
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.3125;
    letter-spacing: 0;
    text-align: left;
}

    .drawer-menu__user-id span {
        display: block;
        width: 100%;
        margin-top: 11px;
        color: #ffffff;
        font-size: 2rem;
        font-weight: 700;
        font-variant-numeric: tabular-nums;
        line-height: 1.35;
        letter-spacing: 0;
        text-align: left;
        overflow-wrap: anywhere;
    }

/* ----------------------------------------
   User Name
---------------------------------------- */
.drawer-menu__user-name {
    margin-top: 39px;
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.3125;
    letter-spacing: 0;
    text-align: left;
}

    .drawer-menu__user-name span {
        display: block;
        width: 100%;
        margin-top: 11px;
        overflow: hidden;
        color: #ffffff;
        font-size: 2rem;
        font-weight: 700;
        line-height: 1.35;
        letter-spacing: 0;
        text-align: left;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

/* ----------------------------------------
   Currency
---------------------------------------- */
.drawer-menu__currency {
    margin-top: 31px;
    margin-right: 12.905%;
    margin-left: 13.511%;
}

.drawer-menu__currency-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.drawer-menu__currency-label,
.drawer-menu__currency-value {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0;
}

.drawer-menu__currency-label {
    text-align: left;
}

.drawer-menu__currency-value {
    min-width: 8ch;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* 有償・無償 */
.drawer-menu__currency-breakdown {
    display: flex;
    flex-direction: column;
    gap: 9px;
    width: 100%;
    margin-top: 21px;
}

.drawer-menu__currency-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.drawer-menu__currency-sublabel,
.drawer-menu__currency-subvalue {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.3125;
    letter-spacing: 0;
}

.drawer-menu__currency-sublabel {
    text-align: left;
}

.drawer-menu__currency-subvalue {
    min-width: 8ch;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* ----------------------------------------
   Navigation
---------------------------------------- */
.drawer-menu__nav {
    width: 100%;
    margin-top: 48px;
}

.drawer-menu__list {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-top: 1px solid #707070;
}

.drawer-menu__item {
    width: 100%;
    border-bottom: 1px solid #707070;
}

.drawer-menu__link {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 91px;
    padding: 31px 66px 33px;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0;
    text-align: left;
    background-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
    .drawer-menu__link:hover {
        background-color: #313131;
    }
}

/* 右向き矢印 */
.drawer-menu__link::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 64px;
    width: 14px;
    height: 14px;
    border-top: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
    transform: translateY(-50%) rotate(45deg);
    transition: right 0.2s ease, border-color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .drawer-menu__link:hover::after {
        right: 60px;
    }
}

/* ----------------------------------------
   Footer / Logout
---------------------------------------- */
.drawer-menu__footer {
    width: 100%;
    margin-top: 81px;
    padding: 0;
}

.drawer-menu__logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100% - 155px, 340px);
    min-height: 50px;
    margin-inline: auto;
    padding: 10px 24px;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0;
    text-align: center;
    background-color: transparent;
    border: 1px solid #ffffff;
    border-radius: 31px;
}

@media (hover: hover) and (pointer: fine) {
    .drawer-menu__logout-btn:hover {
        color: #000000;
        background-color: #ffffff;
    }
}

/* ========================================
   Tablet
======================================== */
@media screen and (max-width: 1024px) {
    .drawer-menu__container {
        width: min(100%, 460px);
    }

    .drawer-menu__link {
        padding-right: 52px;
        padding-left: 52px;
    }

        .drawer-menu__link::after {
            right: 52px;
        }
}

@media screen and (max-width: 1024px) and (hover: hover) and (pointer: fine) {
    .drawer-menu__link:hover::after {
        right: 48px;
    }
}
/* ========================================
   Smartphone
======================================== */
@media screen and (max-width: 768px) {
    .drawer-menu__container {
        /* 画面幅390pxの場合は340px */
        width: min(340px, 100% - 50px);
    }

    .drawer-menu__header {
        min-height: 80px;
        padding: 12px 12px 0 16px;
    }

    .drawer-menu__logo {
        width: 110px;
        height: 61px;
    }

    .drawer-menu__close-btn {
        width: 56px;
        height: 56px;
        margin-top: 0;
        margin-right: 0;
    }

    .drawer-menu__user-profile {
        width: 280px;
        height: 160px;
        min-height: 160px;
        margin: 16px auto 0;
        padding: 20px 28px 26px;
    }

    .drawer-menu__user-id,
    .drawer-menu__user-name {
        font-size: 1.2rem;
    }

        .drawer-menu__user-id span,
        .drawer-menu__user-name span {
            font-size: 1.4rem;
        }

    .drawer-menu__user-name {
        margin-top: 28px;
    }

    .drawer-menu__currency {
        margin: 27px 41.5px 0 34.2px;
    }

    .drawer-menu__currency-label,
    .drawer-menu__currency-value {
        font-size: 1.6rem;
    }

    .drawer-menu__currency-breakdown {
        margin-top: 21px;
    }

    .drawer-menu__currency-sublabel,
    .drawer-menu__currency-subvalue {
        font-size: 1.4rem;
        line-height: 1.6;
    }

    .drawer-menu__nav {
        margin-top: 30px;
    }

    .drawer-menu__link {
        min-height: 81px;
        padding: 30px 34.2px;
        font-size: 1.6rem;
    }

        .drawer-menu__link::after {
            right: 40.2px;
            width: 12px;
            height: 12px;
        }
}

@media screen and (max-width: 768px) and (hover: hover) and (pointer: fine) {
    .drawer-menu__link:hover::after {
        right: 36.2px;
    }
}

@media screen and (max-width: 768px) {
    .drawer-menu__footer {
        margin-top: 60px;
    }

    .drawer-menu__logout-btn {
        width: calc(100% - 84px);
        max-width: 256px;
        min-height: 40px;
        font-size: 1.4rem;
    }
}
/* ========================================
   Project
======================================== */
/* ========================================
   Hero
======================================== */
.hero {
    position: relative;
    width: 100%;
    /*
  * XDの1920px幅では高さ589pxです。
  *
  * 1920 ÷ 589の比率に合わせて可変させつつ、
  * 高さが小さくなりすぎないよう420pxを下限にします。
  */
    height: clamp(420px, 30.677vw, 589px);
    /*
  * index.htmlから見た画像パスではなく、
  * コンパイル後のstyle.cssから見た相対パスです。
  *
  * 出力先:
  * src/css/style.css
  *
  * 背景画像:
  * src/img/main-bg.webp
  */
    background-image: url("../img/main-bg.webp");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* ----------------------------------------
   Inner
---------------------------------------- */
.hero__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding-inline: 24px;
}

@media screen and (max-width: 768px) {
    .hero__inner {
        padding-inline: 16px;
    }
}

/* ----------------------------------------
   Store Logo
---------------------------------------- */
.hero__logo {
    /*
  * XDの1920px幅に対する650pxの割合です。
  *
  * 650 ÷ 1920 × 100 = 約33.854vw
  */
    width: min(33.854vw, 650px);
    height: auto;
    /*
  * XDでは完全な上下中央より約15px下にあります。
  *
  * アイキャッチ:
  * top 80px
  * height 589px
  *
  * ロゴ:
  * top 198px
  * height 383px
  *
  * 完全中央時のロゴ上端:
  * 80 + (589 - 383) ÷ 2 = 183px
  *
  * XDのロゴ上端との差:
  * 198 - 183 = 15px
  */
    transform: translateY(15px);
}

/* ----------------------------------------
   Tablet
---------------------------------------- */
@media screen and (max-width: 1024px) {
    .hero__logo {
        width: min(42vw, 560px);
    }
}
/* ----------------------------------------
   Smartphone
---------------------------------------- */
@media screen and (max-width: 768px) {
    .hero {
        height: clamp(190px, 59.231vw, 231px);
        background-image: url("../img/main-bg-sp.webp");
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .hero__inner {
        padding-inline: 16px;
    }

    .hero__logo {
        width: min(68.205vw, 266px);
        height: auto;
        transform: translateY(0);
    }
}
/* ----------------------------------------
   Small Smartphone
---------------------------------------- */
@media screen and (max-width: 480px) {
    .hero__logo {
        width: min(68.205vw, 266px);
    }
}
/* ========================================
   Category
======================================== */
.category {
    width: 100%;
    /* ----------------------------------------
     Category List
  ---------------------------------------- */
}

.category__list {
    --category-indicator-x: 0px;
    --category-indicator-y: 0px;
    --category-indicator-width: 0px;
    --category-indicator-height: 38px;
    position: relative;
    isolation: isolate;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(3px, 3px + (100vw - 769px) * 0.0126, 12px);
    width: calc(100% - clamp(32px, 11.4584vw, 220px));
    max-width: 1700px;
    min-width: 0;
    margin: 0 auto;
    padding: 0;
    /* 選択中カテゴリーの白背景 */
}

    .category__list::before {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        display: block;
        width: var(--category-indicator-width);
        height: var(--category-indicator-height);
        background-color: #ffffff;
        border: 1px solid #ffffff;
        border-radius: 9999px;
        opacity: 0;
        content: "";
        pointer-events: none;
        transform: translate3d(var(--category-indicator-x), var(--category-indicator-y), 0);
        will-change: width, height, transform;
    }

    .category__list.is-indicator-ready::before {
        opacity: 1;
        transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1), height 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    }

.category {
    /* ----------------------------------------
     Category Item
  ---------------------------------------- */
}

.category__item {
    position: relative;
    z-index: 2;
    display: flex;
    flex: 0 1 auto;
    min-width: 0;
}

    .category__item[hidden] {
        display: none;
    }

.category {
    /* ----------------------------------------
     Category Button
  ---------------------------------------- */
}

.category__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 32px;
    color: #000000;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3125;
    letter-spacing: 0;
    text-align: center;
    white-space: nowrap;
    background-color: #ffffff;
    border: 1px solid #ADADAD;
    border-radius: 9999px;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .category__button:hover {
        color: #2261c6;
        background-color: #e7eef5;
        border-color: #2261c6;
    }
}

.category__button {
    position: relative;
    z-index: 2;
    display: inline-flex;
    flex: 0 1 auto;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 0;
    min-height: 38px;
    padding: 7px clamp(4px, 4px + (100vw - 769px) * 0.0251, 22px);
    color: #ffffff;
    font-size: clamp(1.2rem, 1.2rem + (100vw - 769px) * 0.0035, 1.6rem);
    font-weight: 500;
    line-height: 1.3125;
    letter-spacing: clamp(-0.03em, -0.03em + (100vw - 769px) * 0.000042, 0em);
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border-color: transparent;
    transition: color 0.35s ease, background-color 0.2s ease, border-color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .category__button:hover {
        color: #e7eef5;
        background-color: transparent;
        border-color: transparent;
    }
}

.category__button--active, .category__button[aria-current=true], .category__button[aria-current=location] {
    color: #2261c6;
    background-color: transparent;
    border-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
    .category__button--active:hover, .category__button[aria-current=true]:hover, .category__button[aria-current=location]:hover {
        color: #2261c6;
        background-color: transparent;
        border-color: transparent;
    }
}

.category {
    /*
  * JSの初期化前や読み込み失敗時も、
  * 選択中カテゴリーが見えなくならないための予備表示。
  */
}

.category__list:not(.is-indicator-ready) .category__button--active,
.category__list:not(.is-indicator-ready) .category__button[aria-current=true],
.category__list:not(.is-indicator-ready) .category__button[aria-current=location] {
    color: #2261c6;
    background-color: #ffffff;
    border-color: #ffffff;
}

/* ========================================
   Sticky Category Layout
======================================== */
.category-sticky {
    position: relative;
    width: 100%;
}

    .category-sticky > .category {
        box-sizing: border-box;
        width: 100%;
        min-height: 55px;
        margin: 0;
        padding: 8px 0 9px;
        background-color: #2261c6;
        transition: top 0.3s ease;
    }

.category-sticky {
    /* ----------------------------------------
     Fixed Category
  ---------------------------------------- */
}

    .category-sticky.is-fixed {
        min-height: var(--category-placeholder-height, 55px);
    }

        .category-sticky.is-fixed > .category {
            position: fixed;
            top: 0;
            right: 0;
            left: 0;
            z-index: calc(100 - 1);
            min-height: 55px;
        }

    .category-sticky[hidden] {
        display: none;
    }

/* ========================================
   Scroll Header Position
======================================== */
body.is-scroll-header-visible .category-sticky.is-fixed > .category {
    top: 80px;
}

@media screen and (max-width: 768px) {
    body.is-scroll-header-visible .category-sticky.is-fixed > .category {
        top: 70px;
    }
}

/* ========================================
   PC Width Adjustments
======================================== */
/* ========================================
   Tablet Horizontal Scroll
======================================== */
@media screen and (min-width: 769px) and (max-width: 960px) {
    .category-sticky {
        overflow: visible;
    }

        .category-sticky > .category {
            width: 100%;
            min-height: 55px;
            padding: 8px 16px 9px;
            overflow-x: auto;
            overflow-y: hidden;
            overscroll-behavior-x: contain;
            scrollbar-width: none;
            -webkit-overflow-scrolling: touch;
        }

            .category-sticky > .category::-webkit-scrollbar {
                display: none;
                width: 0;
                height: 0;
            }

        .category-sticky.is-fixed {
            min-height: var(--category-placeholder-height, 55px);
        }

            .category-sticky.is-fixed > .category {
                min-height: 55px;
            }

    .category__list {
        position: relative;
        justify-content: flex-start;
        gap: 0;
        width: -moz-max-content;
        width: max-content;
        max-width: none;
        min-width: 100%;
        margin: 0;
    }

    .category__item {
        flex: 0 0 auto;
        min-width: -moz-max-content;
        min-width: max-content;
    }

    .category__button {
        flex: 0 0 auto;
        min-width: -moz-max-content;
        min-width: max-content;
        min-height: 38px;
        padding: 7px 8px;
        font-size: clamp(1.2rem, 1.047vw + 3.95px, 1.4rem);
        line-height: 1.3125;
        letter-spacing: 0;
        white-space: nowrap;
    }
}
/* ========================================
   Smartphone Horizontal Scroll
======================================== */
@media screen and (max-width: 768px) {
    .category-sticky {
        overflow: visible;
    }

        .category-sticky > .category {
            width: 100%;
            min-height: 55px;
            padding: 8px 16px 9px;
            overflow-x: auto;
            overflow-y: hidden;
            overscroll-behavior-x: contain;
            scrollbar-width: none;
            -webkit-overflow-scrolling: touch;
        }

            .category-sticky > .category::-webkit-scrollbar {
                display: none;
                width: 0;
                height: 0;
            }

        .category-sticky.is-fixed {
            min-height: var(--category-placeholder-height, 55px);
        }

            .category-sticky.is-fixed > .category {
                min-height: 55px;
            }

    .category__list {
        position: relative;
        justify-content: flex-start;
        gap: 3px;
        width: -moz-max-content;
        width: max-content;
        max-width: none;
        min-width: 100%;
        margin: 0;
    }

    .category__item {
        flex: 0 0 auto;
        min-width: -moz-max-content;
        min-width: max-content;
    }

    .category__button {
        flex: 0 0 auto;
        min-width: -moz-max-content;
        min-width: max-content;
        min-height: 38px;
        padding: 7px 16px;
        font-size: 1.6rem;
        line-height: 1.3125;
        letter-spacing: 0;
        white-space: nowrap;
    }
}
/* ========================================
   Reduced Motion
======================================== */
@media (prefers-reduced-motion: reduce) {
    .category-sticky > .category {
        transition: none;
    }

    .category__list.is-indicator-ready::before {
        transition: none;
    }

    .category__button {
        transition: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        user-select: none;
        -webkit-user-drag: none;
    }
}
/* ========================================
   Product
======================================== */
/* ----------------------------------------
   Product Sections Layout
---------------------------------------- */
.product-sections {
    display: flex;
    flex-direction: column;
    gap: 130px;
    width: 100%;
    margin-top: 103px;
    margin-bottom: 90px;
}

@media screen and (max-width: 768px) {
    .product-sections {
        gap: 68px;
        margin-top: 48px;
        margin-bottom: 48px;
    }
}

/* ----------------------------------------
   Product Section
---------------------------------------- */
.product-section {
    position: relative;
    width: calc(100% - clamp(32px, 11.4584vw, 220px));
    max-width: 1700px;
    margin: 0 auto;
    padding: 86px clamp(24px, 4.84375vw, 93px) 80px;
    scroll-margin-top: 160px;
    background-color: #e0e0e0;
    border-radius: 20px;
}

    .product-section[hidden] {
        display: none;
    }

@media screen and (max-width: 1024px) {
    .product-section {
        min-height: auto;
        padding-top: 64px;
        padding-bottom: 64px;
    }
}

@media screen and (max-width: 768px) {
    .product-section {
        width: calc(100% - 32px);
        margin-bottom: 48px;
        padding: 52px 16px 48px;
        scroll-margin-top: 136px;
        border-radius: 12px;
    }
}

@media screen and (max-width: 480px) {
    .product-section {
        width: calc(100% - 20px);
        padding-right: 15px;
        padding-left: 15px;
    }
}

.product-section {
    /* ----------------------------------------
     Product Inner
  ---------------------------------------- */
}

.product-section__inner {
    width: 100%;
}

/* ----------------------------------------
   Category Heading
---------------------------------------- */
.category-heading {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    /*
   * PCデザイン：822px × 62px
   *
   * 親要素より狭い場合は横幅を縮小し、
   * 高さも同じ比率で自動的に縮小する。
   */
    box-sizing: border-box;
    width: min(822px, 100% - 32px);
    height: auto;
    aspect-ratio: 822/62;
    margin: 0;
    padding: 0 32px;
    color: #ffffff;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
    background-image: url("../img/category_bg.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    transform: translate(-50%, -50%);
}

    .category-heading span {
        display: block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

@media screen and (max-width: 768px) {
    .category-heading {
        /*
     * SPデザイン：336px × 40px
     *
     * 336pxを確保できない画面では横幅を縮小し、
     * 高さも同じ比率で自動的に縮小する。
     */
        width: min(336px, 100% - 20px);
        height: auto;
        aspect-ratio: 336/40;
        padding: 0 20px;
        font-size: 2rem;
        line-height: 1.4;
        background-image: url("../img/category_bg_sp.webp");
    }
}

@media screen and (max-width: 480px) {
    .category-heading {
        width: min(336px, 100% - 10px);
        padding-right: 16px;
        padding-left: 16px;
        font-size: 1.8rem;
    }
}

/* ----------------------------------------
   Product List
---------------------------------------- */
.product-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 290px));
    justify-content: center;
    gap: 24px 16px;
    width: 100%;
    /*
   * 販売期限が折り返し始める前に
   * 列数を切り替える。
   */
}

@media screen and (max-width: 1650px) {
    .product-list {
        grid-template-columns: repeat(4, minmax(0, 290px));
    }
}

@media screen and (max-width: 1320px) {
    .product-list {
        grid-template-columns: repeat(3, minmax(0, 290px));
    }
}

@media screen and (max-width: 990px) {
    .product-list {
        grid-template-columns: repeat(2, minmax(0, 290px));
    }
}

@media screen and (max-width: 768px) {
    .product-list {
        justify-content: center;
        gap: 16px 10px;
    }
}

@media screen and (max-width: 480px) {
    .product-list {
        grid-template-columns: repeat(2, minmax(0, 160px));
        gap: 16px 8px;
    }
}

/* ----------------------------------------
   Product Card
---------------------------------------- */
.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 290px;
    min-width: 0;
    min-height: 400px;
    overflow: hidden;
    color: #ffffff;
    background-color: #222222;
    border-radius: 12px;
}

@media screen and (max-width: 768px) {
    .product-card {
        width: 100%;
        max-width: 160px;
        height: 280px;
        min-height: 280px;
        border-radius: 8px;
    }
}

.product-card {
    /* ----------------------------------------
     Product Card Action (Overlay Button)
  ---------------------------------------- */
}

.product-card__action {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: transparent;
    border: 0;
    border-radius: inherit;
    cursor: pointer;
}

    .product-card__action:focus {
        outline: none;
    }

    .product-card__action:focus-visible {
        outline: 3px solid #2879d0;
        outline-offset: -3px;
    }

.product-card {
    /*
   * カード全体のホバー・フォーカス時に価格表示部分だけ光らせる
   */
}

@media (hover: hover) and (pointer: fine) {
    .product-card:hover:hover .product-card__price {
        background-color: #2a79f5;
        border-color: #2a79f5;
    }
}

.product-card:focus-within .product-card__price {
    background-color: #2a79f5;
    border-color: #2a79f5;
}

.product-card:active .product-card__price {
    transform: translateY(1px);
}

.product-card {
    /* ----------------------------------------
     Product Image
  ---------------------------------------- */
}

.product-card__image-wrapper {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background-image: url("../img/product-item-bg.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

@media screen and (max-width: 768px) {
    .product-card__image-wrapper {
        width: 100%;
        height: 99px;
        background-position: center;
        background-size: cover;
    }
}

.product-card__image {
    position: relative;
    z-index: 1;
    display: block;
    width: min(97.93%, 284px);
    height: 136px;
    -o-object-fit: contain;
    object-fit: contain;
}

@media screen and (max-width: 768px) {
    .product-card__image {
        width: min(151px, 94.375%);
        height: 73px;
        padding: 0;
        -o-object-fit: contain;
        object-fit: contain;
    }
}

.product-card {
    /* ----------------------------------------
     Product Body
  ---------------------------------------- */
}

.product-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    width: 100%;
    min-height: 0;
    padding: 23px 20px 21px;
}

@media screen and (max-width: 768px) {
    .product-card__body {
        flex: 1 1 auto;
        padding: 12.4px 15px 19.6px;
    }
}

.product-card {
    /* ----------------------------------------
     Product Name
  ---------------------------------------- */
}

.product-card__name {
    display: -webkit-box;
    width: 100%;
    min-height: 42px;
    overflow: hidden;
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.3125;
    letter-spacing: 0;
    text-align: left;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

@media screen and (max-width: 768px) {
    .product-card__name {
        min-height: 48px;
        max-height: 48px;
        margin: 0;
        font-size: 1.2rem;
        font-weight: 500;
        line-height: 16px;
        -webkit-line-clamp: 3;
    }
}

.product-card {
    /* ----------------------------------------
     Product Information
  ---------------------------------------- */
}

.product-card__info {
    display: flex;
    flex-direction: column;
    gap: 11px;
    width: 100%;
    margin-top: 27px;
}

@media screen and (max-width: 768px) {
    .product-card__info {
        flex-shrink: 0;
        gap: 3px;
        margin-top: 17.4px;
    }
}

.product-card__dl {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: center;
    -moz-column-gap: 9px;
    column-gap: 9px;
    width: 100%;
    margin: 0;
}

@media screen and (max-width: 768px) {
    .product-card__dl {
        grid-template-columns: 24px minmax(0, 1fr);
        -moz-column-gap: 4px;
        column-gap: 4px;
        min-height: 20px;
    }
}

.product-card__dt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    min-height: 20px;
    padding: 1px 7px;
    color: #000000;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.3333;
    letter-spacing: 0;
    text-align: center;
    white-space: nowrap;
    background-color: #c7c7c7;
    border: 1px solid #777777;
    border-radius: 20px;
}

@media screen and (max-width: 768px) {
    .product-card__dt {
        width: 24px;
        height: 20px;
        min-height: 20px;
        padding: 0 3px;
        color: #000000;
        font-size: 0.8rem;
        font-weight: 500;
        line-height: 8px;
        white-space: normal;
        word-break: normal;
        background-color: #c7c7c7;
        border: 1px solid #777777;
        border-radius: 4px;
    }
}

.product-card__dd {
    min-width: 0;
    margin: 0;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.3571;
    letter-spacing: 0;
    text-align: left;
    overflow-wrap: anywhere;
}

@media screen and (max-width: 768px) {
    .product-card__dd {
        display: flex;
        align-items: center;
        min-height: 20px;
        font-size: 1rem;
        font-weight: 500;
        line-height: 14px;
        white-space: nowrap;
    }
}

.product-card__time {
    font: inherit;
}

@media screen and (max-width: 768px) {
    .product-card__time {
        display: block;
        font-size: 1rem;
        font-weight: 500;
        line-height: 14px;
        white-space: nowrap;
    }
}

@media screen and (max-width: 768px) {
    .product-card__limit {
        font-size: 1rem;
        font-weight: 500;
        line-height: 14px;
        white-space: nowrap;
    }
}

.product-card {
    /* ----------------------------------------
     Product Price Display (span)
  ---------------------------------------- */
}

.product-card__price {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 43px;
    margin-top: 13px;
    padding: 7px 16px;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0;
    text-align: center;
    white-space: nowrap;
    background-color: #2261c6;
    border: 1px solid #2261c6;
    border-radius: 4px;
    transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

@media screen and (max-width: 768px) {
    .product-card__price {
        flex-shrink: 0;
        width: 100%;
        height: 28px;
        min-height: 28px;
        margin-top: 12.6px;
        padding: 0;
        font-size: 1.4rem;
        font-weight: 700;
        line-height: 19px;
        border-radius: 4px;
    }
}

.product-card {
    /* ========================================
     Sold Out
  ======================================== */
}

    .product-card.is-sold-out .product-card__image-wrapper,
    .product-card.is-sold-out .product-card__body {
        opacity: 0.4;
        filter: grayscale(100%);
    }

    .product-card.is-sold-out .product-card__price {
        color: #777777;
        background-color: #cccccc;
        border-color: #cccccc;
        transform: none;
    }

    .product-card.is-sold-out .product-card__action {
        cursor: default;
    }

    .product-card.is-sold-out {
        /* 売り切れ時はホバー・フォーカスで色を変えない */
    }

        .product-card.is-sold-out:hover .product-card__price, .product-card.is-sold-out:focus-within .product-card__price, .product-card.is-sold-out:active .product-card__price {
            color: #777777;
            background-color: #cccccc;
            border-color: #cccccc;
            transform: none;
        }

/* ========================================
   商品詳細モーダル
======================================== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s ease, opacity 0.3s ease;
}

    .modal.is-open {
        visibility: visible;
        opacity: 1;
    }

.modal__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal__container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: 738px;
    max-width: 100%;
    height: 700px;
    max-height: 90vh;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.16);
    overflow: hidden;
}

.modal {
    /* 閉じる（×）ボタン */
}

.modal__close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    width: 28px;
    height: 28px;
    padding: 0;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

    .modal__close-btn:hover {
        opacity: 0.7;
    }

    .modal__close-btn::before, .modal__close-btn::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 20px;
        height: 2px;
        background-color: #707070;
    }

    .modal__close-btn::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .modal__close-btn::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

.modal__content {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.modal {
    /* 上部スクロール領域 */
}

.modal__scroll-area {
    flex: 1 1 auto;
    min-height: 0;
    margin-top: 50px;
    margin-right: 29px;
    padding: 10px 7px 28px 36px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #d0d0d0 transparent;
}

    .modal__scroll-area::-webkit-scrollbar {
        width: 4px;
    }

    .modal__scroll-area::-webkit-scrollbar-track {
        background-color: transparent;
    }

    .modal__scroll-area::-webkit-scrollbar-thumb {
        min-height: 40px;
        background-color: #d0d0d0;
        border-radius: 6px;
    }

.modal__header-info {
    display: flex;
    gap: 29px;
    margin-bottom: 24px;
}

.modal__image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 268px;
    height: 164px;
    background-color: #ffffff;
    border-radius: 4px;
}

    .modal__image-wrapper img {
        max-width: 231px;
        max-height: 111px;
        -o-object-fit: contain;
        object-fit: contain;
    }

.modal__summary {
    flex: 1;
}

.modal__title {
    margin-bottom: 10px;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.6;
    color: #000000;
}

.modal__price {
    margin-bottom: 14px;
    font-size: 2rem;
    font-weight: 700;
    color: #000000;
}

.modal__meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal__meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal__meta-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 23px;
    font-size: 1.4rem;
    font-weight: 500;
    color: #ffffff;
    background-color: #2f2f2f;
    border-radius: 4px;
}

.modal__meta-value {
    font-size: 1.4rem;
    font-weight: 500;
    color: #000000;
}

.modal__details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.modal__detail-heading {
    display: flex;
    align-items: center;
    width: 100%;
    height: 30px;
    margin-bottom: 12px;
    padding-left: 10px;
    font-size: 1.4rem;
    font-weight: 500;
    color: #000000;
    background-color: #e7eef5;
}

.modal__detail-list {
    padding-left: 10px;
    font-size: 1.4rem;
    line-height: 1.7;
    color: #000000;
    list-style: none;
}

    .modal__detail-list li {
        position: relative;
    }

.modal__detail-list--notice li {
    padding-left: 0;
}

.modal {
    /* ========================================
  下部固定領域
  ======================================== */
}

.modal__purchase-area {
    flex-shrink: 0;
    display: grid;
    grid-template-columns: 302px 280px;
    grid-template-rows: 32px 60px;
    justify-content: space-between;
    align-items: start;
    width: 100%;
    height: 145px;
    padding: 24px 54px 21px 50px;
    background-color: #e7edf6;
    border-top: 1px solid #aaaaaa;
    border-radius: 0 0 20px 20px;
}

.modal {
    /* 利用可能な支払い方法 */
}

.modal__payment-methods {
    grid-column: 1;
    grid-row: 1/3;
    width: 302px;
    height: 100px;
    padding: 10px 20px;
    background-color: #ffffff;
}

.modal__payment-heading {
    width: 100%;
    height: 17px;
    margin: 0 0 13px;
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 17px;
    text-align: center;
    color: #000000;
}

.modal__payment-companies {
    display: flex;
    align-items: flex-start;
    width: 262px;
    height: 47px;
}

.modal__payment-group {
    min-width: 0;
}

.modal__payment-group--card {
    width: 167px;
}

.modal__payment-group--paypay {
    width: 64px;
}

.modal__payment-label {
    height: 16px;
    margin: 0 0 7px;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 16px;
    text-align: center;
    color: #000000;
}

.modal__card-logos {
    display: flex;
    align-items: center;
    width: 167px;
    height: 22px;
}

.modal__paypay-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 22px;
}

.modal__payment-divider {
    flex-shrink: 0;
    width: 1px;
    height: 46px;
    margin-right: 14px;
    margin-left: 16px;
    background-color: #c6cedb;
}

.modal__payment-logo {
    display: block;
    flex-shrink: 0;
    max-width: none;
    -o-object-fit: contain;
    object-fit: contain;
}

.modal__payment-logo--visa {
    width: 40px;
    height: 13px;
    margin-right: 6px;
}

.modal__payment-logo--mastercard {
    width: 32px;
    height: 22px;
    margin-right: 6px;
}

.modal__payment-logo--jcb {
    width: 23px;
    height: 18px;
    margin-right: 9px;
}

.modal__payment-logo--amex {
    width: 18px;
    height: 18px;
    margin-right: 8px;
}

.modal__payment-logo--diners {
    width: 25px;
    height: 18px;
}

.modal__payment-logo--paypay {
    width: 64px;
    height: 16px;
}

.modal {
    /* 数量・合計金額 */
}

.modal__quantity-control {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 280px;
    height: 32px;
}

.modal__total-price {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    min-width: 156px;
    margin-left: 11px;
    color: #2261c6;
    white-space: nowrap;
}

.modal__total-currency {
    margin-right: 4px;
    font-size: 2rem;
    font-weight: 700;
    line-height: 27px;
    color: #2261c6;
}

.modal__total-value {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 37px;
    text-align: right;
    color: #2261c6;
}

.modal {
    /* 決済ボタン */
}

.modal__actions {
    grid-column: 2;
    grid-row: 2;
    width: 280px;
    height: 60px;
    margin-top: 8px;
}

.modal__submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60px;
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    background-color: #2261c6;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

    .modal__submit-btn:hover:not(:disabled) {
        background-color: #1a4fa5;
    }

    .modal__submit-btn:disabled {
        background-color: #86a8de;
        cursor: not-allowed;
    }

/* ========================================
   数量カウンター
======================================== */
.quantity-counter {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    width: 113px;
    height: 32px;
}

.quantity-counter__btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    padding: 0;
    font-size: 0;
    color: transparent;
    background-color: #ffffff;
    border: 1px solid #c1c1c1;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, opacity 0.2s;
}

    .quantity-counter__btn:hover:not(:disabled) {
        background-color: #f4f4f4;
        border-color: #707070;
    }

    .quantity-counter__btn:disabled {
        opacity: 0.4;
        cursor: not-allowed;
    }

    .quantity-counter__btn::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 14px;
        height: 2px;
        background-color: #707070;
        transform: translate(-50%, -50%);
    }

.quantity-counter__btn--plus::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 14px;
    background-color: #707070;
    transform: translate(-50%, -50%);
}

.quantity-counter__input {
    width: 49px;
    height: 32px;
    padding: 0;
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    color: #000000;
    background-color: #ffffff;
    border: none;
    border-radius: 4px;
    -moz-appearance: textfield;
}

    .quantity-counter__input::-webkit-outer-spin-button, .quantity-counter__input::-webkit-inner-spin-button {
        margin: 0;
        -webkit-appearance: none;
    }

/* ========================================
   レスポンシブ対応
======================================== */
@media screen and (max-width: 768px) {
    .modal__container {
        width: 100%;
        max-width: 360px;
        height: min(590px, 100dvh - 30px);
        max-height: calc(100dvh - 30px);
    }

    .modal__close-btn {
        top: 18px;
        right: 18px;
    }

    .modal__scroll-area {
        margin-top: 42px;
        margin-right: 0;
        padding: 0 34px 30px;
    }

    .modal__header-info {
        flex-direction: column;
        gap: 12px;
    }

    .modal__image-wrapper {
        width: 100%;
        height: 126px;
    }

    .modal__title {
        margin-bottom: 5px;
        font-size: 1.8rem;
        line-height: 1.556;
    }

    .modal__price {
        margin-bottom: 15px;
        font-size: 2rem;
    }

    .modal__meta {
        gap: 5px;
    }

    .modal__meta-row {
        gap: 13px;
    }

    .modal {
        /* ----------------------------------------
       下部固定領域
    ---------------------------------------- */
    }

    .modal__purchase-area {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: 32px 40px 48px;
        align-items: center;
        width: 100%;
        min-height: 166px;
        height: auto;
        padding: 13px 22px 25px;
        -moz-column-gap: 0;
        column-gap: 0;
        row-gap: 4px;
        border-top: none;
    }

    .modal {
        /*
     * PCでは右側の要素をまとめる親要素。
     * SPではボックスをなくして、子要素を
     * modal__purchase-areaのGridアイテムとして扱う。
     */
    }

    .modal__purchase-controls {
        display: contents;
    }

    .modal {
        /* ----------------------------------------
       1段目：数量・合計金額
    ---------------------------------------- */
    }

    .modal__quantity-control {
        grid-column: 1;
        grid-row: 1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: 32px;
        margin: 0;
    }

    .modal__total-price {
        display: flex;
        align-items: baseline;
        justify-content: flex-end;
        min-width: 0;
        margin: 0;
        color: #2261c6;
        white-space: nowrap;
    }

    .modal__total-currency {
        margin-right: 4px;
        font-size: 2rem;
        font-weight: 700;
        line-height: 27px;
        color: #2261c6;
    }

    .modal__total-value {
        min-width: 0;
        font-size: 2.8rem;
        font-weight: 700;
        line-height: 37px;
        text-align: right;
        color: #2261c6;
    }

    .modal {
        /* ----------------------------------------
       2段目：支払い方法
    ---------------------------------------- */
    }

    .modal__payment-methods {
        grid-column: 1;
        grid-row: 2;
        align-self: center;
        width: 100%;
        height: 40px;
        padding: 8px 0;
        background-color: transparent;
    }

    .modal {
        /* SPでは支払い方法のテキストを非表示 */
    }

    .modal__payment-heading, .modal__payment-label {
        display: none;
    }

    .modal__payment-companies {
        display: flex;
        align-items: center;
        width: 262px;
        height: 24px;
        margin: 0 auto;
    }

    .modal__payment-group {
        flex-shrink: 0;
        min-width: 0;
    }

    .modal__payment-group--card {
        width: 167px;
    }

    .modal__payment-group--paypay {
        width: 64px;
    }

    .modal__card-logos {
        display: flex;
        align-items: center;
        width: 167px;
        height: 24px;
    }

    .modal__paypay-logo {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 64px;
        height: 24px;
    }

    .modal__payment-divider {
        flex-shrink: 0;
        width: 1px;
        height: 24px;
        margin-right: 14px;
        margin-left: 16px;
        background-color: #c6cedb;
    }

    .modal__payment-logo {
        display: block;
        flex-shrink: 0;
        max-width: none;
        -o-object-fit: contain;
        object-fit: contain;
    }

    .modal__payment-logo--visa {
        width: 40px;
        height: 13px;
        margin-right: 6px;
    }

    .modal__payment-logo--mastercard {
        width: 32px;
        height: 22px;
        margin-right: 6px;
    }

    .modal__payment-logo--jcb {
        width: 23px;
        height: 18px;
        margin-right: 9px;
    }

    .modal__payment-logo--amex {
        width: 18px;
        height: 18px;
        margin-right: 8px;
    }

    .modal__payment-logo--diners {
        width: 25px;
        height: 18px;
    }

    .modal__payment-logo--paypay {
        width: 64px;
        height: 16px;
    }

    .modal {
        /* ----------------------------------------
       3段目：決済ボタン
    ---------------------------------------- */
    }

    .modal__actions {
        grid-column: 1;
        grid-row: 3;
        width: 100%;
        height: 48px;
        min-width: 0;
        margin: 0;
    }

    .modal__submit-btn {
        width: 100%;
        height: 48px;
        min-height: 48px;
        padding: 0 16px;
    }
    /* 数量カウンター */
    .quantity-counter {
        flex-shrink: 0;
        width: auto;
        min-width: 0;
        height: 26px;
        gap: 12px;
    }

    .quantity-counter__btn {
        width: 26px;
        height: 26px;
    }

        .quantity-counter__btn::before {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            width: 14px;
            height: 2px;
            background-color: #707070;
            transform: translate(-50%, -50%);
        }

    .quantity-counter__btn--plus::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 2px;
        height: 14px;
        background-color: #707070;
        transform: translate(-50%, -50%);
    }

    .quantity-counter__input {
        height: 30px;
    }
}
/* ========================================
   Login Modal
======================================== */
/* ----------------------------------------
   Root
---------------------------------------- */
.login-modal {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: flex;
    visibility: hidden;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    height: 100dvh;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: visibility 0.2s ease, opacity 0.2s ease;
}

    .login-modal.is-open {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

/* ----------------------------------------
   Overlay
---------------------------------------- */
.login-modal__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.login-modal.is-open .login-modal__overlay {
    opacity: 1;
}

/* ----------------------------------------
   Container
---------------------------------------- */
.login-modal__container {
    position: relative;
    z-index: 1;
    width: min(100%, 490px);
    min-height: 534px;
    max-height: calc(100dvh - 48px);
    padding: 40px 45px 43px;
    overflow-y: auto;
    color: #000000;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.16);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    overscroll-behavior: contain;
}

.login-modal.is-open .login-modal__container {
    opacity: 1;
    transform: translateY(0);
}

/* ----------------------------------------
   Close Button
---------------------------------------- */
.login-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 24px;
    height: 24px;
    color: #707070;
    background-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
    .login-modal__close:hover {
        opacity: 0.65;
    }
}

.login-modal__close::before,
.login-modal__close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 2px;
    background-color: #707070;
}

.login-modal__close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.login-modal__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* ----------------------------------------
   Title
---------------------------------------- */
.login-modal__title {
    color: #000000;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.3333;
    letter-spacing: 0;
    text-align: center;
}

/* ----------------------------------------
   Description
---------------------------------------- */
.login-modal__description {
    margin-top: 74px;
    color: #000000;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3125;
    letter-spacing: 0;
    text-align: center;
}

/* ========================================
   Login Form
======================================== */
.login-form {
    width: 100%;
    margin-top: 27px;
}

.login-form__fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.login-form__field {
    position: relative;
    width: 100%;
}

.login-form__input {
    display: block;
    width: 100%;
    height: 48px;
    padding: 11px 16px;
    color: #000000;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.3125;
    letter-spacing: 0;
    background-color: #e7eef5;
    border: 1px solid #c7c7c7;
    border-radius: 8px;
    outline: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

    .login-form__input::-moz-placeholder {
        color: #aaaaaa;
        opacity: 1;
    }

    .login-form__input::placeholder {
        color: #aaaaaa;
        opacity: 1;
    }

    .login-form__input:focus {
        background-color: #ffffff;
        border-color: #2261c6;
        box-shadow: 0 0 0 3px rgba(34, 97, 198, 0.18);
    }

    .login-form__input[aria-invalid=true] {
        border-color: #d32f2f;
    }

.login-form__error {
    display: none;
    margin-top: 6px;
    color: #d32f2f;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.5;
}

    .login-form__error:not(:empty) {
        display: block;
    }

/* ----------------------------------------
   Login Button
---------------------------------------- */
.login-form__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 72px;
    margin-top: 15px;
    padding: 12px 24px;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0;
    text-align: center;
    background-color: #2261c6;
    border: 1px solid #2261c6;
    border-radius: 8px;
    transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .login-form__submit:hover {
        background-color: #2a79f5;
        border-color: #2a79f5;
    }
}

.login-form__submit:disabled {
    color: #ffffff;
    background-color: #86a8de;
    border-color: #86a8de;
    cursor: not-allowed;
}

    /*
 * disabled要素には通常のホバーを適用しない
 */
    .login-form__submit:disabled:hover {
        background-color: #86a8de;
        border-color: #86a8de;
    }

/* ========================================
   External Login
======================================== */
.login-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: 100%;
    margin-top: 30px;
}

.login-social__item {
    flex: 0 0 auto;
}

.login-social__button {
    display: block;
    width: 48px;
    height: 48px;
    overflow: hidden;
    background-color: #ffffff;
    transition: border-color 0.2s ease, opacity 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .login-social__button:hover {
        border-color: #2261c6;
        opacity: 0.8;
    }
}

.login-social__button img {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
}

/* ========================================
   Smartphone
======================================== */
@media screen and (max-width: 768px) {
    .login-modal {
        padding: 16px;
    }

    .login-modal__container {
        width: min(100%, 490px);
        min-height: auto;
        max-height: calc(100dvh - 32px);
        padding: 47px 30px 23px;
        border-radius: 20px;
    }

    .login-modal__close {
        top: 29px;
        right: 26px;
    }

    .login-modal__title {
        color: #2261c6;
    }

    .login-modal__description {
        margin-top: 36px;
        font-size: 1.4rem;
        line-height: 1.357;
    }

    .login-form {
        margin-top: 20px;
    }

    .login-form__fields {
        gap: 12px;
    }

    .login-form__input {
        font-size: 1.6rem;
    }

        .login-form__input::-moz-placeholder {
            font-size: 1.4rem;
        }

        .login-form__input::placeholder {
            font-size: 1.4rem;
        }

    .login-form__submit {
        height: 48px;
        margin-top: 20px;
        font-size: 1.6rem;
    }

    .login-social {
        gap: 24px;
        margin-top: 20px;
    }
}
/* ========================================
   ログインエラートースト
======================================== */
.login-error-toast {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    height: 100dvh;
    padding: 20px;
    visibility: hidden;
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: visibility 0.3s ease, opacity 0.3s ease;
}

    .login-error-toast.is-visible {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

.login-error-toast__message {
    display: flex;
    align-items: center;
    justify-content: center;
    width: -moz-max-content;
    width: max-content;
    min-width: 143px;
    max-width: calc(100vw - 40px);
    min-height: 34px;
    margin: 0;
    padding: 7px 16px;
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.3125;
    letter-spacing: 0;
    text-align: center;
    overflow-wrap: anywhere;
    background-color: rgba(31, 31, 31, 0.92);
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.login-error-toast.is-visible .login-error-toast__message {
    opacity: 1;
    transform: translateY(0);
}

@media screen and (max-width: 768px) {
    .login-error-toast {
        padding: 16px;
    }

    .login-error-toast__message {
        max-width: calc(100vw - 32px);
        min-height: 34px;
        padding: 7px 14px;
        font-size: 1.4rem;
    }
}

/* ========================================
   ログイン複数回失敗モーダル
======================================== */
/* ----------------------------------------
   Root
---------------------------------------- */
.login-multiple-failure-modal {
    position: fixed;
    z-index: 1200;
    inset: 0;
    display: flex;
    visibility: hidden;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    height: 100dvh;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: visibility 0.2s ease, opacity 0.2s ease;
}

    .login-multiple-failure-modal.is-open {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

/* ----------------------------------------
   Overlay
---------------------------------------- */
.login-multiple-failure-modal__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.login-multiple-failure-modal.is-open .login-multiple-failure-modal__overlay {
    opacity: 1;
}

/* ----------------------------------------
   Container
---------------------------------------- */
.login-multiple-failure-modal__container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(100%, 434px);
    min-height: 279px;
    padding: 57px 37px 40px;
    color: #000000;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.16);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.login-multiple-failure-modal.is-open .login-multiple-failure-modal__container {
    opacity: 1;
    transform: translateY(0);
}

/* ----------------------------------------
   Close Button
---------------------------------------- */
.login-multiple-failure-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 18px;
    height: 18px;
    padding: 0;
    color: #707070;
    background-color: transparent;
    border: 0;
    transition: opacity 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .login-multiple-failure-modal__close:hover {
        opacity: 0.65;
    }
}

.login-multiple-failure-modal__close::before,
.login-multiple-failure-modal__close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 2px;
    background-color: #707070;
}

.login-multiple-failure-modal__close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.login-multiple-failure-modal__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* ----------------------------------------
   Title
---------------------------------------- */
.login-multiple-failure-modal__title {
    margin: 0;
    color: #000000;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.3333;
    letter-spacing: 0;
    text-align: center;
}

/* ----------------------------------------
   Description
---------------------------------------- */
.login-multiple-failure-modal__description {
    width: 100%;
    margin: 33px 0 0;
    color: #000000;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.75;
    letter-spacing: 0;
    text-align: center;
}

/* ----------------------------------------
   Forgot Password
---------------------------------------- */
.login-multiple-failure-modal__forgot-password {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 39px;
    padding: 0;
    color: #2261c6;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.3125;
    letter-spacing: 0;
    text-align: center;
    text-underline-offset: 3px;
    background-color: transparent;
    border: 0;
    transition: color 0.2s ease, opacity 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .login-multiple-failure-modal__forgot-password:hover {
        color: #2a79f5;
    }
}

/* ========================================
   Smartphone
======================================== */
@media screen and (max-width: 768px) {
    .login-multiple-failure-modal {
        padding: 16px;
    }

    .login-multiple-failure-modal__container {
        width: min(100%, 318px);
        min-height: auto;
        padding: 42px 42.5px 30px;
        border-radius: 20px;
    }

    .login-multiple-failure-modal__close {
        top: 18px;
        right: 18px;
    }

    .login-multiple-failure-modal__title {
        font-size: 2rem;
    }

    .login-multiple-failure-modal__description {
        margin-top: 36px;
        font-size: 1.4rem;
        line-height: 1.429;
        text-align: left;
    }

    .login-multiple-failure-modal__forgot-password {
        margin-top: 43px;
        font-size: 1.4rem;
    }
}
/* ========================================
   決済完了モーダル
======================================== */
.purchase-complete-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: visibility 0.2s ease, opacity 0.2s ease;
}

    .purchase-complete-modal.is-open {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

.purchase-complete-modal {
    /* ----------------------------------------
     Overlay
  ---------------------------------------- */
}

.purchase-complete-modal__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.purchase-complete-modal {
    /* ----------------------------------------
     Container
  ---------------------------------------- */
}

.purchase-complete-modal__container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(100%, 425px);
    height: min(725px, 100dvh - 40px);
    padding: 46px 52px 36px;
    overflow-x: hidden;
    overflow-y: auto;
    color: #000000;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.16);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #d0d0d0 transparent;
}

    .purchase-complete-modal__container::-webkit-scrollbar {
        width: 4px;
    }

    .purchase-complete-modal__container::-webkit-scrollbar-track {
        background-color: transparent;
    }

    .purchase-complete-modal__container::-webkit-scrollbar-thumb {
        background-color: #d0d0d0;
        border-radius: 6px;
    }

.purchase-complete-modal.is-open .purchase-complete-modal__container {
    opacity: 1;
    transform: translateY(0);
}

.purchase-complete-modal {
    /* ----------------------------------------
     Check Icon
  ---------------------------------------- */
}

.purchase-complete-modal__check {
    display: block;
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    background-color: transparent;
    background-image: url("../img/icon-check.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.purchase-complete-modal {
    /* ----------------------------------------
     Title
  ---------------------------------------- */
}

.purchase-complete-modal__title {
    margin-top: 15px;
    color: #000000;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.3125;
    letter-spacing: 0;
    text-align: center;
}

.purchase-complete-modal {
    /* ----------------------------------------
     Price
  ---------------------------------------- */
}

.purchase-complete-modal__price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    min-width: 0;
    margin-top: 23px;
    color: #000000;
    white-space: nowrap;
}

.purchase-complete-modal__currency {
    flex-shrink: 0;
    margin-right: 23px;
    font-size: 3.2rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    line-height: 1.34375;
    text-align: right;
}

.purchase-complete-modal__price-value {
    display: block;
    min-width: 4ch;
    color: #000000;
    font-size: 4rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    line-height: 1.325;
    text-align: right;
}

.purchase-complete-modal {
    /* ----------------------------------------
     Product
  ---------------------------------------- */
}

.purchase-complete-modal__product {
    width: 100%;
    margin-top: 14px;
}

.purchase-complete-modal__image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 224px;
    height: 137px;
    margin-inline: auto;
    overflow: hidden;
    background-color: #ffffff;
    border-radius: 4px;
}

.purchase-complete-modal__image {
    display: block;
    width: 217px;
    height: 103px;
    -o-object-fit: contain;
    object-fit: contain;
}

.purchase-complete-modal__product-name {
    display: -webkit-box;
    width: 100%;
    min-height: 45px;
    margin-top: 12px;
    overflow: hidden;
    color: #000000;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0;
    text-align: left;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.purchase-complete-modal {
    /* ----------------------------------------
     Purchase Information
  ---------------------------------------- */
}

.purchase-complete-modal__information {
    width: 100%;
    margin-top: 15px;
}

.purchase-complete-modal__information-item {
    width: 100%;
    padding: 0 11px;
    padding: 6px 11px 7px;
    background-color: #e7eef5;
}

.purchase-complete-modal__information-item--date {
    min-height: 67px;
    margin-top: 9px;
}

.purchase-complete-modal__information-label {
    color: #777777;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.3125;
    letter-spacing: 0;
    text-align: left;
}

.purchase-complete-modal__information-value {
    margin: 5px 0 0;
    color: #000000;
    font-size: 1.6rem;
    font-weight: 400;
    font-variant-numeric: tabular-nums;
    line-height: 1.25;
    letter-spacing: 0;
    text-align: left;
}

.purchase-complete-modal__information-value--order-id {
    overflow-wrap: anywhere;
}

.purchase-complete-modal {
    /* ----------------------------------------
     Return Button
  ---------------------------------------- */
}

.purchase-complete-modal__return-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60px;
    flex-shrink: 0;
    margin-top: 27px;
    padding: 12px 20px;
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3125;
    letter-spacing: 0;
    text-align: center;
    background-color: #2261c6;
    border: 1px solid #2261c6;
    border-radius: 8px;
    transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .purchase-complete-modal__return-button:hover {
        background-color: #2a79f5;
        border-color: #2a79f5;
    }
}

.purchase-complete-modal {
    /* ========================================
     Smartphone
  ======================================== */
}

@media screen and (max-width: 768px) {
    .purchase-complete-modal {
        align-items: center;
        padding: 15px;
    }

    .purchase-complete-modal__container {
        width: 100%;
        max-width: 360px;
        height: min(590px, 100dvh - 30px);
        max-height: calc(100dvh - 30px);
        padding: 33px 40px 26px;
        border-radius: 20px;
    }

    .purchase-complete-modal {
        /* ----------------------------------------
       Check Icon
    ---------------------------------------- */
    }

    .purchase-complete-modal__check {
        width: 45px;
        height: 45px;
    }

    .purchase-complete-modal {
        /* ----------------------------------------
       Title
    ---------------------------------------- */
    }

    .purchase-complete-modal__title {
        margin-top: 4px;
    }

    .purchase-complete-modal {
        /* ----------------------------------------
       Price
    ---------------------------------------- */
    }

    .purchase-complete-modal__price {
        margin-top: 7.2px;
    }

    .purchase-complete-modal__currency {
        margin-right: 12px;
        font-size: 2.6rem;
    }

    .purchase-complete-modal__price-value {
        font-size: 3.4rem;
    }

    .purchase-complete-modal {
        /* ----------------------------------------
       Product
    ---------------------------------------- */
    }

    .purchase-complete-modal__product {
        margin-top: 12.8px;
    }

    .purchase-complete-modal__image-wrapper {
        width: 160px;
        height: 98px;
    }

    .purchase-complete-modal__image {
        width: 100%;
        height: 100%;
        -o-object-fit: contain;
        object-fit: contain;
    }

    .purchase-complete-modal__product-name {
        min-height: 0;
        margin-top: 11.5px;
        font-size: 1.6rem;
    }

    .purchase-complete-modal {
        /* ----------------------------------------
       Purchase Information
    ---------------------------------------- */
    }

    .purchase-complete-modal__information {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 37px;
    }

    .purchase-complete-modal__information-item {
        min-height: 0;
        margin: 0;
        padding: 12px 20px;
    }

    .purchase-complete-modal__information-item--date {
        min-height: 0;
        margin-top: 0;
        padding: 12px 20px;
    }

    .purchase-complete-modal {
        /* ----------------------------------------
       Return Button
    ---------------------------------------- */
    }

    .purchase-complete-modal__return-button {
        height: 48px;
        min-height: 48px;
        margin-top: 18.5px;
        padding: 0 20px;
        font-size: 1.6rem;
    }
}

.purchase-complete-modal {
    /* ========================================
     Small Smartphone
  ======================================== */
}

@media screen and (max-width: 480px) {
    .purchase-complete-modal {
        padding: 8px;
    }

    .purchase-complete-modal__container {
        width: 100%;
        max-width: 360px;
        height: min(590px, 100dvh - 16px);
        max-height: calc(100dvh - 16px);
        padding: 33px clamp(18px, 10.2564vw, 40px) 26px;
        border-radius: 20px;
    }

    .purchase-complete-modal__product-name {
        font-size: 1.6rem;
    }

    .purchase-complete-modal__information-label, .purchase-complete-modal__information-value {
        font-size: 1.4rem;
    }

    .purchase-complete-modal__information-item {
        padding: 12px 16px;
    }

    .purchase-complete-modal__information-item--date {
        min-height: 0;
        margin-top: 0;
        padding: 12px 16px;
    }

    .purchase-complete-modal__return-button {
        height: 48px;
        min-height: 48px;
        margin-top: 18.5px;
        font-size: 1.6rem;
    }
}

/* ========================================
   販売終了モーダル (PC-05)
======================================== */
.sales-ended-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: visibility 0.2s ease, opacity 0.2s ease;
}

    .sales-ended-modal.is-open {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

.sales-ended-modal {
    /* オーバーレイ */
}

.sales-ended-modal__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.sales-ended-modal {
    /* モーダル本体 */
}

.sales-ended-modal__container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(100%, 394px);
    height: min(526px, 100dvh - 40px);
    padding: 54px 62px 52px;
    overflow-x: hidden;
    overflow-y: auto;
    color: #000000;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.16);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #d0d0d0 transparent;
}

    .sales-ended-modal__container::-webkit-scrollbar {
        width: 4px;
    }

    .sales-ended-modal__container::-webkit-scrollbar-track {
        background-color: transparent;
    }

    .sales-ended-modal__container::-webkit-scrollbar-thumb {
        background-color: #d0d0d0;
        border-radius: 6px;
    }

.sales-ended-modal.is-open .sales-ended-modal__container {
    opacity: 1;
    transform: translateY(0);
}

.sales-ended-modal {
    /* 商品エリア */
}

.sales-ended-modal__product {
    width: 100%;
}

.sales-ended-modal {
    /* 画像表示領域 */
}

.sales-ended-modal__image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 270px;
    max-width: 100%;
    height: 165px;
    margin-inline: auto;
    overflow: hidden;
    background-color: #ffffff;
    border-radius: 4px;
}

.sales-ended-modal__image {
    display: block;
    width: 270px;
    max-width: 100%;
    height: 130px;
    -o-object-fit: contain;
    object-fit: contain;
}

.sales-ended-modal {
    /* 商品名 */
}

.sales-ended-modal__product-name {
    display: -webkit-box;
    width: 100%;
    min-height: 42px;
    margin-top: 30px;
    overflow: hidden;
    color: #000000;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3125;
    letter-spacing: 0;
    text-align: left;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.sales-ended-modal {
    /* メッセージ */
}

.sales-ended-modal__message {
    width: 100%;
    margin-top: 49px;
    color: #000000;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.01em;
    text-align: center;
    white-space: nowrap;
}

.sales-ended-modal {
    /* 閉じるボタン */
}

.sales-ended-modal__close-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 280px;
    max-width: 100%;
    height: 60px;
    flex-shrink: 0;
    margin-top: 47px;
    padding: 12px 24px;
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3125;
    letter-spacing: 0;
    text-align: center;
    background-color: #000000;
    border: 1px solid #000000;
    border-radius: 8px;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .sales-ended-modal__close-button:hover {
        color: #000000;
        background-color: #ffffff;
        border-color: #000000;
    }
}

/* レスポンシブ調整 */
@media screen and (max-width: 768px) {
    .sales-ended-modal {
        padding: 15px;
    }

    .sales-ended-modal__container {
        width: min(100%, 394px);
        height: auto;
        max-height: calc(100dvh - 32px);
        padding: 58px 67px 43px;
        border-radius: 16px;
    }

    .sales-ended-modal__image-wrapper {
        width: min(100%, 197px);
        height: 123px;
    }

    .sales-ended-modal__image {
        width: min(100%, 197px);
        height: 93px;
    }

    .sales-ended-modal__product-name {
        margin-top: 15px;
        font-weight: 500;
    }

    .sales-ended-modal__message {
        margin-top: 54px;
        font-size: 1.4rem;
        white-space: normal;
    }

    .sales-ended-modal__close-button {
        margin-top: 38px;
        height: 48px;
    }
}
/* ========================================
   年齢確認モーダル (PC-06-1, PC-06-2, PC-06-3)
======================================== */
.age-confirmation-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: visibility 0.2s ease, opacity 0.2s ease;
}

    .age-confirmation-modal.is-open {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

.age-confirmation-modal {
    /* オーバーレイ */
}

.age-confirmation-modal__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.age-confirmation-modal {
    /* コンテナ共通 */
}

.age-confirmation-modal__container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    overflow-y: auto;
    color: #000000;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.16);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    overscroll-behavior: contain;
}

    .age-confirmation-modal__container[hidden] {
        display: none !important;
    }

.age-confirmation-modal__container {
    /* STEP 1 サイズ */
}

.age-confirmation-modal__container--step-1 {
    width: min(100%, 540px);
    height: min(790px, 100dvh - 40px);
    padding: 40px 30px 32px;
}

.age-confirmation-modal__container {
    /* STEP 2 サイズ */
}

.age-confirmation-modal__container--step-2 {
    width: min(100%, 540px);
    height: min(498px, 100dvh - 40px);
    padding: 40px 30px 30px;
}

.age-confirmation-modal__container {
    /* STEP 3 サイズ */
}

.age-confirmation-modal__container--step-3 {
    width: min(100%, 460px);
    height: min(283px, 100dvh - 40px);
    padding: 40px 30px 33px;
}

.age-confirmation-modal.is-open .age-confirmation-modal__container {
    opacity: 1;
    transform: translateY(0);
}

.age-confirmation-modal {
    /* タイトル */
}

.age-confirmation-modal__title {
    margin: 0;
    color: #2261c6;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.3333;
    text-align: center;
}

.age-confirmation-modal {
    /* STEP 1: 説明枠 */
}

.age-confirmation-modal__description {
    width: 100%;
    margin-top: 27px;
    padding: 26px 10px 29px;
    background-color: #ffffff;
    border: 1px solid #707070;
    border-radius: 12px;
    text-align: center;
}

.age-confirmation-modal__lead {
    margin: 0;
    color: #000000;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3125;
}

.age-confirmation-modal__important {
    margin-top: 21px;
    color: #ff0000;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.3571;
}

.age-confirmation-modal__notes {
    margin-top: 19px;
    color: #000000;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.3571;
    letter-spacing: -0.05em;
}

.age-confirmation-modal {
    /* STEP 2 / STEP 3 テキスト */
}

.age-confirmation-modal__confirm-text {
    margin-top: 38px;
    color: #000000;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3125;
    text-align: center;
}

.age-confirmation-modal__complete-text {
    margin-top: 48px;
    color: #000000;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3125;
    text-align: center;
}

.age-confirmation-modal {
    /* STEP 2 年月表示 */
}

.age-confirmation-modal__display-birthday {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-top: 45px;
    color: #000000;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.3214;
}

    .age-confirmation-modal__display-birthday .age-confirmation-modal__unit {
        margin-left: 4px;
        margin-right: 12px;
        font-size: 1.6rem;
    }

.age-confirmation-modal {
    /* STEP 2 上限カード表示 */
}

.age-confirmation-modal__selected-limit {
    width: 100%;
    margin-top: 30px;
    padding: 30px 55.5px;
    background-color: #e7eef5;
    border-radius: 12px;
}

.age-confirmation-modal__limit-card {
    display: flex;
    align-items: center;
    width: 369px;
    max-width: 100%;
    height: 37px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
}

.age-confirmation-modal__limit-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 163px;
    height: 100%;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    background-color: #919191;
    border-radius: 8px;
}

.age-confirmation-modal__limit-value {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 100%;
    color: #000000;
    font-size: 1.4rem;
    font-weight: 700;
}

/* フォーム構造 */
.age-confirmation-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    /* 生まれ年・月エリア */
}

.age-confirmation-form__birthday {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 28px;
}

.age-confirmation-form__legend {
    display: block;
    margin: 0;
    padding: 0;
    color: #000000;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.3333;
    white-space: nowrap;
}

.age-confirmation-form__inputs {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 35px;
}

.age-confirmation-form__input-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.age-confirmation-form__input {
    display: block;
    width: 97px;
    height: 40px;
    padding: 7px 10px;
    color: #000000;
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    background-color: #e7eef5;
    border: 1px solid #c7c7c7;
    border-radius: 4px;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

    .age-confirmation-form__input:focus {
        background-color: #ffffff;
        border-color: #2261c6;
    }

.age-confirmation-form__unit {
    display: block;
    color: #000000;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3125;
    white-space: nowrap;
}

.age-confirmation-form {
    /* エラーメッセージ */
}

.age-confirmation-form__error {
    min-height: 20px;
    margin-top: 8px;
    color: #ff0000;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
}

.age-confirmation-form {
    /* ボタンエリア */
}

.age-confirmation-form__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 24px;
    gap: 20px;
}

.age-confirmation-form__actions--step-2 {
    margin-top: 32px;
}

.age-confirmation-form__actions--single {
    justify-content: center;
    margin-top: 49px;
}

.age-confirmation-form {
    /* 共通ボタン */
}

.age-confirmation-form__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 230px;
    height: 60px;
    padding: 12px 20px;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3125;
    text-align: center;
    border-radius: 8px;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
    /* キャンセル・もどる（白背景・黒枠 → ホバー時 黒背景・白文字） */
}

.age-confirmation-form__button--cancel {
    color: #000000;
    background-color: #ffffff;
    border: 1px solid #000000;
}

@media (hover: hover) and (pointer: fine) {
    .age-confirmation-form__button--cancel:hover {
        color: #ffffff;
        background-color: #000000;
        border-color: #000000;
    }
}

.age-confirmation-form__button {
    /* OK（青背景 → ホバー時 明るい青 / 非活性時 薄い青） */
}

.age-confirmation-form__button--submit {
    color: #ffffff;
    background-color: #2261c6;
    border: 1px solid #2261c6;
}

@media (hover: hover) and (pointer: fine) {
    .age-confirmation-form__button--submit:hover:not(:disabled) {
        color: #ffffff;
        background-color: #2a79f5;
        border-color: #2a79f5;
    }
}

.age-confirmation-form__button--submit:disabled {
    color: #ffffff;
    background-color: #86a8de;
    border-color: #86a8de;
    cursor: not-allowed;
}

/* 課金制限リスト */
.age-limit {
    width: 100%;
    padding: 18px 55.5px 17px;
    background-color: #e7eef5;
    border-radius: 12px;
    text-align: center;
}

.age-limit__title {
    margin: 0;
    color: #000000;
    font-size: 1.6rem;
    font-weight: 700;
}

.age-limit__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin-top: 18px;
    padding: 0;
}

.age-limit__row {
    display: flex;
    align-items: center;
    width: 100%;
    height: 37px;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
}

.age-limit__age {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 163px;
    height: 100%;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    background-color: #2f2f2f;
    border-radius: 8px;
}

.age-limit__amount {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 100%;
    color: #000000;
    font-size: 1.4rem;
    font-weight: 700;
}

/* ========================================
   モバイル対応
======================================== */
@media screen and (max-width: 768px) {
    .age-confirmation-modal {
        padding: 15px;
        /* ----------------------------------------
       コンテナ共通
    ---------------------------------------- */
    }

    .age-confirmation-modal__container {
        width: 100%;
        max-width: 360px;
        max-height: calc(100dvh - 30px);
        padding: 40px 20px 27px;
    }

    .age-confirmation-modal {
        /* ----------------------------------------
       STEP 1 コンテナ
    ---------------------------------------- */
    }

    .age-confirmation-modal__container--step-1 {
        height: min(587px, 100dvh - 30px);
    }

    .age-confirmation-modal {
        /* ----------------------------------------
       STEP 2 コンテナ
    ---------------------------------------- */
    }

    .age-confirmation-modal__container--step-2 {
        width: 100%;
        max-width: 360px;
        height: auto;
        max-height: calc(100dvh - 30px);
        padding: 40px 20px 30px;
    }

    .age-confirmation-modal {
        /* ----------------------------------------
       STEP 3 コンテナ
    ---------------------------------------- */
    }

    .age-confirmation-modal__container--step-3 {
        width: 100%;
        max-width: 360px;
        height: auto;
        max-height: calc(100dvh - 30px);
    }

    .age-confirmation-modal {
        /* ----------------------------------------
       タイトル共通
    ---------------------------------------- */
    }

    .age-confirmation-modal__title {
        font-size: 2.4rem;
        line-height: 32px;
    }

    .age-confirmation-modal {
        /* ----------------------------------------
       STEP 1 説明枠
    ---------------------------------------- */
    }

    .age-confirmation-modal__description {
        width: 100%;
        height: 151px;
        margin-top: 12.17px;
        padding: 12.18px 16px 13.54px;
        overflow-x: hidden;
        overflow-y: auto;
        border-radius: 12px;
        text-align: left;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #c7c7c7 transparent;
    }

        .age-confirmation-modal__description::-webkit-scrollbar {
            width: 4px;
        }

        .age-confirmation-modal__description::-webkit-scrollbar-track {
            background-color: transparent;
        }

        .age-confirmation-modal__description::-webkit-scrollbar-thumb {
            background-color: #c7c7c7;
            border-radius: 4px;
        }

    .age-confirmation-modal__lead {
        font-size: 1.4rem;
        line-height: 19px;
        text-align: left;
    }

    .age-confirmation-modal__important {
        margin-top: 11.6px;
        font-size: 1.4rem;
        line-height: 19px;
        text-align: left;
    }

    .age-confirmation-modal__notes {
        margin-top: 31.6px;
        font-size: 1.4rem;
        line-height: 19px;
        letter-spacing: 0;
        text-align: left;
    }

    .age-confirmation-modal {
        /* ----------------------------------------
       STEP 2 確認テキスト
    ---------------------------------------- */
    }

    .age-confirmation-modal__confirm-text {
        width: 100%;
        margin-top: 46.34px;
        font-size: 1.4rem;
        font-weight: 700;
        line-height: 19px;
        letter-spacing: 0;
        text-align: center;
    }

    .age-confirmation-modal {
        /* ----------------------------------------
       STEP 2 生年月表示
    ---------------------------------------- */
    }

    .age-confirmation-modal__display-birthday {
        margin-top: 30.66px;
        font-size: 2.8rem;
        line-height: 37px;
    }

        .age-confirmation-modal__display-birthday .age-confirmation-modal__unit {
            margin-right: 12px;
            margin-left: 6px;
            font-size: 1.6rem;
            line-height: 21px;
        }

            .age-confirmation-modal__display-birthday .age-confirmation-modal__unit:last-child {
                margin-right: 0;
            }

    .age-confirmation-modal {
        /* ----------------------------------------
       STEP 2 選択された課金上限
    ---------------------------------------- */
    }

    .age-confirmation-modal__selected-limit {
        width: 100%;
        margin-top: 31.66px;
        padding: 21.82px 27px 19.73px;
        background-color: #e7eef5;
        border-radius: 12px;
    }

    .age-confirmation-modal__limit-card {
        width: 267px;
        max-width: 100%;
        height: 28px;
        margin: 0 auto;
        border-radius: 4px;
    }

    .age-confirmation-modal__limit-badge {
        flex: 0 0 100px;
        width: 100px;
        height: 28px;
        font-size: 1.4rem;
        line-height: 19px;
        background-color: #2f2f2f;
        border-radius: 4px;
    }

    .age-confirmation-modal__limit-value {
        flex: 1 1 auto;
        min-width: 0;
        height: 28px;
        padding: 0 8px;
        font-size: 1.4rem;
        line-height: 19px;
        white-space: nowrap;
    }
    /* ========================================
     年齢確認フォーム
  ======================================== */
    .age-confirmation-form {
        /* ----------------------------------------
       STEP 1 生年月入力
    ---------------------------------------- */
    }

    .age-confirmation-form__birthday {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0;
        margin-top: 24.55px;
    }

    .age-confirmation-form__legend {
        display: none;
    }

    .age-confirmation-form__inputs {
        justify-content: center;
        margin-left: 0;
    }

    .age-confirmation-form {
        /* ----------------------------------------
       ボタンエリア共通
    ---------------------------------------- */
    }

    .age-confirmation-form__actions {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-top: 17.87px;
    }

    .age-confirmation-form__button {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        height: 48px;
    }

    .age-confirmation-form {
        /* ----------------------------------------
       STEP 2 ボタンエリア
    ---------------------------------------- */
    }

    .age-confirmation-form__actions--step-2 {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-top: 32px;
    }

        .age-confirmation-form__actions--step-2 .age-confirmation-form__button {
            flex: 1 1 0;
            width: auto;
            min-width: 0;
            height: 48px;
        }

    .age-confirmation-form {
        /* ----------------------------------------
       STEP 3 ボタンエリア
    ---------------------------------------- */
    }

    .age-confirmation-form__actions--single {
        justify-content: center;
        margin-top: 49px;
    }

        .age-confirmation-form__actions--single .age-confirmation-form__button {
            flex: 0 1 230px;
            width: 230px;
            max-width: 100%;
        }
    /* ========================================
     STEP 1 課金制限リスト
  ======================================== */
    .age-limit {
        width: 100%;
        height: 168px;
        padding: 17px 27px 20px;
        border-radius: 12px;
    }

    .age-limit__list {
        gap: 4px;
        margin-top: 15.87px;
    }

    .age-limit__row {
        height: 28px;
        border-radius: 4px;
    }

    .age-limit__age {
        width: 100px;
        border-radius: 4px;
    }

    .age-limit__amount {
        margin-left: 10px;
    }
}
/* ========================================
   金額上限モーダル（PC-07）
======================================== */
.purchase-limit-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: visibility 0.2s ease, opacity 0.2s ease;
}

    .purchase-limit-modal.is-open {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

.purchase-limit-modal {
    /* ----------------------------------------
     オーバーレイ
  ---------------------------------------- */
}

.purchase-limit-modal__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.purchase-limit-modal {
    /* ----------------------------------------
     モーダル本体
  ---------------------------------------- */
}

.purchase-limit-modal__container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(100%, 460px);
    height: min(356px, 100dvh - 40px);
    padding: 40px 59px 30px;
    overflow-x: hidden;
    overflow-y: auto;
    color: #000000;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.16);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    overscroll-behavior: contain;
}

.purchase-limit-modal.is-open .purchase-limit-modal__container {
    opacity: 1;
    transform: translateY(0);
}

.purchase-limit-modal {
    /* ----------------------------------------
     タイトル
  ---------------------------------------- */
}

.purchase-limit-modal__title {
    margin: 0;
    color: #2261c6;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.3333;
    letter-spacing: 0;
    text-align: center;
}

.purchase-limit-modal {
    /* ----------------------------------------
     メッセージ
  ---------------------------------------- */
}

.purchase-limit-modal__message {
    margin: 34px 0 0;
    color: #000000;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3125;
    letter-spacing: 0;
    text-align: center;
}

.purchase-limit-modal {
    /* ----------------------------------------
     設定金額表示枠
  ---------------------------------------- */
}

.purchase-limit-modal__setting {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 342px;
    max-width: 100%;
    height: 77px;
    margin-top: 36px;
    padding: 20px 26px;
    background-color: #e7eef5;
    border-radius: 12px;
}

.purchase-limit-modal {
    /* ----------------------------------------
     年齢・設定金額
  ---------------------------------------- */
}

.purchase-limit-modal__setting-card {
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr);
    width: 289px;
    max-width: 100%;
    height: 37px;
    margin: 0;
    overflow: hidden;
    background-color: #ffffff;
    border-radius: 8px;
}

.purchase-limit-modal__age, .purchase-limit-modal__amount {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin: 0;
    padding: 7px 10px;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3571;
    letter-spacing: 0;
    text-align: center;
    white-space: nowrap;
}

.purchase-limit-modal__age {
    position: relative;
    z-index: 1;
    color: #ffffff;
    background-color: #919191;
    border-radius: 8px;
}

.purchase-limit-modal__amount {
    color: #000000;
    background-color: #ffffff;
}

.purchase-limit-modal {
    /* ----------------------------------------
     OKボタン
  ---------------------------------------- */
}

.purchase-limit-modal__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 230px;
    height: 60px;
    flex-shrink: 0;
    margin-top: 26px;
    padding: 12px 20px;
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3125;
    letter-spacing: 0;
    text-align: center;
    background-color: #2261c6;
    border: 1px solid #2261c6;
    border-radius: 8px;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .purchase-limit-modal__button:hover {
        color: #ffffff;
        background-color: #2a79f5;
        border-color: #2a79f5;
    }
}

/* ========================================
   モバイル対応
======================================== */
@media screen and (max-width: 768px) {
    .purchase-limit-modal {
        padding: 16px;
    }

    .purchase-limit-modal__container {
        width: min(100%, 460px);
        height: auto;
        max-height: calc(100dvh - 30px);
        padding: 47px 20px 44px;
        border-radius: 20px;
    }

    .purchase-limit-modal__message {
        margin-top: 26px;
    }

    .purchase-limit-modal__setting {
        width: 100%;
        height: auto;
        min-height: 77px;
        margin-top: 30px;
        padding: 27.2px 26.5px 24.6px;
    }

    .purchase-limit-modal__setting-card {
        display: grid;
        grid-template-columns: 100px minmax(0, 167px);
        width: 267px;
        max-width: 100%;
        height: 28px;
        margin: 0 auto;
        overflow: hidden;
        background-color: #ffffff;
        border-radius: 4px;
    }

    .purchase-limit-modal__age, .purchase-limit-modal__amount {
        height: 28px;
        margin: 0;
        padding-top: 0;
        padding-bottom: 0;
        font-size: 1.4rem;
        line-height: 19px;
    }

    .purchase-limit-modal__age {
        width: 100px;
        padding-right: 8px;
        padding-left: 8px;
        background-color: #2f2f2f;
        border-radius: 4px;
    }

    .purchase-limit-modal__amount {
        margin-left: 10px;
        white-space: nowrap;
    }

    .purchase-limit-modal__button {
        width: min(100%, 230px);
        height: 48px;
        margin-top: 28.78px;
    }
}
/* ========================================
   小画面対応
======================================== */
@media screen and (max-width: 480px) {
    .purchase-limit-modal {
        padding: 15px;
    }
}
/* ========================================
   お支払い方法設定モーダル（PC-08）
======================================== */
.payment-settings-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: visibility 0.2s ease, opacity 0.2s ease;
}

    .payment-settings-modal.is-open {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

.payment-settings-modal {
    /* ----------------------------------------
     オーバーレイ
  ---------------------------------------- */
}

.payment-settings-modal__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.payment-settings-modal {
    /* ----------------------------------------
     モーダル本体
  ---------------------------------------- */
}

.payment-settings-modal__container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(100%, 449px);
    height: min(303px, 100dvh - 40px);
    padding: 39px 56px 58px;
    overflow-x: hidden;
    overflow-y: auto;
    color: #000000;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.16);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    overscroll-behavior: contain;
}

.payment-settings-modal.is-open .payment-settings-modal__container {
    opacity: 1;
    transform: translateY(0);
}

.payment-settings-modal {
    /* ----------------------------------------
     閉じるボタン（×）
  ---------------------------------------- */
}

.payment-settings-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 24px;
    height: 24px;
    padding: 0;
    color: #707070;
    background-color: transparent;
    border: 0;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

    .payment-settings-modal__close::before, .payment-settings-modal__close::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 24px;
        height: 2px;
        background-color: #707070;
        transform-origin: center;
    }

    .payment-settings-modal__close::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .payment-settings-modal__close::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

@media (hover: hover) and (pointer: fine) {
    .payment-settings-modal__close:hover {
        opacity: 0.65;
    }
}

.payment-settings-modal {
    /* ----------------------------------------
     タイトル
  ---------------------------------------- */
}

.payment-settings-modal__title {
    margin: 0;
    color: #000000;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0;
    text-align: center;
}

.payment-settings-modal {
    /* ----------------------------------------
     説明文
  ---------------------------------------- */
}

.payment-settings-modal__description {
    margin: 41px 0 0;
    color: #000000;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.313;
    padding-left: 10px;
    white-space: nowrap;
}

.payment-settings-modal {
    /* ----------------------------------------
     カード情報登録・編集ボタン
  ---------------------------------------- */
}

.payment-settings-modal__card-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 303px;
    max-width: 100%;
    height: 60px;
    flex-shrink: 0;
    margin-top: 36px;
    padding: 12px 20px;
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3125;
    letter-spacing: 0;
    text-align: center;
    text-decoration: none;
    background-color: #2261c6;
    border: 1px solid #2261c6;
    border-radius: 8px;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .payment-settings-modal__card-button:hover {
        color: #ffffff;
        background-color: #2a79f5;
        border-color: #2a79f5;
    }
}

.payment-settings-modal__card-button:focus-visible {
    outline: 3px solid rgba(34, 97, 198, 0.3);
    outline-offset: 3px;
}

/* ========================================
   モバイル対応
======================================== */
@media screen and (max-width: 768px) {
    .payment-settings-modal {
        padding: 15px;
    }

    .payment-settings-modal__container {
        width: min(100%, 449px);
        height: auto;
        max-height: calc(100dvh - 32px);
        padding: 50px 40px 41px;
    }

    .payment-settings-modal__close {
        top: 20px;
        right: 20px;
    }

    .payment-settings-modal__description {
        width: 100%;
        margin-top: 38px;
        margin-left: -10px;
        text-align: center;
        font-size: 1.4rem;
        font-weight: 500;
        line-height: 1.714;
    }

    .payment-settings-modal__card-button {
        width: 100%;
        height: 48px;
        margin-top: 38px;
    }
}
/* ========================================
page
======================================== */
/* ========================================
   Purchase History Page Layout
======================================== */
/*
 * 購入履歴が少ない場合でも、
 * フッターをビューポート下部に配置します。
 */
.page-purchase-history {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}

    .page-purchase-history .header {
        flex: 0 0 auto;
    }

    .page-purchase-history .purchase-history {
        flex: 1 0 auto;
    }

    .page-purchase-history .footer {
        flex: 0 0 auto;
    }

/* ========================================
   Purchase History
======================================== */
.purchase-history {
    width: 100%;
    min-height: 0;
    color: #ffffff;
    /* ----------------------------------------
     Inner
  ---------------------------------------- */
}

.purchase-history__inner {
    width: 100%;
    padding: 140px 24px 80px;
}

.purchase-history {
    /* ----------------------------------------
     Title
  ---------------------------------------- */
}

.purchase-history__title {
    margin: 0;
    color: #ffffff;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.3333;
    letter-spacing: 0;
    text-align: center;
}

.purchase-history {
    /* ----------------------------------------
     History List
  ---------------------------------------- */
}

.purchase-history__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: min(100%, 1150px);
    margin: 104px auto 0;
}

.purchase-history {
    /* ----------------------------------------
     履歴がないとき
  ---------------------------------------- */
}

.purchase-history__empty {
    width: 100%;
    margin: 0;
    color: #A3A3A3;
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1.3333;
    letter-spacing: 0;
    text-align: center;
}

.purchase-history {
    /* ----------------------------------------
     History Item
  ---------------------------------------- */
}

.purchase-history__item {
    display: grid;
    grid-template-columns: 207px minmax(0, 1fr);
    width: 100%;
    min-height: 108px;
    overflow: hidden;
    color: #000000;
    background-color: #ffffff;
    border: 1px solid #e3e3e3;
    border-radius: 12px;
}

.purchase-history {
    /* ----------------------------------------
     Purchase Date
  ---------------------------------------- */
}

.purchase-history__date {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    min-width: 0;
    min-height: 106px;
    padding: 26px 33px 39px;
    background-color: #e3e3e3;
}

.purchase-history__date-label {
    margin: 0;
    color: #aaaaaa;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.3333;
    letter-spacing: 0;
    text-align: left;
}

.purchase-history__date-value {
    display: block;
    margin: 0;
    color: #000000;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.3125;
    letter-spacing: 0;
    text-align: left;
    white-space: nowrap;
}

.purchase-history {
    /* ----------------------------------------
     Order Information (PC表示)
  ---------------------------------------- */
}

.purchase-history__order {
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 106px;
    padding: 24px 32px;
    background-color: #ffffff;
}

.purchase-history__information {
    display: grid;
    grid-template-columns: 190px minmax(200px, 1fr) 40px minmax(80px, 120px);
    gap: 56px;
    align-items: stretch;
    width: 100%;
    margin: 0;
}

.purchase-history__information-item {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
}

.purchase-history__information-item--quantity, .purchase-history__information-item--price {
    text-align: center;
}

.purchase-history__information-label {
    margin: 0 0 7px;
    color: #aaaaaa;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.3571;
    letter-spacing: 0;
    text-align: left;
    white-space: nowrap;
}

.purchase-history__information-item--quantity .purchase-history__information-label, .purchase-history__information-item--price .purchase-history__information-label {
    text-align: center;
}

.purchase-history__information-value {
    min-width: 0;
    margin: auto 0;
    color: #000000;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.3125;
    letter-spacing: 0;
    text-align: left;
}

.purchase-history__information-value--order-id {
    display: -webkit-box;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: break-all;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.purchase-history__information-value--product {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.purchase-history__information-value--quantity, .purchase-history__information-value--price {
    display: block;
    text-align: center;
    white-space: nowrap;
}

.purchase-history {
    /* ========================================
     Smartphone
  ======================================== */
}

@media screen and (max-width: 768px) {
    .purchase-history__inner {
        padding: 92px 15px 71px;
    }

    .purchase-history__title {
        font-size: 2.4rem;
    }

    .purchase-history__list {
        gap: 12px;
        margin-top: 25px;
    }

    .purchase-history__empty {
        margin: 0;
        font-size: 1.8rem;
    }

    .purchase-history__item {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .purchase-history__date {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        min-height: auto;
        padding: 10px 32px 8px 26px;
        border-radius: 0;
    }

    .purchase-history__date-value {
        font-size: 1.4rem;
    }

    .purchase-history__order {
        min-height: auto;
        padding: 15px 25px 24px;
    }

    .purchase-history {
        /* ----------------------------------------
       注文情報 (SP表示上書き)
    ---------------------------------------- */
    }

    .purchase-history__information {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        width: 100%;
        margin: 0;
    }

    .purchase-history__information-item {
        min-width: 0;
        margin: 0;
        /* 注文ID（1行目全幅＋下線） */
    }

    .purchase-history__information-item--order-id {
        position: relative;
        grid-column: 1/-1;
        display: flex;
        flex-direction: column;
        width: 100%;
        padding-bottom: 8px;
    }

        .purchase-history__information-item--order-id::after {
            content: "";
            position: absolute;
            right: 0;
            bottom: 0;
            left: 0;
            height: 1px;
            background-color: #e3e3e3;
        }

    .purchase-history__information-item {
        /* 商品名（2行目全幅＋下線） */
    }

    .purchase-history__information-item--product {
        position: relative;
        grid-column: 1/-1;
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: 7px;
        padding-bottom: 8px;
    }

        .purchase-history__information-item--product::after {
            content: "";
            position: absolute;
            right: 0;
            bottom: 0;
            left: 0;
            height: 1px;
            background-color: #e3e3e3;
        }

    .purchase-history__information-item {
        /* 数量（3行目左側） */
    }

    .purchase-history__information-item--quantity {
        grid-column: 1;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 40px;
        margin-top: 7px;
        justify-self: start;
    }

    .purchase-history__information-item {
        /* 金額（3行目右側） */
    }

    .purchase-history__information-item--price {
        grid-column: 2;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        margin-top: 7px;
        justify-self: end;
        justify-content: flex-end;
    }

    .purchase-history__information-label {
        margin: 0;
        color: #aaaaaa;
        font-size: 1.2rem;
        line-height: 16px;
        text-align: left;
    }

    .purchase-history__information-item--quantity .purchase-history__information-label, .purchase-history__information-item--price .purchase-history__information-label {
        margin: 0;
        text-align: left;
    }

    .purchase-history__information-value {
        margin: 0;
        font-size: 1.4rem;
        line-height: 19px;
    }

    .purchase-history__information-value--order-id {
        display: block;
        width: 100%;
        overflow: visible;
        overflow-wrap: anywhere;
        word-break: break-all;
        -webkit-line-clamp: unset;
    }

    .purchase-history__information-value--product {
        display: -webkit-box;
        width: 100%;
        max-height: 38px;
        overflow: hidden;
        white-space: normal;
        overflow-wrap: anywhere;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .purchase-history__information-value--quantity {
        display: block;
        font-size: 1.6rem;
        line-height: 21px;
        text-align: left;
    }

    .purchase-history__information-value--price {
        display: block;
        font-size: 1.6rem;
        line-height: 21px;
        text-align: right;
    }
}

/* ========================================
   Maintenance
======================================== */
.maintenance {
    display: flex;
    justify-content: center;
    min-height: 100vh;
    min-height: 100svh;
    padding: 135px 24px 80px;
    background: url("../img/other-bg.webp") center/cover no-repeat;
}

.maintenance__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.maintenance__title {
    width: min(592px, 80vw);
}

.maintenance__logo {
    width: 100%;
    height: auto;
}

.maintenance__content {
    width: min(861px, 100%);
    margin-top: 117px;
    padding: 61px 122px 57px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.8);
}

.maintenance__text {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 2.5;
    letter-spacing: 0;
}

.maintenance__button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(498px, 100%);
    min-height: 60px;
    margin: 49px auto 0;
    padding: 12px 56px 12px 24px;
    color: #000000;
    background-color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 8px;
}

@media (hover: hover) and (pointer: fine) {
    .maintenance__button:hover {
        color: #ffffff;
        background-color: #000000;
    }
}

.maintenance__button-text {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 2;
    letter-spacing: 0;
    text-align: center;
}

.maintenance__button-arrow {
    position: absolute;
    top: 50%;
    right: 24px;
    width: 12px;
    height: 12px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
}

@media screen and (max-width: 1024px) {
    .maintenance__content {
        padding-right: 80px;
        padding-left: 80px;
    }
}

@media screen and (max-width: 768px) {
    .maintenance {
        background: url("../img/other-bg-sp.webp") center/cover no-repeat;
        padding: clamp(40px, 18svh, 146px) 15px 40px;
    }

    .maintenance__title {
        width: min(292px, 100%);
    }

    .maintenance__content {
        width: 100%;
        margin-top: clamp(40px, 12svh, 97px);
        padding: 32px 21px;
    }

    .maintenance__text {
        font-size: 1.3rem;
        font-weight: 500;
        line-height: 18px;
    }

    .maintenance__button {
        width: 100%;
        min-height: 60px;
        margin-top: 25px;
        padding: 12px 16px;
    }

    .maintenance__button-text {
        font-size: 1.3rem;
        font-weight: 500;
        line-height: 18px;
    }

    .maintenance__button-arrow {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .maintenance {
        padding-right: 15px;
        padding-left: 15px;
    }
}

/* ========================================
   Utility
======================================== */
/* ========================================
   Utility
======================================== */
/* ----------------------------------------
   Accessibility
---------------------------------------- */
.u-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    white-space: nowrap;
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
}

/* ----------------------------------------
   Display
---------------------------------------- */
.u-hidden-pc {
    display: none !important;
}

@media screen and (max-width: 768px) {
    .u-hidden-pc {
        display: block !important;
    }
}

.u-hidden-sp {
    display: block !important;
}

@media screen and (max-width: 768px) {
    .u-hidden-sp {
        display: none !important;
    }
}

.u-hidden {
    display: none !important;
}

/* ----------------------------------------
   Break
---------------------------------------- */
.spBr {
    display: none;
}

@media screen and (max-width: 768px) {
    .spBr {
        display: block;
    }
}

.pcBr {
    display: block;
}

@media screen and (max-width: 768px) {
    .pcBr {
        display: none;
    }
}

/* ----------------------------------------
   Text Align
---------------------------------------- */
.u-ta-center {
    text-align: center !important;
}

.u-ta-left {
    text-align: left !important;
}

.u-ta-right {
    text-align: right !important;
}

/* ----------------------------------------
   Margin
---------------------------------------- */
.u-mx-auto {
    margin-inline: auto !important;
}

/* ----------------------------------------
   Overflow
---------------------------------------- */
.u-overflow-hidden {
    overflow: hidden !important;
}

/* ----------------------------------------
   Text
---------------------------------------- */
.u-text-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ----------------------------------------
   Full Width
---------------------------------------- */
.u-width-full {
    width: 100% !important;
}
/*# sourceMappingURL=style.css.map */
