/* Crois Studio — 案 4「まじめに、あそぶ」(カッコ可愛い)
   黒い地・太くて丸い大きな字(カッコいい)と、はずむ絵の具・丸い札・あめ玉の色(かわいい)のかけ合わせ。 */

@font-face {
  font-family: "Unbounded";
  src: url("fonts/unbounded-var.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "Zen Maru Gothic";
  src: url("fonts/zenmaru-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Zen Maru Gothic";
  src: url("fonts/zenmaru-900.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}

:root {
  --bg: #0e0e12;
  --fg: #f6f2ea;
  --ink: #131316;
  --paper: #f6f2ea;
  --dim: rgba(246, 242, 234, .62);
  --line: rgba(246, 242, 234, .2);
  --r: #ff5a5f;      /* あか */
  --b: #3d8bff;      /* あお */
  --y: #ffd23f;      /* きいろ */
  --pink: #ff9ec4;
  --mint: #8be9c9;
  --lilac: #b9a3ff;
  --g: clamp(18px, 4.4vw, 68px);
  --pop: cubic-bezier(.3, 1.5, .45, 1);   /* 少し行きすぎて戻る */
  --out: cubic-bezier(.16, 1, .3, 1);
  --latin: "Unbounded", "Zen Maru Gothic", sans-serif;
  --jp: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  font-weight: 500; font-size: 16px; line-height: 1.75;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
main { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ul, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }
::selection { background: var(--y); color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 100; padding: 10px 18px; border-radius: 100px; background: var(--y); color: var(--ink); font-weight: 900; transform: translateY(-200%); }
.skip:focus { transform: none; }
:focus-visible { outline: 3px solid var(--y); outline-offset: 4px; border-radius: 10px; }
html[lang="ja"] .hero__words, html[lang="ja"] .tile__desc, html[lang="ja"] .facts dd { word-break: keep-all; overflow-wrap: anywhere; }

/* ---------- 上の帯 ---------- */
.top {
  position: absolute; left: 0; right: 0; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 10px;
  padding: calc(16px + env(safe-area-inset-top)) var(--g) 12px;
  font-family: var(--latin); font-size: 12px; font-weight: 500; line-height: 1;
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; letter-spacing: -.01em; padding: 8px 0; margin-right: auto; }
.logo__chips { display: inline-flex; }
.logo__chips i { width: 12px; height: 12px; border-radius: 34%; transition: transform .6s var(--pop); }
.logo__chips i:nth-child(1) { background: var(--r); }
.logo__chips i:nth-child(2) { background: var(--b); margin-left: -3px; }
.logo__chips i:nth-child(3) { background: var(--y); margin-left: -3px; }
.logo:hover .logo__chips i:nth-child(1) { transform: translateY(-5px) rotate(-12deg); }
.logo:hover .logo__chips i:nth-child(2) { transform: translateY(-8px); transition-delay: .06s; }
.logo:hover .logo__chips i:nth-child(3) { transform: translateY(-5px) rotate(12deg); transition-delay: .12s; }
.nav { display: flex; gap: 8px; }
.nav a, .lang, .foot__top a {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 15px; border-radius: 100px;
  border: 1.5px solid var(--line); transition: background-color .25s, color .25s, border-color .25s, transform .5s var(--pop);
}
.nav a:hover, .foot__top a:hover, .nav a:focus-visible { background: var(--fg); color: var(--ink); border-color: var(--fg); transform: scale(1.06) rotate(-2deg); }
.lang { gap: 7px; letter-spacing: .04em; }
.lang a { color: var(--dim); transition: color .2s; }
.lang a:hover { color: var(--y); }

/* ---------- 最初の画面 ---------- */
.hero {
  position: relative; z-index: 1; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 104px var(--g) calc(30px + env(safe-area-inset-bottom));
  overflow: hidden;
}
.hero__copy { position: absolute; left: var(--g); right: var(--g); top: clamp(96px, 15vh, 150px); z-index: 3; pointer-events: none; }
.hero__copy > * { pointer-events: auto; }
.hero__words { max-width: 72%; }
.hero__words { font-family: var(--jp); font-weight: 900; font-size: clamp(26px, 3.4vw, 52px); line-height: 1.3; letter-spacing: .02em; }
html[lang="en"] .hero__words { font-family: var(--latin); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; font-size: clamp(25px, 3.2vw, 50px); }
.hero__sub { margin-top: 14px; display: inline-block; padding: 7px 14px; border-radius: 100px; background: var(--fg); color: var(--ink); font-size: 13px; font-weight: 900; letter-spacing: .08em; line-height: 1.3; transform: rotate(-2deg); }
html[lang="en"] .hero__sub { font-family: var(--latin); font-weight: 600; letter-spacing: 0; font-size: 12px; }

.hero__title {
  position: relative; z-index: 1;
  font-family: var(--latin); font-weight: 900; font-size: 17.6vw; line-height: .9; letter-spacing: -.02em;
  user-select: none;
}
.hero__line { display: flex; justify-content: flex-start; align-items: center; white-space: nowrap; overflow: hidden; padding: .04em 0 .05em; margin-bottom: -.05em; }
/* 1 行めの右はしに置く、黄色い「×」の札(屋号のしるし) */
.hero__x { position: relative; flex: none; margin-left: .13em; width: .7em; height: .7em; border-radius: 30% 27% 31% 28% / 28% 31% 27% 30%; background: var(--y); rotate: 9deg; box-shadow: inset 0 -.035em 0 rgba(0, 0, 0, .16); }
.hero__x::before, .hero__x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 54%; height: .075em; border-radius: 1em; background: var(--ink); transform: translate(-50%, -50%) rotate(45deg); }
.hero__x::after { transform: translate(-50%, -50%) rotate(-45deg); }
.js .hero__x { scale: 0; }
.js.is-in .hero__x { scale: 1; transition: scale .9s var(--pop) .62s; }
.hero__line .ch { display: block; will-change: transform; }
.js .hero__line .ch { transform: translate3d(0, 130%, 0) rotate(8deg); }
.js.is-in .hero__line .ch { transform: none; transition: transform .95s var(--pop); transition-delay: calc(var(--i) * 55ms + var(--l) * 160ms + 120ms); }
.hero__hint {
  /* まわるバッジのすぐ下(バッジの上の位置 − この箱の上の位置 + バッジの大きさ) */
  position: absolute; right: 0; top: calc(clamp(78px, 11vh, 120px) - clamp(96px, 15vh, 150px) + clamp(96px, 11vw, 158px) + 14px); z-index: 3;
  padding: 8px 14px; border-radius: 100px; border: 1.5px dashed rgba(246, 242, 234, .4);
  font-size: 12px; letter-spacing: .08em; line-height: 1.2; color: var(--dim);
}
html[lang="en"] .hero__hint { font-family: var(--latin); letter-spacing: 0; font-size: 11px; }
html:not(.js) .hero__hint { display: none; }
.only-touch { display: none; }
@media (hover: none), (pointer: coarse) { .only-fine { display: none; } .only-touch { display: inline; } }

/* まわるバッジ */
.badge { position: absolute; right: var(--g); top: clamp(78px, 11vh, 120px); z-index: 2; width: clamp(96px, 11vw, 158px); aspect-ratio: 1; }
.badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.badge__ring text { font-family: var(--latin); font-weight: 600; font-size: 15.5px; fill: var(--fg); letter-spacing: 0; }
.badge__x { position: absolute; left: 50%; top: 50%; width: 30%; height: 30%; margin: -15% 0 0 -15%; border-radius: 34%; background: var(--y); transform: rotate(12deg); }
.badge__x::before, .badge__x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 56%; height: 3px; border-radius: 3px; background: var(--ink); transform: translate(-50%, -50%) rotate(45deg); }
.badge__x::after { transform: translate(-50%, -50%) rotate(-45deg); }
@keyframes spin { to { transform: rotate(360deg); } }
.js .badge { opacity: 0; transform: scale(.3) rotate(-90deg); }
.js.is-in .badge { opacity: 1; transform: none; transition: opacity .4s linear .75s, transform 1.1s var(--pop) .75s; }

/* はずむ絵の具 */
.toys { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.chip {
  position: absolute; left: 0; top: 0; width: var(--chip, 120px); height: var(--chip, 120px);
  pointer-events: auto; touch-action: pan-y; cursor: grab; will-change: transform;   /* 指: 縦のスクロールは、絵の具の上からでも通す */
  -webkit-tap-highlight-color: transparent;
}
.chip b {
  position: absolute; inset: 0; display: block; border-radius: 36% 33% 37% 34% / 34% 37% 33% 36%;
  box-shadow: inset 0 -.07em 0 rgba(0, 0, 0, .16), 0 0 0 1.5px rgba(0, 0, 0, .55);
  font-size: var(--chip, 120px); will-change: transform; transform-origin: 50% 100%;
}
.chip b::after { content: ""; position: absolute; left: 17%; top: 15%; width: 50%; height: 30%; border-radius: 50%; background: rgba(255, 255, 255, .36); transform: rotate(-8deg); }
.chip--r b { background: var(--r); }
.chip--b b { background: var(--b); }
.chip--y b { background: var(--y); }
.is-grabbing, .is-grabbing * { cursor: grabbing !important; user-select: none; }
/* JS が動かない・動きを減らす設定のときは、字の上に並べて置く */
.chip--r { transform: translate3d(12vw, 42vh, 0) rotate(-8deg); }
.chip--b { transform: translate3d(34vw, 46vh, 0) rotate(6deg); }
.chip--y { transform: translate3d(58vw, 44vh, 0) rotate(-4deg); }
@media (min-width: 761px) {
  /* PC で JS が動かないとき: 字に重ならないように、言葉の右の空いた所に置く */
  html:not(.js) .chip--r { transform: translate3d(41vw, 8vh, 0) rotate(-8deg); }
  html:not(.js) .chip--b { transform: translate3d(50vw, 10vh, 0) rotate(6deg); }
  html:not(.js) .chip--y { transform: translate3d(59vw, 7vh, 0) rotate(-4deg); }
}
.js .chip { opacity: 0; }
.js.toys-on .chip { opacity: 1; }
.drop { position: absolute; left: 0; top: 0; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 40%; pointer-events: none; opacity: 0; will-change: transform, opacity; }
/* まざった色のかたまり(飛んで、字に色をつける)と、字の後ろに残る しみ */
.blot { position: absolute; left: 0; top: 0; border-radius: 47% 53% 44% 56% / 55% 45% 57% 43%; pointer-events: none; will-change: transform, opacity; }
.stain {
  position: absolute; z-index: 0; translate: -50% -50%; pointer-events: none; background: currentColor;
  border-radius: 58% 42% 55% 45% / 46% 57% 43% 54%;
}
.stain::before, .stain::after { content: ""; position: absolute; border-radius: 50%; background: currentColor; }
.stain::before { left: 92%; top: 6%; width: 15%; height: 15%; box-shadow: .09em .2em 0 -.035em; }
.stain::after { left: -14%; top: 70%; width: 11%; height: 11%; box-shadow: -.02em -.16em 0 -.03em; }
.hero--open .hero__line { overflow: visible; }
.hero__line .ch--k { -webkit-text-stroke: .035em var(--fg); paint-order: stroke fill; }

/* 開いたとき */
.js [data-in] { opacity: 0; transform: translate3d(0, 18px, 0); }
.js.is-in [data-in] { opacity: 1; transform: none; transition: opacity .6s linear, transform .9s var(--pop); transition-delay: calc(var(--d, 0) * 70ms + 200ms); }
.js.is-in .hero__sub { transform: rotate(-2deg); }
.js .top { opacity: 0; }
.js.is-in .top { opacity: 1; transition: opacity .7s linear .9s; }
.js [data-rv] { opacity: 0; transform: translate3d(0, 30px, 0) rotate(1.5deg); }
.js [data-rv].in { opacity: 1; transform: none; transition: opacity .5s linear, transform .9s var(--pop); transition-delay: calc(var(--d, 0) * 90ms); }

/* ---------- 交わる 2 本の帯 ---------- */
.bands { position: relative; z-index: 1; height: clamp(130px, 19vw, 270px); overflow: hidden; }
.band { position: absolute; left: -6vw; right: -6vw; top: 50%; height: clamp(44px, 5.2vw, 72px); margin-top: calc(clamp(44px, 5.2vw, 72px) / -2); display: flex; align-items: center; overflow: hidden; color: var(--ink); }
.band--a { background: var(--y); transform: rotate(-4.4deg); }
.band--b { background: var(--pink); transform: rotate(3.6deg); }
.band__row { display: flex; width: max-content; will-change: transform; }
.band__row span { flex: none; white-space: pre; font-family: var(--latin); font-weight: 700; font-size: clamp(15px, 1.9vw, 27px); line-height: 1; letter-spacing: .01em; text-transform: uppercase; padding-right: .3em; }
.band--b:not([lang]) .band__row span { font-family: var(--jp); font-weight: 900; letter-spacing: .06em; }

/* ---------- 見出し ---------- */
.sec-head { display: flex; align-items: center; gap: 14px; }
.sec-head h2 { font-family: var(--jp); font-weight: 900; font-size: clamp(16px, 1.4vw, 20px); letter-spacing: .08em; padding: 9px 18px; border-radius: 100px; background: var(--fg); color: var(--ink); line-height: 1.3; transform: rotate(-1.5deg); }
html[lang="en"] .sec-head h2 { font-family: var(--latin); font-weight: 700; letter-spacing: 0; font-size: clamp(14px, 1.2vw, 17px); }
.sec-head p { font-family: var(--latin); font-size: 12px; color: var(--dim); font-weight: 500; }

/* ---------- 作品(丸い札) ---------- */
.works { position: relative; z-index: 1; padding: clamp(30px, 5vw, 80px) var(--g) 0; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 46px); margin-top: clamp(26px, 3.4vw, 50px); align-items: start; }
.tile { position: relative; --accent: var(--pink); --rad: clamp(26px, 3vw, 46px); }
.tile--totonoi { --accent: #ff8b5e; transform: rotate(-1.4deg); }
.tile--palette { --accent: var(--b); transform: rotate(1.4deg); margin-top: clamp(0px, 5vw, 80px); }
.tile__slab { position: absolute; inset: 0; border-radius: var(--rad); background: var(--accent); }
.tile__card {
  position: relative; display: block; border-radius: var(--rad); background: var(--paper); color: var(--ink);
  padding: clamp(12px, 1.4vw, 20px); transition: transform .65s var(--pop);
  transform: translate3d(-6px, -7px, 0);
}
.tile--palette .tile__card { transform: translate3d(6px, -7px, 0); }
.tile:hover .tile__card, .tile:focus-within .tile__card { transform: translate3d(-15px, -17px, 0) rotate(-.7deg); }
.tile--palette:hover .tile__card, .tile--palette:focus-within .tile__card { transform: translate3d(15px, -17px, 0) rotate(.7deg); }
.js .tile { opacity: 0; translate: 0 70px; rotate: 5deg; }
.js .tile--palette { rotate: -5deg; }
.js .tile.in { opacity: 1; translate: 0 0; rotate: 0deg; transition: opacity .4s linear, translate 1s var(--pop), rotate 1.1s var(--pop); }
.js .tile--palette.in { transition-delay: .12s; }

.tile__art { position: relative; display: block; overflow: hidden; aspect-ratio: 5 / 4; border-radius: calc(var(--rad) - 8px); }
/* Totonoi: 今のアプリのアイコン(Icon.icon から組んだ物)を、そのまま大きく置く。地は、アイコンの色(火のだいだい → 水の青)に合わせる */
.art--totonoi {
  background:
    radial-gradient(circle at 14% 80%, rgba(255, 255, 255, .8) 0 2.5%, transparent 2.7%),
    radial-gradient(circle at 22% 65%, rgba(255, 255, 255, .55) 0 1.3%, transparent 1.5%),
    radial-gradient(circle at 87% 24%, rgba(255, 255, 255, .75) 0 2%, transparent 2.2%),
    radial-gradient(circle at 79% 11%, rgba(255, 255, 255, .5) 0 1.1%, transparent 1.3%),
    linear-gradient(150deg, #ffd0b8 0%, #f8e5da 36%, #cfe7fb 70%, #9dccfb 100%);
}
.tt { position: absolute; left: 50%; top: 50%; width: 52%; translate: -50% -50%; rotate: -6deg; display: block; transition: rotate .7s var(--pop), scale .7s var(--pop); }
.tt img { display: block; width: 100%; height: auto; filter: drop-shadow(0 22px 26px rgba(24, 50, 110, .4)); }
.tile:hover .tt, .tile:focus-within .tt { rotate: 3deg; scale: 1.07; }
.art--palette { background: #fdf6e7; }
.pl__splash { position: absolute; inset: -8%; background: url("img/palette-splash.webp") center / cover no-repeat; }
.pl__phone { position: absolute; right: 16%; top: 9%; width: 31%; display: block; padding: 1.2%; border-radius: 9% / 4.2%; background: #19191b; box-shadow: 0 26px 50px -20px rgba(60, 40, 10, .5); rotate: 6deg; transition: rotate .7s var(--pop); }
.pl__phone img { border-radius: 7% / 3.3%; width: 100%; }
.pl__icon { position: absolute; left: 13%; top: 50%; width: 29%; translate: 0 -50%; rotate: -8deg; display: block; border-radius: 23%; overflow: hidden; box-shadow: 0 22px 44px -18px rgba(60, 40, 10, .55); transition: rotate .7s var(--pop), scale .7s var(--pop); }
.tile:hover .pl__phone { rotate: 2deg; }
.tile:hover .pl__icon { rotate: 4deg; scale: 1.08; }
/* 「近日公開」の札(ぱれっとすとあ): 絵の上に、黄色い丸い札を傾けて重ねる。公開したら、HTML の span ごと消す */
.soon {
  position: absolute; left: 43%; top: 77%; z-index: 2; translate: -50% -50%; rotate: -5deg; white-space: nowrap;
  padding: .4em 1.05em .46em 1.2em; border-radius: 100px; background: var(--y); color: var(--ink);
  font-family: var(--jp); font-weight: 900; font-size: clamp(22px, 2.7vw, 42px); line-height: 1.25; letter-spacing: .15em;
  box-shadow: inset 0 -.1em 0 rgba(0, 0, 0, .16), 0 0 0 1.5px rgba(0, 0, 0, .55), 0 .5em .8em -.25em rgba(24, 50, 110, .5);
  transition: rotate .7s var(--pop);
}
html[lang="en"] .soon { padding: .62em 1.15em .66em; font-family: var(--latin); font-weight: 700; font-size: clamp(15px, 1.9vw, 29px); line-height: 1.1; letter-spacing: -.01em; }
.tile:hover .soon { rotate: 3deg; }
.js .soon { scale: 0; }
.js .tile.in .soon { scale: 1; transition: scale .9s var(--pop) .5s, rotate .7s var(--pop); }

.tile__text { padding: clamp(16px, 1.8vw, 26px) clamp(8px, 1vw, 16px) clamp(8px, 1vw, 14px); }
.tile__no { display: inline-grid; place-items: center; min-width: 46px; height: 30px; padding: 0 12px; border-radius: 100px; background: var(--accent); font-family: var(--latin); font-weight: 700; font-size: 12px; line-height: 1; }
.tile--palette .tile__no { color: #fff; }
.tile__title { margin-top: 14px; font-family: var(--latin); font-weight: 800; font-size: clamp(38px, 5.1vw, 82px); line-height: 1; letter-spacing: -.035em; }
.tile__title:lang(ja) { font-family: var(--jp); font-weight: 900; font-size: clamp(32px, 4.3vw, 68px); letter-spacing: -.01em; line-height: 1.2; white-space: nowrap; }
.tile__title--long { font-size: clamp(27px, 3.5vw, 56px); letter-spacing: -.04em; white-space: nowrap; }
.tile__kana { margin-top: 8px; font-family: var(--latin); font-size: 12px; font-weight: 500; color: rgba(19, 19, 22, .6); }
.tile__kana:lang(ja) { font-family: var(--jp); font-size: 13px; letter-spacing: .1em; }
.tile__desc { margin-top: clamp(10px, 1.2vw, 18px); font-weight: 900; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.6; letter-spacing: .02em; }
html[lang="en"] .tile__desc { font-family: var(--latin); font-weight: 500; letter-spacing: -.02em; line-height: 1.35; font-size: clamp(15px, 1.35vw, 20px); }
.tile__meta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; font-weight: 900; }
html[lang="en"] .tile__meta { font-family: var(--latin); font-weight: 500; font-size: 11px; }
.tile__meta li { padding: 6px 13px; border: 1.5px solid var(--ink); border-radius: 100px; line-height: 1.3; }
.tile__link { margin-top: clamp(18px, 2vw, 28px); }

.btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 8px 8px 22px; border-radius: 100px;
  background: var(--ink); color: var(--paper); font-weight: 900; font-size: 15px; line-height: 1.3; letter-spacing: .02em;
  transition: transform .55s var(--pop); -webkit-tap-highlight-color: transparent;
}
html[lang="en"] .btn { font-family: var(--latin); font-weight: 600; font-size: 12.5px; letter-spacing: -.01em; }
.btn b { display: inline-grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--y); color: var(--ink); transition: transform .55s var(--pop), background-color .25s; }
.btn b svg { display: block; width: 14px; height: 14px; }
.btn:hover, .btn:focus-visible { transform: scale(1.05) rotate(-1.5deg); }
.btn:hover b, .btn:focus-visible b { transform: rotate(45deg) scale(1.1); background: var(--pink); }
.btn:active { transform: scale(.95); }

/* ---------- 屋号について ---------- */
.about { position: relative; z-index: 1; padding: clamp(80px, 11vw, 170px) var(--g) clamp(60px, 8vw, 120px); }
.facts { margin: clamp(22px, 3vw, 40px) 0 0; display: grid; gap: 12px; max-width: 1120px; }
.facts__row {
  display: grid; grid-template-columns: minmax(7.5em, 2.4fr) 9fr; column-gap: 20px; align-items: center;
  padding: clamp(18px, 2.2vw, 30px) clamp(20px, 2.6vw, 38px); border: 1.5px solid var(--line); border-radius: clamp(22px, 2.4vw, 34px);
  transition: background-color .3s, color .3s, border-color .3s;
  --c: var(--y);
}
.facts__row--p { --c: var(--pink); }
.facts__row--m { --c: var(--mint); }
.facts__row:hover, .facts__row:focus-within { background: var(--c); border-color: var(--c); color: var(--ink); }
.facts dt { font-size: 13px; letter-spacing: .08em; font-weight: 900; display: flex; align-items: center; gap: 10px; }
.facts dt::before { content: ""; width: 12px; height: 12px; border-radius: 34%; background: var(--c); transition: background-color .3s; flex: none; }
.facts__row:hover dt::before, .facts__row:focus-within dt::before { background: var(--ink); }
html[lang="en"] .facts dt { font-family: var(--latin); font-weight: 600; letter-spacing: 0; font-size: 12px; }
.facts dd { font-weight: 900; font-size: clamp(19px, 2.2vw, 32px); line-height: 1.45; letter-spacing: .01em; }
html[lang="en"] .facts dd { font-family: var(--latin); font-weight: 600; letter-spacing: -.03em; line-height: 1.25; font-size: clamp(17px, 1.9vw, 28px); }
.facts dd .yomi { display: inline-block; font-size: .5em; font-weight: 500; opacity: .7; margin-left: .6em; letter-spacing: .06em; }
.facts__lead { display: block; font-size: 13px; font-weight: 500; opacity: .75; letter-spacing: .04em; margin-bottom: 2px; }
html[lang="en"] .facts__lead { font-family: var(--jp); font-size: 14px; letter-spacing: 0; }
.mail { font-family: var(--latin); font-weight: 600; font-size: .86em; letter-spacing: -.03em; overflow-wrap: anywhere; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; padding-bottom: 3px; transition: background-size .5s var(--out); }
.mail:hover { background-size: 0 2px; background-position: 100% 100%; }

/* ---------- いちばん下 ---------- */
.foot { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 20px var(--g) calc(30px + env(safe-area-inset-bottom)); border-top: 1.5px solid var(--line); font-family: var(--latin); font-size: 12px; font-weight: 500; }
.foot__c { margin-right: auto; }
.foot__top a { font-family: var(--jp); font-weight: 900; font-size: 13px; }
html[lang="en"] .foot__top a { font-family: var(--latin); font-weight: 500; font-size: 12px; }
.foot__top b { display: inline-block; }
.foot__top b svg { display: block; width: 11px; height: 11px; }

/* ---------- 見つからないページ(404) ---------- */
.nf .hero { min-height: 100vh; min-height: 100svh; }
.hero--nf .hero__copy { max-width: none; right: var(--g); }
.hero--nf .hero__words { max-width: none; font-size: clamp(21px, 3.4vw, 52px); }
.nf__en { margin-top: 10px; font-family: var(--latin); font-weight: 500; font-size: clamp(14px, 1.4vw, 19px); letter-spacing: -.02em; color: var(--dim); line-height: 1.4; }
.nf__links { margin-top: clamp(18px, 2.4vw, 30px); display: flex; flex-wrap: wrap; gap: 12px; }
.btn--light { background: var(--fg); color: var(--ink); }
.btn--line { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--line); font-family: var(--latin); font-weight: 600; font-size: 12.5px; letter-spacing: -.01em; }
.btn--line b { background: var(--fg); }

/* ---------- スマホ ---------- */
@media (max-width: 760px) {
  .nav { display: none; }
  .hero { min-height: 88vh; min-height: 88svh; padding-top: 92px; padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
  .hero__copy { top: 92px; }
  .hero__words { max-width: 66%; }
  .hero__sub { max-width: 66%; }
  html[lang="ja"] .hero__sub { max-width: none; white-space: nowrap; font-size: 12px; }
  .hero__title { font-size: 18.4vw; }
  .hero__hint { position: static; display: table; margin-top: 12px; }
  .badge { top: 84px; }
  .tiles { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .tile--totonoi { transform: rotate(-1deg); }
  .tile--palette { transform: rotate(1deg); margin-top: 0; }
  .tile__card { transform: translate3d(-4px, -5px, 0); }
  .tile--palette .tile__card { transform: translate3d(4px, -5px, 0); }
  .tile:hover .tile__card, .tile:focus-within .tile__card { transform: translate3d(-8px, -10px, 0); }
  .tile--palette:hover .tile__card, .tile--palette:focus-within .tile__card { transform: translate3d(8px, -10px, 0); }
  .tile__art { aspect-ratio: 1; }
  .tt { width: 60%; }
  html[lang="en"] .soon { font-size: clamp(15px, 5.3vw, 29px); }
  .pl__phone { width: 39%; right: 11%; top: 8%; }
  .pl__icon { width: 36%; left: 9%; top: 60%; }
  .soon { left: 50%; top: 84%; font-size: clamp(22px, 7.4vw, 40px); }
  .tile__title { font-size: 12.6vw; }
  .tile__title:lang(ja) { font-size: 10.6vw; }
  .tile__title--long { font-size: 8.3vw; }
  .facts__row { display: block; }
  .facts dt { margin-bottom: 8px; }
  .mail { font-size: min(.86em, 4.5vw); }
}

/* ---------- 幅のせまいスマホ(389 以下): 作品の札のボタンを 1 行に収める(字と余白を少し小さく。390 以上は変えない) ---------- */
@media (max-width: 389px) {
  .tile .btn { gap: 8px; padding: 7px 7px 7px 17px; font-size: clamp(12.5px, 3.9vw, 15px); letter-spacing: 0; }
  .tile .btn b { width: 32px; height: 32px; }
  html[lang="en"] .tile .btn { font-size: clamp(11px, 3.3vw, 12.5px); }
}

/* ---------- 動きを減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-in], .js [data-rv], .js .top, .js .hero__line .ch, .js .badge { opacity: 1 !important; transform: none !important; transition: none !important; }
  .js .hero__x { scale: 1 !important; transition: none !important; }
  .js .tile { opacity: 1 !important; translate: 0 0 !important; rotate: 0deg !important; transition: none !important; }
  .js .soon { scale: 1 !important; transition: none !important; }
  .badge__ring { animation: none; }
  .js .chip { opacity: 1; }
}
