/* =========================================================
   いちばんやさしいエンディングノート 2026 — サイト全体のスタイル
   ========================================================= */

:root {
	/* 色合い：白に近い背景＋淡いセージの面、落ち着いたティールグリーン、温かみのあるグレーの文字 */
	--ink: #444845;
	--text: #555a57;
	--sub: #7a7f7b;
	--faint: #a1a5a1;
	--line: #e7e8e3;
	--line2: #dadcd6;
	--bg: #f5f6f2;
	--card: #fff;
	--ac: #388c78;
	--acd: #2e7766;
	--acs: #ebf4f0;
	--acl: #a8cabd;
	--danger: #a8524a;
	--sh: 0 1px 2px rgba(68, 72, 69, .05), 0 8px 24px rgba(68, 72, 69, .06);
	--sh-hover: 0 2px 4px rgba(68, 72, 69, .05), 0 14px 34px rgba(68, 72, 69, .1);
	--r: 14px;
	--font: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, sans-serif;
	--font-head: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
	--font-num: "Quicksand", var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--acd); }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.45; }
.icon { flex: none; vertical-align: middle; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }
.site-main:focus { outline: none; }

.container { width: 100%; max-width: 1168px; margin: 0 auto; padding: 0 24px; }
.container--text { max-width: 860px; }
.section { padding-top: 72px; padding-bottom: 64px; }

/* ---------- ボタン ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 18px; border-radius: 10px;
	border: 1px solid transparent; font-weight: 700; font-size: 15px; line-height: 1.4;
	text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.btn--primary { background: var(--ac); color: #fff; }
.btn--primary:hover { background: #2f7a68; color: #fff; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line2); }
.btn--ghost:hover { background: var(--acs); color: var(--ink); }
.btn--outline { background: #fff; color: var(--acd); border: 1.5px solid var(--ac); }
.btn--outline:hover { background: var(--acs); color: var(--acd); }
.btn--white { background: var(--ac); color: #fff; }
.btn--white:hover { background: #2f7a68; color: #fff; }
.btn--lg { min-height: 56px; padding: 14px 26px; font-size: 17px; border-radius: 12px; }
.btn--xl { min-height: 58px; padding: 16px 28px; font-size: 17px; border-radius: 12px; }
.btn--block { width: 100%; }
.btn small { font-weight: 500; font-size: .85em; }

.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; padding: 8px 0; }
.link-more:hover .icon { transform: translateX(3px); }
.link-more .icon { transition: transform .15s; }

/* ---------- ヘッダー ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 50; }
.site-header__inner {
	max-width: 1168px; margin: 0 auto; padding: 14px 24px;
	display: flex; align-items: center; gap: 12px 28px;
}
.site-header__inner.is-wide { max-width: none; padding: 8px 20px; }
.site-logo { display: flex; align-items: center; gap: 12px; flex: 0 1 auto; min-width: 0; color: var(--ink); text-decoration: none; }
.site-logo:hover { color: var(--ink); }
.site-logo__mark { width: 42px; height: 42px; border-radius: 12px; background: var(--acs); color: var(--ac); display: grid; place-items: center; flex: none; }
.site-logo__text { font-size: 18px; font-weight: 700; letter-spacing: .04em; line-height: 1.3; }
.site-logo__text span { white-space: nowrap; }
.site-header--slim .site-logo__mark { width: 34px; height: 34px; border-radius: 10px; }
.site-header--slim .site-logo__mark .icon { width: 19px; height: 19px; }
.site-header--slim .site-logo__text { font-size: 15px; }
@media (max-width: 520px) {
	.site-logo { gap: 10px; }
	.site-logo__mark { width: 38px; height: 38px; border-radius: 11px; }
	.site-logo__text { font-size: 14px; letter-spacing: .02em; }
	.site-logo__text span { display: block; }
	.site-logo__text span:first-child { font-size: 11px; font-weight: 500; color: var(--sub); letter-spacing: .08em; }
}
.site-nav { margin-left: auto; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px 24px; font-size: 15px; font-weight: 500; }
.site-header--slim .site-nav__list { font-size: 14px; }
.site-nav__list a:not(.btn) { color: var(--ink); text-decoration: none; padding: 8px 2px; display: inline-block; }
.site-nav__list a:not(.btn):hover, .site-nav__list a[aria-current="page"] { color: var(--acd); }
.site-nav__list a[aria-current="page"] { font-weight: 700; }
.site-nav__formats { display: none; }
.nav-toggle { display: none; }

@media (max-width: 899px) {
	.site-header__inner { padding: 10px 16px; }
	.nav-toggle {
		display: inline-flex; align-items: center; gap: 6px; margin-left: auto;
		min-height: 44px; padding: 0 12px; border: 1px solid var(--line2); border-radius: 10px;
		background: #fff; font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap; flex: none;
	}
	.nav-toggle__close { display: none; }
	.site-header.is-open .nav-toggle__open { display: none; }
	.site-header.is-open .nav-toggle__close { display: inline; }
	.site-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(68, 72, 69, .12);
		padding: 8px 16px 20px; margin: 0;
	}
	.site-header.is-open .site-nav { display: block; }
	.site-nav__list { flex-direction: column; align-items: stretch; gap: 0; font-size: 16px; }
	.site-nav__list a:not(.btn) { display: block; padding: 13px 4px; border-bottom: 1px solid var(--line); }
	.site-nav__cta { margin-top: 14px; }
	.site-nav__cta .btn { width: 100%; min-height: 52px; font-size: 16px; }
	.site-nav__formats { display: block; margin-top: 18px; }
	.site-nav__formats-title { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--sub); }
	.site-nav__formats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.site-nav__formats a { display: flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid var(--line2); border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; }
}

/* ---------- パンくず ---------- */
.breadcrumb { font-size: 13px; color: var(--sub); margin: 0 0 24px; padding-top: 28px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 0; }
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li + li::before { content: "›"; margin: 0 10px; color: var(--faint); }
.breadcrumb a { color: var(--sub); }
.breadcrumb a:hover { color: var(--ink); }

