@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@700&display=swap");

:root {
	--paper: #fbf8f1;
	--paper-2: #efe7dc;
	--white: #ffffff;
	--navy: #0b1822;
	--navy-soft: #132631;
	--ink: #1b2429;
	--muted: #5f6670;
	--line: #ded6ca;
	--accent: #006ba6;
	--amber: #c98f45;
	--amber-dark: #a8702e;
	--button-green: #2ea69a;
	--button-green-dark: #1d776f;
	--green: #426b5b;
	--shadow: 0 18px 45px rgba(11, 24, 34, 0.12);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: "Noto Sans JP", "BIZ UDPGothic", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

h1,
h2 {
	font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

button,
input,
select,
textarea {
	font-family: inherit;
}

a {
	color: inherit;
}

.footer-portfolio-link {
	color: inherit;
	text-decoration: none;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	min-height: 0;
	background: var(--navy);
	color: var(--white);
	border-bottom: 1px solid var(--amber);
}

.header-inner {
	width: min(1120px, calc(100% - 48px));
	margin: 0 auto;
	min-height: 0;
	padding: 8px 0;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: space-between;
	column-gap: 20px;
	row-gap: 4px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 1px;
	text-decoration: none;
}

.brand-mark {
	display: block;
	width: 66px;
	height: 54px;
	object-fit: contain;
}

.brand-wordmark {
	display: block;
	width: 172px;
	height: 54px;
	max-width: 172px;
	object-fit: contain;
}

.brand-logo {
	display: block;
	width: 230px;
	height: 64px;
	max-width: 100%;
	object-fit: contain;
	object-position: left center;
}

.home-page .brand {
	gap: 1px;
}

.home-page .brand-mark {
	width: 66px;
	height: 54px;
}

.home-page .brand-wordmark {
	width: 172px;
	height: 54px;
	max-width: 172px;
	object-fit: contain;
}

.header-note {
	margin: 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.9rem;
	white-space: nowrap;
}

.header-links {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	flex: 0 0 auto;
	justify-content: flex-end;
	gap: 0 28px;
	min-width: 0;
	font-size: 0.88rem;
}

.header-links a {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 0;
	min-height: 36px;
	padding: 6px 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--white);
	line-height: 1.35;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s ease;
}

.header-links a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 2px;
	height: 2px;
	background: var(--amber);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.2s ease;
}

.header-links a.nav-first-set span {
	white-space: nowrap;
}

/* 現在ページを示す常時下線は使わず、操作時だけに表示する。 */
.header-links a.is-active::after {
	transform: scaleX(0) !important;
}

.header-links a.is-active:hover::after,
.header-links a.is-active:focus::after {
	transform: scaleX(1) !important;
}

.header-links a:not(.consult-button) {
	color: #f7f4ed !important;
}

.header-links a:not(.consult-button):hover,
.header-links a:not(.consult-button):focus {
	color: #efc47c !important;
}

/* 現在開いているページの項目は、クリック後も文字色を変えて示す。 */
.header-links a.is-active:not(.consult-button),
.header-links a.consult-button.is-active {
	color: #efc47c !important;
}

/* ヘッダー内の「相談する」は、他の項目と同じ文字リンクとして表示する。 */
.header-links a.consult-button {
	min-width: 0 !important;
	min-height: 36px !important;
	padding: 6px 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: #e07a5f !important;
	font-weight: 700;
}

.header-links a.consult-button::after {
	display: block !important;
}

.header-links a.consult-button:hover,
.header-links a.consult-button:focus {
	color: #f29c83 !important;
}

.header-links a:hover,
.header-links a:focus {
	color: var(--white);
}

.header-links a:hover::after,
.header-links a:focus::after,
.header-links a.is-active::after {
	transform: scaleX(1);
}

.header-links a.consult-button {
	min-width: 112px;
	min-height: 44px;
	padding: 10px 18px;
	border-color: var(--amber);
	background: var(--amber);
	border-radius: 4px;
	color: var(--white);
	font-weight: 700;
}

.header-links a.consult-button::after {
	display: none;
}

.header-links a.consult-button:hover,
.header-links a.consult-button:focus {
	border-color: var(--amber-dark);
	background: var(--amber-dark);
	color: var(--white);
}

.header-links a.consult-button.is-active {
	border-color: var(--amber-dark);
	background: var(--amber-dark);
	color: var(--white);
}

@media (max-width: 1080px) {
	.header-inner {
		column-gap: 16px;
		row-gap: 4px;
	}

	.header-links {
		gap: 0 20px;
	}
}

/* トップページでは、ナビを3項目ずつのグループにして折り返し位置を固定する。 */
.header-links {
	display: flex;
	column-gap: 28px;
	row-gap: 0;
	align-content: flex-start;
}

.header-link-group {
	display: flex;
	align-items: center;
	gap: 0 28px;
	flex: 0 0 auto;
}

