/*
Theme Name: Graffer
Theme URI: https://graffer-skate.com/
Author: RESUNCE
Description: Graffer root site theme. Matches the resunce-school design system.
Version: 1.5.0
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: graffer
*/

:root {
	--acid: #E1FF02;
	--ink: #000;
	--white: #FFF;
	--paper: #EEEEEE;
	--line: #D9D9D9;
	--mute: #666;
	--mute-dark: #b4b4ad;
	--en: "Outfit", sans-serif;
	--jp: YakuHanJPs_Noto, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
	--wrap: 1180px;
	--gut: 24px;
	--r: 12px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	overflow-x: hidden;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--jp);
	font-weight: 400;
	font-size: 15px;
	line-height: 1.8;
	letter-spacing: 0;
	font-feature-settings: "palt";
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

:focus-visible { outline: 3px solid var(--acid); outline-offset: 2px; }

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gut);
}

.skip { position: absolute; left: -9999px; }
.skip:focus {
	left: 12px; top: 12px; z-index: 999;
	background: var(--acid); padding: 8px 16px;
}

/* ---------- header ---------- */

.hdr {
	position: sticky; top: 0; z-index: 60;
	background: var(--ink); color: var(--white);
}
.hdr__inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 20px; padding: 14px 16px 14px 30px;
}
.hdr__logo { display: flex; align-items: baseline; gap: 16px; }
.hdr__logo-mark {
	font-family: var(--en); font-weight: 700; font-size: 42px; letter-spacing: 0.01em; line-height: 1;
	width: auto; height: 44px;
}
.hdr__logo-sub { font-size: 15px; font-weight: 700; color: var(--white); letter-spacing: 0.01em; white-space: nowrap; }

.hdr__actions { display: flex; align-items: center; gap: 10px; }

.pill {
	display: inline-flex; align-items: center; gap: 12px;
	background: #1c1c1c; color: var(--white);
	border: 1px solid #3a3a3a; border-radius: 999px;
	padding: 9px 10px 9px 20px;
	font-size: 12px; font-weight: 700; white-space: nowrap;
	transition: background-color 0.3s, color 0.3s;
}
.pill::after {
	content: ""; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%;
	background: var(--acid) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / 13px 13px no-repeat;
}
.pill:hover { background: var(--acid); color: var(--ink); border-color: var(--acid); }
.pill:hover::after { background-color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E1FF02' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E"); }

.hdr__menu {
	width: 60px; height: 42px; border: 0; border-radius: 10px;
	background: var(--acid); cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center;
}
.hdr__menu-bars { display: block; width: 22px; }
.hdr__menu-bars span {
	display: block; height: 2px; background: var(--ink); border-radius: 2px;
	transition: transform 0.25s ease, opacity 0.25s ease;
}
.hdr__menu-bars span + span { margin-top: 6px; }
.hdr__menu.is-open .hdr__menu-bars span:first-child { transform: translateY(4px) rotate(45deg); }
.hdr__menu.is-open .hdr__menu-bars span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- drawer ---------- */

.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer[hidden] { display: none !important; }
.drawer__scrim {
	position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6);
	opacity: 0; transition: opacity 0.3s ease;
}
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0;
	width: min(460px, 92vw);
	background: var(--ink); color: var(--white);
	padding: 20px 26px 48px;
	overflow-y: auto; overscroll-behavior: contain;
	transform: translateX(100%); transition: transform 0.3s ease;
}
.drawer.is-open .drawer__panel { transform: none; }

.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.drawer__logo { font-family: var(--en); font-weight: 700; font-size: 30px; line-height: 1; }
.drawer__logo img { height: 32px; width: auto; }
.drawer__close {
	width: 42px; height: 42px; border: 0; border-radius: 10px;
	background: var(--acid); cursor: pointer; position: relative;
}
.drawer__close::before,
.drawer__close::after {
	content: ""; position: absolute; left: 11px; top: 20px;
	width: 20px; height: 2px; background: var(--ink);
}
.drawer__close::before { transform: rotate(45deg); }
.drawer__close::after { transform: rotate(-45deg); }

.drawer__cta { display: grid; gap: 10px; margin-bottom: 28px; }
.drawer__cta .btn { min-width: 0; width: 100%; }

