/* =========================
   Components 
========================= */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 900;
  letter-spacing: 0.02em;
  border: 2px solid rgba(7, 11, 18, 0.12);
  transition: transform 160ms ease, background 160ms ease, border 160ms ease,
    box-shadow 160ms ease;
  user-select: none;
  box-shadow: 0 14px 24px rgba(7, 11, 18, 0.16);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: rgba(127, 191, 127, 0.98);
  color: rgba(7, 11, 18, 0.92);
}

.btn-primary:hover {
  background: rgba(127, 191, 127, 1);
}

.btn-ghost {
  background: #ffffff;
  color: rgba(7, 11, 18, 0.92);
}

.btn-ghost:hover {
  border-color: rgba(47, 159, 99, 0.6);
}

/* Cards */
.card {
  background: #ffffff;
  border: 2px solid rgba(7, 11, 18, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 32px rgba(7, 11, 18, 0.18);
  overflow: hidden;
  transition: transform 180ms ease, border 180ms ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(7, 11, 18, 0.18);
}

.card-title {
  margin: 14px auto 0;
  padding: 6px 10px;
  width: fit-content;
  border-radius: 8px;
  background: rgba(207, 255, 207, 0.98);
  border: 2px solid rgba(7, 11, 18, 0.12);
  font-size: 16px;
  letter-spacing: 0.02em;
  color: rgba(7, 11, 18, 0.92);
}

.card-media {
  margin: 12px 14px 0;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid rgba(7, 11, 18, 0.12);
  background: #fff;
}

.card-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.card-text {
  display: block;
  margin: 12px 14px 16px;
  color: rgba(7, 11, 18, 0.9);
  font-size: var(--step--1);
  text-align: center;
}

/* YouTube embed */
.card-embed {
  border: 2px solid rgba(7, 11, 18, 0.12);
  box-shadow: 0 18px 32px rgba(7, 11, 18, 0.18);
  transition: transform 180ms ease, border 180ms ease;
}

.card-embed:hover {
  transform: translateY(-2px);
  border-color: rgba(7, 11, 18, 0.18);
}

.youtube-item iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Accordion */
.equipment-list {
  margin-top: 22px;
  text-align: center;
}

.kizai-ttl {
  margin: 18px auto 18px;
  max-width: 80ch;
  color: rgba(255, 255, 255, 0.98);
  font-weight: 800;
  filter: drop-shadow(12px 16px 8px rgba(0, 0, 0, 0.35));
  text-align: center;
}

.accordion-list {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 2px solid rgba(7, 11, 18, 0.14);
  background: rgba(255, 255, 255, 0.98);
  color: rgba(7, 11, 18, 0.92);
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border 160ms ease;
  box-shadow: 0 18px 32px rgba(7, 11, 18, 0.20);
}

.accordion-list:hover {
  transform: translateY(-1px);
  border-color: rgba(47, 159, 99, 0.6);
}

.plus {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(207, 255, 207, 0.98);
  border: 2px solid rgba(7, 11, 18, 0.12);
  transition: transform 220ms ease;
}

.equipment-list.open .plus {
  transform: rotate(45deg);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 360ms ease;
  margin-top: 14px;
  border-radius: var(--radius-lg);
}

.equipment-list.open .accordion-panel {
  max-height: 840px;
}

.camera-list {
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 32px rgba(7, 11, 18, 0.20);
  background: #fff;
}

/* SNS buttons */
.sns-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 900;
  border: 2px solid rgba(7, 11, 18, 0.12);
  background: rgba(255, 255, 255, 0.98);
  color: rgba(7, 11, 18, 0.92);
  transition: transform 160ms ease, border 160ms ease;
  box-shadow: 0 14px 24px rgba(7, 11, 18, 0.16);
}

.sns-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(47, 159, 99, 0.6);
}

.footer .btn,
.footer .sns-btn {
  box-shadow: 0 10px 18px rgba(7, 11, 18, 0.12);
}