.header-link-group a,
.header-link-group a.consult-button {
	min-height: 28px !important;
	padding: 2px 0 !important;
	line-height: 1.25;
}

@media (max-width: 860px) {
	.header-inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.header-links {
		width: 100%;
		justify-content: flex-start;
	}
}

.hero {
	position: relative;
	overflow: hidden;
	background: #fffdf8;
	color: var(--navy);
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(255, 253, 248, 0.98) 0%, rgba(255, 253, 248, 0.92) 42%, rgba(255, 253, 248, 0.62) 68%, rgba(255, 253, 248, 0.38) 100%),
		url("../img/main-visual-01.png") center / cover;
	opacity: 1;
}

.hero-inner {
	position: relative;
	min-width: 0;
	max-width: 1120px;
	margin: 0 auto;
	padding: 72px 24px 52px;
}

.home-hero::before {
	background:
		linear-gradient(90deg, rgba(255, 253, 248, 0.98) 0%, rgba(255, 253, 248, 0.92) 40%, rgba(255, 253, 248, 0.52) 67%, rgba(255, 253, 248, 0.26) 100%),
		url("../img/main-visual-01.png") center / cover no-repeat;
	opacity: 1;
}

.home-hero .hero-inner {
	min-height: clamp(360px, 27vw, 430px);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.home-hero h1,
.home-hero .hero-copy {
	max-width: 620px;
}

.kicker {
	margin: 0 0 12px;
	color: #9b6725;
	font-weight: 700;
	letter-spacing: 0;
}

h1 {
	margin: 0;
	max-width: 760px;
	font-size: clamp(2rem, 4vw, 3.6rem);
	line-height: 1.18;
	letter-spacing: 0;
}

.hero-title-serif {
	font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-weight: 700;
}

.hero-title-small {
	font-size: calc(1em - 5px);
}

.nowrap {
	white-space: nowrap;
}

.hero-copy {
	max-width: 760px;
	margin: 18px 0 0;
	color: rgba(11, 24, 34, 0.78);
	font-size: 1.04rem;
}

.hero h1,
.hero-copy,
.hero-list li {
	overflow-wrap: anywhere;
}

.hero img {
	display: block;
	max-width: 100%;
	height: auto;
}

.first-set-price-highlight {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0;
	max-width: 760px;
	margin-top: 24px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
	color: var(--navy);
}

.first-set-price-main,
.first-set-price-option {
	display: grid;
	gap: 6px;
	min-width: 260px;
	padding: 18px 22px;
}

.first-set-price-main {
	flex: 1.1;
	background: #fff7e8;
}

.first-set-price-option {
	flex: 1;
	border-left: 1px solid rgba(175, 122, 58, 0.25);
	background: var(--white);
}

.first-set-price-highlight span {
	font-weight: 700;
	line-height: 1.45;
}

.first-set-price-highlight strong {
	color: var(--accent);
	font-size: clamp(1.8rem, 4vw, 3rem);
	line-height: 1;
}

.hero-list {
	margin: 26px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	list-style: none;
}

.hero-list li {
	min-height: 52px;
	padding: 12px 14px;
	border: 1px solid rgba(46, 166, 154, 0.28);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.78);
	color: rgba(11, 24, 34, 0.82);
	font-size: 0.92rem;
}

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

.hero-list strong,
.hero-list span {
	display: block;
}

