:root {
  --terms-bg: #f5f6ff;
  --terms-card: #ffffff;
  --terms-shadow: 0 25px 80px rgba(51, 96, 253, 0.12);
  --terms-hero-extension: 360px;
}

body {
  font-family: "Inter", "Noto Sans JP", sans-serif;
  background-color: #fff;
  color: #000;
}

.pc {
  background-color: #fff !important;
  background-image: none !important;
}

.pc-inner {
  height: auto !important;
  min-height: 84px;
  padding: 0 var(--padding-26);
  background-color: #e7e9ff;
  background-image: radial-gradient(rgba(255, 255, 255, 0.8) 2px, transparent 2px);
  background-size: 32px 32px;
  background-repeat: repeat;
  width: 100%;
  box-sizing: border-box;
}

.terms-page {
  padding-bottom: 120px;
  width: 100%;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.terms-hero {
  text-align: center;
  padding: 140px 20px 110px;
  position: relative;
  overflow: visible;
  width: 100%;
  max-width: 1440px;
  z-index: 0;
  box-sizing: border-box;
}

.terms-hero::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(-1 * var(--terms-hero-extension));
  width: 100vw;
  max-width: none;
  height: calc(100% + var(--terms-hero-extension));
  background-color: #e7e9ff;
  background-image: radial-gradient(rgba(255, 255, 255, 0.8) 2px, transparent 2px);
  background-size: 32px 32px;
  background-repeat: repeat;
  z-index: -1;
}

