@charset "utf-8";

*{
	box-sizing:border-box;
	}

body {
	font: 100%/1.4 "Yu Gothic", sans-serif;
	margin: 0;
	padding: 0;
	color: #000;
	width: 100%;
}

.big{
	font-size:1.5em;
	}

/* ~~ エレメント / タグセレクター ~~ */
ul, ol, dl { /* ブラウザー間の相違により、リストの余白とマージンをゼロにすることをお勧めします。一貫性を保つために、量をここで指定するか、リストに含まれるリスト項目 (LI、DT、DD) で指定できます。より詳細なセレクターを記述しない限り、ここで指定する内容が .nav リストにも適用されることに注意してください。 */
	padding: 0;
	margin: 0;
}

/*h1, h2, h3, h4, h5, h6, p {
	margin-top: 0;
	padding-right: 15px;
	padding-left: 15px; 
}*/

/*p{
	margin:0;
	}*/

a img { /* このセレクターは、一部のブラウザーでイメージをリンクで囲んだ場合にイメージの周囲に表示される初期設定の青いボーダーを削除します。 */
	border: none;
}

a img:hover{
	opacity: 0.6;
	}

/* ~~ サイトのリンクのスタイル付けは、ホバー効果を作成するセレクターグループも含め、この順序にする必要があります。~~ */
a:link {
	color: inherit;
	text-decoration: none; /* 非常に特殊な表示方法でリンクをスタイル付けする場合を除き、一目で見分けられるように下線を指定することをお勧めします。 */
}
a:visited {
	text-decoration: none;
	color: inherit;
}
a:hover, a:active, a:focus { /* このセレクターグループは、キーボードを使用するユーザーに対し、マウスを使用するユーザーと同じホバー効果を提供します。 */
	text-decoration: none;
	color: inherit;
}

.sp{
	display:none;
	}
	
.pc{
	display:block;
	}


.red{
	color:#F00;
	}

/* ~~ このコンテナが他のすべての div を囲み、パーセンテージに基づいた幅を指定します。~~ */
.container {
	width: 80%;
	/*max-width: 1260px;*//* レイアウトが大型モニターで広がりすぎないように、最大幅を指定することをお勧めします。これにより、読みやすい行の長さを保つことができます。IE6 ではこの宣言は無視されます。 */
	/*min-width: 780px;*//* レイアウトが狭くなりすぎないように、最小幅を指定することをお勧めします。これにより、サイドカラムで読みやすい行の長さを保つことができます。IE6 ではこの宣言は無視されます。 */
	margin: 0 auto; /* 幅に加え、両側を自動値とすることで、レイアウトが中央に揃います。.container の幅を 100% に設定した場合、これは必要ありません。 */
}
/* ~~ ヘッダーには幅は指定されません。ヘッダーはレイアウトの幅全体まで広がります。ヘッダーには、ユーザー独自のリンクされたロゴに置き換えられるイメージプレースホルダーが含まれます。~~ */
.header {
	height: fit-content;
	width: 80%;
	margin: 0 auto;
	position: relative;
	padding-top: 20px;
}
.headinfo {
	float: right;
	margin: 20px;
}
.headinfo img {
	margin-left: 10px;
}

#menubtn{
	display:none;
	background-color:
	}

.logo {
	float: left;
	width: 25%;
	margin: 20px;
}
#nav {
	float: right;
	width: 65%;
	position: absolute;
	top: 65%;
	right: 0;
}
#nav li {
	float: left;
	width: calc(100%/5);
	list-style: none;
	font-size: 1.2em;
	font-weight: bolder;
}
.eye {
	width: 100%;
	background-image: url(../images/eye.png);
	background-position: center;
	background-size: cover;
	padding-bottom: 35%;
}

.message {
	width: 100%;
	/*background-image: url(../images/message_none.jpg);*/
	background-position: center;
	background-size: cover;
	position:relative;
}

.message img{
	width:100%;
	}

.mwrap{
	position:absolute;
	left:40%;
	top:25%;
	}

