/*
Theme Name: variable Thema Child
Template: variable-thema
Author: Soleil
Description: Child theme for Soleil customizations based on variable Thema.
Version: 0.1.0
Text Domain: variable-thema-child
*/

/*
 * Soleil site-specific customizations live here.
 * Parent theme assets are enqueued by variable Thema itself.
 */
.single-post .vt-entry__meta {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
flex-wrap: wrap;
}

.single-post .vt-entry__meta-left {
display: flex;
align-items: center;
gap: 1rem;
flex-wrap: wrap;
}

.single-post .vt-entry__meta-right {
display: flex;
align-items: center;
gap: .5rem;
margin-left: auto;
white-space: nowrap;
font-size: .875rem;
font-weight: 500;
}

.sac-meta__separator {
opacity: .4;
}

.sac-meta–ai {
color: #d96a6a;
}

.sac-meta–human {
color: rgba(255,255,255,.85);
}

@media (max-width: 767px) {

.single-post .vt-entry__meta {
	flex-direction: column;
	align-items: flex-start;
}
.single-post .vt-entry__meta-right {
	margin-left: 0;
}

}

.swd-diagnosis-box {

	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 24px;
	padding: 32px;
	box-shadow: 0 12px 30px rgba(0,0,0,.08);
	text-align:center;

}
.swd-section-label {

	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	background: #ffffff;
	border: 1px solid #d7dde8;
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 700;
	color: #0b1f4d;
	line-height: 1;
	box-shadow: 0 4px 12px rgba(11, 31, 77, 0.08);
	position: relative;
	z-index: 2;

}

.swd-section-label::before {

	content: "";
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #d83434;
	flex-shrink: 0;

}

/* SWD: 問題定義カード */
.soleil-wpdock-page .swd-problem-grid {
	gap: 24px;
}

.soleil-wpdock-page .swd-problem-card {
	text-align: center;
	padding: 28px 22px;
	border: 1px solid rgba(11, 31, 77, 0.12);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 8px 18px rgba(11, 31, 77, 0.07);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.soleil-wpdock-page .swd-problem-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 24px rgba(11, 31, 77, 0.1);
}

.soleil-wpdock-page .swd-problem-card figure,
.soleil-wpdock-page .swd-problem-card .wp-block-image {
	margin: 0 auto 18px;
	text-align: center;
}

.soleil-wpdock-page .swd-problem-card img {
	display: block;
	width: min(96px, 42%);
	height: auto;
	margin: 0 auto;
	border-radius: 0;
	box-shadow: none;
	filter: none;
}

.soleil-wpdock-page .swd-problem-card h3,
.soleil-wpdock-page .swd-problem-card h4 {
	margin: 0 0 10px;
	color: #0b1f4d;
	font-size: 1.05rem;
	line-height: 1.5;
	font-weight: 700;
	text-align: center;
}

.soleil-wpdock-page .swd-problem-card p {
	margin: 0;
	color: #3f4654;
	font-size: 0.95rem;
	line-height: 1.8;
	text-align: center;
}

/* ========================================
   SWD : 問題カード内アイコン
======================================== */

