@charset "utf-8";

/* ===============
philosophy
================ */

.philosophy {
    margin: 30px 4% 50px;
}

.title__container {
    display:flex;
    justify-content: center;
    align-items: center;

}

.philosophy__title,
.AboutUs__title,
.Access__title {
    text-align: center;
    font-family: "Josefin Sans";
    font-size: 6.2rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 1.24px;
    color: transparent;
    background: #D1E0ED;
    text-shadow: 3px 4px 3px rgba( 255, 255, 255, 0.5);
    background-clip: text;
    -webkit-background-clip: text;

}

.title__japanese {
    color: #333;
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.36px;
}

.philosophy__text {
    margin-top: 25px;
    color: #333;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.21px;
}

.philosophy__list {
    display: flex;
    gap: 30px;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
}

.philosophy__item {
    display: flex;
    width: 345px;
    height: 20px;
    align-items: center;
    color: #333;
    font-size: 1.5rem;
    line-height: 1.5;
    letter-spacing: 0.32px;
}

.button__list {
    display: flex;
    margin-top: 66px;
    flex-direction: column;
    gap: 45px;
}

.background {
    padding: 80px 10px 80px;
    clip-path: polygon(0 0, 100% 0, 100% calc(91% - 6vw), 0 100%);
    background-color: #EBF3F6;
}


/* philosophy  767px tab */
@media screen and (min-width: 767px) {

    .philosophy__title,
    .AboutUs__title,
    .Access__title {
        font-size: 6.8rem;
        font-weight: 600;
        letter-spacing: 1.36px;

    }
    
    .title__japanese {
        font-size: 2.4rem;
    }

    .title__container {
        font-size: 2.6rem;
        font-weight: 700;
        letter-spacing: 0.52px;
    }

    .philosophy {
        margin: 30px 5.7% 58px;
    }

    .philosophy__list {
        align-items: center;
    }

    .button__list {
        flex-direction: row;
        justify-content: center;
    }

    .btn--philosophy,
    .btn--philosophy--recruit {
        margin: 0;
    }

    .AboutUs__title {
        text-align: left;
    }

    .btn--service,
    .btn--recruit {
        margin: 0;
    }

    .background {
        padding: 80px 10px 90px;
        clip-path: polygon(0 0, 100% 0, 100% calc(93% - 6vw), 0 100%);
        background-color: #EBF3F6;
    }

}

/* philosophy pc */
@media screen and (min-width: 959px) {

    .philosophy {
        margin: 30px 7% 80px;
    }
    

    .philosophy__title,
    .AboutUs__title,
    .Access__title {
        font-size: 9rem;
        font-weight: 600;
    }

    .title__japanese {
        font-size: 2.8rem;
        font-weight: 700;
        letter-spacing: 0.54px;
    }

    .philosophy__text {
        font-size: 1.8rem;
        letter-spacing: 0.315px;
        margin-top: 40px;
        max-width: 1280px;
        margin-left: auto;
        margin-right: auto;
    }

    .philosophy__item {
        width: 435px;
        height: 67px;
        font-size: 2rem;
    }

    .philosophy__list {
        gap: 16px;
    }

    .button__list {
        display: flex;
        margin-top: 80px;
        flex-direction: row;
        justify-content: center;
    }
    

}



/* ==================
About  us
===================== */

.AboutUs--container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    margin-left: 7%;
}

.Aboutus {
    margin: 75px 0 0 4%;
}

.Aboutus__container {
    padding: 0 2.9%;
    display: flex;
    flex-direction: column;
    margin-top: 28px;
}

.Aboutus__title {
    color: var(--primary-black #333333);
    font-family: "Zen Old Mincho";
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 700;
    line-height: 150%; /* 27px */
    letter-spacing: 0.36px;
    margin-left: 1%;
}

.Aboutus__detail {
    color: var(--primary-black #333333);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.24px;
    margin-left: 1%;
}

.border {
    display: block;
    border-bottom: solid 1px #767676;
    width: 98%;
}

.border--under {
    display: block;
    border-bottom: 1px solid #384E7A;
    width: 98%;
    margin: 0 auto;
    transform: translateY(-35px);
}

.AboutUs {
    height: 1050px;
    border-left: 1.5px solid #384E7A;
    position: relative;
    margin: 140px 0 0 3%;
}

.Aboutus__container {
    display: flex;
    gap: 12px;
    
}

.Aboutus__container::after {
    content: '';
    display: block;
    width: 96%;
    height: 1px;
    background-color: #333;
}


.kinki--map::after {
    content: '';
    display: inline-block;
    background-image: url(../images/kinki_map_sp.svg);
    background-size: contain;
    background-repeat: no-repeat;
    width:  50%;
    height: 50%;
    right: 2%;
    top: 675px;
    position: absolute;
    z-index: -1;

}

/* About us  480px */
@media screen and (min-width: 480px) {
    .kinki--map::after {
        width: 48%;
        height: 48%;
        right: 3%;
        top: 595px;

    }
}

/* About us  570px */
@media screen and (min-width: 570px) {
    .kinki--map::after {
        width: 48%;
        height: 48%;
        right: 3%;
        top: 550px;

    }
}

/* About us  660px */
@media screen and (min-width: 660px) {
    .kinki--map::after {
        width: 48%;
        height: 48%;
        right: 2%;
        top: 518px;
    }
    
}


/* About us  767px tab */
@media screen and (min-width: 767px) {

    .AboutUs {
        margin: 112px 0 0 12%;

    }

    .AboutUs--container {
        align-items: flex-start;
        flex-direction: column;
    }

    .Aboutus__container {
        padding: 0;
    }

    .Aboutus__title {
        font-size: 1.8rem;
        font-weight: 700;
        line-height: 1.5;
        letter-spacing: 0.4px;
    }

    .Aboutus__detail {
        font-size: 1.6rem;
        font-weight: 400;
        line-height: 1.5;
        letter-spacing: 0.27px;
    }

    .kinki--map::after {
        width: 48%;
        height: 48%;
        right: 3%;
        top: 595px;

    }

}

/* Aboutus 959px pc */
@media screen and (min-width: 959px) {
    .AboutUs {
        margin: 170px 0 0 6%;
        height: 1150px;
    }

    .AboutUs--container {
        margin-left: 4%;
    }

    .Aboutus {
        margin: 75px 0 0 4%;
    }

    .Aboutus__title {
        width: 130px;
        font-size: 2.4rem;
        font-weight: 600;
        letter-spacing: 0.48px;
    }

    .Aboutus__detail {
        font-size: 2.2rem;
        font-weight: 400;
        letter-spacing: 0.44px;
    }

    .Aboutus__container {
        flex-direction: row;
        align-items: center;
        margin-top: 32px;
        padding-left: 0;
        flex-wrap: wrap;
    }


}


/* ==================
Access
===================== */

.map {
    display: block;
    margin: 0 auto;
    max-width: 95%;
}

.Access__title {
    margin-top: 35px;
}

/* Access 767px tab */
@media screen and (min-width: 767px) {
    
    .Access__title {
        margin-top: 112px;
    }
    
}

/* Access 960px pc */
@media screen and (min-width: 767px) {
    .section--Access {
        margin-top: 130px;
    }
    .map {
        width: 90%;
    }
}