:root {
  --orange: #f47a1f;
  --orange-soft: #fff4e8;
  --green: #6db632;
  --green-dark: #468b1e;
  --blue: #49a8c8;
  --text: #2d2d2d;
  --muted: #6e6e6e;
  --line: #e9e9e9;
  --bg-soft: #fffdf8;
  --container: 1200px;
}

/* ========================================
   共通設定
======================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

#page_contents {
  width: 100%;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

#ocsr_main {
  width: 100%;
  _max-width: 1250px;
  margin: 0 auto;
  color: var(--text);
  font-family: "Noto Sans JP", sans-serif;
}

.section {
  width: 100%;
  padding: 84px 0;
}

/* ========================================
   導入部分
======================================== */

.intro {
  padding-top: 0;
}

.main-title {
  margin: 0 0 22px !important;
  color: var(--orange);
  font-family: "Noto Serif JP", serif;
  font-size: clamp(30px, 3.8vw, 50px) !important;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-align: center;
}

.main-title::after {
  display: block;
  width: min(740px, 82%);
  height: 2px;
  margin: 14px auto 0;
  background: var(--orange);
  content: "";
}

.lead {
  max-width: 1250px;
  margin: 0 auto 30px !important;
  font-size: 17px;
  line-height: 1.8 !important;
  text-align: center;
}

.mission-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 70px;
  max-width: 1200px;
  margin-inline: auto;
}

.tree-art {
  display: grid;
  place-items: center;
  min-height: 410px;
}

.tree-art > img {
  display: block;
  width: 100%;
}

.ocsr-badge {
  width: min(100%, 290px);
  margin: 0 auto;
}

.ocsr-badge img {
  display: block;
  width: 100%;
}

.mission-copy {
  font-size: 15px;
}

.ocsr-word {
  margin-bottom: 26px;
  font-family: Georgia, serif;
  font-size: 28px;
  line-height: 1.35;
}

.ocsr-word span {
  display: block;
  margin-bottom: 4px;
}

.ocsr-word b {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-right: 3px;
  color: #fff;
  background: var(--orange);
  font-size: 1.3em;
  font-weight: 400;
  line-height: 1;
}

.ocsr-description {
  line-height: 2 !important;
  font-size: 1.1em;
}

.ocsr-description-title {
  display: block;
  margin-bottom: 14px;
  color: var(--orange);
  font-size: 1.2em;
  font-weight: 500;
  text-align: center;
}

.ocsr-description p {
  margin: 0 0 12px;
  line-height: 2 !important;
}

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

/* ========================================
   ワクチン寄付
======================================== */

.feature-section {
  background: var(--bg-soft);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.feature-card {
  padding: 34px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.04);
}

.feature-card h2 {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.45;
}

.feature-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}

.feature-icon {
  display: grid;
  flex: 0 0 54px;
  place-items: center;
  width: 54px;
  height: 54px;
  background: #eef8e8;
  border-radius: 50%;
  font-size: 28px;
}

.feature-label {
  margin: 0;
  color: var(--green-dark);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.feature-description p {
  margin: 0 0 18px;
  line-height: 2;
}

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

.vaccine-card {
  display: flex;
  flex-direction: column;
}

.vaccine-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* 団体情報の共通カード */
.organization-card {
  position: relative;
  overflow: hidden;
  margin-top: 18px;
  padding: 20px 22px 20px 26px;
  color: #4c4c45;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(70, 120, 55, 0.14);
  border-radius: 14px;
  box-shadow:
    0 8px 24px rgba(57, 79, 45, 0.07),
    0 2px 6px rgba(57, 79, 45, 0.04);
  font-size: 14px;
  letter-spacing: 0.035em;
  line-height: 1.9;
}

.organization-card p {
  line-height: 1.9 !important;
}

.organization-card::before {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 4px;
  background: linear-gradient(to bottom, #8bcf43, #4f9f38);
  border-radius: 0 4px 4px 0;
  content: "";
}

.organization-card strong {
  display: block;
  margin-bottom: 8px;
  color: #376c2b;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

.organization-card p {
  margin: 0;
}

.organization-card a {
  color: #376c2b;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.organization-card a:hover {
  opacity: 0.7;
}

/* ワクチン寄付総数 */
.count-card {
  grid-column: 1 / -1;
  text-align: center;
  background: linear-gradient(135deg, #fff, #fff8ed);
  border-color: #f4d4a3;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
}

.donation-count {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
}

.donation-count strong {
  color: var(--orange);
  font-size: clamp(58px, 8vw, 96px);
  line-height: 1.2;
}

.donation-count span {
  font-size: 28px;
  font-weight: 700;
}

.count-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 2;
}

/* ========================================
   その他の主な取り組み
======================================== */

.section-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  margin-bottom: 50px;
}

.section-heading span {
  height: 2px;
  background: var(--orange);
}

.section-heading h2 {
  margin: 0;
  font-size: 30px;
}

.activity-list {
  display: grid;
  gap: 36px;
}

.activity-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.05);
}

/* 通常カード：文章が左、画像が右 */
.activity-card .activity-content {
  grid-column: 1;
  grid-row: 1;
}

.activity-card .activity-media {
  grid-column: 2;
  grid-row: 1;
}

/* reverse：画像が左、文章が右 */
.activity-card.reverse .activity-content {
  grid-column: 2;
  grid-row: 1;
}

.activity-card.reverse .activity-media {
  grid-column: 1;
  grid-row: 1;
}

.activity-media {
  min-width: 0;
  min-height: 300px;
}

.activity-media > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.activity-content {
  align-self: center;
  padding: 42px;
}

.activity-number {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.activity-content h3 {
  margin: 0 0 18px !important;
  font-size: clamp(24px, 3vw, 30px) !important;
  line-height: 1.5 !important;
}

.activity-content > p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 2 !important;
}

