﻿/* ======================================== サイト全体に適用*/
* { /* 全ての要素の間隔・余白を０へ */
margin:0;
padding:0;
}


body {
	margin: 0;
	font-size: 96%;
	color: #333;
	text-align: center;
	background-color: #ffffff;
	background-image: 
	background-repeat: repeat-x;
}

p, /* 文章の行間を指定 */
#main ul,
#main ol,
#menuL ul,
#menuL ol,
dl
{
	line-height: 160%;
}



/* ========================================  #page ページ外枠 */
#page {
	width: 1100px;
	padding: 10px;
	margin: 30px auto 0px;

	text-align: left;
	background-color: #FFFFFF;
}

/* ========================================  #header 画面上部 */
#header {
	padding: 10px 0 0 0px;
	margin: 0;
}


#headerinfo { /* ヘッダー右上の文字スペース */
	text-align: right;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}


#header #header_title {/* ヘッダー左上のタイトルスペース */
	float: left;
	font-size: 0px;
	color: #666666;
	font-weight: bold;
	margin: 0px 0px 5px;
	padding: 0px;
        width: 560px;
	height: 60px;
        background-image: url(img/kenko-title.png);
}

#header #headerborder {
	clear: both; 
	margin: 2px 0 5px;
	border-top: 5px solid #880000;
	border-right: 0px solid #CCCCCC;
	border-left: 0px solid #CCCCCC;
}

#header #headerimg {
	clear: both;
         width: 1100px; 
	height: 300px;
	margin: 0 auto;
	
}


#header #headerimg #msg { /* ヘッダー内メッセージ */
	color:#999999;
	margin:60px auto auto;
	text-align:center;
	font-size: 24px;
	font-weight: bold;
}


#header img {
	border: none;
}


.content {
  width: 500px;
  height: 300px;
}
.content:nth-child(1) {
  background-image:url(img/top-slide.jpg);
  Background-size:500px 300px;
  Margin: 10px;
}
.content:nth-child(2) {
  background-image:url(img/top-slide2.jpg);
  Background-size: 500px 300px;
  Margin: 10px;
}
.content:nth-child(3) {
  background-image:url(img/top-slide3.jpg);
  Background-size: 500px 300px;
  Margin: 10px;
}


.content:nth-child(4) {
  background-image:url(img/top-slide4.jpg);
  Background-size: 500px 300px;
  Margin: 10px;
}


.content:nth-child(5) {
  background-image:url(img/top-slide5.jpg);
  Background-size: 500px 300px;
  Margin: 10px;
}


.content:nth-child(6) {
  background-image:url(img/top-slide6.jpg);
  Background-size: 500px 300px;
  Margin: 10px;
}/* スライドレールの枠 */
.wrap {
  overflow: hidden;
  display: flex;
  align-items: center;
  height: 340px;
  margin-bottom: 100px;
}
/* content4つをまとめたスライドブロック */
.slideshow {
  display: flex;
  -webkit-animation: loop-slide 20s infinite linear 1s both;
  animation: loop-slide 30s infinite linear 1s both;
}
@-webkit-keyframes loop-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
@keyframes loop-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
/* ホバー時に動きを止める（パターン2・3）*/
.slide-paused:hover .slideshow {
  -webkit-animation-play-state: paused;
  animation-play-state: paused;
}



}/* ========================================  #menu 上部メニュー */
#menu {
	border-right: 1px solid #CCCCCC;
	border-left: 1px solid #CCCCCC;
}


ul.menu_f01{
	height: 40px;
	margin: 50px 0px 0px 0px;
	border-top: 1px solid #880000;
	border-bottom: 5px solid #880000;
	background-color: #cc0000;
	list-style-type: none;
}


ul.menu_f01 li{
	float: left;
	border-right: 1px solid #880000;
	display: block;
}


ul.menu_f01 li a{
	height: 25px;
	width: 130px;
	padding: 15px 0px 0px;
	border-bottom: 5px solid #880000;
	font-size: 14px;
	font-weight: bold;
	color: #ffffff;
	text-decoration: none;
	display: block;
	text-align: center;
	background-color: #cc0000;
}


ul.menu_f01 li a.nowthis{
	border-bottom: 5px solid #CC6666!important;
}



ul.menu_f01 li a:hover , ul.menu_f01 li a.nowthis{
	padding: 15px 0px 0px;
	border-bottom: 5px solid #CC6666;
	background-color: #E8E8E8;
}


