@charset "utf-8";

*, *:before, *:after{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

body{
	max-width: 100%;
	color: #666;
	font-size: 15px;
	line-height: 1.7;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", cursive, sans-serif;
}

a{
	color: #666;
	text-decoration: none;
}

a:hover{
	color: #999;
}

img {
	max-width: 100%;
	height: auto;
}

ul{
	list-style-type: none;
}

#totop {
    position: fixed;
    bottom: 5px;
    right: 5px;
    font-size: 0.8em;
}
 
#totop a {
    display: block;
    background: #666;
    color: #fff;
    width: 50px;
    padding: 10px 0;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
}
 
#totop a:hover {
    background: #999;
    text-decoration: none;
}

.copy{
	margin-top: 15px;
	font-size: 0.8em;
	text-align: center;
}

h1{
	font-size: 1.3em;
	font-weight: bold;
	margin: 20px 0 0;
	line-height: 1;
}

h2{
	font-size: 0.9em;
	font-weight: bold;
	margin: 10px 0 0;
	line-height: 1;
}

.smalltxt{
	margin: 0;
	font-size: 0.6em;
	font-weight: normal;
}

p{
	margin: 20px 10px;
	font-size: 0.8em;
	text-align: left;
}
	

@media (min-width: 768px) {
/* == header =========================================================== */
	
	.header_menu{
		width: 80%;
		margin: 50px auto 0;
	}
	
	.mobiletitle{
		display: none;
	}

	nav.header-nav ul{
		display: flex;
		justify-content: center;
		align-items: flex-end;
	}
	
	nav.header-nav li:first-child{
		width: 150px;
		margin-right: auto;
		border: 0px;
	}
	
	nav.header-nav li{
		width: 100px;
		text-align: right;
	}

	nav.header-nav li a{
		display: block;
	}

	.navToggle{/* MobileNav */
		display: none;
	}

/* == contents =========================================================== */
	
	.container{
		width: 80%;
		margin: 60px auto 0;
		min-height: calc(82vh - 70px);
	}

	section.about{
		display: flex;
		justify-content: space-around;
		text-align: center;
	}
	
	.about_box{
		width: 30%;
	}
	
/* == footer =========================================================== */
	footer{
		width: 90%;
		height: 50px;
		margin: 10px auto 0;
	}

}



@media (max-width:768px){
/* == header =========================================================== */
	
	.header_menu{
		width: 90%;
		margin: 10px auto;
	}
	
	.mobiletitle img{
		width: 50%;
		margin: 10px 0;
	}

	nav.header-nav {/* MobileNav */
		position: fixed;
		z-index: 2;
		top: 0;
		left: 0;
		background: #fff;
		text-align: center;
		transform: translateY(-100%);
		transition: all 0.6s;
		width: 100%;
	}

	nav.header-nav ul {
		background: #F0F0F0;
		margin: 0 auto;
		padding: 0;
		width: 100%;
		color: #666;
	}

	nav.header-nav ul li {
		font-size: 1.1em;
		list-style-type: none;
		padding: 0;
		width: 100%;
		border-bottom: 1px solid #FFF;
	}
	
	nav.header-nav li:first-child{
		display: none;
	}

	nav.header-nav ul li:last-child {
		padding-bottom: 0;
		border-bottom: none;
	}

	nav.header-nav ul li a {
		display: block;
		padding: 1em 0;
	}

	nav.header-nav.active {/* jQueryで付与・削除 */
		transform: translateY(0%);
	}

	.navToggle {
		display: block;
		position: fixed;
		right: 13px;
		top: 12px;
		width: 43px;
		height: 51px;
		cursor: pointer;
		z-index: 3;
		background: #FFF;
		border: 0px solid #666;
		text-align: center;
	}

	.navToggle span {
		display: block;
		position: absolute;    /* .navToggleに対して */
		width: 30px;
		border-bottom: solid 3px #666;
		-webkit-transition: .35s ease-in-out;
		-moz-transition: .35s ease-in-out;
		transition: .35s ease-in-out;
		left: 6px;
	}

	.navToggle span:nth-child(1) {
		top: 9px;
	}

	.navToggle span:nth-child(2) {
		top: 18px;
	}

	.navToggle span:nth-child(3) {
		top: 27px;
	}

	.navToggle span:nth-child(4) {
		border: none;
		color: #666;
		font-size: 9px;
		font-weight: bold;
		top: 34px;
	}

	/* 最初のspanを-45度に */
	.navToggle.active span:nth-child(1) {
		top: 18px;
		left: 6px;
		-webkit-transform: rotate(-45deg);
		-moz-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}

	/* 2番目と3番目のspanを45度に */
	.navToggle.active span:nth-child(2),
	.navToggle.active span:nth-child(3) {
		top: 18px;
		-webkit-transform: rotate(45deg);
		-moz-transform: rotate(45deg);
		transform: rotate(45deg);
	}

	
/* == contents =========================================================== */
	
	.container{
		width: 90%;
		margin: 60px auto 0;
		min-height: calc(82vh - 70px);
	}

	section.about{
		text-align: center;
	}
	
	.about_box{
	}

	.page_title{
		margin-bottom: 20px; 
	}


/* == footer =========================================================== */
	
	footer{
		width: 90%;
		height: 50px;
		margin: 10px auto 0;
	}

}