/**
 * アリス薬局 コラムCTA スタイル
 * サイト既存トンマナ準拠：グレージュ #9b8971 / ベージュ #c5b8a8 / くすみピンク #ebbab7 /
 * ミント #effffa（サイトのLINE案内枠と同色） / 見出し游明朝 / ボタンはピル型
 * クラス名はすべて acta- プレフィックスで既存CSSと衝突しないよう分離
 */

.acta {
	box-sizing: border-box;
	margin: 2em 0;
	font-family: "游ゴシック", YuGothic, "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
	line-height: 1.7;
}
.acta *,
.acta *:before,
.acta *:after {
	box-sizing: border-box;
}

/* テーマCSSの干渉対策：字下げ・余白・折り返し設定をリセットする
 * （テーマが記事内のp/div/spanに設定する余白・字下げがバナー内部に効いて
 *   レイアウトが崩れるため、!importantで固定する。意図した余白は下の各クラスで再指定）*/
.acta,
.acta * {
	text-indent: 0 !important;
	word-break: normal;
	overflow-wrap: break-word;
	white-space: normal;
	float: none;
}
.acta {
	margin: 28px 0 !important;
	line-height: 1.7 !important;
}
.acta p,
.acta div,
.acta span {
	margin: 0 !important;
}

/* ---------- 共通：LINEボタン ---------- */
.acta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: #06C755;
	color: #fff !important;
	text-decoration: none !important;
	font-weight: 700;
	font-size: 15px;
	border-radius: 50px;
	padding: 13px 26px;
	box-shadow: 0 3px 8px rgba(6, 199, 85, .28);
	transition: opacity .2s;
}
.acta-btn:hover {
	opacity: .85;
	color: #fff;
}
.acta-btn-ico {
	width: 21px;
	height: 21px;
	border-radius: 5px;
	background: #fff;
	color: #06C755;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 9px;
	font-weight: 800;
	flex-shrink: 0;
}
.acta-btn-block {
	display: flex;
	width: 100%;
}

/* ボタン文言のPC/スマホ出し分け（スマホでは短縮版を表示し、不格好な改行を防ぐ） */
.acta-btn {
	white-space: nowrap;
}
.acta-label-sp {
	display: none;
}
@media (max-width: 768px) {
	.acta-label-pc {
		display: none;
	}
	.acta-label-sp {
		display: inline;
	}
}

/* ---------- 共通：打ち消し表記 ---------- */
.acta-dsc {
	font-size: 10.5px;
	color: #9a938a;
	margin: 12px 0 0 !important;
	line-height: 1.6;
}

/* ---------- 案A：記事内横長バナー ---------- */
.acta-a {
	background: #f6f2ec;
	border: 1px solid #c5b8a8;
	border-radius: 10px;
	padding: 24px 28px;
}
.acta-steps {
	display: flex !important;
	align-items: center;
	flex-wrap: wrap;
	row-gap: 6px;
	margin-bottom: 14px !important;
}
.acta-step {
	font-size: 11px;
	font-weight: 700;
	background: #9b8971;
	color: #fff;
	border-radius: 50px;
	padding: 4px 15px;
	letter-spacing: .08em;
}
.acta-arrow {
	color: #c5b8a8;
	font-size: 12px;
	padding: 0 7px;
}
.acta-a-title {
	margin: 0 0 4px !important;
	font-family: "游明朝", YuMincho, "Hiragino Mincho ProN", serif;
	font-weight: 600;
	font-size: 22px;
	line-height: 1.5;
	letter-spacing: .05em;
	color: #7d6d58;
}
.acta-a-sub {
	margin: 0 0 16px !important;
	font-size: 12.5px;
	color: #8a8175;
}
.acta-a-row {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}
.acta-a-free {
	font-size: 11.5px;
	font-weight: 700;
	color: #7d6d58;
	background: #fff;
	border: 1px solid #c5b8a8;
	border-radius: 5px;
	padding: 5px 12px;
}
@media (max-width: 768px) {
	.acta-a {
		padding: 20px 16px;
		text-align: center;
	}
	.acta-steps {
		justify-content: center;
	}
	.acta-a-title {
		font-size: 18px;
	}
	.acta-a-row {
		flex-direction: column-reverse;
		gap: 10px;
	}
	.acta-a .acta-btn {
		display: flex;
		width: 100%;
	}
}

/* 折り返し制御：フレーズ単位でのみ改行させる（中途半端な位置での折り返し防止） */
.acta-nw {
	white-space: nowrap;
	display: inline-block;
}

