:root {
  --lp-bg-blue: #eff6ff;
  --accent-color: #1f5cfa;
  --base-color: #0f30df;
  --lp-shadow: 0px 4px 32px 0px rgb(0 0 0 / 4%);

  /* campaign */
  --blue500: #0071ff;
  --red200: #fef0f3;
  --red500: #f95271;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-feature-settings: normal;

  strong,
  b {
    font-weight: 600;
  }
}

main {
  font-family: "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "メイリオ", Meiryo, Verdana, Helvetica, "ＭＳ Ｐゴシック", sans-serif;
  font-size: 1rem;
  line-height: 2;
}

@media (width <=767px) {
  main {
    font-size: 0.9375rem;
    line-height: 1.8;
  }
}

@media (width >=768px) {
  .for-sp {
    display: none;
  }
}

@media (width < 768px) {
  .for-pc {
    display: none;
  }
}

/* レイアウト */
.inner {
  max-width: 1200px;
  margin: 0 auto;
}

.inner--l2 {
  max-width: 1100px;
}

.section-head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  text-align: center;
}

.header,
.s-footer-rs {
  background: #fff;
}

@media (width <=767px) {
  .inner {
    margin: 0 16px;
  }

  .section-head {
    gap: 16px;
    text-align: left;
  }

  .s-footer-rs {
    padding-top: 0;
  }

  .s-footer-rs__head {
    display: none;
  }
}

/* 見出し */
.headline {
  font-size: 2.5rem;
  font-weight: 700;
  font-variation-settings: "wght" 700;
  line-height: 1.5;
  text-align: center;
}

.headline span {
  color: #f95271;
}

@media (width <=767px) {
  .headline {
    font-size: 1.75rem;
  }
}

/* ボタン */
.button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--base-color);
  border-radius: 5px;
  color: #fff;
  font-weight: 700;
  font-variation-settings: "wght" 700;
  transition: opacity 0.3s;
}

.button--secondary {
  background: #fff;
  border: solid 1px var(--base-color);
  color: var(--base-color);
  transition: background 0.3s;
}

.button--cta {
  width: 480px;
  height: 80px;
  font-size: 1.5rem;
  margin: 0 auto;
}

@media (width >=768px) {
  .button:hover {
    opacity: 0.7;
    text-decoration: none;
  }

  .button--secondary:hover {
    opacity: 1;
    background: #f1f4fc;
  }
}

@media (width <=767px) {
  .button--cta {
    width: 100%;
    height: 60px;
    font-size: 1.125rem;
  }
}

/* 箱 */
.attention-box {
  padding: 20px 40px;
  background: #fef0f3;
  color: #333;
}

.attention-box p + p {
  margin-top: 10px;
}

@media (width <=767px) {
  .attention-box {
    padding: 20px 16px;
  }
}

/* コメリスト */
.c-note-list {
  list-style-type: none;
}

.c-note-list li {
  display: flex;
  font-size: 1rem;
  gap: 4px;
}

.c-note-list li::before {
  content: "※";
}

@media (width <=767px) {
  .c-note-list li {
    font-size: 0.8125rem;
  }
}

/* ヒーロー */
.hero {
  background: url("../../images/rank/bg_hero_pc.png") no-repeat center center;
  background-size: cover;
  padding: 0 min(5.8823%, 80px);
  overflow: hidden;

  .hero__column {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px 20px;
    max-width: 74.406rem;
    min-height: 342px;

    .hero__text {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 18px;
      padding: 4.2rem 0;
      position: relative;
      z-index: 1;

      .hero__lead {
        font-size: 1.5rem;
        font-weight: 500;
        font-variation-settings: "wght" 500;
        line-height: 1.5;
        color: #fff;
      }

      .hero__headline {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        font-size: 1.75rem;
        font-weight: 700;
        font-variation-settings: "wght" 700;
        line-height: 1.5;
        color: #0071ff;

        span {
          display: inline-block;
          background: #fff;
          padding: 0 10px 2px;
          width: fit-content;
        }

        .hero__headline-xl {
          font-size: 2.5rem;
        }
      }

      .hero__button {
        margin-top: 20px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        font-size: 1.5rem;
        text-decoration: none;

        &::after {
          content: "";
          display: block;
          width: 20px;
          height: 15.55px;
          background-image: url("../../images/rank/button-arrow.svg"), url("../../images/rank/button-arrow.svg");
          background-size: 20px 15.55px;
          background-repeat: no-repeat, no-repeat;
          background-position:
            left -20px center,
            center center;
        }
      }
    }
  }

  .hero__illust {
    width: 538px;
    margin: 0 -50px 0 0;
    line-height: 0;
    align-self: flex-end;

    img {
      width: 100%;
    }
  }
}

