:root {
  --c-ink: #1f2328;
  --c-title: #1d2f48;
  --c-body: #334155;
  --c-muted: #6b7280;
  --c-line: #ececf2;
  --c-accent: #bc0073;
  --c-accent-soft: #fff2f7;
  --c-accent-line: #f3bfd3;
  --c-bg: #ffffff;

  --container: 1100px;
  --header-h: 64px;

  --radius-lg: 18px;
  --shadow-soft: 0 10px 30px rgba(31, 35, 40, .08);
}

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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.6;
  font-family:
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

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

/* =========================================================
   ﾃ･ﾂ�ｱﾃｩﾂﾂ堙｣ﾂつｳﾃ｣ﾂδｳﾃ｣ﾂδ�｣ﾂδ�
========================================================= */
.l-container {
  width: min(var(--container), calc(100% - 64px));
  margin-inline: auto;
}

.page {
  min-height: calc(100vh - var(--header-h));
}

/* =========================================================
   Header
========================================================= */
.site-header {
  position: static;
  z-index: auto;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid var(--c-line);
}

.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
}

.site-header__logo {
  height: 28px;
  width: auto;
  display: block;
  max-width: 100%;
}

/* =========================================================
   Top Hero
========================================================= */
.hero {
  position: relative;
  padding: 84px 0 92px;
  overflow: hidden;
  border-bottom: 1px solid var(--c-line);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(720px 420px at 24% 62%, rgba(255, 94, 170, .35), transparent 65%),
    radial-gradient(800px 520px at 78% 36%, rgba(123, 97, 255, .28), transparent 65%),
    linear-gradient(90deg, #fde7ee 0%, #efeaff 55%, #f2f7ff 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding-left: 120px;
}

.hero__eyebrow {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-accent);
  font-weight: 600;
}

.hero__title {
  margin: 0;
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.02em;
}

.hero__lead {
  margin: 20px 0 0;
  max-width: 520px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-muted);
}

/* =========================================================
   Top Topics
========================================================= */
.topics {
  padding: 72px 0 96px;
}

.topics__kicker {
  margin: 0 0 28px;
  font-size: 12px;
  letter-spacing: .16em;
  color: #5f6673;
  font-weight: 600;
}

.topics__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.topic-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: start;

  padding: 26px 24px;
  background: #fff;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease,
    background-color .18s ease;
}

.topic-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  border-color: var(--c-accent-line);
  background-color: var(--c-accent-soft);
}

.topic-card:hover .topic-card__icon {
  background: rgba(188, 0, 115, .18);
}

.topic-card:hover .topic-card__title,
.topic-card:hover .topic-card__chevron {
  color: #bc0073;
}

.topic-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(188, 0, 115, .10);
}

.topic-card__icon-img {
  width: 18px;
  height: 18px;
  display: block;
}

.topic-card__body {
  min-width: 0;
}

.topic-card__title {
  margin: 2px 0 10px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -.01em;
}

.topic-card__text {
  margin: 0;
  color: var(--c-muted);
  font-size: 13px;
  line-height: 1.75;
}

.topic-card__chevron {
  margin-top: 4px;
  font-size: 22px;
  line-height: 1;
  color: #8a93a3;
}

/* =========================================================
   ﾃ･ﾂ�ｱﾃｩﾂﾂ堙ｦﾂ慊ｬﾃｦﾂ鳴�ｯﾂｼﾂ�Terms / App Guideﾃｯﾂｼﾂ�
========================================================= */
.content {
  padding: 40px 0 72px;
}

.content__header {
  margin-bottom: 32px;
}

.content__eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-accent);
}

.content__title {
  margin: 0;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--c-title);
}

.content__lead {
  margin: 12px 0 0;
  max-width: 680px;
  color: #6f7f95;
  font-size: 15px;
  line-height: 1.8;
}

.content__section {
  margin-top: 28px;
}

.content__section-title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--c-title);
}

.content__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: var(--c-body);
}

.content__list {
  margin: 10px 0 0;
  padding-left: 1.2em;
  font-size: 14px;
  line-height: 1.9;
  color: var(--c-body);
}

/* =========================================================
   Footer
========================================================= */
.site-footer {
  border-top: 1px solid var(--c-line);
  padding: 18px 0 24px;
}

.site-footer__inner {
  display: flex;
  justify-content: center;
}

.site-footer__copyright {
  margin: 0;
  color: var(--c-muted);
  font-size: 12px;
  letter-spacing: .02em;
}

.site-footer__copyright a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__copyright a:hover {
  color: var(--c-accent);
  text-decoration: underline;
}