.hero-list strong {
	margin-bottom: 8px;
	color: var(--navy);
	font-size: 1rem;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 10px 18px;
	border: 1px solid var(--button-green);
	border-radius: 8px;
	background: var(--button-green);
	color: var(--white);
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus {
	border-color: var(--button-green-dark);
	background: var(--button-green-dark);
}

.button:disabled,
.button:disabled:hover,
.button:disabled:focus {
	cursor: not-allowed;
	opacity: 0.52;
}

.button.secondary {
	border-color: var(--button-green);
	background: var(--button-green);
}

.button.dark {
	border-color: var(--button-green);
	background: var(--button-green);
}

.button.consult-button {
	border-color: #e07a5f;
	background: #e07a5f;
	color: var(--white);
}

.button.consult-button:hover,
.button.consult-button:focus {
	border-color: #f29c83;
	background: #f29c83;
	color: var(--white);
}

/* ページ内で次の行動へ進む主要ボタン */
.button.cta-button {
	border-color: #e07a5f;
	background: #e07a5f;
	color: var(--white);
}

.button.cta-button:hover,
.button.cta-button:focus {
	border-color: #f29c83;
	background: #f29c83;
	color: var(--white);
}

.button.cta-button.is-consent-error,
.button.cta-button.is-consent-error:hover,
.button.cta-button.is-consent-error:focus {
	border-color: #b6402e;
	background: #b6402e;
	color: var(--white);
}

.text-link {
	display: inline-flex;
	align-items: center;
	color: var(--accent);
	font-weight: 700;
	text-decoration: none;
}

.text-link:hover,
.text-link:focus {
	text-decoration: underline;
}

.hero-actions .text-link {
	color: var(--accent-dark);
}

.layout {
	max-width: 1120px;
	margin: 0 auto;
	padding: 44px 24px 72px;
}

.step-strip {
	margin: 0 0 18px;
	padding: 10px 14px;
	border: 1px solid rgba(46, 166, 154, 0.28);
	border-radius: 8px;
	background: #eef7f5;
	color: #0f4b46;
	font-size: 0.95rem;
	font-weight: 800;
	line-height: 1.5;
}

.logo-draft-check {
	padding: 46px 0;
	background: var(--paper-2);
	border-bottom: 1px solid var(--line);
}

.logo-draft-heading {
	display: flex;
	align-items: baseline;
	gap: 18px;
	margin-bottom: 18px;
}

.logo-draft-heading p {
	margin: 0;
	color: var(--amber-dark);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.logo-draft-heading h2 {
	margin: 0;
	font-size: clamp(1.25rem, 2vw, 1.7rem);
}

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

.logo-draft-card {
	margin: 0;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: var(--navy);
	box-shadow: 0 10px 24px rgba(11, 24, 34, 0.08);
}

.logo-draft-card figcaption {
	display: flex;
	align-items: baseline;
	gap: 10px;
	padding: 10px 14px;
	color: var(--paper);
	border-bottom: 1px solid rgba(255, 255, 255, 0.16);
	font-size: 0.82rem;
}

.logo-draft-card figcaption strong {
	color: var(--amber);
	font-size: 0.95rem;
}

.logo-draft-preview {
	display: flex;
	align-items: center;
	gap: clamp(10px, 2vw, 18px);
	min-height: 118px;
	padding: 18px 20px;
}

.logo-draft-mark {
	width: 52px;
	height: 52px;
	flex: 0 0 auto;
	object-fit: contain;
}

.logo-draft-wordmark {
	width: min(100%, 360px);
	height: auto;
	min-width: 0;
	object-fit: contain;
}

.home-layout {
	display: grid;
	gap: 24px;
}

.home-topic {
	padding: 30px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--white);
	box-shadow: var(--shadow);
}

.home-topic-head {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 18px;
	align-items: start;
	margin-bottom: 22px;
}

.home-topic-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 8px;
	background: var(--navy);
	color: var(--white);
	font-weight: 800;
}

.home-topic-kicker {
	margin: 0 0 6px;
	color: var(--accent);
	font-weight: 800;
}

.home-topic h2 {
	margin: 0;
	font-size: 1.55rem;
	line-height: 1.38;
	letter-spacing: 0;
}

.home-topic p {
	margin: 8px 0 0;
	color: var(--muted);
	font-size: 1.02rem;
	line-height: 1.82;
}

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

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

.home-item {
	padding: 16px 0;
	border-top: 1px solid var(--line);
}

.home-item h3 {
	margin: 0 0 6px;
	font-size: 1.08rem;
	line-height: 1.45;
}

.home-item p {
	margin: 0;
	color: #33444c;
	font-size: 0.98rem;
	line-height: 1.72;
}

.home-item a {
	display: inline-flex;
	margin-top: 10px;
	color: var(--accent);
	font-weight: 700;
	text-decoration: none;
}

.home-service-grid {
	gap: 20px 16px;
}

.home-service-card {
	padding: 0;
	border-top: 0;
}

.home-service-card img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	margin-bottom: 10px;
	border-radius: 8px;
	background: var(--paper-2);
}

.home-section-label {
	margin: 0 0 12px;
	font-size: 1.08rem;
	line-height: 1.45;
	letter-spacing: 0;
}

.home-pair-block {
	padding: 18px 0 22px;
	border-top: 1px solid var(--line);
}

.home-pair-block:first-of-type {
	padding-top: 0;
	border-top: 0;
}

.home-pair-block + .home-pair-block {
	margin-top: 8px;
}

.home-worry-list,
.home-solution-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.home-worry-list li,
.home-solution-list li {
	min-height: 158px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	padding: 16px 12px 14px;
	border-radius: 8px;
	background: #fff7ea;
	color: #68482a;
	font-weight: 800;
	text-align: center;
}

.home-solution-list li {
	min-height: 210px;
	padding: 16px 14px 18px;
	background: #eef7f5;
	color: #1d615b;
	font-weight: 600;
}

.home-worry-list img,
.home-solution-list img {
	display: block;
	width: 84px;
	height: 84px;
	object-fit: contain;
	margin-bottom: 10px;
}

.home-worry-list span,
.home-solution-list span {
	display: block;
}

.home-solution-list strong {
	display: block;
	margin-bottom: 6px;
	font-size: 1.05rem;
	line-height: 1.35;
	color: #0f4b46;
}

.home-solution-list span {
	font-size: 0.88rem;
	line-height: 1.55;
	color: #315f59;
}

.home-solution-flow {
	padding: 18px 0 22px;
	border-top: 1px solid var(--line);
}

