@charset "utf-8"; /*文字コード指定*/

/* ----- css reset(各ブラウザで指定されているスタイルを初期化)と全体設定 ----- */

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, form, input, textarea, p, th, td, img {
	margin: 0; /*ボックス外側の余白(値1つは上下左右をまとめて指定)*/
	padding: 0; /*ボックス内側の余白(値1つは上下左右をまとめて指定)*/
	border: 0; /*境界線指定*/
    max-width: 100%; 
    height:auto;
}

body {
	line-height: 2;	/*行の高さ指定(数値のみの場合はfont-sizeの倍数)*/
	font-family: "メイリオ", Meiryo, "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro"; /*フォントの種類指定(左から優先順位)*/
	font-size: calc(80% + 0.25vw); /* フォントサイズ指定(%はブラウザに設定した標準文字サイズ(通常16px)に対する値)*/
	color: #333333; /*文字色指定*/

}

ol, ul {
	list-style: none; /*リストマーカーの種類指定(noneはなし)*/
}

a { /*リンクの文字設定(マウスをのせる前)*/
	color: #0000FF; /*文字色指定*/
	text-decoration: none; /*テキストの装飾指定(下線、上線など)(noneはなし)*/
}

a:hover { /*リンクの文字設定(マウスをのせた時)*/
	color: #C74B15; /*文字色指定*/
	text-decoration: underline; /*テキストの装飾指定(下線、上線など)(underlineは下線を引く)*/
}

.color1 {
	color: #FF0033; /*文字色指定*/
}

.ad {
    overflow: hidden;
}

table, td, th{
    border: 1px solid black;
}

td {
text-align: center;
vertical-align: top;
}

#headern {
 min-height: 180px;

@media screen and (max-width: 1079px) {
 min-height: 220px;
}


@media screen and (max-width: 924px) {
 min-height: 260px;
}

@media screen and (max-width: 771px) {
 min-height: 300px;
}




@media screen and (max-width: 436px) {
 min-height: 340px;
}
}


#headern2 {
 min-height: 70px;

@media screen and (max-width: 776px) {
 min-height: 110px;
}
}

#headern3 {
 min-height: 70px;

@media screen and (max-width: 1079px) {
 min-height: 110px;
}



@media screen and (max-width: 624px) {
 min-height: 150px;
}
}

#headern4 {
 min-height: 70px;

@media screen and (max-width: 924px) {
 min-height: 110px;
}

}



#headern5 {
 min-height: 70px;

@media screen and (max-width: 1079px) {
 min-height: 110px;
}



@media screen and (max-width: 624px) {
 min-height: 150px;
}
}

#headern6 {
 min-height: 70px;

@media screen and (max-width: 776px) {
 min-height: 110px;
}
}



#headern7 {
 min-height: 70px;

@media screen and (max-width: 924px) {
 min-height: 110px;
}
}

#headern8 {
 min-height: 70px;

@media screen and (max-width: 776px) {
 min-height: 110px;
}
}



#headern9 {
 min-height: 110px;

@media screen and (max-width: 1232px) {
 min-height: 150px;
}


@media screen and (max-width: 776px) {
 min-height: 190px;
}



@media screen and (max-width: 624px) {
 min-height: 230px;
}
}







#headern11 {
 min-height: 110px;

@media screen and (max-width: 928px) {
 min-height: 150px;
}

@media screen and (max-width: 624px) {
 min-height: 190px;
}


}

#headern12 {
 min-height: 110px;

@media screen and (max-width: 928px) {
 min-height: 150px;
}

@media screen and (max-width: 624px) {
 min-height: 190px;
}
}

#headern13 {
 min-height: 110px;

@media screen and (max-width: 1080px) {
 min-height: 150px;
}

@media screen and (max-width: 776px) {
 min-height: 190px;
}
@media screen and (max-width: 624px) {
 min-height: 230px;
}


}

#headern14 {
 min-height: 70px;

@media screen and (max-width: 776px) {
 min-height: 110px;
}
}

#headern15 {
 min-height: 70px;

@media screen and (max-width: 776px) {
 min-height: 110px;
}
}


#headern16 {
 min-height: 70px;

@media screen and (max-width: 928px) {
 min-height: 110px;
}
}





#headern17 {
 min-height: 70px;

@media screen and (max-width: 1232px) {
 min-height: 110px;
}


@media screen and (max-width: 624px) {
 min-height: 150px;
}


}




#formWrap {
	width:100%;
	margin:0 auto;
	color:#555;
	line-height:120%;
	font-size:100%;
}
table.formTable{
	width:100%;
	margin:0 auto;
	border-collapse:collapse;
}
table.formTable td,table.formTable th{
	border:1px solid #ccc;
	padding:10px;
}
table.formTable th{
	width:35%;
	font-weight:normal;
	background:#efefef;
	text-align:left;
}

form input[type="text"], form textarea {
	width:100%;
	padding:5px;
	font-size:110%;
	display:block;
}


