@charset "utf-8";
/* Stitchify × tp_biz65
 * Layout follows tp_biz65; colors, type, radius and motion follow app/DESIGN.md.
 * The dashed "stitched" seam (app .stitched / logo frame) is the brand motif. */

/* Tokens
---------------------------------------------------------------------------*/
:root {
	--purple: #4E35E8;
	--purple-hover: #3D27D4;
	--lime: #A3E635;
	--ink: #1A1A2E;
	--muted: #6B7280;
	--line: #E8E5F0;
	/* card and window frames and their offset shadows: grey, not ink */
	--frame: #A7A4B8;
	--soft: #F1F0FA;
	--cool: #F5F5F7;
	--black: #0A0A0A;
	--white: #FFFFFF;

	--font: "Hind", "Noto Sans JP", "Hiragino Sans", sans-serif;
	--gutter: clamp(20px, 5vw, 48px);
	--header-h: 60px;
	--header-space: calc(var(--header-h) + 10px);
	--seam: rgba(78, 53, 232, .35);
	--shadow-hover: 0 2px 6px rgba(10, 10, 10, .04), 0 10px 24px rgba(74, 62, 202, .08);
	--shadow-pop: 0 4px 16px rgba(10, 10, 10, .08);
	--ease: cubic-bezier(.22, .61, .36, 1);
}
@media (min-width: 1120px) {
	:root { --header-h: 64px; }
}

/* Base
---------------------------------------------------------------------------*/
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}
html.menu-open { overflow: hidden; }
body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font: 16px/1.8 var(--font);
	letter-spacing: .04em;
	font-feature-settings: "palt" 1, "kern" 1;
	word-break: auto-phrase;
	line-break: strict;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-weight: 600; line-height: 1.35; letter-spacing: .02em; text-wrap: balance; }
p { text-wrap: pretty; }
[id] { scroll-margin-top: calc(var(--header-space) + 16px); }
::selection { background: var(--lime); color: var(--ink); }
a:focus-visible, button:focus-visible, summary:focus-visible {
	outline: 2px solid var(--purple);
	outline-offset: 3px;
	border-radius: 8px;
}

.wrap { width: min(1200px, 100%); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
	position: absolute; left: 16px; top: 8px; z-index: 300;
	padding: 12px 20px; border-radius: 12px;
	background: var(--white); color: var(--purple); font-weight: 600;
	transform: translateY(-200%);
}
.skip:focus { transform: none; }

.heading {
	font-size: clamp(30px, 1.1rem + 2.6vw, 52px); line-height: 1.3;
}
.heading::after {
	/* tp_biz65 の見出し下ライン → ステッチ */
	content: "";
	width: 56px;
	border-top: 2px dashed var(--purple);
	margin-top: 4px;
}
.heading--center { text-align: center; }

.lead { margin-top: 24px; font-size: clamp(15px, .9rem + .2vw, 17px); }
.lead--center { max-width: 40em; margin-inline: auto; text-align: center; }

.note { margin-top: 16px; color: var(--muted); font-size: 13px; line-height: 1.7; }

/* Buttons
---------------------------------------------------------------------------*/
.btn {
	position: relative;
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	min-height: 56px;
	padding: 14px 32px;
	border: 0;
	border-radius: 999px;
	font-size: 15px; font-weight: 600; line-height: 1.4;
	letter-spacing: .06em;
	text-align: center;
	cursor: pointer;
	transition: background-color 150ms, color 150ms, box-shadow 150ms, transform 150ms;
}
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 44px; padding: 10px 22px; font-size: 14px; }
.btn--primary { background: var(--purple); color: var(--white); }
.btn--primary:hover { background: var(--purple-hover); box-shadow: var(--shadow-hover); }
.btn--outline { background: var(--white); color: var(--purple); box-shadow: inset 0 0 0 1.5px var(--purple); }
.btn--outline:hover { background: var(--purple); color: var(--white); }
.btn--ghost { padding-inline: 8px; color: var(--ink); }
.btn--ghost:hover { color: var(--purple); }
.btn--white { background: var(--white); color: var(--ink); }
.btn--white:hover { background: var(--lime); color: var(--ink); }
.btn--line-white { color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
.btn--line-white:hover { background: rgba(255, 255, 255, .12); }

/* the stitched seam */
.stitched::after {
	content: "";
	position: absolute; inset: 4px;
	border: 1.5px dashed rgba(255, 255, 255, .62);
	border-radius: inherit;
	pointer-events: none;
}
.stitched--purple::after { border-color: rgba(78, 53, 232, .45); }
.btn--white.stitched::after { border-color: rgba(78, 53, 232, .45); }
.btn--white.stitched:hover::after { border-color: rgba(26, 26, 46, .4); }

.arrow { width: 40px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform 250ms var(--ease); }
a:hover .arrow { transform: translateX(5px); }

.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; }

.text-link { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 4px; font-size: 14px; font-weight: 600; }
.text-link:hover { color: var(--purple); }

