@charset "utf-8";

/* 背景　流体 */
.background-svg {
    margin-top: -200px;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: -1;
}

.background-svg svg {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    position: fixed;
    top: 0;
    left: 0;
}

/* 見出しの装飾 */
.midashi {
    width: 500px;
    text-align: center;
    position: relative;
    border-radius: 50px;
    margin: 200px auto;
    padding: 1rem 2rem calc(1rem + 10px);
    background: #FFB6CD;
    font-size: 40px;
    font-weight: normal;
}

.midashi:before {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 100%;
    height: 100%;
    content: '';
    border: 2px solid #000;
    border-radius: 50px;
}

/* 詳細ボタン */
.more {
    width: 250px;
    margin-top: 20px;
    padding: 5px 0;
    font-size: 20px;
    text-align: center;
    border-radius: 50px;
    border: 1px solid black;
    background-color: azure;
}

/* title名 */
/* member */
.title {
    margin: 0 0 50px 0;
    text-align: center;
    font-size: 40px;
}

/* 教室名 */
.school-title {
    font-size: 30px;
}

/* displayで横並び */
.teacher-display {
    display: flex;
    justify-content: space-between;
    padding: 40px;
    background-color: #FFB6CD;
    border-radius: 40px;
    border: 1px solid black;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.display {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 40px;
    border-radius: 40px;
    border: 1px solid black;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* コンテンツの背景 */
.team01{
    background-color: #fed7e3;
}

.team02{
    background-color: #FFB6CD;
}

/* 長久手教室の下に80px空ける */
.nagakute {
    margin-bottom: 80px;
}

/* チームについて */
.team-about {
    margin-bottom: 250px;
}

/* 内容 */
.team-content {
    padding: 50px 0;
    text-align: center;
    line-height: 2;
    font-size: 28px;
    border-radius: 40px;
    border: 1px solid black;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.teacher-content {
    width: 700px;
    line-height: 2;
    font-size: 28px;
}

/* 挿入写真 */
.teacher .teacher-image {
    height: 400px;
    aspect-ratio: 3/4;
    background-image: url("../images/photo19.jpg");
    background-size: cover;
    border-radius: 40px;
    margin-right: 40px;
    border: 1px solid black;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* 各教室について */
.student-content {
    width: fit-content;
    line-height: 2;
    font-size: 25px;
}

/* 挿入写真 */
.student .image1 {
    width: 50%;
    height: 350px;
    background-image: url("../images/photo39.JPG");
    background-size: cover;
    border-radius: 40px;
    border: 1px solid black;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.student .image2 {
    width: 50%;
    height: 300px;
    background-image: url("../images/photo35.jpg");
    background-size: cover;
    border-radius: 40px;
    border: 1px solid black;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* スマホ対応　 ------------------------------------------------------- */
@media (max-width: 440px) {

    /* 背景　流体 */
    .background-svg {
        display: none;
    }

    .midashi {
        width: 300px;
        text-align: center;
        position: relative;
        border-radius: 50px;
        margin: 100px auto;
        padding: 1rem .5rem calc(1rem + 10px);
        background: #FFB6CD;
        font-size: 25px;
        font-weight: normal;
    }

    .midashi:before {
        position: absolute;
        top: -8px;
        left: -8px;
        width: 100%;
        height: 100%;
        content: '';
        border: 2px solid #000;
        border-radius: 50px;
    }


    /* 詳細ボタン */
    .more {
        width: 150px;
        margin-top: 10px;
        margin-left: auto;
        padding: 3px 0;
        font-size: 13px;
        text-align: center;
        border-radius: 50px;
        border: 1px solid black;
        background-color: #ffeb69;
    }

    .more:hover {
        background-color: #fff;
    }

    /* title名 */
    /* member */
    .title {
        margin: 0 0 50px 0;
        text-align: center;
        font-size: 18px;
    }

    /* 教室名 */
    .school-title {
        padding-bottom: 5px;
        font-size: 18px;
    }

    /* displayで横並び */
    .teacher-display {
        display: flex;
        justify-content: space-between;
        padding: 20px;
        border-radius: 30px;
        border: 1px solid black;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    }

    .display {
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding: 20px;
        border-radius: 30px;
        border: 1px solid black;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    }

    /* 長久手教室の下を40px空ける */
    .nagakute {
        margin-bottom: 40px;
    }

    /* チームについて */
    .team-about {
        margin-bottom: 50px;
    }

    /* 内容 */
    .team-content {
        padding: 20px;
        text-align: center;
        line-height: 1.5;
        font-size: 13px;
        border-radius: 30px;
        border: 1px solid black;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    }

    .teacher-content {
        width: 200px;
        padding: 0 0 0 10px;
        line-height: 1.5;
        font-size: 13px;
    }

    /* 先生の写真 */
    .teacher .teacher-image {
        width: 40%;
        height: auto;
        margin-right: 10px;
        padding: 0;
        background-image: url("../images/photo19.jpg");
        background-size: cover;
        background-position: center bottom;
        border-radius: 10px;
        border: 1px solid black;

    }

    /* 各教室について */
    .student-content {
        width: 100%;
        padding: 0;
        font-size: 13px;
        line-height: 1.5;
        background-color: none;
        border-radius: none;
        border: none;
        box-shadow: none;
    }

    /* 教室ごとの写真 */
    .student .image1 {
        width: 50%;
        height: 134px;
        background-image: url("../images/photo39.JPG");
        background-size: cover;
        background-position: center bottom;
        border-radius: 10px;
        border: 1px solid black;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    }

    .student .image2 {
        width: 50%;
        height: 115px;
        background-image: url("../images/photo35.jpg");
        background-size: cover;
        background-position: center bottom;
        border-radius: 10px;
        border: 1px solid black;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    }
}