/*
Theme Name:hachidori-work
Template:twentyseventeen
Version:2.3
*/

html,body{
	margin:0;
	padding:0;
}
body{
	font-family:'itc-avant-garde-gothic-pro' , 'Noto Sans JP', sans-serif;
	background:#333333;
	color:#ffffff;
	font-size:14px;
	-webkit-text-size-adjust: 100%;
	font-weight:500;
	line-height:1.8em;
}
@media (max-width: 750px){
	body{
		font-size:16px;
		line-height:1.8em;
	}
}
	.pc_only{
		display:inline;
	}	

	.sp_only{
		display:none;
	}	
@media (max-width: 750px){
	.pc_only{
		display:none;
	}	
	.sp_only{
		display:inline;
	}	
}
/* iOSでのデフォルトスタイルをリセット */
input[type="submit"],
input[type="button"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="submit"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}

.clearfix{
	clear:both;
}

a{
	color:#1191ea;
	cursor:pointer;
	text-decoration:none;
}
h2{
	position: relative;
	color:#1191ea;
	font-size:2.4em;
	font-weight:100;
	text-align:center;
	margin-bottom:1.5em;
}
	h2:before {
		content: '';
		position: absolute;
		bottom: -20px;
		display: inline-block;
		width: 60px;
		height: 3px;
		left: 50%;
		-webkit-transform: translateX(-50%);
		transform: translateX(-50%);
		background-color: #1191ea;
		border-radius: 2px;
	}
strong{
	color:#1191ea;
}
@media (max-width: 750px){
	h3{
		font-size:1.1em;
		text-align:center;
	}
}

.center{text-align:center;}

/* ======================
	header
====================== */
header.header{
	position:fixed;
	display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
	z-index:9999;
	top:0;
	left:0;
	box-shadow:0 1px 5px rgba(0,0,0,0.5);
	background:#000;
	width:100%;
	height:50px;
	margin:auto;
}
	header.header img.logo{
		height:50px;
	}
	header.header a.contact{
		position:relative;
		display: block;
		text-align:center;
		text-decoration:none;
		width:210px;
		height:50px;
	}
		header.header .contact span{
			position:absolute;
			top:0;
			right:0;
			bottom:0;
			left:0;
			margin:0;
		}

@media (max-width: 750px){
	header.header{
		max-height:60px;
	}

	header.header .logo{
		width:100%;
	}
	header.header a.contact{
		max-height:	60px;
		padding:0 1em;
	}
	header.header .contact span{
		font-size:1em;
	}
	header.header a.contact{
		position:relative;
		display: block;
		text-align:center;
		text-decoration:none;
		width:50px;
		height:50px;
	}

}

/* ======================
	footer
====================== */
footer.footer{
	position:absolute;
	bottom:0;
	width:100%;
	z-index:1;
}
	footer.footer .copyright{
		background:#000000;
		font-size:0.9em;
		text-align:center;
		line-height:1.6em;
		padding:2em 0;
	}
@media (max-width: 750px){
	footer.footer .copyright{
		font-size:0.6em;
		padding-bottom:8em;
	}
}
/* ======================
	top(main)
====================== */
body.has-header-image .site-description{
	opacity:1;
}
.site-branding{
	position:relative;
}
	.site-branding .wrap{
		position:absolute;
		right:0;
		bottom:0;
		left:0;
		color:#FFF;
		text-align:left;
		width:1200px;
		max-width:1200px;
		height:180px;
		margin:auto;
		padding:0;
	}
		.site-branding-text{
			font-weight:600;
			margin-bottom:1em;
		}
		.site-branding .site-description{
			font-size:1.6em;
			font-weight:500;
			line-height:2.0em;
			margin-bottom:0;
		}
@media (max-width: 750px){
	.site-branding{
		position:relative;
	}
		.site-branding .wrap{
			bottom:2em;
			width: 75%;
			height:auto;
			margin:0 auto;
		}

}
/* ======================
	section background
====================== */
article{
	/*height:calc(100vh - 120px);*/
	padding:60px 0;	
}
	section{
		max-width:1000px;
		margin:auto;
	}
		article.bg_gr{
			background:#333;
		}
		article.bg_wh{
			background:#000000;
		}
		article.bg_img{
			background:url(../../../images/bg.jpg);
			background-size: cover;
		}
		article.bg_img2{
			background:url(../../../images/bg2.jpg);
			background-size: cover;
			background-position:50% 35%;
		}

			article.bg_img section,article.bg_img2 section{
				background:rgba(255,255,255,0.9);
				color:#4d4d4d;
				width:740px!important;
				height: auto;
				padding:100px 0;
			}
			article.bg_img section p{
				padding:2em;
			}
			article.bg_img2 section p{
				padding:0 2em;
			}

		article.contents section{
			width:94%;
		}