/* Header（tp_biz65 header / #menubar）: a floating capsule over the hero
---------------------------------------------------------------------------*/
.site-header {
	position: sticky; top: 0; z-index: 100;
	height: var(--header-space);
	margin-bottom: calc(var(--header-space) * -1);
	padding: 10px var(--gutter) 0;
	pointer-events: none;
}
.site-header__inner {
	position: relative;
	display: flex; align-items: center; gap: 16px;
	width: min(1200px, 100%);
	height: var(--header-h);
	margin-inline: auto;
	/* 21st.dev header pattern (navbar-1, designali-in navbar): the wordmark sits 24px from the pill's left edge, matching the right side, instead of floating in on the content gutter */
	padding: 0 24px;
	border-radius: 999px;
	background: var(--white);
	-webkit-backdrop-filter: blur(14px) saturate(1.4);
	backdrop-filter: blur(14px) saturate(1.4);
	box-shadow: 0 0 0 1px rgba(78, 53, 232, .12), 0 8px 28px rgba(26, 26, 46, .07);
	pointer-events: auto;
	transition: box-shadow 250ms, background-color 250ms;
}
.site-header.is-scrolled .site-header__inner {
	background: var(--white);
	box-shadow: 0 0 0 1px rgba(78, 53, 232, .16), 0 12px 32px rgba(26, 26, 46, .12);
}
.logo { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; flex-shrink: 0; margin-right: auto; }
.logo img { width: auto; height: 22px; }
/* the wordmark's y and f descenders fill the bottom fifth of the image; centring the letters, not the box, keeps it level with the nav */
.site-header .logo img { transform: translateY(8%); }
.logo__tag {
	display: none;
	padding-left: 12px;
	border-left: 1.5px dashed var(--seam);
	color: var(--muted);
	font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: .06em;
	white-space: nowrap;
}
@media (min-width: 1360px) { .logo__tag { display: block; } }

.gnav { display: none; }
.gnav ul { display: flex; gap: 4px; }
.gnav a {
	position: relative;
	display: inline-flex; align-items: center;
	min-height: 44px; padding-inline: 12px;
	font-size: 14px; font-weight: 500; white-space: nowrap;
	transition: color 150ms;
}
.gnav a { border-radius: 999px; transition: color 150ms, background-color 150ms; }
.gnav a:hover { color: var(--purple); background: var(--soft); }
.gnav a[aria-current="true"] { color: var(--purple); background: var(--soft); }

.site-header__actions { display: none; align-items: center; gap: 16px; }
.site-header__actions .text-link { display: none; }

@media (min-width: 480px) {
	.site-header__actions { display: flex; }
}
@media (min-width: 1120px) {
	.logo img { height: 24px; }
	.gnav { display: flex; }
	.site-header__actions .text-link { display: inline-flex; }
	.sp-menu { display: none; }
}

/* small-screen menu: <details> works without JS */
.sp-menu summary {
	position: relative;
	display: grid; place-content: center; gap: 5px;
	width: 44px; height: 44px;
	border-radius: 999px;
	background: var(--soft);
	cursor: pointer;
	list-style: none;
	-webkit-tap-highlight-color: transparent;
	transition: background-color 250ms var(--ease), transform 150ms var(--ease), box-shadow 250ms;
}
.sp-menu summary::-webkit-details-marker { display: none; }
.sp-menu summary:hover { background: color-mix(in srgb, var(--purple) 14%, var(--white)); }
.sp-menu summary:active { transform: scale(.88); }
/* the stitched seam appears when the menu opens */
.sp-menu summary::after {
	content: "";
	position: absolute; inset: 4px;
	border: 1.2px dashed rgba(255, 255, 255, .62);
	border-radius: inherit;
	opacity: 0;
	transform: scale(.5) rotate(-90deg);
	transition: opacity 200ms, transform 400ms var(--ease);
	pointer-events: none;
}
.sp-menu summary span {
	display: block; width: 18px; height: 2px; border-radius: 2px;
	background: var(--ink);
	transition: transform 400ms cubic-bezier(.34, 1.56, .64, 1), background-color 250ms;
}
.sp-menu summary span:nth-child(2) { transition: transform 250ms var(--ease), background-color 250ms; }
.sp-menu[open]:not(.is-closing) summary { background: var(--purple); box-shadow: var(--shadow-hover); }
.sp-menu[open]:not(.is-closing) summary::after { opacity: 1; transform: none; }
.sp-menu[open]:not(.is-closing) summary span { background: var(--white); }
.sp-menu[open]:not(.is-closing) summary span:nth-child(1) { transform: translateY(7px) rotate(135deg); }
.sp-menu[open]:not(.is-closing) summary span:nth-child(2) { transform: scaleX(0); }
.sp-menu[open]:not(.is-closing) summary span:nth-child(3) { transform: translateY(-7px) rotate(-135deg); }
/* a closed menu still lays out its panel against the narrow button, and on 320px phones that widened the page */
.sp-menu:not([open]) .sp-menu__panel { display: none; }
.sp-menu__panel {
	position: absolute; top: calc(100% + 8px); left: 0; right: 0;
	max-height: calc(100dvh - var(--header-space) - 24px);
	overflow-y: auto;
	padding: 8px 20px 24px;
	border-radius: 24px;
	background: var(--white);
	box-shadow: 0 0 0 1px var(--line), var(--shadow-pop), 0 24px 64px rgba(10, 10, 10, .12);
}
@media (prefers-reduced-motion: no-preference) {
	.sp-menu[open] .sp-menu__panel { animation: menu-in 320ms var(--ease) both; }
	.sp-menu[open] .sp-menu__panel li,
	.sp-menu[open] .sp-menu__panel .btn,
	.sp-menu[open] .sp-menu__note { animation: menu-item-in 420ms var(--ease) both; }
	.sp-menu[open] .sp-menu__panel li:nth-child(2) { animation-delay: 30ms; }
	.sp-menu[open] .sp-menu__panel li:nth-child(3) { animation-delay: 60ms; }
	.sp-menu[open] .sp-menu__panel li:nth-child(4) { animation-delay: 90ms; }
	.sp-menu[open] .sp-menu__panel li:nth-child(5) { animation-delay: 120ms; }
	.sp-menu[open] .sp-menu__panel li:nth-child(6) { animation-delay: 150ms; }
	.sp-menu[open] .sp-menu__panel li:nth-child(7) { animation-delay: 180ms; }
	.sp-menu[open] .sp-menu__panel .btn { animation-delay: 220ms; }
	.sp-menu[open] .sp-menu__note { animation-delay: 250ms; }
	.sp-menu.is-closing .sp-menu__panel { animation: menu-out 200ms var(--ease) both; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-12px); } }
