@charset "utf-8";

*,
body,
ul {
    margin: 0;
    padding: 0;
}

* {
    line-height: 1.8;
    letter-spacing: 0.12em;
}

li {
    list-style: none;
}

.flex {
    display: flex;
}




/*----------------------------
header 
----------------------------*/
.mainvisual {
    position: relative;
    width: 100%;
    height: 100vh; /* ウィンドウの高さに応じて調整される */
    background-image: url(./Top.jpg);
    background-size: cover;
    background-position: center 50%;
    background-repeat: no-repeat;
    overflow: hidden;

}

.mainvisual::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); /* ← 数値で暗さを調整 */
    z-index: 1;
}

.scroll {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
    color: gray;
    z-index: 2;
    padding-bottom: 40px;
    font-weight: lighter;
}

.scroll::before {
    content: "";
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 1.5px;
    height: 70px;
    background-color: gray;
    animation: none;
}


/*-------------------------------
sec02
-------------------------------*/

.sec02 {
    background-color: #fff;
    width: 100%;
    margin: 0;
    padding-top: 10%;
}

.sec02 h1 {
    width: 100%;
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 3%;
}

.sec02 p {
    width: 70%;
    margin: auto;
    font-size: clamp(1rem, 1.9vw, 2rem);
    margin-top: 10px;
    text-align: center;
}


.sec02 img {
    display: block;
    width: 50%;
    max-width: 750px;
    margin: 5% auto;
}

@media only screen and (max-width: 768px) {
    .sec02 h1 {
        font-size: 1.5em;
    }

    .sec02 p {
        width: 85%;
        font-size: clamp(1.8rem, 2vw, 3.5rem);
        text-align: left;
    }

    .sec02 p br {
        display: none;
    }

    .sec02 img {
        width: 70%;
        max-width: 750px;
    }
}


/*---- タイピングアニメーション ----*/