form input[type="submit"], form input[type="reset"], form input[type="button"] {
	display:block;
	width:100%;
	height:40px;
	font-size:110%;
}





.link-btn {
    text-decoration: none!important;
    color: #fff!important;
    font-weight: bold;
    display: inline-block;
    padding: 10px 15px;
    border-radius: 60px;
    box-shadow: 0px 8px 10px -6px rgba(0,0,0,.3);
    transition: .2s;
}
.link-btn:hover {
    box-shadow: none;
    transform: translateY(2px);
    opacity: .8;
}
/***ボタン中央寄せ用***/
.center {
    text-align: center;
    margin: 1.5em 0;
}
/***ボタン背景色***/
.ao {
    background: #6b6be2;
}
.midori {
    background: #6be292;
}
.pink {
    background: pink;
}
.kuro {
   background: #3c3c3c;
}
.g-ao {
    background: linear-gradient(45deg, #007adf, #00ecbc);
}
.g-midori {
    background: linear-gradient(45deg, #9ae25b, #00c1e3);
}
.g-pink {
    background-image: linear-gradient(45deg, #ff6e87, #fcc951);
}
.g-kuro {
    background: linear-gradient(0deg,#000, #b1b1b1);
}




#tophead {

}


/* ----- ヘッダー(ページの一番上の部分) ----- */

#header {
	position: relative; /*ボックスの配置方法(relativeは相対位置配置)*/
	height: 80px; /*領域の高さ指定*/
	width: auto; /*幅指定(autoは初期値に戻す)*/
	color: #333333; /*文字色指定*/

}

#header h1 {
	position: absolute; /*ボックスの配置方法(absoluteは絶対位置配置)*/
	left: 0px; /*左からの距離(positionで指定している場合に適用)*/
	top: 10px; /*上からの距離(positionで指定している場合に適用)*/
	font-size: 1em; /*フォントサイズ指定(emはフォントの高さを１とした相対指定)*/
	font-weight: normal; /*フォントの太さ指定(normalは標準)*/
        min-height: 30px;



}

#logo {
	position: absolute; /*ボックスの配置方法(absoluteは絶対位置配置)*/
	left: 0px; /*左からの距離(positionで指定している場合に適用)*/
	top: 36px; /*上からの距離(positionで指定している場合に適用)*/
 min-height: 90px;
}


#sitemap {
	position: absolute; /*ボックスの配置方法(absoluteは絶対位置配置)*/
	right: 0px; /*右からの距離(positionで指定している場合に適用)*/
	top: 50px; /*上からの距離(positionで指定している場合に適用)*/

}

/* ----- レイアウト ----- */




#content {
	width: 100%; /*幅指定(100%は画面横幅いっぱいに表示)*/
	float: right; /*要素を左か右に寄せて配置(rightは右に寄せる)*/
	margin: 13px 0; /*ボックス外側の余白(値2つは左から上下,左右の値)*/

	margin-left: -210px; /*ボックス外側左の余白*/
}





#container { /*container(入れ物、容器)の中に各要素(ボックス)を配置*/
	clear: both; /*floatの回り込みを解除*/
	width: 100%; /*幅指定(100%は画面横幅いっぱいに表示)*/
	margin: auto; /*ボックス外側の余白(autoはボックス幅や隣接する他ボックス幅による自動余白割り当て)*/
	background-color:#ffffff; /*背景色指定*/
        min-height: 30px;

}

#container a:hover img { /*画像にマウスをのせた時半透明にする*/
	filter: Alpha(opacity=70); /*視覚効果(IE独自) Alphaは透過表示 opacityは開始透明度*/
	opacity: 0.7; /*要素の透明度*/
}

#main {
	width: 100%; /*幅指定(100%は画面横幅いっぱいに表示)*/
	float: left; /*要素を左か右に寄せて配置(leftは左に寄せる)*/
	margin-right: -340px; /*ボックス外側右の余白*/


}

#content_inner {
	margin-left: 12%; /*ボックス外側左の余白*/

 min-height: 30px;

}
@media screen and (max-width: 767px) {
  #content_inner {
    margin-left: 1%; /*ボックス外側左の余白*/

  }




}







/* ----- ナビゲーションメニュー(ヘッダーの下のメインメニュー) ----- */

.nav {
	height: 40px; /*領域の高さ指定*/
	width: auto; /*幅指定(autoは初期値に戻す)*/
	padding-left: 0px; /*ボックス内側左の余白*/
	border-top: solid 1px #B7B7B7; /*上境界線の一括指定(solidは1本線,線の太さ,線の色)*/
	border-bottom: solid 1px #B7B7B7; /*下境界線の一括指定(solidは1本線,線の太さ,線の色)*/
}

.nav li {
	float: left; /*要素を左か右に寄せて配置(leftは左に寄せる)*/
	font-weight: bold; /*フォントの太さ指定(boldは太字)*/
}

