@charset "utf-8";
/* ===============================
about
=============================== */


html, body {
    width: 100vw;
    height: 100vh;
  }


  .article{
    padding: 0 2.7%;
}

.article__header {
    display: block;
    width: 100%;
    height: 180px;
    background-image: url(../images/gallery_header.webp);
    background-size: 200%;
    background-position: 40% ;

    font-family: var(--fontFamilyEN);
    font-size: 2.0rem;
    color: #FFFFFF;
    letter-spacing: 0.8rem;
    line-height: 180px;
    text-align: center;
}


.nav__galleryList {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8.3%;
    width: 75%;
    margin: 0 auto;
    text-align: center;
}

.nav__galleryItem {
    width: 40%;
    font-family: var(--fontFamilyEN);
    font-size: 1.2rem;

    letter-spacing: 0.3rem;
    margin-top: 24px;


}

.nav__galleryItem span {
    font-family: var(--fontFamilyJP);
    font-size: 1.0rem;
    display: block;
}


/* モーダル */
.modal {
    display: none; /* 初期状態では非表示 */
    position: fixed;
    z-index: 1000; /* モーダルが他の要素の上に表示される */
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* 背景を暗く */
}

.modal-content {
    margin: auto;
    display: block;
    width: 100%;
    max-width: 1200px;
}

.close {
    position: absolute;
    top: 15px;
    right: 10px;
    color: #f1f1f1;
    font-size: 60px;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

#caption {
    margin: 0;
    padding: 20px;
    text-align: center;
    color: #ccc;
    font-size: 1.4rem;
    font-family: var(--fontFamilyJP);
    letter-spacing: 0.3rem;
}

/* Gallery*/

.section--Gallery {
    padding: 60px 5.3%;
    background-color: var(--primary-lightGray);
    margin-top: 30px;
}

.Gallery__list {
    width: 93%;
    margin:0 auto; /* 中央寄せ */    

}

.Gallery__contentsWide{
   
    display: grid;
    grid-template-columns: repeat(1,auto); /* 3列 */
    gap: 25px;
    margin-top: 30px;
    overflow: visible; /* 親要素のオーバーフローを許可 */
}

.Gallery__list img{
    cursor: pointer;
    transition: 0.4s;
    z-index: 10;

}

.Gallery__list img:hover {
    opacity: 0.5;
  }

.Gallery__title {
    display: block;
    width: 93%;
    padding: 20px 5.3%;
    background-color: #FFFFFF;
    margin: 0 auto;
}

.photo__name {
    font-size: 1.6rem;
    font-family: var(--fontFamilyJP);
    letter-spacing: 0.5rem;
}

.photo__date {
    font-size:1.2rem;
    font-family: var(--fontFamilyEN);
    letter-spacing: 0.3rem; 
}

.photo__name::after {
    content: '';
    display: block;
    max-width: 890px;
    height: 1px;
    background-color: var(--primary-gray);
    margin: 18px 0;
}
 

.Gallery__contents {
    display: grid;
    grid-template-columns: repeat(1,auto); /* 3列 */
    gap: 25px;
    margin-top: 25px;
    overflow: visible; /* 画像が覆われないように調整 */
}
  
.Gallery__contents img{
    width: 100%;
    height: 100%;
    object-fit: cover;

    
}


.imgWide {
    grid-column: span 1;
}


/* btn */

.gallery_icon {
    display: block;
    height: auto;
    padding: 18px 10px 22px;
    background-color: var(--primary-brown);
    position: relative;
    z-index: 10;
    box-shadow: 5px 5px 14px rgba(25, 36, 77, 0.3);
    transition: 0.4s;


}

.gallery_icon:hover {
    opacity: 0.5;
}

.gallery__btn {
    display: flex;
    justify-content:center;
    align-items: center; 
    margin: 60px auto 0;
    gap: 5%;

}

.btn img {
    width: 46px;
    height: auto;
}

.btn {
    display: none;
}

.btn p a:hover { 
    opacity: 0.5;
}

