/* demo.sissue-ignite.com ハブ一覧 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #2a3340;
  background: #fafafa;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a:focus-visible, button:focus-visible { outline: 2px solid #ff5a1f; outline-offset: 3px; }
.container { width: min(1100px, 92vw); margin-inline: auto; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hub-header {
  padding: 20px 0;
  border-bottom: 1px solid #ececec;
  background: #fff;
}
.hub-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hub-logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: #111;
  text-decoration: none;
  letter-spacing: 0.04em;
}
.hub-logo span { color: #ff5a1f; }
.hub-back {
  font-size: 0.88rem;
  color: #555;
  text-decoration: none;
}
.hub-back:hover { color: #111; }

.hub-hero {
  padding: clamp(48px, 8vw, 88px) 0 clamp(32px, 5vw, 48px);
  text-align: center;
}
.hub-hero__kicker {
  margin: 0 0 10px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff5a1f;
  font-weight: 600;
}
.hub-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  line-height: 1.35;
  color: #111;
}
.hub-hero__br { display: none; }
.hub-hero__lead {
  margin: 0 auto;
  max-width: 680px;
  color: #555;
}
.hub-hero__note {
  margin: 12px auto 0;
  max-width: 640px;
  font-size: 0.82rem;
  color: #888;
}
.hub-hero__actions {
  margin-top: 28px;
}
.hub-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 280px);
  padding: 14px 28px;
  border-radius: 8px;
  background: #ff5a1f;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s ease;
}
.hub-hero__cta:hover {
  background: #e04e18;
  color: #fff;
  text-decoration: none;
}

.hub-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(20px, 2.8vw, 30px);
}
.hub-grid__item { min-width: 0; }
.hub-grid__item:nth-child(1),
.hub-grid__item:nth-child(2) { grid-column: span 3; }
.hub-grid__item:nth-child(n + 3) { grid-column: span 2; }

.hub-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease;
}
.hub-card:hover { transform: translateY(-3px); }
.hub-card__media {
  aspect-ratio: 16 / 10;
  flex-shrink: 0;
  background: #eef1f5;
  overflow: hidden;
  border-bottom: 1px solid #ececec;
}
.hub-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.hub-card--corporate .hub-card__media { background: linear-gradient(165deg, #f8f9fb, #e7ecf3); }
.hub-card--service .hub-card__media { background: linear-gradient(165deg, #eef6ff, #dbe9ff); }
.hub-card--shop .hub-card__media { background: linear-gradient(165deg, #fff4ed, #f7e6da); }
.hub-card--recruit .hub-card__media { background: linear-gradient(165deg, #1a1a1a, #333); }
.hub-card--ec .hub-card__media { background: linear-gradient(165deg, #f4f2ee, #e8e4dc); }

.hub-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 18px 20px;
  min-height: 0;
}
.hub-card__num {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ff5a1f;
  letter-spacing: 0.12em;
}
.hub-card__title {
  margin: 0;
  font-size: clamp(1.05rem, 1.8vw, 1.18rem);
  line-height: 1.42;
  color: #111;
}
.hub-card__desc {
  margin: 10px 0 0;
  font-size: 0.9rem;
  color: #555;
}
.hub-card__tags,
.hub-card__points {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hub-card__tags li {
  padding: 5px 10px;
  border: 1px solid #e8e8e8;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #444;
  background: #fafbfd;
}
.hub-card__points li {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #ff5a1f;
  background: #fff4ef;
  border: 1px solid #ffd9c7;
}
.hub-card__actions {
  margin-top: auto;
  padding-top: 16px;
}
.hub-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
  color: #111;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
}
.hub-btn:hover {
  background: #111;
  color: #fff;
  border-color: #111;
  text-decoration: none;
}

.hub-compare {
  padding: clamp(48px, 6vw, 72px) 0 clamp(40px, 5vw, 56px);
  border-top: 1px solid #ececec;
}
.hub-compare__title {
  margin: 0 0 10px;
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  color: #111;
  text-align: center;
}
.hub-compare__lead {
  margin: 0 auto 32px;
  max-width: 560px;
  text-align: center;
  font-size: 0.92rem;
  color: #666;
}
.hub-compare__table-wrap {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  background: #fff;
}
.hub-compare__table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.hub-compare__table th,
.hub-compare__table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #ececec;
  vertical-align: top;
}
.hub-compare__table thead th {
  background: #f6f7f9;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}
.hub-compare__table tbody th {
  font-weight: 600;
  color: #111;
  background: #fafbfd;
  white-space: nowrap;
}
.hub-compare__table tbody tr:last-child th,
.hub-compare__table tbody tr:last-child td {
  border-bottom: none;
}
.hub-compare__cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  gap: 16px;
}
.hub-compare-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 18px;
}
.hub-compare-card__name {
  margin: 0 0 12px;
  font-size: 1rem;
  color: #111;
}
.hub-compare-card dl {
  margin: 0;
  display: grid;
  gap: 10px;
}
.hub-compare-card dl > div {
  display: grid;
  grid-template-columns: 7.5em 1fr;
  gap: 8px;
  align-items: start;
}
.hub-compare-card dt {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: #888;
}
.hub-compare-card dd {
  margin: 0;
  font-size: 0.88rem;
  color: #333;
}

.hub-contact {
  margin-bottom: clamp(64px, 8vw, 96px);
  padding: clamp(40px, 5vw, 56px) clamp(24px, 4vw, 48px);
  text-align: center;
  background: #111;
  color: #fff;
  border-radius: 16px;
}
.hub-contact__title {
  margin: 0 0 12px;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  line-height: 1.45;
  color: #fff;
}
.hub-contact__lead {
  margin: 0 auto 24px;
  max-width: 520px;
  font-size: 0.92rem;
  color: #ccc;
}
.hub-contact__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 300px);
  padding: 14px 28px;
  border-radius: 8px;
  background: #ff5a1f;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s ease;
}
.hub-contact__cta:hover {
  background: #e04e18;
  color: #fff;
  text-decoration: none;
}

.hub-footer {
  padding: 32px 0;
  border-top: 1px solid #ececec;
  text-align: center;
  font-size: 0.82rem;
  color: #888;
  background: #fff;
}
.hub-footer a { color: #666; }
.hub-footer__demo { font-size: 0.72rem; margin-top: 10px; opacity: 0.85; }

@media (min-width: 520px) {
  .hub-hero__br { display: inline; }
}

@media (max-width: 1024px) {
  .hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .hub-grid__item:nth-child(1),
  .hub-grid__item:nth-child(2),
  .hub-grid__item:nth-child(n + 3) { grid-column: span 1; }
  .hub-grid__item:nth-child(5):last-child {
    grid-column: 1 / -1;
    width: min(100%, calc(50% - 12px));
    justify-self: center;
  }
}

@media (max-width: 767px) {
  .hub-grid { grid-template-columns: 1fr; gap: 20px; }
  .hub-compare__table-wrap { display: none; }
  .hub-compare__cards { display: grid; }
}

@media (max-width: 389px) {
  .hub-compare-card dl > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
