@charset "UTF-8";
/*----------------------------
  共通
------------------------------*/
@import url("https://fonts.googleapis.com/css2?family=M+PLUS+1p:wght@400;700&display=swap");
[data-animate=animate__fadeIn],
[data-animate=animate__fadeInUp],
[data-animate=animate__fadeInUpSmall],
[data-animate=animate__bounceIn] {
  opacity: 0;
}

[data-animate=animate__flipInX] {
  transform: perspective(400px) rotateX(90deg);
}

body,
html {
  overflow-x: hidden;
  line-height: 1.5;
  color: #000;
  font-family: "M PLUS 1p", sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
@media (min-width: 680px) {
  body,
  html {
    font-size: 18px;
  }
}

body {
  background-color: #252572;
}

img {
  max-width: 100%;
}

a {
  color: #000;
}

h1 {
  text-align: center;
}

/* ヘッダー */
header {
  background-size: cover;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.bg-lights {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../../images/lights.png);
  background-repeat: repeat-x;
  background-size: 200px 320px;
  z-index: -1;
}
.bg-lights::before {
  content: "";
  position: absolute;
  width: 120%;
  height: 136%;
  max-height: 1080px;
  background: #41418c;
  border-radius: 50%;
  left: 50%;
  transform: translateX(-50%);
  bottom: -73%;
}
@media (max-width: 767px) {
  .bg-lights {
    background-size: 100px 160px;
  }
  .bg-lights::before {
    height: auto;
    bottom: -34%;
    aspect-ratio: 3 / 2;
  }
}
header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 20%;
  max-width: 260px;
  height: 45%;
  background: url(../../images/drape_left.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  z-index: 1;
}

header::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 20%;
  max-width: 260px;
  height: 45%;
  background: url(../../images/drape_right.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  z-index: 1;
}

header .mainvisual {
  margin: 0 auto;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 13;
  max-width: 1000px;
  position: relative;
}
@media (max-width: 767px) {
  header .mainvisual {
    aspect-ratio: 393 / 352;
    height: auto;
  }
}
header .mainvisual__img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.mainvisual_kemuri {
  opacity: 0;
}

.mainvisual_kemuri.go {
  animation-name: kemuriAnime;
  animation-duration: 0.2s;
  animation-delay: 0.5s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in;
}

.mainvisual_uma {
  opacity: 0;
}

.mainvisual_uma.go {
  animation-name: umaAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in;
}
.mv-logo-wrapper {
  display: block;
  padding-inline: 35px;
  width: 100%;
  max-width: 800px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 7%;
  box-sizing: border-box;
  z-index: 10; 
}
@media (max-width: 767px) {
  .mv-logo-wrapper {
    top: 6%;
  }
}
.mainvisual_logo {
  display: block;
  width: 100%;
}
.mainvisual_logo.go {
  animation-name: logoAnime;
  animation-duration: 0.4s;
  animation-delay: 0.8s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in;
}
@keyframes kemuriAnime {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes umaAnime {
  from {
    transform: translateY(100vh);
    /* 要素を上の枠外に移動*/
    opacity: 0;
  }
  to {
    transform: translateY(0);
    /* 要素を元の位置に移動*/
    opacity: 1;
  }
}
@keyframes logoAnime {
  0% {
    opacity: 0;
    transform: scale(1.3) rotate(0);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(360deg);
  }
}
/*thanks.php*/
#form {
  /* 余白が出ないように調整 */
  display: flex; 
  flex-direction: column; 
}
#form main {
  background: linear-gradient(to bottom, #41418c, #7777ef);
  flex: 1;
}
#form header .mainvisual {
  /* height: 76dvh; */
  max-width: 800px;
}
#form .img-wrapper {
  width: 100%;
  max-width: 900px;
  position: relative;
}
#form .mv-logo-wrapper {
  max-width: 600px;
  top: 10%;
}
#form .bg-lights::before {
  bottom: -76%;
}
/* #form header .mainvisual_logo {
  width: 18%;
  position: absolute;
  right: 7%;
  top: 3%;
} */
/* 
@media (max-width: 767px) {
  #form header .mainvisual_logo {
    width: 23%;
    position: absolute;
    left: auto;
    right: 2%;
    top: 2%;
  }
} */
 #form .container {
  padding-block: 20px;  
}
/* メイン */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px 2%;
}
.flow__item--thanks {
  margin-block: 8%;
}
.flow__item--thanks h2 {
  margin: 0 auto;
  width: 60%;
  max-width: 320px;
  min-width: 240px;
}
@media (max-width: 767px) {
  .flow__item--thanks .btn {
    margin: 2% auto;
  }
}
/* シェア */
.sns ul {
  display: grid;
  grid-template-columns: repeat(2, 50px);
  gap: 20px;
  justify-content: center;
}

