/* The EC-CUBE frame continues to render the store's configured blocks. */
.ec-layoutRole__header .ec-headerRole,
.ec-layoutRole__header .ec-headerNaviRole,
.ec-layoutRole__header .ec-categoryNaviRole,
:is(.ec-layoutRole__contentTop, .ec-layoutRole__mainTop, .ec-layoutRole__mainBottom, .ec-layoutRole__contentBottom)
  :is(.ec-eyecatchRole, .ec-topicRole, .ec-newItemRole, .ec-categoryRole) {
    display: none;
}
.ec-layoutRole .ec-layoutRole__contents { max-width: none; }
.ec-layoutRole .ec-newsRole[hidden], .ec-layoutRole .ec-newsRole__newsItem[hidden] { display: none !important; }

.okd-home {
    padding-bottom: clamp(32px, 4vw, 56px);
    color: var(--okd-ink);
    background: var(--okd-paper);
    font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
}
.okd-home *, .okd-home *::before, .okd-home *::after { box-sizing: border-box; }
.okd-home [hidden] { display: none !important; }
.okd-home a { color: inherit; text-decoration: none; }
.okd-home button { color: inherit; font: inherit; cursor: pointer; }
.okd-home :is(a, button, summary):focus-visible { outline: 2px solid var(--okd-red); outline-offset: 3px; }
.okd-home img { display: block; max-width: 100%; }
.okd-container { width: min(100%, 1344px); margin-inline: auto; padding-inline: clamp(14px, 3vw, 36px); }