/* ======================================== #contents 画面中央部 #mainとサイドメニューの外枠 */
#contents{
	padding: 15px 0px 0px;
	margin: 0px;
	background-color: #FFFFFF;
	background-image: 
	background-position: top;
	background-repeat: repeat-x;
}


/* ========================================  #main ページの本文 */
#main {
	float: right;
	width: 800px;
	padding: 0;
	margin: 10px 30px 0 0px;
	background-color: #FFF;
}


.contentswrap { /* #main中の間隔調整 */
	margin:0 10px 15px;
	padding:0;
}

#breadNavi {
	height: 50px;
	padding: 15px 0 0 2px;
	margin: 5px 0 20px;
}


#main h1 { /* 本文の見出し */
	background-image:url(img/kenko-bar1.png);
	background-repeat:no-repeat;
	clear:left;
	color:#FFF;
	font-size:18px;
	height:50px;
	margin:0;
	padding:16px 0 0 20px;
}


#main h2 { /* 本文の見出し2 */
	background-image:url(img/kenko-back.png);
	background-position:left top;
	background-repeat:no-repeat;
	border-bottom:1px solid #999999;
	border-top:1px solid #999999;
	clear:left;
	color:#333;
	font-size:16px;
	margin:10px 0 1.5em ;
	padding:10px 0 5px 40px;
	height: 27px;
}


#main h3 { /* 本文の見出し3 */
	margin:0.5em 0;
	background-color: #F6F6F6;
	border-left: 5px solid #336699;
	padding: 3px 0px 3px 5px;
	font-size: 96%;
	border-bottom: 1px solid #CCCCCC;
}

#main h4 { /* 本文の見出し4 */
	background-image:url(img/kenko-back.png);
	background-position:left top;
	background-repeat:no-repeat;
	border-bottom:1px solid #999999;
	border-top:1px solid #999999;
	clear:left;
	color:#333;
	font-size:16px;
	margin:10px 0 1.5em ;
	padding:10px 0 5px 40px;
	height: 27px;
	width: 750px;
}

#main p { /* 本文の段落 */
	margin:0 2px 1.5em 5px;
}


#main ul , #main ol{ /* リスト表示 */
	margin:1em 20px 2em 40px;
	padding-left:25px;
}


#main dl { /* 定義リスト表示 */
	margin:1em 0 1em 30px;
	padding:0 0 10px;
}


#main dt {
	float: left;
	clear: left;
	margin: 0 20px 0px 0;
	font-weight: 700;
}


#main dd {
	padding: 0 0 0 10px;
	margin: 0;
}


#main dd.link {
	margin: 0 0 0 100px;
	border-left: 1px solid #CCCCCC;
}


#main #subnavi {
	clear: both;
	padding: 10px 0;
	margin: 20px 0 10px;
	border-top: 1px dashed #999;
	text-align: right;
}


#main .img { /* 図・写真用クラス：写真のような枠をつける */
	background-color:#CCC;
	border:1px solid #999;
	margin:0 0 20px 20px;
	padding:5px;
}

.toInfo {
	clear: left;
	margin: 0px !important;
	text-align: center;
	list-style-type: none;
}


.toInfo a {
	padding: 0px 0px 0px 20px;
	background-image: url(img/iconYa04.png);
	background-repeat: no-repeat;
}



/* ========================================  menuL 左サイドメニュー */
#menuL {
	float: left;
	clear: left;
	width: 220px;
	padding: 0;
	margin: 10px 0;
	color: #FFF;
}


.menuInfo { /* サイドボックス内のメッセージボックス */
	background-image:url(img/cor230.gif);
	background-repeat:no-repeat;
	color:#333;
	margin:10px 0 0;
	padding:1px 0;
}


.menuInfo p {
	padding: 0 0 0 10px;
	margin: 1em 10px 1em 5px;
}


.subinfo {　/* サイドボックのメニュー */
	margin:0 0 10px;
	background-image: 
	margin: 0px 0px 3px;
}


.subinfo .label { /* サイドボックのメニュー:ラベル */
	padding:3px 0px 0px 10px;
	color: #FFFFFF;
	font-weight: bold;
	background-image: url(img/kenko-sidebar.png);
	background-repeat: no-repeat;
	background-position: left top;
	margin: 0px;
	height: 28px;
}


