main {
  font-family: "Shippori Antique B1", sans-serif;
  background: #050808;
}
.tag-all {
  padding-bottom: 100px;
}
.tag-hero {
  position: relative;
  min-height: 450px;
  padding: 150px 8% 0;
  background:
    linear-gradient(rgba(55, 186, 186, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(55, 186, 186, 0.04) 1px, transparent 1px),
    #0b0f10;
  background-size: 40px 40px;
  overflow: hidden;
  border-bottom: 1px solid rgba(55, 186, 186, 0.45);
  font-family: "Shippori Antique B1", sans-serif;
}

.tag-hero::before {
  content: "TAG";
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
  font-size: clamp(7rem, 18vw, 18rem);
  letter-spacing: 0.08em;
  pointer-events: none;
}

.tag-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.page-rec {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #37baba;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  font-weight: 700;
}

.page-rec::before {
  content: "";
  width: 10px;
  height: 10px;
  background: #37baba;
}

.tag-hero h1 {
  margin-top: 40px;
  color: #fff;
  font-size: clamp(3.2rem, 9vw, 7rem);
  letter-spacing: 0.14em;
  line-height: 1;
}

.tag-hero p {
  margin-top: 36px;
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.4rem);
  line-height: 2;
  letter-spacing: 0.12em;
}

.tag-section {
  padding: 100px 8% 0;
}

.tag-row {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 300px 1fr;

  border: 1px solid rgba(55, 186, 186, 0.35);
  background: rgba(255, 255, 255, 0.02);
}

.tag-index {
  padding: 32px;
  border-right: 1px solid rgba(55, 186, 186, 0.28);
}

.tag-index span {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  margin-bottom: 20px;
}

.tag-index h2 {
  color: #37baba;
  font-size: 1.9rem;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.tag-index p {
  color: #cfd6d6;
  font-size: 1rem;
}

.tag-content {
  padding: 32px 40px;
}

.tag-content h3 {
  color: #37baba;
  font-size: 1.2rem;
  letter-spacing: 0.14em;
  margin-bottom: 28px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.tag-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 8px 18px;

  color: #37baba;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.08em;

  border: 1px solid rgba(55, 186, 186, 0.5);
  border-radius: 999px;
  background: rgba(55, 186, 186, 0.04);

  transition: 0.3s ease;
}

.tag-tooltip {
  position: relative;
  list-style: none;
}

.tooltip {
  position: absolute;

  left: 50%;
  bottom: calc(100% + 12px);

  transform: translateX(-50%) translateY(10px);

  min-width: 180px;

  padding: 12px 16px;

  background: #111;

  color: #fff;

  border: 1px solid rgba(55, 186, 186, 0.4);

  border-radius: 8px;

  font-size: 0.8rem;
  line-height: 1.6;
  text-align: center;

  opacity: 0;
  visibility: hidden;

  transition: 0.25s;

  pointer-events: none;

  z-index: 20;
}

.tag-tooltip:hover .tooltip {
  opacity: 1;
  visibility: visible;

  transform: translateX(-50%) translateY(0);
}
.tooltip::after {
  content: "";

  position: absolute;

  left: 50%;
  bottom: -7px;

  transform: translateX(-50%);

  border-width: 7px 7px 0 7px;
  border-style: solid;

  border-color: rgba(55, 186, 186, 0.4) transparent transparent transparent;
}
.tag-tooltip a {
  display: inline-flex;
  align-items: center;

  padding: 10px 18px;

  border: 1px solid #37baba;
  border-radius: 999px;

  color: white;
  text-decoration: none;

  transition: 0.3s;
}

.tag-tooltip a:hover {
  background: #37baba;
  color: #111;
  box-shadow: 0 0 18px rgba(55, 186, 186, 0.25);
  transform: translateY(-2px);
}

.tag-note {
  margin-top: 24px;
  color: #cfd6d6;
  font-size: 0.8rem;
  line-height: 1.8;
  text-align: end;
}

.terms-section {
  padding: 100px 8%;
  background: #050808;
}

.terms-row {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 300px 1fr;

  border: 1px solid rgba(55, 186, 186, 0.35);
  background: rgba(255, 255, 255, 0.02);
}

.terms-index {
  padding: 32px;
  border-right: 1px solid rgba(55, 186, 186, 0.28);
}

.terms-index h2 {
  color: #37baba;
  font-size: 1.8rem;
  line-height: 1.15;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
}

.terms-index > p {
  color: #fff;
  font-size: 0.9rem;
}

.terms-lead {
  margin-top: 56px;
  color: #cfd6d6 !important;
  line-height: 2;
  font-size: 0.85rem !important;
}

.terms-content {
  padding: 32px 40px 40px;
}

.terms-head {
  margin-bottom: 32px;
  padding-bottom: 22px;
  border-bottom: 1px dashed rgba(55, 186, 186, 0.35);
}

.terms-head h3 {
  color: #37baba;
  font-size: 1.4rem;
  letter-spacing: 0.16em;
  margin-bottom: 10px;
}

.terms-head p {
  color: #fff;
  line-height: 1.8;
  font-size: 0.9rem;
}

.terms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.term-card {
  position: relative;
  padding: 28px 28px 30px;

  border: 1px solid rgba(55, 186, 186, 0.45);
  background: rgba(5, 8, 8, 0.7);

  color: #fff;
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.term-card.show {
  opacity: 1;
  transform: translateY(0);
}
.term-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(55, 186, 186, 0.08);
  pointer-events: none;
}

.term-num {
  display: block;
  color: #37baba;
  font-size: 1rem;
  letter-spacing: 0.18em;
  margin-bottom: 18px;
}

.term-card h4 {
  color: #37baba;
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.term-type {
  display: inline-block;
  padding: 5px 14px;

  border: 1px solid rgba(55, 186, 186, 0.65);
  border-radius: 999px;

  color: #37baba;
  font-size: 0.7rem;
  letter-spacing: 0.16em;

  margin-bottom: 26px;
}

.term-block {
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid rgba(55, 186, 186, 0.28);
}

.term-block span {
  display: inline-block;
  color: #37baba;
  font-size: 0.75rem;
  letter-spacing: 0.12em;

  padding: 3px 8px;
  border: 1px solid rgba(55, 186, 186, 0.45);

  margin-bottom: 10px;
}

.term-block p {
  color: #fff;
  line-height: 1.9;
  font-size: 0.92rem;
}

.terms-note {
  margin-top: 28px;
  color: #9da6a8;
  font-size: 0.8rem;
}
