@charset "UTF-8";

/* Main Visual */
#ARTWORK_MAIN_VISUAL {
  width: 90%;
  max-width: 1300px;
  margin: 50px auto 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: -120px;
  z-index: 10;
}

.page_main_title {
  text-align: center;
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
}

.page_main_title .en {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-style: normal;
  font-weight: 600;
  font-size: 100px;
  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: 16px;
  line-height: 1;
  letter-spacing: 0.1em;
  color: #585858;
  text-align: center;
  margin-top: 15px;
}

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

#CATEGORY_NAV .inner {
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
}

.category_nav_list {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.category_nav_item {
  font-family: "shippori-mincho", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.1em;
  color: #585858;
  padding: 12px 30px;
  border: 1px solid #a49c91;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.category_nav_item:hover {
  background-color: #a49c91;
  color: #fff;
}

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

#ARTWORK_CONTENT .inner {
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
}

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

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

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

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

.artwork_heading .jp {
  font-family: "shippori-mincho", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  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: 40px;
  height: 1px;
  background-color: #a49c91;
}

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

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

/* Artwork Gallery - Design Board Layout */
.artwork_gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 150px;
  gap: 15px;
}

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

.gallery_item:hover {
  opacity: 0.85;
  transform: scale(1.02);
}

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

/* Bonbori Gallery - 13 images (12列グリッド、隙間なく配置) */
.bonbori_gallery .gallery_item:nth-child(1) { grid-column: 1 / 7; grid-row: 1 / 5; }
.bonbori_gallery .gallery_item:nth-child(2) { grid-column: 7 / 11; grid-row: 1 / 4; }
.bonbori_gallery .gallery_item:nth-child(3) { grid-column: 11 / 13; grid-row: 1 / 3; }
.bonbori_gallery .gallery_item:nth-child(4) { grid-column: 11 / 13; grid-row: 3 / 5; }
.bonbori_gallery .gallery_item:nth-child(5) { grid-column: 7 / 11; grid-row: 4 / 7; }
.bonbori_gallery .gallery_item:nth-child(6) { grid-column: 11 / 13; grid-row: 5 / 7; }
.bonbori_gallery .gallery_item:nth-child(7) { grid-column: 1 / 5; grid-row: 5 / 8; }
.bonbori_gallery .gallery_item:nth-child(8) { grid-column: 5 / 7; grid-row: 5 / 7; }
.bonbori_gallery .gallery_item:nth-child(9) { grid-column: 5 / 9; grid-row: 7 / 9; }
.bonbori_gallery .gallery_item:nth-child(10) { grid-column: 9 / 13; grid-row: 7 / 10; }
.bonbori_gallery .gallery_item:nth-child(11) { grid-column: 1 / 5; grid-row: 8 / 12; }
.bonbori_gallery .gallery_item:nth-child(12) { grid-column: 5 / 9; grid-row: 9 / 12; }
.bonbori_gallery .gallery_item:nth-child(13) { grid-column: 9 / 13; grid-row: 10 / 12; }

/* Jyohuku Gallery - 3 images (12列グリッド、隙間なく配置) */
.jyohuku_gallery .gallery_item:nth-child(1) { grid-column: 1 / 7; grid-row: 1 / 6; }
.jyohuku_gallery .gallery_item:nth-child(2) { grid-column: 7 / 13; grid-row: 1 / 4; }
.jyohuku_gallery .gallery_item:nth-child(3) { grid-column: 7 / 13; grid-row: 4 / 6; }

/* Housai Gallery - 5 images (12列グリッド、隙間なく配置) */
.housai_gallery .gallery_item:nth-child(1) { grid-column: 1 / 7; grid-row: 1 / 4; }
.housai_gallery .gallery_item:nth-child(2) { grid-column: 7 / 13; grid-row: 1 / 4; }
.housai_gallery .gallery_item:nth-child(3) { grid-column: 1 / 5; grid-row: 4 / 6; }
.housai_gallery .gallery_item:nth-child(4) { grid-column: 5 / 9; grid-row: 4 / 6; }
.housai_gallery .gallery_item:nth-child(5) { grid-column: 9 / 13; grid-row: 4 / 6; }

/* Other Gallery - 6 images (12列グリッド、隙間なく配置) */
.other_gallery .gallery_item:nth-child(1) { grid-column: 1 / 7; grid-row: 1 / 4; }
.other_gallery .gallery_item:nth-child(2) { grid-column: 7 / 10; grid-row: 1 / 3; }
.other_gallery .gallery_item:nth-child(3) { grid-column: 10 / 13; grid-row: 1 / 4; }
.other_gallery .gallery_item:nth-child(4) { grid-column: 7 / 10; grid-row: 3 / 6; }
.other_gallery .gallery_item:nth-child(5) { grid-column: 1 / 7; grid-row: 4 / 6; }
.other_gallery .gallery_item:nth-child(6) { grid-column: 10 / 13; grid-row: 4 / 6; }

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

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

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

#lightbox .lb-close:hover,
.lb-closeContainer .lb-close:hover,
.lb-data .lb-close:hover,
a.lb-close:hover {
  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: 30px !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.7 !important;
  transition: opacity 0.3s ease !important;
  cursor: pointer !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: 30px !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: 20px !important;
  height: 20px !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: 30px !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: 20px !important;
  height: 20px !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:hover,
.lb-nav .lb-prev:hover,
.lb-nav a.lb-prev:hover,
a.lb-prev:hover,
#lightbox .lb-next:hover,
.lb-nav .lb-next:hover,
.lb-nav a.lb-next:hover,
a.lb-next:hover {
  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: 90vw !important;
  max-height: 90vh !important;
}

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

.lb-data {
  padding: 20px 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: 14px !important;
  font-family: "shippori-mincho", sans-serif !important;
  display: block !important;
  clear: both !important;
}
