@charset "utf-8";

/* ============================================================
   OTC 市販薬一覧ページ
   ============================================================ */

#fv .fv_top .left h2 { line-height: 1.25; }
#fv .fv_top .left .fv_lead {
	font-family: 'Noto-Sans-JP-Regular';
	color: #004092;
	font-size: 15px;
	line-height: 1.9;
	margin-top: 18px;
	max-width: 480px;
}
#fv .fv_top .fv_image { background: url(../images/company/fv_img01.webp) no-repeat left center /100%; }

/* ===== 注意事項 ===== */
#otc-notice { padding: 60px 0 30px; }
#otc-notice .notice_box {
	background: #F4FAFF;
	border-left: 4px solid #004092;
	border-radius: 12px;
	padding: 28px 36px;
	max-width: 1000px;
	margin: 0 auto;
}
#otc-notice .notice_title {
	font-family: 'Noto-Sans-JP-Bold';
	color: #004092;
	font-size: 17px;
	margin-bottom: 14px;
	letter-spacing: 0.05em;
}
#otc-notice .notice_box > ul { list-style: none; padding: 0; margin: 0; }
#otc-notice .notice_box > ul > li {
	font-family: 'Noto-Sans-JP-Regular';
	color: #004092;
	font-size: 14px;
	line-height: 1.85;
	padding-left: 1.2em;
	position: relative;
	margin-bottom: 0.4em;
}
#otc-notice .notice_box > ul > li::before {
	content: "・";
	position: absolute;
	left: 0;
	color: #2EA34D;
	font-weight: bold;
}
#otc-notice .notice_box > ul > li strong { font-family: 'Noto-Sans-JP-Bold'; color: #004092; }

