@charset "utf-8";

/* ==========================================
 * Gallery Archive Layout
 * ========================================== */
/* ===================================
 * Gallery archive heading
 * =================================== */
.wb-gallery-archive-heading--pro::before {
  background: linear-gradient(to right, #3216be, #222222);
}

.wb-gallery-archive-heading--fan::before {
  background: linear-gradient(150deg, #d88100 15%, rgba(156, 103, 32) 40%, #222222 65%);
}

/* ===================================
 * Gallery FAN Warning
 * =================================== */
.wb-fan-gallery-warning {
  --wb-fan-warning-overlay: rgb(156, 65, 0, 0.6);

  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-sizing: border-box;
  max-width: 600px;
  margin: 0 auto clamp(80px, 10vw, 140px);
  padding: clamp(25px, 4vw, 45px) 90px;
  color: #e5e5e5;
  font-size: var(--fs-14);
  line-height: 1.3;
  text-align: start;
  text-shadow: 0 2px 12px rgba(45, 0, 8, 0.8);
  background:
    linear-gradient(var(--wb-fan-warning-overlay), var(--wb-fan-warning-overlay)),
    url("../image/wb-gallery/fan-gallery-warning.jpg") center 45% / cover no-repeat;
  border-radius: 5px;
  box-shadow: 0 15px 45px rgba(30, 0, 8, 0.35);
}

.wb-fan-gallery-warning p {
  margin: 0;
}

.wb-fan-gallery-warning p + p {
  margin-top: 1em;
}

@media screen and (max-width: 767px) {
  .wb-fan-gallery-warning {
    max-width: 500px;
    padding: clamp(24px, 4vw, 44px) 10vw;
    font-size: 12px;
  }
}

@media screen and (max-width: 400px) {
  .wb-fan-gallery-warning {
    font-size: 11px;
  }
}

/* ==========================================
 * Gallery Archive Pagination
 * ========================================== */

.wb-gallery-archive__empty {
  margin: clamp(96px, 14vw, 160px) auto;
  color: rgba(255, 244, 249, 0.9);
  font-size: var(--fs-16);
  line-height: 1.8;
  text-align: center;
}

/* ==========================================
 * Responsive
 * ========================================== */
.wb-gallery-archive__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}

@media screen and (max-width: 1023px) {
  .wb-gallery-archive__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 767px) {
  .wb-gallery-archive__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }
}

/* ===================================
 * VAM企画カード
 * =================================== */

.wb-gallery-archive--vam .model-inner {
  box-sizing: border-box;
  max-width: 1000px;
  /* width: 100%; */
}

@media (max-width: 1023px) {
  .wb-gallery-archive--vam .model-inner {
    max-width: 860px;
  }
}

@media (max-width: 767px) {
  .wb-gallery-archive--vam .model-inner {
    max-width: 600px;
  }
}
@media (max-width: 600px) {
  .wb-gallery-archive--vam .model-inner {
    width: 100%;
  }
}

.wb-gallery-archive--vam .wb-gallery-archive-heading {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
}

