/* ============================================================
	杭ノ瀬質舗 (KINS) — Top / style.css
	------------------------------------------------------------
	1. Reset            … Eric Meyer reset v2.0 (condensed) + box-sizing
	2. Tokens & base    … colors / fonts / spacing / text-size variables
	3. Helpers          … .ms (icon) / .ph (image placeholder)
	4. Components        … hero / section head / service / shop / about / access / footer
	5. Responsive       … >1360 / ≤1360 / ≤991 / ≤575
	------------------------------------------------------------
	Color tokens:  primary  #327264   secondary #e9bf2f
									body bg  #f6f7ec   text #404040   bold #171717
	Font tokens:   JA = 'Zen Kaku Gothic Antique'   EN = 'Sen'
	============================================================ */

/* ===== 1. RESET (Eric Meyer v2.0, condensed) ===== */
html,
body,
div,
span,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
em,
img,
strong,
b,
i,
ol,
ul,
li,
nav,
section,
article,
aside,
header,
footer,
figure,
button {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
nav,
section,
article,
aside,
header,
footer,
figure {
	display: block;
}
ol,
ul {
	list-style: none;
}
*,
*::before,
*::after {
	box-sizing: border-box;
}
img {
	max-width: 100%;
	height: auto;
	border-style: none;
}
a {
	color: inherit;
	text-decoration: none;
}
button {
	background: none;
	cursor: pointer;
	font-family: inherit;
}

/* ===== 2. TOKENS & BASE ===== */
:root {
	--primary: #327264;
	--secondary: #e9bf2f;
	--bg: #f6f7ec;
	--text: #404040;
	--bold: #171717;
	--subtle: #737373;
	/* body text scale — fluid between 375px and 1600px viewport */
	--fs-lead: clamp(16px, calc(14.8px + 0.327vw), 20px); /* 16 → 20 */
	--fs-body: clamp(16px, calc(15.4px + 0.163vw), 18px); /* 16 → 18 */
	--fs-note: clamp(14px, calc(13.7px + 0.082vw), 15px); /* 14 → 15 */
	--container: 120px; /* section left/right padding */
	--section: clamp(88px, 7vw, 144px); /* fluid above 1360, stepped below */
}
html {
	-webkit-text-size-adjust: 100%;
}
a:focus-visible,
button:focus-visible {
	outline: 2px solid var(--primary);
	outline-offset: 3px;
}
.menu :focus-visible {
	outline-color: #fff;
}
body {
	background: var(--bg);
	color: var(--text);
	font-family: "Zen Kaku Gothic Antique", sans-serif;
	-webkit-font-smoothing: antialiased;
	min-height: 100vh;
}

/* ===== 3. HELPERS ===== */
.ms {
	font-family: "Material Symbols Sharp";
	font-weight: 400;
	font-style: normal;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	white-space: nowrap;
	word-wrap: normal;
	direction: ltr;
	font-feature-settings: "liga";
	-webkit-font-smoothing: antialiased;
}
/* striped placeholder for any image not yet supplied */
.ph {
	background-image: repeating-linear-gradient(
		45deg,
		#ededeb 0,
		#ededeb 9px,
		#f6f6f4 9px,
		#f6f6f4 18px
	);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: monospace;
	font-size: 12px;
	color: #9a988e;
}

/* ===== 4. COMPONENTS ===== */

/* ----- shared section heading (EN over JA) ----- */
.section-header {
	text-align: center;
	margin-bottom: 40px;
}
.section-header__en {
	font-family: "Sen", sans-serif;
	font-size: clamp(36px, 20px + 2.4vw, 56px);
	font-weight: 700;
	color: var(--primary);
	letter-spacing: 0.06em;
	line-height: 1;
	text-transform: uppercase;
}
.section-header__ja {
	margin-top: 8px;
	font-size: clamp(18px, 8px + 1.6vw, 24px);
	font-weight: 700;
	color: var(--bold);
	letter-spacing: 0.08em;
}

.section-header__lead {
	max-width: 640px;
	margin: 16px auto 0;
	font-size: var(--fs-body);
	line-height: 1.9;
	font-weight: 500;
	color: var(--text);
}

/* full-bleed section + inner container */
.section {
	margin-top: var(--section);
}
.container {
	padding: 0 var(--container);
}

/* ----- HERO ----- */
.hero {
	padding: 48px var(--container) 0;
}
.hero__panel {
	position: relative;
	background: url(../images/pic_hero01.webp) no-repeat top / cover;
	border-radius: 24px;
	height: calc(100vh - 160px);
	min-height: 480px;
	padding: 40px 56px 56px;
	overflow: visible;
}
/* scrim: darken bottom of hero so the title stays legible over any photo */
.hero__panel::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.55) 0%,
		rgba(0, 0, 0, 0.18) 42%,
		rgba(0, 0, 0, 0) 68%
	);
	pointer-events: none;
}
.hero__logo {
	position: absolute;
	top: 0;
	left: 0;
	background: var(--bg);
	border-radius: 0 0 24px 0;
	padding: 24px 24px 24px 16px;
}
.hero__logo-img {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 240px;
}
.hero__logo-img img {
	width: 100%;
	height: auto;
	aspect-ratio: 190 / 44;
}
.hero__nav {
	position: absolute;
	top: 28px;
	right: 28px;
	background: #fff;
	border-radius: 9999px;
	padding: 16px 40px;
	display: flex;
	align-items: center;
	gap: 20px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}
.hero__nav-link {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	font-weight: 700;
	color: var(--text);
	transition: color 0.25s ease;
}
.hero__nav-link:hover {
	color: var(--subtle);
}
.hero__nav-link::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 9999px;
	background: var(--secondary);
	transition: transform 0.25s ease;
}
.hero__nav-link:hover::before {
	transform: scale(1.2);
}
.burger {
	display: none;
	position: fixed;
	z-index: 250;
	top: 24px;
	right: 36px;
	width: 64px;
	height: 64px;
	border-radius: 9999px;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
	align-items: center;
	justify-content: center;
}
.burger .ms {
	font-size: 28px;
	color: var(--bold);
}

