@charset "UTF-8";

/* donation.css
---------------------------------- */

/* 見出し（既存ページ共通パターン） */
.content_area_s h2 {
  width: 100%;
  height: 46px;
  line-height: 46px;
  font-size: 2.2rem;
  background-color: var(--main-color);
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  padding-left: 45px;
  box-sizing: border-box;
}
@media all and (max-width: 767px) {
  .content_area_s h2 {
    height: auto;
    line-height: 1.6;
    font-size: 2rem;
    padding-top: 6px;
    padding-bottom: 6px;
    padding-right: 10px;
  }
}
.content_area_s h2::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #fff;
  position: absolute;
  top: 50%;
  bottom: 50%;
  left: 10px;
  margin: auto;
}
.content_area_s h2::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 11px;
  border-color: transparent transparent transparent var(--main-color);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 16px;
  margin: auto;
}

#donationArea p {
  line-height: 1.9;
}

/* リード */
.donation_lead {
  margin: 0 0 36px;
  padding: 24px 28px;
  background: #eef8fc;
  border-left: 5px solid var(--main-color);
  box-sizing: border-box;
}
.donation_lead p {
  font-size: 1.6rem;
  line-height: 1.95;
  margin: 0;
}
.donation_intro,
.donation_bodytext,
.docs_lead {
  margin: 0 0 22px;
  font-size: 1.5rem;
}

/* 目的と使途 */
.donation_purpose {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
}
.donation_purpose li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  width: calc(50% - 6px);
  min-height: 116px;
  box-sizing: border-box;
  border: 1px solid #cfe8f5;
  padding: 18px 18px 16px;
  background: #fff;
}
.donation_purpose li.purpose_wide {
  width: 100%;
  min-height: auto;
}
.purpose_num {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 34px;
  flex: 0 0 34px;
  height: 34px;
  line-height: 34px;
  margin-right: 13px;
  border-radius: 50%;
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
  background: var(--main-color);
}
.donation_purpose li > div {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}
.donation_purpose strong {
  display: block;
  color: var(--main-color);
  font-size: 1.6rem;
  margin-bottom: 7px;
}
.donation_purpose li div > span {
  display: block;
  font-size: 1.4rem;
  line-height: 1.72;
  color: #444;
}

/* 申込ステップ */
.donation_steps {
  margin: 0 0 40px;
}
.donation_step {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  border: 1px solid #cfe8f5;
  background: #fff;
}
.step_badge {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 78px;
  flex: 0 0 78px;
  color: #fff;
  background: var(--main-color);
  padding: 9px 5px;
  box-sizing: border-box;
}
.step_badge span {
  font-size: 1.1rem;
  line-height: 1;
  letter-spacing: 0.08em;
}
.step_badge strong {
  font-size: 2.4rem;
  line-height: 1.2;
  margin-top: 2px;
  font-weight: 500;
}
.step_body {
  padding: 16px 20px 14px;
}
.step_body h3 {
  margin: 0 0 5px;
  font-size: 1.6rem;
  color: #333;
  font-weight: 600;
}
.step_body p {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.75 !important;
}
.step_arrow {
  text-align: center;
  color: var(--main-color);
  font-size: 1.2rem;
  line-height: 1;
  padding: 7px 0;
}

/* 税制 */
.donation_tax {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 14px;
  margin: 0 0 12px;
}
.tax_card {
  width: 50%;
  box-sizing: border-box;
  padding: 22px 20px 18px;
  border: 1px solid #cfe8f5;
  background: #fff;
}
.tax_card h3 {
  margin: 0 0 9px;
  font-size: 1.6rem;
  color: var(--main-color);
  font-weight: 600;
}
.tax_card p {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.72 !important;
}
.tax_card .tax_sub {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dotted #ccc;
  color: #666;
  font-size: 1.3rem;
}
.donation_note {
  font-size: 1.3rem;
  color: #666;
  margin: 0 0 34px;
}

/* 関係書類ボタン */
.donation_docs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 14px;
  margin: 0 0 16px;
}
.doc_btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
  width: 50%;
  min-height: 82px;
  padding: 13px 50px 13px 78px;
  border: 1px solid var(--main-color);
  background: #fff;
  box-sizing: border-box;
  text-decoration: none !important;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}
.doc_btn:hover {
  background: #eef8fc;
  opacity: 0.92;
}
.doc_primary {
  background: #f5fbfe;
  border-width: 2px;
}
.doc_type {
  position: absolute;
  left: 16px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  display: inline-block;
  min-width: 42px;
  padding: 5px 4px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: bold;
  color: #fff;
  background: var(--main-color);
}
.doc_text {
  display: block;
  line-height: 1.45;
}
.doc_text strong {
  display: block;
  font-size: 1.6rem;
  color: #333;
  font-weight: 600;
}
.doc_text small {
  display: block;
  margin-top: 3px;
  font-size: 1.2rem;
  color: #777;
}
.doc_arrow {
  position: absolute;
  right: 18px;
  top: 50%;
  -webkit-transform: translateY(-52%);
  transform: translateY(-52%);
  font-size: 2.8rem;
  line-height: 1;
  color: var(--main-color);
  font-family: Arial, sans-serif;
}

/* お問い合わせ */
.donation_contact {
  margin: 0 0 20px;
  padding: 20px 22px;
  border: 1px solid #cfe8f5;
  background: #f7fafc;
  line-height: 1.85;
  box-sizing: border-box;
}
.contact_title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}
.contact_rows p {
  margin: 0;
  font-size: 1.4rem;
}
.donation_contact a {
  color: var(--main-color);
  text-decoration: underline;
}

@media all and (max-width: 767px) {
  .donation_lead {
    padding: 17px 15px;
    margin-bottom: 27px;
  }
  .donation_lead p {
    font-size: 1.4rem;
    line-height: 1.8;
  }
  .donation_intro,
  .donation_bodytext,
  .docs_lead {
    font-size: 1.4rem;
  }
  .donation_purpose {
    display: block;
    margin-bottom: 26px;
  }
  .donation_purpose li,
  .donation_purpose li.purpose_wide {
    width: 100%;
    min-height: auto;
    margin-bottom: 9px;
    padding: 14px 13px;
  }
  .purpose_num {
    -ms-flex-preferred-size: 30px;
    flex-basis: 30px;
    height: 30px;
    line-height: 30px;
    margin-right: 10px;
  }
  .donation_purpose strong {
    font-size: 1.5rem;
  }
  .donation_purpose li div > span {
    font-size: 1.3rem;
  }
  .step_badge {
    -ms-flex-preferred-size: 62px;
    flex-basis: 62px;
  }
  .step_body {
    padding: 13px 13px 12px;
  }
  .step_body h3 {
    font-size: 1.5rem;
  }
  .step_body p {
    font-size: 1.3rem;
  }
  .donation_tax {
    display: block;
  }
  .tax_card {
    width: 100%;
    margin-bottom: 10px;
    padding: 17px 15px 15px;
  }
  .donation_docs {
    display: block;
  }
  .doc_btn {
    width: 100%;
    min-height: 76px;
    margin-bottom: 10px;
    padding: 12px 42px 12px 72px;
  }
  .doc_type {
    left: 13px;
  }
  .doc_text strong {
    font-size: 1.5rem;
  }
  .doc_text small {
    font-size: 1.2rem;
  }
  .doc_arrow {
    right: 14px;
  }
  .donation_contact {
    padding: 16px 14px;
  }
  .contact_rows p {
    font-size: 1.3rem;
  }
}
