@charset "UTF-8";

.tab-wrap {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    margin-bottom: 76px;
}
.tab-label {
    width: 130px;
    height: 36px;
    order: -1;
    border-radius: 18px;
    opacity: 0.2;
    position: absolute;
    transition: 0.8s;
    margin: 15px 0 30px;
    cursor: pointer;
    bottom: -81px;
}
  
.tab-label-original {
    margin-right: 54px;
    left: calc(50% - 157px);
}
    
.tab-label-rebirth {
    margin-left: 54px;
    right: calc(50% - 157px);  
}
      
.tab-label img{
    width: 130px;
    height: 36px;
}
  
.tab-switch:checked+.tab-label-rebirth::after,
.tab-switch:checked+.tab-label-original::after{
    display: block;
    width: 30px;
    height: 10px;
    position: absolute;
    top: 13px;
    cursor:default;
    pointer-events: none;
}
    
.tab-switch:checked+.tab-label-original::after{
    content: "";
    background:  url(../images/arrow_to_right_sp.svg) no-repeat;
    right: -42px;
}
    
.tab-switch:checked+.tab-label-rebirth::after{
    content: "";
    background: url(../images/arrow_to_left_sp.svg) no-repeat;
    left: -42px;
}
    
.tab-content {
    width: 100%;
    display: none;
}
/* アクティブなタブ */
.tab-switch:checked+.tab-label {
/*     background: #f2f2f2; */
/*    background: #83c878; */
    opacity: 1;
}
.tab-switch:checked+.tab-label+.tab-content {
     display: block;
}
/* ラジオボタン非表示 */
.tab-switch {
    display: none;
}
    
@media screen and (min-width: 600px), print {
 
.tab-wrap {
    margin-bottom: 85px;
}
.tab-label {
    width: 144px;
    height: 40px;
    border-radius: 20px;
    margin: 22px 0 30px;
    bottom: -90px;
}
  
.tab-label-original {
    margin-right: 152px;
    left: calc(50% - 220px);
}
    
.tab-label-rebirth {
    margin-left: 152px;
    right: calc(50% - 220px);  
}
      
.tab-label img{
    width: 144px;
    height: 40px;
}
  
.tab-switch:checked+.tab-label-rebirth::after,
.tab-switch:checked+.tab-label-original::after{
    width: 44px;
    height: 12px;
    top: 14px;
}
    
.tab-switch:checked+.tab-label-original::after{
    content: "";
    background:  url(../images/arrow_to_right_pc.svg) no-repeat;
    right: -98px;
}
    
.tab-switch:checked+.tab-label-rebirth::after{
    content: "";
    background: url(../images/arrow_to_left_pc.svg) no-repeat;
    left: -98px;
}
}





