@charset "utf-8";

/* メインフォント */
@font-face {
    font-family: 'BIZUDPGothic-Regular';
    src: url(fonts/BIZ_UDPGothic/BIZUDPGothic-Regular.ttf);
}
/* メインフォント太字 */
@font-face {
    font-family: 'BIZUDPGothic-Bold';
    src: url(fonts/BIZ_UDPGothic/BIZUDPGothic-Bold.ttf);
}
/* メインフォント明朝体 */
@font-face {
    font-family: 'BIZUDPMincho-Regular';
    src: url(fonts/BIZ_UDPMincho/BIZUDPMincho-Regular.ttf);
}

/* 基本 */
html {
    scroll-behavior: smooth;
    body {
        font-family: 'BIZUDPGothic-Regular',"Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
        /* フォントサイズ要検討font-size: clamp(0.875rem, 0.591rem + 1.42vw, 1.5rem);
        min-height: 0; */
        margin: 0 auto;
        line-height: 1.5em;
        img {
            max-width: 100%;
            vertical-align: bottom;
        }
        svg, video {
            width: 100%;
        }
        a {
            display: block;
            text-decoration: none;
            color: #000;
        }
        ul {
            list-style: none;
        }
        ruby {
            ruby-position: over;
        }
    }
}

/* **************************************************** */
/* ローディング画面 */
#loading{
    transition: all .5s;
    background:#ddd;
    position: fixed;
    z-index: 99999;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.spinner{
    width: 20vw;
    max-width: 150px;
    height: auto;
    animation: spinner 3000ms linear infinite;
}
@keyframes spinner{
    0%{
        background-color: transparent;
        transform: rotate(360deg)

    }
    100%{
        transform: rotate(0deg);
    }
}
.loaded{
    opacity: 0;
    visibility: hidden;
}

/* ************************************************* */

/* トップ */
#top{
    height: 90vh;
    background: url(../images/kousha.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
    /* オーバーレイ */
    .overlay{
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 0;
        background: rgba(0,0,0,0.1);
        transition: height 2s ease;
        z-index: 0;
    }
    .top_elements{
        color: #fff;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        align-content: flex-start;
        position: relative;
        z-index: 1;
        height: 90vh;
        /* ヘッダー */
        header{
            margin: 2%;
            width: 10%;
            min-width: 200px;
            padding: 10px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            .school_logo{
                margin: 0 auto;
                width: 60%;
            }
            .school_name{
                color: #fff;
                font-size: 1em;
                font-family: 'BIZUDPMincho-Regular';
                font-weight: unset;
                text-align: center;
            }
        }
        /* 臨時情報 */
        .top_info_box{
            margin: 2rem 0 0 2rem;
            display: flex;
            flex-direction: column;
            .top_info{
                display: inline-block;
                margin: 1rem 0 ;
                color: #fff;
                padding: .75em 1em .25em 2em;
                align-self: flex-end;
                background: hsla(221, 66%, 72%, 0.6) ;
                border-bottom: 1px solid #db75b4;
                clip-path: polygon(1.25em 0, 100% 0, 100% 100%, 0 100%);
                -webkit-clip-path: polygon(1.25em 0, 100% 0, 100% 100%, 0 100%);
            }
            .top_info:hover{
                background: hsla(221, 57%, 82%, 0.7);
                border-bottom: 2px solid #f1b4da;
            }
        }
        .Catchphrase{
        position: absolute;
        bottom: 10%;
        left: 40%;
        transform: translate(-50%,-50%);
        color: #fff;
        text-wrap: nowrap;
        text-shadow: 0 0 10px #000000;
        font-family:'BIZUDPMincho-Regular';
        font-weight: unset;
        font-size: clamp(0.875rem, 0.591rem + 2.42vw, 2rem);
        letter-spacing: .2em;
        }
    }
}
/* スクロール誘導 */
.induction_bar{
    height: 10vh;
    background: #234468;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    .triangle{
        height: 30%;
        border: 20px solid;
        border-color: #fff transparent transparent transparent;
        position: relative;
        top: 30%;
    }
    .arrow{
        height: 40%;
        aspect-ratio: 1;
        border: 2px solid;
        border-color:transparent #fff #fff transparent ;
        transform: rotateZ(45deg) ;
        transform-origin:center center 0;
        position: relative;
        bottom: 30%;
    }
}

