@charset "utf-8";


body.fixed {
    position: fixed;
}
.anchorlink-box {
    padding: 5px;
    border: solid 1px #dcdcdc;
}
.h-anchorlink {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    margin-bottom: 5px;
    font-weight: 400;
    color: #780e00;
    font-size: 2.2rem;
    background-color: #f4eceb;
}
.list_anchor {
    display: flex;
    gap: 5px 1%;
    flex-wrap: wrap;
    justify-content: space-between;
}
.list_anchor li {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    text-align: center;
    position: relative;
    border: 1px solid #dcdcdc;
    width: 49.5%;
    cursor: pointer;
    transition: opacity 0.3s ease-in-out;
}
.list_anchor li:hover {
    opacity: 0.7;
}
.list_anchor li::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 6px;
    background: url(https://www.utsunomiya-u.ac.jp/outline/img/ic_arl.png) center no-repeat;
    background-size: contain;
    display: block;
}


.main_bl_list .thumb {
      position: relative;
}
.main_bl_list .thumb img {
    width: 100%;
    height: auto;
}
.main_bl_list .thumb::before {
      z-index: 1;
      content: "";
      position: absolute;
      top: 0;
      right: 0;
      display: block;
      width: 30px;
      height: 30px;
      background-image: url(/goods/img/icon_mushimegane.png);
      background-repeat: no-repeat;
      background-position: center;
      background-size: contain;
}
.main_bl_list .thumb .new {
      display: block;
      color: red;
}
figure {
    font-size: initial;
    text-align: center;
}
.modal-box {
    max-width: 1000px;
    width: 93%;
    margin: 0 auto;
    background-color: #fff;
}
.thumb-modal {
    flex-shrink: 0;
    width: 210px;
}
.thumb-modal img {
    width: 100%;
    height: auto;
}
.js-modal:hover {
    cursor: pointer;
}
.js-modal-content {
    z-index: 10;
    position: fixed;
}
.modal-content {
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 50%);
}
.modal-box {
    position: relative;
}
.btn-close {
    display: block;
    top: 0;
    width: 31px;
    height: 31px;
    background-image: url(/goods/img/btn_close.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.btn-close:hover {
    cursor: pointer;
}
.modal-content .btn_black a {
    display: flex;
    width: 312px;
}
.h-modal {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 15px;
    line-height: 1.3;
    font-size: 1.8rem;
}
.h-modal::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 115px;
    height: 2px;
    background-color: #780e00;
}
.js-modal-content {
    display: none;
}



@media screen and (max-width: 767px) {

    .list_anchor li {
        padding: 13px 25px 10px 5px;
    }
    .list_anchor li::after {
        right: 10px;
    }
    .thumb-modal {
        margin: 0 auto 30px;
    }
    .modal-content {
        padding-top: 60px;
    }
    .modal-box {
        overflow-y: scroll;
        height: 70svh;
    }
    .modal-text-wrap .btn_black {
        margin-top: 30px;
    }
    .btn-close {
        position: sticky;
        margin-left: auto;
    }



}

@media screen and (min-width: 768px) and (max-width: 1080px) {

    .kouhou_in .kou_main_ct_bl p {
        line-height: 1.5;
    }
    .thumb-modal {
        margin-right: 25px;
    }


}

@media screen and (max-width: 1080px) {

    .modal-box {
        padding: 25px;
    }


}

@media screen and (min-width: 1081px) {

    .main_bl_list li {
        margin-bottom:20px;
    }
    .modal-content {
        padding-top: 60px;
        padding-left: 200px;
    }
    .modal-box {
        padding: 50px;
    }
    .thumb-modal {
        margin-right: 50px;
    }

}
@media screen and (min-width: 768px) {

    .anchorlink-box-wrap {
        display: flex;
        gap: 0 9px;
    }
    .anchorlink-box {
        width: 50%;
    }
    .list_anchor li {
        padding: 20px 30px 16px 5px;
    }
    .list_anchor li::after {
        right: 17px;
    }
    .modal-box {
        display: flex;
    }
    .modal-text-wrap .btn_black {
        margin-top: 50px;
    }
    .modal-text-wrap .btn_black a {
        margin-right: 0;
    }
    .btn-close {
        position: absolute;
        top: 10px;
        right: 10px;
    }

}