/*=======================================================
catalog
=======================================================*/

/* +++++++++++++++++++++++++++++++++++++++++ sec1 */
/* common.cssに設定 */

/* +++++++++++++++++++++++++++++++++++++++++ sec2 */

#Kimono #sec2 {
    width: 100%;
    padding: 160px 0 0 0;
}

#Kimono #sec2 .catalog {
    margin-bottom: 0px;
    position: relative;
}



#Kimono #sec2 .catalog .content-wrap {
    padding: 0 10px 0px 10px;
    position: relative;
}

#Kimono #sec2 .catalog .catalog-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    list-style: none;
    padding: 0;
    margin: 0 auto 60px auto;
    width: 100%;
    max-width: 1000px;
}

#Kimono #sec2 .catalog .catalog-list img {
    margin: 0;
    padding: 0;
}

#Kimono #sec2 .catalog .catalog-list li {
    position: relative;
    margin: 0;
    padding: 0;
}

#Kimono #sec2 .catalog .catalog-list li a:hover {
    opacity: 0.7;
}

#Kimono #sec2 .catalog .catalog-list li .catalog-name {
    font-family: 'REM', serif;
    font-size: 0.75rem;
    font-weight: 200;
    line-height: 1rem;
    color: #F0EEED;
    position: absolute;
    bottom: 0;
    height: 64px;
    background-color: rgba(46, 43, 42, 0.3);
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0 20px;
}

#Kimono #sec2 .catalog .catalog-list li .catalog-name b {
    display: inline-block;
    font-family: 'Zen Kaku Gothic Antique';
    font-weight: 500;
    font-size: 1rem;
    line-height: 1rem;
    width: 100%;
    margin: 0 0 -1.5rem 0;
    padding: 0;
}


/*ボタン*/
#Kimono #sec2 .catalog .catalog-list li .btn-style7 {
    position: absolute;
    z-index: 10;
    right: 20px;
    bottom: 15px;
}

#Kimono #sec2 .catalog .catalog-list li:hover .btn-style7 {
    background-color: #2E2B2A;
    border: thin solid #2E2B2A;
    background-image: url(../images/common/icon_arrow_W.png);
    opacity: 1 !important;
}

@media (max-width: 768px) {
    #Kimono #sec2 {
        width: 100%;
        padding: 60px 0 0 0;
    }

    #Kimono #sec2 .catalog {
        margin-bottom: 0px;
        overflow: visible;
        position: relative;
    }

    #Kimono #sec2 .catalog .content-wrap {
        padding: 0 24px;
    }

    #Kimono #sec2 .catalog .catalog-bg {
        bottom: -170px;
        right: -300px;
        min-width: 600px;
    }

    #Kimono #sec2 .catalog .catalog-list {
        grid-template-columns: repeat(1, 1fr);
        row-gap: 10px;
        margin-bottom: 0 !important;
    }
}

/*****/


/*=======================================================
single
=======================================================*/



#Post .catalog .catalog-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0 auto 60px auto;
    width: 100%;
    max-width: 1000px;
}

@media (max-width: 768px) {

    #Post .catalog {
        margin-bottom: 0px;
    }

    #Post .catalog .content-wrap {
        padding: 0 20px;
    }

    #Post .catalog .catalog-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
        margin-bottom: 0px;
    }

}

/*=======================================================
single wordpressフォトギャリー使用
=======================================================*/

.pswp-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.pswp-gallery__item {
  width: calc(25% - 12px);
  box-sizing: border-box;
  display: block;
}

.pswp-gallery__item img {
  width: 100%;
  height: auto;
  display: block;
}

/* 1. デフォルトSVG矢印を非表示 */
.pswp__button--arrow svg {
  display: none !important;
}

/* 2. 左矢印ボタンをカスタム画像に置き換え */
.pswp__button--arrow--prev {
  background-image: url('../images/common/left-arrow.svg') !important;
  background-size: 40px 40px !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  width: 60px !important;
  height: 60px !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* 3. 右矢印ボタンをカスタム画像に置き換え */
.pswp__button--arrow--next {
  background-image: url('../images/common/right-arrow.svg') !important;
  background-size: 40px 40px !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  width: 60px !important;
  height: 60px !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* 4. スマホ（タッチデバイス）でも矢印を表示 */
.pswp--touch .pswp__button--arrow {
  visibility: visible !important;
}


@media (max-width: 768px) {

    #Post .catalog {
        margin-bottom: 0px;
    }

    #Post .catalog .content-wrap {
        padding: 0 20px;
    }

    .pswp-gallery__item {
    width: calc(50% - 8px); /* 2列表示（gap 16px を考慮） */
  }

/* 左矢印 */
  .pswp__button--arrow--prev {
    top: 90% !important;
    left: 30% !important; /* ← 明示的に !important 推奨 */
    transform: translate(-50%, -50%) !important; /* ← 水平・垂直センター */
  }

  /* 右矢印 */
  .pswp__button--arrow--next {
    top: 90% !important;
    right: 30% !important; /* ← 同上 */
    transform: translate(50%, -50%) !important; /* ← 水平センター調整 */
  }
  
}