:root {
	--bg: #ffffff;
	--surface: #ffffff;
	--surface-soft: #f3f8f1;
	--section-soft: #f5f5ed;
	--cream: #fff7d9;
	--mint: #e8f6e8;
	--peach: #fff0e5;
	--blue: #eaf6ff;
	--text: #243025;
	--muted: #687268;
	--line: rgba(61, 145, 76, 0.16);
	--green: rgb(61, 145, 76);
	--green-dark: rgb(39 167 62);
	--red: rgb(217, 83, 83);
	--orange: #f7931e;
	/*
	--amazon: rgb(245, 154, 13);
	--rakuten: #bf0000;
	*/
	--shadow: none;
	--page-width: 1120px;
	--page-gutter: 20px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 86px;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: "ryo-gothic-plusn", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	line-height: 1.7;
}

a {
	color: inherit;
	text-decoration: none;
}

.sp_only {
	display: none;
}

button,
input {
	font: inherit;
}

.hero {
	position: relative;
	overflow: hidden;
	padding: 0 var(--page-gutter);
}

.hero-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.97fr);
	align-items: center;
	gap: 24px;
	width: 100%;
	max-width: var(--page-width);
	margin: 0 auto;
	padding: clamp(10px, 4vw, 12px) 0;
}

.hero-copy h1 {
	max-width: 720px;
	margin: 8px 0 18px;
}

.hero-title-image {
	display: block;
	width: min(100%, 620px);
	height: auto;
}

.hero-copy p {
	text-align: center;
	max-width: 660px;
	margin-top: 40px;
	font-size: 18px;
	font-weight: 500;
	font-feature-settings: "palt";
}

.eyebrow {
	margin: 0;
	color: var(--green-dark);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hero-actions,
.finder-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 56px;
}

.hero-actions .button {
	flex: 0 0 calc(50% - 5px);
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	border: 0;
	border-radius: 999px;
	padding: 11px 20px;
	cursor: pointer;
	font-weight: 500;
	box-shadow: none;
	flex: 1;
}

.button.primary {
	background: var(--green-dark);
	color: #fffaf0;
	white-space: nowrap;
}

.button.secondary {
	background: var(--surface-soft);
	color: var(--text);
}

.button.ghost {
	background: transparent;
	color: var(--muted);
}

.button:disabled {
	cursor: not-allowed;
	opacity: 0.45;
	box-shadow: none;
}

.hero-visual {
	position: relative;
	min-height: 520px;
}

.plant-card {
	position: absolute;
	inset: 0;
	overflow: visible;
	border: 0;
	border-radius: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	box-shadow: var(--shadow);
}

.plant-card img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	width: 100%;
	height: 100%;
	border-radius: 0;
}

.notice-bar {
	border: 0;
	background: transparent;
	padding: 10px var(--page-gutter) 24px;
}

.notice-bar p {
	max-width: var(--page-width);
	margin: 0 auto;
	/* border-radius: 24px; */
	background: #fff6f4;
	color: var(--red);
	font-size: 11px;
	padding: 10px 18px;
	line-height: 1.4;
}

.finder-section,
.products-section,
.seo-guide-section,
.label-section {
	width: calc(100% - var(--page-gutter) * 2);
	max-width: var(--page-width);
	margin: 0 auto 36px;
	border-radius: 34px;
	background: var(--section-soft);
	padding: 40px;
}

.finder-section {
	background: var(--section-soft);
}

.search-tabs {
	display: inline-flex;
	gap: 8px;
	border-radius: 999px;
	/* background: var(--surface-soft); */
	background: #fff;
	box-shadow: var(--shadow);
	padding: 7px;
	margin: 4px 0 18px;
}

.tab-button {
	min-height: 42px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--muted);
	cursor: pointer;
	padding: 8px 18px;
}

.tab-button.active {
	background: var(--green-dark);
	color: #fff;
	box-shadow: none;
}

.section-heading {
	max-width: 720px;
	margin-bottom: 24px;
}

