/*tabの形状*/
.tab{
    margin-bottom: 50px;
    display: flex;
    /* justify-content: space-between; */
    font-size: 14px;
}
.tab li a{
    display: block;
    background:#2A4995;
    color: #fff;
    margin:0 2px;
    padding:10px 20px;
    border: 1px solid transparent;
    transition: all .2s;
    border-radius: 8px 8px 0 0;
}

.tab li a:hover {
    background:#ffffff;
    color: #2A4995;
    border: 1px solid #2A4995;
}
.tab li.active a{
    background:#ffffff;
    color: #2A4995;
    border: 1px solid #2A4995;
    /* box-shadow: 0px 0px 4px #14B2BB; */
}
.area {
    display: none;/*はじめは非表示*/
}
/*areaにis-activeというクラスがついた時の形状*/
.area.is-active {
    display: block;/*表示*/
}
.area h4{
    margin: 20px 10px;
    font-weight: bold;
}
/* .area li{
    padding: 10px; 
    border-bottom: 1px solid #ddd;
} */
.tab-icon {
    display: block;
    width: 40px;
    height: 40px;
    /* background: black; */
    mask-size: cover;
    margin: auto;
}
.required {
    color: #FFFFFF;
    background-color: #D34A4A;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 1px;
    margin-left: 8px;
}
.form-text {
    text-align: left;
    max-width: 700px;
    margin: auto;
    margin-bottom: 30px;
}


.menu__item {
    background: #2A4995;
    color: #fff;
    cursor: pointer;
    display: block;
    margin-top: 10px;
    position: relative;
    /* border-radius: 4px; */
}
.menu__item__link {
    color: #fff;
    display: block;
    padding: 1.5rem;
    position: relative;
    padding-left: 3.6rem;
}
.menu__item__link:hover {
    color: #fff;
}

.submenu {
    background: #fff;
    display: none;
}
.submenu__item {
    /* border-bottom: 1px solid #2A4995; */
    color: #222;
    padding: 1.5rem;
    position: relative;
    padding-left: 3.6rem;
}

.menu__item__link::after {
    content: '';
    display: inline-block;
    position: absolute;
    right: 3%;
    top: 50%;
    width: 10px;
    height: 10px;
    margin: 0 0 3px 20px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: translateY(-50%) rotate(45deg);
}
.menu__item__link::after {
    transition: all 0.2s;
}

.menu__item__link::after {
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

.menu__item__link.selected::after {
    transform: rotate(-135deg);
    transition: all 0.2s;
}

.menu__item i {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
}


.ib-list {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.ib-item {
    text-align: left;
    background: #FFFFFF;
    width: 48%;
    margin-bottom: 20px;
    padding: 16px;
}
.ib-item p:first-of-type {
    color: #2A4995;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
    .tab{
        flex-wrap: wrap;
    }    
    .tab li {
        width: 50%;
    }
    .tab li a{
        margin:2px;
        padding:10px;
        text-align: center;
    }
    .menu__item {
        margin-top: 20px;
    }
    .menu__item__link {
        font-size: 13px;
    }
    .submenu__item i {
        position: absolute;
        left: 1.5rem;
        top: 2.7rem;
    }
    .ib-list {
        flex-direction: column;
    }
    .ib-item {
        width: 100%;
    }
}