/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   日産SGW 通信障害 復旧のお知らせ
   2026年11月25日
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.gscan-sgw-recovery {
  width: 100%;
  margin: 0 auto;
  color: #333;
  font-size: 15px;
  line-height: 1.9;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ファーストビュー
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.gscan-sgw-recovery__header {
  padding: 56px 32px;
  border-top: 4px solid #23815a;
  background: #f3f5f8;
}

.gscan-sgw-recovery__header-inner {
  max-width: 960px;
  margin: 0 auto;
}

.gscan-sgw-recovery__label {
  display: inline-block;
  margin-bottom: 18px;
  padding: 5px 14px;
  border: 1px solid #23815a;
  border-radius: 3px;
  color: #216e4f;
  background: #f0faf4;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.gscan-sgw-recovery__title {
  margin: 0;
  padding: 0;
  border: 0;
  color: #202b3a;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.gscan-sgw-recovery__lead {
  margin: 20px 0 0;
  color: #526071;
  font-size: 16px;
  line-height: 1.8;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   本文
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.gscan-sgw-recovery__body {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 32px 64px;
}

.gscan-sgw-recovery__body p {
  margin: 0 0 20px;
}

.gscan-sgw-recovery__greeting {
  margin-bottom: 28px !important;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   セクション
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.gscan-sgw-recovery__section {
  margin-top: 44px;
}

.gscan-sgw-recovery__section-title {
  margin: 0 0 20px;
  padding: 0 0 12px 14px;
  border: 0;
  border-bottom: 1px solid #dce2e8;
  border-left: 4px solid #294d78;
  color: #243b55;
  background: transparent;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   復旧状況
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.gscan-sgw-recovery__status {
  overflow: hidden;
  border: 1px solid #c8dfd1;
  border-radius: 5px;
  background: #fff;
}

.gscan-sgw-recovery__status-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid #c8dfd1;
  background: #edf7f0;
}

.gscan-sgw-recovery__status-indicator {
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #23815a;
}

.gscan-sgw-recovery__status-label {
  color: #216e4f;
  font-size: 15px;
  font-weight: 700;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   復旧詳細
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.gscan-sgw-recovery__details {
  margin: 0;
  padding: 8px 20px;
}

.gscan-sgw-recovery__details-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  padding: 14px 0;
}

.gscan-sgw-recovery__details-row +
.gscan-sgw-recovery__details-row {
  border-top: 1px solid #edf0f3;
}

.gscan-sgw-recovery__details dt {
  margin: 0;
  color: #536273;
  font-weight: 700;
}

.gscan-sgw-recovery__details dd {
  min-width: 0;
  margin: 0;
  color: #303b48;
  overflow-wrap: anywhere;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   過去のお知らせ
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.gscan-sgw-recovery__history {
  padding: 24px;
  border: 1px solid #dce2e8;
  border-radius: 5px;
  background: #f8fafc;
}

.gscan-sgw-recovery__history p {
  margin: 0 0 20px;
}

.gscan-sgw-recovery__history-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  border: 1px solid #cbd7e4;
  border-radius: 4px;
  color: #294d78;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.gscan-sgw-recovery__history-link:hover {
  border-color: #294d78;
  color: #1e3b5e;
  background: #f0f5fa;
  text-decoration: none;
}

.gscan-sgw-recovery__history-link:focus-visible {
  outline: 3px solid #294d78;
  outline-offset: 3px;
}

.gscan-sgw-recovery__history-link-text {
  min-width: 0;
}

.gscan-sgw-recovery__history-link-arrow {
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease;
}

.gscan-sgw-recovery__history-link:hover
.gscan-sgw-recovery__history-link-arrow {
  transform: translateX(4px);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   レスポンシブ
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

@media screen and (max-width: 767px) {
  .gscan-sgw-recovery {
    font-size: 14px;
  }

  .gscan-sgw-recovery__header {
    padding: 36px 20px;
  }

  .gscan-sgw-recovery__label {
    margin-bottom: 14px;
  }

  .gscan-sgw-recovery__title {
    font-size: 24px;
  }

  .gscan-sgw-recovery__lead {
    margin-top: 16px;
    font-size: 14px;
  }

  .gscan-sgw-recovery__body {
    padding: 32px 20px 48px;
  }

  .gscan-sgw-recovery__section {
    margin-top: 36px;
  }

  .gscan-sgw-recovery__section-title {
    font-size: 17px;
  }

  .gscan-sgw-recovery__details {
    padding: 4px 16px;
  }

  .gscan-sgw-recovery__details-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 0;
  }

  .gscan-sgw-recovery__status-heading {
    padding: 12px 16px;
  }

  .gscan-sgw-recovery__history {
    padding: 16px;
  }

  .gscan-sgw-recovery__history-link {
    gap: 12px;
    padding: 14px 16px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gscan-sgw-recovery__history-link,
  .gscan-sgw-recovery__history-link-arrow {
    transition: none;
  }
}