.home-flow-labels {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 108px minmax(0, 1fr);
	gap: 20px;
	margin-bottom: 14px;
	color: var(--ink);
	font-weight: 800;
	font-size: 1.3rem;
	line-height: 1.4;
	text-align: center;
}

.home-flow-labels span:first-child {
	grid-column: 1;
}

.home-flow-labels span:last-child {
	grid-column: 3;
}

.home-flow-visual {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 108px minmax(0, 1fr);
	grid-auto-rows: auto;
	gap: 12px 20px;
	align-items: stretch;
}

.home-flow-separator {
	grid-column: 1 / -1;
	height: 1px;
	margin: 2px 0;
	background: #d6e0dd;
}

.home-flow-arrow {
	grid-column: 2;
	display: flex;
	align-items: center;
	justify-content: center;
}

.home-flow-arrow img {
	display: block;
	width: 100%;
	max-width: 82px;
	height: auto;
	object-fit: contain;
	object-position: center center;
}

.home-flow-panel {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	min-height: 0;
	border: 1px solid rgba(46, 166, 154, 0.24);
	border-radius: 8px;
	background: var(--white);
}

.home-flow-panel img {
	display: block;
	position: static;
	width: 100%;
	height: auto;
	aspect-ratio: 10 / 7;
	object-fit: cover;
	object-position: center center;
	border-radius: 0 0 7px 7px;
}

.home-flow-solution img {
	object-fit: cover;
	object-position: right center;
}

.home-flow-worry {
	grid-column: 1;
	border-color: #ecd8b9;
	color: #68482a;
}

.home-flow-solution {
	grid-column: 3;
	border-color: #b8ddd8;
	color: #0f4b46;
}

.home-flow-worry-text,
.home-flow-solution-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
	width: 100%;
	min-height: 106px;
	padding: 14px 18px;
	text-align: center;
}

.home-flow-worry-text {
	background: #fff8ee;
	color: #3a2516;
	font-size: clamp(1.1rem, 1.72vw, 1.48rem);
	font-weight: 800;
	line-height: 1.35;
	letter-spacing: 0;
	white-space: normal;
}

.home-flow-solution-text {
	background: #f1fbf9;
}

.home-flow-solution-text strong {
	display: block;
	margin-bottom: 0;
	color: #0f4b46;
	font-size: clamp(1.1rem, 1.72vw, 1.48rem);
	line-height: 1.35;
	font-weight: 900;
}

.home-flow-solution-text span {
	display: block;
	color: #102826;
	font-size: clamp(0.88rem, 1.25vw, 1.05rem);
	line-height: 1.55;
}

.home-lead {
	margin: 0 0 18px !important;
	color: var(--ink) !important;
	font-weight: 700;
}

.home-topic-action,
.home-set-action {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: flex-end;
	margin-top: 18px;
}

.home-prep-action {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	margin-top: 18px;
}

.section-band {
	margin: 0 0 36px;
}

.section-band h2 {
	margin: 0 0 12px;
	font-size: 1.75rem;
	line-height: 1.35;
	letter-spacing: 0;
}

.section-band p {
	margin: 0;
	color: var(--muted);
}

.lead-text {
	max-width: 860px;
	font-size: 1.04rem;
}

.form-section {
	margin: 0 0 24px;
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--white);
	box-shadow: var(--shadow);
}

.section-head {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 16px;
	align-items: start;
	margin-bottom: 22px;
}

.section-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 8px;
	background: var(--navy);
	color: var(--white);
	font-weight: 700;
}

.section-number--label {
	width: auto;
	min-height: 48px;
	padding: 0 12px;
	font-size: 0.85rem;
	letter-spacing: 0.03em;
	white-space: nowrap;
}

.section-head h2 {
	margin: 0;
	font-size: 1.45rem;
	line-height: 1.35;
	letter-spacing: 0;
}

.section-head p {
	margin: 6px 0 0;
	color: var(--muted);
}

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

.field-grid.three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field {
	display: grid;
	gap: 8px;
}

.field.full {
	grid-column: 1 / -1;
}

.field-title {
	display: block;
	font-weight: 700;
}

.field-help {
	display: block;
	color: var(--muted);
	font-size: 0.9rem;
	line-height: 1.65;
}

.field-help.full {
	grid-column: 1 / -1;
}

.condition-info-block {
	margin-top: 18px;
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: #fffdf8;
}

.condition-info-block:first-of-type {
	margin-top: 0;
}

.condition-info-block .subsection-title {
	margin: 0 0 12px;
	color: var(--navy);
	font-weight: 800;
}

.condition-info-editable {
	background: var(--white);
}

.condition-info-readonly {
	background: #f2f3f3;
}

.condition-info-readonly .subsection-title,
.condition-info-readonly .field-help,
.condition-info-readonly .basic-condition-item span,
.condition-info-readonly .basic-condition-item strong {
	color: #68747b;
}

.basic-condition-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: 14px;
}

