/* ============================================================
   特集号レイアウト（タグ vayu-special）
   ------------------------------------------------------------
   左：ゆっくり膨らむ同心円と「吸う／吐く」／右：縦書き（明朝）の題名と副題／
   本文は細い一本のコラム／節に通し番号。
   色：インク #22303f／水色 #dbe8f5・#6b84a0・#b9cce0
   追加ファイルのみ。親テーマ・既存CSSは変更しない。
   ※ SWELL は body_class を #body_wrap に出力するので #body_wrap で受ける。
   ============================================================ */

#body_wrap.vayu-sp-post,
#body_wrap.vayu-sp-post #content,
#body_wrap.vayu-sp-post #main_content { background-color: #fff; }
#body_wrap.vayu-sp-post.vayu-sp-ready #top_title_area { display: none !important; }
#body_wrap.vayu-sp-post #breadcrumb {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
	overflow: hidden; clip: rect(0 0 0 0);
}
#body_wrap.vayu-sp-post .l-mainContent__inner > .vayu-content-type.-single { display: none; }
#body_wrap.vayu-sp-post .p-articleMetas.-top { display: none; }

/* --- 扉（左：息の円と「吸う／吐く」／右：縦書きの題名） ------ */
.vayu-sp-mast { max-width: 900px; margin: 0 auto; padding: 18px 24px 0; color: #22303f; font-feature-settings: "palt" 1; }
.vayu-sp-mast * { box-sizing: border-box; }
.vayu-sp-mast__cover { display: flex; height: clamp(320px, 44vw, 360px); overflow: hidden; background: #f4f8fc; border: 1px solid #e3edf7; }

.vayu-sp-mast__breath { position: relative; flex: 1 1 auto; }
.vayu-sp-mast__ring {
	position: absolute; left: 50%; top: 50%; border-radius: 50%;
	width: clamp(150px, 30vw, 250px); aspect-ratio: 1; margin: calc(clamp(150px, 30vw, 250px) / -2) 0 0 calc(clamp(150px, 30vw, 250px) / -2);
	animation: vayu-sp-breathe 14s ease-in-out infinite;
}
.vayu-sp-mast__ring:nth-of-type(1) { background: #dbe8f5; --a: .5; --b: .64; }
.vayu-sp-mast__ring:nth-of-type(2) { border: 1px solid #b9cce0; --a: .8; --b: .95; animation-delay: -.9s; }
@keyframes vayu-sp-breathe {
	0%, 100% { transform: scale(var(--a, .9)); opacity: .85; }
	50% { transform: scale(var(--b, 1.06)); opacity: 1; }
}
/* 円が膨らむあいだ INHALE、縮むあいだ EXHALE */
.vayu-sp-mast__word {
	position: absolute; left: 0; right: 0; top: 50%; margin: 0; transform: translateY(-50%);
	text-align: center; color: #4a5f78;
}
.vayu-sp-mast__word span { position: absolute; left: 0; right: 0; top: -17px; opacity: 0; animation: vayu-sp-word 14s ease-in-out infinite; }
.vayu-sp-mast__word span + span { animation-delay: -7s; }
.vayu-sp-mast__word b {
	display: block; font-family: "Josefin Sans", "Helvetica Neue", sans-serif; font-weight: 300; font-size: 10px;
	letter-spacing: .5em; text-indent: .5em; line-height: 1.6;
}
.vayu-sp-mast__word i {
	display: block; margin-top: 2px; font-style: normal; font-family: "Zen Kaku Gothic New", sans-serif; font-weight: 300; font-size: 10px;
	letter-spacing: .6em; text-indent: .6em; line-height: 1.6;
}
@keyframes vayu-sp-word { 0%, 100% { opacity: 0; } 18%, 38% { opacity: 1; } 56% { opacity: 0; } }

.vayu-sp-mast__titleslot { flex: 0 0 40%; background: #fff; display: flex; justify-content: center; padding: 30px 12px; }
#body_wrap.vayu-sp-post .vayu-sp-mast__titleslot .p-articleHead.c-postTitle { all: unset; display: block; }
#body_wrap.vayu-sp-post .vayu-sp-mast__titleslot .p-articleHead::before,
#body_wrap.vayu-sp-post .vayu-sp-mast__titleslot .p-articleHead::after { content: none !important; display: none !important; }
#body_wrap.vayu-sp-post .c-postTitle__ttl {
	margin: 0; writing-mode: vertical-rl; text-orientation: mixed; height: 100%;
	font-family: "Shippori Mincho", "Noto Serif JP", serif; font-size: clamp(27px, 5.6vw, 40px); line-height: 1.5;
	font-weight: 500; letter-spacing: .14em; color: #22303f; word-break: keep-all;
}
#body_wrap.vayu-sp-post .c-postTitle__ttl .vayu-sp-sub {
	display: block; margin: 34px 20px 0 0; font-family: "Zen Kaku Gothic New", sans-serif;
	font-size: clamp(12px, 2.2vw, 14px); line-height: 1.9; font-weight: 400; letter-spacing: .2em; color: #6b84a0;
}
#body_wrap.vayu-sp-post .c-postTitle__ttl::after { content: none; display: none; }
#body_wrap.vayu-sp-post .c-postTitle__date { display: none; }

.vayu-sp-mast__meta {
	display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: baseline;
	margin: 0; padding: 12px 0; border-bottom: 1px solid #dbe8f5;
	font-family: "Helvetica Neue", Arial, sans-serif; font-size: 11px; letter-spacing: .2em; color: #6b84a0;
}
.vayu-sp-mast__meta a { color: #22303f; text-decoration: none; font-weight: 700; }
.vayu-sp-mast__meta a:hover { color: #6b84a0; }
.vayu-sp-mast__meta time { margin-left: auto; }

/* --- 本文：細い一本のコラム ------------------------------ */
#body_wrap.vayu-sp-post .l-mainContent__inner > .post_content { margin-top: 44px; counter-reset: vayu-sp-sec; }
#body_wrap.vayu-sp-post .post_content {
	max-width: 760px; margin-left: auto; margin-right: auto;
	font-size: 16.5px; line-height: 2.15; color: #2b3a4a; letter-spacing: .04em; font-weight: 400;
}
#body_wrap.vayu-sp-post .post_content p { clear: none; font-weight: 400; margin: 0 0 1.7em; word-break: keep-all; overflow-wrap: anywhere; }
#body_wrap.vayu-sp-post .post_content a { color: #22303f; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #b9cce0; }

/* 大きく置く一文（太字だけの段落） */
#body_wrap.vayu-sp-post .post_content > p:has(> strong:only-child) {
	margin: 1.2em 0 1.6em; padding: 6px 0 6px 22px; border-left: 3px solid #b9cce0;
	font-size: 24px; line-height: 1.75; letter-spacing: .03em; color: #22303f;
}
#body_wrap.vayu-sp-post .post_content > p:has(> strong:only-child) strong { font-weight: 700; }

/* 節見出し：通し番号 + 細い線（SWELLの見出し装飾は外す） */
#body_wrap.vayu-sp-post .post_content > h2 {
	counter-increment: vayu-sp-sec;
	margin: 3.2em 0 1.2em; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none;
	font-size: 22px; line-height: 1.6; font-weight: 700; letter-spacing: .04em; color: #22303f;
}
#body_wrap.vayu-sp-post .post_content > h2::before {
	content: counter(vayu-sp-sec, decimal-leading-zero); display: block; position: static;
	width: auto; height: auto; margin: 0 0 8px; padding: 0 0 8px; background: none; border: 0;
	border-bottom: 1px solid #dbe8f5;
	font-family: "Helvetica Neue", Arial, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .3em; color: #6b84a0;
}
#body_wrap.vayu-sp-post .post_content > h2::after { content: none; display: none; }

/* 末尾の注記 */
#body_wrap.vayu-sp-post .post_content p.vayu-sp-note {
	margin-top: 3em; padding-top: 16px; border-top: 1px solid #dbe8f5;
	font-size: 10px; line-height: 1.9; letter-spacing: .03em; color: #8aa0b8;
}

