/* =========================================
DOWNLOADS PAGE
ダウンロードページ専用
========================================= */
.download-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.download-label {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef8f7;
  color: #2c7a7b;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.download-note {
  max-width: 520px;
  color: #5f7b78;
  line-height: 1.8;
}

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

.download-card {
  position: relative;
  padding: 32px 28px 28px;
  border: 1px solid #dfeeed;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fcfb 100%);
  box-shadow: 0 14px 36px rgba(44, 122, 123, 0.08);
}

.download-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(90deg, #70b8b0 0%, #9cd4ce 100%);
}

.download-card-category {
  display: inline-block;
  margin-bottom: 14px;
  color: #2c7a7b;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.download-card h3 {
  margin-bottom: 14px;
}

.download-meta {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.download-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #f1f8f7;
  color: #426d69;
  font-size: 0.82rem;
  line-height: 1.4;
}

.download-card-action {
  margin-top: 22px;
}

.download-card-action a,
.download-link-action a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.download-card-action a::after,
.download-link-action a::after {
  content: "›";
  font-size: 18px;
  line-height: 1;
}

.is-subcard {
  background: linear-gradient(180deg, #ffffff 0%, #f5fbfa 100%);
}

.download-info-box {
  margin-top: 28px;
  padding: 24px 26px;
  border: 1px solid #dfeeed;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(44, 122, 123, 0.06);
}

.download-info-title {
  margin-bottom: 8px;
  color: #2c7a7b;
  font-weight: 700;
}

.download-info-text {
  margin: 0;
  color: #5f7b78;
  line-height: 1.8;
}

.download-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.download-step {
  padding: 32px 28px 28px;
  border: 1px solid #dfeeed;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(44, 122, 123, 0.08);
}

.download-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 32px;
  margin-bottom: 18px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f3fbfa;
  color: #2c7a7b;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.download-step h3 {
  margin-bottom: 14px;
}

.download-link-grid {
  align-items: stretch;
}

.download-link-card {
  position: relative;
  overflow: hidden;
}

.download-link-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #70b8b0 0%, #9cd4ce 100%);
}

.download-link-action {
  margin-top: 20px;
}

.download-contact-box {
  padding: 56px 40px;
  border: 1px solid #dfeeed;
  border-radius: 32px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fcfb 100%);
  box-shadow: 0 18px 42px rgba(44, 122, 123, 0.08);
  text-align: center;
}

.download-contact-label {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef8f7;
  color: #2c7a7b;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.download-contact-box .section-title {
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  line-height: 1.35;
  letter-spacing: 0.03em;
}

.download-contact-actions {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 34px;
}

.contact-action-sub {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  opacity: 0.92;
}

.contact-action-main {
  display: block;
  margin-top: 6px;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.download-contact-actions .btn {
  width: 100%;
  max-width: 340px;
  min-height: 84px;
  padding: 18px 30px;
  border-radius: 999px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.download-contact-tel {
  background: linear-gradient(135deg, #2c7a7b 0%, #4fa8a2 100%);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(44, 122, 123, 0.2);
}

.download-contact-form {
  background: #ffffff;
  color: #2c7a7b;
  border: 2px solid #2c7a7b;
  box-shadow: 0 12px 26px rgba(44, 122, 123, 0.12);
}

.download-contact-tel:hover,
.download-contact-form:hover {
  transform: translateY(-3px);
  opacity: 1;
}

.download-contact-tel:hover {
  box-shadow: 0 18px 34px rgba(44, 122, 123, 0.24);
}

.download-contact-form:hover {
  background: #f7fcfb;
  box-shadow: 0 16px 30px rgba(44, 122, 123, 0.12);
}

.download-contact-form .contact-action-main {
  white-space: nowrap;
  letter-spacing: 0.015em;
  font-size: 1.48rem;
}

@media screen and (max-width: 1024px) {
  .download-grid,
  .download-flow {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 767px) {
  .download-head {
    margin-bottom: 24px;
  }

  .download-card,
  .download-step {
    padding: 28px 20px 22px;
    border-radius: 20px;
  }

  .download-info-box {
    margin-top: 22px;
    padding: 20px 18px;
    border-radius: 16px;
  }

  .download-contact-box {
    padding: 34px 20px 28px;
    border-radius: 24px;
  }

  .download-contact-actions {
    flex-direction: column;
    gap: 14px;
    margin-top: 26px;
  }

  .download-contact-actions .btn {
    width: 100%;
    max-width: none;
    min-width: 0;
    min-height: 76px;
    padding: 16px 18px;
  }

  .contact-action-sub {
    font-size: 0.72rem;
  }

  .contact-action-main {
    font-size: 1.45rem;
  }

  .download-contact-form .contact-action-main {
    white-space: normal;
    font-size: 1.45rem;
    letter-spacing: 0.01em;
  }
}
