@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --text: #3F6084;
    --base: #FFFEF6;
    --blue: #E7F0F6;
    --darkblue: #A2C6FF;
    --pink: #FAC7C1;
}
html {
    font-size: 10px;
    overflow-y: scroll;
}
body {
    font-size: 1.6em;
    line-height: 1;
    font-family: "Kiwi Maru", serif;
    color: var(--text);
    background: var(--base);
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    width: 100%;
}
ul, ol, dl {
    list-style: none;
}

/* header -------------------- */
.features header {
    background: url(../img/topblue.webp) no-repeat right bottom/cover;
    height: 500px;
    display: flex;
    flex-flow: column;
    justify-content: flex-start;
    padding: 2em 0 0 2em;
    gap: 1.5em;
}
.features header p {
    width: 300px;
}
.features header .navi {
    position: relative;
    background: none;
}
.features header .navi label {
    display: none;
}
.features header nav ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .75em;
    width: 30%;
}
.features header nav ul li {
    font-size: 1.25em;
    background: #FFFFFF;
    box-shadow: 0 0 10px 5px #E7F0F6B3 inset;
    border-radius: 999px;
    width: 9.5em;
    text-align: center;
    padding: .75em 0;
    transition: 1s;
}
.features header nav ul li:hover {
    transform: scale(1.1);
    transition-duration: .5s;
}

/* サイドメニューバー（スクロール時に動きあり） */
header .navi.mini {
    position: fixed;
    top: 1em;
    right: -41em;
    transition: right 1s ease;
    display: flex;
    flex-flow: row;
    align-items: center;
    color: #fff;
    background: var(--darkblue);
    box-shadow: 0 0 10px 5px #639cf94d inset;
    border-radius: 999px 0 0 999px;
    height: 5em;
    z-index: 99999;
    overflow: hidden;
}
header .navi.mini:hover {
    right: 0;
}
header .navi.mini label {
    display: block;
    font-size: 1em;
    white-space: nowrap;
    z-index: 1;
    margin: 0 1em;
}
header .navi.mini nav {
    display: block;
  }