.terms-hero__heading {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.terms-hero__heading::after {
  content: attr(data-hero-en);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 700;
  font-size: clamp(120px, 20vw, 220px);
  letter-spacing: 0.4rem;
  color: rgba(255, 255, 255, 0.85);
  z-index: 0;
  pointer-events: none;
  text-transform: uppercase;
}

.terms-hero__label {
  display: inline-flex;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.05em;
  color: var(--blue);
  position: relative;
  z-index: 1;
}

.terms-hero__title {
  margin: 0;
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: 0.05em;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.terms-section {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.terms-intro {
  margin-top: 60px;
}

.terms-intro p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.05em;
  text-align: center;
}

.terms-articles {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.terms-article {
  background-color: transparent;
  padding: 0;
  box-shadow: none;
  border: none;
  border-radius: 0;
}

.terms-article__heading {
  display: flex;
  width: 100%;
  padding: 12px 24px;
  border-radius: 12px;
  background-color: var(--blue);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  box-sizing: border-box;
}

.terms-article ol {
  margin: 0;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.terms-tables {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.terms-table-card {
  background-color: transparent;
  padding: 0;
  box-shadow: none;
  border: none;
  border-radius: 0;
}

.terms-table-card--primary,
.terms-table-card--subtle,
.terms-table-card--accent {
  background: #ffffff;
}

.terms-table-card--minimal {
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(48, 48, 48, 0.08);
}

.terms-table-card__scroll {
  overflow-x: auto;
  width: 100%;
  max-width: 100%;
  display: block;
}

.terms-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 16px;
  letter-spacing: 0.04em;
}

.terms-table th,
.terms-table td {
  text-align: center;
  padding: 18px 12px;
  min-width: 120px;
}

.terms-table th {
  font-weight: 600;
  font-size: 18px;
}

.terms-table td span {
  display: block;
  line-height: 1.4;
}

.terms-table--lined thead th {
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
}

.terms-table--lined tbody tr:not(:last-child) td {
  border-bottom: 1px solid #e4e4e4;
}

.terms-table--primary thead th {
  background-color: var(--blue);
  color: #fff;
  border-right: 2px solid rgba(255, 255, 255, 0.6);
}

.terms-table--primary thead th:first-child {
  border-top-left-radius: 12px;
  border-bottom-left-radius: 0;
}

.terms-table--primary thead th:last-child {
  border-right: 0;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 0;
}

.terms-table--primary tbody td {
  background-color: #f1f3ff;
}

.terms-table--primary tbody tr:nth-child(even) td {
  background-color: #e6e9ff;
}

.terms-table--primary tbody tr:last-child td:first-child {
  border-bottom-left-radius: 12px;
}

.terms-table--primary tbody tr:last-child td:last-child {
  border-bottom-right-radius: 12px;
}

.terms-table--subtle thead th {
  background-color: #ffffff;
  border-bottom: 2px solid #d7dcff;
}

.terms-table--subtle tbody td {
  border-bottom: 1px solid #ebefff;
}

.terms-table--accent thead th {
  background-color: #3360fd;
  color: #fff;
}

.terms-table--accent tbody td {
  background-color: #f3f6ff;
  border-bottom: 2px solid #ffffff;
}

.terms-table--minimal thead th {
  background-color: #ffffff;
  border-bottom: 1px solid #dcdcdc;
}

.terms-table--minimal tbody td {
  border-bottom: 1px solid #ededed;
}

.terms-heading-playground {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.terms-heading-playground p {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: #303030;
}

h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: "Inter", "Noto Sans JP", sans-serif;
  letter-spacing: 0.08em;
  font-weight: 700;
}

h3 {
  font-size: 28px;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 14px;
}

h3::before {
  content: "";
  width: 60px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #3360fd 0%, #5987ff 100%);
}

h4 {
  font-size: 22px;
  color: #1f1f1f;
  text-transform: uppercase;
  padding-bottom: 8px;
  border-bottom: 3px solid rgba(51, 96, 253, 0.3);
}

h5 {
  font-size: 18px;
  color: #333;
  padding: 10px 20px;
  border-left: 4px solid #3360fd;
  background: #f5f6ff;
  border-radius: 8px;
}

h6 {
  font-size: 14px;
  color: #3360fd;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.faq-intro {
  margin-top: 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.faq-intro p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

.faq-intro__contact {
  display: inline-block;
  font-weight: 600;
  font-size: 15px;
  color: #1f1f1f;
}

.faq-intro__contact a {
  color: var(--blue);
}

.faq-section {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.faq-category {
  background: var(--terms-card);
  border-radius: 32px;
  padding: 48px 40px;
  box-shadow: var(--terms-shadow);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.faq-category__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-category__eyebrow {
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--blue);
  text-transform: uppercase;
}

.faq-category__title {
  font-size: clamp(24px, 4vw, 32px);
  margin: 0;
  color: #111;
}

.faq-category__description {
  margin: 0;
  font-size: 15px;
  color: #4a4a4a;
  line-height: 1.6;
}

.faq-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.faq-item {
  border: 1px solid rgba(51, 96, 253, 0.15);
  border-radius: 24px;
  padding: 24px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #4a4a4a;
}

.faq-item__badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.faq-item__question {
  font-size: 18px;
  font-weight: 700;
  color: #101010;
}

.faq-item__answer {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
}

.faq-item__list {
  margin: 0;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

.faq-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #5f6470;
}

.faq-meta__tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: #edf0ff;
  color: var(--blue);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.05em;
}

.faq-cta {
  margin-top: 100px;
  width: 100%;
  max-width: 1080px;
  background: linear-gradient(135deg, #3360fd, #6f8fff);
  border-radius: 32px;
  padding: 48px;
  box-sizing: border-box;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.faq-cta__title {
  margin: 0;
  font-size: clamp(26px, 5vw, 34px);
}

.faq-cta__body {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

.faq-cta .frame-button {
  background: #fff;
  color: var(--blue);
  border-radius: 999px;
  padding: 12px 28px;
  font-weight: 700;
}

.features-hero__lead {
  margin: 32px auto 0;
  max-width: 760px;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: #101227;
}

.features-intro {
  margin-top: 48px;
  text-align: center;
}

.features-intro p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: #1c1c1c;
}

.feature-section {
  margin-top: 96px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.feature-section:first-of-type {
  margin-top: 72px;
}

.feature-section__header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-section__eyebrow {
  font-size: 14px;
  letter-spacing: 0.2em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0;
}

.feature-section__title {
  font-size: clamp(28px, 3.2vw, 38px);
  letter-spacing: 0.05em;
  margin: 0;
}

.feature-section__text {
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  margin: 0;
  color: #1f1f1f;
}

.feature-list__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.feature-card {
  background-color: var(--terms-card);
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--terms-shadow);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.feature-card__media {
  background: var(--terms-bg);
  border-radius: 20px;
  padding: 20px;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card__media img {
  max-width: 100%;
  max-height: 160px;
  height: auto;
  object-fit: contain;
}

.feature-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-card__tag {
  font-size: 13px;
  letter-spacing: 0.15em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0;
}

.feature-card__title {
  font-size: 22px;
  letter-spacing: 0.04em;
  margin: 0;
}

.feature-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #2b2b2b;
}

.feature-card__bullets {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: #3a3a3a;
}

@media (max-width: 768px) {
  .features-hero__lead {
    font-size: 15px;
    line-height: 1.7;
  }

  .feature-card {
    padding: 28px 24px;
    border-radius: 24px;
  }

  .feature-card__media {
    min-height: 160px;
  }

  .feature-card__title {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .terms-hero {
    padding: 100px 16px 90px;
  }

  .terms-section {
    padding: 0 16px;
  }

  .terms-table th,
  .terms-table td {
    min-width: auto;
    padding: 12px 8px;
    font-size: 14px;
  }

  .terms-table th {
    font-size: 16px;
  }

  .faq-category {
    padding: 32px 24px;
  }

  .faq-items {
    grid-template-columns: 1fr;
  }

  .faq-cta {
    padding: 36px 24px;
    margin: 60px auto 0;
    width: calc(100% - 32px);
  }

  .faq-item {
    padding: 20px;
    gap: 16px;
  }
}

@media (max-width: 750px) {
  .pc-inner {
    padding: 0 !important;
  }
}
