@charset "UTF-8";

/*全体の設定*/
*{
    margin: 0;
    padding: 0;
}
*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}


html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
a {
	color: inherit;
	text-decoration: none;
}

body {
	background-color:  #f8f9f4;
	font-family: "ten-mincho", serif;
	font-weight: normal;
	font-style: normal;
}

pre {
	font-family: "ten-mincho", serif;
	font-weight: normal;
	font-style: normal;
}

#wrap {
	width: 100%;
}
#contents-wrap{
	max-width: 80%;
	margin: 80px auto;
}

.clearfix:after {
	content: "";
	display: block;
	clear: both;
}
main:first-of-type{
	margin-top: 80px;
}
nav ul li {
	font-size: 0.8rem;
}
section:first-of-type{
	margin-top: 160px;
}
section {
	margin-bottom: 160px;
}

/*------フォント設定--------*/

p {
	font-size: 14px;
	line-height: 1.5rem;
}

/*------見出したち--------*/
h1,h2,h3,h4{
	font-weight:normal; 
}
h1{
	font-size: 30px;
	text-align:left;
	position: relative;
	padding-left: 20px;
	font-family: "ten-mincho", serif;
}
h1:before {
	content: '';
    position: absolute;
    left: -5%;
    top: 50%;
    display: inline-block;
    width: 10%;
    height: 1px;
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translate(-50%);
    background-color: #000000;
}

h2{
	text-align: left;
	margin-left: 20px;
	padding: 5px 0 20px 10px;
	/*display: inline-block;*/
  	position: relative;
	font-size: 20px;
	z-index: 999;
}

h2:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	display: inline-block;
	width: 1px; /*線の幅*/
	height: 65px; /*線の長さ*/
	-moz-transform: translate(-0%);
	-webkit-transform: translateX(-0%);
	-ms-transform: translateX(-0%);
	transform: translate(-0%); /*位置調整*/
	background-color: #000000; 
}

h3 {
	margin: 10px 10px 10px 0;
	font-size: 24px;
}
h4 {
	margin: 10px 10px 20px 10px;
	font-size: 20px;
}


/*------ヘッダーメニュー--------*/

header {
	width: 100%;
	height: 80px;
	/*position: relative; */
	position: fixed;
	top: 0px;
	z-index:99998;
}

header figure {
	left: 25px;
	top: 25px;
    position: absolute;
	width: 12vh;
	line-height: 32px;
}

header>nav>ul {
	display:flex;
	justify-content:center;
	position: absolute;
	right: 0px;
	top:25px;
}

header>nav>ul>li{
	list-style-type: none;
	margin-right: 15px;
	line-height: 32px;
	font-size: 12px;
} 
header>nav>ul>li>a:hover {
	color:#939393;
}
.current {
	color: #EBBE41;
}


/*------ボタン--------*/
.botan {
	display: inline-block;
	margin-top: 30px;
	padding: 8px 20px;
	border: solid 1px #000000;
	background-color: #fefefe;
	position: relative;
	font-size: 16px;
	height:auto;
	z-index: 1;
}
.botan:after {
	content: '';
	position: absolute;
	right: -35px;
	top: 50%; /*下線の上下位置調整*/
	display: inline-block;
	width: 30px; /*下線の幅*/
	height: 1px; /*下線の太さ*/
	-moz-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translate(-50%); /*位置調整*/
	background-color: #000000; /*下線の色*/
}	

.botan-flex {
	display: flex;
	align-items: flex-end;
}
/*------ボタンのアニメーション--------*/

@keyframes bg_slide {
    0% {
        transform-origin: left top;
        transform: scaleX(0.0);
    }
    100% {
        transform-origin: left top;
        transform: scaleX(1.0);
    }
}
.botan:hover {
    color: #ffffff;
    position: relative;
}
.botan:hover:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
	background-color: #2A416C;
	animation: bg_slide 0.5s;/*アニメーション設定追加*/
}



/*------フッター--------*/
footer {
	position: relative;
	bottom: 0;
	background-color: #2b426d;
	height: 170px;
	color: white;
}

