@charset "UTF-8";

/* Main Visual */
#ARTWORK_MAIN_VISUAL {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

#ARTWORK_MAIN_VISUAL .main_visual_image {
  width: 100%;
  line-height: 0;
}

#ARTWORK_MAIN_VISUAL .main_visual_image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Page Title */
#PAGE_TITLE {
  width: 100%;
  position: relative;
  margin-top: -30px;
  z-index: 10;
}

.page_main_title {
  text-align: center;
  width: 92%;
  margin: 0 auto;
  position: relative;
}

.page_main_title .en {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-style: normal;
  font-weight: 600;
  font-size: 50px;
  line-height: 1;
  color: #efe9dc;
  text-transform: uppercase;
  text-align: right;
}

.page_main_title .jp {
  display: block;
  font-family: "shippori-mincho", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.1em;
  color: #585858;
  margin-top: 10px;
}

/* Category Navigation */
#CATEGORY_NAV {
  width: 100%;
  padding: 40px 0;
}

#CATEGORY_NAV .inner {
  width: 92%;
  margin: 0 auto;
}

.category_nav_list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.category_nav_item {
  font-family: "shippori-mincho", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0.05em;
  color: #fff;
  background-color: #d6cdc1;
  padding: 15px 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
  text-align: center;
}

.category_nav_item:hover,
.category_nav_item:active {
  background-color: #585858;
  color: #fff;
}

/* Artwork Content */
#ARTWORK_CONTENT {
  width: 100%;
  padding: 0 0 80px 0;
}

#ARTWORK_CONTENT .inner {
  width: 92%;
  margin: 0 auto;
}

/* Artwork Section */
.artwork_section {
  margin-bottom: 80px;
}

.artwork_section:last-child {
  margin-bottom: 0;
}

/* Artwork Heading */
.artwork_heading {
  text-align: left;
  margin-bottom: 35px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.artwork_heading .en {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-style: normal;
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.075em;
  color: #efe9dc;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.artwork_heading .jp {
  font-family: "shippori-mincho", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.1em;
  color: #585858;
  display: flex;
  align-items: center;
}

.artwork_heading .jp::before,
.artwork_heading .jp::after {
  content: "";
  display: inline-block;
  width: 30px;
  height: 1px;
  background-color: #a49c91;
}

.artwork_heading .jp::before {
  margin-right: 15px;
}

.artwork_heading .jp::after {
  margin-left: 15px;
}

/* Artwork Gallery - Responsive Grid */
.artwork_gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 100px;
  gap: 8px;
}

.gallery_item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery_item:active {
  opacity: 0.85;
}

.gallery_item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Bonbori Gallery - 13 images (6列 × 10行 = 四角形) */
.bonbori_gallery {
  grid-auto-rows: 100px;
}
.bonbori_gallery .gallery_item:nth-child(1) { grid-column: 1 / 7; grid-row: 1 / 4; }
.bonbori_gallery .gallery_item:nth-child(2) { grid-column: 1 / 3; grid-row: 4 / 6; }
.bonbori_gallery .gallery_item:nth-child(3) { grid-column: 3 / 5; grid-row: 4 / 6; }
.bonbori_gallery .gallery_item:nth-child(4) { grid-column: 5 / 7; grid-row: 4 / 6; }
.bonbori_gallery .gallery_item:nth-child(5) { grid-column: 1 / 4; grid-row: 6 / 9; }
.bonbori_gallery .gallery_item:nth-child(6) { grid-column: 4 / 7; grid-row: 6 / 9; }
.bonbori_gallery .gallery_item:nth-child(7) { grid-column: 1 / 3; grid-row: 9 / 11; }
.bonbori_gallery .gallery_item:nth-child(8) { grid-column: 3 / 5; grid-row: 9 / 11; }
.bonbori_gallery .gallery_item:nth-child(9) { grid-column: 5 / 7; grid-row: 9 / 11; }
.bonbori_gallery .gallery_item:nth-child(10) { grid-column: 1 / 4; grid-row: 11 / 14; }
.bonbori_gallery .gallery_item:nth-child(11) { grid-column: 4 / 7; grid-row: 11 / 13; }
.bonbori_gallery .gallery_item:nth-child(12) { grid-column: 4 / 7; grid-row: 13 / 15; }
.bonbori_gallery .gallery_item:nth-child(13) { grid-column: 1 / 4; grid-row: 14 / 16; }

