@charset "UTF-8";

/* micro clearfx 　これがないとconBが表示できない*/
.cf:before, .cf:after {
	content:"";
	display:table
}
.cf:after { clear:both }
.cf { zoom:1 } /* For IE 6/7 */

/* コンテンツA: タイトルイメージ */
.conA {
	background-image: url(../images/04_top.jpg);
	background-position: center top bottom 20px;
	background-size: 100%;
}
@media (max-width: 375px){
	.conA {
		background-position: center bottom -40px;
		background-size: 150%;
	}
}
/* contents */
.conB {
	background-color:black;
	padding-top:20px;
	padding-bottom:20px;
}
.t-bar {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	width: calc(100%);
	-webkit-box-align:center;
	-ms-flex-align:center;
	align-items:center;
	font-size:0;
	padding: 0;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 16px;
}
.t-bar .lc1{
	width:16px;
	height:34px;
	background-image: url(../images/bar01-a.png);
	background-size:16px 34px;
	background-position:left center;
}
.t-bar .lc2{
	color: #3f3e48;
	font-size:18px;
	width: calc(100%);
	height:34px;
	padding-left:20px;
	line-height: 34px; /*textを上下中央に*/
	background-image: url(../images/bar01-b.png);
	background-size:3px 34px;
	background-position:left center;
	font-weight: bolder;
}
.t-bar .lc3{
	width:6px;
	height:34px;
	background-image: url(../images/bar01-c.png);
	background-size:6px 34px;
	background-position:left center;
}

.contents1 {
	color:white;
}
.contents1 h3 {
	font-size: 1.6em;
	font-weight: bold;
	text-align: center;
	margin-top: 30px;
	margin-bottom: 20px;
	line-height: 1.5em;
}
.contents1 table {
	width: 100%;
	margin-top: 10px;
	margin-bottom: 10px;
}
.contents1 th {
	width:30px;
	border:solid 1px #555;
	background-color:#222;
	padding:8px;
	font-size:1em;
	font-weight:bold;
	text-align:center;
	vertical-align: middle;
}
.contents1 td {
	border:solid 1px #555;
	padding: 8px 12px;
	font-size:1em;
	background-color:#333;
}
/*iPadで電話番号の自動リンク部分の表示を修正*/
.contents1 td a {
	color: white;
	text-decoration:none;
}

.contents1 .title01 {
	text-align:center;
	font-weight:bold;
	font-size:1.2em;
	background-color:#3d0202;
}
.contents1 .title01 span {
    -webkit-writing-mode: vertical-lr;
    -ms-writing-mode: tb-lr;
    writing-mode: vertical-lr;
}
/*-- スライドショー --*/
.main_imgBox {
	height: 500px;
	margin-top: 20px;
	overflow: hidden;
	position: relative;
}
.main_img {
	z-index:10;
	opacity: 0;
	width: 100%;
	height: 500px;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	position: absolute;
	left: 0;
	top: 0;
	-webkit-animation: anime 36s 0s infinite;
	animation: anime 36s 0s infinite;
}

.main_img:nth-of-type(2) {
	-webkit-animation-delay: 6s;
	animation-delay: 6s; 
}

.main_img:nth-of-type(3) {
	-webkit-animation-delay: 12s;
	animation-delay: 12s;
}

.main_img:nth-of-type(4) {
	-webkit-animation-delay: 18s;
	animation-delay: 18s;
}

.main_img:nth-of-type(5) {
	-webkit-animation-delay: 24s;
	animation-delay: 24s;
}

.main_img:nth-of-type(6) {
	-webkit-animation-delay: 30s;
	animation-delay: 30s;
}

.main_imgM {
	opacity: 0;
	width:100%;
	height:100%;
	-o-object-fit: cover;
	object-fit: cover;
	position: absolute;
	left: 0;
	top: 0;
	-webkit-animation: anime 36s 0s infinite;
	animation: anime 36s 0s infinite;
}

.main_imgM:nth-of-type(2) {
	-webkit-animation-delay: 6s;
	animation-delay: 6s;
}

.main_imgM:nth-of-type(3) {
	-webkit-animation-delay: 12s;
	animation-delay: 12s;
}

.main_imgM:nth-of-type(4) {
	-webkit-animation-delay: 18s;
	animation-delay: 18s;
}

.main_imgM:nth-of-type(5) {
	-webkit-animation-delay: 24s;
	animation-delay: 24s;
}

.main_imgM:nth-of-type(6) {
	-webkit-animation-delay: 30s;
	animation-delay: 30s;
}

@keyframes anime {
	0% {
		opacity: 0;
	}
	8% {
		opacity: 1;
	}
	17% {
		opacity: 1;
	}
	25% {
		opacity: 0;
		-webkit-transform: scale(1.2);
		transform: scale(1.2);
		z-index:9;
	}
	100% {
		opacity: 0;
	}
}

@-webkit-keyframes anime {
	0% {
		opacity: 0;
	}
	8% {
		opacity: 1;
	}
	17% {
		opacity: 1;
	}
	25% {
		opacity: 0;
		-webkit-transform: scale(1.2);
		z-index:9;
	}
	100% {
		opacity: 0
	}
}
/*-- スライドショー --ここまで --*/

.totop {
	clear:both;
	text-align:right;
	font-size:13px;
}
.totop a {
	text-decoration:none;
	color:white;
}
.totop a:hover {
	color:gold;
}

@media (min-width: 769px){
	.conB {
		max-width: 1000px;
		margin-left: auto;
		margin-right: auto;
	}
	.t-bar {
		width: calc(100% - 150px);
		margin-left: auto;
		margin-right: auto;
	}
	.contents1{
		margin-left: 75px;
		margin-right: 73px;
		line-height:2em;
	}
}

@media (min-width:708px) and (max-width: 768px){
	.t-bar {
		width: calc(100% - 140px);
		margin-left: auto;
		margin-right: auto;
	}
	.contents1{
		margin-left: 70px;
		margin-right: 70px;
		line-height:1.8em;
	}
	.contents1 .logo-p {
		margin-right: 60px;
	}
	.contents1 ul li {
		margin-left: 20px;
	}
	.main_imgBox {
		height: 450px;
	}
	.footA {
		margin-left:30px;
	}
	.footB {
		margin-left: 27px;
	}
}

@media (max-width: 707px){
	.t-bar {
		width: calc(100% - 70px);
		margin-left: auto;
		margin-right: auto;
	}
	.contents1{
		margin-left: 35px;
		margin-right: 35px;
		line-height:1.8em;
	}
	.contents1 .logo-p {
		font-size: 0.8em;
		line-height: 1.4em;
	}
	.contents1 .logo-60b {
		float:left;
		width: 96px;
		height: auto;
		margin-top: 30px;
		margin-right: 20px;
		margin-left: 0px;
	}
	.contents1 ul li {
		margin-left: 20px;
	}
	.main_imgBox {
		height: 300px;
	}
}
