/*
Theme Name: Kamitokumo
Theme URI: https://example.com/
Author: Kamitokumo Health Coaching
Description: カミトクモ（紙と雲）ヘルスコーチングの公式サイト用ブロックテーマ。和紙の質感、テラコッタとチャコールの配色、Shippori Mincho と Zen Kaku Gothic New の組み合わせ。
Version: 1.5.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kamitokumo
*/

/* ---------- 和紙の背景 ---------- */
body {
	background-color: #F1EAE0;
	background-image: url("assets/washi.svg");
	background-size: 800px 800px;
	background-repeat: repeat;
	-webkit-font-smoothing: antialiased;
}

/* ---------- ヘッダー ---------- */
.kt-header {
	padding-top: 24px;
	padding-bottom: 24px;
}
.kt-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: #22302F;
	text-decoration: none;
}
.kt-brand img {
	width: 38px;
	height: auto;
	display: block;
}
.kt-brand__name {
	font-family: "Fraunces", serif;
	font-size: 21px;
	font-weight: 600;
	letter-spacing: -0.01em;
}
.kt-brand__sub {
	font-family: "Fraunces", serif;
	font-size: 21px;
	font-weight: 400;
	letter-spacing: -0.01em;
	color: #4E5958;
}
.kt-header .wp-block-navigation {
	font-size: 15px;
	gap: 28px;
}
.kt-header .wp-block-navigation a {
	text-decoration: none;
}
.kt-header .wp-block-navigation a:hover {
	color: #8E4A2C;
}
.kt-header .kt-nav-cta > a {
	background: #22302F;
	color: #F1EAE0 !important;
	border-radius: 999px;
	padding: 10px 22px;
	font-weight: 700;
	letter-spacing: 0.06em;
}
.kt-header .kt-nav-cta > a:hover {
	background: #3A4645;
}
.wp-block-navigation__responsive-container.is-menu-open {
	background-color: #F1EAE0 !important;
	background-image: url("assets/washi.svg");
	background-size: 800px 800px;
}

/* ---------- ヒーロー ---------- */
.kt-hero {
	padding-top: clamp(32px, 6vw, 72px);
	padding-bottom: clamp(56px, 9vw, 120px);
}
.kt-hero h1 {
	font-size: clamp(42px, 6.6vw, 96px);
	line-height: 1.32;
	letter-spacing: 0.05em;
	margin: 0;
}
.kt-hero-mark img {
	width: 100%;
	max-width: 400px;
	height: auto;
	display: block;
	margin: 0 auto;
}

/* ---------- セクション ---------- */
.kt-section {
	border-top: 1px solid #CFC4B5;
	padding-top: clamp(48px, 7vw, 88px);
	padding-bottom: clamp(48px, 7vw, 88px);
}
.kt-section h2 {
	font-size: clamp(26px, 3vw, 38px);
	line-height: 1.45;
	letter-spacing: 0.04em;
	margin-top: 0;
}
.kt-eyebrow {
	font-family: "Inter", sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: #8E4A2C;
	margin-bottom: 12px;
}
.kt-lead {
	color: #3A4645;
}

/* ---------- ページの見出し ---------- */
.kt-page-head {
	padding-top: clamp(40px, 7vw, 96px);
	padding-bottom: clamp(24px, 4vw, 48px);
}
.kt-page-head h1 {
	font-size: clamp(36px, 6vw, 72px);
	line-height: 1.3;
	letter-spacing: 0.05em;
	margin: 0;
}

/* ---------- カード ---------- */
.kt-card {
	border: 1px solid #CFC4B5;
	border-radius: 20px;
	padding: clamp(24px, 3vw, 36px);
	height: 100%;
	box-sizing: border-box;
}
.kt-card h3 {
	margin-top: 0;
}
.kt-price {
	font-family: "Fraunces", "Shippori Mincho", serif;
	font-size: clamp(30px, 3.4vw, 40px);
	font-weight: 600;
	line-height: 1.2;
	margin: 8px 0 16px;
}
.kt-card--accent {
	background: #22302F;
	border-color: #22302F;
	color: #F1EAE0;
}
.kt-card--accent h3,
.kt-card--accent p {
	color: #F1EAE0;
}