.section-heading h2 {
	margin: 6px 0 8px;
	font-size: clamp(26px, 4vw, 40px);
	font-weight: 500;
	line-height: 1.22;
	text-wrap: balance;
}

.section-heading p:last-child {
	margin: 0;
	color: var(--muted);
}

.finder-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 22px;
}

.question-panel,
.result-panel,
.label-card {
	border: 0;
	border-radius: 28px;
	background: var(--surface-soft);
	box-shadow: var(--shadow);
}

.question-panel {
	background: transparent;
}

.result-panel {
	background: transparent;
}

.question-panel {
	min-height: 0;
	padding: 20px 0 8px;
}

.question-head {
	display: grid;
	justify-items: start;
	gap: 6px;
	margin-bottom: 18px;
}

.question-head p {
	margin: 0;
	color: var(--green-dark);
	font-size: 13px;
	font-weight: 700;
}

.question-head h3 {
	margin: 0;
	font-size: 24px;
	font-weight: 500;
	line-height: 1.3;
}

.option-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.option-button {
	display: grid;
	place-items: center;
	gap: 8px;
	min-height: 132px;
	/* border: 2px solid var(--green-dark); */
	border: none;
	border-radius: 20px;
	background: var(--surface);
	color: var(--green-dark);
	padding: 14px 12px;
	cursor: pointer;
	text-align: center;
}

.option-thumbnail {
	width: 94px;
	aspect-ratio: 1;
	border-radius: 50%;
	object-fit: cover;
	background: #fff;
}

.option-button span {
	display: block;
	line-height: 1.45;
}

.option-button:hover,
.option-button.selected {
	border-color: var(--green-dark);
	background: var(--green-dark);
	color: #fff;
	box-shadow: none;
}

.result-panel {
	min-height: 260px;
	padding: 18px 0 0;
}

.result-archive {
	display: grid;
	gap: 24px;
}

.result-archive-head {
	display: grid;
	gap: 6px;
	padding: 4px 0 2px;
}

.result-archive-head h3 {
	margin: 0;
	font-size: 26px;
	font-weight: 500;
	line-height: 1.35;
}

.result-archive-head p:last-child {
	margin: 0;
	color: var(--muted);
}

.result-archive-card {
	scroll-margin-top: 118px;
	border-radius: 28px;
	/* background: rgba(238, 247, 232, 0.88); */
	background: #fff;
	padding: 24px;
	transition: background-color 0.2s ease, outline-color 0.2s ease;
}

.result-archive-card.is-selected {
	background: rgba(247, 251, 244, 0.96);
	outline: 3px solid rgba(61, 145, 76, 0.28);
}

