:root { --ink: #1f1d1b; --paper: #f6f2ea; --red: #c93f2b; --bright-red: #e5533d; --line: #d9d2c5; --muted: #6b645c; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Zen Kaku Gothic New", sans-serif; line-height: 1.8; }
a { color: inherit; text-decoration: none; } button { font: inherit; } button, input, select, textarea { color: inherit; }
.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--ink); background: var(--paper); }.header-inner, .hero, .section > *, .register-inner, .footer-inner { width: min(1200px, calc(100% - 80px)); margin: auto; }.header-inner { min-height: 66px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }.header-start, nav { display: flex; align-items: center; gap: 40px; }.brand { display: inline-flex; align-items: center; }.brand img { display: block; width: auto; height: 26px; }.site-header nav { font-size: 14px; font-weight: 500; }.site-header nav a:hover, .text-link:hover, .product-card h3 a:hover { color: var(--red); }.header-cta, .button { display: inline-flex; align-items: center; gap: 16px; border-radius: 2px; font-weight: 700; }.header-cta { padding: 9px 16px; background: var(--ink); color: var(--paper); font-size: 14px; }.header-cta:hover, .button-accent:hover { background: var(--red); }
.hero { padding: clamp(56px, 11vw, 128px) 0 clamp(56px, 9vw, 112px); }.eyebrow, .section-kicker { margin: 0; color: var(--red); font: 400 12px "Space Mono", "Zen Kaku Gothic New", monospace; letter-spacing: .14em; }.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: clamp(24px, 4vw, 40px); }.eyebrow i { width: 32px; height: 1px; background: currentColor; }.hero h1 { max-width: 14em; margin: 0; font-size: clamp(36px, 7.2vw, 88px); font-weight: 900; line-height: 1.28; letter-spacing: -.01em; }.hero-bottom { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); align-items: end; gap: 24px 64px; margin-top: clamp(32px, 5vw, 56px); padding-top: clamp(24px, 3vw, 32px); border-top: 1px solid var(--ink); }.hero-bottom p { margin: 0; color: #3a3633; font-size: clamp(15px, 1.6vw, 17px); line-height: 2; }.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }.button { padding: 14px 22px; border: 1px solid var(--ink); font-size: 15px; }.button-accent { border-color: var(--bright-red); background: var(--bright-red); }.button-outline:hover { background: var(--ink); color: var(--paper); }
.discover { border-top: 1px solid var(--ink); }.section { padding: clamp(48px, 7vw, 88px) 0; }.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }.section-kicker { margin-bottom: 10px; }.section-heading h2 { margin: 0; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.4; }.text-link { padding-bottom: 2px; border-bottom: 1px solid currentColor; font-size: 14px; font-weight: 700; }.filter-row { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }.filter { padding: 8px 14px; border: 1px solid var(--ink); border-radius: 2px; background: transparent; cursor: pointer; font-size: 14px; font-weight: 700; line-height: 1.4; }.filter.active { background: var(--ink); color: var(--paper); }.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }.product-card { display: flex; flex-direction: column; gap: 18px; min-width: 0; padding: 28px 32px 28px 0; border-bottom: 1px solid var(--line); }.product-card:nth-child(3n + 2) { padding-inline: 16px; }.product-card:nth-child(3n + 3) { padding-inline: 32px 0; }.product-visual { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 2px; background: var(--card-color); color: var(--card-ink); }.product-visual > span, .product-visual small { position: absolute; font: 400 11px "Space Mono", monospace; letter-spacing: .1em; }.product-visual > span { top: 14px; left: 16px; }.product-visual small { right: 16px; bottom: 14px; }.product-visual b { position: absolute; top: 50%; left: 50%; display: grid; width: 72px; height: 72px; place-items: center; border-radius: 16px; background: var(--card-ink); color: var(--card-color); transform: translate(-50%, -50%); font: 700 26px "Space Mono", monospace; }.product-visual img { display: block; width: 100%; height: 100%; object-fit: cover; background: #e4ddd0; }.product-visual small { padding: 3px 7px; border-radius: 2px; background: var(--paper); color: var(--ink); }.card-meta time { color: var(--muted); font: 400 12px "Space Mono", monospace; }.product-empty { margin: 0; padding: 48px 0; color: var(--muted); }.card-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; }.card-meta > span { padding: 3px 8px; border: 1px solid var(--ink); border-radius: 2px; font-size: 12px; font-weight: 700; line-height: 1.5; }.saved-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; }.saved-actions .maker { margin-top: 0; }.save-toggle { padding: 4px 0; border: 0; border-bottom: 1px solid currentColor; background: none; color: var(--ink); cursor: pointer; font-size: 13px; font-weight: 700; }.save-toggle:hover { color: var(--red); }.save-toggle[aria-pressed="false"] { color: var(--muted); }.product-card h3 { margin: 0 0 6px; font-size: 22px; line-height: 1.4; }.product-card p { margin: 0; color: #3a3633; font-size: 15px; line-height: 1.85; }.maker { display: flex; align-items: center; gap: 8px; margin-top: auto; color: var(--muted); font-size: 13px; }.maker span { display: inline-grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: #e4ddd0; color: var(--ink); font: 400 11px "Space Mono", monospace; }
.about { border-top: 1px solid var(--ink); }.about-intro { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); align-items: end; gap: 24px 64px; margin-bottom: clamp(32px, 5vw, 48px); }.about-intro h2 { margin: 0; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.4; }.about-intro > p { max-width: 34em; margin: 0; color: #3a3633; font-size: clamp(15px, 1.6vw, 17px); line-height: 2; }.about-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 auto; padding: 0; border-top: 1px solid var(--ink); list-style: none; }.about-points li { padding: 28px 24px 0 0; }.about-points li + li { padding-left: 24px; border-left: 1px solid var(--line); }.about-points span { color: var(--red); font: 400 12px "Space Mono", monospace; letter-spacing: .14em; }.about-points h3 { margin: 10px 0 8px; font-size: 20px; font-weight: 900; line-height: 1.4; }.about-points p { margin: 0; color: #3a3633; font-size: 15px; line-height: 1.85; }
.register { background: var(--red); color: #fff8f0; }.register-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); align-items: end; gap: 32px 64px; padding: clamp(56px, 9vw, 112px) 0; }.register .section-kicker { color: inherit; }.register h2 { margin: 20px 0 0; font-size: clamp(28px, 4vw, 46px); font-weight: 900; line-height: 1.4; }.register p:not(.section-kicker) { max-width: 30em; margin: 0 0 28px; font-size: 16px; line-height: 2; }.button-dark { border-color: var(--ink); background: var(--ink); color: #fff8f0; }.button-dark:hover { background: #fff8f0; color: var(--ink); }
.site-footer { background: var(--ink); color: #e4ddd0; }.footer-inner { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 40px 0; }.site-footer .brand img { height: 24px; }.site-footer p { margin: 8px 0 0; color: #bdb5a8; font-size: 13px; }.footer-inner > div:last-child { display: flex; flex-direction: column; gap: 12px; }.site-footer nav { gap: 20px; flex-wrap: wrap; font-size: 13px; }.site-footer nav a:hover { color: var(--bright-red); }.site-footer small { color: #8f877c; font: 400 11px "Space Mono", monospace; letter-spacing: .08em; }
@media (max-width: 760px) { .header-inner, .hero, .section > *, .register-inner, .footer-inner { width: min(100% - 32px, 1200px); }.header-inner { min-height: 64px; }.header-start { gap: 16px; }.site-header nav { display: none; }.brand img { height: 22px; }.header-cta { padding: 8px 10px; font-size: 12px; }.hero h1 { font-size: 40px; }.hero-bottom p br { display: none; }.section-heading { align-items: start; }.product-grid { grid-template-columns: 1fr; }.product-card, .product-card:nth-child(3n + 2), .product-card:nth-child(3n + 3) { padding: 24px 0; }.register h2 br, .about-intro h2 br { display: none; }.about-points { grid-template-columns: 1fr; }.about-points li, .about-points li + li { padding: 24px 0; border-left: 0; }.about-points li + li { border-top: 1px solid var(--line); }.footer-inner { align-items: start; flex-direction: column; }.footer-inner > div:last-child { align-items: start; } }.product-card .card-name { margin: 0 0 8px; color: var(--ink); font-size: 14px; font-weight: 700; line-height: 1.6; }

.legal-inner { width: min(760px, calc(100% - 80px)); margin: auto; }.legal h1 { margin: 0 0 32px; font-size: clamp(28px, 4vw, 44px); font-weight: 900; line-height: 1.4; }.legal h2 { margin: 48px 0 12px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 19px; font-weight: 900; line-height: 1.5; }.legal p, .legal li, .legal dd { color: #3a3633; font-size: 15px; line-height: 2; }.legal p { margin: 0 0 12px; }.legal ol { margin: 0; padding-left: 1.6em; }.legal li + li { margin-top: 4px; }.legal a { border-bottom: 1px solid currentColor; }.legal a:hover { color: var(--red); }.legal .legal-lead { font-size: 16px; }.legal-date { margin-top: 56px !important; color: var(--muted) !important; font: 400 13px "Space Mono", "Zen Kaku Gothic New", monospace !important; }.legal-table { margin: 32px 0; border-top: 1px solid var(--ink); }.legal-table div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }.legal-table dt { color: var(--muted); font-size: 13px; font-weight: 700; line-height: 2.2; }.legal-table dd { margin: 0; }
@media (max-width: 760px) { .legal-inner { width: min(100% - 32px, 760px); }.legal-table div { grid-template-columns: 1fr; gap: 2px; } }

.catalog .section-heading h1 { margin: 0; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.4; }a.filter { display: inline-block; }.filter small { margin-left: 4px; font: 400 11px "Space Mono", monospace; opacity: .7; }.pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-top: 32px; }.pagination > :last-child { justify-self: end; }.pagination-status { color: var(--muted); font: 400 13px "Space Mono", monospace; letter-spacing: .1em; }
.follow { border-top: 1px solid var(--ink); }.follow-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); align-items: end; gap: 24px 64px; }.follow h2 { margin: 0; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.4; }.follow p:not(.section-kicker) { max-width: 30em; margin: 0 0 24px; font-size: 15px; line-height: 2; }
.maker .maker-avatar { flex: none; width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
a.maker:hover { color: var(--red); }
.profile-hero { padding-bottom: clamp(32px, 5vw, 56px); }.profile-head { display: flex; align-items: flex-start; gap: clamp(20px, 4vw, 40px); }.profile-avatar { display: grid; flex: none; width: clamp(88px, 12vw, 128px); height: clamp(88px, 12vw, 128px); place-items: center; border-radius: 50%; background: #e4ddd0; color: var(--ink); object-fit: cover; font: 700 clamp(32px, 4.4vw, 48px) "Space Mono", "Zen Kaku Gothic New", monospace; }.profile-body { min-width: 0; }.profile-body h1 { margin: 0; font-size: clamp(30px, 4.6vw, 52px); font-weight: 900; line-height: 1.3; overflow-wrap: anywhere; }.profile-bio { max-width: 36em; margin: 16px 0 0; color: #3a3633; font-size: clamp(15px, 1.6vw, 17px); line-height: 2; overflow-wrap: anywhere; }.profile-edit { display: inline-block; margin-top: 18px; }.profile-hero + .catalog { border-top: 1px solid var(--ink); }
@media (max-width: 760px) { .profile-head { flex-direction: column; gap: 18px; } }
.site-header nav a[aria-current="page"] { color: var(--red); }.header-end { display: flex; align-items: center; gap: 14px; }.header-post { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid var(--ink); border-radius: 2px; background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 700; line-height: 1.4; }.header-post:hover { border-color: var(--red); background: var(--red); }.account-menu { position: relative; }.account-menu summary { display: block; border-radius: 50%; cursor: pointer; list-style: none; }.account-menu summary::-webkit-details-marker { display: none; }.account-menu summary:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }.account-avatar { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--ink); border-radius: 50%; background: #e4ddd0; color: var(--ink); object-fit: cover; font: 700 15px "Space Mono", "Zen Kaku Gothic New", monospace; }.account-menu[open] summary .account-avatar { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--ink); }.account-avatar-large { width: 48px; height: 48px; font-size: 20px; }.account-panel { position: absolute; top: calc(100% + 12px); right: 0; z-index: 20; width: 272px; border: 1px solid var(--ink); border-radius: 2px; background: var(--paper); box-shadow: 4px 4px 0 rgba(31, 29, 27, .12); font-size: 14px; line-height: 1.6; }.account-head { display: flex; align-items: center; gap: 12px; padding: 18px 18px 14px; }.account-head div { min-width: 0; }.account-head strong { display: block; overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }.account-head a { color: var(--muted); font-size: 12px; }.account-head a:hover { color: var(--red); }.account-shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 18px 16px; border-bottom: 1px solid var(--line); }.account-shortcuts a { padding: 7px 0; border: 1px solid var(--ink); border-radius: 2px; font-size: 13px; font-weight: 700; text-align: center; }.account-shortcuts a:hover, .account-shortcuts a[aria-current="page"] { background: var(--ink); color: var(--paper); }.account-group { display: grid; padding: 12px 0; border-bottom: 1px solid var(--line); }.account-group p { margin: 0 18px 4px; color: var(--muted); font: 400 11px "Space Mono", "Zen Kaku Gothic New", monospace; letter-spacing: .1em; }.account-group a { padding: 6px 28px; font-weight: 500; }.account-group a:hover, .account-group a[aria-current="page"] { color: var(--red); }.account-logout { padding: 10px 0; }.account-logout button { width: 100%; padding: 6px 18px; border: 0; background: transparent; color: var(--ink); cursor: pointer; font-size: 14px; font-weight: 500; text-align: left; }.account-logout button:hover { color: var(--red); }
@media (max-width: 760px) { .header-end { gap: 10px; }.header-post { padding: 7px 12px; font-size: 13px; }.account-avatar { width: 32px; height: 32px; font-size: 13px; }.account-panel { position: fixed; top: 64px; right: 16px; width: min(272px, calc(100vw - 32px)); } }
.product-card[hidden], .product-more { display: none; }
@media (max-width: 760px) { .product-grid.is-collapsed .product-card.is-extra { display: none; }.product-more:not([hidden]) { display: flex; justify-content: center; padding-top: 32px; }.product-more .button { cursor: pointer; }.product-more .button:not(:hover) { background: transparent; color: var(--ink); } }
.hero-home { display: flex; flex-direction: column; justify-content: center; min-height: calc(100svh - 67px - 180px); padding-block: clamp(64px, 10vw, 120px); }.hero-home h1 { max-width: none; margin-block: clamp(24px, 4vw, 48px) clamp(48px, 7vw, 96px); }.hero-lead { max-width: 30em; margin: clamp(24px, 3vw, 36px) 0 0; color: #3a3633; font-size: clamp(16px, 1.8vw, 19px); line-height: 2; }.hero-home .hero-actions { margin-top: clamp(32px, 4vw, 48px); }.hero-home .button { padding: 16px 28px; font-size: 16px; }.hero-about { align-self: start; margin-top: 28px; padding-bottom: 2px; border-bottom: 1px solid currentColor; color: var(--muted); font-size: 14px; font-weight: 700; }.hero-about:hover { color: var(--red); }
@media (min-width: 761px) { .hero-home { align-items: center; text-align: center; }.hero-lead { margin-inline: auto; }.hero-home .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }.hero-home .hero-actions .button { justify-content: center; }.hero-punct { display: none; }.hero-punct-mid { visibility: hidden; }.hero-about { align-self: center; } }
.arrivals { border-top: 1px solid var(--ink); }.arrivals-inner { width: min(1200px, calc(100% - 80px)); margin: auto; padding: 28px 0 clamp(40px, 6vw, 64px); }.arrivals-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 18px; }.arrivals-heading .section-kicker { margin: 0; }.arrivals-more { display: flex; justify-content: center; margin: 32px 0 0; }.arrivals-more .button { min-width: 240px; justify-content: center; }.arrivals-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }.arrivals-list a { display: grid; gap: 10px; }.arrivals-list img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 2px; background: #e4ddd0; object-fit: cover; }.arrivals-list span { display: grid; gap: 2px; min-width: 0; }.arrivals-list small { color: var(--muted); font-size: 12px; font-weight: 700; }.arrivals-list b { display: -webkit-box; overflow: hidden; font-size: 15px; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }.arrivals-list a:hover b { color: var(--red); }
.about-intro h1 { margin: 0; font-size: clamp(28px, 3.8vw, 44px); font-weight: 900; line-height: 1.4; }.about-points h2 { margin: 10px 0 8px; font-size: 20px; font-weight: 900; line-height: 1.4; }.about-page { border-top: 0; padding-top: clamp(56px, 9vw, 112px); }
.operator-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 24px 64px; }.operator h2 { margin: 0; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.4; }.operator .legal-table { margin: 0 0 20px; }.operator .legal-table dd { color: #3a3633; font-size: 15px; line-height: 2; }.operator .legal-table a, .operator p a { border-bottom: 1px solid currentColor; }.operator .legal-table a:hover { color: var(--red); }.operator p:not(.section-kicker) { margin: 0; color: #3a3633; font-size: 15px; line-height: 2; }
@media (max-width: 760px) { .hero-home { min-height: 0; }.hero-lead br, .about-intro h1 br { display: none; }.hero-home .hero-actions .button { flex: 1 1 100%; justify-content: center; }.arrivals-inner { width: min(100% - 32px, 1200px); }.arrivals-list { grid-template-columns: 1fr; gap: 14px; }.arrivals-list a { grid-template-columns: 112px 1fr; align-items: center; gap: 14px; }.arrivals-more .button { width: 100%; } }
/* ローカル開発環境だけに出す、ユーザー切り替え（dev-switch.php）へのリンク */
.dev-switch-link { position: fixed; bottom: 12px; left: 12px; z-index: 50; max-width: calc(100% - 24px); padding: 6px 10px; border-radius: 2px; background: #f0b429; color: #1f1d1b; font: 700 11px "Space Mono", monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