header .navi.mini nav ul {
    display: flex;
    flex-direction: row;
    gap: 1em;
    margin: 0;
    padding: 0;
    width: 100%;
}
header .navi.mini nav ul li {
    font-size: 1em;
    background: none;
    box-shadow: none;
    border-radius: 0px;
    width: auto;
    text-align: center;
    margin-right: 1em;
}
header .navi.mini nav ul li a:hover {
    text-decoration: underline;
}
header .navi.mini nav ul li a>span {
    display: inline;
    text-align: center;
    line-height: 1.5;
}
#bar {
    display: none;
}
.barCover {
    display: none;
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* features------------------------------------------------- */
main {
    background: url(../img/cover.webp) repeat-y top center/cover;
    margin-top: -10em; /* cover画像に近づけるため*/
}
/* 見学申し込みサイドバー */
.lead {
    display: flex;
    align-items: center;
    gap: 1em;
    background: var(--pink);
    box-shadow: 0 0 10px 5px #ed9b9299 inset;
    border-radius: 999px 0  0 999px;
    width: 31em;
    margin: 0 0 0 auto;
    transition: .5s;
    position: sticky;
    top: 0;
    z-index: 10;
}
.lead:hover {
    transform: scale(1.1);
    transition-duration: .5s;
}
.lead a {
    display: block;
    text-align: right;
    color: #FFFFFF;
    font-size: 2em;
    width: 100%;
    padding: .75em 0;
}
.lead a>span {
    display: inline-block;
    text-align: center;
    line-height: 1.5;
}
.lead img {
    width: 2.5em;
    height: 2.5em;
    object-fit: contain;
    margin: 0 2em 0 0;
}
.lead.mini {
    position: fixed;
    top: 10em;
    right: 0;
    width: 15em;
    border-radius: 999px;
    transform: scale(0.8);
    box-shadow: 0 0 10px 5px #ed9b9299 inset;
    font-size: .75em;
}
.lead.mini img {
    display: none;
}
.lead.mini a {
    text-align: center;
    padding: .75em;
}
.lead.mini:hover {
    transform: scale(1.1);
    transition-duration: .5s;
}
/* 見学申し込みサイドバーここまで */

.features main div:nth-child(3) {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    padding: 6em 0;
}
.features main div:has(h1) {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: 10em;
}
.features main>div h1 {
    font-size: 2.5em;
    font-weight: 500;
}
.features main>div>img {
    width: 3em;
    height: 3em;
}
.about_job {
    width: 45%;
    background-color: #FFFEF6cc;
    border: var(--darkblue) solid 2px;
    border-radius: 1em;
    display: flex;
    flex-flow: column;
    align-items: center;
    padding: 2em;
    margin: 0 50% 0 2em;
}
.point {
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    border-bottom: var(--darkblue) dotted 3px;
    margin-bottom: 1em;
    padding-bottom: .75em;
}
.point h2 {
    font-size: 2em;
    font-weight: 500;
}
.point img {
    width: 3em;
    height: 3em;
}
.about_job p:first-of-type {
    font-size: 1.25em;
    margin: 0 auto .5em;
    color: var(--darkblue)
}
.about_job p:last-of-type {
    text-align: center;
    line-height: 1.5em;
    margin: 0 auto 1.5em;
    width: 90%;
    font-size: 1.25em;
}
.about_job>img {
    width: 90%;
    height: 33%;
    margin-bottom: 1em;
}
.about_study {
    width: 45%;
    background-color: #FFFEF6cc;
    border: var(--pink) solid 2px;
    border-radius: 1em;
    display: flex;
    flex-flow: column;
    align-items: center;
    padding: 2em;
    margin: -10em 2em 0 50%;
}
.about_study>.point {
    border-bottom: var(--pink) dotted 3px;
}
.about_study>.point img {
    width: 2.5em;
    height: 2.5em;
}
.about_study p:first-of-type {
    font-size: 1.25em;
    margin: 0 auto .5em;
    color: var(--pink);
}
.about_study p:last-of-type {
    text-align: center;
    line-height: 1.5em;
    margin: 0 auto 1.5em;
    width: 90%;
    font-size: 1.25em;
}
.study_box {
    display: flex;
    gap: 1em;
    justify-content: center;
    align-items: center;
    margin: 0 0 1em 0;
}
.qualification_inbox {
    width: 50%;
    background-color: #FAC7C1cc;
    border-radius: 1em;
    padding: 1em;
}
.qualification_inbox h3 {
    color: #ed9b92;
    text-align: center;
    margin-bottom: .5em;
}
.qualification_inbox ul {
    background-color: #fff;
    padding: .5em;
    line-height: 1.5em;
}
.study_box img {
    width: 50%;
    height: 30%;
}
.skills_inbox {
    width: 50%;
    background-color: var(--darkblue);
    border-radius: 1em;
    padding: 1em;
}
.skills_inbox h3 {
    color: #639cf9;
    text-align: center;
    margin-bottom: .5em;
}
.skills_inbox ul {
    background-color: #fff;
    padding: .5em;
    line-height: 1.5em;
}
.qualification_inbox ul li:last-of-type,
.skills_inbox ul li:last-of-type {
    text-align: right;
}
.about_remotely {
    width: 45%;
    background-color: #FFFEF6cc;
    border: var(--text) solid 2px;
    border-radius: 1em;
    display: flex;
    flex-flow: column;
    align-items: center;
    padding: 2em;
    margin: -15em 50% 0 2em;
}
.about_remotely>.point {
    border-bottom: var(--text) dotted 3px;
}
.about_remotely p:first-of-type{
    font-size: 1.25em;
    margin: 0 auto .5em;
}
.about_remotely p:last-of-type {
    text-align: center;
    line-height: 1.5em;
    margin: 0 auto 1.5em;
    width: 90%;
    font-size: 1.25em;
}
.about_remotely>img {
    width: 90%;
    height: 33%;
    margin-bottom: 1em;
}
.point_box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
    gap: 1em;
}
/* footer 
------------------------------------------------- */
footer {
    background: url(../img/footer.webp) no-repeat top center/cover;
}

