/*
Liveland top and slidar
*/

/* carousel slider ------------------ */

#carousel {
	width: 100%;
    height: 560px;
    position: relative;
}
.carousel-contents{
    position:relative;
}
.mainimg .item {
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	height: 560px;
	display: none;
}
.mainimg .item:first-child {
	display: block;
}

@media screen and (max-width: 767px) {
	#carousel,
	.mainimg .item {
		height: 300px;
	}
}
.mainimg .item img.slide {
	position: absolute;
	height: auto;
	left: 50%;
	max-width: 1000%;
	min-height: 100%;
	min-width: 100%;
	width: auto;
	top: 50%;
	padding-bottom: 1px;
	-ms-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-webkit-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}
/* For browsers that support 'object-fit' */
@supports ( object-fit: cover ) {
	.mainimg .item img.slide {
		height: 100%;
		left: 0;
		-o-object-fit: cover;
		object-fit: cover;
		top: 0;
		-ms-transform: none;
		-moz-transform: none;
		-webkit-transform: none;
		transform: none;
		width: 100%;
	}
}
/* IE11 */
@media all and (-ms-high-contrast:none) {
	*::-ms-backdrop,
	.mainimg .item img.slide {
		position: relative;
		width: 100%;
		height: auto;
		overflow: hidden;
	}
	.mainimg .item {
		vertical-align: middle;
		overflow: hidden;
	}
}
.top-txt {
	position: absolute;
	width: 100%;
	text-align: center;
	top: 130px;
		top: 50%;
		left: 50%;
		transform: translateY(-50%) translateX(-50%);
		-webkit- transform: translateY(-50%) translateX(-50%);
}
.top-txt img {
	max-width: 680px;
	height: auto;
}
@media (max-width:480px) {
	.top-txt img {
		max-width: 80%;
		height: auto;
	}
}
@media (min-width:481px) and (max-width: 767px) {
	.top-txt img {
		max-width: 80%;
		height: auto;
	}
}
ul.list-indicator{
	position: absolute;
	width: 100%;
    text-align:center;
	bottom: -10px;
}
ul.list-indicator li{
    display:inline-block;
    margin: 5px;
    height:12px;
    width:12px;
    background:#ccc;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	cursor: pointer;
}
ul.list-indicator li.current {
    background:#000;
}


/* top page ---------------------- */

.topinfo {
	text-align: center;
}
.topinfo .shozoku {
	display: inline-block;
	margin: 0 auto;
}
.topinfo .shozoku span {
	margin-left: 3em;
}
.topinfo span.left-margin {
	display: inline-block;
	margin-left: 5.25em;
}
@media (max-width: 767px) {
	.topinfo {
		text-align: left;
		font-size: 14px;
		line-height: 1.8em;
	}
	.topinfo br {
		display: none;
	}
}
#panel-1 {
	background-color: #f5f5f5;
}
.home #panel2 {
	background-color: #f5f5f5;
}
#banners {
	background-color: #f5f5f5;
}
#banners .wrap {
	max-width: 780px;
}
#panel-1 .wrap {
	max-width: 1200px;
}
#panel-1 .f-container div {
	text-align: center;
	width: 25%;
	padding: 16px 12px 18px;
	margin-bottom: 0;
	background: #ccc;
	font-size: 14px;
	line-height: 1.5;
}

#panel-1 .f-container div a:focus,
#panel-1 .f-container div a:hover,
#panel-1 .f-container div a:active {
	color: #008ae6;
}

#panel-1 .f-container div.even {
	background: #eee;
}
#panel-1 .f-container div h3 {
	font-size: 18px;
	margin: 0 0 0.25em;
}
.panel-content {
	padding-top: 20px;
	padding-bottom: 20px;
}
.panel-content h2.entry-title,
.panel-content h2 {
	font-size: 28px;
	text-align: center;
}
@media (max-width: 767px) {
	.panel-content {
		padding-top: 10px;
		padding-bottom: 10px;
	}
	.panel-content h2.entry-title {
		font-size: 20px;
		padding: 0;
	}
	.panel-content h2 {
		font-size: 20px;
	}
}

/* news ------------ */

.news {
	padding-top: 30px;
	max-width: 800px;
	margin: 0 auto 20px;
}.news h3 {
	color: #675c48;
	font-size: 20px;
	border-bottom: 4px solid #dcdcdc;
	line-height: 1.5;
	padding-bottom: 6px;
	letter-spacing: 6px;
}
.news h3 a {
	color: #675c48;
}
.news h3 a {
	color: #675c48;
}
.news ul,
.news li {
	list-style: none;
	font-size: 15px;
}
.news span {
	font-size: 12px;
	font-weight: normal;
}
.news li span {
	display: inline-block;
	width: 100px;
}

	.panel-content .entry-header h2.entry-title {
		font-size: 30px;
	}


/* contact ------------------------- */

.contactform {
	max-width: 860px;
	margin: 0 auto;
}
.contactform .red {
	font-size: 12px;
}
.contactform .forms th {
	background-color: #f5f5f5;
	padding: 0.25em 1em;
}
.contactform .forms textarea {
	height: 12em;;
}
.contactform .forms #zip,
.contactform .forms #pref,
.contactform .forms #tell,
.contactform .forms  #fax {
	width: 15em;
}
.contactform .forms .error {
	margin-top: 0.25em;
	color: #ff0000;
	font-size: 13px;
}
.contactform .send,
.contactform .edit {
	float: left;
	margin-right: 0.75em;
}
.contactform button {
	background-color: #005ce6;
}
.contactform .edit button {
	background-color: #222222;
}
.contactform input + button {
	padding: 1em 2em;
}
.contactform:after {
	content: "";
	display: table;
	clear: both;
}

/* 768px */
@media (max-width: 767px) {

#panel-1 .f-container div {
	width: 100%;
}
	#news1,
	#news2 {
		float: none;
		width: 100%;
	}
	#news1 {
		margin: 0 0 12px;
	}
.contactform .forms td {
	background-color: #f5f5f5;
}
	.contactform th,
	.contactform td {
		display: block;
	}
}
