@charset "utf-8";
/* CSS Document */
* {
	margin: 0;
	padding: 0;
}
body , html {
  height: 100%;
}

body {
	font-family: 'M PLUS Rounded 1c', sans-serif;
	/*background: #696969;*/
	color: #696969;
}

body a{
	text-decoration: none;
}

a{color: #009fe8;}

.wrapper{
    width: 100%;
  	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

footer{
	clear: both;
    width: 100%;
    background-color: #7f7f7f;
    color: #fff;
    text-align: center;
	margin-top: auto;
    padding: 15px 0;
}

#base {
	margin: 0 auto;
	padding-bottom:20px;
	height: 100%;
	width: 1000px;
}

#base2 {
	margin: 0 auto 30px;
	padding-bottom:0px;
	width: 1000px;
}

p{
	font-size: 11pt;
}

h2{
	text-align: center;
	color: #009fe8;
}

h4{
	font-size: 13pt;
	line-height: 130%;
	font-weight: 500;
	text-align: left;
	margin: 0;
}

.copy {
	text-align: center;
	margin: 20px 0 50px 0;
	font-size: 10pt;
	font-weight: 400;
	line-height: 180%;
}

/*サブタイトル*/
.subtitle {
	margin-top: 100px;
	margin-bottom: 20px
}
.subtitle p {
	font-size: 0.6em;
	margin-top: -3px;
}

/*各ページのメニュー*/
.menu2{
	width: 100%;
	height: 45px;
	margin: 0 auto 30px auto;
	padding: 0;
	list-style: none;
	text-align: center;
}
.menu2 li {
	display: inline-block;
	width: calc( 20% - 8px ) ;
	margin: 0 2px;
	background-color: #e5e5e5;
}

.menu2 li a:hover{
	height: 50px;
	border-bottom: 5px solid #f7b52c;
}

.active{
	height: 50px;
	border-bottom: 5px solid #f7b52c;
}


/* ボタンのスタイル */
.button3 {
	color: #717071;
	background-color: #e5e5e5;
    width: calc( 20% - 10px ) ;
    height: 50px;
    /*border: 1px solid #b97ebb;*/
    /*border-radius: 5px;*/
    text-align: center;
	margin: 0 5px;
	float: left;
	border-bottom: 5px solid #f7b52c;
}

.button2 {
	color: #717071;
	background-color: #e5e5e5;
    width: calc( 20% - 10px ) ;
    height: 50px;
    /*border: 1px solid #b97ebb;*/
    /*border-radius: 5px;*/
    text-align: center;
	margin: 0 5px;
	float: left;
}
/* マウスオーバー時のカラー */
.button2:hover {
	color: #717071;
    background-color: #e5e5e5;
	border-bottom: 5px solid #f7b52c;
} 
/* リンク領域のスタイル */
.button2-a {
	color: #717071;
	font-weight: 500;
    display: block;
    padding: 14px 0;
    text-align: center;
}
/* マウスホバー時のカラー*/
.button2-a:hover {
    /*color: #fff;*/
}

@media screen and (max-width: 640px) {
	#base {
		margin: 0 auto;
		width: 100%;
	}
	#base2 {
		margin: 0 auto;
		width: 100%;
	}
	footer{
		clear: both;
   		width: 100%;
    	background-color: #7f7f7f;
    	color: #fff;
    	text-align: center;
    	padding: 15px 0;
	}
	
	/*各ページのメニュー*/
	.menu2{
		width: 100%;
		height:100px;
		margin: 0 auto 20px auto;
		font-size: 0.8em;
		text-align: center;
	}
	
	.menu2 li{
		width: calc( 30% - 10px ) ;
		margin-bottom: 8px;
	}
	.menu2 li a:hover{
		height: 46px;
		border-bottom: 5px solid #f7b52c;
	}

	.active{
		height: 46px;
		border-bottom: 5px solid #f7b52c;
	}
/* ボタンのスタイル */
.button3 {
	color: #717071;
	background-color: #e5e5e5;
    width: calc( 30% - 10px ) ;
    height: 45px;
    /*border: 1px solid #b97ebb;*/
    /*border-radius: 5px;*/
    text-align: center;
	margin: 0 3px;
	float: left;
	border-bottom: 5px solid #f7b52c;
}

.button2 {
	color: #717071;
	background-color: #e5e5e5;
    width: calc( 30% - 10px ) ;
    height: 45px;
    /*border: 1px solid #b97ebb;*/
    /*border-radius: 5px;*/
    text-align: center;
	margin: 0 3px;
	float: left;
}
}

@media screen and (max-width: 480px) {
	.menu2{
		width: 100%;
		height:180px;
		margin: 0 auto 20px auto;
		font-size: 0.8em;
		text-align: center;
	}
	
	.menu2 li{
		width: calc( 45% - 10px ) ;
		margin-bottom: 8px;
	}
	.menu2 li a:hover{
		height: 46px;
		border-bottom: 5px solid #f7b52c;
	}

	.active{
		height: 46px;
		border-bottom: 5px solid #f7b52c;
	}
/* ボタンのスタイル */
.button3 {
	color: #717071;
	background-color: #e5e5e5;
    width: 100%;
    height: 45px;
    /*border: 1px solid #b97ebb;*/
    /*border-radius: 5px;*/
    text-align: center;
	margin: 3px;
	border-bottom: 5px solid #f7b52c;
}

.button2 {
	color: #717071;
	background-color: #e5e5e5;
    width: 100%;
    height: 45px;
    /*border: 1px solid #b97ebb;*/
    /*border-radius: 5px;*/
    text-align: center;
	margin: 3px;
}
}