/* ==========================================================================
   being design — main.css
   Editorial layout / content width 1000px / breakpoint 768px
   ========================================================================== */

/* Tokens
   ------------------------------------------------------------------------ */
:root {
	--c-paper: #fff;
	--c-off: #f4f6f7;
	--c-ice: #e2eff8;
	--c-blue: #2b84d2;
	--c-ink: #3b4248;
	--c-body: #555e66;
	--c-gray: #87929b;
	--c-lite: #dce2e6;
	--c-plan: #c9d6e0;

	--f-jp: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
	--f-en: "Geist", var(--f-jp);
	--f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", monospace;

	--content: 1000px;
	--gutter: clamp(20px, 5.5vw, 40px);
	--section: clamp(96px, 13vw, 140px);
	--header-h: 80px;

	--ease: cubic-bezier(0.76, 0, 0.24, 1);
	--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 767px) {
	:root { --header-h: 72px; }
}

/* Block theme: WordPress puts a 24px block gap between blocks in flow/constrained groups.
   The components below set their own spacing, so start from zero (same specificity, earlier
   in the file, so every component rule further down still wins).
   ------------------------------------------------------------------------ */
.wp-site-blocks > * { margin-block: 0; }
.l-main :where(.is-layout-constrained, .is-layout-flow, .is-layout-flex) > *,
.l-footer :where(.is-layout-constrained, .is-layout-flow, .is-layout-flex) > *,
.l-header :where(.is-layout-constrained, .is-layout-flow, .is-layout-flex) > * { margin-block-start: 0; margin-block-end: 0; }
.l-main > * { margin-block: 0; }

/* Base
   ------------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
	margin: 0;
	background: var(--c-paper);
	color: var(--c-ink);
	font-family: var(--f-jp);
	font-size: 16px;
	line-height: 2;
	letter-spacing: 0.02em;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
h1, h2, h3, h4, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 3px; }
[lang="en"] { font-family: var(--f-en); }

.u-sr {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
@media (max-width: 767px) { .u-pc { display: none; } }

.u-nowrap { display: inline-block; }
/* Japanese: break at phrase boundaries where supported (Chrome/Edge), avoid 1-char last lines elsewhere. */
h1, h2, h3, h4, .p-plan__lead, .p-plan__items li, .p-option__text, .p-point__items span, .p-style span, .c-work__title, .c-journal__title {
	word-break: auto-phrase; text-wrap: pretty;
}

.c-skip {
	position: absolute; left: 8px; top: -100px; z-index: 1000;
	padding: 12px 20px; background: var(--c-ink); color: #fff; font-size: 14px;
}
.c-skip:focus { top: 8px; }

/* Layout
   ------------------------------------------------------------------------ */
.l-container {
	width: 100%;
	max-width: calc(var(--content) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.l-main { padding-top: var(--header-h); }
.l-section { padding-block: var(--section); }
.l-section--off { background: var(--c-off); }
.l-section--ice { background: var(--c-ice); }

/* Header */
.l-header {
	position: fixed; inset: 0 0 auto; z-index: 100;
	background: var(--c-paper);
	transition: transform 0.3s var(--ease);
}
.l-header.is-hidden { transform: translateY(-100%); }
.l-header__inner {
	display: flex; align-items: center; gap: 24px;
	height: var(--header-h);
	position: relative;
}
.l-header__inner::after {
	content: ""; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0;
	height: 1px; background: var(--c-ink);
}
.l-header__logo { font-family: var(--f-en); font-size: 24px; letter-spacing: 0.06em; line-height: 1; }
.l-header__issue {
	flex: 1; text-align: center;
	font: 500 14px/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-gray);
}
.l-header__nav { display: flex; align-items: center; gap: 32px; }
.l-header__menu { display: none; }

.c-nav--header { display: flex; gap: 28px; }
.c-nav--header a,
.c-nav--footer a {
	font: 500 14px/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase;
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
	padding-bottom: 4px;
	transition: background-size 0.4s var(--ease);
}
.c-nav--header a:hover,
.c-nav--footer a:hover { background-size: 100% 1px; }

@media (max-width: 1023px) {
	.l-header__issue { display: none; }
	.l-header__nav { margin-left: auto; }
}
@media (max-width: 767px) {
	.l-header__nav { display: none; }
	.l-header__logo { margin-right: auto; }
	.l-header__menu {
		display: grid; place-content: center; gap: 8px;
		width: 56px; height: 56px; background: var(--c-ink);
	}
	.l-header__menu-bar {
		display: block; width: 24px; height: 1.5px; background: #fff;
		transition: transform 0.3s var(--ease);
	}
	.l-header__menu[aria-expanded="true"] .l-header__menu-bar:first-of-type { transform: translateY(4.75px) rotate(45deg); }
	.l-header__menu[aria-expanded="true"] .l-header__menu-bar:last-of-type { transform: translateY(-4.75px) rotate(-45deg); }
}

/* Drawer (SP menu) */
.c-drawer {
	position: fixed; inset: 0; z-index: 90;
	padding-top: var(--header-h);
	background: var(--c-paper);
	overflow-y: auto;
	opacity: 0; transition: opacity 0.3s var(--ease);
}
.c-drawer.is-open { opacity: 1; }
.c-drawer__inner { padding-block: 32px 48px; }
.c-drawer__label { font: 500 14px/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-gray); margin-bottom: 8px; }
.c-nav--drawer { margin-bottom: 40px; }
.c-nav--drawer a {
	display: flex; align-items: baseline; gap: 20px;
	padding-block: 18px; border-bottom: 1px solid var(--c-lite);
}
.c-nav__no { font: 500 14px/1 var(--f-mono); letter-spacing: 0.12em; color: var(--c-blue); }
.c-nav__en { flex: 1; font: 300 clamp(36px, 7vw, 52px)/1.1 var(--f-en); letter-spacing: 0.02em; }
.c-nav__jp { font-size: 14px; font-weight: 500; color: var(--c-gray); letter-spacing: 0.06em; }
.c-drawer .c-sns { margin-top: 32px; }

