@charset "UTF-8";

/* CSS Document */

/*==================================================

container
=================================================*/

html {
	background: #FFF;
}
body {
    position: relative;
    background-image: url("../../img/all_bg.jpg");
    background-attachment: fixed;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    left: 0;
}
#wrapper {
	width: 100%;
	height: 100%;
	position: relative;
    overflow: hidden;
	margin: 0 auto;
}

.sp-only {
    display: none;
}
.pc-only {
    display: block;
}

/*==================================================

header
=================================================*/

header {
	width: 100%;
	position: relative;
	min-width: 100%;
    background-color: #1939a6;
}
header.bg {
    background-color: rgba(25, 57, 166, 1);
}
#header-inner {
	width: 90%;
    max-width: 1000px;
	position: relative;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center; 
	margin: 0 auto;
    padding: 20px 0;
}

/* header PC */

#header-logo {
	width: 50%;
	max-width: 245px;
	position: relative;
    line-height: 100%;
}
.head-txt {
    width: 40%;
    color: #FFF;
    font-size: clamp(1.6rem, 2vw, 2rem);
	text-align: right;
}
.head-txt a {
    color: #FFF;
    text-decoration: none;
    
}

/* header img */

#header-inner img {
	width: 100%;
	max-width: 100%;
	height: auto;
}

/*==================================================

contents
=================================================*/

.small-font {
	font-size: 55%;
}
.normal-font {
	font-size: 62.5%;
}
.large-font {
	font-size: 70%;
}

#top-image {
    width: 100%;
    position: relative;
    margin: 0 auto;
    padding-bottom: 6%;
}
#top-image::before {
    content: " ";
	display: block;
    position: absolute;
    width: 350px;
    height: 270px;
    background-image: url("../../img/block_left.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    bottom: 0;
    left: 0;
	transform: translate(-70%, -10%);
    z-index: 1;
}
#top-image::after {
    content: " ";
	display: block;
    position: absolute;
    width: 350px;
    height: 270px;
    background-image: url("../../img/block_right.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    top: 0;
    right: 0;
	transform: translate(75%, -10%);
    z-index: 1;
}
#top-image img {
	width: 100%;
	max-width: 100%;
	height: auto;
}
#top-image h1 {
    width: 80%;
    max-width: 622px;
    margin: 0 auto 40px;
}
#top-image p {
    width: 80%;
    margin: 0 auto;
}
.title-inner {
    position: relative;
    margin: 0 auto;
    z-index: 3;
}
#top-image .left {
    width: 220px;
    position: absolute;
    left: 0;
    bottom: 0;
	transform: translate(-60%, 1%);
    z-index: 2;
}
#top-image .right {
    width: 220px;
    position: absolute;
    right: 0;
    bottom: 0;
	transform: translate(45%, 1%);
    z-index: 2;
}


#contents {
	width: 90%;
    max-width: 900px;
	position: relative;
    background-color: rgba(255, 255, 255, .8);
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
	margin: 80px auto 0;
    padding: 60px 40px 50px;
	z-index: 5!important;
}
#contents.root {
    padding-bottom: 0;
}
.start {
    width: 90%;
    max-width: 610px;
    margin: 6% auto 0;
}
.option {
    width: 90%;
    max-width: 420px;
    margin: 4% auto 0;
}
#contents #root-image {
    width: 100%;
    position: relative;
}
#contents #root-image::before {
    content: " ";
	display: block;
    position: absolute;
    width: 350px;
    height: 270px;
    background-image: url("../../img/block_left.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    top: 0;
    left: 0;
	transform: translate(-50%, 40%);
    z-index: 1;
}
#contents #root-image::after {
    content: " ";
	display: block;
    position: absolute;
    width: 350px;
    height: 270px;
    background-image: url("../../img/block_right.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    top: 0;
    right: 0;
	transform: translate(50%, -10%);
    z-index: 1;
}
#contents #root-image h1 {
    width: 60%;
    max-width: 324px;
    position: relative;
    margin: 0 auto;
    z-index: 2;
}
#contents #root-image .result-title {
    width: 100%;
    position: relative;
    background-color: #ec4abb;
    mix-blend-mode: multiply;
    margin: 60px auto 0;
    z-index: 2;
}
#contents #root-image .col2 {
    background-color: #d840ba;
}
#contents #root-image .col3 {
    background-color: #c538d1;
}
#contents #root-image .col4 {
    background-color: #4a74ec;
}
#contents #root-image .col5 {
    background-color: #298be6;
}
#contents #root-image .col6 {
    background-color: #18a697;
}
#contents #root-image .col7 {
    background-color: #1caf57;
}