.answer-summary {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.answer-summary span {
	border-radius: 999px;
	background: var(--mint);
	color: var(--text);
	padding: 7px 12px;
	font-size: 13px;
}

.empty-state {
	min-height: 160px;
	display: grid;
	place-content: center;
	text-align: center;
}

.empty-state h3 {
	margin: 8px 0;
	font-weight: 500;
}

.empty-state p:last-child {
	margin: 0;
	color: var(--muted);
}

.result-summary {
	display: grid;
	gap: 16px;
}

.result-title {
	display: grid;
	gap: 6px;
}

.result-title h3 {
	margin: 0;
	font-size: 26px;
	font-weight: 500;
	line-height: 1.4;
}

.result-illustration {
	display: flex;
	justify-content: center;
	margin: 4px 0 2px;
}

.result-illustration img {
	display: block;
	width: 70%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 28px;
}

.match-score {
	color: var(--muted);
	font-size: 13px;
}

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

.info-box {
	border: solid 3px var(--line);
	border-radius: 22px;
	background: #fff;
	padding: 18px;
}

.info-box h4 {
	margin: 0 0 8px;
	font-size: 15px;
	color: var(--green-dark);
}

.info-box ul {
	display: grid;
	gap: 6px;
	margin: 0;
	padding-left: 24px;
	color: var(--muted);
}

.product-cards,
.product-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.product-card {
	display: grid;
	gap: 10px;
	border: solid 3px var(--line);
	border-radius: 24px;
	background: #fff;
	padding: 16px;
	box-shadow: var(--shadow);
}

.product-card h3,
.product-card h4 {
	margin: 0;
	font-size: 17px;
	line-height: 1.45;
	font-weight: 500;
}

.product-card p {
	margin: 0;
	color: var(--muted);
	font-size: 14px;
}

.seo-guide-grid {
	display: grid;
	gap: 14px;
}

.seo-guide-card {
	display: grid;
	gap: 10px;
	border-radius: 24px;
	/* background: var(--surface-soft); */
	background: #fff;
	padding: 32px;
}

.seo-guide-card h3,
.seo-guide-card h4 {
	margin: 0;
	font-weight: 500;
}

.seo-guide-card h3 {
	font-size: 20px;
}

.seo-guide-card h4 {
	color: var(--green-dark);
	font-size: 15px;
}

.seo-guide-card p,
.seo-guide-card ul {
	margin: 0;
	color: var(--muted);
	font-size: 14px;
}

.seo-guide-card ul {
	padding-left: 18px;
}

/*
.shop-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin-top: auto;
}

.shop-link {
	border: 0;
	border-radius: 999px;
	padding: 9px 12px;
	color: #fff;
	font-weight: 500;
	text-align: center;
	font-size: 14px;
}

.amazon-link {
	background: var(--amazon);
}

.amazon-link:hover {
	background: #e88900;
}

.rakuten-link {
	background: var(--rakuten);
}

.rakuten-link:hover {
	background: #a90000;
}
*/

.safety-note {
	border: 0;
	border-radius: 20px;
	background: #fff;
	padding: 12px 14px;
	color: var(--red);
	font-size: 14px;
}

.detail-page-link {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 4px 14px;
	border: solid 1px var(--green-dark);
	border-left: solid 8px var(--green-dark);
	background: #fff;
	padding: 18px 20px;
}

.detail-page-link.has-detail-thumbnail {
	grid-template-columns: 72px minmax(0, 1fr) auto;
}

.detail-page-link:hover{
	background-color: rgba(39,167,62,0.1);
}

.detail-page-thumbnail {
	grid-row: 1 / span 2;
	grid-column: 1;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	object-fit: cover;
	background: var(--surface-soft);
}

.detail-page-link span {
	grid-column: 1;
	font-size: 18px;
	font-weight: 700;
}

.detail-page-link small {
	grid-column: 1;
	font-size: 13px;
}

.detail-page-link.has-detail-thumbnail span,
.detail-page-link.has-detail-thumbnail small {
	grid-column: 2;
}

.detail-page-link::after {
	content: "→";
	grid-row: 1 / span 2;
	grid-column: 2;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--green-dark);
	color: #fff;
	font-size: 22px;
	font-weight: 700;
}

.detail-page-link.has-detail-thumbnail::after {
	grid-column: 3;
}

.floating-finder-button {
	position: fixed;
	/* right: max(18px, calc((100vw - var(--page-width)) / 2 + 18px)); */
	right: 40px;
	bottom: 22px;
	z-index: 19;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	border-radius: 999px;
	background: var(--green-dark);
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	line-height: 1;
	padding: 0 18px;
	text-decoration: none;
	opacity: 0;
	pointer-events: none;
	transform: translateY(10px);
	transition: opacity 0.22s ease, transform 0.22s ease, background-color 0.2s ease;
}

.floating-finder-button.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.floating-finder-button:hover {
	background: var(--green);
}

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

.label-card {
	padding: 18px;
}

.label-card h3 {
	margin: 14px 0 6px;
}

.label-card p {
	margin: 0;
	color: var(--muted);
}

