/* ========================================
   Base Styles
   ======================================== */
:root {
  --color-navy: #00395b;
  --color-primary: #007fc8;
  --color-white: #ffffff;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --font-sans: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-navy);
  background: linear-gradient(180deg, var(--color-gray-50) 0%, var(--color-white) 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ========================================
   Header
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 2px 10px rgba(0, 57, 91, 0.1);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.logo-img {
  height: 24px;
  width: auto;
}

/* ヘッダーロゴのサイズ調整 */
.logo .logo-img {
  height: 18px; /* お好みの値に変更 */
}

/* フッターロゴのサイズ調整 */
.footer-logo .logo-img {
  height: 13px; /* お好みの値に変更 */
}

.logo-presents {
  font-size: 0.75rem;
  color: var(--color-gray-500);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  left: 0;
  transition: transform 0.3s ease;
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  top: 7px;
}

.mobile-menu-btn.active .hamburger {
  background: transparent;
}

.mobile-menu-btn.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.mobile-menu-btn.active .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-600);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--color-primary);
}

.nav-link.active {
  color: var(--color-primary);
  font-weight: 700;
}

.nav-login {
  padding: 0.5rem 1.25rem;
  background: var(--color-primary);
  color: var(--color-white) !important;
  border-radius: 9999px;
  transition: background 0.2s ease;
}

.nav-login:hover {
  background: var(--color-navy);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  padding: 10rem 1.5rem 6rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 30% 40%, rgba(0, 127, 200, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 70% 60%, rgba(0, 57, 91, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
}

.hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--color-gray-600);
}

.hero-illustration {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}


.illustration-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;  /* 16:9なので少し幅を広げる */
    aspect-ratio: 16 / 9;  /* 16:9のアスペクト比を強制 */
}


.hero-image {
    width: 100%;
    height: 100%;  /* auto → 100% に変更 */
    display: block;
    object-fit: cover;  /* 画像がコンテナに収まるように */
}

/* ========================================
   Message Section
   ======================================== */
.message {
  padding: 6rem 1.5rem;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 127, 200, 0.03) 50%, transparent 100%);
}

.message-container {
  max-width: 768px;
  margin: 0 auto;
  display: flex;
  gap: 3rem;
}

.message-label {
  flex: 0 0 auto;
  writing-mode: vertical-rl;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--color-primary);
}

.message-content {
  flex: 1;
}

.message-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.message-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.message-text {
  font-size: 1rem;
  color: var(--color-gray-600);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.message-author {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-navy);
  text-align: right;
}

/* ========================================
   Mission Vision Values
   ======================================== */
.mvv {
  padding: 6rem 1.5rem;
}

.mvv-container {
  max-width: 1200px;
  margin: 0 auto;
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* カードをposition: relativeに変更し、装飾円のスタイルを追加 */
.mvv-card {
  position: relative;
  background: var(--color-white);
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 57, 91, 0.06);
  text-align: center;
  overflow: visible;
}

/* 左下の装飾円 (-bottom-4 -left-4) */
.mvv-decoration-bottom {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(0, 127, 200, 0.1);
  pointer-events: none;
  z-index: -1;
}

/* 右上の装飾円 (-top-4 -right-4) 破線ボーダー */
.mvv-decoration-top {
  position: absolute;
  top: -1rem;
  right: -1rem;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  border: 2px dashed rgba(0, 127, 200, 0.3);
  pointer-events: none;
  z-index: -1;
}

/* アイコン領域を修正：グラデーション背景 + 白いSVGアイコン */
.mvv-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-navy) 100%);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}

.mvv-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.mvv-card-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.mvv-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.mvv-card-text {
  font-size: 0.875rem;
  color: var(--color-gray-600);
  line-height: 1.7;
}

/* ========================================
   Company Overview
   ======================================== */
.overview {
  padding: 6rem 1.5rem;
  background: linear-gradient(180deg, transparent 0%, var(--color-gray-50) 100%);
}

.overview-container {
  max-width: 900px;
  margin: 0 auto;
}

.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-navy);
  text-align: center;
  margin-bottom: 3rem;
}

.overview-table {
  background: var(--color-white);
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 57, 91, 0.06);
  overflow: hidden;
}

.overview-row {
  display: flex;
  border-bottom: 1px solid var(--color-gray-100);
}

.overview-row:last-child {
  border-bottom: none;
}

.overview-label {
  flex: 0 0 200px;
  padding: 1.25rem 1.5rem;
  background: var(--color-gray-50);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-navy);
}

