@charset "utf-8";

@media (max-width: 599px) {
}

@media (min-width: 600px) and (max-width:959px) {
}

@media (min-width: 960px) {
}

@media (max-width: 480px) {
}

@media (min-width: 481px) and (max-width:768px) {
}

@media (min-width: 769px) and (max-width:959px) {
}

@media (min-width: 960px) {
}

@media (min-width: 768px) and (max-width:896px) {
}

@media (min-width: 897px) and (max-width:959px) {
}


/* ---------------------------------------- video */
@media (max-width: 560px) {
	#outline iframe {
		top: 0;
		left: 0;
		width: 300px;
		height: 170px;
	}
}

/* ---------------------------------------- common */
table.tablepress-id-1 .column-1 {
	width: 12em;
	min-width: 10em;
	white-space: nowrap;
}

table.tablepress-id-1 ul li {
/*	margin-left: 10px;*/
	margin-right: 15px;
	padding: 15px 0;
	background: url(../images/common/border-brown2.png) repeat-x top left;
	line-height: 2;
	position: relative;
}
table.tablepress-id-1 ul li:first-child {
	padding-top: 0;
	background: none;
}
table.tablepress-id-1 ul li.first-child {
	padding-top: 0;
	background: none;
}
table.tablepress-id-1 ul li:last-child {
	padding-bottom: 0;
}

#outline > article > h3 {
	color: #fff;
	background: #BD945D;
	text-align: center;
	padding: 1em;
}

.flex-item-center,
.marks {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-align-items: center;
	-ms-align-items: center;
	align-items: center;
}

.flex-item-center li { margin: 0 1em 1em; }
.flex-item-center li a { display: block; }
.flex-item-center li i { margin: 0 .5em 0 0; }
.page-menu .current { color: #C72C32; }

.marks figure:first-child { 
	width: 25%;
	max-width: 169px;
	margin: 0 1em 0 0; 
}
.marks figure:last-child { 
	width: 20%;
	max-width: 132px;
	margin: 0 1em 0 0; 
}

#all-happy  {
	padding:70px 0;
	background: url("../images/company/philosophy/philosophy-back.jpg") no-repeat top center;
	background-size: cover;
	margin: 0;
}

#all-happy .inside {
	background-color: rgba(256,256,256,0.9);
	margin:0 auto;
}
#all-happy .inside h3 {
	text-align: center;
}

@media (max-width: 480px) {
	#all-happy .inside {
		width: 90%;
		padding: 3em;
	}
}

@media (min-width: 481px) and (max-width:768px) {
	#all-happy .inside {
		width: 80%;
		max-width: 600px;
		padding: 4em;
	}
}

@media (min-width: 769px) and (max-width:959px) {
	#all-happy .inside {
		width: 60%;
		max-width: 608px;
		padding: 5em;
	}
}

@media (min-width: 960px) {
	#all-happy .inside {
		width: 608px;
		padding: 6em;
	}
}

/* ---------------------------------------- table */

.table-item {
	display: table;
	table-layout: fixed;
	width: 100%;
}
.table-item + .table-item {
	border-top: 1px var(--cell-border-color) dashed;
	margin: 1em 0 0;
}
.table-item > * {
	display: table-cell;
	vertical-align: middle;
}
.table-item + .table-item > * {
	padding: 1em 0 0;
}
.table-item > div { 
	width: 20%; 
	text-align: right;
}
.table-item > div .pagelink { 
	padding: .5em 1.5em;
	margin: 0; 
}

/* ---------------------------------------- profile */

.profile {
	border: 1px solid #edd9bd;
	line-height: 1.6;
}
.profile h3 {
	color: #bc9155;
	margin: 0 0 .5em;
}
.profile p a {
	color: blue;
	text-decoration: underline;
}

@media (max-width: 480px) {
	.profile h3 { font-size: 1.4rem; }
}

@media (min-width: 481px) and (max-width:768px) {
	.profile h3 { font-size: 1.6rem; }
}

@media (min-width: 769px) and (max-width:959px) {
	.profile h3 { font-size: 1.8rem; }
}

@media (min-width: 960px) {
	.profile h3 { font-size: 2.0rem; }
}

.mess .detail + .detail { text-align: right; }


@media (max-width:768px) {
	.profile {
	    display: -webkit-box;
	    display: -ms-flexbox;
	    display: flex;
		-ms-flex-wrap: nowrap;
		flex-wrap: nowrap;
		-webkit-box-pack: justify;
		-ms-flex-pack: justify;
		justify-content: space-between;
		-webkit-align-items: center;
		-ms-align-items: center;
		align-items: center;
		margin: 0 0 3em;
	}
	.profile .detail { padding: 1.25em; }
	.mess .detail + .detail img {
		width: 30%;
		min-width: 180px;
		max-width: 229px;
	}
}