@keyframes menu-item-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes menu-out { to { opacity: 0; transform: translateY(-8px); } }
.sp-menu__panel ul { margin-bottom: 28px; }
.sp-menu__panel li a {
	display: flex; align-items: center; justify-content: space-between;
	min-height: 56px;
	border-bottom: 1px dashed var(--line);
	font-size: 17px; font-weight: 600;
}
.sp-menu__panel li a::after {
	content: ""; width: 8px; height: 8px;
	border-top: 1.5px solid var(--purple); border-right: 1.5px solid var(--purple);
	transform: rotate(45deg);
}
.sp-menu__panel .btn { width: 100%; }
.sp-menu__note { margin-top: 12px; color: var(--muted); font-size: 13px; }

/* Hero（tp_biz65 .mainimg）
---------------------------------------------------------------------------*/
.hero {
	display: grid;
	grid-template-columns: 1fr;
	padding-bottom: 24px;
}
.hero h1 {
	color: var(--purple);
	font-size: clamp(30px, 9.2vw, 44px);
	font-weight: 700;
	line-height: 1.22;
	letter-spacing: .01em;
}
.hero h1 span { display: block; }
.hero .note { margin-top: 20px; }

@media (min-width: 1024px) {
	.hero {
		grid-template-columns: [full-start] minmax(var(--gutter), 1fr) [content-start] minmax(0, 600px) [half] minmax(0, 600px) [content-end] minmax(var(--gutter), 1fr) [full-end];
		min-height: min(100svh, 860px);
		padding-bottom: 0;
	}
	.hero h1 { font-size: clamp(40px, 4.05vw, 58px); }
}

/* Sections
---------------------------------------------------------------------------*/
.section { position: relative; padding-block: clamp(72px, 9vw, 128px); }
.section--tint { background: var(--soft); }
.section--cool { background: var(--cool); }
/* tinted panels are "stitched" along both edges */
.section--tint::before, .section--tint::after {
	content: "";
	position: absolute; left: 0; right: 0;
	border-top: 2px dashed var(--seam);
}
.section--tint::before { top: 12px; }
.section--tint::after { bottom: 12px; }

/* Services: LP copy doc 3-4, Printify-style steps with a switching visual
 * The visual slot is ready for a per-step video later. */