/* ---------- ステップ ---------- */
.kt-step-num {
	font-family: "Fraunces", serif;
	font-size: 44px;
	font-weight: 600;
	line-height: 1;
	color: #B8643F;
	margin: 0 0 12px;
}

/* ---------- 写真の仮置き ---------- */
.kt-photo {
	aspect-ratio: 4 / 5;
	border: 1px dashed #8E4A2C;
	border-radius: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #4E5958;
}

/* ---------- よくある質問 ---------- */
.kt-faq .wp-block-details {
	border-top: 1px solid #CFC4B5;
	padding: 24px 0;
}
.kt-faq .wp-block-details:last-child {
	border-bottom: 1px solid #CFC4B5;
}
.kt-faq summary {
	font-family: "Fraunces", "Shippori Mincho", serif;
	font-size: clamp(19px, 2vw, 22px);
	font-weight: 700;
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	gap: 24px;
}
.kt-faq summary::-webkit-details-marker {
	display: none;
}
.kt-faq summary::after {
	content: "＋";
	color: #B8643F;
	flex-shrink: 0;
}
.kt-faq details[open] summary::after {
	content: "－";
}
.kt-faq details p {
	color: #3A4645;
	margin: 16px 0 0;
}

/* ---------- 申し込みボタン ---------- */
.kt-cta {
	text-align: center;
}
.kt-cta-mark img {
	width: 80px;
	height: auto;
	margin: 0 auto;
	display: block;
}
.wp-block-button.kt-line-button .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	min-height: 64px;
	padding: 18px clamp(32px, 5vw, 56px);
	font-size: clamp(18px, 2vw, 21px);
	font-weight: 700;
	letter-spacing: 0.08em;
}
.wp-block-button.kt-line-button .wp-block-button__link::after {
	content: "→";
	font-weight: 400;
}

/* ---------- ブログ ---------- */
.kt-post-grid .wp-block-post {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.kt-post-grid .wp-block-post-featured-image img {
	border-radius: 16px;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}
.kt-post-grid .wp-block-post-title {
	font-size: 21px;
	line-height: 1.5;
	margin: 0;
}
.kt-post-grid .wp-block-post-title a {
	text-decoration: none;
}
.kt-post-grid .wp-block-post-date {
	font-family: "Inter", sans-serif;
	font-size: 13px;
	letter-spacing: 0.08em;
	color: #4E5958;
}
.kt-post-grid .wp-block-post-excerpt {
	font-size: 15px;
	color: #3A4645;
}
.kt-article .wp-block-post-content {
	font-size: 18px;
}
.kt-article .wp-block-post-content h2 {
	font-size: clamp(24px, 3vw, 32px);
	margin-top: 2.2em;
}

/* ---------- フッター ---------- */
.kt-footer {
	border-top: 1px solid #CFC4B5;
	padding-top: 48px;
	padding-bottom: 40px;
	font-size: 14px;
	color: #4E5958;
}
.kt-footer a {
	color: #22302F;
	text-decoration: none;
}
.kt-footer a:hover {
	color: #8E4A2C;
}

/* ---------- スマートフォン ---------- */
@media (max-width: 781px) {
	.kt-hero .wp-block-columns {
		flex-direction: column-reverse;
	}
	.kt-hero-mark img {
		max-width: 240px;
	}
	.kt-brand__sub {
		display: none;
	}
}

/* ---------- 枠線だけのボタン ---------- */
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: #22302F;
	border: 1.5px solid #22302F;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: #22302F;
	color: #F1EAE0;
}
.kt-copyright {
	margin-top: 32px;
	font-size: 13px;
}