@media (min-width: 769px) {
	#president {
	    display: -webkit-box;
	    display: -ms-flexbox;
	    display: flex;
		-ms-flex-wrap: nowrap;
		flex-wrap: nowrap;
		-webkit-box-pack: justify;
		-ms-flex-pack: justify;
		justify-content: space-between;
		-webkit-align-items: start;
		-ms-align-items: start;
		align-items: start;
	}
	#president .profile { width: 31.5%; }
	#president .mess { width: 62%; }
	#president .profile .detail {
		border-top: 1px solid #edd9bd;
		padding: 1.5em;
	}
}


/* ---------------------------------------- display-flex */
div.display-flex a {
    display: inline-block;
    color: #fff;
    background: #C72C32;
    line-height: 1.4;
    padding: 1em 2em;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    position: relative;
	margin:0 10px 50px;
}

div.display-flex a::after {
    font-family: 'FontAwesome';
    content: "\f105";
    position: absolute;
    top: 50%;
    right: .5em;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

div.display-flex ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

/* ---------------------------------------- contact */
main { padding: 0; }

#contact { 
	text-align: center; 
	padding: 4em 0;
	margin: 0;

}
#contact h3 { margin: 1em 0 1.5em; }

@media (max-width: 599px) {
	#contact .methods a h4,
	#contact .methods a.letter { font-size: 1.6rem; }
}

@media (min-width: 600px) and (max-width:768px) {
	#contact .methods a h4,
	#contact .methods a.letter { font-size: 1.8rem; }
}

@media (min-width: 769px) and (max-width:959px) {
	#contact .methods a h4,
	#contact .methods a.letter { font-size: 2.0rem; }
}

@media (min-width: 960px) {
	#contact .methods a h4,
	#contact .methods a.letter { font-size: 2.2rem; }
}

@media (max-width:767px) {
	#contact .methods > a {
		display: block;
		padding: 1.25em;
		align-self: center;
	}
	#contact .methods .letter { margin: 1em 0 0; }
}
@media (min-width: 768px) {
	#contact .methods {
	    display: -webkit-box;
	    display: -ms-flexbox;
	    display: flex;
		-ms-flex-wrap: nowrap;
		flex-wrap: nowrap;
		-webkit-box-pack: justify;
		-ms-flex-pack: justify;
		justify-content: space-between;
	}
	#contact .methods > a {
		padding: 1.25em;
		width: 49%;
		align-self: center;
	}
}

#contact .methods a h4,
#contact .methods a h4 span,
#contact .methods a.letter { font-weight: bold; }
#contact .methods a h4 { margin: 0; }
#contact .methods a h4 span { color: #d34141; }
#contact .methods > a:first-child {
	border: 1px solid #707070;
}
#contact .methods > a:last-child {
	color: #fff;
	background: #c9a063;
}
#contact .methods img { 
	height: 1em; 
	vertical-align: text-bottom;
}
#contact .methods a h4 img { margin: 0 .2em 0 .5em; }
#contact .methods .letter img { margin: 0 .5em 0 0; }
#contact .methods a:hover { opacity: .5; }


/* ---------------------------------------- contact2 */

#contact2 {
	background: url( ../images/labor/spot/bg.jpg ) no-repeat center center;
	background-size: cover;
	padding: 3em 0;
}
#contact2 .inside {
	background: rgba(255,255,255,0.8);
    padding: 2em;
}
#contact2 .inside h3 { text-align: center; }
#contact2 .inside h3 span { 
	color: #e30920; 
	font-weight: bold;
}
#contact2 .detail { border: 4px solid #e30920; }
#contact2 .detail h4 {
	color: #fff;
	background: #e30920;
    text-align: center;
	padding: 1em;
	margin: 0;
}
#contact2 .detail .subdivision {
	border: 4px solid #e30920;
	padding: 1em 1.5em;
	margin: 4px;
}
#contact2 .subdivision .page-link,
#contact2 .subdivision .tel-link { margin: 0 0 1em; }

#contact2 .subdivision .page-link ul li a { 
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	color: #fff;
	background: #e30920; 
	line-height: 1.4;
	padding: .9em 1em;
	box-shadow: 0px 2px 4px 0px rgb(0, 0, 0, .2);
}
#contact2 .subdivision .page-link ul li a span { font-weight: bold; }
#contact2 .subdivision .page-link ul li a img {
	position: relative;
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	margin: 0 .5em 0 0;
}