.drawer__list { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid #333; }
.drawer__list li { border-bottom: 1px solid #333; }
.drawer__list a {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 16px 2px;
}
.drawer__txt { display: flex; align-items: baseline; gap: 12px; }
.drawer__txt span:first-child { font-size: 16px; font-weight: 700; }
.drawer__txt span:last-child {
	font-family: var(--en); font-size: 11px; font-weight: 500;
	letter-spacing: 0.1em; color: var(--acid);
}
.drawer__arrow {
	flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
	background: var(--acid) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
}

.drawer__group { border: 0; }
.drawer__group > summary {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 16px 2px; cursor: pointer; list-style: none;
}
.drawer__group > summary::-webkit-details-marker { display: none; }
.drawer__toggle {
	position: relative; flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
	background: var(--acid);
}
.drawer__toggle::before,
.drawer__toggle::after {
	content: ""; position: absolute; left: 50%; top: 50%;
	background: var(--ink); transform: translate(-50%, -50%);
	transition: opacity 0.2s ease;
}
.drawer__toggle::before { width: 12px; height: 2px; }
.drawer__toggle::after { width: 2px; height: 12px; }
.drawer__group[open] > summary .drawer__toggle::after { opacity: 0; }

.drawer__sub { list-style: none; margin: 0 0 8px; padding: 0 0 0 14px; border-left: 2px solid #333; }
.drawer__sub li { border: 0; }
.drawer__sub a { padding: 12px 2px; }
.drawer__sub .drawer__txt span:first-child { font-size: 15px; font-weight: 500; }
.drawer__sub .drawer__arrow { width: 20px; height: 20px; background-size: 12px 12px; }

.drawer__foot .btn { width: 100%; min-width: 0; }
.drawer__sns {
	display: flex; flex-wrap: wrap; gap: 10px; list-style: none;
	margin: 22px 0 0; padding: 0;
	font-family: var(--en); font-size: 11px; letter-spacing: 0.1em; font-weight: 600;
}
.drawer__sns a {
	display: inline-block; border: 1px solid #3a3a3a; border-radius: 999px; padding: 7px 16px;
}
.drawer__sns a:hover { background: var(--acid); color: var(--ink); border-color: var(--acid); }

/* ---------- buttons (btnType01 / btnType02 equivalent) ---------- */

.btn {
	display: inline-flex; align-items: center; justify-content: space-between;
	gap: 20px;
	min-width: 280px;
	padding: 16px 20px 16px 28px;
	border-radius: var(--r);
	background: var(--ink);
	color: var(--white);
	border: 2px solid var(--ink);
	font-size: 15px; font-weight: 700;
	transition: background-color 0.3s, color 0.3s;
}
.btn::after {
	content: "";
	flex: 0 0 auto;
	width: 24px; height: 24px; border-radius: 50%;
	background: var(--acid) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
}
.btn:hover { background: var(--acid); color: var(--ink); }
.btn:hover::after { background-color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E1FF02' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E"); }

.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--acid); }

.btn--onink { background: transparent; color: var(--white); border-color: var(--white); }
.btn--onink:hover { background: var(--acid); color: var(--ink); border-color: var(--acid); }

/* ---------- key visual ---------- */

.kv { background: var(--ink); }
.kv__stage { position: relative; }
.kv__media {
	width: 100%;
	aspect-ratio: 16 / 9;
	max-height: 76vh;
	overflow: hidden;
}
.kv__media img { width: 100%; height: 100%; object-fit: cover; }

.kv__copy {
	position: absolute;
	left: clamp(16px, 4vw, 56px);
	bottom: clamp(20px, 4vw, 48px);
	max-width: min(92vw, 760px);
}
.kv__lead {
	display: inline-block;
	background: var(--acid); color: var(--ink);
	font-size: clamp(15px, 2.1vw, 24px); font-weight: 700;
	padding: 2px 14px 4px; margin: 0 0 10px;
	line-height: 1.5;
}
.kv__title { margin: 0; display: grid; justify-items: start; gap: 6px; }
.kv__line {
	display: inline-block;
	font-family: var(--en); font-weight: 700;
	font-size: clamp(34px, 6.6vw, 82px);
	line-height: 1.05; letter-spacing: -0.01em;
	padding: 6px 18px 10px;
}
.kv__line--light { background: var(--paper); color: var(--ink); }
.kv__line--dark { background: var(--ink); color: var(--white); }
.kv__line--dark em { font-style: normal; color: var(--acid); }

.kv__foot { background: var(--ink); color: var(--white); padding: 34px 0 44px; }
.kv__note { margin: 0 0 26px; max-width: 56ch; color: var(--mute-dark); font-size: 15px; }
.kv__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- eyebrow chip / cta row ---------- */

.eyebrow {
	display: inline-block;
	font-family: var(--en); font-weight: 500; font-size: 12px; letter-spacing: 0.06em;
	background: var(--acid); color: var(--ink);
	border-left: 4px solid var(--white);
	padding: 0 6px 0 8px; margin: 0 0 22px; line-height: 1.9;
}
.sec .eyebrow, .sec--white .eyebrow { border-left-color: var(--ink); }

.ctarow { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ---------- sections ---------- */

.sec { padding-block: clamp(56px, 8vw, 100px); scroll-margin-top: 90px; }
.sec--white { background: var(--white); }
.sec--ink { background: var(--ink); color: var(--white); }

.sechead { position: relative; padding-bottom: 26px; margin: 0 0 44px; }
.sechead::before {
	content: ""; display: block; width: 100%; height: 1px;
	background: linear-gradient(to right, var(--ink), var(--paper));
	position: absolute; bottom: 1px; left: 0;
}
.sec--ink .sechead::before { background: linear-gradient(to right, var(--white), var(--ink)); }
.sec--white .sechead::before { background: linear-gradient(to right, var(--ink), var(--white)); }
.sechead::after {
	content: ""; display: block; width: 24px; height: 4px;
	background: var(--ink); position: absolute; bottom: 0; left: 0;
}
.sec--ink .sechead::after { background: var(--acid); }

.sechead__en {
	display: inline-block;
	font-family: var(--en); font-weight: 500; font-size: 12px;
	background: var(--acid); color: var(--ink);
	border-left: 4px solid var(--ink);
	padding: 0 3px 0 6px; line-height: 1.9;
}
.sec--ink .sechead__en { border-left-color: var(--white); }
.sechead__ja { font-weight: 700; font-size: clamp(26px, 4.2vw, 44px); line-height: 1.3; margin: 16px 0 0; }
.sechead__note { margin: 16px 0 0; font-size: 15px; color: var(--mute); max-width: 62ch; }
.sec--ink .sechead__note { color: var(--mute-dark); }

/* ---------- statement ---------- */

.stmt {
	margin: 0 0 34px;
	font-size: clamp(28px, 5vw, 54px);
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.01em;
}
.stmt__body { max-width: 62ch; }
.stmt__body p { margin: 0 0 1.5em; font-size: 16px; line-height: 1.95; }
.stmt__body p:last-child { margin-bottom: 0; }

/* ---------- cards ---------- */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
	background: var(--white); border: 2px solid var(--ink); border-radius: var(--r);
	padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 8px;
	transition: background-color 0.3s;
}
.card:hover { background: var(--acid); }
.card--static { cursor: default; }
.card--static:hover { background: var(--white); }
.card__no { font-family: var(--en); font-weight: 600; font-size: 12px; letter-spacing: 0.16em; }
.card__title { font-size: 19px; font-weight: 700; margin: 0; line-height: 1.5; }
.card__desc { font-size: 14px; margin: 0; line-height: 1.8; }
.card__go {
	margin-top: auto; padding-top: 18px;
	display: flex; align-items: center; gap: 8px;
	font-family: var(--en); font-weight: 600; font-size: 12px; letter-spacing: 0.1em;
}
.card__go::after {
	content: ""; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--ink);
	background: var(--acid) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}
.card:hover .card__go::after { background-color: var(--white); }

/* ---------- taxonomy nav ---------- */

.taxnav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 34px; }
.taxnav__item {
	display: inline-flex; align-items: center; gap: 8px;
	border: 2px solid var(--ink); border-radius: 999px;
	padding: 8px 18px; font-size: 14px; font-weight: 700;
	transition: background-color 0.25s;
}
.taxnav__item span { font-family: var(--en); font-size: 12px; font-weight: 600; color: var(--mute); }
.taxnav__item:hover { background: var(--acid); }
.taxnav__item.is-current { background: var(--ink); color: var(--white); }
.taxnav__item.is-current span { color: var(--acid); }

