/* Sinfa Mode — shared styles for sinfamode.com
   Look: white ground, soft gray panels, centered serif labels (FIVEISM × THREE as the base);
   product grid follows BULK HOMME (category heads, boxed labels, gray photo tiles). LP is phone-first. */
:root {
  --bg: #ffffff;           /* page ground */
  --panel: #efefed;        /* soft gray band / accordion */
  --tile: #f5f5f3;         /* product photo tile */
  --ink: #1f1f1f;          /* primary text */
  --sub: #5c5c5c;          /* secondary text */
  --mute: #8a8a87;         /* labels, captions */
  --line: #d8d8d4;         /* hairlines */
  --btn: #4a4a4a;          /* solid button (FIVEISM "MORE") */
  --btn-hi: #2b2b2b;
  --accent: #9c7c45;       /* brand gold, used sparingly for emphasis */
  --f-latin: "Cormorant Garamond", "Times New Roman", serif;
  --f-head: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-body: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --gutter: clamp(16px, 5vw, 48px);
  --col: 1080px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 15px; line-height: 1.9; letter-spacing: .04em; word-break: auto-phrase; line-break: strict; }
/* one sentence per line; copy uses no 、。 so lines carry the rhythm */
.ln { display: block; }
/* phrase that must not break inside (auto-phrase is not supported everywhere) */
.ph { display: inline-block; }
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 600; line-height: 1.6; text-wrap: balance; margin: 0; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--col); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; }

/* header: centered logo, nav row underneath */
.site-head { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-head .top { position: relative; display: flex; justify-content: center; padding-block: 18px 10px; }
.site-head .shop { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-40%); font-family: var(--f-latin); font-size: .82rem; letter-spacing: .16em; color: var(--sub); text-decoration: none; }
.site-head .shop:hover { color: var(--ink); }
.logo { display: inline-flex; line-height: 0; }
.logo img { height: 30px; width: auto; }
.nav { display: flex; justify-content: center; gap: clamp(14px, 4vw, 44px); padding-bottom: 12px; overflow-x: auto; scrollbar-width: none; }
.nav a { font-family: var(--f-latin); font-size: .8rem; letter-spacing: .16em; color: var(--sub); text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.nav a:hover { color: var(--ink); }

/* sections */
.section { padding-block: clamp(64px, 10vw, 112px); }
.section.gray { background: var(--panel); }
.label { display: block; font-family: var(--f-latin); font-size: 1.05rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--sub); text-align: center; }
.label + .label-ja { display: block; font-size: .78rem; color: var(--mute); text-align: center; margin-top: 2px; letter-spacing: .1em; }
.boxhead { display: block; width: fit-content; margin-inline: auto; border: 1px solid var(--ink); padding: 6px 28px; font-family: var(--f-latin); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: .95rem; }
.boxhead small { font-family: var(--f-body); font-size: .8rem; letter-spacing: .1em; margin-left: .6em; font-weight: 700; }
.muted { color: var(--mute); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .8em; padding: 15px 34px; background: var(--btn); color: #fff; font-family: var(--f-latin); font-size: .92rem; letter-spacing: .16em; text-decoration: none; border: 1px solid var(--btn); transition: background .2s; }
.btn::after { content: "›"; font-size: 1.1em; line-height: 1; }
.btn:hover { background: var(--btn-hi); }
.btn-line { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--line); padding: 4px 12px; font-size: .78rem; color: var(--sub); text-decoration: none; min-width: 9em; }
.btn-line::after { content: "→"; }
.btn-line:hover { border-color: var(--ink); color: var(--ink); }

/* footer: link columns, centered mark */
.site-foot { border-top: 1px solid var(--line); padding-block: 48px 32px; font-size: .78rem; color: var(--sub); }
.site-foot .cols { display: flex; flex-wrap: wrap; gap: 10px 32px; }
.site-foot .cols a { color: var(--sub); text-decoration: none; }
.site-foot .cols a:hover { color: var(--ink); }
.site-foot .base { margin-top: 40px; display: grid; justify-items: center; gap: 10px; }
.site-foot .base img { height: 22px; width: auto; }
.site-foot .base small { color: var(--mute); letter-spacing: .1em; }