/* --- 参考カード（記事内の .vayu-ref-card を同じ白基調に） --- */
#body_wrap.vayu-sp-post .post_content .vayu-ref-card {
	border: 1px solid #dbe8f5; border-radius: 4px; box-shadow: none; margin: 30px 0;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
#body_wrap.vayu-sp-post .post_content .vayu-ref-card:hover { border-color: #b9cce0; box-shadow: 0 6px 18px rgba(80, 120, 170, .12); transform: translateY(-2px); }
#body_wrap.vayu-sp-post .post_content .vayu-ref-card__eyebrow { color: #6b84a0; }
#body_wrap.vayu-sp-post .post_content .vayu-ref-card__title { color: #22303f; }


/* --- 小さな写真（雑誌のように、本文の脇に添える） --------- */
#body_wrap.vayu-sp-post .post_content .vayu-sp-fig {
	float: right; width: 220px; margin: 8px 12px 18px 30px; padding: 0;
}
#body_wrap.vayu-sp-post .post_content .vayu-sp-fig.is-left { float: left; margin: 8px 30px 18px 12px; }
#body_wrap.vayu-sp-post .post_content .vayu-sp-fig img {
	display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin: 0; border-radius: 0;
	box-shadow: 10px 10px 0 #eaf3fb;
}
#body_wrap.vayu-sp-post .post_content .vayu-sp-fig.is-left img { box-shadow: -10px 10px 0 #eaf3fb; }
#body_wrap.vayu-sp-post .post_content .vayu-sp-fig figcaption {
	margin-top: 20px; padding-top: 7px; border-top: 1px solid #dbe8f5;
	font-family: "Josefin Sans", "Helvetica Neue", sans-serif; font-size: 9.5px; font-weight: 300; letter-spacing: .4em; color: #6b84a0;
}
#body_wrap.vayu-sp-post .post_content > h2,
#body_wrap.vayu-sp-post .post_content .vayu-ref-card { clear: both; }