.subinfo ul{ /* サイドボックのメニュー:リスト */
	margin: 0px;
}


.subinfo li {
	padding: 5px 10px;
	border-bottom: 1px solid #CCCCCC;
	border-left: 7px solid #CCCCCC;
	text-decoration: none;
	color:#333;
	font-size: 80%;
	display: block;
	
}


.subinfo li a{
	padding: 0px;
	margin: 1px 0px 0px;
	font-size: 70%;
	color: #666666;
	list-style-type: none;
}


.subinfo li a:hover{
	border-left: 7px solid #CC6666;
	color: #FF6699;
	background-color: #F3F3F3;
}


.banner { /* サブメニュー内のバナー画像スペース */
	margin: 0px 0px 5px;
	width: 220px;
}


/* ========================================  #underNavi 画面下部サブナビゲーション */
#underNavi{
	clear: both;
	padding: 10px;
	border-top: 1px solid #CCCCCC;
}


/* ========================================  #footer 画面下部 */
#footer {
	clear: both;
	margin: 0px;
	border-top: 5px solid #999999;
	border-bottom: 1px solid #666;
	text-align: center;
	background-color: #FFF;
	background-image: url(img/backS001.png);
}


#footer p {
	padding-top: 10px;
	padding-bottom: 10px;
}


/* ========================================  #templatelink 画面下部:著作リンク */
#templatelink {
	padding: 5px 0px;
	margin: 0px;
	font-size: 12px;
	text-align: right;
}


#templatelink a{
	color: #666666;
	text-decoration: none;
}


/* ========================================  そのほか個別設定 */
#newsbox {
	width: 650px;
	height: 150px;
	margin: 0px 0px 10px;
	overflow: auto;
	border: 1px solid #999999;
	background-image: url(img/backS001.png);
	background-position: left top;
	background-repeat: repeat-x;
}


.table, /* 表の整形・配色 */


.table {
	width: 650px;
	align: center;
	border-collapse: collaps;
	border: 0.5px solid #999;
	
}


.td {
	height: 40px;
	text-align: center;
	cell-padding: 10px;
	border-top: 0.5px dashed #999;
	
}

.td2 {
	height: 40px;
	text-align: center;
	cell-padding: 10px;
	border-collapse: collaps;
	
	
}

.td3 {
	height: 40px;
	text-align: center;
	cell-padding: 10px;
	border-left: 0.5px dashed #999;
	border-right: 0.5px dashed #999;
	border-top: 0.5px dashed #999;
}

.td4 {
	height: 40px;
	text-align: center;
	cell-padding: 10px;
	border-left: 0.5px dashed #999;
	border-right: 0.5px dashed #999;
}

.td5 {
	padding: 10px;
}

.th {
	width: 275px;
	height: 60px;
	background-color: #cc0000;
	color: #FFFFFF;
	text-align: center;
	border-collapse: collaps;
	border-right: 0.5px solid #fff;
}

.th2 {
	width: 275px;
	height: 60px;
	background-color: #cc0000;
	color: #FFFFFF;
	text-align: center;
	border-collapse: collaps;
	border-left: 0.5px solid #fff;
}

.th3 {
	width: 150px;
	height: 40px;
	background-color: #cc0000;
	color: #FFFFFF;
	text-align: center;
	border-collapse: collaps;
	
}





.itemList { /* .itemList #main内の段組用外枠 */
	clear:left;
	margin:0 0 1em;
	width:800px;
}


.box { /* .itemList #main内の段組用内枠 */

	margin:0 10px 5px 0;
        padding:0px 0px 0px 20px;
	width:290px;
}


.box h2 {
	margin: 0 20 0px;
}


.box ul {
	float: left;
	width: 290px;
	margin: 0 0 30px !important;
	list-style-position: outside;
}


.eyeCaImg { /* .itemList #main内の段組用：アイキャッチ画像 */
	float:left;
	margin:0 0 10px 2px;
}


strong {
	font-weight: bold;
	color: #CC6666;
}


hr { /* 水平線 flotクリア用 */
	clear:both;
	color: #CCCCCC;
	border: 1px solid #CCCCCC;
	margin: 0px;
	padding: 0px;
}




@media(min-width:950px),print{}
@media(max-width:850px) and only screen{}
@media(max-width:750px) and only screen{}
