
/*************************html**************************/

html {
	height: 100%;	
}

/*************************Body**************************/

#body_default {
	background-color: white;
	margin: 0;
	padding: 0;
	height:100%;
}



/*************************Wrapper**************************/

#wrapper {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
}

/*************************content**************************/


#content {
	
    width: 100%;
    height:100%;
	flex: 2;
	overflow-y: scroll;
    margin: 0px auto 0 auto;
	padding: 10px;
	-webkit-overflow-scrolling: touch;
	display:flex;
	justify-content: center;
    font-size:15px;
	text-align: center;
	color : black;
}

/*************************************Header******************************/
    
    #header {
        display: block;
        height: 100px;
        justify-content:center;
        flex-direction:column;
    }
    
    #header_logo {
        margin:5px auto auto 5px; 
    	width:50%;
        height: 100px;
        float:left;
    }
    
    #header_logo_img {
        height:60px;
        width:auto;
        padding:5px;
    }

    #header_other {
        float: right;
    	width:20%;
        height: 100px;
    }
    
    div.g_nav{
        display: none;
    }
    
    #footer_link a{
	margin-right: 0px;
    }
    
    #footer_copyright {
        padding :2px;
        text-align: center;
    }
    
    #footer_link {
        font-size: 15px;
    }


/*************************header**************************/
#header{
	background: #171c61;
	font-family: 'Noto Serif JP', serif;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	height: 50px;
}
.header_wrap{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	width: 1110px;
	@media screen and ( max-width:1199px ){
		    width: 930px;
	}
	@media screen and ( max-width:991px ){
		    width: 720px;
	}
	@media screen and ( max-width:767px ){
		    width: 540px;
	}
	@media screen and ( max-width:590px ){
		    width: 100%;
	}
	

}
.header_left{
	display: flex;
	flex-direction: row;
	width: auto;
	font-weight: 100;
}
.header_left_site_title{
	font-size: 20px;
	font-weight: 100;
}
.header_right{
	display: flex;
	flex-direction: row;
	width: auto;
	
	
}
.navbar-brand {
    font-size: 1.4rem;
    letter-spacing: 0.6em;
	text-decoration: none;
}
.logoText{
	color: white;
	padding: .3rem 0;
	font-size: 1.4rem;
	letter-spacing: 0.6em;
	white-space: nowrap;
	text-decoration: none;
	
}
.header_right_element {
    color: #FFFFFF;
	width: auto;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    font-weight: normal;
    line-height: 20px;
    text-align: center;
    vertical-align: middle;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
	@media screen and ( max-width:767px ){
		display: none;
	}
}
.header_right_element_sns_logo{
	
	width: auto;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 8px;
    padding-right: 8px;
    line-height: 20px;
    text-align: center;
    vertical-align: middle;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
	
}
.header_right_element_sns_logo > a > img {
    width: 20px;
}
.header_right_element > a:link {
    text-decoration: none;
    color: inherit;
}



.content_wrap{
	 height: 100%;
	width :100%;
	max-width: 800px;
	padding-bottom: 20px;
	@media screen and ( max-width:767px ){
		    width: 100%;
	}
}

/*************************content**************************/

div.r_nav{
    display: none;
}

/*************************footer**************************/
#footer {
	background: #171c61;
	height: 30px;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: start;
	font-size: 10px;
	color: white;
}

#footer a:link{
	color: white;
	text-decoration:none;
}

#footer a:visited{
	color: white;
	text-decoration:none;
}

#footer a:hover{
	color:#FFFFFF;
	text-decoration:none;
}

#footer_link {
	padding :10px;
	width:200px;
	white-space:nowrap;
}

#footer_link a{
	margin-right: 20px;
}

#footer_copyright {
	padding :10px;
}

/*************************Navi**************************/

div.g_nav{
	height:70px;
    width:100%;
}

div.g_nav ul {
	overflow: hidden;
	margin: 0 auto;
	padding: 0 3%;
	width:94%;
	max-width:1920px;
	list-style: none;
	display:flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content:space-around;
}

div.g_nav ul li {
    position: relative;
    flex: 0 0.2 auto;
	white-space: nowrap;
	padding : 0 5px;
}

div.g_nav ul li a {
    display: block;
    padding: 10px 5%;
    width: 90%;
    color:#878787;
    text-align: center;
    text-decoration: none;  
}

div.g_nav ul li a small {
    display: block;
	color:#ff7f00;
	text-transform: uppercase;
	font-size: 70%;
	letter-spacing: 1px;
}

div.g_nav a :visited{
    color: #464646;
}

div.g_nav span {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.g_nav span::after{
    position: absolute;
    bottom: -7px;
    left: 0;
    content: '';
    width: 100%;
    height: 1px;
    background: #ffffff;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform .3s;
}

div.g_nav span:hover::after {
  transform: scale(1, 1);
}

div.g_nav ul li.active a {
    background: #333333;
    color: #ffffff;
}

/*****************************Responsive_design********************/

@media screen and ( max-width:777px ){
    
 
    
/******************************hamburger_button-nav*************************/   
    
    div.r_nav{
        display: none;
    }
    
    div.clicked.r_nav{
        background:#000000;
        display: block;
        width: 100%;
        height: 100%;
        text-align: center;
        margin: 15% 0;
    }
    
    div.clicked.r_nav p{
        font-size:18px;  
        width: 70%;
        margin: 4% auto;
        border-bottom: solid 1px #ff7f00;
    }
    
    div.clicked.content_wrap{
        display: none;
    }
    
    div.clicked.r_nav p a:link{
        color: #ffffff;
        text-decoration:none
    }
    
    div.clicked.r_nav p a:visited{
        color: #878787;
        text-decoration:none;
    }
    
    div.clicked.r_nav p a:active{
        color:#ff7f00;
    }
    
/***********************************hamburger_button**********************/
    .ham {
        position: relative;
	    width: 100%;
	    height: 100%;
	    cursor: pointer;
    }
    
    .ham_line {
        position: absolute;
        left: 0;
        right: 0;
        margin: auto;
        width: 40%;
        height: 1px;
        background-color: #ff7f00;
    }
    
    .ham_line1 {
        top: 30%;
    }
    
    .ham_line2 {
        top: 40%;
    }
    
    .ham_line3 {
        top: 50%;
    }
    
    .ham_line {
	    transition: all 0.3s;
    }
    
    .clicked .ham_line1 {
        transform: rotate(45deg);
        top: 40%;
    }
    
    .clicked .ham_line2 {
        width: 0px;
    }
    
    .clicked .ham_line3 {
        transform: rotate(-45deg);
        top: 40%;
    }

}

@media screen and ( max-width:599px ){
    
/*************************************heder******************************/
    
    #header_other {
        width:30%;
    }
    
}



.page_catch{
	font-size: 22px;
	font-weight: bold;
	margin-top: 20px;
	margin-bottom: 20px;
	@media only screen and (max-width: 777px) {
		font-size:1.5rem;
	}
}

.main_explain{
	font-size:14px;
	line-height: 1.5;
	text-align: left;
}