#contents #root-image .result-title .fukidashi {
    width: 40%;
    max-width: 229px;
    position: absolute;
    top: 0;
    left: 50%;
	transform: translate(-50%, -50%);
    z-index: 1;
}
#contents #root-image .result-title h2 {
    position: relative;
    color: #FFF;
    text-align: center;
    font-size: clamp(2.4rem, 3vw, 3.6rem);
    line-height: 140%;
    padding: .5em 1em .5em;
    z-index: 2;
}
#contents #root-image .result-title h2 span {
    display: block;
    font-size: 60%;
    line-height: 140%;
}
#contents #root-image .question-area {
    width: 100%;
    max-width: 800px;
    position: relative;
    margin: 4% auto 0;
}
#contents #answer-image {
    width: 100%;
    max-width: 1000px;
    position: relative;
    background-color: rgba(255, 255, 255, .8);
    border-radius: 18px;
    margin: 6% auto 0;
    padding: 6% 6% 0;
}
#contents #root-image .character {
    width: 80%;
    max-width: 394px;
    position: relative;
    margin: 2% auto 0;
    z-index: 3;
}
#contents #root-image .character2 {
    width: 100%;
    max-width: 800px;
    position: relative;
    margin: 40px auto 0;
    z-index: 3;
}
#contents #root-image .result-area {
    width: 100%;
    max-width: 800px;
    position: relative;
    background-color: #fff;
    margin: 40px auto;
    padding: 60px 5% 0;
}
#contents #root-image .result-area h2 {
    font-weight: 500;
    text-align: center;
}
#contents #root-image .result-area h3 {
    font-weight: 500;
    text-align: center;
    margin-top: 1em;
}
#contents #root-image .result-area p {
    margin: 1em 0;
}
#contents #root-image .result-area dl {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}
#contents #root-image .result-area dl dt {
    width: 130px;
}
#contents #root-image .result-area dl dd {
    flex: 1;
    padding-left: 5%;
}
#contents #root-image .result-area dl dd h3 {
    text-align: left;
}
#contents #root-image .result-area dl dd li {
    position: relative;
    margin-top: .5em;
    padding-left: 30px;
}
#contents #root-image .result-area dl dd li strong {
    color: #fc65d9;
}
#contents #root-image .result-area dl dd li::before {
    content: " ";
	display: block;
    position: absolute;
    width: 22px;
    height: 20px;
    background-image: url("../../img/check.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: auto;
    top: 2px;
    left: 0;
    z-index: 1;
    
}

#contents #answer-image .return_b {
    width: 100%;
    max-width: 600px;
    display: block;
    margin: 6% auto 0;
}
#contents #answer-image ul {
    margin-top: 3%;
}
#contents #answer-image ul li {
    color: #064538;
    text-indent: -1em;
    padding-left: 1em;
}

#contents #root-image .question {
    width: 100%;
    max-width: 800px;
    position: absolute;
    opacity: 0;
    top: -10%;
    left: 0;
    transition: all 0.8s;
    z-index: 2;
}
#contents #root-image .question.active {
    animation: win-open .5s ease-out 0s forwards;
}
@keyframes win-open {
    
    0% {
        top: 10%;
        opacity: 0;
    }
    100% {
        top: 0;
        opacity: 1;
        z-index: 20;
    }
}
#contents #root-image .question .inner {
    position: relative;
    z-index: 2;
}
#contents #root-image .question ul {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}
#contents #root-image .question ul li {
    width: 32.5%;
    max-width: 260px;
    cursor: pointer;
    transition: all 0.3s;
    margin: 4% 2.5% 0;
}
@media (hover: hover) {
    #contents #root-image .question ul li:hover {
        opacity: .7;
    }
}
#contents #root-image .question .link_b {
    display: block;
    margin-top: 8%;
}
#contents #root-image .question .inner p {
    color: #064538;
    cursor: pointer;
    text-align: center;
    margin: 15px 0 0;
}
#contents #root-image .question .inner .answer {
    margin-top: -50px;
}
#add-info {
    text-align: center;
    background-color: #fff;
    padding: 6% 5%;
}
#add-info h1 {
    width: 100%;
    max-width: 390px;
    line-height: 100%;
    margin: 0 auto;
}
#add-info h1 span {
    display: block;
    font-size: clamp(1.6rem, 2vw, 2rem);
    line-height: 100%;
    margin: .5em auto 1em;
}
#add-info p {
    text-align: center;
}
#add-info .answer-link {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}
#add-info .answer-link a {
    display: block;
    width: 25%;
    text-align: center;
    margin: 4% 0 0;
}
#add-info .answer-link .spacer {
    display: none;
    width: 25%;
    text-align: center;
    margin: 4% 0 0;
}
#add-info .answer-link ul {
    width: 85%;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}