@media (width >=961px) {
  .hero {
    position: relative;

    .hero__column {
      .hero__text {
        .hero__button:hover {
          text-decoration: none;
        }

        .hero__button:hover::after {
          background-position:
            center center,
            left 20px center;
          transition: background-position 0.5s;
        }
      }
    }

    .hero__illust img {
      width: 501px;
      position: absolute;
      bottom: -18px;
    }
  }
}

@media (width <=960px) {
  .hero {
    .hero__column {
      flex-direction: column;
      gap: 24px;
      min-height: auto;

      .hero__text {
        padding: 40px 0 0;

        .hero__button {
          margin-top: 4px;
        }
      }
    }

    .hero__illust {
      width: min(100%, 540px);
      margin: 0 auto -24px;
      align-self: center;
    }
  }
}

@media (width <=767px) {
  .hero {
    background-image: url("../../images/bg_hero_sp.png");
    padding: 0;

    .hero__column {
      gap: 25px;
      min-height: auto;

      .hero__text {
        width: 100%;
        gap: 14px;
        padding: 47px 0 0;

        .hero__lead {
          font-size: 1rem;
          line-height: 1.5;
        }

        .hero__headline {
          gap: 10px;
          font-size: 1.25rem;
          line-height: 1.5;

          span {
            padding: 0 8px 2px;
          }

          .hero__headline-xl {
            font-size: 1.75rem;
          }
        }

        .hero__button {
          width: 100%;
          height: 4rem;
          gap: 0.5rem;
          margin-top: 18px;
          font-size: 1.15rem;
          line-height: 1.5;
        }
      }
    }

    .hero__illust {
      width: 100%;
      max-width: none;
      margin: 0 -16px -18px;
    }
  }
}

/* rank-about */
.rank-about {
  background: var(--lp-bg-blue);
  padding: 96px min(5.8823%, 80px);

  .rank-about__head {
    gap: 32px;
    margin: 0 0 80px;

    p {
      font-size: 1rem;
      line-height: 2;
      color: var(--rs-gray800);
    }
  }

  .rank-about__box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    background: #fff;
    padding: 40px 56px;
    text-align: left;
  }

  .rank-about__body {
    flex: 1;
    max-width: 430px;

    .rank-about__title {
      font-size: 2rem;
      font-weight: 700;
      font-variation-settings: "wght" 700;
      line-height: 1.5;
      margin: 0 0 24px;
    }

    .rank-about__text {
      max-width: none;
      margin: 0;
      color: var(--rs-gray800);
    }
  }

  .rank-about__image {
    flex: 1;
    line-height: 0;
    margin: 0;

    img {
      width: 546px;
    }
  }
}

@media (width <=767px) {
  .rank-about {
    padding: 60px 0;

    .rank-about__head {
      gap: 40px;
      margin: 0 0 40px;
      text-align: center;

      p {
        text-align: left;
        font-size: 0.9375rem;
        line-height: 2;
      }
    }

    .rank-about__box {
      display: block;
      padding: 40px 16px 48px;
      text-align: center;

      .rank-about__body {
        max-width: none;

        .rank-about__title {
          line-height: 1.5;
          font-size: 1.75rem;
          margin: 0 0 20px;
        }

        .rank-about__text {
          font-size: 0.9375rem;
          line-height: 2;
          text-align: left;
        }
      }

      .rank-about__image {
        margin: 28px 0 0;

        img {
          width: 100%;
          max-width: 486px;
        }
      }
    }
  }
}