.overview-value {
  flex: 1;
  padding: 1.25rem 1.5rem;
  font-size: 0.875rem;
  color: var(--color-gray-600);
}

/* ========================================
   Team Section
   ======================================== */
.team {
  padding: 6rem 1.5rem;
}

.team-container {
  max-width: 1200px;
  margin: 0 auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-card {
  background: var(--color-white);
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 57, 91, 0.06);
  text-align: center;
}

.team-avatar {
  width: 5rem;
  height: 5rem;
  background: linear-gradient(135deg, var(--color-gray-200) 0%, var(--color-gray-300) 100%);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
}

.team-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.team-role {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-primary);
  background: rgba(0, 127, 200, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.team-comment {
  font-size: 0.875rem;
  color: var(--color-gray-600);
  line-height: 1.6;
}

/* ========================================
   Timeline Section
   ======================================== */
.timeline {
  padding: 6rem 1.5rem;
  background: linear-gradient(180deg, var(--color-gray-50) 0%, transparent 100%);
}

.timeline-container {
  max-width: 800px;
  margin: 0 auto;
}

.timeline-list {
  position: relative;
  padding-left: 120px;
}

.timeline-list::before {
  content: "";
  position: absolute;
  left: 100px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--color-primary) 0%, rgba(0, 127, 200, 0.3) 100%);
}

.timeline-item {
  position: relative;
  padding-bottom: 3rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-year {
  position: absolute;
  left: -120px;
  width: 80px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  text-align: right;
}

.timeline-dot {
  position: absolute;
  left: -24px;
  top: 4px;
  width: 12px;
  height: 12px;
  background: var(--color-primary);
  border-radius: 50%;
  border: 3px solid var(--color-white);
  box-shadow: 0 0 0 2px var(--color-primary);
}

.timeline-content {
  padding-left: 1.5rem;
}

.timeline-event-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.timeline-event-text {
  font-size: 0.875rem;
  color: var(--color-gray-600);
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
  padding: 5rem 1.5rem;
  background: var(--color-navy);
}

.cta-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.cta-content {
  flex: 1;
}

.cta-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.cta-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.cta-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cta-btn {
    display: inline-block;
    padding: 15px 40px;
    background: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 9999px;
    font-weight: 500;
    transition: background 0.3s;
}

.cta-btn:hover {
    background: #007fc8;
}

/* グレーアウト状態のボタン */
.cta-btn.disabled {
    display: inline-block;  /* spanタグでもブロック要素として表示 */
    background: #999;
    color: #ccc;
    pointer-events: none;
    cursor: not-allowed;
    opacity: 0.6;
}

.cta-btn.disabled:hover {
    background: #999;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  padding: 4rem 1.5rem 2rem;
  background: var(--color-gray-50);
  border-top: 1px solid var(--color-gray-200);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-top {
  margin-bottom: 2rem;
}

.footer-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--color-gray-600);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--color-primary);
}

.footer-copyright {
  font-size: 0.75rem;
  color: var(--color-gray-500);
}

/* ========================================
   Responsive Styles
   ======================================== */
@media (max-width: 1024px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-illustration {
    flex: 0 0 auto;
  }

  .mvv-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .cta-container {
    flex-direction: column;
    text-align: center;
  }

  .cta-buttons {
    flex-direction: row;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 57, 91, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    gap: 1.5rem;
  }

  .hero {
    padding: 8rem 1.5rem 4rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-illustration {
    display: none;
  }

  .message-container {
    flex-direction: column;
    gap: 1.5rem;
  }

  .message-label {
    writing-mode: horizontal-tb;
  }

  .message-title {
    font-size: 1.5rem;
  }

  .overview-row {
    flex-direction: column;
  }

  .overview-label {
    flex: 0 0 auto;
  }

  .timeline-list {
    padding-left: 2rem;
  }

  .timeline-list::before {
    left: 0;
  }

  .timeline-year {
    position: static;
    width: auto;
    text-align: left;
    margin-bottom: 0.5rem;
  }

  .timeline-dot {
    left: -8px;
    top: 40px;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-btn {
    width: 100%;
  }

  .footer-nav {
    flex-direction: column;
    gap: 1rem;
  }
}

.hero-decoration-bottom {
    position: absolute;
    bottom: -1rem;
    left: -1rem;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: rgba(0, 127, 200, 0.1);
}

.hero-decoration-top {
    position: absolute;
    top: -1rem;
    right: -1rem;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    border: 2px dashed rgba(0, 127, 200, 0.3);
}

.hero-decoration-top {
    position: absolute;
    top: -1rem;
    right: -1rem;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    border: 2px dashed rgba(0, 127, 200, 0.3);
}

/* ========================================
   Terms Page Styles
   ======================================== */

/* Hero Section for Terms Page */
.hero-terms {
  padding-bottom: 4rem;
}

.hero-terms .hero-container {
  align-items: center;
}

.hero-terms .illustration-wrapper {
  aspect-ratio: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.terms-icon-wrapper {
  width: 160px;
  height: 160px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-navy) 100%);
  border-radius: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  box-shadow: 0 10px 40px rgba(0, 127, 200, 0.3);
}

/* Terms Content Section */
.terms-content {
  padding: 4rem 1.5rem 6rem;
  background: linear-gradient(180deg, transparent 0%, var(--color-gray-50) 50%, transparent 100%);
}

.terms-container {
  max-width: 900px;
  margin: 0 auto;
}

.terms-meta {
  margin-bottom: 3rem;
  text-align: right;
}

.terms-update-date {
  display: inline-block;
  font-size: 0.875rem;
  color: var(--color-gray-500);
  padding: 0.5rem 1rem;
  background: var(--color-white);
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(0, 57, 91, 0.06);
}

/* Article Styles */
.terms-article {
  background: var(--color-white);
  border-radius: 1rem;
  padding: 2rem 2.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 57, 91, 0.06);
  transition: box-shadow 0.3s ease;
}