#contact2 .subdivision dl {
	background: #fff;
	border: 1px #ccc solid;
	text-align: center;
	line-height: 1.5;
	padding: 2em;
}
#contact2 .tel-link dl dd { margin: 0 .5em; }
#contact2 .tel-link dl dt,
#contact2 .tel-link dl dd span,
#contact2 .tel-link dl dd strong { font-weight: bold; }
#contact2 .tel-link dl dt { margin: 0 0 .5em; }
#contact2 .tel-link dl dd strong { color: #e30920; }
#contact2 .tel-link dl dd img {
	width: 1em;
	vertical-align: text-bottom;
	margin: 0 4px;
}

#contact2 .sns-links li { font-weight: bold; }
#contact2 .sns-links .icon {
	display: block;
	color: #fff;
	text-align: center;
	line-height: 1;
	padding: 1em;
}
#contact2 .sns-links li { margin: 0 .25em; }

.is-facebook { background-color: #204989; }
.is-youtube { background-color: #FF0000; }
.is-twitter { background-color: #1DA1F2; }
.is-linkedin { background-color: #2867B2; }

#contact2 .sns-links ul {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-align-items: center;
	-ms-align-items: center;
	align-items: center;
}

@media (max-width: 767px) {
	#contact2 .page-link ul li + li { margin: 1em 0 0; }
	#contact2 .sns-links ul li { margin: 0 .5em 1em; }
}

@media (min-width: 768px) {
	#contact2 .page-link ul {
	    display: -webkit-box;
	    display: -ms-flexbox;
	    display: flex;
		-webkit-box-pack: justify;
		-ms-flex-pack: justify;
		justify-content: space-between;
	}
	#contact2 .page-link ul li { width: 32%; }
	
	#contact2 .tel-link dl {
	    display: -webkit-box;
	    display: -ms-flexbox;
	    display: flex;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
	}
	#contact2 .tel-link dl dt { width: 100%; }
}

@media (max-width: 480px) {
	#contact2 .inside h3 { font-size: 1.8rem; }
	#contact2 .subdivision h5 { font-size: 1.4rem; }
	#contact2 .page-link ul li a { font-size: 1.6rem; }
	#contact2 .subdivision dl { padding: 2em 1em; }
	#contact2 .tel-link dl dt,
	#contact2 .tel-link dl dd span { font-size: 1.4rem; }
	#contact2 .tel-link dl dd strong { font-size: 1.8rem; }
	#contact2 .sns-links li { font-size: 1.5rem; }
	#contact2 .tel-link dt span { display: block; }
}

@media (min-width: 481px) and (max-width:599px) {
	#contact2 .inside h3 { font-size: 2.0rem; }
	#contact2 .subdivision h5 { font-size: 1.6rem; }
	#contact2 .page-link ul li a { font-size: 1.6rem; }
	#contact2 .tel-link dl dt,
	#contact2 .tel-link dl dd span { font-size: 1.6rem; }
	#contact2 .tel-link dl dd strong { font-size: 2.4rem; }
	#contact2 .sns-links li { font-size: 1.8rem; }
	#contact2 .tel-link dt span { display: block; }
}

@media (min-width: 600px) and (max-width:768px) {
	#contact2 .inside h3 { font-size: 2.4rem; }
	#contact2 .subdivision h5 { font-size: 1.6rem; }
	#contact2 .page-link ul li a { font-size: 1.6rem; }
	#contact2 .tel-link dl dt,
	#contact2 .tel-link dl dd span { font-size: 1.6rem; }
	#contact2 .tel-link dl dd strong { font-size: 2.4rem; }
	#contact2 .sns-links li { font-size: 1.6rem; }
	#contact2 .tel-link dt span { display: block; }
}

@media (min-width: 769px) and (max-width:959px) {
	#contact2 .inside h3 { font-size: 2.8rem; }
	#contact2 .detail h4 { font-size: 1.8rem; }
	#contact2 .page-link ul li a { font-size: 1.6rem; }
	#contact2 .tel-link dl dt,
	#contact2 .tel-link dl dd span { font-size: 1.8rem; }
	#contact2 .tel-link dl dd strong { font-size: 2.8rem; }
	#contact2 .sns-links li { font-size: 1.8rem; }
	#contact2 .tel-link dt span { display: block; }
}

@media (min-width: 960px) {
	#contact2 .inside h3 { font-size: 3.2rem; }
	#contact2 .detail h4 { font-size: 2.0rem; }
	#contact2 .page-link ul li a { font-size: 2.0rem; }
	#contact2 .tel-link dl dt,
	#contact2 .tel-link dl dd span { font-size: 1.8rem; }
	#contact2 .tel-link dl dd strong { font-size: 2.8rem; }
	#contact2 .sns-links li { font-size: 2.0rem; }
}