@charset "UTF-8";
/* CSS Document */

.object-fit-img {
object-fit: cover;
font-family: 'object-fit: cover;'
}

#hero {
position: relative;
}
.slider li {
position: relative;
}
.slider li h2 {
position: absolute;
z-index: 2;
color: #fff;
font-weight: bold;
left: 5%;
line-height: 130%;
}
.slider li img {
position: relative;
z-index: 1;
}

#main {
position: relative;
z-index: 3;
}
#contentBox {
background: #fff;
}
#wrap {
max-width: 1280px;
margin: 0 auto;
}

#message {
width: 90%;
max-width: 960px;
margin: 0 auto;
color: #fff;
}
#message h2 {
text-align: center;
font-weight: bold;
}

.top-link {
position: relative;
z-index: 3;
}
.box h3, #news h3 {
text-align: center;
}

#news ul {
list-style-type: square;
display: table;
margin: 0 auto;
}
#workContent .box ul {
display: table;
margin: 0 auto;
list-style-type: square;
padding-left: 20px;
}
#recruiting p {
display: table;
margin: 0 auto;
}
#maps iframe {
width: 100%;
height: 100%;
vertical-align: bottom;
}
#address {
background: #020202;
color: #fff;
}
#address a.btn {
background: #fff;
color: #020202;
}

@media screen and (max-width:560px){
.slider li h2 {
top: 20px;
font-size: 2rem;
width: 90%;
}

#message {
padding-bottom: 80px;
}
#message h2 {
font-size: 2.2rem;
padding-bottom: 20px;
}
#message p {
font-size: 1.4rem;
line-height: 150%;
}

#workContent, #recruiting {
padding-bottom: 30px;
}
#workContent img, #recruiting img {
padding-bottom: 20px;
}
#address {
padding: 30px 0;
}
.box, .box-img, .box-img  {
padding-bottom: 10px;
}
.box h3, #news h3 {
font-size: 2rem;
padding-bottom: 10px;
}
#news ul, .box ul, .box p, .box address {
padding-bottom: 20px;
}
#news {
padding-bottom: 50px;
}
#news ul li {
padding-bottom: 10px;
}
#news ul li time {
display: block;
font-size: 0.8em;
}
#workContent .box {
margin-bottom: 40px;
}
#workContent .box ul li {
font-size: 1.3rem;
}
#maps iframe {
height: 50vh;
}
#address address {
font-size: 1.4rem;
display: table;
margin: 0 auto;
}
}

@media screen and (min-width:561px){
#workContent, #recruiting, #bottom {
display: flex;
}
#workContent {
flex-direction: row-reverse;
}
#workContent img, #recruiting img {
width: 50%;
}
#workContent .box, #recruiting .box,  #bottom > div {
width: 50%;
display: flex;
justify-content: center;
align-items: center;
}
#news ul li time {
padding-right: 5px;
}
}

@media (min-width:561px) and (max-width:959px){
.slider li h2 {
bottom: 100px;
font-size: 3.6rem;
}

#message {
padding-bottom: 100px;
}
#message h2 {
font-size: 2.6rem;
padding-bottom: 30px;
}
#message p {
font-size: 1.6rem;
line-height: 180%;
}

#news {
padding-bottom: 80px;
}
#workContent .box, #recruiting .box, #address {
height: 300px;
}
.box h3, #news h3 {
font-size: 2.4rem;
padding-bottom: 16px;
}
#news ul, .box ul, .box p, .box address {
padding-bottom: 24px;
}

#workContent .box ul li {
font-size: 1.4rem;
}
}

@media screen and (min-width:960px){
.slider li h2 {
bottom: 150px;
font-size: 5rem;
}

#message {
padding-bottom: 200px;
}
#message h2 {
font-size: 3.0rem;
padding-bottom: 40px;
}
#message p {
font-size: 1.8rem;
line-height: 200%;
}

#news {
padding-bottom: 100px;
}
#workContent .box, #recruiting .box, #address {
height: 350px;
}
.box h3, #news h3 {
font-size: 2.8rem;
padding-bottom: 20px;
}
#news ul, .box ul, .box p, .box address {
padding-bottom: 30px;
}
}