@charset "UTF-8";

*, *:before, *:after {
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.l-inner {
    margin: 0 auto;
    max-width: 980px;
    position: relative;
}
@media (max-width: 1300px) {
    .l-inner {
        margin: 0 auto;
        width: calc(100% - 30px);
    }
}

.main a:hover{
    text-decoration:underline;
}


.pc-nav a.__current {
    text-decoration: underline !important;
}

.copyright {
    text-align: center;
    margin: 40px 0;
}








.p-post {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin: 40px 0 80px;
}
@media (max-width: 768px) {
    .p-post {
        grid-template-columns: repeat(1, 1fr);
    }
}
.post__item{
    display: flex;
    flex-direction: column;
}
.post__title {
    font-size: 18px !important;
    font-weight: bold;
    margin-top: 10px;
}
.post__head {
    display: flex;
}
.post__info {
    font-weight: bold;
}
.post__data {
    margin-left: 10px;
}


.c-main__head--ttl {
    font-weight: bold;
    margin-top: 30px;
}
.c-main__head--ttl__jp {
    line-height: 1.5;
}
.c-main__head--ttl__en {
    font-size: 24px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .p-categories {
        background: #fff;
        display: block;
        margin-top: 0;
        position: relative;
        z-index: 2;
    }
}


.p-categories__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 40px auto 0 !important;
    height: auto !important;
    max-width: 100%;
    width: 100%;
    margin-left: 0 !important;
    list-style: none;
    height: 45px !important;
}

@media (max-width: 768px) {
    .p-categories__list {
        flex-wrap: unset;
        overflow-x: scroll;
        overflow-y: hidden;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
}



.p-categories__list li {
    width: auto !important;
    height: auto !important;
    /*margin: 0 10px 0;*/
}

.p-categories__list .current-cat {
    font-weight: bold;
}

.p-categories__list li a {
    padding: 10px 10px 12px;
}


.post__img {
    transition: transform 0.3s ease-in-out; /* アニメーション効果 */
    backface-visibility: hidden;  /* 追加 */
    outline: none;  /* 追加 */

}

.post__item:hover .post__img {
    transform: scale(1.1); /* ホバー時に画像を1.1倍に拡大 */
}

.post__image {
    overflow: hidden;
    line-height: 0;
}

.p-gallery-detail {
    width: 100%;
    margin-top: 40px;
}
.gallery .head {
    width: 100%;

}
.head__img {
    width: 100%;
}
.c-heading__title {
    font-size: 24px;
    font-weight: bold;
}


.gallery__body {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin: 40px 0 80px;
}
@media (max-width: 768px) {
    .gallery__body {
        grid-template-columns: repeat(1, 1fr);
    }
}

.gallery__photo img {
    width: 100%;
    height: auto;
}



.q-gallery-detail-other {
    margin: 40px 0 40px;
    padding-top: 40px;
    border-top: 1px solid #222;
}

.p-other__item {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin: 40px 0 80px;
}
@media (max-width: 768px) {
    .p-other__item {
        grid-template-columns: repeat(1, 1fr);
    }
}




/*-----------------------------------------*/
#profile .about .img {
    width: 100%;
    height: auto;
    margin: 0 auto;
    object-fit: cover;
}
#profile .about .img img {
    border-radius: 0 !important;
}
/*-----------------------------------------*/


.wp-pagenavi {
    display: flex;
    justify-content: center;
    align-items: center;
}

.wp-pagenavi .pages {
    display: none;
}

.wp-pagenavi a, .wp-pagenavi span {
    padding: 7px 17px !important;
}