@charset "utf-8";

/* ▼ トップヘッダー */
/* ▼ トップ画像 */
.top-img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* ▲ トップ画像*/
.top {
    position: relative;
    margin-top: 5px;
}

/* ▼ 氏名 */
/* ▼ 氏名 フォント */
.top-name {
    font-size: calc(100% + 5.0vw);
    color: #fff;
    /*    font-size: 7.0vw;*/
    /*    font-weight: bold;*/
    font-family: 'Playfair Display', serif;
    /*    font-family: 'Felipa', cursive;*/
    /*    font-family: 'Lobster', cursive;*/
    /*    font-family: 'Staatliches', cursive;*/
    text-shadow:
        #2a504f 0px 0px 15px, #2a504f 0px 0px 15px,
        #2a504f 0px 0px 15px, #2a504f 0px 0px 15px;
}

@media only screen and (min-width: 1441px) {
    .top-name {
        font-size: 88px;
    }
}
@media only screen and (max-width: 374px) {
    .top-name {
        font-size: 30px;
    }
}
/* ▲ 氏名 フォント */
/* ▼ 氏名 位置 */
.top-name {
    position: absolute;
    text-align: center;
    top: 35%;
    left: 50%;
    -ms-transform: translate(-50%, -35%);
    -webkit-transform: translate(-50%, -35%);
    transform: translate(-50%, -35%);
    margin: 0;
    padding: 0;
    width: 100%
        /*
    
    bottom: 0%;
    left: 0%;
    margin: 20%;
    padding: 20%;
*/

}


/* ▲ 氏名 位置 */
/* ▲ 氏名 */

/* ▼ 学年 */
/* ▼ 学年 フォント */
.top-grade {
    color: #fff;
    font-size: calc(100% + 0.8vw);
    /*    font-size: 2.5vw;*/
    /*    font-weight: bold;*/
    text-shadow:
        #2a504f 0px 0px 15px, #2a504f 0px 0px 15px,
        #2a504f 0px 0px 15px, #2a504f 0px 0px 15px;
}

@media only screen and (min-width: 1441px) {
    .top-grade {
        font-size: 27.52px;
    }
}
@media only screen and (max-width: 374px) {
    .top-grade {
        font-size: 14px;
    }
}
/* ▲ 学年 フォント */
/* ▼ 学年 位置 */
.top-grade {
    position: absolute;
    text-align: center;
    top: 65%;
    left: 50%;
    -ms-transform: translate(-50%, -35%);
    -webkit-transform: translate(-50%, -35%);
    transform: translate(-50%, -35%);
    margin: 0;
    padding: 0;
}

/* ▲ 学年 位置 */
/* ▲ 学年 */



/* ▲ トップ画像*/

/* ▼ 個人メニュー */
.personal-menu {
    text-align: center;
    /*    float: center;*/
    font-size: 1.5em;
    /*    color: #f5f5f5;*/
    background-color: #007D7A;
    line-height: 50px;
    margin-top: 2.5px;

}

.personal-menu a {
    color: white;
    text-decoration: none;
    display: block;
}

.personal-menu a:hover {
    /*    background-color:cadetblue;*/
    opacity: 0.4;
    line-height: 50px;
}

.personal-menu a br {
    display: none;
}

/*.personal-menu br{ display:block; }*/
@media only screen and (max-width: 767px) {
    .personal-menu a br {
        display: inline;
    }

    .personal-menu {
        text-align: center;
        padding-top: 7px;
        padding-bottom: 7px;
        /*    float: center;*/
        font-size: 15px;
        /*    color: #f5f5f5;*/
        background-color: #007D7A;
        line-height:normal;
        
        /*    margin-top: 2.5px;*/
        /*        margin-right: -10px;*/
        /*margin-left: -10px;*/

    }

    .personal-menu a {
        color: white;
        text-decoration: none;
    }

    .personal-menu a:hover {
        /*    background-color:cadetblue;*/
        opacity: 0.4;
        line-height: normal;
    }
}

/* ▲ 個人メニュー */

/* ▼ CV ダウンロードボタン*/
.btn-flat-border {
    display: inline-block;
    padding: 0.3em 1em;
    text-decoration: none;
    font-weight: bold;
    color: #2a504f;
    border: solid 0px #FFFFFF;
    border-radius: 6px;
    transition: .4s;
}

.btn-flat-border:hover {
    background: #2a504f;
    color: white;
    border: solid 0px #2a504f;
    border-radius: 6px;
}

/* ▲ CV ダウンロードボタン*/

/* ▼ お知らせ スクロール */
.news {
    padding: 20px;
    border: solid 5px #e6ede9;
    /* display: block;*/
    width: 100%;
}

.news h1 {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 18px;
    color: #666666;
    font-weight: bold;
}

.news ul {
    margin: 0;
    padding: 0;
    list-style: none;

    overflow: auto;
    height: 100px;
    /*    width: 600px;*/
    /*display: block;*/


}

.news li {
    display: block;
    padding: 5px;
    border-bottom: dotted 2px #e6ede9;
    color: #000000;
    font-size: 14px;
    text-decoration: none;
}

.news li:hover {
    background-color: #eeeeee;
}

.news time {
    color: #888888;
    font-weight: bold;
}


.news time {
    float: left;
    width: 60px
}

.news .text {
    float: none;
    width: auto;
    margin-left: 60px
}

/* ▲ お知らせ スクロール */


/* ########### 599px以下 ########### */
@media (max-width: 599px) {

    /*     ナビゲーション */
    .menu li a {
        padding: 10px 7px;
        font-size: 11px
    }


    /*     キャッチコピー */
    .catch {
        padding: 5px 10px;
        font-size: 12px
    }

}

/* ▼ ページトップボタン */

#page_top {
    width: 50px;
    height: 50px;
    position: fixed;
    right: 30px;
    /*    1.5em;*/
    bottom: 30px;
    /*    1.5em;*/
    background: #2a504f;
    opacity: 0.7;
    border-radius: 50%;
}

#page_top a {
    position: relative;
    display: block;
    width: 50px;
    height: 50px;
    text-decoration: none;
}

#page_top:hover {
    opacity: 1;
}

#page_top a::before {
    font-family: "Font Awesome 5 Free";
    content: '\f102';
    font-weight: 900;
    font-size: 25px;
    color: #fff;
    position: absolute;
    width: 25px;
    height: 25px;
    top: 0px;
    bottom: 15px;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
}

/* ▲ ページトップボタン*/

/* ▼ 画像のスクロール*/
#pageBody .mainVisual .mainVisualText p {
    font-size: 10px;
    line-height: 1.5;
    margin-bottom: 0;
}

#pageBody .mainVisual ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

#pageBody .mainVisual ul li {
    position: relative;
}

/* ▲ 画像のスクロール*/

/***************************************/
/*
.br {
    display: block;
}
*/
.text br {
    display: none;
}

.personal-menu br {
    display: none;
}

/*.personal-menu br{ display:block; }*/
@media only screen and (max-width: 767px) {
    .text br {
        display: inline;
    }

}
