@charset "UTF-8";
html,
body {
  background-color: #353535;
}

.go {
  cursor: pointer;
}

.go.text {
  color: #1176d4;
  text-decoration: underline;
  display: inline-block;
  width: auto;
}

header {
  display: none;
  padding-top: 12px;
  padding-bottom: 12px;
}

header h1 {
  max-width: 94px;
}

.logo {
  max-width: 80px;
}

/**-----------------------------------------------
 * 点滅
 **-----------------------------------------------*/
/* CSS だけで点滅（blink）を実現 */
.custom-blink {
  /* 1秒周期で visibility を切り替える */
  animation: blink 1s steps(1, start) infinite;
}

@keyframes blink {
  0%, 100% {
    visibility: visible;
  }
  50% {
    visibility: hidden;
  }
}

/**-----------------------------------------------
 * トップビジュアル
 **-----------------------------------------------*/
/* ──────────── ラッパー ──────────── */
#video-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh; /* 画面より小さければ画面高、超えればコンテンツ高 */
  overflow: visible; /* コンテンツが長いときは隠さない */
}

@supports (height: 100dvh) {
  #video-wrapper {
    min-height: 100dvh; /* 画面より小さければ画面高、超えればコンテンツ高 */
  }
}

/* ──────────── 動画＋オーバーレイ ──────────── */
.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden; /* はみ出す動画だけを隠す */
  z-index: 0;
}

.video-bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
}

.video-bg .video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1;
}

/* ──────────── コンテンツラッパー ──────────── */
#video-content-wrapper {
  position: relative;
  width: 100%;
  z-index: 2;
  /* height / display は JS で切り替えます */
}

.video-content {
  max-width: 800px; /* お好みで */
  margin: 0 auto;
  padding: 80px 1em 80px;
  /* color, background などもここで */
}


.video-content-wrapper .logo {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translate(-50%, 0);
}

.video-content-wrapper img.sp_pc {
  max-width: 80%;
}

.video-content ul li,
.video-content h2 {
  color: #fff;
  font-size: 2.0em;
  line-height: 1.8em;
  font-weight: bold;
}

.video-content h2 {
  padding: 18px 0 24px;
  text-align: center;
  line-height: 1.2em;
}

.video-content ul li {
  font-size: 1.1em;
  padding: 0 0 10px 0;
}

.video-content ul li:before {
  content: "";
  background-repeat: no-repeat;
  height: 20px;
  width: 20px;
  background-size: contain;
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
  background-image: url("../images/check.png?a=1");
}

/**-----------------------------------------------
 * メインコンテンツ
 **-----------------------------------------------*/
.main {
  z-index: 10;
  position: relative;
}

.main-wrapper {
  width: 94%;
  position: relative;
}

.main .main-contents-wrapper,
.main .main-content,
.main .buttons-wrapper {
  position: relative;
}

/**-----------------------------------------------
 * ボタン
 **-----------------------------------------------*/
.buttons-wrapper {
  width: 100%;
  padding: 20px 0;
  margin: 0 auto;
  display: flex;
  gap: .5em;
}

.buttons-wrapper .button.register {
  width: 60%;
}

.buttons-wrapper .button.demo {
  width: 40%;
}

.button {
  border-radius: 5px;
  display: block;
  padding: 16px 0;
  color: #333;
  text-decoration: none;
  text-align: center;
  width: 100%;
  font-weight: 700;
  font-size: 1.2em;
}

.button.register {
  color: #fff;
  /*background: linear-gradient(90deg, #f5d66c 0, #ff664d 99%);*/
  background: #00de00;
  background: -moz-linear-gradient(top, #00de00 0%, #0a840a 100%);
  background: -webkit-linear-gradient(top, #00de00 0%, #0a840a 100%);
  background: linear-gradient(top, #00de00 0%, #0a840a 100%);
}

.button.demo {
  color: #fff;
  background: #ff0649;
  background: -moz-linear-gradient(top, #ff0649 0, #bd1643 100%);
  background: -webkit-linear-gradient(top, #ff0649 0, #bd1643 100%);
  background: linear-gradient(top, #ff0649 0, #bd1643 100%);
}

.main .main-contents-wrapper .main-content {
  margin-top: 10px;
  background-color: #232323;
  padding: 20px 10px;
  border-radius: 5px;
  color: #fff;
}

.main .main-contents-wrapper .main-content.bk::before {
  z-index: 15;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, .78);
  width: 100%;
  height: 100%;
  border-radius: 5px;
  overflow: hidden;
}

.main .main-contents-wrapper .main-content.bk .content {
  position: relative;
  z-index: 18;
}

.main .step,
.main .reason {
  margin-bottom: 60px;
}

.main .step img,
.main .reason img {
  max-width: 50px;
}

.main h2,
.main h3 {
  padding: 14px 0 24px;
  text-align: center;
  font-size: 1.4em;
}

.main h3 {
  padding: 14px 0;
  font-size: 1.2em;
}

.main p {
  line-height: 2.0em;
}

/**-----------------------------------------------
 * フッター
 **-----------------------------------------------*/
footer {
  position: relative;
  padding: 24px 0;
}

footer p {
  text-align: left;
}

footer, footer a {
  color: #fff;
  text-decoration: none;
}

.footer-content {
  padding: 0;
  /*color: #333;*/
}

.footer-content .content {
  /*background-color: #fccd2a;*/
  padding: 40px 10px;
}

.footer-content .content p.ft {
  text-align: center;
  font-weight: bold;
  font-size: 1.6em;
  line-height: 1.6em;
  padding: 0;
}

.footer-content p.go {
  display: block;
  width: 90%;
  max-width: 600px;
  margin: 20px auto 0;
  text-align: center;
  padding: 20px 0;
}

#page-top {
  display: none;
  z-index: 999;
  position: fixed !important;
  bottom: 16px;
  right: 16px;
}

#page-top img {
  width: 40px;
  height: 40px;
}

#page-top.visible {
  display: block;
}

/**-----------------------------------------------
 * フッター固定ボタン
 **-----------------------------------------------*/
#slide-footer-bar {
  position: fixed;
  bottom: -500px;
  left: 0;
  width: 100%;
  text-align: center;
  margin: 0;
  padding: 0;
  transition: bottom .3s; /* スライドインのアニメーション */
  z-index: 999;
  border-radius: 12px 12px 0 0;
  /*border: 2px solid #333;*/
  overflow: hidden;
  height: 70px;
}

#slide-footer-bar::before {
  position: absolute;
  content: '';
  display: inline-block;
  top: -180px;
  left: 0;
  width: 30px;
  height: 100%;
  background-color: #b5e7ff;
  transition: 300ms;
  animation: shinyshiny 2.5s ease-in-out infinite;
}

