/* モバイルスタイル */
/* ページタイトル */
.home-title {
    text-align: center;
    font-family: Papyrus;
    font-size: 25px;
    margin: 30px 0;
}

/* メニュー枠 */
.home-menu {
    text-align: center;
}

/* タイトル枠 */
.home-menu__title,
.home-introduction__title {
    margin: 20px 0;
}

/* メインタイトル */
.home-menu__main-title,
.home-introduction__main-title {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
}

/* サブタイトル */
.home-menu__sub-title,
.home-introduction__sub-title {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
}

.home-menu__item {
    width: 90%;
    height: 450px;
    margin: 0 auto 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

/* メニュー　画像 */
.home-menu__item-img {
    width: 280px;
    height: 280px;
    border-radius: 5px;
}

/* メニュー　説明 */
.home-menu__item-description {
    margin: 0;
    text-align: left;
}

.home-menu__item-link-frame {
    position: relative;
    width: 100%;
}

/* メニューリンク */
.home-menu__item-link {
    display: block;
    width: 100%;
    height: 100%;
    padding: 10px 0;
    background-color: #a59aca;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-size: 15px;
}

/* 紹介枠 */
.home-introduction {
    text-align: center;
    background-color: #f8f5cf;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-introduction__section {
    margin-bottom: 20px;
    width: 90%;
    margin: 0 auto 30px;
}

.home-introduction__img-group {
    position: relative;
    width: 280px;
    margin: 0 auto;
}

/* 講師画像 */
.home-introduction__img {
    display: block;
    width: 100%;
    height: 350px;
    border-radius: 5px;
}

.home-introduction__name {
    width: 100%;
    font-size: 25px;
    border-bottom: solid 3px #bbbbbb;
}

.home-introduction__career-group {
    margin-bottom: 20px;
}

.home-introduction__career {
    margin: 0;
}

.home-introduction__career-img {
    width: 200px;
    height: 250px;
    border-radius: 5px;
}

.home-introduction__text {
    font-weight: 700;
}

/* タブレットスタイル */
@media screen and (min-width: 768px) {
    /* メニュー枠 */
    .home-menu__list {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2列に均等に配置 */
    }

    .home-menu__item {
        height: 500px;
    }

    /* メニュー　画像 */
    .home-menu__item-img {
        width: 345px;
        height: 345px;
    }

    .home-introduction__flex {
        width: 100%;
        display: flex;
    }

    /* 講師画像　枠 */
    .home-introduction__img-group {
        width: 330px;
    }

    /* 講師画像 */
    .home-introduction__img {
        height: 400px;
    }

    .home-introduction__details {
        width: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .home-introduction__career-group {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .home-introduction__career-detail {
        text-align: left;
    }

    .home-introduction__career:first-of-type {
        margin-right: 20px;
    }

    .home-introduction__career-img {
        width: 100px;
        height: 150px;
    }

    .home-introduction__text {
        line-height: 30px;
    }
}

/* パソコンスタイル */
@media screen and (min-width: 1024px) {
    .home-menu {
        width: 1024px;
        margin: 0 auto;
    }

    .home-menu__list {
        grid-template-columns: repeat(4, 1fr); /* 4列に均等に配置 */
    }

    .home-menu__item {
        width: 250px;
        height: 450px;
    }

    /* メニュー　画像 */
    .home-menu__item-img {
        width: 250px;
        height: 250px;
    }

    /* メニューリンク */
    .home-menu__item-link {
        font-size: 12px;
    }

    .home-introduction__section {
        width: 1024px;
    }

    .home-introduction__flex {
        width: 90%;
        margin: 0 auto;
    }

    .home-introduction__img-group {
        display: flex;
        justify-content: center;
        width: 400px;
    }

    .home-introduction__img {
        height: 470px;
    }
}
