@charset "UTF-8";

body {
    text-align: left;
}

/*============================
loading
============================*/
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20000;
    background-color: #7C5529;
}

.loader,
.loader:after {
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    margin-left: -25px;
    margin-top: -30px;
}

.loader {
    position: relative;
    text-indent: -9999em;
    border-top: 5px solid #9a6f3e;
    border-right: 5px solid #9a6f3e;
    border-bottom: 5px solid #9a6f3e;
    border-left: 5px solid #e28e2d;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 1.1s infinite linear;
    animation: load8 1.1s infinite linear;
}

@-webkit-keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/*============================
container
============================*/
.top_img {
    width: 100%;
    height: 680px;
    background: url("../images/home/header/main_img.jpg") no-repeat center center;
    background-size: cover;
    position: relative;
}

.top_img h1 {
    width: 100%;
    padding-top: 18.92307692%;
    height: 0;
    overflow: hidden;
    background: url("../images/home/header/name.png") no-repeat left top;
    background-size: 100%;
    position: absolute;
    bottom: 100px;
}

.top_img .catch {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    bottom: 0;
}

.top_img .catch .inner {
    margin: auto;
    padding: 25px 0;
	
}

.top_img .catch .inner p {
    width: 980px;
    padding-top: 50px;
    height: 0;
    overflow: hidden;
    background: url("../images/home/header/catch.png") no-repeat left top;
    background-size: 100%;
}

/*============================
container
============================*/
.container {
    position: relative;
}

.primary {
    width: 100%;
    float: none;
}

.primary > article {
    padding: 80px 0 80px;
}

.primary .inner {
    width: 980px;
    margin: auto;
}

h2 {
    width: 428px;
    padding-top: 50px;
    height: 0;
    overflow: hidden;
    background: url("../images/home/detail/title.png") no-repeat left top;
    background-size: 100%;
    margin-bottom: 40px;
}

.link {
    padding-top: 30px;
}

.link a {
    width: 300px;
    margin: auto;
    display: block;
    padding: 20px 0;
    color: #fff;
    background: #000;
}

.lead p {
    padding-bottom: 15px;
}
/*============================
bus
============================*/
#bus {
	padding-bottom: 0;
}

#bus p {
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 20px;
	text-align: center;
	position: relative;
	display: block;
}
#bus p::before {
	content:"＼";
	margin-right: 10px;
}
#bus p::after {
	content:"／";
	margin-left: 10px;
}

#bus img {
	width: 100%;
}

/*============================
detail
============================*/
#details {}

#details .box {
    overflow: hidden;
    padding-bottom: 40px;
}

#details .box:last-child {
    padding-bottom: 0;
}

#details .box img {
    display: block;
    float: left;
    padding-right: 40px;
}

#details .box h3 {
    width: 36px;
    padding-top: 17px;
    height: 0;
    overflow: hidden;
    background: url("../images/home/detail/subtitle_1.png") no-repeat left top;
    background-size: 100%;
    margin-bottom: 15px;
}

#details .box h3.sub2 {
    background-image: url("../images/home/detail/subtitle_2.png");
}

/*============================
business
============================*/
#business {
    background: #001c58;
    padding-bottom: 0;
}

#business h2 {
    width: 404px;
    background-image: url("../images/home/business/title.png");
}

#business .box-area {
    overflow: hidden;
}

#business .box-area li {
    width: 314px;
    float: left;
    margin-right: 19px;
    color: #FFF;
}

#business .box-area li:last-child {
    margin-right: 0;
}

#business .box-area li h3 {
    width: 100%;
    padding-top: 52px;
    height: 0;
    overflow: hidden;
    background: url("../images/home/business/subtitle_1.png") no-repeat left top;
    background-size: 100%;
    margin-bottom: 20px;
}

#business .box-area li.nth2 h3 {
    background: url("../images/home/business/subtitle_2.png");
}

#business .box-area li.nth3 h3 {
    padding-top: 51px;
    background: url("../images/home/business/subtitle_3.png");
}

#business .box-area li img {
    display: block;
    margin-bottom: 20px;
}

#business .box-area li p {
    padding-bottom: 5px;
}

#business .inner {
    padding-bottom: 50px;
}

#business .link {
    background-color: #FFF;
    padding: 50px 0 80px 0;
}

/*============================
onlystyle 210507追加
============================*/
#onlystyle {
    background: #001c58;
    padding: 0;
}