/* 2カラム設定（左右） */
.column_box{
    display: flex;
    #main_menu_box{
        width: 200px;
        background: #234468;
        z-index: 100;
    }
    .contents_box{
        margin: 0 auto;
        background: #E9E8E8;
        width: calc( 100% - 200px );
    }
}
/*  ハンバーガー用チェックボックス非表示 */
#open{
    display: none;
}
/* メインメニュー */
#main_menu{
    position: sticky;
    top: 0;
    .to_top{
        display: flex;
        .nav_logo{
            padding: 30px .5em;
            display: flex;
            align-items: center;
            .school_logo{
                margin: 0 auto;
                width: 50px;
            }
            .school_name{
                display: block;
                color: #fff;
                font-size: 1em;
                font-family: 'BIZUDPMincho-Regular';
                font-weight: unset;
                font-size: .9em;
                line-height: 1.2em;
            }
        }
    }
    .to_top:hover{
    background: #4e7fb3;
    }
    #page_link_list{
        padding: 10px 0 0 ;
        .parent_item{
            padding: .5em 1em .25em;
            border-bottom: 1px dotted #fff;
            position: relative;
            a{
                color: #fff;
                font-size: .875em;
                ul{
                    display: flex;
                    flex-wrap: wrap;
                    .child_item{
                        font-size: .8em;
                        line-height: 1rem;
                        color: #d4d4d4;
                        padding: 0 .25em;
                    }
                }
            }
        }
        .parent_item:nth-child(2), .parent_item:nth-child(7), .parent_item:nth-child(8), .parent_item:nth-child(9){
            background: #1a3653;
        }
        .parent_item:hover{
            background: #4e7fb3;
        }
        /* 現在地設定 */
        /* .current_location::before{
            content: '';
            width: 2px;
            height: 70%;
            background: #fff;
            position: absolute;
            top: .5em;
            left: .5em;
        } */
    }
}
/* リンクボックス */
#banner_link_box{
    padding: 2% 0;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    a{
        font-family: 'BIZUDPGothic-Bold';
        font-size: 1.25em;
        margin: 10px;
        .banner_link{
            width: 300px;
            padding: 1.5em 2em;
            display: flex;
            justify-content: center;
            align-items: center;
            }
        .banner_link::before{
            content:'to';
            display: inline-block;
            font-size: .75em;
            margin-right: 1em;
        }
    }
    .to_blog{
        color: #000;
        background: #fff ;
        position: relative;
    }
    .to_blog::after{
        content: '';
        background: #000;
        position: absolute;
        left: 5%;
        bottom: .5em;
        width: 90%;
        height: .25em;
    }
    .to_blog:hover{
        background: #d5dfe9;
    }
}
#shortcut_link_box{
    display: flex;
    flex-direction: column;
    align-items: center;
    a{
        color: #fff;
        font-size: 1.25em;
        .shortcut_link{
            width: 200px;
            margin: 10px;
            padding: .5em;
            border-radius: 10px;
            display: flex;
            justify-content: center;
            align-items: center;
        }
    }
    /* 行事予定 */
    .to_gyoujiyotei{
        .shortcut_link{
            background: #0859b6;
        }
        .shortcut_link:hover{
        background-color: #569fec;
        }
        .shortcut_link::before{
            content:'';
            display: inline-block;
            margin-right: .5em;
            background: url(../images/icons/schedule.svg);
            width: 1.5em;
            aspect-ratio: 1;
        }
    }
    /* 入札情報 */
    .to_nyuusatsu{
        .shortcut_link{
            background: #525a62;
        }
        .shortcut_link:hover{
        background-color: #7c8085;
        }
    }
}
/* フッター */
footer{
    color: #fff;
    background: #474747;
    padding: 1em;
    /* アクセス */
    #access{
        padding: 20px 0;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        .school_info{
            width: 320px;
            line-height: 1.5em;
            padding-bottom: 2em;
            .school_name{
                display: flex;
                align-items:center;
            }
            .school_name::before{
                content:'';
                display: inline-block;
                width: 3rem;
                height: 3rem;
                background-image: url(../images/koushou.svg);
                background-position: center;
                background-size: contain;
                vertical-align: bottom;
            }
            .address_info{
                padding: 1em 0 0 1em;
                a{
                    display: inline-block;
                    color: #fff;
                    text-decoration: underline;
                }
            }
        }
        .map_area{
            width: 320px;
            padding: .5em;
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            align-items: center;

            .map_info{
                padding: .5em;
                font-size: .9em;
            }
            .google_map{
                padding: .5em;
            }
        }
    }
    #copy_write_area{
        padding: 20px 0;
        font-size: .75em;
        text-align: center;
    }
}
/* サブメニュー */
.sub_menu{
    background: #234468;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    height: 40px;
    padding: 0.5em 40px 0.5em 250px;
    display: flex;
    align-items: center;
    color: #fff;
    text-wrap:nowrap;
    overflow: hidden;
    h2{
        font-weight: unset;
        font-size: 0.9em;
        padding: 0 1em;
    }
    .inner_page_link_list{
        min-width: 300px;
        display: flex;
        align-items: center;
        overflow-x: scroll;
        /* スクロールバー非表示用 */
        -ms-overflow-style: none;
        scrollbar-width: none;
        .child_item{
            padding: .25em;
            a{
                color: #fff;
                font-size: .75em;
                line-height: 1.25rem;
                padding: 0 0.75em;
                border: 1px solid;
                border-radius: 25px;
            }
        }
        /* スクロールバー非表示用 */
        .inner_page_link_list::-webkit-scrollbar {
            display: none;
        }
    }
}
/* コンテンツ（記事部分） */
.wrapper{
    padding: 80px 2.5%;
    overflow: hidden;
    section{
        padding: 2rem 2.5%;
        background: #fff;
        /* 見出し */
        .section_title{
            font-size: 1.25em;
            padding: 1em 0 0.25em;
            border-bottom: 2px solid #234468;
        }
        /* 小見出し1 */
        .section_sub_title{
            margin-top: 2em;
            display: flex;
            color: #232b32;
            border-left: solid 5px #90adcc;
            padding: 0 .75em;
        }
        /* 小見出し2 */
        .section_sub_sub_title{
            padding: 1.5em .5em 0;
            display: flex;
            color: #37424e;
        }
        .section_sub_sub_title::before{
            content:'✓';
            display: inline-block;
            color: #90adcc;
            margin-right: .25em;
        }
        /* 本文の段落設定 */
        p{
            padding: 2em .5em 1em;
            span {
                font-family: 'BIZUDPGothic-Bold';
                background: linear-gradient(transparent 70%, yellow 70%);
            }
        }
        /* インデント説明 */
        dl{
            padding-left: 2em;
            line-height: 2em;
            dt{
                padding-top: 1em;
            }
            dd{
                padding-left: 1em;
            }
        }
    }
}