.terms-article:hover {
  box-shadow: 0 6px 30px rgba(0, 57, 91, 0.1);
}

.terms-article:last-of-type {
  margin-bottom: 3rem;
}

.terms-article-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--color-gray-100);
}

.terms-article-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-navy) 100%);
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
}

.terms-article-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
}

.terms-article-body {
  color: var(--color-gray-600);
  line-height: 1.8;
}

.terms-article-body p {
  font-size: 0.9375rem;
}

/* Ordered List Styles */
.terms-list {
  list-style: none;
  counter-reset: terms-counter;
  padding: 0;
  margin: 0;
}

.terms-list li {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  counter-increment: terms-counter;
}

.terms-list li:last-child {
  margin-bottom: 0;
}

.terms-list li::before {
  content: counter(terms-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.75rem;
  height: 1.75rem;
  background: rgba(0, 127, 200, 0.1);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Section Title for Terms/Privacy */
.terms-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-navy);
  text-align: center;
  margin: 3rem 0 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--color-gray-200);
}

.terms-section-title:first-of-type {
  margin-top: 0;
}

.terms-section-subtitle {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-500);
  margin-top: 0.5rem;
}

/* Sublist Styles */
.terms-sublist {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0 0;
}

.terms-sublist li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-gray-600);
}

.terms-sublist li:last-child {
  margin-bottom: 0;
}

.terms-sublist li::before {
  content: "•";
  position: absolute;
  left: 0.5rem;
  top: 0;
  color: var(--color-primary);
  font-weight: bold;
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  display: inline;
}

/* Back to Top Button */
.terms-back-to-top {
  text-align: center;
  margin-top: 2rem;
}


.back-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-500);
  padding: 0.75rem 1.5rem;
  background: var(--color-white);
  border-radius: 9999px;
  box-shadow: 0 2px 10px rgba(0, 57, 91, 0.08);
  transition: all 0.2s ease;
}

.back-to-top-btn:hover {
  color: var(--color-primary);
  box-shadow: 0 4px 15px rgba(0, 57, 91, 0.12);
  transform: translateY(-2px);
}

.back-to-top-btn svg {
  transition: transform 0.2s ease;
}

.back-to-top-btn:hover svg {
  transform: translateY(-2px);
}

/* Footer Active Link */
.footer-link.active {
  color: var(--color-primary);
  font-weight: 500;
}

/* Terms Page Responsive */
@media (max-width: 768px) {
  .hero-terms {
    padding: 8rem 1.5rem 3rem;
  }

  .terms-icon-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 1.5rem;
  }

  .terms-icon-wrapper svg {
    width: 60px;
    height: 60px;
  }

  .terms-content {
    padding: 2rem 1rem 4rem;
  }

  .terms-article {
    padding: 1.5rem;
    border-radius: 0.75rem;
  }

  .terms-article-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .terms-article-name {
    font-size: 1.125rem;
  }

  .terms-list li {
    padding-left: 2.25rem;
  }

  .terms-list li::before {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.6875rem;
  }

  .terms-meta {
    text-align: center;
    margin-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  .terms-article {
    padding: 1.25rem;
  }

  .terms-article-body p,
  .terms-list li {
    font-size: 0.875rem;
  }
}