/* ==========================================================================
   Partners / Banners Section
   - Large partner cards (SAS-style)
   ========================================================================== */

.section--banners {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
  position: relative;
  background: linear-gradient(135deg, #1E3A8A 0%, #2C6AB6 35%, #5DA0E8 100%);
  overflow: hidden;
}

.section--banners::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.12) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  pointer-events: none;
  z-index: 1;
}

.section--banners .container {
  position: relative;
  max-width: 1200px !important;
  z-index: 2;
}

/* Career Path 見出しを白に */
.section--banners .section-heading__en {
  background: linear-gradient(135deg, #ffffff 0%, #c5e3ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.section--banners .section-heading__ja {
  color: rgba(255, 255, 255, 0.96);
  font-weight: 600;
}

/* Career Path カードを暗背景に映える色に */
.banners__card {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(6px);
}

.banners__card-link {
  color: var(--color-primary) !important;
}

/* ── Banner Grid ── */
.banners {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

/* ── Partner Card ── */
.banners__card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-text);
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border-light);
  transition: all var(--duration-normal) var(--ease-out);
}

.banners__card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
  opacity: 1;
}

/* ── Visual Area ── */
.banners__card-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  background: var(--color-bg-section);
}

.banners__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  transform: scale(1.05);
  transition: transform 0.5s var(--ease-out);
}

.banners__card:hover .banners__card-img {
  transform: scale(1.1);
}

/* ── Info Area ── */
.banners__card-info {
  padding: var(--space-5) var(--space-5);
}

.banners__card-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  margin: 0 0 var(--space-2);
  color: var(--color-text);
}

.banners__card-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin: 0 0 var(--space-3);
}

.banners__card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-primary-dark);
  letter-spacing: 0.05em;
}

.banners__card-link svg {
  transition: transform 0.3s var(--ease-out);
}

.banners__card:hover .banners__card-link svg {
  transform: translateX(4px);
}


/* ── Responsive ── */

@media (min-width: 480px) {
  .banners__card-info {
    padding: var(--space-6);
  }

  .banners__card-title {
    font-size: var(--text-2xl);
  }

  .banners__card-desc {
    font-size: var(--text-base);
  }
}

@media (min-width: 840px) {
  .banners {
    gap: var(--space-8);
  }

  .banners__card {
    flex-direction: row;
    border-radius: 24px;
  }

  .banners__card-visual {
    flex: 0 0 45%;
    aspect-ratio: auto;
    min-height: 280px;
  }

  .banners__card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-8);
  }

  .banners__card-title {
    font-size: var(--text-2xl);
  }

  .banners__card-desc {
    font-size: var(--text-lg);
    margin-bottom: var(--space-4);
  }

  .banners__card-link {
    font-size: var(--text-base);
  }
}

/* ── PC (1280px+) ── */
@media (min-width: 1280px) {
  .section--banners {
    padding-top: var(--space-16);
    padding-bottom: var(--space-20);
  }

  .banners {
    gap: var(--space-10);
  }

  .banners__card-visual {
    flex: 0 0 50%;
    min-height: 320px;
  }

  .banners__card-info {
    padding: var(--space-10);
  }

  .banners__card-title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-3);
  }

  .banners__card-desc {
    font-size: var(--text-xl);
    margin-bottom: var(--space-6);
  }

  .banners__card-link {
    font-size: var(--text-lg);
  }
}


/* ==========================================================================
   Links Section — 公式SNS・ショップ (Gradient Cards)
   ========================================================================== */

.section--links {
  padding-top: var(--space-16);
  padding-bottom: var(--space-20);
  background: linear-gradient(180deg, #f0f9ff 0%, #dbeafe 50%, #f0f9ff 100%);
  position: relative;
  overflow: hidden;
}

.section--links::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(93, 160, 232, 0.16) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  pointer-events: none;
}

.section--links .container {
  position: relative;
  max-width: 1200px !important;
  z-index: 2;
}

/* Official 見出しを re;ALIZE ブルー基調に */
.section--links .section-heading__en {
  background: linear-gradient(135deg, #2C6AB6 0%, #5DA0E8 50%, #67D8F0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section--links .section-heading__ja {
  color: var(--color-primary-dark);
  font-weight: 600;
}

/* ── Links Grid ── */
.links {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

/* ── Gradient Card ── */
.links__card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #2C6AB6 0%, #4A8FD8 30%, #5DA0E8 65%, #67D8F0 100%);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.32);
  transition: all 0.35s var(--ease-out);
}

.links__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.48);
  opacity: 1;
}

/* Shine sweep on hover */
.links__card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}

.links__card:hover::after {
  left: 150%;
}

/* ── Icon Circle ── */
.links__card-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-dark);
  box-shadow: 0 2px 12px rgba(30, 58, 138, 0.18);
}

/* ── Text Body ── */
.links__card-body {
  flex: 1;
  min-width: 0;
}

.links__card-label {
  font-size: var(--text-xs);
  color: #fff;
  opacity: 0.85;
  margin: 0 0 2px;
  letter-spacing: 0.03em;
}

.links__card-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  color: #fff;
  margin: 0;
  letter-spacing: 0.02em;
}

/* ── Arrow Icon ── */
.links__card-arrow {
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity 0.3s, transform 0.3s;
}

.links__card:hover .links__card-arrow {
  opacity: 1;
  transform: translateX(3px);
}

/* ── Responsive ── */

@media (min-width: 480px) {
  .links__card {
    padding: var(--space-6) var(--space-8);
  }

  .links__card-icon {
    width: 60px;
    height: 60px;
  }

  .links__card-label {
    font-size: var(--text-sm);
  }

  .links__card-title {
    font-size: var(--text-xl);
  }
}

@media (min-width: 840px) {
  .links {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }

  .links__card {
    flex-direction: column;
    text-align: center;
    padding: var(--space-8) var(--space-6);
    border-radius: 20px;
  }

  .links__card-icon {
    width: 68px;
    height: 68px;
    margin-bottom: var(--space-2);
  }

  .links__card-arrow {
    position: absolute;
    bottom: var(--space-4);
    right: var(--space-4);
  }

  .links__card-label {
    font-size: var(--text-sm);
  }

  .links__card-title {
    font-size: var(--text-xl);
  }
}

@media (min-width: 1280px) {
  .section--links {
    padding-bottom: var(--space-20);
  }

  .links {
    gap: var(--space-8);
  }

  .links__card {
    padding: var(--space-10) var(--space-8);
    border-radius: 24px;
  }

  .links__card-icon {
    width: 76px;
    height: 76px;
  }

  .links__card-icon svg {
    width: 34px;
    height: 34px;
  }

  .links__card-title {
    font-size: var(--text-2xl);
  }
}
