/* =========================
   下部：ANZUプロフィールにも使えます
========================= */

.profile-use-box {
  padding: 26px 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid #e6ebf5;
  box-shadow: 0 10px 26px rgba(38, 48, 68, 0.05);
}

.profile-use-box h2 {
  margin-bottom: 16px;
  color: #263044;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .01em;
}

.profile-use-box p {
  color: #566174;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: .02em;
}


/* =========================
   一緒に使えるツール
========================= */

.related-tools {
  width: 100%;
  margin: 30px 0 34px;
  padding: 30px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid #e6ebf5;
  box-shadow: 0 10px 26px rgba(38, 48, 68, 0.05);
}

.related-tools-head {
  margin-bottom: 24px;
}

.related-tools .section-kicker {
  display: inline-flex;
  align-items: center;
  margin: 0 0 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #edf6ff;
  color: #3478d8;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.related-tools h2 {
  margin: 0 0 12px;
  color: #263044;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.45;
}

.related-tools-head p {
  margin: 0;
  color: #667085;
  font-size: 14.5px;
  line-height: 1.9;
  letter-spacing: .02em;
}

.related-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.related-tool-card {
  display: flex;
  flex-direction: column;
  min-height: 178px;
  padding: 22px 22px 20px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid #e2eaf5;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(38, 48, 68, 0.035);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease,
    background .18s ease;
}

.related-tool-card:hover {
  transform: translateY(-2px);
  border-color: #c5dcf8;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(38, 48, 68, 0.08);
}

.related-tool-card h3 {
  margin: 0 0 12px;
  color: #263044;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: .01em;
}

.related-tool-card p {
  flex: 1;
  margin: 0 0 18px;
  color: #5f6b7a;
  font-size: 14px;
  line-height: 1.85;
  letter-spacing: .02em;
}

.related-tool-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 7px 13px;
  border-radius: 999px;
  background: #eef6ff;
  color: #2f75d6;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.related-tool-card span::after {
  content: "›";
  margin-left: 7px;
  font-size: 16px;
  line-height: 1;
}


/* =========================
   広告枠
========================= */

.anzu-ad-box {
  margin: 34px 0 0;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid #e6ebf5;
  box-shadow: 0 8px 22px rgba(38, 48, 68, 0.045);
}

.anzu-ad-label {
  display: inline-flex;
  align-items: center;
  margin: 0 0 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f4f6f8;
  color: #98a2b3;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.anzu-ad-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  min-height: 118px;
  padding: 18px;
  border-radius: 18px;
  border: 1px dashed #cfd8e4;
  background: #fafcff;
  color: #7b8794;
  text-align: center;
}

.anzu-ad-placeholder p {
  margin: 0 0 5px;
  font-size: 14px;
  font-weight: 700;
}

.anzu-ad-placeholder small {
  color: #98a2b3;
  font-size: 12px;
}


/* =========================
   スマホ調整
========================= */

@media (max-width: 900px) {
  .related-tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .profile-use-box {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .profile-use-box h2 {
    font-size: 21px;
  }

  .related-tools {
    margin: 26px 0 30px;
    padding: 24px 18px;
    border-radius: 20px;
  }

  .related-tools h2 {
    font-size: 22px;
  }

  .related-tools-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .related-tool-card {
    min-height: auto;
    padding: 19px 18px;
    border-radius: 18px;
  }
}


.site-header .navbar-brand {
  font-weight: 700 !important;
  letter-spacing: .01em;
}

.site-header .nav-link {
  color: #555f70;
  font-size: 14.5px;
  font-weight: 500;
}

.site-header .nav-link:hover {
  color: var(--anzu-main, #4f8cff);
}