@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:
    linear-gradient(to bottom, #79a5a5 0%, #79a5a5 80%, #c99359 100%),
    url(../../images/bg_point@3x.png) no-repeat center;
  background-size: cover;
}
@media (min-width: 780px) {
  body {
    background:
    linear-gradient(to bottom, #79a5a5 0%, #79a5a5 90%, #c99359 100%),
    url(../../../images/bg_point@3x.png) no-repeat center;
  background-size: cover;
  }
}
img {
  max-width: 100%;
}

a {
  color: #000;
}

h1 {
  text-align: center;
}

/* ヘッダー */
header {
  background-size: cover;
  width: 100%;
  height: 100%;
}
header.hide {
  opacity: 0;
}
header .mainvisual {
  margin: 0 auto;
  overflow: hidden;
  width: 100%;
  max-width: 900px;
}
.img-pc{
  display: block;
}
.img-sp{
  display: none;
}
.img-wrapper{
  width: 100%;
  max-width: 900px;
  position: relative;
  }
@media (max-width: 767px) {
  .img-sp{
    display: block;
  }
  .img-pc{
    display: none;
  }
}

.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;
}

.mainvisual_logo {
  width: 15%;
  position: absolute;
  right: 8%;
  top: 3%;

  @media (max-width: 767px){
    width: 23%;
    position: absolute;
    left: auto;
    right: 2%;
    top: 2%;
  }
}
.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 header .mainvisual {
  margin: 0 auto;
  overflow: hidden;
  width: 100%;
  max-width: 900px;
  position: relative;
  padding-bottom: 8%;
}
#form .img-wrapper {
  width: 100%;
  max-width: 900px;
  position: relative;
}
#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%;
}
}
/* メイン */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px 5%;
}

.flow1 .container {
  padding: 13% 20px 5%;
}
.audition1 .flow {
  margin-top: -7%;
}
@media (max-width: 770px){
  .audition1 .flow {
    margin-top: -5%;
  }
}
/* シェア */
.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 {
  background-color:#9dc7c9;
  padding: 10px;
  font-size: 10px;
  text-align: center;
  position: sticky;
  top: 100vh;
}

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

/* ボタン */
.btn {
  margin: 20px auto;
  text-align: center;
  max-width: 400px;
}
.btn img {
  width: 400px;
}
.form-grp .btn {
  max-width: 300px;
}
#form .btn img{
  width: 100%;
 }

.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 #515151;
  text-decoration: none;
  color: #515151;
}
.btn-text > a:hover,
.btn-text > span:hover {
  cursor: pointer;
}

/* TOPページへもどる */
.link_return {
  text-align: center;
  margin: 20px auto;
}
.link_return a {
  color: #274a78;
  font-weight: bold;
  font-size: 18px;
}
/* 仮置き */

/*----------------------------
  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;
}

/*----------------------------
  message
------------------------------*/
.message {
  text-align: center;
  background-color: #b8d8ca;
  border: solid #79b29a 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: #ce5242;
}
.final__item:nth-of-type(4) .final__item-number {
  background-color: #3e62ad;
}
.final__item:nth-of-type(5) .final__item-number {
  background-color: #fcc800;
}
.final__item:nth-of-type(6) .final__item-number {
  background-color: #69b076;
}
.final__item:nth-of-type(7) .final__item-number {
  background-color: #f39800;
}
.final__item:nth-of-type(8) .final__item-number {
  background-color: #e597b2;
}

.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 {
  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(#9dd0d6, #d4afd8);
}
.final__item-label.--intai {
  background: linear-gradient(#7cb59c, #e8e092);
}

/*----------------------------
  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 #ffd737;
  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: #ffd737;
  color: #000;
  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 #ffd737;
}
#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;
}
/*----------------------------
  結果発表
------------------------------*/
.flow_result_bg {
  background: url(../../images/bg_flow1@3x.png);
  background-size: contain;
  margin-top: -20%;
  padding-bottom: 5%;
}
.flow_result .container {
  max-width: 100%;
  padding: 0px;
}
.flow_result .flow1 {
  margin-top: 0px;
  background-image: none;
}
.flow_result h2.flow__main-title {
  padding-bottom: 2%;
}
.flow_result  .contents {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}
.flow_result .flow1 .container_result {
  background-image: none;
  background-color: #e8e092;
  border: #000 1.8px solid;
  border-radius: 10px;
  margin-top: -5%;
}
.flow_result .flow__oshirase img {
  margin: 0 auto;
}
.flow_result .flow2 .container_result {
  background-image: none;
  background-color: #c8bed3;
  border: #000 1.8px solid;
  border-radius: 10px;
  margin-top: -5%;
}
.flow_result .flow2 {
  padding:5% 0;
}
.flow_result .flow__main-title img {
  width: 100%;
  max-width: 600px;
}
@media (max-width: 500px) {
  .flow_result .flow__main-title img {
    width: 100%;
    max-width: 350px;
  }
}
.flow_result .flow__title {
  max-width: 600px;
  margin: 0 auto;
  z-index: 10;
  margin-top: -2%;
}

.flow_result h4.flow__title-result {
  text-align: center;
  margin: 10% auto 10%;
}
.flow_result h4.flow__title-result img {
  height: auto;
  width: 100%;
  max-width: 600px;
}
.result_umaname {
  margin: 0 auto;
  width: 100%;
  margin-top: -18%;
  margin-bottom: 5%;
  text-align: center;
}
.result_umaname img {
  width: 100%;
  height: auto;
  max-width: 400px;
}