/* Footer */
.l-footer { padding-block: 72px 32px; overflow: clip; }
.l-footer__top { display: flex; justify-content: space-between; gap: 40px; }
.l-footer__catch { font-size: 20px; font-weight: 500; line-height: 1.8; letter-spacing: 0.04em; }
.l-footer__nav { display: flex; gap: 80px; }
.l-footer__head { font: 300 22px/1 var(--f-en); letter-spacing: 0.04em; color: var(--c-blue); margin-bottom: 16px; }
.c-nav--footer { display: grid; gap: 12px; }
.l-footer__wordmark {
	margin-block: 48px 40px;
	font: 300 min(150px, 13.4vw)/1 var(--f-en); letter-spacing: 0.02em;
	white-space: nowrap;
}
.l-footer__bottom {
	display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
	padding-top: 24px; border-top: 1px solid var(--c-ink);
	font-size: 14px; color: var(--c-gray);
}
.l-footer__legal { display: flex; gap: 24px; flex-wrap: wrap; }
.l-footer__legal a:hover { color: var(--c-ink); }
.l-footer__copy { font-family: var(--f-mono); letter-spacing: 0.04em; }
.l-footer__copy small { font-size: inherit; }
@media (max-width: 767px) {
	.l-footer { padding-top: 64px; }
	.l-footer__top { flex-direction: column; }
	.l-footer__nav { gap: 24px; }
	.l-footer__nav > div { flex: 1; }
	.l-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* Components
   ------------------------------------------------------------------------ */

/* Section head: rule + No./label/page + big EN title */
.c-sechead { margin-bottom: clamp(36px, 5vw, 56px); }
.c-sechead__meta {
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	padding-top: 14px;
	background: linear-gradient(currentColor, currentColor) 0 0 / 100% 1px no-repeat;
}
.c-sechead__label { display: flex; align-items: center; gap: 20px; line-height: 1.4; }
.c-sechead__no,
.c-sechead__page { font: 500 14px/1 var(--f-mono); letter-spacing: 0.12em; }
.c-sechead__no { color: var(--c-blue); }
.c-sechead__page { color: var(--c-gray); }
.c-sechead__jp { font-size: 14px; font-weight: 500; letter-spacing: 0.08em; color: var(--c-gray); }
.c-sechead__title {
	margin-top: 4px;
	font: 300 clamp(44px, 8.8vw, 82px)/1.1 var(--f-en); letter-spacing: 0.02em;
}
.c-sechead__sub { margin-top: 12px; font-size: clamp(20px, 3vw, 24px); font-weight: 500; letter-spacing: 0.08em; line-height: 1.6; }

/* Masked line reveal */
.c-mask { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.c-mask > span { display: block; }

/* Buttons & links */
.c-btn {
	position: relative; isolation: isolate; overflow: hidden;
	display: inline-flex; align-items: center; justify-content: space-between; gap: 40px;
	padding: 18px 36px;
	font: 500 14px/1.4 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase;
	border: 1px solid var(--c-ink);
	transition: color 0.35s var(--ease);
}
.c-btn::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: var(--c-ink);
	transform: scaleX(0); transform-origin: left;
	transition: transform 0.35s var(--ease);
}
.c-btn:hover::before { transform: scaleX(1); }
.c-btn:hover { color: #fff; }
.c-btn .c-arrow { transition: transform 0.35s var(--ease); }
.c-btn:hover .c-arrow { transform: translateX(4px); }
.c-btn--sm { padding: 12px 22px; gap: 0; }
.c-btn--ink { background: var(--c-ink); color: #fff; }
.c-btn--ink::before { background: var(--c-blue); }
.c-btn--blue { background: var(--c-blue); border-color: var(--c-blue); color: #fff; font-family: var(--f-jp); text-transform: none; letter-spacing: 0.04em; font-size: 16px; }
.c-btn--blue::before { background: var(--c-ink); }
.c-btn--block { display: flex; width: 100%; padding: 24px 32px; }
.c-btn--white,
.c-btn--line-white { font-family: var(--f-jp); font-weight: 700; font-size: 16px; text-transform: none; letter-spacing: 0.04em; padding: 24px 40px; gap: 48px; border-color: #fff; }
.c-btn--white { background: #fff; color: var(--c-ink); }
.c-btn--white:hover { color: #fff; }
.c-btn--line-white { color: #fff; }
.c-btn--line-white::before { background: #fff; }
.c-btn--line-white:hover { color: var(--c-ink); }

.c-link {
	display: inline-flex; align-items: center; gap: 14px; padding-bottom: 6px;
	font: 500 14px/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase;
	border-bottom: 1px solid var(--c-ink);
}
.c-link:hover .c-arrow { transform: translateX(4px); }
.c-arrow { display: inline-block; font-family: var(--f-en); font-size: 16px; transition: transform 0.35s var(--ease); }

.c-more { display: flex; justify-content: flex-end; margin-top: 48px; }
.c-more--left { justify-content: flex-start; }
@media (max-width: 767px) {
	.c-more .c-btn { width: 100%; }
}

.c-tag {
	display: inline-block; padding: 2px 10px;
	font: 500 14px/1.6 var(--f-mono); letter-spacing: 0.04em;
	color: var(--c-blue); border: 1px solid var(--c-blue);
}
.c-empty { color: var(--c-gray); }

.c-sns { display: flex; gap: 32px; flex-wrap: wrap; }
.c-sns--vertical { display: grid; gap: 12px; }
.c-sns a { font: 500 14px/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; }
.c-sns a:hover { color: var(--c-blue); }

/* Filter tabs */
.c-filter { display: flex; flex-wrap: wrap; gap: 16px 28px; margin-bottom: 40px; }
.c-filter__btn {
	display: inline-flex; gap: 6px; align-items: flex-start; padding-bottom: 4px;
	font: 500 16px/1.2 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-gray);
	border-bottom: 1.5px solid transparent;
	transition: color 0.3s;
}
.c-filter__btn span { font-size: 14px; color: var(--c-blue); letter-spacing: 0.04em; }
.c-filter__btn:hover,
.c-filter__btn.is-active { color: var(--c-ink); }
.c-filter__btn.is-active { border-bottom-color: var(--c-ink); }

/* Work card */
.c-work__link { display: block; }
.c-work__thumb {
	position: relative; overflow: hidden; background: var(--c-ice); aspect-ratio: 3 / 2;
	/* Very soft shadow so white-background screenshots don't melt into the page. */
	box-shadow: 0 1px 2px rgb(59 66 72 / 0.06), 0 8px 24px rgb(59 66 72 / 0.07);
	transition: box-shadow 0.5s var(--ease-out);
}
.c-work__link:hover .c-work__thumb { box-shadow: 0 2px 4px rgb(59 66 72 / 0.07), 0 14px 36px rgb(59 66 72 / 0.11); }
.c-work__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.c-work__img.is-placeholder { display: block; }
.c-work__view {
	position: absolute; right: 16px; bottom: 16px;
	display: inline-flex; gap: 8px; align-items: center; padding: 10px 16px;
	background: var(--c-blue); color: #fff;
	font: 500 14px/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase;
	transform: translateY(calc(100% + 20px)); transition: transform 0.4s var(--ease);
}
.c-work__link:hover .c-work__img { transform: scale(1.04); }
.c-work__link:hover .c-work__view { transform: none; }
.c-work__cap { display: flex; gap: 20px; margin-top: 16px; }
.c-work__no { font: 500 14px/1.9 var(--f-mono); letter-spacing: 0.06em; color: var(--c-blue); white-space: nowrap; }
.c-work__title {
	font-size: 19px; font-weight: 500; line-height: 1.6; letter-spacing: 0.02em;
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
	display: inline; transition: background-size 0.4s var(--ease);
}
.c-work__link:hover .c-work__title { background-size: 100% 1px; }
.c-work__meta { margin-top: 6px; font: 400 14px/1.6 var(--f-en); letter-spacing: 0.04em; color: var(--c-gray); }
.c-work[hidden] { display: none; }

/* Hand-written "being design" inside the hero box */
.p-hero__script { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; pointer-events: none; }
.c-script { width: 76%; height: auto; overflow: visible; }
.c-script__glyph { fill: var(--c-ink); stroke: var(--c-ink); stroke-width: 10; stroke-linejoin: round; }
.c-script__dot { fill: var(--c-blue); transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
	.js .c-script__glyph {
		fill: transparent;
		stroke-dasharray: var(--len, 4000);
		stroke-dashoffset: var(--len, 4000);
	}
	.js .c-script__dot { transform: scale(0); }
	/* Each glyph: trace the outline like a pen, then ink fills in. */
	.js .c-script.is-writing .c-script__glyph {
		animation:
			being-write 0.7s cubic-bezier(0.45, 0, 0.3, 1) calc(var(--i) * 0.26s) forwards,
			being-ink 0.5s ease calc(var(--i) * 0.26s + 0.5s) forwards;
	}
	.js .c-script.is-writing .c-script__dot { animation: being-dot 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 3.4s forwards; }
}
@keyframes being-write { to { stroke-dashoffset: 0; } }
@keyframes being-ink { to { fill: var(--c-ink); } }
@keyframes being-dot { to { transform: scale(1); } }

/* Illustration layered over a photo box: always fully visible (contain). */
.c-illust {
	position: absolute; z-index: 2; left: 8%; right: 8%; bottom: 0;
	width: 84%; height: 92%;
	object-fit: contain; object-position: center bottom;
	pointer-events: none;
}

/* Journal card */
.c-journal a { display: block; }
.c-journal__thumb { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--c-ice); }
.c-journal__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.c-journal a:hover img { transform: scale(1.04); }
.c-journal__meta { display: flex; align-items: center; gap: 14px; margin-top: 20px; font: 400 14px/1 var(--f-mono); letter-spacing: 0.04em; color: var(--c-gray); }
.c-journal__title { margin-top: 14px; font-size: 18px; font-weight: 500; line-height: 1.7; letter-spacing: 0.02em; }
.c-journal a:hover .c-journal__title { color: var(--c-blue); }

/* Carousel arrows */
.c-arrows { display: flex; gap: 8px; flex-shrink: 0; }
.c-arrows__btn {
	width: 56px; height: 56px; display: grid; place-items: center;
	font-family: var(--f-en); font-size: 18px; border: 1px solid var(--c-ink);
	transition: background 0.3s, color 0.3s, opacity 0.3s;
}
.c-arrows__btn.is-solid,
.c-arrows__btn:hover { background: var(--c-ink); color: #fff; }
.c-arrows__btn:disabled { opacity: 0.3; pointer-events: none; }

/* Breadcrumb */
.c-breadcrumb { margin-bottom: 40px; }
.c-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 14px; color: var(--c-gray); line-height: 1.6; }
.c-breadcrumb li + li::before { content: "/"; margin-inline: 12px; color: var(--c-lite); }
.c-breadcrumb a:hover { color: var(--c-ink); }

/* Post navigation & pager */
.c-postnav { margin-top: 80px; border-top: 1px solid var(--c-ink); }
.c-postnav .nav-links { display: grid; grid-template-columns: 1fr 1fr; }
.c-postnav a { display: block; padding: 24px 0; }
.c-postnav .nav-next { text-align: right; grid-column: 2; }
.c-postnav__label { display: block; font: 500 14px/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-blue); margin-bottom: 8px; }
.c-postnav__title { font-weight: 500; }
.c-pager { margin-top: 64px; }
.c-pager .nav-links { display: flex; justify-content: center; gap: 8px; }
.c-pager .page-numbers {
	min-width: 48px; height: 48px; display: grid; place-items: center; padding-inline: 8px;
	font: 500 14px/1 var(--f-mono); border: 1px solid var(--c-lite);
}
.c-pager .page-numbers.current,
.c-pager a.page-numbers:hover { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }

/* Prose (page / post content) */
.c-prose { color: var(--c-ink); }
.c-prose > * + * { margin-top: 1.6em; }
.c-prose h2 { margin-top: 2.6em; padding-top: 14px; border-top: 1px solid var(--c-ink); font-size: 24px; line-height: 1.6; font-weight: 500; }
.c-prose h3 { margin-top: 2em; font-size: 20px; line-height: 1.6; font-weight: 500; }
.c-prose h4 { margin-top: 2em; font-size: 17px; font-weight: 500; }
.c-prose a { color: var(--c-blue); text-decoration: underline; text-underline-offset: 3px; }
.c-prose ul, .c-prose ol { padding-left: 1.4em; }
.c-prose ul { list-style: disc; }
.c-prose ol { list-style: decimal; }
.c-prose li + li { margin-top: 0.4em; }
.c-prose figcaption { margin-top: 8px; font-size: 14px; color: var(--c-gray); }
.c-prose blockquote { margin-inline: 0; padding-left: 24px; border-left: 2px solid var(--c-blue); color: var(--c-body); }
.c-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.c-prose th, .c-prose td { padding: 14px 12px; border-bottom: 1px solid var(--c-lite); text-align: left; vertical-align: top; }
.c-prose th { width: 30%; font-weight: 500; }

/* Pages (front)
   ------------------------------------------------------------------------ */

/* Hero */
.p-hero { padding-block: 72px 40px; }
.p-hero__issue { display: none; font: 500 14px/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-gray); margin-bottom: 36px; }
.p-hero__grid { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.p-hero__title { font: 300 132px/1.08 var(--f-en); letter-spacing: 0.02em; margin-top: 8px; }
.p-hero__title-2 { font-size: 72px; line-height: 1.15; }
.p-hero__title-3 { font-size: 92px; line-height: 1.15; font-weight: 200; color: var(--c-blue); }
.p-hero__lead { margin-top: 36px; line-height: 2; letter-spacing: 0.02em; }
.p-hero__visual { position: relative; padding-right: 30px; /* room for the blue block */ }
.p-hero__photo { position: relative; isolation: isolate; aspect-ratio: 330 / 450; }
.p-hero__photo::before {
	content: ""; position: absolute; z-index: -1;
	inset: 46px -16px -26px 46px; background: var(--c-blue);
}
.p-hero__img { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--c-ice); }
.p-hero__catch {
	position: absolute; inset: 0; z-index: 3;
	display: grid; place-content: center;
	writing-mode: vertical-rl;
	font-size: 26px; font-weight: 500; line-height: 1.9; letter-spacing: 0.24em;
	pointer-events: none;
}
.p-hero__typed { display: block; }
/* Until main.js takes over, keep the catch transparent (still read by screen readers) so it never flashes. */
.js .p-hero__catch[data-type]:not(.is-typing):not(.is-static) { color: transparent; }
/* Typing: characters appear one by one, a blue vertical-writing caret follows. */
.p-hero__catch.is-typing .ch { visibility: hidden; }
.p-hero__catch.is-typing .ch.is-on { visibility: visible; }
.p-hero__caret {
	/* In vertical-rl the inline axis runs downward: a short inline-size + wide block-size = a horizontal caret line. */
	display: inline-block; inline-size: 2px; block-size: 0.9em; margin-block-start: 0.15em; margin-inline: 0.12em;
	vertical-align: middle; background: var(--c-blue);
	animation: being-caret 0.9s steps(1) infinite;
}
.p-hero__catch.is-done .p-hero__caret { animation: being-caret-out 0.6s ease forwards; }
@keyframes being-caret { 50% { opacity: 0; } }
@keyframes being-caret-out { to { opacity: 0; } }
.p-hero__info { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 64px; border-top: 1px solid var(--c-ink); }
.p-hero__info > div { display: flex; align-items: baseline; gap: 16px; padding: 20px 24px 4px; }
.p-hero__info > div:first-child { padding-left: 0; }
.p-hero__info > div + div { border-left: 1px solid var(--c-lite); }
.p-hero__info dt { font: 500 14px/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-gray); }
.p-hero__info dd { font: 400 16px/1.4 var(--f-en); letter-spacing: 0.04em; }

@media (max-width: 1023px) {
	.p-hero__title { font-size: clamp(64px, 11vw, 132px); }
	.p-hero__title-2 { font-size: clamp(36px, 6vw, 72px); }
	.p-hero__title-3 { font-size: clamp(48px, 7.8vw, 92px); }
	.p-hero__grid { grid-template-columns: 1fr 340px; }
}
@media (max-width: 767px) {
	.p-hero { padding-block: 40px 48px; }
	.p-hero__issue { display: block; }
	.p-hero__grid { grid-template-columns: 1fr; gap: 36px; }
	.p-hero__title { font-size: 15.3vw; margin-top: 0; }
	.p-hero__title-2 { font-size: 8.5vw; }
	.p-hero__title-3 { font-size: 11vw; }
	.p-hero__lead { order: 3; margin-top: 0; }
	.p-hero__copy { display: contents; }
	.p-hero__visual { order: 2; padding-right: 0; padding-bottom: 6%; }
	.p-hero__photo { width: calc(100% / 1.074); aspect-ratio: 540 / 520; }
	.p-hero__photo::before { inset: 11.5% -7.4% -7.7% 14.8%; }
	.p-hero__catch { font-size: 17px; letter-spacing: 0.18em; }
	.p-hero__info { grid-template-columns: 1fr; margin-top: 36px; }
	.p-hero__info > div { padding: 16px 0; border-bottom: 1px solid var(--c-lite); }
	.p-hero__info > div + div { border-left: 0; }
	.p-hero__info dt { width: 120px; flex-shrink: 0; }
}

/* About */
.p-about__body { display: grid; grid-template-columns: 380px 1fr; gap: 56px; align-items: start; }
.p-about__photo { position: sticky; top: calc(var(--header-h) + 24px); }
.p-about__frame { position: relative; display: block; }
.p-about__img { display: block; width: 100%; aspect-ratio: 380 / 480; object-fit: cover; object-position: 40% 78%; background: var(--c-ice); }
.p-about__photo figcaption { margin-top: 12px; font: 400 14px/1.4 var(--f-mono); letter-spacing: 0.04em; color: var(--c-gray); }
.p-about__quote { font-size: clamp(24px, 3.4vw, 30px); font-weight: 500; line-height: 1.6; letter-spacing: 0.04em; }
.p-about__name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin-top: 28px; font-size: 14px; color: var(--c-gray); line-height: 1.6; }
.p-about__name [lang="en"] { font-weight: 300; font-size: 22px; letter-spacing: 0.04em; color: var(--c-blue); }
.p-about__prose { margin-top: 32px; line-height: 2.1; }
.p-about__prose p + p { margin-top: 1.25em; }
.p-about .c-link { margin-top: 40px; }
@media (max-width: 767px) {
	.p-about__body { grid-template-columns: 1fr; gap: 40px; }
	.p-about__photo { position: relative; top: auto; }
	.p-about__img { aspect-ratio: 650 / 480; }
}

/* Interview */
.p-interview__body { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: start; }
.p-balance { display: grid; gap: 28px; position: sticky; top: calc(var(--header-h) + 24px); }
.p-balance__title { font: 300 24px/1 var(--f-en); letter-spacing: 0.04em; color: var(--c-blue); }
.p-balance__row { display: grid; grid-template-columns: 1fr auto; align-items: baseline; row-gap: 10px; }
.p-balance__label { font-weight: 500; white-space: nowrap; }
.p-balance__num { font: 200 72px/1 var(--f-en); letter-spacing: 0.02em; }
.p-balance__num small { font-size: 24px; font-weight: 300; margin-left: 4px; }
.p-balance__row.is-accent .p-balance__num { color: var(--c-blue); }
.p-balance__track { grid-column: 1 / -1; height: 4px; background: var(--c-lite); }
.p-balance__track > span { display: block; height: 100%; width: var(--v); background: var(--c-ink); transform-origin: left; }
.p-balance__row.is-accent .p-balance__track > span { background: var(--c-blue); }
.p-balance__note { color: var(--c-gray); line-height: 1.9; }
.p-qa { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.p-qa__item { padding-block: 24px 28px; border-top: 1px solid var(--c-lite); }
.p-qa dt { display: flex; gap: 14px; align-items: baseline; font-size: 17px; font-weight: 500; line-height: 1.6; }
.p-qa__no { font: 500 14px/1 var(--f-mono); letter-spacing: 0.06em; color: var(--c-blue); }
.p-qa dd { margin-top: 12px; color: var(--c-body); line-height: 1.9; }
@media (max-width: 767px) {
	.p-interview__body { grid-template-columns: 1fr; gap: 40px; }
	.p-balance { position: static; grid-template-columns: 1fr 1fr; column-gap: 40px; }
	/* Two narrow columns: label sits above the number so it never wraps. */
	.p-balance__row { grid-template-columns: 1fr; row-gap: 4px; }
	.p-balance__num { font-size: 64px; }
	.p-balance__track { margin-top: 8px; }
	.p-balance__title, .p-balance__note { grid-column: 1 / -1; }
	.p-qa { grid-template-columns: 1fr; }
	.p-qa dt { font-size: 18px; }
}

/* Works */
.p-works__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 32px; }
.p-works__grid:not(.is-uniform):not(.is-filtered) .c-work:first-child { grid-column: span 2; grid-row: span 2; }
.p-works__grid:not(.is-uniform):not(.is-filtered) .c-work:first-child .c-work__thumb { aspect-ratio: 620 / 420; }
.p-works__grid:not(.is-uniform):not(.is-filtered) .c-work:first-child .c-work__title { font-size: 24px; }
@media (max-width: 767px) {
	.p-works__grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
	.p-works__grid:not(.is-uniform):not(.is-filtered) .c-work:first-child,
	.p-works__grid:not(.is-uniform):not(.is-filtered) .c-work:nth-child(6) { grid-column: 1 / -1; grid-row: auto; }
	.c-work__cap { flex-direction: column; gap: 4px; }
	.c-work__title { font-size: 17px; }
}

/* Works marquee (front page): two endless rows, opposite directions */
.p-works__sub { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 40px; }
.p-works__sub p { line-height: 1.6; }
.p-works__count { font: 300 28px/1 var(--f-en); letter-spacing: 0.02em; color: var(--c-blue); margin-right: 6px; }
.c-marquee-toggle {
	display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0;
	padding: 10px 16px; border: 1px solid var(--c-ink);
	font: 500 14px/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase;
	transition: background 0.3s, color 0.3s;
}
.c-marquee-toggle:hover { background: var(--c-ink); color: #fff; }
.c-marquee-toggle__icon { width: 10px; height: 10px; border-inline: 3px solid currentColor; }
.c-marquee-toggle[aria-pressed="true"] .c-marquee-toggle__icon {
	border: 0; width: 0; height: 0;
	border-left: 9px solid currentColor; border-block: 5.5px solid transparent;
}
.p-works__marquee { display: grid; gap: 48px; }
.p-works__row { overflow: hidden; padding-block: 8px 40px; margin-block: -8px -40px; }
.p-works__track {
	display: flex; gap: 32px; width: max-content;
	padding-right: 32px; /* = gap, so -50% lands exactly on the copy */
	animation: being-marquee var(--dur, 60s) linear infinite;
}
.p-works__row.is-reverse .p-works__track { animation-direction: reverse; }
.p-works__track > .c-work { width: 360px; flex-shrink: 0; }
.p-works__marquee:hover .p-works__track,
.p-works__marquee:focus-within .p-works__track,
.p-works__marquee.is-paused .p-works__track { animation-play-state: paused; }
@keyframes being-marquee { to { transform: translateX(-50%); } }
/* JS-driven marquee (draggable / swipeable) */
.p-works__marquee.is-js .p-works__track { animation: none; will-change: transform; }
.p-works__marquee.is-js .p-works__row { touch-action: pan-y; cursor: grab; }
.p-works__marquee.is-js .p-works__row.is-dragging { cursor: grabbing; }
.p-works__marquee.is-js .c-work__link { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.p-works__marquee.is-js img { -webkit-user-drag: none; }
@media (max-width: 767px) {
	.p-works__sub { align-items: flex-start; }
	.p-works__marquee { gap: 36px; }
	.p-works__track { gap: 20px; padding-right: 20px; }
	.p-works__track > .c-work { width: 64vw; }
}
@media (prefers-reduced-motion: reduce) {
	/* No auto-scroll: a swipeable row of the real cards instead. */
	.p-works__track { animation: none; padding-inline: var(--gutter); }
	.p-works__track > [aria-hidden="true"] { display: none; }
	.p-works__row { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.p-works__track > .c-work { scroll-snap-align: start; }
	.c-marquee-toggle { display: none; }
}

/* Service */
.p-service__intro { margin-left: auto; max-width: 620px; line-height: 2; margin-bottom: 48px; }
.p-service__list { border-bottom: 1px solid var(--c-ink); }
.p-service__row {
	display: grid; grid-template-columns: 76px 190px 1fr 200px; gap: 28px;
	padding-block: 36px; border-top: 1px solid var(--c-ink);
}
.p-service__no { font: 200 48px/1 var(--f-en); letter-spacing: 0.02em; color: var(--c-blue); }
.p-service__name { font-size: 18px; font-weight: 500; line-height: 1.6; letter-spacing: 0.04em; }
.p-service__name span { display: block; font-size: 26px; font-weight: 300; letter-spacing: 0.04em; line-height: 1.3; margin-bottom: 6px; }
.p-service__detail > p { line-height: 2; }
.p-service__plans { margin-top: 20px; }
.p-service__plans > div { display: flex; justify-content: space-between; gap: 16px; padding-block: 10px; border-bottom: 1px solid var(--c-plan); }
.p-service__plans dt { font-size: 14px; line-height: 1.6; }
.p-service__plans dt .c-tag { margin-left: 8px; vertical-align: 1px; padding: 0 8px; line-height: 1.7; }
.c-tag--solid { background: var(--c-blue); color: #fff; }
.p-service__plan-sub { display: block; margin-top: 4px; font-size: 14px; line-height: 1.7; color: var(--c-body); }
.p-service__note { margin-top: 14px; font-size: 14px; line-height: 1.8; color: var(--c-gray); }
.p-service__plans dd { font: 400 16px/1.4 var(--f-en); letter-spacing: 0.04em; white-space: nowrap; }
.p-service__price { text-align: right; }
.p-service__price-label { font-size: 14px; color: var(--c-gray); line-height: 1.4; }
.p-service__price-value { margin-top: 10px; font: 300 34px/1.2 var(--f-en); letter-spacing: 0.02em; white-space: nowrap; }
/* Service row with plan cards + options (01 Web Design) */
.p-service__row--wide { grid-template-columns: 76px 190px 1fr; }
.p-service__row--wide .p-service__detail { grid-column: auto; grid-row: auto; }
.p-service__sublabel {
	display: flex; align-items: baseline; gap: 12px;
	margin: 32px 0 14px; font-size: 14px; font-weight: 500; color: var(--c-body); letter-spacing: 0.06em;
}
.p-service__sublabel span { font: 500 14px/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-blue); }
.p-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.p-plan { background: #fff; padding: 28px 28px 30px; }
.p-plan__name { font-size: 20px; font-weight: 500; line-height: 1.5; letter-spacing: 0.04em; }
.p-plan__lead { margin-top: 6px; font-size: 14px; line-height: 1.7; color: var(--c-body); }
.p-plan__price {
	margin-top: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--c-lite);
	font: 300 40px/1.1 var(--f-en); letter-spacing: 0.02em; color: var(--c-ink);
}
.p-plan__items { margin-top: 16px; display: grid; gap: 8px; }
.p-plan__items li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.7; }
.p-plan__items li::before {
	content: ""; position: absolute; left: 2px; top: 0.55em;
	width: 9px; height: 5px; border-left: 1.5px solid var(--c-blue); border-bottom: 1.5px solid var(--c-blue);
	transform: rotate(-45deg);
}
.p-options { display: grid; gap: 1px; background: var(--c-plan); border-block: 1px solid var(--c-plan); }
.p-option { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: start; padding: 18px 20px 18px 16px; background: rgb(255 255 255 / 0.55); }
.p-option__plus { font: 300 22px/1.2 var(--f-en); color: var(--c-blue); }
.p-option__name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 16px; font-weight: 500; line-height: 1.6; }
.p-option__name .c-tag { margin-left: 0; }
.p-option__tag { font: 400 14px/1.6 var(--f-en); letter-spacing: 0.04em; color: var(--c-gray); }
.p-option__text { margin-top: 6px; font-size: 14px; line-height: 1.75; color: var(--c-body); }
.p-option__price { font: 300 26px/1.2 var(--f-en); letter-spacing: 0.02em; white-space: nowrap; }
@media (max-width: 1023px) {
	.p-service__row--wide { grid-template-columns: 64px 1fr; }
	.p-service__row--wide .p-service__detail { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
	.p-service__row--wide { grid-template-columns: auto 1fr; }
	.p-plans { grid-template-columns: 1fr; }
	.p-plan { padding: 24px 22px 26px; }
	.p-plan__items li { font-size: 16px; }
	.p-option { grid-template-columns: 22px 1fr; padding: 16px 14px; }
	.p-option__price { grid-column: 2; font-size: 24px; }
	.p-option__text { font-size: 15px; }
}

/* Point: note integration */
.p-point { background: #fff; padding: 28px 28px 30px; }
.p-point__title { font-size: 20px; font-weight: 500; line-height: 1.6; letter-spacing: 0.04em; }
.p-point__lead { margin-top: 8px; font-size: 15px; line-height: 1.9; color: var(--c-body); }
.p-point__items { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 22px; border-top: 1px solid var(--c-lite); }
.p-point__items li { display: grid; gap: 6px; padding: 18px 18px 4px; align-content: start; }
.p-point__items li:first-child { padding-left: 0; }
.p-point__items li + li { border-left: 1px solid var(--c-lite); }
.p-point__no { font: 200 28px/1 var(--f-en); color: var(--c-blue); }
.p-point__items strong { font-size: 16px; font-weight: 500; line-height: 1.6; }
.p-point__items span:last-child { font-size: 14px; line-height: 1.8; color: var(--c-body); }
.p-point__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 14px; color: var(--c-blue); text-decoration: underline; text-underline-offset: 4px; }
.p-point__link:hover { text-decoration: none; }
.p-journal__demo { font-size: 14px; color: var(--c-gray); }
@media (max-width: 767px) {
	.p-point { padding: 24px 22px 26px; }
	.p-point__items { grid-template-columns: 1fr; }
	.p-point__items li { padding: 16px 0; grid-template-columns: 40px 1fr; column-gap: 8px; }
	.p-point__items li + li { border-left: 0; border-top: 1px solid var(--c-lite); }
	.p-point__items strong, .p-point__items span:last-child { grid-column: 2; }
	.p-point__items span:last-child { font-size: 15px; }
}

/* Display-style previews (drawn with CSS, no images) */
.p-point__styles-title { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--c-lite); font-size: 16px; font-weight: 500; }
.p-styles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.p-style { display: grid; gap: 4px; align-content: start; }
.p-style strong { margin-top: 8px; font-size: 15px; font-weight: 500; line-height: 1.5; }
.p-style > span:last-child { font-size: 14px; line-height: 1.6; color: var(--c-body); }
.p-style__demo { display: flex; flex-direction: column; gap: 6px; height: 104px; padding: 12px; background: var(--c-off); overflow: hidden; }
.p-style__item { display: grid; gap: 4px; }
.p-style__img { background: #c9dff0; }
.p-style__date { width: 30%; height: 3px; background: #b4bec6; }
.p-style__line { height: 4px; background: #8a949c; }
.p-style__line.is-short { width: 60%; }
/* card: three cards side by side */
.p-style__demo--card { flex-direction: row; gap: 6px; }
.p-style__demo--card .p-style__item { flex: 0 0 44%; background: #fff; padding-bottom: 6px; gap: 4px; }
.p-style__demo--card .p-style__img { height: 40px; }
.p-style__demo--card .p-style__date, .p-style__demo--card .p-style__line { margin-inline: 5px; }
/* text: date + title, dashed rules */
.p-style__demo--text .p-style__img { display: none; }
.p-style__demo--text .p-style__item { padding-bottom: 6px; border-bottom: 1px dashed #b4bec6; }
.p-style__demo--text .p-style__line.is-short { display: none; }
/* thumb: small image left */
.p-style__demo--thumb .p-style__item { grid-template-columns: 30px 1fr; column-gap: 8px; align-items: center; }
.p-style__demo--thumb .p-style__img { grid-row: 1 / 4; height: 24px; }
.p-style__demo--thumb .p-style__date, .p-style__demo--thumb .p-style__line { grid-column: 2; }
/* badge: date pill above the title */
.p-style__demo--badge .p-style__img { display: none; }
.p-style__demo--badge .p-style__item { padding-bottom: 6px; border-bottom: 1px solid #d3dbe1; }
.p-style__demo--badge .p-style__date { width: 34%; height: 8px; border-radius: 4px; background: #9aa3ab; }
.p-style__demo--badge .p-style__line.is-short { display: none; }
@media (max-width: 1023px) { .p-styles { grid-template-columns: repeat(2, 1fr); } }

.p-flow { margin-top: 56px; }
.p-flow__title { font: 500 14px/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 20px; }
.p-flow__title span { font-family: inherit; }
.p-flow__list { display: grid; grid-template-columns: repeat(6, 1fr); counter-reset: none; }
.p-flow__list li { display: grid; gap: 8px; padding: 4px 16px; font-weight: 500; line-height: 1.5; }
.p-flow__list li:first-child { padding-left: 0; }
.p-flow__list li + li { border-left: 1px solid rgb(59 66 72 / 0.25); }
.p-flow__no { font: 200 32px/1 var(--f-en); color: var(--c-blue); }
@media (max-width: 1023px) {
	.p-service__row { grid-template-columns: 64px 1fr 180px; }
	.p-service__detail { grid-column: 2 / 4; grid-row: 2; }
	.p-service__price { grid-column: 3; grid-row: 1; }
}
@media (max-width: 767px) {
	.p-service__intro { margin-bottom: 40px; }
	.p-service__row { grid-template-columns: auto 1fr; gap: 18px 24px; padding-block: 28px 32px; }
	.p-service__detail { grid-column: 1 / -1; grid-row: auto; }
	.p-service__price { grid-column: 1 / -1; grid-row: auto; text-align: left; display: flex; flex-direction: column; }
	.p-service__plans dt { font-size: 16px; }
	.p-service__plans > div { padding-block: 12px; }
	.p-service__price-value { font-size: 32px; margin-top: 6px; }
	.p-flow__list { grid-template-columns: 1fr; border-top: 1px solid rgb(59 66 72 / 0.25); }
	.p-flow__list li {
		position: relative;
		display: flex; align-items: center; gap: 20px;
		padding: 16px 0; border-left: 0 !important;
		border-bottom: 1px solid rgb(59 66 72 / 0.25);
		font-size: 17px;
	}
	.p-flow__no { width: 44px; flex-shrink: 0; font-size: 28px; }

}

/* Journal */
.p-journal__sub { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 40px; }
.p-journal__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 80px) / 3);
	gap: 40px;
	overflow-x: auto; overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
	scrollbar-width: none;
}
.p-journal__track::-webkit-scrollbar { display: none; }
.c-journal { scroll-snap-align: start; }
@media (max-width: 767px) {
	.p-journal__sub { flex-direction: column; align-items: stretch; }
	.p-journal__sub .c-arrows { display: none; }
	.p-journal__track { grid-auto-columns: 74%; gap: 24px; padding-right: var(--gutter); max-width: none; }
}

/* Contact */
.p-contact { background: var(--c-blue); color: #fff; padding-block: clamp(90px, 12vw, 120px); }
.p-contact .c-sechead__no,
.p-contact .c-sechead__jp,
.p-contact .c-sechead__page { color: #fff; }
.p-contact .c-sechead { margin-bottom: 40px; }
.p-contact .c-sechead__title { font-size: clamp(40px, 11vw, 112px); line-height: 1.05; }
.p-contact__points { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid rgb(255 255 255 / 0.5); }
.p-contact__points li { display: grid; gap: 8px; padding: 20px 24px; line-height: 1.6; }
.p-contact__points li:first-child { padding-left: 0; }
.p-contact__points li + li { border-left: 1px solid rgb(255 255 255 / 0.5); }
.p-contact__no { font: 500 14px/1 var(--f-mono); letter-spacing: 0.12em; }
.p-contact__points strong { font-size: 18px; font-weight: 500; letter-spacing: 0.04em; }
.p-contact__points span:last-child { font-size: 14px; opacity: 0.85; }
.p-contact__body { margin-top: 48px; }
.p-contact__lead { font-size: 22px; font-weight: 500; line-height: 1.9; letter-spacing: 0.04em; }
.p-contact__note { margin-top: 16px; font-size: 14px; line-height: 1.9; }
.p-contact__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
@media (max-width: 767px) {
	.p-contact__points { grid-template-columns: 1fr; border-bottom: 0; }
	.p-contact__points li { grid-template-columns: auto 1fr; column-gap: 20px; padding: 18px 0; border-bottom: 1px solid rgb(255 255 255 / 0.5); }
	.p-contact__points li + li { border-left: 0; }
	.p-contact__points strong, .p-contact__points span:last-child { grid-column: 2; }
	.p-contact__body { margin-top: 36px; }
	.p-contact__lead { font-size: 20px; }
	.p-contact__btns { flex-direction: column; }
	.p-contact__btns .c-btn { width: 100%; padding: 26px 32px; }
	.p-contact__note { order: 3; }
	.p-contact__body { display: flex; flex-direction: column; }
}

/* Lower pages
   ------------------------------------------------------------------------ */
.p-pagehead { padding-top: 48px; }
.l-article { max-width: calc(760px + var(--gutter) * 2); padding-bottom: var(--section); }
.l-article__head { padding-top: 14px; border-top: 1px solid var(--c-ink); margin-bottom: 40px; }
.l-article__meta { display: flex; align-items: center; gap: 14px; font: 400 14px/1 var(--f-mono); color: var(--c-gray); }
.l-article__title { margin-top: 20px; font-size: clamp(26px, 4vw, 34px); line-height: 1.6; font-weight: 500; letter-spacing: 0.04em; }
.l-article__eyecatch { margin-bottom: 48px; }
.l-article__eyecatch img { width: 100%; }
.l-archive { padding-bottom: var(--section); }
.p-postlist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 32px; }
@media (max-width: 767px) { .p-postlist { grid-template-columns: 1fr; } }

/* Work detail */
.p-work { padding-bottom: var(--section); }
.p-work__head { padding-top: 14px; border-top: 1px solid var(--c-ink); }
.p-work__title { margin-top: 12px; font-size: clamp(30px, 5vw, 44px); font-weight: 500; line-height: 1.5; letter-spacing: 0.04em; }
.p-work__lead { margin-top: 16px; max-width: 640px; color: var(--c-body); }
.p-work__hero { position: relative; margin-top: 48px; background: var(--c-ice); box-shadow: 0 1px 2px rgb(59 66 72 / 0.06), 0 10px 32px rgb(59 66 72 / 0.08); }
.p-work__hero img { width: 100%; }
.p-work__body { display: grid; grid-template-columns: 300px 1fr; gap: 56px; margin-top: 56px; align-items: start; }
.p-work__detail { border-top: 1px solid var(--c-ink); position: sticky; top: calc(var(--header-h) + 24px); }
.p-work__detail > div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding-block: 14px; border-bottom: 1px solid var(--c-lite); line-height: 1.6; }
.p-work__detail dt { font: 500 14px/1.7 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-gray); }
.p-work__detail dd { font-size: 15px; word-break: break-all; }
.p-work__detail a { color: var(--c-blue); }
@media (max-width: 767px) {
	.p-work__body { grid-template-columns: 1fr; gap: 40px; }
	.p-work__detail { position: static; }
	.p-work__detail dd { font-size: 16px; }
}

/* Motion
   (only when JS runs and the visitor hasn't asked for reduced motion)
   ------------------------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
	.js [data-reveal]:not([data-reveal="rule"]):not([data-reveal="lines"]):not([data-reveal="image"]) {
		opacity: 0; transform: translateY(32px);
		transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
		transition-delay: var(--delay, 0s);
	}
	.js [data-reveal].is-in { opacity: 1 !important; transform: none !important; }

	/* Line mask (headings) */
	.js [data-reveal="lines"] .c-mask > span,
	.js [data-reveal="rule"] .c-mask > span {
		transform: translateY(105%);
		transition: transform 0.9s var(--ease);
	}
	.js [data-reveal="lines"] .c-mask:nth-child(2) > span { transition-delay: 0.08s; }
	.js [data-reveal="lines"] .c-mask:nth-child(3) > span { transition-delay: 0.16s; }
	.js [data-reveal].is-in .c-mask > span { transform: none; }

	/* Section rule draws left → right */
	.js [data-reveal="rule"] .c-sechead__meta { background-size: 0 1px; transition: background-size 0.8s var(--ease); }
	.js [data-reveal="rule"] .c-sechead__label,
	.js [data-reveal="rule"] .c-sechead__page,
	.js [data-reveal="rule"] .c-sechead__sub { opacity: 0; transition: opacity 0.6s 0.4s; }
	.js [data-reveal="rule"].is-in .c-sechead__meta { background-size: 100% 1px; }
	.js [data-reveal="rule"].is-in .c-sechead__label,
	.js [data-reveal="rule"].is-in .c-sechead__page,
	.js [data-reveal="rule"].is-in .c-sechead__sub { opacity: 1; }

	/* Image curtain */
	.js [data-reveal="image"] { clip-path: inset(0 0 0 0); }
	.js [data-reveal="image"]::after {
		content: ""; position: absolute; inset: 0; background: var(--c-ice); z-index: 1;
		transform-origin: right; transition: transform 0.9s var(--ease);
	}
	.js .p-hero__photo[data-reveal="image"] { clip-path: none; }
	.js [data-reveal="image"].is-in::after { transform: scaleX(0); }
	.js [data-reveal="image"] img { transform: scale(1.1); transition: transform 1.2s var(--ease-out); }
	.js [data-reveal="image"].is-in img { transform: none; }
	.js [data-reveal="image"] .c-illust { opacity: 0; transform: translateY(24px); transition: opacity 0.8s 0.7s, transform 0.8s 0.7s var(--ease-out); }
	.js [data-reveal="image"].is-in .c-illust { opacity: 1; transform: none; }


	/* Balance bars */
	.js .p-balance__track > span { transform: scaleX(0); transition: transform 1.2s var(--ease); }
	.js .p-balance.is-in .p-balance__track > span { transform: scaleX(1); }
}

/* ==========================================================================
   Block theme adapter — maps core-block markup onto the components above
   ========================================================================== */

/* Header (template part) ------------------------------------------------- */
.l-header__inner { max-width: var(--content); margin-inline: auto; gap: 24px; }
.l-header__inner::after { left: 0; right: 0; }
.l-header__logo { margin-right: auto; }
.l-header__logo a { color: var(--c-ink); text-decoration: none; }
.l-header__issue { flex: 1; }
.l-header__nav .wp-block-navigation__container { gap: 28px; align-items: center; }
.l-header__nav .wp-block-navigation-item__content {
	color: var(--c-ink); text-decoration: none; padding-bottom: 4px;
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
	transition: background-size 0.4s var(--ease);
}
.l-header__nav .wp-block-navigation-item__content:hover { background-size: 100% 1px; }
.l-header__nav .l-header__contact > .wp-block-navigation-item__content {
	background: var(--c-ink); color: #fff; padding: 12px 22px; transition: background 0.3s;
}
.l-header__nav .l-header__contact > .wp-block-navigation-item__content:hover { background: var(--c-blue); }
/* Mobile: core/navigation overlay styled as the editorial drawer. */
.l-header__nav .wp-block-navigation__responsive-container-open,
.l-header__nav .wp-block-navigation__responsive-container-close {
	/* display is left to core: the open button only shows below its 600px breakpoint */
	width: 56px; height: 56px; align-items: center; justify-content: center; background: var(--c-ink); color: #fff;
}
.l-header__nav .wp-block-navigation__responsive-container-close { position: fixed; top: calc((var(--header-h) - 56px) / 2); right: var(--gutter); }
.l-header__nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: calc(var(--header-h) + 24px) var(--gutter) 48px; background: var(--c-paper); color: var(--c-ink);
}
.l-header__nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 0; align-items: stretch; width: 100%; }
.l-header__nav .is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid var(--c-lite); }
.l-header__nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item .wp-block-navigation-item__content {
	display: block; width: 100%; padding: 18px 0; background: none; color: var(--c-ink);
	font: 300 clamp(26px, 5vw, 32px)/1.2 var(--f-en); letter-spacing: 0.04em; text-transform: none;
}
.l-header__nav .wp-block-navigation__responsive-container.is-menu-open .l-header__contact > .wp-block-navigation-item__content { background: none; color: var(--c-blue); padding: 18px 0; }
@media (max-width: 1023px) { .l-header__issue { display: none; } }

/* Section head (3 paragraphs in a flex row) ----------------------------- */
.c-sechead__meta { gap: 20px; align-items: center; }
.c-sechead__no, .c-sechead__jp, .c-sechead__page { line-height: 1.4; }
.c-sechead__page { margin-left: auto !important; }
.js [data-reveal="rule"] .c-sechead__no,
.js [data-reveal="rule"] .c-sechead__jp,
.js [data-reveal="rule"] .c-sechead__page { opacity: 0; transition: opacity 0.6s 0.4s; }
.js [data-reveal="rule"].is-in .c-sechead__no,
.js [data-reveal="rule"].is-in .c-sechead__jp,
.js [data-reveal="rule"].is-in .c-sechead__page { opacity: 1; }

/* Hero ------------------------------------------------------------------- */
.p-hero__photo { background: none; }
.p-hero__photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c-ice); }
.p-hero__info-item { align-items: baseline; gap: 16px; }
.p-hero__k { font: 500 14px/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-gray); }
.p-hero__v { font: 400 16px/1.4 var(--f-en); letter-spacing: 0.04em; }
@media (max-width: 767px) { .p-hero__k { width: 120px; flex-shrink: 0; } }