@-webkit-keyframes shinyshiny {
  0% {
    -webkit-transform: scale(0) rotate(45deg);
    opacity: 0;
  }
  80% {
    -webkit-transform: scale(0) rotate(45deg);
    opacity: 0.5;
  }
  81% {
    -webkit-transform: scale(4) rotate(45deg);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(50) rotate(45deg);
    opacity: 0;
  }
}

#slide-footer-bar p {
  margin: 0 auto;
  /*padding: 14px 0;*/
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  /*background-color: rgba(255, 255, 255, .1);*/
  /*border-radius: 12px 12px 12px 12px;*/
  /*max-width: 90%;*/
  line-height: 70px;
}

#page-top {
  transition: bottom .3s; /* スライドインと同じアニメーションを適用 */
}

/* ハンバーガーメニューのスタイル */
.hamburger-menu {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1000; /* 他の要素より前面に表示 */
  padding: 0;
}

.hamburger-menu span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #dcdcdc;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/*=================================================*
 * media query
 *=================================================*
 * BREAK POINT (mobile first)
 *    [SP/TB/PC]    0px ~ x  (SP {縦})
 *    [SP/TB/PC]  320px ~ x  (SP {縦})
 *    [SP/TB/PC]  480px ~ x
 *    [   TB/PC]  768px ~ x
 *    [      PC]  1024px ~ x
 *=================================================*/
/* --------------------- *
 * SP / TB / PC
 * width : 1px - x
 * --------------------- */
@media screen and (min-width: 1px) {

}

/* --------------------- *
 * SP / TB / PC
 * width : 320px - x
 * --------------------- */
@media screen and (min-width: 320px) {

}

/* --------------------- *
 * SP / TB / PC
 * width : 480px - x
 * --------------------- */
@media screen and (min-width: 480px) {
  /*.video-content-wrapper {*/
  /*  position: relative !important;*/
  /*}*/
  .video-wrapper {
    height: auto;
    padding: 10px 0 0;
  }

  /*.video-content-wrapper .sp_pc {*/
  /*  max-width: 40%;*/
  /*  float: right;*/
  /*}*/
  /*.video-content-wrapper .video-text {*/
  /*  float: right;*/
  /*}*/
  .video-content ul li,
  .video-content h2 {
    font-size: 1.8em;
  }

  .video-content ul li {
    font-size: 1.0em;
  }

  .main-wrapper {
    top: 20px;
  }

}

/* --------------------- *
 * TB / PC
 * width : 768px - x
 * --------------------- */
@media screen and (min-width: 768px) {

}

/* --------------------- *
 * PC
 * width : 1024px - x
 * --------------------- */
@media screen and (min-width: 1024px) {
  html, body {
    font-size: 18px;
  }

  header {
    display: block;
  }

  .video-content-wrapper .logo {
    display: none !important;
  }

  /*.video-content-wrapper .sp_pc {*/
  /*  max-width: 40%;*/
  /*}*/
  .logo {
    max-width: 168px;
  }

  .video-content-wrapper .logo {
    display: none;
  }

  .video-content {
    padding: 40px 0;
    width: 1024px;
    /*display: flex;*/
    /*justify-content: center;*/
  }

  .video-content ul li,
  .video-content h2 {
    font-size: 2.0em;
  }

  .video-content ul li {
    font-size: 1.3em;
  }

  .main-wrapper {
    width: 1024px;
    top: 40px;
  }

  .main .main-contents-wrapper .main-content {
    margin-top: 40px;
  }

  .main .step,
  .main .reason {
    width: calc(100% / 3);
    padding: 0 14px;
    box-sizing: border-box;
  }

  .main .step p {
    text-align: center;
  }

  footer {
    top: 40px;
  }

  .footer-content button {
    width: 400px;
  }

}

/* --------------------- *
 * PC
 * width : 1024px - x
 * --------------------- */
@media screen and (min-width: 1920px) {
  html, body {
    font-size: 18px;
  }

  .video-content ul li,
  .video-content h2 {
    font-size: 3.0em;
  }

  .video-content ul li {
    font-size: 1.3em;
  }

  .video-content ul li:before {
    height: 28px;
    width: 28px;
    margin-right: 10px;
  }
}

