/* ============================================================
   用途・導入支援コンテンツハブ
   共通UIは site.css、本ファイルは情報構造だけを担当する。
   ============================================================ */

.hub-hero {
  padding: 64px 0 58px;
  background:
    radial-gradient(circle at 88% 20%, rgba(0, 154, 210, 0.14), transparent 34%),
    linear-gradient(180deg, #f2fbfe 0%, #ffffff 100%);
}

.hub-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 48px;
  align-items: center;
}

.hub-side-note {
  padding: 30px;
  border: 1px solid #cfe2ea;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 48px rgba(11, 49, 67, 0.1);
}

.hub-side-note h2 {
  margin: 0 0 20px;
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  line-height: 1.25;
}

.number-list,
.deliverable-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: item;
}

.number-list li,
.deliverable-list li {
  position: relative;
  padding: 12px 14px 12px 44px;
  border-radius: 12px;
  background: #f3f9fc;
  font-weight: 800;
}

.number-list li::before {
  counter-increment: item;
  content: counter(item, decimal-leading-zero);
  position: absolute;
  left: 14px;
  color: #009ad2;
  font-size: 0.76rem;
  font-weight: 900;
}

.deliverable-list li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  color: #009ad2;
  font-weight: 900;
}

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

.theme-card {
  display: flex;
  min-height: 310px;
  padding: 24px;
  border: 1px solid #d8e5ea;
  border-radius: 20px;
  flex-direction: column;
  background: #ffffff;
  box-shadow: 0 16px 44px rgba(11, 49, 67, 0.08);
}

.theme-card-featured {
  min-height: 360px;
  border-top: 4px solid #009ad2;
}

.theme-number,
.service-step {
  color: #009ad2;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.theme-label {
  margin: 18px 0 8px !important;
  color: #009ad2 !important;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.theme-card h3,
.service-module h3 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
}

.theme-card > p:not(.theme-label),
.service-module > p:not(.theme-label) {
  margin: 0;
  color: #667d88;
}

.theme-tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 20px 0 0;
}

.theme-tags span,
.module-output span {
  padding: 6px 9px;
  border-radius: 999px;
  color: #0f6d8a;
  background: #e8f8fd;
  font-size: 0.72rem;
  font-weight: 900;
}

.theme-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 24px;
}

.theme-links a,
.service-module > a {
  color: #009ad2;
  font-weight: 900;
}

.logic-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.logic-flow article {
  position: relative;
  padding: 24px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(11, 49, 67, 0.07);
}

.logic-flow article:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -12px;
  z-index: 2;
  color: #009ad2;
  font-weight: 900;
  transform: translateY(-50%);
}

.logic-flow span {
  color: #009ad2;
  font-size: 0.74rem;
  font-weight: 900;
}

.logic-flow h3 {
  margin: 22px 0 8px;
}

.logic-flow p {
  margin: 0;
  color: #667d88;
}

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

.service-module {
  display: flex;
  min-height: 360px;
  padding: 26px;
  border: 1px solid #d8e5ea;
  border-radius: 20px;
  flex-direction: column;
  background: #ffffff;
  box-shadow: 0 16px 44px rgba(11, 49, 67, 0.08);
}

.service-module-featured {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(155deg, #00a6c9, #0069b5);
}

.service-module-featured .service-step,
.service-module-featured .theme-label,
.service-module-featured > p,
.service-module-featured > a {
  color: #ffffff !important;
}

.service-module-featured .module-output {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
}

.service-module-featured .module-output span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

.module-output {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 24px 0 0;
  padding: 14px;
  border: 1px solid #e0ebef;
  border-radius: 14px;
  background: #f8fbfc;
}

.module-output strong {
  width: 100%;
  margin-bottom: 4px;
  font-size: 0.76rem;
}

.service-module > a {
  margin-top: auto;
  padding-top: 22px;
}

.six-step-flow {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.six-step-flow article {
  padding: 20px;
}

.six-step-flow h3 {
  font-size: 1rem;
}

.six-step-flow p {
  font-size: 0.82rem;
}

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

.responsibility-grid article {
  padding: 26px;
  border: 1px solid #d8e5ea;
  border-radius: 20px;
  background: #ffffff;
}

.responsibility-airadmin {
  border-top: 4px solid #009ad2 !important;
  box-shadow: 0 16px 44px rgba(11, 49, 67, 0.08);
}

.responsibility-grid h3 {
  margin: 0 0 18px;
  font-size: 1.5rem;
}

.responsibility-grid ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 1.25em;
  color: #667d88;
}

.compact-dark-cta {
  padding: 56px 0;
}

.contact-panel-dark {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  align-items: center;
}

.contact-panel-dark h2 {
  max-width: 800px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.contact-panel-dark p:not(.eyebrow) {
  color: #c6dbe4;
}

.light-button {
  flex: 0 0 auto;
  color: #0b3143;
  background: #ffffff;
}

@media (max-width: 980px) {
  .hub-hero-grid {
    grid-template-columns: 1fr;
  }

  .theme-grid,
  .service-module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logic-flow,
  .six-step-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logic-flow article::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .hub-hero {
    padding: 42px 0 44px;
  }

  .hub-hero h1 {
    font-size: clamp(2.45rem, 11vw, 3.5rem);
  }

  .hub-side-note {
    padding: 22px;
  }

  .theme-grid,
  .service-module-grid,
  .logic-flow,
  .six-step-flow,
  .responsibility-grid {
    grid-template-columns: 1fr;
  }

  .theme-card,
  .theme-card-featured,
  .service-module {
    min-height: auto;
  }

  .contact-panel-dark {
    align-items: stretch;
    flex-direction: column;
  }
}