.howto__head { max-width: 760px; }
.howto { --phone-w: min(280px, 72vw); position: relative; margin-top: 48px; }
.howto__steps { list-style: none; margin: 0; padding: 0; }
.howto__step { padding-block: 24px; border-top: 1px solid var(--line); }
.howto__step:last-child { border-bottom: 1px solid var(--line); }
.howto__trigger {
	display: flex; align-items: center; gap: 16px;
	width: 100%; min-height: 44px;
	padding: 0; border: 0; background: none;
	text-align: left; cursor: pointer;
}
.howto__no {
	flex-shrink: 0;
	display: grid; place-items: center;
	width: 36px; height: 36px;
	border-radius: 999px;
	background: var(--purple);
	color: var(--white);
	font-size: 16px; font-weight: 700; line-height: 1;
	font-variant-numeric: tabular-nums;
	transition: background-color 250ms, color 250ms;
}
.howto__title { font-size: clamp(18px, 1rem + .4vw, 22px); font-weight: 700; line-height: 1.4; transition: color 150ms; }
.howto__trigger:hover .howto__title { color: var(--purple); }
.howto__text { margin: 8px 0 0 52px; font-size: 15px; }
.howto__media {
	position: relative;
	width: var(--phone-w);
	margin: 24px auto 0;
	padding: calc(var(--phone-w) * .035);
	border-radius: calc(var(--phone-w) * .16);
	background: var(--ink);
	box-shadow: inset 0 0 0 2px #3A3A55, 6px 6px 0 #C9C0FA;
}
.howto__media::before {
	content: "";
	position: absolute; z-index: 2; top: calc(var(--phone-w) * .062); left: 50%;
	width: calc(var(--phone-w) * .3); height: calc(var(--phone-w) * .08);
	translate: -50% 0;
	border-radius: 999px;
	background: var(--ink);
}
.howto__media::after {
	content: "";
	position: absolute; top: 24%; right: -3px;
	width: 3px; height: 12%;
	border-radius: 0 2px 2px 0;
	background: var(--ink);
}
.howto__media video {
	display: block;
	width: 100%; aspect-ratio: 390 / 844;
	border-radius: calc(var(--phone-w) * .125);
	object-fit: cover;
	background: var(--white);
}
.howto__media img { width: 100%; height: 100%; object-fit: cover; }
.howto__cta { margin-top: 32px; }
.howto__cta .note { margin-top: 12px; }
@media (min-width: 900px) {
	.howto {
		--phone-w: min(300px, calc((100svh - 140px) * .48));
		min-height: calc(var(--phone-w) * 2.083 + 24px);
		padding-right: calc(50% + 24px);
	}
	.howto__step { position: static; padding-block: 28px; }
	.howto__step.is-active { box-shadow: inset 0 2px 0 var(--purple); border-top-color: transparent; }
	.howto__step:not(.is-active) .howto__no { background: transparent; box-shadow: inset 0 0 0 1.5px var(--purple); color: var(--purple); }
	.howto__step:not(.is-active) .howto__title { color: rgba(26, 26, 46, .62); }
	.howto__media {
		position: absolute; top: 50%; right: 25%;
		margin: 0;
		translate: 50% -50%;
		opacity: 0; visibility: hidden;
		transition: opacity 500ms var(--ease), visibility 500ms;
	}
	.howto__step.is-active .howto__media { z-index: 1; opacity: 1; visibility: visible; }
}

