@charset "shift-jis";

.tab-wrap {
    display: flex;
    flex-wrap: wrap;
}
.tab-label {
    color: White;
    background: Gray;
    margin-right: 5px;
    padding: 3px 12px;
    order: -1;
border-radius: 8px 8px 8px 8px;
}

.tab-label:hover {
    background: #ff69b4;;
}

.tab-content {
    width: 100%;
    display: none;
}

/* アクティブなタブ */
.tab-switch:checked+.tab-label {
    background: linear-gradient(#05FBFF, #0D6FB8);
}
.tab-switch:checked+.tab-label+.tab-content {
     display: block;
}
/* ラジオボタン非表示 */
.tab-switch {
    display: none;
}


/*全体*/
.hidden_box {
    margin: 1em 0;/*前後の余白*/
    padding: 0;
}

/*ボタン装飾*/
.hidden_box label {
    padding: 5px;
    cursor :pointer;
}

/*ボタンホバー時*/
.hidden_box label:hover {
    background: #efefef;
}

/*チェックは見えなくする*/
.hidden_box input {
    display: none;
}

/*中身を非表示にしておく*/
.hidden_box .hidden_show {
    height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.8s;
}

/*クリックで中身表示*/
.hidden_box input:checked ~ .hidden_show {
    padding: 10px 0;
    height: auto;
    opacity: 1;
}