.hero__illust img,
.hero__illust svg {
	min-width: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* ----- mobile menu overlay (opened by hamburger) ----- */
.menu {
	position: fixed;
	inset: 0;
	z-index: 260;
	background: var(--primary);
	color: #fff;
	display: flex;
	flex-direction: column;
	padding: 24px var(--container) 48px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-12px);
	transition:
		opacity 0.35s ease,
		transform 0.35s ease,
		visibility 0s linear 0.35s;
	overflow-y: auto;
}
body.is-menu-open {
	overflow: hidden;
	height: 100vh;
}
body.is-menu-open .menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition:
		opacity 0.35s ease,
		transform 0.35s ease;
}
.menu__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.menu__logo {
	background: var(--bg);
	border-radius: 12px;
	padding: 12px 20px;
}
.menu__logo img {
	width: 110px;
	height: 44px;
	object-fit: contain;
	display: block;
}
.menu__close {
	width: 56px;
	height: 56px;
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.14);
	display: flex;
	align-items: center;
	justify-content: center;
}
.menu__close .ms {
	font-size: 32px;
	color: #fff;
}
.menu__nav {
	display: flex;
	flex-direction: column;
	margin-top: 40px;
}
.menu__link {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 16px 0 16px 8px;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 0.04em;
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.menu__link::before {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 9999px;
	background: var(--secondary);
}
.menu__contact {
	margin-top: auto;
	padding-top: 40px;
}
.menu__tel {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: "Sen", sans-serif;
	font-size: 36px;
	font-weight: 700;
	letter-spacing: 0.02em;
}
.menu__tel .ms {
	font-size: 28px;
}
.menu__addr {
	margin-top: 16px;
	font-size: 14px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.8);
}
/* staggered reveal of menu items */
.menu__link,
.menu__contact {
	opacity: 0;
	transform: translateY(10px);
	transition:
		opacity 0.4s ease,
		transform 0.4s ease;
}
body.is-menu-open .menu__link,
body.is-menu-open .menu__contact {
	opacity: 1;
	transform: translateY(0);
}
body.is-menu-open .menu__link:nth-child(1) {
	transition-delay: 0.08s;
}
body.is-menu-open .menu__link:nth-child(2) {
	transition-delay: 0.13s;
}
body.is-menu-open .menu__link:nth-child(3) {
	transition-delay: 0.18s;
}
body.is-menu-open .menu__link:nth-child(4) {
	transition-delay: 0.23s;
}
body.is-menu-open .menu__link:nth-child(5) {
	transition-delay: 0.28s;
}
body.is-menu-open .menu__link:nth-child(6) {
	transition-delay: 0.33s;
}
body.is-menu-open .menu__contact {
	transition-delay: 0.4s;
}
.hero__title {
	position: absolute;
	left: 56px;
	right: 56px;
	bottom: 128px;
	font-size: 48px;
	font-weight: 700;
	line-height: 1.33;
	color: #fff;
	letter-spacing: 0.02em;
}
.hero__title .accent {
	color: var(--secondary);
}
/* illustration hanging below the hero — size/aspect tentative, tweak freely */
.hero__illust {
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translatex(-50%);
	width: calc(100% - 320px);
	aspect-ratio: 1640/ 240;
	display: flex;
	justify-content: center;
}

.service__stack {
	display: flex;
	flex-direction: column;
	gap: clamp(24px, 3vw, 48px);
}

.service__card {
	display: flex;
	gap: clamp(32px, 5vw, 80px);
	align-items: center;
	background: #fff;
	border: 3px solid var(--bg);
	border-radius: 16px;
	padding: clamp(40px, 6vw, 96px);
}
.service__thumb {
	flex: none;
	width: clamp(200px, 34%, 420px);
	aspect-ratio: 1/1;
	border-radius: 9999px;
	background: #fbf6e4;
	display: flex;
	justify-content: center;
	align-items: center;
}

.service__thumb img {
	max-width: 90%;
}

.service__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: clamp(12px, 1.4vw, 20px);
}
.service__header {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}
.service__badge {
	background: var(--secondary);
	border-radius: 9999px;
	padding: 8px 20px;
	font-family: "Sen", sans-serif;
	font-size: clamp(13px, 1vw, 15px);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bold);
}
.service__title {
	font-size: clamp(28px, 3vw, 40px);
	font-weight: 700;
	color: var(--bold);
	letter-spacing: 0.04em;
}
.service__text {
	font-size: var(--fs-lead);
	font-weight: 500;
	line-height: 2;
	color: var(--text);
	text-wrap: wrap;
}
.service__btns {
	align-self: stretch;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	margin-top: 16px;
}
.service__btns--single {
	margin-top: 16px;
}

