/* ══════════════════════════════════════
   SWELLブロックスタイル上書き — toB / プロフェッショナル
   ══════════════════════════════════════ */


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   1-A. POINT（左バー + タグラベル）
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.is-style-big_icon_point {
	border: none !important;
	/* border-left: 4px solid #1e3a5f !important; */
	border-radius: 0 !important;
	padding: 18px 24px 20px !important;
	position: relative;
	background: #f5f7fa !important;
}

/* 元の丸アイコンを非表示 */
.is-style-big_icon_point::before {
	display: none !important;
}

/* タグラベル */
.is-style-big_icon_point > .wp-block-group__inner-container::before {
	content: "POINT";
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	margin-bottom: 12px;
	padding: 4px 12px;
	border-radius: 3px;
	color: #1e3a5f;
	background: #e2e8f0;
	width: auto;
	height: auto;
	line-height: 1.4;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   1-B. メリット / デメリット（極細縦書きカラム + フラット）
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.is-style-big_icon_good,
.is-style-big_icon_bad {
	display: flex !important;
	border: none !important;
	border-radius: 0 !important;
	padding: 0 !important;
	position: relative;
	background: transparent !important;
	overflow: hidden;
	margin-top: 0 !important;
	margin-bottom: 1rem !important;
}

/* 左カラム（::before を縦書きラベルに） */
.is-style-big_icon_good::before,
.is-style-big_icon_bad::before {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 30px !important;
	min-width: 30px !important;
	align-self: stretch !important;
	height: auto !important;
	writing-mode: vertical-rl !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: .2em !important;
	color: #fff !important;
	padding: 16px 0 !important;
	margin: 0 !important;
	border-radius: 0 !important;
	background-image: none !important;
	position: static !important;
	top: auto !important;
	left: auto !important;
	transform: none !important;
}

/* コンテンツ側 */
.is-style-big_icon_good > .wp-block-group__inner-container,
.is-style-big_icon_bad > .wp-block-group__inner-container {
	flex: 1;
	padding: 16px 20px;

	background: #fafbfc;
	border: 1px solid #e5e7eb;
	border-left: none;
}

/* inner-containerの::beforeは不要 */
.is-style-big_icon_good > .wp-block-group__inner-container::before,
.is-style-big_icon_bad > .wp-block-group__inner-container::before {
	display: none !important;
}

/* ── メリット ── 緑 */
.is-style-big_icon_good::before {
	content: "メリット" !important;
	background: #047857 !important;
}

/* ── デメリット ── 赤 */
.is-style-big_icon_bad::before {
	content: "デメリット" !important;
	background: #b91c1c !important;
}

/* テキスト調整 */
.is-style-big_icon_point p,
.is-style-big_icon_good p,
.is-style-big_icon_bad p {
	font-size: 14.5px;
	line-height: 1.8;
	color: #334155;
}
.is-style-big_icon_point ul,
.is-style-big_icon_good ul,
.is-style-big_icon_bad ul {
	margin-top: 8px;
}
.is-style-big_icon_point li,
.is-style-big_icon_good li,
.is-style-big_icon_bad li {
	font-size: 14px;
	line-height: 1.7;
	color: #334155;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   2. STEPブロック（透かし番号 + ミニマル）
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.swell-block-step {
	padding: 0 !important;
}

/* 各ステップアイテム */
.swell-block-step .swell-block-step__item {
	padding: 16px 20px 10px 54px !important;
	position: relative;
}
.swell-block-step .swell-block-step__item:not(:last-child) {
	border-bottom: 1px dashed #e5e7eb !important;
	padding-bottom: 10px !important;
}
.swell-block-step .swell-block-step__item:last-child {
	padding-bottom: 0;
}

/* 接続線を非表示 */
.swell-block-step .swell-block-step__item::before {
	display: none !important;
}

/* 番号を透かし表示 */
.swell-block-step .swell-block-step__number {
	position: absolute !important;
	left: 0 !important;
	top: 10px !important;
	background: transparent !important;
	color: #e2e8f0 !important;
	border-radius: 0 !important;
	width: auto !important;
	height: auto !important;
	padding: 0 !important;
	font-size: 32px !important;
	font-weight: 800 !important;
	line-height: 1 !important;
	display: block !important;
}

/* 番号（::after counter）を大きな透かしに（01形式） */
.swell-block-step .swell-block-step__number::after {
	content: counter(step, decimal-leading-zero) !important;
	font-size: 32px !important;
	font-weight: 800 !important;
	color: #e2e8f0 !important;
	line-height: 1 !important;
}

/* STEPラベルを小さく表示 */
.swell-block-step .swell-block-step__number .__label {
	display: block !important;
	font-size: 10px !important;
	font-weight: 700 !important;
	letter-spacing: .06em !important;
	color: #1e3a5f !important;
}

/* ステップタイトル */
.swell-block-step .swell-block-step__title {
	font-size: 16px !important;
	font-weight: 700;
	color: #1a1a1a;
	margin-top: 0;
	padding-bottom: 0;
	border-bottom: none;
	min-height: 0 !important;
}

/* ステップ本文 */
.swell-block-step .swell-block-step__title + .swell-block-step__body {
	margin-top: 0 !important;
	padding: 0;
}
.swell-block-step .swell-block-step__body p {
	font-size: 14.5px;
	line-height: 1.8;
	color: #334155;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   3. キャプションボックス
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* タイトルバー */
.swell-block-capbox .cap_box_ttl {
	background: #1e3a5f !important;
	color: #fff !important;
	font-size: 13px !important;
	font-weight: 700;
	letter-spacing: .03em;
	padding: 8px 16px !important;
	border-radius: 4px 4px 0 0 !important;
}
.swell-block-capbox .cap_box_ttl span {
	color: #fff !important;
}

/* コンテンツエリア */
.swell-block-capbox .cap_box_content {
	border: 1px solid #d1d5db !important;
	border-radius: 0 0 4px 4px !important;
	padding: 20px 24px !important;
	background: #fafbfc !important;
}

.swell-block-capbox .cap_box_content p {
	font-size: 14.5px;
	line-height: 1.8;
	color: #334155;
}
.swell-block-capbox .cap_box_content li {
	font-size: 14px;
	line-height: 1.7;
	color: #334155;
}

/* onborder_ttl スタイル上書き — 控えめに */
.swell-block-capbox.is-style-onborder_ttl .cap_box_ttl {
	background: #f0f2f5 !important;
	color: #1e3a5f !important;
	font-size: 12.5px !important;
	font-weight: 600;
	padding: 5px 14px !important;
	border-radius: 3px !important;
	border: 1px solid #d1d5db !important;
}
.swell-block-capbox.is-style-onborder_ttl .cap_box_ttl span {
	color: #1e3a5f !important;
}

/* inner スタイル上書き — 控えめに */
.swell-block-capbox.is-style-inner .cap_box_ttl {
	background: #e8eaed !important;
	color: #475569 !important;
	font-size: 12.5px !important;
	font-weight: 600;
	padding: 5px 14px !important;
	border-radius: 4px 4px 0 0 !important;
	border: none !important;
}
.swell-block-capbox.is-style-inner .cap_box_ttl span {
	color: #475569 !important;
}
.swell-block-capbox.is-style-inner .cap_box_content {
	border: none !important;
	background: #fafbfc !important;
}

/* onborder_ttl2 スタイル上書き */
.swell-block-capbox.is-style-onborder_ttl2 .cap_box_ttl {
	border-radius: 4px 4px 0 0 !important;
	margin: 0 !important;
	transform: none !important;
}
.swell-block-capbox.is-style-onborder_ttl2 .cap_box_content {
	border-top: 1px solid #d1d5db !important;
	margin-top: 0 !important;
	padding-top: 20px !important;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   4. wp-block-group ボーダー＋背景 — 控えめに
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.wp-block-group.has-border {
	border-width: 1px !important;
	border-color: #d1d5db !important;
}
.wp-block-group.has-swl-pale-02-background-color {
	background-color: #f8f9fb !important;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   5. 定義リスト（swell-block-dl）
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.swell-block-dl {
	background: transparent !important;
	display: block !important;
}

/* dt — ラベル（上） */
.swell-block-dl .swell-block-dl__dt {
	display: block !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	color: #0f172a !important;
	padding: 0 0 0 16px !important;
	margin: 20px 0 4px !important;
	background: transparent !important;
	border: none !important;
	line-height: 1.5 !important;
	position: relative !important;
}
.swell-block-dl .swell-block-dl__dt::before {
	content: '▸' !important;
	position: absolute !important;
	left: 0 !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	font-size: 14px !important;
	color: #475569 !important;
	line-height: 1 !important;
	width: auto !important;
	height: auto !important;
	border-radius: 0 !important;
	background: none !important;
}
.swell-block-dl .swell-block-dl__dt:first-of-type {
	margin-top: 0 !important;
}

/* dd — 説明文（下・インデント） */
.swell-block-dl .swell-block-dl__dd {
	padding: 4px 0 16px 20px !important;
	margin: 0 !important;
	border: none !important;
	border-bottom: 1px solid #f1f5f9 !important;
	background: transparent !important;
}
.swell-block-dl .swell-block-dl__dd:last-of-type {
	border-bottom: none !important;
	padding-bottom: 0 !important;
}
.swell-block-dl .swell-block-dl__dd p {
	font-size: 15px;
	line-height: 1.8;
	color: #64748b;
	margin: 0;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   6. テーブル（wp-block-table）
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.wp-block-table {
	overflow-x: auto;
}

.wp-block-table table {
	border-collapse: collapse;
	width: 100%;
	font-size: 13.5px;
	line-height: 1.65;
	border: none !important;
}

/* ヘッダー行（post + use-case のみ） */
.single-post .post_content thead th,
.single-use-case .post_content thead th,
.single-trends .post_content thead th {
	background: #1e293b !important;
	color: #e2e8f0 !important;
	font-size: 12.5px !important;
	font-weight: 700 !important;
	padding: 10px 16px !important;
	border: none !important;
	border-right: 1px solid rgba(255,255,255,.1) !important;
	text-align: left;
}
.single-post .post_content thead th:last-child,
.single-use-case .post_content thead th:last-child,
.single-trends .post_content thead th:last-child {
	border-right: none !important;
}

/* ボディセル（post + use-case のみ） */
.single-post .post_content tbody td,
.single-use-case .post_content tbody td,
.single-trends .post_content tbody td {
	padding: 10px 16px !important;
	border: none !important;
	border-bottom: 1px solid #eef0f2 !important;
	border-right: 1px solid #e2e8f0 !important;
	color: #334155 !important;
	vertical-align: top;
}
.single-post .post_content tbody td:last-child,
.single-use-case .post_content tbody td:last-child,
.single-trends .post_content tbody td:last-child {
	border-right: none !important;
}

/* ストライプ（偶数行） */
.single-post .post_content tbody tr:nth-child(even) td,
.single-use-case .post_content tbody tr:nth-child(even) td,
.single-trends .post_content tbody tr:nth-child(even) td {
	background: #fafbfc !important;
}

/* Two-Tone: クラス row-header でテーブルの左列をラベル扱い */
.single-post .post_content .row-header tbody td:first-child,
.single-post .post_content table.row-header tbody td:first-child,
.single-use-case .post_content .row-header tbody td:first-child,
.single-use-case .post_content table.row-header tbody td:first-child,
.single-trends .post_content .row-header tbody td:first-child,
.single-trends .post_content table.row-header tbody td:first-child {
	background: #f1f5f9 !important;
	font-weight: 700 !important;
	color: #1e293b !important;
	border-bottom: 1px solid #e2e8f0 !important;
}
.single-post .post_content .row-header thead th:first-child,
.single-post .post_content table.row-header thead th:first-child,
.single-use-case .post_content .row-header thead th:first-child,
.single-use-case .post_content table.row-header thead th:first-child,
.single-trends .post_content .row-header thead th:first-child,
.single-trends .post_content table.row-header thead th:first-child {
	background: #0f172a !important;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   7. SWELLアコーディオン — コンパクト化
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.swell-block-accordion__title {
	font-size: 14px !important;
	font-weight: 600 !important;
	padding: 10px 14px !important;
	min-height: 0 !important;
}

.swell-block-accordion__icon {
	width: 20px !important;
	height: 20px !important;
	font-size: 12px !important;
}

.swell-block-accordion__body {
	padding: 10px 14px 14px !important;
	font-size: 14px !important;
}

.swell-block-accordion__body p {
	font-size: 14px;
	line-height: 1.75;
}