/* MAKE item cloud（「いろんなアプリに対応」型の服バージョン）*/
.sr-only {
	position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.item-cloud {
	position: relative;
	margin-top: 48px;
	padding: 28px 0;
	border-radius: 32px;
	background: var(--white);
	overflow: hidden;
}
.item-cloud::after {
	content: ""; position: absolute; inset: 8px;
	border: 1.5px dashed var(--seam);
	border-radius: 26px;
	pointer-events: none;
}
.item-cloud__rows {
	display: grid; gap: 14px;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.item-cloud .marquee__row { overflow: hidden; }
.item-cloud .marquee__track { margin: 0; padding: 0; list-style: none; }
.item-tile {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
	width: 116px; height: 136px;
	margin-right: 14px;
	padding: 10px 8px 12px;
	border: 1px solid var(--line);
	border-radius: 24px;
	background: var(--white);
	text-align: center;
}
.item-cloud .item-tile img { width: 64px; height: 64px; margin: 0; border-radius: 0; aspect-ratio: auto; object-fit: contain; }
.item-tile svg {
	width: 48px; height: 48px; margin-block: 8px;
	fill: none; stroke: var(--purple); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.item-tile span { min-height: 2.7em; display: grid; place-items: center; font-size: 11px; font-weight: 600; line-height: 1.35; letter-spacing: 0; word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; }
.item-cloud__card {
	position: relative; z-index: 2;
	display: grid; justify-items: center; gap: 10px;
	width: min(340px, calc(100% - 32px));
	margin: 24px auto 4px;
	padding: 24px 24px 22px;
	border-radius: 24px;
	background: var(--white);
	box-shadow: var(--shadow-pop), 0 0 0 1px var(--line);
	text-align: center;
}
.item-cloud__card img { width: 44px; height: 44px; }
.item-cloud__title { font-size: 18px; font-weight: 700; line-height: 1.45; }
.item-cloud__text { color: var(--muted); font-size: 13px; line-height: 1.7; }
.item-cloud__card .btn { margin-top: 4px; }
@media (min-width: 768px) {
	.item-cloud { padding: 40px 0; }
	.item-tile { width: 136px; height: 152px; margin-right: 16px; }
	.item-cloud .item-tile img { width: 76px; height: 76px; }
	.item-cloud__rows { gap: 16px; }
	.item-cloud__card {
		position: absolute; left: 50%; top: 50%;
		margin: 0;
		transform: translate(-50%, -50%);
	}
}
/* the item and photo marquees always move (no stop control) */
.item-cloud .marquee__row--rtl .marquee__track { animation-duration: 48s; }
.item-cloud .marquee__row--ltr .marquee__track { animation-duration: 56s; }
#make .marquee__foot { margin-top: 16px; padding-inline: 8px; }

/* Showroom roles（tp_biz65 STRENGTHS .list1 写真版）*/
.roles {
	display: flex; gap: 16px;
	margin: 48px calc(var(--gutter) * -1) 0;
	padding: 0 var(--gutter) 8px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--gutter);
	scrollbar-width: none;
}
.roles::-webkit-scrollbar { display: none; }
.role { flex: 0 0 80%; scroll-snap-align: start; }
.role figure { overflow: hidden; aspect-ratio: 4 / 5; border-radius: 24px; background: var(--soft); }
.role img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.role:hover img { transform: scale(1.04); }
.role__no { margin-top: 20px; color: var(--purple); font-size: 12px; font-weight: 600; letter-spacing: .14em; }
.role h3 { margin-top: 4px; font-size: 18px; }
.role__verb { display: block; margin-bottom: 2px; color: var(--purple); font-size: 30px; font-weight: 700; line-height: 1.3; }
.role p:last-child { margin-top: 8px; color: var(--muted); font-size: 15px; }
@media (min-width: 768px) {
	.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-inline: 0; padding: 0; overflow: visible; }
	.role:nth-child(2) { margin-top: 48px; }
}
#showroom .note { margin-top: 48px; }

/* Flow（tp_biz65 .list2）*/
.steps { position: relative; display: grid; gap: 28px; margin-top: 56px; }
.step { position: relative; display: grid; grid-template-columns: 64px 1fr; align-content: start; column-gap: 20px; }
.step h3 { grid-column: 2; font-size: 18px; }
.step p:last-child { grid-column: 2; margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.8; }
/* the thread between steps */
.step:not(:last-child)::after {
	content: "";
	position: absolute; left: 31px; top: 72px; bottom: -20px;
	border-left: 2px dashed var(--seam);
}
@media (min-width: 900px) {
	.steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
	.step { grid-template-columns: 1fr; justify-items: center; text-align: center; }
	.step h3, .step p:last-child { grid-column: 1; }
	.step h3 { margin-top: 20px; }
	.step:not(:last-child)::after {
		left: calc(50% + 54px); right: calc(-50% + 22px);
		top: 86px; bottom: auto;
		border-left: 0; border-top: 2px dashed var(--seam);
	}
}

/* Marquee（tp_biz65 .slideimg rtl / ltr）*/
.marquee { padding-bottom: clamp(64px, 8vw, 112px); overflow: hidden; }
.marquee__row { overflow: hidden; }
.marquee__row + .marquee__row { margin-top: 16px; }
.marquee__track { display: flex; width: max-content; }
.marquee__track img {
	width: auto; height: clamp(150px, 20vw, 280px);
	margin-right: 16px;
	border-radius: 20px;
	object-fit: cover;
	aspect-ratio: 3 / 4;
}
.marquee__row--rtl .marquee__track { animation: marquee 70s linear infinite; }
.marquee__row--ltr .marquee__track { animation: marquee 70s linear infinite reverse; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-top: 20px; }
.marquee__foot .note { margin-top: 0; }

/* FAQ（tp_biz65 NEWS ブロックの置き換え）*/
.faq { display: grid; gap: 40px; }
@media (min-width: 900px) {
	.faq { grid-template-columns: 1fr 2fr; gap: 64px; align-items: start; }
	.faq .heading { position: sticky; top: calc(var(--header-h) + 32px); }
}
.faq__list { display: grid; gap: 12px; counter-reset: faq; }
.faq details { counter-increment: faq; }
.faq details { border-radius: 16px; background: var(--white); transition: box-shadow 250ms; }
.faq details[open] { box-shadow: var(--shadow-hover); }
.faq summary {
	position: relative;
	display: flex; align-items: center; gap: 14px;
	min-height: 64px;
	padding: 16px 64px 16px 22px;
	font-weight: 600; line-height: 1.6;
	cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
	content: counter(faq, decimal-leading-zero); font-variant-numeric: tabular-nums;
	flex-shrink: 0;
	display: grid; place-items: center;
	width: 32px; height: 32px;
	border-radius: 999px;
	background: var(--soft);
	color: var(--purple);
	font-weight: 700; line-height: 1;
}
.faq summary::after {
	content: "";
	position: absolute; right: 24px; top: 50%;
	width: 14px; height: 14px;
	margin-top: -7px;
	background:
		linear-gradient(var(--purple), var(--purple)) center / 14px 1.6px no-repeat,
		linear-gradient(var(--purple), var(--purple)) center / 1.6px 14px no-repeat;
	transition: transform 250ms var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { padding: 0 24px 22px 68px; color: var(--muted); font-size: 15px; }

/* Final CTA（tp_biz65 .bg-image1）*/
.final { background: var(--purple); color: var(--white); overflow: hidden; }
.final__inner {
	display: grid; gap: 40px;
	width: min(1200px, 100%); margin-inline: auto;
	padding: clamp(72px, 9vw, 120px) var(--gutter);
}
.final h2 { font-size: clamp(28px, 1.2rem + 2.4vw, 46px); line-height: 1.3; }
.final h2 + p { margin-top: 20px; font-size: clamp(15px, .9rem + .2vw, 17px); }
.final__media { position: relative; }
.final__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 22%; border-radius: 32px; }
.final__media::after {
	content: ""; position: absolute; inset: 10px;
	border: 1.5px dashed rgba(255, 255, 255, .62);
	border-radius: 24px;
	pointer-events: none;
}
@media (min-width: 900px) {
	.final__inner { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 72px; }
	.final__media img { aspect-ratio: 4 / 5; }
}

/* Footer（tp_biz65 footer）
---------------------------------------------------------------------------*/
.site-footer { background: var(--black); color: var(--white); }
.site-footer__inner { display: grid; gap: 48px; padding-block: 72px 48px; }
.site-footer .site-footer__brand .logo img { height: 34px; }
.site-footer__brand > p:not(.logo) { margin-top: 16px; color: rgba(255, 255, 255, .78); font-size: 14px; }
.site-footer__brand .btn { margin-top: 24px; }
.site-footer__menu { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
.site-footer__menu .title { margin-bottom: 8px; color: var(--lime); font-size: 12px; font-weight: 600; letter-spacing: .14em; }
.site-footer__menu a {
	display: inline-flex; align-items: center;
	min-height: 40px;
	color: rgba(255, 255, 255, .82);
	font-size: 14px;
	transition: color 150ms;
}
.site-footer__menu a:hover { color: var(--lime); }
@media (min-width: 900px) {
	.site-footer__inner { grid-template-columns: 1fr 2fr; gap: 64px; }
	.site-footer__menu { grid-template-columns: repeat(3, 1fr); }
}
.site-footer__bottom {
	position: relative;
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px;
	padding-block: 24px 32px;
	color: rgba(255, 255, 255, .64);
	font-size: 12px;
}
/* a bare <small> is 10px here (the browser default is "smaller"); the copyright line keeps the row's 12px */
.site-footer__bottom small { font-size: inherit; }
/* the tag the themes add after the copyright is decoration and keeps the size it had */
.site-footer__bottom small::after { font-size: 10px; }
.site-footer__bottom::before {
	content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter);
	border-top: 1px dashed rgba(255, 255, 255, .2);
}


/* Reveal（tp_biz65 inview "up"）
---------------------------------------------------------------------------*/
@media (prefers-reduced-motion: no-preference) {
	.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 700ms var(--ease) var(--d, 0ms), transform 700ms var(--ease) var(--d, 0ms); }
	.js .reveal.is-in { opacity: 1; transform: none; }
	.reveal:nth-child(2) { --d: 100ms; }
	.reveal:nth-child(3) { --d: 200ms; }
	.reveal:nth-child(4) { --d: 300ms; }
}
/* cards in the mobile swipe row are off-screen sideways, so they never animate in */
@media (max-width: 767px) {
	.js .roles .reveal { opacity: 1; transform: none; }
}

