/* CSS Document */
article{
    padding-bottom: 80px; 
}

#fv{
    margin-bottom: 50px; 
}
#fv h2{
    text-align: left;
    color: #fff;
    padding: 30px 0 30px 20px;
    background: rgba(89, 134, 198, .8);
    font-size: 140%;
    margin-bottom: 50px;
}

#gaiyo{
    margin-bottom: 50px; 
}

#gaiyo h3 {
    font-size: 140%;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 2px;
    color: #5986C6;
    align-items: center;
    gap: 10px;
    padding: 0 5px 15px;
    position: relative;
    margin-bottom: 20px;
}
#gaiyo h3::after {
    content: '';
    display: block;
    width: 100%;
    height: 5px;
    background: #5986C6;
    border-radius: 3px;
    position: absolute;
    bottom: 0;
    left: 0;
}

#gaiyo #philosophy .lead{
    padding: 20px;
    text-align: center;
    font-size: 140%;
    line-height: 2;
    border: 2px solid #CFCFCF;
    margin: 30px 200px;
}

#gaiyo #symbolmark .flex {
    display: flex;
    gap: 20px;
}
#gaiyo #symbolmark .flex .img {
    width: 100%;
    overflow: hidden;
    text-align: center;
}

#gaiyo #outline table {
    border-collapse: collapse;
    width: 100%;
    max-width: 800px;
    margin: 30px auto;
}
#gaiyo #outline table th, 
#gaiyo #outline table td {
    border-bottom: 2px solid #c1c7c6;
    padding: 1em;
}
#gaiyo #outline table th {
    border-bottom: 2px solid #5986C6;
    font-weight: bold;
    text-align: center;
    width: 30%;
    min-width: 4em;
}

#gaiyo #outline .flex {
    display: flex;
    gap: 20px;
    padding: 30px 0;
}
#gaiyo #outline .flex .img {
    width: 40%;
    overflow: hidden;
    text-align: center;
}

#gaiyo #history table {
    border-collapse: collapse;
    width: 100%;
    max-width: 800px;
    margin: 30px auto;
}
#gaiyo #history table th, 
#gaiyo #history table td {
    border-bottom: 2px solid #c1c7c6;
    padding: 1em;
}
#gaiyo #history table th {
    border-bottom: 2px solid #5986C6;
    font-weight: bold;
    text-align: center;
    width: 30%;
    min-width: 4em;
}

@media screen and (max-width: 480px) {
    #fv h2 {
        font-size: 120%;
    }
    
	#gaiyo h3 {
        font-size: 120%;
    }
    
    #gaiyo #philosophy .lead{
        padding: 20px;
        text-align: center;
        font-size: 100%;
        line-height: 2;
        border: 2px solid #CFCFCF;
        margin: 20px;
    }
    
    #gaiyo #symbolmark .flex {
        flex-direction: column;
    }
    #gaiyo #symbolmark .flex .img {
        width: 80%;
        margin: 0 auto;
    }
    
    #gaiyo #outline table th, 
    #gaiyo #outline table td {
        font-size: 80%;
    }
    #gaiyo #outline .flex {
        flex-direction: column;
    }
    #gaiyo #outline .flex .img {
        width: 80%;
        margin: 0 auto;
    }
    
    #gaiyo #history table th, 
    #gaiyo #history table td {
        font-size: 80%;
    }
}
