@charset "UTF-8";

@import url(base.css);

html {background: #fff;}
body {
    width: 100%;
    background: url(../img/bg.png) no-repeat center top;
    background-attachment: fixed;
    background-size: cover;
}

img {
	display: inline-block;
	max-width:100%;
	max-height: 100%;
    vertical-align:top;}

html{ scroll-behavior: smooth;
    background: url(../img/bg.jpg) repeat center top;
    background-size: contain;}

p {font-size: 3.6vw;}
.pc {display: none !important;}

.img100 {
	width: 100%;
	height: auto;}
.img90 {
	width: 90%;
	height: auto;}
.img50 {
	width: 50%;
	height: auto;}
.img45 {
	width: 45%;
	height: auto;}

/*-------------------------------------------------
	++ OUTER
-------------------------------------------------*/
#container {
	margin: 0 auto;
	text-align: center;
	position:relative;
    width: 100%;
	min-width:100%;}

.cInner {
	display:block;
	clear:both;
	margin:0 auto;
	text-align: left;
	position:relative;
	padding:6vw 2vw;
    margin-inline: auto;}

/*-------------------------------------------------
	++ HEADER
-------------------------------------------------*/
#header {
    width: 100%;
    margin: 0 auto;
    background: url(../img/header.png) center top -3vw repeat-x;
    background-size: contain;}
#header .Inner {
    width: 100%;
    padding: 13vw 0 0 0;
    margin: 0 auto;}

#header .logo,
#header .logo2 {
    margin: 30px auto 0 auto;
    width: 90%;}
#header .logo img,
#header .logo2 img {
    width: 100%;}

/*-------------------------------------------------
	++ fade
-------------------------------------------------*/
/*
.slidein {
  animation: slideIn 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;}
.slidein2 {
  animation: slideIn 2s cubic-bezier(0.25, 1, 0.5, 1) forwards;}
.slidein3 {
  animation: slideIn 3s cubic-bezier(0.25, 1, 0.5, 1) forwards;}
  
@keyframes slideIn {
  0% {
    transform: translateX(180px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
  }
  40%,100% {
    opacity: 1;
  }
}
*/

/*-------------------------------------------------
	++ button
-------------------------------------------------*/
.link_wrap {
        display: flex;
        align-items: center;
        justify-content: center;
        padding-bottom: 1rem;
}
.link_wrap2 {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 54%;
    }

/* ボタン */
.button {
    border-radius: 9999px;
    border: 5px solid #ffffff;
    color: #fff;
    background: #ff9600;
    width: 90%;
    font-size: 7vw;
    font-weight: bold;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-decoration:none;}
.button::after {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 50%;
    right: 20px;
    border-radius: 1px;
    transition: 0.3s ease-in-out;}
.button::before {
    position: absolute;
    content: "";
    top: 0;
    left: -120%;
    width: 100%;
    height: 100%;
    background: #fff;}
.button::before {
    transform: skewX(-30deg);
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 100%);}
.button:hover {
    color: #fff;
    background-position: 99% 50%;
    background: #81cb00;
    transform: scale(1.05);
    box-shadow: 0 15px 15px rgba(167,167,167,0.4);}
.button:hover::before {animation: shine .4s;}
@keyframes shine {
  100% {
    left: 100%;
  }
}

.button2 {
    border-radius: 9999px;
    border: 5px solid #ffffff;
    color: #fff;
    background: #ff328e;
    width: 95%;
    font-size: 7vw;
    font-weight: bold;
    padding: 10px 0;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
	text-decoration:none;
    text-align: center;
    line-height: 1.2em;
    transition: all ease-in 0.1s;}
.button2::after {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 50%;
    right: 20px;
    border-radius: 1px;
    transition: 0.3s ease-in-out;}
