/* HARE COFFEE AND BAKE — 提案用サンプル
   方針: 温かいベージュの地に、有機的な形で抜いた写真を散らす。余白を広く、罫線は細く。 */

:root {
  --paper:   #eae2d4;   /* 地。温かいベージュ */
  --cream:   #f6f1e7;   /* 一段明るい面 */
  --ink:     #2b2620;
  --muted:   #655c50;   /* paper上 5.10:1 */
  --accent:  #8f5526;   /* paper上 4.67:1 */
  --olive:   #525c42;   /* paper上 5.50:1 */
  --line:        rgba(43, 38, 32, .16);
  --line-strong: #7a705f;   /* 押せる要素の輪郭。paper上 3.79:1 */
  --bar-h: 62px;
  --wrap:  1240px;
  --ease:  cubic-bezier(.22, .61, .36, 1);
  /* 写真を抜く有機的な形 */
  --blob:  62% 38% 44% 56% / 48% 62% 38% 52%;
  --blob2: 38% 62% 58% 42% / 58% 40% 60% 42%;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 16px; line-height: 2; letter-spacing: .04em;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (min-width: 768px) { body { padding-bottom: 0; } }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--olive); outline-offset: 4px; }

h1, h2, h3 {
  font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-weight: 500; line-height: 1.6; letter-spacing: .06em;
  word-break: auto-phrase; margin: 0;
}