/* Header: MAKE / SHOWROOM as one OS-style switch (name + what it does; the current page is inverted) */
.gnav { align-items: center; gap: 8px; }
.gnav .gnav__switch { display: flex; gap: 0; border: 1.5px solid var(--frame); background: var(--white); }
.gnav__switch li + li { border-left: 1.5px solid var(--frame); }
.site-header .gnav .gnav__switch a {
	display: grid; grid-template-columns: 10px auto; align-items: center; column-gap: 8px;
	min-height: 44px; padding: 4px 14px 4px 11px; border-radius: 0;
	background: var(--white); color: var(--ink); line-height: 1.25; font-weight: 500;
}
.gnav__switch a::before { content: ""; grid-row: span 2; width: 10px; height: 10px; border: 1.5px solid var(--frame); background: var(--white); }
.gnav__switch b { font: 800 12px/1.2 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .08em; }
.gnav__switch span { font-size: 11px; }
.site-header .gnav .gnav__switch a:hover { background: var(--soft); color: var(--ink); }
.site-header .gnav .gnav__switch a[aria-current="page"] { background: var(--ink); color: var(--white); }
.gnav__switch a[aria-current="page"]::before { background: var(--lime); border-color: var(--lime); }
/* phones: the same switch, full width, above the other links */
.sp-menu__panel .gnav__switch { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 8px; border: 1.5px solid var(--frame); }
.sp-menu__panel .gnav__switch li + li { border-left: 1.5px solid var(--frame); }
.sp-menu__panel .gnav__switch a { display: grid; grid-template-columns: 12px 1fr; align-items: center; column-gap: 10px; min-height: 64px; padding: 10px 12px; border-bottom: 0; line-height: 1.3; }
.sp-menu__panel .gnav__switch a::after { display: none; }
.sp-menu__panel .gnav__switch a::before { width: 12px; height: 12px; }
.sp-menu__panel .gnav__switch b { font-size: 15px; }
.sp-menu__panel .gnav__switch span { font-size: 12px; font-weight: 500; }
.sp-menu__panel .gnav__switch a[aria-current="page"] { background: var(--ink); color: var(--white); }
/* readability pass: the Japanese label leads, the product name is a small mono tag above it, no checkbox */
.site-header .gnav .gnav__switch a { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1px; min-height: 48px; padding: 4px 20px; }
.gnav__switch a::before { display: none; }
.gnav__switch b { font-size: 10px; letter-spacing: .14em; opacity: .6; }
.gnav__switch span { font-size: 14px; font-weight: 700; letter-spacing: .02em; }
.site-header .gnav .gnav__switch a[aria-current="page"] b { color: var(--lime); opacity: 1; }
.sp-menu__panel .gnav__switch a { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 2px; padding: 12px 14px; }
.sp-menu__panel .gnav__switch b { font-size: 11px; }
.sp-menu__panel .gnav__switch span { font-size: 15px; font-weight: 700; }
.sp-menu__panel .gnav__switch a[aria-current="page"] b { color: var(--lime); opacity: 1; }
/* switch labels: product name large, verb small underneath */
.gnav__switch b { font-size: 15px; letter-spacing: .06em; opacity: 1; }
.gnav__switch span { font-size: 12px; font-weight: 500; opacity: .7; }
.site-header .gnav .gnav__switch a[aria-current="page"] b { color: var(--white); }
.site-header .gnav .gnav__switch a[aria-current="page"] span { color: var(--lime); opacity: 1; }
.sp-menu__panel .gnav__switch b { font-size: 18px; }
.sp-menu__panel .gnav__switch span { font-size: 12px; font-weight: 500; opacity: .7; }
.sp-menu__panel .gnav__switch a[aria-current="page"] b { color: var(--white); }
.sp-menu__panel .gnav__switch a[aria-current="page"] span { color: var(--lime); opacity: 1; }
/* no frame: plain links, name and verb on one line; the current page is underlined */
.gnav .gnav__switch { border: 0; background: none; gap: 4px; }
.gnav__switch li + li { border-left: 0; }
.site-header .gnav .gnav__switch a { flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 0; background: none; }
.site-header .gnav .gnav__switch a:hover { background: none; color: var(--ink); }
.site-header .gnav .gnav__switch a:hover b { text-decoration: underline; text-underline-offset: 6px; }
.site-header .gnav .gnav__switch a[aria-current="page"] { background: none; color: var(--ink); }
.site-header .gnav .gnav__switch a[aria-current="page"] b { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.site-header .gnav .gnav__switch a[aria-current="page"] span { color: inherit; opacity: .7; }
.site-header .gnav .gnav__switch a { display: inline-flex; }
.sp-menu__panel .gnav__switch { border: 0; gap: 0; grid-template-columns: 1fr; }
.sp-menu__panel .gnav__switch li + li { border-left: 0; }
.sp-menu__panel .gnav__switch a { flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 8px; min-height: 56px; padding: 0; border-bottom: 1px dashed var(--line); background: none; }
.sp-menu__panel .gnav__switch a[aria-current="page"] { background: none; color: var(--ink); }
.sp-menu__panel .gnav__switch a[aria-current="page"] b { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.sp-menu__panel .gnav__switch a[aria-current="page"] span { color: inherit; opacity: .7; }
.site-header .gnav .gnav__switch a, .sp-menu__panel .gnav__switch a { align-items: center; }

/* Footer language switch (日本語 / English) */
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.lang-switch { display: flex; gap: 0; border: 1.5px solid rgba(255, 255, 255, .5); }
.lang-switch a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .8); }
.lang-switch a + a { border-left: 1.5px solid rgba(255, 255, 255, .5); }
.lang-switch a:hover { color: var(--white); background: rgba(255, 255, 255, .08); }
.lang-switch a[aria-current="true"] { background: var(--white); color: var(--ink); }
/* creators header: page sections as plain links, a quiet link back to the brand side */
.gnav .gnav__creator { display: flex; gap: 4px; }
/* the creator page menu reads as the main navigation, clearly above the quieter brand link beside it */
.gnav .gnav__creator a { font-size: 15px; font-weight: 800; color: var(--ink); }
.cr-theme .gnav .gnav__creator a:hover { background: none; color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }
.text-link--brand { font-size: 13px; font-weight: 500; opacity: .7; }
.text-link--brand:hover { opacity: 1; }
/* creators: the brand entry sits apart from the menu, like a counterpart door (Maker's Row style) */
.text-link--brand { display: inline-flex; align-items: center; gap: 6px; padding-right: 16px; border-right: 1px solid var(--line); }

