@charset "UTF-8";

/*==================================================
クリエイティブ切り替えのcss
===================================*/
/*tabの形状*/
.tab {
    /*display: flex;
    flex-wrap: wrap;*/
    width: 35%;
    text-align: left;
}

.tab li a {
    display: block;
    margin: 0 2px;
    padding: 20px;
    color: #fed500;
    border-top: 1px dotted #fed40056;
}

.tab li dt {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.tab li dt span {
    color: #162d61;
    padding: 5px 10px;
    border-radius: 1rem;
    background-color: #fed500;
}

/*liにactiveクラスがついた時の形状*/
.tab li.active a {
    color: #162d61;
    background-color: #fed500;
}

.tab li.active a span {
    color: #fed500;
    background-color: #162d61;
}

/*エリアの表示非表示と形状*/
.area {
    display: none;
    /*はじめは非表示*/
    opacity: 0;
    /*透過0*/
    padding-right: 20px;
    margin: auto;
}

/*areaにis-activeというクラスがついた時の形状*/
.area.is-active {
    display: block;
    /*表示*/
    animation-name: displayAnime;
    /*ふわっと表示させるためのアニメーション*/
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

@keyframes displayAnime {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}