@media (max-width: 750px){
	article.bg_img section,article.bg_img2 section{
		background:rgba(255,255,255,0.9);
		padding:40px 0;
	}
}

article.contents{
	position:relative;
	width:100%;
}
	article.section{
		display:flex;
		-webkit-flex-direction:column;
		flex-direction:column;
		align-items: center;
		align-content:space-around;
	}

/* ======================
	top(contents)
====================== */
button, input[type="button"], input[type="submit"] {
    background-color:#1191ea;
}
.button{
	display:block;
	box-sizing:border-box;
	border-top:none;
	border-right:none;
	border-left:none;
	border-bottom:#0e74bb 5px solid!important;
	background-color:#1191ea;
	color:#FFF;
	font-size:1.4em;
	font-weight:700;
	text-align:center;
	max-width:240px;
	margin:auto;
	padding:.5em 0;
}
.button a{
	color:#FFF;
}
.button:hover{
	border:#1191ea 2.5px solid!important;
	background:none!important;
	color:#1191ea;
}
/*== message ==*/
.list{
	display:flex;
    -webkit-justify-content: center;
    justify-content: center;
	 align-items: center;
}
	.list div{
		width:40%;
	}
section.message .list .images{
	text-align:center;
}

/*== movie ==*/
section.movie .list{
	display:flex;
    -webkit-justify-content: space-around;
    justify-content: space-around;
	 align-items: center;
}
	section.movie .list div{
		background:#aaa;
		text-align:center;
		width:45%;
		height:280px;
	}
section.movie p{
	margin-bottom:60px;
}
@media (max-width: 750px){
	section.movie .list{
	   -webkit-flex-direction: column;
	   flex-direction: column;
	}
	section.movie .list div{
		width:100%;
		height:220px;
		margin-bottom:5px;
	}
}

/*== news ==*/
.news ul{
	list-style:none;
	text-align:center;
	margin:auto;
	padding:0;
}

/*== message2 ==*/
section.message2{
	text-align:center;
}
section.message2 .sp{
	display:none;
}
@media (max-width: 750px){
	section.message2 .sp{
		display:block;
	}
	article.bg_img section,article.bg_img2 section{
		width:94%!important;
		height:auto;
	}

}
/*== form ==*/
#formWrap {
	max-width:750px;
	margin:0 auto 80px auto;
	color:#555;
	line-height:120%;
	font-size:90%;
}
table.formTable{
	width:100%;
	margin:0 auto;
	border-collapse:collapse;
}
table.formTable td,table.formTable th{
	border:1px solid #ccc;
	padding:10px;
}
table.formTable th{
	width:30%;
	font-weight:normal;
	text-align:left;
}
input[type=submit]{
	cursor: pointer;
	max-width:240px;
	width:100%;
	margin-top:40px;
}
input[type=text]{
	max-width:340px;
	width:100%;
	padding:10px;
}

@media screen and (max-width:750px) {
body{
	font-size:0.8em;
	}
.mainimage .title {
    width: 90%;
    margin:auto;
}
.list{
	display:block;
}
	.list div{
		width:100%;
		height:auto;
	}
.bx-wrapper img {
    width: 100%;
}	
.bx-wrapper .bx-controls-direction a {
    top: 30%!important;
}
.bx-wrapper .bx-prev {
    left: 0px;
    background: url(wp/images/controls.png) no-repeat 0 -32px!important;
}
.bx-wrapper .bx-next {
    right: 0px;
    background: url(wp/images/controls.png) no-repeat -43px -32px!important;
}
#formWrap {
	width:95%;
	margin:0 auto;
}
table.formTable th, table.formTable td {
	border:none;
	width:auto;
	display:block;
}
table.formTable th {
	margin-top:5px;
	border-bottom:0;
}
input[type="text"], textarea {
	border:1px solid #ccc;
	width:90%;
	padding:5px;
	font-size:110%;
	display:block;
}

}


.twentyseventeen-front-page article:not(.has-post-thumbnail):not(:first-child) {
    border-top: none;
}
.blocks-gallery-grid .blocks-gallery-image, .blocks-gallery-grid .blocks-gallery-item, .wp-block-gallery .blocks-gallery-image, .wp-block-gallery .blocks-gallery-item {
    width: calc((100% - 16px)/4);
}
.blocks-gallery-grid .blocks-gallery-image, .blocks-gallery-grid .blocks-gallery-item, .wp-block-gallery .blocks-gallery-image, .wp-block-gallery .blocks-gallery-item {
    margin: 0 0 16px 0;
}
.blocks-gallery-grid .blocks-gallery-image img, .blocks-gallery-grid .blocks-gallery-item img, .wp-block-gallery .blocks-gallery-image img, .wp-block-gallery .blocks-gallery-item img {
    max-width: 90%;
}