/* ===========================================
   Variables / functions
   =========================================== */
:root {
  --font-base: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic Medium', 'Yu Gothic', sans-serif;
}

/* ===========================================
Reset / Base
=========================================== */
*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 1.6rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 841px) {
  body {
    background: url("../images/bg.webp") repeat center top;
    padding: 5rem 0;
  }
}

h1, h2, h3, p, ul, ol, figure {
  margin: 0;
  padding: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.l-header {
  max-width: 37.5rem;
  height: 4.7rem;
  margin-inline: auto;
  background-color: #FFF;
}
@media (min-width: 841px) {
  .l-header {
    margin-left: calc(50% - 40.1rem);
    margin-right: 0;
  }
}

.l-header__inner {
  width: 100%;
  max-width: 37.5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-inline: auto;
}

.l-header__title {
  width: 45.7333333333vw;
  max-width: 17.15rem;
}
@media (min-width: 841px) {
  .l-header__title {
    margin-inline: auto;
    width: 20rem;
  }
}

.l-header__cta {
  display: block;
  width: 40.32vw;
  max-width: 15.12rem;
  min-height: 3.4rem;
  background: url("../images/header-cta.svg") no-repeat center center/100% 100%;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
@media (hover: hover) {
  .l-header__cta:hover {
    opacity: 0.7;
  }
}
@media (min-width: 841px) {
  .l-header__cta {
    display: none;
  }
}

.l-main {
  width: 100%;
  max-width: 39rem;
  padding-inline: 0.75rem;
  margin-inline: auto;
}
@media (max-width: 840px) {
  .l-header,
  .l-header__inner,
  .l-main,
  .l-inner,
  .l-footer,
  .p-fv {
    max-width: 100% !important;
    width: 100% !important;
  }
  .l-main {
    padding-inline: 0 !important;
  }
}

.l-inner {
  width: 100%;
  max-width: 37.5rem;
  margin-inline: auto;
}

.p-fv {
  width: 100%;
  max-width: 37.5rem;
  position: relative;
}

.p-fv__copy-top {
  width: 67.2vw;
  max-width: 25.2rem;
  position: absolute;
  left: 0;
  top: 14%;
}

.p-fv__copy-sub {
  width: 93.3333333333vw;
  max-width: 35rem;
  position: absolute;
  left: 3%;
  top: 52%;
}

.p-fv__title {
  width: 93.3333333333vw;
  max-width: 35rem;
  position: absolute;
  left: 3%;
  top: 60%;
}

.p-fv__category-item {
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  bottom: 2%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0;
  width: 96vw;
  max-width: 36rem;
}

.u-bg-cta {
  background: linear-gradient(120deg, #007BA7 0%, #0047AB 51.3%, #101820 100%);
  padding-top: 2.29rem;
  padding-bottom: 2.4rem;
}

@-webkit-keyframes float {
  0%, 100% { -webkit-transform: translateY(0); transform: translateY(0); }
  50% { -webkit-transform: translateY(-8px); transform: translateY(-8px); }
}
@keyframes float {
  0%, 100% { -webkit-transform: translateY(0); transform: translateY(0); }
  50% { -webkit-transform: translateY(-8px); transform: translateY(-8px); }
}

.c-btn {
  display: block;
  width: 71.4666666667vw;
  max-width: 26.8rem;
  margin-inline: auto;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
  -webkit-animation: float 2s ease-in-out infinite;
  animation: float 2s ease-in-out infinite;
}
@media (hover: hover) {
  .c-btn:hover {
    opacity: 0.7;
  }
}

.p-cta__sub-image {
  width: 100%;
  max-width: 11rem;
  margin: 1rem auto 0;
}

.p-steps {
  position: relative;
}

.p-steps__image {
  width: 100%;
}

.p-cta-steps {
  position: absolute;
  left: 14%;
  bottom: 3%;
}

.p-feature {
  padding-top: 3.3rem;
  padding-bottom: 4.2rem;
  background-color: #fff;
}

.p-feature__label {
  width: 100%;
  max-width: 24.5rem;
  margin-inline: auto;
}

.p-feature__title {
  width: 81.8666666667vw;
  max-width: 30.7rem;
  margin: 1.03rem auto 0;
}

.p-feature__image {
  width: 100%;
  max-width: 31.5rem;
  margin: 3.5rem auto 0;
}

.p-feature__text-image {
  width: 80.5333333333vw;
  max-width: 30.2rem;
  margin: 3.2rem auto 0;
}

.p-cta-feature {
  margin-top: 3.7rem;
}

.p-cta-last {
  margin-top: 1.8rem;
}

.p-last-cta__title-image {
  width: 100%;
  max-width: 14.4rem;
  margin-inline: auto;
}

.p-side-cta {
  display: none;
}

@media (min-width: 841px) {
  .l-page {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    gap: 5.2rem;
    width: 100%;
    max-width: 81.7rem;
    margin-inline: auto;
  }
  .p-side-cta {
    display: block;
    width: 37.5rem;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 37.5rem;
            flex: 0 0 37.5rem;
  }
  .p-side-cta__fixed {
    position: fixed;
    top: 50%;
    left: calc(50% + 2.6rem);
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    width: 37.5rem;
  }
  .p-side-cta__logo {
    width: 100%;
    margin-bottom: 5rem;
  }
  .p-side-cta__inner {
    width: 100%;
  }
}
.l-footer {
  padding-top: 3.6rem;
  padding-bottom: 4rem;
  width: 100%;
  max-width: 37.5rem;
  background-color: #E5F2F9;
  margin-inline: auto;
}
@media (min-width: 841px) {
  .l-footer {
    margin-left: calc(50% - 40.1rem);
    margin-right: 0;
  }
}

.l-footer__inner {
  width: 100%;
  margin-inline: auto;
}

.l-footer__title {
  font-size: 2.4rem;
  font-weight: bold;
  text-align: center;
  letter-spacing: 0.1em;
}

.l-footer__subtitle {
  font-size: 1.4rem;
  font-weight: bold;
  text-align: center;
  letter-spacing: 0.1em;
}
.l-footer__subtitle::after {
  content: "";
  display: block;
  width: 26.8rem;
  max-width: 100%;
  height: 0.1rem;
  background-color: #0d2eac;
  margin: 1.2rem auto 0;
}

.l-footer__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0.6rem;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding-top: 1.2rem;
}

.l-footer__link {
  display: block;
  padding: 0.4rem 0.6rem;
  font-size: 1.2rem;
  font-weight: bold;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
@media (hover: hover) {
  .l-footer__link:hover {
    opacity: 0.7;
  }
}

.l-footer__copy {
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
}

/* floating CTA (SP only) */
.p-float-cta {
  display: none;
}
@media (max-width: 840px) {
  .p-float-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #fff;
    padding: 1rem 1.6rem 2rem;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
  }
}

.p-float-cta__text {
  font-size: 1.3rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 0.8rem;
  color: #333;
}

.p-float-cta__text--line {
  color: #06C755;
}

.p-float-cta__btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 0.8rem;
  width: 100%;
  padding: 1.4rem;
  background: #06C755;
  color: #fff;
  font-size: 1.8rem;
  font-weight: bold;
  border-radius: 5rem;
  -webkit-animation: float 2s ease-in-out infinite;
  animation: float 2s ease-in-out infinite;
}

.p-float-cta__icon {
  width: 2.4rem;
  height: 2.4rem;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}