@charset "utf-8";

/* 2026.06.10 ギャラリー一覧 [S] */
/* PC */
.gallery-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:20px;
}

.gallery-item{
    width:auto;
    text-align:center;
}

.gallery-item img{
    width:250px;
    height:auto;
}

.pc-only{
    display:block;
}

.gallery-date{
    font-size:11px;
    line-height:1.5;
}

.gallery-title{
    font-size:11px;
    line-height:1.5;
}

.gallery-pager-simple{
    text-align:center;
    margin:20px 0 30px;
}

.gallery-count{
    font-size:11px;
    margin-bottom:8px;
    color:#666;
}

.gallery-nav a{
    display:inline-block;
    margin:0 10px;
}

.gallery-modal{
    position:fixed;
    z-index:9999;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.65);
}

.gallery-modal__content{
    position:relative;
    width:90%;
    max-width:600px;
    max-height:88vh;
    overflow-y:auto;
    margin:5vh auto;
    padding:22px 18px;
    background:#fff;
    border-radius:14px;
    box-sizing:border-box;
}

.gallery-modal__close{
    position:absolute;
    top:10px;
    right:10px;
    width:28px;
    height:28px;
    border:1px solid #ddd;
    border-radius:50%;
    background:#fff;
    font-size:18px;
    line-height:1;
    cursor:pointer;
}

.gallery-modal__date{
    font-size:12px;
    color:#e97495;
    font-weight:bold;
    margin-bottom:6px;
}

.gallery-modal__title{
    font-size:15px;
    font-weight:bold;
    margin-bottom:12px;
}

.gallery-modal__image-wrap{
    position:relative;
    text-align:center;
    user-select:none;
    cursor:pointer;
}

.gallery-modal__image-wrap img{
    width:100%;
    max-height:420px;
    object-fit:contain;
    border-radius:8px;
}

.gallery-modal__dots{
    text-align:center;
    margin-top:10px;
    line-height:1;
}

.gallery-modal__dot{
    display:inline-block;
    width:7px;
    height:7px;
    margin:0 4px;
    border-radius:50%;
    background:#ccc;
}

.gallery-modal__dot.is-active{
    background:#e97495;
}

.gallery-modal__count{
    text-align:center;
    font-size:12px;
    font-weight:bold;
    margin-top:6px;
}

.gallery-modal__memo{
    margin-top:14px;
    padding-top:12px;
    border-top:1px solid #eee;
    font-size:12px;
    line-height:1.8;
}

.gallery-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:42px;
    height:42px;
    border:none;
    border-radius:50%;
    background:rgba(0,0,0,0.45);
    color:#fff;
    font-size:22px;
    cursor:pointer;
    z-index:10;
}

.gallery-arrow-prev{
    left:10px;
}

.gallery-arrow-next{
    right:10px;
}

.gallery-arrow:hover{
    background:rgba(0,0,0,0.65);
}

/* ==========================
   ギャラリーCTA
========================== */
.gallery-cta-wrap{
  text-align:center;
  margin:30px 0;
}

.gallery-cta-btn{
  display:inline-block;
  width:90%;
  max-width:420px;
  text-decoration:none;
}

.gallery-cta-main{
  display:block;
  padding:18px 20px;
  border-radius:9999px;
  background:#ff6fa5;
  color:#fff;
  font-size:22px;
  font-weight:bold;
  line-height:1.4;
  text-align:center;
  box-shadow:0 4px 0 #d94d85;
  transition:all .2s ease;
}

.gallery-cta-btn:hover .gallery-cta-main{
  transform:translateY(2px);
  box-shadow:0 2px 0 #d94d85;
}

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

    .gallery-grid{
        display:flex;
        flex-wrap:wrap;
        gap:10px;
        justify-content:center;
    }

    .gallery-item{
        width:115px;
    }

    .gallery-item img{
        width:115px;
        height:115px;
        object-fit:cover;
    }

    .pc-only{
        display:none;
    }

    .gallery-modal__content{
        width:88%;
        max-width:420px;
        margin:6vh auto;
        padding:20px 16px;
    }

    .gallery-modal__image-wrap img{
        max-height:360px;
    }

    .gallery-arrow{
        display:none;
    }

    .gallery-cta-main{
        font-size:18px;
        padding:16px 15px;
    }

}
/* 2026.06.10 ギャラリー一覧 [E] */