.okd-header { position: relative; z-index: 5; border-bottom: 1px solid var(--okd-line); background: #fffdfa; }
.okd-header-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    min-height: 66px;
}
.okd-menu { justify-self: start; }
.okd-tools { justify-self: end; display: flex; align-items: center; gap: 4px; }
.okd-header-action {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 9px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    list-style: none;
}
.okd-header-action::-webkit-details-marker { display: none; }
.okd-header-action:hover, details[open] > .okd-header-action { background: #f1eae1; }
.okd-header-action svg, .okd-search-field svg {
    flex: none;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.okd-popover {
    position: absolute;
    top: calc(100% - 3px);
    left: clamp(14px, 3vw, 36px);
    width: min(320px, calc(100% - 28px));
    max-height: min(65vh, 460px);
    overflow: auto;
    padding: 15px 18px;
    border: 1px solid var(--okd-line);
    border-radius: 8px;
    background: #fffdfa;
    box-shadow: 0 12px 30px #32262024;
}
.okd-popover h2 { margin: 0 0 5px; font-size: 15px; font-weight: 750; }
.okd-menu-links a { display: block; padding: 9px 2px; overflow-wrap: anywhere; }
.okd-menu-links a + a { border-top: 1px solid var(--okd-line); }
.okd-menu-links a:hover { color: var(--okd-red); }

.okd-first-view { display: grid; gap: 14px; margin-top: 22px; }
.okd-first-view--featured { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.okd-find, .okd-spotlight { min-width: 0; border: 1px solid var(--okd-line); border-radius: 10px; }
.okd-find { padding: 17px clamp(16px, 2vw, 26px) 19px; background: #fffdfa; }
.okd-eyebrow { margin: 0; color: var(--okd-red); font: 750 10px/1.4 Arial, sans-serif; letter-spacing: .15em; }
.okd-find h1 { margin: 3px 0 13px; font-size: clamp(25px, 2.6vw, 36px); font-weight: 800; line-height: 1.2; }
.okd-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.okd-search-form { display: flex; gap: 7px; max-width: 720px; }
.okd-search-field {
    display: flex;
    flex: 1;
    min-width: 0;
    align-items: center;
    gap: 9px;
    padding-inline: 11px;
    border: 1px solid #b7ac9e;
    border-radius: 6px;
    color: var(--okd-muted);
    background: #fff;
}
.okd-search-field:focus-within { outline: 2px solid var(--okd-red); outline-offset: 1px; }
.okd-search-field input {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 0;
    border: 0;
    outline: none;
    color: var(--okd-ink);
    background: transparent;
    font: inherit;
    font-size: 16px;
}
.okd-search-field input::placeholder { color: var(--okd-muted); }
.okd-search-form button {
    flex: none;
    min-width: 74px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 6px;
    color: #fff;
    background: var(--okd-red);
    font-size: 14px;
    font-weight: 750;
}
.okd-search-form button:hover { background: #601b2f; }
.okd-quick-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.okd-quick-links a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    border: 1px solid #ddd3c7;
    border-radius: 5px;
    background: #faf6ef;
    font-size: 13px;
    font-weight: 750;
}
.okd-quick-links a:hover { border-color: var(--okd-red); color: var(--okd-red); background: #f7ebe9; }

.okd-spotlight { border-color: #dfd0c0; background: #eee5d9; }
.okd-spotlight-link {
    display: grid;
    grid-template-columns: minmax(90px, 34%) minmax(0, 1fr);
    min-height: 100%;
    align-items: center;
    gap: clamp(12px, 2vw, 22px);
    padding: 13px 15px;
    border-radius: inherit;
}
.okd-spotlight-link:hover { background: #e9ddcf; }
.okd-spotlight-cover { aspect-ratio: 1; border-radius: 5px; background: #f7f3ec; }
.okd-spotlight-cover img { width: 100%; height: 100%; border-radius: inherit; object-fit: contain; }
.okd-spotlight-copy { min-width: 0; }
.okd-spotlight-copy .okd-eyebrow span { margin-left: 5px; letter-spacing: .04em; }
.okd-spotlight-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 7px; margin: 6px 0 4px; color: var(--okd-muted); font-size: 11px; font-weight: 750; }
.okd-spotlight-subtitle { margin: 4px 0 0; color: var(--okd-muted); font-size: 11px; font-weight: 700; overflow-wrap: anywhere; }
.okd-spotlight-name {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    font-size: clamp(15px, 1.55vw, 22px);
    font-weight: 800;
    line-height: 1.35;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.okd-spotlight-price { margin: 5px 0 0; color: var(--okd-red); font-size: 15px; font-weight: 800; overflow-wrap: anywhere; }
.okd-spotlight-price small { color: var(--okd-muted); font-size: 10px; font-weight: 500; }
.okd-spotlight-more { display: inline-flex; gap: 6px; margin-top: 4px; color: var(--okd-red); font-size: 12px; font-weight: 750; }

.okd-shelf { margin-top: clamp(25px, 3vw, 39px); scroll-margin-top: 16px; }
#okdvd-new { margin-top: clamp(20px, 2vw, 28px); }
.okd-shelf-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 13px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--okd-line);
}
.okd-shelf-title { margin: 2px 0 0; font-size: clamp(19px, 2vw, 26px); font-weight: 800; line-height: 1.25; }
.okd-shelf--bd .okd-eyebrow { color: var(--okd-bd); }
.okd-shelf--dvd .okd-eyebrow { color: var(--okd-dvd); }
.okd-shelf-heading > a { display: inline-flex; min-height: 36px; align-items: center; gap: 7px; color: var(--okd-red); font-size: 13px; font-weight: 750; white-space: nowrap; }
.okd-shelf-heading > a:hover { text-decoration: underline; }
.okd-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(9px, 1.3vw, 17px); }
.okd-home .okd-card { border: 1px solid var(--okd-line); border-radius: 8px; background: #fffdfa; text-align: left; }
.okd-home .okd-card-cover { aspect-ratio: 6 / 5; border-radius: 7px 7px 0 0; background: #efebe5; }
.okd-home .okd-card-cover img { padding: 5px; }
.okd-cover-note { position: absolute; inset: auto 6px 6px auto; padding: 2px 5px; border-radius: 3px; background: #fffdfa; color: var(--okd-muted); font-size: 10px; }
.okd-home .okd-card-title {
    display: -webkit-box;
    min-height: 2.8em;
    overflow: hidden;
    margin: 8px 10px 4px;
    font-size: 14px;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.okd-home .okd-edition { margin-inline: 10px; }
.okd-home .okd-tracks { justify-content: flex-start; margin-inline: 10px; }
.okd-home-card-price { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 3px 6px; margin: auto 10px 0; padding-top: 4px; }
.okd-home .okd-price { margin: 0; padding: 0; font-size: 16px; }
.okd-home-stock { display: inline-block; padding: 2px 5px; border-radius: 4px; background: #e8f1eb; color: #315f49; font-size: 11px; font-weight: 750; white-space: nowrap; }
.okd-home .okd-spec-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; min-height: 35px; margin-inline: 10px; color: var(--okd-red); font-size: 12px; font-weight: 750; }
.okd-home .okd-spec-link:hover { text-decoration: underline; }
.okd-empty { padding: clamp(20px, 3vw, 38px) 15px; border: 1px solid var(--okd-line); border-radius: 8px; background: #fffdfa; color: var(--okd-muted); text-align: center; }
.okd-empty svg { width: 34px; height: 34px; margin-bottom: 7px; fill: none; stroke: var(--okd-muted); stroke-width: 1.5; }
.okd-empty p { margin: 0 0 9px; font-size: 13px; }
.okd-empty .okd-empty-title { margin: 0 0 8px; color: var(--okd-ink); font-size: clamp(17px, 1.9vw, 22px); font-weight: 750; }
.okd-empty a { display: inline-block; margin-top: 3px; padding: 7px 12px; border: 1px solid #b6aaa2; border-radius: 4px; color: var(--okd-red); background: #fff; font-size: 13px; font-weight: 750; }
.okd-category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 205px), 1fr)); gap: 12px; }
.okd-category-grid a { display: flex; min-height: 54px; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 14px; border: 1px solid var(--okd-line); border-radius: 6px; background: #fffdfa; font-size: 14px; font-weight: 750; overflow-wrap: anywhere; }
.okd-category-grid a:hover { border-color: var(--okd-red); color: var(--okd-red); }

.okd-dialog { position: fixed; inset: 0 0 0 auto; width: min(440px, 100%); max-width: none; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; color: var(--okd-ink); background: #fff; box-shadow: -12px 0 35px #19151940; }
.okd-dialog::backdrop { background: #1815198a; }
body:has(.okd-dialog[open]) { overflow: hidden; }
.okd-dialog-header { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 18px; border-bottom: 1px solid var(--okd-line); background: #fff; }
.okd-dialog-header h2 { margin: 0; font-size: 18px; font-weight: 750; }
.okd-dialog-header button { font-size: 24px; }
.okd-dialog-body { padding: 20px 18px 30px; }
.okd-dialog-product { margin: 0 0 14px; font-size: 19px; font-weight: 750; overflow-wrap: anywhere; }
.okd-spec-grid { margin: 0 0 20px; border: 1px solid var(--okd-line); border-radius: 4px; }
.okd-spec-grid div { display: grid; grid-template-columns: minmax(92px, 28%) 1fr; }
.okd-spec-grid div + div { border-top: 1px solid var(--okd-line); }
.okd-spec-grid :is(dt, dd) { margin: 0; padding: 9px; font-size: 13px; overflow-wrap: anywhere; }
.okd-spec-grid dt { background: #faf7f2; font-weight: 750; }
.okd-season-table { width: 100%; margin-bottom: 18px; border-collapse: collapse; font-size: 13px; }
.okd-season-table caption { caption-side: top; padding: 0 0 6px; color: var(--okd-ink); text-align: left; font-weight: 750; }
.okd-season-table :is(th, td) { padding: 7px; border: 1px solid var(--okd-line); text-align: left; overflow-wrap: anywhere; }
.okd-season-table th { background: #faf7f2; }
.okd-dialog .okd-detail-link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 4px; color: #fff; background: var(--okd-ink); font-weight: 750; }
@media (max-width: 900px) {
    .okd-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .okd-first-view--featured { grid-template-columns: minmax(0, 1fr); }
    .okd-spotlight-link { grid-template-columns: 88px minmax(0, 1fr); }
}
@media (max-width: 599px) {
    .okd-header-inner { min-height: 56px; }
    .okd-header-action > span { display: none; }
    .okd-tools { gap: 0; }
    .okd-first-view { gap: 10px; margin-top: 12px; }
    .okd-find { padding: 14px 12px 12px; }
    .okd-find h1 { margin-bottom: 10px; }
    .okd-quick-links { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .okd-quick-links a { grid-column: span 2; min-height: 44px; padding-inline: 7px; font-size: 12px; }
    .okd-quick-links a:nth-child(n+4) { grid-column: span 3; }
    .okd-search-form button { min-width: 62px; padding-inline: 10px; }
    .okd-spotlight-link { grid-template-columns: 78px minmax(0, 1fr); padding: 10px 11px; }
    .okd-spotlight-name { font-size: 15px; }
    .okd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .okd-home .okd-card-title, .okd-home .okd-edition, .okd-home .okd-tracks,
    .okd-home-card-price, .okd-home .okd-spec-link { margin-inline: 8px; }
    .okd-home .okd-spec-link, .okd-shelf-heading > a { min-height: 44px; }
}
