@charset "utf-8";


/* ========================================
 * アンカーリンクに遷移ボタン設定
 * ======================================== */
@media ( min-width: 768px ) {
    .anchor__list {
        flex-wrap: wrap;
    }
}


/* ========================================
 * タブ設定
 * ======================================== */
.tab-btn {
    display: flex;
    justify-content: center;
}

.btn {
    flex-basis: 50%;
    text-align: center;
    border-bottom: 2px solid #797979;
}
.btn:has( .is-active ) {
    border: 2px solid #797979;
    border-radius: 12px 12px 0 0;
    border-bottom: none;
}

@media ( min-width: 768px ) {
    .btn a {
        font-size: calc( ( 18 / 16 * 1rem ) ) !important;
    }
}

.btn a {
    display: block;
    position: relative;
    text-decoration: none;
    cursor: pointer;
    align-content: center;
    line-height: 1.2;
    padding: 10px;
    height: 60px;
    color: #ffffff;
    background-color: #797979;
    font-size: calc( ( 15 / 16 * 1rem ) );
    font-weight: bold;
    border: 5px solid #ffffff;
    border-radius: 12px 12px 0 0;
}
.btn a.is-active {
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    background-color: #ffffff;
    color: #000000;
}
.btn a:hover {
    text-decoration: underline;
}

.tab-contents-item {
    display: none;
}
.tab-contents-item.is-active {
    display: block;

}


/* ========================================
 * グラフ設定
 * ======================================== */
@media ( min-width: 768px ) {
    .pc-flex {
        display: flex;
    }
    .w50 {
        min-width: 50%;
        max-width: 50%;
    }
}
.flex {
    display: flex;
}
.w25 {
    min-width: 25%;
    max-width: 25%;
}
.wsNon{
  white-space: nowrap;
}
.mt10 {
    margin-top: 10px;
}
.font-90 {
    font-size: 90%;
}
.center {
    text-align: center;
}
.info::before {
    content: "※";
}
.info {
    text-indent: -1em;
    padding-left: 1em;
}


/* ========================================
 * 関連情報設定
 * ======================================== */
#relation .head__line__relation {
    font-weight: 700;
    font-size: calc((18 / 16 * 1rem));
    letter-spacing: 0.1em;
    line-height: 1.3;
    position: relative;
    margin-bottom: 15px;
    padding: 5px;
    padding-left: 20px;
}
#relation .head__line__relation::before {
    content: "";
    background-color: #871c25;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    top: 0;
    height: 50%;
    width: 1px;
}
#relation .head__line__relation::after {
    content: "";
    background-color: #a3898f;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    top: 0;
    height: 50%;
    width: 1px;
    top: 50%;
}
@media (min-width: 768px) {
    #relation .head__line__relation {
        font-size: calc((30 / 16 * 1rem));
        padding-bottom: 10px;
        margin-bottom: 38px;
        padding-top: 10px;
    }
    #relation .head__line__relation::before,
    #relation .head__line__relation::after {
        width: 2px;
    }
}
#relation .btnBox a.btnBlank {
    border: 1px solid #d1d1d1;
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    transition: all 0.3s ease;
}
#relation .btnBox a.btnBlank::after {
    content: "";
    display: block;
    background-image: url(/assets/img/common/icn_blank.png);
    background-size: cover;
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
    border: none;
    transform: none;
    position: unset;
    margin-left: 8px;
}
#relation .btnBox a.btnBlank:link,
#relation .btnBox a.btnBlank:visited {
    color: #000;
}
@media screen and (min-width: 768px){
    #relation .fBox {
        flex-wrap: wrap;
    }
    #relation .btnBox {
        width: calc((100% - 24px)/ 3);
        margin-left: 12px;
    }
    #relation .btnBox:nth-child(3n+1) {
        margin-left: 0;
    }
    #relation .btnBox:first-child {
        margin-left: 0;
    }
    #relation .btnBox:nth-child(n+4) {
        margin-top: 12px;
    }
    #relation .btnBox a {
        width: 100%;
    }
    #relation .btnBox {
        width: calc((100% - 24px) / 3);
    }
    #relation .btnBox a.btnBlank {
        height: 60px;
        padding: 0;
    }
    #relation .btnBox a.btnBlank:hover {
        color: #7e0017;
        opacity: 0.7;
    }
}
@media not all and (min-width: 768px){
    #relation .btnBox {
        margin-top: 8px;
    }
    #relation .btnBox:first-child {
        margin-top: 0;
    }
    #relation .btnBox a.btnBlank {
        padding: 8px;
    }
    #relation .btnBox a.btnBlank:active {
        color: #7e0017;
        opacity: 0.7;
    }
}