.basic-condition-item {
	display: grid;
	gap: 4px;
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: #fffdf8;
}

.condition-info-readonly .basic-condition-item {
	border-color: #d6dcdf;
	background: #e9ecef;
}

.basic-condition-item span {
	color: var(--muted);
	font-size: 0.88rem;
}

.basic-condition-item strong {
	color: var(--navy);
	font-size: 1rem;
	line-height: 1.5;
}

.required {
	display: inline-block;
	margin-left: 6px;
	padding: 1px 7px;
	border-radius: 999px;
	background: #efe1d0;
	color: #7f422f;
	font-size: 0.75rem;
}

input,
select,
textarea {
	width: 100%;
	min-height: 46px;
	border: 1px solid #d4c9bb;
	border-radius: 8px;
	background: #fffdf8;
	color: var(--ink);
	font: inherit;
	padding: 10px 12px;
}

textarea {
	min-height: 112px;
	resize: vertical;
}

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

.choice-group.cols-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	min-height: 52px;
	padding: 12px 13px;
	border: 1px solid #d8cec0;
	border-radius: 8px;
	background: #fafaf8;
	cursor: pointer;
}

.choice input {
	width: auto;
	min-height: auto;
	margin-top: 0.45em;
	accent-color: var(--accent);
}

.choice:has(input:checked) {
	border-color: var(--accent);
	background: rgba(0, 107, 166, 0.1);
	box-shadow: 0 0 0 3px rgba(0, 107, 166, 0.08);
}

.priority-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin-top: 18px;
}

.note-strip {
	margin: 18px 0 0;
	padding: 14px 16px;
	border-left: 4px solid var(--amber);
	border-radius: 8px;
	background: #fff7ea;
	color: #68482a;
}

.plan-box {
	margin-bottom: 22px;
	padding: 18px;
	border-radius: 8px;
	background: var(--paper-2);
}

.plan-title-line {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px 16px;
}

.plan-blue {
	color: var(--accent);
}

.plan-neutral {
	color: var(--ink);
}

.plan-red {
	color: #b42318;
}

.plan-box h3,
.price-box h3 {
	margin: 0;
	font-size: 1.1rem;
}

.plan-price {
	font-size: clamp(1.25rem, 2.1vw, 1.8rem);
	font-weight: 800;
	color: inherit;
	white-space: nowrap;
}

.plan-option-line {
	display: block;
	font-size: clamp(1.1rem, 1.7vw, 1.35rem);
	font-family: inherit;
	font-weight: 800;
	line-height: 1.45;
	color: inherit;
	width: max-content;
	max-width: 100%;
}

.plan-option-block {
	display: inline-block;
	max-width: 100%;
}

.plan-option-block .plan-option-line {
	width: 100%;
}

.plan-option-plus {
	font-family: inherit;
	font-weight: 800;
	color: inherit;
	text-align: center;
}

.price-box {
	display: grid;
	gap: 10px;
	padding: 20px;
	border: 1px solid #d6c7b3;
	border-radius: 8px;
	background: #fffaf1;
}

.price-result {
	font-size: 1.6rem;
	font-weight: 800;
	color: var(--accent);
}

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

.link-card {
	display: grid;
	align-content: start;
	align-items: start;
	gap: 4px;
	padding: 16px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: #fffdf8;
	text-decoration: none;
}

.link-card strong {
	color: var(--navy);
}

.link-card span {
	color: var(--muted);
	font-size: 0.9rem;
}

.faq-grid {
	display: grid;
	gap: 12px;
}

.faq-card {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--white);
	box-shadow: 0 4px 14px rgba(7, 28, 39, 0.05);
}

.faq-card summary {
	display: grid;
	grid-template-columns: 1fr 34px;
	gap: 14px;
	align-items: center;
	padding: 18px 20px;
	color: var(--navy);
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.5;
	cursor: pointer;
	list-style: none;
}

.faq-card summary::-webkit-details-marker {
	display: none;
}

.faq-card summary::after {
	content: "＋";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #e6f7f4;
	color: var(--accent);
	font-size: 1.25rem;
	line-height: 1;
}

.faq-card[open] {
	border-color: rgba(46, 166, 154, 0.48);
}

.faq-card[open] summary::after {
	content: "－";
	background: var(--accent);
	color: var(--white);
}

.faq-answer {
	padding: 0 20px 18px;
}

.faq-answer::before {
	content: "";
	display: block;
	height: 1px;
	margin: 0 0 16px;
	background: var(--line);
}

.faq-answer p {
	margin: 0;
	color: var(--muted);
	font-size: 0.96rem;
	line-height: 1.75;
}

.faq-card summary:focus-visible {
	outline: 3px solid rgba(46, 166, 154, 0.38);
	outline-offset: -3px;
}

.about-layout .form-section {
	margin: 0;
	padding: 30px;
}

.about-layout .section-number {
	width: 54px;
	height: 54px;
	font-weight: 800;
}