/* outline pill button */
.pill-btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	max-width: 280px;
	min-height: 64px;
	border: 1px solid var(--text);
	border-radius: 9999px;
	padding: 8px 8px 8px 32px;
	color: var(--bold);
	background: #fff;
	transition:
		background 0.25s ease,
		color 0.25s ease,
		border-color 0.25s ease;
}
.pill-btn__text {
	font-size: 16px;
	font-weight: 700;
}
.pill-btn__circle {
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 9999px;
	background: var(--primary);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.pill-btn__circle .ms {
	font-size: 24px;
	color: #fff;
}
.pill-btn:hover {
	background: var(--primary);
	color: #fff;
	border-color: var(--primary);
}
.pill-btn:hover .pill-btn__circle {
	background: #fff;
}
.pill-btn:hover .pill-btn__circle .ms {
	color: var(--primary);
	animation: serviceArrow 0.45s ease;
}

/* text link (＋ circle arrow) */
.service-link {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	color: var(--bold);
}
.service-link__text {
	position: relative;
	font-size: 18px;
	font-weight: 700;
}
.service-link__text::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -8px;
	width: 100%;
	height: 2px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.35s ease;
}
.service-link:hover .service-link__text::after {
	transform: scaleX(1);
}
.service-link__arrow {
	width: 48px;
	height: 48px;
	border-radius: 9999px;
	background: var(--primary);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.service-link__arrow .ms {
	font-size: 24px;
	color: #fff;
}
.service-link:hover .service-link__arrow .ms {
	animation: serviceArrow 0.55s ease;
}

@keyframes serviceArrow {
	0% {
		transform: translateX(0);
		opacity: 1;
	}
	18% {
		transform: translateX(160%);
		opacity: 0;
	}
	38% {
		transform: translateX(-160%);
		opacity: 0;
	}
	100% {
		transform: translateX(0);
		opacity: 1;
	}
}

/* ----- SHOP intro (lead + scattered decos) ----- */
.shop-intro {
	max-width: 1080px;
	margin: clamp(-48px, -4vw, -24px) auto 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(16px, 2.2vw, 48px);
}

.shop-intro__body {
	flex: 1;
	max-width: 600px;
	text-align: center;
}

.shop-intro__scatter {
	flex: none;
	width: clamp(120px, 18vw, 160px);
	pointer-events: none;
}

.shop-intro__scatter img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 16px;
}

.shop-intro__lead {
	font-size: clamp(28px, 2.2vw, 32px);
	font-weight: 700;
	line-height: 1.6;
	color: var(--primary);
}

.shop-intro__text {
	margin-top: 28px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	text-align: left;
	font-size: var(--fs-body);
	line-height: 2;
	font-weight: 500;
	color: var(--text);
	text-wrap: wrap;
}

/* ----- SHOP ----- */
.shop {
	margin-top: clamp(40px, 4vw, 64px);
}

.shop__panel {
	background: var(--secondary);
	border-radius: 24px;
	padding: clamp(32px, 4vw, 56px);
}
.shop__grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 20px;
}

/* 3-column grid (shop.html lineup) */
.shop__grid--3 {
	grid-template-columns: repeat(3, 1fr);
}

.shop__card {
	background: #fff;
	border-radius: 16px;
	padding: 40px 32px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 20px;
}
.shop__circle {
	width: clamp(160px, 62%, 220px);
	aspect-ratio: 1/1;
	border-radius: 9999px;
	background: #eaf1ef;
	display: flex;
	align-items: center;
	justify-content: center;
}

.shop__circle img {
	max-width: 75%;
}

.shop__titles {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}
.shop__title {
	font-size: 24px;
	font-weight: 700;
	color: var(--bold);
}
.shop__en {
	font-family: "Sen", sans-serif;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: var(--primary);
	text-transform: uppercase;
}
.shop__more {
	display: flex;
	justify-content: flex-end;
	margin-top: 40px;
}

