@charset 'UTF-8';

/*
COLORS
================================================ */
:root {
    --light-blue: #4db1ec;
    --blue: #1665cc;
    --purple: #b473bf;
    --pink: #ffb2c1;
    --orange: #ff9f67;
    --yellow: #ffd673;
    --light-green: #a2e29b;
    --green: #00a2af;
    --grey: #2c2c2c;
    --white: #fff;
}

/*
GENERAL STYLING
================================================ */
html {
    font-size: 100%;
    /* スムーズスクロール */
    scroll-behavior: smooth;
}

body {
    color: var(--grey);
    font-family: "M PLUS 1", sans-serif;
    line-height: normal;
}


/*
COMMON
================================================ */
p {
    line-height: 1.7;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

header,
h1,
h2,
h3,
h4 {
    font-weight: 600;
    font-style: normal;
}

h1 {
    font-size: 25px;
    margin-top: 20rem;
    text-align: left;
    font-size: 1.5rem;
    color: var(--white);
    text-shadow: 1px 2px 3px #494949;
    letter-spacing: 0.05em;
}


h2 {
    font-size: 24px;
    margin-top: 4rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

h3 {
    font-size: 20px;
    margin-top: 4rem;
    margin-bottom: 1rem;
    text-align: center;
}

h4 {
    font-size: 1.2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}


ul {
    padding-left: 0;
}

li {
    list-style: none;
}

.title-en1,
.title-en2,
.title-en3,
.title-en4,
.title-en5 {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 2px;
}

.title-en1 {
    color: var(--blue);
}

.title-en2 {
    color: var(--pink);
}

.title-en3 {
    color: var(--green);
}

.title-en4 {
    color: #1665cc;
}

.title-en5 {
    color: var(--purple);
}

.memo {
    text-align: left;
    margin: 1.5rem;

}


/* Layout */
.wrapper {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

.pc-hidden {
    display: none;

}

.sp-hidden {
    display: block;
}

/*
HEADER
================================================ */
header {
    background: var(--white);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    z-index: 1;
}

header .wrapper {
    display: flex;
    justify-content: space-between;
}

header a {
    color: var(--grey);
    margin-top: 15px;
}



.title-small {
    font-size: 0.8rem;
    line-height: 10px;
    display: block;
    position: relative;
}

.logo img {
    height: 50px;

}

.logotext1 {
    font-size: 0.8rem;
}

.btn-menu {
    position: absolute;
    top: 30px;
    right: 12px;
    border: 1px solid rgba(22, 22, 22, 0.5);
    color: var(--grey);
    padding: .5rem 1rem;
}

.main-nav {
    background: var(--white);
    width: 0;
    position: absolute;
    z-index: 2;
    top: 100px;
    right: 0;
    overflow: hidden;
    transition: .5s;
}

.main-nav li {
    text-align: center;
    line-height: 2rem;
    margin: 1rem 0;
}

.main-nav a:hover {
    color: var(--blue);
}

.main-nav a {
    display: block;
}

.main-nav.open-menu {
    width: 100%;
}



/*
HERO
================================================ */
#hero {
    /* ↓ 省略形だとブラウザーによってうまく表示されない
    background: var(--light-blue) url('../images/hero.jpg') no-repeat center / cover; */
    background-color: var(--light-blue);
    background-image: url('../images/sp.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 100vh;
    display: flex;
    align-items: center;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.yohaku{
    margin-left: 1rem;
}


/*
ABOUT
================================================ */
#about {
    padding: 4rem 1rem;
}

#about h2 {
    background: linear-gradient(var(--yellow), var(--orange));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

#about p {
    margin-bottom: 2rem;
}

.backtitle {
    margin: auto 0;
    text-align: center;
    font-size: 2.8rem;
    line-height: 1;
    letter-spacing: 0;
    font-style: normal;
    font-weight: 800;
    white-space: pre;
    color: #fef4e870;
}

/*School*/
.Schoolstyle {
    background-color: var(--light-blue);
    background-image: url('../images/school.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

#School h2 {
    color: var(--white);
    text-shadow: 2px 2px 10px var(--blue);
}

h3.box-title {
    margin: 1.5rem 0;
    font-weight: bold;

}

.box-design1 {
    width: 320px;
    margin: 20px auto;
    padding: 20px;
    background-color: #FFF3F3;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.box-design2 {
    width: 320px;
    margin: 20px auto;
    padding: 20px;
    background-color: #FEFED0;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.box-design3 {
    width: 320px;
    margin: 20px auto;
    padding: 20px;
    background-color: #E1FFD8;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.box-design4 {
    width: 320px;
    margin: 20px auto;
    padding: 20px;
    background-color: #CFE6FF;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/*1日のスケジュール*/
.flow_design09 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flow09 {
    padding-left: 0;
    border-bottom: solid 1px #E1E8ED;
}

.flow09 li {
    list-style-type: none;
    display: flex;
    padding: 20px 0;
    border-top: solid 1px #E1E8ED;
}

.flow09 li dl dt {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 5px;
}

.icon09 {
    margin-right: 20px;
    font-weight: bold;
    color: #E26B5D;
    text-align: center;
}


.flow09 li dl dd {
    margin: 0;
}

.Messeage {
    margin: 4rem 0;
    border: 1px solid #ccc;
    outline: 2px solid #ccc;
    outline-offset: 4px;
    border-radius: 6px;
    padding: .875rem;
    position: relative;

}


.message-img {
    width: 100%;
}



/*
guide
================================================ */
#guide {
    padding: 7rem 0;
    background: #fafff3;
}

#guide h2 {
    background: linear-gradient(var(--light-green), var(--green));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

#guide h3 {
    margin-top: 4rem;
    margin-bottom: 2rem;
    font-size: 23px;
}

.guide-table {
    color: var(--grey);
    width: 100%;
}

#guide caption {
    text-align: left;
    font-size: 1.2rem;
    font-weight: 400;
    margin-top: 20px;
    margin-bottom: 10px;
}

#guide table,
#guide tr,
#guide td {
    border-collapse: collapse;
    border: 1px solid #333;
    text-align: center;
    padding: 1rem;
}

