/* =========================================================
   QR PLATE
   page-qr-plate.php
========================================================= */

.hqr-page {
	--hqr-ink: #292421;
	--hqr-muted: #716760;
	--hqr-accent: #a57c66;
	--hqr-accent-dark: #765544;
	--hqr-line: #ded6d0;
	--hqr-bg: #f7f5f2;
	--hqr-card: #fff;
	--hqr-shadow: 0 18px 45px rgba(46, 35, 29, 0.1);

	color: var(--hqr-ink);
	background: #fff;
	overflow: hidden;
}

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

.hqr-page img {
	display: block;
	width: 100%;
	height: auto;
}

.hqr-container {
	width: min(1180px, calc(100% - 48px));
	margin-inline: auto;
}

/* 見出し
--------------------------------------------------------- */

.hqr-section-heading {
	margin-bottom: 48px;
	text-align: center;
}

.hqr-section-heading__en {
	margin: 0 0 8px;
	color: var(--hqr-accent);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.24em;
}

.hqr-section-heading h2 {
	margin: 0;
	font-size: clamp(28px, 4vw, 44px);
	line-height: 1.3;
	letter-spacing: 0.05em;
}

.hqr-section-heading > p:last-child {
	margin: 16px 0 0;
	color: var(--hqr-muted);
	font-size: 15px;
	line-height: 1.9;
}

/* Hero
--------------------------------------------------------- */

.hqr-hero {
	padding: clamp(72px, 9vw, 130px) 0;
	background:
		linear-gradient(90deg, rgba(247,245,242,0.98) 0%, rgba(247,245,242,0.94) 48%, rgba(247,245,242,0.3) 100%);
}

.hqr-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(48px, 7vw, 100px);
	align-items: center;
}

.hqr-hero__content {
	position: relative;
	z-index: 2;
}

.hqr-hero__eyebrow {
	margin: 0 0 16px;
	color: var(--hqr-accent);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.28em;
}

.hqr-hero h1 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(54px, 8vw, 104px);
	font-weight: 400;
	line-height: 0.95;
	letter-spacing: 0.02em;
}

.hqr-hero__line {
	display: block;
	width: 80px;
	height: 1px;
	margin: 30px 0;
	background: var(--hqr-accent);
}

.hqr-hero__lead {
	margin: 0 0 18px;
	font-size: clamp(20px, 2.5vw, 28px);
	font-weight: 700;
	letter-spacing: 0.08em;
}

.hqr-hero__text {
	margin: 0;
	color: var(--hqr-muted);
	font-size: 15px;
	line-height: 2.1;
}

.hqr-hero__visual {
	position: relative;
	min-height: 520px;
}

.hqr-hero__image {
	position: absolute;
	margin: 0;
	overflow: hidden;
	background: #ece8e4;
	box-shadow: var(--hqr-shadow);
}

.hqr-hero__image img {
	height: 100%;
	object-fit: cover;
}

.hqr-hero__image--main {
	inset: 0 9% 9% 0;
	border-radius: 2px;
}

.hqr-hero__image--sub {
	right: 0;
	bottom: 0;
	width: 42%;
	height: 42%;
	border: 10px solid #f7f5f2;
	border-radius: 2px;
}

/* Features
--------------------------------------------------------- */

.hqr-feature-section {
	padding: clamp(72px, 8vw, 110px) 0;
}

.hqr-feature-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-top: 1px solid var(--hqr-line);
	border-bottom: 1px solid var(--hqr-line);
}

.hqr-feature-item {
	padding: 44px 28px;
	text-align: center;
}

.hqr-feature-item + .hqr-feature-item {
	border-left: 1px solid var(--hqr-line);
}

.hqr-feature-icon {
	display: grid;
	width: 66px;
	height: 66px;
	margin: 0 auto 24px;
	place-items: center;
	border: 1px solid var(--hqr-line);
	border-radius: 50%;
	color: var(--hqr-accent);
	font-size: 24px;
}

.hqr-feature-content h3 {
	margin: 0 0 14px;
	font-size: 17px;
	line-height: 1.5;
}

