@charset "utf-8";
/* CSS Document */

/*===========================================
	tabswitch.css
=============================================*/


/*===========================================
	tab
=============================================*/
#show_hide{
    padding: 0 1em;
    margin: 0 auto;
}

#contents div.tabArea {
	margin-left: 0;
	margin-top: 3em;
}

#contents div.tabArea ul{
	list-style:none;
	display: flex;
}

#contents .tabArea ul > li{
	flex: 1;
	border-radius: 8px 8px 0 0;
	background-color: rgba(204, 204, 204, 0.16);
    border: #d63f2e 2px solid;
    border-right: none;
    font-size: 0.875rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

#contents .tabArea ul > li:last-child{
    border-right: #d63f2e 2px solid;
}

#contents .tabArea ul > li.active{
    background-color: #fff;
	border-bottom: none;
}

#contents .tabArea ul > li span {
    font-size: 1.25rem;
	cursor: pointer;
    font-weight: bold;
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 0.5em;
}

#contents .tabArea ul > li :focus-visible{
    outline:thin dotted;
}
#contents .tabArea ul > li > span :focus-visible{
}

#contents .tabArea ul > li :focus,
#contents .tabArea ul > li :hover{
	opacity: 0.7;
}

#contents .tabArea ul > li span [aria-presse=false]{
	background-color: #b9b2a785;
}

#contents .opencloseArea{
    border-left: 2px solid #d63f2e;
    border-bottom: 2px solid #d63f2e;
    border-right: 2px solid #d63f2e;
    padding: 2em;

}

#contents .opencloseArea p,
#contents .opencloseArea ul{
    margin-left: 0;

}

@media (max-width: 640px){
    #contents * {
        font-size: 0.875rem;
    }
    
    #show_hide{
        padding: 0;
        margin: 0;
    }
    
    #contents .opencloseArea{
        padding: 2em 1em;
    }
    #contents .tabArea ul > li span {
        font-size: 1.1rem;
        padding: 0.2em 0 0;
    }
}


@media (max-width: 480px){
	#contents .tabArea ul > li{
		text-align: center;
	}
}

@media (max-width: 400px){
    #contents .tabArea ul > li {
        line-height: 1.2;
        padding: 10px 5px;
    }
}