/* header actions on every page: 相談する + the page CTA */
.hdr-cta { display: flex; align-items: center; gap: 12px; }
/* sign-in for members sits before them on desktop; the longer creators menu leaves room for it only from 1200px */
@media (max-width: 1199px) { .cr-theme .site-header__actions .text-link--signin { display: none; } }
.site-header__actions .btn--line { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.site-header__actions .btn--line:hover { background: var(--soft); }
/* phones keep the header to the logo and the menu (the page's main button is in the menu and the hero); the main button joins from 480px, the contact one from tablet up */
.hdr-cta .btn--line { display: none; }
@media (min-width: 720px) { .hdr-cta .btn--line { display: inline-flex; } }

/* ── Tablet (720–1023px): use the width instead of stacking everything in one tall column ── */
@media (min-width: 720px) and (max-width: 1023px) {
	/* top hero: copy left, photo window right */
	.os-hero:not(.cr-hero) .os-hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 32px; }
	.os-hero:not(.cr-hero) .os-window { justify-self: end; width: 100%; }
	.os-hero:not(.cr-hero) .os-title--en { font-size: clamp(40px, 6vw, 60px); }

	/* MAKE / SHOWROOM intros on the top page, and the closing CTA: media beside text */
	.intro__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
	.intro--showroom .intro__media { order: 2; }
	.final:not(.final--top) .final__inner { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; }
	.final:not(.final--top) .final__media img { aspect-ratio: 4 / 5; }

	/* three-up cards (why / branding / creator steps): picture left, text right, one card per row */
	.why .why__card, .cr-steps .cr-step { display: grid; grid-template-columns: 42% minmax(0, 1fr); align-items: stretch; }
	.why .why__card img, .why--brand .why__card img { height: 100%; min-height: 220px; aspect-ratio: auto; border-bottom: 0; border-right: var(--rule); }
	.cr-steps .cr-step { gap: 0 24px; align-items: start; }
	.cr-steps .cr-step { align-content: start; grid-template-rows: auto auto 1fr; }
	.cr-steps .cr-step__media { grid-row: span 3; }
	.cr-steps .cr-step__no { justify-self: start; margin-top: 4px; }
	.cr-steps .cr-step h3 { margin-top: 10px; }
}