/* ----- ABOUT ----- */
.about__grid {
	display: grid;
	grid-template-columns: 400px minmax(0, 1fr) 240px;
	gap: clamp(40px, 5vw, 80px);
	align-items: center;
}
.about__media {
	position: relative;
}
.about__img {
	height: 400px;
	border-radius: 8px;
	overflow: hidden;
}
.about__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.about__illust {
	position: absolute;
	right: -40px;
	bottom: -40px;
	width: 200px;
	height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.about__text {
	font-size: var(--fs-lead);
	font-weight: 500;
	line-height: 2;
	color: var(--text);
	text-wrap: wrap;
	margin: 24px 0 32px;
	max-width: 680px;
}
.about__text .nowrap {
	text-wrap-mode: initial;
}
/* 404 */
.notfound__text {
	font-size: var(--fs-lead);
	font-weight: 500;
	line-height: 2;
	color: var(--text);
	text-wrap: wrap;
	margin: 24px 0 32px;
}
.about__sub {
	width: 240px;
	height: 320px;
	border-radius: 8px;
	align-self: center;
	margin-top: 80px;
	overflow: hidden;
}
.about__sub img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ----- ACCESS ----- */
.access__panel {
	background: var(--primary);
	border-radius: 24px;
	padding: clamp(32px, 4vw, 56px);
}
.access__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 20px;
	align-items: stretch;
}
.access__map {
	border-radius: 16px;
	min-height: 460px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.access__map iframe {
	width: 100%;
	height: 100%;
}

.access__cards {
	display: grid;
	grid-template-rows: auto 1fr;
	gap: 20px;
	/* lets the address card switch layout by its own width (@container below) */
	container-type: inline-size;
}
.access__card {
	background: #fff;
	border-radius: 16px;
	padding: 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 12px;
}
.access__card-head {
	display: flex;
	align-items: center;
	gap: 4px;
	color: var(--primary);
}
.access__card-head .ms {
	font-size: 28px;
}
.access__label {
	font-family: "Sen", sans-serif;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.access__tel {
	font-family: "Sen", sans-serif;
	font-size: 40px;
	font-weight: 700;
	color: var(--bold);
	letter-spacing: 0.02em;
}
.access__hours {
	font-size: 18px;
	font-weight: 500;
	color: var(--bold);
}
.access__hours > div + div {
	margin-top: 4px;
}
.access__addr {
	font-size: 20px;
	font-weight: 700;
	color: var(--bold);
	line-height: 1.7;
}
.access__addr-sub {
	margin-top: 8px;
}
.access__addr-sub > div {
	font-size: 16px;
	font-weight: 500;
}
.access__addr-sub > div + div {
	margin-top: 4px;
}
/* Address card: text left / map image right */
.access__card--addr {
	display: grid;
	/* text column only as wide as it needs (max 300px); the map takes the rest */
	grid-template-columns: fit-content(300px) minmax(0, 1fr);
	/* spacer row (1fr) at the bottom keeps head + addr together, top-aligned */
	grid-template-rows: 0 auto auto 1fr;
	align-items: start;
	column-gap: 24px;
	row-gap: 0;
}
.access__card--addr .access__card-head {
	grid-column: 1;
	grid-row: 2;
	margin-bottom: 12px;
}
.access__card--addr .access__addr {
	grid-column: 1;
	grid-row: 3;
}
.access__addr-map {
	grid-column: 2;
	grid-row: 1 / 5;
	display: block;
	border-radius: 8px;
	overflow: hidden;
	transition: opacity 0.2s;
}
.access__addr-map:hover {
	opacity: 0.8;
}
.access__addr-map img {
	display: block;
	width: 100%;
	height: auto;
}
/* stack (text → map) when the card is too narrow to show the map at a good size (~320px+) */
@container (max-width: 759px) {
	.access__card--addr {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto;
	}
	.access__card--addr .access__card-head,
	.access__card--addr .access__addr {
		grid-row: auto;
	}
	.access__card--addr .access__card-head {
		margin-bottom: 8px;
	}
	.access__addr-map {
		grid-column: 1;
		grid-row: auto;
		margin-top: 24px;
	}
}

@media (max-width: 1360px) {
	.access__card {
		padding: 32px;
	}
}

@media (max-width: 575px) {
	.access__card {
		padding: 20px;
		gap: 8px;
	}
	.access__cards {
		grid-template-rows: auto auto;
	}
	.access__card-head .ms {
		font-size: 24px;
	}
	.access__label {
		font-size: 20px;
	}
	.access__tel {
		font-size: 28px;
	}
}

/* ----- FOOTER ----- */
.footer {
	background: var(--bg);
	color: var(--bold);
	margin-top: var(--section);
	padding: 0 0 40px;
}
.footer__inner {
	display: flex;
	justify-content: space-between;
	gap: 48px;
	padding: 0 var(--container);
}
.footer__info {
	display: flex;
	gap: 48px;
	align-items: flex-start;
}

.footer__logo img {
	width: 240px;
	height: auto;
	aspect-ratio: 190 / 44;
}
.footer__addr {
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5;
	color: var(--text);
	margin-top: 12px;
}
.footer__tel-block {
	margin-top: 20px;
}
.footer__tel {
	font-family: "Sen", sans-serif;
	font-size: 24px;
	font-weight: 700;
	color: var(--bold);
	letter-spacing: 0.02em;
}
.footer__hours {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
	color: var(--text);
	margin-top: 4px;
}
.footer__license {
	font-size: 13px;
	font-weight: 500;
	line-height: 1.5;
	color: var(--text);
	margin-top: 20px;
}
.footer__license-title {
	font-weight: 700;
	color: var(--bold);
}
.footer__ig {
	flex: none;
	width: 280px;
	height: 88px;
	border-radius: 8px;
}
.footer__menu {
	display: flex;
	flex-direction: column;
	gap: 32px;
}
.footer__nav {
	display: flex;
	gap: 64px;
}
.footer__col {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.footer__nav-link {
	position: relative;
	align-self: flex-start;
	font-size: 14px;
	font-weight: 700;
	color: var(--bold);
}
.footer__nav-link::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 100%;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease;
}
.footer__nav-link:hover::after {
	transform: scaleX(1);
}
.footer__ec {
	align-self: flex-end;
	width: 240px;
	height: 64px;
	border-radius: 8px;
}
.footer__bottom {
	margin-top: 48px;
	padding: 0 var(--container);
}
.footer__copy {
	text-align: right;
	font-family: "Sen", sans-serif;
	font-size: 12px;
	letter-spacing: 0.06em;
	color: var(--bold);
}

/* ----- lower-page common header (logo + nav pill) ----- */
.site-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding: 40px var(--container) 0;
}
.site-header__logo img {
	width: 240px;
	height: auto;
	display: block;
}
.site-nav {
	display: flex;
	align-items: center;
	gap: 20px;
	background: #fff;
	border-radius: 9999px;
	padding: 16px 40px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}
.site-nav__link {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	font-weight: 700;
	color: var(--text);
	transition: color 0.25s ease;
	text-wrap: nowrap;
}
.site-nav__link:hover {
	color: var(--subtle);
}
.site-nav__link::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 9999px;
	background: var(--secondary);
	transition: transform 0.25s ease;
}
.site-nav__link:hover::before {
	transform: scale(1.2);
}

/* ----- breadcrumb ----- */
.breadcrumb {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	padding: 28px var(--container) 0;
	font-size: 14px;
	font-weight: 500;
	color: var(--text);
}
.breadcrumb__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.breadcrumb__link .ms {
	font-size: 18px;
}
.breadcrumb__text {
	text-decoration: underline;
	text-underline-offset: 3px;
}
.breadcrumb__sep,
.breadcrumb__current {
	color: var(--subtle);
}

/* ----- page title block ----- */
.page-header {
	position: relative;
	margin: 24px var(--container) 0;
	min-height: 240px;
	padding: 48px;
	background: #fff;
	border-radius: 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(24px, 4vw, 56px);
	overflow: hidden;
}

.page-header__text {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.page-header__title {
	font-size: clamp(20px, 3vw, 36px);
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--bold);
}
.page-header__en {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: "Sen", sans-serif;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--bold);
}
.page-header__en::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 9999px;
	background: var(--secondary);
}

.page-header__illust {
	flex: none;
	width: clamp(80px, 16vw, 120px);
	aspect-ratio: 1 / 1;
}

.page-header__illust img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* ----- About page content ----- */
.about-page .section {
	margin-top: clamp(64px, 6vw, 96px);
}

/* features: dashed-border cards with numbered pins */
.features {
	margin-top: 64px;
	display: flex;
	flex-direction: column;
	gap: 56px;
}
.feature {
	position: relative;
	background: #fff;
	padding: clamp(28px, 3vw, 48px);
	padding-top: clamp(48px, 4.5vw, 64px);
	border: 2px dashed rgba(50, 114, 100, 0.4);
	border-radius: 24px;
}

