/* styles.css - QEEE サービス終了ページ */
html, body, div, span, applet, object, iframe,
 p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  color: #231815;
  border: 0;
  font-size: 14px;
  letter-spacing: 0.02px;
  line-height: 1.5;
  font-family: 'Noto Sans JP', sans-serif;
}

/* React _reset 相当: ol/ul のデフォルト余白をリセット */
ol, ul {
  margin: 0;
  padding: 0;
}

body {
  overflow: scroll;
  min-height: 100vh;
  min-width: 1080px;
}

h1, h2, h3, h4, h5 {
  font-weight: bold;
  line-height: 1.5;
}

h1 {
  font-size: 28px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 20px;
}

h4 {
  font-size: 18px;
}

h5 {
  font-size: 16px;
}

a {
  color: #2858A8;
  font-size: inherit;
  text-decoration: none;
}

a:hover {
  cursor: pointer;
}

button, input, select, textarea {
  font-family: inherit;
}
button:focus, input:focus, select:focus, textarea:focus {
  outline: none;
}

input::placeholder, textarea::placeholder {
  color: #cccccc;
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 24px;
  }
  h2 {
    font-size: 22px;
  }
}

@media screen and (max-width: 768px) {
  body {
    min-width: unset;
    overflow: unset;
    width: 100%;
  }
}

:root {
  --brand: #1f6feb;
  --bg: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family:
    "Noto Sans JP",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    "Helvetica Neue",
    Arial,
    "Noto Sans",
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Segoe UI Symbol",
    "Noto Color Emoji",
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
}


.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 24px;
}

/* 利用規約ページ：React (Content + u-pT60 u-pB60 u-mB24) と同じレイアウト */
.terms-content-wrap {
  margin-left: auto;
  margin-right: auto;
  width: 1080px;
}

.terms-content-inner {
  padding-top: 60px;
  padding-bottom: 60px;
}

.terms-content-inner h1:first-child {
  margin-top: 0;
  margin-bottom: 24px;
}

.header_container {
  display: flex;
  align-items: center;
  margin: auto;
  height: 100%;
  width: 1080px;
  position: relative;
}

.logo {
  width: 120px;
  height: 50px;
  object-fit: contain;
}

.site-header {
  background-color: #231815;
  min-width: 1080px;
  height: 64px;
  width: 100%;
}

.site-header .site-title {
  margin: 0;
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: 700;
  display: flex;
}

.site-footer {
  background-color: #231815;
  color: #fff;
  margin-top: 48px;
}

.site-footer small {
  opacity: 0.9;
}

main h2 {
  font-size: clamp(22px, 3.8vw, 30px);
  margin: 28px 0 8px;
}

main h3 {
  font-size: 16px;
  margin: 32px 0 12px;
}

main p {
  font-size: 14px;
}

.intro p {
  font-size: 14px;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 12px 0;
  border-left: 4px solid #51bcb3;
}

.timeline li {
  display: flex;
  gap: 12px;
  padding: 12px 0 12px 16px;
  font-size: 14px;
  border-bottom: 1px dashed #51bcb3;
}

.timeline li:last-child {
  border-bottom: none;
}

.timeline .date {
  min-width: 210px;
  font-weight: 700;
  font-size: 14px;
}

.timeline .desc {
  color: var(--text);
}

.note {
  color: var(--muted);
  font-size: 14px;
}

.link a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.title {
  background-color: #f2f2f2;
  box-sizing: border-box;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  padding: 14px 12px;
}

.list ol {
  padding-left: 0;
  padding-right: 0;
}

.list ol li {
  list-style-type: decimal;
  margin: 0 0 20px 2em;
  font-size: 14px;
}

.list li {
  padding-left: 16px;
  padding-right: 0;
}

.list .nestList {
  list-style-type: none;
}