/* address ---------- */
.address {
    font-style: normal;
    width: 100%;
    margin: 0 auto;
    padding: 3em 1.5em 0;
    display: flex;
    justify-content: center;
    gap: 3em;
}
.address ul {
    display: flex;
    flex-flow: column;
    gap: 2em;
}
.address ul li h4 {
    font-size: 3em;
    font-weight: 500; 
    line-height: 1.25;
}
.address ul li h4>span {
    font-size: .375em;
    font-weight: normal;
}
.address ul li p {
    font-size: 1.125em;
    line-height: 1.75;
}
.address ul li a:hover {
    text-decoration: underline;
}
.address iframe {
    width: 40%;
    margin-top: 1.5em;
}

/* footerNav ---------- */
.footerNav {
    width: 100%;
    margin: 0 auto;
}
.footerNav ul {
    display: flex;
    flex-flow: column;
    text-align: center;
    gap: 1em;
    padding: 8em 1.5em 3em;
}
.footerNav ul li {
    font-size: 1em;
}

/* footerCopy ---------- */
.copyright {
    width: 100%;
    margin: 0 auto;
    padding-bottom: 1.5em;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 1em;
}
.copyright small {
    margin-bottom: .5em;
}
.copyright img {
    width:50px;
}

/* 800px以下---------------------------------- */
@media (max-width:800px) {
    .lead {
        width: 28em;
    }
    .lead a {
        font-size: 1.75em;
    }
    .lead img {
        width: 2em;
        height: 2em;
    }
    .features main div:has(h1) {
        margin-top: 6em;
    }
    .address ul li h4 {
        font-size: 2em;
    }
    .address ul li p {
        font-size: 1em;
    }
    .address {
        flex-flow: column;
        align-items: center;
    }
    .address iframe {
        width: 85%;
        height: 250px;
        margin-top: 0;
    }
    .study_box {
        display: flex;
        flex-flow: column;
    }
    .study_box img {
        width: 80%;
        height: 40%;
    }
    .qualification_inbox {
        width: 95%;

    }
    .qualification_inbox ul,
    .skills_inbox ul {
        display: flex;
        flex-wrap: wrap;
    }
    .qualification_inbox ul li {
        margin-left: .5em;
        font-size: .75em;
    }
    .skills_inbox {
        width: 95%;

    }
    .skills_inbox ul li {
        margin-left: .5em;
        font-size: .75em;
    }
    .about_job {
        width: 80%;
        margin: 0 auto;
    }
    .about_study {
        width: 80%;
        margin: 0 auto;
    }
    .about_remotely {
        width: 80%;
        margin: 0 auto;
    }
    header:has(#bar:checked)~.barCover {
        display: block;
    }
    header:has(#bar:checked)~.barCover .barLabel {
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
    }
}
/* 480px以下---------------------------------------------- */
@media (max-width:480px) {
    .features header nav ul li {
        font-size: 1em;
    }
    .features header {
        height: 470px;
    }
    header .navi.mini {
        position: fixed;
        top: 1em;
        right: -22em;
        height: 3em;
    }
    header .navi.mini label {
        font-size: .75em;
    }
    header .navi.mini nav ul li {
        font-size: .5em;
        background: none;
        box-shadow: none;
        border-radius: 0px;
        width: auto;
        text-align: center;
        margin-right: .5em;
    }
    .lead {
        width: 20.5em;
    }
    .lead a {
        font-size: 1.25em;
    }
    .lead.mini {
        top: 5.5em;
        width: 8em;
    }
    .lead.mini a {
        font-size: 1em;
    }
    .lead img {
        width: 1.5em;
        height: 1.5em;
    }
    .features main>div h1 {
        font-size: 2em;
    }
    .features main>div>img {
        width: 2em;
        height: 2em;
    }
    .features main p {
        font-size: 1em !important;
        line-height: 1.5em !important;
    }
    .point h2 {
        font-size: 1.5em;
    }
    .point img {
        width: 2em;
        height: 2em;
    }
    .about_study>.point img {
        width: 2em;
        height: 2em;
    }
    .about_remotely>.point h2 {
        font-size: 1.2em;
    }
}