/* ==============================
   FAIRY SERIES COMPARISON
============================== */

.sp_box_product {
  margin-bottom: 40px;
}

.fairy-compare {
  margin-top: 80px;
  background: #fff;
  color: #222;
}

.fairy-compare *,
.fairy-compare *::before,
.fairy-compare *::after {
  box-sizing: border-box;
}

.fairy-compare__inner {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

/* ---------- heading ---------- */

.fairy-compare__heading {
  margin-bottom: 40px;
  text-align: center;
}

.fairy-compare__heading-en {
  display: block;
  margin-bottom: 8px;
  color: #76528f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  letter-spacing: 0.12em;
}

.fairy-compare__title {
  margin: 0;
  font-size: 30px;
  line-height: 1.4;
  font-weight: 700;
}

/* ---------- cards ---------- */

.fairy-card-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 20px;
}

.fairy-card {
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid #d7d7d7;
  background: #fff;
}

/* ---------- visual ---------- */

.fairy-card__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
  padding: 25px;
}

.fairy-card__image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 220px;
  object-fit: contain;
}

/* 有線 / USB充電 */

.fairy-card__power {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #76528f;
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 500;
  text-align: center;
  padding-top: 2px;
}

/* ---------- body ---------- */

.fairy-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 20px 22px;
}

/* 人気No.1 / パワー重視など */

.fairy-card__recommend {
  margin: 0 0 6px;
  color: #76528f;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
  text-align: center;
}

.fairy-card__recommend::before {
  content: "【";
}

.fairy-card__recommend::after {
  content: "】";
}

/* 商品名 */

.fairy-card__name {
  margin: 0;
  min-height: 58px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
}

.fairy-card__name a:hover {
  background: linear-gradient(transparent 60%, #ffff00 60%);
}

/* POINT */

.fairy-card__point {
  margin-top: 12px;
}

.fairy-card__point-title {
  margin: 0 0 8px;
  color: #76528f;
  font-family: Arial, sans-serif;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.fairy-card__point-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fairy-card__point-list li {
  position: relative;
  margin: 5px 0 0;
  padding-left: 17px;
  font-size: 14px;
  line-height: 1.55;
}

.fairy-card__point-list li:first-child {
  margin-top: 0;
}

.fairy-card__point-list li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #76528f;
}

/* ==============================
   Tablet
============================== */

@media screen and (max-width: 800px) {
  .fairy-compare {
    margin-top: 60px;
  }

  .fairy-card__image {
    max-height: 170px;
  }

  .fairy-card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==============================
   Smartphone
============================== */

@media screen and (max-width: 600px) {
  .fairy-compare {
    margin-top: 60px;
  }

  .fairy-compare__heading {
    margin-bottom: 30px;
  }

  .fairy-compare__heading-en {
    font-size: 13px;
  }

  .fairy-compare__title {
    font-size: 20px;
  }

  .fairy-card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .fairy-card__visual {
    height: 200px;
    padding: 8px;
  }

  .fairy-card__image {
    max-height: 220px;
  }

  .fairy-card__power {
    top: 160px;
    left: 8px;
    width: 50px;
    height: 50px;
    font-size: 12px;
  }

  .fairy-card__body {
    padding: 18px 12px;
  }

  .fairy-card__recommend {
    font-size: 13px;
  }

  .fairy-card__name {
    font-size: 15px;
    line-height: 1.35;
  }

  .fairy-card__point {
    margin-top: 8px;
  }

  .fairy-card__point-list li {
    padding-left: 14px;
    font-size: 13px;
    line-height: 1.5;
  }
}