.sample-label {
	display: grid;
	gap: 4px;
	max-width: 310px;
	border: 0;
	border-radius: 18px;
	background: #fff;
	padding: 16px;
	font-family: "ryo-gothic-plusn", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

.sample-label strong {
	font-size: 18px;
	letter-spacing: 0.06em;
}

.sample-label span {
	background: var(--mint);
	border-radius: 999px;
	padding: 6px 0;
	text-align: center;
}

.sample-label.compact {
	max-width: 230px;
}

.site-footer {
	border-top: 0;
	background: var(--orange);
	padding: 32px var(--page-gutter);
	color: #fff;
	text-align: center;
	font-size: 12px;
}

.site-footer p {
	margin: 4px 0;
}

.footer-notice {
	display: grid;
	gap: 8px;
	max-width: 680px;
	margin: 0 auto;
	color: #fff;
	text-align: left;
}

.footer-notice p {
	margin: 0;
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 48px;
}

.footer-links a {
	color: #fff;
	font-size: 11px;
}

.footer-links a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.footer-meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 18px;
	margin-top: 14px;
	color: rgba(255, 255, 255, 0.88);
}

.footer-meta small {
	font-size: 12px;
}

.page-header {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 20;
	width: 100%;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(10px);
	padding: 14px 0;
}

.page-header-inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: calc(100% - var(--page-gutter) * 2);
	max-width: var(--page-width);
	min-height: 74px;
	margin: 0 auto;
}

.page-logo {
	display: inline-flex;
	align-items: center;
	width: min(46vw, 200px);
}

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

.page-menu-toggle {
	display: none;
}

.page-menu-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: fixed;
	top: 38px;
	right: max(var(--page-gutter), calc((100vw - var(--page-width)) / 2));
	z-index: 22;
	pointer-events: auto;
	width: 68px;
	height: 68px;
	border-radius: 50%;
	background: var(--green-dark);
	color: #fff;
	cursor: pointer;
}

.page-menu-button::before,
.page-menu-button::after,
.menu-label-open {
	content: "";
	display: block;
	position: absolute;
	left: 50%;
	width: 28px;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
	transform: translateX(-50%);
	transition: transform 0.22s ease, opacity 0.22s ease, top 0.22s ease;
}

.page-menu-button::before {
	top: calc(50% - 9px);
}

.menu-label-open {
	top: 50%;
	overflow: hidden;
	font-size: 0;
	line-height: 0;
}

.page-menu-button::after {
	top: calc(50% + 9px);
}

.menu-label-close {
	display: none;
}

.page-nav {
	position: fixed;
	inset: 0;
	z-index: 21;
	display: none;
	align-content: flex-start;
	justify-items: center;
	width: 100vw;
	min-width: 0;
	height: 100dvh;
	min-height: 100vh;
	overflow-y: auto;
	overscroll-behavior: contain;
	border-radius: 0;
	background: var(--green-dark);
	padding: 130px max(var(--page-gutter), calc((100vw - var(--page-width)) / 2 + var(--page-gutter))) 36px;
	font-size: 18px;
	font-weight: 500;
}

.page-nav a {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	width: 100%;
	min-height: 54px;
	border-radius: 999px;
	background: transparent;
	color: #fff;
	padding: 12px 18px;
	text-align: left;
}

.page-nav a::before {
	content: "●";
	color: var(--orange);
	font-size: 14px;
	line-height: 1;
}

.page-nav a:hover {
	background: rgba(255, 255, 255, 0.14);
}

.symptom-nav-link {
	display: flex;
}

