@charset "UTF-8";

/* ==========================================================
   Global design rules
   ========================================================== */
:root {
  --page-width: 900px;
  --content-width: 750px;
  --photo-width: 600px;
  --sp-padding: 20px;

  --font-serif: "Noto Serif JP", serif;
  --font-sans: "Noto Sans JP", sans-serif;
  --font-size-h1: 38px;
  --font-size-h2: 36px;
  --font-size-h3: 28px;
  --font-size-h4: 20px;
  --font-size-body: 16px;
  --font-size-caption: 14px;

  --line-height-heading: 1.6;
  --line-height-body: 2;
  --line-height-table: 1.5;

  --color-black: #222221;
  --color-white: #ffffff;
  --color-red: #DA291C;
  --color-orange: #FC4C02;
  --color-teal: #00B8CF;
  --color-biscuit: #D1CCBD;
  --color-plum: #9A3324;
  --color-mustard: #F2A900;
  --color-gray-light: #F4F4F2;
  --color-border: #CCCCCC;
  --color-caption: #666666;

  --section-space-pc: 80px;
  --section-space-sp: 56px;
  --heading-space-top: 0;
  --heading-space-bottom: 32px;
  --paragraph-space: 24px;
  --image-space: 32px;
  --image-radius: 4px;
  --image-caption-space: 10px;
}

/* Change only the body class to switch colors. */
.theme-pattern01 {
  --theme-heading-bg: var(--color-red);
  --theme-heading-text: var(--color-white);
  --theme-h3: var(--color-red);
  --theme-cv: var(--color-orange);
}

.theme-pattern02 {
  --theme-heading-bg: var(--color-black);
  --theme-heading-text: var(--color-white);
  --theme-h3: var(--color-orange);
  --theme-cv: var(--color-red);
}

.theme-pattern03 {
  --theme-heading-bg: var(--color-biscuit);
  --theme-heading-text: var(--color-black);
  --theme-h3: var(--color-black);
  --theme-cv: var(--color-plum);
}

html { scroll-behavior: smooth; }

body {
  color: var(--color-black);
  font-family: var(--font-sans);
  font-size: var(--font-size-body);
  font-weight: 400;
  line-height: var(--line-height-body);
}

.lp {
  width: min(100%, var(--page-width));
}

.section {
  width: min(calc(100% - 40px), var(--content-width));
  padding-top: var(--section-space-pc);
}

.section--first { padding-top: 40px; }
.section > p { margin-bottom: var(--paragraph-space); }

/* ==========================================================
   Typography
   ========================================================== */
.lp h1,
.lp h2,
.lp h3,
.lp h4 {
  margin-top: var(--heading-space-top);
  margin-bottom: var(--heading-space-bottom);
  letter-spacing: 0;
}

.lp h1 {
  color: var(--color-black);
  font-family: var(--font-serif);
  font-size: var(--font-size-h1);
  font-weight: 700;
line-height: 130%;
}

.lp h1.intro-title{
	font-size: 24px;;
    line-height: 140%;
}

.lp h2 {
  color: var(--color-black);
  font-family: var(--font-serif);
  font-size: var(--font-size-h2);
  font-weight: 700;
  line-height: var(--line-height-heading);
}

.lp h3 {
  color: var(--theme-h3);
  font-family: var(--font-sans);
  font-size: var(--font-size-h3);
  font-weight: 700;
	line-height: var(--line-height-heading);
	    margin-top: 40px;
}

.lp h4 {
  color: var(--color-black);
  font-family: var(--font-sans);
  font-size: var(--font-size-h4);
  font-weight: 700;
	line-height: var(--line-height-heading);
	    margin-bottom: 5px;
}

.intro-title {
  font-family: var(--font-serif);
  font-size: var(--font-size-h1);
}

.section-title {
  margin-top: 0;
  margin-bottom: var(--heading-space-bottom);
  padding: 10px 18px 12px;
  color: var(--theme-heading-text) !important;
  background: var(--theme-heading-bg);
  border: 0;
}

.section-title--compact { margin-top: 0; }

.ribbon-title {
  margin-top: 0;
  margin-bottom: var(--heading-space-bottom);
  color: var(--theme-heading-text) !important;
}

.ribbon-title span {
  padding: 0px 10px;
  background: var(--theme-heading-bg);
  box-shadow: 5px 0 0 var(--theme-heading-bg);
}

.lead-title { color: var(--theme-h3) !important; }

.center-title {
  margin-top: 0;
  margin-bottom: var(--heading-space-bottom);
}

/* 本文内のマーカー強調 */
.text-marker {
  display: inline;
  padding: 0 0.12em;
  font-weight: 700;
  line-height: inherit;
  background: linear-gradient(
    transparent 58%,
    rgba(238, 28, 36, 0.22) 58%,
    rgba(238, 28, 36, 0.22) 92%,
    transparent 92%
  );
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}