/* Jyohuku Gallery - 3 images (6列 × 4行 = 四角形) */
.jyohuku_gallery {
  grid-auto-rows: 100px;
}
.jyohuku_gallery .gallery_item:nth-child(1) { grid-column: 1 / 7; grid-row: 1 / 3; }
.jyohuku_gallery .gallery_item:nth-child(2) { grid-column: 1 / 4; grid-row: 3 / 5; }
.jyohuku_gallery .gallery_item:nth-child(3) { grid-column: 4 / 7; grid-row: 3 / 5; }

/* Housai Gallery - 5 images (6列 × 4行 = 四角形) */
.housai_gallery {
  grid-auto-rows: 100px;
}
.housai_gallery .gallery_item:nth-child(1) { grid-column: 1 / 4; grid-row: 1 / 3; }
.housai_gallery .gallery_item:nth-child(2) { grid-column: 4 / 7; grid-row: 1 / 3; }
.housai_gallery .gallery_item:nth-child(3) { grid-column: 1 / 3; grid-row: 3 / 5; }
.housai_gallery .gallery_item:nth-child(4) { grid-column: 3 / 5; grid-row: 3 / 5; }
.housai_gallery .gallery_item:nth-child(5) { grid-column: 5 / 7; grid-row: 3 / 5; }

/* Other Gallery - 6 images (6列 × 4行 = 四角形) */
.other_gallery {
  grid-auto-rows: 100px;
}
.other_gallery .gallery_item:nth-child(1) { grid-column: 1 / 5; grid-row: 1 / 3; }
.other_gallery .gallery_item:nth-child(2) { grid-column: 5 / 7; grid-row: 1 / 3; }
.other_gallery .gallery_item:nth-child(3) { grid-column: 1 / 3; grid-row: 3 / 5; }
.other_gallery .gallery_item:nth-child(4) { grid-column: 3 / 5; grid-row: 3 / 5; }
.other_gallery .gallery_item:nth-child(5) { grid-column: 5 / 7; grid-row: 3 / 5; }
.other_gallery .gallery_item:nth-child(6) { grid-column: 1 / 7; grid-row: 5 / 7; }

/*============================
Lightbox Modal Customization
============================*/

/* Modal overlay */
.lightboxOverlay {
  background-color: #000 !important;
  opacity: 0.95 !important;
}

/* Close button - シンプルな白線の×印 */
#lightbox .lb-close,
.lb-closeContainer .lb-close,
.lb-data .lb-close,
a.lb-close {
  position: fixed !important;
  top: 20px !important;
  right: 20px !important;
  width: 40px !important;
  height: 40px !important;
  background: transparent !important;
  border: none !important;
  opacity: 0.8 !important;
  z-index: 10001 !important;
  transition: opacity 0.3s ease !important;
  cursor: pointer !important;
  -webkit-tap-highlight-color: transparent !important;
  float: none !important;
  display: block !important;
  text-indent: -9999px !important;
  overflow: visible !important;
}

#lightbox .lb-close:active,
.lb-closeContainer .lb-close:active,
.lb-data .lb-close:active,
a.lb-close:active {
  opacity: 1 !important;
}

#lightbox .lb-close::before,
#lightbox .lb-close::after,
.lb-closeContainer .lb-close::before,
.lb-closeContainer .lb-close::after,
.lb-data .lb-close::before,
.lb-data .lb-close::after,
a.lb-close::before,
a.lb-close::after {
  content: '' !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 26px !important;
  height: 2px !important;
  background-color: #fff !important;
  display: block !important;
}