/* **************************************************** */

/* ファイルボックス */
.file_box{
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    padding: 1em 0;
    /* pdfファイル */
    .pdf_link{
        display: flex;
        align-items: center;
        margin: .5em;
        padding: 0em 1em 0 .5em;
        width: 17rem;
        height: 3.5rem;
        border: #234468 1px solid;
        border-radius: 0 10px 0 0;
        line-height: 1.25;
    }
    .pdf_link::before{
        content:'pdf';
        display: inline-block;
        color: #929292;
        font-size: .75em;
        margin-right: .5em;
    }
    .pdf_link:hover{
        background: #eeeeee;
    }
}
/* ファイル一覧 */
.file_list{
    padding: 1em;
    .file_link{
        margin: .5em;
        padding: .5em;
        text-decoration-line: underline;
    }
    .file_link:hover{
        color: #234468;
    }
    .file_link:visited{
        color: #68233a;
    }
}
/* 詳細ページへのリンクボタン */
.light_button{
    padding: 1em;
    display: flex;
    justify-content: flex-end;
    .light_link{
        border-bottom: 1px solid #234468;
        display: flex;
        align-items: center;
    }
    .light_link::before{
        content: '';
        display: inline-block;
        background-image: url(../images/icons/arrow_circle.svg);
        width: 1em;
        aspect-ratio: 1;
        margin: 0 .25em;
    }
    .light_link:hover{
        color: #234468;
    }
}
/* リンク無効化 */
.no_link{
    pointer-events: none;
    text-decoration-line: none !important;
    opacity: .5;
}
/* 各ページ(TOP)へ戻るリンクボタン */
.back_button{
    display: flex;
    justify-content: flex-end;
    padding: 2em;
    .back_link{
        border: 1px solid #234468;
        border-radius: 10px;
        display: flex;
        align-items: center;
        padding: .5em;
    }
    .back_link::after{
        content: '←';
        display: inline-block;
        width: 1em;
        aspect-ratio: 1;
        margin: 0 .25em;
    }
    .back_link:hover{
        background: #234468;
        color: #fff;
    }
}