.typing {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.typing-effect {
    width: 23ch;
    animation: typing 3s steps(23), effect .5s step-end infinite alternate;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid;
    font-family: monospace;
    font-size: 2vw;
}

@media only screen and (max-width: 768px) {
    .typing-effect {
        font-size: 1.1em;
        margin: 5% 0;
    }
}

@keyframes typing {
    from {
        width: 0
    }
}

@keyframes effect {
    50% {
        border-color: transparent
    }
}

/*----------------------------
sec03
-----------------------------*/

.sec03 {
    width: 100%;
    padding: 0;
    background-color: #fff;
}

.sec03 img {
    width: 40%;
    /* min-width: 450px; */
    max-width: 850px;
    display: block;
    margin: 0 auto -4%;
    padding: 0;
    position: relative;
    z-index: 10;
}

@media screen and (max-width: 768px) {
    .sec03 img {
        width: 70%;
        margin: 0 auto -7%;
    }
}

.sec03-contents {
    background-color: #aaFFFF;
    width: 70%;
    max-width: 950px;
    /* display: block; */
    margin: 0 auto;
    border-radius: 20px 20px 0 0;
}

.sec03-contents div {
    width: 90%;
    margin: auto;
    padding: 10% 0;
}

.sec03-contents div h2 {
    font-size: clamp( 2rem, 2.8vw, 3.5rem);
    text-align: center;
}

@media screen and (min-width:769px) {
    .sec03-contents h2 br {
        display: none;
    }
}

.sec03-contents div h3 {
    font-size: 2.8vw;
    text-align: center;
}

.sec03-contents div p {
    margin: 5% 10% 0;
    font-size: clamp( 1rem, 1.3vw, 1.8rem);
    text-align: center;
}

@media only screen and (max-width: 768px) {
    .sec03-contents {
        width: 90%;
        max-width: 950px;
    }

    .sec03-contents div {
        width: 90%;
        margin: auto;
    }

    .sec03-contents div h2 {
        font-size: 1.5em;
    }

    .sec03-contents div p {
        font-size: 1em;
        margin: 5% 0 0;
        text-align: left;
    }
}

/*--------------------------------
sec04
--------------------------------*/

.sec04 {
    width: 100%;
    background-color: antiquewhite;
    padding: 10% 0;
}

.sec04 h3 {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 10%;
}

@media only screen and (max-width: 768px) {
    .sec04 h3 {
        font-size: 2.8rem;
    }
}

.history {
    position: relative;
    max-width: 1000px;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    margin: 0 auto;
}

@media only screen and (min-width: 768px) {
    .history {
        padding: 0 10px;
    }
}

.history:before {
    content: "";
    width: 2px;
    height: 100%;
    background: navy;
    position: absolute;
    left: 15px;
    transform: translateX(-50%);
    
}

@media only screen and (min-width: 768px) {
    .history:before {
        left: 50%;
    }
}

.history .history__item {
    position: relative;
    display: flex;
    padding: 0 0 6% 8%;
    margin-bottom: 3%;
}

@media only screen and (min-width: 768px) {

    .right {
        padding-left: 55%;
    }

}

.history .history__item2 {
    padding-left: 8%;
    margin-bottom: 5%;
}

.history .history__item2:before {
    content: "";
    width: 8px;
    height: 8px;
    background: navy;
    position: absolute;
    border-radius: 50%;
    left: -5px;
    transform: translateX(-50%);
}

.history .history__item:before {
    content: "";
    width: 8px;
    height: 8px;
    background: navy;
    position: absolute;
    border-radius: 50%;
    left: -1%;
    transform: translateX(-50%);
}

@media only screen and (min-width: 768px) {
    .history .history__item:before {
        left: 50%;
        top: 0;
        width: 8px;
        height: 8px;
    }

    .history .history__item2:before {
        content: "";
        width: 8px;
        height: 8px;
        background: navy;
        position: absolute;
        border-radius: 50%;
        left: 50%;
        transform: translateX(-50%);
    }
}

.history .history__item:last-child {
    padding-bottom: 15px;
}

@media only screen and (min-width: 768px) {
    .history .history__item:last-child {
        padding-bottom: 0;
    }
}

.history .history__inner {
    width: 350px;
    background-color: #fff;
    /* margin: 0 auto; */
    padding: 15px;
    border-radius: 10px;
    box-sizing: border-box;
    box-shadow: -15px 15px 0 0 navy;
}

.history .history__iamge {
    line-height: 1;
    margin: 0;
    padding: 0;
}

.history .history__iamge img {
    width: 90%;
    margin: 10px auto 0;
    box-shadow: 0 0 15px rgba(30, 29, 29, 0.33);
    border-radius: 10px;
    display: block;
}

.history .history__text {
    padding-top: 10px;
    letter-spacing: 0.05em;
}

@media only screen and (min-width: 768px) {
    .history .history__text {
        margin-top: 15px;
    }
}

.sec04 .subtitle {
    font-size: 1.1em;
    font-weight: 800;
    border-bottom: solid 1px navy;
    margin: 0 10px 8px;
    padding-bottom: 2px;
}

.sec04 .subtitle .job {
    font-size: 0.7em;
    font-weight: normal;
}

.history__text p {
    font-size: 1em;
    margin: 0 10px 8px;
    padding-bottom: 2px;
}

.box {
    /* フェードイン速度の調整 */
    transition: .3s ease-in-out;
}

.fadein {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fadein2{
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fadein-show {
    opacity: 1;
    transform: translateX(0);
}

/*---------------------------
sec05
----------------------------*/

.sec05 {
    width: 100%;
    background-color: antiquewhite;
    padding: 0;
    padding-bottom: 5%;
}

.sec05 .frame {
    width: 80%;
    max-width: 1200px;
    background-color: navy;
    margin: auto;
    padding: 0.8em 0;
    /* margin-bottom: 5%; */
}

.contents {
    width: 98%;
    max-width: 1200px;
    margin: auto;
    background-color: #fff;
}

.text-box {
    width: 85%;
    margin: auto;
}

.text-box h3 {
    text-align: center;
    font-size: clamp( 2rem, 2.8vw, 4rem);
    padding: 10% 0 0;
}

@media screen and (min-width:769px) {
    .text-box h3 br {
        display: none;
    }
}

.sec05-text p {
    font-size: clamp( 1rem, 1.5vw, 2.5rem);
    margin: 5% auto;
    padding: 0 5%;
    letter-spacing: 0.05em;
}

.catch {
    font-size: clamp( 2rem, 2.8vw, 3.5rem);
    text-align: center;
    width: 95%;
    margin: 2% auto;
    padding: 1% 6%;
    background-color: #000;
    color: #fff;
}


@media only screen and (max-width: 768px) {
    .sec05-text p {
        font-size: 1em;
    }

    .catch {
        font-size: 0.1em;
    }
}

.sec05 .flex {
    padding-bottom: 7%;
}

.sec05 .flex img {
    width: 30%;
    margin-top: 35px;
    align-self: flex-start;
}

@media only screen and (max-width: 768px) {

    .sec05 .flex {
        display: block;
    }

    .sec05 .flex img {
        width: 90%;
        margin-left: 5%;
        margin-bottom: 3%;
    }

    .catch {
        font-size: clamp( 1.8rem, 3.5vw, 5rem);
        text-align: center;
        width: 100%;
        margin: 2% auto;
        padding: 2% 7%;
        background-color: #000;
        color: #fff;
    }

    .sec05 .frame {
        width: 100%;
        background-color: navy;
        margin: auto;
        padding: 5% 0;
        margin-bottom: 5%;
    }

    .text-box h3 {
        text-align: center;
        font-size: 2.2em;
        padding: 5% 0;
    }

}

.footerimg {
    width: 100%;
    margin-top: 5%;
    margin-bottom: -5px;
}

/*---------------------------------------
sec06
---------------------------------------*/

.sec06 {
    padding-top: 13%;
    padding-bottom: 15%;
    background-image: url(./recruit.jpg);
    background-size: cover;
    background-position: center 70%;
}

.wait {
    width: 100%;
    text-align: center;
    font-size: 1.7em;
    margin-bottom: 3%;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1)
}

.sec06 h3 {
    width: 100%;
    font-size: 3.5em;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1)
}

@media only screen and (max-width: 768px) {
    .wait {
        font-size: 1.2em;
    }
    
    .sec06 h3 {
        font-size: 2em;
    }
}

.sec06 .flex {
    width: 55%;
    margin: auto;
    align-items: center;
    justify-content: space-around;
    margin-top: 5%;
}

.sec06 .flex a {
    width: 40%;
    max-width: 300px;
    background-color: #fff;
    padding: 2% 1%;
    border-radius: 10px;
    text-align: center;
    font-size: 1.5em;
}

@media only screen and (max-width: 768px) {
    .sec06 .flex {
        width: 90%;
        margin: auto;
        align-items: center;
        justify-content: space-around;
        margin-top: 5%;
    }

    .sec06 .flex a {
        width: 40%;
        background-color: #fff;
        padding: 2% 1%;
        border-radius: 10px;
        text-align: center;
        font-size: 0.8em;
    }
}
















/*  */