* {
  font-family: "m-plus-rounded-1c", sans-serif !important;
}

.marker-y {
  background:linear-gradient(transparent 60%, #FFFF00 60%);
}

.kv {
  background-color: #dbedbc;

  .kv_inner {
    background-image: url(../../assets-campaign-yokohamacity2025autumn-lp/images/kv_bg.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 80%;
    padding: 10px 0;

    > img {
      display: block;
      width: 315.84px;
      margin: 0 auto;
    }

    > div {
      position: relative;
      margin: 28px auto 10px;
      width: 316px;
      background-color: #fff;
      border-radius: 16px;
      border: 4px solid #007a2d;
      padding: 16px 0;

      > img:nth-of-type(1) {
        width: 252px;
        display: block;
        margin: 7.8px auto 0;
      }

      > p {
        font-family: "m-plus-rounded-1c", sans-serif;
        font-family: "m-plus-rounded-1c", sans-serif;
        font-weight: 700;
        font-size: 18px;
        line-height: 23px;
        color: #007a2d;
        text-align: center;
      }
      > img:nth-of-type(2) {
        width: 253px;
        display: block;
        margin: 8px auto 0;
      }
    }
  }
}

.yokohama-go-green {
  background-color: #007a2d;
  padding: 10px;
  box-sizing: border-box;

  .yokohama-go-green_inner {
    background-color: #fff;
    padding-top: 40px;

    > img:nth-of-type(1) {
      width: 318px;
      display: block;
      margin: 0 auto;
    }

    > h3 {
      display: block;
      margin: 35px auto 25px;
      width: fit-content;
      font-size: 20px;
      font-weight: 800;
      color: #fff;
      background-color: #007a2d;
      border-radius: 100px;
      padding: 10px 20px;
      text-align: center;
    }

    > p {
      font-size: 16px;
      font-weight: 400;
      line-height: 25.6px;
      padding: 0 22px;
    }

    > a {
      display: block;
      width: fit-content;
      margin: 24px auto 32px;
      color: #0093df;
      font-size: 18px;
      font-weight: 800;
      line-height: 28.8px;
      text-decoration: underline;
    }

    > img:nth-of-type(2) {
      width: 354px;
      display: block;
      margin: 0 auto;
    }
  }
}

.gogreen-10action {
  background-color: #fff;
  .gogreen-10action_inner {
    padding-bottom: 56px;

    .title {
      background-color: #dbedbc;

      > img {
        width: 358px;
        display: block;
        margin: 0 auto;
        padding: 10px 0;
      }

      &::after {
        width: 390px;
        height: 16.69px;
        display: block;
        content: "";
        background-image: url(../../assets-campaign-yokohamacity2025autumn-lp/images/wave_lightgreen.svg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        margin: 0 auto;
        position: absolute;
      }
    }

    .accordion {
      padding: 50px 0 24px;
      display: flex;
      flex-direction: column;
      row-gap: 16px;

      details {
        outline: none;

        summary {
          display: flex;
          justify-content: space-between;
          align-items: center;
          list-style: none;
          padding: 0 16px;
          height: 84px;
          border-radius: 100px;
          background-color: #e9f094;
          border: 3px solid #007a2d;
          margin: 0 16px;

          > img {
            height: 31.2px;
          }

          > h3 {
            font-size: 20px;
            color: #007a2d;
            line-height: 26px;
            font-weight: 800;
            display: block;
            width: 225px;
          }

          > span {
            > img {
              width: 32px;
            }
          }
        }

        summary::-webkit-details-marker {
          display: none;
        }

        .detail {
          > img {
            width: 360px;
            display: block;
            margin: 16px auto 0;
          }

          .detail-content {
            background-color: #e9f094;
            display: flex;
            padding: 40px 16px;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 16px;
            border-radius: 32px;
            margin-top: 16px;

            > img {
              width: 358px;
              display: block;
              margin: 0 auto;
            }

            > div:first-of-type,
            div:nth-of-type(2) {
              display: flex;
              align-items: center;
              width: 100%;
              gap: 16px;
              padding: 0 16px;

              > img {
                width: 38px;
              }

              > p {
                color: #003426;
                font-size: 16px;
                font-weight: 700;
                line-height: 25.6px;
              }
            }

            /* > p {
              padding: 0 16px;
              color: #003426;
              font-size: 14px;
              font-weight: 400;
              line-height: 22.4px;
            } */

            .suloop {
              background-color: #fff;
              padding: 26px 16px;

              > img:nth-of-type(1) {
                width: 188px;
                display: block;
                margin: 0 auto;
              }

              > p {
                font-size: 16px;
                text-align: center;
                color: #003426;
                font-weight: 600;
                margin: 16px 0;
                letter-spacing: -0.1em;
              }

              > img:nth-of-type(2) {
                width: 326px;
                display: block;
                margin: 0 auto 26px;
              }

              > div {
                width: 100%;
                display: flex;
                flex-direction: row;
                align-items: flex-start;
                column-gap: 16px;

                > img {
                  width: 127px;
                }

                > div {
                  > p {
                    font-size: 14px;
                    color: #003426;
                    font-weight: 500;
                    line-height: 22.4px;
                    margin-bottom: 10px;
                  }

                  > a {
                    font-size: 14px;
                    color: #0093df;
                    font-weight: 800;
                    line-height: 22.4px;
                    text-decoration: underline;
                  }
                }
              }
            }

            .ygrep-banner {
              width: 358px;

              > img {
                width: 100%;
              }
            }
          }
        }
      }
    }

    > a {
      display: block;
      width: fit-content;
      margin: 0 auto;
      color: #0093df;
      font-size: 18px;
      font-weight: 800;
      line-height: 28.8px;
      text-decoration: underline;
    }
  }
}

.section_yg {
  background-color: #dff3fe;
  padding: 32px 16px 40px;
  position: relative;

  &::before {
    width: 390px;
    height: 16.69px;
    display: block;
    content: "";
    background-image: url(../../assets-campaign-yokohamacity2025autumn-lp/images/wave_lightblue.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin: 0 auto;
    position: absolute;
    top: -16px;
    left: 0;
  }

  &::after {
    width: 390px;
    height: 16.69px;
    display: block;
    content: "";
    background-image: url(../../assets-campaign-yokohamacity2025autumn-lp/images/wave_lightblue.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin: 0 auto;
    position: absolute;
    bottom: -16px;
    left: 0;
    transform: rotate(180deg);
  }

  .section_yg_inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;

    .section_points_group {
      display: flex;
      flex-direction: column;
      gap: 8px;
      width: 100%;
    }

    .points_heading {
      margin: 0;
      font-size: 24px;
      font-weight: 700;
      text-align: center;
      color: #0093df;
    }

    > img {
      display: block;
      width: 100%;
      height: auto;
      max-width: 320px;
    }

    .section_yg_content {
      display: flex;
      flex-direction: column;
      gap: 8px;
      width: 100%;

      .section_yg_subcopy {
        font-size: 16px;
        padding: 15px 0;
        font-weight: 700;
        color: #0093df;
        background-color: #dff3fe;
        border-top: 2px dashed #0093df;
        border-bottom: 2px dashed #0093df;
        text-align: center;
      }

      .section_yg_flow {
        background-color: #ffffff;
        padding: 24px 16px;
        display: flex;
        flex-direction: column;
        gap: 24px;

        .yg_flow_text {
          margin: 0;
          font-weight: 400;
          font-size: 14px;
          line-height: 1.6;

          strong {
            font-weight: 700;
          }
        }

        .yg_flow {
          display: flex;
          flex-direction: column;
          gap: 4px;
          margin-bottom: 19px;
          font-weight: 700;
          font-size: 12px;

          .yg_flow_row--split {
            background-color: #dff3fe;
            display: flex;
            justify-content: center;
            align-items: stretch;
            padding: 12px 0;
            color: #0093df;

            .yg_flow_cell {
              display: flex;
              align-items: center;
              justify-content: flex-start;
              text-align: left;
              font-size: 12px;
              line-height: 1.2;
              flex: 0 0 auto;
              white-space: normal;
            }

            .yg_flow_cell:first-child {
              padding: 0 26.5px 0 0;
              border-right: 2px dashed #0093df;
            }

            .yg_flow_cell:nth-child(2) {
              padding: 0 0 0 26.5px;
            }
          }

          .yg_flow_row--two {
            display: flex;
            gap: 4px;

            .yg_box {
              background-color: #dff3fe;
              flex: 1;
              display: flex;
              align-items: center;
              justify-content: center;
              text-align: center;
              padding: 12px 0;
              color: #0093df;
            }
          }
        }

        .yg_project {
          position: relative;
          margin: 0;

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

          .yg_project_label {
            position: absolute;
            left: 50%;
            top: 0;
            transform: translate(-50%, -50%);
            padding: 10px 18px;
            background-color: #0093df;
            color: #fff;
            border-radius: 9999px;
            font-weight: 700;
            font-size: 14px;
            line-height: 1;
            white-space: nowrap;
          }
        }

        .yg_flow_note {
          margin: 0;
          font-size: 10px;
          line-height: 1.6;
          color: #101c50;
        }
      }
    }

    .section_points {
      background-color: #ffffff;
      padding: 24px 16px;

      .points_heading {
        margin: 0;
        font-size: 24px;
        font-weight: 700;
        color: #101c50;
        text-align: center;
      }

      .points_list {
        display: flex;
        flex-direction: column;
        gap: 8px;

        .points_item {
          background-color: #ffffff;

          .points_body {
            display: flex;
            align-items: center;
            justify-content: space-between;

            .points_text {
              display: flex;
              flex-direction: column;
              justify-content: center;
              gap: 8px;
              height: 80px;
              box-sizing: border-box;

              .points_title {
                font-size: 20px;
                font-weight: 700;
                color: #0093df;

                .points_subtitle {
                  font-size: 12px;
                }
              }

              .points_row {
                display: grid;
                grid-template-columns: auto 1fr;
                grid-template-rows: auto auto;
                align-items: center;
                column-gap: 8px;
                row-gap: 4px;

                .points_badge {
                  position: relative;
                  display: inline-flex;
                  align-items: center;
                  padding: 6px;
                  background-color: #dff3fe;
                  color: #0093df;
                  font-size: 12px;
                  font-weight: 400;
                  border-radius: 0;
                  grid-column: 1;
                  grid-row: 1 / 3;
                  margin-right: 8px;

                  &::after {
                    content: "";
                    position: absolute;
                    top: 50%;
                    right: -12px;
                    transform: translateY(-50%);
                    width: 0;
                    height: 0;
                    border-left: 12px solid #dff3fe;
                    border-top: 13px solid transparent;
                    border-bottom: 13px solid transparent;
                  }
                }

                .points_value {
                  font-size: 16px;
                  color: #101c50;
                  font-weight: 700;
                  grid-column: 2;
                  grid-row: 1 / 3;
                  display: flex;
                  align-items: center;
                }

                .points_value:has(+ .points_note) {
                  grid-row: 1;
                  align-items: flex-start;
                }

                .points_note {
                  font-size: 10px;
                  color: #101c50;
                  font-weight: 400;
                  grid-column: 2;
                  grid-row: 2;
                }
              }
            }

            .points_icon {
              height: 80px;
              width: 96px;
              flex: 0 0 auto;
              object-fit: contain;
              display: none;
            }
          }

          .points_condition {
            font-size: 13px;
            line-height: 18px;
            color: #373737;
          }
        }
      }

      > strong {
        display: block;
        font-weight: 700;
        font-size: 16px;
        line-height: 20px;
        margin-top: 15px;
        color: #101C50;

        > a {
          color: #0093df;
          text-decoration: underline;
        }
      }

      > p {
        font-size: 14px;
        color: #101C50;
        padding-top: 15px;

        > a {
          font-size: 14px;
          color: #101C50;
          text-decoration: underline;
        }
      }
    }
  }
}

.banner {
  padding: 48px 0 32px;
  background-color: #fff;

  .banner-link {
    width: 358px;

    > img {
      width: 100%;
    }
  }

  > a {
    display: block;
    width: fit-content;
    margin: 0 auto;
    color: #0093df;
    font-size: 18px;
    font-weight: 800;
    line-height: 28.8px;
    text-decoration: underline;
  }
}

footer {
  background-color: #009d7a;
  .footer_inner {
    padding: 40px 0;

    h3 {
      width: 324px;
      padding: 10px 0;
      display: block;
      margin: 0 auto;
      border-radius: 100px;
      background-color: #fff;
      color: #009d7a;
      text-align: center;
      font-size: 20px;
      font-weight: 800;
      line-height: 20px;
    }

    > p:nth-of-type(1) {
      color: #fff;
      margin: 32px 0;
      text-align: center;
      font-size: 24px;
      font-weight: 800;
      line-height: 31.2px;
    }

    > a {
      display: block;
      width: fit-content;
      margin: 0 auto;
      > img {
        width: 342px;
      }
    }

    > p:nth-of-type(2) {
      color: #fff;
      text-align: center;
      font-size: 16px;
      font-weight: 700;
      line-height: 25.6px;
    }
  }
}

@media screen and (max-width: 835px) {
  .kv {
    .kv_inner {
      background-size: auto 80%;
      padding: 2.564vw 0;

      > img {
        width: 80.985vw;
      }

      > div {
        margin: 7.179vw auto 2.564vw;
        width: 81.026vw;
        border-radius: 4.103vw;
        border: 1.026vw solid #007a2d;
        padding: 4.103vw 0;

        > img:nth-of-type(1) {
          width: 64.615vw;
          display: block;
          margin: 2vw auto 0;
        }

        > p {
          font-size: 4.615vw;
          line-height: 5.897vw;
        }
        > img:nth-of-type(2) {
          width: 64.872vw;
          margin: 2.051vw auto 0;
        }
      }
    }
  }

  .yokohama-go-green {
    padding: 2.564vw;

    .yokohama-go-green_inner {
      padding-top: 10.256vw;

      > img:nth-of-type(1) {
        width: 81.538vw;
      }

      > h3 {
        margin: 10.41vw auto 6.41vw;
        font-size: 5.128vw;
        border-radius: 25.641vw;
        padding: 2.564vw 5.128vw;
      }

      > p {
        font-size: 4.103vw;
        line-height: 6.564vw;
        padding: 0 5.641vw;
      }

      > a {
        margin: 6.154vw auto 8.205vw;
        font-size: 4.615vw;
        line-height: 7.385vw;
      }

      > img:nth-of-type(2) {
        width: 90.769vw;
      }
    }
  }

  .gogreen-10action {
    .gogreen-10action_inner {
      padding-bottom: 14.359vw;

      .title {
        > img {
          width: 91.795vw;
          padding: 2.564vw 0;
        }

        &::after {
          width: 100%;
          height: 4.279vw;
        }
      }

      .accordion {
        padding: 12.821vw 0 6.154vw;
        row-gap: 4.103vw;

        details {
          summary {
            padding: 0 4.103vw;
            height: 21.538vw;
            border-radius: 25.641vw;
            border: 0.769vw solid #007a2d;
            margin: 0 4.103vw;

            > img {
              height: 8vw;
            }

            > h3 {
              font-size: 5.128vw;
              line-height: 6.667vw;
              width: 57.692vw;
            }

            > span {
              > img {
                width: 8.205vw;
              }
            }
          }

          .detail {
            > img {
              width: 92.308vw;
              margin: 4.103vw auto 0;
            }

            .detail-content {
              padding: 10.256vw 4.103vw;
              gap: 4.103vw;
              border-radius: 8.205vw;
              margin-top: 4.103vw;

              > img {
                width: 91.795vw;
              }

              > div:first-of-type,
              div:nth-of-type(2) {
                width: 100%;
                gap: 4.103vw;
                padding: 0 4.103vw;

                > img {
                  width: 9.744vw;
                }

                > p {
                  font-size: 4.103vw;
                  line-height: 6.564vw;
                }
              }

              /* > p {
                padding: 0 4.103vw;
                font-size: 3.59vw;
                line-height: 5.744vw;
              } */

              .suloop {
                padding: 6.667vw 4.103vw;

                > img:nth-of-type(1) {
                  width: 48.205vw;
                }

                > p {
                  font-size: 4.103vw;
                  color: #003426;
                  margin: 4.103vw 0;
                  letter-spacing: -0.1em;
                }

                > img:nth-of-type(2) {
                  width: 83.59vw;
                  margin: 0 auto 6.667vw;
                }

                > div {
                  width: 100%;
                  column-gap: 4.103vw;

                  > img {
                    width: 32.564vw;
                  }

                  > div {
                    > p {
                      font-size: 3.59vw;
                      line-height: 5.744vw;
                      margin-bottom: 2.564vw;
                    }

                    > a {
                      font-size: 3.59vw;
                      line-height: 5.744vw;
                    }
                  }
                }
              }

              .ygrep-banner {
                width: 91.795vw;

                > img {
                  width: 100%;
                }
              }
            }
          }
        }
      }

      > a {
        font-size: 4.615vw;
        line-height: 7.385vw;
      }
    }
  }

  .section_yg {
    padding: 8.205vw 4.103vw 10.256vw;

    &::before {
      width: 100%;
      height: 4.279vw;
      top: -4.103vw;
      left: 0;
    }

    &::after {
      width: 100%;
      height: 4.279vw;
      bottom: -4.103vw;
      left: 0;
      transform: rotate(180deg);
    }

    .section_yg_inner {
      gap: 7.179vw;

      .section_points_group {
        gap: 2.051vw;
        width: 100%;
      }

      .points_heading {
        font-size: 6.154vw;
      }

      > img {
        width: 100%;
        max-width: 82.051vw;
      }

      .section_yg_content {
        gap: 2.051vw;
        width: 100%;

        .section_yg_subcopy {
          font-size: 4.103vw;
          padding: 3.846vw 0;
          border-top: 0.513vw dashed #0093df;
          border-bottom: 0.513vw dashed #0093df;
        }

        .section_yg_flow {
          padding: 6.154vw 4.103vw;
          gap: 6.154vw;

          .yg_flow_text {
            margin: 0;
            font-size: 3.59vw;
            line-height: 1.6;
          }

          .yg_flow {
            gap: 1.026vw;
            margin-bottom: 4.872vw;
            font-size: 3.077vw;

            .yg_flow_row--split {
              padding: 3.077vw 0;

              .yg_flow_cell {
                font-size: 3.077vw;
                line-height: 1.2;
              }

              .yg_flow_cell:first-child {
                padding: 0 6.795vw 0 0;
                border-right: 0.513vw dashed #0093df;
              }

              .yg_flow_cell:nth-child(2) {
                padding: 0 0 0 6.795vw;
              }
            }

            .yg_flow_row--two {
              gap: 1.026vw;

              .yg_box {
                padding: 3.077vw 0;
              }
            }
          }

          .yg_project {
            margin: 0;

            > img {
              width: 100%;
            }

            .yg_project_label {
              left: 50%;
              top: 0;
              transform: translate(-50%, -50%);
              padding: 2.564vw 4.615vw;
              border-radius: 2563.846vw;
              font-size: 3.59vw;
            }
          }

          .yg_flow_note {
            font-size: 2.564vw;
            line-height: 1.6;
          }
        }
      }

      .section_points {
        padding: 6.154vw 4.103vw;

        .points_heading {
          font-size: 6.154vw;
        }

        .points_list {
          gap: 2.051vw;

          .points_item {
            .points_body {
              .points_text {
                gap: 2.051vw;
                height: 20.513vw;

                .points_title {
                  font-size: 5.128vw;

                  .points_subtitle {
                    font-size: 3.077vw;
                  }
                }

                .points_row {
                  grid-template-columns: auto 1fr;
                  column-gap: 2.051vw;
                  row-gap: 1.026vw;

                  .points_badge {
                    padding: 1.538vw;
                    font-size: 3.077vw;
                    grid-column: 1;
                    grid-row: 1 / 3;
                    margin-right: 2.051vw;

                    &::after {
                      top: 50%;
                      right: -3.077vw;
                      transform: translateY(-50%);
                      width: 0;
                      height: 0;
                      border-left: 3.077vw solid #dff3fe;
                      border-top: 3.333vw solid transparent;
                      border-bottom: 3.333vw solid transparent;
                    }
                  }

                  .points_value {
                    font-size: 4.103vw;
                    grid-column: 2;
                    grid-row: 1 / 3;
                  }

                  .points_value:has(+ .points_note) {
                    grid-row: 1;
                  }

                  .points_note {
                    font-size: 2.564vw;
                    grid-column: 2;
                    grid-row: 2;
                  }
                }
              }

              .points_icon {
                height: 20.513vw;
                width: 24.615vw;
                display: none;
              }
            }

            .points_condition {
              font-size: 3.333vw;
              line-height: 4.615vw;
              color: #373737;
            }
          }
        }

        > strong {
          font-size: 4.103vw;
          line-height: 5.128vw;
          margin-top: 3.846vw;
        }
  
        > p {
          font-size: 3.59vw;
          padding-top: 3.846vw;
  
          > a {
            font-size: 3.59vw;
          }
        }
      }
    }
  }

  .banner {
    padding: 12.308vw 0 8.205vw;

    .banner-link {
      width: 91.795vw;

      > img {
        width: 100%;
      }
    }

    > a {
      font-size: 4.615vw;
      line-height: 7.385vw;
    }
  }

  footer {
    .footer_inner {
      padding: 10.256vw 0;

      h3 {
        width: 83.077vw;
        padding: 2.564vw 0;
        border-radius: 25.641vw;
        font-size: 5.128vw;
        line-height: 5.128vw;
      }

      > p:nth-of-type(1) {
        margin: 8.205vw 0;
        font-size: 6.154vw;
        line-height: 8vw;
      }

      > a {
        margin: 0 auto;
        > img {
          width: 87.692vw;
        }
      }

      > p:nth-of-type(2) {
        font-size: 4.103vw;
        line-height: 6.564vw;
      }
    }
  }
}

/* pc */
/* -------------------------- */
@media screen and (min-width: 836px) {
  header,
  footer,
  section:not(.section_points) {
    width: 390px;
    margin: 0 auto;
  }

  .pc-bg {
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background: url("../images/pc-bg.svg") center / 100% no-repeat;
    background-size: cover;
  }
}