#onlystyle h2 {
    width: 249px;
    padding-top: 79px;
    background-image: url(../images/home/only/title.png);
    margin-bottom: 40px;
}

#onlystyle p {
    color: #fff;
}

#onlystyle p.lead {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}

#onlystyle .inner {
    -js-display: flex;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: row-reverse;
}

#onlystyle .inner .text {
    width: 400px;
    padding: 80px 0 80px;
}

#onlystyle .inner .photo {
    width: 540px;
}

#onlystyle .inner .photo img {
    object-position: center;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

#onlystyle .link {
    padding-top: 50px;
}

#onlystyle .link li a {
    background-image: url("../images/common/btn_arrow.png");
    color: #fff;
    background-color: transparent;
    border: 2px solid #fff;
}

/*ここまで*/

/*============================
modelroom
============================*/
#modelroom {
    background-color: #d0d3cd;
}

#modelroom h2 {
    width: 249px;
    padding-top: 79px;
    background-image: url(../images/home/model/title.png);
    margin-bottom: 40px;
}

#modelroom img {
    display: block;
    margin-top: 40px;
    width: 100%;
    height: auto;
}

#modelroom .link {
    padding-top: 50px;
}

#modelroom .link li a {
    background-image: url("../images/home/model/btn_arrow.png");
    color: #313131;
    background-color: transparent;
    border: 2px solid #313131;
}

#modelroom .btn_catch {
    width: 720px;
    padding-top: 113px;
    height: 0;
    overflow: hidden;
    background: url(../images/home/model/welcome.png) no-repeat left top;
    background-size: 100%;
    margin: 50px auto -15px auto;
}


/*============================
result
============================*/
#result {
    padding-top: 0;
}

#result h2 {
    width: 100%;
    background: url("../images/home/result/bg.jpg") repeat;
    height: auto;
    padding: 0;
    margin-bottom: 0;
}

#result h2 .inner {
    width: 980px;
    margin: auto;
    padding: 80px 0;
}

#result h2 .inner strong {
    display: block;
    width: 334px;
    padding-top: 50px;
    height: 0;
    overflow: hidden;
    background: url("../images/home/result/title.png") no-repeat left top;
    background-size: 100%;
}

#result .table-area h3 {
    padding: 0 0 0 0;
    margin: 0 0 0 0;
    margin-bottom: 20px;
    border: none;
    width: 249px;
    padding-top: 29px;
    height: 0;
    overflow: hidden;
    background: url("../images/home/result/subtitle_1.jpg") no-repeat left top;
    background-size: 100%;
}

#result .table-area h3.sub.nth2 {
    background-image: url("../images/home/result/subtitle_2.jpg");
}

#result .table-area {
    margin-top: 60px;
}

#result .table-area table {
    color: #525252;
    width: 100%;
    border-collapse: collapse;
}

#result .table-area table tr {
    border-bottom: 1px solid #295ccc;
}

#result .table-area table thead tr {
    border-bottom: none;
    border-bottom: 3px solid #142e65;
    border-top: 3px solid #142e65;
}

#result .table-area table tbody tr:first-child {
    border-top: none;
}

#result .table-area table thead th {
    width: 140px;
    background-color: #f3f3f3;
    text-align: center;
    padding: 16px 0;
}

#result .table-area table thead th:not(:last-child) {}

#result .table-area table thead th:nth-child(2) {
    background-color: #FFF;
}

#result .table-area table td {
    padding: 16px 15px;
    background-color: #f3f3f3;
}

#result .table-area table td:nth-child(1) {
    text-align: center;
}

#result .table-area table td:nth-child(2) {
    background-color: #FFF;
}

#result .table-area table tbody td:not(:last-child) {}

#result .right {
    text-align: right;
    padding-top: 10px;
}

/*============================
recruit
============================*/
.rec_co_area {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: row-reverse;
}

.rec_co_area article {
    width: 50%;
    padding: 80px 5%;
}

.rec_co_area article .inner {
    width: 100%;
}

.rec_co_area table.info {}

