.dk-shoyaku-index {
	max-width: 920px;
	margin: 0 auto;
	padding: 10px 0 60px;
}

.dk-shoyaku-intro {
	text-align: center;
	padding: 18px 20px 28px;
}

.dk-shoyaku-intro h1 {
	margin: 0 0 12px;
	font-size: clamp(28px, 4vw, 40px);
}

.dk-shoyaku-intro p {
	margin: 0;
	font-size: 17px;
}

.dk-shoyaku-search-card,
.dk-shoyaku-item,
.dk-shoyaku-empty {
	background: #fffdf8;
	border: 1px solid #e4dccb;
	border-radius: 18px;
	box-shadow: 0 5px 16px rgba(70, 60, 45, 0.07);
}

.dk-shoyaku-search-card {
	padding: 28px;
	margin-bottom: 24px;
}

.dk-shoyaku-search-card h2,
.dk-shoyaku-kana h2 {
	margin: 0 0 12px;
	font-size: 25px;
}

.dk-shoyaku-search-form {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 10px;
	align-items: center;
}

.dk-shoyaku-search-form input {
	min-width: 0;
	height: 54px;
	padding: 0 16px;
	border: 1px solid #d8ccb7;
	border-radius: 13px;
	background: #fff;
	font-size: 16px;
}

.dk-shoyaku-search-form button {
	height: 54px;
	padding: 0 26px;
	border: 0;
	border-radius: 13px;
	background: #4f8067;
	color: #fff;
	font-weight: 700;
	font-size: 16px;
	cursor: pointer;
}

.dk-shoyaku-example {
	margin: 12px 0 0;
	font-size: 14px;
}

.dk-shoyaku-kana {
	margin: 34px 0;
}

.dk-shoyaku-kana > p {
	margin: 0 0 16px;
}

.dk-shoyaku-kana-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 10px;
}

.dk-shoyaku-kana-grid a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 8px;
	background: #fffdf8;
	border: 1px solid #e4dccb;
	border-radius: 12px;
	text-decoration: none;
	font-weight: 700;
}

.dk-shoyaku-kana-grid a.is-active {
	background: #edf5ef;
	border-color: #4f8067;
}

.dk-shoyaku-results {
	margin-top: 38px;
}

.dk-shoyaku-results-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
	padding-left: 14px;
	border-left: 4px solid #6c9a7e;
}

.dk-shoyaku-results-head h2 {
	margin: 0;
	font-size: 25px;
}

.dk-shoyaku-results-head span {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	background: #f1eadb;
	font-size: 13px;
	white-space: nowrap;
}

.dk-shoyaku-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.dk-shoyaku-item {
	padding: 20px;
	transition: transform .18s ease, box-shadow .18s ease;
}

.dk-shoyaku-item:hover {
	transform: translateY(-3px);
	box-shadow: 0 9px 20px rgba(70, 60, 45, 0.11);
}

.dk-shoyaku-item h3 a {
	color: #4f8067;
	text-decoration: none;
}

.dk-shoyaku-item h3 a:hover {
	color: #4f8067;
	text-decoration: underline;
}

.dk-shoyaku-item-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
}

.dk-shoyaku-item h3 {
	margin: 0;
	font-size: 22px;
}


.dk-shoyaku-item .dk-shoyaku-kana {
	margin: 3px 0 12px;
	font-size: 13px;
	opacity: 0.75;
}

.dk-shoyaku-explanation {
	margin: 0 0 14px;
	line-height: 1.85;
}

.dk-shoyaku-meta {
	padding-top: 12px;
	border-top: 1px solid #eee5d6;
}

.dk-shoyaku-meta p {
	margin: 7px 0 0;
	line-height: 1.7;
	font-size: 14px;
}

.dk-shoyaku-meta p span {
	display: block;
	margin-bottom: 2px;
	font-weight: 700;
}

.dk-shoyaku-empty {
	padding: 28px;
}

.dk-shoyaku-empty p:last-child {
	margin-bottom: 0;
}