/* ---------- list ---------- */

.list { display: grid; }
.item {
	display: grid; grid-template-columns: 200px 1fr auto;
	gap: 24px; align-items: baseline; padding: 20px 4px;
	border-bottom: 1px solid var(--line);
}
.sec--ink .item { border-bottom-color: #333; }
.item:hover .item__title { text-decoration: underline; text-underline-offset: 4px; }
.item__meta { display: flex; gap: 12px; align-items: baseline; font-family: var(--en); font-size: 13px; }
.item__tag { white-space: nowrap; background: var(--acid); color: var(--ink); font-size: 11px; letter-spacing: 0.06em; padding: 1px 8px; font-weight: 600; }
.item__title { font-size: 16px; font-weight: 500; margin: 0; }
.item__date { font-family: var(--en); font-size: 13px; letter-spacing: 0.02em; white-space: nowrap; }
.item__tag--now { background: var(--acid); }
.item__tag--upcoming { background: var(--white); color: var(--ink); border: 1px solid var(--ink); }
.sec--ink .item__tag--upcoming { background: transparent; color: var(--white); border-color: var(--white); }
.item__tag--past { background: transparent; color: var(--mute); border: 1px solid var(--line); }
.sec--ink .item__tag--past { color: var(--mute-dark); border-color: #444; }
.item__go { font-family: var(--en); font-size: 12px; letter-spacing: 0.1em; }

.item--stack { grid-template-columns: 1fr; gap: 6px; padding: 16px 2px; }
.item--stack .item__title { font-size: 15px; line-height: 1.7; }

.morelink {
	display: inline-flex; align-items: center; gap: 10px; margin-top: 34px;
	font-family: var(--en); font-weight: 600; font-size: 13px; letter-spacing: 0.08em;
}
.morelink::after {
	content: ""; width: 22px; height: 22px; border-radius: 50%;
	background: var(--acid) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / 13px 13px no-repeat;
}

/* ---------- split / checks ---------- */

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.split > div > .sechead { margin-bottom: 24px; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { padding: 13px 0 13px 30px; border-bottom: 1px solid var(--line); position: relative; font-size: 15px; }
.sec--ink .checks li { border-bottom-color: #333; }
.checks a { text-decoration: underline; text-underline-offset: 3px; }
.checks a:hover { color: var(--acid); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 14px; height: 4px; background: var(--acid); }

/* ---------- compare ---------- */

.compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.compare__col {
	background: var(--white); border: 2px solid var(--ink); border-radius: var(--r);
	padding: 30px 26px 32px; display: flex; flex-direction: column; gap: 6px;
}
.compare__label {
	display: inline-block; align-self: flex-start;
	font-family: var(--en); font-weight: 500; font-size: 12px;
	background: var(--acid); border-left: 4px solid var(--ink);
	padding: 0 3px 0 6px; line-height: 1.9;
}
.compare__title { font-size: 24px; font-weight: 700; margin: 12px 0 0; }
.compare__lede { margin: 0 0 12px; font-size: 15px; }
.compare .checks { margin-bottom: 26px; }
.compare .btn { align-self: flex-start; margin-top: auto; min-width: 0; }

/* ---------- faq ---------- */

.faq { border-top: 2px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { list-style: none; cursor: pointer; padding: 22px 46px 22px 0; font-size: 17px; font-weight: 700; position: relative; line-height: 1.6; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
	content: ""; position: absolute; right: 6px; top: 26px;
	width: 26px; height: 26px; border-radius: 50%;
	background: var(--acid) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 15px 15px no-repeat;
	transition: transform 0.25s ease;
}
.faq__item[open] .faq__q::after { transform: rotate(180deg); }
.faq__a { padding: 0 0 26px; max-width: 66ch; }
.faq__a p { margin: 0; font-size: 15px; }

/* ---------- details (WP details block) inside prose ---------- */

.prose details, .prose .wp-block-details {
	border-bottom: 1px solid var(--line);
	margin: 0;
	padding: 0;
}
.prose details:first-of-type, .prose .wp-block-details:first-of-type { border-top: 2px solid var(--ink); }
.prose summary {
	list-style: none; cursor: pointer;
	padding: 22px 46px 22px 0;
	font-size: 17px; font-weight: 700; line-height: 1.6;
	position: relative;
}
.prose summary::-webkit-details-marker { display: none; }
.prose summary::after {
	content: ""; position: absolute; right: 6px; top: 26px;
	width: 26px; height: 26px; border-radius: 50%;
	background: var(--acid) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 15px 15px no-repeat;
	transition: transform 0.25s ease;
}
.prose details[open] summary::after { transform: rotate(180deg); }
.prose details > *:not(summary) { max-width: 66ch; }
.prose details > p:last-child { margin-bottom: 26px; }

/* ---------- steps ---------- */

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 26px 54px; font-size: 15px; color: var(--mute-dark); line-height: 1.85; }
.steps li::before {
	content: counter(step, decimal-leading-zero);
	position: absolute; left: 0; top: 1px;
	font-family: var(--en); font-weight: 600; font-size: 14px;
	background: var(--acid); color: var(--ink); padding: 0 5px;
}
.steps li::after { content: ""; position: absolute; left: 15px; top: 30px; bottom: 8px; width: 1px; background: #333; }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps strong { display: block; color: var(--white); font-size: 16px; font-weight: 700; margin-bottom: 2px; }

/* ---------- page key visual ---------- */

.pagekv { background: var(--ink); position: relative; }
.pagekv__media { width: 100%; aspect-ratio: 21 / 9; max-height: 52vh; overflow: hidden; }
.pagekv__media img { width: 100%; height: 100%; object-fit: cover; }
.pagekv__copy {
	position: absolute;
	left: clamp(16px, 4vw, 56px);
	bottom: clamp(20px, 3vw, 40px);
	max-width: min(92vw, 760px);
}
.pagekv__copy .eyebrow { margin-bottom: 12px; border-left-color: var(--white); }
.pagekv__copy > .pagekv__title:only-child { margin: 0; }
.pagekv__title {
	display: inline-block; margin: 0;
	background: var(--ink); color: var(--white);
	font-size: clamp(26px, 4.6vw, 48px); font-weight: 700; line-height: 1.3;
	padding: 6px 18px 8px;
}

/* ---------- page title / breadcrumb / prose ---------- */

.pagettl { background: var(--ink); color: var(--white); padding-block: clamp(48px, 7vw, 88px); }
.pagettl h1 { font-size: clamp(28px, 4.6vw, 48px); margin: 0; line-height: 1.35; font-weight: 700; }

.breadcrumb { background: var(--white); border-bottom: 1px solid var(--line); }
.breadcrumb ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 12px 0; font-size: 12px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line); }

.prose--wide { max-width: 100%; }
.prose:has(> .gpark), .prose:has(> .gtrial) { max-width: none; }
.prose {
	max-width: 760px;
	margin-inline: auto;
	font-size: 16px;
	line-height: 1.95;
}
.prose > *:first-child { margin-top: 0; }
.prose > *:last-child { margin-bottom: 0; }
.prose p { margin: 0 0 1.6em; }
.prose h1 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 700; line-height: 1.4; margin: 0 0 1em; }
.prose h2 {
	position: relative; font-size: clamp(21px, 2.8vw, 26px); font-weight: 700; line-height: 1.5;
	margin: 2.6em 0 0.9em; padding-bottom: 16px;
}
.prose h2::before {
	content: ""; position: absolute; left: 0; bottom: 1px; width: 100%; height: 1px;
	background: linear-gradient(to right, var(--ink), rgba(0, 0, 0, 0));
}
.prose h2::after {
	content: ""; position: absolute; left: 0; bottom: 0; width: 24px; height: 4px; background: var(--ink);
}
.prose h3 {
	font-size: 19px; font-weight: 700; line-height: 1.6; margin: 2.2em 0 0.7em;
	padding-left: 14px; border-left: 5px solid var(--acid);
}
.prose h4 { font-size: 17px; font-weight: 700; margin: 1.8em 0 0.6em; }
.prose ul, .prose ol { margin: 0 0 1.6em; padding-left: 0; list-style: none; }
.prose ol { counter-reset: pnum; }
.prose li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.prose ul > li::before {
	content: ""; position: absolute; left: 0; top: 13px; width: 12px; height: 4px; background: var(--acid);
}
.prose ol > li { counter-increment: pnum; }
.prose ol > li::before {
	content: counter(pnum) "."; position: absolute; left: 0; top: 0;
	font-family: var(--en); font-weight: 600; font-size: 15px;
}
.prose img { border-radius: 12px; margin: 0 auto 1.8em; }
.prose figure { margin: 0 0 1.8em; }
.prose figcaption { font-size: 13px; color: var(--mute); margin-top: 8px; text-align: center; }

/* consecutive images in one paragraph -> gallery grid */
.prose p:has(> img + img),
.prose p:has(> a + a):has(> a > img),
.prose .gfgrid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
	gap: 12px;
	margin: 0 0 1.8em;
	align-items: start;
}
.prose p:has(> img + img) > img,
.prose p:has(> a + a):has(> a > img) > a,
.prose .gfgrid > a,
.prose .gfgrid > img { margin: 0; display: block; }
.prose p:has(> img + img) img,
.prose p:has(> a + a):has(> a > img) img,
.prose .gfgrid img {
	margin: 0;
	width: 100%;
	height: auto;
	aspect-ratio: auto;
	object-fit: contain;
	border-radius: 10px;
}
.prose p:has(> a + a):has(> a > img) a:hover img,
.prose .gfgrid a:hover img { opacity: .82; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.6em 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { background: var(--acid); }
.prose strong { font-weight: 700; }
.prose blockquote {
	margin: 0 0 1.6em; padding: 4px 0 4px 22px; border-left: 5px solid var(--acid);
	font-size: 15px;
}
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.6em; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; }
.prose th { background: #F4F4F1; font-weight: 700; }

/* ---------- terms table ---------- */

.terms { margin: 0; border-top: 2px solid var(--ink); }
.terms div {
	display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px;
	padding: 18px 4px; border-bottom: 1px solid var(--line);
}
.terms dt { margin: 0; font-weight: 700; font-size: 15px; }
.terms dd { margin: 0; font-size: 15px; line-height: 1.9; }

/* ---------- event cards ---------- */

.evlist { display: grid; gap: 18px; }
.evcard {
	display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 0;
	background: var(--white); border: 2px solid var(--ink); border-radius: 14px;
	overflow: hidden; transition: background-color 0.3s;
}
.evcard:hover { background: var(--acid); }
.evcard__thumb { display: block; background: var(--paper); aspect-ratio: 4 / 3; overflow: hidden; }
.evcard__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.evcard--nothumb { grid-template-columns: 1fr; }
.evcard__body { display: flex; flex-direction: column; padding: 26px 30px 28px; }
.evcard__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.evcard__badge {
	display: inline-block; white-space: nowrap;
	font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
	padding: 3px 12px; border: 1px solid var(--ink); border-radius: 999px;
}
.evcard--now .evcard__badge { background: var(--acid); }
.evcard--now:hover .evcard__badge { background: var(--white); }
.evcard--past .evcard__badge { color: var(--mute); border-color: var(--line); }
.evcard__date { font-family: var(--en); font-size: 15px; font-weight: 600; white-space: nowrap; letter-spacing: 0.02em; }
.evcard__title { font-size: 19px; font-weight: 700; line-height: 1.6; }
.evcard__lede { margin-top: 10px; font-size: 14px; color: var(--mute); line-height: 1.8; }
.evcard__go {
	margin-top: auto; padding-top: 20px;
	display: flex; align-items: center; gap: 10px;
	font-family: var(--en); font-weight: 600; font-size: 12px; letter-spacing: 0.1em;
}
.evcard__go::after {
	content: ""; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--ink);
	background: var(--acid) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}
.evcard:hover .evcard__go::after { background-color: var(--white); }

/* ---------- event box ---------- */

.evbox { border: 2px solid var(--ink); border-radius: 12px; padding: 26px 28px 28px; }
.evbox__ttl {
	display: inline-block; margin: 0 0 18px !important;
	background: var(--acid); color: var(--ink);
	font-size: 13px; font-weight: 700; padding: 2px 12px; line-height: 1.7;
}
.evbox__dl { margin: 0; font-size: 15px; }
.evbox__dl div { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 11px 0; border-top: 1px solid var(--line); }
.evbox__dl div:first-of-type { border-top: 0; padding-top: 0; }
.evbox__dl dt { margin: 0; color: var(--mute); font-size: 14px; }
.evbox__dl dd { margin: 0; }

/* ---------- access / venue ---------- */

.venue {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	background: var(--white); border-radius: 12px; overflow: hidden;
	box-shadow: 0 2px 24px rgba(0, 0, 0, 0.07);
	margin: 0 clamp(0px, 3vw, 44px);
	position: relative; z-index: 2;
}
.venue__map { aspect-ratio: 1 / 1; min-width: 0; background: var(--paper); }
.venue__map iframe { width: 100%; height: 100%; border: 0; display: block; }

.venue__body { min-width: 0; padding: 40px 44px 56px; }
.venue__area {
	display: inline-block; margin: 0 0 14px;
	background: var(--ink); color: var(--white);
	font-size: 15px; font-weight: 700; padding: 3px 16px; line-height: 1.7;
	border-radius: 4px;
}
.venue__name { margin: 0; font-size: clamp(26px, 3.2vw, 36px); font-weight: 700; line-height: 1.2; }
.venue__en {
	display: inline-block; margin: 12px 0 0;
	font-family: var(--en); font-weight: 600; font-size: 13px; letter-spacing: 0.04em;
	background: var(--acid); padding: 1px 6px; line-height: 1.6;
}

.venue__rows { list-style: none; margin: 26px 0 0; padding: 26px 0 0; border-top: 1px solid #ECECE7; }
.venue__rows li {
	display: grid; grid-template-columns: 22px auto 1fr; gap: 14px; align-items: center;
	word-break: auto-phrase;
	background: #F4F4F1; border-radius: 6px; padding: 13px 18px; margin-bottom: 8px;
	font-size: 15px;
}
.venue__rows b { font-weight: 700; }
.venue__rows a { text-decoration: underline; text-underline-offset: 3px; }

.venue__ico {
	width: 22px; height: 22px; display: block;
	background-repeat: no-repeat; background-position: center; background-size: 20px 20px;
}
.venue__ico--pin { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12S4 16 4 10a8 8 0 0116 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.venue__ico--cal { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.venue__ico--tel { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3h4l2 5-3 2a13 13 0 006 6l2-3 5 2v4a2 2 0 01-2 2A17 17 0 013 5a2 2 0 012-2z'/%3E%3C/svg%3E"); }
.venue__ico--mail { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E"); }

.venue__note {
	margin: 18px 0 0; font-size: 15px;
	word-break: auto-phrase;
	overflow-wrap: anywhere;
	line-break: strict;
}
.venue__note + .venue__note { margin-top: 10px; }

.venue__routes {
	list-style: none; margin: -28px 0 0; padding: 62px 40px 44px;
	background: var(--ink); color: var(--white); border-radius: 16px;
	position: relative; z-index: 1;
}
.venue__routes li {
	width: fit-content; margin-inline: auto;
	position: relative; padding-left: 18px; font-size: 15px; line-height: 1.9;
}
.venue__routes li + li { margin-top: 6px; }
.venue__routes li::before { content: "・"; position: absolute; left: -2px; top: 0; }

/* ---------- footer ---------- */

.foot { background: var(--ink); color: var(--white); padding-block: 64px 36px; }
.foot__top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid #333; }
.foot__brand { font-family: var(--en); font-weight: 700; font-size: 38px; letter-spacing: 0.08em; line-height: 1; }
.foot__brand img { height: 40px; width: auto; }
.foot__brand::after { content: ""; display: block; width: 32px; height: 5px; background: var(--acid); margin-top: 12px; }
.foot__note { color: var(--mute-dark); font-size: 14px; margin: 18px 0 0; max-width: 34ch; }
.foot ul { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.foot li { padding: 6px 0; }
.foot a:hover { color: var(--acid); }
.foot__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; font-size: 12px; color: var(--mute-dark); }

/* ---------- contact form 7 ---------- */

.formwrap { max-width: 760px; }
.formwrap p { margin: 0 0 22px; }
.formwrap label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.formwrap .req {
	display: inline-block; margin-left: 10px; vertical-align: 2px;
	background: var(--acid); color: var(--ink);
	font-family: var(--en); font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
	padding: 1px 8px; line-height: 1.7;
}
.formwrap .opt {
	display: inline-block; margin-left: 10px; vertical-align: 2px;
	border: 1px solid var(--line); color: var(--mute);
	font-family: var(--en); font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
	padding: 0 8px; line-height: 1.8;
}

.formwrap input[type="text"],
.formwrap input[type="email"],
.formwrap input[type="tel"],
.formwrap select,
.formwrap textarea {
	width: 100%;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.7;
	color: var(--ink);
	background: var(--white);
	border: 2px solid var(--ink);
	border-radius: 10px;
	padding: 14px 16px;
	transition: box-shadow 0.2s, background-color 0.2s;
}
.formwrap textarea { min-height: 190px; resize: vertical; }
.formwrap select { appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px 18px; }
.formwrap input:focus,
.formwrap select:focus,
.formwrap textarea:focus { outline: 0; box-shadow: 0 0 0 4px var(--acid); }

.formwrap .wpcf7-list-item { margin: 0 22px 0 0; }
.formwrap .wpcf7-list-item-label { font-weight: 400; }

.formwrap input[type="submit"] {
	display: inline-block;
	min-width: 300px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	color: var(--white);
	background: var(--ink);
	border: 2px solid var(--ink);
	border-radius: 12px;
	padding: 17px 30px;
	cursor: pointer;
	transition: background-color 0.3s, color 0.3s;
}
.formwrap input[type="submit"]:hover { background: var(--acid); color: var(--ink); }
.formwrap input[type="submit"]:disabled { opacity: 0.5; cursor: default; }

.formwrap .wpcf7-not-valid-tip { color: #C62828; font-size: 13px; margin-top: 6px; font-weight: 700; }
.formwrap .wpcf7-not-valid { border-color: #C62828; background: #FFF6F6; }
.formwrap .wpcf7-response-output {
	margin: 26px 0 0 !important;
	border: 2px solid var(--ink) !important;
	border-radius: 10px;
	padding: 16px 18px !important;
	font-size: 15px;
}
.formwrap .wpcf7 form.sent .wpcf7-response-output { border-color: var(--ink) !important; background: var(--acid); }
.formwrap .wpcf7 form.invalid .wpcf7-response-output,
.formwrap .wpcf7 form.failed .wpcf7-response-output { border-color: #C62828 !important; color: #C62828; }
.formwrap .wpcf7-spinner { display: block; margin: 12px 0 0; }

.formwrap .privacy { font-size: 14px; color: var(--mute); }

@media screen and (max-width: 700px) {
	.formwrap input[type="submit"] { width: 100%; min-width: 0; }
}

/* ---------- lightbox ---------- */

.prose a[href$=".jpg"] img,
.prose a[href$=".jpeg"] img,
.prose a[href$=".png"] img,
.prose a[href$=".webp"] img,
.prose a[href$=".gif"] img { cursor: zoom-in; transition: opacity 0.2s ease; }
.prose a[href$=".jpg"]:hover img,
.prose a[href$=".jpeg"]:hover img,
.prose a[href$=".png"]:hover img,
.prose a[href$=".webp"]:hover img,
.prose a[href$=".gif"]:hover img { opacity: 0.82; }
.prose a[href$=".jpg"],
.prose a[href$=".jpeg"],
.prose a[href$=".png"],
.prose a[href$=".webp"],
.prose a[href$=".gif"] { text-decoration: none; background: none; }

.lb {
	position: fixed; inset: 0; z-index: 100;
	background: rgba(0, 0, 0, 0.92);
	display: flex; align-items: center; justify-content: center;
	padding: clamp(16px, 4vw, 56px);
	opacity: 0; pointer-events: none;
	transition: opacity 0.25s ease;
}
.lb[hidden] { display: none !important; }
.lb.is-open { opacity: 1; pointer-events: auto; }

.lb__figure {
	margin: 0; max-width: 100%; max-height: 100%;
	display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.lb__img {
	max-width: 100%;
	max-height: calc(100vh - clamp(96px, 16vw, 170px));
	width: auto; height: auto; display: block;
	border-radius: 4px;
	background: #111;
}
.lb__cap {
	color: var(--white); font-size: 13px; line-height: 1.7; text-align: center;
	max-width: 60ch;
}

.lb__close {
	position: absolute; top: clamp(12px, 2vw, 26px); right: clamp(12px, 2vw, 26px);
	width: 48px; height: 48px; border: 0; border-radius: 50%;
	background: var(--acid); cursor: pointer;
}
.lb__close::before,
.lb__close::after {
	content: ""; position: absolute; left: 14px; top: 23px;
	width: 20px; height: 2px; background: var(--ink);
}
.lb__close::before { transform: rotate(45deg); }
.lb__close::after { transform: rotate(-45deg); }

.lb__nav {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 48px; height: 48px; border: 0; border-radius: 50%;
	background: rgba(255, 255, 255, 0.12); cursor: pointer;
	transition: background-color 0.2s ease;
}
.lb__nav:hover { background: var(--acid); }
.lb__nav::before {
	content: ""; position: absolute; left: 50%; top: 50%;
	width: 12px; height: 12px;
	border-left: 2px solid var(--white); border-bottom: 2px solid var(--white);
}
.lb__nav:hover::before { border-color: var(--ink); }
.lb__nav--prev { left: clamp(8px, 2vw, 26px); }
.lb__nav--prev::before { transform: translate(-40%, -50%) rotate(45deg); }
.lb__nav--next { right: clamp(8px, 2vw, 26px); }
.lb__nav--next::before { transform: translate(-60%, -50%) rotate(-135deg); }

@media screen and (max-width: 700px) {
	.lb__close, .lb__nav { width: 42px; height: 42px; }
	.lb__close::before, .lb__close::after { left: 11px; top: 20px; width: 20px; }
	.lb__nav { top: auto; bottom: 14px; transform: none; }
	.lb__nav--prev { left: 14px; }
	.lb__nav--next { right: 14px; }
	.lb__img { max-height: calc(100vh - 190px); }
}

/* ---------- page top ---------- */

.pagetop {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 40;
	width: 64px;
	height: 64px;
	padding: 0;
	border: 2px solid var(--ink);
	border-radius: 50%;
	background: var(--acid);
	color: var(--ink);
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, background-color 0.3s, color 0.3s;
}
.pagetop.is-visible { opacity: 1; visibility: visible; transform: none; }
.pagetop:hover { background: var(--ink); color: var(--acid); }
.pagetop__arrow {
	width: 14px; height: 14px;
	border-left: 2px solid currentColor;
	border-top: 2px solid currentColor;
	transform: rotate(45deg);
	margin-top: 4px;
}
.pagetop__txt {
	font-family: var(--en); font-weight: 700; font-size: 9px;
	letter-spacing: 0.08em; line-height: 1.15; text-align: center;
}

/* ---------- pagination ---------- */

.page-numbers { display: inline-block; padding: 8px 14px; margin-right: 4px; border: 2px solid var(--ink); border-radius: 8px; font-family: var(--en); font-size: 14px; }
.page-numbers.current { background: var(--ink); color: var(--white); }
.page-numbers:hover { background: var(--acid); color: var(--ink); }

/* ---------- big background typography ---------- */

.sec, .hero { position: relative; overflow: hidden; }
.sec > .wrap, .hero > .wrap { position: relative; z-index: 1; }
.bigtype {
	position: absolute; left: -0.04em; bottom: 8%;
	font-family: var(--en); font-weight: 700;
	font-size: clamp(70px, 15vw, 210px);
	line-height: 0.8; letter-spacing: -0.01em;
	color: var(--white); opacity: 0.9;
	pointer-events: none; user-select: none; white-space: nowrap; z-index: 0;
}
.sec--white .bigtype { color: #F6F6F6; opacity: 1; }
.sec--ink .bigtype { color: #1B1B1B; opacity: 1; }
.bigtype--top { top: 6%; bottom: auto; }
.bigtype--right { left: auto; right: -0.04em; }

/* ---------- marker highlight in headings ---------- */

.sechead__ja mark {
	background: linear-gradient(transparent 58%, var(--acid) 58%);
	color: inherit; padding: 0 2px;
}
.sec--ink .sechead__ja mark {
	background: var(--acid);
	color: var(--ink);
	padding: 0 8px 2px;
}

/* ---------- responsive ---------- */

@media screen and (max-width: 1080px) {
	.hdr__logo-sub { display: none; }
	.pill { padding: 9px 10px 9px 16px; font-size: 11px; }
}

@media screen and (max-width: 900px) {
	.cards { grid-template-columns: repeat(2, 1fr); }
	.split, .venue, .foot__top, .compare { grid-template-columns: 1fr; }
	.terms div { grid-template-columns: 1fr; gap: 4px; padding: 16px 2px; }
	.terms dt { font-size: 13px; color: var(--mute); }
	.evcard { grid-template-columns: 1fr; }
	.evcard__thumb { aspect-ratio: 16 / 9; }
	.evcard__body { padding: 20px 20px 24px; }
	.evcard__title { font-size: 17px; }
	.evbox { padding: 20px 18px 22px; }
	.evbox__dl div { grid-template-columns: 1fr; gap: 2px; }
	.venue { margin: 0; }
	.venue__map { aspect-ratio: 4 / 3; }
	.venue__body { padding: 26px 20px 36px; }
	.venue__rows li { grid-template-columns: 20px 1fr; row-gap: 2px; padding: 12px 14px; }
	.venue__rows li b { grid-column: 2; font-size: 13px; color: var(--mute); }
	.venue__rows li > span:last-child { grid-column: 2; }
	.venue__routes { margin-top: -22px; padding: 46px 20px 28px; }
	.venue__routes li { width: auto; margin-inline: 0; }
	.item { grid-template-columns: 1fr; gap: 6px; padding: 16px 2px; }
	.item__go { display: none; }
	.hdr__inner { padding: 12px 12px 12px 16px; }
	.hdr__logo-mark { height: 30px; font-size: 28px; }
	.hdr__actions .pill { display: none; }
	.hdr__menu { width: 54px; height: 40px; }
	.kv__media { aspect-ratio: auto; max-height: none; }
	.kv__media img { height: auto; object-fit: contain; }
	.kv__copy { left: 12px; right: 12px; bottom: 12px; max-width: none; }
	.kv__title { gap: 4px; }
	.kv__foot { padding: 26px 0 34px; }
	.dl div { grid-template-columns: 92px 1fr; gap: 12px; }
	.pagekv__media { aspect-ratio: auto; max-height: none; }
	.pagekv__media img { height: auto; object-fit: contain; }
	.pagekv__copy { left: 12px; right: 12px; bottom: 12px; max-width: none; }
	.faq__q { font-size: 16px; padding-right: 40px; }
	.faq__q::after { width: 22px; height: 22px; right: 2px; top: 23px; background-size: 13px 13px; }
	.drawer__panel { width: 100%; padding: 16px 18px 44px; }
	.compare__col { padding: 24px 20px 26px; }
	.sec { padding-block: 48px; }
	.stmt { margin-bottom: 24px; }
	.sechead { margin-bottom: 32px; }
}

@media screen and (max-width: 700px) {
	.btn { min-width: 0; width: 100%; justify-content: space-between; padding: 15px 16px 15px 20px; font-size: 14px; }
	.ctarow, .kv__cta { gap: 10px; }
	.ctarow .btn, .kv__cta .btn { flex: 1 1 100%; }
	.compare .btn { width: 100%; }
	.bigtype { font-size: clamp(56px, 19vw, 110px); bottom: auto; top: 10px; }
	.sec > .wrap { padding-top: 24px; }
}

@media screen and (max-width: 560px) {
	.cards { grid-template-columns: 1fr; }
	.kv__lead { font-size: 15px; padding: 2px 10px 4px; }
	.kv__line { font-size: 30px; padding: 5px 12px 8px; }
	.foot__bottom { flex-direction: column; gap: 8px; }
	.foot { padding-block: 44px 28px; }
	.foot__top { gap: 26px; padding-bottom: 28px; }
	.prose { font-size: 15px; }
	.prose p:has(> img + img),
	.prose p:has(> a + a):has(> a > img),
	.prose .gfgrid { grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr)); gap: 10px; }
	.prose h2 { font-size: 20px; }
	.prose h3 { font-size: 17px; }
	.pagettl h1 { font-size: 26px; }
	.steps li { padding-left: 46px; }
	.page-numbers { padding: 7px 11px; }
	.taxnav { gap: 6px; margin-bottom: 26px; }
	.taxnav__item { padding: 7px 14px; font-size: 13px; }
	.pagetop { right: 14px; bottom: 14px; width: 52px; height: 52px; }
	.pagetop__arrow { width: 11px; height: 11px; }
	.pagetop__txt { font-size: 8px; }
	.breadcrumb ul { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { animation: none !important; transition: none !important; }
}
