@charset "utf-8";

/* ========================================
   失敗しない景品選び / SP専用
   既存SPテンプレート上書き用
======================================== */

#hyakka {
	padding: 0 0 28px;
	background: #fff;
	color: #24384d;
}

#hyakka * {
	box-sizing: border-box;
}

#hyakka img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}

#hyakka a {
	text-decoration: none;
}

#hyakka .breadcrumb {
	padding: 10px 12px 0;
	margin: 0 0 12px;
}

#hyakka .breadcrumb ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 11px;
	line-height: 1.5;
	color: #6c7e92;
}

#hyakka .breadcrumb li {
	margin: 0 4px 0 0;
}

#hyakka .breadcrumb a {
	color: #2a6fb0;
}

#hyakka .keihin-hero {
	margin: 0 12px 18px;
}

#hyakka .keihin-hero__head {
	display: flex;
	align-items: center;
	gap: 0;
	border-radius: 12px;
	overflow: hidden;
	background: linear-gradient(90deg, #292f38 0%, #353d48 100%);
	box-shadow: 0 5px 14px rgba(18, 44, 82, .16);
}

#hyakka .keihin-hero__icon {
	flex: 0 0 70px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px 4px;
}

#hyakka .keihin-hero__icon img {
	width: 56px;
}

#hyakka .keihin-hero h2 {
	flex: 1;
	margin: 0;
	padding: 14px 14px 14px 4px;
	font-size: 22px;
	line-height: 1.35;
	font-weight: bold;
	letter-spacing: .01em;
	color: #fff;
	background: none;
	border: none;
}

#hyakka .keihin-hero__body {
	padding: 14px 2px 0;
}

#hyakka .keihin-hero__eyebrow {
	margin: 0 0 8px;
	font-size: 12px;
	line-height: 1.4;
	font-weight: bold;
	color: #1469b8;
	letter-spacing: .04em;
}

#hyakka .keihin-hero__lead {
	margin: 0;
	font-size: 14px;
	line-height: 1.9;
	color: #32465c;
}

#hyakka .keihin-hero__links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: 14px;
}

#hyakka .keihin-hero__links a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 11px 10px;
	border: 1px solid #1e6aad;
	border-radius: 999px;
	background: linear-gradient(180deg, #2e8be0 0%, #196db9 100%);
	box-shadow: 0 3px 8px rgba(23, 85, 144, .15);
	font-size: 13px;
	line-height: 1.35;
	font-weight: bold;
	text-align: center;
	color: #fff;
}

#hyakka .keihin-hero__links a:last-child {
	grid-column: 1 / -1;
}

#hyakka .rule-inner {
	padding: 0 12px;
	border: none;
}

#hyakka .keihin-section {
	margin: 0 0 18px;
	padding: 16px 14px;
	border: 1px solid #d6e4f2;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 3px 10px rgba(27, 76, 133, .06);
}

#hyakka .keihin-section h3 {
	margin: 0 0 12px;
	padding: 0 0 8px;
	border: none;
	border-bottom: 2px solid #d8e8f7;
	font-size: 18px;
	line-height: 1.45;
	font-weight: bold;
	color: #0f5fa8;
}

#hyakka .keihin-note,
#hyakka .keihin-card p,
#hyakka .keihin-section p,
#hyakka .keihin-section li {
	font-size: 14px;
	line-height: 1.85;
}

#hyakka .keihin-note p,
#hyakka .keihin-card p,
#hyakka .keihin-section p {
	margin: 0;
	color: #32465c;
}

#hyakka .keihin-note p+p,
#hyakka .keihin-card p+p {
	margin-top: 10px;
}

#hyakka .keihin-note strong,
#hyakka .keihin-card strong,
#hyakka .keihin-hero strong,
#hyakka .keihin-section strong {
	font-weight: bold;
	color: #163f6b;
}

#hyakka .keihin-steps,
#hyakka .keihin-grid,
#hyakka .keihin-search-grid {
	display: grid;
	gap: 12px;
}

#hyakka .keihin-step,
#hyakka .keihin-card,
#hyakka .keihin-search-card {
	border-radius: 12px;
}

#hyakka .keihin-step {
	padding: 14px 13px;
	background: #f4f9ff;
	border: 1px solid #d4e4f2;
}

#hyakka .keihin-step__no {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 72px;
	margin: 0 0 8px;
	padding: 4px 10px;
	border-radius: 999px;
	background: #196db9;
	font-size: 11px;
	line-height: 1;
	font-weight: bold;
	letter-spacing: .04em;
	color: #fff;
}

#hyakka .keihin-step h4,
#hyakka .keihin-card h4 {
	margin: 0 0 8px;
	padding: 0;
	background: none;
	font-size: 16px;
	line-height: 1.5;
	font-weight: bold;
	color: #173f6a;
}

#hyakka .keihin-step p {
	margin: 0;
	color: #41586f;
}

#hyakka .keihin-card {
	padding: 14px 13px;
	border: 1px solid #d7e4f1;
	background: #fff;
	box-shadow: 0 2px 8px rgba(27, 76, 133, .05);
}

