@charset "UTF-8";

/* =============================================================
   hub.css  —  ハブページ共通
   template-about-index.php / template-service-index.php
   template-solution-index.php / template-guide-index.php
============================================================= */


/* -------------------------------------------------------------
   Container override
------------------------------------------------------------- */
.page-template-template-about-index #content.l-container,
.page-template-template-about-index #content.l-content,
.page-template-template-service-index #content.l-container,
.page-template-template-service-index #content.l-content,
.page-template-template-solution-index #content.l-container,
.page-template-template-solution-index #content.l-content,
.page-template-template-guide-index #content.l-container,
.page-template-template-guide-index #content.l-content {
  max-width: 100% !important;
  padding: 0 !important;
}

.page-template-template-about-index .l-mainContent,
.page-template-template-about-index .l-mainContent__inner,
.page-template-template-service-index .l-mainContent,
.page-template-template-service-index .l-mainContent__inner,
.page-template-template-solution-index .l-mainContent,
.page-template-template-solution-index .l-mainContent__inner,
.page-template-template-guide-index .l-mainContent,
.page-template-template-guide-index .l-mainContent__inner {
  max-width: 100% !important;
  padding: 0 !important;
}


/* =============================================================
   ページラッパー
============================================================= */
.p-hub {
  overflow-x: clip;
}


/* =============================================================
   01. ページヘッダー
============================================================= */
.p-hub-hero {
  background: var(--color-bg-gray, #F4F7F9);
  padding: 7rem 2rem 6rem;
  text-align: center;
}

.p-hub-hero__label {
  color: var(--color-blue, #2980B9);
  font-family: var(--font-accent, sans-serif);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 1.4rem;
  opacity: 0.7;
  text-transform: uppercase;
}

.p-hub-hero__title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.35;
}

.p-hub-hero__lead {
  color: var(--color-text-light, rgba(26, 26, 26, 0.6));
  font-size: 1.5rem;
  line-height: 1.9;
  margin-inline: auto;
  margin-top: 2rem;
  max-width: 56rem;
}

@media (min-width: 768px) {
  .p-hub-hero {
    padding: 9rem 2rem 7rem;
  }
}


/* =============================================================
   02. カードセクション
============================================================= */
.p-hub-cards {
  background: #fff;
  padding: 6rem 2rem;
}

@media (min-width: 768px) {
  .p-hub-cards {
    padding: 8rem 2rem;
  }
}


/* =============================================================
   03. カードグリッド
============================================================= */
.p-hub-card__list {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  list-style: none;
  padding: 0;
}

@media (min-width: 600px) {
  .p-hub-card__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .p-hub-card__list--3col {
    gap: 2.4rem;
    grid-template-columns: repeat(3, 1fr);
  }
}


/* =============================================================
   04. カード
============================================================= */
.p-hub-card__item {
  display: flex;
}

.p-hub-card__link {
  background: #fff;
  border: 1px solid var(--color-border, rgba(26, 26, 26, 0.1));
  border-radius: 1.2rem;
  box-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, 0.04);
  color: var(--color-text, #1A1A1A);
  display: flex;
  flex-direction: column;
  padding: 2.4rem;
  text-decoration: none;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  width: 100%;
}

.p-hub-card__link:hover {
  box-shadow: 0 0.4rem 2.4rem rgba(41, 128, 185, 0.12);
  transform: translateY(-0.2rem);
}

.p-hub-card__title {
  border-bottom: 0.2rem solid var(--color-blue, #2980B9);
  display: block;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.45;
  padding-bottom: 1.2rem;
}

.p-hub-card__text {
  color: var(--color-text-light, rgba(26, 26, 26, 0.65));
  display: block;
  flex: 1;
  font-size: 1.4rem;
  line-height: 1.8;
  margin-top: 1.2rem;
}

.p-hub-card__more {
  align-items: center;
  color: var(--color-blue, #2980B9);
  display: flex;
  font-size: 1.3rem;
  font-weight: 600;
  gap: 0.4rem;
  letter-spacing: 0.04em;
  margin-top: 2rem;
}

.p-hub-card__more::after {
  content: "→";
}


/* =============================================================
   05. 固定ページ本文エリア
============================================================= */
.p-hub-content {
  background: var(--color-bg-gray, #F4F7F9);
  padding: 6rem 2rem;
}

.p-hub-content__body {
  font-size: 1.5rem;
  line-height: 2.0;
  margin-inline: auto;
  max-width: 72rem;
}

@media (min-width: 768px) {
  .p-hub-content {
    padding: 8rem 2rem;
  }
}


/* =============================================================
   06. 補足セクション
============================================================= */
.p-hub-supplement {
  background: rgba(41, 128, 185, 0.025);
  overflow: hidden;
  padding: 6rem 2rem;
  position: relative;
}

.p-hub-supplement::before {
  background: linear-gradient(130deg, rgba(41, 128, 185, 0.07) 0%, transparent 60%);
  bottom: 0;
  content: "";
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
}

.p-hub-supplement__inner {
  position: relative;
}

.p-hub-supplement__title {
  align-items: center;
  display: flex;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  gap: 1.2rem;
  letter-spacing: 0.03em;
  line-height: 1.4;
}

.p-hub-supplement__title::before {
  background: var(--color-blue, #2980B9);
  border-radius: 0.2rem;
  content: "";
  flex-shrink: 0;
  height: 2.4rem;
  width: 0.4rem;
}

.p-hub-supplement__text {
  color: var(--color-text-light, rgba(26, 26, 26, 0.7));
  font-size: 1.5rem;
  line-height: 2.0;
  margin-top: 2rem;
  max-width: 64rem;
}

@media (min-width: 768px) {
  .p-hub-supplement {
    padding: 8rem 2rem;
  }
}


/* =============================================================
   07. 関連導線
============================================================= */
.p-hub-related {
  background: var(--color-bg-gray, #F4F7F9);
  padding: 6rem 2rem;
  text-align: center;
}

.p-hub-related__title {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.6;
}

.p-hub-related__list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
  list-style: none;
  margin-top: 2.8rem;
  padding: 0;
}

.p-hub-related__link {
  border: 1px solid var(--color-border, rgba(26, 26, 26, 0.15));
  border-radius: 999px;
  color: var(--color-text, #1A1A1A);
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 600;
  padding: 0.9rem 2.8rem;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.p-hub-related__link:hover {
  background: var(--color-blue, #2980B9);
  border-color: var(--color-blue, #2980B9);
  color: #fff;
}

.p-hub-related__link--primary {
  background: var(--color-blue, #2980B9);
  border-color: var(--color-blue, #2980B9);
  color: #fff;
}

.p-hub-related__link--primary:hover {
  background: #1a6fa0;
  border-color: #1a6fa0;
}

@media (min-width: 768px) {
  .p-hub-related {
    padding: 8rem 2rem;
  }
}