.button2::before {
    position: absolute;
    content: "";
    top: 0;
    left: -120%;
    width: 100%;
    height: 100%;
    background: #fff;}
.button2::before {
    transform: skewX(-30deg);
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 100%);}
.button2.additional {
    color: #fff;
    background-position: 99% 50%;
    background: #e20000;
    transform: scale(1.05);
    box-shadow: 0 15px 15px rgba(167,167,167,0.4);    
}
/*.button2:hover {
    color: #fff;
    background-position: 99% 50%;
    background: #e20000;
    transform: scale(1.05);
    box-shadow: 0 15px 15px rgba(167,167,167,0.4);}
*/
.button2:hover::before {animation: shine .4s;}
@keyframes shine {
  100% {
    left: 100%;
  }
}*/

/*画面遷移を自然にするために追加*/
#main_visual {
    opacity: 0;
    transition: opacity 1s ease-in;
}

#main_visual.additional {
    opacity: 100%;
}
/**/

.resultImg {
    margin: 0 auto;
    text-align: center;
    animation: poyoyon2 1s ease-in-out forwards;
    animation-delay: 1s;}
 @keyframes poyoyon2 {
  0%  {
    transform: scale(1.0, 1.0) translate(0, 0);
  }
  15% {
    transform: scale(0.98, 0.9) translate(0, 5px);
  }
  30% {
    transform: scale(1.02, 1.0) translate(0, 8px);
  }
  50% {transform: scale(0.98, 1.05) translate(0, -8px);
  }
  70% {
    transform: scale(1.0, 0.9) translate(0, 5px);
  }
  100% {
    transform: scale(1.0, 1.0) translate(0, 0);
  }
  0%, 100% {
    opacity: 1;
  }
}

.back_button a {
    background: #669fff;
    border-radius: 9999px;
    position: relative;
    display: flex;
    justify-content: center; 
    align-items: center;
    margin: 0 auto;
    max-width: 250px;
    padding: 10px 25px 10px 40px; 
    font-family: "Noto Sans Japanese";
    color: #ffffff;
    line-height: 1.8;
    text-decoration: none;
    transition: 0.3s ease-in-out;
    font-weight: 500;
}

.back_button a:hover {
    background: #004fd5;
    color: #FFF;
}


.back_button a:before {
    content: '';
    width: 6px;
    height: 6px;
    border-top: 3px solid #ffffff; 
    border-right: 3px solid #ffffff;
    transform: translateY(-50%) rotate(-135deg); 
    position: absolute;
    top: 50%;
    left: 20px; 
    border-radius: 1px;
    transition: 0.3s ease-in-out;
}

.back_button a:hover:before {
    border-color: #FFF;
}

/*-------------------------------------------------
	++ others
-------------------------------------------------*/

.topcopy {
margin: 30px auto 0 auto;
    width: 90%;}
.topcopy img {
width: 100%;}


.textBox {
    background-color: rgb(255 255 255 / 0.5);
    border-radius: 15px;
    padding: 30px 30px;
    color: #000;
    font-weight: bold;
    font-size: 4.8vw;
    margin: 30px auto 0 auto;}
.textBox span {
    color: #004fd5;
    font-size: 6vw;
    display: block;
    text-align: center;
    line-height: 1.3em;
    margin-bottom: 1em;}

.QBox {
    width: 20vw;
    height: 20vw;
    margin: 0 auto;
    background: url(../img/Q_bg.png) center top no-repeat;
    background-size: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #004fd5;
    font-weight: bold;
    font-size: 7vw;}
.QTtl {
    color: #000;
    font-weight: bold;
    font-size: 7vw;
    text-align: center;
    padding: 20px 0;}

.resultType {
    color: #000;
    font-weight: bold;
    font-size: 5vw;
    text-align: center;
    padding: 0;}
.resultBox {
    border-radius: 9999px;
    border: 5px solid #004fd5;
    background: #fff;
    width: 80%;
    font-size: 7vw;
    font-weight: bold;
    color: #004fd5;
    padding: 10px 0;
    margin: 15px auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;}

h2 {
    width: 100%;
    position:relative;
    color: #004fd5;
    font-weight: bold;
    font-size: 6vw;
    line-height: 2em;
    text-align: center;
    margin: 60px auto 50px auto;}
h2::before {
    content: "";
    background: url(../img/line.jpg);
    background-repeat: repeat;
    background-position: center;
    width: 100%;
    height: 10px;
    position:absolute;
    top:-15px;
    left:0;
    right:0;}
