@charset "UTF-8";
/* achievements.html 専用のスタイル */

.ach-hero {
  padding: 64px 0 40px;
  text-align: center;
  border-bottom: 1px solid #e7ddc9;
}
.ach-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: #8a8073;
  margin-bottom: 14px;
}
.ach-hero h1 {
  font-family: "Yomogi", "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 38px);
  margin: 0 0 14px;
}
.ach-hero p {
  color: #8a8073;
  font-size: 15px;
  max-width: 640px;
  margin: 0 auto;
}

.ach-list {
  display: grid;
  gap: 44px;
}

.ach-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  background: #ffffff;
  border: 1px solid #e7ddc9;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 4px 14px rgba(44, 38, 32, 0.04);
}
@media (max-width: 760px) {
  .ach-card {
    grid-template-columns: 1fr;
  }
}

.ach-card-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ach-date {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #e8917a;
}

.ach-title {
  font-family: "Yomogi", "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-size: 20px;
  margin: 0;
}

.ach-title-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 8px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: #e8917a;
  text-decoration: none;
  vertical-align: middle;
  border-bottom: 1px solid #e8917a;
}

.ach-title-link:hover {
  opacity: 0.7;
}

.ach-place {
  color: #8a8073;
  font-size: 14px;
}
.ach-place b {
  color: #2c2620;
  font-weight: 700;
}

.ach-card--upcoming {
  border-color: #e8917a;
  background: #fff8f4;
}

.ach-tag {
  display: inline-block;
  align-self: flex-start;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 12px;
  color: #6fb3a0;
  border: 1px solid #6fb3a0;
  border-radius: 999px;
  padding: 4px 14px;
  margin-top: 4px;
}

.ach-tag--upcoming {
  color: #e8917a;
  border-color: #e8917a;
  font-weight: 700;
}

.ach-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}

.ach-gallery a {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e7ddc9;
  aspect-ratio: 4 / 3;
}

.ach-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.ach-gallery a:hover img {
  transform: scale(1.05);
}

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(44, 38, 32, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 88vw;
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  transform: scale(0.97);
  transition: transform 0.25s ease;
}
.lightbox.open .lightbox-img {
  transform: scale(1);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  cursor: pointer;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.24);
}

.lightbox-close {
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  font-size: 16px;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  font-size: 26px;
  line-height: 1;
}
.lightbox-prev {
  left: 20px;
}
.lightbox-next {
  right: 20px;
}

@media (max-width: 600px) {
  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .lightbox-close {
    width: 36px;
    height: 36px;
    top: 12px;
    right: 12px;
  }
  .lightbox-prev {
    left: 8px;
  }
  .lightbox-next {
    right: 8px;
  }
}