.rec_co_area table.info tr {
    border-bottom: 1px solid #001c58;
    padding-bottom: 5px;
    padding-top: 5px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.rec_co_area table.info tr:first-child {
    border-top: 1px solid #001c58;
    padding-bottom: 5px;
    padding-top: 5px;
}

.rec_co_area table.info th,
.rec_co_area table.info td {
    display: block;
    padding-top: 16px;
    padding-bottom: 16px;
}

.rec_co_area table.info th {
    width: 25%;
    border-radius: 0;
    background-color: #001c58;
    color: #FFF;
    border-right: 5px solid #f1f1f1;
}

.rec_co_area table.info td {
    background: #FFF;
    width: 75%;
    padding-right: 5px;
}

.rec_co_area .link {
    padding-top: 40px;
}

#recruit {
    background: url("../images/home/recruit/bg.jpg") no-repeat;
    background-size: cover;
}

#recruit h2 {
    width: 334px;
    padding-top: 50px;
    background-image: url(../images/home/recruit/title.png);
}

/*============================
company
============================*/
#company {
    background: #f2f2f2;
}

#company h2 {
    width: 334px;
    padding-top: 50px;
    background-image: url(../images/home/company/title.png);
}

/*footer_snsの設定*/
footer {
    padding-bottom: 11%;
}

.footer_sns {
    width: 100%;
	background: #fff;
}

.footer_sns li {
    float: left;
    width: 33.333%;
}

.footer_sns li a {
    display: block;
    background: url(../images/common/footer/footer_insta_btn.jpg)no-repeat center center;
    background-size: 100%;
    width: 100%;
    height: 0;
    padding-top: 23.09%;
    overflow: hidden;
}

.footer_sns li.insta a {
    background-image: url(../images/common/footer/footer_insta_btn.jpg);
}

.footer_sns li.insta_official a {
    background-image: url("../images/common/footer/footer_insta_official_btn.jpg");
}

/*
.footer_sns li.tw a {
    background-image: url(../images/common/footer/footer_tw_btn.jpg);
}
*/

.footer_sns li.line a {
    background-image: url(../images/common/footer/footer_line_btn.jpg);
}

@media only screen and (max-width: 768px) {
    .primary > article {
        padding: 40px 0 40px;
    }

    h2 {
        width: 100%;
        padding-top: 14.17910447%;
        height: 0;
        overflow: hidden;
        background: url(../images/home/detail/title_sp.png) no-repeat left top;
        background-size: 100%;
        margin-bottom: 20px;
    }

    .link {
        padding-top: 25px;
    }

    .link a {
        width: 90.625%;
        margin: auto;
        padding: 16px 0;
        font-size: 16px;
        font-weight: bold;
        height: inherit;
        overflow: inherit;
        color: #fff;
        text-decoration: none;
        background: #0d2557;
        position: relative;
    }

    .link a:after {
        content: "";
        position: absolute;
        top: 50%;
        right: 12px;
        width: 13px;
        height: 13px;
        margin-top: -7px;
        background-image: url(../images/common/contents/arrow_sp.png);
        background-size: 100%;
    }

    /*============================
contents
============================*/
    .top_img {
        padding-top: 55px;
        background-image: url(../images/home/header/main_img_sp.jpg);
        background-size: cover;
/*        height: 400px;*/
		height: 500px;
    }

    .top_img h1 {
        width: 100%;
        padding-top: 18.93333333%;
        height: 0;
        overflow: hidden;
        background: url(../images/home/header/name_sp.png) no-repeat left top;
        background-size: 100%;
        position: absolute;
/*        bottom: 119px;*/
		bottom: 135px;
    }
	
	.top_img .catch .inner {
    padding: 15px 0;
}

    .top_img .catch .inner p {
        width: 300px;
        margin: auto;
        padding-top: 105px;
        height: 0;
        overflow: hidden;
        background: url(../images/home/header/catch_sp.png) no-repeat left top;
        background-size: 100%;
    }

    .top_img .catch .inner p span:first-child {}

    .top_img .catch .inner p span:last-child {}

    .primary .inner {
        width: 90.625%;
    }
	
	/*============================
bus
============================*/
#bus {
}

#bus p {
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 15px;
}
#bus p::before {
	content:"＼";
	margin-right: 10px;
}
#bus p::after {
	content:"／";
	margin-left: 10px;
}

