@charset "UTF-8";

/* 共有 */
.section-box {
    .content-item-desc {
        font-size: 1.2rem;
        margin-top: 3rem;
    }
}

/* About */

.section-about {
    
    .content-box {
        display: flex;
        flex-direction: column;
        gap: 7rem;
    }

    .course-list{
        display: grid;
        grid-template-columns: repeat(2,1fr);
        grid-gap: 3rem;
        margin-top: 3rem;

        @media screen and (max-width: 767px) {
          grid-template-columns: 1fr;
        }

        .course-item{
            border-radius: 1rem;

            .item-title-box{
                font-size: 2.6rem;
                font-weight: bold;
                color: #fff;
                padding: 2.5rem 0;
                display: flex;
                justify-content: center;
                align-items: center;
                flex-direction: column;
                text-align: center;
                line-height: 1.2;
                height: 11rem;

                @media screen and (max-width: 767px) {
                  font-size: 1.8rem;
                  line-height: 1.5;
                  height: auto;
                }

                & span {
                    display: block;
                    font-size: 2rem;
                }
            
            }

            .item-content-box{
                padding: 3.5rem 4.5rem;
                display: flex;
                flex-direction: column;
                gap: 2rem;
            
                .content-row{
                
                    .row-title{
                        font-size: 1.8rem;
                        font-weight: bold;
                        color: #fff;
                        display: inline-block;
                        padding: 7px 11px;
                        margin-bottom: 1.6rem;
                    
                    }
                    .row-main-text{

                        & span {
                            font-weight: bold;
                        }
                    
                    }
                }
            }

            &.a-course {
                border: 4px solid var(--primary-color);
                .item-title-box{
                    background-color: var(--primary-color);
            
                }

                .item-content-box{
            
                .content-row{
                
                    .row-title{
                        background-color: var(--primary-color);
                    
                    }
                    .row-main-text{

                        & span {
                            color: var(--primary-color);
                        }
                    
                    }
                }
                }
            }
            &.b-course {
                border: 4px solid #489D72 ;
                .item-title-box{
                    background-color: #489D72;
            
                }

                .item-content-box{
            
                .content-row{
                
                    .row-title{
                        background-color: #489D72;
                    
                    }
                    .row-main-text{
                        & span {
                            color: #489D72;
                        }
                    
                    }
                }
                }
            }
            &.c-course {
                border: 4px solid #4D9FDD;
                .item-title-box{
                    background-color: #4D9FDD;
            
                }

                .item-content-box{
            
                .content-row{
                
                    .row-title{
                        background-color: #4D9FDD;
                    
                    }
                    .row-main-text{
                        & span {
                            color: #4D9FDD;
                        }
                    
                    }
                }
                }
            }
            &.l-course {
                border: 4px solid #7871b8;
                .item-title-box{
                    background-color: #7871B8;
            
                }

                .item-content-box{
            
                .content-row{
                
                    .row-title{
                        background-color: #7871B8;
                    
                    }
                    .row-main-text{
                        & span {
                            color: #7871B8;
                        }
                    
                    }
                }
                }
            }
        
        }
    }

}