/* 日本語の見出しを、文節の区切りで改行する（対応ブラウザのみ） */
h1, h2, h3, .wp-block-post-title {
	word-break: auto-phrase;
}

/* ---------- サービス紹介ページ ---------- */
.kt-checklist {
	list-style: none;
	padding-left: 0;
	margin: 0;
}
.kt-checklist li {
	position: relative;
	padding: 14px 0 14px 34px;
	border-bottom: 1px solid #CFC4B5;
}
.kt-checklist li:first-child {
	border-top: 1px solid #CFC4B5;
}
.kt-checklist li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 1.15em;
	width: 14px;
	height: 8px;
	border-left: 2.5px solid #B8643F;
	border-bottom: 2.5px solid #B8643F;
	transform: rotate(-45deg);
}
.kt-voice {
	font-family: "Fraunces", "Shippori Mincho", serif;
	font-size: clamp(20px, 2.2vw, 26px);
	font-weight: 700;
	line-height: 1.6;
	margin: 0;
}
.kt-note {
	font-size: 15px;
	color: #4E5958;
}
.kt-step-row {
	border-top: 1px solid #CFC4B5;
	padding-top: 24px;
	padding-bottom: 8px;
}
.kt-step-row h3 {
	margin-top: 4px;
	margin-bottom: 8px;
}
.kt-step-row .kt-lead {
	margin-top: 0;
}
.kt-card--accent .kt-eyebrow {
	color: #E8B04F;
}
.kt-card--accent .wp-block-heading {
	color: #F1EAE0;
}
.kt-card .kt-eyebrow {
	margin-bottom: 4px;
}
.kt-concept h2 {
	color: #8E4A2C;
}

/* ---------- 料金ページ ---------- */
.kt-plans .wp-block-columns {
	align-items: stretch;
}
.kt-plan {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.kt-plan h3 {
	margin-bottom: 0;
}
.kt-plan-tag {
	font-size: 15px;
	color: #4E5958;
	margin: 0;
}
.kt-card--accent .kt-plan-tag {
	color: #CFC4B5;
}
.kt-price-unit {
	font-family: "Inter", "Zen Kaku Gothic New", sans-serif;
	font-size: 16px;
	font-weight: 500;
	margin-left: 4px;
}
.kt-badge {
	align-self: flex-start;
	background: #E8B04F;
	color: #22302F;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	border-radius: 999px;
	padding: 4px 14px;
	margin: 0 0 8px;
}
.kt-badge-inline {
	display: inline-block;
	background: #E8B04F;
	color: #22302F;
	font-size: 12px;
	font-weight: 700;
	border-radius: 999px;
	padding: 2px 10px;
	margin-top: 4px;
}
.kt-checklist--compact li {
	padding-top: 10px;
	padding-bottom: 10px;
	font-size: 15px;
}
.kt-card--accent .kt-checklist li {
	border-color: #3E4C4B;
}
.kt-card--accent .kt-checklist li::before {
	border-color: #E8B04F;
}
.kt-card--accent s {
	color: #CFC4B5;
	font-weight: 400;
}
.kt-checklist--plain li::before {
	display: none;
}
.kt-checklist--plain li {
	padding-left: 0;
}
.kt-compare {
	overflow-x: auto;
	margin: 0;
}
.kt-compare table {
	min-width: 680px;
	border-collapse: collapse;
	font-size: 15px;
}
.kt-compare th,
.kt-compare td {
	border: none;
	border-bottom: 1px solid #CFC4B5;
	padding: 16px 12px;
	text-align: left;
	vertical-align: top;
}
.kt-compare thead th {
	font-family: "Fraunces", "Shippori Mincho", serif;
	font-size: 17px;
	border-bottom: 2px solid #22302F;
}
.kt-compare tbody td:first-child {
	font-weight: 700;
	color: #22302F;
}
.kt-compare th:nth-child(3),
.kt-compare td:nth-child(3) {
	background: rgba(232, 176, 79, 0.14);
}