/* (1)(2)(3) は nestList の直下の li のみ。block のままにし、(1) とテキストのあとに ol が自然に改行される */
.list .nestList > li {
  counter-increment: cnt;
  list-style-type: none;
  margin-bottom: 12px;
  margin-left: 0;
  padding-left: 0;
  padding-right: 0;
  font-size: 14px;
}

.list .nestList > li::before {
  content: "(" counter(cnt) ")";
  margin-right: 12px;
}

/* 第13条：nestList 内の下位リスト（i. ii. iii. 表示）React commonList 相当 */
.list .nestList .commonList {
  margin-left: 48px;
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
  counter-reset: number;
}

.list .nestList .commonList li {
  counter-increment: number;
  display: flex;
  padding-left: 16px;
  padding-right: 0;
  margin-bottom: 20px;
  list-style: none;
  font-size: 14px;
}

.list .nestList .commonList li::before {
  content: counter(number, lower-roman) ".";
  margin-right: 12px;
}

.inline {
  display: inline;
}

.modification {
  text-align: right;
  margin-bottom: 24px;
}

/* ========== 個人情報保護方針ページ ========== */
.privacy-heading,
.privacy-h1 {
  margin-top: 0;
  margin-bottom: 36px;
}

.privacy-intro p,
.privacy-policy p,
.privacy-billing p {
  margin-bottom: 24px;
}

.privacy-policy ol li,
.privacy-billing ol li {
  list-style-type: decimal;
  margin-left: 24px;
  margin-bottom: 20px;
  padding-left: 16px;
}

.privacy-policy ul.nestList-disc,
.privacy-billing ul.nestList-disc {
  list-style-type: disc;
  padding-left: 2em;
  margin-bottom: 12px;
}

.privacy-policy ul.nestList-disc li,
.privacy-billing ul.nestList-disc li {
  list-style-type: disc;
  padding-left: 0;
  margin-bottom: 8px;
}

.privacy-billing .nestList {
  list-style: none;
  padding-left: 0;
  counter-reset: cnt;
}

.privacy-billing .nestList > li {
  counter-increment: cnt;
  list-style: none;
  margin-bottom: 12px;
  margin-left: 0;
  padding-left: 0;
}

.privacy-billing .nestList > li::before {
  content: "(" counter(cnt) ")";
  margin-right: 12px;
}

.privacy-subtitle {
  margin-bottom: 12px;
}

.listItemTitle {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.textSmall {
  font-size: 14px;
}

.signature {
  margin-bottom: 48px;
  text-align: right;
}

.bar {
  border: 0;
  background-color: #e5e7eb;
  height: 1px;
  margin-bottom: 24px;
}

.tableContainer {
  border-collapse: collapse;
  border-radius: 3px;
  width: 100%;
  margin-bottom: 24px;
}

.tableTitle {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  text-align: left;
}

.tableHead {
  width: 100%;
  background-color: #f2f2f2;
  text-align: left;
}

.tableCell {
  border: solid 1px #e5e7eb;
  font-size: 14px;
  padding: 12px;
}

.tableCellContent {
  border: solid 1px #e5e7eb;
  font-size: 14px;
  padding: 12px;
  width: 80%;
  white-space: pre-wrap;
  word-break: break-all;
  word-wrap: break-word;
}

.detailText {
  font-size: 16px;
  margin-bottom: 6px;
}

.commonPolicy {
  align-items: center;
  display: flex;
  width: 100%;
  gap: 24px;
}

.privacy-mark-logo {
  width: 75px;
  height: 75px;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .header_container {
    width: 100%;
    min-width: 100%;
    height: 48px;
  }

  .logo {
    width: 90px;
    height: 36px;
    margin-left: 12px;
  }

  .site-header {
    width: 100%;
    min-width: 100%;
    height: 48px;
  }

  .container {
    padding: 24px;
  }

  .terms-content-wrap {
    width: 100%;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
  }

  .terms-content-inner {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .timeline {
    border-left: none;
  }

  .timeline li {
    flex-direction: column;
    padding-left: 0;
  }

  .timeline .date {
    min-width: auto;
  }
}