.en { font-family: "Cormorant Garamond", "Times New Roman", serif; font-weight: 300; letter-spacing: .28em; text-transform: uppercase; }
/* Cormorantの既定は旧式数字で 0 が小文字oに見える。番号と価格だけ通常の数字に戻す */
.label, .menu-price, .card__price, .tl__time { font-variant-numeric: lining-nums tabular-nums; font-feature-settings: "lnum" 1, "tnum" 1; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
@media (min-width: 768px) { .wrap { width: min(100% - 104px, var(--wrap)); } }

.section { padding: 88px 0; position: relative; overflow: hidden; }
@media (min-width: 768px) { .section { padding: 136px 0; } }
.section--cream { background: var(--cream); }

/* 括弧で囲むセクションラベル */
.label {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: "Cormorant Garamond", serif; font-weight: 300;
  font-size: .82rem; letter-spacing: .26em; text-transform: uppercase; color: var(--olive);
}
.label::before, .label::after { content: "["; opacity: .55; }
.label::after { content: "]"; }
.label b { font-weight: 300; color: var(--accent); }

.section__head { margin-bottom: 48px; max-width: 46rem; }
.section__title { font-size: clamp(1.6rem, 4.8vw, 2.5rem); margin-top: 18px; }
.section__lead { margin: 20px 0 0; color: var(--muted); font-size: .94rem; word-break: auto-phrase; }

/* 地色より少し濃い、ぼんやりした形 */
.blob { position: absolute; z-index: 0; background: rgba(43, 38, 32, .045); border-radius: var(--blob); pointer-events: none; }
.blob--a { width: 46vw; height: 46vw; max-width: 560px; max-height: 560px; right: -12vw; top: 6%; }
.blob--b { width: 38vw; height: 38vw; max-width: 460px; max-height: 460px; left: -10vw; bottom: 4%; border-radius: var(--blob2); }
.section > .wrap { position: relative; z-index: 1; }

/* ---------- 告知（本番では削除） ---------- */
.notice { margin: 0; background: var(--ink); color: #e7dfd2; font-size: .72rem; text-align: center; padding: 7px 16px; line-height: 1.55; }

/* ---------- ヘッダー ---------- */
.header { position: absolute; top: 33px; left: 0; right: 0; z-index: 30; color: #fff; }
.header::before {
  content: ""; position: absolute; inset: -33px 0 -24px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(24,20,16,.66) 0%, rgba(24,20,16,.30) 62%, rgba(24,20,16,0) 100%);
}
@media (max-width: 767px) { .header { top: 52px; } }
@media (min-width: 900px) {
  /* PCは分割レイアウトで写真が右だけなので、ヘッダーは地色の上に置く */
  .header { position: absolute; color: var(--ink); }
  .header::before { display: none; }
}
.header--solid { position: sticky; top: 0; color: var(--ink); background: rgba(246,241,231,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header--solid::before { display: none; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { font-family: "Cormorant Garamond", serif; font-size: 1.35rem; letter-spacing: .18em; color: inherit; text-decoration: none; }
.brand small { display: block; font-size: .56rem; letter-spacing: .34em; opacity: .82; margin-top: 3px; }
.nav { display: none; gap: 32px; }
@media (min-width: 768px) { .nav { display: flex; } }
.nav a { color: inherit; text-decoration: none; font-size: .8rem; letter-spacing: .12em; padding: 4px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: currentColor; }

/* ---------- ヒーロー ---------- */
/* SPは写真を背景に敷いて文字を重ね、PCは左に情報・右に有機的に抜いた写真を置く */
.hero { position: relative; isolation: isolate; }
.hero__figure { position: absolute; inset: 0; z-index: -2; }
/* 上3分の2が白飛びした窓なので、下寄せで切って明るい部分を画面外へ出す */
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 86%; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(24,20,16,.66) 0%, rgba(24,20,16,.63) 30%, rgba(24,20,16,.74) 48%, rgba(24,20,16,.82) 62%, rgba(24,20,16,.90) 100%),
    linear-gradient(90deg, rgba(24,20,16,.42) 0%, rgba(24,20,16,0) 72%);
}
.hero__panel { position: relative; min-height: 560px; padding: 120px 0 28px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.hero__eyebrow { margin: 0 0 18px; font-size: .66rem; }
.hero__title { font-size: clamp(2rem, 7.4vw, 3.1rem); font-weight: 400; color: inherit; }
.hero__copy { margin: 18px 0 0; font-size: clamp(.92rem, 3.4vw, 1.06rem); color: #ece5da; max-width: 32rem; word-break: auto-phrase; }

@media (min-width: 900px) {
  .hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; min-height: 92svh;
    padding: 132px max(52px, calc((100vw - var(--wrap)) / 2)) 64px; }
  .hero__figure { position: relative; inset: auto; z-index: 0; order: 2; }
  .hero__img { border-radius: var(--blob); aspect-ratio: 3 / 4; height: auto; object-position: center;
    box-shadow: 0 0 0 1px rgba(43,38,32,.14), 0 26px 60px rgba(43,38,32,.18); }
  .hero__scrim { display: none; }
  .hero__panel { order: 1; color: var(--ink); min-height: 0; padding: 0; width: auto; max-width: 560px; justify-content: center; }
  .hero__copy { color: var(--muted); }
}

.status {
  margin: 26px 0 0; align-self: flex-start;
  display: grid; grid-template-columns: auto auto; justify-content: start; align-items: center;
  column-gap: 10px; row-gap: 2px; padding: 12px 18px; border-radius: 2px; line-height: 1.7;
  background: rgba(24,20,16,.55); border: 1px solid rgba(255,255,255,.28);
  font-size: .82rem; color: #fff; backdrop-filter: blur(3px); word-break: auto-phrase;
}
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: #cbbfae; flex: none; }
.status__label { font-weight: 500; }
.status__hours { color: #d9d0c3; white-space: nowrap; grid-column: 2; }
.status[data-state="open"] .status__dot { background: #8fae76; }
.status[data-state="closed"] .status__dot { background: #c9784f; }
@media (min-width: 768px) { .status { grid-template-columns: auto auto auto; padding: 10px 18px; } .status__hours { grid-column: auto; } .status__hours::before { content: "／ "; } }
@media (min-width: 900px) {
  .status { background: var(--cream); border-color: var(--line); color: var(--ink); backdrop-filter: none; }
  .status__hours { color: var(--muted); }
}

.pagelinks { display: flex; flex-wrap: wrap; gap: 26px; margin: 18px 0 0; }
@media (min-width: 768px) { .pagelinks { display: none; } }
.hero .pagelinks a { color: #fff; }

.hero__actions { display: none; }
@media (min-width: 768px) { .hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; } }

/* 一日の時間軸 */
.timeline { display: none; }
/* 写真に重ねると下の行が読めなくなるので、独立した列として置く */
@media (min-width: 1160px) {
  .hero { grid-template-columns: 1fr 1fr auto; column-gap: 44px; }
  .timeline {
    display: block; order: 3; align-self: center;
    margin: 0;
    padding: 0 0 0 22px; list-style: none; border-left: 1px solid var(--line);
  }
  .tl { position: relative; padding: 14px 0; font-size: .74rem; letter-spacing: .1em; color: var(--muted); white-space: nowrap; }
  .tl::before { content: ""; position: absolute; left: -27px; top: 50%; width: 9px; height: 9px; margin-top: -4px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line-strong); }
  .tl__time { font-family: "Cormorant Garamond", serif; font-size: .92rem; margin-right: 10px; }
  .tl[data-now="true"] { color: var(--accent); }
  .tl[data-now="true"]::before { background: var(--accent); border-color: var(--accent); }
  .tl[data-now="true"] .tl__time { font-size: 1.15rem; }
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px;
  border: 1px solid transparent; font-size: .84rem; letter-spacing: .12em; font-weight: 500;
  text-decoration: none; transition: background-color .3s var(--ease), color .3s var(--ease);
}
.btn--main { background: var(--accent); color: #fff; }
.btn--main:hover { background: #70411c; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.6); }
@media (min-width: 900px) { .hero .btn--ghost { color: var(--ink); border-color: var(--line-strong); } .hero .btn--ghost:hover { color: var(--cream); } }

/* 独立した行のリンク専用。文中では使わない（下パディングで下線が浮くため） */
.textlink { display: inline-block; padding-block: 12px; font-size: .88rem; border-bottom: 1px solid currentColor; text-decoration: none; }
/* 文中のリンクはこちら */
.inlink { text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; }

/* ---------- コンセプト ---------- */
.concept { display: grid; gap: 48px; }
@media (min-width: 900px) { .concept { grid-template-columns: 1fr .9fr; gap: 96px; align-items: start; } .concept__media { margin-top: -72px; } }
.concept__text p { margin: 0 0 24px; }
.concept__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--blob2); }
.figure__cap { margin: 16px 0 0; font-size: .72rem; letter-spacing: .12em; color: var(--muted); }

/* 円で抜いた手元の写真 */
.portraits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
@media (min-width: 700px) { .portraits { gap: 44px; max-width: 760px; } }
.portraits figure { margin: 0; }
.portraits img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; }
.portraits figcaption { margin-top: 12px; text-align: center; font-size: .74rem; letter-spacing: .08em; color: var(--muted); }
@media (min-width: 700px) { .portraits figure:nth-child(2) { margin-top: 48px; } .portraits figure:nth-child(3) { margin-top: 16px; } }

/* ---------- メニュー（タブ） ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: center; border: 0; padding: 0; margin: 0 0 44px; }
.tab {
  appearance: none; background: none; border: 0; cursor: pointer; font: inherit; color: var(--muted);
  font-size: .9rem; letter-spacing: .1em; padding: 12px 4px; border-bottom: 2px solid transparent;
  min-height: 48px;
}
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.tabpanel[hidden] { display: none; }
.tabpanel__lead { text-align: center; color: var(--muted); font-size: .92rem; margin: 0 auto 40px; max-width: 40rem; word-break: auto-phrase; }

.grid { display: grid; gap: 32px; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid--3 { grid-template-columns: repeat(3, 1fr); gap: 30px; } }
.card { background: none; border: 0; display: flex; flex-direction: column; height: 100%; }
.card__media { overflow: hidden; border-radius: var(--blob); }
.card__media img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 20px 4px 0; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.08rem; }
.card__text { margin: 8px 0 0; color: var(--muted); font-size: .86rem; line-height: 1.9; word-break: auto-phrase; }
.card__price { display: block; margin-top: auto; padding-top: 14px; font-family: "Cormorant Garamond", serif; font-size: 1.2rem; letter-spacing: .08em; color: var(--accent); }

/* ---------- 設備 ---------- */
.facility { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
@media (min-width: 640px) { .facility { grid-template-columns: repeat(4, 1fr); } }
.facility__item { background: var(--paper); padding: 30px 22px; }
.section--cream .facility__item { background: var(--cream); }
.facility__label { display: block; font-size: .6rem; letter-spacing: .26em; color: var(--olive); }
.facility__value { display: block; margin-top: 10px; font-family: "Shippori Mincho", serif; font-size: 1.55rem; }
.facility__note { display: block; margin-top: 6px; font-size: .76rem; color: var(--muted); line-height: 1.8; word-break: auto-phrase; }

/* ---------- お知らせ ---------- */
.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a { display: grid; gap: 6px; padding: 28px 2px; text-decoration: none; color: var(--ink); }
@media (min-width: 760px) { .news-list a { grid-template-columns: 124px 100px 1fr; align-items: start; gap: 26px; } }
.news-list a:hover .news__title { color: var(--accent); }
.news__date { font-family: "Cormorant Garamond", serif; font-size: .95rem; letter-spacing: .1em; color: var(--muted); }
.news__tag { justify-self: start; font-size: .66rem; letter-spacing: .14em; color: var(--olive); border: 1px solid currentColor; padding: 3px 12px; line-height: 1.8; }
.news__main { display: grid; gap: 6px; }
.news__title { font-weight: 500; word-break: auto-phrase; transition: color .3s var(--ease); }
.news__excerpt { color: var(--muted); font-size: .84rem; line-height: 1.9; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
@media (min-width: 760px) { .news__excerpt { -webkit-line-clamp: 1; } }

/* ---------- Instagram ---------- */
.sns-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 700px) { .sns-grid { grid-template-columns: repeat(6, 1fr); } }
.sns-grid figure { margin: 0; overflow: hidden; border-radius: 4px; }
.sns-grid img { aspect-ratio: 1 / 1; width: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.sns-grid figure:hover img { transform: scale(1.07); }

/* ---------- アクセス ---------- */
.access { display: grid; gap: 44px; }
@media (min-width: 900px) { .access { grid-template-columns: 1fr 1fr; gap: 76px; } }
.info { width: 100%; border-collapse: collapse; font-size: .9rem; }
.info th, .info td { text-align: left; vertical-align: top; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info th { width: 6.5em; font-weight: 400; font-size: .72rem; letter-spacing: .18em; color: var(--olive); padding-top: 21px; }
.info td a { display: inline-block; padding-block: 11px; }
.map { border: 0; width: 100%; aspect-ratio: 4 / 3; filter: grayscale(.35) sepia(.08); border-radius: 4px; }

/* ---------- メニューページ ---------- */
.menu-cat { margin: 76px 0 4px; font-size: 1.35rem; padding-top: 18px; border-top: 1px solid var(--ink); }
.menu-list { column-gap: 76px; }
@media (min-width: 900px) { .menu-list { columns: 2; } }
.menu-row { display: grid; grid-template-columns: 1fr auto; align-items: baseline; column-gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.menu-name { font-size: .94rem; word-break: auto-phrase; }
.menu-price { font-family: "Cormorant Garamond", serif; font-size: 1.05rem; letter-spacing: .06em; color: var(--muted); white-space: nowrap; }

/* ---------- 記事 ---------- */
.article { max-width: 40rem; margin-inline: auto; }
.article__meta { color: var(--muted); font-size: .8rem; letter-spacing: .1em; display: flex; align-items: center; gap: 14px; }
.article__title { margin: 16px 0 32px; font-size: clamp(1.5rem, 5vw, 2.2rem); }
.article img { border-radius: 4px; }
.article__body h2 { margin: 52px 0 16px; font-size: 1.5rem; }
.article__body p { margin: 0 0 22px; }
.article__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 52px; padding-top: 36px; border-top: 1px solid var(--line); }
.article__back { display: inline-block; margin-top: 40px; }
.article__back a { display: inline-block; padding-block: 11px; }

/* ---------- フッター ---------- */
.footer { background: var(--ink); color: #ded5c7; padding: 80px 0 48px; font-size: .86rem; }
.footer a { color: #ded5c7; }
.footer__grid { display: grid; gap: 34px; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; } }
.footer__title { font-family: "Cormorant Garamond", serif; font-size: 1.2rem; letter-spacing: .16em; margin: 0 0 14px; color: #fff; }
.footer__list { list-style: none; margin: 0; padding: 0; line-height: 1.9; }
.footer__list li { margin-bottom: 2px; }
.footer__list a { display: inline-block; padding: 11px 0; }
.footer__copy { margin-top: 48px; font-size: .72rem; letter-spacing: .08em; color: #9c9285; }

/* ---------- スマホ固定CTA ---------- */
.cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--ink); padding-bottom: env(safe-area-inset-bottom, 0px); }
@media (min-width: 768px) { .cta-bar { display: none; } }
.cta-bar a { display: flex; align-items: center; justify-content: center; min-height: var(--bar-h); text-decoration: none; color: #f2ece1; font-size: .74rem; letter-spacing: .1em; }
.cta-bar a + a { border-left: 1px solid rgba(255,255,255,.16); }

/* ---------- 画像プレースホルダー ---------- */
.ph { display: grid; place-items: center; background: repeating-linear-gradient(45deg, #e3d9c8 0 14px, #dbd0bc 14px 28px); }
.ph__label { color: #786e5e; font-size: .74rem; text-align: center; border: 1px dashed #ab9c85; padding: .5em 1em; }

/* ---------- 出現アニメーション ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- ローディング ----------
   罠の対策: ①ローカルだと一瞬で閉じて何も見えない → 最低表示時間を持たせる
            ②JSが転けても必ず消えるよう、CSSだけの安全弁を別に掛ける
            ③動きが苦手な人には出さない（prefers-reduced-motion）
            ④?skip-loading=1 で常に飛ばせる */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center; background: var(--paper);
  animation: loader-safety .6s var(--ease) 6s forwards;   /* 安全弁 */
}
body.is-loaded .loader { pointer-events: none; }
@keyframes loader-safety { to { opacity: 0; visibility: hidden; } }
html.is-loading, body.is-loading { overflow: hidden; }

.loader__inner { position: relative; z-index: 2; display: grid; justify-items: center; gap: 0; }

/* 上から見たカップ。縁に厚みを出し、受け皿と湯気を添えないと「円」にしか見えない */
.loader__mark { position: relative; width: 120px; height: 116px; }
.loader__steam { position: absolute; left: 50%; top: 0; width: 40px; height: 26px; transform: translateX(-50%); }
.loader__steam span {
  position: absolute; bottom: 0; width: 1px; height: 22px; background: linear-gradient(0deg, var(--line-strong), transparent);
  opacity: 0; animation: loader-steam 2.6s ease-in-out infinite;
}
.loader__steam span:nth-child(1) { left: 10px; animation-delay: 0s; }
.loader__steam span:nth-child(2) { left: 20px; height: 26px; animation-delay: .5s; }
.loader__steam span:nth-child(3) { left: 30px; animation-delay: 1s; }
@keyframes loader-steam {
  0% { opacity: 0; transform: translateY(6px) scaleY(.6); }
  40% { opacity: .55; }
  100% { opacity: 0; transform: translateY(-10px) scaleY(1); }
}
.loader__cup {
  position: absolute; left: 50%; top: 26px; transform: translateX(-50%);
  width: 84px; height: 84px; border-radius: 50%;
  border: 3px solid var(--ink); background: var(--cream); overflow: hidden;
}
.loader__fill {
  position: absolute; left: 0; right: 0; bottom: 0; height: 0%;
  background: linear-gradient(180deg, #6f4a2c, #43291a);
  transition: height .35s linear;
}
.loader__fill::before {
  content: ""; position: absolute; left: -50%; right: -50%; top: -10px; height: 20px;
  background: radial-gradient(60% 100% at 50% 100%, #6f4a2c 60%, transparent 61%);
  animation: loader-wave 2.4s linear infinite;
}
@keyframes loader-wave { from { transform: translateX(-12%); } to { transform: translateX(12%); } }
/* 受け皿 */
.loader__saucer {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 118px; height: 20px; border: 1px solid var(--line-strong); border-top-color: transparent;
  border-radius: 0 0 60px 60px / 0 0 20px 20px;
}

.loader__brand { margin-top: 30px; font-family: "Cormorant Garamond", serif; font-size: 1.4rem; letter-spacing: .1em; color: var(--ink); }
.loader__brand span { display: inline-block; opacity: 0; transform: translateY(8px); animation: loader-letter .7s var(--ease) forwards; }
@keyframes loader-letter { to { opacity: 1; transform: none; letter-spacing: .34em; } }

.loader__num { margin-top: 22px; font-family: "Cormorant Garamond", serif; font-variant-numeric: lining-nums tabular-nums; font-size: 1rem; letter-spacing: .18em; color: var(--muted); }
.loader__skip {
  margin-top: 18px; appearance: none; background: none; border: 0; cursor: pointer; font: inherit;
  font-size: .74rem; letter-spacing: .14em; color: var(--muted); text-decoration: underline;
  text-underline-offset: .3em; padding: 12px 16px;
}

/* 退場: 上下に分かれて開く */
.loader__curtain { position: absolute; left: 0; right: 0; height: 50%; background: var(--paper); transition: transform 1s var(--ease); }
.loader__curtain--top { top: 0; }
.loader__curtain--bottom { bottom: 0; }
.loader.is-done .loader__inner { opacity: 0; transition: opacity .3s ease; }
.loader.is-done .loader__curtain--top { transform: translateY(-100%); }
.loader.is-done .loader__curtain--bottom { transform: translateY(100%); }
.loader.is-hidden { visibility: hidden; opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .loader { display: none; }
}
