@charset "utf-8";



/*全端末（PC・タブレット・スマホ）共通設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/

/*全体の設定
---------------------------------------------------------------------------*/
html,body {height: 100%;}
body {
	margin: 0px;
	padding: 0px;
	color: #fff;	/*全体の文字色*/
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;	/*フォント種類*/
	font-size: 16px;	/*文字サイズ*/
	line-height: 2;		/*行間*/
	background: #9b1218;	/*背景色*/
	-webkit-text-size-adjust: none;
}
h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure,form {margin: 0px;padding: 0px;font-size: 100%;font-weight: normal;}
ul {list-style-type: none;}
ol {padding-left: 40px;padding-bottom: 15px;}
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}
table {border-collapse:collapse;font-size: 100%;border-spacing: 0;}
iframe {width: 100%;}

@keyframes opa1 {
0% {opacity: 0;}
100% {opacity: 1;}
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.fadeIn {
  opacity: 0;
  animation: fadeIn 1s ease-in forwards;
  transition: opacity 1s ease-in;
}


/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
	color: #fff;		/*リンクテキストの色*/
	transition: 0.5s;	/*マウスオン時の移り変わるまでの時間設定。0.5秒。*/
}
a:hover {
	color: #fcee21;			/*マウスオン時の文字色*/
	text-decoration: none;	/*マウスオン時に下線を消す設定。残したいならこの１行削除。*/
}

/*ヘッダー（一番上の、ロゴやメニューが入っているブロック）
---------------------------------------------------------------------------*/
header {
	height: 100%;
	overflow: auto;
	position: relative;
	background: #9b1218;	/*背景色*/
}
/*ロゴ画像*/
header #logo img {
	display: block;
	width: 40%;	/*画像の幅*/
	position: absolute;
	bottom: 50%;	/*ロゴやメニューが入っているブロックに対して、下からの配置場所の指定。*/
  margin-left: 30%; /*ロゴの位置*/
}

/*メニュー
---------------------------------------------------------------------------*/
/*メニューブロック全体への指定*/
#menubar {
	position: absolute;
	bottom: 20%;	/*ロゴやメニューが入っているブロックに対して、下からの配置場所の指定。*/
	left: 0px;
	width: 100%;
	text-align: center;
}
/*メニュー１個あたりの指定*/
#menubar li {
	display: inline-block;
	margin: 0 1%;
	animation-name: opa1;
	animation-delay: 1S;
	animation-duration: 1S;
	animation-fill-mode: both;
}
#menubar li a {
	text-decoration: none;display: block;text-align: center;
	width: 140px;	/*メニューの幅*/
	color: #fff;	/*文字色*/
	border-bottom: 2px solid transparent;	/*下線の幅、線種、色。transparentは透明の事。*/
	padding-bottom: 7px;	/*下線と文字の間にとる余白*/
}
/*マウスオン時の指定*/
#menubar li a:hover {
	border-bottom: 2px solid #fff;	/*下線の幅、線種、色*/
	letter-spacing: 0.1em;			/*文字間隔を少しだけ広くする指定。そのままがいいならこの１行を削除。*/
}

/*コンテナー（headerとfooterをのぞくブロックを囲むブロック）
---------------------------------------------------------------------------*/
#container {
	max-width: 1400px;	/*最大幅。これ以上広くならない指定。*/
	margin: 0 auto;
}

/*コンテンツ（上のcontainerの中のブロック）
---------------------------------------------------------------------------*/
#contents {
	overflow: hidden;
	padding: 50px 3%;
}
#contents section + section {
	padding-top: 50px;
}
/*コンテンツ内にあるh2(見出し)タグの指定*/
#contents h2 {
	margin-bottom: 20px;
	clear: both;
	padding: 0 20px;
	font-size: 20px;		/*文字サイズ*/
	text-align: center;		/*文字をセンタリング*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くする指定*/
	background: #000;	/*背景色*/
	color: #fff;			/*文字色*/
	border-radius: 100px;	/*角を丸くする指定。大きめであれば適当で*/
}
/*コンテンツ内にあるh3(見出し)タグの指定*/
#contents h3 {
	margin-bottom: 20px;
	clear: both;
	padding: 0 20px;
	font-size: 18px;		/*文字サイズ*/
	text-align: center;		/*文字をセンタリング*/
	letter-spacing: 0.1em; /*文字間隔を少し広くする*/
	border: 2px solid #fff; /*枠線の幅、線種、色*/
	border-radius: 100px;	/*角を丸くする指定。大きめであれば適当で*/
}
/*コンテンツ内にあるp(段落)タグ設定*/
#contents p {
	padding: 0px 20px 20px;	/*上、左右、下への余白*/
}
/*他。微調整。*/
#contents p + p {
	margin-top: -5px;
}
#contents h2 + p,
#contents h3 + p {
	margin-top: -10px;
}