/* ---------- 見出し・共通パーツ ---------- */
.sec-title { margin: 0 0 8px; font-size: 28px; font-weight: 700; }
.sec-title--center, .sec-lead--center { text-align: center; }
.sec-lead { margin: 0 0 32px; color: var(--sub); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 16px; flex-wrap: wrap; margin-bottom: 28px; }
.sec-head .sec-title { margin: 0; }
.eyebrow { margin: 0; font-size: 14px; font-weight: 700; color: var(--ac); letter-spacing: .1em; }
.pill { margin: 0; display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--acd); background: var(--acs); padding: 6px 14px; border-radius: 99px; }
.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band > .container { padding-top: 64px; padding-bottom: 64px; }

.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { font-size: 12px; font-weight: 700; line-height: 1.6; padding: 2px 10px; border-radius: 99px; background: var(--acs); color: var(--acd); }
.badge--pdf { background: #fbeaea; color: #8c2f2f; }
.badge--excel { background: #e3f1e7; color: #22613b; }
.badge--word { background: #e7eefb; color: #2b4f93; }
.badge--booklet { background: #f6eedd; color: #74531f; }
.badge--cover { background: #eef0f4; color: #424a5a; }

/* ---------- トップ：ヒーロー ---------- */
.hero__inner {
	padding-top: 72px; padding-bottom: 72px;
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 48px; align-items: center;
}
.hero__text { display: flex; flex-direction: column; gap: 22px; }
.hero__title { margin: 0; font-size: clamp(27px, 7.2vw, 46px); line-height: 1.35; letter-spacing: .02em; }
.hero__lead { margin: 0; font-size: 17px; color: var(--text); max-width: 30em; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.hero__note { margin: 0; font-size: 13px; color: var(--sub); }
.hero__visual { position: relative; }
.hero__visual img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 20px; }
.hero__badge {
	position: absolute; left: -16px; bottom: -22px; background: #fff; border-radius: 14px; padding: 14px 18px;
	box-shadow: 0 10px 30px rgba(68, 72, 69, .14); display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.5;
}
.hero__badge b { display: block; }
.hero__badge span span { color: var(--sub); }
.hero__badge-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--acs); color: var(--ac); display: grid; place-items: center; }
@media (max-width: 600px) {
	.hero__inner { padding-top: 40px; padding-bottom: 56px; gap: 40px; }
	.hero__actions .btn { width: 100%; }
	.hero__badge { left: 12px; bottom: -20px; }
}

/* ---------- トップ：3ステップ ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.steps__item { background: var(--bg); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.steps__item h3 { margin: 6px 0 0; font-size: 19px; }
.steps__item p { margin: 0; color: var(--text); font-size: 15px; }
.steps__num { width: 40px; height: 40px; border-radius: 50%; background: var(--ac); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 18px; }

/* ---------- トップ：特長 ---------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: center; }
.split--narrow { grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 40px; }
.split__text { display: flex; flex-direction: column; gap: 14px; }
.split__text p { margin: 0; color: var(--text); }
.split__text .sec-title { font-size: 30px; margin: 0; }
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.features li { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.features .icon { color: var(--ac); }
.features b { font-size: 16px; }
.features span { font-size: 14px; color: var(--text); line-height: 1.6; }
@media (max-width: 480px) { .features { grid-template-columns: 1fr; } }

/* ---------- トップ：形式タイル ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.tile {
	display: flex; align-items: center; gap: 14px; padding: 20px; border: 1px solid var(--line2); border-radius: 14px;
	background: #fff; color: var(--ink); text-decoration: none; transition: border-color .15s, background .15s;
}
.tile:hover { border-color: var(--ac); background: #fafcfb; color: var(--ink); }
.tile b { display: block; font-size: 16px; line-height: 1.4; }
.tile small { font-size: 13px; color: var(--sub); }
.tile__icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; }
.tile__icon--pdf { background: #fbeaea; color: #a33b3b; }
.tile__icon--excel { background: #e6f2ea; color: #2a6b43; }
.tile__icon--word { background: #e7eefb; color: #2f5aa8; }
.tile__icon--booklet { background: #f6eedd; color: #85602a; }
.tile__icon--cover { background: var(--acs); color: var(--ac); }

/* ---------- カード ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.cards--list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.card { display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--sh); transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--sh-hover); transform: translateY(-2px); }
.card__link { display: flex; flex-direction: column; flex: 1; color: var(--ink); text-decoration: none; }
.card__link:hover { color: var(--ink); }
.card__thumb { background: #e9ebe5; aspect-ratio: 3 / 2; overflow: hidden; }
.card__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card--cover .card__thumb { aspect-ratio: 4 / 5; padding: 26px 0; display: flex; justify-content: center; }
.card--cover .card__thumb img { width: 60%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .18)); }
.card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.card__title { margin: 0; font-size: 18px; line-height: 1.5; }
.card__meta { margin: 0; font-size: 14px; color: var(--sub); }
.card__copy { margin: 0; font-size: 14px; color: var(--text); line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.card__actions { padding: 0 20px 20px; }
.card--page .card__body { padding: 22px; }

.card-make {
	display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 28px; min-height: 260px;
	border: 2px dashed var(--acl); border-radius: 18px; background: #fafcfb; color: var(--ink); text-decoration: none;
}
.card-make:hover { border-color: var(--ac); background: var(--acs); color: var(--ink); }
.card-make__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--acs); color: var(--ac); display: grid; place-items: center; }
.card-make__title { font-size: 18px; line-height: 1.5; }
.card-make__text { font-size: 14px; color: var(--text); }
.card-make__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--acd); font-size: 15px; }

/* ---------- トップ：表紙・最後の案内 ---------- */
.covers-band { background: #eef4f1; }
.covers-band > .container { padding-top: 64px; padding-bottom: 64px; }
.covers-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.covers-row__item { display: block; transition: transform .2s; }
.covers-row__item:hover { transform: translateY(-3px); }
.covers-row__item img { display: block; width: 100%; aspect-ratio: 210 / 297; object-fit: cover; box-shadow: 0 10px 24px rgba(0, 0, 0, .14); }
.cta-band { background: var(--acs); color: var(--text); border: 1px solid #deede6; border-radius: 24px; padding: 56px 32px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.cta-band h2 { margin: 0; font-size: 30px; line-height: 1.5; }
.cta-band p { margin: 0; color: var(--text); }

/* ---------- 一覧ページ ---------- */
.page-list { padding-bottom: 72px; }
.page-head { margin-bottom: 28px; }
.page-head h1 { margin: 0 0 8px; font-size: clamp(26px, 3.4vw, 34px); }
.page-head p, .page-head__desc { margin: 0; color: var(--text); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 32px; }
.chip {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 99px;
	background: #fff; color: var(--ink); border: 1px solid var(--line2); text-decoration: none; font-weight: 500; font-size: 15px;
}
.chip:hover { border-color: var(--ac); color: var(--ink); }
.chip[aria-current="page"] { background: var(--ac); color: #fff; border-color: var(--ac); font-weight: 700; }
.empty { padding: 40px 0; color: var(--sub); }

.pagination { margin-top: 44px; }
.pagination ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pagination a, .pagination span {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 10px;
	border-radius: 10px; background: #fff; border: 1px solid var(--line2); color: var(--ink); text-decoration: none; font-weight: 500;
}
.pagination a:hover { border-color: var(--ac); }
.pagination .current { background: var(--ac); color: #fff; border-color: var(--ac); font-weight: 700; }
.pagination .dots { border: 0; background: none; }

/* ---------- 詳細ページ ---------- */
.detail { padding-bottom: 72px; display: flex; flex-direction: column; gap: 56px; }
.detail > .breadcrumb { margin-bottom: -32px; }
.detail__summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: start; }
.detail__figure { margin: 0; }
.detail__visual-note { margin: 8px 4px 0; font-size: 12px; color: var(--sub); text-align: right; }
.detail__visual { border-radius: 20px; overflow: hidden; background: #e9ebe5; }
.detail__visual img { display: block; width: 100%; height: auto; }
.detail__visual--cover { padding: 44px 0; display: flex; justify-content: center; }
.detail__visual--cover img { width: 56%; box-shadow: 0 14px 34px rgba(0, 0, 0, .22); }
.detail__info { display: flex; flex-direction: column; gap: 18px; }
.detail__title { margin: 0; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.35; }
.detail__copy { margin: 0; color: var(--text); }
.detail__sub { margin: 0; font-size: 14px; color: var(--text); }
.detail__bottom-dl { display: flex; justify-content: center; }
.spec { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; border-radius: 14px; overflow: hidden; }
.spec tr + tr { border-top: 1px solid var(--line); }
.spec th { text-align: left; font-weight: 500; color: var(--sub); padding: 12px 18px; width: 38%; }
.spec td { padding: 12px 18px; }

.cta-box { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px; display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.cta-box__icon { width: 64px; height: 64px; border-radius: 18px; background: var(--acs); color: var(--ac); display: grid; place-items: center; flex: none; }
.cta-box__text { flex: 999 1 340px; min-width: 0; }
.cta-box__text h2 { margin: 0 0 6px; font-size: 21px; }
.cta-box__text p { margin: 0; color: var(--text); }
.cta-box .btn { flex: 1 0 auto; min-height: 52px; }

.opinion { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 32px; align-items: start; }
.opinion__text h2 { margin: 0 0 8px; font-size: 24px; }
.opinion__text p { margin: 0 0 6px; color: var(--text); }
.opinion__text .opinion__note { font-size: 14px; color: var(--sub); }
.opinion__form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.opinion__form .wpcf7 form > p { margin: 0 0 14px; }
.opinion__form .wpcf7 textarea { min-height: 140px; height: 160px; }

/* ---------- フォーム（Contact Form 7：お問い合わせ・目安箱 共通） ---------- */
.wpcf7 { max-width: 760px; }
.entry .wpcf7 { margin: 0 0 1.3em; }
.page-single .wpcf7 { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 4vw, 40px); margin-top: 1.6em; }
.wpcf7 .form_item p, .wpcf7 .acceptance p, .wpcf7 .form_btn p { margin: 0; }
.wpcf7 .form_label + br, .wpcf7 .form_btn br { display: none; }
.wpcf7 form > p, .wpcf7 .form_item { margin: 0 0 24px; }
.wpcf7 label, .wpcf7 .form_label { display: block; font-size: 15px; font-weight: 700; line-height: 1.6; color: var(--ink); }
.wpcf7 .form_label { margin: 0 0 8px; }
.wpcf7 label > .wpcf7-form-control-wrap, .wpcf7 label br + .wpcf7-form-control-wrap { margin-top: 8px; }
.wpcf7 .wpcf7-form-control-wrap { display: block; position: relative; }
.wpcf7 label br { display: none; }

/* 必須・任意のしるし */
.wpcf7 .require, .wpcf7 .required {
	display: inline-flex; align-items: center; margin-left: 8px; padding: 1px 8px; border-radius: 6px;
	background: #fbeaea; color: #a3352b; font-size: 12px; font-weight: 700; line-height: 1.6; vertical-align: 1px;
}
.wpcf7 .optional { display: inline-flex; margin-left: 8px; padding: 1px 8px; border-radius: 6px; background: var(--bg); color: var(--sub); font-size: 12px; font-weight: 700; line-height: 1.6; vertical-align: 1px; }

/* 入力欄 */
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 input[type="url"],
.wpcf7 input[type="number"], .wpcf7 input[type="date"], .wpcf7 select, .wpcf7 textarea {
	display: block; width: 100%; min-height: 48px; padding: 11px 14px; margin: 0;
	border: 1px solid var(--line2); border-radius: 10px; background: #fff; color: var(--ink);
	font-size: 16px; font-weight: 400; line-height: 1.6; -webkit-appearance: none; appearance: none;
	transition: border-color .15s, box-shadow .15s;
}
.wpcf7 textarea { min-height: 200px; resize: vertical; }
.wpcf7 select {
	padding-right: 40px; cursor: pointer;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a7f7b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
}
.wpcf7 input::placeholder, .wpcf7 textarea::placeholder { color: #a1a5a1; }
.wpcf7 input:hover, .wpcf7 textarea:hover, .wpcf7 select:hover { border-color: #c3c6bf; }
.wpcf7 input:focus, .wpcf7 textarea:focus, .wpcf7 select:focus { outline: none; border-color: var(--ac); box-shadow: 0 0 0 3px var(--acs); }

/* チェックボックス・ラジオボタン */
.wpcf7 .wpcf7-checkbox, .wpcf7 .wpcf7-radio { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.wpcf7 .wpcf7-list-item { margin: 0; }
.wpcf7 .wpcf7-radio .wpcf7-list-item, .wpcf7 .wpcf7-checkbox .wpcf7-list-item {
	display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 16px 8px 12px;
	border: 1px solid var(--line2); border-radius: 10px; background: #fff; font-size: 15px; font-weight: 500; cursor: pointer;
	transition: border-color .15s, background .15s;
}
.wpcf7 .wpcf7-radio .wpcf7-list-item:hover, .wpcf7 .wpcf7-checkbox .wpcf7-list-item:hover { border-color: var(--ac); }
.wpcf7 .wpcf7-radio .wpcf7-list-item:has(input:checked), .wpcf7 .wpcf7-checkbox .wpcf7-list-item:has(input:checked) { border-color: var(--ac); background: var(--acs); color: var(--acd); }
.wpcf7 .wpcf7-radio .wpcf7-list-item:has(input:focus-visible), .wpcf7 .wpcf7-checkbox .wpcf7-list-item:has(input:focus-visible) { box-shadow: 0 0 0 3px var(--acs); border-color: var(--ac); }
.wpcf7 .wpcf7-list-item label { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: inherit; font-size: inherit; color: inherit; cursor: pointer; }
.wpcf7 .wpcf7-list-item-label { cursor: pointer; }
.wpcf7 input[type="checkbox"], .wpcf7 input[type="radio"] {
	display: inline-block !important; width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--ac); cursor: pointer;
}
.wpcf7 input[type="radio"] + label::before, .wpcf7 input[type="radio"]:checked + label::before { content: none; }
.wpcf7 .wpcf7-acceptance .wpcf7-list-item label { font-size: 15px; font-weight: 500; }

/* 補足の文字 */
.wpcf7 .annotation, .wpcf7 .note { margin: 6px 0 0; font-size: 13px; color: var(--sub); font-weight: 400; line-height: 1.6; }
.wpcf7 .acceptance { display: block; margin: 8px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--bg); text-align: center; font-size: 15px; }

/* ボタン */
.wpcf7 .form_btn { margin: 28px 0 0; padding: 0; text-align: center; }
.wpcf7 .form_btn > p, .wpcf7 .form_btn { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; }
.wpcf7 input[type="submit"], .wpcf7 button[type="submit"], .wpcf7 #btn-conf, .wpcf7 #btn-submit, .wpcf7 input#btn-conf, .wpcf7 input#btn-submit {
	display: inline-flex; align-items: center; justify-content: center; width: auto; min-width: 220px; min-height: 52px; padding: 0 32px; margin: 0;
	border: 0; border-radius: 12px; background: var(--ac); color: #fff; font-size: 16px; font-weight: 700; line-height: 1.4;
	cursor: pointer; -webkit-appearance: none; appearance: none; transition: background .15s; transform: none;
}
.wpcf7 input[type="submit"]:hover, .wpcf7 button[type="submit"]:hover, .wpcf7 #btn-conf:hover, .wpcf7 #btn-submit:hover {
	background: #2f7a68; color: #fff; padding: 0 32px; transform: none;
}
.wpcf7 input[type="submit"]:disabled { opacity: .5; cursor: default; }
.wpcf7 #btn-back, .wpcf7 input#btn-back, .wpcf7 input[type="button"] {
	display: inline-flex; align-items: center; justify-content: center; width: auto; min-width: 160px; min-height: 52px; padding: 0 28px; margin: 0;
	border: 1px solid var(--line2); border-radius: 12px; background: #fff; color: var(--ink); font-size: 16px; font-weight: 700;
	cursor: pointer; -webkit-appearance: none; appearance: none;
}
.wpcf7 #btn-back:hover, .wpcf7 input[type="button"]:hover { background: var(--bg); }
.opinion__form .wpcf7 input[type="submit"] { min-width: 0; }
.opinion__form .wpcf7 form > p:has(input[type="submit"]) { margin: 0; text-align: right; }

/* 送信中のくるくる */
.wpcf7 .wpcf7-spinner { vertical-align: middle; margin: 0 0 0 12px; background-color: var(--ac); }
.wpcf7 .form_btn .wpcf7-spinner { margin: 0; }
.wpcf7 .ajax-loader { display: none !important; }

/* 入力ミス・送信結果のメッセージ */
.wpcf7 .wpcf7-not-valid { border-color: #c44b3f !important; background: #fffafa; }
.wpcf7 .wpcf7-not-valid:focus { box-shadow: 0 0 0 3px #f7dedb !important; }
.wpcf7 .wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: 13px; font-weight: 700; color: #b0372c !important; }
.wpcf7 form .wpcf7-response-output {
	margin: 20px 0 0 !important; padding: 14px 16px !important; border: 0 !important; border-radius: 12px;
	font-size: 14px; line-height: 1.7; background: var(--bg); color: var(--ink);
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
	background: #fff4e5 !important; color: #7a4a10;
}
.wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.aborted .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output {
	background: #fbeaea !important; color: #8c2f2f;
}
.wpcf7 form.sent .wpcf7-response-output { background: var(--acs) !important; color: var(--acd); font-weight: 700; }
.wpcf7 .wpcf7-validation-errors, .wpcf7 .wpcf7-acceptance-missing { border: 0 !important; }

/* 表の形で組まれたフォーム（旧テーマの書き方） */
.entry .wpcf7 table, .entry .contact_form table { border: 0; margin: 0 0 8px; }
.entry .wpcf7 table th, .entry .wpcf7 table td { border: 0; border-bottom: 1px solid var(--line); background: none; padding: 16px 8px; vertical-align: top; }
.entry .wpcf7 table th { width: 30%; padding-top: 26px; font-size: 15px; }
@media (max-width: 600px) {
	.entry .wpcf7 table, .entry .wpcf7 tbody, .entry .wpcf7 tr, .entry .wpcf7 th, .entry .wpcf7 td { display: block; width: 100% !important; }
	.entry .wpcf7 table th { padding: 16px 0 6px; border-bottom: 0; }
	.entry .wpcf7 table td { padding: 0 0 16px; }
	.entry .wpcf7 .table-scroll table { min-width: 0; }
	.wpcf7 input[type="submit"], .wpcf7 input#btn-conf, .wpcf7 input#btn-submit, .wpcf7 input#btn-back, .wpcf7 .form_btn > p { width: 100%; }
}

.post-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px 16px; flex-wrap: wrap; font-size: 14px; color: var(--sub); border-top: 1px solid var(--line); padding-top: 20px; margin-top: -16px; }
.post-meta__cats a, .post-tags a {
	display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; margin: 0 6px 6px 0; border-radius: 99px;
	background: #fff; border: 1px solid var(--line2); color: var(--ink); text-decoration: none; font-size: 13px;
}
.post-meta__cats a:hover, .post-tags a:hover { border-color: var(--ac); }
.post-tags { margin-top: -40px; }
.post-meta .post-tags { margin-top: 0; }

.adjacent { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.adjacent a {
	display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 12px 16px; border-radius: 14px;
	background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14px; line-height: 1.5; height: 100%;
}
.adjacent a:hover { border-color: var(--ac); }
.adjacent__next a { justify-content: flex-end; text-align: right; }
@media (max-width: 600px) { .adjacent { grid-template-columns: 1fr; } }

.related .sec-title { margin-bottom: 24px; }

/* ---------- 本文（投稿・固定ページ） ---------- */
.page-single { padding-bottom: 72px; }
.entry { font-size: 16px; line-height: 1.9; color: var(--ink); overflow-wrap: anywhere; }
.detail .entry { background: #fff; border-radius: 20px; padding: clamp(24px, 4vw, 44px); }
.entry > :first-child { margin-top: 0; }
.entry h2 { font-size: 24px; margin: 2em 0 .8em; padding-bottom: .4em; border-bottom: 1px solid var(--line2); }
.entry h3 { font-size: 20px; margin: 1.8em 0 .6em; padding-left: 12px; border-left: 4px solid var(--ac); }
.entry h4 { font-size: 17px; margin: 1.6em 0 .5em; }
.entry p { margin: 0 0 1.3em; }
.entry ul, .entry ol { margin: 0 0 1.3em; padding-left: 1.5em; }
.entry li { margin-bottom: .4em; }
.entry img { border-radius: 8px; }
.entry blockquote { margin: 0 0 1.3em; padding: 16px 20px; background: var(--bg); border-radius: 12px; color: var(--text); }
.entry hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.entry table { border-collapse: collapse; width: 100%; margin: 0 0 1.3em; font-size: 15px; }
.entry th, .entry td { border: 1px solid var(--line2); padding: 10px 12px; text-align: left; vertical-align: top; }
.entry th { background: var(--bg); font-weight: 700; }
.table-scroll { overflow-x: auto; margin: 0 0 1.3em; -webkit-overflow-scrolling: touch; }
.table-scroll table { margin: 0; min-width: 520px; }
.entry iframe { max-width: 100%; }
.entry .wp-block-image, .entry figure { margin: 0 0 1.3em; }
.entry figcaption { font-size: 13px; color: var(--sub); text-align: center; margin-top: 6px; }

/* ---------- ノート詳細の本文パーツ ---------- */
.entry p:empty { display: none; }
.entry > :last-child { margin-bottom: 0; }

/* 強調（蛍光ペン風） */
.entry .marker { background: linear-gradient(transparent 58%, #d6eae2 58%); font-weight: 700; padding: 0 2px; }

/* リード文 */
.entry .lead { font-size: 18px; line-height: 1.85; font-weight: 500; color: var(--ink); margin-bottom: 1.2em; }

/* ポイントのリスト */
.entry .note-points { list-style: none; padding: 0; margin: 0 0 1.6em; display: grid; gap: 10px; }
.entry .note-points li {
	position: relative; margin: 0; padding: 14px 16px 14px 48px; background: var(--bg); border-radius: 12px; line-height: 1.7;
}
.entry .note-points li::before {
	content: ""; position: absolute; left: 16px; top: 17px; width: 20px; height: 20px; border-radius: 50%; background: var(--ac)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* 画像ギャラリー（本文の連続した画像を、自動でまとめて表示） */
.en-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; margin: 0 0 1.8em; }
.en-gallery figure { margin: 0; }
.en-gallery__btn {
	display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 12px; overflow: hidden;
}
.en-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; transition: transform .25s; }
.en-gallery__btn:hover img { transform: scale(1.03); }
.en-gallery figcaption { font-size: 13px; color: var(--sub); text-align: center; margin-top: 8px; line-height: 1.5; }
@media (max-width: 600px) {
	.en-gallery {
		display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px;
		margin-left: calc(-1 * clamp(24px, 4vw, 44px)); margin-right: calc(-1 * clamp(24px, 4vw, 44px));
		padding: 0 clamp(24px, 4vw, 44px) 6px; -webkit-overflow-scrolling: touch;
	}
	.en-gallery figure { flex: 0 0 82%; scroll-snap-align: center; }
}

/* 画像の拡大表示 */
.en-lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; overflow: visible; }
.en-lightbox::backdrop { background: rgba(40, 44, 42, .82); }
.en-lightbox img { display: block; max-width: 100%; max-height: 84vh; width: auto; height: auto; border-radius: 10px; margin: 0 auto; }
.en-lightbox p { margin: 10px 0 0; text-align: center; color: #fff; font-size: 14px; }
.en-lightbox__close {
	position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 0;
	background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer;
}

/* 収録ページ（本文の #toc） */
.entry #toc { margin: 2.2em 0 0; padding: clamp(20px, 3vw, 32px); background: var(--bg); border-radius: 16px; }
.entry #toc .toc_ttl { margin: 0 0 18px; font-size: 20px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.entry #toc .toc_ttl::before {
	content: ""; width: 34px; height: 34px; border-radius: 10px; flex: none; background: #fff
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23388c78' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16M4 12h16M4 18h10'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.entry #toc .toc_cont { column-width: 220px; column-gap: 28px; }
.entry #toc .toc_section { break-inside: avoid; page-break-inside: avoid; margin: 0 0 18px; background: #fff; border-radius: 12px; padding: 14px 16px 10px; display: flow-root; }
.entry #toc .toc_chapter {
	margin: 0 0 8px; padding-bottom: 6px; font-size: 15px; font-weight: 700; color: var(--acd); border-bottom: 1.5px solid var(--ac); line-height: 1.5;
}
.entry #toc ul { list-style: none; margin: 0; padding: 0; }
.entry #toc li { margin: 0; padding: 5px 0 5px 14px; font-size: 14px; line-height: 1.55; position: relative; color: var(--text); }
.entry #toc li + li { border-top: 1px solid var(--line); }
.entry #toc li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 5px; height: 5px; border-radius: 50%; background: var(--acl); }
.entry #toc .toc_count { margin: 4px 0 0; font-size: 13px; color: var(--sub); }
@media (max-width: 600px) {
	.entry #toc { margin-left: calc(-1 * clamp(24px, 4vw, 44px) + 8px); margin-right: calc(-1 * clamp(24px, 4vw, 44px) + 8px); padding: 18px 12px; }
	.entry #toc .toc_cont { column-width: 130px; column-gap: 10px; }
	.entry #toc .toc_section { padding: 10px 10px 6px; margin-bottom: 10px; }
	.entry #toc .toc_chapter { font-size: 13px; }
	.entry #toc li { font-size: 12.5px; padding: 4px 0 4px 10px; }
	.entry #toc li::before { left: 0; top: 11px; width: 4px; height: 4px; }
}

/* ---------- 検索・404 ---------- */
.search-box { margin-bottom: 32px; }
.search-form { display: flex; gap: 8px; max-width: 560px; }
.search-form input[type="search"] { flex: 1; min-width: 0; height: 48px; border: 1px solid var(--line2); border-radius: 10px; padding: 0 14px; background: #fff; }
.search-form input[type="search"]:focus { outline: none; border-color: var(--ac); box-shadow: 0 0 0 3px var(--acs); }
.search-form .btn { min-height: 48px; }
.link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.link-list a { display: flex; align-items: center; min-height: 52px; padding: 0 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 500; }
.link-list a:hover { border-color: var(--ac); }
.noscript-note { padding: 48px 24px; }

/* ---------- フッター ---------- */
.site-footer { background: #f4f6f0; color: var(--text); border-top: 1px solid var(--line); }
.site-footer__inner { padding-top: 56px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 28px; }
.site-footer__top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.site-footer__about { max-width: 520px; font-size: 14px; line-height: 1.8; padding-left: 20px; border-left: 3px solid var(--ac); }
.site-footer__about p { margin: 0; }
.site-footer__name { margin: 0 0 8px !important; font-weight: 600; color: var(--ink); font-size: 17px; letter-spacing: .1em; }
.site-footer a { color: var(--ink); }
.site-footer__about a { color: var(--acd); }
.site-footer__nav { display: flex; gap: 8px 48px; flex-wrap: wrap; }
.site-footer__nav ul { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.site-footer__nav a { display: inline-block; padding: 6px 0; text-decoration: none; }
.site-footer__nav a:hover { text-decoration: underline; color: var(--ac); }
.site-footer__copy { font-size: 12px; color: var(--sub); border-top: 1px solid var(--line2); padding-top: 18px; }
.site-footer__copy a { color: inherit; text-decoration: none; }

/* ---------- 作成ページ（カスタマイズツール） ---------- */
.is-make { --head-h: 58px; background: #f5f6f2; }
.is-make .site-main { min-height: 0; }
.is-make #en-app .en-brand b { white-space: nowrap; }
.is-make #en-app .en-mark { display: none; }
@media (min-width: 761px) {
	.is-make #en-app .en-shell { height: calc(100vh - var(--head-h)); height: calc(100dvh - var(--head-h)); }
	.is-make.admin-bar #en-app .en-shell { height: calc(100vh - var(--head-h) - 32px); height: calc(100dvh - var(--head-h) - 32px); }
}
@media (min-width: 761px) and (max-width: 782px) {
	.is-make.admin-bar #en-app .en-shell { height: calc(100dvh - var(--head-h) - 46px); }
}


/* ---------- 見出しの書体（明朝体で、やわらかく静かな印象に） ---------- */
.hero__title, .sec-title, .page-head h1, .detail__title, .cta-band h2, .cta-box__text h2, .opinion__text h2,
.steps__item h3, .entry h2, .entry h3, .entry h4, .site-logo__text, .site-footer__name, .card-make__title, .entry #toc .toc_ttl {
	font-family: var(--font-head); font-weight: 600;
}
.hero__title { font-weight: 500; letter-spacing: .04em; line-height: 1.55; font-size: clamp(26px, 6.6vw, 42px); }
.sec-title, .page-head h1, .cta-band h2 { font-weight: 500; letter-spacing: .1em; }
.detail__title { letter-spacing: .06em; line-height: 1.5; }
.site-logo__text { letter-spacing: .1em; }
.steps__num { font-family: var(--font-num); font-weight: 500; }

/* ---------- ヘッダー：終活ガイドと同じ高さ・ロゴ・メニュー ----------
   高さ 68px（スマホと作成ページは 58px）／ロゴは2段（小さく「いちばんやさしい」＋明朝のサイト名） */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line);
	-webkit-backdrop-filter: saturate(1.4) blur(8px); backdrop-filter: saturate(1.4) blur(8px);
	transition: box-shadow .2s;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header.is-scrolled { box-shadow: 0 4px 16px rgba(68, 72, 69, .06); }
.site-header__inner { height: 68px; padding-top: 0; padding-bottom: 0; gap: 24px; }

.site-logo { gap: 12px; flex: none; }
.site-logo__mark { width: 40px; height: 40px; border-radius: 10px; color: var(--acd); }
.site-logo__text { display: flex; flex-direction: column; gap: 3px; font-family: var(--font-head); font-size: 18px; font-weight: 600; letter-spacing: .14em; line-height: 1.1; }
.site-logo__text span { display: block; }
.site-logo__text .site-logo__sub { font-family: var(--font); font-size: 11px; font-weight: 500; letter-spacing: .16em; color: var(--sub); }

@media (min-width: 900px) {
	.site-nav__list { gap: 4px; }
	.site-nav__list a:not(.btn) { position: relative; display: block; padding: 8px 14px; border-radius: 8px; color: var(--ink); font-size: 15px; font-weight: 500; letter-spacing: .06em; }
	.site-nav__list a:not(.btn):hover { background: #f7f8f5; color: var(--acd); }
	.site-nav__list a[aria-current="page"] { color: var(--acd); font-weight: 700; }
	.site-nav__list a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -13px; height: 2px; border-radius: 2px; background: var(--ac); }
	.site-nav__cta { margin-left: 12px; }
	.site-nav__cta .btn { min-height: 40px; padding: 0 16px; font-size: 14px; letter-spacing: .06em; }
}

/* メニューボタン：終活ガイドと同じアイコンだけのボタン */
@media (max-width: 899px) {
	.site-header__inner { padding-top: 0; padding-bottom: 0; }
	.nav-toggle { width: 44px; min-height: 44px; height: 44px; padding: 0; justify-content: center; border: 0; border-radius: 10px; background: transparent; color: var(--ink); }
	.nav-toggle:hover { background: #f7f8f5; color: var(--acd); }
}

/* スマホ・作成ページ：58px */
@media (max-width: 767px) {
	.container { padding-left: 16px; padding-right: 16px; }
	.site-header__inner { height: 58px; gap: 8px; padding-left: 16px; padding-right: 8px; }
	.site-logo { gap: 10px; }
	.site-logo__mark { width: 34px; height: 34px; border-radius: 9px; }
	.site-logo__mark .icon { width: 19px; height: 19px; }
	.site-logo__text { font-size: 16px; letter-spacing: .1em; }
	.site-logo__text .site-logo__sub { font-size: 10px; letter-spacing: .16em; }
}
.site-header--slim .site-header__inner { height: 58px; }
.site-header--slim .site-logo { gap: 10px; }
.site-header--slim .site-logo__mark { width: 34px; height: 34px; border-radius: 9px; }
.site-header--slim .site-logo__mark .icon { width: 19px; height: 19px; }
.site-header--slim .site-logo__text { font-size: 16px; letter-spacing: .1em; }
.site-header--slim .site-logo__text .site-logo__sub { font-size: 10px; }

/* ============================================================
   余白・大きさの共通ルール（いちばんやさしい終活ガイドと同じ数値）
   横幅 1120px＋左右24px（スマホ16px）／セクション 88px（スマホ60px）
   角丸 8・12・16・24px／ボタン 48px（大 54px）／見出し 30px（スマホ23px）
   ============================================================ */
:root { --r: 16px; }
body { line-height: 1.8; letter-spacing: .02em; }

/* セクション */
.section { padding-top: 88px; padding-bottom: 88px; }
.band > .container, .covers-band > .container { padding-top: 88px; padding-bottom: 88px; }
.sec-head { margin-bottom: 36px; gap: 12px 16px; }
.sec-title { margin: 0 0 12px; font-size: 30px; line-height: 1.45; letter-spacing: .12em; }
.sec-head .sec-title, .split__text .sec-title { margin: 0; }
.split__text .sec-title { font-size: 30px; }
.sec-lead { margin: 0 0 36px; font-size: 15px; line-height: 1.9; color: var(--sub); }
.sec-head + .sec-lead { margin-top: -24px; }
.split { gap: 56px; }
.split__text { gap: 16px; }

/* トップのヒーロー */
.hero__inner { padding-top: 72px; padding-bottom: 88px; gap: 56px; }
.hero__lead { font-size: 16px; line-height: 2; }
.hero__actions { margin-top: 10px; }
.hero__visual img { border-radius: 24px; }

/* パンくず（終活ガイドと同じ形） */
.breadcrumb { margin: 0 0 24px; padding-top: 24px; font-size: 13px; color: var(--sub); }
.breadcrumb ol { align-items: center; gap: 4px 0; }
.breadcrumb li { line-height: 1.6; }
.breadcrumb li + li::before { content: ""; width: 6px; height: 6px; margin: 0 10px; border-top: 1.5px solid var(--faint); border-right: 1.5px solid var(--faint); transform: rotate(45deg); }
.breadcrumb a { color: var(--sub); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line2); }
.breadcrumb a:hover { color: var(--acd); }

/* 一覧ページの見出し */
.page-head { margin-bottom: 32px; }
.page-head h1 { margin: 0; font-size: 36px; line-height: 1.45; letter-spacing: .12em; color: var(--ink); }
.page-head p, .page-head__desc { margin: 14px 0 0; font-size: 15px; line-height: 1.9; color: var(--sub); }
.chips { margin-bottom: 28px; }
.page-list, .page-single { padding-bottom: 88px; }
.pagination { margin-top: 48px; }
.pagination a, .pagination span { font-weight: 700; font-size: 15px; }

/* カード・面 */
.cards { gap: 24px; }
.card { border-radius: 16px; }
.card__body { padding: 18px 20px 22px; }
.card__title { font-size: 17px; line-height: 1.6; letter-spacing: .04em; }
.steps { gap: 24px; }
.steps__item { border-radius: 16px; padding: 28px; }
.features { gap: 16px; }
.features li { border-radius: 16px; padding: 24px; }
.tiles { gap: 16px; }
.detail .entry, .page-single .wpcf7 { border-radius: 16px; }
.cta-band { border-radius: 24px; padding: 64px 32px; gap: 16px; }
.cta-band h2 { font-size: 28px; line-height: 1.6; letter-spacing: .1em; }
.cta-band p { font-size: 15px; line-height: 1.9; }
.cta-band .btn { margin-top: 12px; }

/* ボタン */
.btn { min-height: 48px; padding: 0 22px; border-width: 1.5px; font-size: 15px; letter-spacing: .06em; line-height: 1.3; }
.btn--lg, .btn--xl { min-height: 54px; padding: 0 28px; font-size: 16px; border-radius: 10px; }

/* 詳細ページ */
.detail { padding-bottom: 88px; gap: 64px; }
.detail > .breadcrumb { margin-bottom: -40px; }

/* 本文の見出し（終活ガイドの記事と同じ） */
.entry h2 { margin: 72px 0 28px; padding-bottom: 14px; font-size: 25px; line-height: 1.55; letter-spacing: .06em; border-bottom: 2px solid var(--line); position: relative; }
.entry h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 56px; height: 2px; background: var(--ac); }
.entry h3 { margin: 52px 0 20px; padding: 2px 0 2px 16px; font-size: 20px; line-height: 1.6; letter-spacing: .05em; border-left: 4px solid var(--ac); }
.entry h4 { margin: 36px 0 14px; font-size: 18px; line-height: 1.6; }
.entry > h2:first-child, .entry > #toc + h2 { margin-top: 40px; }
.entry > :first-child { margin-top: 0; }

/* フッター（終活ガイドと同じ形・余白） */
.site-footer { padding: 64px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1.5fr; gap: 48px; }
.footer-about { padding-left: 20px; border-left: 3px solid var(--ac); }
.footer-about p:not(.footer-brand) { margin: 0; line-height: 1.9; max-width: 440px; }
.footer-about a { color: var(--acd); text-decoration: underline; text-underline-offset: 3px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; color: var(--ink); font-family: var(--font-head); font-size: 17px; font-weight: 600; letter-spacing: .12em; line-height: 1.4; }
.footer-brand .site-logo__mark { width: 34px; height: 34px; border-radius: 10px; background: #fff; color: var(--ac); }
.footer-nav { display: grid; grid-template-columns: repeat(3, auto); justify-content: end; gap: 24px 56px; }
.footer-nav-title { margin: 0 0 12px; font-size: 12px; font-weight: 700; color: var(--ac); letter-spacing: .14em; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin: 0 0 10px; }
.footer-nav a { color: var(--ink); text-decoration: none; }
.footer-nav a:hover { color: var(--ac); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line2); color: var(--sub); }
.footer-bottom small { font-size: 12px; }

/* タブレット・スマホ */
@media (max-width: 1023px) {
	.hero__inner { gap: 40px; }
}
@media (max-width: 767px) {
	.section { padding-top: 60px; padding-bottom: 60px; }
	.band > .container, .covers-band > .container { padding-top: 60px; padding-bottom: 60px; }
	.sec-head { margin-bottom: 28px; }
	.sec-title, .split__text .sec-title { font-size: 23px; letter-spacing: .08em; }
	.sec-lead { font-size: 14px; }
	.split { gap: 40px; }
	.hero__inner { padding-top: 36px; padding-bottom: 64px; }
	.breadcrumb { margin-bottom: 16px; padding-top: 16px; font-size: 12px; }
	.breadcrumb ol { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
	.breadcrumb ol::-webkit-scrollbar { display: none; }
	.page-head { margin-bottom: 24px; }
	.page-head h1 { font-size: 26px; letter-spacing: .08em; }
	.page-head p, .page-head__desc { font-size: 14px; }
	.page-list, .page-single, .detail { padding-bottom: 60px; }
	.detail { gap: 48px; }
	.detail > .breadcrumb { margin-bottom: -32px; }
	.cards { gap: 16px; }
	.steps { gap: 16px; }
	.steps__item { padding: 24px 22px; }
	.features li { padding: 20px; }
	.cta-band { padding: 44px 20px; border-radius: 16px; }
	.cta-band h2 { font-size: 21px; letter-spacing: .06em; }
	.cta-band p { font-size: 14px; }
	.cta-band .btn { width: 100%; }
	.entry h2 { margin-top: 56px; font-size: 21px; }
	.entry h3 { margin-top: 40px; font-size: 18px; }
	.site-footer { padding: 44px 0 32px; }
	.footer-grid { grid-template-columns: 1fr; gap: 32px; }
	.footer-nav { grid-template-columns: 1fr 1fr; justify-content: stretch; gap: 24px; }
	.footer-brand { font-size: 15px; letter-spacing: .06em; }
}
/* 見出しを言葉の切れ目で改行 */
.nw { display: inline-block; }

/* ============================================================
   色の統一（いちばんやさしい終活ガイドと同じ色だけを使う）
   緑：#388c78／濃い緑：#2e7766／淡い緑：#ebf4f0・#deede6／赤（注意）：#a8524a・#f8ecea
   ============================================================ */
:root {
	--sh: 0 1px 2px rgba(68, 72, 69, .04), 0 6px 20px rgba(68, 72, 69, .05);
	--sh-hover: 0 2px 4px rgba(68, 72, 69, .05), 0 12px 28px rgba(68, 72, 69, .08);
}
body { color: var(--text); }

/* 小さなラベル（終活ガイドの .pill／.tag と同じ） */
.pill { font-size: 13px; letter-spacing: .06em; padding: 4px 12px; background: #deede6; color: var(--acd); }
.eyebrow { font-size: 13px; letter-spacing: .14em; color: var(--ac); }
.badge, .badge--pdf, .badge--excel, .badge--word, .badge--booklet, .badge--cover { background: var(--acs); color: var(--acd); letter-spacing: .04em; line-height: 1.7; }
.badge--free { background: transparent; border: 1px solid var(--line2); color: var(--sub); line-height: calc(1.7em - 2px); }

/* 形式のアイコン（PDF・Excel・Word）も、すべて淡い緑の面に */
.tile__icon, .tile__icon--pdf, .tile__icon--excel, .tile__icon--word, .tile__icon--booklet, .tile__icon--cover { background: var(--acs); color: var(--acd); }
.tile:hover { border-color: var(--ac); background: #fff; }

/* ボタン：白いボタンのホバーは終活ガイドと同じ（緑の枠） */
.btn--primary:hover, .btn--white:hover { background: #2f7a68; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line2); }
.btn--ghost:hover { background: #fff; border-color: var(--ac); color: var(--acd); }

/* 面の色 */
.card__thumb, .detail__visual { background: #e2e2e2; }
.covers-band { background: var(--acs); }
.cta-band { border-color: #deede6; }
.entry .marker { background: linear-gradient(transparent 58%, #deede6 58%); }
.chip:hover { border-color: var(--ac); color: var(--acd); }

/* フォームのエラー・注意も、終活ガイドの赤に */
.wpcf7 .wpcf7-not-valid { border-color: #a8524a !important; background: #fff; }
.wpcf7 .wpcf7-not-valid:focus { box-shadow: 0 0 0 3px #f8ecea !important; }
.wpcf7 .wpcf7-not-valid-tip { color: #a8524a !important; }
.wpcf7 .require, .wpcf7 .required { background: #f8ecea; color: #a8524a; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.aborted .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output { background: #f8ecea !important; color: #a8524a; }

/* トップ：ボタンを1列に並べる（文章の幅を少し広げて、ボタンが横に並ぶように） */
@media (min-width: 1024px) {
	.hero__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
}
@media (min-width: 601px) {
	.hero__actions { flex-wrap: nowrap; }
	.hero__actions .btn { flex: none; }
}

/* ---------- 印刷（ふつうのページ） ---------- */
@media print {
	body:not(.en-printing) .site-header,
	body:not(.en-printing) .site-footer,
	body:not(.en-printing) .opinion,
	body:not(.en-printing) .cta-box,
	body:not(.en-printing) .adjacent,
	body:not(.en-printing) .related { display: none !important; }
	body:not(.en-printing) { background: #fff; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
