/*
 * modules/front-sections.css — chrome shared by every TOP section
 * Section heads (.axihub-sec-head), the skewed English watermarks
 * (.axihub-wm) and the bottom-right "see more" links (.axihub-sec-more),
 * plus the unified H2 rule. Ported from the standalone mock.
 * Loads last on the TOP page so it can normalise the section modules —
 * see inc/asset-styles.php.
 */

.axihub-sec-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 28px;
}

/* Search head sits directly above its tab bar, which carries its own margin. */
.axihub-sec-head--tight {
  margin-bottom: 4px;
}

.axihub-sec-head--wide {
  margin-bottom: 36px;
}

.axihub-sec-head__wm {
  display: flex;
  justify-content: flex-end;
  line-height: 1;
  min-height: 0;
}

.axihub-sec-head__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.axihub-sec-head__row--center {
  justify-content: center;
}

.axihub-sec-head__row--stack {
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.axihub-sec-head__note {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* .axihub-wm — see modules/watermark.css (shared TOP + LP) */

/* H2 — セクション見出しの統一規格 */
.axihub-sec-head__title,
.axihub-pickup__title,
.axihub-reasons__heading {
  margin: 0;
  font-size: var(--fs-h2);
  font-weight: var(--fw-h2);
  color: var(--color-text);
  line-height: var(--lh-h2);
}

.axihub-reasons__heading {
  text-align: center;
  margin-bottom: 44px;
}

/* Bottom-right "see the full list" links */
.axihub-sec-more {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
}

.axihub-sec-more > a,
.axihub-sec-more > span,
.axihub-sec-more > div {
  font-size: 13px;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-text);
  width: fit-content;
  text-decoration: none;
}

.axihub-sec-more > a:hover,
.axihub-sec-more > a:visited {
  color: var(--color-text);
}
