@charset "UTF-8";
/*
 * village-custom.css（大川村のこと／取り組み 固有）
 * .kv-village / __photos / __photo / __text            - OKAWA VILLAGE（写真3枚・中央40px下げ）
 * .kv-act / __grid / __text / __photos / __photo--1/--2 - ACTIVITIES（1fr+760px・写真2枚の重ね）
 * .kv-future / __illust / __text / __lead / __grid      - OUR FUTURE
 * .kv-plan / __head / __num / __title / __text          - 未来カード（上端6pxグラデ帯）
 */

/* ==========================================================================
   OKAWA VILLAGE
   ========================================================================== */
.kv-village {
  position: relative;
  padding-top: 90px;
  padding-bottom: 110px;
}
.kv-village__photos {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}
.kv-village__photo {
  height: 280px;
}
.kv-village__text {
  max-width: 1100px;
  margin: 0 auto;
  gap: 28px;
  text-align: center;
  font-size: 1.7rem;
  line-height: 1.9;
}

/* ==========================================================================
   ACTIVITIES
   ========================================================================== */
.kv-act {
  padding: 110px 0 120px;
}
.kv-act__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 760px;
  gap: 80px;
  align-items: center;
}
.kv-act__text {
  gap: 20px;
  text-wrap: pretty;
}
.kv-act__photos {
  position: relative;
  width: 100%;
  aspect-ratio: 760 / 460;
}
.kv-act__photo {
  position: absolute;
  max-width: none;
  border-radius: 20px;
  object-fit: cover;
}
.kv-act__photo--1 {
  left: 0;
  top: 0;
  width: calc(100% * 300 / 760);
  height: calc(100% * 190 / 460);
  object-position: center 30%;
}
.kv-act__photo--2 {
  right: 0;
  top: calc(100% * 150 / 460);
  width: calc(100% * 560 / 760);
  height: calc(100% * 310 / 460);
}

/* ==========================================================================
   OUR FUTURE
   ========================================================================== */
.kv-future {
  position: relative;
  padding-top: 110px;
  padding-bottom: 120px;
}
.kv-future__illust {
  left: 40px;
  top: 60px;
  width: 200px;
}
.kv-future__text {
  max-width: 1000px;
  margin: 0 auto;
  gap: 28px;
  text-align: center;
  line-height: 1.9;
}
.kv-future__lead {
  font-size: 2rem;
  font-weight: 700;
}
.kv-future__grid {
  margin-top: 64px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.kv-plan {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 14px;
  padding: 40px 34px 44px;
}
.kv-plan::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  background: linear-gradient(90deg, #79cbd2, #b9e3d8);
}
.kv-plan__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.kv-plan__num {
  flex-shrink: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 4.4rem;
  font-weight: 500;
  line-height: 1;
  color: #c49933;
}
.kv-plan__title {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: #168352;
  text-wrap: pretty;
}
.kv-plan__text {
  font-size: 1.5rem;
  text-wrap: pretty;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1479px) {
  .kv-act__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 760px);
  }
}
@media (max-width: 896px) {
  .kv-village {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kv-village__photos {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 40px;
  }
  .kv-village__photo {
    height: 220px;
  }
  .kv-village__photos .mt-40 {
    margin-top: 0;
  }
  .kv-village__text {
    font-size: 1.5rem;
    text-align: left;
  }
  .kv-village__text br,
  .kv-future__text br {
    display: none;
  }
  .kv-act {
    padding: 60px 0;
  }
  .kv-act__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .kv-future {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .kv-future__illust {
    width: 100px;
    left: 0;
    top: 10px;
  }
  .kv-future__text {
    text-align: left;
  }
  .kv-future__lead {
    font-size: 1.7rem;
  }
  .kv-future__grid {
    margin-top: 40px;
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
@media (max-width: 639px) {
  .kv-village__text {
    font-size: 1.4rem;
  }
  .kv-future__illust {
    width: 80px;
    top: 24px;
  }
  .kv-future__lead {
    font-size: 1.6rem;
  }
  .kv-plan {
    padding: 32px 24px 36px;
  }
  .kv-plan__num {
    font-size: 3.6rem;
  }
  .kv-plan__title {
    font-size: 1.8rem;
  }
  .kv-plan__text {
    font-size: 1.4rem;
  }
}