.guide-text {
    margin-top: 2rem;

}



/*ステップフロー*/
#guide h3 {
    color: #00a2af;
}

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

.flow05 {
    padding-left: 0;
}

.flow05>li {
    list-style-type: none;
    position: relative;
    padding-left: 4rem;
}

.flow05>li:not(:last-child) {
    padding-bottom: 2rem;
}

.flow05>li .icon05 {
    width: 2em;
    height: 2em;
    line-height: 2em;
    text-align: center;
    border-radius: 100vh;
    display: inline-block;
    background: var(--green);
    color: #fff;
    position: absolute;
    left: 0;
}

.flow05>li:not(:last-child)::before {
    content: '';
    background: #c3c3c3;
    width: 4px;
    height: 100%;
    position: absolute;
    top: calc(50% - -30px);
    left: 19px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}

.flow05>li dl dt {
    font-size: 1.3em;
    font-weight: 600;
    color: var(--green);
}

.flow05>li dl dd {
    margin-left: 0;
}

/*
access
================================================ */
#access {
    padding: 4rem 1rem;
}

#access h2 {
    background: linear-gradient(var(--light-blue), var(--blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

#access dl,
dt,
dd {
    margin: 10px 10px 10px 0;

}

#access dt {
    color: var(--white);
    width: 55px;
    padding: 1.5px 10px;
    background-color: var(--blue);
    border-radius: 5px;
}

/*iframe*/
iframe {
    width: 100%;

}


/*
contact
================================================ */
#contact {
    text-align: center;
    background-color: var(--white);
    background-image: url('../images/back2_sp.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 100vh;
    display: flex;
    align-items: top;
}

#contact p {
    text-align: center;
    display: block;

}

#contact h2 {
    background: linear-gradient(var(--purple), var(--pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-btn {
    background-image: linear-gradient(var(--pink), var(--purple));
    color: var(--white);
    display: block;
    justify-content: center;
    width: 100%;
    padding: 1.2rem;
    margin: 4rem 0;
    text-align: center;
}

/*
FOOTER
================================================ */
footer {
    background-color: var(--grey);
    padding: 2rem 1rem 2rem;
}

.footer-copy {
    color: var(--white);
    text-align: center;
}



/*
DESKTOP SIZE
================================================ */
@media (min-width: 600px) {

    /* Layout */



    /* Common */
    h2 {
        font-size: 2rem;
    }

    .pc-hidden {
        display: block;

    }

    .sp-hideen {
        display: none;
    }


    a:hover,
    .contact-btn:hover {
        transition: .3s;
    }

    a:hover {
        color: var(--light-blue);
    }

    .contact-btn:hover {
        background: var(--grey);
    }

    /* Header */
    header a {
        font-size: 0.8rem;
    }

    .btn-menu {
        display: none;
    }

    .main-nav {
        width: 100%;
        position: static;
        display: flex;
        flex-wrap: wrap;
    }

    .main-nav li {
        margin: 0 0 0 1.5rem;
    }

    .backtitle {
        font-size: 6rem;
    }

    /*school*/
    .box-design1,
    .box-design2,
    .box-design3,
    .box-design4 {
        width: 320px;
        border-radius: 2px;
    }

    /*Messeage*/
    .messeage-box {
        display: flex;
        justify-content: center;
    }

    .messeage-text {
        width: 480px;
    }


    .message-img {
        width: 30%;
        padding: 10px;
    }

    /*School*/
    .freambox {
        display: flex;
        justify-content: space-between;
    }

    .access-info .access-info1 .access-info2  {
        display: flex;
        justify-content: center;
    }

    /*
contact
================================================ */
    #contact {
        background-image: url('../images/back2.png');

    }

}