.about-layout .section-head h2 {
	font-size: 1.55rem;
	line-height: 1.38;
}

.about-layout .section-head p,
.about-layout .form-section > p {
	color: var(--muted);
	font-size: 1.02rem;
	line-height: 1.82;
}

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

.about-photo-card {
	position: relative;
	overflow: hidden;
	margin: 0;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--white);
	box-shadow: var(--shadow);
}

.about-photo-card img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 0.25s ease;
}

.about-photo-card figcaption {
	position: absolute;
	right: 8px;
	bottom: 8px;
	left: 8px;
	padding: 7px 10px;
	border-radius: 6px;
	background: rgba(7, 28, 39, 0.86);
	color: var(--white);
	font-size: 0.85rem;
	font-weight: 700;
	text-align: center;
}

.about-photo-card:hover img {
	transform: scale(1.03);
}

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

.about-promise-card {
	padding: 18px;
	border: 1px solid rgba(46, 166, 154, 0.28);
	border-radius: 8px;
	background: #f1fbf9;
}

.about-promise-mark,
.feature-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	height: 48px;
	margin-bottom: 12px;
	padding: 0 8px;
	border-radius: 50%;
	background: var(--accent);
	color: var(--white);
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.04em;
}

.about-promise-card strong {
	display: block;
	margin-bottom: 8px;
	color: var(--navy);
	font-size: 1.04rem;
	line-height: 1.45;
}

.about-promise-card p {
	margin: 0;
	color: var(--muted);
	font-size: 0.94rem;
	line-height: 1.7;
}

.about-contact {
	align-content: start;
}

.about-contact-button {
	justify-self: start;
	min-height: 40px;
	margin-top: 8px;
	padding: 8px 14px;
	font-size: 0.95rem;
}

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

.text-card {
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--white);
	box-shadow: var(--shadow);
}

.text-card h3 {
	margin: 0 0 8px;
	font-size: 1.1rem;
	line-height: 1.4;
}

.text-card p,
.text-card ul {
	margin: 0;
	color: var(--muted);
}

.text-card ul {
	padding-left: 1.2em;
}

.text-card li + li {
	margin-top: 4px;
}

.first-set-features .text-card {
	border-top: 4px solid var(--accent);
}

.first-set-features .feature-mark {
	background: var(--navy);
}

.first-set-features .text-card:nth-child(even) {
	border-top-color: var(--amber);
}

.first-set-features .text-card:nth-child(even) .feature-mark {
	background: var(--amber);
}

.first-set-pricing {
	margin-top: 28px;
}

.first-set-price-highlight--multiple {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	max-width: none;
}

.first-set-price-highlight--multiple .first-set-price-option {
	min-width: 0;
}

.first-set-price-highlight--multiple .first-set-price-option:first-child {
	border-left: 0;
}

.first-set-price-notes {
	margin: 22px 0 0;
	padding-left: 1.3em;
	color: var(--muted);
}

.first-set-price-notes li + li {
	margin-top: 8px;
}

.feature-mark-wide {
	font-size: 0.72rem;
	letter-spacing: 0;
}

.worry-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.worry-list li {
	padding: 14px;
	border-left: 4px solid var(--accent);
	border-radius: 8px;
	background: #fff7ea;
	font-weight: 700;
}

.flow-steps {
	display: grid;
	gap: 14px;
	counter-reset: flow;
}

.flow-step {
	position: relative;
	padding: 18px 18px 18px 66px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--white);
	box-shadow: var(--shadow);
}

.flow-step::before {
	counter-increment: flow;
	content: counter(flow);
	position: absolute;
	left: 18px;
	top: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 8px;
	background: var(--navy);
	color: var(--white);
	font-weight: 700;
	z-index: 2;
}

.flow-step::after {
	content: "";
	position: absolute;
	top: 50px;
	bottom: -15px;
	left: 34px;
	width: 2px;
	background: linear-gradient(180deg, var(--accent), rgba(46, 166, 154, 0.3));
	z-index: 1;
}

.flow-step:last-child::after {
	display: none;
}

.flow-phase {
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	margin: 0 0 8px;
	padding: 3px 10px;
	border-radius: 999px;
	background: #e6f7f4;
	color: #176c64;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.04em;
}

.flow-phase-production {
	background: #fff0da;
	color: #81551f;
}

.flow-step h3 {
	margin: 0 0 6px;
	font-size: 1.08rem;
}

.flow-step p,
.flow-step ul {
	margin: 0;
	color: var(--muted);
}

.flow-step ul {
	padding-left: 1.2em;
}

.cta-band {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 20px;
	align-items: center;
	margin-top: 28px;
	padding: 24px;
	border-radius: 8px;
	background: var(--navy);
	color: var(--white);
}

.cta-band h2,
.cta-band p {
	margin: 0;
	color: inherit;
}

.cta-band p {
	color: rgba(255, 255, 255, 0.78);
}

.cta-actions {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
}