.btn__gallery a {
    display: block;
    width: 160px;
    height: 55px;
    text-align: center;
    color: #FFFFFF;
    letter-spacing: 0.5rem;
    line-height: 55px;
    box-shadow: 5px 5px 14px rgba(25, 36, 77, 0.3);
    transition: 0.4s;

    font-size: 1.0rem;
    font-family: var(--fontFamilyEN);
    background-color: var(--primary-brown);
    position: relative;
    z-index: 10;

}

.btn__gallery a:hover { 
    opacity: 0.5;
}



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



.nav__galleryList {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        gap: 0%;
        width: 624px;
        margin: 0 auto;
        text-align: center;
    }

.nav__galleryItem {
    font-family: var(--fontFamilyEN);
    font-size: 1.2rem;
    letter-spacing: 0.3rem;
    margin: 35px 0;


}

.nav__galleryItem span {
    font-family: var(--fontFamilyJP);
    font-size: 1.4rem;
    display: block;
}


/* Gallery*/

.section--Gallery {
    padding: 60px 2.7% 100px;
    background-color: var(--primary-lightGray);
    margin-top: 0px;

}

.Gallery__list {
    max-width: 1024px;
    margin: 60px auto; /* 中央寄せ */    

}

.Gallery__contentsWide{
    display: grid;
    grid-template-columns: repeat(2,auto); /* 3列 */
    gap: 25px;
    margin-top: 25px;
}
 
.Gallery__title {
    display: block;
    max-width: 93%;
    padding: 40px 60px;
    background-color: #FFFFFF;
    margin: 0 auto;
}

.photo__name {
    font-size: 1.6rem;
    font-family: var(--fontFamilyJP);
    letter-spacing: 0.5rem;
}

.photo__date {
    font-size:1.4rem;
    font-family: var(--fontFamilyEN);
    letter-spacing: 0.3rem; 
}

.photo__name::after {
    content: '';
    display: block;
    max-width: 890px;
    height: 1px;
    background-color: var(--primary-gray);
    margin: 18px 0;
}
 

.Gallery__contents {
    display: grid;
    grid-template-columns: repeat(3,auto); /* 3列 */
    gap: 25px;
    margin-top: 25px;
    overflow: hidden;
}
  
.Gallery__contents img{
    width: 100%;
    height: 100%;
    object-fit: cover;

    
}


.imgWide {
    grid-column: span 2;
}

/* モーダル */

.close {
    position: absolute;
    top: 15px;
    right: 55px;
    color: #f1f1f1;
    font-size: 60px;
    transition: 0.3s;
}

#caption {
    margin: 0;
    padding: 30px;
    text-align: center;
    color: #ccc;
    font-size: 2.0rem;
    font-family: var(--fontFamilyJP);
    letter-spacing: 0.3rem;
}




/* btn */

.btn {
    display: block;
}

.gallery_icon {
    display: none;
}


.gallery__btn {
    display: flex;
    justify-content:center;
    align-items: center; 
    margin: 0 auto;
    gap: 20px;

}

.btn img {
    width: 30px;
    height: auto;
}

.btn p a{
    display: flex;
    align-items:center;
    justify-content: center;
    gap: 10px;
    width: 140px;
    height: 65px;
    color: #FFFFFF;
    letter-spacing: 0.5rem;
    box-shadow: 5px 5px 14px rgba(25, 36, 77, 0.3);
    transition: 0.4s;

    font-size: 1.0rem;
    font-family: var(--fontFamilyEN);
    background-color: var(--primary-brown);
    position: relative;
    z-index: 10;

}

.btn p a:hover { 
    opacity: 0.5;
}

.btn__gallery a {
    display: block;
    width: 200px;
    height: 65px;
    text-align: center;
    color: #FFFFFF;
    letter-spacing: 0.5rem;
    line-height: 65px;
    box-shadow: 5px 5px 14px rgba(25, 36, 77, 0.3);
    transition: 0.4s;

    font-size: 1.0rem;
    font-family: var(--fontFamilyEN);
    background-color: var(--primary-brown);
    position: relative;
    z-index: 10;

}

.btn__gallery a:hover { 
    opacity: 0.5;
}

}



