@charset "UTF-8";
/* CSS Document */

/*CSSのみでで作るタブ

---------------------------------------------------------------------------*/

/*tabの全体枠*/

.tab {
    display: flex;
    flex-wrap: wrap;
    /* max-width: 700px; */
    /* background: #efefef; */
    /* border: 1px solid #ccc; */
    justify-content: space-between;
}


/*inputを非表示にする*/

.input {
    position: absolute;
    opacity: 0;
}


/*tabボタン部分*/

.tab-label {
    width: 49%;
    padding: 12px 30px 15px;
    background: #A7DFF4;
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
    color: #222;
    margin-bottom: 0;
    transition: background 0.1s, color 0.1s;
    box-sizing: border-box;
    position: relative;
    border-radius: 9px;
    text-align: center;
}

.tab-label.juyo01 {
    background: #ffe1a1;
}

.tab-label:hover {
    background: #d8d8d8;
}



.tab-label:active {

    background: #ccc;
}



.input:checked+.tab-label {
    background: #1467B5;
    color: #fff;
}

.input:checked+.tab-label.juyo01 {
    background: #ffaf00;
    color: #510100;
}



@media (max-width: 600px) {

    .tab-label {

        width: 100%;
    }
}

/*tabの本文エリア*/

.tab-panel {
    display: none;
    padding: 20px 30px 30px;
    background: #D9F0F8;
    width: 100%;
    margin-top: 5px;
    border-radius: 9px;
}

.tab-panel.juyo02 {
    background: #e2f0ce;
}


@media (min-width: 600px) {

    .tab-panel {

        order: 99;
    }
}

.input:checked+.tab-label+.tab-panel {

    display: block;
}



/*その他

---------------------------------------------------------------------------*/

.u-mb-20 {

    margin: 0 0 20px 0;
}

.input:checked+.tab-label:before {
    content: "";
    position: absolute;
    bottom: -23px;
    right: 45%;
    border: 12px solid transparent;
    border-top: 12px solid #1467B5;
}

.input:checked+.tab-label.juyo01:before {
    border-top: 12px solid #ffaf00;
}

.shinchakuBtn.juyo03 a {
    background-color: #a7d16d;
    box-shadow: 0px 2px 0px 0 rgba(9, 54, 0, 0.4);
}

.shinchakuBtn.juyo03 a::before {
	content: url(/img/top2020/arrow_green.png);
}