@charset "UTF-8";

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Zen Maru Gothic", serif;
    font-weight: 400;
    font-style: normal;
    background-color: #FDF0E9;
    text-align: center;
}

header {
    background-image: url(../images/ヘッダーM.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    aspect-ratio: 3/5;
    max-width: 100%;
}

img {
    max-width: 100%;
}

.main-nav {
    display: flex;
    justify-content: center;
    margin: 30px 5px;
    gap: 20px;
}

.main-nav li {
    border-radius: 8px;
    padding: 5px 10px;
}

.nav1,
.nav2,
.nav3,
.nav4 {
    cursor: pointer;
    transition: all 0.3s ease 0s;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}

.nav1:hover,
.nav2:hover,
.nav3:hover,
.nav4:hover {
    border-bottom-color: transparent;
    transform: translateY(0.2em);
}

.nav1 {
    background-color: #86d5e0;
}

.nav2 {
    background-color: #FDEEBB;
}

.nav3 {
    background-color: #FFAFCC;
}

.nav4 {
    background-color: #aadac0;
}

.main-nav a {
    font-size: 15px;
    font-weight: bold;
    color: #42210B;
}

/* ーーーーーABOUTーーーーーー */

h2 {
    padding: 20px 10px;
    font-size: 27px;
    line-height: 1.7;
}

.about,
h4 {
    line-height: 1.5;
    font-size: 18px;
}

p,
h4 {
    padding: 15px 18px;
}

.pie-chart {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 180px;
    height: 180px;
    margin: 0 auto;
    border-radius: 50%;
    border: 2px solid #fff;
    background-image: radial-gradient(#fff 50%, transparent 0%), conic-gradient(#ED1C24 45%, #f2f2f2 45% 100%);
    font-weight: bold;
    font-size: 40px;
    color: #ED1C24;
}

.word1 {
    color: #0000FF;
}

.word2 {
    color: #FF0000;
}

/* ーーーーーーCONTENTSーーーーーーーーーー */

#contentsArea {
    background-color: #FBAA3B;
    border-radius: 16px;
    margin: 50px 30px;
    padding: 30px 0 50px;
}

h3 {
    font-family: "Source Code Variable", sans-serif;
    font-size: 40px;
    color: #fff;
}

h4 {
    font-size: 20px;
}

.contents {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 30px;
}

.contents img {
    box-shadow: rgba(109, 109, 109, 0.45) 0px 25px 20px -20px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
}

.contents img:hover {
    box-shadow: rgba(109, 109, 109, 0.45) 0px 25px 20px -20px;
    transform: translateY(-0.5em);
}

.panel-m {
    max-width: 70%;
    margin: 0 auto 30px;
    box-shadow: rgba(109, 109, 109, 0.45) 0px 25px 20px -20px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
}

.panel-m:hover {
    box-shadow: rgba(109, 109, 109, 0.45) 0px 25px 20px -20px;
    transform: translateY(-0.5em);
}

.panel-p {
    display: none;
}

/* ーーーーFLOWーーーーーー */

#flowArea {
    background-color: #F3AE9F;
    border-radius: 16px;
    margin: 50px 30px 100px;
    padding: 30px 0;
}

.flow {
    display: flex;
    align-items: center;
    background-color: #FFF5D3;
    border-radius: 15px;
    margin: 15px;
}

.ob1,
.ob2 {
    aspect-ratio: 1/1;
    object-fit: contain;
}

.ob3 {
    aspect-ratio: 1/1;
    object-fit: contain;
}

.step {
    text-align: left;
}

.step h6 {
    padding: 10px 10px 10px 0;
    font-size: 18px;
}

.step p {
    font-size: 12px;
    line-height: 1.3;
    padding: 10px 10px 10px 0;
}

/* ーーーーCOURSEーーーー */

#courseArea {
    border-top: 3px solid #81C19F;
    border-bottom: 3px solid #81C19F;
    margin: 50px 30px;
    padding-bottom: 20px;
}

.course-home {
    width: fit-content;
    margin: 0 auto 10px;
    padding: 10px 30px;
    border-radius: 20px;
    border: 6px solid #81C19F;
    background: #FFF5D3;
    color: #42210B;
    transform: translateY(-50%);
}

.scroll-home {
    display: flex;
    width: 85%;
    max-width: 800px;
    margin: 0 auto 40px;
    overflow-x: auto;
    background-color: #fff;
    border: 3px solid #81C19F;
    border-radius: 10px;
}

.scroll {
    flex-basis: 50%;
    flex-shrink: 0;
    border-right: 2px dotted #81C19F;
    padding-bottom: 15px;
}

.scroll-content {
    padding: 8px;
    margin: 3px;
    list-style: none;
}

.scroll-content::-webkit-scrollbar {
    height: 10px;
}

.scroll-content::-webkit-scrollbar-thumb {
    background: #FFF5D3;
    border-radius: 6px;
}

.scroll-content::-webkit-scrollbar-track {
    background: #fff;
    border-radius: 6px;
}

.day,
.thema {
    padding: 10px 0;
}

.day {
    font-size: 25px;
    font-weight: bold;
    color: #42210B;
}

.date,
.thema {
    font-size: 18px;
}

.date {
    color: #42210B;
    padding: 0;
}

.thema {
    line-height: 1.7;
    padding: 10px 5px 0;
}

.tab {
    display: flex;
    flex-wrap: wrap;
    width: 85%;
    max-width: 800px;
    margin: auto;
}

.tab label {
    flex: 1 1;
    order: -1;
    min-width: 70px;
    padding: 13px 12px 8px;
    border-bottom: 1px solid #f0f0f0;
    background-color: #e9f0f6;
    color: #202020;
    font-size: 20px;
    text-align: center;
    cursor: pointer;
}