/* **************************************************** */

/* 新着情報 */
#new_info{
    margin: -40px 0 7.5%;
    position: relative;
    .info_box{
        background: #4c574d;
        margin-top: 1em;
        display: flex;
        padding: 1rem .5rem 2rem;
        overflow-x: scroll;
        scrollbar-color: #ca9779 #ebc3ad;
        scrollbar-width: thin;
        .info_item{
            margin: 10px;
            padding: .5em;
            background: #DED5D5;
            display: flex;
            flex-direction: column;
            align-items: center;
            .info{
                background: #fff;
                width: 180px;
                height: 120px;
                padding: 1.5em 1em;
                font-size: .75em;
                time{
                    display: block;
                }
                h4{
                    line-height: 1.6em;
                }
            }
        }
    }
}
#new_info::after{
    content: '→ scroll →';
    display: block;
    position: absolute;
    bottom: .5em;
    left: 50%;
    transform: translateX(-50%);
    color: #234468;
    font-size: .85em;
}

/* 学校概要 */
#kouchou{
    p{
        font-family: 'BIZUDPMincho-Regular';
        font-size: .9em;
        line-height: 2em;
    }
    .sine{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }
}
#enkaku{
    .enkaku_list{
        padding: 1em;
        display: grid;
        grid-template-columns: 1fr 3fr;
        gap: 1em;
        align-items: start;
        font-size: .9em;
        .year{
            font-family: 'BIZUDPGothic-Bold';
            white-space: nowrap;
        }
        .year::before{
            content:'-';
            display: inline-block;
            color: #234468;
            margin-right: .5em;
        }
        p{
            padding: 0 0 .5em 1em;
        }
    }
}
#kouka{
    .kouka_box{
        margin: 3em auto;
        padding: 3em 1.5em;
        background: #ecfbff;
        font-family: BIZUDPMincho-Regular;
        writing-mode: vertical-rl;
        position: relative;
        .song_title{
            padding-top: 0;
            font-size: 1.25em;
        }
        .songwriter{
            padding: 0;
            text-align: end;
            font-size: 0.75em;
        }
        .lyrics{
            display: flex;
            flex-direction: column;
            flex-wrap: wrap;
            padding: 1em .5em 1em 0;
            .verse{
                padding: .75em 1em .75em 0;
            }
        }
    }
    .kouka_box::before{
        content: "";
        position: absolute;
        inset: 0;
        opacity: 0.15;
        background-image: url(../images/koushou.svg);
        background-size: contain;
        background-position: center;
        margin: 30%;
    }
}
#kyouiku_katei{
    .koujihyou{
        min-width: 300px;
    }
}

