.kyufukin {
  .k-heading02 {
    margin-bottom: 3.5rem;
    @media screen and (max-width: 768px) {
      margin-bottom: 2rem;
    }
  }

  .k-link {
    text-decoration: underline;
    color: #6b2caa;
  }

  .k-cv__button {
    border: 1px solid #6b2caa !important;
    border-radius: 100vmax;
    width: 24.375rem;
    margin-left: 0 !important;
    a {
      position: relative;
      padding: 1.375rem 0;
    }
    .cv__button__content {
      display: grid;
      place-items: center;
      grid-template-columns: 1fr;
    }
    .cv__button__text {
      font-size: 1.125rem;
      @media screen and (max-width: 768px) {
        font-size: 0.875rem;
      }
    }
    .cv__button__icon {
      position: absolute;
      right: 1.125rem;
      top: 1.125rem;
      @media screen and (max-width: 768px) {
        right: 0.875rem;
        top: 0.875rem;
      }
    }
  }

  .k-ul {
    display: grid;
    line-height: 1.5;
    gap: 1rem;

    li {
      display: flex;
      align-items: center;
      line-height: 1.5;
      @media screen and (max-width: 768px) {
        font-size: 0.875rem;
      }
      &::before {
        flex-shrink: 0;
        content: '';
        width: 0.5rem;
        height: 0.5rem;
        background: #6b2caa;
        display: inline-block;
        margin-right: 0.5rem;
        border-radius: 100vmax;
      }
    }
  }

  .k-lead {
    margin-bottom: 3rem;
    font-size: 1.25rem;
    line-height: 2;
    font-weight: bold;

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

  .k-scroll-x {
    padding-bottom: 32px;
    overflow-x: auto;
    margin-inline: calc(50% - 50vw);
    padding-inline: calc((50% - 50vw) * -1);
    img {
      max-width: none;
    }
  }
  
  @media screen and (max-width: 768px) {
    .k-lg-scroll-x {
      padding-bottom: 32px;
      overflow-x: auto;
      margin-inline: calc(50% - 50vw);
      padding-inline: calc((50% - 50vw) * -1);
      img {
        max-width: none;
      }
    }
  }

  .k-hero {
    margin-bottom: 8.5rem;
    display: grid;
    place-items: center;
    height: 18.75rem;
    font-weight: 700;
    background-image: url(../images/kyufukin/hero_bg.svg);
    background-size: cover;
    background-position: center;
    color: #fff;
    @media screen and (max-width: 768px) {
      margin-bottom: 5rem;
      height: 12.5rem;
    }
    p {
      font-size: 0.875rem;
      margin-bottom: 1rem;
      line-height: 1;
      @media screen and (max-width: 768px) {
        font-size: 0.75rem;
      }
    }
    h1 {
      font-size: 3rem;
      line-height: 1;
      @media screen and (max-width: 768px) {
        font-size: 1.75rem;
      }
    }
  }
  .k-about {
    margin-bottom: 8.5rem;
    @media screen and (max-width: 768px) {
      margin-bottom: 5rem;
    }
  }

  .k-eligible {
    margin-bottom: 12.5rem;
    @media screen and (max-width: 768px) {
      margin-bottom: 7.5rem;
    }

    .k-eligible__lead {
      display: grid;
      gap: 1rem;
      font-weight: medium;
      margin-bottom: 4rem;
      em {
        color: #6b2caa;
        font-size: 1.5rem;
        line-height: 2;
        font-style: normal;
        text-decoration: underline;
        @media screen and (max-width: 768px) {
          font-size: 1.125rem;
        }
      }
    }

    .k-eligible__image img {
      @media screen and (max-width: 768px) {
        width: 50rem;
      }
    }

    .k-eligible__ol {
      display: grid;
      gap: 4.25rem;
    }

    .k-eligible__heading {
      margin-bottom: 2.5rem;
      padding-top: 1.5rem;
      font-size: 2rem;
      font-weight: bold;
      color: #6b2caa;
      border-top: #6b2caa 1px solid;
      @media screen and (max-width: 768px) {
        font-size: 1.5rem;
        line-height: 1.5;
      }
    }

    .k-eligible__sublist {
      display: grid;
      gap: 2.8125rem;
    }

    .k-eligible__subheading {
      position: relative;
      font-size: 1.5rem;
      padding: 0.75rem 1.25rem;
      background: #f7f7f7;
      margin-bottom: 1rem;
      font-weight: bold;
      @media screen and (max-width: 768px) {
        font-size: 1.25rem;
      }

      &::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 0.25rem;
        height: 100%;
        background: #6b2caa;
      }
    }

    .k-eligible__text {
      font-size: 1.125rem;
      line-height: 1.8;
      @media screen and (max-width: 768px) {
        font-size: 1rem;
      }
    }

    .k-eligible__subtext {
      display: block;
      font-size: 0.875rem;
      line-height: 1.8;
      margin-top: 1rem;
      margin-bottom: 2.5rem;
    }

    .k-eligible__hellowork {
      margin-bottom: 3rem;
      font-size: 1.5rem;
      line-height: 1.5;
      font-weight: bold;
      color: #6b2caa;
      @media screen and (max-width: 768px) {
        font-size: 1.25rem;
      }
    }
  }

  .k-amount {
    margin-bottom: 12.5rem;
    @media screen and (max-width: 768px) {
      margin-bottom: 7.5rem;
    }

    .k-amount__image {
      margin-bottom: 3.5rem;

      img {
        @media screen and (max-width: 768px) {
          width: 50rem;
        }
      }
    }

    .k-amount__ul {
      margin-bottom: 2.1875rem;
    }
    .k-amount__text {
      font-size: 1.125rem;
      line-height: 2;
      @media screen and (max-width: 768px) {
        font-size: 1rem;
      }
    }
  }

  .k-flow {
    margin-bottom: 12.5rem;
    @media screen and (max-width: 768px) {
      margin-bottom: 7.5rem;
    }

    .k-flow__image {
      position: relative;
      img {
        width: 197rem;
      }
      a {
        display: block;
        left: (50% - 50vw);
        position: absolute;
        width: 12.5rem;
        height: 15rem;
        bottom: 0;
        background: #fff;
        opacity: 0;
        transition: opacity 0.3s;

        &:hover {
          opacity: 0.25;
        }
      }
    }
  }

  .k-faq {
    margin-bottom: 12.5rem;
    @media screen and (max-width: 768px) {
      margin-bottom: 7.5rem;
    }
    .k-faq__dl {
      display: grid;
      gap: 2.5rem;
      .k-faq__item {
        dt {
          display: flex;
          gap: 0.5rem;
          background: #f7f7f7;
          margin-bottom: 1.5rem;
          padding: 0.75rem 1rem;
          font-size: 1.5rem;
          font-weight: bold;
          line-height: 1.5;
          @media screen and (max-width: 768px) {
            font-size: 1rem;
          }
          &::before {
            content: 'Q.';
            color: #6b2caa;
            flex-shrink: 0;
          }
        }
        dd {
          display: flex;
          gap: 0.5rem;
          padding-left: 3.75rem;
          font-size: 1.125rem;
          font-weight: medium;
          line-height: 1.5;
          font-weight: medium;
          @media screen and (max-width: 768px) {
            font-size: 1rem;
            padding-left: 1.5rem;
          }
          &::before {
            content: 'A.';
            color: #6b2caa;
            flex-shrink: 0;
          }
        }
      }
    }
  }

  .k-reference {
    margin-bottom: 9.375rem;
    @media screen and (max-width: 768px) {
      margin-bottom: 5rem;
    }

    .k-reference__lead {
      font-size: 1.125rem;
      line-height: 2;
      font-weight: bold;
      margin-bottom: 4rem;
      @media screen and (max-width: 768px) {
        font-size: 1rem;
      }
    }

    .k-reference__list {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1rem;

      @media screen and (max-width: 768px) {
        grid-template-columns: 1fr;
      }
    }

    .k-reference__list--primary {
      margin-bottom: 4rem;
    }

    .k-reference__list--secondary {
      margin-bottom: 2rem;
    }

    .k-reference__heading {
      font-size: 1.5rem;
      font-weight: bold;
      line-height: 2;
      color: #6b2caa;
      margin-bottom: 2rem;
      @media screen and (max-width: 768px) {
        font-size: 1.25rem;
      }
    }

    .k-reference__link {
      position: relative;
      display: grid;
      place-items: center;
      align-content: center;
      height: 9.5rem;
      gap: 0.5rem;
      background: #f7f7f7;
      border: 1px solid #6b2caa;
      border-radius: 0.25rem;
      transition: opacity 0.3s;

      &:hover {
        opacity: 0.75;
      }
    }

    .k-reference__icon {
      position: absolute;
      top: 0;
      right: 0;
      background: #6b2caa;
      padding: 0.25rem;
      border-top-right-radius: 0.1875rem;
      border-bottom-left-radius: 0.1875rem;
    }
    .k-reference__label {
      background: #6b2caa;
      color: #fff;
      padding: 0.375rem 1rem;
      font-weight: bold;
    }

    .k-reference__text {
      font-weight: bold;
      font-size: 1.125rem;
      text-align: center;
      line-height: 1.5;
      color: #6b2caa;
    }

    .k-reference__contact {
      display: flex;
      gap: 1rem;
      align-items: center;
      font-weight: bold;
      @media screen and (max-width: 768px) {
        display: grid;
        justify-items: center;
      }

      .k-reference__contact__label {
        background: #ffbe32;
        line-height: 1.5;
        padding: 0.5rem 1rem;
        border-radius: 0.25rem;
      }
    }
  }
}