/*Greetingページ
----------------------------------------------------------------------------*/
/*ご挨拶文章*/
#greeting .text {
  	text-align: left; /*文章を左寄り*/
	line-height: 2; /*文字行間を少し広くする*/
  	max-width: 950px;
	word-break: break-all; /*widht幅で改行させる*/
	margin: 0 auto;
	margin-bottom: 5%;
}


/*Infomationページ
---------------------------------------------------------------------------*/
/*ブロック全体の設定*/
#info dl {
	line-height: 2.5;
	width: 90%;
	margin-left: 10%;
}
/*日付設定*/
#info dt {
	float: left;
	width: 9em;
	letter-spacing: 0.1em;
}
/*記事設定*/
#info dd {
	padding-left: 10%;
}


/*ポップアップ
----------------------------------------------------------------------------*/
.under {
	border-bottom: 1px solid #ffffff;
}
.open {
	cursor:pointer; /*マウスオーバーでカーソルの形状を変えることで、クリックできる要素だとわかりやすいように*/
}
.open span:hover {
	color: #f7e38a;
	letter-spacing: 0.1em;
}
#pop-up {
	display: none; /* label でコントロールするので input は非表示に*/
}
.overlay {
	display: none; /* input にチェックが入るまでは非表示に*/
}
#pop-up:checked + .overlay {
	display: block;
	z-index: 9999;
	background-color: #00000070;
	position: fixed;
	width: 100%;
	height: 100vh;
	top: 0;
	left: 0;
}
.window {
	width: 80%;
	height: 80%;
	background-color: rgb(151, 2, 2);
	border-radius: 6px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
#info .text {
	font-size: 18px;
	line-height: 2;
	text-align: left;
  word-break: break-all;
  max-width: 70%;
}
.close {
	cursor:pointer;
	position: absolute;
	bottom: 4px;
	font-size: 20px;
}


/*Serviceページ
---------------------------------------------------------------------------*/
/*各ブロックごとの設定*/
.list {
	position: relative;
  z-index: 1;
  margin-bottom: 2em; /* 動画との間に適切な余白を指定 */
  text-align: center;
	line-height: 1.5;
	border-bottom: 1px solid #ffffff;	/*下線の幅、線種、色*/
	padding: 20px;	/*ボックス内の余白*/
}
/*１番目のlistブロックへの追加指定。上に線を入れる。*/
.list:first-of-type {
	border-top: 1px solid #ffffff;
}
/*h4見出しの設定*/
.list h4 {
	font-size: 20px;	/*文字サイズ*/
	margin-bottom: 10px;
}
/*画像の設定*/
.list img {
	width: 20%;			/*画像幅*/
	float: left;		/*画像を左に回り込み*/
	margin-right: 3%	/*画像の右側に空けるスペース*/
}
/*段落タグ*/
.list p {
	margin-top: 1em; /* テキストの上部に適切な余白を指定 */
	line-height: 2;
	padding: 0 !important;
}

/*映像の設定
--------------------------------------------------------------------------*/
/*映像枠全体*/
#video-container {
  	position: relative;
	width: 100%;
  	max-width: 1280px;
	height: 0;
	padding-top: 56.25%; /* アスペクト比16:9の場合の高さを指定 (9 / 16 * 100) */

}
/*最初の映像と最後の映像の設定*/
#video1, #video2 {
	width: 100%;
	height: auto;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	padding-top: 2em;
}




/*テーブル
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption {
	text-align: center;		/*文字をセンタリング*/
	font-weight: bold;		/*太字に*/
	padding: 10px;			/*ボックス内の余白*/
}
/*テーブル１行目に入った見出し部分（※tamidashi）*/
.ta1 th.tamidashi {
	width: auto;
	text-align: center;	/*文字をセンタリング*/
}
/*ta1テーブルブロック設定*/
.ta1 {
	table-layout: fixed;
	width: 100%;
	margin: 0 auto 20px;
	line-height: 4;
}
.ta1, .ta1 td, .ta1 th {
	word-break: break-all;
	padding: 10px;			/*テーブル内の余白*/
}
/*テーブルの左側ボックス*/
.ta1 th {
	text-align: center;	/*センタリング*/
	width: 30%;			/*幅*/
}


/*問い合わせ
--------------------------------------------------------------------------*/
/*ロゴ画像*/
.c img {
	width: 20%;
}



/*フッター設定
---------------------------------------------------------------------------*/
footer {
	clear: both;
	text-align: center;
	background: #000;	/*背景色*/
	color: #fff;		/*文字色*/
	font-size: 85%;		/*文字サイズ*/
}
footer a {
	color: #fff;	/*リンクテキストの文字色*/
	text-decoration: none;
}
footer a:hover {
	color: #ffdc41;	/*マウスオン時の文字色*/
}
footer .pr {
	display: block;
	font-size: 80%;
}




