@charset "utf-8";

/* ====================================================
   ベース・リセット
==================================================== */
body {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    overflow-x: clip;
    margin: 0;
    background: #EFEFEF;
    color: #000;
}

h1, h2, h3, h4, h5, p, ul, li, div, dl, dt, dd, ol {
    margin: 0;
    padding: 0;
    line-height: 100%;
    list-style-type: none;
}

:root {
    --header-height: 160px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    overflow-y: scroll;
}

html.overflow-y-hidden {
    overflow-y: hidden;
}

a {
    text-decoration: none;
    color: #333;
}

img {
    border-style: none;
    padding: 0;
    margin: 0;
    line-height: 100%;
}

.bp {
    display: inline-block;
}

container {
    width: 100%;
    display: block;
    position: relative;
}

/* =====================================
   Fixed Header
===================================== */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    transition: all .3s ease;
}

.header-inner {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 30px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all .3s ease;
}

header.scrolled {
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 3px 20px rgba(0,0,0,.08);
}

header.scrolled .header-inner {
    padding-top: 15px;
    padding-bottom: 15px;
}

@media (max-width: 768px) {

    .header-inner {
        padding: 15px 20px;
    }

}
.top-logo {
    max-width: 320px;

    img {
        width: 100%;
        height: auto;
    }
}
@media (max-width: 768px) {
    .top-logo {
        max-width: 210px;
        width: 100%;
    }
}
.recruit-b {
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFF;
    font-size: 1rem;
    font-weight: 600;
    height: 76px;
    background-color: #FF0000;
    border-radius: 10px;
    padding: 0 20px;
}
@media (max-width: 768px) {
    .recruit-b {
        height: 45px;
        font-size: 0.825rem;
        padding: 0 10px;
    }  
}
.recruit-b:hover {
    background-color: #000;
}
.contents {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 180px;
}
.visual {
    position: relative;
    margin-bottom: 50px;
}
@media (max-width: 768px) {
    .visual {
        margin-bottom: 35px;
    }
}
.visual h1 {
    position: absolute;
    z-index: 1;
    width: 100%;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: #FFF;
    font-weight: bold;
    line-height: 180%;
}
@media (max-width: 768px) {
    .visual h1 {
        font-size: 1rem;
    }
}
.visual-inner {
    width: 100%;
    position: relative;
    z-index: 0;

    img {
        width: 100%;
    }
}
.blu-title {
    text-align: center;
    font-size: 2rem;
    line-height: 180%;
    color: #384AD3;
    margin-bottom: 20px;
}
@media (max-width: 768px) {
   .blu-title {
    font-size: 1.425rem;
   } 
}
.center-txt {
    font-size: 1rem;
    line-height: 180%;
    text-align: center;
    margin-bottom: 150px;
}
@media (max-width: 768px) {
    .center-txt {
        font-size: 1rem;
        margin-bottom: 50px;
    }
}
.title-outer {
    width: 100%;
}
.blu-title-b {
    background-color: #384AD3;
    border-radius: 10px;
    height: 80px;
    padding-left: 20px;
    padding-right: 20px;
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    margin-bottom: 50px;
    color: #FFF;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 768px) {
    .blu-title-b {
        font-size: 1.825rem;
        height: 55px;
        margin-bottom: 30px;
    }
}
.flex-box {
    display: flex;
    gap: 50px;
    margin-bottom: 150px;
}
.flex-box-inner {
    width: calc((100% - 50px) / 2);
    padding: 30px;
    background-color: #FFF;
    border-radius: 10px;

    h3 {
        font-size: 1.25rem;
        font-weight: bold;
        margin-bottom: 10px;
    }

    p {
        font-size: 1rem;
        line-height: 200%;
    }
}
@media (max-width: 768px) {
    .flex-box {
        display: block;
        margin-bottom: 50px;
    }
    .flex-box-inner {
        width: 100%;
        margin-bottom: 30px;

        h3 {
            font-size: 1rem;
        }
        p {
            font-size: 1rem;
        }
    }
}
.en-outer {
    display: flex;
}
.en-l {
    width: 22%;
    font-size: 1rem;
    line-height: 200%;
}
.en-r {
    width: 78%;
    font-size: 1rem;
    line-height: 200%;
}
@media (max-width: 768px) {
    .en-outer {
        display: block;
        margin-bottom: 20px;
    }
    .en-l {
        font-size: 1rem;
        width: 100%;
        line-height: 170%;
    }
    .en-r {
        font-size: 1rem;
        width: 100%;
        line-height: 170%;
    }
}
.office-sub {
    font-size: 2rem;
    margin-bottom: 20px;
}
@media (max-width: 768px) {
    .office-sub {
        font-size: 1.25rem;
    }
}
.office-txt {
    font-size: 1rem;
    line-height: 200%;
    margin-bottom: 20px;
    
    a {
        color: #384AD3;
        text-decoration: none;

        &:hover {
            opacity: 0.7;
        }
    }
}
@media (max-width: 768px) {
    .office-txt {
        font-size: 1rem;
    }
}
.photo-flex {
    display: flex;
    gap: 30px;
    margin-bottom: 150px;
}
.photo-flex-inner {
    width: calc((100% - 30px) / 2);

    img {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .photo-flex {
        gap: 10px;
        margin-bottom: 50px;
    }
    .photo-flex-inner {
        width: calc((100% - 10px) / 2);
    }
}
.footer-txt {
    font-size: 1.5rem;
    color: #384AD3;
    margin-bottom: 150px;
    text-align: center;
	line-height: 150%;
	font-weight: 900;
}
@media (max-width: 768px) {
    .footer-txt {
        font-size: 1rem;
        margin: 0 20px 50px;
    }
}
@media (max-width: 768px) {
    .contents {
        padding-top: 100px;
    }
}
/* =========================
   小さいスマホ対策
========================= */
@media (max-width: 430px) {

    .header-inner {
        gap: 8px;
        padding: 12px 15px;
    }

    .top-logo {
        max-width: 155px;
        width: 100%;
        flex-shrink: 1;
    }

    .top-logo img {
        width: 100%;
        height: auto;
    }

    .recruit-b {
        flex-shrink: 0;
        font-size: 0.75rem;
        height: 42px;
        padding: 0 8px;
    }

}

/* iPhone SE対策 */
@media (max-width: 375px) {

    .header-inner {
        gap: 6px;
        padding: 10px;
    }

    .top-logo {
        max-width: 145px;
    }

    .recruit-b {
        font-size: 0.7rem;
        height: 38px;
        padding: 0 6px;
    }

}