.wb-gallery-archive--vam .wb-gallery-archive-heading--vam::before {
  background: radial-gradient(circle at 18% 22%, rgba(255, 213, 239, 0.36), transparent 28%), linear-gradient(110deg, #c51cc5 0%, #8f1348 42%, #222222 84%);
  box-shadow:
    0 12px 28px rgba(38, 4, 22, 0.28),
    inset 0 0 18px rgba(255, 226, 242, 0.12);
  transform: translate(-50%, -48%);
}

.wb-gallery-archive--vam .wb-gallery-archive-heading--vam .wb-title-container {
  flex-direction: column;
  gap: 0;
  border: none;
}

.wb-gallery-archive--vam .wb-gallery-archive-heading--vam .wb-title-container span {
  width: 100%;
  text-align: center;
  border-bottom: 0.5px solid rgba(255, 205, 230, 0.58);
  line-height: 1.2;
}

.wb-gallery-archive--vam .wb-gallery-archive-heading--vam .wb-title-container small {
  margin-top: 0.1em;
  /* font-size: 60%; */
  line-height: 1.1;
}

@media screen and (max-width: 420px) {
  .wb-gallery-archive--vam .wb-gallery-archive-heading {
    width: min(10.5em, calc(100vw - 48px));
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
  }

  .wb-gallery-archive--vam .wb-gallery-archive-heading--vam::before {
    width: calc(100% - 10px);
  }
}

.wb-gallery-vam-year {
  margin-bottom: clamp(80px, 9vw, 128px);
}

.wb-gallery-vam-year__title {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 24px;
  color: rgba(255, 250, 253, 0.98);
  font-family: "Playfair Display", serif;
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 500;
  line-height: 1;
}

.wb-gallery-vam-year__title span {
  display: inline-block;
  padding: 0.08em 0 0.1em;
  transform: translateY(-0.12em);
  color: transparent;
  background: linear-gradient(0deg, rgba(190, 184, 190, 0.75) 0%, rgba(255, 255, 255, 0.98) 55%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 4px 12px rgba(30, 10, 20, 0.18);
}

.wb-gallery-vam-year__title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 192, 215, 0.72), rgba(255, 192, 215, 0));
}

.wb-gallery-vam-year__title::before {
  content: "";
  width: 0.42em;
  height: 0.42em;
  border: 2px solid rgba(255, 226, 205, 0.35);
  background: radial-gradient(circle at 35% 30%, rgba(255, 210, 190, 0.55), transparent 28%), radial-gradient(circle at 62% 68%, rgba(255, 0, 0, 0.6), rgba(145, 0, 35, 0.62) 72%);
  transform: rotate(45deg);
  box-shadow:
    0 0 10px rgba(255, 190, 160, 0.32),
    0 0 0 1px rgba(255, 248, 238, 0.12) inset;
}

.wb-gallery-archive__list--project {
  grid-template-columns: 1fr;
  gap: 20px;
}

.wb-gallery-vam-project-card__link {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 260px) minmax(150px, 250px) minmax(0, 1fr);
  gap: clamp(16px, 2.5vw, 30px);
  align-items: center;
  min-height: 168px;
  padding: clamp(12px, 2vw, 18px);
  color: rgba(255, 248, 252, 0.95);
  background: radial-gradient(circle at 5% 15%, rgba(255, 226, 241, 0.3), transparent 40%), radial-gradient(circle at 95% 90%, rgba(255, 190, 222, 0.2), transparent 45%), linear-gradient(110deg, rgba(232, 47, 146, 0.9), rgba(190, 52, 142, 0.9) 50%, rgba(168, 42, 98, 0.85));
  border: 1px solid rgba(255, 192, 215, 0.34);
  border-radius: 6px;
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.2),
    inset 0 0 0 1px rgba(255, 235, 246, 0.06);
  text-decoration: none;
  overflow: hidden;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.wb-gallery-vam-project-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 12%, rgba(255, 235, 246, 0.08) 48%, transparent 78%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.wb-gallery-vam-project-card__link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 214, 235, 0.58);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 205, 230, 0.08) inset;
}

.wb-gallery-vam-project-card__link:hover::after {
  opacity: 1;
}

