/*-------------------------------------------------
|-  section
-------------------------------------------------*/
.section {
    width: 100%;
    max-width: 980px;
    margin: 0 auto 100px;
    padding: 0 10px;
    box-sizing: border-box;
}
.product-name {
    width: 100%;
    margin-bottom: 20px;
    color: #333;
    font-size: var(--font-size20);
    font-weight: 600;
}
.product-main-visual {
    width: 100%;
    margin-bottom: 50px;
}
@media screen and (max-width: 767px){
    .section {
        margin: 0 auto 50px;
        padding: 0;
    }
    .product-name {
        width: 93%;
        margin: 0 auto 10px;
        font-size: var(--font-size18);
    }
    .product-main-visual {
        margin-bottom: 30px;
    }
}
/*-------------------------------------------------
|-  cate-list
-------------------------------------------------*/
.cate-list {
    width: 100%;
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
}
.cate-list__item {
    min-width: 120px;
    margin: 0 10px 10px 0;
    padding: 4px 15px;
    box-sizing: border-box;
    color: #fff;
    font-size: var(--font-size13);
    font-weight: 600;
    text-align: center;
}
.game .cate-list__item {
    background: var(--color-01);
}
.game .cate-list__item-category {
    background-color: #ffb200;
}
@media screen and (max-width: 767px){
    .cate-list {
        width: 93%;
        margin: 0 auto;
    }
    .cate-list__item {
        min-width: 125px;
    }
}
/*-------------------------------------------------
|-  product
-------------------------------------------------*/
.product-wrap {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}
.btm {
    margin-top: 60px;
    padding-top: 50px;
    border-top: 1px solid #000;
    display: block;
}
.product-inner {
    max-width: 760px;
    margin: 0 auto 40px;
}
.product-inner:last-child {
    margin: 0 auto;
}
.inner-ttl {
    margin-bottom: 20px;
    font-size: var(--font-size18);
}
.inner-txt {
    width: 97%;
    margin: 0 auto;
    font-size: var(--font-size14);
}
.link-btn {
    margin: 100px auto 0;
}
@media screen and (max-width: 767px){
    .product-wrap {
        width: 93%;
        margin: 0 auto;
    }
    .btm {
        margin-top: 50px;
        padding: 0;
        border: 0;
    }
    .inner-ttl {
        margin-bottom: 25px;
    }
    .product-inner {
        margin: 0 auto 35px;
    }
    .inner-txt {
        width: 100%;
    }
    .link-btn {
        width: 93%;
        max-width: none;
        margin: 50px auto 0;
    }
}
/*-------------------------------------------------
|-  slide-wrap
-------------------------------------------------*/
.slide-wrap {
    width: 42%;
    max-width: 400px;
}
.slide {
    width: 100%;
    margin: 0 auto 10px;
    border: 1px solid var(--color-01);
    box-sizing: border-box;
}
.slide__item {
    position: relative;
    cursor: pointer;
}
.slide__item::before {
    content: '';
    padding-top: 100%;
    display: block;
}
.slide__item::after {
    content: '';
    position: absolute;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    background: url(/assets/img/icon_zoom.png) no-repeat;
    background-size: 100%;
    display: block;
}
.slide__img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    margin: auto;
    object-fit: contain;
}
.thumbnail {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
.thumbnail__item {
    position: relative;
    width: calc(100% / 4 - 8px);
    margin: 0 10px 10px 0;
    padding-top: 22%;
    border: 1px solid var(--color-01);
    box-sizing: border-box;
    cursor: pointer;
}
.thumbnail__item:nth-child(4n) {
    margin-right: 0;
}
.thumbnail__item.thumbnail-current {
    border: 2px solid var(--color-01);
}
@media screen and (max-width: 767px){
    .slide-wrap {
        width: 100%;
        max-width: none;
    }
}
/*-------------------------------------------------
|-  detail-wrap
-------------------------------------------------*/
.detail-wrap {
    width: 53%;
    max-width: 510px;
}
.detail {
    border-top: 1px solid #656464;
    display: flex;
}
.detail__ttl {
    width: 20%;
    max-width: 100px;
    padding: 10px;
    box-sizing: border-box;
    font-size: var(--font-size14);
    word-break: break-all;
    background: #DCD6EB;
}
.detail__txt {
    width: 80%;
    padding: 10px;
    box-sizing: border-box;
    font-size: var(--font-size14);
    word-break: break-all;
    background: #F2F3F1;
}
.detail__txt iframe{
    max-width: 100%;
    margin: 0 auto;
    display: block;
}
.detail:last-child {
    border-bottom: 1px solid #656464;
}
@media screen and (max-width: 767px){
    .detail-wrap {
        width: 100%;
        max-width: none;
        margin-top: 20px;
    }
    .detail__ttl {
        width: 26%;
        max-width: none;
        padding: 10px 8px;
        font-size: var(--font-size13);
    }
    .detail__txt {
        width: 74%;
        padding: 10px 8px;
        font-size: var(--font-size13);
    }
    .video {
        width: 100%;
    }
}
/*-------------------------------------------------
|-  modal
-------------------------------------------------*/
.modal-box {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
}
.modal-layer {
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,.8);
}
.modal__item {
    display: none;
}
.modal {
    position: absolute;
    top: 40px;
    right: 0;
    bottom: 0;
    left: 0;
    width: 90vmin;
    max-width: 750px;
    height: 90vmin;
    max-height: 750px;
    margin: auto;
    background: #fff;
}
.modal__close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    width: 30px;
    cursor: pointer;
}
.modal__item::before {
    content: '';
    padding-top: 100%;
    display: block;
}
.modal__item-img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    margin: auto;
}
@media screen and (max-width: 767px){
    .modal {
        width: 80vmin;
        height: 80vmin;
    }
    .modal__close-btn {
        width: 25px;
    }
}
