/* =========================================
   Take a step / Related Inside CTA
========================================= */

.tas-related-inside {
  width: min(100%, 920px);
  margin: 72px auto 24px;
  padding: clamp(32px, 5vw, 58px);
  border: 1px solid rgba(177, 145, 76, 0.3);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(111, 165, 167, 0.14), transparent 34%),
    radial-gradient(circle at 0% 100%, rgba(210, 160, 111, 0.12), transparent 38%),
    #fffaf0;
  box-shadow: 0 22px 60px rgba(24, 44, 57, 0.09);
  color: #132c3d;
}

.tas-related-inside *,
.tas-related-inside *::before,
.tas-related-inside *::after {
  box-sizing: border-box;
}

.tas-related-inside__eyebrow {
  margin: 0 0 14px;
  color: #a67b31;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.tas-related-inside__title {
  margin: 0;
  padding: 0;
  border: 0;
  color: #102b3d;
  font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;
  font-size: clamp(27px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.05em;
}

.tas-related-inside__lead {
  max-width: 680px;
  margin: 20px 0 0;
  color: #4f5e65;
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.035em;
}

.tas-related-inside__grid {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.tas-related-inside__grid--1 {
  grid-template-columns: 1fr;
}

.tas-related-inside__grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tas-related-inside__grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tas-related-inside__card {
  position: relative;
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: space-between;
  padding: 25px 26px 23px;
  overflow: hidden;
  border: 1px solid rgba(19, 44, 61, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  color: #132c3d !important;
  text-decoration: none !important;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.tas-related-inside__card::after {
  position: absolute;
  top: -46px;
  right: -44px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: rgba(196, 166, 99, 0.12);
  content: "";
  pointer-events: none;
}

.tas-related-inside__card:hover,
.tas-related-inside__card:focus-visible {
  border-color: rgba(166, 123, 49, 0.55);
  background: #ffffff;
  box-shadow: 0 15px 36px rgba(19, 44, 61, 0.1);
  transform: translateY(-3px);
}

.tas-related-inside__card-label {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0 0 20px;
  color: #a67b31;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tas-related-inside__card-title {
  position: relative;
  z-index: 1;
  display: block;
  color: #102b3d;
  font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;
  font-size: clamp(19px, 2.4vw, 25px);
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: 0.035em;
}

.tas-related-inside__card-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  color: #68757b;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.tas-related-inside__card-arrow {
  color: #a67b31;
  font-size: 19px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.tas-related-inside__card:hover .tas-related-inside__card-arrow {
  transform: translateX(4px);
}

.tas-related-inside__subscribe {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(19, 44, 61, 0.13);
}

.tas-related-inside__subscribe-text {
  margin: 0;
  color: #53636b;
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: 0.035em;
}

.tas-related-inside__subscribe-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 22px;
  border: 1px solid #17364a;
  border-radius: 999px;
  background: #17364a;
  color: #fffaf0 !important;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-decoration: none !important;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.tas-related-inside__subscribe-link:hover,
.tas-related-inside__subscribe-link:focus-visible {
  background: transparent;
  color: #17364a !important;
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .tas-related-inside__grid--3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .tas-related-inside {
    margin-top: 52px;
    padding: 29px 20px 25px;
    border-radius: 20px;
  }

  .tas-related-inside__grid--2,
  .tas-related-inside__grid--3 {
    grid-template-columns: 1fr;
  }

  .tas-related-inside__grid {
    margin-top: 27px;
  }

  .tas-related-inside__card {
    min-height: 166px;
    padding: 22px 20px;
  }

  .tas-related-inside__subscribe {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .tas-related-inside__subscribe-link {
    width: 100%;
  }
}