#hyakka .keihin-card--soft {
	background: #f7fbff;
}

#hyakka .keihin-card--accent {
	background: linear-gradient(180deg, #eff7ff 0%, #f8fbff 100%);
	border-color: #bfd8f0;
}

#hyakka .keihin-card--tone1 {
	background: #f7fbff;
}

#hyakka .keihin-card--tone2 {
	background: #fbfdff;
}

#hyakka .keihin-card--tone3 {
	background: #f5f9ff;
}

#hyakka .keihin-checklist,
#hyakka .keihin-dots {
	margin: 0;
	padding: 0;
	list-style: none;
}

#hyakka .keihin-checklist li,
#hyakka .keihin-dots li {
	position: relative;
	padding-left: 1.15em;
	color: #32465c;
}

#hyakka .keihin-checklist li+li,
#hyakka .keihin-dots li+li {
	margin-top: 6px;
}

#hyakka .keihin-checklist li:before,
#hyakka .keihin-dots li:before {
	content: "";
	position: absolute;
	left: 0;
	top: .7em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #2f81cf;
	transform: translateY(-50%);
}

#hyakka .keihin-formula {
	margin: 0 0 10px;
	padding: 11px 12px;
	border-radius: 10px;
	background: #fff;
	border: 1px solid #cadef1;
	font-size: 13px;
	line-height: 1.7;
	font-weight: bold;
	color: #17456f;
	word-break: break-word;
}

#hyakka .keihin-formula--small {
	font-size: 12px;
}

#hyakka .keihin-note--sub {
	margin-top: 12px;
	padding: 13px;
	border-radius: 12px;
	background: #f7fbff;
	border: 1px solid #d6e6f4;
}

#hyakka .keihin-mini-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin-top: 12px;
}

#hyakka .keihin-mini-links a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 9px 8px;
	border-radius: 999px;
	border: 1px solid #c7dced;
	background: #fff;
	font-size: 12px;
	line-height: 1.35;
	font-weight: bold;
	text-align: center;
	color: #1966af;
}

#hyakka .keihin-search-card {
	display: block;
	padding: 14px 13px;
	border: 1px solid #d6e4f1;
	background: linear-gradient(180deg, #fbfdff 0%, #f5f9ff 100%);
	box-shadow: 0 2px 8px rgba(27, 76, 133, .05);
}

#hyakka .keihin-search-card strong {
	display: block;
	margin: 0 0 6px;
	font-size: 16px;
	line-height: 1.45;
	font-weight: bold;
	color: #145fa8;
}

#hyakka .keihin-search-card span {
	display: block;
	font-size: 13px;
	line-height: 1.75;
	color: #495d72;
}

#hyakka .keihin-section--cta {
	padding: 0;
	border: none;
	background: none;
	box-shadow: none;
}

#hyakka .keihin-cta {
	padding: 16px 14px;
	border-radius: 16px;
	background: linear-gradient(180deg, #eef7ff 0%, #f8fbff 100%);
	border: 1px solid #c6dced;
	box-shadow: 0 4px 12px rgba(27, 76, 133, .08);
}

#hyakka .keihin-cta__body h3 {
	margin: 0 0 10px;
	padding: 0;
	border: none;
	font-size: 19px;
	line-height: 1.5;
	color: #0f5fa8;
}

#hyakka .keihin-cta__body p {
	margin: 0;
	font-size: 14px;
	line-height: 1.85;
	color: #32465c;
}

#hyakka .keihin-cta__actions {
	display: grid;
	gap: 10px;
	margin-top: 14px;
}

#hyakka .keihin-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 12px 14px;
	border-radius: 999px;
	font-size: 14px;
	line-height: 1.35;
	font-weight: bold;
	text-align: center;
}

#hyakka .keihin-btn--primary {
	background: linear-gradient(180deg, #2e8be0 0%, #196db9 100%);
	border: 1px solid #1962a5;
	box-shadow: 0 4px 10px rgba(23, 85, 144, .14);
	color: #fff;
}

#hyakka .keihin-btn--ghost {
	background: #fff;
	border: 1px solid #b8d2e7;
	color: #1966af;
}

/* 既存SPテンプレートとの干渉を軽減 */
#hyakka .clearfix:after {
	content: "";
	display: block;
	clear: both;
}

/* やや大きめのSP */
@media screen and (min-width: 390px) {
	#hyakka .keihin-hero h2 {
		font-size: 24px;
	}

	#hyakka .keihin-section h3,
	#hyakka .keihin-cta__body h3 {
		font-size: 19px;
	}

	#hyakka .keihin-step h4,
	#hyakka .keihin-card h4,
	#hyakka .keihin-search-card strong {
		font-size: 17px;
	}
}

/* タブレット寄り幅 */
@media screen and (min-width: 560px) {

	#hyakka .keihin-hero__links,
	#hyakka .keihin-mini-links,
	#hyakka .keihin-cta__actions {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	#hyakka .keihin-hero__links a:last-child {
		grid-column: auto;
	}

	#hyakka .keihin-grid--trouble,
	#hyakka .keihin-grid--audience,
	#hyakka .keihin-search-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}