.sns__title {
  max-width: 300px;
  margin: 0 auto;
  padding: 0px 0 30px;
}

/* footer */
footer {
  color: #fff;
  background-color: #7777ef;
  padding: 10px;
  font-size: 10px;
  text-align: center;
  position: sticky;
  top: 100vh;
}

/* トップへボタン */
.topBack {
  position: fixed;
  bottom: 2%;
  right: 6%;
  width: 10%;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  max-width: 72px;
}

/* ボタン */
.btn {
  margin: 20px auto;
  text-align: center;
  max-width: 400px;
  /*img {
    @include pc {
      width: 300px;
    }
  }*/
}

.btn-text {
  text-align: center;
  margin: 20px 0;
}
.btn-text > a,
.btn-text > span {
  display: inline-block;
  border-radius: 100px;
  padding: 10px 20px;
  border: solid 2px #fff;
  text-decoration: none;
  color: #fff;
}
.btn-text > a:hover,
.btn-text > span:hover {
  cursor: pointer;
}

/* TOPページへもどる */
.link_return {
  text-align: center;
  padding-block: 20px;
}
.link_return a {
  color: #fff;
  font-weight: bold;
  font-size: 18px;
}

.deco-sec-title {
  position: relative;
  display: block;
}
.point .deco-sec-title {
  padding-inline: 20px;
}
.deco-sec-title::after {
  content: "";
  position: absolute;
  pointer-events: none;

  width: 100%;
  height: 220%;

  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  background: url(../../images/deco_flow&point-title.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;

  z-index: -1;
}
.bg-glitter{
  background: url(../../images/bg_glitter.png);
  background-size: 300px 300px;
}
@media (max-width: 767px) {
  .bg-glitter{
    background-size: 220px 220px;
  }
}
/*----------------------------
  contents_box
------------------------------*/
.contents_box {
  padding: 15px;
  font-weight: bold;
}
@media (min-width: 680px) {
  .contents_box {
    border-width: 2px;
    padding: 20px;
  }
}
.contents_box .notice {
  font-size: 0.8em;
}

.container .contents_box {
  color: #fff;
  background-color: #323232;
  border: solid 4px #fff;
  border-radius: 5px;
  padding: 5% 15px 15px;
  margin-top: -4px;
  font-weight: bold;
  filter: drop-shadow(6px 6px 6px rgba(120, 143, 244, 0.7));
}
@media (max-width: 767px) {
  .container .contents_box {
    filter: drop-shadow(4px 4px 4px rgba(120, 143, 244, 0.7));
  }
}
.step2 .container .final {
  color: #000;
}
/*----------------------------
  message
------------------------------*/
.message {
  color: #fff;
  text-align: center;
  background-color: #c3b2f9;
  /* border: solid #d9c845 1px; */
  border-radius: 10px;
  padding: 15px;
  /* margin: 20px; */
}

/*----------------------------
  final
------------------------------*/
.final {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

.final__item {
  border: solid 1.8px #000;
  border-radius: 5px;
  background-color: #fff;
}
@media (min-width: 480px) {
  .final__item {
    border-width: 2px;
  }
}
@media (min-width: 680px) {
  .final__item {
    width: calc(50% - 20px);
  }
}
.final__item:nth-of-type(1) .final__item-number {
  background-color: #efefef;
  border-bottom: solid 1.8px #000;
}
.final__item:nth-of-type(2) .final__item-number {
  background-color: #000;
}
.final__item:nth-of-type(3) .final__item-number {
  background-color: #ff6555;
}
.final__item:nth-of-type(4) .final__item-number {
  background-color: #4d8bf7;
}
.final__item:nth-of-type(5) .final__item-number {
  background-color: #f4e156;
}
.final__item:nth-of-type(6) .final__item-number {
  background-color: #8ced91;
}
.final__item:nth-of-type(7) .final__item-number {
  background-color: #f49638;
}
.final__item:nth-of-type(8) .final__item-number {
  background-color: #ef8eb8;
}

.final__item-box {
  padding: 10px;
}
@media (min-width: 480px) {
  .final__item-box {
    padding: 20px;
  }
}

.final__item-text {
  font-weight: normal;
  font-size: 0.8em;
  margin-top: 10px;
  text-align: left;
}

.final__item-special {
  font-weight: normal;
  font-size: 0.6em;
  text-align: left;
  margin-top: 10px;
}

.final__item-number {
  text-align: center;
  padding: 5px;
  border-radius: 5px 10 0 0;
}
.final__item-number > span {
  margin: auto;
  display: grid;
  place-content: center;
  background-color: #fff;
  border-radius: 50%;
  width: 1.5em;
  height: 1.5em;
}

.final__item-umaname {
  font-size: 24px;
  text-align: center;
  margin-bottom: 10px;
}

.final__item-photo {
  position: relative;
}

.final__item-label {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  left: 0;
  top: 0;
  padding: 3px 5px;
  font-weight: bold;
  color: #261358;
  border: solid 1.5px #261358;
  font-size: 14px;
}
.final__item-label.--geneki {
  background: linear-gradient(#6da2f9, #d4b1f6);
}
.final__item-label.--intai {
  background: linear-gradient(#d66df9, #f6b1d7);
}

/*----------------------------
  modal
------------------------------*/
.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  box-sizing: border-box;
  z-index: 99;
  display: flex;
  justify-content: center;
  align-items: start;
}
.modal-container.active {
  opacity: 1;
  visibility: visible;
}

.modal-body {
  place-content: center;
  background-color: #fff;
  border: dashed 2px #252572;
  border-radius: 5px;
  margin: 10px;
  overflow-y: auto;
  max-width: 700px;
}

.modal-content {
  padding: 20px;
  padding-top: 40px;
  background-color: #fff;
}

.modal-close {
  text-align: center;
  cursor: pointer;
  margin-top: 40px;
}
.modal-close span {
  background-color: #252572;
  color: #fff;
  border-radius: 50%;
  border-radius: 100px;
  padding: 10px 20px;
}

/*----------------------------
  kiyaku
------------------------------*/
#kiyaku {
  font-size: 14px;
}
#kiyaku h1 {
  font-size: 1.8em;
  margin-bottom: 20px;
}
#kiyaku h2 {
  font-size: 1.4em;
  margin-top: 30px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: dashed 2px #252572;
}
#kiyaku span {
  font-weight: bold;
}
#kiyaku p {
  margin-bottom: 10px;
}
#kiyaku ol {
  list-style: none;
  padding-left: 1.2em;
}
#kiyaku ol > li {
  counter-increment: cnt;
  text-indent: -1.2em;
  margin-bottom: 20px;
}
#kiyaku ol > li::before {
  content: counter(cnt) ".";
  margin-right: 5px;
}
#kiyaku ol > li ul {
  list-style: circle;
  margin-top: 10px;
}
#kiyaku ol > li ul li {
  margin-left: 2em;
  text-indent: 0.1em;
}