.present-tree-content .breakthrough-content {
  color: var(--blue);
}

/* ========================================
   プレゼントツリー
======================================== */

.present-tree-media {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 32px;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(255, 255, 255, 0.2) 0,
      rgba(255, 255, 255, 0.2) 140px,
      transparent 141px
    ),
    linear-gradient(
      145deg,
      #327a32 0%,
      #5cae3e 55%,
      #91cf5d 100%
    );
}

.present-tree-gallery {
  display: grid;
  gap: 16px;
}

.present-tree-photo {
  overflow: hidden;
  margin: 0;
  background: #fff;
  border: 5px solid rgba(255, 255, 255, 0.96);
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(25, 75, 25, 0.2);
}

.present-tree-photo img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.present-tree-photo figcaption {
  padding: 8px 10px;
  color: #3d6137;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.environment-card {
  margin-top: 18px;
}

.present-tree-content {
  padding: 42px;
}

.present-tree-content .activity-number {
  color: var(--green-dark);
}

.present-tree-content h3 {
  position: relative;
  padding-bottom: 20px;
  color: #293329;
}

.present-tree-content h3::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 58px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--green-dark),
    var(--green)
  );
  border-radius: 999px;
  content: "";
}

.present-tree-text {
  color: var(--muted);
  font-size: 16px;
}

.present-tree-text p {
  margin: 0 0 1.3em;
  line-height: 2 !important;
}

.present-tree-text p:last-child {
  margin-bottom: 0;
}

.present-tree-text strong {
  color: var(--green-dark);
  background: linear-gradient(
    transparent 68%,
    rgba(109, 182, 50, 0.24) 68%
  );
  font-weight: 700;
}

.present-tree-count {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding: 22px 24px;
  background: linear-gradient(135deg, #f6fbf2, #edf7e7);
  border: 1px solid #dcebd2;
  border-left: 5px solid var(--green);
  border-radius: 0 12px 12px 0;
}

.present-tree-count-label {
  color: #52634c;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.present-tree-count-value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--green-dark);
  white-space: nowrap;
}

.present-tree-count-value strong {
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 58px;
  font-weight: 800;
  line-height: 1;
}

.present-tree-count-value small {
  font-size: 20px;
  font-weight: 700;
}

/* ========================================
   結び
======================================== */

.closing {
  width: 100%;
  padding: 18px 0 82px;
}

.closing-box {
  padding: 38px 28px;
  background:
    radial-gradient(
      circle at 90% 35%,
      rgba(105, 181, 50, 0.18) 0 74px,
      transparent 75px
    ),
    linear-gradient(135deg, #eefaff, #dff2ff);
  border-radius: 12px;
  text-align: center;
}

.closing-box p {
  margin: 0;
  color: #2788b4;
  font-size: clamp(20px, 3vw, 29px);
  font-weight: 700;
  line-height: 1.7;
}

/* ========================================
   タブレット
======================================== */

@media screen and (max-width: 960px) {
  .mission-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .tree-art {
    min-height: 350px;
  }

  .activity-content,
  .present-tree-content {
    padding: 32px;
  }

  .present-tree-media {
    padding: 24px;
  }

  .present-tree-photo img {
    height: 210px;
  }
}

/* ========================================
   スマートフォン
======================================== */

@media screen and (max-width: 760px) {
  #page_contents {
    margin: 0 !important;
  }

  .container {
    width: min(calc(100% - 0px), var(--container));
  }

  .section {
    padding: 58px 20px;
  }

  .lead br {
    display: none;
  }

  .tree-art {
    min-height: auto;
  }

  .ocsr-word {
    font-size: 23px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .count-card {
    grid-column: auto;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
  }

  .section-heading span {
    width: 82px;
    margin-inline: auto;
  }

  .activity-card {
    grid-template-columns: 1fr;
  }

  .activity-card .activity-content,
  .activity-card .activity-media,
  .activity-card.reverse .activity-content,
  .activity-card.reverse .activity-media {
    grid-column: 1;
    grid-row: auto;
  }

  .activity-media,
  .activity-media > img {
    min-height: 240px;
  }

  .activity-content,
  .present-tree-content {
    padding: 28px 26px 32px;
  }

  .present-tree-media {
    min-height: auto;
    padding: 20px;
  }

  .present-tree-photo {
    border-width: 4px;
    border-radius: 9px;
  }

  .present-tree-photo img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .present-tree-text {
    font-size: 14px;
    line-height: 1.9;
  }

  .present-tree-count {
    margin-top: 24px;
    padding: 18px 20px;
  }

  .present-tree-count-value strong {
    font-size: 48px;
  }

  .organization-card {
    padding: 18px 18px 18px 22px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.85;
  }

  .organization-card::before {
    top: 15px;
    bottom: 15px;
    width: 3px;
  }

  .closing {
    width: 90%;
    margin: 0 auto;
  }
}

/* ========================================
   小さいスマートフォン
======================================== */

@media screen and (max-width: 460px) {
  .main-title {
    font-size: 29px !important;
  }

  .feature-card {
    padding: 24px;
  }

  .feature-heading {
    align-items: flex-start;
    gap: 14px;
  }

  .feature-icon {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    font-size: 24px;
  }

  .donation-count strong {
    font-size: 52px;
  }

  .donation-count span {
    font-size: 22px;
  }

  .present-tree-media {
    padding: 15px;
  }

  .present-tree-photo img {
    aspect-ratio: auto;
  }

  .present-tree-count {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .present-tree-count-value {
    align-self: flex-end;
  }

  .present-tree-count-value strong {
    font-size: 52px;
  }

  .closing-box {
    padding: 30px 18px;
  }
}