/* About ------------------------------------------------------------------ */
.p-about__photo { margin: 0; }
.p-about__photo img { display: block; width: 100%; height: auto; aspect-ratio: 380 / 480; object-fit: cover; object-position: 40% 78%; background: var(--c-ice); }
@media (max-width: 767px) { .p-about__photo img { aspect-ratio: 650 / 480; } }
.p-about__name { gap: 8px 16px; margin-top: 28px; }
.p-about__name-en { font: 300 22px/1.4 var(--f-en); letter-spacing: 0.04em; color: var(--c-blue); }
.p-about__role { font-size: 14px; line-height: 1.6; color: var(--c-gray); }
.p-about__prose > p + p { margin-top: 1.25em; }

/* Interview -------------------------------------------------------------- */
.p-balance__row { --bar: var(--c-ink); }
.p-balance__row.is-accent { --bar: var(--c-blue); }
.p-balance__row::after {
	content: ""; grid-column: 1 / -1; height: 4px;
	background: linear-gradient(var(--bar), var(--bar)) 0 0 / var(--v, 0%) 100% no-repeat, var(--c-lite);
}
@media (prefers-reduced-motion: no-preference) {
	.js .p-balance .p-balance__row::after { background-size: 0 100%, auto; transition: background-size 1.2s var(--ease); }
	.js .p-balance.is-in .p-balance__row::after { background-size: var(--v, 0%) 100%, auto; }
}
.p-qa { counter-reset: qa; }
.p-qa__q { display: flex; gap: 14px; align-items: baseline; font-size: 17px; font-weight: 500; line-height: 1.6; letter-spacing: 0.02em; }
.p-qa__q::before { counter-increment: qa; content: "Q" counter(qa, decimal-leading-zero); font: 500 14px/1 var(--f-mono); letter-spacing: 0.06em; color: var(--c-blue); }
.p-qa__a { margin-top: 12px; color: var(--c-body); line-height: 1.9; }
@media (max-width: 767px) { .p-qa__q { font-size: 18px; } }