@media (max-width: 700px) {
	.dk-shoyaku-search-form {
		grid-template-columns: 1fr;
	}

	.dk-shoyaku-kana-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.dk-shoyaku-list {
		grid-template-columns: 1fr;
	}

	.dk-shoyaku-search-card {
		padding: 20px;
	}
}

/* 生薬個別ページ：検索ページと同じデザイン言語で統一 */
.dk-shoyaku-detail-page {
	max-width: 100%;
	margin: 0;
	padding: 0 0 60px;
}

.dk-shoyaku-detail-wrap {
	max-width: 920px;
	margin: 0 auto;
	padding: 10px 0 0;
}

.dk-shoyaku-detail-breadcrumb {
	margin: 0 0 12px;
	padding: 6px 0;
	font-size: 13px;
	line-height: 1.6;
}

.dk-shoyaku-detail-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dk-shoyaku-detail-breadcrumb li {
	display: inline-flex;
	align-items: center;
}

.dk-shoyaku-detail-breadcrumb li:not(:last-child)::after {
	content: " / ";
	margin: 0 .45em;
	opacity: .6;
}

.dk-shoyaku-detail-breadcrumb a {
	text-decoration: none;
}

.dk-shoyaku-detail-breadcrumb a:hover {
	text-decoration: underline;
}

.dk-shoyaku-detail-hero {
	background: #fffdf8;
	border: 1px solid #e4dccb;
	border-radius: 18px;
	box-shadow: 0 5px 16px rgba(70, 60, 45, 0.07);
	padding: 26px 28px 22px;
	margin-bottom: 18px;
}

.dk-shoyaku-detail-title h1 {
	margin: 0 0 6px;
	font-size: clamp(28px, 4vw, 38px);
	line-height: 1.35;
}

.dk-shoyaku-detail-kana {
	margin: 0;
	font-size: 15px;
	opacity: .72;
}

.dk-shoyaku-detail-content {
	background: #fffdf8;
	border: 1px solid #e4dccb;
	border-radius: 18px;
	box-shadow: 0 5px 16px rgba(70, 60, 45, 0.07);
	padding: 8px 28px 18px;
}

.dk-shoyaku-detail-section {
	margin: 0;
	padding: 24px 0;
	border-bottom: 1px solid #eee5d6;
}

.dk-shoyaku-detail-section:last-child {
	border-bottom: 0;
}

.dk-shoyaku-detail-section h2 {
	margin: 0 0 12px;
	font-size: 24px;
	line-height: 1.45;
}

.dk-shoyaku-detail-body {
	line-height: 1.9;
}

.dk-shoyaku-detail-body p {
	margin: 0;
}

.dk-shoyaku-detail-references {
	margin: 0;
	padding-left: 1.3em;
	line-height: 1.9;
}

.dk-shoyaku-detail-references a {
	text-decoration: none;
}

.dk-shoyaku-detail-references a:hover {
	text-decoration: underline;
}

.dk-shoyaku-detail-back {
	margin: 18px 0 0;
	text-align: left;
}

.dk-shoyaku-detail-back a {
	display: inline-block;
	padding: 9px 14px;
	border: 1px solid #d8ccb7;
	border-radius: 12px;
	background: #fffdf8;
	text-decoration: none;
	font-size: 14px;
}

.dk-shoyaku-detail-back a:hover {
	background: #edf5ef;
	border-color: #4f8067;
}

@media (max-width: 700px) {
	.dk-shoyaku-detail-wrap {
		padding: 8px 16px 0;
	}

	.dk-shoyaku-detail-hero {
		padding: 20px;
	}

	.dk-shoyaku-detail-content {
		padding: 4px 20px 14px;
	}

	.dk-shoyaku-detail-section {
		padding: 20px 0;
	}

	.dk-shoyaku-detail-section h2 {
		font-size: 21px;
	}

	.dk-shoyaku-detail-breadcrumb {
		font-size: 12px;
	}
}
.dk-shoyaku-related-formulas { margin: 1em 0 0 1.2em; padding: 0; }
.dk-shoyaku-related-formulas li { margin: .45em 0; }
.dk-shoyaku-related-formulas a { text-decoration: none; }
.dk-shoyaku-related-formulas a:hover { text-decoration: underline; }
