/* THE UNSEEN — 3サイト共通のジャーナル
   白・黒・グレーだけ。豊かさは、文字・写真・余白・わずかな動きでつくる。
   英字は太いサンセリフ、日本語の見出しはゴシック、本文は明朝（長文を雑誌のように読めるように）。 */

:root {
  --ink: #0b0b0b; --ink-2: #3b3b3b; --mute: #6f6f6f; --line: #e7e7e5; --soft: #f3f3f1; --paper: #fff;
  --sans: "Helvetica Neue", Helvetica, Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
  --mincho: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", serif;
  --text: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;   /* 本文：やわらかいゴシック */
  --gut: 20px;          /* 画面の左右の余白 */
  --col: 34em;          /* 本文の最大の横幅 */
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 768px) { :root { --gut: 40px; } }
@media (min-width: 1200px) { :root { --gut: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body.jr { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.7; letter-spacing: .01em; font-feature-settings: "palt" 1; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; word-break: auto-phrase; line-break: strict; overflow-x: clip; }
.jr a { color: inherit; }
.jr img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
.jr :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.jr-skip { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--ink); color: #fff; font-size: 12px; text-decoration: none; }
.jr-skip:focus { top: 8px; }

/* ---------- 上のバー（片手で戻れるよう、記事では右に Index） ---------- */
.jr-bar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 var(--gut); background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.jr-bar__logo { font-weight: 700; font-size: 14px; letter-spacing: .14em; text-decoration: none; }
.jr-bar__index { display: inline-flex; align-items: center; min-height: 44px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; }
.jr-bar__index::before { content: ""; width: 18px; height: 1px; margin-right: 10px; background: currentColor; transition: width .4s var(--ease); }
.jr-bar__index:hover::before { width: 28px; }
/* 読んだ位置を示す細い線（記事だけ） */
.jr-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); }
.jr-progress i { display: block; height: 100%; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- 一覧：題字 ---------- */
.jr-main { padding: 0 0 24px; }
.jr-mast { padding: 28px var(--gut) 0; }
.jr-title { margin: 0; white-space: nowrap; font-weight: 700; font-size: clamp(40px, 12.4vw, 168px); line-height: .92; letter-spacing: -.045em; }
/* 題字の下に、意味を小さく細く（曲のサブタイトルのように） */
.jr-sub { margin: 12px 0 0; font-family: var(--text); font-weight: 400; font-size: 12px; letter-spacing: .32em; color: var(--mute); }
.jr-mast__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-top: 14px; padding: 10px 0 12px; border-top: 1px solid var(--ink); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.jr-mast__row span:last-child { color: var(--mute); letter-spacing: .06em; text-transform: none; }

/* ---------- 一覧：いちばん新しい記事を大きく ---------- */
.jr-feature { display: block; margin: 8px 0 0; text-decoration: none; }
.jr-feature__img { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--soft); }
.jr-feature__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.jr-feature__txt { display: block; padding: 18px var(--gut) 8px; }
.jr-feature__label { display: block; margin-bottom: 10px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.jr-feature__title { display: block; font-weight: 700; font-size: clamp(23px, 6.4vw, 44px); line-height: 1.38; letter-spacing: .005em; }
.jr-feature__ex { margin-top: 12px; font-family: var(--text); font-size: 14px; line-height: 1.95; color: var(--ink-2); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.jr-more { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; }
.jr-more__ja { font-family: var(--text); font-weight: 400; font-size: 10.5px; letter-spacing: .14em; color: var(--mute); }
.jr-more::after { content: ""; width: 24px; height: 1px; background: currentColor; transition: width .5s var(--ease); }
@media (min-width: 600px) and (max-width: 899px) { .jr-feature__img { aspect-ratio: 16 / 10; } }
@media (min-width: 900px) {
  .jr-feature { display: grid; grid-template-columns: 7fr 5fr; gap: 0 48px; align-items: end; margin: 16px var(--gut) 0; }
  .jr-feature__txt { padding: 0 0 6px; }
  .jr-feature__ex { -webkit-line-clamp: 4; font-size: 15px; }
}

/* ---------- 一覧：そのほかの記事（目次のように） ---------- */
.jr-index { margin: 44px var(--gut) 0; border-top: 1px solid var(--ink); }
.jr-index__label { margin: 0; padding: 12px 0; font-size: 10.5px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); border-bottom: 1px solid var(--line); }
.jr-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 76px; gap: 16px; align-items: center; min-height: 100px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.jr-row__txt { min-width: 0; }
.jr-row__title { font-weight: 700; font-size: 16px; line-height: 1.55; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; transition: letter-spacing .6s var(--ease), transform .6s var(--ease); }
.jr-row__ex { display: none; }
.jr-row__img { display: block; aspect-ratio: 1; overflow: hidden; background: var(--soft); }
.jr-row__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .9s var(--ease); }
.jr-mark { display: flex; align-items: flex-end; width: 100%; height: 100%; padding: 8px; background: var(--ink); color: #fff; font-weight: 700; font-size: 11px; letter-spacing: .08em; }
@media (min-width: 768px) {
  .jr-index { max-width: 980px; margin-left: auto; margin-right: auto; }
  .jr-row { grid-template-columns: minmax(0, 1fr) 132px; gap: 40px; min-height: 164px; padding: 16px 0; }
  .jr-row__title { font-size: 21px; line-height: 1.5; }
  .jr-row__ex { display: block; margin-top: 8px; font-family: var(--text); font-size: 13.5px; line-height: 1.85; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
@media (min-width: 768px) and (max-width: 1059px) { .jr-index { margin-left: var(--gut); margin-right: var(--gut); } }
/* マウスで触れたときだけ：写真はほんの少しモノクロから色へ、見出しはわずかに右へ・字間がひらく */
@media (hover: hover) and (pointer: fine) {
  .jr-row__img img { filter: grayscale(.55) contrast(1.02); }
  .jr-row:hover .jr-row__img img, .jr-row:focus-visible .jr-row__img img { filter: none; transform: scale(1.04); }
  .jr-row:hover .jr-row__title { transform: translateX(6px); letter-spacing: .02em; }
  .jr-row::before { content: ""; position: absolute; left: -18px; top: 50%; width: 0; height: 1px; background: var(--ink); transition: width .6s var(--ease); }
  .jr-row:hover::before { width: 12px; }
  .jr-feature:hover .jr-feature__img img { transform: scale(1.025); }
  .jr-feature:hover .jr-more::after, .jr-next:hover .jr-more::after { width: 44px; }
}

/* ページ送り（20記事ごと） */
.jr-pages { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 6px; margin: 36px var(--gut) 0; }
.jr-pages__link { min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 8px; font-size: 12px; letter-spacing: .08em; text-decoration: none; border-bottom: 1px solid transparent; }
.jr-pages__link.is-current { border-bottom-color: var(--ink); font-weight: 700; }
.jr-pages__link.is-edge { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; }
.jr-pages__link.is-off { color: #c9c9c9; }
.jr-empty { margin: 48px var(--gut); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }

/* ---------- 記事 ---------- */
.jr-article { padding: 28px 0 0; }
.jr-head { max-width: calc(var(--col) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
@media (min-width: 768px) { .jr-head, .jr-body p, .jr-end { max-width: calc(var(--col) * 1.03 + var(--gut) * 2); } }
.jr-kicker { display: inline-block; margin: 0 0 18px; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); text-decoration: none; }
.jr-kicker:hover { color: var(--ink); }
.jr-h1 { margin: 0; font-weight: 700; font-size: clamp(25px, 7vw, 46px); line-height: 1.4; letter-spacing: .01em; }
.jr-head__rule { height: 1px; margin: 26px 0 0; background: var(--ink); transform-origin: 0 50%; }
.jr-body { padding: 30px 0 0; }
.jr-body p { max-width: calc(var(--col) + var(--gut) * 2); margin: 0 auto 1.7em; padding: 0 var(--gut); font-family: var(--text); font-size: 16px; line-height: 2.05; letter-spacing: .04em; color: #1a1a1a; hanging-punctuation: allow-end; }
@media (min-width: 768px) { .jr-body p { font-size: 17px; line-height: 2.1; } }
/* 写真：横長は本文より広く（スマホは画面いっぱい）、縦長は少し細く、縦長が続けば2枚並び */
.jr-fig { max-width: 1040px; margin: 2.4em auto 2.6em; }
.jr-fig--tall { max-width: min(560px, 82%); }
.jr-fig--pair { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; max-width: 900px; }
@media (min-width: 768px) { .jr-fig { padding: 0 var(--gut); } .jr-fig--pair { gap: 12px; } }
.jr-zoom { display: block; width: 100%; padding: 0; border: 0; background: var(--soft); cursor: zoom-in; }
.jr-zoom img { width: 100%; height: auto; }
/* 記事の終わり */
.jr-end { max-width: calc(var(--col) + var(--gut) * 2); margin: 3.2em auto 0; padding: 0 var(--gut); }
.jr-end span { display: block; width: 28px; height: 1px; background: var(--ink); }

/* 次の記事へ（読み終えたら、自然に次へ） */
.jr-next-box { margin: 64px 0 0; border-top: 1px solid var(--ink); }
.jr-next { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 18px; align-items: end; padding: 22px var(--gut) 26px; text-decoration: none; }
.jr-next__label { display: block; margin-bottom: 10px; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.jr-next__title { display: block; font-weight: 700; font-size: clamp(19px, 5.4vw, 34px); line-height: 1.42; }
.jr-next__img { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--soft); }
.jr-next__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.jr-next:hover .jr-next__img img { transform: scale(1.04); }
.jr-prev { display: block; padding: 16px var(--gut); border-top: 1px solid var(--line); font-size: 13px; line-height: 1.6; text-decoration: none; color: var(--ink-2); }
.jr-prev small { display: block; margin-bottom: 2px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.jr-back { display: flex; align-items: center; justify-content: center; min-height: 56px; margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; transition: background .3s, color .3s; }
.jr-back:hover { background: var(--ink); color: #fff; }
@media (min-width: 768px) {
  .jr-next { grid-template-columns: minmax(0, 1fr) 200px; gap: 48px; max-width: 1080px; margin: 0 auto; padding: 36px var(--gut) 40px; }
  .jr-prev { max-width: 1080px; margin: 0 auto; }
}

/* 拡大表示 */
.jr-lb { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 56px 8px 24px; background: #fff; }
.jr-lb img { max-height: calc(100vh - 100px); max-height: calc(100dvh - 100px); width: auto; object-fit: contain; }
.jr-lb__close { position: absolute; top: 10px; right: 12px; min-height: 40px; padding: 0 14px; border: 1px solid var(--ink); background: #fff; color: var(--ink); font: inherit; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; }

/* ---------- フッター：3つのサイト ---------- */
.jr-foot { margin: 72px var(--gut) 0; padding: 28px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--ink); }   /* 本文とフッターの区切りは、目次の上と同じ黒の細線 */
.jr-article + .jr-foot { margin-top: 56px; }
.jr-sites { display: grid; grid-template-columns: max-content max-content; justify-content: start; gap: 0 clamp(36px, 11vw, 96px); }
.jr-sites__group { display: grid; gap: 12px; align-content: start; }
.jr-sites__label { margin: 0; font-size: 11px; font-weight: 300; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.jr-site { display: inline-flex; align-items: baseline; gap: 10px; width: max-content; min-height: 32px; font-weight: 700; font-size: 17px; letter-spacing: -.01em; text-decoration: none; }
.jr-site::after { content: "↗"; font-weight: 400; font-size: 13px; transition: transform .4s var(--ease); }
.jr-site:hover::after { transform: translate(2px, -2px); }
.jr .jr-site--karuizawa { color: #2f5d3a; }
.jr .jr-site--tokyo { color: #c0743a; }
.jr .jr-site--company { color: #6e5a96; }
@media (min-width: 360px) and (max-width: 420px) { .jr-sites { column-gap: 24px; } }
@media (max-width: 359px) { .jr-sites { column-gap: 22px; } .jr-site { font-size: 14.5px; gap: 6px; } }

/* ---------- 書き込み画面でつけた文字の飾り ---------- */
.jr-s-s { font-size: .86em; }
.jr-s-l { font-size: 1.45em; line-height: 1.6; }
.jr-s-xl { font-size: 1.95em; line-height: 1.45; }
.jr-f-mincho { font-family: var(--mincho); }
.jr-b { font-weight: 700; }
.jr-c-gray { color: #8a8a8a; }
.jr-c-red { color: #c4002b; }
.jr-c-rust { color: #a8532f; }
.jr-c-green { color: #3d6b4f; }
.jr-c-navy { color: #23395d; }

/* ---------- 静かに現れる（画面に入ったときだけ。動きを減らす設定では出さない） ---------- */
.jr-js .jr-rv { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.jr-js .jr-rv.is-in { opacity: 1; transform: none; }
.jr-js .jr-head__rule.jr-rv { opacity: 1; transform: scaleX(0); transition: transform 1.1s var(--ease) .15s; }
.jr-js .jr-head__rule.jr-rv.is-in { transform: scaleX(1); }

/* ページの移り変わり（対応しているブラウザだけ、やわらかく切り替える） */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: jr-out .18s ease-out both; }
::view-transition-new(root) { animation: jr-in .38s var(--ease) both; }
@keyframes jr-out { to { opacity: 0; } }
@keyframes jr-in { from { opacity: 0; transform: translateY(8px); } }

@media (prefers-reduced-motion: reduce) {
  .jr *, .jr *::before, .jr *::after { transition: none !important; animation: none !important; }
  .jr-js .jr-rv, .jr-js .jr-head__rule.jr-rv { opacity: 1; transform: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ---------- 番号（今の並び順どおり。いちばん下の記事が 01） ---------- */
.jr-no { display: inline-block; margin-right: 12px; font-family: var(--sans); font-weight: 400; font-size: 11px; letter-spacing: .06em; font-variant-numeric: tabular-nums; color: var(--mute); text-transform: none; }
.jr-index .jr-row { grid-template-columns: 26px minmax(0, 1fr) 76px; gap: 12px; }
.jr-row__no { margin: 0; align-self: center; }
.jr-head__no { margin: 0 0 0 10px; }
@media (min-width: 768px) {
  .jr-index .jr-row { grid-template-columns: 44px minmax(0, 1fr) 132px; gap: 0 32px; }
  .jr-row__no { font-size: 12px; }
}

/* ---------- 動画・YouTube（その場で再生） ---------- */
.jr-fig--video video { display: block; width: 100%; height: auto; background: #000; }
.jr-yt { max-width: 1040px; }
.jr-yt--short { max-width: min(400px, 82%); }
.jr-yt__btn, .jr-yt iframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; background: #000; }
.jr-yt--short .jr-yt__btn, .jr-yt--short iframe { aspect-ratio: 9 / 16; }
.jr-yt__btn { cursor: pointer; overflow: hidden; }
.jr-yt__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.jr-yt__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(0,0,0,.72); transition: background .3s; }
.jr-yt__play::after { content: ""; position: absolute; left: 26px; top: 21px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; }
.jr-yt__btn:hover .jr-yt__play { background: #000; }
.jr-yt__btn:hover img { transform: scale(1.02); }

/* voice（両店共通のメディア）への控えめな入口。小文字のまま、黒の文字だけ */
.jr-media { display: flex; align-items: baseline; gap: 14px; margin: 26px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.jr .jr-site--voice { color: var(--ink); text-transform: none; }

/* 戻る・閉じる（スマホでも押しやすい大きさ。上のバーの右側） */
.jr-bar { padding-top: env(safe-area-inset-top); height: calc(56px + env(safe-area-inset-top)); }
.jr-bar__right { display: flex; align-items: center; gap: 4px; }
.jr-bar__index::before { content: "←"; width: auto; height: auto; margin-right: 8px; background: none; font-size: 13px; letter-spacing: 0; }
.jr-bar__index:hover::before { width: auto; }
.jr-bar__index { padding: 0 10px; letter-spacing: .12em; }
.jr-close { display: inline-flex; align-items: center; gap: 8px; min-width: 44px; min-height: 44px; justify-content: flex-end; margin-right: -6px; padding: 0 6px; text-decoration: none; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.jr-close i { font-style: normal; font-size: 22px; line-height: 1; font-weight: 300; transition: transform .4s var(--ease); }
.jr-close:hover i { transform: rotate(90deg); }
@media (max-width: 420px) { .jr-close span { display: none; } }
/* フッター：Media（voice・Instagram）と Shop（Online Shop）も同じ並べ方で */
.jr-sites--more { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.jr .jr-site--plain { color: var(--ink); text-transform: none; }

/* グループのサイト（同じタブで開く）は →、外のサイト（新しいタブ）は ↗ */
.jr-site::after { content: "→"; }
.jr-site:hover::after { transform: translateX(3px); }
.jr-site--ext::after { content: "↗"; }
.jr-site--ext:hover::after { transform: translate(2px, -2px); }

/* シェア（記事の題名の下と、記事の終わり） */
.jr-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 18px 0 0; }
.jr-share__btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--ink); background: #fff; color: var(--ink); font: inherit; font-size: 12px; letter-spacing: .08em; text-decoration: none; cursor: pointer; transition: background .3s, color .3s; }
.jr-share__btn:hover { background: var(--ink); color: #fff; }
.jr-share__msg { font-size: 11px; color: var(--mute); }
.jr-end-share { max-width: calc(var(--col) + var(--gut) * 2); margin: 18px auto 0; padding: 0 var(--gut); }
@media (min-width: 768px) { .jr-end-share { max-width: calc(var(--col) * 1.03 + var(--gut) * 2); } }
/* シェアは文字だけで、さりげなく（10/23 ユーザー指示） */
.jr-share { gap: 4px 22px; margin: 14px 0 0; }
.jr-share__btn { min-height: 36px; padding: 0; border: 0; background: none; color: var(--mute); font-size: 11px; letter-spacing: .14em; }
.jr-share__btn::after { content: "↗"; margin-left: 6px; font-size: 10px; }
.jr-share__btn:hover, .jr-share__btn:focus-visible { background: none; color: var(--ink); }
