@charset "utf-8";
/* CSS Document 320-560*/

/*--------------------------------------------------------------------

headbox

--------------------------------------------------------------------*/
/* ============================================
   KV Slideshow - Left to Right Reveal
   ============================================ */

/* -- Reset (実装時は不要) -- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* -- Container -- */
.top-kv {
  position: relative;
  width: 100%;
  height: 100vh;
  max-height: 1000px;
  overflow: hidden;
  background: #0a0a0a;
}

/* -- Slides -- */
.kv-slider {
  position: absolute;
  inset: 0;
}

.kv-slider__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
}

/* 現在表示中のスライド */
.kv-slider__slide.is-active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

/* 1つ前のスライド（背景として残す） */
.kv-slider__slide.is-prev {
  opacity: 1;
  z-index: 1;
}

/* 左→右リビールアニメーション */
@keyframes revealLTR {
  0%   { clip-path: inset(0 100% 0 0); }
  100% { clip-path: inset(0 0 0 0); }
}

.kv-slider__slide.is-animating {
  animation: revealLTR 1.2s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

/* -- Logo Overlay -- */
.kv-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  text-align: center;
  color: #fff;
  pointer-events: none;
}

.kv-logo__catch {
  font-size: 14px;
  letter-spacing: 0.35em;
  margin-bottom: 16px;
  font-weight: 300;
  opacity: 0.85;
  font-family: "Noto Serif JP", "YuMincho", "Yu Mincho", serif;
}

.kv-logo__title {
  font-size: 56px;
  font-weight: 300;
  letter-spacing: 0.15em;
  line-height: 1.2;
  font-family: "Cormorant Garamond", serif;
}

.kv-logo__sub {
  display: block;
  font-size: 11px;
  letter-spacing: 0.4em;
  font-weight: 400;
  opacity: 0.7;
  margin-top: 6px;
}

/* -- Progress Bar -- */
.kv-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 10;
}

@keyframes progressFill {
  0%   { width: 0; }
  100% { width: 100%; }
}

.kv-progress__bar {
  height: 100%;
  width: 0;
  background: rgba(255, 255, 255, 0.6);
}

.kv-progress__bar.is-running {
  animation: progressFill 5s linear forwards;
}

/* -- Bottom Controls -- */
.kv-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 100%);
  padding: 60px 0 24px;
}

.kv-controls__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Pagination */
.kv-pagination {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  min-width: 70px;
}

.kv-pagination__current {
  font-size: 22px;
  font-weight: 600;
}

.kv-pagination__sep {
  font-size: 13px;
  opacity: 0.4;
}

.kv-pagination__total {
  font-size: 14px;
  opacity: 0.5;
}

/* Nav Buttons */
.kv-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.kv-nav__btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.kv-nav__btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
}

.kv-nav__btn--pause {
  background: rgba(255, 255, 255, 0.1);
}

.kv-nav__btn svg {
  display: block;
}

/* Dot indicators */
.kv-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 70px;
  justify-content: flex-end;
}

.kv-dots__dot {
  height: 3px;
  width: 8px;
  border-radius: 2px;
  background: #fff;
  border: none;
  padding: 0;
  cursor: pointer;
  opacity: 0.35;
  transition: width 0.4s cubic-bezier(0.76, 0, 0.24, 1),
              opacity 0.4s ease;
}

.kv-dots__dot.is-active {
  width: 24px;
  opacity: 1;
}

/* ========== SP対応 ========== */
@media (max-width: 768px) {
  .top-kv {
    max-height: 500px;
  }
  .kv-logo__title {
    font-size: 36px;
  }
  .kv-logo__catch {
    font-size: 12px;
  }
  .kv-controls__inner {
    padding: 0 16px;
  }
}













  /* ===== GALLERY GRID ===== */
  .gallery {margin: 0 10%; justify-content: space-between;
    display: flex;
  }
 
  /* ===== GALLERY ITEM ===== */
  .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    cursor: pointer; width: 24%
  }

 
  .gallery-item .image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    /* ★ 右下を基点にする（Archidomoと同じ） */
    transform-origin: 100% 100%;
  }
 
  .gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
 
  /* ===== REVEAL ANIMATION (左上から展開) ===== */
 
  /*
   * 仕組み:
   *  1. clip-path: inset() で画像を左上の点に縮小
   *  2. transform-origin: 100% 100% (右下) を基点に scale(0.92) + rotate(-2deg) 
   *  3. アニメーションで clip-path を 0 に、transform を元に戻す
   *  → 左上から画像が "展開" される視覚効果
   */
 
  .gallery-item .image-wrapper {
    clip-path: inset(0 100% 100% 0);       /* 左上の点に縮小 */
    transform: scale(0.92) rotate(-2deg);
    opacity: 0;
    transition: none;
  }
 
  .gallery-item.--revealed .image-wrapper {
    clip-path: inset(0 0 0 0);              /* 全面表示 */
    transform: scale(1) rotate(0deg);
    opacity: 1;
    transition:
      clip-path 1.2s cubic-bezier(0.77, 0, 0.175, 1),
      transform 1.4s cubic-bezier(0.25, 1, 0.5, 1),
      opacity   0.6s ease;
  }
  /* ===== HOVER ===== */
  .gallery-item.--revealed:hover .image-wrapper {
    transform: scale(1.03);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  }
 