@charset "UTF-8";

/* top */
.bg-white {
    margin: 0 auto;
    padding: 50px 10px;
}

.top-title {
    margin-top: -300px;
    padding: 10px 15px;
    display: grid;
}

.btn-custom {
    background-color: #49B472;
    border-color: #49B472;
}

.btn-custom:hover {
    background-color: #83E0A6;
    border-color: #83E0A6;
}

/* h2のホワイト背景部分 */
.animate-h2 {
    visibility: hidden;
}

.letter-wrapper {
    position: relative;
/* 	display: inline-block; */
}

.letter {
    position: relative;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.letter-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 1;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.show {
    opacity: 1;
}

.show-bg {
    opacity: 1;
    transform: scale(1.5);
}

.text-top-recruit {
    text-align: left;
}

h2.top-h2 {
    font-size: 20px;
    font-family: "hiragino-mincho-pron", "Noto Serif", serif;
}

/* slider */
.slide-items {
    visibility: hidden;
}

/* top-results */
.padding_results {
    padding: 0 10px 0 15px;
}

/* business */
.equipment-sec {
    display: block;
}

.equipment-sec img {
    width: 100%;
    height: auto;
    margin-bottom: 50px;
}

#table-business {
    margin: 0 auto;
    border: 1px solid #C6C2C2;
}

#table-business tr {
    border-top: 1px solid #C6C2C2;
    border-bottom: 1px solid #C6C2C2;
}

#table-business th {
    padding: 10px 10px;
    font-weight: 100;
    font-size: 16px;
}

#table-business td {
    padding: 10px 10px;
    border-left: 1px solid #C6C2C2;
    font-weight: 100;
    text-align: center;
    font-size: 16px;
    white-space: nowrap;
	width: 5%;
}

/* results */
.container-results-card {
    margin: 20px 0;
    width: 100%;
}

.results-btn {
    display: flex;
    justify-content: end;
}

.card {
    border: none;
}

.card-title {
    border-bottom: 1px solid #000;
    text-align: center;
    padding: 10px 0;
}

/* table01 */
#table01 {
    margin: 0 auto;
}

#table01 tr {
    border-top: 1px solid #C6C2C2;
    border-bottom: 1px solid #C6C2C2;
}

#table01 th,
#table01 td {
    padding: 10px 10px;
    border: none;
    width: 100%;
}

#table01 th {
    width: 50%;
    font-weight: 100;
}

#table01 td {
    padding-top: 10px;
}

/* company */
.text-center-message {
    text-align: center;
    margin: 20px 0 20px 0;
}

.company-message-text {
    border-bottom: 0.5px solid #fff;
    display: inline-block;
    padding: 5px 0;
    font-family: "hiragino-mincho-pron", "Noto Serif", serif;
}

.bg-CEO {
    background-color: #49B472;
}

.text-center-company {
    text-align: center;
}

.bg-table {
    background-color: #F4F4F4;
    padding: 30px 0;
}

/* Googleマップ */
.map {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 75%;
    /* 比率を4:3に固定 */
}

.map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.text-center-access {
    text-align: center;
    margin-top: 15px;
}

/* recruit */
.text-center-recruit {
    text-align: center;
    margin: 20px 0;
}

/* contact */
.required {
    background-color: #ea3b23;
}

.btn-form {
    background-color: #67b278;
    color: #fff;
    border: none;
    padding: 15px 25px;
    font-size: 16px;
}

.btn-form:hover {
    background-color: rgb(125, 208, 157);
    color: #fff;
}

.con_pri .box_pri {
    font-size: 16px;
    height: 350px;
    overflow-y: scroll;
    border: 1px solid #cdcdcd;
    background: #F4F4F4;
    /* Todo: 色調整 */
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin-top: 30px;
    padding: 20px 25px;
}

.required {
    padding: 7px 10px;
    border-radius: 10%;
    margin: 10px 0 0 10px;
    align-items: center;
    font-size: 0.8em;
    vertical-align: text-top;
    line-height: 1.1em;
}

.form-text {
    font-size: 16px;
    color: #000;
}

/* business table */
@media screen and (min-width: 550px) {
	.sp-only {
	display: block;
}
}