/* アイコンエリア */
.soleil-wpdock-page .swd-problem-card .wp-block-image {
	width: 100%;
	margin: 0 auto 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

/* figure の中央寄せ */
.soleil-wpdock-page .swd-problem-card figure,
.soleil-wpdock-page .swd-problem-card .wp-block-image figure,
.soleil-wpdock-page .swd-problem-card figure.aligncenter,
.soleil-wpdock-page .swd-problem-card .wp-block-image.aligncenter {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

/* アイコン画像 */
.soleil-wpdock-page .swd-problem-card .wp-block-image img {
	width: 150px;
	height: 150px;
	max-width: 150px;
	max-height: 150px;
	object-fit: contain;
	display: block;
	margin: 0 auto;
	border: 0;
	outline: 0;
	box-shadow: none;
}

/* 保険：カード内画像はすべて中央寄せ */
.soleil-wpdock-page .swd-problem-card img {
	display: block;
	margin: 0 auto;
}

/* ========================================
   SWD : 問題カード SP調整
======================================== */

@media (max-width: 768px) {

	.soleil-wpdock-page .swd-problem-card {
		padding: 24px 18px;
		border-radius: 16px;
	}

	.soleil-wpdock-page .swd-problem-card .wp-block-image img {
		width: 88px;
		height: 88px;
		max-width: 88px;
		max-height: 88px;
	}

}
/* ========================================
   SWD : 放置リスクカード
======================================== */

.soleil-wpdock-page .swd-warning-card {
	text-align: center;
	padding: 28px 22px;
	background: #fff7f7;
	border: 1px solid rgba(210, 60, 60, 0.12);
	border-radius: 20px;
	box-shadow: 0 6px 18px rgba(180, 40, 40, 0.06);
	transition: all .2s ease;
}

.soleil-wpdock-page .swd-warning-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 24px rgba(180, 40, 40, 0.10);
}

.soleil-wpdock-page .swd-warning-card .wp-block-image {
	margin: 0 auto 16px;
	text-align: center;
}

.soleil-wpdock-page .swd-warning-card img {
	width: 90px;
	height: 90px;
	object-fit: contain;
	display: block;
	margin: 0 auto;
}

.soleil-wpdock-page .swd-warning-card h3,
.soleil-wpdock-page .swd-warning-card h4 {
	margin: 0 0 10px;
	color: #a32727;
	font-weight: 700;
	font-size: 1.05rem;
	line-height: 1.4;
}

.soleil-wpdock-page .swd-warning-card p {
	margin: 0;
	color: #4b5563;
	font-size: 0.92rem;
	line-height: 1.8;
}
.soleil-wpdock-page .swd-warning-card::before {

	content: "!";
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: #fff1f1;
	border: 2px solid #e35b5b;
	color: #c62828;
	font-size: 1.8rem;
	font-weight: 700;
	line-height: 1;

}

/* ========================================
   SWD : 放置した結果カード
======================================== */

.soleil-wpdock-page .swd-impact-grid {
	gap: 24px;
}

.soleil-wpdock-page .swd-impact-card {
	position: relative;
	padding: 30px 24px;
	text-align: center;
	background: #fff;
	border: 1px solid rgba(200, 45, 45, 0.18);
	border-radius: 20px;
	box-shadow: 0 8px 20px rgba(120, 30, 30, 0.07);
	overflow: hidden;
}

.soleil-wpdock-page .swd-impact-card::before {
	content: "!";
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: #fff2f2;
	border: 2px solid #e06666;
	color: #c62828;
	font-size: 1.5rem;
	font-weight: 800;
	line-height: 1;
}

.soleil-wpdock-page .swd-impact-card::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 5px;
	background: linear-gradient(90deg, #c62828, #f3a43b);
}

.soleil-wpdock-page .swd-impact-card h3,
.soleil-wpdock-page .swd-impact-card h4 {
	margin: 0 0 12px;
	color: #9f1f1f;
	font-size: 1.1rem;
	font-weight: 800;
	line-height: 1.45;
}

.soleil-wpdock-page .swd-impact-card ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.soleil-wpdock-page .swd-impact-card li {
	position: relative;
	margin: 0.35em 0;
	color: #404653;
	font-size: 0.94rem;
	line-height: 1.7;
}

.soleil-wpdock-page .swd-impact-card li::before {
	content: "・";
	color: #c62828;
	font-weight: 700;
}

@media (max-width: 768px) {
	.soleil-wpdock-page .swd-impact-card {
		padding: 26px 20px;
		border-radius: 16px;
	}
}
/* ========================================
   SWD : 料金カード
======================================== */

.soleil-wpdock-page .swd-price-grid {
	gap: 24px;
}

.soleil-wpdock-page .swd-price-card {
	height: 100%;
	padding: 28px 24px;
	background: #fff;
	border: 1px solid rgba(11, 31, 77, 0.10);
	border-radius: 20px;
	box-shadow: 0 8px 20px rgba(11, 31, 77, 0.06);
	transition: all .2s ease;
}

.soleil-wpdock-page .swd-price-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 28px rgba(11, 31, 77, 0.10);
}

/* 見出し */
.soleil-wpdock-page .swd-price-card h3,
.soleil-wpdock-page .swd-price-card h4 {
	margin: 0 0 16px;
	padding-left: 14px;
	border-left: 4px solid #d84c4c;
	font-size: 1.8rem;
	font-weight: 700;
	line-height: 1.3;
	color: #0b1f4d;
}

/* 金額 */
.soleil-wpdock-page .swd-price-card .price,
.soleil-wpdock-page .swd-price-card strong {
	display: block;
	margin-bottom: 16px;
	font-size: 2rem;
	font-weight: 800;
	color: #d84c4c;
	line-height: 1;
}

/* リスト */
.soleil-wpdock-page .swd-price-card ul {
	margin: 0;
	padding: 0;
	list-style: none;
	padding-left: 0.4rem!important;
}

.soleil-wpdock-page .swd-price-card li {
	position: relative;
	padding-left: 18px;
	margin-bottom: 10px;
	line-height: 1.7;
	color: #4b5563;
}

.soleil-wpdock-page .swd-price-card li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.75em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #d84c4c;
	transform: translateY(-50%);
}