#bus img {
	background: url("../images/home/bus/bus_sp.jpg") no-repeat center center;
	background-size: 100%;
	width: 100%;
	height: 0;
	padding-top: 32.84%;
	overflow: hidden;
}

    #details .box img {
        float: none;
        padding-right: 0;
    }

    #details .box img.nth1 {
        width: 100%;
        padding-top: 41.79104477%;
        height: 0;
        overflow: hidden;
        background: url(../images/home/detail/01_sp.jpg) no-repeat left top;
        background-size: 100%;
    }

    #details .box h3 {
        width: 12%;
        padding-top: 5.887324%;
        height: 0;
        overflow: hidden;
        background: url(../images/home/detail/subtitle_1_sp.png) no-repeat left top;
        background-size: 100%;
        margin: 15px auto 12px auto;
    }

    #details .box img.nth2 {
        width: 100%;
        padding-top: 41.79104477%;
        height: 0;
        overflow: hidden;
        background: url(../images/home/detail/02_sp.jpg) no-repeat left top;
        background-size: 100%;
    }

    #details .box h3.sub2 {
        background-image: url(../images/home/detail/subtitle_2_sp.png);
    }

    #details .box {
        padding-bottom: 30px;
    }

    #business h2 {
        width: 100%;
        background-image: url(../images/home/business/title_sp.png);
    }

    #business .box-area li h3 {
        width: 100%;
        padding-top: 7.01492537%;
        background: url(../images/home/business/subtitle_1_sp.png) no-repeat left top;
        background-size: 100%;
        margin-bottom: 20px;
    }

    #business .box-area li.nth2 h3 {
        width: 100%;
        padding-top: 7.01492537%;
        background: url(../images/home/business/subtitle_2_sp.png) no-repeat left top;
        background-size: 100%;
        margin-bottom: 20px;
    }

    #business .box-area li.nth3 h3 {
        width: 100%;
        padding-top: 7.01492537%;
        background: url(../images/home/business/subtitle_3_sp.png) no-repeat left top;
        background-size: 100%;
        margin-bottom: 20px;
    }

    #business .box-area li {
        width: 100%;
        float: none;
        margin-right: 0;
        overflow: hidden;
        margin-bottom: 10px;
    }

    #business .box-area li img {
        width: 40%;
        margin-right: 20px;
        float: left;
    }

    #business .box-area li p {
        float: left;
        width: 54%;
    }

    #business .inner {
        padding-bottom: 20px;
    }

    #business .link {
        padding: 40px 0 40px 0;
    }

    /*============================
onlystyle 210507追加
============================*/
    /*    ここから*/
    #onlystyle {
        padding: 40px 0 40px;
    }

    #onlystyle .inner {
        width: 100%;
    }

    #onlystyle h2 {
        width: 100%;
        padding-top: 17.91044776%;
        background-image: url(../images/home/only/title_sp.png);
        margin-bottom: 20px;
    }

    #onlystyle p {}

    #onlystyle p.lead {
        font-size: 20px;
        font-weight: bold;
        margin-bottom: 10px;
    }

    #onlystyle .inner {}

    #onlystyle .inner .text {
        width: 90.625%;
        padding: 0;
        margin: 0 auto;
    }

    #onlystyle .inner .photo {
        width: 100%;
        margin-bottom: 20px;
    }

    #onlystyle .inner .photo img {
        background: url(../images/home/only/onlystyle_photo_sp.jpg)no-repeat center center;
        background-size: 100%;
        width: 100%;
        height: 0;
        padding-top: 60%;
        overflow: hidden;
    }

    #onlystyle .link {
        padding: 20px 0 0;
    }

    #onlystyle .link li a {
        background-image: url("../images/common/btn_arrow_sp.png");
    }

    /*ここまで*/

    #modelroom h2 {
        width: 100%;
        padding-top: 17.91044776%;
        background-image: url(../images/home/model/title_sp.png);
        margin-bottom: 20px;
    }

    #modelroom img {
        width: 100%;
        padding-top: 104.62686567%;
        height: 0;
        overflow: hidden;
        background: url(../images/home/model/01_sp.jpg) no-repeat left top;
        background-size: 100%;
        margin-top: 20px;
    }

    #modelroom .link {
        padding-top: 40px;
        padding-bottom: 0;
    }

    #modelroom .btn_catch {
        width: 100%;
        padding-top: 24.77611940%;
        background-image: url(../images/home/model/welcome_sp.png);
        margin: 28px auto -20px auto;
    }

    #modelroom .link {
        display: block;
    }

    #modelroom .link li {
        margin: auto;
        margin-bottom: 20px;
    }

    #modelroom .link li:last-child {
        margin-bottom: 0;
    }


    #result h2 .inner {
        width: 90.625%;
        padding: 30px 0;
    }

    #result h2 .inner strong {
        width: 100%;
        padding-top: 14.17910447%;
        height: 0;
        overflow: hidden;
        background: url(../images/home/result/title_sp.png) no-repeat left top;
        background-size: 100%;
    }

    #result .table-area {
        margin-top: 20px;
    }

    /* table scroll */
    #result .table-area table br {
        display: none;
    }

    #result .table-area table {
        display: block;
        position: relative;
        letter-spacing: -0.4em;
        width: 100%;
    }

    #result .table-area table thead tr th {
        border: 1px solid #d4cfcb;
        padding: 1em;
        background: #e2ddda;
    }

    #result .table-area table tr {
        border: none;
    }

    #result .table-area table thead {
        display: block;
        float: left;
    }

    #result .table-area table thead tr {
        display: block;
        border: none;
    }

    #result .table-area table thead tr th {
        display: block;
        border-left: 0;
        border-bottom: 0;
        letter-spacing: normal;
        border-right: 3px solid #bbaea4;
        width: 108px;
    }

    #result .table-area table thead tr th:last-child {
        border-bottom: 1px solid #d4cfcb;
    }

    #result .table-area table tbody tr td {
        border: 1px solid #d4cfcb;
        padding: 1em;
        text-align: center;
    }

    #result .table-area table tbody {
        display: block;
        width: auto;
        position: relative;
        overflow-x: auto;
        white-space: nowrap;
    }

    #result .table-area table tbody td:not(:last-child) {
        border-right: none;
    }

    #result .table-area table tbody tr {
        display: inline-block;
        vertical-align: top;
        border-right: 1px solid #d4cfcb;
    }

    #result .table-area table tbody tr td {
        display: block;
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
        letter-spacing: normal;
    }

    #result .table-area table tbody tr td:last-child {
        border-bottom: 1px solid #d4cfcb;
    }

    /*-------iosでのスクロールバーの表示--------*/
    #result .table-area table tbody::-webkit-scrollbar {
        height: 10px;
    }

    #result .table-area table tbody::-webkit-scrollbar-thumb {
        background: #999;
        border-radius: 2px;
        width: 70px;
    }

    #result .table-area table tbody::-webkit-scrollbar-track-piece {
        background: #ccc;
    }

    /*-------iosでのスクロールバーの表示--------*/

    #result .table-area h3 {
        width: 56%;
        padding-top: 8.26315789%;
        background: url(../images/home/result/subtitle_1_sp.jpg) no-repeat left top;
        background-size: 100%;
    }

    #result .table-area h3.sub.nth2 {
        background-image: url(../images/home/result/subtitle_2_sp.jpg);
    }

    #result .link {
        padding-bottom: 0;
    }

    .rec_co_area article {
        width: 100%;
        padding: 40px 5%;
    }

    .rec_co_area .link {
        padding-bottom: 0;
    }

    #recruit h2 {
        background-image: url(../images/home/recruit/title_sp.png);
    }

    #company h2 {
        background-image: url(../images/home/company/title_sp.png);
    }

    #company table.info {
        width: 100%;
    }

    #company .link a {
        background-image: none;
    }
    
    .toTop {
    position: fixed;
    bottom: 12.5%;
    right: 10px;
    z-index: 10000;
}

    footer {
        padding-bottom: 25%;
    }

    .footer_sns {
        width: 100%;
    }

    .footer_sns li {
        float: left;
        width: 33.333%;
    }

    .footer_sns li a {
        display: block;
        background: url(../images/common/footer/footer_insta_btn_sp.jpg)no-repeat center center;
        background-size: 100%;
        width: 100%;
        height: 0;
        padding-top:60%;
        overflow: hidden;
    }
    
    .footer_sns li.insta {
        background-color: #fff;
    }

    .footer_sns li.insta a {
        background-image: url(../images/common/footer/footer_insta_btn_sp.jpg);
    }
	
	.footer_sns li.insta_official {
        background-color: #fff;
    }

    .footer_sns li.insta_official a {
        background-image: url("../images/common/footer/footer_insta_official_btn_sp.jpg");
    }
    
/*
    .footer_sns li.tw {
        background-color: #1da1f2;
    }

    .footer_sns li.tw a {
        background-image: url(../images/common/footer/footer_tw_btn_sp.jpg);
    }
*/

    .footer_sns li.line{
        background-color: #00b900;
    }
        .footer_sns li.line a {
        background-image: url(../images/common/footer/footer_line_btn_sp.jpg);
    }
}

@media only screen and (max-width: 320px) {
	#bus p {
		font-size: 0.85rem;
	}
}
