@charset "utf-8";
/*
 * 和漢医薬学総合研究所基金（和漢研基金）
 * 基金TOP / プロジェクト一覧 / プロジェクト詳細 共通スタイル
 */

/* ------------------------------------------------------------------
   ベース
------------------------------------------------------------------ */
.fund_page {
	color: #333;
	font-size: 15px;
	line-height: 1.8;
}

.fund_page img {
	max-width: 100%;
	height: auto;
}

.fund_section {
	padding: 60px 0;
}

.fund_section.fund_about,
.fund_section.fund_donate {
	background: #eff5f9;
}

.fund_section.fund_detail {
	background: #eff5f9;
}

/* 見出し（英字 + 日本語 + 罫線） */
.fund_ttl {
	display: flex;
	align-items: center;
	margin: 0 0 24px;
	font-size: 26px;
	line-height: 1.4;
}

.fund_ttl_en {
	flex: 0 0 auto;
	margin-right: 16px;
	color: #2a8ba6;
	font-size: 12px;
	font-weight: bold;
	letter-spacing: 0.12em;
}

.fund_ttl_ja {
	flex: 0 0 auto;
	color: #123f73;
	font-weight: bold;
}

.fund_ttl:after {
	content: "";
	flex: 1 1 auto;
	height: 2px;
	margin-left: 20px;
	background: linear-gradient(to right, #2a8ba6, #cfe2ec);
}

.fund_section_lead {
	margin: 0 0 24px;
	font-size: 14px;
}

/* ------------------------------------------------------------------
   ボタン
------------------------------------------------------------------ */
.fund_btn {
	display: inline-block;
	padding: 12px 28px;
	border: 2px solid transparent;
	border-radius: 2px;
	font-size: 15px;
	font-weight: bold;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	transition: opacity 0.2s;
}

.fund_btn:hover,
.fund_btn:focus {
	opacity: 0.8;
	text-decoration: none;
}

.fund_btn_gold {
	background: #d7a600;
	border-color: #d7a600;
	color: #14335c;
}

.fund_btn_gold:hover,
.fund_btn_gold:focus {
	color: #14335c;
}

.fund_btn_navy {
	background: #123f73;
	border-color: #123f73;
	color: #fff;
}

.fund_btn_navy:hover,
.fund_btn_navy:focus {
	color: #fff;
}

.fund_btn_teal {
	background: #12699a;
	border-color: #12699a;
	color: #fff;
}

.fund_btn_teal:hover,
.fund_btn_teal:focus {
	color: #fff;
}

.fund_btn_outline {
	background: transparent;
	border-color: #fff;
	color: #fff;
}

.fund_btn_outline:hover,
.fund_btn_outline:focus {
	color: #fff;
}

.fund_btn_outline_navy {
	background: #fff;
	border-color: #c3d3e2;
	color: #123f73;
}

.fund_btn_outline_navy:hover,
.fund_btn_outline_navy:focus {
	color: #123f73;
}

.fund_btn_white {
	background: #fff;
	border-color: #fff;
	color: #12699a;
}

.fund_btn_white:hover,
.fund_btn_white:focus {
	color: #12699a;
}

.fund_btn_sm {
	padding: 8px 10px;
	font-size: 13px;
}

/* ------------------------------------------------------------------
   ヒーロー
------------------------------------------------------------------ */
.fund_hero {
	padding: 76px 0 68px;
	border-bottom: 4px solid #d7a600;
	background-color: #0e3a63;
	/* 左側の文字可読性を確保するため、背景画像に濃紺のグラデーションを重ねます。 */
	background-image: linear-gradient(90deg, rgba(9, 44, 78, 0.55) 0%, rgba(9, 44, 78, 0.25) 50%, rgba(9, 44, 78, 0) 100%), url(../../images/fund/fund_top.png);
	background-repeat: no-repeat, no-repeat;
	background-size: cover, cover;
	background-position: center, center;
	color: #fff;
}

.fund_hero_en {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: bold;
	letter-spacing: 0.22em;
	opacity: 0.9;
}

.fund_hero_ttl {
	margin: 0 0 20px;
	color: #fff;
	font-size: 40px;
	font-weight: normal;
	line-height: 1.3;
}

.fund_hero_lead {
	margin: 0 0 28px;
	font-size: 15px;
	line-height: 1.9;
}

.fund_hero_btns {
	margin: 0;
}

.fund_hero_btns .fund_btn {
	margin: 0 12px 8px 0;
	min-width: 210px;
}

/* パンくず */
.fund_breadcrumb {
	background: #fff;
}

/* ------------------------------------------------------------------
   基金の概要
------------------------------------------------------------------ */
.fund_about_catch {
	margin: 0 0 12px;
	color: #123f73;
	font-size: 22px;
	font-weight: bold;
	line-height: 1.6;
}

.fund_about_text {
	margin: 0 0 24px;
	font-size: 14px;
}

.fund_about_cards {
	margin-left: -8px;
	margin-right: -8px;
}

.fund_about_col {
	padding-left: 8px;
	padding-right: 8px;
	margin-bottom: 16px;
}

.fund_about_card {
	position: relative;
	height: 100%;
	padding: 14px 16px 16px;
	border: 1px solid #cfdeea;
	background: #fff;
	overflow: hidden;
}

.fund_about_num {
	position: absolute;
	right: 6px;
	top: 0;
	color: #d5e3ee;
	font-size: 46px;
	font-weight: bold;
	line-height: 1;
}

.fund_about_card_ttl {
	position: relative;
	margin: 0 0 8px;
	padding: 0 0 8px;
	border-bottom: 1px solid #dbe6ef;
	color: #123f73;
	font-size: 15px;
	font-weight: bold;
}

.fund_about_card_text {
	position: relative;
	margin: 0;
	font-size: 13px;
	line-height: 1.7;
}

.fund_about_side {
	display: flex;
	align-items: flex-start;
	justify-content: center;
}

.fund_about_figure {
	/* 画像の原寸（299px）を超えて拡大するとぼやけるため上限を設けます。 */
	width: 100%;
	max-width: 315px;
	margin: 0;
	padding: 8px;
	background: #fff;
	box-shadow: 0 3px 12px rgba(18, 63, 115, 0.18);
	/* デザイン案に合わせて写真をわずかに傾けます。 */
	transform: rotate(-1.5deg);
}

.fund_about_figure img {
	display: block;
	width: 100%;
}

.fund_about_figure figcaption {
	margin-top: 6px;
	font-size: 12px;
	text-align: right;
}

.fund_about_editor {
	margin-top: 32px;
	padding: 24px;
	background: #fff;
	border: 1px solid #dbe6ef;
}

/* ------------------------------------------------------------------
   プロジェクト一覧（フィルタ・カード）
------------------------------------------------------------------ */
.fund_filter {
	margin: 0 0 24px;
}

.fund_filter_btn {
	margin: 0 6px 8px 0;
	padding: 6px 20px;
	border: 1px solid #123f73;
	border-radius: 20px;
	background: #fff;
	color: #123f73;
	font-size: 13px;
	line-height: 1.4;
	cursor: pointer;
}

.fund_filter_btn.is_active,
.fund_filter_btn:hover {
	background: #123f73;
	color: #fff;
}

.fund_project_list {
	margin-left: -8px;
	margin-right: -8px;
}

.fund_project_col {
	padding-left: 8px;
	padding-right: 8px;
	margin-bottom: 20px;
}

.fund_project_col[hidden] {
	display: none;
}

.fund_project_card {
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid #cfdeea;
	background: #fff;
}

.fund_project_thumb {
	position: relative;
	overflow: hidden;
}

.fund_project_thumb img,
.fund_project_noimg {
	display: block;
	width: 100%;
	height: 150px;
	object-fit: cover;
	background: #dbe6ef;
}

.fund_project_label {
	position: absolute;
	left: 8px;
	top: 8px;
	padding: 3px 10px;
	background: rgba(18, 63, 115, 0.9);
	color: #fff;
	font-size: 11px;
	line-height: 1.5;
}

.fund_project_body {
	flex: 1 1 auto;
	padding: 12px 12px 4px;
}

.fund_project_ttl {
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: bold;
	line-height: 1.5;
}

.fund_project_ttl a {
	color: #1a5fa8;
	text-decoration: none;
}

.fund_project_text {
	margin: 0;
	font-size: 12px;
	line-height: 1.7;
}

.fund_project_btns {
	display: flex;
	gap: 8px;
	padding: 12px;
}

.fund_project_btns .fund_btn {
	flex: 1 1 0;
	min-width: 0;
}

.fund_project_more {
	margin: 8px 0 0;
	text-align: right;
}

.fund_project_more a {
	color: #123f73;
	font-size: 13px;
	font-weight: bold;
	text-decoration: none;
}

.fund_project_empty {
	padding: 24px 0;
}

/* ------------------------------------------------------------------
   プロジェクト詳細
------------------------------------------------------------------ */
.fund_detail_box {
	padding: 32px;
	background: #fff;
}

.fund_detail_head {
	margin-bottom: 24px;
}

.fund_detail_label {
	margin: 0 0 10px;
}

.fund_detail_label span {
	display: inline-block;
	padding: 3px 12px;
	background: #123f73;
	color: #fff;
	font-size: 12px;
	line-height: 1.6;
}

.fund_detail_ttl {
	margin: 0 0 12px;
	color: #16305c;
	font-size: 28px;
	font-weight: bold;
	line-height: 1.4;
}

.fund_detail_lead {
	margin: 0;
	color: #1a5fa8;
	font-size: 16px;
	font-weight: bold;
	line-height: 1.7;
}

.fund_detail_figure {
	margin: 0;
}

.fund_detail_figure img {
	width: 100%;
}

.fund_detail_figure figcaption {
	margin-top: 6px;
	font-size: 12px;
}

.fund_detail_table {
	width: 100%;
	margin: 0 0 28px;
	border-top: 1px solid #dbe6ef;
	border-collapse: collapse;
}

.fund_detail_table th,
.fund_detail_table td {
	padding: 16px 20px;
	border-bottom: 1px solid #dbe6ef;
	font-size: 14px;
	line-height: 1.8;
	text-align: left;
	vertical-align: top;
}

.fund_detail_table th {
	width: 180px;
	background: #f4f8fb;
	color: #1a5fa8;
	font-weight: bold;
	white-space: nowrap;
}

.fund_detail_outcomes {
	margin: 0;
	padding: 0;
	list-style: none;
}

.fund_detail_outcomes li {
	padding-left: 1em;
	text-indent: -1em;
}

.fund_detail_outcomes li:before {
	content: "・";
}

/* リード文の下に入る本文。デザイン案では写真の左側（col-lg-7）に収まります。 */
.fund_detail_editor {
	margin: 16px 0 0;
	font-size: 14px;
}

.fund_detail_editor p {
	margin: 0 0 1em;
}

.fund_detail_editor p:last-child {
	margin-bottom: 0;
}

.fund_detail_btns {
	margin: 0;
	text-align: center;
}

.fund_detail_btns .fund_btn {
	margin: 0 8px 8px;
	min-width: 280px;
}

/* ------------------------------------------------------------------
   寄附特典
------------------------------------------------------------------ */
.fund_benefit_col {
	margin-bottom: 16px;
}

.fund_benefit_card {
	height: 100%;
	padding: 20px;
	border: 1px solid #cfdeea;
	background: #fff;
}

.fund_benefit_ttl {
	margin: 0 0 10px;
	color: #123f73;
	font-size: 16px;
	font-weight: bold;
}

.fund_benefit_ttl i {
	margin-right: 10px;
	color: #2a8ba6;
}

.fund_benefit_text {
	margin: 0;
	font-size: 13px;
	line-height: 1.8;
}

/* ------------------------------------------------------------------
   ご寄附の流れ / お問い合わせ
------------------------------------------------------------------ */
.fund_step_col {
	margin-bottom: 16px;
}

.fund_step_card {
	height: 100%;
	padding: 18px 20px;
	border: 1px solid #cfdeea;
	background: #fff;
}

.fund_step_num {
	display: inline-block;
	width: 30px;
	height: 30px;
	margin-bottom: 10px;
	border-radius: 50%;
	background: #12699a;
	color: #fff;
	font-size: 14px;
	font-weight: bold;
	line-height: 30px;
	text-align: center;
}

.fund_step_ttl {
	margin: 0 0 8px;
	color: #123f73;
	font-size: 15px;
	font-weight: bold;
}

.fund_step_text {
	margin: 0;
	font-size: 13px;
	line-height: 1.8;
}

.fund_examples {
	margin-top: 24px;
}

.fund_example_col {
	margin-bottom: 16px;
}

.fund_example_ttl {
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: bold;
}

.fund_example_img {
	width: 100%;
	border: 1px solid #dbe6ef;
	background: #fff;
}

.fund_inquiry {
	margin-top: 32px;
	align-items: stretch;
}

.fund_inquiry_ttl {
	margin: 0 0 16px;
	color: #12699a;
	font-size: 20px;
	font-weight: bold;
}

.fund_inquiry_name,
.fund_inquiry_tel,
.fund_inquiry_mail {
	margin: 0 0 8px;
	font-size: 15px;
}

.fund_inquiry_tel a,
.fund_inquiry_mail a {
	color: #333;
	text-decoration: none;
}

.fund_cta_box {
	height: 100%;
	padding: 28px 32px;
	background: #12699a;
	color: #fff;
}

.fund_cta_text {
	margin: 0 0 18px;
	font-size: 15px;
	line-height: 1.8;
}

.fund_cta_btn {
	margin: 0;
}

/* ------------------------------------------------------------------
   レスポンシブ
------------------------------------------------------------------ */
@media screen and (max-width: 991px) {
	.fund_about_side {
		margin-top: 24px;
	}

	.fund_detail_head_side {
		margin-top: 20px;
	}
}

@media screen and (max-width: 767px) {
	.fund_section {
		padding: 40px 0;
	}

	.fund_hero {
		padding: 36px 0 32px;
	}

	.fund_about_figure {
		transform: none;
	}

	.fund_hero_ttl {
		font-size: 26px;
	}

	.fund_hero_lead br {
		display: none;
	}

	.fund_hero_btns .fund_btn {
		display: block;
		margin-right: 0;
		min-width: 0;
	}

	.fund_ttl {
		flex-wrap: wrap;
		font-size: 20px;
	}

	.fund_ttl_en {
		flex: 0 0 100%;
		margin: 0 0 4px;
	}

	.fund_about_catch {
		font-size: 18px;
	}

	.fund_detail_box {
		padding: 20px 16px;
	}

	.fund_detail_ttl {
		font-size: 22px;
	}

	.fund_detail_table th,
	.fund_detail_table td {
		display: block;
		width: auto;
		padding: 10px 12px;
	}

	.fund_detail_table th {
		border-bottom: 0;
	}

	.fund_detail_btns .fund_btn {
		display: block;
		margin: 0 0 10px;
		min-width: 0;
	}

	.fund_project_btns {
		display: block;
	}

	.fund_project_btns .fund_btn {
		display: block;
		margin-bottom: 6px;
	}

	.fund_cta_box {
		margin-top: 20px;
	}
}