#add-info .answer-link ul li {
    width: 49%;
    margin-top: 4%;
}
#add-info .answer-link ul li a {
    width: 100%;
}
#add-info .answer-link a img {
    width: 100%;
	max-width: 160px;
	height: auto;
}
#add-info .answer-link ul li a img {
    width: 100%;
	max-width: 280px;
	height: auto;
}
#contents img {
	width: 100%;
	max-width: 100%;
	height: auto;
}

.anchor-item {
	width: 1px;
	height: 1px;
	position: absolute;
	top: -120px;
	left: 0;
}


/* 印刷時 */

@media print {
	header {
		position: absolute;
	}
}

/*==================================================

button
=================================================*/

/* ボタン */

.button {
	width: 100%;
	max-width: 630px;
	display: block;
	position: relative;
	cursor: pointer;
	font-size: 2.4rem;
	color: #000;
	overflow: hidden;
	text-align: center;
	text-decoration: none;
	font-weight: 500;
	background-color: #FFF;
    background-image: url("../../rn_image/arrow.png");
    background-position: right 20px center;
    background-repeat: no-repeat;
    background-size: auto;
	border: 2px solid #FFF;
    margin: 60px auto 0;
	padding: .8em 1em;
}

[class^="button"] {
	
	/* animation */
	
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}

/*==================================================

map
=================================================*/

.map {
	width: 100%;
	height: 380px;
	position: relative;
	overflow: hidden;
	margin: 0;
}
.map iframe,
.map object,
.map embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/*==================================================

table
=================================================*/

.data-tstyle {
	width: 100%;
	line-height: 180%;
	background-color: #FFF;
}
.data-tstyle.ce {
	text-align: center;
}
.data-tstyle th {
	width: 20%;
	color: #FFF;
	text-align: center;
	font-weight: normal;
	background-color: #381c40;
	border-bottom: 1px solid #EEE;
	white-space: nowrap;
	padding: 1em;
}
.data-tstyle tr:nth-of-type(odd) {
	background-color: #EEE;
}
.data-tstyle th span {
	font-size: 1rem;
	color: #F00;
}
.data-tstyle td {
	padding: 1em;
}
.data-tstyle td span {
	font-size: 1.4rem;
	color: #F00;
}


/*==================================================

footer
=================================================*/

.pagetop {
	width: 150px;
	height: 45px;
	position: fixed;
	right: -150px;
	bottom: 200px;
	z-index: 1001!important;
	
	/* animation */
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}
.pagetop-visible {
	right: 0;
}
#footer-pagetop {
	width: 100%;
	max-width: 49px;
	text-align: center;
	margin: 5% auto 0;
}

footer {
	width: 100%;
    position: relative;
    color: #FFF;
    text-align: center;
    border-radius: 40px 40px 0 0;
    background-color: #1939a6;
    margin-top: 100px;
    z-index: 6!important;
}
footer .footer-inner {
    width: 90%;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 0 100px;
}
footer .footer-inner .footer-logo {
    width: 245px;
    margin: 0 auto;
}
footer .footer-inner a {
    display: block;
    width: 100%;
    max-width: 280px;
    text-decoration: none;
    color: #FFF;
    text-align: center;
    font-size: clamp(1.4rem, 1.6vw, 1.6rem);
    border: 2px solid #FFF;
    background-image: url("../../img/blank.png");
    background-position: right 20px center;
    background-repeat: no-repeat;
    background-size: auto;
    border-radius: 60px;
    margin: 5% auto;
    padding: .8em 1em;
}
@media (hover: hover) {
    footer .footer-inner a:hover {
        opacity: 1;
        color: #1939a6;
        background-color: #FFF;
    }
}
#copyright {
    width: 100%;
	font-size: 1.2rem;
	color: #FFF;
    text-align: center;
	line-height: 180%;
    margin: 0 auto;
}

/* footer img */

footer img,#footer-pagetop img {
	width: 100%;
	max-width: 100%;
	height: auto;	
}


/*==================================================

size m
=================================================*/