.nav li a {
	width: 150px; /*幅指定*/
	border-right: solid 1px #B7B7B7; /*右境界線の一括指定(solidは1本線,線の太さ,線の色)*/
	color: #ffffff; /*文字色指定*/
	line-height: 40px; /*行の高さ指定*/
	text-decoration: none; /*テキストの装飾指定(下線、上線など)(noneはなし)*/
	display: block; /*要素の表示形式指定(blockはブロックレベルで表示)*/
	text-align: center; /*行の水平方向の揃え方(centerは中央揃え)*/
}
@media screen and (max-width: 450px) {
  .nav li a {
    width: 104px; /*画面狭い場合の幅*/

  }
}










.nav, .nav li a {
	background-image: url(../images/menu.gif); /*背景画像指定　url(画像ファイルを指定)*/
	background-repeat: repeat-x; /*背景画像の並べかた(repeat-xは横方向に繰り返し並べる)*/
}

.nav li.first a {
	border-left: solid 1px #B7B7B7; /*左境界線の一括指定(solidは1本線,線の太さ,線の色)*/
}

.nav li a:hover {
	background-position: 0 -50px; /*背景画像の表示開始位置(値2つは左からと上からの距離)*/
}

.nav li ul {
	display: none; /*要素の表示形式指定(noneは表示しない)*/
}

.nav li:hover ul {
	display: block; /*要素の表示形式指定(blockはブロックレベルで表示)*/
	position: absolute; /*ボックスの配置方法(absoluteは絶対位置配置)*/
	z-index: 100; /*ボックスの重なり順序の指定(値が大きいほど上(前面)に表示)*/
}

.nav li ul li {
	float: none; /*要素を左か右に寄せて配置(noneは配置指定しない)*/
	font-weight: normal; /*文字の太さ指定(normalは標準)*/
}







/* ----- コンテンツ ----- */

.post {
	clear: both; /*floatの回り込みを解除*/
	width: auto; /*幅指定(autoは初期値に戻す)*/
	position: relative; /*ボックスの配置方法(relativeは相対位置配置)*/

}

.post h2 {
	padding-left: 5px; /*ボックス内側左の余白*/
	margin: 0; /*ボックス外側の余白(値1つは上下左右をまとめて指定)*/
	margin-bottom: 10px; /*ボックス外側下の余白*/
	font-size: 1em; /*フォントサイズ指定(emはフォントの高さを１とした相対指定)*/
	color: #ffffff; /*文字色指定*/
	line-height: 30px; /*行の高さ指定*/
	background-image: url(../images/h2.gif); /*背景画像指定　url(画像ファイルを指定)*/
	background-repeat: repeat-x; /*背景画像の並べかた(repeat-xは横方向に繰り返し並べる)*/
}

.post h3 {
	padding-left: 5px; /*ボックス内側左の余白*/
	margin: 0; /*ボックス外側の余白(値1つは上下左右をまとめて指定)*/
	margin-bottom: 10px; /*ボックス外側下の余白*/
	font-size: 1em; /*フォントサイズ指定(emはフォントの高さを１とした相対指定)*/
	color: #ffffff; /*文字色指定*/
	line-height: 30px; /*行の高さ指定*/
	background-image: url(../images/h2.gif); /*背景画像指定　url(画像ファイルを指定)*/
	background-repeat: repeat-x; /*背景画像の並べかた(repeat-xは横方向に繰り返し並べる)*/
}








.margin18p {
    margin-top: 18px;
}





.margin35p {
    margin-top: 35px;
}


.margin70p {
    margin-top: 70px;
}






.post ul {
	margin-bottom: 15px; /*ボックス外側下の余白*/
}

.post ul li {
	margin-left: 10px; /*ボックス外側左の余白*/
	background-position: 0px 4px; /*背景画像の表示開始位置(値2つは左からと上からの距離)*/
	padding-left: 15px; /*ボックス内側左の余白*/
	
	background-repeat: no-repeat; /*背景画像の並べかた(repeat-xは横方向に繰り返し並べる)*/
}

.newlist {
	margin-bottom: 15px; /*ボックス外側下の余白*/
}

.newlist dl {
	width: auto; /*幅指定(autoは初期値に戻す)*/
	height: 150px; /*領域の高さ指定*/
	overflow: auto; /*領域に入りきらない内容の処理(autoはブラウザに依存(通常はみ出す場合はスクロール表示))*/
	padding-left: 5px; /*ボックス内側左の余白*/
	text-align: left; /*行の水平方向の揃え方(leftは左寄せ)*/
	line-height: 30px; /*行の高さ指定*/

}

.newlist dt {
	font-weight: bold; /*フォントの太さ指定(boldは太字)*/
	color: #F00000; /*文字色指定*/
}

.newlist dd {
	border-bottom: 1px solid #cccccc; /*下境界線の一括指定(solidは1本線,線の太さ,線の色)*/
	margin: 5px 10px 10px 5px; /*ボックス外側の余白(値4つは左から上,右,下,左の値)*/
}

.img {
	padding: 10px; /*ボックス内側の余白(値1つは上下左右をまとめて指定)*/
}

