
/* CSS Document */

/*==================================================

top-contents
=================================================*/

.top-head-txt {
    font-size: 5.5rem;
    line-height: 130%;
    letter-spacing: .05em;
    font-family: 'Libre Caslon Text', serif;
}
.top-head-txt span {
    display: block;
    font-size: 1.5rem;
    font-family: 'Noto Serif JP', serif;
}
.top-sub-txt {
    font-size: 3rem;
    line-height: 200%;
    letter-spacing: .1em;
    font-family: 'Noto Serif JP', serif;
}

.top-image {
	width: 100%;
	position: relative;
    background-image: url("../../images/top_bg.jpg");
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 45px;
}
.top-image .photo {
	width: 100%;
	position: relative;
    margin-left: auto;
    margin-right: 0;
}
.top-image .top-title {
	width: 80%;
    max-width: 820px;
	position: absolute;
    text-align: center;
    top: 50%;
	left: 50%;
    -webkit-transform: translate(-50%, -50%); 
    transform: translate(-50%, -50%);
	z-index: 1;
}
.top-image .top-title p {
    display: inline-block;
    color: #FFF;
	text-align: center;
    border: 1px solid #FFF;
    margin-top: 5%;
    padding: 10px 2.5em;
}
.top-image img {
	width: 100%;
	max-width: 100%;
	height: auto;
}

