/* [giftls_cv]：エリア全体からお問い合わせへ進める、ネイビーのCTAカード。 */
.giftls-cv,
#column .column-detail a.giftls-cv,
#news .news-detail a.giftls-cv {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  grid-template-areas: "content arrow";
  align-items: center;
  gap: 12px 20px;
  box-sizing: border-box;
  width: 80%;
  max-width: 100%;
  margin: 28px auto;
  padding: 22px 24px;
  border: 2px solid #245b97;
  border-radius: 12px;
  background: radial-gradient(ellipse at top right, rgba(22, 119, 196, 0.4) 0%, transparent 65%), linear-gradient(115deg, #103e77 0%, #0b4d89 70%, #0d5b98 100%);
  box-shadow: 0 6px 20px rgba(0, 26, 66, 0.22);
  color: #fff;
  text-align: left;
  text-decoration: none;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.giftls-cv::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.08) 42%, rgba(255, 255, 255, 0.42) 50%, rgba(255, 255, 255, 0.08) 58%, transparent 70%);
  transform: translateX(-120%);
  pointer-events: none;
}

.giftls-cv__content {
  position: relative;
  z-index: 1;
  grid-area: content;
  min-width: 0;
}

.giftls-cv__content--mobile {
  display: none;
}

.giftls-cv__title {
  margin-bottom: 8px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  text-wrap: balance;
}

.giftls-cv__text {
  color: #edf5ff;
  font-size: 13px;
  line-height: 1.75;
}

.giftls-cv__title:last-child {
  margin-bottom: 0;
}

.giftls-cv__arrow {
  position: relative;
  z-index: 1;
  grid-area: arrow;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #fff;
  background: #fff;
  color: #005dad;
  line-height: 1;
  transition: transform 0.2s ease;
}

.giftls-cv__arrow svg {
  display: block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.giftls-cv:hover,
#column .column-detail a.giftls-cv:hover,
#news .news-detail a.giftls-cv:hover {
  border-color: #4d91c8;
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 30px rgba(0, 26, 66, 0.34);
  text-decoration: none;
  opacity: 1;
}

.giftls-cv:hover::before,
.giftls-cv:focus-visible::before {
  animation: giftls-cv-shine 0.7s ease-out both;
}

@keyframes giftls-cv-shine {
  from {
    transform: translateX(-120%);
  }
  to {
    transform: translateX(120%);
  }
}

.giftls-cv:hover .giftls-cv__arrow,
.giftls-cv:focus-visible .giftls-cv__arrow {
  transform: translateX(6px);
}

.giftls-cv:active,
#column .column-detail a.giftls-cv:active,
#news .news-detail a.giftls-cv:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 26, 66, 0.18);
}

.giftls-cv:focus-visible {
  outline: 3px solid #005dad;
  outline-offset: 4px;
}

@media only screen and (max-width: 767px) {
  .giftls-cv,
  #column .column-detail a.giftls-cv,
  #news .news-detail a.giftls-cv {
    grid-template-columns: minmax(0, 1fr) 34px;
    grid-template-areas: "content arrow";
    gap: 14px 12px;
    width: 100%;
    margin: 24px auto;
    padding: 16px;
  }

  .giftls-cv__title {
    margin-bottom: 6px;
    font-size: 18px;
  }

  .giftls-cv__text {
    font-size: 12px;
  }

  .giftls-cv__content--desktop {
    display: none;
  }

  .giftls-cv__content--mobile {
    display: block;
  }

  .giftls-cv__arrow {
    width: 34px;
    height: 34px;
  }

  .giftls-cv__arrow svg {
    width: 18px;
    height: 18px;
  }

  .giftls-cv::before {
    animation: giftls-cv-shine-mobile 5s ease-out infinite;
  }

  @keyframes giftls-cv-shine-mobile {
    0%, 72% {
      transform: translateX(-120%);
    }
    88%, 100% {
      transform: translateX(120%);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .giftls-cv,
  .giftls-cv__arrow {
    transition: none;
  }

  .giftls-cv::before {
    animation: none;
    display: none;
  }

  .giftls-cv:hover,
  #column .column-detail a.giftls-cv:hover,
  #news .news-detail a.giftls-cv:hover,
  .giftls-cv:hover .giftls-cv__arrow,
  .giftls-cv:focus-visible .giftls-cv__arrow {
    transform: none;
  }
}