/* a heading kept on one line where it fits; on narrow screens it breaks between its phrases only */
.heading__one > span { display: inline-block; max-width: 100%; }  /* a phrase wider than a 320px phone may still break */
@media (min-width: 900px) { .heading__one { white-space: nowrap; } }

/* item marquee: photos only, no labels (the names stay in the sr-only list) */
.item-cloud .item-tile span { display: none; }
.item-cloud .item-tile { height: 116px; }
.item-cloud .item-tile img { width: 84px; height: 84px; }
@media (min-width: 768px) {
	.item-cloud .item-tile { height: 136px; }
	.item-cloud .item-tile img { width: 100px; height: 100px; }
}

/* no decorative rules: no line under headings, no seams along tinted sections */
.heading::after, .section--tint::before, .section--tint::after { content: none; display: none; }

/* FAQ centred: heading above, list in a single centred column */
.faq.faq--center { grid-template-columns: 1fr; gap: 40px; justify-items: center; }
.faq--center .heading { position: static; text-align: center; }
.faq--center .faq__list { width: min(100%, 820px); }

/* FAQ: questions past the first five stay folded until the toggle opens them */
.faq__list.is-folded > details:nth-child(n+6) { display: none; }
.faq__toggle { justify-self: center; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; margin-top: -16px; padding: 0 22px; border: var(--rule); background: var(--white); color: var(--ink); font: 700 13px/1 var(--font); box-shadow: 3px 3px 0 var(--frame); cursor: pointer; }
.faq__toggle::after { content: "+"; font: 700 16px/1 var(--mono); }
.faq__toggle[aria-expanded="true"]::after { content: "−"; }
.faq__toggle:hover { background: var(--lime); }
.faq__toggle:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }

/* item marquee card: the title stays on one line, shrinking on narrow phones */
.item-cloud__card { width: min(360px, calc(100% - 32px)); }
.item-cloud__title { white-space: nowrap; font-size: min(18px, calc((100vw - 84px) / 17)); }

/* App Store / Google Play badges (official artwork, 40px tall as Apple asks); phones see only their own store */
.store-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.store-badge img { display: block; width: auto; height: 40px; }
.ua-ios .store-badge--android, .ua-android .store-badge--ios { display: none; }
.ua-ios :is(.hero-apps, .store-badges):not(:has(.store-badge--ios)),
.ua-android :is(.hero-apps, .store-badges):not(:has(.store-badge--android)) { display: none; }  /* no badge for this phone: no empty row */
.hero-apps { margin-top: 24px; }
.hero-apps .store-badges { gap: 12px; }
.hero-apps .store-badge img { height: 44px; }  /* stays smaller than the primary CTA beside it */
.site-footer__brand .store-badges { margin-top: 24px; }

/* phrase-aware line breaking keeps a long question in one piece; on a 320px phone that piece is wider than the
   column, so let it break inside rather than widen the page */
.faq > *, .faq__list > details { min-width: 0; }
.faq summary, .faq details > p { overflow-wrap: anywhere; }
