/* おとのわピアノ教室 (demo 05) : three colours, circles, piano keys, motion */
:root {
  --r: #ff6b5c;
  --g: #19b5a5;
  --y: #ffd23f;
  --ink: #1d2b4f;
  --bg: #fffdf7;
  --tint: #fff5d6;
  --sub: #6d7690;
  --line: #e4e0d2;
  --red: #e8452f;
  --marker: #ffe36e;
  --en: "Poppins", "Noto Sans JP", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; font-size: 15.5px; line-height: 1.95; padding-bottom: 56px; overflow-x: hidden; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd { margin: 0; }
p + p { margin-top: .9em; }
table { border-collapse: collapse; width: 100%; }
button { font: inherit; }
.marker { background: linear-gradient(transparent 58%, var(--marker) 58%); font-weight: 700; }
.red { color: var(--red); font-weight: 700; }
.note:not(svg) { font-size: 12.5px; color: var(--sub); line-height: 1.7; margin-top: 12px; }
.center { text-align: center; }
.c-r { color: var(--r); font-style: normal; }
.c-g { color: var(--g); font-style: normal; }
.demo-bar { margin: 0; padding: 6px 14px; background: var(--ink); color: #fff; font-size: 11.5px; line-height: 1.6; text-align: center; }
.demo-bar a { margin-left: 8px; }
svg.note { fill: currentColor; display: block; }

/* motion primitives */
.js .rise { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rise.is-in { opacity: 1; transform: none; }
.wipe { position: relative; overflow: hidden; }
.wipe > i { position: absolute; inset: 0; z-index: 1; background: var(--y); transform-origin: right center; transition: transform .9s var(--ease) .15s; }
.js .wipe > i { transform: scaleX(1); }
.wipe > i, .js .wipe.is-in > i { transform: scaleX(0); }
.js .wipe img { transform: scale(1.12); transition: transform 1.4s var(--ease); }
.js .wipe.is-in img { transform: none; }
@keyframes pop { from { transform: scale(0); } 70% { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-14px) rotate(6deg); } }
@keyframes lineup { from { transform: translateY(110%); } to { transform: none; } }
@keyframes fadeup { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes reveal { from { clip-path: circle(0 at 50% 50%); } to { clip-path: circle(75% at 50% 50%); } }
@keyframes marquee { to { transform: translateX(-33.333%); } }
@keyframes notein { from { transform: translateY(-40px) scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }

/* header */
.head { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 14px; background: rgba(255, 253, 247, .96); transition: box-shadow .3s; }
.head.is-stuck { box-shadow: 0 2px 0 var(--ink); }
.head__logo { display: flex; align-items: center; gap: 8px; text-decoration: none; line-height: 1.25; }
.logo { width: 44px; height: auto; flex: none; }
.head__logo small { display: block; font-size: 10px; color: var(--sub); }
.head__logo b { font-size: 18px; font-weight: 900; letter-spacing: .02em; }
.head__nav, .head__btn { display: none; }
.burger { width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--ink); display: grid; place-content: center; gap: 5px; cursor: pointer; }
.burger i { display: block; width: 20px; height: 2px; background: #fff; transition: transform .3s var(--ease), opacity .2s; }
.is-menu .burger i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.is-menu .burger i:nth-child(2) { opacity: 0; }
.is-menu .burger i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.drawer { position: fixed; inset: 0; z-index: 45; padding: 110px 28px 40px; background: var(--y); clip-path: circle(0 at calc(100% - 37px) 60px); transition: clip-path .6s var(--ease); display: flex; flex-direction: column; gap: 18px; }
.is-menu .drawer { clip-path: circle(150% at calc(100% - 37px) 60px); }
.drawer li a { display: block; padding: 14px 0; border-bottom: 2px solid var(--ink); font-size: 20px; font-weight: 900; text-decoration: none; }
.drawer__tel { font-family: var(--en); font-size: 28px; font-weight: 700; text-decoration: none; text-align: center; }

/* shared */
.in { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.in--narrow { max-width: 820px; }
.sec { position: relative; padding: 64px 0; }
.sec--tint { background: var(--tint); }
.body { padding-top: 36px; padding-bottom: 64px; }
.body > p { margin-top: 1.3em; }
.ttl { margin-bottom: 26px; text-align: center; }
.ttl--left { text-align: left; }
.ttl__en { display: inline-block; font-family: var(--en); font-size: 13px; font-weight: 700; letter-spacing: .2em; color: var(--r); line-height: 1.4; }
.ttl__en::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; background: var(--y); box-shadow: 14px 0 0 var(--g); transform: translateX(-14px); }
.ttl h2 { font-size: 27px; font-weight: 900; line-height: 1.5; letter-spacing: .02em; }
.lead { font-size: 16px; }
.more { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; text-decoration: none; }
.more::after { content: ""; width: 38px; height: 38px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='M5 12h13M13 7l5 5-5 5'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .3s var(--ease), background-color .3s; }
.more:hover::after { transform: translateX(6px); background-color: var(--r); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-width: 270px; padding: 16px 28px; border: 2px solid var(--ink); border-radius: 99px; background: #fff; color: var(--ink); font-weight: 900; text-decoration: none; cursor: pointer; box-shadow: 0 5px 0 var(--ink); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }
.btn--y { background: var(--y); }
.btn--line { background: #06c755; color: #fff; }
.h2 { position: relative; margin: 56px 0 18px; padding-left: 26px; font-size: 22px; font-weight: 900; line-height: 1.5; }
.h2::before { content: ""; position: absolute; left: 0; top: .42em; width: 16px; height: 16px; border-radius: 50%; background: var(--r); box-shadow: 6px 6px 0 var(--y); }
.h3 { margin: 28px 0 8px; font-size: 17px; font-weight: 700; color: var(--g); }

/* first view */
.mv { position: relative; overflow: hidden; padding: 26px 20px 40px; }
.mv__text { position: relative; z-index: 2; }
.mv__area { display: inline-block; padding-left: 12px; border-left: 5px solid var(--g); font-size: 13px; font-weight: 700; line-height: 1.5; animation: fadeup .7s var(--ease) .1s both; }
.mv__ttl { margin: 12px 0 12px; font-size: 44px; font-weight: 900; line-height: 1.28; letter-spacing: -.01em; }
.mv__ttl span { display: block; overflow: hidden; }
.mv__ttl span > *, .mv__ttl span { }
.mv__ttl span { animation: none; }
.mv__ttl span::after { content: none; }
.mv__ttl span { clip-path: inset(0 0 -10% 0); }
.mv__ttl span:nth-child(1) { animation: lineup .8s var(--ease) .15s both; }
.mv__ttl span:nth-child(2) { animation: lineup .8s var(--ease) .28s both; font-size: 1.5em; line-height: 1.15; }
.mv__ttl span:nth-child(3) { animation: lineup .8s var(--ease) .41s both; }
.mv__lead { font-weight: 700; animation: fadeup .7s var(--ease) .7s both; }
.mv__btns { margin-top: 18px; display: grid; gap: 14px; justify-items: start; animation: fadeup .7s var(--ease) .85s both; }
.mv__more { font-weight: 700; text-underline-offset: 5px; }
.mv__photo { position: relative; z-index: 1; width: 84%; margin: 34px 0 0 auto; border-radius: 50%; overflow: hidden; animation: reveal 1.1s var(--ease) .35s both; }
.mv__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.mv__s { position: absolute; display: block; animation: pop .8s var(--ease) both; }
.mv__s1 { right: -70px; bottom: 150px; width: 260px; height: 260px; border-radius: 50%; background: var(--y); animation-delay: .2s; }
.mv__s2 { left: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: var(--g); animation-delay: .35s; }
.mv__s3 { right: 18px; bottom: 26px; width: 92px; height: 92px; border-radius: 50%; background: var(--r); z-index: 2; animation-delay: .9s; }
.mv__s4 { left: 34px; bottom: 250px; width: 70px; height: 18px; background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 14px); animation-delay: 1s; }
.mv__n { position: absolute; z-index: 3; color: var(--ink); animation: bob 4s ease-in-out infinite; }
.mv__n1 { right: 30px; top: 150px; width: 26px; color: var(--r); }
.mv__n2 { left: 22px; bottom: 300px; width: 40px; animation-delay: -1.3s; }
.mv__n3 { right: 46px; bottom: 44px; width: 22px; color: #fff; animation-delay: -2.4s; }

/* facts sit on a staff like notes */
.staff { position: relative; padding: 34px 20px 38px; background: repeating-linear-gradient(transparent 0 17px, var(--ink) 17px 19px) 0 30px / 100% 95px no-repeat; }
.staff ul { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 10px; max-width: 1040px; margin: 0 auto; }
.staff li { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 138px; height: 138px; margin: 0 auto; border-radius: 50%; color: #fff; text-align: center; line-height: 1.3; }
.js .staff li { opacity: 0; }
.js .staff.is-in li, .staff li.is-in { animation: notein .7s var(--ease) both; }
.staff li:nth-child(1) { background: var(--r); }
.staff li:nth-child(2) { background: var(--ink); animation-delay: .12s !important; margin-top: 26px; }
.staff li:nth-child(3) { background: var(--g); animation-delay: .24s !important; margin-top: -10px; }
.staff li:nth-child(4) { background: var(--y); color: var(--ink); animation-delay: .36s !important; margin-top: 16px; }
.staff b { font-family: var(--en); font-size: 34px; font-weight: 800; }
.staff span { font-size: 12.5px; font-weight: 700; }

.marquee { overflow: hidden; background: var(--ink); color: var(--y); padding: 11px 0; }
.marquee p { display: inline-flex; gap: 28px; white-space: nowrap; font-family: var(--en); font-weight: 700; font-size: 17px; letter-spacing: .12em; animation: marquee 26s linear infinite; }
.marquee span:nth-child(even) { color: var(--r); }

/* about */
.about__photo { margin: 0 -20px 30px 0; border-radius: 120px 0 0 120px; }
.about__photo img { width: 100%; aspect-ratio: 3 / 2.1; object-fit: cover; }
.about .ttl { text-align: left; }
.about__catch { margin-bottom: 16px; font-size: 22px; font-weight: 900; line-height: 1.6; }

/* three points */
.points { background: var(--tint); margin-top: 30px; }
.points__wave { position: absolute; left: 0; right: 0; top: -28px; height: 30px; background: radial-gradient(circle at 50% 100%, var(--tint) 29px, transparent 30px) 0 0 / 60px 30px repeat-x; }
.point-list { display: grid; gap: 34px; }
.point-list li { display: grid; gap: 16px; }
.point__photo { width: 62%; margin: 0 auto; border-radius: 50%; overflow: hidden; border: 8px solid #fff; }
.point-list li:nth-child(1) .point__photo { box-shadow: 14px 10px 0 var(--r); }
.point-list li:nth-child(2) .point__photo { box-shadow: -14px 10px 0 var(--g); }
.point-list li:nth-child(3) .point__photo { box-shadow: 14px 10px 0 var(--y); }
.point__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s var(--ease); }
.point-list li:hover .point__photo img { transform: scale(1.08); }
.point__no { font-family: var(--en); font-size: 46px; font-weight: 800; line-height: 1; color: var(--r); }
.point-list li:nth-child(2) .point__no { color: var(--g); }
.point-list li:nth-child(3) .point__no { color: #e5a900; }
.point-list h3 { margin: 4px 0 8px; font-size: 21px; font-weight: 900; line-height: 1.5; }

/* courses */
.courses { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.course a { position: relative; display: block; height: 100%; padding: 22px 16px 20px; border: 2px solid var(--ink); border-radius: 20px; background: #fff; text-decoration: none; overflow: hidden; transition: transform .3s var(--ease); }
.course a::before { content: ""; position: absolute; right: -34px; top: -34px; width: 96px; height: 96px; border-radius: 50%; transition: transform .5s var(--ease); }
.course a:hover { transform: translateY(-6px) rotate(-1deg); }
.course a:hover::before { transform: scale(7); }
.course--c1 a::before { background: var(--y); }
.course--c2 a::before { background: var(--r); }
.course--c3 a::before { background: var(--g); }
.course--c4 a::before { background: #c9d4f2; }
.course a > * { position: relative; }
.course__age { font-size: 12px; font-weight: 700; }
.course h3 { font-size: 19px; font-weight: 900; line-height: 1.4; }
.course__fee { margin-top: 10px; line-height: 1.1; }
.course__fee b { font-family: var(--en); font-size: 31px; font-weight: 800; margin: 0 2px 0 4px; }
.course__fee small { font-size: 12px; font-weight: 700; }
.course__time { margin: 4px 0 0; font-size: 12.5px; }

/* playable keys */
.play { padding: 46px 0 0; background: var(--g); text-align: center; overflow: hidden; }
.play__ttl { color: #fff; font-size: 24px; font-weight: 900; line-height: 1.4; margin-bottom: 20px; }
.play__ttl small { display: block; font-size: 13px; font-weight: 500; }
.keys { position: relative; display: flex; justify-content: center; max-width: 720px; height: 190px; margin: 0 auto; padding: 0 2px; }
.js .keys { transform: translateY(60px); transition: transform .8s var(--ease) !important; }
.js .keys.is-in { transform: none; }
.key { position: relative; border: 0; cursor: pointer; padding: 0; touch-action: manipulation; }
.key--w { flex: 1; height: 100%; margin: 0 2px; background: #fff; border-radius: 0 0 10px 10px; box-shadow: inset 0 -12px 0 #e6e3d8; transition: transform .08s, box-shadow .08s, background .2s; transform-origin: top; }
.key--b { flex: 0 0 0; width: 0; z-index: 2; }
.key--b::before { content: ""; position: absolute; left: -15px; top: 0; width: 30px; height: 112px; background: var(--ink); border-radius: 0 0 6px 6px; box-shadow: inset 0 -8px 0 #33456f; transition: height .08s, background .2s; }
.key--w.is-down, .key--w:active { transform: scaleY(.97); background: var(--y); box-shadow: inset 0 -4px 0 #e5b800; }
.key--b.is-down::before, .key--b:active::before { height: 106px; background: var(--r); }

/* events */
.recital__photo { margin: 30px 0 0 -20px; border-radius: 0 120px 120px 0; }
.recital__photo img { width: 100%; aspect-ratio: 3 / 2.1; object-fit: cover; }
.recital .ttl { text-align: left; }
.events { margin-top: 22px; display: grid; gap: 14px; }
.events li { display: flex; gap: 16px; align-items: center; }
.events b { flex: none; width: 78px; height: 78px; border-radius: 50%; background: var(--y); display: grid; place-content: center; font-family: var(--en); font-size: 30px; font-weight: 800; line-height: 1; text-align: center; }
.events li:nth-child(2) b { background: var(--r); color: #fff; }
.events li:nth-child(3) b { background: var(--ink); color: #fff; }
.events small { font-family: "Noto Sans JP", sans-serif; font-size: 12px; margin-left: 1px; }
.events h3 { font-size: 17px; font-weight: 900; line-height: 1.5; }
.events p { font-size: 13.5px; line-height: 1.7; margin: 0; }

/* voices */
.voices-sec { background: var(--ink); color: #fff; }
.voices-sec .ttl__en { color: var(--y); }
.voices { display: grid; gap: 34px; }
.voice__who { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.voice__face { flex: none; display: block; width: 78px; height: 78px; border-radius: 50%; background: #fff; overflow: hidden; }
.voice__face .face { width: 100%; height: 100%; }
.voice__face .figure { width: 100%; height: 100%; object-fit: contain; padding: 10% 3% 0; object-position: 50% 100%; }
.voice__who b { display: block; font-size: 16px; line-height: 1.5; }
.voice__who small { font-size: 12.5px; opacity: .8; }
.voice__say { position: relative; padding: 24px 22px 26px; border-radius: 26px; background: #fff; color: var(--ink); }
.voice__say::before { content: ""; position: absolute; left: 30px; top: -12px; width: 26px; height: 26px; background: inherit; transform: rotate(45deg); border-radius: 4px; }
.voice--1 .voice__say { background: var(--y); }
.voice--3 .voice__say { background: #d6f3ef; }
.voice__say h3 { position: relative; margin-bottom: 10px; font-size: 18.5px; font-weight: 900; line-height: 1.6; }
.voice__say p { position: relative; font-size: 15px; line-height: 2.05; }
.voice--1 .marker { background: linear-gradient(transparent 58%, #fff 58%); }

/* teacher */
.teacher__photo { position: relative; width: 70%; margin: 0 auto 28px; }
.teacher__photo > i { position: absolute; inset: 10% -12% -6% 12%; border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%; background: var(--r); }
.teacher__photo img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 200px 200px 24px 24px; }
.teacher .ttl { text-align: left; }
.teacher__name { margin-bottom: 12px; font-size: 26px; font-weight: 900; line-height: 1.4; letter-spacing: .06em; }
.teacher__name small { margin-left: 12px; font-size: 12.5px; font-weight: 500; color: var(--sub); letter-spacing: .1em; }

/* news, access */
.split { display: grid; gap: 50px; }
.news li { display: grid; gap: 0; padding: 14px 0; border-bottom: 2px dotted var(--ink); line-height: 1.7; }
.news time { font-family: var(--en); font-size: 13px; font-weight: 700; color: var(--r); }
.access__photo { margin-bottom: 16px; border-radius: 24px; }
.access__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* trial band */
.cta { position: relative; overflow: hidden; padding: 60px 0 66px; background: var(--r); color: #fff; text-align: center; }
.cta::before { content: ""; position: absolute; left: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%; background: var(--y); }
.cta::after { content: ""; position: absolute; right: -70px; bottom: -110px; width: 280px; height: 280px; border-radius: 50%; background: var(--ink); }
.cta .in { position: relative; z-index: 1; }
.cta__n1, .cta__n2 { position: absolute; z-index: 1; animation: bob 4.5s ease-in-out infinite; }
.cta__n1 { left: 12%; top: 26px; width: 30px; color: var(--ink); }
.cta__n2 { right: 10%; bottom: 60px; width: 46px; color: var(--y); animation-delay: -2s; }
.cta__en { font-family: var(--en); font-weight: 700; letter-spacing: .24em; font-size: 13px; }
.cta__ttl { font-size: 28px; font-weight: 900; line-height: 1.5; margin: 2px 0 10px; }
.cta__lead { font-weight: 500; }
.cta__lead br { display: none; }
.cta__btns { display: grid; gap: 14px; justify-content: center; margin: 24px 0 22px; }
.cta__tel { display: inline-block; font-family: var(--en); font-size: 38px; font-weight: 800; text-decoration: none; line-height: 1.2; }
.cta__tel small { display: block; font-family: "Noto Sans JP", sans-serif; font-size: 12.5px; font-weight: 500; }

/* sub pages */
.phead { position: relative; overflow: hidden; padding: 38px 0 34px; background: var(--y); }
.phead .in { position: relative; z-index: 1; }
.phead__s1, .phead__s2, .phead__s3 { position: absolute; border-radius: 50%; animation: pop .8s var(--ease) both; }
.phead__s1 { right: -50px; top: -70px; width: 220px; height: 220px; background: var(--r); }
.phead__s2 { right: 96px; bottom: -70px; width: 150px; height: 150px; background: var(--g); animation-delay: .15s; }
.phead__s3 { left: -40px; bottom: -50px; width: 110px; height: 110px; background: #fff; animation-delay: .3s; }
.phead__en { font-family: var(--en); font-size: 13px; font-weight: 700; letter-spacing: .2em; animation: fadeup .6s var(--ease) .1s both; }
.phead h1 { font-size: 34px; font-weight: 900; line-height: 1.4; animation: fadeup .6s var(--ease) .2s both; }
.crumb { margin-top: 10px; font-size: 12px; }
.cblock { display: grid; gap: 18px; margin-top: 30px; padding: 24px 20px 26px; border: 2px solid var(--ink); border-radius: 26px; background: #fff; box-shadow: 8px 8px 0 var(--y); }
.cblock--c2 { box-shadow: 8px 8px 0 var(--r); }
.cblock--c3 { box-shadow: 8px 8px 0 var(--g); }
.cblock--c4 { box-shadow: 8px 8px 0 #c9d4f2; }
.cblock__photo { width: 58%; margin: 0 auto; border-radius: 50%; overflow: hidden; }
.cblock__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.cblock__age { display: inline-block; padding: 0 12px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 700; border-radius: 4px; }
.cblock h2 { margin: 6px 0 8px; font-size: 24px; font-weight: 900; line-height: 1.4; }
.cblock__data { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin-top: 14px; padding-top: 14px; border-top: 2px dotted var(--ink); align-items: baseline; }
.cblock__data dt { font-size: 13px; font-weight: 700; color: var(--sub); }
.cblock__data b { font-family: var(--en); font-size: 30px; font-weight: 800; margin-right: 2px; line-height: 1; }
.price th, .price td { padding: 14px 4px; border-bottom: 2px dotted var(--ink); text-align: left; font-weight: 500; vertical-align: top; }
.price tr:first-child th, .price tr:first-child td { border-top: 2px dotted var(--ink); }
.price td { text-align: right; font-weight: 900; white-space: nowrap; }
.slots { text-align: center; border: 2px solid var(--ink); }
.slots th, .slots td { padding: 11px 4px; border: 1px solid var(--line); font-size: 14px; }
.slots tr:first-child th { background: var(--ink); color: #fff; }
.slots th:first-child { background: var(--tint); font-size: 12.5px; white-space: nowrap; }
.slots tr:first-child th:first-child { background: var(--ink); }
.faq > div { padding: 18px 0; border-bottom: 2px dotted var(--ink); }
.faq dt, .faq dd { position: relative; padding-left: 44px; }
.faq dt { font-weight: 900; line-height: 1.7; }
.faq dd { margin-top: 8px; font-size: 15px; }
.faq dt::before, .faq dd::before { position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; font-family: var(--en); font-weight: 800; font-size: 16px; line-height: 32px; text-align: center; }
.faq dt::before { content: "Q"; background: var(--y); }
.faq dd::before { content: "A"; background: var(--g); color: #fff; }
.hello { text-align: center; margin-bottom: 26px; }
.hello__photo { position: relative; width: 210px; margin: 0 auto 20px; }
.hello__photo > i { position: absolute; inset: 8% -10% -6% 10%; border-radius: 50%; background: var(--g); }
.hello__photo img { position: relative; width: 210px; height: 210px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; }
.hello__ttl { font-size: 24px; font-weight: 900; line-height: 1.7; }
.profile li { position: relative; padding: 5px 0 5px 22px; line-height: 1.8; }
.profile li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 9px; height: 9px; border-radius: 50%; background: var(--g); }
.gallery { display: grid; gap: 12px; }
.gallery > div { border-radius: 24px; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.info th, .info td { padding: 13px 4px; border-bottom: 2px dotted var(--ink); text-align: left; vertical-align: top; font-size: 14.5px; line-height: 1.7; }
.info th { width: 6.4em; font-weight: 900; }
.route { counter-reset: route; }
.route li { counter-increment: route; position: relative; padding: 7px 0 7px 38px; }
.route li::before { content: counter(route); position: absolute; left: 0; top: 8px; width: 26px; height: 26px; border-radius: 50%; background: var(--r); color: #fff; font-family: var(--en); font-weight: 700; font-size: 14px; line-height: 26px; text-align: center; }
.steps li { position: relative; margin-top: 18px; padding: 22px 22px 24px; border-radius: 26px; background: var(--tint); }
.steps li:nth-child(even) { background: #d6f3ef; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 50%; bottom: -24px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--ink); z-index: 1; }
.steps__no { font-family: var(--en); font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--r); }
.steps h3 { font-size: 20px; font-weight: 900; margin-bottom: 4px; }
.checks li { position: relative; padding: 6px 0 6px 30px; line-height: 1.8; }
.checks li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 9px; height: 15px; border-right: 3px solid var(--g); border-bottom: 3px solid var(--g); transform: rotate(40deg); }
.form { display: grid; gap: 18px; padding: 26px 20px 28px; border: 2px solid var(--ink); border-radius: 26px; background: #fff; box-shadow: 8px 8px 0 var(--y); }
.form label > span, .form legend { display: block; font-weight: 900; margin-bottom: 4px; padding: 0; }
.form i { margin-left: 8px; padding: 1px 9px; background: var(--r); color: #fff; font-size: 11px; font-style: normal; border-radius: 99px; }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form textarea { width: 100%; padding: 13px 14px; border: 2px solid var(--ink); border-radius: 12px; font: inherit; background: var(--bg); }
.form fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 4px; }
.form fieldset label { display: flex; align-items: center; gap: 8px; }

/* footer, tab bar */
.foot { position: relative; padding: 0 0 26px; background: var(--ink); color: #fff; font-size: 13px; text-align: center; }
.foot__keys { height: 28px; margin-bottom: 34px; background: #fff linear-gradient(90deg, transparent 0 26px, var(--ink) 26px 28px) 0 0 / 28px 100%; position: relative; }
.foot__keys::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 17px; background: linear-gradient(90deg, transparent 0 18px, var(--ink) 18px 36px, transparent 36px 46px, var(--ink) 46px 64px, transparent 64px 102px, var(--ink) 102px 120px, transparent 120px 130px, var(--ink) 130px 148px, transparent 148px 158px, var(--ink) 158px 176px, transparent 176px 196px) 0 0 / 196px 100%; }
.foot__logo { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 10px; }
.foot__logo b { font-size: 21px; font-weight: 900; }
.foot__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; margin-top: 16px; }
.foot__nav a { text-decoration: none; font-weight: 700; }
.foot__copy { margin-top: 20px; font-size: 11px; opacity: .7; }
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr 1.6fr; background: #fff; border-top: 2px solid var(--ink); }
.tabbar a { padding: 14px 0; text-align: center; text-decoration: none; font-size: 13px; font-weight: 700; border-right: 2px solid var(--ink); }
.tabbar .tabbar__main { background: var(--y); border-right: 0; font-weight: 900; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rise, .js .staff li { opacity: 1; transform: none; }
  .js .wipe > i { transform: scaleX(0); }
  .js .wipe img, .js .keys { transform: none; }
}

@media (min-width: 700px) {
  .staff ul { grid-template-columns: repeat(4, 1fr); }
  .courses { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .point-list { grid-template-columns: repeat(3, 1fr); gap: 30px; }
  .cta__lead br { display: inline; }
  .cta__btns { grid-template-columns: auto auto; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .cblock { grid-template-columns: 200px 1fr; align-items: center; gap: 30px; padding: 30px 34px; }
  .cblock__photo { width: 100%; }
  .voices { gap: 44px; }
  .voice { display: grid; grid-template-columns: 200px 1fr; gap: 30px; align-items: center; }
  .voice--2 { grid-template-columns: 1fr 200px; }
  .voice--2 .voice__who { order: 2; }
  .voice__who { display: block; text-align: center; margin: 0; }
  .voice__face { width: 130px; height: 130px; margin: 0 auto 12px; }
  .voice__say::before { left: -11px; top: 50%; margin-top: -13px; }
  .voice--2 .voice__say::before { left: auto; right: -11px; }
}

@media (min-width: 1000px) {
  body { font-size: 17px; padding-bottom: 0; }
  .tabbar, .burger, .drawer { display: none; }
  .head { padding: 14px 36px; }
  .logo { width: 58px; }
  .head__logo b { font-size: 25px; }
  .head__logo small { font-size: 12px; }
  .head__nav { display: block; margin-left: auto; }
  .head__nav ul { display: flex; gap: 34px; }
  .head__nav a { position: relative; padding: 6px 0; text-decoration: none; font-weight: 700; font-size: 16px; }
  .head__nav a::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--r); transform: scale(0); transition: transform .3s var(--ease); }
  .head__nav a:hover::after, .head__nav a[aria-current]::after { transform: scale(1); }
  .head__btn { display: inline-block; margin-left: 30px; padding: 12px 28px; border: 2px solid var(--ink); border-radius: 99px; background: var(--y); font-weight: 900; text-decoration: none; box-shadow: 0 4px 0 var(--ink); transition: transform .15s, box-shadow .15s; }
  .head__btn:hover { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
  .in { padding: 0 36px; }
  .sec { padding: 110px 0; }
  .body { padding-top: 64px; padding-bottom: 110px; }
  .ttl { margin-bottom: 44px; }
  .ttl__en { font-size: 15px; }
  .ttl h2 { font-size: 42px; }
  .h2 { font-size: 28px; margin-top: 80px; padding-left: 34px; }
  .h2::before { width: 20px; height: 20px; }
  .h3 { font-size: 20px; }
  .lead { font-size: 19px; }
  .btn { min-width: 320px; padding: 19px 34px; font-size: 18px; }

  .mv { min-height: clamp(560px, calc(100vh - 150px), 760px); padding: 0; display: flex; align-items: center; }
  .mv__text { width: 50%; padding-left: max(36px, calc(50vw - 560px)); }
  .mv__area { font-size: 16px; }
  .mv__ttl { font-size: clamp(54px, 5.2vw, 84px); margin: 18px 0 20px; }
  .mv__lead { font-size: 19px; }
  .mv__btns { grid-auto-flow: column; align-items: center; gap: 28px; margin-top: 30px; }
  .mv__photo { position: absolute; right: 6%; top: 50%; width: min(40vw, 620px); margin: 0; translate: 0 -50%; }
  .mv__s1 { right: 2%; top: 4%; bottom: auto; width: min(26vw, 420px); height: min(26vw, 420px); }
  .mv__s2 { left: auto; right: 34%; bottom: -8%; width: min(20vw, 320px); height: min(20vw, 320px); }
  .mv__s3 { right: 4%; bottom: 9%; width: 150px; height: 150px; }
  .mv__s4 { left: auto; right: 44%; top: 16%; bottom: auto; width: 120px; height: 26px; background: repeating-linear-gradient(90deg, var(--ink) 0 12px, transparent 12px 20px); }
  .mv__n1 { right: 46%; top: 30%; width: 44px; }
  .mv__n2 { left: auto; right: 3%; top: 12%; bottom: auto; width: 66px; }
  .mv__n3 { right: 7.4%; bottom: 14%; width: 34px; }

  .staff { padding: 56px 36px 60px; background-position: 0 58px; background-size: 100% 95px; }
  .staff li { width: 190px; height: 190px; }
  .staff b { font-size: 50px; }
  .staff span { font-size: 15px; }
  .staff li:nth-child(2) { margin-top: 44px; }
  .staff li:nth-child(3) { margin-top: -6px; }
  .staff li:nth-child(4) { margin-top: 30px; }
  .marquee { padding: 16px 0; }
  .marquee p { font-size: 24px; gap: 44px; }

  .about__in { display: grid; grid-template-columns: 1.15fr 1fr; gap: 70px; align-items: center; }
  .about__photo { margin: 0 0 0 calc((100vw - 1120px) / -2 - 36px); border-radius: 0 240px 240px 0; }
  .about__photo img { aspect-ratio: 3 / 2.3; }
  .about__catch { font-size: 31px; margin-bottom: 22px; }
  .points { margin-top: 40px; }
  .point-list { gap: 50px; }
  .point__photo { width: 76%; border-width: 10px; }
  .point__no { font-size: 64px; }
  .point-list h3 { font-size: 24px; }
  .course a { padding: 34px 26px 30px; border-radius: 28px; }
  .course a::before { width: 130px; height: 130px; right: -44px; top: -44px; }
  .course__age { font-size: 14px; }
  .course h3 { font-size: 25px; }
  .course__fee b { font-size: 46px; }
  .course__time { font-size: 14.5px; }
  .play { padding-top: 70px; }
  .play__ttl { font-size: 36px; margin-bottom: 30px; }
  .play__ttl small { font-size: 16px; }
  .keys { max-width: 980px; height: 270px; }
  .key--w { margin: 0 3px; border-radius: 0 0 14px 14px; }
  .key--b::before { left: -22px; width: 44px; height: 160px; }
  .key--b.is-down::before, .key--b:active::before { height: 152px; }
  .recital__in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
  .recital__photo { margin: 0 calc((100vw - 1120px) / -2 - 36px) 0 0; border-radius: 240px 0 0 240px; }
  .recital__photo img { aspect-ratio: 3 / 2.3; }
  .events { gap: 20px; margin-top: 30px; }
  .events b { width: 100px; height: 100px; font-size: 40px; }
  .events h3 { font-size: 21px; }
  .events p { font-size: 15.5px; }
  .voices { max-width: 1000px; margin: 0 auto; gap: 60px; }
  .voice { grid-template-columns: 230px 1fr; gap: 44px; }
  .voice--2 { grid-template-columns: 1fr 230px; }
  .voice__face { width: 170px; height: 170px; }
  .voice__who b { font-size: 18px; }
  .voice__who small { font-size: 14px; }
  .voice__say { padding: 40px 48px 44px; border-radius: 40px; }
  .voice__say h3 { font-size: 25px; margin-bottom: 14px; }
  .voice__say p { font-size: 17px; }
  .teacher__in { display: grid; grid-template-columns: 400px 1fr; gap: 90px; align-items: center; }
  .teacher__photo { width: 100%; margin: 0; }
  .teacher__name { font-size: 36px; }
  .split { grid-template-columns: 1fr 1fr; gap: 80px; }
  .cta { padding: 110px 0 116px; }
  .cta::before { width: 420px; height: 420px; left: -130px; top: -150px; }
  .cta::after { width: 460px; height: 460px; right: -120px; bottom: -200px; }
  .cta__ttl { font-size: 46px; }
  .cta__lead { font-size: 19px; }
  .cta__btns { gap: 24px; margin: 36px 0 30px; }
  .cta__tel { font-size: 58px; }
  .cta__tel small { font-size: 15px; }
  .cta__n1 { width: 54px; left: 16%; top: 50px; }
  .cta__n2 { width: 80px; right: 15%; bottom: 90px; }
  .phead { padding: 70px 0 60px; }
  .phead h1 { font-size: 56px; }
  .phead__en { font-size: 16px; }
  .phead__s1 { width: 380px; height: 380px; right: -60px; top: -140px; }
  .phead__s2 { width: 240px; height: 240px; right: 240px; bottom: -120px; }
  .phead__s3 { width: 170px; height: 170px; }
  .cblock { grid-template-columns: 240px 1fr; gap: 44px; padding: 40px 48px; margin-top: 40px; }
  .cblock h2 { font-size: 32px; }
  .cblock__data b { font-size: 40px; }
  .slots th, .slots td { padding: 15px 6px; font-size: 16px; }
  .hello__photo, .hello__photo img { width: 280px; }
  .hello__photo img { height: 280px; }
  .hello__ttl { font-size: 34px; }
  .steps li { padding: 32px 44px 34px; }
  .steps h3 { font-size: 24px; }
  .form { padding: 44px 56px 48px; }
  .foot { font-size: 15px; padding-bottom: 40px; }
  .foot__keys { height: 44px; margin-bottom: 54px; background-size: 44px 100%; background-image: linear-gradient(90deg, transparent 0 42px, var(--ink) 42px 44px); }
  .foot__keys::after { height: 27px; background-size: 308px 100%; background-image: linear-gradient(90deg, transparent 0 30px, var(--ink) 30px 58px, transparent 58px 74px, var(--ink) 74px 102px, transparent 102px 162px, var(--ink) 162px 190px, transparent 190px 206px, var(--ink) 206px 234px, transparent 234px 250px, var(--ink) 250px 278px, transparent 278px 308px); }
  .foot__logo b { font-size: 26px; }
}

/* fixes after the first real-size check */
.mv { display: flex; flex-direction: column; }
.mv__text { order: 1; }
.mv__photo { order: 2; }
.mv__n2 { left: auto; right: 16px; bottom: 210px; }
.course__fee { white-space: nowrap; }
@media (min-width: 1000px) {
  .mv { flex-direction: row; }
  .mv__n2 { right: 3%; bottom: auto; }
  .course__fee b { font-size: 40px; }
}

/* ===== the keyboard lives in the first view ===== */
.mv { padding: 26px 0 0; }
.mv__text, .mv__btns { padding: 0 20px; }
.mv__btns { order: 3; margin-top: 26px; }
.mv__keys { order: 2; position: relative; z-index: 4; margin-top: 22px; }
.mv__photo { order: 4; width: 80%; margin: 30px 20px 44px auto; }
.mv__try { display: flex; align-items: baseline; gap: 10px; padding: 0 20px 8px; line-height: 1.4; animation: fadeup .7s var(--ease) .9s both; }
.mv__try b { position: relative; padding: 3px 14px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 14px; }
.mv__try b::after { content: ""; position: absolute; left: 22px; bottom: -6px; width: 12px; height: 12px; background: var(--ink); transform: rotate(45deg); }
.mv__try span { font-size: 12.5px; font-weight: 700; }
.mv__try small { display: none; }
.keys { max-width: none; height: 118px; padding: 0; border-top: 6px solid var(--ink); background: var(--ink); }
.js .keys { transform: none; }
.mv .keys { animation: fadeup .8s var(--ease) 1s both; }
.key--w { margin: 0 1px; border-radius: 0 0 8px 8px; }
.key--b::before { left: -13px; width: 26px; height: 70px; }
.key--b.is-down::before, .key--b:active::before { height: 66px; }
.keys .key:nth-child(n+14) { display: none; }
.mv__s1 { bottom: 150px; }
.mv__s2 { bottom: -70px; }
.mv__s4 { bottom: 300px; }
.mv__n2 { bottom: 250px; }
.fly { position: fixed; z-index: 60; width: 26px; pointer-events: none; animation: fly 1.1s var(--ease) forwards; }
@keyframes fly { from { transform: translate(-50%, 0) rotate(0); opacity: 1; } to { transform: translate(calc(-50% + var(--dx, 0px)), -170px) rotate(var(--rot, 20deg)); opacity: 0; } }
@keyframes pulse { 50% { transform: scale(1.06); } }
.mv.is-beat .mv__s1, .mv.is-beat .mv__s3 { animation: pulse .25s ease-out; }

@media (min-width: 700px) {
  .keys .key:nth-child(n+14) { display: block; }
  .keys .key:nth-child(n+26) { display: none; }
  .keys { height: 150px; }
  .key--b::before { left: -15px; width: 30px; height: 90px; }
  .key--b.is-down::before, .key--b:active::before { height: 85px; }
}
@media (min-width: 1000px) {
  .mv { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto auto; align-items: end; min-height: clamp(620px, calc(100vh - 110px), 860px); padding: 0; }
  .mv__text { grid-column: 1; grid-row: 1; width: auto; padding: 40px 0 0 max(36px, calc(50vw - 560px)); }
  .mv__btns { grid-column: 1; grid-row: 2; order: 0; margin: 30px 0 46px; padding: 0 0 0 max(36px, calc(50vw - 560px)); }
  .mv__photo { order: 0; top: calc(50% - 96px); width: min(36vw, 560px); margin: 0; right: 7%; }
  .mv__keys { grid-column: 1 / -1; grid-row: 3; order: 0; margin: 0; }
  .mv__try { position: absolute; left: max(36px, calc(50vw - 560px)); top: -44px; padding: 0; gap: 14px; }
  .mv__try b { font-size: 16px; padding: 5px 18px; }
  .mv__try span { font-size: 14.5px; }
  .mv__try small { display: inline; font-size: 13px; color: var(--sub); }
  .mv__btns { margin-bottom: 78px; }
  .keys { height: 170px; max-width: none; }
  .key--w { margin: 0 2px; border-radius: 0 0 12px 12px; }
  .key--b::before { left: -18px; width: 36px; height: 104px; }
  .key--b.is-down::before, .key--b:active::before { height: 98px; }
  .mv__s1 { top: 3%; }
  .mv__s2 { bottom: 150px; right: 36%; }
  .mv__s3 { bottom: 200px; }
  .mv__s4 { top: 14%; }
  .mv__n3 { bottom: 240px; }
}
@media (min-width: 1300px) {
  .keys .key:nth-child(n+26) { display: block; }
  .keys { height: 190px; }
  .key--b::before { height: 116px; }
  .key--b.is-down::before, .key--b:active::before { height: 110px; }
}
@media (min-width: 1000px) {
  .mv__s2 { right: 31%; width: min(17vw, 280px); height: min(17vw, 280px); }
}

/* ===== columns ===== */
.posts { display: grid; gap: 16px; }
.posts a { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: center; padding: 14px; border: 2px solid var(--ink); border-radius: 22px; background: #fff; text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.posts a:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--y); }
.posts__photo { border-radius: 50%; overflow: hidden; }
.posts__photo img { width: 110px; height: 110px; object-fit: cover; }
.posts__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0 !important; line-height: 1.6; }
.posts__meta time { font-family: var(--en); font-size: 13px; font-weight: 700; color: var(--r); }
.posts__meta span { padding: 0 12px; border-radius: 99px; background: var(--g); color: #fff; font-size: 12px; font-weight: 700; }
.posts h3 { margin-top: 4px; font-size: 16px; font-weight: 900; line-height: 1.6; }
.prose__title { margin: 8px 0 24px; font-size: 26px; font-weight: 900; line-height: 1.55; }
.prose__photo { border-radius: 30px; }
.prose__photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.prose > p, .prose > ul, .prose > ol, .prose > .table-wrap { margin-top: 1.3em; }
.prose > ul:not(.posts) { padding: 20px 22px; border-radius: 22px; background: var(--tint); }
.prose > ul:not(.posts) li { position: relative; padding: 4px 0 4px 24px; line-height: 1.8; }
.prose > ul:not(.posts) li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 10px; height: 10px; border-radius: 50%; background: var(--r); }
.prose > ul:not(.posts) li:nth-child(3n+2)::before { background: var(--g); }
.prose > ul:not(.posts) li:nth-child(3n)::before { background: #e5a900; }
.table-wrap { overflow-x: auto; }
.prose table { min-width: 460px; border: 2px solid var(--ink); border-radius: 16px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 14.5px; line-height: 1.7; }
.prose tr:last-child td { border-bottom: 0; }
.prose th { background: var(--ink); color: #fff; font-weight: 700; white-space: nowrap; }
.prose td:first-child { background: var(--tint); font-weight: 900; white-space: nowrap; }
.toc { margin-top: 34px; padding: 24px 24px 22px; border: 2px solid var(--ink); border-radius: 26px; box-shadow: 8px 8px 0 var(--g); background: #fff; }
.toc p { font-weight: 900; font-size: 18px; margin-bottom: 8px; }
.toc ol { padding-left: 1.5em; list-style: decimal; font-size: 14.5px; line-height: 1.7; }
.toc li { padding: 4px 0; }
.toc li::marker { font-family: var(--en); font-weight: 700; color: var(--r); }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.acta { position: relative; overflow: hidden; margin-top: 50px; padding: 34px 24px 32px; border-radius: 30px; background: var(--r); color: #fff; text-align: center; }
.acta::before { content: ""; position: absolute; left: -50px; top: -60px; width: 150px; height: 150px; border-radius: 50%; background: var(--y); }
.acta > * { position: relative; }
.acta__n { position: absolute; right: 22px; top: 18px; width: 28px; color: var(--ink); animation: bob 4s ease-in-out infinite; }
.acta__ttl { font-size: 20px; font-weight: 900; line-height: 1.6; margin-bottom: 6px; }
.acta p { font-size: 14px; }
.acta__btns { display: grid; gap: 14px; justify-content: center; margin: 20px 0 16px; }
.acta__tel { font-family: var(--en); font-size: 32px; font-weight: 800; text-decoration: none; line-height: 1.2; }
.refs { margin-top: 50px; padding-top: 18px; border-top: 2px dotted var(--ink); font-size: 13px; line-height: 1.8; }
.refs p { font-weight: 900; margin-bottom: 4px; }
.refs a { color: var(--sub); word-break: break-all; }
.author { display: flex; gap: 18px; align-items: center; margin-top: 40px; padding: 22px; border-radius: 26px; background: #d6f3ef; }
.author__photo { flex: none; }
.author__photo img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.author__role { font-size: 12.5px; font-weight: 700; color: var(--r); }
.author__name { margin: 0 !important; font-size: 20px; font-weight: 900; }
.author__name small { margin-left: 12px; font-size: 12.5px; font-weight: 500; color: var(--sub); }
.author p:last-child { margin-top: 4px; font-size: 13.5px; line-height: 1.8; }
@media (min-width: 700px) {
  .acta__btns { grid-template-columns: auto auto; }
}
@media (min-width: 1000px) {
  .posts a { grid-template-columns: 170px 1fr; gap: 32px; padding: 22px 30px 22px 22px; border-radius: 30px; }
  .posts__photo img { width: 170px; height: 170px; }
  .posts__meta time { font-size: 15px; }
  .posts__meta span { font-size: 13.5px; }
  .posts h3 { font-size: 23px; }
  .prose__title { font-size: 40px; margin-bottom: 36px; }
  .prose th, .prose td { font-size: 16px; padding: 15px 20px; }
  .toc { padding: 34px 40px; }
  .toc ol { font-size: 16.5px; }
  .acta { padding: 56px 40px 50px; border-radius: 44px; }
  .acta::before { width: 240px; height: 240px; left: -70px; top: -90px; }
  .acta__ttl { font-size: 28px; }
  .acta p { font-size: 16.5px; }
  .acta__tel { font-size: 46px; }
  .acta__n { width: 46px; right: 50px; top: 36px; }
  .author { padding: 32px 38px; gap: 30px; }
  .author__photo img { width: 140px; height: 140px; }
  .author__name { font-size: 24px; }
  .author p:last-child { font-size: 15.5px; }
}
.acta .acta__ttl { font-size: 20px; }
@media (min-width: 1000px) { .acta .acta__ttl { font-size: 28px; } }