.top-message {
    width: 100%;
}
.top-message ul {
    width: 100%;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center; 
    
    background-color: #008085;
    margin: 0 auto;
}
.top-message ul li {
    width: 50%;
    min-height: 380px;
    position: relative;
    color: #FFF;
    text-align: center;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.top-message li:nth-of-type(1) {
    background-image: url("../../images/recruit_index_02.jpg");
}
.top-message li:nth-of-type(2) {
    background-image: url("../../images/recruit_index_03.jpg");
}
.top-message li:nth-of-type(3) {
    background-image: url("../../images/recruit_index_04.jpg");
}
.top-message li .button {
    margin: 10px auto 0;
}
.top-message li img {
    display: none;
	width: 100%;
	max-width: 100%;
	height: auto;
}
.top-message ul li div {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 0;
    -webkit-transform: translate(0, -50%); 
    transform: translate(0, -50%);
}

.top-interview {
    width: 100%;
    max-width: 1200px;
    position: relative;
    text-align: center;
    margin: 100px auto 0;
}
.top-interview ul {
    margin-top: 60px;
}
.top-interview ul li a {
    width: 100%;
    display: block;
    position: relative;
    text-decoration: none;
    margin-bottom: 100px;
}
.top-interview ul li a div.inner {
    width: 100%;
    position: relative;
    
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
}
.top-interview ul li a div.inner div {
    width: 50%;
}
.top-interview ul li a div.inner div img {
    width: 100%;
	max-width: 100%;
	height: auto;
}
.top-interview ul li a h2 {
    width: 50%;
    max-width: 350px;
    position: absolute;
    font-size: 3rem;
    color: #000;
    text-align: left;
    font-family: 'Noto Serif JP', serif;
    background-color: #FFF;
    left: 0;
    bottom: 0;
    -webkit-transform: translate(0, 50%); 
    transform: translate(0, 50%);
    padding: 20px 1em;
    z-index: 1;
}

.top-style {
    width: 100%;
    max-width: 1400px;
    margin: 120px auto 0;
}
.top-style .inner {
    width: 100%;
    
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    
    background-color: #008085;
}
.top-style .inner .photo {
    width: 50%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.top-style .inner .photo img {
	width: 100%;
	max-width: 100%;
	height: auto;
}
.top-style .inner .txt {
    width: 50%;
    color: #FFF;
    text-align: center;
    padding: 0 5%;
}
.top-style .inner .txt p {
    margin: 20px 0 40px;
}
.top-style .inner .txt .button {
    margin: 0 auto;
}
.top-data {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}
.top-data .inner {
    width: 100%;
    
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    
    background-color: #b7c118;
}
.top-data .inner .photo {
    width: 50%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.top-data .inner .photo img {
	width: 100%;
	max-width: 100%;
	height: auto;
}
.top-data .inner .txt {
    width: 50%;
    color: #FFF;
    text-align: center;
    padding: 0 5%;
}
.top-data .inner .txt p {
    margin: 20px 0 40px;
}
.top-data .inner .txt .button {
    margin: 0 auto;
}

.top-photo {
    width: 100%;
    max-width: 1400px;
    position: relative;
    margin: 100px auto 0;
}
.top-photo img {
    width: 100%;
	max-width: 100%;
	height: auto;
}
.top-photo .txt {
    width: 100%;
    position: absolute;
    color: #FFF;
    text-align: center;
    top: 50%;
    left: 0;
    -webkit-transform: translate(0, -50%); 
    transform: translate(0, -50%);
    padding: 5%;
    z-index: 1;
}
.top-photo .txt .button {
    margin: 10px auto 0;
}


@media only screen and (min-width:1px) and (max-width: 768px) {
	
    .top-head-txt {
        font-size: 3rem;
    }
    .top-sub-txt {
        font-size: 2rem;
    }
	.top-image {
        background-image: url("../../images/top_bg_sp.jpg");
		margin-top: 60px;
	}
    .top-image .photo {
        width: 100%;
    }
    .top-message {
        margin-top: 10%;
    }
    .top-message ul li {
        width: 100%;
        min-height: initial;
        min-height: auto;
        position: relative;
        color: #FFF;
        text-align: center;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    .top-message li:nth-of-type(1),.top-message li:nth-of-type(2),.top-message li:nth-of-type(3) {
        background-image: none;
    }
    .top-message li:nth-of-type(2),.top-message li:nth-of-type(3) {
        display: none;
    }
    .top-message li:nth-of-type(4) {
        width: 100%;
        padding: 8% 5%;
    }
    .top-message li img {
        display: block;
    }
    .top-message ul li div {
        width: 100%;
        position: relative;
        top: 0;
        left: 0;
        -webkit-transform: translate(0, 0); 
        transform: translate(0, 0);
    }
    .top-message li .button {
        margin: 20px auto 0;
    }
    
    .top-interview {
        margin: 10% auto 0;
    }
    .top-interview ul {
        margin-top: 8%;
    }
    .top-interview ul li a {
        width: 100%;
        display: block;
        position: relative;
        text-decoration: none;
        margin-bottom: 6%;
    }
    .top-interview ul li a div.inner {
        width: 100%;
        position: relative;

        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;

        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-flow: row nowrap;
        flex-flow: row nowrap;
    }
    .top-interview ul li a div.inner div {
        width: 100%;
    }
    .top-interview ul li a h2 {
        width: 100%;
        max-width: 100%;
        position: relative;
        font-size: 2rem;
        -webkit-transform: translate(0, 0); 
        transform: translate(0, 0);
        text-align: center;
        padding: 20px 1em;
        z-index: 1;
    }
    
    .top-style {
        width: 100%;
        max-width: 1400px;
        margin: 10% auto 0;
    }
    .top-style .inner {
        width: 100%;
        display: block;
    }
    .top-style .inner .photo {
        width: 100%;
    }
    .top-style .inner .txt {
        width: 100%;
        padding: 6% 5%;
    }
    .top-style .inner .txt p {
        text-align: center;
        margin: 3% 0 5%;
    }

    .top-data {
        width: 100%;
        max-width: 1400px;
        margin: 10% auto 0;
    }
    .top-data .inner {
        width: 100%;
        display: block;
    }
    .top-data .inner .photo {
        width: 100%;
    }
    .top-data .inner .txt {
        width: 100%;
        padding: 6% 5%;
    }
    .top-data .inner .txt p {
        text-align: center;
        margin: 3% 0 5%;
    }

    .top-photo {
        width: 100%;
        max-width: 1400px;
        position: relative;
        margin: 10% auto 0;
    }
    .top-photo .txt {
        width: 100%;
        position: relative;
        color: #000;
        text-align: center;
        top: 0;
        left: 0;
        -webkit-transform: translate(0, 0); 
        transform: translate(0, 0);
        padding: 8% 5%;
        z-index: 1;
    }
    .top-photo .txt .button {
        margin: 20px auto 0;
    }

}

@media only screen and (min-width:1px) and (max-width: 568px) {
	
    .top-interview ul li a h2 {
        font-size: 1.8rem;
    }
}
	
@media only screen and (min-width:1px) and (max-width: 480px) {
	

}