@media only screen and (min-width:1px) and (max-width: 768px) {
	
    body {
        
    }
	#wrapper {
		width: 100%;
		min-width: 100%;
	}
	
	/*==================================================
	
	header
	=================================================*/
	
	#header-inner {
        width: 90%;
        padding: 10px 0;
    }
    #header-logo {
        width: 50%;
        max-width: 180px;
        position: relative;
        line-height: 100%;
    }
    
	.sp-only {
		display: block;
	}
	.pc-only {
		display: none;
	}
	
	/*==================================================
	
	contents
	==================================================*/
	
    
    #top-image::before {
        width: 200px;
        height: 270px;
        transform: translate(-50%, -10%);
        z-index: 1;
    }
    #top-image::after {
        width: 200px;
        height: 270px;
        transform: translate(40%, -20%);
        z-index: 1;
    }
    #top-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    #top-image h1 {
        width: 80%;
        max-width: 622px;
        margin: 0 auto 6%;
    }
    #top-image p {
        width: 70%;
        margin: 0 auto;
    }
    #top-image p br {
        display: none;
    }
    #top-image .left {
        width: 180px;
        position: absolute;
        left: 0;
        bottom: 0;
        transform: translate(-60%, 1%);
        z-index: 2;
    }
    #top-image .right {
        width: 180px;
        position: absolute;
        right: 0;
        bottom: 0;
        transform: translate(45%, 1%);
        z-index: 2;
    }
    #contents #root-image {
        
    }
    #contents #root-image::before {
        width: 200px;
        height: 270px;
        transform: translate(-65%, 10%);
        z-index: 1;
    }
    #contents #root-image::after {
        width: 200px;
        height: 270px;
        transform: translate(50%, -40%);
        z-index: 1;
    }
    #contents #root-image .character {
        margin: 4% auto 0;
        z-index: 1;
    }
    #contents #root-image .character2 {
        margin: 4% auto 0;
        z-index: 3;
    }
    #top-image .recommended {
        border-radius: 8px;
    }
    #contents {
        width: 95%;
        border-radius: 20px;
        margin: 8% auto 0;
        padding: 8% 4.5% 8%;
        z-index: 5!important;
    }
    
    .start {
        width: 100%;
        margin: 6% auto 0;
    }
    #contents #root-image .result-title {
        margin: 12% auto 0;
        z-index: 2;
    }
    #contents #root-image .result-area {
        width: 100%;
        margin: 5% auto;
        padding: 6% 5% 0;
    }
    #contents #root-image .result-area dl {
        flex-direction: column;
        align-items: center;
    }
    #contents #root-image .result-area dl dt {
        width: 100px;
        margin-bottom: 3%;
    }
    #contents #root-image .result-area dl dd {
        width: 100%;
        padding-left: 0;
    }
    #add-info {
        text-align: center;
        background-color: #fff;
        padding: 10% 5%;
    }
    #add-info .answer-link::after {
        content: " ";
        display: block;
        width: 50%;
    }
    #add-info .answer-link a {
        display: block;
        width: 50%;
        text-align: center;
        margin: 4% 0 0;
    }
    #add-info .answer-link .spacer {
        display: block;
        width: 50%;
        text-align: center;
        margin: 4% 0 0;
    }
    #add-info .answer-link ul {
        width: 85%;
        flex-direction: column;
        margin: 0 auto;
    }
    #add-info .answer-link ul li {
        width: 100%;
        margin-top: 3%;
    }
	.anchor-item {
		top: -80px;
	}
    
	.button {
        font-size: 1.8rem;
        margin: 6% auto 0;
        padding: .8em 1em;
    }
	
	/*==================================================
	
	map
	==================================================*/
	
	.map {
		width: 100%;
		height: 350px;
		margin: 5% 0 0;
	}
	
	/*==================================================
	
	table
	==================================================*/
	
	.data-tstyle {
		border: none;
	}
	.data-tstyle th {
		width: 100%;
		display: block;
        color: #381c40;
		background-color: #EEE;
		border: none;
		padding: 12px;
	}
	.data-tstyle td {
		width: 100%;
		display: block;
		border: none;
		padding: 12px;
	}
	.data-tstyle tr:nth-of-type(odd) {
		background-color: transparent;
	}
	
	
	
	/*==================================================
	
	footer
	=================================================*/
	
    .pagetop {
        bottom: 100px;
    }
	.pagetop-visible {
		right: -100px;
	}
    
	footer {
        width: 100%;
        border-radius: 20px 20px 0 0;
        margin-top: 10%;
        z-index: 6!important;
    }
    footer .footer-inner {
        width: 90%;
        padding: 8% 0 80px;
    }
    footer .footer-inner .footer-logo {
        width: 180px;
        margin: 0 auto;
    }

}

/*==================================================

size s
==================================================*/

@media only screen and (min-width:1px) and (max-width: 568px) {
	
	
	/*==================================================
	
	header
	==================================================*/

		
	/*==================================================
	
	Navi
	==================================================*/
	
	
	/*==================================================
	
	contents
	==================================================*/
	
	
	/*==================================================
	
	footer
	==================================================*/
	

}

@media only screen and (min-width:1px) and (max-width: 480px) {
	
	
	/*==================================================
	
	header
	==================================================*/

	
	/*==================================================
	
	Navi
	==================================================*/
	
	
	/*==================================================
	
	contents
	==================================================*/
	
	
	/*==================================================
	
	table
	==================================================*/
	
	
	/*==================================================
	
	footer
	==================================================*/
	
	
}