.hqr-feature-content p {
	margin: 0;
	color: var(--hqr-muted);
	font-size: 14px;
	line-height: 1.9;
}

/* Variation
--------------------------------------------------------- */

.hqr-variation-section {
	padding: clamp(72px, 9vw, 130px) 0;
	background: var(--hqr-bg);
}

.hqr-variation-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 310px;
	gap: 40px;
	align-items: start;
}

.hqr-variation-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.hqr-variation-card {
	padding: 22px;
	background: var(--hqr-card);
	border: 1px solid rgba(165,124,102,0.16);
	box-shadow: 0 8px 24px rgba(46,35,29,0.05);
}

.hqr-variation-card__head {
	display: flex;
	gap: 12px;
	align-items: baseline;
	margin-bottom: 18px;
}

.hqr-variation-card__head span {
	color: var(--hqr-accent);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 22px;
}

.hqr-variation-card__head h3 {
	margin: 0;
	font-size: 17px;
	line-height: 1.5;
}

.hqr-variation-card__image {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #f1eeeb;
}

.hqr-variation-card__image img {
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.hqr-variation-card:hover .hqr-variation-card__image img {
	transform: scale(1.025);
}

.hqr-variation-card > p {
	margin: 18px 0 0;
	color: var(--hqr-muted);
	font-size: 14px;
	line-height: 1.8;
	text-align: center;
}

/* Custom
--------------------------------------------------------- */

.hqr-custom-box {
	margin-top: 28px;
	padding: 32px;
	background: #302925;
	color: #fff;
}

.hqr-custom-box__head {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr);
	gap: 22px;
	align-items: start;
}

.hqr-custom-icon {
	display: grid;
	width: 58px;
	height: 58px;
	place-items: center;
	border: 1px solid rgba(255,255,255,0.35);
	border-radius: 50%;
	font-size: 20px;
}

.hqr-custom-text h3 {
	margin: 0 0 10px;
	font-size: 22px;
}

.hqr-custom-text p {
	margin: 0;
	color: rgba(255,255,255,0.76);
	font-size: 14px;
	line-height: 1.9;
}

.hqr-custom-icons {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.hqr-custom-icons li {
	display: flex;
	gap: 8px;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 8px 10px;
	border: 1px solid rgba(255,255,255,0.17);
	color: rgba(255,255,255,0.88);
	font-size: 12px;
}

.hqr-custom-icons i {
	color: #d4b09b;
	font-size: 14px;
}

/* Spec
--------------------------------------------------------- */

.hqr-spec-box {
	position: sticky;
	top: 120px;
	padding: 30px;
	background: #fff;
	border: 1px solid var(--hqr-line);
	box-shadow: 0 12px 32px rgba(46,35,29,0.06);
}

.hqr-spec-box__title {
	display: flex;
	gap: 12px;
	align-items: center;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--hqr-line);
}

.hqr-spec-box__title i {
	color: var(--hqr-accent);
	font-size: 20px;
}

.hqr-spec-box__title h2 {
	margin: 0;
	font-size: 21px;
}

.hqr-spec-group {
	padding-top: 26px;
}

.hqr-spec-group + .hqr-spec-group {
	margin-top: 26px;
	border-top: 1px solid var(--hqr-line);
}

.hqr-spec-group h3 {
	margin: 0 0 18px;
	color: var(--hqr-accent-dark);
	font-size: 14px;
	letter-spacing: 0.08em;
}

.hqr-spec-group dl {
	margin: 0;
}

.hqr-spec-group dl > div {
	display: grid;
	grid-template-columns: 82px minmax(0, 1fr);
	gap: 14px;
	padding: 11px 0;
	border-bottom: 1px solid #eee9e5;
}

.hqr-spec-group dt,
.hqr-spec-group dd {
	margin: 0;
	font-size: 13px;
	line-height: 1.7;
}

.hqr-spec-group dt {
	color: var(--hqr-muted);
	font-weight: 500;
}

.hqr-spec-group dd {
	font-weight: 600;
}