.submit-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	justify-content: flex-end;
	margin-top: 24px;
}

.privacy-consent {
	display: grid;
	gap: 8px;
	margin-right: auto;
	color: var(--muted);
	font-size: 0.92rem;
	text-align: left;
}

.privacy-consent label {
	display: flex;
	gap: 8px;
	align-items: center;
}

.privacy-consent input[type="checkbox"] {
	width: 1.1rem;
	min-height: auto;
	margin: 0;
	padding: 0;
	flex: 0 0 auto;
}

.privacy-consent a {
	color: inherit;
}

.privacy-consent-error {
	margin: 8px 0 0;
	color: #b6402e;
	font-weight: 700;
}

.submit-button-area {
	display: grid;
	justify-items: end;
	text-align: right;
}

.policy-section > :last-child {
	margin-bottom: 0;
}

.policy-list {
	margin: 12px 0;
	padding-left: 1.4em;
}

.policy-list li + li {
	margin-top: 6px;
}

.policy-contact {
	margin-top: 18px;
	padding: 18px;
	border-radius: 8px;
	background: #fffdf8;
}

.policy-contact p,
.policy-date {
	margin: 0;
}

.policy-contact p + p {
	margin-top: 6px;
}

.submit-note {
	margin: 18px 0 0;
	color: var(--muted);
}

.copy-page textarea {
	min-height: 260px;
	background: #fffdf8;
}

.fixed-action-layout {
	padding-bottom: 138px;
}

.fixed-form-actions {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 1000;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	gap: 6px;
	max-width: calc(100vw - 48px);
	padding: 8px;
	border: 1px solid var(--navy-soft);
	border-radius: 8px;
	background: var(--navy);
	box-shadow: 0 16px 44px rgba(19, 35, 48, 0.18);
	backdrop-filter: blur(8px);
}

.fixed-form-actions .button {
	width: 100%;
	min-width: 100px;
	min-height: 32px;
	padding: 5px 9px;
	font-size: 0.78rem;
	line-height: 1.25;
}

.fixed-form-actions #saveDraft {
	border-color: var(--accent);
	background: var(--accent);
}

.fixed-form-actions #showConfirm {
	border-color: #d8dde1;
	background: #e9ecef;
	color: var(--navy);
}

.fixed-form-actions #restoreDraft {
	border-color: #c63d32;
	background: #c63d32;
}

.fixed-form-actions #saveDraft:hover,
.fixed-form-actions #saveDraft:focus {
	border-color: #005681;
	background: #005681;
}

.fixed-form-actions #showConfirm:hover,
.fixed-form-actions #showConfirm:focus {
	border-color: #c8ced4;
	background: #d8dde1;
	color: var(--navy);
}

.fixed-form-actions #restoreDraft:hover,
.fixed-form-actions #restoreDraft:focus {
	border-color: #9f2f27;
	background: #9f2f27;
}

.footer {
	padding: 28px 24px;
	background: var(--navy);
	color: rgba(255, 255, 255, 0.76);
	text-align: center;
}

.footer p {
	margin: 0;
}

[hidden] {
	display: none !important;
}

/* 本文は、読みやすさを保てる最小の行間へ統一する。 */
main p,
main li,
.hero-copy,
.field-help,
.choice-description,
.submit-note,
.footer p {
	line-height: 1.5 !important;
}

