@charset "UTF-8";

@import url(base.css);

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

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

.sp {display: none !important;}
p {
    font-size: 100%;
    line-height: 1.4em;
    padding: 0;}

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

.cInner {
	display:block;
	clear:both;
	width:900px;
  padding: 40px 0;
	margin:0 auto;
	text-align: left;
  margin-inline: auto;}


/*-------------------------------------------------
	++ HEADER
-------------------------------------------------*/
#header {
    width: 100%;
    margin: 0 auto;
    background: url(../img/header.png) center top -25px repeat-x;}
#header .Inner {
    width: 1000px;
    padding: 6% 0 0 0;
    margin: 0 auto;}
#header .logo {
    margin: 30px auto 0 auto;
    width: 857px;}
#header .logo2 {
    margin: 0 auto;
    width: 550px;}
#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,
.link_wrap2 {
        display: flex;
        align-items: center;
        justify-content: center;

    }

.button {
    border-radius: 9999px;
    border: 5px solid #ffffff;
    color: #fff;
    background: #ff9600;
    width: 400px;
    font-size: 30px;
    font-weight: bold;
    padding: 15px 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: 570px;
    font-size: 30px;
    font-weight: bold;
    padding: 15px 0;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-decoration:none;
    cursor: pointer;}
.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: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 50px 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: 682px;}
.topcopy img {
width: 100%;}


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

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

.resultType {
    color: #000;
    font-weight: bold;
    font-size: 30px;
    text-align: center;
    padding: 0;}
.resultBox {
    border-radius: 9999px;
    border: 5px solid #004fd5;
    background: #fff;
    width: 450px;
    font-size: 40px;
    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: 30px;
    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;
    list-style: none;}


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

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


/*-------------------------------------------------
	++ 
-------------------------------------------------*/
.recommend {
    display:grid;
    grid-template-columns:repeat(3, 12rem);
    place-content: center;
    column-gap:5rem;
    padding-inline: 0;
}

.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: 8px #004fd5 solid;
    background-color: #fff;
    border-radius: 9999px;
    width: 250px;
    height: 250px;
    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: 20px;
    line-height: 1.2em;
    margin-top: 5px;
    margin-bottom: 10px;
    text-align: center;
    font-weight: bold;
}
    
/*-------------------------------------------------
	++ FOOTER
-------------------------------------------------*/
.footerFixed{
    min-height: 100vh; /* ←コンテンツの高さの最小値＝ブラウザの高さに指定 */
    position: relative;/* ←相対位置 */
    padding-bottom: 300px; /* ←フッターの高さを指定 */
    box-sizing: border-box;
    /* ↑ヘッダーやフッターを含むすべての要素の高さ＝min-height:100vhになるように指定 */
}
#footer {
    width: 100%;
    position: absolute;/* ←絶対位置 */
    bottom: 0;
    background-color: #fff;
    color: #000;
    padding: 30px 0;
    text-align: center;
    border-top: 15px #004fd5 solid;}
#footer .logo {
    width: 300px;
    margin: 0px auto 20px auto;
    text-align: center;}
#footer .logo img {width: 100%;}
#footer .copy {
    margin: 0px;}

.app_section {
  display: flex;
  justify-content: center;
  column-gap: 25px;

  .google {
    height: 75px;
    justify-self: center;
  }

  .apple {
    height:75px;
    justify-self: center;
  }
}

#pageTop {
	position: fixed;
	bottom:48px;
	right:48px;
	width:100px;
	height:100px;}
#pageTop img {
	display:block;}

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

#question.additional {
    opacity: 0%;
}

.classification_section{
  padding-block: 35px;
  display: grid;
  place-items: center;
}