.hqr-spec-note {
	display: flex;
	gap: 10px;
	margin: 28px 0 0;
	padding: 16px;
	background: var(--hqr-bg);
	color: var(--hqr-muted);
	font-size: 12px;
	line-height: 1.7;
}

.hqr-spec-note i {
	margin-top: 3px;
	color: var(--hqr-accent);
}

/* CTA
--------------------------------------------------------- */

.hqr-cta {
	padding: clamp(68px, 8vw, 100px) 0;
	background: #e9e1db;
}

.hqr-cta__inner {
	display: flex;
	gap: 40px;
	align-items: center;
	justify-content: space-between;
}

.hqr-cta__en {
	margin: 0 0 12px;
	color: var(--hqr-accent-dark);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.22em;
}

.hqr-cta h2 {
	margin: 0;
	font-size: clamp(26px, 3.5vw, 40px);
	line-height: 1.5;
}

.hqr-cta p:not(.hqr-cta__en) {
	margin: 18px 0 0;
	color: var(--hqr-muted);
	font-size: 14px;
}

.hqr-cta__button {
	display: inline-flex;
	flex: 0 0 auto;
	gap: 28px;
	align-items: center;
	justify-content: center;
	min-width: 230px;
	padding: 18px 24px;
	background: #302925;
	color: #fff;
	text-decoration: none;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.hqr-cta__button:hover {
	color: #fff;
	opacity: 0.88;
	transform: translateY(-2px);
}

/* Tablet
--------------------------------------------------------- */

@media (max-width: 1000px) {
	.hqr-feature-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hqr-feature-item:nth-child(3) {
		border-left: 0;
		border-top: 1px solid var(--hqr-line);
	}

	.hqr-feature-item:nth-child(4) {
		border-top: 1px solid var(--hqr-line);
	}

	.hqr-variation-layout {
		grid-template-columns: 1fr;
	}

	.hqr-spec-box {
		position: static;
	}

	.hqr-spec-group dl {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 32px;
	}
}

/* Mobile
--------------------------------------------------------- */

@media (max-width: 767px) {
	.hqr-container {
		width: min(100% - 32px, 1180px);
	}

	.hqr-hero {
		padding: 64px 0 72px;
	}

	.hqr-hero__inner {
		grid-template-columns: 1fr;
		gap: 42px;
	}

	.hqr-hero__text br {
		display: none;
	}

	.hqr-hero__visual {
		min-height: auto;
		padding: 0 20px 32px 0;
	}

	.hqr-hero__image {
		position: relative;
	}

	.hqr-hero__image--main {
		inset: auto;
		aspect-ratio: 4 / 3;
	}

	.hqr-hero__image--sub {
		position: absolute;
		right: 0;
		bottom: 0;
		width: 44%;
		height: 43%;
		border-width: 6px;
	}

	.hqr-section-heading {
		margin-bottom: 34px;
	}

	.hqr-feature-grid {
		grid-template-columns: 1fr;
	}

	.hqr-feature-item {
		display: grid;
		grid-template-columns: 54px minmax(0, 1fr);
		gap: 18px;
		padding: 28px 4px;
		text-align: left;
	}

	.hqr-feature-item + .hqr-feature-item,
	.hqr-feature-item:nth-child(3),
	.hqr-feature-item:nth-child(4) {
		border-top: 1px solid var(--hqr-line);
		border-left: 0;
	}

	.hqr-feature-icon {
		width: 54px;
		height: 54px;
		margin: 0;
		font-size: 20px;
	}

	.hqr-feature-content h3 {
		margin-bottom: 8px;
	}

	.hqr-variation-grid {
		grid-template-columns: 1fr;
	}

	.hqr-variation-card {
		padding: 18px;
	}

	.hqr-custom-box {
		padding: 24px 20px;
	}

	.hqr-custom-box__head {
		grid-template-columns: 1fr;
	}

	.hqr-custom-icons {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hqr-spec-box {
		padding: 24px 20px;
	}

	.hqr-spec-group dl {
		display: block;
	}

	.hqr-cta__inner {
		display: block;
	}

	.hqr-cta__button {
		width: 100%;
		margin-top: 28px;
	}

	.hqr-cta h2 br {
		display: none;
	}
}