/* Works ------------------------------------------------------------------ */
.p-works__block .p-works__sub { max-width: calc(var(--content) + var(--gutter) * 2); margin: 0 auto 40px; padding-inline: var(--gutter); }

/* Buttons ---------------------------------------------------------------- */
.wp-block-button__link { gap: 24px; transition: background 0.35s var(--ease), color 0.35s var(--ease); }
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent; color: var(--c-ink); border: 1px solid var(--c-ink); padding: 18px 36px;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.wp-block-button:not(.is-style-outline):not(.is-style-white) > .wp-block-button__link:hover { background: var(--c-blue); color: #fff; border-color: var(--c-blue); }
.wp-block-button.is-style-white > .wp-block-button__link {
	background: #fff; color: var(--c-ink); border: 1px solid #fff; padding: 24px 40px;
	font-family: var(--f-jp); font-weight: 700; font-size: 16px; letter-spacing: 0.04em; text-transform: none;
}
.wp-block-button.is-style-white > .wp-block-button__link:hover { background: transparent; color: #fff; }
.c-more { margin-top: 48px; }
@media (max-width: 767px) {
	.c-more .wp-block-button, .c-more .wp-block-button__link, .p-contact__btns .wp-block-button, .p-contact__btns .wp-block-button__link { width: 100%; }
}

/* Service ---------------------------------------------------------------- */
.p-service__list { counter-reset: svc; }
.p-service__row::before { counter-increment: svc; content: counter(svc, decimal-leading-zero); font: 200 48px/1 var(--f-en); letter-spacing: 0.02em; color: var(--c-blue); }
.p-service__en { font: 300 26px/1.3 var(--f-en); letter-spacing: 0.04em; margin-bottom: 6px; }
.p-service__jp { font-size: 18px; font-weight: 500; line-height: 1.6; letter-spacing: 0.04em; }
.p-service__plans { margin-top: 20px; }
.p-service__plan { justify-content: space-between; gap: 16px; padding-block: 10px; border-bottom: 1px solid var(--c-plan); }
.p-service__plan > p:first-child { font-size: 14px; line-height: 1.6; }
.p-service__yen { font: 400 16px/1.4 var(--f-en); letter-spacing: 0.04em; white-space: nowrap; }
.p-service__sublabel { align-items: baseline; gap: 12px; margin: 32px 0 14px; }
.p-service__sublabel-en { font: 500 14px/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-blue); }
.p-service__sublabel-jp { font-size: 14px; font-weight: 500; color: var(--c-body); letter-spacing: 0.06em; }
.p-point__items { counter-reset: pt; }
.p-point__items li { font-size: 14px; line-height: 1.8; color: var(--c-body); }
.p-point__items li::before { counter-increment: pt; content: counter(pt, decimal-leading-zero); display: block; margin-bottom: 6px; font: 200 28px/1 var(--f-en); color: var(--c-blue); }
.p-point__items strong { display: inline-block; margin-bottom: 2px; font-size: 16px; font-weight: 500; line-height: 1.6; color: var(--c-ink); }
.p-style { display: grid; gap: 4px; align-content: start; }
.p-style__img { margin: 0; }
.p-style__img img { display: block; width: 100%; height: auto; }
.p-style__label { margin-top: 8px !important; font-size: 15px; font-weight: 500; line-height: 1.5; }
.p-style__sub { font-size: 14px; line-height: 1.6; color: var(--c-body); }
.p-point__link a { display: inline-flex; gap: 8px; font-size: 14px; color: var(--c-blue); text-underline-offset: 4px; }
.p-option { grid-template-columns: 28px 1fr auto; grid-template-areas: "plus name price" "plus tag price" "plus text price"; column-gap: 12px; }
.p-option::before { content: "＋"; grid-area: plus; font: 300 22px/1.2 var(--f-en); color: var(--c-blue); }
.p-option__name { grid-area: name; font-size: 16px; font-weight: 500; line-height: 1.6; }
.p-option__name.has-badge::after {
	content: "おすすめ"; display: inline-block; margin-left: 8px; padding: 0 8px; vertical-align: 1px;
	font: 500 14px/1.7 var(--f-jp); background: var(--c-blue); color: #fff;
}
.p-option__tag { grid-area: tag; font: 400 14px/1.6 var(--f-en); letter-spacing: 0.04em; color: var(--c-gray); }
.p-option__text { grid-area: text; margin-top: 6px !important; font-size: 14px; line-height: 1.75; color: var(--c-body); }
.p-option__price { grid-area: price; font: 300 26px/1.2 var(--f-en); letter-spacing: 0.02em; white-space: nowrap; }
.p-flow__title { font: 500 14px/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 20px; }
.p-flow__list { counter-reset: fl; }
.p-flow__list li::before { counter-increment: fl; content: counter(fl, decimal-leading-zero); display: block; font: 200 32px/1 var(--f-en); color: var(--c-blue); }
@media (max-width: 767px) {
	.p-option { grid-template-columns: 22px 1fr; grid-template-areas: "plus name" "plus tag" "plus text" "plus price"; }
	.p-option__price { font-size: 24px; }
	.p-option__text { font-size: 15px; }
	.p-point__items li { display: grid; grid-template-columns: 40px 1fr; column-gap: 8px; font-size: 15px; }
	.p-point__items li::before { grid-row: 1 / 3; margin: 0; }
	.p-flow__list li::before { width: 44px; flex-shrink: 0; font-size: 28px; display: inline-block; }
}

/* Journal ---------------------------------------------------------------- */
.p-journal__lead { line-height: 2; }
.p-journal__demo { margin-bottom: 32px !important; font-size: 14px; color: var(--c-gray); }
.p-journal__block .c-arrows { justify-content: flex-end; margin-bottom: 24px; }
@media (max-width: 767px) { .p-journal__block .c-arrows { display: none; } }

/* Contact ---------------------------------------------------------------- */
.p-contact a:not(.wp-block-button__link) { color: #fff; }
.p-contact__points { counter-reset: cp; }
.p-contact__points li { font-size: 14px; color: rgb(255 255 255 / 0.85); }
.p-contact__points li::before { counter-increment: cp; content: counter(cp, decimal-leading-zero); display: block; font: 500 14px/1 var(--f-mono); letter-spacing: 0.12em; color: #fff; margin-bottom: 4px; }
.p-contact__points strong { font-size: 18px; font-weight: 500; letter-spacing: 0.04em; color: #fff; }
.p-contact__lead { margin-top: 48px !important; }
.p-contact__btns { margin-top: 36px !important; }
.p-contact__note { margin-top: 16px !important; }
@media (max-width: 767px) {
	.p-contact__points li { display: grid; grid-template-columns: 34px 1fr; }
	.p-contact__points li::before { grid-row: 1 / 3; margin: 4px 0 0; }
}

/* Footer ----------------------------------------------------------------- */
.l-footer__top { gap: 40px; }
.l-footer__nav { gap: 80px; }
.l-footer__links { display: grid; gap: 12px; }
.l-footer__links a {
	color: var(--c-ink); text-decoration: none;
	font: 500 14px/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase;
}
.l-footer__links a:hover { color: var(--c-blue); }
.l-footer__legal a { color: var(--c-gray); text-decoration: none; margin-right: 20px; }
.l-footer__legal a:hover { color: var(--c-ink); }
@media (max-width: 767px) { .l-footer__nav { gap: 24px; width: 100%; } .l-footer__col { flex: 1; } }

/* Lower pages ------------------------------------------------------------ */
.l-main.l-article { max-width: none; }
.p-pagehead { padding-top: 48px; }
.c-breadcrumb ol { margin: 0; }
.l-article__meta { gap: 14px; align-items: center; }
.l-article__meta .wp-block-post-date { font: 400 14px/1 var(--f-mono); color: var(--c-gray); }
.l-article__meta .c-tag a { color: inherit; text-decoration: none; }
.l-article__eyecatch { margin-bottom: 48px !important; }
.c-postnav { margin-top: 40px !important; font-size: 15px; }
.c-postnav a { color: var(--c-ink); }
.p-work__label { font: 500 14px/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-blue); }
.p-work__lead { margin-top: 16px !important; }
.p-work__hero img { width: 100%; height: auto; }
.c-postnav-wrap { margin-top: 64px !important; border-top: 1px solid var(--c-ink); }
.p-works-archive .c-work--card { display: grid; gap: 14px; align-content: start; }
.c-work--card .c-work__thumb { margin: 0; }
.c-work--card .c-work__thumb img { width: 100%; height: 100%; object-fit: cover; }
.c-work--card .c-work__title a { color: var(--c-ink); text-decoration: none; }
.c-work--card .c-work__title a:hover { color: var(--c-blue); }
.c-journal .wp-block-post-featured-image { margin: 0; }
.c-journal .wp-block-post-title a { color: var(--c-ink); text-decoration: none; }
.c-pager .page-numbers, .c-pager a { text-decoration: none; }

/* Editor: no JS there, so nothing is hidden; keep the fixed header in flow. */
.editor-styles-wrapper .l-header { position: relative; }
.editor-styles-wrapper .l-main { padding-top: 0; }

/* Contact: white type on the blue band (theme.json makes headings ink by default). */
.p-contact .c-sechead__meta, .p-contact .c-sechead__title, .p-contact .c-sechead__sub,
.p-contact .c-sechead__no, .p-contact .c-sechead__jp, .p-contact .c-sechead__page { color: #fff; }
.p-service__intro { margin-left: auto !important; max-width: 620px; }
.p-style__label, .p-style__sub { white-space: nowrap; }
.p-contact__lead, .p-service__intro, .p-qa__a, .p-point__items li { word-break: auto-phrase; text-wrap: pretty; }
@media (max-width: 767px) { .p-contact__lead br, .p-service__intro br { display: none; } }

.p-style__img img { aspect-ratio: 240 / 150; }

/* Mobile menu open: keep the header (logo / rule) visible above the overlay. */
.has-modal-open .l-header { transform: none; }
.l-header__inner > .l-header__logo,
.l-header__inner > .l-header__issue { position: relative; z-index: 100001; }
.l-header__inner::after { z-index: 100001; }
.l-header__nav .wp-block-navigation__responsive-container-close { display: flex; padding: 0; z-index: 100002; }
.l-header__nav .wp-block-navigation__responsive-container-close svg { margin: 0; }

/* Report: フルプランのレポートでわかること（full content width, mock + icon list） */
.p-report { margin: 8px 0 48px; padding: 40px 44px 44px; background: #fff; }
.p-report__label { font: 500 14px/1.4 var(--f-mono); letter-spacing: 0.08em; color: var(--c-blue); }
.p-report__title { margin-top: 10px; font-size: 22px; font-weight: 500; line-height: 1.7; letter-spacing: 0.04em; color: var(--c-ink); }
.p-report__label, .p-report__title { word-break: auto-phrase; text-wrap: balance; }
.p-report__body { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 44px; align-items: start; margin-top: 28px; }
.p-report__mock { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.p-report__mock img { display: block; width: 100%; height: auto; aspect-ratio: 480 / 700; border: 1px solid var(--c-lite); border-radius: 10px; }
.p-report__mock figcaption { margin-top: 10px; font-size: 14px; color: var(--c-gray); text-align: center; }
.p-report__items { border-top: 1px solid var(--c-lite); }
.p-report__item { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--c-lite); }
.p-report__icon { grid-row: 1 / 3; margin: 0; align-self: center; }
.p-report__icon img { display: block; width: 48px; height: 48px; }
.p-report__item-title { display: flex; align-items: baseline; gap: 10px; font-size: 16px; font-weight: 500; line-height: 1.6; color: var(--c-ink); }
.p-report__no { font: 500 14px/1 var(--f-mono); letter-spacing: 0.04em; color: var(--c-blue); }
.p-report__item-text { margin-top: 2px !important; font-size: 14px; line-height: 1.75; color: var(--c-body); word-break: auto-phrase; }
.p-report .p-option__cta-lead { margin-top: 36px; text-align: center; }
@media (max-width: 899px) {
	.p-report { padding: 28px 20px 30px; margin-bottom: 36px; }
	.p-report__title { font-size: 18px; }
	.p-report__body { grid-template-columns: 1fr; gap: 24px; }
	.p-report__mock { position: static; max-width: 440px; margin-inline: auto; }
	.p-report__item-text { font-size: 15px; }
	.p-report .p-option__cta-lead { text-align: left; }
}

/* Option rows: white instead of translucent gray */
.p-options { background: var(--c-lite); }
.p-option { background: #fff; }

/* Service: アクセス解析 option row = "01" (no new number) + "+ Option" */
.p-service__row--option::before { counter-increment: none; content: "01"; }
.p-service__row--option .p-service__en { color: var(--c-blue); }
.p-service__row--option .p-service__detail > p:first-child { margin-bottom: 18px; }

/* Option details as an accordion (name + price always visible) */
.p-option { grid-template-areas: "plus name price" "plus more more"; align-items: center; }
.p-option::before { align-self: start; }
.p-option__more { grid-area: more; margin-top: 8px; }
.p-option__more > summary {
	display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none;
	font: 500 14px/1.6 var(--f-mono); letter-spacing: 0.06em; color: var(--c-blue);
}
.p-option__more > summary::-webkit-details-marker { display: none; }
.p-option__more > summary::after {
	content: ""; width: 9px; height: 9px; margin-top: -4px;
	border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg); transition: transform 0.25s var(--ease), margin 0.25s var(--ease);
}
.p-option__more[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
.p-option__more > summary:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 3px; }
.p-option__more > .p-option__tag { margin-top: 10px; }
@media (max-width: 767px) {
	.p-option { grid-template-areas: "plus name" "plus price" "plus more"; }
}
.p-option__cta-lead { margin-top: 28px; font-size: 15px; line-height: 1.8; color: var(--c-ink); word-break: auto-phrase; }
.p-option__cta { margin-top: 14px; }

/* Option heading (A): small "01" with a branch line + OPTION pill */
.p-service__row--option::before {
	content: "01"; height: 60px; min-width: 40px;
	font: 500 14px/1 var(--f-mono); letter-spacing: 0.06em; color: var(--c-blue);
	background:
		linear-gradient(var(--c-blue), var(--c-blue)) 8px 22px / 1px 29px no-repeat,
		linear-gradient(var(--c-blue), var(--c-blue)) 8px 50px / 22px 1px no-repeat,
		radial-gradient(circle, var(--c-blue) 3.5px, transparent 4px) 28px 45.5px / 10px 10px no-repeat;
}
.p-service__opt-pill {
	display: inline-block; padding: 6px 10px 5px; border: 1px solid var(--c-blue); background: #fff;
	font: 500 14px/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-blue);
}
.p-service__name--option .p-service__jp { margin-top: 12px; font-size: 20px; }
.p-service__opt-en { margin-top: 2px; font: 400 14px/1.5 var(--f-en); letter-spacing: 0.06em; color: var(--c-gray); }

/* HP guide (patterns/hp-guide.php — ご紹介限定の説明ページ) ---------------- */
.p-guide { color: var(--c-ink); }
.p-guide p, .p-guide li, .p-guide h3 { word-break: auto-phrase; text-wrap: pretty; }
.p-guide h3 { margin: 0; font-weight: 700; line-height: 1.6; letter-spacing: 0.04em; }
.p-guide .wp-block-list { margin: 0; padding: 0; list-style: none; }
.p-guide li + li { margin-top: 0; }
.p-guide__label { font: 500 14px/1.4 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-blue); }
.p-guide__label-jp { margin-top: 4px !important; font-size: 15px; font-weight: 700; line-height: 1.6; }
.p-guide__lead { font-size: 16px; color: var(--c-body); }
.p-guide__sec { margin-top: clamp(80px, 12vw, 120px) !important; scroll-margin-top: calc(var(--header-h) + 16px); }
.p-guide__sec > * + * { margin-top: 24px; }
.p-guide .c-sechead { margin-bottom: 32px; }
.p-guide .c-sechead__title { font-size: clamp(44px, 9vw, 64px); }

/* Intro + contents */
.p-guide__intro { display: grid; gap: 12px; }
.p-guide__intro p:not(.p-guide__label) { font-size: 16px; color: var(--c-body); line-height: 2; }
.p-guide__toc { margin-top: 48px !important; }
.p-guide .p-guide__toclist { margin-top: 12px; border-top: 1px solid var(--c-ink); counter-reset: toc; }
.p-guide__toclist li { counter-increment: toc; border-bottom: 1px solid var(--c-lite); }
.p-guide .p-guide__toclist a { display: flex; align-items: baseline; gap: 18px; padding: 14px 0; color: var(--c-ink); text-decoration: none; font-size: 16px; font-weight: 500; line-height: 1.6; transition: color 0.3s; }
.p-guide__toclist a::before { content: counter(toc, decimal-leading-zero); font: 500 14px/1 var(--f-mono); letter-spacing: 0.1em; color: var(--c-blue); }
.p-guide__toclist a::after { content: "↓"; margin-left: auto; font-family: var(--f-mono); font-size: 14px; color: var(--c-gray); }
.p-guide .p-guide__toclist a:hover { color: var(--c-blue); }

/* 01 Price */
.p-guide__price { display: grid; gap: 16px; padding: clamp(24px, 5vw, 40px); background: var(--c-ice); }
.p-guide__tag { justify-self: start; padding: 4px 12px; background: #fff; border: 1px solid var(--c-blue); color: var(--c-blue); font-size: 14px; font-weight: 700; line-height: 1.6; letter-spacing: 0.06em; }
.p-guide__price-row { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 16px; }
.p-guide__price-name { font-size: 18px; font-weight: 700; line-height: 1.6; }
.p-guide__price-num { font: 300 clamp(56px, 13vw, 76px)/1.1 var(--f-en); letter-spacing: 0.02em; }
.p-guide__price-unit { margin-left: -10px !important; font-size: 16px; font-weight: 500; line-height: 1.6; }
@media (max-width: 767px) { .p-guide__price-name { flex-basis: 100%; } .p-guide__price-num { font-size: 52px; } }
.p-guide__note { padding-top: 16px; border-top: 1px solid #c9dcea; font-size: 14px; line-height: 1.9; color: var(--c-body); }

/* Cards (02 Service / 04 Sharing) */
.p-guide__cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; counter-reset: card; }
.p-guide__cards--3 { grid-template-columns: repeat(3, 1fr); }
.p-guide__card { display: grid; gap: 8px; align-content: start; padding: 24px 22px; background: var(--c-off); }
.p-guide__cards:not(.p-guide__cards--3) .p-guide__card::before { content: counter(card, decimal-leading-zero); counter-increment: card; font: 500 14px/1.4 var(--f-mono); letter-spacing: 0.1em; color: var(--c-blue); }
.p-guide__card.is-recommended { background: var(--c-ice); }
.p-guide .p-guide__card-title { font-size: 17px; }
.p-guide__card p:not(.p-guide__badge) { font-size: 15px; line-height: 1.9; color: var(--c-body); }
.p-guide__badge { justify-self: start; padding: 2px 10px; background: var(--c-blue); color: #fff; font-size: 14px; font-weight: 700; line-height: 1.6; letter-spacing: 0.08em; }
@media (max-width: 767px) {
	.p-guide__cards, .p-guide__cards--3 { grid-template-columns: 1fr; }
}

/* 03 Prepare */
.p-guide .p-guide__check { border-top: 1px solid var(--c-ink); }
.p-guide__check li { position: relative; padding: 16px 0 16px 34px; border-bottom: 1px solid var(--c-lite); font-size: 15px; line-height: 1.8; color: var(--c-gray); }
.p-guide__check li::before { content: ""; position: absolute; left: 0; top: 23px; width: 16px; height: 16px; border: 1.5px solid var(--c-blue); }
.p-guide__check strong { font-size: 17px; color: var(--c-ink); }

/* 05 Flow */
.p-guide .p-guide__flow { counter-reset: step; }
.p-guide__flow li { position: relative; padding: 6px 0 28px 64px; counter-increment: step; font-size: 15px; line-height: 1.8; color: var(--c-body); }
.p-guide__flow li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--c-blue); border-radius: 50%; background: #fff; font: 400 16px/1 var(--f-en); color: var(--c-blue); }
.p-guide__flow li:not(:last-child)::after { content: ""; position: absolute; left: 20px; top: 44px; bottom: 4px; width: 1px; background: var(--c-lite); }
.p-guide__flow li:last-child { padding-bottom: 0; }
.p-guide__flow li:last-child::before { background: var(--c-blue); color: #fff; }
.p-guide__flow strong { font-size: 17px; color: var(--c-ink); }
.p-guide__point { display: grid; gap: 8px; margin-top: 40px !important; padding: clamp(24px, 5vw, 32px); background: var(--c-ice); }
.p-guide .p-guide__point-title { font-size: 18px; }
.p-guide__point p:not(.p-guide__label) { font-size: 15px; line-height: 1.9; color: var(--c-body); }

/* 06 Payment */
.p-guide__pay { display: grid; gap: 4px; padding: clamp(24px, 5vw, 40px); background: var(--c-ice); }
.p-guide__pay-pre { font-size: 15px; color: var(--c-body); line-height: 1.6; }
.p-guide__pay-big { display: flex; align-items: baseline; gap: 4px; }
.p-guide__pay-num { font: 300 clamp(60px, 14vw, 76px)/1.1 var(--f-en); }
.p-guide__pay-unit { font-size: 22px; font-weight: 700; line-height: 1.6; }
.p-guide__pay-how { margin-top: 8px !important; padding-top: 14px; border-top: 1px solid #c9dcea; font-size: 17px; font-weight: 700; line-height: 1.7; }

/* 07 Manual */
.p-guide .p-guide__lead + .p-guide__label { margin-top: 32px; }
.p-guide .p-guide__manual { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 32px; margin-top: 12px; border-top: 1px solid var(--c-ink); counter-reset: man; }
.p-guide__manual li { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--c-lite); counter-increment: man; font-size: 16px; font-weight: 500; line-height: 1.6; }
.p-guide__manual li::before { content: counter(man, decimal-leading-zero); font: 500 14px/1 var(--f-mono); letter-spacing: 0.1em; color: var(--c-blue); }
@media (max-width: 767px) { .p-guide .p-guide__manual { grid-template-columns: 1fr; } }
.p-guide__caution { display: grid; gap: 10px; margin-top: 40px !important; padding: 24px clamp(20px, 4vw, 28px); border: 1px solid var(--c-lite); border-left: 3px solid var(--c-blue); }
.p-guide .p-guide__caution-title { font-size: 17px; }
.p-guide__caution p { font-size: 15px; line-height: 1.9; color: var(--c-body); }

/* Closing */
.p-guide__end { margin-top: clamp(80px, 12vw, 120px) !important; padding-top: 48px; border-top: 1px solid var(--c-ink); text-align: center; }
.p-guide__end-text { font-size: 18px; font-weight: 500; line-height: 1.9; }
.p-guide__end-btns { justify-content: center; margin-top: 28px !important; }
@media (max-width: 767px) {
	.p-guide__end-btns .wp-block-button, .p-guide__end-btns .wp-block-button__link { width: 100%; }
}
/* HP guide: undo .c-prose rules that hit the section heads and the button. */
.p-guide .c-sechead__title { margin-top: 4px; padding-top: 0; border-top: 0; font-weight: 300; line-height: 1.1; }
.p-guide .wp-block-button__link { color: #fff; text-decoration: none; }
@media (max-width: 767px) {
	.p-guide .c-sechead__page { display: none; }
	.p-guide .c-sechead__no { white-space: nowrap; }
}

/* Nav: Japanese sub-labels, Service submenu, LINE button (slide-in menu only) */
.l-nav__jp { display: none; }
.l-header__nav .l-nav__line { display: none; }
.l-header__nav .l-nav__service > .wp-block-navigation__submenu-icon,
.l-header__nav .l-nav__service > .wp-block-navigation__submenu-container { display: none; }
.l-header__nav .is-menu-open .l-nav__jp {
	display: inline-block; margin-left: 14px; vertical-align: 0.2em;
	font: 500 14px/1 var(--f-jp, inherit); letter-spacing: 0.08em; color: var(--c-gray);
}
.l-header__nav .is-menu-open .l-nav__service > .wp-block-navigation__submenu-container {
	display: block; position: static; width: 100%; min-width: 0; margin: -6px 0 14px; padding: 0 0 0 2px !important;
	border: 0; background: none; opacity: 1; visibility: visible; height: auto; overflow: visible;
}
.l-header__nav .is-menu-open .l-nav__service > .wp-block-navigation__submenu-icon { display: none; }
.l-header__nav .wp-block-navigation__responsive-container.is-menu-open .l-nav__service .wp-block-navigation__submenu-container .wp-block-navigation-item { border-bottom: 0; }
.l-header__nav .wp-block-navigation__responsive-container.is-menu-open .l-nav__service .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	display: flex; align-items: center; gap: 10px; padding: 7px 0;
	font: 400 15px/1.5 var(--f-jp, inherit); letter-spacing: 0.06em; color: var(--c-body);
}
.l-header__nav .wp-block-navigation__responsive-container.is-menu-open .l-nav__service .wp-block-navigation__submenu-container .wp-block-navigation-item__content::before {
	content: ""; width: 12px; height: 1px; background: var(--c-blue);
}
.l-header__nav .is-menu-open .l-nav__line { display: block; border-bottom: 0 !important; margin-top: 28px; }
.l-header__nav .wp-block-navigation__responsive-container.is-menu-open .l-nav__line > .wp-block-navigation-item__content {
	display: flex; justify-content: center; align-items: center; gap: 10px; padding: 18px 20px;
	background: var(--c-blue); color: #fff;
	font: 500 16px/1.4 var(--f-jp, inherit); letter-spacing: 0.08em;
}
.l-header__nav .wp-block-navigation__responsive-container.is-menu-open .l-nav__line > .wp-block-navigation-item__content::after { content: "→"; font-family: var(--f-en); }
.l-header__nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { overflow-y: auto; }

/* SP: note-integration points — no gap between title and text */
@media (max-width: 767px) {
	.p-point__items li, .p-point__items li:first-child { display: block; position: relative; padding: 16px 0 16px 48px; }
	.p-point__items li::before { position: absolute; left: 0; top: 16px; margin: 0; width: auto; }
	.p-point__items strong { display: block; margin-bottom: 4px; }
	.p-point__items li br { display: none; }
}
.l-header__nav .is-menu-open .l-nav__service { flex-direction: column; align-items: stretch !important; }
.l-header__nav .is-menu-open .l-nav__service > .wp-block-navigation__submenu-container { width: 100% !important; align-self: stretch; }
.p-point__title { word-break: auto-phrase; }

/* Point（note 連携）: same full-width card as the Report */
.p-feature { margin-top: 0; }
.p-feature__lead { margin-top: 10px; max-width: 640px; font-size: 15px; line-height: 1.9; color: var(--c-body); word-break: auto-phrase; }
.p-feature .p-report__body { align-items: center; }
.p-feature .p-feature__flow { position: static; }
.p-feature .p-feature__flow img { aspect-ratio: 480 / 372; border: 0; }
.p-feature__styles { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--c-lite); }
.p-feature__styles .p-point__styles-title { margin-top: 0; padding-top: 0; border-top: 0; font-size: 16px; font-weight: 500; }
.p-feature__styles .p-styles { gap: 20px; margin-top: 16px; }
@media (max-width: 899px) {
	.p-feature__lead { font-size: 15px; }
	.p-feature__styles { margin-top: 28px; padding-top: 22px; }
	.p-feature__styles .p-styles { gap: 14px; }
}
@media (max-width: 767px) { .p-report__title { font-size: 17px; letter-spacing: 0.02em; } }
.u-nowrap { display: inline-block; }
@media (max-width: 899px) { .p-feature .p-report__item:last-child { border-bottom: 0; padding-bottom: 0; } }
.p-work__lead { max-width: none; }
.p-work__lead, .c-prose p, .c-work__text { word-break: auto-phrase; }
.p-work .c-more { margin-bottom: clamp(64px, 9vw, 112px) !important; }
.p-work .p-work__lead { max-width: none !important; }

/* Query pagination (block): numbers in one row, arrows as the same 48px boxes */
.wp-block-query-pagination.c-pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 64px 0 clamp(64px, 9vw, 112px); }
.c-pager .wp-block-query-pagination-numbers { display: flex; gap: 8px; margin: 0; }
.c-pager .wp-block-query-pagination-previous,
.c-pager .wp-block-query-pagination-next {
	min-width: 48px; height: 48px; display: grid; place-items: center; margin: 0; padding-inline: 8px;
	font: 400 18px/1 var(--f-en); border: 1px solid var(--c-lite); color: var(--c-ink); text-decoration: none;
}
.c-pager .wp-block-query-pagination-previous:hover,
.c-pager .wp-block-query-pagination-next:hover { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
.c-pager .page-numbers.dots { border: 0; min-width: 24px; }
/* Space under the works list, with or without pagination */
.p-works-archive { margin-bottom: clamp(64px, 9vw, 112px) !important; }
.p-works-archive .wp-block-query-pagination.c-pager { margin-bottom: 0; }

/* Guide template (templates/page-guide.html): no header / footer ---------- */
.l-main.l-guide { padding-top: 0; }
.l-guide__brand { padding-block: 28px 40px; font: 400 20px/1.2 var(--f-en); letter-spacing: 0.02em; color: var(--c-ink); }
.l-guide__copy { margin-top: 64px !important; font: 400 14px/1.4 var(--f-mono); letter-spacing: 0.08em; color: var(--c-gray); text-align: center; }
.p-guide__end-btns { gap: 12px; }
.p-guide .is-style-outline > .wp-block-button__link { color: var(--c-ink); }
.p-guide .is-style-outline > .wp-block-button__link:hover { color: #fff; }

/* Works archive card: Type label → title + arrow → Role (readable in one column) */
.p-works-archive .c-work--card { display: grid; gap: 0; align-content: start; }
.c-work--card .c-work__thumb { order: 0; margin-bottom: 20px !important; }
.c-work--card .c-work__meta--split { display: contents; }
.c-work--card .c-work__kind { order: 1; margin-bottom: 6px !important; font: 500 14px/1.4 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-blue); }
.p-works-archive .c-work--card .c-work__title { order: 2; display: block; background: none; font-size: 20px; font-weight: 500; line-height: 1.5; letter-spacing: 0.02em; }
.c-work--card .c-work__title a { display: flex; align-items: baseline; gap: 16px; }
.c-work--card .c-work__title a::after { content: "→"; margin-left: auto; font: 400 16px/1 var(--f-mono); color: var(--c-ink); transition: transform 0.35s var(--ease); }
.c-work--card .c-work__title a:hover::after { transform: translateX(4px); color: var(--c-blue); }
.c-work--card .c-work__roles { order: 3; margin-top: 8px !important; padding-top: 10px; border-top: 1px solid var(--c-lite); font: 400 14px/1.6 var(--f-en); letter-spacing: 0.04em; color: var(--c-body); }
.p-works-archive .p-works__grid:not(.is-uniform):not(.is-filtered) .c-work:first-child .c-work__title { font-size: 24px; }
@media (max-width: 767px) {
	.p-works-archive .p-works__grid { row-gap: 56px; }
	.p-works-archive .p-works__grid:not(.is-uniform):not(.is-filtered) .c-work:first-child .c-work__title { font-size: 22px; }
}

/* Front marquee card: same caption as the works archive (Type label → title + arrow → Role) */
.c-work__cap--split { display: block; margin-top: 20px; }
.c-work__cap--split .c-work__kind { margin-bottom: 6px; font: 500 14px/1.4 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-blue); }
.c-work__cap--split .c-work__title { display: flex; align-items: baseline; gap: 16px; background: none; font-size: 20px; font-weight: 500; line-height: 1.5; letter-spacing: 0.02em; }
.c-work__cap--split .c-work__title::after { content: "→"; margin-left: auto; font: 400 16px/1 var(--f-mono); color: var(--c-ink); transition: transform 0.35s var(--ease), color 0.35s; }
.c-work__link:hover .c-work__cap--split .c-work__title::after { transform: translateX(4px); color: var(--c-blue); }
.c-work__cap--split .c-work__roles { margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--c-lite); font: 400 14px/1.6 var(--f-en); letter-spacing: 0.04em; color: var(--c-body); }
@media (max-width: 767px) { .c-work__cap--split .c-work__title { font-size: 18px; } }

/* Service paused (受付停止中): keep the row for reference, but read as "not taking orders" */
.p-service__paused { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px !important; font-size: 14px; line-height: 1.7; color: var(--c-ink); }
.p-service__paused .c-tag { padding: 0 10px; border-color: var(--c-gray); color: var(--c-body); background: #fff; font-family: var(--f-jp); letter-spacing: 0.08em; }
.p-service__row.is-paused .p-service__plans,
.p-service__row.is-paused .p-service__price,
.p-service__row.is-paused .p-service__detail > p:not(.p-service__paused) { opacity: 0.5; }
.p-service__row.is-paused::before, .p-service__row.is-paused .p-service__en { color: var(--c-gray); }

/* TOP: plan cards show price + scope only, link to the detail page */
.p-plan__scope { margin-top: 6px; font-size: 14px; line-height: 1.7; color: var(--c-body); }
.p-plans__more { margin-top: 18px; }

/* Webサイト制作のプラン（/web-plan/） */
.p-wplans { padding-block: clamp(48px, 7vw, 88px) clamp(64px, 9vw, 112px); }
.p-wplans__intro { max-width: 720px; font-size: 16px; line-height: 2; color: var(--c-body); word-break: auto-phrase; }
.p-wplans__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.p-wplan { padding: 32px 30px 30px; background: var(--c-off); }
.p-wplan__name { font-size: 22px; font-weight: 500; letter-spacing: 0.04em; line-height: 1.5; }
.p-wplan__lead { margin-top: 6px !important; font-size: 14px; line-height: 1.8; color: var(--c-body); word-break: auto-phrase; }
.p-wplan__price { margin-top: 18px !important; font: 300 40px/1.1 var(--f-en); letter-spacing: 0.02em; color: var(--c-ink); }
.p-wplan__scope { margin-top: 8px !important; font-size: 14px; color: var(--c-body); }
.p-wplan__label { margin-top: 26px !important; padding-top: 18px; border-top: 1px solid var(--c-lite); font: 500 14px/1.4 var(--f-mono); letter-spacing: 0.08em; color: var(--c-blue); }
.p-wplan__fit, .p-wplan__items { margin-top: 10px !important; padding: 0; list-style: none; display: grid; gap: 8px; }
.p-wplan__fit li, .p-wplan__items li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.75; color: var(--c-ink); word-break: auto-phrase; }
.p-wplan__fit li::before { content: ""; position: absolute; left: 4px; top: 0.75em; width: 8px; height: 8px; border-radius: 50%; background: var(--c-ice); box-shadow: inset 0 0 0 2px var(--c-blue); }
.p-wplan__items li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 10px; height: 5px; border-left: 2px solid var(--c-blue); border-bottom: 2px solid var(--c-blue); transform: rotate(-45deg); }
.p-wplan__items strong { color: var(--c-blue); font-weight: 500; }
.p-wplan__note { margin-top: 16px !important; font-size: 14px; line-height: 1.8; color: var(--c-body); }
.p-wplans__h { margin-top: clamp(56px, 8vw, 88px) !important; padding-top: 16px; border-top: 1px solid var(--c-ink); font-size: 20px; font-weight: 500; letter-spacing: 0.06em; }
.p-wplans__table { margin-top: 20px !important; overflow-x: auto; }
.p-wplans__table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.7; }
.p-wplans__table th, .p-wplans__table td { padding: 14px 16px; border: 0; border-bottom: 1px solid var(--c-lite); text-align: left; vertical-align: top; }
.p-wplans__table thead th { border-bottom: 1px solid var(--c-ink); font-weight: 500; font-size: 16px; }
.p-wplans__table tbody td:first-child { width: 26%; font: 500 14px/1.7 var(--f-jp); color: var(--c-body); }
.p-wplans__table tbody tr:first-child td:not(:first-child) { font: 300 22px/1.3 var(--f-en); }
.p-wplans__common { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.p-wcommon { padding: 24px 24px 22px; background: var(--c-off); }
.p-wcommon__title { font-size: 16px; font-weight: 500; letter-spacing: 0.04em; }
.p-wcommon__list { margin-top: 10px !important; padding: 0; list-style: none; display: grid; gap: 8px; }
.p-wcommon__list li { position: relative; padding-left: 16px; font-size: 14px; line-height: 1.8; color: var(--c-ink); word-break: auto-phrase; }
.p-wcommon__list li::before { content: ""; position: absolute; left: 0; top: 0.85em; width: 8px; height: 1px; background: var(--c-blue); }
.p-wcommon__list a { color: var(--c-blue); }
.p-wplans__cta { margin-top: clamp(56px, 8vw, 88px); padding: 36px 32px; background: var(--c-ice); text-align: center; }
.p-wplans__cta-lead { font-size: 16px; line-height: 1.9; word-break: auto-phrase; }
.p-wplans__btns { justify-content: center; margin-top: 20px; gap: 12px; }
@media (max-width: 899px) {
	.p-wplans__cards, .p-wplans__common { grid-template-columns: 1fr; }
	.p-wplan { padding: 26px 20px 24px; }
	.p-wplan__price { font-size: 34px; }
	.p-wplans__cta { padding: 28px 20px; text-align: left; }
	.p-wplans__btns { justify-content: flex-start; }
	.p-wplans__table tbody td:first-child { width: 30%; }
}
.p-wplans__table figcaption { margin-top: 10px; font-size: 14px; line-height: 1.8; color: var(--c-body); text-align: left; }
.p-wcommon__sub { display: inline-block; margin-top: 2px; font-size: 14px; color: var(--c-body); }
@media (max-width: 599px) {
	.p-wplans__table table { min-width: 0; font-size: 14px; }
	.p-wplans__table th, .p-wplans__table td { padding: 12px 8px; }
	.p-wplans__table thead th { font-size: 14px; }
	.p-wplans__table tbody td:first-child { width: 28%; font-size: 14px; }
	.p-wplans__table tbody tr:first-child td:not(:first-child) { font-size: 18px; }
}
.p-wplans__table th, .p-wplans__table td { word-break: auto-phrase; }
@media (max-width: 599px) {
	.p-wplans__table table { letter-spacing: 0; }
	.p-wplans__table th, .p-wplans__table td { padding: 12px 4px; }
	.p-wplans__table tbody td:first-child { width: 36%; letter-spacing: 0; }
}
/* core sets word-break:break-word on fixed-layout tables, and fixed layout takes column widths from the first row */
.p-wplans__table.wp-block-table th, .p-wplans__table.wp-block-table td { word-break: auto-phrase !important; }
.p-wplans__table thead th:first-child { width: 26%; }
@media (max-width: 599px) { .p-wplans__table thead th:first-child { width: 37%; } }

/* 税込 + plan simulation */
.p-plan__tax { margin-left: 4px; font: 400 14px/1 var(--f-jp); letter-spacing: 0.02em; color: var(--c-body); }
.p-wplans__simlead { margin-top: 14px !important; font-size: 15px; line-height: 1.9; color: var(--c-body); word-break: auto-phrase; }
.p-wplans__simlead a { color: var(--c-blue); }
.p-wplans__sims { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.p-wsim { padding: 24px 24px 18px; border: 1px solid var(--c-lite); }
.p-wsim__name { font-size: 16px; font-weight: 500; letter-spacing: 0.04em; word-break: auto-phrase; }
.p-wsim__table { margin-top: 10px !important; }
.p-wsim__table table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.7; }
.p-wsim__table.wp-block-table td { padding: 10px 0; border: 0; border-bottom: 1px solid var(--c-lite); word-break: auto-phrase !important; }
.p-wsim__table td:last-child { text-align: right; font-family: var(--f-en); font-size: 16px; white-space: nowrap; }
.p-wsim__table tr:nth-child(3) td { color: var(--c-blue); }
.p-wsim__table tr:last-child td { border-bottom: 0; padding-top: 14px; font-weight: 500; font-size: 15px; }
.p-wsim__table tr:last-child td:last-child { font: 300 28px/1.1 var(--f-en); color: var(--c-ink); }
@media (max-width: 899px) { .p-wplans__sims { grid-template-columns: 1fr; } .p-wsim { padding: 20px 18px 14px; } }
/* plan badge (大好評) — same look as the option's おすすめ tag */
.p-plan__badge { display: inline-block; margin: 0 0 10px !important; padding: 0 10px; font: 500 14px/1.8 var(--f-jp); letter-spacing: 0.08em; background: var(--c-blue); color: #fff; }
/* badge sits on the card's top edge so both cards keep the same alignment */
.p-plan, .p-wplan { position: relative; }
.p-plan > .p-plan__badge, .p-wplan > .p-plan__badge { position: absolute; top: -13px; left: 28px; margin: 0 !important; }
@media (max-width: 899px) { .p-plan > .p-plan__badge, .p-wplan > .p-plan__badge { left: 20px; } }
.p-plans { padding-top: 13px; }
.p-plan__more { margin-top: 14px !important; padding-top: 12px; border-top: 1px solid var(--c-lite); font-size: 14px; }
.p-plan__more a { color: var(--c-blue); text-decoration: underline; text-underline-offset: 4px; }
.p-plan__more a:hover { text-decoration: none; }
.p-wplan { scroll-margin-top: calc(var(--header-h) + 24px); }
/* Point / Report card titles: same size as the other section headings (18px) */
.p-report__title { font-size: 18px; line-height: 1.75; }
@media (max-width: 767px) { .p-report__title { font-size: 16px; } }
/* 大好評 badge: round, top-right of the card */
.p-plan > .p-plan__badge, .p-wplan > .p-plan__badge {
	top: -18px; left: auto; right: 18px;
	width: 64px; height: 64px; padding: 0; border-radius: 50%;
	display: grid; place-items: center;
	font: 500 14px/1 var(--f-jp); letter-spacing: 0.04em;
	box-shadow: 0 0 0 4px var(--c-paper, #fff);
}
@media (max-width: 899px) { .p-plan > .p-plan__badge, .p-wplan > .p-plan__badge { left: auto; right: 14px; } }
.p-plans { padding-top: 18px; }
.p-plan__name, .p-wplan__name { padding-right: 70px; }
.p-plan__tax { display: inline-block; white-space: nowrap; }
.p-plan__more { text-align: center; }
/* 大好評 badge — gold medal */
.p-plan > .p-plan__badge, .p-wplan > .p-plan__badge {
	top: -20px; right: 16px; width: 70px; height: 70px;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
	background:
		radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.55) 0, rgba(255, 255, 255, 0) 42%),
		linear-gradient(135deg, #f0d48a 0%, #d4a645 38%, #b8862b 62%, #e6c46e 100%);
	color: #5b3e0c; font: 700 14px/1 var(--f-jp); letter-spacing: 0.06em;
	box-shadow: 0 0 0 4px #fff, inset 0 0 0 3px rgba(255, 255, 255, 0.45), inset 0 0 0 4px rgba(120, 80, 10, 0.3), 0 4px 10px rgba(120, 80, 10, 0.18);
	transform: rotate(-8deg);
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}
.p-plan > .p-plan__badge::before, .p-wplan > .p-plan__badge::before {
	content: "★★★"; font-size: 8px; letter-spacing: 0.18em; line-height: 1; color: #7a5410; text-shadow: none;
}
/* 大好評 badge — simple flat gold circle (overrides the medal version) */
.p-plan > .p-plan__badge, .p-wplan > .p-plan__badge {
	width: 64px; height: 64px; top: -18px; right: 18px;
	background: #c5a256; color: #fff; text-shadow: none;
	font: 500 14px/1 var(--f-jp); letter-spacing: 0.06em;
	box-shadow: 0 0 0 4px #fff; transform: none;
}
.p-plan > .p-plan__badge::before, .p-wplan > .p-plan__badge::before { content: none; }
/* Journal (note RSS) card titles: smaller, body-text size */
.c-journal__title { font-size: 16px; line-height: 1.75; }

/* /web-plan/ — photos + easier scanning */
.p-wplans__lead { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.p-wplans__lead .p-wplans__intro { margin: 0; }
.p-wplans__hero { position: relative; margin: 0; }
.p-wplans__hero::after { content: ""; position: absolute; inset: 16px -16px -16px 16px; background: var(--c-ice); z-index: -1; }
.p-wplans__hero img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.p-wplan__img { margin: -32px -30px 22px !important; }
.p-wplan__img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.p-wplan__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 18px; background: var(--c-lite); border: 1px solid var(--c-lite); }
.p-wstat { padding: 12px 10px; background: #fff; text-align: center; }
.p-wstat__label { font-size: 14px; line-height: 1.5; color: var(--c-body); word-break: auto-phrase; }
.p-wstat__value { margin-top: 4px !important; font-size: 16px; font-weight: 500; line-height: 1.4; color: var(--c-ink); word-break: auto-phrase; }
.p-wplan__fit { display: flex !important; flex-wrap: wrap; gap: 8px !important; }
.p-wplan__fit li { padding: 6px 14px !important; border-radius: 999px; background: #fff; font-size: 14px !important; line-height: 1.6; }
.p-wplan__fit li::before { content: none !important; }
.p-wplans__commonimg { margin: 20px 0 0 !important; }
.p-wplans__commonimg img { display: block; width: 100%; aspect-ratio: 1000 / 260; object-fit: cover; object-position: center 60%; }
@media (max-width: 899px) {
	.p-wplans__lead { grid-template-columns: 1fr; gap: 28px; }
	.p-wplans__hero { margin-right: 16px; }
	.p-wplan__img { margin: -26px -20px 20px !important; }
	.p-wplans__commonimg img { aspect-ratio: 16 / 7; }
}
/* 大好評 badge: small yellow stars above the text */
.p-plan > .p-plan__badge, .p-wplan > .p-plan__badge { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; }
.p-plan > .p-plan__badge::before, .p-wplan > .p-plan__badge::before {
	content: "★★★"; font-size: 9px; line-height: 1; letter-spacing: 0.16em; margin-right: -0.16em; color: #ffe066;
}
/* TOP plan cards: blue full-width button bar at the bottom */
.p-plan { display: flex; flex-direction: column; }
.p-plan > .p-plan__more {
	margin: auto -28px -30px !important; padding: 0; border-top: 0;
}
.p-plan > .p-plan__more a {
	display: block; padding: 16px 20px; margin-top: 22px;
	background: var(--c-blue); color: #fff; text-decoration: none; text-align: center;
	font-size: 15px; font-weight: 500; letter-spacing: 0.08em;
	transition: background 0.2s;
}
.p-plan > .p-plan__more a:hover, .p-plan > .p-plan__more a:focus-visible { background: #1f6fb5; text-decoration: none; }
@media (max-width: 767px) { .p-plan > .p-plan__more { margin: auto -22px -26px !important; } }
/* keep 大好評 exactly centred; stars float above it */
.p-plan > .p-plan__badge::before, .p-wplan > .p-plan__badge::before { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); margin-right: 0; }
/* 詳しく見る: on hover the colours flip, sweeping from left to right */
.p-plan > .p-plan__more a {
	background: linear-gradient(to right, #fff 50%, var(--c-blue) 50%);
	background-size: 200% 100%; background-position: right center;
	box-shadow: inset 0 0 0 1px var(--c-blue);
	transition: background-position 0.4s var(--ease, ease), color 0.4s var(--ease, ease);
}
.p-plan > .p-plan__more a:hover, .p-plan > .p-plan__more a:focus-visible { background: linear-gradient(to right, #fff 50%, var(--c-blue) 50%); background-size: 200% 100%; background-position: left center; color: var(--c-blue); }
@media (prefers-reduced-motion: reduce) { .p-plan > .p-plan__more a { transition: none; } }
/* 大好評 badge: no stars — a thin yellow ring inside the gold circle */
.p-plan > .p-plan__badge::before, .p-wplan > .p-plan__badge::before {
	content: ""; position: absolute; inset: 4px; top: 4px; left: 4px; transform: none;
	border: 1.5px solid #ffe066; border-radius: 50%; font-size: 0; letter-spacing: 0;
}
/* 大好評 badge ring: white dotted line */
.p-plan > .p-plan__badge::before, .p-wplan > .p-plan__badge::before { border: 1.5px dotted #fff; }
.p-plan > .p-plan__badge::before, .p-wplan > .p-plan__badge::before { border-width: 3px; inset: 4px; }
/* round white dots (SVG so the dots are truly round and evenly spaced) */
.p-plan > .p-plan__badge::before, .p-wplan > .p-plan__badge::before {
	inset: 3px; border: 0; border-radius: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 58 58'%3E%3Ccircle cx='29' cy='29' r='26.5' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-dasharray='0 6.94'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.p-plan > .p-plan__badge, .p-wplan > .p-plan__badge { width: 70px; height: 70px; top: -20px; }
/* プランの内容: label / value rows (same order in both cards → easy to compare) */
.p-wplan__items { gap: 0 !important; border-top: 1px solid var(--c-lite); margin-top: 12px !important; }
.p-wplan__items li { display: grid; grid-template-columns: 7.5em 1fr; column-gap: 14px; align-items: baseline; padding: 12px 0 !important; border-bottom: 1px solid var(--c-lite); }
.p-wplan__items li::before { content: none !important; }
.p-wrow__k { font-size: 14px; font-weight: 500; line-height: 1.7; color: var(--c-blue); word-break: auto-phrase; }
.p-wrow__v { font-size: 15px; line-height: 1.75; color: var(--c-ink); word-break: auto-phrase; }
.p-wrow__v strong { color: var(--c-blue); font-weight: 500; }
@media (max-width: 899px) { .p-wplan__items li { grid-template-columns: 6.5em 1fr; column-gap: 10px; } }

/* 比較表: vertical rules between columns + tinted header row */
.p-wplans__table th + th, .p-wplans__table td + td { border-left: 1px solid var(--c-lite) !important; }
.p-wplans__table thead th { background: var(--c-ice); text-align: center; }
.p-wplans__table thead th:first-child { background: transparent; }
.p-wplans__table tbody td:not(:first-child) { text-align: center; }
.p-wplans__table tbody td:first-child { padding-left: 4px; }

/* Section headings: numbered, larger, easier to find */
.p-wplans { counter-reset: wph; }
.p-wplans__h { counter-increment: wph; display: flex; align-items: baseline; gap: 14px; font-size: 24px !important; letter-spacing: 0.06em; padding-top: 20px !important; }
.p-wplans__h::before { content: counter(wph, decimal-leading-zero); font: 500 14px/1 var(--f-mono); letter-spacing: 0.08em; color: var(--c-blue); transform: translateY(-3px); }
@media (max-width: 767px) { .p-wplans__h { font-size: 20px !important; gap: 10px; } }

/* Card sub-headings (こんな方に / プランの内容) */
.p-wplan__label { display: flex; align-items: center; gap: 8px; font: 500 16px/1.4 var(--f-jp) !important; letter-spacing: 0.06em !important; color: var(--c-ink) !important; }
.p-wplan__label::before { content: ""; width: 4px; height: 1.1em; background: var(--c-blue); }
/* Card sub-headings as a full-width blue band */
.p-wplan__label {
	margin: 28px -30px 0 !important; padding: 10px 30px !important; border-top: 0 !important;
	background: var(--c-blue); color: #fff !important; font: 700 16px/1.4 var(--f-jp) !important; letter-spacing: 0.1em !important;
}
.p-wplan__label::before { content: none; }
.p-wplan__fit { margin-top: 16px !important; }
.p-wplan__items { margin-top: 0 !important; border-top: 0; }
@media (max-width: 899px) { .p-wplan__label { margin: 24px -20px 0 !important; padding: 10px 20px !important; } }
/* Card sub-headings: back to a left-line heading (user's choice) */
.p-wplan__label {
	margin: 28px 0 0 !important; padding: 2px 0 2px 12px !important;
	background: none; border-left: 4px solid var(--c-blue); border-top: 0 !important;
	color: var(--c-ink) !important; font: 700 16px/1.5 var(--f-jp) !important; letter-spacing: 0.08em !important;
}
.p-wplan__fit { margin-top: 14px !important; }
.p-wplan__items { margin-top: 10px !important; border-top: 1px solid var(--c-lite); }
@media (max-width: 899px) { .p-wplan__label { margin: 24px 0 0 !important; padding: 2px 0 2px 12px !important; } }
/* Detail page: badge sits beside the plan name, below the photo (not on the people) */
.p-wplan > .p-plan__badge { position: relative; top: auto; right: auto; left: auto; float: right; margin: 0 -4px 6px 12px !important; box-shadow: none; }
.p-wplan__name { padding-right: 0; }
.p-wplan > .p-plan__badge { position: absolute; float: none; top: auto; right: 24px; margin: 12px 0 0 !important; }
.p-wplan__name, .p-wplan__lead { padding-right: 80px; }
@media (max-width: 899px) { .p-wplan > .p-plan__badge { right: 16px; } }
.p-wplan > .p-plan__badge { margin-top: -44px !important; box-shadow: 0 0 0 4px #fff; }
.p-wplan__lead { padding-right: 0; }
.p-wplan > .p-plan__badge { right: 56px; } @media (max-width: 899px) { .p-wplan > .p-plan__badge { right: 40px; } }
.p-wplan > .p-plan__badge { right: 24px; } @media (max-width: 899px) { .p-wplan > .p-plan__badge { right: 16px; } }

/* /web-plan/ — mobile tidy-up */
.p-wplans__cards, .p-wplans__sims, .p-wplans__common { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.p-wplan, .p-wsim, .p-wcommon { min-width: 0; }
.p-wplans__common { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 899px) {
	.p-wplans__cards, .p-wplans__sims, .p-wplans__common { grid-template-columns: minmax(0, 1fr); }
	/* stats: label | value rows */
	.p-wplan__stats { grid-template-columns: 1fr; }
	.p-wstat { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 14px; text-align: left; }
	.p-wstat__value { margin-top: 0 !important; text-align: right; }
	/* プランの内容: label above value */
	.p-wplan__items li { display: block; padding: 12px 0 !important; }
	.p-wrow__k { display: block; margin-bottom: 2px; }
	.p-wrow__v { display: block; font-size: 15px; }
	.p-wplan__name { padding-right: 84px; }
	.p-wplans__intro { font-size: 15px; }
}
@media (max-width: 899px) { .p-wplan__fit li { border-radius: 14px; } }

/* 01 Price — analytics option (separate charge, list price + 30% off) */
.p-guide__opt { display: grid; gap: 12px; margin-top: 24px !important; }
.p-guide .p-guide__opt-title { font-size: 19px; }
.p-guide__opt-lead { font-size: 15px; line-height: 1.9; color: var(--c-body); }
.p-guide__opt-lead strong { color: var(--c-blue); white-space: nowrap; }
.p-guide__opt-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 24px; padding: 22px 24px; background: var(--c-off); }
.p-guide__opt-row.is-recommended { background: var(--c-ice); }
.p-guide__opt-body { display: grid; gap: 6px; min-width: 0; }
.p-guide .p-guide__opt-name { font-size: 17px; }
.p-guide__opt-desc { font-size: 14px; line-height: 1.8; color: var(--c-body); }
.p-guide__opt-price { display: grid; justify-items: end; gap: 2px; text-align: right; }
.p-guide__opt-list { font-size: 14px; line-height: 1.6; color: var(--c-gray); }
.p-guide__opt-list s { text-decoration-thickness: 1px; }
.p-guide__opt-sale { display: flex; align-items: baseline; gap: 6px; font-size: 14px; font-weight: 500; line-height: 1.3; white-space: nowrap; }
.p-guide__opt-off { align-self: center; padding: 1px 8px; background: var(--c-blue); color: #fff; font: 500 12px/1.6 var(--f-mono); letter-spacing: 0.06em; }
.p-guide__opt-num { font: 300 36px/1.1 var(--f-en); letter-spacing: 0.02em; color: var(--c-ink); }
@media (max-width: 767px) {
	.p-guide__opt-row { grid-template-columns: 1fr; padding: 20px 18px; }
	.p-guide__opt-price { justify-items: start; text-align: left; padding-top: 10px; border-top: 1px solid #d6e2ea; }
	.p-guide__opt-num { font-size: 32px; }
}