.feature__pin {
	position: absolute;
	top: -32px;
	left: clamp(20px, 3vw, 40px);
	width: 72px;
	min-height: 72px;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	padding: 12px 0 12px;
	background: var(--secondary);
	border-radius: 9999px;
	color: var(--text);
}

.feature__pin::after {
	content: "";
	position: absolute;
	bottom: -8px;
	left: 50%;
	transform: translateX(-50%);
	border-left: 9px solid transparent;
	border-right: 9px solid transparent;
	border-top: 10px solid var(--secondary);
}

.feature__pin-label {
	font-family: "Sen", sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
	line-height: 1;
	opacity: 1;
}

.feature__pin-num {
	font-family: "Sen", sans-serif;
	font-size: 28px;
	font-weight: 700;
	line-height: 1;
}

.feature__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) clamp(220px, 22vw, 360px);
	gap: clamp(28px, 3.5vw, 80px);
	align-items: start;
}
.feature__title {
	font-size: clamp(20px, 1.9vw, 32px);
	font-weight: 700;
	line-height: 1.5;
	color: var(--primary);
}
.feature__text {
	margin-top: 20px;
	font-size: var(--fs-body);
	line-height: 2;
	font-weight: 500;
	color: var(--text);
}

.feature__note {
	margin-top: 28px;
	padding: clamp(20px, 2vw, 28px);
	background: rgba(50, 114, 100, 0.06);
	border-radius: 14px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.feature__note p {
	font-size: var(--fs-note);
	line-height: 1.85;
	font-weight: 500;
	color: var(--text);
}

.feature__note a {
	color: var(--primary);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.feature__img {
	aspect-ratio: 1 / 1;
	width: 100%;
	border-radius: 16px;
	overflow: hidden;
}

/* info / history tables (white card) */
.info-card {
	margin-top: 40px;
	background: #fff;
	border-radius: 16px;
	padding: clamp(16px, 2vw, 40px) clamp(40px, 5vw, 80px);
}
.info-table,
.history-table {
	width: 100%;
	border-collapse: collapse;
}
.info-table th,
.info-table td,
.history-table th,
.history-table td {
	text-align: left;
	vertical-align: top;
	padding: 24px 0;
	border-bottom: 1px solid #e5e5e0;
	font-size: var(--fs-body);
	line-height: 1.8;
}
.info-table tr:last-child th,
.info-table tr:last-child td,
.history-table tr:last-child th,
.history-table tr:last-child td {
	border-bottom: none;
}
.info-table th {
	width: 220px;
	padding-right: 32px;
	font-weight: 700;
	color: var(--bold);
}
.info-table td,
.history-table td {
	color: var(--text);
	font-weight: 500;
}
.history-table th {
	width: 200px;
	padding-right: 32px;
	font-family: "Sen", sans-serif;
	font-weight: 700;
	font-size: var(--fs-body);
	color: var(--bold);
	white-space: nowrap;
}

/* ===== 5. RESPONSIVE ===== */

/* footer menu extra right padding only on very wide screens */
@media (min-width: 1360px) {
	.footer__menu {
		padding-right: 80px;
	}

	.service__btns {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
	}
}

/* ----- Wide laptop (≤1600): tighten side padding ----- */
@media (max-width: 1600px) {
	:root {
		--container: 80px;
	}
}

/* ----- Notebook (≤1360) ----- */
@media (max-width: 1360px) {
	:root {
		--container: 64px;
		--section: 80px;
	}

	.hero__logo-img {
		width: 200px;
	}

	.hero__nav,
	.site-nav {
		gap: 16px;
	}

	.hero__nav {
		right: 16px;
		padding: 16px 20px;
	}

	.hero__nav-link,
	.site-nav__link {
		font-size: 14px;
	}

	.hero__title {
		font-size: 40px;
	}

	.hero__illust {
		width: calc(100% - 160px);
	}
	.section {
		margin-top: var(--section);
	}
	.about__grid {
		grid-template-columns: 300px minmax(0, 1fr) 180px;
		gap: 40px;
	}
	.about__img {
		height: 340px;
	}
	.about__sub {
		width: 180px;
		height: 260px;
	}
	.about__illust {
		width: 150px;
		height: 150px;
		right: -24px;
		bottom: -24px;
	}
}

/* container narrows earlier than the rest of the notebook scale */
@media (max-width: 1080px) {
	:root {
		--container: 40px;
	}

	.shop__grid--3 {
		grid-template-columns: 1fr 1fr;
	}
}

/* ----- Tablet (≤991): multi-col → 1-col, hamburger ----- */
@media (max-width: 991px) {
	:root {
		--container: 40px;
		--section: 72px;
	}

	.shop-intro {
		max-width: none;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: clamp(24px, 4vw, 40px);
	}

	.shop-intro__scatter {
		position: static;
		width: 100%;
		max-width: 320px;
		display: block;
	}

	.shop-intro__body {
		order: 0;
	}
	.hero__nav {
		display: none;
	}

	.hero__logo {
		padding: 20px 20px 24px 0;
	}

	.burger {
		display: flex;
	}

	.hero__burger {
		top: 12px;
		right: 12px;
	}

	.menu__link {
		font-size: 20px;
		padding: 20px 0 20px 8px;
	}

	.site-nav {
		display: none;
	}
	.page-header {
		min-height: 160px;
		padding: 40px;
	}
	.features {
		gap: 48px;
	}

	.feature__inner {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.page-header__en {
		gap: 6px;
	}

	.feature__img {
		aspect-ratio: 1 / 1;
		order: -1;
		max-width: 420px;
		margin: auto;
	}

	.feature__pin {
		left: 50%;
		transform: translateX(-50%);
	}
	.info-card {
		padding: 8px 32px;
	}
	.footer__nav {
		display: none;
	}
	.hero__panel {
		height: auto;
		max-height: none;
		min-height: 640px;
		padding: 32px 32px 40px;
		background-image: url(../images/pic_hero_sp01.webp);
	  background-position: top 38% center;
	}
	.hero__title {
		left: 32px;
		right: 32px;
		bottom: 80px;
		font-size: 36px;
		line-height: 1.4;
	}

	.hero__illust {
		width: 90%;
	}

	.service__card {
		flex-direction: column;
		gap: 32px;
		padding: 48px;
		text-align: center;
	}
	.service__thumb {
		width: 60%;
		max-width: 300px;
	}
	.service__body {
		align-items: center;
	}
	.service__header {
		align-items: center;
	}
	.service__btns {
		align-self: center;
		align-items: center;
	}
	.shop__grid {
		grid-template-columns: 1fr;
		margin: 0 auto;
	}

	.shop__grid--3 {
		grid-template-columns: 1fr 1fr;
		max-width: none;
	}

	.about__grid {
		grid-template-columns: 1fr;
		gap: 48px;
	}
	.about__sub {
		display: none;
	}
	.about__img {
		height: 340px;
	}
	.about__illust {
		width: 160px;
		height: 160px;
		right: -20px;
		bottom: -20px;
	}
	.access__grid {
		grid-template-columns: 1fr;
	}
	.access__map {
		min-height: 320px;
	}
	.footer__inner {
		flex-direction: column;
		gap: 32px;
	}
	.footer__info {
		flex-direction: column;
		gap: 24px;
	}
	.footer__ec {
		align-self: flex-start;
	}
}

/* ----- Mobile (≤575): smaller type & spacing ----- */
@media (max-width: 575px) {
	:root {
		--container: 24px;
		--section: 48px;
	}

	.hero {
		padding: var(--container) var(--container) 0;
	}

	.shop-intro__lead {
		font-size: 24px;
		text-align: left;
	}

	.shop-intro__body {
		margin-top: 8px;
	}

	.shop-intro__scatter {
		max-width: 280px;
	}

	.shop__title {
		font-size: 20px;
	}

	.shop-intro__lead br {
		display: none;
	}
	.about__grid {
		gap: 32px;
	}
	.menu__link {
		font-size: 16px;
		padding: 20px 0 20px 8px;
	}
	.hero__panel {
		padding: 24px 24px 36px;
		border-radius: 0 16px 16px 16px;
		min-height: 480px;
		background-position: center;
	}
	.hero__logo {
		padding: 12px 24px 20px 8px;
		border-radius: 0 0 20px 0;
	}
	.burger {
		top: 12px;
		right: 12px;
	}
	.site-header {
		padding-top: 24px;
	}
	.page-header {
		padding: 24px;
		border-radius: 16px;
		min-height: 120px;
	}
	.feature__img {
		aspect-ratio: 1 / 1;
		border-radius: 12px;
		max-width: 100%;
		margin: auto;
	}

	.feature__pin {
		left: 50%;
		transform: translateX(-50%);
	}

	.feature {
		padding: 24px 20px 24px;
		padding-top: 40px;
	}
	.info-card {
		padding: 4px 24px;
		border-radius: 12px;
	}
	.info-table th,
	.info-table td,
	.history-table th,
	.history-table td {
		display: block;
		padding: 0;
		border-bottom: none;
	}
	.info-table tr,
	.history-table tr {
		display: block;
		padding: 20px 0;
		border-bottom: 1px solid #e5e5e0;
	}
	.info-table tr:last-child,
	.history-table tr:last-child {
		border-bottom: none;
	}
	.info-table th {
		width: auto;
		margin-bottom: 8px;
		font-size: var(--fs-note);
		color: var(--subtle);
	}
	.history-table th {
		width: auto;
		margin-bottom: 8px;
	}
	.hero__title {
		left: 24px;
		right: 24px;
		bottom: 64px;
		font-size: clamp(24px, 6.5vw, 36px);
	}

	.hero__illust {
		width: 100%;
	}

	.section-header {
		margin-bottom: 32px;
	}

	.service__card {
		padding: 32px 24px;
		gap: 24px;
	}

	.service__thumb {
		width: 100%;
		max-width: 280px;
	}

	.service__btns,
	.service__btns--single {
		margin-top: 8px;
	}

	.service__text {
		text-align: left;
	}

	.shop__card {
		padding: 32px 24px;
	}
	.shop__panel,
	.access__panel {
		padding: 24px;
	}

	.shop__grid--3 {
		grid-template-columns: 1fr;
		max-width: 480px;
		margin: 0 auto;
	}

	.about__text,
	.about__img {
		height: 240px;
	}
	.about__illust {
		width: 120px;
		height: 120px;
		right: -16px;
		bottom: -16px;
	}

	.pill-btn {
		max-width: 100%;
		margin-left: auto;
		margin-right: auto;
	}
	.footer__ig,
	.footer__ec {
		max-width: 100%;
	}
}

/* ============================================================
	6. SERVICE DETAIL PAGES  (pawn.html / purchase.html)
	------------------------------------------------------------
	page lead / points / flow timeline / endlife  + their responsive
	============================================================ */

/* ----- active nav state ----- */
.site-nav__link.is-active {
	color: var(--primary);
}
.menu__link.is-active {
	color: var(--secondary);
}

/* ----- page hero (extends .page-header) ----- */
.page-header__title .accent {
	color: var(--primary);
}
/* intro lead moved out of the page header — centered & formal */
.page-lead {
	margin: 64px auto 0;
	padding: 0 var(--container);
	display: flex;
	align-items: flex-start;
	gap: clamp(28px, 4vw, 56px);
	text-align: left;
}
.page-lead__body {
	flex: 1;
	min-width: 0;
}
.page-lead__catch {
	font-size: clamp(28px, 2.2vw, 32px);
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.02em;
	color: var(--primary);
}
.page-lead__text {
	margin-top: 20px;
	font-size: var(--fs-body);
	font-weight: 500;
	line-height: 2;
	color: var(--text);
	text-wrap: wrap;
}
.page-lead__catch + .page-lead__text {
	margin-top: 28px;
}
.page-lead__text .accent {
	color: var(--primary);
	font-weight: 700;
}
.page-lead__media {
	flex: none;
	width: 42%;
	max-width: 480px;
	margin: 0;
	aspect-ratio: 4 / 3;
	border-radius: 16px;
	background: #3272640f;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: var(--subtle);
	overflow: hidden;
}
.page-lead__media .ms {
	font-size: 40px;
	color: rgba(50, 114, 100, 0.5);
}
.page-lead__media span:not(.ms) {
	font-size: 12px;
	font-weight: 700;
}
.page-lead__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (max-width: 575px) {
	.page-lead__catch {
		font-size: 22px;
	}
	.page-lead__catch br {
		display: none;
	}
	.page-lead__catch + .page-lead__text {
		margin-top: 20px;
	}
	.feature__text {
		margin-top: 12px;
	}
}

/* ----- points rules (はじめての方へ・安心ルール) ----- */
.points {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(16px, 2vw, 24px);
}
.points__card {
	position: relative;
	background: #fff;
	border-radius: 20px;
	padding: clamp(32px, 3vw, 40px) clamp(24px, 2.5vw, 32px)
		clamp(28px, 2.8vw, 36px);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.points__body {
	align-self: stretch;
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 1;
}
.points__media {
	align-self: stretch;
	width: 100%;
	aspect-ratio: 2 / 1;
	border-radius: 12px;
	background: #3272640f;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: var(--subtle);
	overflow: hidden;
}
.points__media .ms {
	font-size: 32px;
	color: rgba(50, 114, 100, 0.5);
}
.points__media span:not(.ms) {
	font-size: 12px;
	font-weight: 700;
}
.points__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.points__title {
	align-self: stretch;
	text-align: center;
	padding-block: clamp(12px, 1.6vw, 20px) clamp(16px, 2vw, 24px);
	font-size: clamp(20px, 1.6vw, 24px);
	font-weight: 700;
	line-height: 1.55;
	color: var(--primary);
	text-wrap: balance;
}
.points__text {
	align-self: stretch;
	text-align: left;
	font-size: var(--fs-body);
	font-weight: 500;
	line-height: 1.9;
	color: var(--text);
	text-wrap: wrap;
}
.points__text + .points__text {
	margin-top: 8px;
}

/* ----- flow timeline (steps) ----- */
.flow {
	max-width: none;
	margin: 0 auto;
}
.flow__step {
	position: relative;
	padding-bottom: 80px;
}
.flow__step:last-child {
	padding-bottom: 0;
}
/* dashed connector between cards */
.flow__step:not(:last-child)::after {
	content: "";
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: 0;
	height: 80px;
	width: 5px;
	background-image: radial-gradient(
		circle closest-side,
		var(--primary) 96%,
		transparent 100%
	);
	background-size: 5px 13.33px;
	background-repeat: repeat-y;
	background-position: center top;
}
/* shared media+content card: flow steps / endlife panel */
.mediacard {
	position: relative;
	background: #fff;
	border-radius: 16px;
	padding: clamp(28px, 3vw, 48px);
	display: flex;
	align-items: flex-start;
	gap: clamp(24px, 5vw, 64px);
	min-height: 300px;
}
.mediacard__content {
	flex: 1;
	min-width: 0;
}
.mediacard__media {
	flex: none;
	width: 40%;
	max-width: 480px;
	height: auto;
	aspect-ratio: 4 / 3;
	align-self: flex-start;
	border-radius: 12px;
	background: var(--bg);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: var(--subtle);
	overflow: hidden;
}
.mediacard__media .ms {
	font-size: 36px;
	color: rgba(50, 114, 100, 0.5);
}
.mediacard__media span:not(.ms) {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
}
.mediacard__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/* flow-specific: content offset for the STEP rail */
.flow__content {
	padding-top: 24px;
}
/* STEP 01 label, above the content */
.flow__rail {
	display: flex;
	align-items: center;
	gap: 12px;
}
.flow__head {
	display: flex;
	flex-direction: column;
}
.flow__no {
	display: flex;
	align-items: baseline;
	gap: 4px;
}
.flow__no-label {
	font-family: "Sen", sans-serif;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--primary);
}
.flow__no-num {
	font-family: "Sen", sans-serif;
	font-size: clamp(32px, 3vw, 40px);
	font-weight: 700;
	line-height: 1;
	color: var(--primary);
}
.flow__title {
	font-size: clamp(20px, 1.8vw, 28px);
	font-weight: 700;
	color: var(--bold);
	margin-top: 8px;
}
.flow__text {
	font-size: var(--fs-body);
	font-weight: 500;
	line-height: 1.9;
	color: var(--text);
	text-wrap: wrap;
	margin-top: 24px;
}
.flow__text + .flow__text {
	margin-top: 4px;
}
.flow__text .accent {
	color: var(--primary);
	font-weight: 700;
}
/* small supporting note inside a flow step */
.flow__subnote {
	margin-top: 28px;
	padding: clamp(20px, 2vw, 28px);
	background: rgba(50, 114, 100, 0.06);
	border-radius: 14px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: var(--fs-note);
	font-weight: 500;
	line-height: 1.8;
	color: var(--text);
	text-wrap: wrap;
}
.flow__subnote .ms {
	flex: none;
	font-size: 20px;
	color: var(--primary);
	margin-top: 1px;
}

/* ----- endlife: 終活・遺品整理 (uses .mediacard--endlife) ----- */
.endlife__body {
	margin-top: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.endlife__body p {
	font-size: var(--fs-body);
	line-height: 2;
	font-weight: 500;
	color: var(--text);
	text-wrap: wrap;
}
.endlife__body p .accent {
	color: var(--primary);
	font-weight: 700;
}

/* ----- service-page responsive ----- */
@media (max-width: 991px) {
	.page-lead {
		margin-top: 32px;
		flex-direction: column;
		align-items: stretch;
	}
	.points {
		grid-template-columns: 1fr;
		gap: clamp(24px, 3vw, 48px);
		margin: 0 auto;
	}
	.points__title br {
		display: none;
	}
	.page-lead__media {
		width: 100%;
		max-width: none;
		aspect-ratio: 21 / 9;
	}
}

@media (max-width: 991px) {
	.mediacard {
		flex-direction: column-reverse;
		align-items: stretch;
		gap: 20px;
	}
	/* media-first DOM: keep image on top without reversing */
	.mediacard--media-first {
		flex-direction: column;
	}
	.flow__content {
		align-self: stretch;
		padding-top: 0;
	}
	.flow__step {
		padding-bottom: 56px;
	}
	.flow__step:not(:last-child)::after {
		height: 56px;
	}
	.flow__text {
		margin-top: 20px;
	}
	.mediacard__media {
		width: 100%;
		max-width: none;
		height: auto;
		aspect-ratio: 16 / 9;
		margin-top: 0;
	}
}

@media (max-width: 575px) {
	.points__title br {
		display: block;
	}
	.flow__step {
		padding-bottom: 40px;
	}
	.flow__step:not(:last-child)::after {
		height: 40px;
		background-size: 4px 10.2px;
	}
	.flow__no-label {
		font-size: 12px;
	}
	.flow__no-num {
		font-size: 28px;
	}
	.mediacard {
		padding: 24px 20px;
	}
}

/* ============================================================
	7. PRIVACY POLICY PAGE  (privacy-policy.html)
	------------------------------------------------------------
	numbered policy articles in white cards + revision note
	+ contact panel. Reuses page-header / page-lead / section.
	============================================================ */
.policy {
	max-width: 920px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: clamp(20px, 2.4vw, 28px);
}
.policy__item {
	background: #fff;
	border-radius: 16px;
	padding: clamp(28px, 3.2vw, 48px) clamp(24px, 3.4vw, 56px);
}
.policy__header {
	display: flex;
	align-items: baseline;
	gap: clamp(16px, 1.6vw, 24px);
	margin-bottom: 20px;
}
.policy__no {
	flex: none;
	font-family: "Sen", sans-serif;
	font-size: clamp(28px, 3vw, 40px);
	font-weight: 700;
	line-height: 1;
	color: var(--primary);
	letter-spacing: 0.02em;
}
.policy__title {
	font-size: clamp(20px, 1.9vw, 24px);
	font-weight: 700;
	line-height: 1.5;
	color: var(--bold);
	letter-spacing: 0.02em;
	text-wrap: balance;
	align-self: center;
}
.policy__body {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.policy__body p {
	font-size: var(--fs-body);
	font-weight: 500;
	line-height: 2;
	color: var(--text);
	text-wrap: wrap;
}
.policy__body p .accent {
	color: var(--primary);
	font-weight: 700;
}
/* ordered / unordered sub-lists inside a policy article */
.policy__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 2px 0;
}
.policy__list li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	font-size: var(--fs-body);
	font-weight: 500;
	line-height: 1.9;
	color: var(--text);
	text-wrap: wrap;
}
.policy__list li::before {
	content: "";
	flex: none;
	width: 6px;
	height: 6px;
	margin-top: calc(0.95em - 3px); /* centered on the first line (line-height 1.9) */
	border-radius: 9999px;
	background: var(--secondary);
}
.policy__list li b {
	font-weight: 700;
	color: var(--bold);
}
/* definition rows for the contact / business details */
.policy__dl {
	margin-top: 4px;
	display: grid;
	grid-template-columns: 160px 1fr;
	gap: 16px 24px;
}
.policy__dl dt {
	font-size: var(--fs-body);
	font-weight: 700;
	color: var(--bold);
	line-height: 1.8;
}
.policy__dl dd {
	font-size: var(--fs-body);
	font-weight: 500;
	color: var(--text);
	line-height: 1.8;
}
/* small revision / enactment note under the list */
.policy__note {
	max-width: 920px;
	margin: clamp(24px, 3vw, 36px) auto 0;
	display: flex;
	gap: 12px;
	align-items: flex-start;
	background: #fff;
	border: 1px solid rgba(50, 114, 100, 0.16);
	border-radius: 12px;
	padding: 20px 24px;
	font-size: var(--fs-note);
	font-weight: 500;
	line-height: 1.9;
	color: var(--subtle);
	text-wrap: wrap;
}

@media (max-width: 575px) {
	.policy__header {
		flex-direction: column;
		gap: 8px;
	}
	.policy__title {
		align-self: flex-start;
	}
	.policy__dl {
		grid-template-columns: 1fr;
		gap: 4px 0;
	}
	.policy__dl dd {
		margin-bottom: 12px;
	}
}

/* ============================================================
   8. FLOW STEP SERVICE TAG  (pawn.html / purchase.html)
   ------------------------------------------------------------
   Round tag on the left of each flow step naming the service,
   so the timeline reads as a distinct page:
     質預かり … primary green circle / white text
     買取     … secondary gold circle / dark text
   買取's dotted step connector also switches to the gold.
   ============================================================ */
.flow__tag {
	flex: none;
	width: clamp(62px, 8vw, 72px);
	height: clamp(62px, 8vw, 72px);
	border-radius: 9999px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: clamp(13px, 1.3vw, 15px);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0.02em;
}
.flow--pawn .flow__tag {
	background: var(--primary);
	color: #fff;
}
.flow--purchase .flow__tag {
	background: var(--secondary);
	color: var(--bold);
}

/* 買取: dotted step connector uses the secondary colour */
.flow--purchase .flow__step:not(:last-child)::after {
	background-image: radial-gradient(
		circle closest-side,
		var(--secondary) 96%,
		transparent 100%
	);
}
