:root {
  --color-primary: #ff0033;
  --color-text: #28333b;
  --color-text-secondary: #4a5568;
  --color-accent-blue: #007bc7;
  --color-bg: #edf0f3;
  --color-bg-content: #f8fbff;
  --font-primary: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Hiragino Sans, "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
}

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

body {
  font-family: var(--font-primary);
  margin: 0;
  color: var(--color-text);
}

.container {
  display: flex;
  flex-direction: column;
  -webkit-box-align: center;
  align-items: center;
  background-color: var(--color-bg);
}

.parent {
  max-width: 1000px;
  width: 100%;
  background-color: var(--color-bg-content);
}

header {
  background-color: var(--color-primary);
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  padding: 12px 16px;
  position: fixed;
  top: 0px;
  z-index: 2;
  max-width: 1000px;
}

.logo {
  display: inline-block;
  overflow: hidden;
  background: none;
  width: 168px;
  height: 32px;
}

.logo>img {
  max-width: 100%;
  min-height: 100%;
  max-height: 100%;
}

.content {
  margin-top: 56px;
  min-height: calc(-56px + 100vh);
  padding: 32px 24px 60px;
  box-sizing: border-box;
}
@media (max-width: 749px) {
  .content {
    padding: 24px 16px 60px;
  }
}

.title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text);
}

.introduction {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: var(--color-text-secondary);
}

.section {
  margin-top: 40px;
  margin-bottom: 40px;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: var(--color-text-secondary);
}

.section>h2 {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-bg);
  padding-bottom: 8px;
  margin-bottom: 24px;
}

.section>div {
  margin-top: 24px;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: var(--color-text-secondary);
}

.section>div + h2 {
  margin-top: 40px;
}

/* ==========================================================================
   Table
   ========================================================================== */
.section table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.8;
}

.section table th,
.section table td {
  border: 1px solid var(--color-bg);
  padding: 12px 16px;
  text-align: left;
}

.section table th {
  background-color: var(--color-bg);
  font-weight: 700;
  color: var(--color-text);
}

.section table td {
  color: var(--color-text-secondary);
}

/* ==========================================================================
   Separator
   ========================================================================== */
.section hr {
  border: none;
  border-top: 1px solid var(--color-bg);
  margin: 32px 0;
}

/* ==========================================================================
   Signature
   ========================================================================== */
.signature {
  margin-top: 40px;
  margin-bottom: 80px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text-secondary);
  text-align: right;
}

/* ==========================================================================
   Unordered List
   ========================================================================== */
.section ul {
  padding-left: 20px;
  margin-top: 16px;
}

.section ul li {
  margin-top: 8px;
}

.section a {
  color: var(--color-accent-blue);
}

/* ==========================================================================
   Lists (terms / legal pages)
   ========================================================================== */
ol {
  display: block;
  list-style-type: decimal;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  padding-inline-start: 40px;
  unicode-bidi: isolate;
}

.section>ol {
  list-style-type: decimal;
  padding-left: 16px;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: var(--color-text-secondary);
  margin-top: 24px;
}

.section>ol>li {
  font-weight: 400;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: var(--color-text-secondary);
  margin-top: 24px;
}

.section>ol>ol,
.section>ol>ol>ol {
  padding-left: 20px;
  margin-block-start: 0px;
  margin-block-end: 0px;
}

.section>ol>ol>ol {
  list-style-type: lower-alpha;
}

.section>ol>ol>li,
.section>ol>ol>ol>li {
  margin-top: 8px;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: var(--color-text-secondary);
  position: relative;
  display: list-item;
  text-align: -webkit-match-parent;
  unicode-bidi: isolate;
}

.section>ol>ol>li:first-child,
.section>ol>ol>ol>li:first-child {
  margin-top: 16px;
}

.section>ol>ol>li {
  list-style-type: none;
  counter-increment: cnt 1;
}

.section>ol>ol>li::before {
  content: "(" counter(cnt) ") ";
  display: inline-block;
  margin-left: -3.5em;
  width: 3em;
  text-align: right;
  position: absolute;
  top: 0px;
  left: 0px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--color-text);
  color: #fff;
  padding: 24px 16px;
  text-align: center;
  font-size: 13px;
  line-height: 1.8;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer .footer-links {
  margin-bottom: 12px;
}

.site-footer .footer-links a + a {
  margin-left: 16px;
}

.site-footer small {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}