/* rank-system */
.rank-system {
  background: #fff;
  padding: 120px min(5.8823%, 80px);

  .rank-system__head {
    gap: 38px;
    margin: 0 0 40px;
  }

  .rank-system__head p {
    color: var(--rs-gray800);
    font-size: 1rem;
    line-height: 2;
  }

  .rank-system__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 62px;
    list-style-type: none;

    li {
      width: 31.8182%;
      position: relative;
    }

    li:not(:last-child)::after {
      content: "";
      display: block;
      width: 32px;
      height: 100%;
      background: url("../../images/rank/rank-system-arrow_pc.svg") no-repeat center center;
      position: absolute;
      top: 50%;
      right: -46px;
      transform: translateY(-50%);
    }
  }

  .rank-system__card {
    background: #eff6ff;
    overflow: hidden;
  }

  .rank-system__label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    font-variation-settings: "wght" 700;
    line-height: 1.5;
    text-align: center;

    span {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 2rem;
      height: 2rem;
      background: #1f77f3;
      border-radius: 2px;
      color: #fff;
      font-family: Futura, "Century Gothic", sans-serif;
      font-size: 1.5rem;
      font-weight: 700;
      font-variation-settings: "wght" 700;
      line-height: 1;
      flex-shrink: 0;
    }
  }

  .rank-system__image {
    line-height: 0;

    img {
      width: 100%;
    }
  }

  .rank-system__foot {
    text-align: center;
    margin: 40px 0 0;

    p {
      color: var(--rs-gray800);
      font-size: 1rem;
      line-height: 2;
    }

    p + p {
      margin-top: 8px;
    }

    .c-note-list li {
      color: var(--rs-gray800);
      justify-content: center;
      gap: 10px;
    }
  }
}

@media (width <=767px) {
  .rank-system {
    padding: 60px 0;

    .rank-system__head {
      gap: 40px;
      margin: 0 0 40px;
      text-align: left;

      p {
        font-size: 0.9375rem;
        line-height: 2;
      }
    }

    .rank-system__list {
      flex-direction: column;
      gap: 20px;
      margin: 0 auto;
      max-width: 486px;

      li {
        width: 100%;
      }

      li:not(:last-child)::after {
        width: 56px;
        height: 28px;
        background: url("../../images/rank/rank-system-arrow_sp.svg") no-repeat center center;
        background-size: 56px 28px;
        position: static;
        margin: 20px auto 0;
        transform: none;
      }
    }

    .rank-system__label {
      gap: 12px;
      padding: 8px 12px;
      line-height: 1.5;

      span {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 1.25rem;
      }
    }

    .rank-system__foot {
      text-align: left;
      margin: 40px 0 0;

      p {
        font-size: 0.9375rem;
        line-height: 2;
      }

      p + p {
        margin-top: 12px;
      }

      .c-note-list li {
        margin-top: 8px;
        font-size: 0.9375rem;
        line-height: 2;
        justify-content: left;
      }
    }
  }
}

/* rank-benefits */
.rank-benefits {
  background: var(--lp-bg-blue);
  padding: 120px min(5.8823%, 80px);

  .rank-benefits__head {
    gap: 38px;
    margin: 0 0 40px;

    p {
      color: var(--rs-gray800);
      font-size: 1rem;
      line-height: 2;
    }
  }

  .rank-benefits__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    list-style-type: none;
  }

  .rank-benefits__item {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 28px 46px 28px 44px;
    background: #fff;
  }

  .rank-benefits__item--list {
    .rank-benefits__icon img {
      max-width: 116px;
    }
  }

  .rank-benefits__item--badge {
    .rank-benefits__icon img {
      max-width: 89px;
    }
  }

  .rank-benefits__item--case {
    .rank-benefits__icon img {
      max-width: 128px;
    }
  }

  .rank-benefits__item--seminar {
    .rank-benefits__icon img {
      max-width: 128px;
    }
  }

  .rank-benefits__icon {
    width: 128px;
    text-align: center;
    flex-shrink: 0;
  }

  .rank-benefits__icon img {
    width: 100%;
    max-height: 128px;
  }

  .rank-benefits__title {
    font-size: 1.5rem;
    font-weight: 700;
    font-variation-settings: "wght" 700;
    line-height: 1.6;
    margin: 0 0 8px;
  }

  .rank-benefits__txt {
    color: var(--rs-gray600);
  }

  .rank-benefits__award {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    margin: 24px 0 0;
    padding: 4px 114px;
    background: #fff;
  }

  .rank-benefits__award-text {
    flex: 1;
    font-size: 1.28rem;
    color: var(--rs-gray800);
    line-height: 2;
  }

  .rank-benefits__award-image {
    width: 340px;
    flex-shrink: 0;
    line-height: 0;
    text-align: center;
  }

  .rank-benefits__award-image img {
    width: 100%;
    max-width: 304px;
  }

  .rank-benefits__banner {
    margin: 76px 0 0;
    text-align: center;

    .rank-benefits__banner-title {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 20px;
      font-size: 1.25rem;
      font-weight: 600;
      font-variation-settings: "wght" 600;
      line-height: 1.6;
      margin: 0 0 16px;

      &::before,
      &::after {
        content: "";
        display: block;
        width: 30px;
        height: 36px;
        background: url('data:image/svg+xml;charset=utf-8,<svg width="30" height="36" viewBox="0 0 30 36" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M3 33L27 3" stroke="%232B89FF" stroke-width="2" stroke-linecap="square"/></svg>') no-repeat center center;
        background-size: 30px 36px;
      }

      &::before {
        transform: scale(-1, 1);
      }

      &::after {
        transform: none;
      }
    }

    .banner.-sm {
      margin-top: 0;
      padding: 0;
    }

    .banner.-sm .banner_wrap {
      max-width: 706px;
    }
  }
}

