/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark

https://html5doctor.com/html-5-reset-stylesheet/

Typography / layout: Plus member 利用規約ページ踏襲
https://plusmember.jp/static/?kiyaku
- common.css: html/body 14px
- layout_pc: body font-family, #wrap padding, #container, .section, .sectionTit, #privacy
*/

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

:root {
  /* plusmember.jp css/common/common.css — html, body */
  --terms-text: #1a1a1a;
  /* layout_pc.css .section .sectionTit */
  --terms-section-tit: #888888;
  /* layout_pc.css #wrap */
  --terms-page-bg: #f5f5f5;
  --terms-rule: #dddddd;
}

/* WebView でもスクロール外周までグレーが続くよう html にも背景を敷く */
html {
  min-height: 100%;
  font-size: 14px;
  background-color: var(--terms-page-bg);
}

/* layout_pc.css body（PC 表示）— Noto Sans Japanese は Noto Sans JP で Web 再現 */
body {
  font-family:
    Helvetica,
    "Hiragino Sans",
    "ヒラギノ角ゴ ProN W3",
    "Hiragino Kaku Gothic ProN",
    "Noto Sans JP",
    "メイリオ",
    Meiryo,
    "Noto Sans SC",
    sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--terms-text);
  background-color: var(--terms-page-bg);
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* layout_pc #wrap { padding: 87px 0 150px; background: #f5f5f5; } */
#wrap {
  box-sizing: border-box;
  min-height: 100vh;
  padding: 87px 0 150px;
  background-color: var(--terms-page-bg);
}

/* layout_pc #container { width: 800px; margin: 0 auto; } — 背景色は未指定＝透過（#wrap のグレーがそのまま見える） */
#container {
  box-sizing: border-box;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  background-color: transparent;
}

/* layout_pc .section { padding: 50px 0; } — 横パディングなし（見出し・本文の左端を揃える） */
.section {
  padding: 50px 0;
  box-sizing: border-box;
}

.terms-section {
  width: auto;
  padding: 0 10px;
}

/* layout_pc .section .sectionTit */
.terms-title {
  color: var(--terms-section-tit);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.45;
  margin: 0 0 20px;
  padding: 0;
  text-align: left;
}

.terms-title::after {
  display: none;
}

/* 後方互換: 旧クラス名が残っていても左寄せのまま */
.terms-title--center {
  text-align: left;
}

.terms-subtitle {
  font-size: 14px;
  line-height: 1.7;
  font-weight: 400;
  color: var(--terms-text);
  margin-right: 40px;
}

.terms-body-text {
  font-size: 14px;
  line-height: 1.7;
  font-weight: 400;
  color: var(--terms-text);
}

#privacy.terms-content,
.terms-content {
  max-width: 100%;
  width: 100%;
  margin: 0;
  position: relative;
  z-index: 10;
  text-align: left;
  overflow-wrap: anywhere;
}

h2 {
  margin-top: 0;
  margin-bottom: 0;
}

/* #privacy dt */
.terms-content h3 {
  color: var(--terms-text);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 10px;
  padding: 0;
  border-bottom: none;
  text-align: left;
}

/* #privacy dl { margin: 0 0 60px } — 条ブロック間 */
.terms-content h3:first-of-type {
  margin-top: 0;
}

.terms-content h3:not(:first-of-type) {
  margin-top: 60px;
}

.terms-content h3 + .terms-preamble,
.terms-content h3 + ol {
  margin-top: 0;
}

li {
  list-style-type: none;
}

/* #privacy ol */
.terms-content ol {
  padding: 0 0 0 20px;
  margin: 0 0 20px;
  box-sizing: border-box;
}

.terms-content ol:last-child {
  margin-bottom: 0;
}

/* #privacy ol li — margin 0 0 5px */
.terms-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 5px;
  line-height: 1.7;
  color: var(--terms-text);
}

.terms-item--indent {
  padding-left: 1em;
}

.terms-item__number {
  margin-right: 8px;
  min-width: 2em;
  width: auto;
  text-align: right;
  flex-shrink: 0;
  color: var(--terms-text);
  font-variant-numeric: tabular-nums;
}

.terms-item__text {
  flex: 1;
  min-width: 0;
}

/* #privacy dd 前後の流れに近い余白 */
.terms-preamble {
  font-size: 14px;
  line-height: 1.7;
  color: var(--terms-text);
  margin: 0 0 20px;
  text-align: left;
}

.terms-content > .terms-preamble:first-of-type {
  margin-top: 0;
}

.terms-supplementary {
  margin: 60px 0 0;
  padding: 30px 0 0;
  border-top: 1px solid var(--terms-rule);
  font-size: 14px;
  line-height: 1.7;
  color: var(--terms-text);
}

.terms-supplementary p {
  margin: 0 0 10px;
}

.terms-supplementary strong {
  color: var(--terms-text);
  font-weight: 700;
  font-size: 16px;
}

@media (max-width: 520px) {
  /* 狭幅: 固定ヘッダを前提としない WebView 向けに上余白のみ抑える（横はコンテナ幅で確保） */
  #wrap {
    padding: 40px 12px 100px;
  }

  .section {
    padding: 36px 0 44px;
  }

  .terms-title {
    font-size: 22px;
    margin-bottom: 16px;
  }

  .terms-content h3:not(:first-of-type) {
    margin-top: 48px;
  }

  .terms-content ol {
    padding-left: 16px;
  }
}