h2::after {
    content: "";
    background: url(../img/line.jpg);
    background-repeat: repeat;
    background-position: center;
    width: 100%;
    height: 10px;
    position:absolute;
    bottom:-15px;
    left:0;
    right:0;}

.SNSBox {
    display: flex;
    justify-content: center;
    margin-bottom: 70px;}
.SNSBox li {
    width: 80px;
margin: 0 50px;}

.fuwaBox {
	display: flex;
justify-content: space-between;
        align-items: center;}
.fuwaItem {
	 width: 22%;}

.fuwafuwa {
  animation: fuwafuwa 3s ease-in-out infinite alternate;
  background: url(../img/C_entertainer.png) no-repeat center center / 80px auto;
  display: inline-block;
  transition: 1.5s ease-in-out;
  width: 80px;
  height: 80px;
}
@keyframes fuwafuwa {
  0% {
    transform:translate(0, 0) rotate(-2deg);
  }
  50% {
    transform:translate(0, -7px) rotate(0deg);
  }
  100% {
    transform:translate(0, 0) rotate(7deg);
  }
}

.fuwafuwa2 {
  animation: fuwafuwa2 3s ease-in-out infinite alternate;
  background: url(../img/C_oana.png) no-repeat center center / 80px auto;
  display: inline-block;
  transition: 1.5s ease-in-out;
  width: 80px;
  height: 80px;
}
@keyframes fuwafuwa2 {
  0% {
    transform:translate(0, 0) rotate(7deg);
  }
  50% {
    transform:translate(0, -7px) rotate(0deg);
  }
  100% {
    transform:translate(0, 0) rotate(-2deg);
  }
}

/*-------------------------------------------------
	++ SLIDER
-------------------------------------------------*/
.recommend {
    display:grid;
    grid-template-columns:repeat(2, 40vw);
    justify-content: center;
    column-gap:5vw;
    
}

.tipster {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
    text-align: justify;
    justify-self: center;
}

.tipster a {
    color: #000000;
}

.thum {
    display: inline-block;
	  position:relative;
    border: 5px #004fd5 solid;
    background-color: #fff;
    border-radius: 9999px;
    width: 40vw;
    height: 40vw;
    margin: 0 auto;
}
.thum img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: circle(50%);
}
.title {
    font-size: 4vw;
    line-height: 1.2em;
    margin-top: 5px;
    margin-bottom: 10px;
    text-align: center;
    font-weight: bold;
}


/*-------------------------------------------------
	++ FOOTER
-------------------------------------------------*/
.footerFixed{
    min-height: 80vh; /* ←コンテンツの高さの最小値＝ブラウザの高さに指定 */
    position: relative;/* ←相対位置 */
    padding-bottom: 32.5vh; /* ←フッターの高さを指定 */
    box-sizing: border-box;
    /* ↑ヘッダーやフッターを含むすべての要素の高さ＝min-height:100vhになるように指定 */
}
#footer {
    width: 100%;
    position: absolute;
    bottom: 0;
    background-color: #fff;
    color: #000;
    padding: 4vw 0;
    text-align: center;
    border-top: 10px #004fd5 solid;}
#footer .logo {
    width: 50%;
    margin: 0px auto 20px auto;
    text-align: center;}
#footer .logo img {width: 100%;}
#footer .copy {
    margin: 0px;
    font-size: 2.5vw;}

.app_section {
  display: flex;
  justify-content: center;
  column-gap: 5vw;

  .google {
    height: 11.5vw;
    justify-self: center;
  }

  .apple {
    height:11.5vw;
    justify-self: center;
  }
}

#pageTop {
    position: fixed;
    bottom: 15vw;
    right: 3vw;
    width: 18vw;
    height: 18vw;}
#pageTop img {
	display:block;}

/*additional*/
#question {
    transition: opacity 0.5s ease-out;
}

#question.additional {
    opacity: 0%;
}

/*additional*/
#question {
    transition: opacity 0.5s ease-out;
}

#question.additional {
    opacity: 0%;
}

.classification_section{
  padding-block: 0;
  display: grid;
  place-items: center;
  row-gap: 0;
}