@charset "utf-8";



/*全端末（PC・タブレット・スマホ）共通設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/

/*タブの設定
---------------------------------------------------------------------------*/
.tab-2 {
    display: flex;
    flex-wrap: wrap;
    gap: 0 10px;
    max-width: 100%;
}

.tab-2 > label {
    flex: 1 1;
    order: -1;
    opacity: 0.5;
    min-width: 40px;
    height: 30%;
    padding: .6em 1em;
    border-radius: 20px 5px 0 0;
    background-color: #0024dd;
    color: #fff;
    font-size: 0.7em;
    font-weight: bold;		/*太字に*/
    text-align: center;
    cursor: pointer;
}

.tab-2 > label:hover {
    opacity: 0.8;
}

.tab-2 input {
    display: none;
}

.tab-2 > div {
    height: 80%;
    overflow: none;
    display: none;
    width: 100%;
    padding: 1.5em 1em;
    background-color: #fff;
    text-align: left;
    width:100%;
    height:550px;
    overflow:auto;
    overflow-y:scroll;

}

.tab-2 label:has(:checked) {
    opacity: 1;
}

.tab-2 label:has(:checked) + div {
    display: inline;
}
