@charset "UTF-8";
@import url("grid.css");


header#sample{
	z-index:900;
	position: fixed;
	top:0px;
	width: 100%;
	height: 180px;
}


@media screen and (min-width: 370px)and ( max-width:1000px)

{

/*背景すべり用設定---------------------------*/
#app1 {
	width: 100%;
	    height: 220px;
	    background-image: url(../img/top.png);
	    background-repeat: no-repeat;
	    background-size: 96%;
	    background-position: center top;
	    background-color: #a0a0a0;
	    margin-bottom: 18px;
}

}

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    display:block;
    color: #333;
    text-decoration-line: none;
}
a:hover {
    color: #999;
}
a img:hover {
	opacity: 0.8;
}
.blueback {
	background-color: #003399;
	color: #fff;
	padding: 1rem;
}
.underline {
	border-bottom: 3px solid #003399;
	padding-bottom: 0.5rem;
}
.center {
	text-align: center;
}

/*ヘッダー
-------------------------------------*/
.head {
	display: flex;
    flex-direction: row;
    padding: 1rem 0 0 0;
		background-color: #a0a0a0
}

.head h1 {
	padding: 1rem 0;
	    margin-left: 0px;
	    margin-top: 0px;
	    margin-bottom: 0px;}

.telbox {
	margin-left: auto;
	font-size: 1.5rem;
	padding: 4.5rem 0 0 0;
}
.menu {
	background-color: #003399;
}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin-bottom: 0;
}
nav li {
    flex: 1 0 auto;
	margin-bottom: 0;
}
nav li a {
    text-decoration: none;
    text-align: center;
	color: #fff;
}
nav a:hover {
    background-color: #3366FF;
	color: #fff;
}
nav a {
    padding: 2rem 1rem;
	display: block;
}



/*PC専用設定 ここから*/

@media screen and (min-width: 768px){
/* PC時はMENUボタンを非表示 */
#open,#close {
    display: none !important;
}

#navi {
    display: block !important;
}

/*背景すべり用設定---------------------------*/
#app1 {
	width: 100%;
	    height: 615px;
	    background-image: url(../img/top.png);
	    background-repeat: no-repeat;
	    background-size: 96%;
	    background-position: center top;
	    background-color: #a0a0a0;
	    margin-bottom: 18px;
}
/*PC専用設定 ここまで*/

/*768PXまで専用設定 ここから*/

@media screen and (max-width: 768px){
.head {
	flex-direction: column;
    text-align: left;
    margin-bottom: 20px;
		background-color: #a0a0a0

}

/*背景すべり用設定---------------------------*/
#app1 {
	width: 100%;
	    height: 615px;
	    background-image: url(../img/top.png);
	    background-repeat: no-repeat;
	    background-size: 96%;
	    background-position: center top;
	    background-color: #a0a0a0;
	    margin-bottom: 18px;
}

.telbox {
	margin-left: 0;
	text-align: center;
	background-color: #bcbcbc
}

.head #open,#close  {
    position: absolute;
    top: 20px;
    right: 12px;
		background-color: #a0a0a0
    }

nav ul {
	flex-direction: column;
}

nav li {
	padding-top: 0;
	border-bottom: 1px solid #ccc;
	margin-bottom: 0;
	position: fixed;
	flex-direction: column;
}
/* スマホ時はMENUボタンを表示 */
#open,#close  {
    display: block;
    width: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}
}

/*768PXまで専用設定 ここまで*/

.head h1 {
	padding: 1rem 0;
	    margin-left: 5px;
	    margin-top: 0px;
	    margin-bottom: 0px;}


/*メイン画像
-------------------------------------*/
.mainimg img {
	width: 100%;

}



/*メインコンテンツ
-------------------------------------*/
main {
		background-color: #a0a0a0

}

video{
	display: block;
	width: 64vw;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
	margin-bottom: 20px;
}

/*新着情報
-------------------------------------*/
.news h2 {
    background-color: #003399;
	color: #fff;
	padding: 1rem;
}
.news li {
    list-style-type: none;
	border-bottom: 1px solid #ccc;
	padding: 0.5rem 0;
}

/*フッター
-------------------------------------*/
footer {
    background-color: #003399;
    padding: 5rem 0;
	color: #fff;
}
footer h5 {
    border-bottom: 2px solid #fff;
    line-height: 39px;
    margin-top: 19px;
}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: #fff;
}
.copyright a {
    color: #000;
    text-decoration: none;
	display: inline-block;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a {
    display: block;
    background: #003399;
    color: #fff;
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background: #3366FF;
}
/*パンくずリスト
-----------------------------------*/
.breadcrumb {
    margin: 0 0 1em 0;
    padding: 0;
}
.breadcrumb li {
    list-style-type: none;
}
.breadcrumb li a {
    display: inline-block;
    color: #959fa5;
}


/*背景固定用設定---------------------------*/

.fixed-bg {

		height: 600px;

  background-attachment: fixed;
  background-size: 1160px auto;
  background-position: center;
	background-position-y:230px;

}

.bg01 {
  background-image: url(../img/top.png);
}

.bg02 {
  background-image: url(../img/top.png);
}

/*背景すべり用設定---------------------------*/
@media screen and (min-width: 370px)
#app1 {
    width: 100%;
    height: 615px;
    background-image: url(../img/top.png);
    background-repeat: no-repeat;
    background-size: 78%;
    background-position: center top;
    background-color: #a0a0a0;
    margin-bottom: 18px;
}
