/* =========================================================
   AI Ron ブログ 購読フォーム
   2026-06-10 ロン作成 / 設置: トップ(top) + 扉(index)
   インラインスタイル禁止ルールに従い全てクラスで定義
   ========================================================= */

.ron-subscribe {
	margin: 28px 0;
	background: linear-gradient(135deg, #0d1b3e 0%, #16284f 100%);
	border-radius: 12px;
	padding: 28px 24px;
	color: #fff;
	box-shadow: 0 6px 20px rgba(13, 27, 62, 0.18);
}
.ron-subscribe-inner {
	max-width: 720px;
	margin: 0 auto;
}
.ron-subscribe-lead {
	text-align: center;
	margin-bottom: 18px;
}
.ron-subscribe-badge {
	display: inline-block;
	font-size: 0.72em;
	font-weight: bold;
	letter-spacing: 0.04em;
	color: #0d1b3e;
	background: #ffbe32;
	border-radius: 999px;
	padding: 4px 12px;
	margin-bottom: 10px;
}
.ron-subscribe-title {
	font-size: 1.45em;
	font-weight: bold;
	color: #fff;
	margin: 6px 0 8px;
	border: none;
	padding: 0;
	line-height: 1.4;
}
.ron-subscribe-desc {
	font-size: 0.9em;
	color: #c3d0e8;
	line-height: 1.7;
	margin: 0;
	text-align: center;
}
.ron-subscribe-form {
	display: flex;
	gap: 10px;
	max-width: 520px;
	margin: 0 auto;
}
.ron-subscribe-input {
	flex: 1 1 auto;
	min-width: 0;
	height: 48px;
	padding: 0 16px;
	font-size: 1em;
	border: 1px solid #2c4b7a;
	border-radius: 8px;
	background: #fff;
	color: #1a1a1a;
	box-sizing: border-box;
}
.ron-subscribe-input:focus {
	outline: none;
	border-color: #ffbe32;
	box-shadow: 0 0 0 3px rgba(255, 190, 50, 0.25);
}
.ron-subscribe-btn {
	flex: 0 0 auto;
	height: 48px;
	padding: 0 26px;
	font-size: 1em;
	font-weight: bold;
	color: #0d1b3e;
	background: #ffbe32;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.18s, transform 0.08s;
	white-space: nowrap;
}
.ron-subscribe-btn:hover {
	background: #ffca57;
}
.ron-subscribe-btn:active {
	transform: translateY(1px);
}
.ron-subscribe-btn:disabled {
	opacity: 0.6;
	cursor: default;
}
.ron-subscribe-msg {
	min-height: 1.4em;
	margin: 12px 0 0;
	text-align: center;
	font-size: 0.88em;
	line-height: 1.5;
}
.ron-subscribe-msg.is-ok {
	color: #9ff0c4;
	font-weight: bold;
}
.ron-subscribe-msg.is-error {
	color: #ffb0b0;
	font-weight: bold;
}

/* SP改行用 — PCでは非表示 */
.sp-only { display: none; }

/* アンカーテキストリンク（上部ページネーション下） */
.ron-subscribe-anchor-wrap {
	text-align: center;
	margin: 10px 0 14px;
}
.ron-subscribe-anchor {
	display: inline-block;
	font-size: 0.88em;
	color: #0d1b3e;
	text-decoration: underline;
	text-underline-offset: 3px;
	padding: 4px 0;
	transition: opacity 0.15s;
}
.ron-subscribe-anchor:hover { opacity: 0.7; }
.ron-subscribe-anchor::before { content: "✉ "; font-size: 0.95em; }

/* --- SP --- */
@media (max-width: 640px) {
	.sp-only { display: inline; }
	.ron-subscribe {
		padding: 22px 16px;
		margin: 22px 0;
	}
	.ron-subscribe-title {
		font-size: 1.2em;
	}
	.ron-subscribe-desc {
		font-size: 0.84em;
		text-align: left;
	}
	.ron-subscribe-msg {
		text-align: left;
	}
	.ron-subscribe-form {
		flex-direction: column;
		gap: 8px;
	}
	.ron-subscribe-btn {
		width: 100%;
		padding: 0;
	}
}