/* 学校生活 */
#shoukai{
    .introduction_video_container{
        margin: 2rem auto;
        width: 90%;
        height:auto;
        aspect-ratio:16/9;
    }
    /* youtube埋め込み用 */
    /* .Introduction_video_container01{
        margin: 0 auto;
        width: 80%;
        height:auto;
        aspect-ratio:16/9;
        object-fit:cover;
        position: relative;
        padding-top: 56.25%; /* 16:9 アスペクト比
        height: 0;
        iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
    }*/
    .ichinichi_box{
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        gap: 1em;
        .jugyoubi_box{
            max-width: 550px;
            min-width: 300px;
            .jugyoubi_photo_box{
                padding: 1.5em .5em;
                display: grid;
                grid-template-columns: repeat(2,1fr);
                gap: 5px;
                .jugyoubi_photo{
                    margin: 1px;
                }
            }
        }
        .koujihyou_box{
            align-self: flex-start;
            .koujihyou{
                padding-top: 1.5em;
            }
        }
    }
}
#gyouji{
    .rough_schedul{
        padding: 1em;
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 1em;
        .period{
            display: grid;
            grid-template-columns: 1fr 4fr;
            padding: .5em;
            .month{
                padding: .5em;
                white-space: nowrap;
                font-size: 1.5em;
                text-align: center;
            }
            .events{
                padding: 0.5em;
                font-size: .9em;
                color: #333;
                ul{
                    display: flex;
                    flex-wrap: wrap;
                    gap: 0 1em;
                }
            }
        }
        .period:nth-child(1){
            background: #ffe0f8;
            color: #be62a9;
        }
        .period:nth-child(2){
            background: #ffe5d4;
            color: #bd703d;
        }
        .period > * {
            border-bottom: 3px solid #fff;
        }
    }
}
#seito_no_koe{
    .bubble_container{
        margin: 2em 0;
        .bubble_box{
            margin: 1em 0;
            display: flex;
            justify-content: center;
            gap: 1em;
            align-items: start;
            .icon{
                width: 10%;
                min-width: 40px;
                max-width: 60px;
                aspect-ratio: 1;
                margin-top: .25em;
                background-image: url(###);
                background: #ddd;
                border-radius: 100%;
            }
            .bubble{
                width: 80%;
                border-radius: 25px;
                p{
                    font-family: 'KleeOne-Regular';
                    padding: 1em;
                }
                }
            .impression01{
                background: #ffe5e5;
            }
            .impression02{
                background: #e1ebff;
            }
            .impression03{
                background: #e6ffe4;
            }
        }
        .short_bubble_box{
            display: flex;
            justify-content: space-around;
            gap: 2em;
            flex-wrap: wrap;
            .short_bubble{
                background: #fff9e1;
                border-radius: 25px;
                width: 300px;
                display: flex;
                align-items: center;
                p{
                    padding: .5em 1.5em;
                }
            }
        }
    }
}
#kagai_katsudou{
    .group_list {
        display: flex;
        flex-wrap: wrap;
        padding: 2em .5em;
        gap: .5em;
        .group_litem {
            width: 90px;
            aspect-ratio: 1;
            background-color: #f0f0f0;
            border-radius: 12px;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 0.5em;
            h4 {
                font-size: 0.8em;
                color: #333;
                line-height: 1.25em;
                word-break: break-word;
                text-align: center;
                }
        }
        .undoubu{
            background: #ffe8e8;
        }
        .bunkabu{
            background: #def7f8;
        }
        .others{
            background: #e3d9ff;
        }
    }
}

/* 本校を志望する方 */
#nyuushi_info{
    .nyuushi_category{
        display: grid;
        grid-template-columns: 1fr 4fr;
        gap: 2em;
    }
    .light_button{
        justify-content: space-around;
    }
}