/* ----- common ----- */
/* * {
  border: 1px solid magenta;
} */
html {
  font-size: 62.5%;
  overflow-x: hidden;
}
:root {
  --color-main: #022859;
  --color-white: #ffffff;
  --color-accent01: #bf0426;
  --color-accent02: #8c030e;
  --color-sub01: #a66d03;
  --color-sub02: #a69b8d;
}
body {
  color: var(--color-main);
  line-height: 1.5;
  letter-spacing: 0.03em;
  overflow-x: hidden;
  /* fonts */
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 1.6rem;
}
.section-title-oswald {
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}
/* tb幅になったときに画像出さなくするように変更 */
.pc__bg {
  display: none;
  @media (min-width: 430px) {
    display: block;
    background-color: #022859;
    width: calc(100vw - calc(100vw - 100%));
    height: 100vh;
    position: fixed;
    z-index: -100;
  }
  .text-animation-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .pc__bg--left {
    display: none;
    @media (min-width: 900px) {
      display: block;
      max-width: 410px;
      width: 40%;
      position: absolute;
      bottom: 0;
      left: 0;
    }
  }
  .pc__bg--right {
    display: none;
    @media (min-width: 900px) {
      display: block;
      max-width: 250px;
      width: 23%;
      position: absolute;
      bottom: 0;
      right: 2%;
    }
  }
}
.main__contents {
  width: 100%;
  background-color: var(--color-white);
  margin: 0 auto;
  overflow-x: hidden;
  @media (min-width: 768px) {
    max-width: 427px;
    width: 100%;
  }
}
.wrap {
  padding: 0 2rem;
}
.wrap--section {
  padding: 6rem 2rem 12rem;
}
.logo a {
  background: linear-gradient(90deg, #e63030 0%, #d92c5c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  font-size: 2.5rem;
}
.title-wrap {
  margin-bottom: 6rem;
  text-align: center;
}
.title-wrap--contact {
  position: relative;
}
.section__title,
.loop_text {
  color: var(--color-white);
  font-weight: 700;
  font-size: 5rem;
  letter-spacing: -0.02em;
  -webkit-text-stroke: 5px var(--color-main); /* ベンダープレフィックス */
  text-stroke: 3px var(--color-main);
  paint-order: stroke;
}
.section__title--sub {
  color: var(--color-sub01);
  font-weight: 700;
  font-size: 2rem;
  &.page__title--sns {
    color: var(--color-accent02);
  }
  &.page__title--movie {
    color: var(--color-sub01);
  }
  &.page__title--pp {
    color: var(--color-main);
  }
}
.section__title--lead {
  padding-top: 6rem;
  text-align: left;
}
.section__title--cta {
  font-weight: 900;
  font-size: 4rem;
  margin-top: 3rem;
  text-align: center;
  position: relative;
}
.section__title--cta::after {
  content: "";
  display: inline-block;
  width: 290px;
  height: 170px;
  background-image: url(https://sapotama.en-products.com/src/image/cta-bg.svg);
  background-position: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.section__title--contact {
  color: var(--color-sub01);
  font-weight: 900;
  font-size: 4rem;
  line-height: 117%;
  position: relative;
  z-index: 100;
}
.subSection__title {
  text-align: center;
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 6rem;
  &.subSection__title--sns {
    color: var(--color-accent02);
  }
  &.subSection__title--movie {
    color: var(--color-sub01);
  }
}
.contents__list > li:not(:last-child) {
  margin-bottom: 6rem;
}
.list__item {
  padding: 3rem 2rem;
  margin: 0 auto;
  border-radius: 2rem;
  &.list__item--contact {
    padding-bottom: 0;
  }
}
.list__item--shadow {
  border: 1px solid #e6e9ee;
  box-shadow: 33px 21px 16px rgba(75, 85, 99, 0.01),
    18px 12px 13px rgba(75, 85, 99, 0.03), 8px 5px 10px rgba(75, 85, 99, 0.04),
    2px 1px 5px rgba(75, 85, 99, 0.05);
  &.list__contact {
    height: 100%;
  }
}
.list__item--premium {
  background: #fff8ed;
  border: 1px solid var(--color-sub01);
  position: relative;
}
.list__item--premium::before {
  content: "人気No.1";
  background: linear-gradient(90deg, #e63030 0%, #d92c5c 100%);
  border-radius: 54px;
  color: var(--color-white);
  font-weight: 700;
  padding: 5px 16px;
  position: absolute;
  top: -17px;
  right: 25px;
}
.list__item--subcta {
  background: rgba(249, 250, 251, 0.2);
}
.list__item--cta {
  background-color: var(--color-white);
  color: var(--color-accent01);
  text-align: center;
}
.item__title {
  color: var(--color-sub01);
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  &.item__title--sns {
    color: var(--color-accent02);
  }
  &.item__title--movie {
    color: var(--color-sub01);
  }
  &.item__title--plan {
    color: var(--color-main);
  }
  &.item__title--subcta {
    color: var(--color-white);
    margin-bottom: 1rem;
  }
  &.item__title--cta {
    color: var(--color-main);
    margin-bottom: 1rem;
  }
}
.detail__list {
  padding: 2rem 0 3rem;
}
.detail__item--sns::before {
  content: "";
  display: inline-block;
  width: 25px;
  height: 25px;
  background-image: url(https://sapotama.en-products.com/src/image/check-red.png);
  background-size: contain;
  vertical-align: middle;
}
.detail__item--movie::before {
  content: "";
  display: inline-block;
  width: 25px;
  height: 25px;
  background-image: url(https://sapotama.en-products.com/src/image/check-br.png);
  background-size: contain;
  vertical-align: middle;
}
/* ----- button ----- */
.mybutton {
  display: inline-block;
  min-width: 290px;
  width: 100%;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 2rem;
  padding: 1.2rem 0;
  text-align: center;
  transition: all 0.3s ease;
  &::before {
    content: "";
    display: inline-block;
    width: 25px;
    height: 25px;
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin-right: 0.5rem;
    margin-bottom: 0.4rem;
  }
  &.button--cta::before {
    background-image: url(https://sapotama.en-products.com/src/image/videocam-w.svg);
  }
  &.button--link::before {
    width: 30px;
    height: 30px;
    background-image: url(https://sapotama.en-products.com/src/image/play_arrow.svg);
  }
}
.button--cta {
  color: var(--color-white);
  background: linear-gradient(90deg, #e63030 0%, #d92c5c 100%);
}
.button--link {
  background-color: var(--color-white);
  border: 1px solid #e5e7eb;
}
.button--link--page {
  border: 1px solid var(--color-main);
  &::before {
    content: "";
    display: inline-block;
    width: 38px;
    height: 38px;
    background-image: url(https://sapotama.en-products.com/src/image/play_arrow.svg);
    margin-right: 1rem;
    vertical-align: middle;
  }
}
.section__lead--center {
  @media (min-width: 480px) and (max-width: 767px) {
    text-align: center;
  }
}
.section__lead--br {
  @media (min-width: 480px) and (max-width: 767px) {
    display: block;
  }
}
/* ----- link button hover ----- */
.logo a,
.nav__link,
.hbg-menu,
.button--cta,
.button--link,
.map__item a,
.sns__item a {
  transition: all 0.3s ease;
}
@media (any-hover: hover) {
  .logo a:hover,
  .nav__link:hover,
  .hbg-menu:hover,
  .button--cta:hover,
  .button--link:hover,
  .map__item a:hover,
  .sns__item a:hover {
    opacity: 0.5;
  }
}
/* ----- header ----- */
.header {
  width: 100%;
  height: 70px;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  &.wrap {
    @media (min-width: 768px) {
      max-width: 427px;
      width: 100%;
    }
  }
  .header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .header__nav {
    color: var(--color-main);
    font-size: 2rem;
    & ul {
      display: flex;
      align-items: center;
      flex-direction: column;
      gap: 3rem;
      margin-top: 9.5rem;
    }
    & li {
      font-weight: 600;
    }
  }
}
/* ----- hamburger-menu ----- */
.hbg-menu {
  display: none;
}
.hbg-menu {
  width: 30px;
  height: 60px;
  cursor: pointer;
  display: grid;
  place-items: center;
  place-content: center;
  z-index: 900;
}
.bar,
.bar::before,
.bar::after {
  width: 24px;
  height: 2px;
  background-color: var(--color-main);
  transition: transform 0.5s;
}
.bar {
  display: grid;
  &::before,
  &::after {
    content: "";
    grid-area: 1 / 1;
  }
  &::before {
    transform: translateY(-8px);
  }
  &::after {
    transform: translateY(8px);
  }
}
/* オープン時のバー */
.menu-open {
  .bar {
    background-color: transparent;
    &::before {
      transform: rotate(45deg);
    }
    &::after {
      transform: rotate(-45deg);
    }
  }
}
#menu {
  max-width: 427px;
  width: 100vw;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.9);
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10;
  transform: translateX(100vw);
  transition: transform 0.5s ease-out;
  @media (min-width: 430px) {
    transform: translateX(200vw);
  }
}
/* オープン時のメニュー */
.menu-open #menu {
  transform: translateX(0);
}
/* ----- firstvisual ----- */
.firstvisual {
  width: 100%;
  height: 100svh;
  position: relative;
  &::after {
    content: "";
    width: 100%;
    height: 15%;
    background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
    position: absolute;
    left: 50%;
    bottom: -1%;
    transform: translateX(-50%);
  }
  .firstvisual__video {
    width: 100%;
    height: 100svh;
    object-fit: cover;
    object-position: center;
  }
  .lead__wrap {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    &.lead__wrap--sub {
      text-align: center;
    }
  }
  .fallback--image,
  .fv__image {
    width: 100%;
    height: 100svh;
    object-fit: cover;
  }
  .fallback--image {
    display: none;
  }
  .fv__image {
    opacity: 0.6;
  }
  .firstvisual__lead {
    width: 65%;
    height: auto;
    text-align: center;
    margin: 0 auto;
    img {
      max-width: 280px;
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
  }
  .ctaArea {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    position: absolute;
    left: 50%;
    bottom: 5%;
    transform: translateX(-50%);
    z-index: 10;
    @media (min-width: 430px) {
      gap: 2rem;
      bottom: 3%;
    }
  }
}
/* ----- lead-to-next ----- */
.lead-to-next {
  padding: 1rem 2rem 6rem;
  background-color: #ffffff;
  font-size: 2rem;
  text-align: center;
}
/* ----- member ----- */
.member {
  .member__item img {
    border-radius: 2rem;
  }
  .list__item--member {
    background: linear-gradient(
      105.67deg,
      rgba(166, 155, 141, 0.15) 0%,
      rgba(166, 155, 141, 0.05) 100%
    );
    backdrop-filter: blur(2px);
    border: 1px solid rgba(166, 109, 3, 0.2);
    position: relative;
  }
  .item__inner--member {
    display: flex;
    justify-content: center;
  }
  .achievement__item {
    text-align: center;
    &:not(:last-child) {
      padding-right: 20%;
    }
  }
  .achievement {
    color: var(--color-accent02);
    font-weight: 700;
    font-size: 40px;
  }
}
.member__item--achievement,
.member__item--detail {
  position: relative;
}
.member__item--achievement img,
.member__item--detail img {
  width: auto;
  height: 260px;
}
.achievement__bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%);
}
.detail__bg {
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translateY(-50%);
}
/* ----- process ----- */
.process {
  .process__icon {
    width: auto;
    height: 70px;
    margin-bottom: 2rem;
  }
  .process__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .item__text--center {
    text-align: center;
  }
}
/* ----- service ----- */
.service {
  .list__item--sns {
    background-image: url(https://sapotama.en-products.com/src/image/finance_mode.svg);
    background-repeat: no-repeat;
    background-position: center;
  }
  .list__item--movie {
    background-image: url(https://sapotama.en-products.com/src/image/videocam.svg);
    background-repeat: no-repeat;
    background-position: center;
  }
}
/* ----- plan ----- */
.plan {
  .plan__price {
    font-weight: 700;
    font-size: 4rem;
    text-align: center;
  }
  .detail__list {
    width: fit-content;
    padding-bottom: 0;
    margin: 0 auto;
  }
}
/* ----- success ----- */
.success {
  .customerInfo {
    padding-bottom: 3rem;
  }
  .customer__image {
    width: 50px;
    height: 50px;
    border-radius: 25px;
    object-fit: cover;
  }
  .customer__school {
    font-size: 2rem;
  }
  .customer__job {
    font-size: 1.3rem;
  }
}
/* ----- cta ----- */
.cta {
  background: linear-gradient(83.42deg, #e63030 5.17%, #d92c5c 94.82%);
  color: var(--color-white);
  .cta__lead {
    padding-top: 6rem;
    text-align: left;
    @media (min-width: 480px) and (max-width: 767px) {
      text-align: center;
    }
  }
  .cta__price {
    color: var(--color-accent01);
    font-weight: 700;
    font-size: 4rem;
  }
  .cta__unit {
    color: var(--color-accent01);
    font-weight: 700;
    text-align: center;
  }
  .cta__name {
    font-weight: 700;
    font-size: 2rem;
  }
  .cta__name--sns {
    color: var(--color-accent02);
  }
  .cta__name--movie {
    color: var(--color-sub01);
  }
  .normal__item::after {
    content: "";
    display: block;
    width: 25px;
    height: 25px;
    margin: 2rem auto;
    background-image: url(https://sapotama.en-products.com/src/image/arrow-down.svg);
    background-repeat: no-repeat;
  }
  .normal__price {
    color: var(--color-main);
    padding-top: 1rem;
  }
  .normal__price--fee {
    padding-left: 1rem;
    text-decoration-line: line-through;
  }
}
.contact {
  .contact__lead {
    margin-top: 3rem;
    text-align: left;
  }
}
/* ----- footer ----- */
.footer {
  background-color: var(--color-white);
  padding: 6rem 2rem 2rem;
  .logo {
    font-weight: 700;
    font-size: 4rem;
  }
  .footer__nav {
    padding-top: 6rem;
  }
  .map__item:not(:last-of-type) {
    padding-bottom: 2rem;
  }
  .sns__link {
    padding-top: 6rem;
    display: flex;
    gap: 2.5rem;
  }
  .sns__item img {
    width: 30px;
    height: 30px;
    object-fit: cover;
  }
  .cr-area {
    padding-top: 12rem;
    text-align: center;
  }
}
/* ----- sub page ----- */
.item__title--sub {
  font-weight: 700;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  &.item__title--subNon {
    margin-bottom: 0;
  }
  &::before {
    content: "";
    display: inline-block;
    width: 25px;
    height: 25px;
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin-right: 0.5rem;
    margin-bottom: 0.4rem;
  }
  &.item__title--subProfile::before {
    background-image: url(https://sapotama.en-products.com/src/image/sports_baseball.svg);
  }
  &.item__title--snsSports::before {
    background-image: url(https://sapotama.en-products.com/src/image/rewarded_ads.svg);
  }
  &.item__title--snsSchool::before {
    background-image: url(https://sapotama.en-products.com/src/image/school.svg);
  }
  &.item__title--snsBusiness::before {
    background-image: url(https://sapotama.en-products.com/src/image/apartment.svg);
  }
  &.item__title--snsShop::before {
    background-image: url(https://sapotama.en-products.com/src/image/store.svg);
  }
  &.item__title--snsHint::before {
    background-image: url(https://sapotama.en-products.com/src/image/lightbulb_red.svg);
  }
  &.item__title--snsStep01::before {
    background-image: url(https://sapotama.en-products.com/src/image/contract_edit.svg);
  }
  &.item__title--snsStep02::before {
    background-image: url(https://sapotama.en-products.com/src/image/rocket_launch.svg);
  }
  &.item__title--snsStep03::before {
    background-image: url(https://sapotama.en-products.com/src/image/finance_mode-red.svg);
  }
  &.item__title--movieSports::before {
    background-image: url(https://sapotama.en-products.com/src/image/rewarded_ads-br.svg);
  }
  &.item__title--movieSchool::before {
    background-image: url(https://sapotama.en-products.com/src/image/school-br.svg);
  }
  &.item__title--movieBusiness::before {
    background-image: url(https://sapotama.en-products.com/src/image/apartment-br.svg);
  }
  &.item__title--movieEvent::before {
    background-image: url(https://sapotama.en-products.com/src/image/celebration.svg);
  }
  &.item__title--movieHint::before {
    background-image: url(https://sapotama.en-products.com/src/image/lightbulb_br.svg);
  }
  &.item__title--movieStep01::before {
    background-image: url(https://sapotama.en-products.com/src/image/contract_edit-br.svg);
  }
  &.item__title--movieStep02::before {
    background-image: url(https://sapotama.en-products.com/src/image/videocam-br.svg);
  }
  &.item__title--movieStep03::before {
    background-image: url(https://sapotama.en-products.com/src/image/star_shine.svg);
  }
}
.subItem__lead {
  text-align: center;
}
.detail__list--sub {
  width: fit-content;
  padding-bottom: 0;
  margin: 0 auto;
}
.detail__item--sub {
  font-weight: 700;
}
.subService--sns {
  .member__image--sub {
    border-radius: 20px;
  }
  .sample-movie {
    margin-bottom: 6rem;
  }
}
.service-sample-movie {
  width: 100%;
  height: auto;
}
.profile {
  .item__title--sub {
    text-align: left;
    padding-top: 3rem;
  }
  .detail__list {
    padding-bottom: 6rem;
  }
}
.roadmap {
  .sample-movie {
    padding-top: 6rem;
  }
}
.contents__list--roadmap {
  &.detail__list {
    width: 100%;
    padding-top: 3rem;
    padding-bottom: 0;
  }
  .detail__list--fit {
    width: fit-content;
    margin: 0 auto;
  }
  .detail__item:not(:last-of-type) {
    margin-bottom: 2rem;
  }
  .roadmap__text {
    display: block;
    font-weight: 400;
    padding-left: 25px;
  }
}
/* ----- privacypolicy ----- */
.privacypolicy {
  .contents__list--pp {
    padding-top: 6rem;
  }
  .pp__title {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 2rem;
  }
}
/* ----- loop anime ----- */
.text-animation-wrap {
  display: flex;
  width: 100%;
  position: absolute;
  top: 1rem;
  z-index: 1;
}
.loop_text,
.loop_text--pc {
  flex: 0 0 auto;
  opacity: 0.15;
  overflow: hidden;
  padding-left: 20px;
}
.loop_text--pc {
  font-weight: 700;
  font-size: 5rem;
  letter-spacing: -0.02em;
  opacity: 1;
  -webkit-text-stroke: 5px var(--color-white); /* ベンダープレフィックス */
  text-stroke: 3px var(--color-white);
  paint-order: stroke;
}
.loop_text:nth-child(odd),
.loop_text--pc:nth-child(odd) {
  animation: loop 30s -15s linear infinite;
}
.loop_text:nth-child(even),
.loop_text--pc:nth-child(even) {
  animation: loop2 30s linear infinite;
}
@media (max-width: 600px) {
  .loop_text--pc {
    animation: none !important;
    display: none;
  }
}
@keyframes loop {
  0% {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}
@keyframes loop2 {
  0% {
    transform: translateX(0);
  }
  to {
    transform: translateX(-200%);
  }
}
.popup-target {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.5s ease-out;
}
.popup-target.active {
  opacity: 1;
  transform: translateY(0);
}