@media (width < 992px) {
  .rank-benefits {
    padding: 60px min(5.8823%, 80px);

    .rank-benefits__head {
      gap: 40px;
      margin: 0 0 40px;
      text-align: left;

      p {
        font-size: 0.9375rem;
        line-height: 2;
      }
    }

    .rank-benefits__list {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .rank-benefits__item {
      gap: 10px;
      min-height: auto;
      padding: 16px;
    }

    .rank-benefits__item--list {
      .rank-benefits__icon img {
        max-width: 70px;
      }
    }

    .rank-benefits__item--badge {
      .rank-benefits__icon img {
        max-width: 53px;
      }
    }

    .rank-benefits__item--case {
      order: 3;

      .rank-benefits__icon img {
        max-width: 75px;
      }
    }

    .rank-benefits__item--seminar {
      order: 4;

      .rank-benefits__icon img {
        max-width: 76px;
      }
    }

    .rank-benefits__icon {
      width: 96px;
    }

    .rank-benefits__title {
      font-size: 1rem;
      font-weight: 600;
      font-variation-settings: "wght" 600;
      line-height: 1.6;
      margin: 0 0 5px;
    }

    .rank-benefits__award {
      display: block;
      margin: 16px 0 0;
      padding: 24px 20px 8px;
    }

    .rank-benefits__award-text {
      font-size: 1rem;
      line-height: 2;
    }

    .rank-benefits__award-image {
      width: 72%;
      margin: 0 auto;
    }

    .rank-benefits__banner {
      margin: 68px 0 0;

      .rank-benefits__banner-title {
        gap: 12px;
        font-size: 1rem;
        line-height: 1.6;
        margin: 0 0 16px;
      }

      .rank-benefits__banner-title::before,
      .rank-benefits__banner-title::after {
        width: 22px;
        height: 28px;
        background: url('data:image/svg+xml;charset=utf-8,<svg width="22" height="28" viewBox="0 0 22 28" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2 25L20 3" stroke="%232B89FF" stroke-width="2" stroke-linecap="square"/></svg>') no-repeat center center;
        background-size: 22px 30px;
      }

      .banner.-sm .banner_wrap {
        max-width: none;
      }
    }
  }
}

@media (width < 768px) {
  .rank-benefits {
    padding: 60px 0;
  }
}

/* rank-cta */
.rank-cta {
  background: #0071ff;
  padding: 80px min(5.8823%, 80px);

  .inner {
    max-width: 880px;
  }

  .rank-cta__labels {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 0 0 16px;

    .rank-cta__label {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 6px 20px;
      background: #fff;
      color: #0071ff;
      font-weight: 700;
      font-variation-settings: "wght" 700;
      line-height: 1.5;
      text-align: center;
    }
  }

  .rank-cta__title {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    font-variation-settings: "wght" 700;
    line-height: 1.5;
    text-align: center;
    margin: 0 0 16px;
  }

  .rank-cta__text {
    color: #fff;
    font-weight: 400;
    font-variation-settings: "wght" 400;
    line-height: 1.8;
    text-align: center;
    margin: 0;
  }

  .rank-cta__button {
    width: 400px;
    margin: 18px auto 0;
    background: #ecff12;
    color: #0071ff;
    font-size: 1.5rem;
    font-weight: 700;
    font-variation-settings: "wght" 700;
    line-height: 1.5;
    gap: 16px;

    &::after {
      content: "";
      display: block;
      width: 20px;
      height: 15.55px;
      background-image: url("../../images/rank/button-arrow.svg"), url("../../images/rank/button-arrow.svg");
      background-size: 20px 15.55px;
      background-repeat: no-repeat, no-repeat;
      background-position:
        left -20px center,
        center center;
    }
  }
}

@media (width >=768px) {
  .rank-cta {
    .rank-cta__button:hover {
      text-decoration: none;
    }

    .rank-cta__button:hover::after {
      background-position:
        center center,
        left 20px center;
      transition: background 0.5s;
    }
  }
}

@media (width <=767px) {
  .rank-cta {
    padding: 80px 0;

    .inner {
      margin: 0 24px;
    }

    .rank-cta__labels {
      gap: .5rem;
      margin: 0 0 16px;

      .rank-cta__label {
        min-width: 0;
        width: auto;
        height: auto;
        padding: 6px 20px;
        font-size: .875rem;
        line-height: 1.5;
      }
    }

    .rank-cta__title {
      font-size: 1.75rem;
      font-weight: 600;
      font-variation-settings: "wght" 600;
      line-height: 1.5;
      margin: 0 0 16px;
    }

    .rank-cta__text {
      line-height: 2;
    }

    .rank-cta__button {
      width: 92%;
      height: auto;
      padding: 18px 0;
      margin: 16px auto 0;
      font-size: 1.15rem;
      gap: 10px;
    }
  }
}

/* banner */
.banner {
  width: 100%;
}

.banner.-sm {
  margin-top: -20px;
  padding: 0 0.81rem;
}

.banner.-sm .banner_wrap {
  max-width: 706px;
}

.banner.-sm .banner_wrap .link {
  aspect-ratio: 706.67 / 84;
}

.banner .banner_wrap {
  margin: 0 auto;
  width: 100%;
}

.banner .banner_wrap .link {
  display: block;
  transition: opacity 0.3s ease;
}

.banner .banner_wrap .link:hover {
  opacity: 0.6;
}

.banner .banner_wrap .link picture {
  display: block;
  width: 100%;
  height: 100%;
}

@media screen and (width <= 767px) {
  .banner.-sm .banner_wrap .link {
    aspect-ratio: 317.14 / 84;
  }
}

/* agency btn-cta */
.btn-cta {
  color: #0071ff;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  font-variation-settings: "wght" 700;
  line-height: 150%;
}

.cta-top {
  display: flex;
  width: 400px;
  height: 68px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  background: #ecff12;
  margin-top: 20px;
  flex-shrink: 0;
}

@media (width >=768px) {
  .cta-top {
    position: relative;

    &::before {
      content: "";
      display: block;
      width: 100%;
      height: 100%;
      background: #fff;
      opacity: 0;
      position: absolute;
      top: 0;
      left: 0;
      transition: 0.3s;
    }

    &:hover {
      text-decoration: none;

      &::before {
        opacity: 0.3;
      }
    }
  }
}

@media (width <=767px) {
  .cta-top {
    width: 100%;
    height: 56px;
    font-size: 1rem;
  }
}

/* パンくず */
.campaign-c-breadcrumbs {
  background: var(--rs-secondary-color-gray);
  padding: 0.625rem 1rem;

  .l-inner {
    display: flex;
    justify-content: flex-end;
  }

  .c-breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style-type: none;
    margin: 0;
    padding: 0;
  }

  .c-breadcrumbs-list li {
    display: flex;
    align-items: center;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
  }

  .c-breadcrumbs-list li + li::before {
    content: "-";
    color: #333;
    font-size: 14px;
    background: none;
    height: auto;
    width: auto;
  }

  .c-breadcrumbs-list a {
    font-weight: 400;
    font-variation-settings: "wght" 400;
    color: var(--base-color);
  }
}

@media (width <=767px) {
  .campaign-c-breadcrumbs {
    .l-inner {
      justify-content: flex-start;
      margin: 0 auto;
    }

    .c-breadcrumbs-list {
      gap: 0.028rem;
      justify-content: flex-start;
    }

    .c-breadcrumbs-list li {
      gap: 0.028rem;
      font-size: 0.75rem;
    }

    .c-breadcrumbs-list li + li::before {
      content: ">";
      margin: 0 8px;
    }
  }
}
