@charset "UTF-8";
/* CSS Document */

html {
	font-size:62.5%;
}

body {
	color:#333;
	font-size:1.4rem;
	font-family: "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;
	padding: 0 15%;
	margin: 0;
}

.clearfix::after {
	content:'';
	display:block;
	clear:both;
}

a{
	position: relative;
	color: #4f96f6;
}

a:visited {
		color: #4f96f6;
}

a:hover {
	text-decoration: none;
}

a img{
	border: none;
}

.nav_list a{
	display: block;
	text-decoration: none;
}

.nav_list a:link{
	color: #333;
}

.nav_list a:visited {
	color: #333
}

.nav_list a:active{
	color: #888;
}

.nav_list a::after {
	position: absolute; 
	left: 0;
	right: 0;
	margin: auto;
	content: '';        
	width: 30px;        
	height: 1px;
	background: #999;
	bottom: -3px;
	visibility: hidden;
	opacity: 0;
}

.nav_list a:hover::after {
	visibility: visible;
	opacity: 1;
	transition: 0.5s;
}

/* ヘッダ--------------------------- */
header#header {
	width: 100%;
	height: 100px;
	background: #fff;
	display: flex;
	justify-content: space-between;
    font-weight: normal;
    font-size: 1.1rem;
    text-align: right;
    padding-top: 20px;
}

.nav {
	display: flex;
	align-items: center;
	list-style: none;
	font-size: 1.2rem;
	padding-left: 10px;
}

.nav_list {
	padding-left: 10px;
}

/*---------------------------------*/

h1 {
	text-align: center;
	font-size: 3.2rem;
	padding: 100px 0 0 0;
}

h2 {
	font-size: 2rem;
	border-left: solid 5px #999 ;
	padding: 0 1.5rem;
	margin: 8rem auto 1rem;
	
}

.is-style-default {
	background: #eee;
	padding: 2rem ;
	padding-left: 4rem;
	border-radius: 20px;
	margin: 1rem 0;
}

/*TOPに戻るボタン--------------------------------*/

.button {
	width: 60px;
	height: 60px;
	text-align: center;
	background: #eee;
	border-radius: 50%;
	margin: 100px auto;
}

.buttontext {
	display: block;
	line-height: 1.7rem;
	padding-top:11px ;
}

.button a{
	display: block;
	text-decoration: none;
}

.button a:link{
	color: #333;
}

.button a:visited {
	color: #333
}

.b a:active{
	color: #888;
}



/*スマホ------------------------------------------------------------*/
@media (max-width: 1024px) {
	
	body{
		padding: 0 2rem;
		font-size: 1.4rem;
	}
	
	header {
		background-color: #fff;
		position: fixed;
	}
	
	.header_logo{
		width: 50%;
	}
	
	.nav{
		position: fixed;
		right: -100%;
		width: 100%;
		height: 70%;
		margin-left: auto;
		/* メニューを縦に */
		display: flex;
		flex-direction: column;
		color: #333;
		background-color: rgba(159,159,159,0.90);
		transition: .3s;
		padding-top: 1.5rem;
	}
	
	.nav_list {
		font-size: 1.6rem;
 		height: 100%;
		width: 100%;
		padding: 0;
 		/* メニューテキスト位置をリスト内中心に */
 		display: flex;
 		justify-content: center;
 		align-items: center;
	}
	
	.btn {
  		/* ボタンの配置位置  */
  		position: fixed;
		padding-top: 20px;
		right: 30px;
		/* ボタンの大きさ  */
  		width: 20px;
  		height: 20px;
  		/* 最前面に */
  		z-index: 10;
	}
	
	.btn-line {
		display: block;
		position: relative;  /* バーガー線の位置基準として設定 */
		width: 100%;  /* 線の長さと高さ */
		height: 3px;
		background-color: #777;  /* バーガー線の色 */
		transition: .2s;
	}
	
/****** 上下のバーガー線 *****/
	.btn-line::before,
	.btn-line::after {
	  	content: "";
	  	position: absolute;
	  	right: 0;
		width: 100%;
	  	height: 100%;
	  	background-color: #777;
	  	transition: .5s;	
	}
	.btn-line::before {
	  /* 上の線の位置 */
		transform: translateY(-6px);
	}
	.btn-line::after {
	  /* 下の線の位置 */
		transform: translateY(6px);
	}
		
	.nav.open {
		height: 100%;
		width: 50%;
		right: 0;
		margin-top: 5rem;

	}
	
	h1{
		font-size: 2.5rem;
		padding-top: 130px;
	}
	
	h2{
		font-size: 1.5rem;
		margin: 5rem auto 1rem;
	}
	
	.is-style-default{
		padding: 1rem 2rem 1rem 3rem;
	}
	
	.li-text{
		font-size: 1.2rem;
	}
}