@media (max-width: 820px) {
	.header-inner {
		width: calc(100% - 24px);
		align-items: flex-start;
		flex-direction: column;
		column-gap: 8px;
		row-gap: 4px;
		min-height: auto;
		padding: 6px 0;
	}

	.header-links {
		width: 100%;
		justify-content: flex-start;
		gap: 0 17px;
	}

	.header-links a,
	.header-links a.consult-button {
		width: auto;
		min-height: 36px;
		padding: 7px 0;
		font-size: clamp(0.74rem, 3vw, 0.84rem);
		line-height: 1.3;
	}

	.header-links a.consult-button {
		min-width: 0 !important;
		min-height: 36px !important;
		padding: 7px 0 !important;
	}

	.brand {
		gap: 1px;
	}

	.brand-mark {
		width: 50px;
		height: 35px;
	}

	.brand-wordmark {
		width: 180px;
		height: 28px;
		max-width: 180px;
	}

	.brand-logo {
		width: 198px;
		height: 56px;
	}

	.home-page .brand-mark {
		width: 50px;
		height: 35px;
	}

	.home-page .brand-wordmark {
		width: 180px;
		height: 28px;
		max-width: 180px;
	}

	.header-note {
		white-space: normal;
	}

	.hero-inner {
		padding: 56px 20px 40px;
	}

	.first-set-price-highlight {
		display: grid;
		max-width: 100%;
	}

	.first-set-price-main,
	.first-set-price-option {
		min-width: 0;
		padding: 16px 18px;
	}

	.first-set-price-option {
		border-top: 1px solid rgba(175, 122, 58, 0.25);
		border-left: 0;
	}

	.first-set-price-highlight--multiple {
		grid-template-columns: 1fr;
	}

	.first-set-price-highlight--multiple .first-set-price-option:first-child {
		border-top: 0;
	}

	.home-hero::before {
		background:
			linear-gradient(180deg, rgba(255, 253, 248, 0.98) 0%, rgba(255, 253, 248, 0.88) 48%, rgba(255, 253, 248, 0.58) 100%),
			url("../img/main-visual-01.png") center bottom / cover no-repeat;
	}

	.hero::before,
	.home-hero::before {
		background-size: auto, cover;
		background-position: center, center;
		background-repeat: no-repeat;
	}

	.home-hero .hero-inner {
		min-height: 0;
		padding: 40px 20px 36px;
		justify-content: flex-start;
	}

	.hero-list,
	.basic-condition-list,
	.field-grid,
	.field-grid.three,
	.choice-group,
	.choice-group.cols-3,
	.link-grid,
	.plan-box,
	.text-grid,
	.worry-list,
	.cta-band,
	.home-topic-head,
	.home-item-grid,
	.home-item-grid-2,
	.home-worry-list,
	.home-solution-list {
		grid-template-columns: 1fr;
	}

	.priority-grid {
		grid-template-columns: 1fr;
	}

	.home-topic-head {
		grid-template-columns: auto 1fr;
		gap: 14px;
	}

	.home-topic {
		padding: 24px 18px;
	}

	.home-topic p {
		font-size: 1.06rem;
		line-height: 1.9;
	}

	.home-item p {
		font-size: 1.02rem;
		line-height: 1.82;
	}

	.home-flow-labels {
		display: none;
	}

	.home-flow-visual {
		grid-template-columns: 1fr;
		grid-auto-rows: auto;
		gap: 12px;
	}

	.home-flow-arrow {
		grid-column: 1;
		height: 42px;
		margin: -2px 0;
	}

	.home-flow-arrow img {
		content: url("../img/flow-arrow-mobile.png");
		width: auto;
		max-width: none;
		height: 34px;
	}

	.home-flow-worry,
	.home-flow-solution {
		grid-column: 1;
		min-height: 0;
	}

	.home-flow-worry-text {
		width: 100%;
		padding: 14px 18px;
		font-size: clamp(1.08rem, 5.2vw, 1.55rem);
		white-space: normal;
	}

	.home-flow-solution-text {
		width: 100%;
		padding: 14px 18px;
	}

	.home-flow-solution-text strong {
		font-size: clamp(1.08rem, 5.2vw, 1.55rem);
	}

	.home-topic-action,
	.home-set-action {
		justify-content: flex-start;
	}

	.cta-actions {
		align-items: flex-start;
	}

	.layout {
		padding: 30px 18px 52px;
	}

	.form-section {
		padding: 22px 18px;
	}

	.fixed-action-layout {
		padding-bottom: 138px;
	}

	.fixed-form-actions {
		right: 12px;
		bottom: 12px;
		left: auto;
		display: flex;
		flex-direction: column;
		max-width: calc(100vw - 24px);
	}

	.fixed-form-actions .button {
		width: 100%;
		min-width: 92px;
	}

	.about-layout .form-section {
		padding: 24px 18px;
	}

	.about-photo-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.about-photo-card figcaption {
		right: 6px;
		bottom: 6px;
		left: 6px;
		padding: 6px 4px;
		font-size: 0.72rem;
	}

	.about-promise-grid {
		grid-template-columns: 1fr;
	}

	.flow-step {
		padding: 16px 14px 16px 58px;
	}

	.flow-step::before {
		top: 16px;
		left: 10px;
		width: 32px;
		height: 32px;
	}

	.flow-step::after {
		top: 48px;
		left: 25px;
	}

	.faq-card summary {
		grid-template-columns: 1fr 32px;
		gap: 10px;
		padding: 16px;
		font-size: 0.96rem;
	}

	.faq-card summary::after {
		width: 32px;
		height: 32px;
	}

	.faq-answer {
		padding: 0 16px 16px;
	}

	.section-head {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.plan-price {
		white-space: normal;
	}

	.logo-draft-check {
		padding: 34px 0;
	}

	.logo-draft-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 4px;
		margin-bottom: 14px;
	}

	.logo-draft-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.logo-draft-preview {
		min-height: 98px;
		padding: 14px;
	}

	.logo-draft-mark {
		width: 44px;
		height: 44px;
	}
}

/* 2行表示では、ナビ項目の上下余白を抑えて行間を詰める。 */
@media (min-width: 600px) and (max-width: 860px) {
	.header-links {
		row-gap: 0;
	}

	.header-links a,
	.header-links a.consult-button {
		min-height: 28px !important;
		padding: 2px 0 !important;
		line-height: 1.25;
	}
}

/* 各ページで aria-current を持つナビ項目を、常に選択色で表示する。 */
.header-links a[aria-current="page"] {
	color: #efc47c !important;
}
