/*------------------ 共通 ------------------*/
html {
  scroll-padding-top: 40px;
}
:root {
  font-size: 10px;
}
body {
  font-family:
    "Noto Sans JP",
    -apple-system,
    BlinkMacSystemFont,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Yu Gothic",
    "Yu Gothic Medium",
    "Meiryo",
    sans-serif;
  background-color: #fafafa !important;
}
main {
  overflow: hidden;
}
h1,
h2,
h3,
h4,
h5,
p {
  margin: 0;
  font-weight: bold;
  line-height: 1.5;
  color: #333333;
}
h3 {
  font-size: 3.4rem;
  @media screen and (max-width: 767px) {
    font-size: 2.2rem;
  }
}
h4 {
  font-size: 2.8rem;
  @media screen and (max-width: 767px) {
    font-size: 2rem;
  }
}
h5 {
  font-size: 2.4rem;
}
p {
  font-size: 2rem;
  font-weight: normal;
  @media screen and (max-width: 767px) {
    font-size: 1.6rem;
  }
  &.align-left {
    @media screen and (max-width: 767px) {
      text-align: left;
    }
    @media only screen and (max-device-width: 767px) and (orientation: landscape) {
      text-align: center;
    }
  }
}
a {
  text-decoration: none !important;
}
.cta {
  margin-top: 28rem;
  width: 100%;
  @media screen and (max-width: 1249px) {
    margin-top: 15rem;
  }
  @media screen and (max-height: 799px) {
    margin-top: 15rem;
  }
  @media screen and (max-width: 899px) {
    margin-top: 2rem;
  }
  @media screen and (max-width: 390px) {
    margin-top: 1rem;
  }
  .cta-wrap {
    margin: auto;
    padding: 1rem 1rem 3rem;
    position: relative;
    @media screen and (min-width: 1141px) {
      max-width: 95rem;
    }
  }
  .product-img {
    position: absolute;
    &.product-img__left {
      top: 2rem;
      left: 5rem;
      @media screen and (min-width: 1141px) {
        left: 0;
      }
      @media screen and (max-width: 999px) {
        left: -8rem;
      }
      @media screen and (max-width: 767px) {
        top: -0.5rem;
        left: -5rem;
      }
    }
    &.product-img__right {
      top: 2.5rem;
      right: 5rem;
      @media screen and (min-width: 1141px) {
        right: 0;
      }
      @media screen and (max-width: 999px) {
        right: -8rem;
      }
      @media screen and (max-width: 767px) {
        top: 0;
        right: -5rem;
      }
    }
  }
}
.cta-bottom {
  padding: 9rem 5rem 4rem;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  background: #7d7483;
  @media screen and (max-width: 1140px) {
    padding: 9rem 1rem 4rem;
  }
  @media screen and (max-width: 767px) {
    padding: 5rem 1rem 10rem;
  }
  &::before {
    content: "";
    position: absolute;
    height: 50px;
    width: 100%;
    clip-path: polygon(50% 100%, 95% 0%, 5% 0%);
    background: #fafafa;
    left: 0;
    top: -1px;
    @media screen and (max-width: 767px) {
      height: 30px;
    }
  }
  .cta-bottom-inner {
    position: relative;
    width: 100%;
    max-width: 1140px;
  }
  img.product-img {
    position: absolute;
    &.product-img__left {
      top: 0;
      left: 0;
      @media screen and (max-width: 1140px) {
        top: -1rem;
      }
      @media screen and (max-width: 850px) {
        left: -8rem;
      }
      @media screen and (max-width: 767px) {
        top: 8rem;
        left: 0;
      }
    }
    &.product-img__right {
      top: 1.5rem;
      right: 0;
      @media screen and (max-width: 1140px) {
        top: 0;
      }
      @media screen and (max-width: 850px) {
        right: -8rem;
      }
      @media screen and (max-width: 767px) {
        top: 8.8rem;
        right: 0;
      }
    }
  }
  &.cta-bottom__possible {
    img.product-img {
      &.product-img__left {
        top: 15.5rem;
        @media screen and (max-width: 1140px) {
          top: 13rem;
        }
        @media screen and (max-width: 767px) {
          top: 15rem;
          left: -5rem;
        }
      }
      &.product-img__right {
        top: 16.5rem;
        @media screen and (max-width: 1140px) {
          top: 14rem;
        }
        @media screen and (max-width: 767px) {
          top: 15.5rem;
          right: -5rem;
        }
      }
    }
    @media screen and (max-width: 767px) {
      padding: 5rem 1rem 4rem;
    }
  }
  &.cta-bottom__possible::before {
    background: #ffe9ff;
  }
  p {
    text-align: center;
    font-size: 4rem;
    font-weight: bold;
    color: #fafafa;
    @media screen and (max-width: 1140px) {
      font-size: 3.2rem;
    }
    @media screen and (max-width: 767px) {
      font-size: 2.4rem;
    }
  }
}
a.cta-btn {
  margin: auto;
  padding: 1em;
  position: relative;
  width: 100%;
  max-width: 450px;
  max-height: 75px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 2.8rem;
  font-weight: bold;
  color: #fafafa;
  line-height: 1;
  white-space: nowrap;
  background-color: #ff4477;
  border-radius: 40px;
  -webkit-box-shadow: 2px 4px 0 #7d233c;
  box-shadow: 2px 4px 0 #7d233c;
  &:hover {
    background-color: #ff4477;
    -webkit-transform: translate(0, 3px);
    transform: translate(0, 3px);
    -webkit-box-shadow: none;
    box-shadow: none;
  }
  span.cta-btn-icon {
    position: absolute;
    right: 15px;
  }
  @media screen and (max-width: 767px) {
    font-size: 2.2rem;
  }
}
.sp_only {
  display: inline;
  @media screen and (max-width: 767px) {
    display: block;
  }
}
/*------------------ ヘッダー ------------------*/
header.header {
  padding: 0 5rem;
  position: fixed;
  background: #fafafa;
  box-shadow: 0px 2px 2px 0px rgba(51, 51, 51, 0.2);
  @media screen and (max-width: 1140px) {
    padding: 0 1rem;
  }
  .header-inner {
    margin: auto;
    max-width: 1280px;
    height: 85px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    @media screen and (min-width: 900px) and (max-height: 799px) {
      height: 65px;
    }
    @media screen and (max-width: 767px) {
      height: 65px;
    }
  }
  .header-logo img {
    width: auto;
    height: 100%;
    max-height: 38px;
    @media screen and (min-width: 900px) and (max-height: 799px) {
      height: 30px;
    }
    @media screen and (max-width: 767px) {
      max-height: 18px;
    }
    &:hover {
      opacity: 0.8;
    }
  }
  a.cta-btn.cta-btn__header {
    margin: 0;
    padding: 1em 0.5em;
    max-width: 300px;
    max-height: 48px;
    font-size: 2.4rem;
    @media screen and (min-width: 900px) and (max-height: 799px) {
      padding: 1em;
      max-width: 260px;
      font-size: 2rem;
      .cta-btn-icon img {
        width: 18px;
      }
    }
    @media screen and (max-width: 767px) {
      max-width: 185px;
      max-height: 40px;
      font-size: 1.6rem;
      .cta-btn-icon {
        top: 11px;
        right: 5px;
        img {
          width: 15px;
        }
      }
    }
  }
}
/*------------------ KV ------------------*/
.hero {
  text-align: center;
  background-image: var(--bg-image-hero);
  background-size: cover;
}
.kv-deco {
  margin: auto;
  position: relative;
  max-width: 1440px;
}
.kv-deco-img {
  position: absolute;
  &.kv-deco-img__left {
    width: 600px;
    height: 600px;
    top: 115px;
    left: -80px;
    @media screen and (max-height: 799px) {
      top: 0;
    }
    @media screen and (max-width: 899px) {
      top: 80px;
      left: -150px;
    }
    @media screen and (max-width: 767px) {
      width: 220px;
      height: 220px;
      top: 250px;
      left: -80px;
    }
  }
  &.kv-deco-img__right {
    width: 300px;
    height: 300px;
    top: 375px;
    right: -20px;
    @media screen and (max-height: 799px) {
      top: 150px;
    }
    @media screen and (max-width: 899px) {
      top: 520px;
      right: -100px;
    }
    @media screen and (max-width: 767px) {
      width: 150px;
      height: 150px;
      top: 380px;
      right: -80px;
    }
  }
}
/*----- PC用 -----*/
.kv-pc_only {
  display: block;
  @media screen and (max-width: 899px) {
    display: none;
  }
  &.hero-wrap {
    margin-top: -3.5rem;
    @media screen and (max-width: 1249px) {
      margin-top: -2.5rem;
    }
    @media screen and (max-height: 799px) {
      margin-top: -2.5rem;
    }
  }
  .hero-container {
    margin: auto;
    max-width: 1280px;
    position: relative;
    @media screen and (max-width: 1249px) {
      max-width: 900px;
    }
    @media screen and (max-height: 799px) {
      max-width: 900px;
    }
  }
  .hero-title {
    margin: auto;
    max-width: 700px;
    @media screen and (max-width: 1249px) {
      max-width: 450px;
    }
    @media screen and (max-height: 799px) {
      max-width: 450px;
    }
    img {
      width: 100%;
      height: auto;
    }
  }
  .hero-item {
    position: absolute;
    p {
      margin: 1rem auto 0;
      padding: 0.3rem 1rem 0.5rem;
      width: fit-content;
      font-size: 1.8rem;
      color: #fafafa;
      line-height: 1;
      white-space: nowrap;
      background: #333333;
      border-radius: 3rem;
      @media screen and (max-width: 1249px) {
        margin-top: 0.5rem;
      }
      @media screen and (max-height: 799px) {
        margin-top: 0.5rem;
      }
    }
  }
  .hero-item.hero-item__01 {
    top: 100px;
    left: 160px;
    @media screen and (max-width: 1249px) {
      top: 35px;
      left: 100px;
    }
    @media screen and (max-height: 799px) {
      top: 35px;
      left: 100px;
    }
    img {
      width: 100%;
      max-width: 135px;
      height: auto;
      @media screen and (max-width: 1249px) {
        max-width: 80px;
      }
      @media screen and (max-height: 799px) {
        max-width: 80px;
      }
    }
  }
  .hero-item.hero-item__02,
  .hero-item.hero-item__03,
  .hero-item.hero-item__04,
  .hero-item.hero-item__05,
  .hero-item.hero-item__06 {
    img {
      width: 100%;
      max-width: 200px;
      height: auto;
      @media screen and (max-width: 1249px) {
        max-width: 120px;
      }
      @media screen and (max-height: 799px) {
        max-width: 120px;
      }
    }
  }
  .hero-item.hero-item__02 {
    top: 34px;
    left: 0;
    @media screen and (max-width: 1249px) {
      top: 24px;
    }
    @media screen and (max-height: 799px) {
      top: 24px;
    }
  }
  .hero-item.hero-item__03 {
    top: 360px;
    left: 380px;
    @media screen and (max-width: 1249px) {
      top: 230px;
      left: 290px;
    }
    @media screen and (max-height: 799px) {
      top: 230px;
      left: 290px;
    }
  }
  .hero-item.hero-item__04 {
    top: 400px;
    left: 650px;
    @media screen and (max-width: 1249px) {
      top: 205px;
      left: 460px;
    }
    @media screen and (max-height: 799px) {
      top: 205px;
      left: 460px;
    }
  }
  .hero-item.hero-item__05 {
    top: 260px;
    right: 200px;
    @media screen and (max-width: 1249px) {
      top: 165px;
      right: 150px;
    }
    @media screen and (max-height: 799px) {
      top: 165px;
      right: 150px;
    }
  }
  .hero-item.hero-item__06 {
    top: 15px;
    right: 0;
    @media screen and (max-width: 1249px) {
      top: 5px;
    }
    @media screen and (max-height: 799px) {
      top: 5px;
    }
  }
  .hero-item.hero-item__07 {
    top: 530px;
    right: 60px;
    @media screen and (max-width: 1249px) {
      top: 330px;
      right: 10px;
    }
    @media screen and (max-height: 799px) {
      top: 330px;
      right: 10px;
    }
    img {
      width: 100%;
      max-width: 340px;
      height: auto;
      @media screen and (max-width: 1249px) {
        max-width: 250px;
      }
      @media screen and (max-height: 799px) {
        max-width: 250px;
      }
    }
  }
}
/*----- タブレット・SP用 -----*/
.kv-sp_only {
  display: none;
  @media screen and (max-width: 899px) {
    display: block;
  }
  .hero-wrap {
    margin: -4.5rem auto 0;
    padding: 0 5rem;
    position: relative;
    @media screen and (max-width: 619px) {
      margin: -2rem auto 0;
      padding: 0 2rem;
    }
    @media screen and (max-width: 390px) {
      margin: -2.5rem auto 0;
    }
    @media only screen and (max-device-width: 450px) and (orientation: landscape) {
      padding: 0 13rem;
    }
  }
  .hero-title {
    margin: 0 1rem;
    img {
      width: 100%;
    }
    @media screen and (max-width: 450px) {
      margin: 0;
    }
  }
  .hero-container {
    @media screen and (max-width: 450px) {
      position: relative;
    }
  }
  .hero-inner {
    &.hero-inner__top {
      padding: 0 8rem;
      display: flex;
      justify-content: space-between;
      @media screen and (max-width: 767px) {
        padding: 0 5rem 0 20rem;
      }
      @media screen and (max-width: 660px) {
        padding: 1rem 2rem 0 14rem;
      }
      @media screen and (max-width: 390px) {
        padding: 0 0 0 13rem;
      }
    }
    &.hero-inner__middle {
      margin: 2rem auto;
      @media screen and (max-width: 767px) {
        margin: 5rem 0 0 18rem;
      }
      @media screen and (max-width: 660px) {
        margin: 5rem 0 0 10rem;
      }
      @media screen and (max-width: 450px) {
        margin: 2rem 0 2rem 11rem;
      }
      img {
        max-width: 320px;
        @media screen and (max-width: 450px) {
          max-width: 230px;
        }
        @media screen and (max-width: 390px) {
          max-width: 200px;
        }
      }
    }
    &.hero-inner__bottom {
      display: flex;
      justify-content: space-between;
      @media screen and (max-width: 767px) {
        margin-top: 7rem;
      }
      @media screen and (max-width: 450px) {
        margin-top: 3rem;
        padding-top: 0;
      }
    }
  }
  .hero-contents {
    margin-top: -7rem;
    padding-left: 17rem;
    @media screen and (max-width: 767px) {
      padding-left: 0;
    }
    @media screen and (max-width: 500px) {
      margin-top: -4rem;
    }
    @media screen and (max-width: 450px) {
      margin-top: -3.5rem;
      padding-left: 0;
    }
  }
  .hero-item p {
    margin: 0.2rem auto 0;
    padding: 0.3rem 1rem 0.5rem;
    width: fit-content;
    font-size: 1.6rem;
    color: #fafafa;
    line-height: 1;
    white-space: nowrap;
    background: #333333;
    border-radius: 3rem;
    @media screen and (max-width: 767px) {
      padding: 0.3rem 1rem 0.4rem;
      font-size: 1.2rem;
      line-height: 1.3;
    }
  }
  .hero-item.hero-item__01 {
    position: absolute;
    left: 50px;
    img {
      max-width: 131px;
      @media screen and (max-width: 767px) {
        max-width: 90px;
      }
      @media screen and (max-width: 660px) {
        margin-top: 3rem;
        max-width: 90px;
      }
      @media screen and (max-width: 500px) {
        margin-top: 0;
      }
      @media screen and (max-width: 450px) {
        max-width: 60px;
      }
      @media screen and (max-width: 390px) {
        max-width: 50px;
      }
    }
    @media screen and (max-width: 550px) {
      left: 20px;
    }
    @media screen and (max-width: 450px) {
      left: 0px;
    }
  }
  .hero-item.hero-item__02,
  .hero-item.hero-item__03,
  .hero-item.hero-item__04,
  .hero-item.hero-item__05,
  .hero-item.hero-item__06 {
    img {
      width: 100%;
      max-width: 160px;
      height: auto;
      @media screen and (max-width: 450px) {
        max-width: 100px;
      }
      @media screen and (max-width: 390px) {
        max-width: 80px;
      }
    }
  }
}
/*------------------ メイン ------------------*/
main {
  margin-top: 8.5rem;
  @media screen and (min-width: 900px) and (max-height: 799px) {
    margin-top: 6.5rem;
  }
  @media screen and (max-width: 767px) {
    margin-top: 6.5rem;
  }
}
img.product-img {
  width: auto;
  height: 120px;
  @media screen and (max-width: 767px) {
    height: 80px;
  }
}
p.cta-text {
  margin-bottom: 3px;
  font-size: 2rem;
  font-weight: 500;
  text-stroke: 3px #fafafa;
  paint-order: stroke;
  span.cta-strong {
    font-size: 2.8rem;
    font-weight: bold;
    color: #7b31c1;
  }
  &.cta-text__hero {
    -webkit-text-stroke: 3px #fafafa;
    text-align: center;
  }
  &.cta-text__possible {
    margin-top: 2rem;
    span.cta-strong {
      -webkit-text-stroke: 3px #fafafa;
    }
  }
  @media screen and (max-width: 767px) {
    font-size: 1.4rem;
    span {
      font-size: 1.8rem;
    }
  }
}
section {
  .wrap {
    margin: auto;
    padding: 6rem 0;
    max-width: 1140px;
    @media screen and (max-width: 1140px) {
      padding: 6rem 1.5rem;
    }
  }
}
h3 {
  margin-bottom: 3rem;
  text-align: center;
  span.sub-title {
    margin: auto;
    padding-left: 1.2em;
    display: block;
    position: relative;
    width: fit-content;
    font-size: 2rem;
    color: #7d7483;
    &.sub-title::before {
      font-family: "Font Awesome 7 Pro";
      position: absolute;
      font-size: 0.9em;
      top: 3px;
      left: 0;
    }
    &.sub-title.sub-title__section1::before {
      content: "\f059";
    }
    &.sub-title.sub-title__section2::before {
      content: "\f0eb";
    }
    &.sub-title.sub-title__section3::before {
      content: "\f002";
    }
    &.sub-title.sub-title__section4::before {
      content: "\f54b";
      transform: rotate(270deg);
      top: -1px;
      left: -3px;
    }
    &.sub-title.sub-title__section5::before {
      content: "\f31c";
      left: -1px;
    }
    @media screen and (max-width: 767px) {
      font-size: 1.6rem;
    }
  }
}
/*----- 課題 -----*/
.assignment-inner {
  display: flex;
  justify-content: space-between;
  .assignment-item {
    padding: 15px;
    width: calc(33.33% - 15px);
    text-align: center;
    background: #ffe9ff;
    @media (orientation: portrait) and (max-width: 767px) {
      width: 100%;
    }
  }
  h5 {
    margin-bottom: 1rem;
    @media screen and (max-width: 1140px) {
      font-size: 2rem;
    }
    @media screen and (max-width: 767px) {
      font-size: 1.8rem;
      white-space: nowrap;
    }
  }
  div {
    margin: auto;
    width: fit-content;
  }
  img {
    margin-bottom: 1rem;
    width: 100%;
    max-width: 250px;
    height: 100%;
  }
  ul {
    margin: 0;
    padding: 0;
    height: 100%;
    font-size: 2.4rem;
    color: #333333;
    text-align: left;
    list-style: none;
    min-height: 120px;
    @media screen and (max-width: 945px) {
      min-height: 150px;
    }
    @media screen and (max-width: 767px) {
      min-height: 100%;
    }
    @media only screen and (min-device-width: 300px) and (max-device-width: 767px) and (orientation: landscape) {
      min-height: 120px;
    }
    @media screen and (max-width: 1140px) {
      font-size: 2rem;
    }
    @media screen and (max-width: 767px) {
      font-size: 1.8rem;
    }
    li {
      padding-left: 1em;
      text-indent: -1em;
    }
  }
  @media (orientation: portrait) and (max-width: 767px) {
    flex-wrap: wrap;
    gap: 15px;
  }
}
/*----- 特長 -----*/
.features-inner {
  padding-top: 4rem;
  & + & {
    margin-top: 3rem;
  }
  h3.features-title {
    margin-bottom: 2rem;
    padding-left: 8rem;
    display: flex;
    position: relative;
    line-height: 1;
    text-align: left;
    &::before {
      display: flex;
      align-items: center;
      justify-content: center;
      position: absolute;
      width: 70px;
      height: 70px;
      bottom: 0;
      left: 0;
      font-size: 3.8rem;
      color: #fafafa;
      background: #ff8556;
      border-radius: 100px 100px 0 100px;
    }
    &.features-title__01::before {
      content: "01";
    }
    &.features-title__02::before {
      content: "02";
    }
    &.features-title__03::before {
      content: "03";
    }
    @media screen and (max-width: 1140px) {
      font-size: 3.2rem;
    }
    @media screen and (max-width: 800px) {
      line-height: 1.3;
    }
    @media screen and (max-width: 767px) {
      font-size: 2.2rem;
    }
  }
  .features-item {
    display: flex;
    gap: 15px;
    p {
      padding-left: 8rem;
      @media (orientation: portrait) and (max-width: 767px) {
        padding-left: 0;
      }
    }
    img {
      width: 100%;
      max-width: 300px;
      height: 100%;
      @media (orientation: portrait) and (max-width: 767px) {
        max-width: 100%;
      }
    }
    @media (orientation: portrait) and (max-width: 767px) {
      justify-content: center;
      flex-wrap: wrap;
    }
  }
}
/*----- できること -----*/
section#possible {
  background: #ffe9ff;
}
.possible-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px 0;
}
.possible-item {
  padding: 2rem;
  width: 100%;
  max-width: calc((100% / 3) - 15px);
  display: flex;
  gap: 15px;
  justify-content: space-between;
  flex-direction: column;
  background: #fafafa;
  border-radius: 10px 0 10px 0;
  box-shadow: 4px 4px 4px 0px rgba(51, 51, 51, 0.3);
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  &.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  @media screen and (max-width: 1140px) {
    max-width: calc((100% / 2) - 7.5px);
  }
  @media only screen and (min-device-width: 300px) and (max-device-width: 767px) and (orientation: portrait) {
    max-width: 100%;
  }
  h4 {
    margin-bottom: 2rem;
  }
  img {
    width: 100%;
    height: auto;
    @media (orientation: portrait) and (max-width: 767px) {
      max-width: 100%;
    }
  }
}
/*----- 比較 -----*/
.comparison-table {
  @media screen and (max-width: 1140px) {
    overflow: scroll;
  }
}
table {
  margin: auto;
  width: 100%;
  font-size: 2.4rem;
  color: #333333;
  text-align: center;
  th,
  td {
    padding: 0 1rem;
    height: 62px;
    white-space: nowrap;
  }
  th {
    color: #fafafa;
    background: #0080f7;
    border-right: 1px solid #fafafa;
    border-bottom: 1px solid #fafafa;
  }
  td {
    border-right: 1px solid #0080f7;
    border-bottom: 1px solid #0080f7;
  }
  td.comparison-emphasis {
    font-weight: bold;
    background: #e8f4ff;
  }
  @media screen and (max-width: 767px) {
    font-size: 1.6rem;
  }
}
/*----- 契約の流れ -----*/
section#flow {
  background-image: linear-gradient(
    180deg,
    rgba(250, 250, 250, 1),
    rgba(255, 233, 255, 1) 30%
  );
}
.flow-contents {
  padding: 0 4rem;
  width: 100%;
  .flow-inner::after {
    margin: 0 auto 10px;
    display: block;
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-right: 25px solid transparent;
    border-left: 25px solid transparent;
    border-top: 20px solid #7d7483;
    border-bottom: 0;
  }
  .flow-inner:last-child::after {
    display: none;
  }
  .flow-item {
    display: flex;
    align-items: center;
    position: relative;
    border: 3px solid #7d7483;
    border-radius: 5px;
    background: #7d7483;
    span.flow-badge {
      position: absolute;
      width: 80px;
      height: 80px;
      top: -20px;
      left: -40px;
      font-size: 2.4rem;
      font-weight: bold;
      color: #fafafa;
      text-align: center;
      line-height: 3.2;
      background-color: #ff8556;
      border-radius: 50px;
      &::after {
        display: block;
        position: absolute;
        top: 60px;
        right: 0;
        content: "";
        width: 0;
        height: 0;
        border-style: solid;
        border-right: 7px solid transparent;
        border-left: 7px solid transparent;
        border-bottom: 15px solid #ff8556;
        border-top: 0;
        transform: rotate(130deg);
        @media screen and (max-width: 767px) {
          top: 45px;
        }
      }
      @media screen and (max-width: 767px) {
        width: 60px;
        height: 60px;
        left: -30px;
        font-size: 1.8rem;
      }
    }
    @media screen and (max-width: 767px) {
      flex-wrap: wrap;
    }
  }
  .flow-number {
    padding: 0 5rem;
    height: 100%;
    /* height: -webkit-fill-available; */
    display: flex;
    align-items: center;
    background-color: #7d7483;
    p {
      font-size: 2.4rem;
      font-weight: bold;
      color: #fafafa;
      text-align: center;
      line-height: 1;
      span {
        padding-top: 1.5rem;
        display: block;
        font-size: 4.8rem;
      }
    }
    @media screen and (max-width: 767px) {
      margin: auto;
      padding: 1rem 0;
      P {
        font-size: 1.8rem;
        span {
          padding-top: 0.5rem;
          font-size: 2.8rem;
        }
      }
    }
  }
  .flow-text {
    padding: 3rem;
    width: 100%;
    background: #fafafa;
    border-radius: 0 5px 5px 0;
    h4 {
      padding-bottom: 1rem;
    }
    a {
      text-decoration: underline !important;
    }
    @media screen and (max-width: 767px) {
      padding: 2rem;
      border-radius: 0 0 5px 5px;
    }
  }
  @media screen and (max-width: 767px) {
    padding: 0 3rem;
  }
}
/*----- お問い合わせ -----*/
.contact {
  background-image: var(--bg-image-contact);
  background-size: cover;
}
.contact-inner {
  display: flex;
  justify-content: space-between;
  .contact-item {
    width: calc(50% - 20px);
    @media screen and (max-width: 767px) {
      width: 100%;
    }
  }
  h4 {
    margin-bottom: 1.5rem;
    padding: 1rem 0 1rem 2rem;
    line-height: 1.4;
    border-left: 8px solid #7d7483;
    @media screen and (max-width: 1140px) {
      font-size: 2.4rem;
    }
    @media screen and (max-width: 767px) {
      font-size: 2rem;
    }
  }
  img {
    margin-top: 1.5rem;
    width: 100%;
    height: auto;
    border: 1px solid #7d7483;
    border-radius: 5px;
  }
  @media (orientation: portrait) and (max-width: 767px) {
    flex-wrap: wrap;
    gap: 20px;
  }
}
/*------------------ フッター ------------------*/
footer.footer {
  padding: 0;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.4rem;
  color: #fafafa;
  background: #333333;
}
/*------------------ トップに戻るボタン ------------------*/
.page-top {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  right: 18px;
  bottom: 20px;
  width: 40px;
  height: 40px;
  background-color: #333333;
  border-radius: 100%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(50px);
  transition:
    opacity 1s,
    visibility 1s,
    transform 1s;
  pointer-events: none;
  z-index: 1000;
}
.page-top.top-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0px);
  pointer-events: auto;
}
.page-top.top-absolute {
  position: absolute;
  top: -70px;
  bottom: 100%;
}
.page-top:hover {
  opacity: 0.8;
}
.page-top__arrow {
  height: 15px;
  width: 15px;
  border-top: 3px solid #fafafa;
  border-left: 3px solid #fafafa;
  transform: translateY(3px) rotate(45deg);
}
/*------------------ Thanksページ ------------------*/
.thanks {
  background: #fafafa;
  header.header {
    position: unset;
  }
  .thanks-wrap {
    margin-top: 0;
    text-align: center;
  }
  h2 {
    padding: 5rem 0 3rem;
    font-size: 4.2rem;
    @media screen and (min-width: 900px) and (max-height: 799px) {
      padding: 3rem 0 1rem;
    }
    @media screen and (max-width: 767px) {
      padding: 2rem;
      font-size: 2.4rem;
    }
  }
  p {
    padding-bottom: 5rem;
    @media screen and (min-width: 900px) and (max-height: 799px) {
      padding-bottom: 2rem;
    }
    @media screen and (max-width: 767px) {
      padding-bottom: 2rem;
      font-size: 1.6rem;
    }
  }
  #download {
    @media screen and (max-width: 945px) {
      padding: 0 1rem;
    }
  }
  .download-inner {
    margin: 0 auto 5rem;
    padding: 2.5rem;
    display: flex;
    gap: 2rem;
    width: fit-content;
    border-radius: 5px;
    border: 1px solid #7d7483;
    box-shadow: 4px 4px 4px 0px rgba(51, 51, 51, 0.2);
    @media screen and (min-width: 900px) and (max-height: 799px) {
      margin: 0 auto 3rem;
    }
    @media screen and (max-width: 767px) {
      padding: 2rem;
      flex-wrap: wrap;
    }
    img {
      width: 100%;
      max-width: 380px;
      height: 100%;
      @media screen and (max-width: 945px) {
        max-width: 280px;
      }
      @media screen and (max-width: 767px) {
        max-width: 100%;
      }
    }
    .download-item {
      width: 100%;
      p {
        padding: 0;
        &.download-catch {
          padding: 0.3rem 0;
          font-weight: bold;
          color: #fafafa;
          background: #d0caf0;
        }
        &.download-title {
          padding-bottom: 2rem;
          font-size: 2.8rem;
          font-weight: bold;
          @media screen and (max-width: 767px) {
            font-size: 2.2rem;
          }
        }
      }
      .cta-btn {
        margin-top: 2rem;
        padding: 2rem 0;
        font-size: 2.4rem;
        @media screen and (max-width: 767px) {
          font-size: 2rem;
        }
        span {
          position: relative;
        }
        span::before {
          font-family: "Font Awesome 7 Pro";
          position: absolute;
          font-size: 1.3em;
          top: -0.1em;
          left: -1.5em;
          content: "\f019";
        }
      }
    }
  }
  .links-inner {
    padding: 5rem 0 8rem;
    display: flex;
    justify-content: center;
    text-align: center;
    background-image: var(--bg-image-thanks);
    background-size: cover;
    @media screen and (min-width: 900px) and (max-height: 799px) {
      padding: 3rem 0 6rem;
    }
    @media screen and (max-width: 767px) {
      flex-wrap: wrap;
      gap: 3rem;
    }
  }
  .links-item {
    a {
      padding: 0 10rem;
      display: block;
      @media screen and (max-width: 1140px) {
        padding: 0 3rem;
      }
      @media screen and (max-width: 945px) {
        padding: 0 0.5rem;
      }
      @media screen and (max-width: 767px) {
        padding: 0 1rem;
      }
      p {
        padding-bottom: 1rem;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 2.4rem;
        font-weight: bold;
        color: #333333;
        text-decoration: none;
        @media screen and (max-width: 767px) {
          font-size: 2.2rem;
        }
        &:hover {
          color: #333333;
          text-decoration: none;
        }
        &::before,
        &::after {
          background-color: #333333;
          border-radius: 5px;
          content: "";
          height: 3px;
          width: 40px;
        }
        &::before {
          margin-right: 5px;
          transform: rotate(60deg);
        }
        &::after {
          margin-left: 5px;
          transform: rotate(-60deg);
        }
      }
      img {
        width: 100%;
        max-width: 47rem;
        height: 100%;
        border-radius: 5px;
        border: 1px solid #7d7483;
      }
      &:hover {
        opacity: 0.8;
      }
    }
  }
}
