@charset "UTF-8";

#header_logo a:hover {
    opacity: 0.9;
}

#school-header {
    background: url(../img/school-header.jpg) no-repeat center;
}

.header_copy_up, .header_copy_u {
    color: white;
    position: absolute;
    /* text-shadow: 3px 3px 10px #000; */
}

.header_copy_up {
    font-size: 3rem;
    top: 5%;
    left: 3%; 
    border: #FFF solid 3px;
    border-radius: 10px;
    padding: 5px 10px;
    background-color: rgba(0, 70, 3, 0.4);
}

.header_copy_u {
    font-size: 4rem;
    top: 60%;
    right: 0; 
    background-color: rgba(0, 70, 9, 0.3);
    backdrop-filter: blur(5px);
    padding: 0 20px;
}

.about_ttl span::before {
    content: '・';
    color: #EF6000;
    position: absolute;
    top: -2.5rem;
    left: 0;
    background: none;
    background-size: 100%;
    /* width: 161px */;
    height: 10px;
}

#about .about_box2 {
    justify-content: center;
}

#routine .routine_box, #quality .quality_box  {
    justify-content: space-around;
}

#routine .routine_box .item:nth-of-type(even) {
    padding-top: 0;
}

#routine .routine_box .item:nth-of-type(odd)::after{
    content: none;
}

#routine .routine_box .item:nth-of-type(10) {
    display: block;
}

.routine2 {
    width: 275px;
    height: 55px;
    border-radius: 15px 15px 0 0;
    padding: 12px;
    background-color: #18732e;  
}

.one-line,.two-line {
    color: white;
    font-size: 1.7rem;
    text-align: center;
}

.one-line {
    line-height: 3rem;
}

.two-line {
    line-height: 1.9rem;
}

.routine2-pic,.thumb-right {
    width: 100%;
    /* aspect-ratio: 16/9; */
}
.routine2-pic img {
    border-radius: 0 15px 15px 15px;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.s-item:nth-of-type(17)::after{
    content: none !important;
}

.tree-5 {
    margin-top: 70px;
    text-align: center;
    width: fit-content;
}

.tree-box {
    display: flex;
    margin-top: 60px;
    padding: 0 40px;
    position: relative;
    justify-content: center;
    align-items: center;
} 

.tree-box p {
    font-family: iroha-21popura-stdn, sans-serif;
    font-size: 2.5rem;
}

.tree-box img{
    width: 25vw;
}

.cont-sch {
    display: flex;
    flex-direction: column;
}

@media screen and (min-width:1080px) {
    .about_ttl span::before {
    top: -3rem;}
}

@media only screen and (max-width: 800px) {
    .tree-box {
        flex-direction: column;
        align-items:center;
}
    .tree-right img{
        width: 250px;
        margin: 20px auto;
    }
    } 

@media (min-width: 1025px) and (max-width: 1240px) {
    .header_copy_u {
        font-size: 3rem;
        top: 75%;
    }    
}

@media (min-width: 814px) and (max-width: 1024px) {
        .header_copy_up {
            font-size: 2rem;
            top: 5%;
        }
        .header_copy_u {
            font-size: 2.8rem;
            top: 70%;
        }    
    }

@media (min-width: 768px) and (max-width: 813px) {
        .header_copy_up {
        font-size: 2rem;
        }
        .header_copy_u {
        font-size: 2.3rem;
        top: 70%;
        }
}

@media screen and (max-width:767px) {
        .about_ttl span::before {
        top: -2rem;}
        .tree-5 {
            display: none;
        }

        .header_copy_up,.header_copy_u  {
            left: 3%; 
        }
        
        .header_copy_up {
            font-size: 2rem;
            top: 70%;
        }
        
        .header_copy_u {
            font-size: 3.3rem;
            top: 80%;
        }
        
    }
    
    @media screen and (max-width:600px) {
        .about_ttl span::before {
        top: -2rem;}
        .tree-5 {
            display: none;
        }
        .header_copy_up {
            font-size: 2rem;
            top: 60%; 
        }
        
        .header_copy_u {
            font-size: 3.3rem;
            top: 70%;
            left: 0;
        }
 
        .routine2 {
            width: 100%; 
        }

        .routine2-pic img {
            border-radius: 0 0 15px 15px;
        }
        
    }

@media screen and (max-width:297px) { 
        .header_copy_u {
        font-size: 2.5rem;}
        .one-line,.two-line {
            font-size: 1.2rem;
        }
        .one-line,.two-line {
        line-height: 2.8rem;}
        .two-line {
            line-height: 1.5rem;}
}