.wb-gallery-vam-project-card__image {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 216, 236, 0.34);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.wb-gallery-vam-project-card__image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.wb-gallery-vam-project-card__link:hover .wb-gallery-vam-project-card__image img {
  transform: scale(1.04);
}
.wb-gallery-vam-project-card__body {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.wb-gallery-vam-project-card__date {
  position: relative;
  isolation: isolate;
  width: fit-content;
  margin: 0 0 10px;
  padding: 0.15em 1.4em 0.35em 0.45em;
  color: rgba(255, 248, 252, 0.95);
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.4;
  text-shadow:
    0 1px 2px rgba(95, 8, 56, 0.75),
    0 0 5px rgba(95, 8, 56, 0.45),
    0 0 1px rgba(95, 8, 56, 0.9);
}

.wb-gallery-vam-project-card__date::before {
  content: "";
  position: absolute;
  left: -0.1em;
  right: 12px;
  bottom: 6px;
  z-index: -1;
  height: 1em;
  background: rgba(255, 160, 215, 0.8);
  clip-path: polygon(0 100%, 100% 40%, 90% 100%, 0 100%);
}

.wb-gallery-vam-project-card__title {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 500;
  line-height: 1.35;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.wb-gallery-vam-project-card__label {
  font-size: 60%;
}

.wb-gallery-vam-project-card__more {
  width: fit-content;
  margin: 18px 0 0;
  padding: 0.3em 1.05em 0.34em;
  color: rgba(255, 248, 252, 0.95);
  background: rgba(140, 15, 90, 0.8);
  border: 1px solid rgba(255, 205, 230, 0.42);
  border-radius: 999px;
  font-size: 15px;
  font-style: italic;
  line-height: 1.2;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.wb-gallery-vam-project-card__link:hover .wb-gallery-vam-project-card__more {
  background: rgba(197, 28, 197, 0.48);
  border-color: rgba(255, 224, 240, 0.68);
}

.wb-gallery-vam-project-card__thumbs {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.wb-gallery-vam-project-card__thumb {
  display: block;
  border: 1px solid rgba(255, 216, 236, 0.28);
  border-radius: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16);
}

.wb-gallery-vam-project-card__thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
@media screen and (max-width: 1023px) {
  .wb-gallery-vam-project-card__link {
    grid-template-columns: minmax(120px, 0.65fr) minmax(140px, 250px) minmax(80px, 0.65fr);
    gap: 16px;
  }

  .wb-gallery-vam-project-card__image img {
    aspect-ratio: 1 / 1;
  }
  .wb-gallery-vam-project-card__thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 767px) {
  .wb-gallery-vam-project-card__link {
    grid-template-columns: minmax(92px, 120px) minmax(120px, 1fr) minmax(78px, 120px);
    min-height: 132px;
    gap: 10px;
    padding: 10px;
  }

  .wb-gallery-vam-project-card__thumbs {
    gap: 5px;
  }
}

@media screen and (max-width: 550px) {
  .wb-gallery-vam-project-card__link {
    grid-template-columns: minmax(88px, 35%) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: start;
    min-height: 0;
    gap: 5px 2vw;
    padding: 7px;
  }

  .wb-gallery-vam-project-card__image {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: stretch;
  }

  .wb-gallery-vam-project-card__image img {
    height: 100%;
    object-fit: cover;
  }
  .wb-gallery-vam-project-card__body {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    line-height: 1.15;
  }

  .wb-gallery-vam-project-card__thumbs {
    grid-column: 2;
    grid-row: 2;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    gap: 3px;
    align-self: end;
  }

  .wb-gallery-vam-project-card__date {
    font-size: 12px;
  }

  .wb-gallery-vam-project-card__more {
    font-size: clamp(10px, calc(8.6px + 0.435vw), 11px);
  }

  .wb-gallery-vam-project-card__date {
    margin-bottom: 4px;
    padding: 0.12em 0.45em 0.25em;
    line-height: 1.25;
  }

  .wb-gallery-vam-project-card__title {
    font-size: 14px;
    line-height: 1.25;
    margin-left: 0.25em;
  }

  .wb-gallery-vam-project-card__date::before {
    left: 0;
    right: -4px;
    bottom: 3px;
    clip-path: polygon(0 100%, 100% 40%, 90% 100%, 0 100%);
  }

  .wb-gallery-vam-project-card__more {
    margin-top: 6px;
    padding: 0.25em 0.75em 0.28em;
  }
}
@media screen and (max-width: 767px) {
  .wb-gallery-vam-project-card__image img,
  .wb-gallery-vam-project-card__thumb img {
    filter: brightness(0.95);
  }
}
