@charset "UTF-8";
@import url("csr_common.css");

/* ==================
* section_forest
* ================== */
.section_forest {
  background: url("/images/csr/creclaforest/forest_bg.jpg") rgba(255, 255, 255, 0) no-repeat top 50% left 50%/cover;
  aspect-ratio: 1280/930;
  width: 100%;
  padding-block: 3vw 2vw;
  position: relative;
  margin-top: 40px;
}

.section_forest .head img {
  width: 50vw;
  margin-inline: auto;
}

.section_forest .inner {
  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-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  height: 100%;
}

.section_forest .sentence {
  margin-inline: auto;
  line-height: 1.8;
  border-radius: 1vw;
  font-weight: bold;
  background-color: #FFFEEB;
  color: #7F4F21;
  text-align: center;
  font-size: clamp(16px, 2vw, 20px);
  width: 100%;
  padding: 1.5vw 2vw 1.4vw;
}

@media screen and (max-width: 767px) {

  /* sp only */
  .section_forest {
    background: url("/images/csr/creclaforest/forest_bg_sp.jpg") #D2E184 no-repeat top 0 left 0/100% auto;
    height: 100vw;
    padding-block: 6vw 4vw;
  }

  .section_forest .head img {
    width: 80vw;
  }

  .section_forest .sentence {
    font-size: clamp(12px, 3.3vw, 16px);
    line-height: 1.6;
    text-align: left;
  }
}

/* sp only */
/* end section_forest */
/* ==================
* loop-bg
* ================== */
.loop-bg {
  --speed: 60s;
  --height: 267px;
  width: 100%;
  height: var(--height);
  background-image: url("/images/csr/creclaforest/picture_slider.jpg");
  background-repeat: repeat-x;
  background-position: 0 0;
  background-size: auto var(--height);
  /* 横幅は自動で比率維持 */
  -webkit-animation: slideLoop var(--speed) linear infinite;
  animation: slideLoop var(--speed) linear infinite;
  margin-top: 24px;
}

@-webkit-keyframes slideLoop {
  from {
    background-position: 0 0;
  }

  to {
    background-position: -2520px 0;
  }
}

@keyframes slideLoop {
  from {
    background-position: 0 0;
  }

  to {
    background-position: -2520px 0;
  }
}

@media screen and (min-width: 768px) and (max-width: 1100px) {

  /* PC small window */
  .loop-bg {
    --speed: 60s;
    --height: 200px;
  }
}

/* PC small window */
@media screen and (max-width: 767px) {

  /* sp only */
  .loop-bg {
    --speed: 120s;
    --height: 150px;
  }
}

/* sp only */
/* end loop-bg */
/* ==================
* forest-list
* ================== */
.forest-list {
  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-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  gap: 30px;
  margin-top: 50px;
}

.forest-list>.item {
  border-radius: 20px;
  background: url("/images/csr/creclaforest/bg-ptn01.gif") rgba(255, 255, 255, 0) repeat top 50% left 50%/1000px auto;
  padding: 0 0 30px;
}

.forest-list>.item .head {
  margin-top: 45px;
}

.forest-list>.item .head img {
  height: clamp(0px, 7vw, 61px);
  margin-inline: auto;
}

.forest-list>.item .earth-image {
  width: 92.5%;
  margin: 20px auto 0;
}

.forest-list>.item .meta-info {
  background-color: #FFFEEB;
  color: #7F4F21;
  width: 76%;
  margin: 30px auto 0;
  font-size: 16px;
  border-radius: 10px;
  padding: 20px;
}

.forest-list>.item .meta-info .sentence {
  font-weight: bold;
}

.forest-list>.item .meta-info .dl-layout {
  font-weight: bold;
  margin-top: 20px;
  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-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  gap: 6px;
}

.forest-list>.item .meta-info .dl-layout .dl {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  width: 100%;
  gap: 20px;
}

.forest-list>.item .meta-info .dl-layout .dl .dt {
  font-size: 14px;
  border: 1px solid;
  min-width: 5em;
  text-align: center;
  padding: 3px 5px;
}

.forest-list>.item .meta-info .dl-layout .dl .dd {
  margin-top: 3px;
}

.forest-list>.item .main-image {
  width: 600px;
  margin: 30px auto 0;
}

.forest-list>.item .history-list {
  margin-top: 30px;
}

.forest-list>.item .history-list>.item {
  margin: 20px auto 0;
  width: calc(100% - 40px);
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  padding: 30px 0 30px;
}

.forest-list>.item .history-list>.item:nth-of-type(1) {
  margin-top: 0;
}

.forest-list>.item .history-list>.item .title {
  padding-bottom: 15px;
}

.forest-list>.item .history-list>.item .title::after {
  width: 100px;
}

.forest-list>.item .history-list>.item .before-after {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  width: 800px;
  max-width: calc(100% - 40px);
  margin-inline: auto;
}

.forest-list>.item .history-list>.item .before-after>.item {
  width: 50%;
}

.forest-list>.item .history-list>.item .before-after>.item .image {
  width: 80%;
  max-width: 270px;
  margin-inline: auto;
}

.forest-list>.item .history-list>.item .before-after>.item .text {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  margin-top: 20px;
  line-height: 1.4;
}

.forest-list>.item .history-list>.item .before-after>.item:nth-of-type(2) .image {
  outline: solid clamp(6px, 1.1vw, 10px) #00AEEB;
  border-radius: 10px;
}

.forest-list>.item .history-list>.item .before-after>.item:nth-of-type(2) .text {
  color: #00AEEB;
}

@media screen and (max-width: 767px) {

  /* sp only */
  .forest-list {
    margin-top: 30px;
  }

  .forest-list>.item {
    --width: calc(100% - 20px);
    background-size: 700px auto;
    padding-bottom: 15px;
    border-radius: 0;
  }

  .forest-list>.item .head {
    margin-top: 20px;
  }

  .forest-list>.item .head img {
    height: clamp(0px, 8vw, 50px);
  }

  .forest-list>.item .earth-image {
    width: 100%;
    margin-top: 10px;
  }

  .forest-list>.item .meta-info {
    width: var(--width);
    padding: 10px;
    margin-top: 10px;
  }

  .forest-list>.item .meta-info .dl-layout {
    margin-top: 10px;
  }

  .forest-list>.item .meta-info .dl-layout .dl {
    gap: 10px;
  }

  .forest-list>.item .main-image {
    width: var(--width);
    margin-top: 20px;
  }

  .forest-list>.item .history-list {
    margin-top: 20px;
  }

  .forest-list>.item .history-list>.item {
    width: var(--width);
    margin-top: 10px;
    padding: 10px 0 18px;
  }

  .forest-list>.item .history-list>.item .title {
    font-size: 20px;
    padding-bottom: 12px;
    margin-bottom: 20px;
  }

  .forest-list>.item .history-list>.item .title::after {
    background-image: url("../images/csr/csr_common/title_wave_sp.svg");
    width: 80px;
  }

  .forest-list>.item .history-list>.item .before-after {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    max-width: calc(100% - 60px);
    gap: 30px;
  }

  .forest-list>.item .history-list>.item .before-after>.item {
    width: 100%;
  }

  .forest-list>.item .history-list>.item .before-after>.item .image {
    width: 100%;
  }

  .forest-list>.item .history-list>.item .before-after>.item .text {
    font-size: 16px;
    margin-top: 10px;
  }
}

/* sp only */
/* end forest-list */