/* ---------- 案B：チャット型 ---------- */
.acta-b {
	background: #effffa;
	border: 1px solid #cfe8e0;
	border-radius: 10px;
	padding: 26px 24px;
}
.acta-b-title {
	margin: 0 0 2px !important;
	text-align: center;
	font-family: "游明朝", YuMincho, "Hiragino Mincho ProN", serif;
	font-weight: 600;
	font-size: 20px;
	letter-spacing: .05em;
	color: #7d6d58;
}
.acta-b-sub {
	text-align: center;
	font-size: 12.5px;
	color: #7d8a84;
	margin: 0 0 20px !important;
}
.acta-chat {
	max-width: 470px;
	margin: 0 auto 20px !important;
	display: flex !important;
	flex-direction: column;
	gap: 10px;
}
.acta-bub {
	display: flex !important;
	gap: 8px;
	align-items: flex-end;
	margin: 0 !important;
}
.acta-bub .acta-msg {
	display: block !important;
	width: fit-content;
	background: #fff;
	border: 1px solid #d8e8e2;
	border-radius: 14px 14px 14px 3px;
	padding: 8px 14px;
	font-size: 12.5px;
	max-width: 76%;
}
.acta-bub-r {
	flex-direction: row-reverse;
}
.acta-bub-r .acta-msg {
	background: #9b8971;
	color: #fff;
	border: none;
	border-radius: 14px 14px 3px 14px;
}
.acta-avatar {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #9b8971;
	color: #fff;
	font-size: 9px;
	font-weight: 700;
	display: flex !important;
	align-items: center;
	justify-content: center;
	flex-shrink: 0 !important;
}
.acta-avatar-user {
	background: #a0cbbe;
	color: #2e4f45;
}
.acta-b-center {
	text-align: center;
}
@media (max-width: 768px) {
	.acta-b {
		padding: 22px 14px;
	}
	.acta-b-title {
		font-size: 17px;
	}
	.acta-b .acta-btn {
		display: flex;
		width: 100%;
		font-size: 13.5px;
		padding: 12px 16px;
	}
}

/* ---------- 案C：追従CTA ---------- */
.acta-c {
	position: fixed;
	z-index: 9999;
	margin: 0 !important;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity .35s, transform .35s, visibility .35s;
	/* PC：右下カード */
	right: 18px;
	bottom: 18px;
	width: 320px;
	background: #fff;
	border: 1px solid #c5b8a8;
	border-radius: 10px;
	box-shadow: 0 6px 24px rgba(60, 50, 40, .16);
	padding: 16px;
}
.acta-c-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.acta-c-close {
	position: absolute;
	top: 6px;
	right: 8px;
	border: none;
	background: transparent;
	color: #b0a794;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	padding: 4px;
}
.acta-c-t1 {
	font-size: 13.5px;
	font-weight: 700;
	color: #7d6d58;
	line-height: 1.5;
	margin: 0 0 2px !important;
	font-family: "游明朝", YuMincho, "Hiragino Mincho ProN", serif;
}
.acta-c-t2 {
	font-size: 11px;
	color: #8a8175;
	margin: 0 0 10px !important;
}
.acta-c .acta-btn {
	display: flex;
	width: 100%;
	padding: 10px 16px;
	font-size: 13px;
	box-shadow: none;
}
@media (max-width: 768px) {
	/* スマホ：下部固定バー */
	.acta-c {
		right: 0;
		bottom: 0;
		left: 0;
		width: 100%;
		border-radius: 0;
		border: none;
		background: #9b8971;
		box-shadow: 0 -2px 10px rgba(60, 50, 40, .2);
		padding: 10px 40px 10px 14px;
		display: flex;
		align-items: center;
		gap: 12px;
		transform: translateY(100%);
	}
	.acta-c-visible {
		transform: translateY(0);
	}
	.acta-c-txt {
		flex: 1;
		min-width: 0;
	}
	.acta-c-t1 {
		color: #fff;
		font-size: 12px;
		white-space: nowrap;
		font-family: "游ゴシック", YuGothic, "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
	}
	.acta-c-t2 {
		color: rgba(255, 255, 255, .8);
		font-size: 10px;
		margin: 0 !important;
	}
	.acta-c-close {
		top: 50%;
		margin-top: -13px;
		right: 4px;
		color: rgba(255, 255, 255, .8);
	}
	.acta-c .acta-btn {
		display: inline-flex;
		width: auto;
		flex-shrink: 0;
		padding: 8px 13px;
		font-size: 11.5px;
	}
}

/* ---------- 案D：美容記事用 ---------- */
.acta-d {
	background: #faf2f1;
	background: linear-gradient(160deg, #faf2f1 0%, #f6ece9 100%);
	border: 1px solid #e8cfcc;
	border-radius: 10px;
	padding: 30px 24px;
	text-align: center;
}
.acta-d-eyebrow {
	font-family: Garamond, Georgia, serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .26em;
	color: #d09d94;
	margin: 0 !important;
}
.acta-d-title {
	font-family: "游明朝", YuMincho, "Hiragino Mincho ProN", serif;
	font-size: 21px;
	font-weight: 600;
	margin: 10px 0 6px !important;
	letter-spacing: .06em;
	line-height: 1.65;
	color: #6d5a56;
}
.acta-d-sub {
	font-size: 12.5px;
	color: #93807c;
	margin: 0 0 18px !important;
}
.acta-d-tags {
	display: flex !important;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 20px !important;
}
.acta-d-tag {
	font-size: 11px;
	background: #fff;
	border: 1px solid #e8cfcc;
	border-radius: 50px;
	padding: 4px 14px;
	color: #d09d94;
	font-weight: 600;
}
@media (max-width: 768px) {
	.acta-d {
		padding: 24px 16px;
	}
	.acta-d-title {
		font-size: 17.5px;
	}
	.acta-d .acta-btn {
		display: flex;
		width: 100%;
	}
}
