@charset "UTF-8";

/* CSS Document */

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

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

html {
	background: #e6f1f1;
}
body {
    position: relative;
    background-image: url("../../img/all_bg.jpg");
    background-position: center top;
    background-repeat: repeat-y;
    background-size: auto;
    left: 0;
}
body.root-bg {
    background-image: url("../../img/root_bg.png");
}
#wrapper {
	width: 100%;
	height: 100%;
	position: relative;
	margin: 0 auto;
}


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

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

header {
	width: 100%;
	position: relative;
	min-width: 100%;
    background-color: #064538;
	background-image: url("../../img/header_bg.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
header.bg {
    background-color: rgba(255, 255, 255, 1);
}
#header-inner {
	width: 90%;
	position: relative;
	margin: 0 auto;
    padding: 10px 0;
}

/* header PC */

#header-logo {
	width: 90%;
	max-width: 286px;
	position: relative;
    line-height: 100%;
    margin: 0 auto;
}

/* 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: 90%;
    max-width: 1000px;
    position: relative;
    margin: 100px auto 0;
}
#top-image img {
	width: 100%;
	max-width: 100%;
	height: auto;
}
#top-image .photo {
    position: relative;
}
#top-image h1 {
    width: 80%;
    max-width: 560px;
    margin: 0 auto 6%;
}
#top-image h2 {
    width: 100%;
    text-align: center;
    margin: 0 auto 3%;
}
#top-image .recommended {
    text-align: center;
    color: #064538;
    font-size: clamp(2.4rem, 5vw, 5rem);
    background-color: #ffd54e;
    border-radius: 18px;
    padding: .2em .5em;
}
#top-image .recommended span {
    display: inline-block;
    margin: 0 .5em;
}
#top-image h3 {
    font-size: clamp(2.4rem, 4vw, 4rem);
    text-align: center;
}
#top-image p {
    text-align: center;
}
#contents {
	width: 90%;
    max-width: 1000px;
	position: relative;
	margin: 0 auto;
	z-index: 5!important;
}
.start {
    width: 90%;
    max-width: 600px;
    margin: 6% auto 0;
}
#contents #root-image {
    width: 100%;
    max-width: 700px;
    position: relative;
    background-color: rgba(255, 255, 255, .8);
    border-radius: 18px;
    margin: 180px auto 0;
    padding: 14% 6% 6% 6%;
}
#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: 56%;
    max-width: 326px;
    position: absolute;
    top: 0;
    left: 50%;
    -webkit-transform: translate(-50%, -50%); 
    transform: translate(-50%, -50%);
    z-index: 1;
}
#contents #root-image .character2 {
    width: 32%;
    max-width: 220px;
    position: absolute;
    top: 0;
    left: 50%;
    -webkit-transform: translate(-50%, -60%); 
    transform: translate(-50%, -60%);
    z-index: 1;
}
#contents #answer-image .character3 {
    width: 80%;
    max-width: 430px;
    position: relative;
    margin: 6% auto 0;
}
#contents #answer-image .point {
    width: 70%;
    max-width: 243px;
    position: relative;
    margin: 0 auto 3%;
}
#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: 580px;
    opacity: 0;
    margin: 0 auto;
    z-index: 2;
}
#contents #root-image .question .inner {
    position: relative;
    z-index: 2;
}
#contents #root-image .question ul {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;

    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
#contents #root-image .question ul li {
    width: 45%;
    max-width: 260px;
    cursor: pointer;
    margin-top: 8%;
}
#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: rgba(255, 255, 255, .8);
    border-radius: 18px;
    margin-top: 8%;
    padding: 8% 6%;
}
#add-info h1 {
    width: 100%;
    max-width: 550px;
    margin: 0 auto 3%;
}
#add-info h1 span {
    display: block;
    font-size: 60%;
    color: #064538;
    line-height: 100%;
    margin: 0 auto;
}
#add-info p {
    text-align: center;
}
#add-info .answer-link {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;

    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
#add-info .answer-link a {
    width: 31%;
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    color: #FFF;
    text-decoration: none;
    line-height: 120%;
    background-color: #36b2a1;
    margin-top: 3%;
    padding: 1.2em 1em;
}
#add-info .answer-link a span {
    width: 100%;
    display: block;
    font-size: 70%;
    line-height: 120%;
    margin-bottom: 10px;
}
#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: #ffd54e;
    background-color: #064538;
    margin-top: 100px;
    z-index: 6!important;
}
footer::before {
    width: 100%;
    height: 5px;
    content: " ";
	display: block;
    background: linear-gradient(90deg, #38b6a5, #9ec922);
}
footer .footer-inner {
    width: 90%;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 0;
}
footer .footer-inner .yn_button {
    cursor: pointer;
    text-align: center;
    color: #FFF;
    margin-bottom: 3%;
}
footer .footer-inner h1,footer .footer-inner h2 {
    font-size: clamp(1.8rem, 2.4vw, 2.4rem);
    text-align: center;
}
footer .footer-inner h2 {
    display: inline-block;
    color: #FFF;
    border-bottom: 2px solid #FFF;
    margin: 5% 0 5%;
}
footer .footer-inner h2 a {
    color: #FFF;
    text-decoration: none;
}
footer .footer-inner ul {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;

    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
footer .footer-inner ul li {
    width: 31%;
    border: 3px solid #ffd54e;
    border-radius: 30px;
    margin-top: 5%;
}
footer .footer-inner ul li a {
    width: 100%;
    display: block;
    font-size: clamp(1.4rem, 1.6vw, 1.6rem);
    color: #ffd54e;
    text-decoration: none;
    padding: .4em .5em;
}
footer .footer-inner .footer-logo {
    width: 270px;
    margin: 0 auto;
}

#copyright {
    width: 100%;
	font-size: 1.4rem;
	color: #999;
	line-height: 180%;
    background-color: #FFF;
    margin: 0 auto;
    padding: 20px 0;
}
#copyright .inner {
    width: 90%;
    max-width: 1000px;
    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 {
        background-size: 100% auto;
        left: 0;
    }
	#wrapper {
		width: 100%;
		min-width: 100%;
	}
	
	/*==================================================
	
	header
	=================================================*/
	
	#header-inner {
        width: 100%;
    }
    #header-logo {
        width: 90%;
        max-width: 180px;
        position: relative;
        line-height: 100%;
        margin: 0 auto;
    }
    /* header PC */

	#header-inner ul {
        width: 50%;
        margin: 0 0 0 auto;
    }
    #header-inner ul li {
        width: 50%;
    }
    #header-inner ul li a {
        width: 100%;
        display: block;
        font-size: clamp(1.2rem, 1.6vw, 1.6rem);
        background-image: none;
        padding: 15px 1em;
    }
    #header-inner ul li:nth-of-type(2) a {
        background-image: none;
    }
	.sp-only {
		display: block;
	}
	.pc-only {
		display: none;
	}
	
	/*==================================================
	
	contents
	==================================================*/
	
    #top-image {
        margin-top: 10%;
    }
    #top-image p {
        text-align: left;
    }
    #top-image p br {
        display: none;
    }
    #contents #root-image {
        border-radius: 18px;
        margin: 26% auto 0;
        padding: 14% 6% 6% 6%;
    }
    #top-image .recommended {
        border-radius: 8px;
    }
    #contents #root-image .question ul li {
        margin-top: 6%;
    }
    #contents #root-image .question .inner .answer {
        margin-top: -7%;
    }
    #contents #root-image .question .inner p {
        margin-top: 10px;
    }
    #contents #root-image .question .link_b {
        display: block;
        margin-top: 4%;
    }
    #add-info .answer-link a {
        width: 48%;
        color: #FFF;
        background-color: #36b2a1;
        margin-top: 3%;
        padding: 1em .5em;
    }
    #add-info .answer-link a span {
        display: block;
        font-size: 70%;
        line-height: 120%;
    }
    #contents img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
	.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 {

        margin-top: 10%;
        z-index: 6!important;
    }
    footer::before {
        width: 100%;
        height: 5px;
        content: " ";
        display: block;
        background: linear-gradient(90deg, #38b6a5, #9ec922);
    }
    footer .footer-inner {
        width: 90%;
        text-align: center;
        max-width: 800px;
        margin: 0 auto;
        padding: 6% 0;
    }
    footer .footer-inner h1,footer .footer-inner h2 {
        font-size: clamp(1.8rem, 2.4vw, 2.4rem);
        text-align: center;
    }
    footer .footer-inner h2 {
        display: inline-block;
        color: #FFF;
        border-bottom: 2px solid #FFF;
        margin: 5% 0 5%;
    }
    footer .footer-inner h2 a {
        color: #FFF;
        text-decoration: none;
    }
    footer .footer-inner ul {
        width: 100%;
        display: block;
    }
    footer .footer-inner ul li {
        width: 100%;
        border: 3px solid #ffd54e;
        border-radius: 30px;
        margin-top: 5%;
    }
    footer .footer-inner ul li a {
        width: 100%;
        display: block;
        font-size: clamp(1.4rem, 1.6vw, 1.6rem);
        color: #ffd54e;
        text-decoration: none;
        padding: .8em .5em;
    }
    footer .footer-inner .footer-logo {
        width: 270px;
        margin: 0 auto;
    }
	#copyright {
		font-size: 1.4rem;
		text-align: center;
        padding: 6% 0;
	}
	
}

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

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