.site-footer__copyright a:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

/* =========================================================
   Responsive ﾃ･ﾂ�ｱﾃｩﾂﾂ�
========================================================= */
@media (max-width:1200px) {
  .l-container {
    width: min(var(--container), calc(100% - 56px));
  }

  .hero__inner {
    padding-left: 72px;
  }
}

@media (max-width:960px) {
  .l-container {
    width: min(var(--container), calc(100% - 48px));
  }

  .hero {
    padding: 72px 0 80px;
  }

  .hero__inner {
    padding-left: 0;
  }

  .topics__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .content {
    padding: 36px 0 64px;
  }

  .content__title {
    font-size: 26px;
  }
}

@media (max-width:768px) {
  :root {
    --header-h: 60px;
  }

  .l-container {
    width: min(var(--container), calc(100% - 40px));
  }

  .site-header__logo {
    height: 24px;
  }

  .hero {
    padding: 56px 0 64px;
  }

  .hero__title {
    font-size: clamp(30px, 7vw, 40px);
    line-height: 1.18;
  }

  .hero__lead {
    margin-top: 16px;
    font-size: 14px;
    max-width: 100%;
  }

  .topics {
    padding: 56px 0 72px;
  }

  .topic-card {
    grid-template-columns: auto 1fr auto;
    padding: 20px 18px;
    gap: 14px;
  }

  .topic-card__title {
    font-size: 16px;
  }

  .topic-card__text {
    font-size: 13px;
    line-height: 1.65;
  }

  .content {
    padding: 32px 0 56px;
  }

  .content__header {
    margin-bottom: 24px;
  }

  .content__title {
    font-size: 24px;
  }

  .content__lead {
    font-size: 14px;
    max-width: 100%;
  }

  .content__section {
    margin-top: 24px;
  }

  .content__section-title {
    font-size: 15px;
  }

  .content__text,
  .content__list {
    font-size: 13px;
    line-height: 1.8;
  }
}

@media (max-width:480px) {
  .l-container {
    width: min(var(--container), calc(100% - 32px));
  }

  .site-header__logo {
    height: 22px;
  }

  .hero {
    padding: 48px 0 56px;
  }

  .hero__title {
    font-size: 30px;
  }

  .topics {
    padding: 48px 0 64px;
  }

  .topic-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .topic-card__icon {
    width: 32px;
    height: 32px;
  }

  .topic-card__chevron {
    display: none;
  }

  .content {
    padding: 28px 0 48px;
  }

  .content__title {
    font-size: 22px;
  }

  .site-footer {
    padding: 16px 0 20px;
  }
}

/* WCAG 2.2 targeted improvements for TOP page (layout-safe) */
a:focus-visible {
  outline: 2px solid #1a73e8;
  outline-offset: 2px;
}

.topic-card:focus-visible {
  outline: 2px solid #1a73e8;
  outline-offset: 4px;
}

.hero__lead,
.content__lead {
  color: #475569;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  background: #fff;
  color: #1f2328;
  padding: 8px 12px;
  z-index: 1000;
}

.skip-link:focus {
  top: 16px;
}

/* ==================================================
   SP width optimization
   ================================================== */
@media (max-width:768px) {

  /* 譛ｬ譁�う繝ｳ繝�Φ繝医ｒ邵ｮ蟆� */
  .legal-section__text-indent {
    padding-left: 1rem;
  }

  /* Level1繝ｪ繧ｹ繝亥�菴薙�蟾ｦ菴咏區繧堤ｸｮ蟆� */
  .legal-list.level-1 {
    margin-left: 1rem;
  }

  /* Article2 / Article18 */
  #terms-article-2 .legal-list.level-2,
  #terms-article-18 .legal-list.level-2 {
    margin-left: 1rem;
  }

  /* Privacy Notice Section5 */
  #privacy-section-5 .legal-table-wrap {
    overflow-x: visible;
  }

  #privacy-section-5 .legal-table {
    table-layout: fixed;
    width: 100%;
  }

  #privacy-section-5 .legal-table th,
  #privacy-section-5 .legal-table td {
    padding: 6px;
    font-size: 11px;
    line-height: 1.4;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  #privacy-section-5 .legal-table th:nth-child(1),
  #privacy-section-5 .legal-table td:nth-child(1) {
    width: 25%;
  }

  #privacy-section-5 .legal-table th:nth-child(2),
  #privacy-section-5 .legal-table td:nth-child(2) {
    width: 20%;
  }

  #privacy-section-5 .legal-table th:nth-child(3),
  #privacy-section-5 .legal-table td:nth-child(3) {
    width: 55%;
  }
}