/* Gallery */
@media screen and (min-width:1280px){
    
    .article {
        padding: 0 2.7%;
        
      }
      
      .article__header {
        display: block;
        width: 100%;
        height: 280px;
        background-image: url(../images/gallery_header.webp);
        background-size: 200%;
        background-position: 40%;
      
        font-family: var(--fontFamilyEN);
        font-size: 3.2rem;
        color: #ffffff;
        letter-spacing: 0.8rem;
        line-height: 280px;
        text-align: center;
      }
      
     
    


.nav__galleryList {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        gap: 0%;
        width: 804px;
        margin: 0 auto;
        text-align: center;
    }

.nav__galleryItem {
    font-family: var(--fontFamilyEN);
    font-size: 1.4rem;
    letter-spacing: 0.3rem;
    margin: 35px 0;


}

.nav__galleryItem span {
    font-family: var(--fontFamilyJP);
    font-size: 1.4rem;
    display: block;
}


/* Gallery*/

.section--Gallery {
    padding: 90px 2.7% 100px;
    background-color: var(--primary-lightGray);
    margin-top: 0px;

}

.Gallery__list {
    max-width: 1024px;
    margin: 90px auto; /* 中央寄せ */    

}

.Gallery__contentsWide{
    display: grid;
    grid-template-columns: repeat(2,auto); /* 3列 */
    gap: 25px;
    margin-top: 25px;
}
 
.Gallery__title {
    display: block;
    width: 1024px;
    padding: 40px 60px;
    background-color: #FFFFFF;
    margin: 0 auto;
}

.photo__name {
    font-size: 2.0rem;
    font-family: var(--fontFamilyJP);
    letter-spacing: 0.5rem;
}

.photo__date {
    font-size:1.6rem;
    font-family: var(--fontFamilyEN);
    letter-spacing: 0.3rem; 
}

.photo__name::after {
    content: '';
    display: block;
    max-width: 890px;
    height: 1px;
    background-color: var(--primary-gray);
    margin: 18px 0;
}
 

.Gallery__contents {
    display: grid;
    grid-template-columns: repeat(3,auto); /* 3列 */
    gap: 25px;
    margin-top: 25px;
    overflow: hidden;
}
  
.Gallery__contents img{
    width: 100%;
    height: 100%;
    object-fit: cover;

    
}


.imgWide {
    grid-column: span 2;
}

/* モーダル */

.close {
    position: absolute;
    top: 15px;
    right: 55px;
    color: #f1f1f1;
    font-size: 60px;
    transition: 0.3s;
}

#caption {
    margin: 0;
    padding: 30px;
    text-align: center;
    color: #ccc;
    font-size: 2.0rem;
    font-family: var(--fontFamilyJP);
    letter-spacing: 0.3rem;
}




/* btn */

.btn {
    display: block;
}

.gallery_icon {
    display: none;
}


.gallery__btn {
    display: flex;
    justify-content:center;
    align-items: center; 
    margin: 0 auto;
    gap: 65px;

}

.btn img {
    width: 46px;
    height: auto;
}

.btn p a{
    display: flex;
    align-items:center;
    justify-content: center;
    gap: 16px;
    width: 240px;
    height: 85px;
    color: #FFFFFF;
    letter-spacing: 0.5rem;
    box-shadow: 5px 5px 14px rgba(25, 36, 77, 0.3);
    transition: 0.4s;

    font-size: 1.4rem;
    font-family: var(--fontFamilyEN);
    background-color: var(--primary-brown);
    position: relative;
    z-index: 10;

}

.btn p a:hover { 
    opacity: 0.5;
}

.btn__gallery a {
    display: block;
    width: 290px;
    height: 85px;
    text-align: center;
    color: #FFFFFF;
    letter-spacing: 0.5rem;
    line-height: 85px;
    box-shadow: 5px 5px 14px rgba(25, 36, 77, 0.3);
    transition: 0.4s;

    font-size: 1.4rem;
    font-family: var(--fontFamilyEN);
    background-color: var(--primary-brown);
    position: relative;
    z-index: 10;

}

.btn__gallery a:hover { 
    opacity: 0.5;
}

}

/* Gallery */