/* ==========================================================
   Images and captions
   ========================================================== */
.photo,
.photo--wide {
  width: min(100%, var(--photo-width));
  margin: var(--image-space) auto;
}

.photo img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: var(--image-radius);
}

.photo figcaption,
.image-caption {
  color: var(--color-caption);
  font-size: var(--font-size-caption);
	line-height: 1.6;
	    margin: var(--image-caption-space) auto 0;
    text-align: center;
}


/* ==========================================================
   Tables, cards and content components
   ========================================================== */
.summary-table {
  width: 100%;
  margin: var(--image-space) 0 0;
  color: var(--color-black);
  font-size: var(--font-size-body);
  line-height: var(--line-height-table);
  border-color: var(--color-border);
}

.summary-table > div {
  padding: 16px 0;
  border-color: var(--color-border);
}

.summary-table__head { background: var(--color-gray-light); }

.support-grid { margin-block: var(--image-space); }

.tag-heading span {
  background: linear-gradient(90deg, var(--theme-heading-bg), var(--color-teal));
}

.price-list { border-color: var(--color-border); }
.price-list li { border-color: var(--color-border); }
.price-list span { color: var(--theme-h3); }

.case-card {
  margin-block: var(--image-space);
  padding: 32px;
  background: var(--color-gray-light);
}

.case-card > b { color: var(--theme-h3); }
.case-card img { border-radius: var(--image-radius); }

.result-grid strong { color: var(--theme-h3); }

.impact { background: var(--theme-heading-bg); }
.impact h2,
.impact h3 { color: var(--theme-heading-text) !important; }

.use-card { background: var(--color-gray-light); }
.use-card > p { color: var(--theme-h3); }
.use-card > div span { color: var(--theme-h3); border-color: var(--theme-h3); }

.faq details { background: var(--color-gray-light); }
.faq summary::before,
.faq summary::after { color: var(--theme-h3); }

.donation-types > div:first-child { background: var(--theme-heading-bg); }
.footer { background: var(--theme-heading-bg); margin-top: 10px; }
.page-top { background: var(--theme-cv); }

@media (max-width: 767px) {
	.photo figcaption, .image-caption{
		font-size:12px;	
		text-align:left;
	}
	
  :root {
    --font-size-h1: 30px;
    --font-size-h2: 28px;
    --font-size-h3: 24px;
    --font-size-h4: 18px;
    --font-size-body: 16px;
    --section-space-sp: 56px;
  }

	.lp { 
		width: 100%;
		margin-top: 0;	
	    border-radius: 0;	
	}

  .section {
    width: calc(100% - (var(--sp-padding) * 2));
    padding-top: var(--section-space-sp);
  }

  .section--first { padding-top: 32px; }

  .header { padding-inline: 12px; }

  .section-title { padding: 8px 12px 10px; }

  .photo,
  .photo--wide { width: 100%; }

  .summary-table {
    grid-template-columns: 90px 1fr;
    font-size: 14px;
  }

  .summary-table > div { padding: 12px; }

	.case-card { padding: 24px 20px; }
	/* ========================================================
   スマホ：2列表を自然な縦積みにする
   ======================================================== */
.table--stack table,
.table--stack tbody,
.table--stack tr,
.table--stack th,
.table--stack td {
  display: block;
  width: 100%;
}

.table--stack table {
  border: 1px solid var(--color-border);
  border-collapse: collapse;
}

.table--stack thead {
  display: none;
}

.table--stack tr {
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--color-border);
}

.table--stack tr:last-child {
  border-bottom: 0;
}

.table--stack th,
.table--stack td {
  box-sizing: border-box;
  margin: 0;
  border: 0;
}

.table--stack th {
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 700;
  background: var(--color-gray-light);
  border-bottom: 1px solid var(--color-border);
}

.table--stack td {
  padding: 12px 14px 16px;
  background: var(--color-white);
}
	
	
}


/* ==========================================================
   Responsive tables
   ========================================================== */

/* テーブル共通ラッパー */
.table-responsive {
  position: relative;
  width: 100%;
  margin: var(--image-space) 0;
}

/* 基本テーブル */
.table-responsive table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  color: var(--color-black);
  font-size: var(--font-size-body);
  line-height: var(--line-height-table);
}

.table-responsive th,
.table-responsive td {
  padding: 16px;
  text-align: left;
  vertical-align: top;
  border: 1px solid var(--color-border);
}

.table-responsive th {
  font-weight: 700;
  background: var(--color-gray-light);
}

/* PCでは通常のテーブルとして表示 */
.table-scroll-area {
  width: 100%;
}

/* 横スクロール案内 */
.table-scroll-guide {
  display: none;
}
