@charset "UTF-8";
/*
 * BENEFITS
 */

#benefits,
#event,
#section03 {
  position: relative;
  padding-bottom: 50px;
  @media screen and (min-width: 768px) {
    padding-bottom: 100px;
  }
}


.benefits {
  overflow-x: clip;

  .bg_wide::before {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: -1;
    display: block;
    width: 200vw;
    height: 100%;
    content: "";
    background: #fff;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }

  .hasSidebar {
    display: flex;
    gap: min((100vw - 8rem) * 40 / 1200, 4rem);

    .mainContents {
      min-width: 0;
      flex: 1;
    }
    .table-scroll-container {
      overflow-x: auto;
      overflow-y: hidden;
    }
  }

  .hasSidebar .sidebar {
    display: none;

    @media screen and (min-width: 768px) {
      display: block;
      position: sticky;
      top: 100px;
      left: 0;
      flex-shrink: 0;
      align-self: flex-start;
      width: 25.1rem;
      padding-bottom: 10rem;
      z-index: 1;
    }

    .ancLinkList {
      font-size: 1.6rem;
      color: #274d3c;
      letter-spacing: 0.05em;

      a {
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;
        font-size: 1.8rem;
        font-weight: bold;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: .5em;
        line-height: 1.5;
        color: #999;
        transition: color .4;

        &:before {
          content: "";
          display: block;
          aspect-ratio: 1;
          width: 1rem;
          height: auto;
          border-radius: 50%;
          background-color: #999999;
          transition: background-color .4;
        }

      }
      a.current,
      a:hover {
        color: #ed4f09;

        &:before {
          background-color: #ed4f09;
        }
      }
    }
  }


  /* サイドバー周り */



  /* ここからコンテンツ */
    padding-top: 50px;
  @media screen and (min-width: 768px) {
    padding-top: 100px;
  }

  a {
    transition: all .4s;
    &:hover {opacity: 0.75;}
  }

  .page_mv {
    .mv_image {
      display: block;
      height: 200px;
      position: relative;

      @media screen and (min-width: 768px) {
        height: 400px;
      }

      img,source {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }

    .secTtl {
      text-align: left;
      flex-direction: column;
      justify-content: flex-start;
      align-items: flex-start;
      padding-left: 0;
      &:after {content: none;}

      position: absolute;
      inset: 0;
      margin: auto;
      width: calc(670% / 7.50);
      height: fit-content;

      @media screen and (min-width: 768px) {
        max-width: 1200px;
      }
    }

  }
  /* page_mv */
  .secTtl {

    @media screen and (min-width: 768px) {
      font-size: 1.8rem;
    }

    &:before {
      font-size: 3rem;
      @media screen and (min-width: 768px) {
        font-size: 4rem;
      }
    }
  }

  .w345_230 {
    aspect-ratio: 345 / 230;
    width: 100%;

    @media screen and (min-width: 768px) {
      width: 100%;
      max-width: 365px;
    }

    img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  .benefit_box {
    padding: 2em;
    @media screen and (min-width: 768px) {
      padding: 40px 40px 100px;
      gap: 50px;
    }

    .section_title {
      @media screen and (max-width: 767px) {
        margin-top: 65px;
      }
    }

    picture {
      position: relative;
      @media screen and (min-width: 768px) {
        padding-left: 20px;
      }

      &.icon_person {
        display: block;
        position: absolute;
        aspect-ratio: 160 / 128;
        width: calc(160px / 1.5);
        height: auto;
        left: -20px;
        bottom: calc((-128px / 1.5) / 2);
        z-index: 1;

        @media screen and (min-width: 768px) {
          width: 160px;
          bottom: calc(-128px / 2);
          left: -20px;
        }
      }
    }

    &.md-reverse {
      @media screen and (min-width: 768px) {
        .md-left {grid-area: left;}
        .sentence {grid-area: right;}
        grid-template-areas: "right left";
      }
    }
  }


  .shadow {
    position: relative;
    z-index: 1;

    &:before {
      content: "";
      display: block;
      width: calc(100% - 20px);
      height: calc(100% - 20px);
      background-color: #33a947;

      position: absolute;
      bottom: -10px;
      right: -10px;
      z-index: -1;

      border-radius: 0 10px 0 10px;
      display: block;
      overflow: hidden;
      @media screen and (min-width: 768px) {
        border-radius: 0 18px 0 18px;
        height: 100%;
        bottom: -10px;
      }
    }
  }

  .environment__anchor {
    padding: 2rem;
    display: flex;
    justify-content: flex-start;
    grid-row-gap: 20px;
    flex-wrap: wrap;

    @media screen and (min-width: 768px) {
      padding: 4rem;
    }

    &.is-active li {
      opacity: 1;
      transform: translateY(0);

      &:nth-child(1) { transition-delay: 0.06s;}
      &:nth-child(2) { transition-delay: 0.12s;}
      &:nth-child(3) { transition-delay: 0.18s;}
      &:nth-child(4) { transition-delay: 0.24s;}
      &:nth-child(5) { transition-delay: 0.3s;}
      &:nth-child(6) { transition-delay: 0.36s;}
      &:nth-child(7) { transition-delay: 0.42s;}
      &:nth-child(8) { transition-delay: 0.48s;}
      &:nth-child(9) { transition-delay: 0.54s;}
      &:nth-child(10) { transition-delay: 0.6s;}
      &:nth-child(11) { transition-delay: 0.66s;}
      &:nth-child(12) { transition-delay: 0.72s;}
      &:nth-child(13) { transition-delay: 0.78s;}
      &:nth-child(14) { transition-delay: 0.84s;}
      &:nth-child(15) { transition-delay: 0.9s;}
      &:nth-child(16) { transition-delay: 0.96s;}
      &:nth-child(17) { transition-delay: 1.02s;}
      &:nth-child(18) { transition-delay: 1.08s;}
      &:nth-child(19) { transition-delay: 1.14s;}
      &:nth-child(20) { transition-delay: 1.2s;}
      &:nth-child(21) { transition-delay: 1.26s;}
      &:nth-child(22) { transition-delay: 1.32s;}
      &:nth-child(23) { transition-delay: 1.38s;}
      &:nth-child(24) { transition-delay: 1.44s;}
      &:nth-child(25) { transition-delay: 1.5s;}
    }

    li {
      width: 100%;
      opacity: 0;
      transform: translateY(10%);
      transition: opacity 0.6s ease, transform 0.6s ease;
      @media screen and (min-width: 768px) {
        width: calc(100% / 3);
      }

      a {
        color: #33a947;
        font-weight: 500;
        padding-left: 0.8em;
        padding-right: 0.5em;

        display: block;
        font-size: 1.5rem;
        line-height: 1.2;
        letter-spacing: 0.05em;
        position: relative;
        transition: opacity 0.3s;

        @media screen and (min-width: 768px) {
          font-size: 2.0rem;
        }

        &:before {
          position: absolute;
          top: 1rem;
          left: 0;
          display: block;
          width: 0.8rem;
          height: 0.8rem;
          content: "";
          background-color: #33a947;
          border-radius: 50%;

          @media screen and (max-width: 767px) {
            top: 0;
            bottom: 0;
            margin: auto;
          }
        }
      }
    }
  }


  .environment__points {

  }



  #event {}
  .event_title {
    margin-top: 50px;
    @media screen and (min-width: 768px) {
      margin-top: 55px;
    }
  }


  .environment__event {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 40px 20px;
  }
  @media (max-width: 767px) {
    .environment__event {
      grid-template-columns: repeat(1, 1fr);
      margin-top: 50px;
    }
  }
  .environment__event li {
    max-width: 455px;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    counter-increment: num;
    row-gap: 0;
  }
  @media (max-width: 767px) {
    .environment__event li {
      display: block;
      max-width: inherit;
      width: 100%;
    }
  }
  .environment__event_image {
    position: relative;
  }
  .environment__event li picture {
    border-top-right-radius: 2rem;
    border-bottom-left-radius: 2rem;
    overflow: hidden;
    display: block;
  }
  @media (max-width: 767px) {
    .environment__event li picture {
      border-top-right-radius: 1rem;
      border-bottom-left-radius: 1rem;
    }
  }
  .environment__event_title {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.5em;
    margin-top: 1.5rem;
  }
  .environment__event_title .number, .environment__event_title .title {
    font-size: 3rem;
    font-weight: bold;
    line-height: 1.2;
    color: #0b4670;
    letter-spacing: 0.05em;
    text-align: center;
  }
  @media (max-width: 767px) {
    .environment__event_title .number, .environment__event_title .title {
      font-size: 2rem;
    }
  }
  .environment__event .descriotion {
    font-size: 1.8rem;
    line-height: 1.625;
    margin-top: 12px;
    letter-spacing: 0.05em;
  }
  @media (max-width: 767px) {
    .environment__event .descriotion {
      font-size: 1.5rem;
    }
  }




}
/* benefit */
#REQUIREMENTS {background-color: #d2f7d6;}


  .environment__points_image {
    position: relative;
  }
  .environment__points_number {
    position: absolute;
    top: 0; left: 0;
  }
  .environment__text {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.05em;
    color: #fff;
    margin-top: 40px;
  }
  @media (max-width: 767px) {
    .environment__text {
      font-size: 15px;
      text-align: left;
      margin-top: 20px;
      line-height: 1.5;
    }
  }

  .environment__points {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 20px;

    @media screen and (min-width: 768px) {
      grid-row-gap: 40px;
    }
  }
  @media (max-width: 767px) {
    .environment__points {
      grid-template-columns: repeat(1, 1fr);
      margin-top: 50px;
    }
  }
  .environment__points li {
    max-width: 360px;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    counter-increment: num;
    row-gap: 0;
  }
  @media (max-width: 767px) {
    .environment__points li {
      display: block;
      max-width: inherit;
      width: 100%;
    }
  }
  .environment__points_image {
    position: relative;
  }
  .environment__points_number {
    position: absolute;
    top: 0; left: 0;
    background-color: #33a947;
    display:  inline-block;
    border-bottom-right-radius: 1rem;
    font-size: 4rem;
    font-weight: bold;
    line-height: 1;
    padding: 0.2em;
    color: #fff;
  }
  .environment__points_number::before {
    display:  inline-block;
    content: counter(num, decimal-leading-zero);
  }
  .environment__points li picture {
    border-top-right-radius: 2rem;
    border-bottom-left-radius: 2rem;
    overflow: hidden;
    display: block;
  }
  @media (max-width: 767px) {
    .environment__points li picture {
      border-top-right-radius: 1rem;
      border-bottom-left-radius: 1rem;
    }
  }
  .environment__points_title {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.5em;
    margin-top: 1.5rem;
  }
  .environment__points_title .number, .environment__points_title .title {
    font-size: 3rem;
    font-weight: bold;
    line-height: 1.2;
    color: #33a947;
    letter-spacing: 0.05em;
    text-align: center;
  }
  @media (max-width: 767px) {
    .environment__points_title .number, .environment__points_title .title {
      font-size: 2rem;
    }
  }
  .environment__points_title .small-text {
    display: inline-block;
    font-size: 0.668em;
  }
  .environment__points_title .number {
    color: #3ECC85;
    font-family: "brandon-grotesque", sans-serif;
    margin-top: 0.1em;
  }
  .environment__points .descriotion {
    font-size: 1.8rem;
    line-height: 1.625;
    margin-top: 12px;
    letter-spacing: 0.05em;
  }
  @media (max-width: 767px) {
    .environment__points .descriotion {
      font-size: 1.5rem;
      line-height: 1.58;
      margin-top: 2px;
    }
  }


  .environment__points_title .title {
    @media screen and (min-width: 768px) {
      font-size: 2.2rem;
    }
  }





.benefits_v2 {

  padding-top: 50px;
  @media screen and (min-width: 768px) {
    padding-top: 100px;
  }

  a {
    transition: all .4s;
    &:hover {opacity: 0.75;}
  }

  .page_mv {
    .mv_image {
      display: block;
      height: 200px;
      position: relative;

      @media screen and (min-width: 768px) {
        height: 400px;
      }

      img,source {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }

    .secTtl {
      text-align: left;
      flex-direction: column;
      justify-content: flex-start;
      align-items: flex-start;
      padding-left: 0;
      &:after {content: none;}

      position: absolute;
      inset: 0;
      margin: auto;
      width: calc(670% / 7.50);
      height: fit-content;

      @media screen and (min-width: 768px) {
        max-width: 1200px;
      }
    }

  }
  /* page_mv */
  .secTtl {

    @media screen and (min-width: 768px) {
      font-size: 1.8rem;
    }

    &:before {
      font-size: 3rem;
      @media screen and (min-width: 768px) {
        font-size: 4rem;
      }
    }
  }

  .mx-center {
    @media screen and (min-width: 768px) {
      text-align: center;
    }
  }


  .benefit_container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1em;

    @media screen and (min-width: 768px) {
      /* テキスト幅(533px)を確保しつつ、画像エリア(最大420px)との間に自動で隙間を作る */
      grid-template-columns: minmax(533px, 1fr) max-content;
      grid-template-areas: "text image";
      justify-content: space-between;
      align-items: flex-start;
      gap: 2em;

      max-width: 1000px;
      margin-left: auto;
      margin-right: auto;

      .description {
        grid-area: text;
        width: 100%;
        max-width: 533px; /* 533pxを上限・目標値として保持 */
      }

      picture {
        grid-area: image;
      }

      /* 左右反転パターン */
      &.revers {
        /* 反転時は列の幅指定も逆（画像 テキスト）にする */
        grid-template-columns: max-content minmax(533px, 1fr);
        grid-template-areas: "image text";
      }
    }


    picture {
      display: block;
      width: 100%;

      @media screen and (min-width: 768px) {
        max-width: 420px; /* PCでの最大幅 */
        width: 100%;      /* 420px以下では親要素に合わせて可変 */
        margin-inline: auto; /* グリッドセル内で中央に配置したい場合 */
      }
    }

    picture img {
      width: 100%;
      height: auto;
      display: block;
    }


    .container_header {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 0.75em;

      background-color: transparent;
      background-image: radial-gradient(circle, #33a947 1.5px, transparent 1.5px);
      background-position: left bottom;
      background-repeat: repeat-x;
      background-size: 6px 6px;

      padding-bottom: 20px;
      @media screen and (min-width: 768px) {
        padding-bottom: 30px;
      }

      span {
        display: block;
        line-height: 1;

        &.number {
          font-size: 3rem;
          font-weight: bold;
          color: #ed4f09;
          display: flex;
          align-items: center;
          justify-content: flex-start;
          gap: .25em;

          font-family: "Montserrat", sans-serif;
          font-optical-sizing: auto;
          font-weight: 700;
          font-style: normal;

          @media screen and (min-width: 768px) {
            font-size: 4rem;
          }

          &:after {
            content: "";
            display: block;
            background-color: #ed4f09;
            width: 2px;
            height: .75em;
            @media screen and (min-width: 768px) {
            }
          }
        }
        &:not(.number) {
          font-size: 2.3rem;
          font-weight: bold;

          @media screen and (min-width: 768px) {
            font-size: 3rem;
          }
        }
      }
    }

    .sentence {
      @media screen and (max-width: 767px) {
        margin-top: 1em;
        margin-bottom: 1em;
      }
      @media screen and (min-width: 768px) {
        margin-top: 1.5em;
      }
    }
  }


  .benefit__sentence_box {
    margin-top: 20px;
    padding: 30px 20px;
    @media screen and (min-width: 768px) {
      margin-top: 25px;
      padding: 30px 50px;
    }

    .container_header {
      background-color: transparent;
      background-image: radial-gradient(circle, #ed4f09 1.5px, transparent 1.5px);
      background-position: left bottom;
      background-repeat: repeat-x;
      background-size: 6px 6px;

      padding-bottom: 1em;
      margin-bottom: 1em;
      font-size: 1.9rem;
      font-weight: bold;
      line-height: 1.5;

      @media screen and (min-width: 768px) {
        font-size: 2.2rem;
        line-height: 1.61;
      }
    }

    .orange {color: #ed4f09;}
  }
}
