@charset "UTF-8";

/* photocon-box
-----------------------------------------------*/
.photocon-box {
  margin: 2rem 10px;
  padding: 1rem 1rem 0;
  border: 2px dashed #a1d8ec;
  border-radius: 8px;
  box-shadow: 0px 0px 0px 10px #effbff;
  background: #effbff;
  color: #565656;
}

/* photocon-list
-----------------------------------------------*/
.photocon-list {
  margin-bottom: 2rem;
}

.photocon-list ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: number;
}

.photocon-list ol li {
  position: relative;
  width: calc((100% - 1.5rem) / 4);
  margin-bottom: 0;
}

/*
.photocon-list ol li::before {
  position: absolute;
  top: 5px;
  left: 5px;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--mono-color-9);
  border-radius: 50%;
  background: #e65100;
  color: var(--mono-color-9);
  line-height: 1;
  content: counter(number);
  counter-increment: number;
}
*/

.photocon-list ol li img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}

.photocon-list ol li img + .ttl {
  position: absolute;
  bottom: 0;
  padding: 3px 10px;
  background: #00000073;
  color: var(--mono-color-9);
  font-size: 0.875rem;
}

@media only screen and (max-width: 959px) {
  .photocon-list ol li {
    width: calc((100% - 1rem) / 3);
  }
}

@media only screen and (max-width: 559px) {
  .photocon-list ol li {
    width: calc((100% - 0.5rem) / 2);
  }
}

/* modal
-----------------------------------------------*/
#productModal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  max-height: 90vh;
  overflow-x: hidden;
  color: var(--mono-color-9);
  font-weight: bold;
  text-align: center;
}

#productModal .close {
  position: absolute;
  top: 0;
  right: 5px;
  background-color: unset;
  color: var(--mono-color-9);
  font-size: 2rem;
  text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

#productModal .close:hover {
  color: var(--mono-color-7);
}

#productModal .controls-direction a {
  position: absolute;
  top: 43%;
  color: var(--mono-color-9);
  font-size: 2rem;
  text-decoration: none;
  text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5);
}

#productModal .controls-direction a.prev-btn {
  left: 5px;
}

#productModal .controls-direction a.next-btn {
  right: 5px;
}

#modal-product-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#modal-product-content img {
  max-height: 60svh;
  border: 1px solid var(--mono-color-6);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

#modal-product-content .txt {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

#modal-product-content .ttl {
  font-size: 1.375rem;
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

.modal-overlay.show {
  display: block;
}

@media only screen and (max-width: 559px) {
  #productModal {
    width: 90%;
  }

  #productModal .controls-direction a {
    top: 30%;
  }
}

@media only screen and (max-height: 375px) {
  #modal-product-content img {
    max-height: 50svh;
  }
}

/* lightbox */
.lb-data {
  position: relative;
}

.lb-data .lb-details {
  width: auto !important;
  float: none !important;
  padding: 5px 40px 0;
  color: var(--mono-color-9);
  text-align: center !important;
}

.lb-data .lb-caption {
  font-weight: normal !important;
  font-size: 0.875rem !important;
}

.lb-data .lb-caption b {
  display: block;
  margin-bottom: 5px;
  font-weight: normal;
  font-size: 1rem;
  line-height: normal;
}

.lb-data .lb-number {
  padding-top: 10px;
  color: var(--mono-color-9) !important;
  font-size: 0.75rem !important;
}

.lb-data .lb-close {
  position: absolute;
  top: 0;
  right: 0;
}

/* photocon-map
-----------------------------------------------*/
.photocon-map iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 1120 / 800;
}