#lightbox .lb-close::before,
.lb-closeContainer .lb-close::before,
.lb-data .lb-close::before,
a.lb-close::before {
  transform: translate(-50%, -50%) rotate(45deg) !important;
}

#lightbox .lb-close::after,
.lb-closeContainer .lb-close::after,
.lb-data .lb-close::after,
a.lb-close::after {
  transform: translate(-50%, -50%) rotate(-45deg) !important;
}

/* Navigation arrows - シンプルな白線の矢印 */
#lightbox .lb-nav,
.lb-container .lb-nav,
.lb-nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 10000 !important;
  pointer-events: none !important;
}

#lightbox .lb-prev,
#lightbox .lb-next,
.lb-nav .lb-prev,
.lb-nav .lb-next,
.lb-nav a.lb-prev,
.lb-nav a.lb-next,
a.lb-prev,
a.lb-next {
  pointer-events: auto !important;
  position: fixed !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 40px !important;
  height: 40px !important;
  background: transparent !important;
  background-image: none !important;
  opacity: 0.8 !important;
  transition: opacity 0.3s ease !important;
  cursor: pointer !important;
  -webkit-tap-highlight-color: transparent !important;
  display: block !important;
  float: none !important;
  text-indent: -9999px !important;
  border: none !important;
  outline: none !important;
  z-index: 10001 !important;
}

/* 左矢印 < */
#lightbox .lb-prev,
.lb-nav .lb-prev,
.lb-nav a.lb-prev,
a.lb-prev {
  left: 15px !important;
  right: auto !important;
}

#lightbox .lb-prev::before,
.lb-nav .lb-prev::before,
.lb-nav a.lb-prev::before,
a.lb-prev::before {
  content: '' !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 16px !important;
  height: 16px !important;
  border-left: 2px solid #ffffff !important;
  border-bottom: 2px solid #ffffff !important;
  border-top: none !important;
  border-right: none !important;
  background: transparent !important;
  transform: translate(-30%, -50%) rotate(45deg) !important;
  display: block !important;
  box-sizing: border-box !important;
}

/* 右矢印 > */
#lightbox .lb-next,
.lb-nav .lb-next,
.lb-nav a.lb-next,
a.lb-next {
  right: 15px !important;
  left: auto !important;
}

#lightbox .lb-next::before,
.lb-nav .lb-next::before,
.lb-nav a.lb-next::before,
a.lb-next::before {
  content: '' !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 16px !important;
  height: 16px !important;
  border-right: 2px solid #ffffff !important;
  border-bottom: 2px solid #ffffff !important;
  border-top: none !important;
  border-left: none !important;
  background: transparent !important;
  transform: translate(-70%, -50%) rotate(-45deg) !important;
  display: block !important;
  box-sizing: border-box !important;
}

#lightbox .lb-prev:active,
.lb-nav .lb-prev:active,
.lb-nav a.lb-prev:active,
a.lb-prev:active,
#lightbox .lb-next:active,
.lb-nav .lb-next:active,
.lb-nav a.lb-next:active,
a.lb-next:active {
  opacity: 1 !important;
}

/* Image container */
.lb-outerContainer {
  background-color: transparent !important;
  border: none !important;
}

.lightbox .lb-image {
  border: none !important;
  border-radius: 0 !important;
  max-width: 95vw !important;
  max-height: 80vh !important;
}

/* Data container (caption area) */
.lb-dataContainer {
  background-color: transparent !important;
}

.lb-data {
  padding: 15px 4px !important;
  background: transparent !important;
}

.lb-data .lb-details {
  display: none !important;
}

.lb-data .lb-number {
  width: 100% !important;
  float: none !important;
  text-align: center !important;
  color: #fff !important;
  font-size: 12px !important;
  font-family: "shippori-mincho", sans-serif !important;
  display: block !important;
  clear: both !important;
}
