@charset "UTF-8";

.h3-wrap {
  padding-top: 112px;
  padding-bottom: 112px;

  font-family: "acumin-pro", sans-serif;
  font-weight: 700;
  font-style: normal;
}

section {
  display: grid;
  grid-template-columns: 1fr 720px;
  column-gap: 104px;
  width: 100%;
  padding-top: 48px;
  padding-right: calc(calc(100dvw - 1120px) / 2);


  .thumbnail-wrap {
    position: relative;
    width: 100%;

    .badge {
      position: absolute;
      top: 0;
      right: 0;
      transform: translate(50%, -50%);

      display: grid;
      grid-template-columns: auto auto;
      grid-template-rows: auto auto;

      padding: 12px 24px;

      background: var(--tc);
      color: #fff;
      line-height: 1;
      border-radius: 20px;

      font-family: "acumin-pro", sans-serif;
      font-weight: 700;
      font-style: normal;

      .num {
        grid-column: 1/2;
        grid-row: 1/2;

        font-size: 64px;
      }

      .slash {
        grid-column: 2/3;
        grid-row: 2/3;

        margin-top: -10px;
      }
    }

    picture {
      img {
        width: 100%;
        border-radius: 0 20px 20px 0;
      }
    }
  }

  .content {
    h4 {
      margin-bottom: 24px;
      font-size: 28px;
      color: var(--tc);
      font-weight: 700;
    }

    p {
      line-height: 2;
      font-weight: 700;
    }
  }
}

#sec-01 {
  padding-bottom: 64px;
}

#sec-02,
#sec-03,
#sec-04 {
  padding-bottom: 200px;
}

#sec-02,
#sec-03 {
  position: relative;
  z-index: 2;

  .float-img {
    position: absolute;
    z-index: -1;
    top: 50%;
    right: 0;

    img {
      width: 380px;
      border-radius: 20px 0 0 20px;
    }
  }
}

#mid-eyecatch {
  width: 100%;
  padding: 48px 0;

  background: linear-gradient(to bottom,
      var(--tc) 0%,
      var(--tc) 60%,
      transparent 60%,
      transparent 100%);

  .inner {
    width: min(1120px, 100%);
    padding: 0 24px;
    margin-inline: auto;

    .popup {
      --arrow-size: 120px;
      --arrow-x: 140px;
      --arrow-y: 77px;
      --arrow-rot: -28deg;
      position: relative;
      z-index: 2;
      width: 80%;
      padding: 16px;
      margin-inline: auto;
      margin-bottom: 64px;

      font-size: 28px;
      font-weight: 700;
      color: var(--tc);
      text-align: center;

      border-radius: 16px;
      box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
      background: #fff;
      overflow: visible;
    }

    .popup::after {
      content: "";
      position: absolute;
      left: 50%;
      top: calc(100% - var(--arrow-y));
      width: var(--arrow-size);
      height: var(--arrow-size);
      z-index: -1;

      background: #fff;
      /* 角丸三角形の形状：画像の形と角度に合わせたパス */
      clip-path: path("M28 24 Q22 24 24 30 L16 52 Q14 58 20 64 L66 108 Q72 114 78 108 L92 36 Q94 30 88 28 Z");
      transform: translateX(-50%)rotate(var(--arrow-rot));
      box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    }

    p.text {
      margin-bottom: 32px;

      color: #fff;
    }
  }
}

@media (min-width : 1200px) {}

@media (max-width : 1919px) {

  #sec-02,
  #sec-03 {
    .float-img {
      display: none;
    }
  }
}

@media (max-width : 1200px) {
  .h3-wrap {
    padding-top: 5dvh;
    padding-bottom: 5dvh;
  }

  section {
    grid-template-columns: 1fr;
    padding-top: 48px;
    padding-right: 0;


    .thumbnail-wrap {
      .badge {
        position: absolute;
        top: 0;
        right: auto;
        left: 0;
        transform: none;

        padding: 12px 24px;
        border-radius: 0 0 20px 0;

        .num {
          font-size: max(5vw, 22px);
        }
      }

      picture {
        img {
          width: 100%;
          border-radius: 0;
        }
      }
    }

    .content {
      padding: 16px;

      h4 {
        margin-bottom: 24px;
        font-size: 28px;
        color: var(--tc);
        font-weight: 700;
      }

      p {
        line-height: 1.6;
        font-weight: 700;
      }
    }
  }

  #sec-02,
  #sec-03,
  #sec-04 {
    padding-bottom: 8dvh;

    .float-img {
      display: none;
    }
  }

  #mid-eyecatch {
    width: 100%;
    padding: 48px 0;

    background: var(--tc);

    .inner {
      padding: 0 16px;

      .popup {
        width: 95%;
        padding: 16px;

        font-size: 5dvw;
      }

      p.text {
        line-height: 1.6;
      }
    }
  }
}

@media (max-width : 599px) {}