@charset "utf-8";

/*メニュー*/
#nav-drawer {
    position: relative;
}
/*チェックボックス等は非表示に*/
.nav-unshown {
    display: none;
}
/*アイコンのスペース*/
#nav-open {
    display: inline-block;
    width: 30px;
    height: 40px;
    vertical-align: middle;
    cursor: pointer;
}
/*ハンバーガーの形をCSSで表現*/
#nav-open span,
#nav-open span:before,
#nav-open span:after {
    position: absolute;
    height: 3px;
    /*線の太さ*/
    width: 25px;
    /*長さ*/
    border-radius: 3px;
    background: #ffffff;
    display: block;
    content: '';
    bottom: 40px;
}

#nav-open span:before {
    bottom: -8px;
}

#nav-open span:after {
    bottom: -16px;
}
/*閉じる用の薄黒箇所*/
#nav-close {
    display: none;
    position: fixed;
    z-index: 9900;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0;
    transition: .2s ease-in-out;
}
/*メニューの中身*/
#nav-content {
    overflow: auto;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 90%;
    max-width: 250px;
    /*最大幅（お好みで調整を）*/
    height: 100%;
    background: #F2F8FE;
    transition: .2s ease-in-out;
    -webkit-transform: translateX(-105%);
    transform: translateX(-105%);
}
/*チェックがついたら表示させる*/
#nav-input:checked~#nav-close {
    display: block;
    opacity: .5;
}

#nav-input:checked~#nav-content {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
    box-shadow: 6px 0 25px rgba(0, 0, 0, .15);
}

.header-logo-menu {
    display: flex;
    display: -moz-flex;
    display: -o-flex;
    display: -webkit-flex;
    display: -ms-flex;
    flex-direction: row;
    -moz-flex-direction: row;
    -o-flex-direction: row;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
}

/*ロゴやサイトタイトルをセンタリング*/
.logo-area {
    text-align: center;
    margin: auto;
    padding-left: 6em;
}



@media screen and (max-width:980px) {
    body {
        min-width: 700px;
		text-align:center;
		/*	background-color:#1565C6;
		border-top:10px solid #1565C6;*/
		/*	background-image: url(../img/bg.gif);
		background-position:top center;
		background-repeat:repeat-x;
		background-color:#FFF;*/
    }
}

@media screen and (min-width:981px) {
    #mobile_header {
        display: none;
    }
}

@media screen and (max-width:980px) {
    #wide_header {
        display: none;
    }
}

@media screen and (min-width:981px) {
    #mobile-footerlink {
        display: none;
    }
}

@media screen and (max-width:980px) {
    #wide-footerlink {
        display: none;
    }
}

@media screen and (max-width:980px) {
    #leftside {
        display: none;
    }
}

/*
@media screen and (max-width:980px) {
    #backtop {
        display: none;
    }
}

@media screen and (max-width:980px) {
    #footWrap {
        display: none;
    }
}
*/


@media screen and (max-width:980px) {
    .container_12,
    .container_16 {
        /*margin-left: auto;
        margin-right: auto;*/
        width: 700px;
    }
}

@media screen and (max-width:980px) {
	.container_12 .grid_12,
	.container_16 .grid_16 {
	  width: 700px;
	}
}

@media screen and (max-width:980px) {
    #wrapper {
        padding-top: 17px;
        width: 700px;
        margin: 0 auto;
        text-align: center;
        /*background-image:url(../img/topbg.jpg);
		background-position:top center;
		background-repeat:no-repeat;*/
    }
}

/*
@media screen and (max-width:980px) {
	#footer{
		color:#FFF;
		background-color:#369;
		height:180px;
		margin:0 auto;
		margin-top:0px;
		text-align:center;
		border-top:3px #1565C6 double;
		padding-top:20px;
		background-image: url(../img/bg2.gif);
		background-position:top center;
		background-repeat:repeat-x;
	}
}
*/

@media screen and (max-width:980px) {
	#footertext{
		color:#FFF;
		width:700px;
		margin:0 auto;
	}
}

.grid_3_menu {
    display: inline;
    float: left;
    margin-left: 10px;
    margin-right: 10px;
}

#headertext-mobile{
	float:right;
	height:57px;
	line-height:60px;
}





#topbutton {
    display: none;
    position: fixed;
    z-index: 2;
    bottom: 30px;
    right: 55px;
}

#topbutton a {
    display: block;
    width: 120px;
    height: 50px;
    background-color: #aCdEfE;
    opacity: 0.75;
    text-align: center;
    color: #000000;
    font-size: 24px;
    text-decoration: none;
    line-height: 50px;
}

#topbutton a:hover {
    display: block;
    width: 120px;
    height: 50px;
    background-color: #aCdEfE;
    opacity: 1;
    text-align: center;
    color: #000000;
    font-size: 24px;
    text-decoration: none;
    line-height: 50px;
}