/* --- スマホ --- */
@media (max-width: 599px) {
	.vayu-sp-mast { padding: 12px 16px 0; }
	.vayu-sp-mast__cover { height: 330px; }
	.vayu-sp-mast__titleslot { flex-basis: 46%; padding: 24px 6px; }
	.vayu-sp-mast__meta { font-size: 10px; letter-spacing: .14em; }
	#body_wrap.vayu-sp-post .post_content { font-size: 16px; line-height: 2.05; padding-left: 4px; padding-right: 4px; }
	#body_wrap.vayu-sp-post .post_content > p:has(> strong:only-child) { font-size: 20px; padding-left: 16px; }
	#body_wrap.vayu-sp-post .post_content > h2 { font-size: 19px; }
	#body_wrap.vayu-sp-post .post_content .vayu-sp-fig { width: 128px; margin: 6px 8px 14px 18px; }
	#body_wrap.vayu-sp-post .post_content .vayu-sp-fig.is-left { margin: 6px 18px 14px 8px; }
	#body_wrap.vayu-sp-post .post_content .vayu-sp-fig img { box-shadow: 7px 7px 0 #eaf3fb; }
	#body_wrap.vayu-sp-post .post_content .vayu-sp-fig.is-left img { box-shadow: -7px 7px 0 #eaf3fb; }
	#body_wrap.vayu-sp-post .post_content .vayu-sp-fig figcaption { font-size: 8.5px; letter-spacing: .3em; }
}
@media (prefers-reduced-motion: reduce) {
	.vayu-sp-mast__ring, .vayu-sp-mast__word span { animation: none; }
	.vayu-sp-mast__word span:first-child { opacity: 1; }
	#body_wrap.vayu-sp-post .post_content .vayu-ref-card { transition: none; }
	#body_wrap.vayu-sp-post .post_content .vayu-ref-card:hover { transform: none; }
}