/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
.scroll-show {display: block;}
.scroll a {
	display: block;text-decoration: none;text-align: center;
	width: 50px;		/*幅*/
	line-height: 50px;	/*高さ*/
	position: fixed;
	right: 30px;		/*右からの配置場所指定*/
	bottom: 30px;		/*下からの配置場所指定*/
	color: #fff;		/*文字色*/
	background: rgba(0,0,0,0.4);	/*背景色。0,0,0は黒色の指定で0.4は色が40%出た状態。*/
	border: 1px solid #fff;	/*枠線の幅、線種、色*/
}
/*マウスオン時*/
.scroll a:hover {
	background: rgba(0,0,0,0.8);	/*背景色。0,0,0は黒色の指定で0.8は色が80%出た状態。*/
}

/*トップページのNEWアイコン
---------------------------------------------------------------------------*/
.newicon {
	background: #F00;	/*背景色*/
	color: #FFF;		/*文字色*/
	font-size: 70%;
	line-height: 1.5;
	padding: 2px 5px;
	border-radius: 2px;
	margin: 0px 5px;
	vertical-align: text-top;
}

/*ul.disc,olタグ
---------------------------------------------------------------------------*/
ul.disc {
	list-style: disc;
	padding: 0 20px 20px 55px;
}
ol {
	padding: 0 20px 20px 42px;
}

/*その他
---------------------------------------------------------------------------*/
.look {background: #000;border: 1px solid #666;padding: 5px 10px;border-radius: 4px;}
.mb15,.mb1em {margin-bottom: 15px;}
.clear {clear: both;}
ul.disc {padding: 0em 25px 15px 40px;list-style: disc;}
.color1, .color1 a {color: #fcee21;}
.pr {font-size: 10px;}
.wl {width: 96%;}
.ws {width: 50%;}
.c {text-align: center; line-height: 2;}
.r {text-align: right;}
.l {text-align: left;}
.big1 {font-size: 30px; letter-spacing: 0.5em; line-height: 3;}
.big2 {font-size: 25px; line-height: 2;}
.mini1 {font-size: 11px;display: inline-block;line-height: 1.5;}
.sh {display: none;}




/*画面幅800px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:800px){

  /*ヘッダー（一番上の、ロゴやメニューが入っているブロック）
  ---------------------------------------------------------------------------*/
  /*ロゴ画像*/
  header #logo {
    max-width: 100%;
  }

  /*ご挨拶文章*/
  #greeting .text {
    text-align: left;
    max-width: 650px;
    word-break: break-all;
  }

  /*インフォメーションページ
  -----------------------------------------------------------------------------*/
  /*記事設定*/
  #info dd {
    padding-left: 10%;
  }
  /*お知らせ文章*/
  #info .big1 {
    font-size: 25px;
  }
  #info .text {
    line-height: 2;
    text-align: left;
    word-break: break-all;
    max-width: 70%;
  }
}


/*画面幅480px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:480px){
	
	/*ヘッダー（一番上の、ロゴやメニューが入っているブロック）
	---------------------------------------------------------------------------*/
  /*ロゴ枠*/
	header #logo {
		max-width: 100%;	/* ウィンドウ幅に合わせる */
}

	/*コンテナー（headerとfooterをのぞくブロックを囲むブロック）
	---------------------------------------------------------------------------*/
	#container {
		font-size: 12px;
		font-size: 2.93vw;
	}
	
	/*コンテンツ（上のcontainerの中のブロック）
	---------------------------------------------------------------------------*/
	/*コンテンツ内にあるh2(見出し)タグの指定*/
	#contents h2 {
		font-size: 16px;	/*文字サイズ*/
	}
	/*コンテンツ内にあるh3(見出し)タグの指定*/
	#contents h3 {
		font-size: 14px;	/*文字サイズ*/
	}

  /*ご挨拶文章*/
  #greeting .text {
		text-align: left;
		max-width: 350px;
		word-break: break-all;
  }
	

  /*インフォメーションページ
  -----------------------------------------------------------------------------*/
  /*お知らせ文章*/
  #info .big1 {
    font-size: 20px;
  }
  #info .text {
    font-size: 15px;
    line-height: 2;
    text-align: left;
    word-break: break-all;
    max-width: 60%;
  }
  #info dl {
    width: 90%;
    margin-left: 5%;
  }
  /*日付設定*/
  #info dt {
    float: left;
    width: 9em;
    letter-spacing: 0.1em;
  }
  /*記事設定*/
  #info dd {
    font-size: 13px;
    padding-left: 5%;
  }
  #info span {
    text-align: left;
  }

	/*Serviceページ
	---------------------------------------------------------------------------*/
	/*h4見出しの設定*/
	.list h4 {
		font-size: 16px;	/*文字サイズ*/
	}
  .list {
    max-width: 500px;
  }

	/*問い合わせ
--------------------------------------------------------------------------*/
/*ロゴ画像*/
.c img {
	width: 30%;
}
	
	/*ul.disc,olタグ
	---------------------------------------------------------------------------*/
	ul.disc {
		padding: 0 0px 20px 35px;
	}
	ol {
		padding: 0 0px 20px 35px;
	}
	
	/*その他
	---------------------------------------------------------------------------*/
	.ws {width: 96%;}
	.big1 {font-size: 22px;letter-spacing: normal;}
	.big2 {font-size: 20px;letter-spacing: normal;}
	}