/* おすすめカード */
.soleil-wpdock-page .swd-price-card.is-featured {
	position: relative;
	border: 2px solid #d84c4c;
	box-shadow: 0 16px 36px rgba(216, 76, 76, 0.12);
	transform: translateY(-8px);
}

.soleil-wpdock-page .swd-price-card.is-featured::before {
	content: "おすすめ";
	position: absolute;
	top: -12px;
	left: 24px;
	padding: 6px 12px;
	border-radius: 999px;
	background: #d84c4c;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: .05em;
}

/* スマホ */
@media (max-width: 768px) {

	.soleil-wpdock-page .swd-price-card {
		padding: 24px 20px;
		border-radius: 16px;
	}

	.soleil-wpdock-page .swd-price-card.is-featured {
		transform: none;
	}

	.soleil-wpdock-page .swd-price-card h3,
	.soleil-wpdock-page .swd-price-card h4 {
		font-size: 1.5rem;
	}

}
/* SWD: 親テーマの見出し装飾をリセット */
.soleil-wpdock-page h2,
.soleil-wpdock-page h3,
.soleil-wpdock-page h4 {
	border-left: 0;
	border-bottom: 0;
	background: none;
	box-shadow: none;
	padding-left: 0;
}

.soleil-wpdock-page h2::before,
.soleil-wpdock-page h2::after,
.soleil-wpdock-page h3::before,
.soleil-wpdock-page h3::after,
.soleil-wpdock-page h4::before,
.soleil-wpdock-page h4::after {
	content: none;
	display: none;
}
.soleil-wpdock-page .swd-price-card h3,
.soleil-wpdock-page .swd-price-card h4 {
	margin: 0 0 14px;
	padding: 0;
	border: 0;
	background: none;
	color: #0b1f4d;
	font-size: 1.6rem;
	font-weight: 800;
	line-height: 1.35;
	text-align: center;
}

/* ========================================
   SWD STEP CARD
======================================== */

.wpdock-step-card {
	position: relative;
	height: 100%;
	padding: 32px 24px;
	background: #fff;
	border: 1px solid rgba(11, 31, 77, 0.08);
	border-radius: 24px;
	box-shadow: 0 10px 24px rgba(11, 31, 77, 0.06);
	text-align: center;
	transition: all .2s ease;
}

.wpdock-step-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 36px rgba(11, 31, 77, 0.10);
}

/* STEPバッジ */

.wpdock-step-badge {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 78px;
	height: 78px;
	margin: 0 auto 20px;
	border-radius: 50%;
	background: linear-gradient(
		135deg,
		#d84c4c,
		#b62020
	);
	color: #fff;
	box-shadow: 0 8px 20px rgba(216, 76, 76, 0.25);
}

.wpdock-step-badge span {
	display: block;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 1;
}

.wpdock-step-badge strong {
	display: block;
	margin-top: 4px;
	font-size: 1.6rem;
	line-height: 1;
	font-weight: 800;
}

/* タイトル */

.wpdock-step-card h3 {
	margin: 0 0 18px;
	color: #0b1f4d;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.4;
}

/* 区切り線 */

.wpdock-step-line {
	width: 56px;
	height: 3px;
	margin: 0 auto 18px;
	border-radius: 999px;
	background: linear-gradient(
		90deg,
		#d84c4c,
		#f0a43c
	);
}

/* アイコン */

.wpdock-step-icon {
	width: 72px;
	height: 72px;
	margin: 0 auto 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #fff5f5;
	color: #d84c4c;
	font-size: 34px;
}

/* Dashiconsサイズ補正 */

.wpdock-step-icon.dashicons {
	font-size: 34px;
	width: 72px;
	height: 72px;
}

/* 本文 */

.wpdock-step-card p {
	margin: 0;
	color: #4b5563;
	font-size: 0.95rem;
	line-height: 1.8;
}

/* ========================================
   STEP矢印
======================================== */

.wpdock-step-card::after {
	content: "→";
	position: absolute;
	right: -20px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 24px;
	font-weight: 700;
	color: #d84c4c;
	z-index: 2;
}

/* 最後だけ非表示 */

.wp-block-column:last-child .wpdock-step-card::after {
	display: none;
}

/* ========================================
   SP
======================================== */

@media (max-width: 768px) {

	.wpdock-step-card {
		padding: 24px 18px;
		border-radius: 18px;
	}

	.wpdock-step-badge {
		width: 68px;
		height: 68px;
	}

	.wpdock-step-badge strong {
		font-size: 1.4rem;
	}

	.wpdock-step-icon,
	.wpdock-step-icon.dashicons {
		width: 64px;
		height: 64px;
		font-size: 28px;
	}

	.wpdock-step-card::after {
		display: none;
	}
}