@charset "UTF-8";

#sub-company-message .container{
    max-width: 820px;
}

.sub-company-message_ttl{
    font-size: 30px;
    margin-bottom: 40px;
}


.sub-company-philosophy_ttl{
    color: #E4872B;
    text-align: center;
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 50px;
}
    
.sub-company-philosophy_head{
    font-size: 30px;
    padding: 25px 0;
    color: #FFF;
    text-align: center;
    background: #E4872B;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

.sub-company-philosophy_body{
    padding: 60px;
    border: 2px solid #E4872B;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

.sub-company-view_ttl{
    color: #E4872B;
    text-align: center;
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 50px;
}

#sub-company-view .container{
    border: 2px solid #E4872B;
    border-radius: 30px;
    padding: 60px;
}

#sub-company-view dl{
    display: flex;
    flex-wrap: wrap;
    margin-top: 40px;
}

#sub-company-view dt{
    width: 30%;
    text-align: center;
}

#sub-company-view dd{
    width: 70%;
    text-align: left;
}

#sub-company-view iframe{
    border-radius: 30px;
    margin-top: 40px;
}

#sub-company-history .flex2 > div:nth-of-type(1) img{
    margin-bottom: 30px;
    border-radius: 30px;
}

#sub-company-history .flex2 > div:nth-of-type(1) > div{
    content: "";
    display: block;
    width: 100%;
    height: 280px;
    border-radius: 30px;
}


.sub-company-history_ttl{
    color: #E4872B;
    text-align: center;
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 50px;
}

.sub-company-history_list dl{
    display: flex;
}

.sub-company-history_list dt{
    font-size: 25px;
    font-weight: normal;
    margin-right: 60px;
}

.sub-company-history_list dt::after{
    content: "";
    display: block;
    width: 2px;
    height: 50px;
    margin: 15px auto;
}

.sub-company-history_list dd{
    font-size: 25px;
}

.sub-company-history_list dl:nth-of-type(1) dt:after{
    background: #D9604D;
}

.sub-company-history_list dl:nth-of-type(2) dt:after{
    background: #E4872B;
}

.sub-company-history_list dl:nth-of-type(3) dt:after{
    background: #FFDD6A;
}

.sub-company-history_list dl:nth-of-type(4) dt:after{
    background: #B5D5B2
}

.sub-company-history_list dl:nth-of-type(5) dt:after{
    background: #63A7B4
}

.sub-company-history_list dl:nth-of-type(5) dt:after{
    background: #63A7B4
}

@media (max-width:768px){
    .sub-company-philosophy_ttl,
    .sub-company-view_ttl,
    .sub-company-history_ttl{
        font-size: 36px;
    }

    #sub-company-history .flex2{
        flex-direction: column-reverse;
    }

    #sub-company-history .flex2 > *{
        width: 100%;
    }
}

@media (max-width:500px){
    .sub-company-message_ttl{
        font-size: 21px;
        margin-bottom: 20px;
    }

    .sub-company-message_img{
        max-width: 240px;
        margin: 0 auto;
        display: block;
    }

    .sub-company-philosophy_head{
        font-size: 24px;
        padding: 15px 0;
    }

    .sub-company-philosophy_body{
        padding: 40px 20px;
    }

    .sub-company-history_ttl,
    .sub-company-view_ttl,
    .sub-company-philosophy_ttl{
        font-size: 21px;
        margin-bottom: 20px;
    }

    #sub-company-message .flex2 > *{
        margin: 0 auto;
        width: 80%;
    }
    
    #sub-company-view .container{
        padding: 40px 20px;
    }

    #sub-company-view dl{
        margin-top: 20px;
        flex-direction: column;
    }

    #sub-company-view dt{
        text-align: left;
        margin-bottom: 10px;
        width: 100%;
    }

    #sub-company-view dd{
        width: 100%;
    }

    #sub-company-view iframe{
        height: 200px;
    }

    #sub-company-history .sub-company-history_list{
        width: 80%;
        margin: 0 auto;
    }
    
    .sub-company-history_list dt::after{
        height: 20px;
    }

    .sub-company-history_list dt,
    .sub-company-history_list dd{
        font-size: 14px;
    }
}