/* ~~ これはレイアウト情報です。~~ 

1) 余白は、div の上部または下部にのみ配置されます。この div 内のエレメントには、それ自体に余白があるので、ボックスモデル計算を行う必要がありません。ただし、div 自体に両側の余白やボーダーを指定した場合、その値が加算されたものが合計幅になることに注意してください。div 内のエレメントの余白を削除し、さらにその div 内に、全体のデザインに必要な幅や余白を指定していない 2 つ目の div を追加することもできます。

*/
.content {
	padding: 10px 0;
	width: 75%;
	margin: 0 auto;
}
.toph2 {
	text-align: center;
	margin: 30px auto;
	width: 80%;
}
.toph2 h2 {
	font-size: 2.5em;
	margin-bottom: 0;
	letter-spacing: 10px;
}
.h2line {
	width: 20%;
	border-top: 5px solid #6195c5;
	margin: 10px auto;
}
.fl {
	width: 50%;
	padding-right: 5px;
	float: left;
}
.fr {
	width: 50%;
	float: right;
	padding-left: 5px;
}
.fl img, .fr img {
	width: 100%;
}
.h3topl {
	width: 100%;
	padding-bottom: 10px;
	border-bottom: 1px solid #6095c7;
}
.h3topr {
	width: 100%;
	padding-bottom: 10px;
	border-bottom: 1px solid #eda31e;
}
.fieldl, .fieldr {
	list-style: none;
	padding: 0;
	width: 100%;
}
.fieldl li {
	width: 50%;
	float: left;
	border-bottom: 1px solid #d8e5ee;
	padding: 15px 0px;
}
.fieldr li {
	width: 50%;
	float: left;
	border-bottom: 1px solid #f7e9c2;
	padding: 15px 0px;
}
.fieldl li:before {
	content: ">";
	color: #6095c7;
	font-weight: bold;
	margin-right: 5px;
}
.fieldr li:before {
	content: ">";
	color: #eda31e;
	font-weight: bold;
	margin-right: 5px;
}
.bnr {
	width: calc(100%/3);
	text-align: center;
	float: left;
}

.bnr a img{
	max-width:100%;
	}

.news {
	background-color: #FFF;
	height: 390px;
	overflow-y: scroll;
	overflow-x: auto;
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
	margin-bottom: 30px;
	width:100%;
}


.news dl:nth-child(odd){
	background-color:#6095c787;
	}

.news dl dt {
	font-weight: bolder;
	padding: 10px;
	width: fit-content;
	display: flex;
	float:left;
}
/*.news dl dt:after{
	width:100%;
	content:"";
	border-top:1px solid #000;
	flex-grow: 1;
	}*/
	
.title-border {
	display: flex;
	width:83%;
	float:right;
	margin:1em;
}
.title-border:after {
	border-top: 1px solid;
	content: "";
	flex-grow: 1;
}

.news dl dd {
	margin-left: 0;
	padding: 10px;
	text-align:left;
	float: left;
	clear:both;
}

.foottel{
	float:left;
	width: 45%;
	}

.footinfo{
	float:right;
	width: 45%;
	}
	
.foottel img, .footinfo img{
	max-width:100%;
	}

.graybg {
	background-color: #f2f2f0;
}

.graybg .container{
	text-align:center;
	}

.blue{
	color:#6095c7;
	}
/* ~~ フッター ~~ */
.footer {
	padding: 10px 0;
	background-color: #6095c7;
	color: #FFF;
}

#navf {
	margin:3em auto;
	width:80%;
}
#navf li {
	float: left;
	width: calc(100%/5);
	list-style: none;
	font-size: 1.2em;
	border-left:1px solid #FFF;
	text-align:center;
}

#navf li:last-child{
	border-right:1px solid #FFF;
	}

#navf li a{
	color:#FFF;
	}
	
.footl{
	width:50%;
	float:left;
	padding:2em;
	}

.footr{
	width:50%;
	float:right;
	padding:2em;
	}
	
.footl ul li,.footr ul li{
	list-style:none;
	/*float:left;*/
	display: inline-flex;
    flex-wrap: wrap;
	justify-content:space-between;
	padding:0em 1em;
	border-left:1px solid #FFF;
	}
	
.footl ul li:first-child,.footr ul li:first-child{
	border-left:none;
	}

.footer2 {
	padding: 10px 0;
	background-color: #d9dbd8;
	color: #6095c7;
}

.footer2 div h2:after{
	border-bottom:none;
	}

/* ~~ その他の float/clear クラス ~~ */
.fltrt {  /* このクラスを使用すると、ページ内でエレメントを右にフローティングさせることができます。フローティングさせるエレメントは、ページ内で横に並べて表示するエレメントの前に指定する必要があります。 */
	float: right;
	margin-left: 8px;
}
.fltlft { /* このクラスを使用すると、ページ内でエレメントを左にフローティングさせることができます。フローティングさせるエレメントは、ページ内で横に並べて表示するエレメントの前に指定する必要があります。 */
	float: left;
	margin-right: 8px;
}
.clear { /* このクラスは、#footer が #container から削除されているか取り出されている場合に、<br /> または空の div で、フローティングさせる最後の div に続く最後のエレメントとして (#container 内に) 配置できます。 */
	clear: both;
	height: 0;
	font-size: 1px;
	line-height: 0px;
}

.privacy{
	text-indent:1.5em;
	}

.center{
	margin:0 auto;
	text-align:center;
	}