/* TOP */
@media screen and (min-width: 561px) {
    h2.top-h2 {
        font-size: 35px;
        font-family: "hiragino-mincho-pron", "Noto Serif", serif;
    }

    .top-title {
        margin: 300px 0 0 20px;
        justify-content: left;
    }

    .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .text-container {
        flex: 1;
        position: relative;
    }

    .text-top-recruit {
        text-align: right;
        padding: 0 10px;
    }

    /* results */
    .container-results {
        padding: 0 10px;
        margin: 0 auto;
    }

    .results-btn {
        justify-content: start;
    }

    .container-results-all-1 {
        display: flex;
        justify-content: space-between;
        gap: 30px;
    }

    .result-box {
        width: 45%;
    }

    /* company */
    .text-center-message {
        text-align: center;
        margin: 20px 0 20px 0;
    }

    .bg-CEO {
        background-color: #49B472;
        width: 100%;
    }

    .text-CEO {
        padding: 0;
    }

    /* table01 */
    #table01 {
        margin: 0 auto;
        width: 100%;
    }

    #table01 tr {
        border-bottom: 1px solid #C6C2C2;
    }

    #table01 th,
    #table01 td {
        padding: 24px 0;
        border: none;
    }

    #table01 th {
        width: 40%;
        font-weight: 100;
    }

    .text-center-contact {
        text-align: left;
        margin: 10px 0;
    }

    .text-center-company {
        text-align: center;
        margin: 20px 0 20px 0;
    }

    .text-center-access {
        text-align: center;
        margin: 30px 0 20px 0;
    }

    /* recruit */
    .text-recruit {
        margin: 20px 0;
    }

    .text-center-recruit {
        text-align: center;
        margin: 60px 0 40px 0;
    }

    /* contact */
    .form-check {
        padding: 0 20px;
    }

    .error_message {
        margin-left: -20px;
    }

    .policy-check {
        display: flex;
        justify-content: center;
        margin-left: 15px;
    }

    .form-check-btn {
        display: flex;
        justify-content: flex-start;
    }

    .form-btn {
        margin: 0;
    }

    .contact-form label {
        font-size: 16px;
    }
}

@media screen and (min-width: 576px) {
    .form-check-flex {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .required {
        padding: 5px 5px;
        border-radius: 10%;
        margin: 10px 0 0 5px;
        align-items: center;
    }

    .form-check-btn {
        display: flex;
        justify-content: flex-start;
    }

    .form-btn {
        margin: 0;
    }

    .contact-form label {
        font-size: 16px;
    }
}

@media screen and (min-width: 768px) {
    /* toppage-results,recruit */
    .results-wrapper {
        display: flex;
    }

    .results-wrapper:nth-of-type(even) {
        flex-direction: row-reverse;
    }

    .results-text {
        height: 330px;
    }

    .results-img img {
        width: 450px !important;
        height: 330px !important;
    }

    /* .business-wrapper {
        display: flex;
    } */

    .business-wrapper:nth-of-type(even) {
        flex-direction: row-reverse;
    }

    .business-text {
        height: 210px;
        z-index: -10;
    }

    .business-img img {
        width: 100% !important;
        height: auto !important;
    }
}

@media screen and (min-width:820px) {
    /* business */
    .equipment-sec {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 30px;
        margin-bottom: 50px;
    }
    
    .equipment-sec img {
        width: 30%;
        height: auto;
        margin: 0;
        padding: 0;
    }
}

@media screen and (min-width: 992px) {
    /* top-results,recruit */
    .results-wrapper {
        position: relative;
        height: 530px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .results-wrapper:nth-of-type(even) {
        flex-direction: row-reverse;
    }

    .results-text {
        padding: 70px 80px 70px 60px !important;
        width: 500px;
        height: 430px;
        font-size: 18px;
    }

    .results-wrapper:nth-of-type(even) .results-text {
        padding: 0px 70px 70px 10px !important;
    }

    .results-img {
        margin-left: -75px;
        margin-right: 50px;
        width: 500px;
        z-index: 10;
    }

    .results-wrapper:nth-of-type(even) .results-img {
        margin-left: 50px;
        margin-right: -75px;
    }

    .recruit-img {
        margin-top: 30px;
        width: 500px;
        z-index: 10;
    }

    /* Bussiness */
    .business-wrapper {
        position: relative;
        height: 530px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .business-wrapper:nth-of-type(even) {
        flex-direction: row-reverse;
    }

    .business-text {
        padding: 70px 90px 70px 60px !important;
        width: 500px;
        height: 400px;
        font-size: 18px;
        z-index: -10;
    }

    .business-wrapper:nth-of-type(even) .business-text {
        padding: 70px 70px 70px 90px !important;
    }

    .business-img {
        margin-left: -75px;
        margin-bottom: -200px;
        margin-right: 50px;
        width: 500px;
        z-index: 20;
    }

    .business-wrapper:nth-of-type(even) .business-img {
        margin-left: 50px;
        margin-right: -75px;
    }
	
	.sp-only {
		display: none;
	}
}

@media screen and (min-width: 1500px) {
    .top-title {
        margin: 400px 0 0 50px;
    }
}

@media screen and (min-width: 1900px) {
    .top-title {
        margin: 600px 0 0 50px;
    }
}