/* 코그 가계부 소개 페이지 (초안)
   색·서체는 앱 Theme.swift를 따른다. 모션 기본값은 research/report.md 참고:
   등장 900ms expo-out, 팝 520ms 스프링, 퇴장 180ms. reduce-motion이면 모두 끈다.
   폰트는 페이지에 쓰인 글자만 담은 서브셋이다 — 카피를 고치면 ./build-font.sh (README 참고). */

@font-face { font-family: "Noto Sans KR"; src: url(/budget/assets/cog-kr.woff2) format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Sans JP"; src: url(/budget/assets/cog-ja.woff2) format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }

:root {
  --canvas: #F2F4F6;
  --card: #FFFFFF;
  --ink: #191F28;
  --ink2: #4E5968;
  --dim: #A3ACB7;
  --gray: #6B7684;
  --line: #E5E8EB;
  --blue: #3182F6;
  --blue-text: #1B64DA;
  --red: #F04452;
  --green: #12B886;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --spring: linear(0, .009, .035 2.1%, .141 4.4%, .723 12.9%, .938 16.7%, 1.017 19.5%, 1.061 22.4%, 1.077 25.6%, 1.067 29%, 1.035 34.5%, .998 41.5%, .985 47.1%, 1.002 65.7%, 1);
  --wrap: 1120px;
  --font: "Noto Sans KR", -apple-system, BlinkMacSystemFont, sans-serif;
}
:root:lang(ja) { --font: "Noto Sans JP", "Noto Sans KR", -apple-system, sans-serif; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { background: var(--canvas); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; word-break: keep-all; overflow-wrap: anywhere; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
.center { text-align: center; }
.dim { color: var(--dim); }

h1 { font-size: clamp(44px, 7vw, 76px); font-weight: 900; line-height: 1.16; letter-spacing: -.035em; }
h2 { font-size: clamp(32px, 4.6vw, 50px); font-weight: 900; line-height: 1.22; letter-spacing: -.03em; }
.eyebrow { font-size: 14px; font-weight: 700; color: var(--blue-text); letter-spacing: .02em; margin-bottom: 14px; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--ink2); margin-top: 22px; max-width: 560px; }
.body { font-size: 18px; color: var(--ink2); margin-top: 20px; }

/* 등장(스크롤 인) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* 진행 눈금 */
.ticks { position: fixed; left: 18px; top: 50%; transform: translateY(-50%); display: grid; gap: 10px; z-index: 20; }
.ticks i { width: 14px; height: 2px; background: var(--ink); opacity: .16; border-radius: 1px; transition: opacity .3s, width .3s var(--ease); }
.ticks i.on { opacity: 1; width: 22px; }
.privacy-on .ticks i { background: #fff; }

/* 내비 — 스크롤하면 가운데 알약으로 */
.nav { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); width: min(calc(100% - 28px), 1120px); z-index: 30;
  display: flex; align-items: center; gap: 18px; padding: 10px 12px 10px 18px; border-radius: 999px;
  background: rgba(242, 244, 246, .72); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  transition: width .5s var(--ease), background .3s, box-shadow .3s; }
.nav.small { width: min(calc(100% - 28px), 640px); background: rgba(255, 255, 255, .86); box-shadow: 0 8px 30px rgba(25, 31, 40, .08); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: -.02em; white-space: nowrap; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.links { display: flex; gap: 4px; margin-left: auto; }
.links a { font-size: 14px; font-weight: 500; color: var(--gray); padding: 6px 12px; border-radius: 999px; }
.links a:hover { color: var(--ink); background: rgba(25, 31, 40, .05); }
.lang { display: flex; background: rgba(25, 31, 40, .06); border-radius: 999px; padding: 3px; }
.lang button { border: 0; background: none; font: 700 12px var(--font); color: var(--gray); padding: 5px 10px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.cta-sm { background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; padding: 8px 16px; border-radius: 999px; white-space: nowrap; }

.cta { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; font-weight: 700; font-size: 17px; padding: 15px 26px; border-radius: 999px; transition: transform .2s var(--ease); }
.cta:hover { transform: translateY(-2px); }
.cta svg { width: 20px; height: 20px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 34px; }
.meta { font-size: 14px; color: var(--gray); }

/* 기기 프레임 — 녹화 영상(1320×2868)을 그대로 담는다 */
.device { position: relative; background: #0B0B0D; padding: 9px; border-radius: 54px; box-shadow: 0 30px 80px rgba(25, 31, 40, .18), inset 0 0 0 1.5px #2A2D33; aspect-ratio: 1320 / 2868; }
.device video, .device .lock-scr { width: 100%; height: 100%; border-radius: 46px; object-fit: cover; background: #fff; }
.device video { position: absolute; inset: 9px; width: calc(100% - 18px); height: calc(100% - 18px); opacity: 0; transition: opacity .45s var(--ease); }
.device video.on, .hero-device video { opacity: 1; }

/* 1. 히어로 */
.hero { padding-top: 150px; }
.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero .lead { margin-inline: auto; }
.hero .cta-row { justify-content: center; }
.stage { margin-top: 64px; padding-inline: var(--inset, 24px); }
.stage-inner { position: relative; border-radius: var(--rad, 40px); overflow: hidden; min-height: 760px; display: grid; place-items: center; padding: 70px 24px 90px; }
.stage-bg { position: absolute; inset: 0; background:
  radial-gradient(60% 50% at 20% 20%, #DCEBFF 0%, transparent 70%),
  radial-gradient(50% 50% at 85% 80%, #E8F3FF 0%, transparent 70%), #fff; transform: scale(var(--bgs, 1.04)); }
.hero-device { width: 300px; position: relative; z-index: 2; }
.stage-cap { position: absolute; bottom: 30px; left: 0; right: 0; text-align: center; font-size: 14px; color: var(--gray); z-index: 2; }

/* 오른쪽 합계 카드 — 칩이 뜨면 이번 달 지출이 굴러간다 */
.sum { position: absolute; right: max(4%, calc(50% - 520px)); bottom: 170px; z-index: 3; width: 290px; background: #fff; border-radius: 24px; padding: 20px 22px; box-shadow: 0 16px 40px rgba(25, 31, 40, .10); }
.sum small { font-size: 13px; color: var(--gray); }
.sum b { display: block; font-size: 28px; font-weight: 900; letter-spacing: -.02em; color: var(--red); font-variant-numeric: tabular-nums; margin-top: 2px; }
.sum .row { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; }
.sum .row span:last-child { font-weight: 700; color: var(--red); }
.sum .new { opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .5s var(--spring); }
.split.go ~ .sum .new { opacity: 1; transform: none; transition-delay: .5s; }
.split.go ~ .sum { box-shadow: 0 0 0 1px rgba(240, 68, 82, .25), 0 0 40px rgba(240, 68, 82, .25); transition: box-shadow .6s .4s; }

/* 문장 → 칩 */
.split { position: absolute; left: max(4%, calc(50% - 520px)); top: 140px; z-index: 3; width: 340px; }
.bubble { display: inline-flex; align-items: center; background: var(--blue); color: #fff; font-weight: 700; font-size: 19px; padding: 16px 22px; border-radius: 26px 26px 26px 8px; box-shadow: 0 16px 40px rgba(49, 130, 246, .32); min-height: 58px; }
.caret { width: 2px; height: 20px; background: #fff; margin-left: 3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.chips { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 22px; }
.chip { display: inline-flex; align-items: baseline; gap: 10px; background: #fff; border-radius: 16px; padding: 12px 18px; box-shadow: 0 10px 30px rgba(25, 31, 40, .10); opacity: 0; transform: translateY(14px) scale(.92); }
.chip small { font-size: 12px; color: var(--gray); font-weight: 500; }
.chip b { font-size: 17px; }
.c-amt b { color: var(--red); }
.split.go .chip { animation: pop .52s var(--spring) forwards; }
.split.go .chip:nth-child(2) { animation-delay: .09s; } .split.go .chip:nth-child(3) { animation-delay: .18s; } .split.go .chip:nth-child(4) { animation-delay: .27s; }
@keyframes pop { to { opacity: 1; transform: none; } }
.split.out .chip, .split.out .bubble { transition: opacity .18s cubic-bezier(.5, 0, .75, 0); opacity: 0; }

/* 2. 채워지는 문장 */
.fill-sec { padding: 170px 24px 150px; }
.fill { font-size: clamp(34px, 5.4vw, 64px); font-weight: 900; letter-spacing: -.035em; line-height: 1.3; }
.fill span { display: block; background: linear-gradient(90deg, var(--ink) var(--p, 0%), #C9D0D8 var(--p, 0%)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* 3. 결제 알림 */
.notify { padding: 60px 0 140px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.ticks-list { list-style: none; margin-top: 26px; display: grid; gap: 12px; color: var(--ink2); }
.ticks-list li { display: flex; gap: 12px; align-items: baseline; }
.ticks-list li::before { content: ""; width: 7px; height: 7px; border-radius: 4px; background: var(--blue); flex: none; transform: translateY(-2px); }
.lock-wrap { position: relative; display: grid; place-items: center; min-height: 680px; }
.lock { width: 300px; }
.lock-scr { position: relative; overflow: hidden; background: radial-gradient(120% 80% at 20% 0%, #3A5B8C 0%, #1C2A44 45%, #0E1320 100%) !important; }
.island { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 92px; height: 27px; border-radius: 14px; background: #000; }
.l-date { position: absolute; top: 70px; width: 100%; text-align: center; color: rgba(255, 255, 255, .85); font-weight: 500; font-size: 15px; }
.l-time { position: absolute; top: 86px; width: 100%; text-align: center; color: rgba(255, 255, 255, .93); font: 700 84px/1.1 -apple-system, "SF Pro Display", var(--font); letter-spacing: -2px; }
.banner { position: absolute; top: 250px; left: 12px; right: 12px; background: rgba(255, 255, 255, .9); border-radius: 22px; padding: 13px 15px; transform: translateY(-60px) scale(.96); opacity: 0; }
.b-head { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--gray); }
.b-head img { width: 20px; height: 20px; border-radius: 5px; }
.b-head em { margin-left: auto; font-style: normal; }
.b-title { margin-top: 6px; font-weight: 700; font-size: 15px; position: relative; height: 22px; }
.b-title span { position: absolute; left: 0; transition: opacity .25s, transform .35s var(--ease); }
.b-title .done { opacity: 0; transform: translateY(8px); color: var(--blue-text); }
.b-body { font-size: 13px; color: var(--ink); }
.actions { position: absolute; top: 370px; left: 12px; width: 62%; background: rgba(255, 255, 255, .9); border-radius: 18px; overflow: hidden; opacity: 0; transform: translateY(-8px) scale(.96); transform-origin: top left; }
.act { padding: 11px 16px; font-size: 14px; font-weight: 500; border-top: 1px solid rgba(0, 0, 0, .07); transition: background .2s; }
.act:first-child { border-top: 0; } .a-cancel { color: var(--red); }
.ghost { position: absolute; background: #fff; border-radius: 18px; padding: 12px 16px; box-shadow: 0 10px 30px rgba(25, 31, 40, .08); display: grid; font-size: 13px; color: var(--gray); width: 190px; }
.ghost b { color: var(--ink); font-size: 14px; }
.g1 { left: 0; top: 120px; opacity: .55; filter: blur(.5px); transform: rotate(-4deg); }
.g2 { right: 0; top: 260px; opacity: .4; filter: blur(1.5px); transform: rotate(5deg); }
.g3 { left: 20px; bottom: 120px; opacity: .3; filter: blur(2.5px); transform: rotate(-2deg); }
/* 재생 단계: s1 알림 등장 → s2 떠오름+글로우 → s3 동작 메뉴 → s4 기록 누름 → s5 완료 */
.lock-wrap.s1 .banner { opacity: 1; transform: none; transition: transform .6s var(--spring), opacity .3s; }
.lock-wrap.s2 .banner, .lock-wrap.s3 .banner, .lock-wrap.s4 .banner { opacity: 1; transform: translateY(-6px) scale(1.07); box-shadow: 0 0 0 1px rgba(49, 130, 246, .5), 0 0 40px 6px rgba(49, 130, 246, .55), 0 0 90px 20px rgba(138, 184, 255, .35); transition: transform .6s var(--ease), box-shadow .6s; }
.lock-wrap.s3 .actions, .lock-wrap.s4 .actions { opacity: 1; transform: none; transition: opacity .25s, transform .45s var(--spring); }
.lock-wrap.s4 .a-rec { background: rgba(49, 130, 246, .16); }
.lock-wrap.s5 .banner { opacity: 1; transform: none; transition: transform .5s var(--ease); }
.lock-wrap.s5 .b-title .ask { opacity: 0; transform: translateY(-8px); }
.lock-wrap.s5 .b-title .done { opacity: 1; transform: none; }

/* 4. 고정 장면 */
.pin { height: 340vh; position: relative; }
.pin-sticky { position: sticky; top: 0; height: 100vh; display: grid; align-items: center; }
.steps { list-style: none; margin-top: 34px; border-top: 1px solid var(--line); }
.steps li { padding: 20px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.steps b { font-size: 21px; font-weight: 700; color: var(--dim); transition: color .3s; }
.steps p { max-height: 0; overflow: hidden; opacity: 0; color: var(--ink2); transition: max-height .5s var(--ease), opacity .3s, margin .5s var(--ease); }
.steps li.on b { color: var(--ink); }
.steps li.on p { max-height: 90px; opacity: 1; margin-top: 8px; }
.pin-device { width: min(300px, calc((100vh - 150px) * .46)); justify-self: center; transform: perspective(1400px) rotateY(-9deg) rotateX(3deg); transition: transform .8s var(--ease); }
.pin-bar { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); width: 160px; height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
.pin-bar i { display: block; height: 100%; width: 0; background: var(--ink); }

/* 5. 머니 플로우 */
.flow-sec { padding: 140px 0; }
.flow-card { margin-top: 44px; background: #fff; border-radius: 32px; padding: 32px 36px; box-shadow: 0 20px 60px rgba(25, 31, 40, .06); }
.flow-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 18px; }
.flow-head > b { font-size: 19px; }
.legend { display: flex; gap: 6px 14px; align-items: center; font-size: 13px; color: var(--gray); flex-wrap: wrap; }
.legend i { width: 8px; height: 8px; border-radius: 4px; display: inline-block; margin-left: 8px; }
.lg-in { background: var(--blue); } .lg-out { background: var(--red); } .lg-sav { background: var(--green); } .lg-left { background: #9AA3AE; }
#sankey { width: 100%; height: auto; overflow: visible; }
#sankey text { font: 500 14px var(--font); fill: var(--ink); }
#sankey text.sub { font-size: 12px; fill: var(--gray); }
#sankey text.total { font-weight: 900; }
.flow-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; border-top: 1px solid var(--line); padding-top: 22px; }
.flow-stats small { display: block; font-size: 13px; color: var(--gray); }
.flow-stats b { font-size: clamp(20px, 2.6vw, 28px); font-weight: 900; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.flow-stats b.blue { color: var(--blue-text); }

/* 6. 벤토 */
.bento-sec { padding: 60px 0 140px; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.card { background: #fff; border-radius: 28px; padding: 28px; overflow: hidden; position: relative; }
.card b { font-size: 20px; font-weight: 700; letter-spacing: -.02em; display: block; }
.card p { color: var(--gray); font-size: 15px; margin-top: 6px; }
.card.tall { grid-row: span 2; display: flex; flex-direction: column; padding-bottom: 0; }
.card.tall:first-child { grid-column: 1; }
.shot { margin-top: 26px; flex: 1; display: flex; justify-content: center; align-items: flex-start; overflow: hidden; }
.shot img { width: 78%; border-radius: 30px 30px 0 0; box-shadow: 0 0 0 7px #0B0B0D; margin-top: 7px; transform: translateY(40px); transition: transform 1.1s var(--ease); }
.card.in .shot img { transform: none; }
.learn-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.learn-chips span { border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; font-size: 14px; transition: transform .5s var(--ease), background .3s, color .3s; }
.learn-chips span.hit { background: var(--ink); color: #fff; border-color: var(--ink); }
.faceid { width: 56px; height: 56px; margin-bottom: 16px; }
.faceid svg { width: 100%; height: 100%; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.faceid .fi { stroke: var(--blue); stroke-dasharray: 60; stroke-dashoffset: 60; }
.lockcard.in .fi { animation: draw 1.4s .3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.card.pro { background: linear-gradient(135deg, #E8F3FF, #fff 70%); grid-column: span 2; }
.tag { display: inline-block; background: var(--blue-text); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }

/* 7. 프라이버시 */
.privacy { background: #191F28; color: #fff; padding: 140px 0; transition: background .6s; }
.privacy .eyebrow { color: #8AB8FF; }
.privacy .dim { color: #6B7684; }
.facts { list-style: none; margin-top: 36px; display: grid; gap: 22px; }
.facts li { display: grid; gap: 4px; padding-left: 20px; border-left: 2px solid #3182F6; }
.facts b { font-size: 18px; }
.facts span { color: #B0B8C1; font-size: 15px; }
.dots-phone { justify-self: center; }
#dots { width: 300px; height: 560px; }

/* 8. 가격 */
.price-sec { padding: 140px 0 100px; }
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 860px; margin: 50px auto 0; }
.pcard { background: #fff; border-radius: 28px; padding: 32px; }
.pcard > b { font-size: 24px; font-weight: 900; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.won { font-size: 15px; font-weight: 700; color: var(--blue-text); }
.pcard ul { list-style: none; margin-top: 20px; display: grid; gap: 10px; color: var(--ink2); }
.pcard li::before { content: "✓"; color: var(--blue); font-weight: 900; margin-right: 10px; }
.pcard.pro { box-shadow: 0 0 0 2px var(--blue); }
.note { font-size: 13px; color: var(--gray); margin-top: 18px; }

/* 9. FAQ */
.faq { max-width: 760px; padding-bottom: 120px; }
.faq h2 { margin-bottom: 36px; }
details { background: #fff; border-radius: 20px; padding: 20px 24px; margin-bottom: 10px; }
summary { font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: "+"; color: var(--gray); font-weight: 500; transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--ink2); margin-top: 10px; font-size: 15px; }

/* 10. 마무리 */
.closing { text-align: center; padding: 40px 24px 140px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.rise { width: 120px; height: 120px; border-radius: 28px; box-shadow: 0 20px 50px rgba(25, 31, 40, .18); transform: translateY(60px); opacity: 0; transition: transform 1.1s var(--ease), opacity .6s; }
.rise.in { transform: none; opacity: 1; }
.foot { display: flex; flex-wrap: wrap; gap: 18px; padding-bottom: 40px; font-size: 13px; color: var(--gray); }
.foot a:hover { color: var(--ink); }

/* 반응형 */
@media (max-width: 900px) {
  .sum { display: none; }
  .links { display: none; }
  .two { grid-template-columns: 1fr; gap: 40px; }
  .split { position: relative; left: auto; top: auto; width: auto; margin-bottom: 30px; display: flex; flex-direction: column; align-items: center; }
  .chips { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .stage-inner { display: flex; flex-direction: column; align-items: center; padding-top: 50px; min-height: 0; }
  .stage-cap { position: static; margin-top: 26px; padding-inline: 12px; }
  .pin { height: auto; }
  .pin-sticky { position: static; height: auto; padding: 80px 0; }
  .pin-bar { display: none; }
  .steps p { max-height: none; opacity: 1; margin-top: 8px; }
  .steps b { color: var(--ink); }
  .pin-device { transform: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .ticks { display: none; }
}
@media (max-width: 600px) {
  .wrap { padding-inline: 16px; }
  .nav { gap: 10px; padding: 8px 8px 8px 14px; }
  .brand span { display: none; }
  .lang { margin-left: auto; }
  .hero { padding-top: 120px; }
  .stage { padding-inline: 0 !important; }
  .stage-inner { border-radius: 0 !important; }
  .hero-device, .lock, .pin-device { width: 250px; }
  .lock-wrap { min-height: 0; }
  .ghost { display: none; }
  .bento, .prices { grid-template-columns: 1fr; }
  .card.tall { grid-row: auto; }
  .flow-card { padding: 22px 16px; border-radius: 24px; }
  .flow-stats { grid-template-columns: 1fr; }
  #dots { width: 240px; height: 448px; }
  .fill-sec { padding: 110px 16px 90px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .chip, .rise { opacity: 1 !important; transform: none !important; }
  .fill span { --p: 100% !important; }
}

/* 일본어는 keep-all이 듣지 않는다 — 문절 단위로 끊고(Chrome), 좁은 화면에선 제목을 한 단계 줄인다. */
:lang(ja) body { word-break: auto-phrase; }
@media (max-width: 600px) { :lang(ja) h1 { font-size: clamp(34px, 9vw, 44px); } :lang(ja) h2 { font-size: clamp(28px, 7.4vw, 32px); } }