/* product photo tile */
.shot { position: relative; background: var(--tile); aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; max-width: 100%; }
.shot img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.soon-mark { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(255,255,255,.92); color: var(--ink); border: 1px solid var(--ink); font-family: var(--f-head); font-weight: 600; font-size: clamp(.9rem, 2.6vw, 1.15rem); letter-spacing: .2em; padding: .45em 1.1em; white-space: nowrap; }
.photo { background: var(--tile); border: 1px dashed var(--line); display: grid; place-items: center; color: var(--mute); font-size: .78rem; aspect-ratio: 1 / 1; }

/* pick up banner (main product) */
.pickup { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: #1f1f1f; color: #fff; text-decoration: none; overflow: hidden; }
.pickup .shot { aspect-ratio: auto; min-height: 100%; }
.pickup .txt { padding: clamp(24px, 5vw, 48px); display: grid; gap: 12px; align-content: center; }
.pickup .k { font-family: var(--f-latin); letter-spacing: .24em; font-size: .85rem; color: #c9b38a; }
.pickup h3 { font-size: clamp(1.25rem, 3vw, 1.7rem); color: #fff; }
.pickup p { font-size: .9rem; color: #cfcfcb; }
.pickup .go { justify-self: start; margin-top: 6px; font-size: .82rem; letter-spacing: .12em; border-bottom: 1px solid #fff; padding-bottom: 2px; }
.pickup:hover .go { color: #c9b38a; border-color: #c9b38a; }

/* product grid by category (BULK HOMME style) */
/* categories sit side by side while they are small; every item keeps the same width (1/3 of the column) */
.cats { --gap: clamp(10px, 2.4vw, 28px); --cw: min(100vw - 2 * var(--gutter), var(--col) - 2 * var(--gutter)); --iw: calc((var(--cw) - 2 * var(--gap)) / 3);
  margin-top: 48px; display: flex; flex-wrap: wrap; justify-content: center; gap: 48px var(--gap); }
.cat { flex: 0 0 auto; max-width: 100%; }
.cat h3 { font-family: var(--f-latin); font-weight: 600; letter-spacing: .2em; font-size: 1rem; text-align: center; margin-bottom: 18px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.items { display: grid; grid-template-columns: repeat(var(--n, 1), var(--iw)); gap: 28px var(--gap); }
.item { display: grid; gap: 10px; justify-items: center; align-content: start; text-align: center; min-width: 0; }
.item .tag { display: block; width: 100%; border: 1px solid var(--line); font-family: var(--f-latin); font-size: .74rem; letter-spacing: .12em; padding: 1px 4px; color: var(--sub); }
.item .kind { font-size: .72rem; color: var(--mute); margin-top: -8px; }
.item .shot { width: 100%; }
.item .nm { font-size: .82rem; line-height: 1.5; }
.item .pr { font-size: .78rem; color: var(--sub); font-variant-numeric: tabular-nums; }
.item .btn-line { width: 100%; }
.btn-buy { display: flex; align-items: center; justify-content: center; gap: .5em; width: 100%; padding: 8px 10px; background: var(--ink); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-decoration: none; }
.btn-buy::after { content: "›"; }
.btn-buy:hover { background: #000; }
/* subscription price (Amazon 定期おトク便) */
.sub { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-family: var(--f-head); font-size: 1rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sub b { border: 1px solid var(--accent); font-family: var(--f-body); font-size: .66rem; font-weight: 700; letter-spacing: .06em; padding: 0 5px; line-height: 1.6; }
.sub small { font-size: .7rem; font-weight: 400; color: var(--sub); }
.detail-sub { font-size: 1.05rem; }
.item .soon { font-size: .74rem; color: var(--sub); border: 1px solid var(--line); padding: 3px 10px; }
@media (max-width: 760px) {
  .pickup { grid-template-columns: 1fr; }
  .pickup .shot { aspect-ratio: 4 / 3; }
  .cats { --iw: calc((var(--cw) - var(--gap)) / 2); }
  .items { grid-template-columns: repeat(min(var(--n, 1), 2), var(--iw)); }
}

@media (max-width: 480px) { .nav { justify-content: flex-start; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
