@charset "UTF-8";
/* CSS Document */
html{
	font-size: 62.5%;
}
body{
	font-size: 1.6rem;
	font-family: 'Noto Sans JP',sans-serif;
	background-color: #fff;
	transition: 0.5s;
}
header,main{
	font-family: "Sawarabi Mincho";
}
h2{
	margin: 10px auto;
	text-align: center;
	font-size: 2.8rem;
    letter-spacing: 10px;
}
h3{
	margin-bottom: 20px;
	text-align: center;
	font-size: 2.0rem;
}
h4{
	font-size: 1.8rem;
}
.wrap{
	max-width: 1920px;
	width: 100%;
	margin: 0 auto;
	height: auto;
	color: #fff;
}
.outer{
	max-width: 1760px;
	width: 100%;
	height: auto;
}
.inner{
	max-width: 1280px;
	margin: 100px auto;
	padding: 0 28px;
}
section{
	
}
ul{
	list-style-type: none;
}

/*top*/
#page-top {
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 60px;
	height: 60px;
	margin: 0!important;
	padding: 0!important;
    z-index: 999;
	}
#page-top a {
	width: 50px;
	height: 50px;
	background-color: rgba(0,0,0,0.9);
	text-decoration: none;
	color: #fff;
	font-size: 1.2rem;
	padding: 10px;
	text-align: center;
	line-height: 2.4;
	display: block;
	border-radius: 10%;
	transition: 1s;
	border: 2px solid #555;
	}
#page-top a:hover {
	text-decoration: none;
	color: #111;
	background-color: rgba(255,255,255,0.8);
	transition: 1s;
}
a{
	text-decoration: none;
	color: #fff;
}

/* ヘッダー */
.header{
    margin: 0 auto;
    position: sticky;
	top: 0;
    z-index: 9999;
}
h1{
	max-width: 100%;
	width: 100%;
	height: auto;
    padding-bottom: 10px;
	overflow: hidden;
}
h1 img{
	width: 100%;
	height: auto;
}
small{
	font-size: 1rem;
}
.hnav{
    max-width: 1920px;
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
    background-color: #000;
	z-index: 9999;
    opacity: 0.95;
}
.hcontainer{
	width: 	180px;
	margin-left: 10%;
    margin-right: 30px;

}
.hcontainer .nav_small{
	margin-bottom: 5px;
}
.hnav_menu{
    max-width: 600px;
	width:50vw;
	height: auto;
	margin-right: 10%;
}
.hnav_menu ul{
	width: 95%;
	margin-top: 45px;
	margin-right: 20px;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	-o-flex-wrap: wrap;
	flex-wrap: wrap;
	justify-content: space-between;
}
.hnav_menu li{
	list-style-type: none;
}

.hnav_menu li a{
	list-style-type: none;
    transition: 0.3S;
}
.hnav_menu li a:hover{
	list-style-type: none;
    color: #000;
    background-color: #bbb;
    transition: 0.3S;
}
/*フッター*/
.footer{
	max-width: 1920px;
	width: 100%;
	margin: 100px auto 0;
    padding: 10px;
	text-align: center;
	height: auto;
    background: #000;
}
.footer_bglogo{
    max-width: 400px;
    width: 100%;
    height: auto;
    padding-top: 100px;
}
.fnav_menu{
    max-width: 768px;
    margin: -30px auto 0;
    padding-bottom: 80px;
}
.fnav_menu ul{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-between;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
}
.fnav_menu ul a{
    transition: 0.3S;
}
.fnav_menu ul a:hover{
	list-style-type: none;
    color: #000;
    background-color: #bbb;
    transition: 0.3S;
}
.copyright{
	font-size: 1.2rem;
}

@media screen and (max-width: 1024px){
h2{
	margin: 10px auto;
	text-align: center;
	font-size: 2.4rem;
    letter-spacing: 10px;
}
h3{
	margin-bottom: 20px;
	text-align: center;
	font-size: 2.0rem;
}
h4{
	font-size: 1.8rem;
}    
.scroll {
    bottom: 7em;
}
}

@media screen and (max-width: 768px){

.hnav{
	display: none;
}
body{
	font-size: 1.4rem;
}
h2{
	font-size: 2.2rem;
}
h3{
	font-size: 1.8rem;
}
h4{
	font-size: 1.6rem;
}
.hcontainer{
	margin: 0 auto;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-webkit-flex-direction: column;
	-moz-flex-direction: column;
	-ms-flex-direction: column;
	-o-flex-direction: column;
	flex-direction: column;
	justify-content: space-between;
	-ms-align-items: center;
	align-items: center;
}
.hcontainer .nav_small{
	margin-bottom: 0px;
}
.fnav_menu ul{
    margin-top: -150px;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    line-height: 4;
}
}/*max-width: 768px;}*/

@media screen and (max-width: 520px){
body{
	font-size: 1.4rem;
}

#page-top {
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 45px;
	height: 62px;
}

#page-top a {
	width: 38px;
	height: 38px;
	padding: 5px;
	text-align: center;
	line-height: 2.4;
	border: 1px solid #555;
}

.inner{
	padding: 0 16px;
}
/*section{
	margin: 0 16px 50px 16px;
}*/
}/*max-width: 520px;}*/

@media screen and (max-width: 375px){
	
}/*max-width: 375px;}*/

@media screen and (max-width: 320px){
	
}/*max-width: 320px;}*/


/*cookieについて*/
.cookie-consent {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: -200px;
    left: calc(50% - 650px/2);
    max-width: 768px;
    width: 100%;
    font-size: 12px;
    background: #fff;
    padding: 1.2em;
    box-sizing: border-box;
    border: 1px solid #ddd;
    visibility: visible;
    transition: .5s;
    z-index: 9999;
    color: #000;
} 
.cookie-consent a{
    color: #000;
}
.cookie-text {
    width: 90%;
}
.cookie-agree {
    color: #fff;
    background: dodgerblue;
    padding: .5em 1.5em;
}
.cookie-agree:hover {
    cursor: pointer;
}
/* 下から来る */
.cc-popup2 {
    bottom: 30px;
}
/* パッと消える */
.cc-hide1 {
    display: none;
}
/* ゆっくり消える */
.cc-hide2 {
    animation: hide 1s linear 0s;
    animation-fill-mode: forwards;
}
@keyframes hide {
from {
    opacity: 1;
}
to {
    opacity: 0;
    visibility: hidden;
}
}
@media screen and (max-width: 520px) {
.cookie-consent {
    flex-direction: column;
    width: 300px;
    left: calc(50% - 300px/2);
}
.cookie-text {
    width: 100%;
    margin-bottom: 1em;
}
}