.tab label:hover {
    opacity: 0.9;
}

.tab input {
    display: none;
}

.tab-1:has(:checked) {
    background-color: #fff;
    border-color: #009246 #f0f0f0 #fff;
    border-style: solid;
    border-width: 10px 1px 1px;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    color: #000000;
}

.tab-2:has(:checked) {
    background-color: #fff;
    border-color: #F8D83B #f0f0f0 #fff;
    border-style: solid;
    border-width: 10px 1px 1px;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    color: #000000;
}

.tab label:has(:checked)+div {
    display: block;
}

.course-1 {
    display: none;
    background-color: #FFF5D3;
    border: 3px dotted #1EAA39;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    width: 100%;
    padding: 20px 15px;
}

.course-2 {
    display: none;
    background-color: #FFF5D3;
    border: 3px dotted #F8D83B;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    width: 100%;
    padding: 20px 15px;
}

.course-1 p,
.course-2 p {
    font-size: 18px;
}

.price {
    font-size: 40px;
    font-weight: bold;
    padding: 0 10px;
}

.btn1 {
    display: inline-block;
    background-color: #fff;
    color: #000;
    border: 3px solid #754C24;
    border-radius: 16px;
    font-size: 20px;
    margin: 15px 5px;
    padding: 15px;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    transition: 0.5s;
}

.btn1:hover {
    background-color: #754C24;
    color: #fff;
}

/* ーーーーオンライン説明会開催決定ーーーー */

#online {
    border-radius: 20px;
    border: 6px solid #81C19F;
    background: #fff;
    margin: 50px 30px;
}

h5 {
    padding: 30px 15px;
    font-size: 35px;
    font-weight: bold;
    color: #42210B;
}

.info01-p {
    display: none;
}

.info01-m {
    max-width: 75%;
    margin: auto;
}

.message {
    margin: 30px 35px 0;
}

.btn2 {
    display: inline-block;
    background-color: #754C24;
    color: #fff;
    border-radius: 16px;
    font-size: 22px;
    margin: 0 5px 30px;
    padding: 15px;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
}

.btn2:hover {
    border-bottom-color: transparent;
    transform: translateY(0.2em);
    background-color: #42210B;
}

.pagetop {
    height: 50px;
    width: 50px;
    position: fixed;
    right: 10px;
    bottom: 10px;
    background: #FFF5D3;
    border: solid 2px #42210B;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid #42210B;
    border-right: 3px solid #42210B;
    transform: translateY(20%) rotate(-45deg);
}

@media (hover: hover) and (pointer: fine) {

    .pagetop:hover,
    .pagetop:hover .pagetop__arrow {
        background-color: #42210B;
        border-color: #FFF5D3;
    }
}

/* ーーーーーフッターーーーー */

footer {
    background-image: url(../images/フッター.webp);
    background-repeat: no-repeat;
    background-size: cover;
    aspect-ratio: 11/3;
    max-width: 100%;
    padding: 30px;
}

h6 {
    font-size: 20px;
}

.footer {
    line-height: 1.5;
    padding: 10px 5px;
}

.footer a {
    font-size: 18px;
    text-decoration: underline;
}

/* ーーーーーーデスクトップ版ーーーーーーーーー */

@media(min-width: 750px) {
    body{
        font-family: '03スマートフォントUI';
    }

    header {
        background-image: url(../images/デスクトップ版HOME.webp);
        aspect-ratio: 9/4;
    }

    .main-nav {
        justify-content: flex-end;
        margin-right: 20px;
    }

    h2 {
        font-size: 40px;
    }

    h3 {
        font-size: 50px;
        font-weight: bold;
    }

    h4 {
        font-size: 30px;
    }

    h5 {
        font-size: 50px;
    }

    h6 {
        font-size: 35px;
    }

    p,
    .step p,
    .course-1 p,
    .course-2 p {
        font-size: 22px;
    }

    .price {
        font-size: 55px;
    }

    #contentsArea {
        margin: 50px 100px;
    }

    .contents {
        grid-template-columns: repeat(6, 1fr);
        justify-items: center;
        padding: 30px 70px;
    }

    .panel1,
    .panel6 {
        grid-column: 1/3;
    }

    .panel2,
    .panel7 {
        grid-column: 3/5;
    }

    .panel3,
    .panel8 {
        grid-column: 5/7;
    }

    .panel4 {
        grid-column: 2/4;
    }

    .panel5 {
        grid-column: 4/6;
    }


    .panel-m {
        display: none;
    }

    .panel-p {
        display: block;
        max-width: 70%;
        margin: 0 auto 50px;
        box-shadow: rgba(109, 109, 109, 0.45) 0px 25px 20px -20px;
        cursor: pointer;
        transition: all 0.3s ease 0s;
    }

    .panel-p:hover {
        box-shadow: rgba(109, 109, 109, 0.45) 0px 25px 20px -20px;
        transform: translateY(-0.5em);
    }

    #flowArea {
        margin: 50px 100px 100px;
    }

    .flow-home {
        width: fit-content;
        margin: auto;
    }

    .tab label {
        font-size: 35px;
    }

    .scroll {
        flex-basis: 33.5%;
    }

    .day {
        font-size: 35px;
    }

    .date,
    .thema {
        font-size: 24px;
    }

    .btn1 {
        font-size: 30px;
        font-weight: bold;
    }


    #online {
        margin: 50px 100px 100px;
    }

    .info01-m {
        display: none;
    }

    .info01-p {
        display: block;
        max-width: 80%;
        margin: auto;
    }


    .info02 {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        justify-content: center;
    }

    .message {
        margin: 0;
    }

    .btn2 {
        margin: 20px 0 20px 30px;
        font-size: 34px;
        padding: 10px;
    }

}