@charset "utf-8";
/* CSS Document */

/*===========================================
	20220208 index.css
=============================================*/

#contents section h2{
    font-size: 1.538rem;
}

#contents .container{
    height: 100%;
}

#contents .container .wrapper{
    padding-right: 2em;
    height: 100%;
}
#contents .container .wrapper h3{
    font-size: 1.231rem;
    margin-bottom: 5px;
}


#contents .rectangular{
    background: #CFE9FF;
    padding: 2em 0;
    display: inline-flex;
    flex-direction: column;
    width: 170px;
    height: calc(100% - (4em + 40px));
    align-items: center;
    justify-content: center;
}

#contents .triangle{
    width: 170px;
    height: 40px;
    background:linear-gradient(to bottom left, #CFE9FF 50%, transparent 50%) top left/ 50% 100% no-repeat,
    linear-gradient(to bottom right, #CFE9FF 50%, transparent 50%) top right / 50% 100% no-repeat;
}

#contents .container .textArea{
    vertical-align: middle;
    width: 100%;
}

#contents .container .textArea ul.txtlink{
    margin-top: 10px;
    margin-left: 5px;
    margin-bottom: 0;
}

#contents .container .textArea ul.txtlink li{
    margin-bottom: 5px;
}

@media (min-width: 641px){
    #contents section {
        margin-left: 1em;
    }
    
    #contents .container{
        display: table;
        padding-bottom: 2em;
    }

    #contents .container .wrapper,
    #contents .container .textArea{
        display: table-cell;
    }

}

@media (max-width: 640px){
    #contents .container{
        display: flex;
        flex-direction: column;
        margin-right: 1em;
    }
    #contents .container .wrapper{
        margin: 0 auto 1.5em auto;
        padding: 0;
        width: 100%;
    }
    #contents .rectangular{
        width: 100%;
    }
    #contents .triangle{
        width: 100%;
    }
    #contents .container .textArea{
        margin-bottom: 1em;
    }
    
    #contents .container .textArea ul.txtlink{
        margin-bottom: 1.5em;
    }
}