.footer-wrap{
	width: 80%;
	margin: auto;
	position: relative; 
	display: flex;
	align-content: center;
	padding-top: 20px
}
footer>div>div{
	line-height: 135px;
	display: block;
}
.footer-logo{
	position: absolute;
	left: 0;
	top: -5px;
	width: 15%; 
}
.footer-logo>a>img{
	vertical-align: middle;
	width: 100%;
	height:auto;
}
#footer-sns {
	position: absolute;
	left: 20%; 
}
#footer-sns>nav>ul>li>a>img{
	vertical-align: middle;
}
.footer-list {
	position: absolute;
	right: 0;
}

.footer-list>nav>ul>li>a>span {
   	margin-left: 5px;
	display: inline-block;
}
#footer-sns nav ul,.footer-list nav ul {
	display: flex;
}
#footer-sns ul li,.footer-list ul li{
	list-style-type: none;
} 

.footer-list ul li{
	font-size: 12px;
}
.footer-list ul li:not(:last-of-type){
	margin-right: 15px;
}
#footer-sns ul li {
	width: 25%;
}
#footer-sns ul li:not(:last-of-type){
	margin-right: 12px;
}
footer p {
	text-align: center;
	font-size: 12px;
}
.copy-right {
	position: absolute;
	bottom: 16px; 
	width: 100%;
	margin-top: 20px;
}

/*------タブレット-------*/
@media only screen and (max-width:1024px){
	main:first-of-type{
	margin-top: 80px;
	}
	section:first-of-type{
		margin-top: 80px;
	}
	section {
		margin-bottom: 80px;
	}
	 /*フッダー*/
	.footer-wrap {
		width: 95%;
　	}
}

/*------スマホ-------*/
@media only screen and (max-width:599px){
  /*ボタン*/
	.botan{
		width:50%;
	}
  /*フッダー*/
	footer{
		height: 200px;
	}
	
	.footer-wrap{
		display: block;
		width: 80%;
	}
	.footer-wrap,.footer-logo,#footer-sns,.footer-list{
		position: static;
	}
	.footer-logo{
		width: 30%;
	}
	footer>div>div{
		line-height: 1.5rem;
	}
	.footer-list nav ul{
		display: block;
	}
	#footer-sns{
		margin: 10px 0;
	}
	#footer-sns nav ul li {
		width: 10%;
	}

	.btn{
		width: 100%;
		display: block;      
		width: 39px;      
		height: 39px;      
		position: absolute;
		right: 0;
		z-index: 999;
		margin: 20px;
	}
	
	.bar{      
		width: 20px;      
		height: 2px;        
		display: block;      
		position: absolute;      
		left: 50%;      
		transform: translateX(-50%);      
		background-color: #191919;    
	}
	
	.bar-top{ top: 10px;}
	.bar-middle{    
		top: 50%;
		transform: translate(-50%,-50%);
	}
	.bar-bottom{ bottom: 10px;}

	.btn.close .bar-top{      
		transform: translate(-50%,10px) rotate(45deg);      
		transition: transform .3s;    
	}  

	.btn.close .bar-middle{      
		opacity: 0;       
		transition: opacity .3s;    
	}    

	.btn.close .bar-bottom{      
		transform: translate(-50%,-8px) rotate(-45deg);      
		transition: transform .3s;    
	}

	.menu-lists{
		display: none;
		background-color: #f8f9f4;
		width: 100vw;
		height: 100vh;
		position: fixed;
		top: 0;
		left: 0;
		padding-top: 50px;
		text-align: center;
	}

	.menu-lists ul{
		display: block;
	}

	header>nav>ul {
		display: flex;
		justify-content: center;
		position: relative;
		right: 0px;
		top: 25px;
	}

	.menu-lists ul li{
		padding: 10px;
		text-align: center;
	}
	.menu-wrapper{
		position: relative;
		justify-content: space-between;
		display: flex;
		line-height: 70px;
		margin-right: 30px;
	}
	.menu-lists ul{
		display: block;
	}

	
}

@-moz-document url-prefix() {
	body {
		font-family: "游明朝","YuMincho","Hiragino Mincho ProN","Hiragino Mincho Pro","ＭＳ 明朝",serif;
	}

	pre {
		font-family: "游明朝","YuMincho","Hiragino Mincho ProN","Hiragino Mincho Pro","ＭＳ 明朝",serif;
	}
}
