@charset "UTF-8";

/* ==========================================================================
   1. ブランドカラー定義 & 基本設定
   ========================================================================== */
:root {
  --primary-yellow: #f3bc18;      /* メインイエロー */
  --primary-yellow-light: #fff9e6;/* 背景用・薄イエロー */
  --accent-orange: #e87722;      /* アクセントオレンジ */
  --accent-orange-hover: #d06515;/* ボタンホバー色 */
  --text-main: #333333;          /* メインテキスト */
  --text-muted: #666666;         /* 補足テキスト */
  --bg-light: #f8fafc;           /* カード背景等 */
  --border-color: #e2e8f0;       /* 枠線色 */
}

/* ヒーローエリア */
.page_hero {
	background: linear-gradient(135deg, #f3bc18 0%, #e87722 100%);
	color: #ffffff;
	padding: 60px 10px;
	text-align: center;
}
.page_hero_inner {
	max-width: 800px;
	margin: 0 auto;
}
.page_label {
	display: inline-block;
	font-size: 0.85rem;
	font-weight: bold;
	letter-spacing: 0.1em;
	background-color: rgba(255, 255, 255, 0.25);
	padding: 4px 16px;
	border-radius: 20px;
	margin-bottom: 12px;
}
.page_hero h1 {
	font-size: 2.1rem;
	font-weight: bold;
	margin-bottom: 12px;
	letter-spacing: 0.05em;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.page_hero .hero_lead {
	font-size: 1.1rem;
	font-weight: 500;
	opacity: 0.95;
	line-height: 1.5;
}

/* コンテナ＆メインセクション共通 */
.container {
  background-color: #FFFBEF;
}

.container > section {
  max-width: 960px;
  margin: 0 auto;
  padding: 10px 20px 60px;
}

.container section h2 {
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--text-main);
  border-left: 6px solid var(--primary-yellow);
  padding-left: 14px;
  margin: 50px 0 24px;
  line-height: 1.3;
}

.container section > p {
  margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   使い道リスト（.container 内のデフォルトリスト装飾）
   ※ footer への影響を防ぐため .container 内の section に限定化
   -------------------------------------------------------------------------- */
.container section ul:not(.corporate_receipt_list) {
  list-style: none;
  padding: 0;
  margin: 24px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.container section ul:not(.corporate_receipt_list) li {
  background-color: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.container section ul:not(.corporate_receipt_list) li strong {
  font-size: 1.05rem;
  color: var(--text-main, #333333);
  display: flex;
  align-items: center;
}

.container section ul:not(.corporate_receipt_list) li strong::before {
  content: "◆";
  color: var(--primary-yellow, #f3bc18);
  margin-right: 8px;
  font-size: 0.9rem;
}

.container section ul:not(.corporate_receipt_list) li span {
  font-size: 0.88rem;
  color: var(--text-muted, #666666);
  padding-left: 20px;
}

/* ==========================================================================
   活動風景ギャラリー (#activity_gallery)
   ========================================================================== */
.gallery_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.gallery_item {
  margin: 0;
  background-color: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery_item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.gallery_item img {
  width: 100%;
  height: 200px;
  object-fit: cover; /* 画像の縦横比を崩さずトリミング */
  display: block;
}

.gallery_item figcaption {
  padding: 12px 16px;
  font-size: 0.88rem;
  font-weight: bold;
  color: var(--text-main, #333333);
  text-align: center;
  background-color: #ffffff;
}

/* ==========================================================================
   2. ご支援の方法 (#how_to_help)
   ========================================================================== */
.donation_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.donation_card {
  background-color: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}
.donation_card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.donation_card h3 {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--text-main, #333333);
  margin-bottom: 16px;
  border-left: 5px solid var(--accent-orange, #e87722);
  padding-left: 12px;
  line-height: 1.2;
}
.donation_card p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
.donation_card .note_text {
  font-size: 0.85rem;
  color: var(--text-muted, #666666);
  margin-top: -10px;
  margin-bottom: 24px;
}
.donation_fee_note {
  margin-top: 16px;
  padding: 12px 16px;
  background-color: #f8f9fa;
  border-left: 4px solid #333333;
  border-radius: 0 4px 4px 0;
}
.donation_fee_note_text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #555555;
}

/* Amazonリスト等の共通プライマリボタン */
.btn_primary {
  display: block;
  text-align: center;
  background-color: var(--accent-orange, #e87722);
  color: #ffffff !important;
  font-weight: bold;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 30px;
  margin-top: auto;
  transition: background-color 0.2s ease, transform 0.1s ease;
  box-shadow: 0 4px 10px rgba(232, 119, 34, 0.2);
}

.btn_primary:hover {
  background-color: var(--accent-orange-hover, #d06515);
  transform: translateY(-1px);
}

/* 口座情報エリア */
.bank_info_box {
  background-color: var(--bg-light, #f8fafc);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 8px;
  padding: 18px 20px;
  margin-top: auto;
}

.bank_info_title {
  font-size: 0.9rem;
  font-weight: bold;
  color: var(--text-main, #333333);
  margin-bottom: 12px !important;
  border-bottom: 1px dashed var(--border-color, #e2e8f0);
  padding-bottom: 6px;
}

.bank_info_list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
}

.bank_info_item {
  display: flex;
  align-items: baseline;
}

.bank_info_item dt {
  width: 80px;
  flex-shrink: 0;
  color: var(--text-muted, #666666);
  font-size: 0.82rem;
}

.bank_info_item dd {
  margin: 0;
  color: var(--text-main, #333333);
  font-weight: 500;
  word-break: break-all;
}

.bank_info_item dd.bank_account_number {
  font-weight: bold;
  font-size: 1rem;
  letter-spacing: 0.05em;
}


/* ==========================================================================
   3. 法人向け税制優遇 (#corporate)
   ========================================================================== */
.message_box {
  background-color: var(--primary-yellow-light, #fff9e6);
  border: 2px solid var(--primary-yellow, #f3bc18);
  border-radius: 16px;
  padding: 36px 32px;
  margin-top: 48px;
}

.message_box h2 {
  font-size: 1.35rem;
  font-weight: bold;
  color: var(--text-main, #333333);
  border-left: none;
  border-bottom: 2px solid var(--primary-yellow, #f3bc18);
  padding: 0 0 10px 0;
  margin: 0 0 20px 0;
  line-height: 1.4;
}

.message_box h3 {
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--text-main, #333333);
  margin: 28px 0 12px 0;
  padding-left: 12px;
  border-left: 4px solid var(--accent-orange, #e87722);
}

.message_box p {
  margin-bottom: 14px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.message_box p strong {
  color: var(--accent-orange, #e87722);
}

.message_box .corporate_closing {
  margin-top: 24px;
  margin-bottom: 0;
  font-weight: bold;
  text-align: center;
}

/* お問い合わせCTAボタン */
.corporate_action_area {
  margin: 24px 0;
  text-align: center;
}

.btn_corporate_contact {
  display: inline-block;
  background-color: var(--text-main, #333333);
  color: #ffffff !important;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn_corporate_contact:hover {
  background-color: #555555;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.btn_corporate_contact::after {
  content: " ↗";
  font-size: 0.9em;
}

/* 証明書発行手順リスト */
.corporate_receipt_list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  background-color: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 10px;
  overflow: hidden;
}

.corporate_receipt_list li {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color, #e2e8f0);
  font-size: 0.93rem;
  line-height: 1.6;
  display: flex;
  gap: 16px;
  align-items: baseline;
}

.corporate_receipt_list li:last-child {
  border-bottom: none;
}

.corporate_receipt_list .list_label {
  flex-shrink: 0;
  width: 150px;
  font-weight: bold;
  color: var(--text-main, #333333);
  background-color: var(--bg-light, #f8fafc);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.85rem;
  text-align: center;
  border: 1px solid var(--border-color, #e2e8f0);
}

.corporate_receipt_list .list_content {
  color: var(--text-main, #333333);
}

.corporate_receipt_list .list_content strong {
  font-weight: bold;
  color: var(--accent-orange, #e87722);
}


/* ==========================================================================
   4. FAQ (#faq)
   ========================================================================== */
.faq_container {
  margin-top: 24px;
}

.faq_container h3 {
  font-size: 1.15rem;
  font-weight: bold;
  background-color: var(--primary-yellow, #f3bc18);
  color: var(--text-main, #333333);
  padding: 12px 20px;
  border-radius: 8px;
  margin: 40px 0 16px 0;
}

.faq_container h3:first-of-type {
  margin-top: 0;
}

.faq_item {
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 10px;
  margin-bottom: 16px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.faq_q {
  background-color: var(--bg-light, #f8fafc);
  font-weight: bold;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color, #e2e8f0);
  color: var(--text-main, #333333);
  font-size: 1rem;
  line-height: 1.5;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.faq_a {
  padding: 20px;
  font-size: 0.95rem;
  line-height: 1.8;
  background-color: #ffffff;
  color: var(--text-main, #333333);
}

.faq_a p {
  margin-bottom: 14px;
}

.faq_a p:last-child {
  margin-bottom: 0;
}

.faq_icon_q {
  color: var(--accent-orange, #e87722);
  font-size: 1.15rem;
  font-weight: bold;
  flex-shrink: 0;
}

.faq_icon_a {
  color: var(--accent-orange, #e87722);
  font-size: 1.15rem;
  font-weight: bold;
  margin-right: 4px;
}


/* ==========================================================================
   5. 全般レスポンシブ調整（スマホ対応）
   ========================================================================== */
@media (max-width: 768px) {
	.gallery_grid {
		grid-template-columns: 1fr; /* スマホでは縦並び */
		gap: 16px;
	}
	.gallery_item img {
		height: 180px;
	}
	.message_box {
		padding: 24px 18px;
	}
	.btn_corporate_contact {
		display: block;
		width: 100%;
		padding: 14px 16px;
		font-size: 0.95rem;
		box-sizing: border-box;
	}
	.corporate_receipt_list li {
		flex-direction: column;
		gap: 8px;
	}
	.corporate_receipt_list .list_label {
		width: auto;
		display: inline-block;
		align-self: flex-start;
	}
	.faq_container h3 {
		font-size: 1.05rem;
		padding: 10px 16px;
	}
	.faq_q {
		padding: 14px 16px;
		font-size: 0.95rem;
	}
	.faq_a {
		padding: 16px;
		font-size: 0.9rem;
	}
}