/* ===== セクションナビゲーション ===== */
.section_nav {
	max-width: 1000px;
	margin: 28px auto 0;
	background: #FFF;
	border: 1px solid #B3C7E0;
	border-radius: 12px;
	padding: 22px 28px;
}
.section_nav_title {
	font-family: 'Noto-Sans-JP-Bold';
	color: #004092;
	font-size: 14px;
	margin-bottom: 14px;
	letter-spacing: 0.05em;
}
.section_nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.section_nav li a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	background: #F4FAFF;
	border-radius: 999px;
	font-family: 'Noto-Sans-JP-Medium';
	color: #004092;
	font-size: 13px;
	text-decoration: none;
	transition: background 0.2s ease;
}
.section_nav li a:hover { background: #EBF7FF; }
.section_nav li a span {
	background: #004092;
	color: #FFF;
	font-family: 'Jost', system-ui;
	font-size: 11px;
	padding: 2px 8px;
	border-radius: 999px;
	letter-spacing: 0.04em;
}

/* ===== リスク区分凡例 ===== */
.legend {
	background: #FFF;
	border: 1px solid #B3C7E0;
	border-radius: 12px;
	padding: 22px 28px;
	max-width: 1000px;
	margin: 24px auto 0;
}
.legend_title {
	font-family: 'Noto-Sans-JP-Bold';
	color: #004092;
	font-size: 14px;
	margin-bottom: 12px;
	letter-spacing: 0.05em;
}
.legend ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.legend ul li {
	font-family: 'Noto-Sans-JP-Regular';
	color: #004092;
	font-size: 13px;
	line-height: 1.6;
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

/* ===== リスク区分バッジ ===== */
.risk-badge {
	display: inline-block;
	font-family: 'Noto-Sans-JP-Bold';
	font-size: 12px;
	padding: 4px 12px;
	border-radius: 999px;
	letter-spacing: 0.04em;
	white-space: nowrap;
	line-height: 1.4;
}
.risk-badge.risk-1 { background: #D9342B; color: #FFF; }
.risk-badge.risk-2-designated { background: #E87A00; color: #FFF; }
.risk-badge.risk-2 { background: #004092; color: #FFF; }
.risk-badge.risk-3 { background: #2EA34D; color: #FFF; }
.risk-badge.risk-quasi { background: #8E44AD; color: #FFF; }
.risk-badge.risk-device { background: #5D6D7E; color: #FFF; }
.risk-badge.risk-hygiene { background: #91C67F; color: #FFF; }

/* ===== セクション ===== */
.product_section { padding: 60px 0 0; scroll-margin-top: 20px; }
.product_section:last-of-type { padding-bottom: 60px; }
.section_heading {
	text-align: center;
	font-family: 'Noto-Sans-JP-Bold';
	color: #004092;
	font-size: 24px;
	margin-bottom: 40px;
	letter-spacing: 0.05em;
}
.section_heading .section_count {
	display: block;
	font-family: 'Jost', system-ui;
	font-size: 12px;
	color: #2EA34D;
	letter-spacing: 0.1em;
	margin-bottom: 6px;
	font-weight: 500;
}

/* ===== 商品グリッド ===== */
.product_grid {
	max-width: 1100px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 32px;
}
.product_card {
	background: #FFF;
	border: 1px solid #B3C7E0;
	border-radius: 20px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.product_card:hover {
	box-shadow: 0 8px 24px rgba(0, 64, 146, 0.12);
	transform: translateY(-2px);
}
.product_image {
	background: #F4FAFF;
	padding: 28px;
	text-align: center;
	border-bottom: 1px solid #EBF7FF;
	min-height: 240px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.product_image img {
	max-width: 100%;
	max-height: 200px;
	width: auto;
	height: auto;
	display: inline-block;
	object-fit: contain;
}
.product_body { padding: 24px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.product_head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
	flex-wrap: wrap;
}
.product_head .category {
	font-family: 'Noto-Sans-JP-Medium';
	color: #2EA34D;
	font-size: 12px;
	letter-spacing: 0.05em;
}
.product_name {
	font-family: 'Noto-Sans-JP-Bold';
	color: #004092;
	font-size: 20px;
	line-height: 1.4;
	margin-bottom: 4px;
}
.product_name .volume {
	display: inline-block;
	font-family: 'Noto-Sans-JP-Medium';
	font-size: 13px;
	color: #004092;
	margin-left: 10px;
	padding: 2px 10px;
	background: #EBF7FF;
	border-radius: 4px;
	vertical-align: middle;
}
.product_card .maker {
	font-family: 'Noto-Sans-JP-Regular';
	color: #808080;
	font-size: 12px;
	margin-bottom: 16px;
	letter-spacing: 0.03em;
}
.product_info {
	border-top: 1px solid #EBF7FF;
	padding-top: 14px;
	margin: 0;
}
.product_info dt {
	font-family: 'Noto-Sans-JP-Bold';
	color: #004092;
	font-size: 12px;
	margin-bottom: 4px;
	letter-spacing: 0.04em;
}
.product_info dd {
	font-family: 'Noto-Sans-JP-Regular';
	color: #004092;
	font-size: 13px;
	line-height: 1.75;
	margin: 0;
	padding: 0;
}

/* ===== 相談導線 ===== */
#otc-consult { padding: 60px 0 100px; }
#otc-consult .consult_box {
	background: #F4FAFF;
	border-radius: 24px;
	padding: 48px 56px;
	max-width: 880px;
	margin: 0 auto;
	text-align: center;
}
#otc-consult h3 { margin-bottom: 24px; }
#otc-consult .consult_lead {
	font-family: 'Noto-Sans-JP-Regular';
	color: #004092;
	font-size: 15px;
	line-height: 1.9;
	margin-bottom: 32px;
}
#otc-consult .consult_actions {
	display: flex;
	gap: 16px;
	justify-content: center;
	margin-bottom: 24px;
	flex-wrap: wrap;
}
#otc-consult .btn_line,
#otc-consult .btn_contact {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 28px;
	border-radius: 999px;
	font-family: 'Noto-Sans-JP-Bold';
	font-size: 14px;
	text-decoration: none;
	letter-spacing: 0.05em;
	transition: opacity 0.2s ease;
}
#otc-consult .btn_line { background: #06C755; color: #FFF; }
#otc-consult .btn_contact { background: #004092; color: #FFF; }
#otc-consult .btn_line:hover,
#otc-consult .btn_contact:hover { opacity: 0.85; }
#otc-consult .btn_line img { width: 24px; height: 24px; }
#otc-consult .consult_tel {
	font-family: 'Noto-Sans-JP-Regular';
	color: #004092;
	font-size: 14px;
	letter-spacing: 0.03em;
}
#otc-consult .consult_tel a {
	font-family: 'Noto-Sans-JP-Bold';
	color: #2E933C;
	text-decoration: none;
	font-size: 18px;
	margin-left: 6px;
}

/* ----------------------------- mobile ------------------------------- */
@media only screen and (max-width: 768px) {
	#fv .fv_top .left .fv_lead { font-size: 13px; max-width: 100%; }

	#otc-notice { padding: 30px 0 20px; }
	#otc-notice .notice_box { padding: 20px 22px; margin: 0 16px; }
	#otc-notice .notice_title { font-size: 15px; }
	#otc-notice .notice_box > ul > li { font-size: 13px; }

	.section_nav { padding: 18px 20px; margin: 22px 16px 0; }
	.section_nav ul { gap: 8px; }
	.section_nav li a { padding: 8px 14px; font-size: 12px; }

	.legend { padding: 18px 20px; margin: 18px 16px 0; }
	.legend ul li { font-size: 12px; }

	.product_section { padding: 40px 0 0; }
	.section_heading { font-size: 19px; margin-bottom: 24px; padding: 0 16px; }

	.product_grid {
		grid-template-columns: 1fr;
		gap: 20px;
		padding: 0 16px;
	}
	.product_image { padding: 20px; min-height: 200px; }
	.product_image img { max-height: 160px; }
	.product_body { padding: 20px 22px 22px; }
	.product_name { font-size: 17px; }
	.product_name .volume { font-size: 12px; }
	.product_info dd { font-size: 13px; }

	#otc-consult { padding: 30px 0 50px; }
	#otc-consult .consult_box { padding: 32px 24px; margin: 0 16px; }
	#otc-consult .consult_actions { flex-direction: column; align-items: stretch; }
	#otc-consult .btn_line,
	#otc-consult .btn_contact { justify-content: center; }
}
