.contactpage-txt {
    margin: 0 auto 20px auto;
    font-size: 1.6rem;
    text-align: center;
}

.tab-group {
    padding-bottom: 20px;
    border-bottom: solid 1px #D0D0D0;
}

.tab {
    
    font-size: 2.0rem;
    padding: 28px 0 25px 0;
    letter-spacing: 2px;

}

.tab.is-active {
    padding: 32px 0 25px 0;
}






/*--------------------------------------
  tab
--------------------------------------*/
.tab-wrap {
    margin-bottom: 40px;
}

.tab-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: flex-end;
}

.tab {
    flex-grow: 1;
    display: inline-block;
    font-size: 3.0rem;
    font-weight: bold;
    margin: 0 2.5px;
    padding: 15px 0;
    text-align: center;
    vertical-align: bottom;
    border: solid #3aadc0 2px;
    cursor: pointer;

}

.tab.is-active {
    position: relative;
    background: #002154;
    padding: 17px 0;
    background: linear-gradient(90deg, #58ACEA 0%, #1EAD97 100%);
    color: white;
    border: none;

}

.tab.is-active:before {
    content: "";
    position: absolute;
    border: solid 12px transparent;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-top: solid 12px #3aadc0;
}

.panel-group {
    min-height: 100px;
    padding: 10px 0;
    border: solid white 1px;
}

.panel {
    display: none;

}

.panel.is-show {
    display: block;
    background-color: white;
}

.contactpage-comment {
    margin-bottom: 50px;
}

.contactpage-comment h3 {
    font-size: 2rem;
    text-align: center;
    margin: 30px auto;
}

.contactpage-comment p {
    font-size: 1.3rem;
    text-align: center;
    line-height: 1.75;
    margin-top: 16px;
}


.contact1 {
    position: relative;

}

.after_content,
.contact5:after,
.contact4:after,
.contact3:after,
.contact2:after,
.contact1:after {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    font-weight: bold;
    font-style: normal;
}

.contact1:after {
    content: 'IP企画運用';
    font-size: 0.8rem;
    top: 10px;
}

.contact2 {
    position: relative;

}

.contact2:after {
    content: 'PR映像';
    font-size: 0.8rem;
    top: 10px;
}

.contact3 {
    position: relative;

}

.contact3:after {
    content: 'SNS運用';
    font-size: 0.8rem;
    top: 10px;
}

.contact4 {
    position: relative;

}

.contact4:after {
    content: '採用応募';
    font-size: 0.8rem;
    top: 10px;
}

.contact5 {
    position: relative;

}

.contact5:after {
    content: 'その他';
    font-size: 0.8rem;
    top: 10px;
}

.pc-only {
    display: block;
}

.sp-only {
    display: none;
}

.contact-sp {
    padding: 10px;
}

.contact-sp__select {
    position: relative;
    padding: 10px 0;
    border-bottom: solid 1px #D0D0D0;
}

.contact-sp__select select {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background: none;
    border: none;
    color: white;
    @extend .font_roboto;
    font-size: 1.6rem;
    letter-spacing: 2px;
    font-weight: bold;
    text-align: center;
    width: 100%;
    height: 100%;
    padding: 10px;
    background-color: rgba(0, 74, 210, 1);
    background: linear-gradient(90deg, #58ACEA 0%, #1EAD97 100%);
}

.contact-sp__select select option {
    background-color: #00338D;
}

.contact-sp__select:after {
    content: "";
    position: absolute;
    top: 45%;
    right: 15px;
    width: 5px;
    height: 5px;
    border-top: 1px solid white;
    border-right: 1px solid white;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
    pointer-events: none;
}

.contactpage-form {
    background-color: #F8F8F8;
    padding: 10px;
    margin-top: 10px;
}

@media (max-width: 992px) {
    .contactpage-txt {
        font-size: 1.3rem;
    }

    .tab {
        padding: 5px;
        font-size: 1.8rem;
    }

    .tab.is-active {
        padding: 7px;
    }

    .pc-only {
        display: none;
    }

    .sp-only {
        display: block;
    }

}