.page-nav-secondary {
	display: grid;
	gap: 4px;
	width: 100%;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.page-nav .page-nav-secondary a {
	min-height: 0;
	border-radius: 0;
	padding: 6px 18px;
	font-size: 13px;
	font-weight: 400;
	opacity: 0.86;
}

.page-nav .page-nav-secondary a::before {
	content: none;
}

.page-nav .page-nav-secondary a:hover {
	background: transparent;
	opacity: 1;
	text-decoration: underline;
}

.page-menu-toggle:checked ~ .page-nav {
	display: grid;
	justify-content: flex-start;
	gap: 0 14px;
}

.page-menu-toggle:checked ~ .page-menu-button {
	background: #fff;
	color: var(--green-dark);
}

.page-menu-toggle:checked ~ .page-menu-button .menu-label-open {
	opacity: 0;
}

.page-menu-toggle:checked ~ .page-menu-button .menu-label-close {
	display: none;
}

.page-menu-toggle:checked ~ .page-menu-button::before {
	top: 50%;
	transform: translateX(-50%) rotate(45deg);
}

.page-menu-toggle:checked ~ .page-menu-button::after {
	top: 50%;
	transform: translateX(-50%) rotate(-45deg);
}

.front-page .page-header {
	display: block;
	background: transparent;
	backdrop-filter: none;
	pointer-events: none;
}

.front-page .page-header-inner {
	justify-content: flex-end;
}

.front-page .page-logo {
	display: none;
}

.front-page .page-nav {
	pointer-events: auto;
}

@media (max-width: 900px) {
	.hero-inner,
	.finder-layout {
		grid-template-columns: 1fr;
		padding-top: 0;
	}

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

	.hero-visual {
		min-height: 420px;
	}

	.plant-card {
		inset: 0;
	}

}

@media (max-width: 640px) {
	:root {
		--page-gutter: 16px;
	}

	.page-header {
		padding: 8px 0;
	}

	.front-page .page-header {
		display: block;
		background: transparent;
		backdrop-filter: none;
		pointer-events: none;
	}

	.front-page .page-header-inner {
		justify-content: flex-end;
	}

	.front-page .page-logo {
		display: none;
	}

	.front-page .page-nav {
		pointer-events: auto;
	}

	.pc_only {
		display: none;
	}

	.sp_only {
		display: inline;
	}

	.finder-section,
	.products-section,
	.seo-guide-section,
	.label-section {
		border-radius: 24px;
		padding: 26px 16px;
		margin-bottom: 24px;
	}

	.hero {
		padding: 12px var(--page-gutter) 4px;
	}

	.hero-title-image {
		width: 100%;
	}

	.hero-actions .button {
		font-size: 12px;
	}

	.question-head {
		display: grid;
	}

	.option-grid,
	.result-grid,
	.product-cards,
	.label-grid {
		grid-template-columns: 1fr;
	}

	.product-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

	.option-button {
		min-height: 126px;
		padding: 12px 8px;
	}

	.option-thumbnail {
		width: 72px;
	}

	.option-button span {
		font-size: 13px;
	}

	/*
	.shop-links {
		grid-template-columns: 1fr;
	}
	*/

	.result-panel {
		padding-top: 12px;
	}

	.result-archive {
		gap: 18px;
	}

	.result-archive-card {
		scroll-margin-top: 86px;
		padding: 18px 14px;
	}

	.info-box,
	.seo-guide-card,
	.product-card {
		padding: 14px;
	}

	.detail-page-link {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 8px 12px;
		padding: 16px;
	}

	.detail-page-thumbnail {
		grid-row: 1;
		grid-column: 1 / -1;
		justify-self: start;
		width: 72px;
		height: 72px;
	}

	.detail-page-link span {
		grid-row: 2;
		grid-column: 1;
	}

	.detail-page-link small {
		grid-row: 3;
		grid-column: 1;
	}

	.detail-page-link::after {
		grid-row: 2 / span 2;
		grid-column: 2;
	}

	.site-footer {
		padding: 26px var(--page-gutter);
	}

	.page-header-inner {
		width: calc(100% - 24px);
		min-height: 56px;
	}

	.page-logo {
		/* width: min(58vw, 240px); */
		width: 130px;
	}

	.page-nav {
		padding: 52px var(--page-gutter) 36px;
	}

	.page-menu-button {
		top: 16px;
		right: 16px;
		width: 54px;
		height: 54px;
	}

	.page-menu-button::before,
	.page-menu-button::after,
	.menu-label-open {
		width: 24px;
	}

		.front-page .hero {
		padding-top: 12px;
	}

				.footer-notice {
		gap: 10px;
	}

	.hero-visual {
		min-height: 320px;
	}

	.result-illustration img {
		width: 100%;
	}

	.floating-finder-button {
		right: 14px;
		bottom: 14px;
		min-height: 42px;
		font-size: 13px;
		padding: 0 14px;
	}

	.plant-card img {
		max-width: 100%;
		max-height: 100%;
	}
}
