@charset "utf-8";

/*-----------------------------------
タイトル
-----------------------------------*/
.page_ttl img {
    height: 5.5dvh;
}

/*-----------------------------------
img
-----------------------------------*/
#img {
    height: 100%;
    aspect-ratio: 420 / 615;
    display: flex;
    justify-content: center;
    align-items: center;
}
#img img {
    height: 60%;
}
@media screen and (max-width:768px){
    #img {
        aspect-ratio: 360 / 535;
    }
    #img img {
        height: 70%;
    }
}

/*-----------------------------------
タカカツアカデミー
-----------------------------------*/
#about_academy {
    height: 100%;
    aspect-ratio: 940 / 615;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    margin-left: 50px;
}
#about_academy .academy_logo {
    height: 14%;
    display: flex;
    justify-content: flex-start;
}
#about_academy .academy_logo img {
    width: auto;
    height: 100%;
}
#about_academy p {
    font-size: 2.2dvh;
    line-height: 2.5em;
    margin: 0.5em 0 10% 1.5em;
    font-weight: bold;
}
#about_academy .bg_img {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    z-index: 1;
    height: 80%;
}
@media screen and (max-width:768px){
    #about_academy {
        aspect-ratio: 900 / 535;
        margin-left: 20px;
    }
    #about_academy .academy_logo {
        height: 17%;
    }
    #about_academy p {
        font-size: 2.5dvh;
        margin: 0.8em 0 5% 1.5em;
    }
    #about_academy .bg_img {
        height: 92%;
    }
}

/*-----------------------------------
カリキュラムイメージ
-----------------------------------*/
#curriculum {
    height: 100%;
    aspect-ratio: 790 / 615;
    margin: 0 40px 0 90px;
    display: flex;
    justify-content: center;
    align-items: center;
}
#curriculum img {
    height: 79%;
    margin-bottom: 2%;
    object-fit: contain;
}
@media screen and (max-width:768px){
    #curriculum {
        aspect-ratio: 920 / 615;
        margin: 0 30px 0 40px;
    }
    #curriculum img {
        height: 92%;
        margin-bottom: 0;
    }
}

/*-----------------------------------
リンク
-----------------------------------*/
#academy_link {
    aspect-ratio: 1070 / 535;
    height: 100%;
}
#academy_link ul {
    width: 100%;
    height: 100%;
    display: flex;
}
#academy_link li {
    width: 33.33%;
    width: calc(100% / 3);
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
#academy_link li .inner {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
#academy_link li .bg_img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 1;
    transition: opacity .3s;
}
#academy_link li .bg_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#academy_link li a {
    width: 22dvh;
    height: 22dvh;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
}
#academy_link li:nth-child(1) a { background-color: #66946e; }
#academy_link li:nth-child(2) a { background-color: #687145; }
#academy_link li:nth-child(3) a { background-color: #566b55; }
#academy_link li:nth-child(4) a { background-color: #5d8351; }
#academy_link li a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#academy_link li a p {
    font-size: 1.9dvh;
    line-height: 1.5em;
    text-align: center;
    margin: 0.5em 0;
}
#academy_link li a .arrow {
    width: 19%;
    height: 19%;
    background-color: #231815;
    position: relative;
    border-radius: 50%;
}
#academy_link li a .arrow::before {
    content: "";
    width: 100%;
    height: 100%;
    background: url("../img/arrow.svg") no-repeat center center / contain;
    position: absolute;
    top: 0;
    left: 0;
}
#academy_link li a:hover + .bg_img {
    opacity: 0.5;
}
@media screen and (max-width:768px){
    #academy_link li {
        width: calc(100vw - 15px);
    }
}

/*-----------------------------------
科目例
-----------------------------------*/
#subject {
    height: 100%;
    aspect-ratio: 840 / 615;
    margin: 0 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
#subject .cont_ttl {
    font-size: 3.5dvh;
    letter-spacing: 0.05em;
    font-weight: bold;
    margin-bottom: 6%;
}
#subject .cont_ttl .note {
    font-size: 1.5dvh;
    display: block;
}
.subject_list {
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.subject_list .list_col {
    width: 29%;
}
.subject_list .list_col .list_ttl {
    width: 82%;
    font-size: 1.8dvh;
    letter-spacing: 0.05em;
    padding: 0.3em 0.8em;
    background-color: #773c21;
    color: #fff;
    margin-bottom: 0.8em;
}
.subject_list .list_col li {
    font-size: 1.8dvh;
    line-height: 2em;
    letter-spacing: 0.03em;
    margin-top: 0.3em;
}
@media screen and (max-width:768px){
    #subject {
        aspect-ratio: 770 / 615;
        margin: 0 20px;
    }
    .subject_list .list_col {
        width: 32%;
    }
    .subject_list .list_col .list_ttl {
        width: 92%;
    }
    #subject .cont_ttl {
        font-size: 3dvh;
        margin-left: 0.5em;
    }
    .subject_list .list_col .list_ttl {
        font-size: 2dvh;
        letter-spacing: 0.1em;
    }
    .subject_list .list_col li {
        font-size: 2dvh;
        letter-spacing: 0.01em;
    }
}
