@charset "UTF-8";

/* ========================================
LATEST-NEXT タブ切替え
======================================== */
#tab-contents {
  width: min(96%, 900px);
  margin-inline: auto;
}

/* ------------------------------
タブボタン
------------------------------ */
#tab-btn-set {
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 2px solid var(--main-color);
    padding-bottom: 32px;
    margin-bottom: 32px;
}
/* 基本設定 */
#tab-btn-set .tab-btn {
    position: relative;
    width: 43%;
    max-width: 390px;
    text-align: center;
    background-color: var(--white-color);
    border: 2px solid var(--main-color);
    border-radius: 2em;
    cursor: pointer;
    transition: all 0.6s ease 0s;
}
#tab-btn-set .tab-btn:not(:last-child) {
    margin-right: 4.44%;
}
#tab-btn-set .tab-btn::after {
    position: absolute;
    content: '';
    top: 100%;
    left: 50%;
    transform: translate(-50%, 0);
    width: 16px;
    height: 8px;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    background-color: var(--main-color);
    z-index: 1;
    opacity: 0;
    transition: all 0.6s ease 0s;
}
#tab-btn-set .tab-btn .label {
    color: var(--main-color);
    font-size: var(--font-size-l);
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 7px 0;
}
/* アクティブ時 */
#tab-btn-set .tab-btn.is-active {
    pointer-events: none;
    background-color: var(--main-color);
}
#tab-btn-set .tab-btn.is-active::after {
    opacity: 1;
}
#tab-btn-set .tab-btn.is-active .label {
    color: var(--white-color);
}
/* マウスオーバー時 */
#tab-btn-set .tab-btn:hover {
    background-color: var(--hover-color);
}

/* ------------------------------
タブコンテンツ
------------------------------ */
#tab-box-set {
}
#tab-box-set .tab-box {
    -webkit-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
}

/* ========================================
タブコンテンツ内部
======================================== */

/* ------------------------------
Latest / Next
------------------------------ */
.onair-info {
}

/* Info Head */
.onair-info-head {
    margin-bottom: 32px;
}
.onair-info-head .onair-info-date {
    color: var(--main-color);
    font-size: var(--font-size-s);
    font-weight: bold;
    letter-spacing: 0.12em;
    padding-left: 1em;
    margin-bottom: 24px;
}
.onair-info-head .onair-info-title {
    line-height: 1.6em;
    color: var(--point-color);
    font-size: var(--font-size-m);
    font-weight: bold;
    letter-spacing: 0.06em;
    background-color: var(--white-color);
    border-radius: 16px;
    padding: 1em;
}

/* Info Body */
.onair-info-body {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.onair-info-body .onair-info-comment {
    order: 1;
    width: 50%;
    padding-left: 1em;
}
.onair-info-body .onair-info-comment p {
    line-height: 1.8em;
    white-space: pre-line;
}
.onair-info-body .onair-info-image {
    order: 2;
    width: 47%;
    border-radius: 16px;
    overflow: hidden;
}
.onair-info-body .onair-info-image img {
    display: block;
    width: 100%;
    margin-inline: auto;
}

/* 768 */
@media screen and (max-width: 768px) {
    #tab-contents {
        width: 91.5789vw;
    }
    #tab-btn-set {
        padding-bottom: 6.3157vw;
        margin-bottom: 4.2105vw;
    }
    #tab-btn-set .tab-btn {
        width: 44.73684vw;
        max-width: none;
    }
    #tab-btn-set .tab-btn:not(:last-child) {
        margin-right: 2.1052vw;
    }
    #tab-btn-set .tab-btn::after {
        width: 4.2105vw;
        height: 2.1052vw;
    }
    #tab-btn-set .tab-btn .label {
        padding: 1.8421vw 0;
    }
    .onair-info-head {
        margin-bottom: 6.3157vw;
    }
    .onair-info-head .onair-info-date {
        margin-bottom: 4.2105vw;
    }
    .onair-info-head .onair-info-title {
        line-height: 1.8em;
        font-size: var(--font-size-n);
        letter-spacing: 0.03em;
        border-radius: 4.2105vw;
    }
    .onair-info-body {
        display: block;
    }
    .onair-info-body .onair-info-comment {
        width: 100%;
        padding-left: 0;
    }
    .onair-info-body .onair-info-image {
        width: 100%;
        border-radius: 4.2105vw;
        margin-bottom: 6.8421vw;
    }
}
