/* ----- 基本的なスタイル ----- */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  line-height: 1.8;
  color: #333;
  background-color: #f4f5f7;
  margin: 0;
  padding: 20px 0;
}

/* ----- コンテナ ----- */
.container {
  max-width: 750px;
  width: 95%;
  margin: 0 auto;
  padding: 20px 40px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

/* ----- 見出し ----- */
h1 {
  font-size: 1.4em;
  text-align: left;
  margin-top: 1em;
  margin-bottom: 2em;
  padding-bottom: 0.5em;
  border-bottom: 2px solid #005a9c;
  color: #003366;
}
h2 {
  margin-top: 2em;
  font-size: 1.3em;
  margin-bottom: .5em;
}

/* ----- 段落 ----- */
p {
  margin: 0 0 1.5em 0;
}

/* 最初の同意文を少し強調 */
.agreement-statement {
  font-weight: bold;
  /* padding: 4px 8px;
  border-left: 5px solid #005a9c; */
}

/* ----- リスト全体のスタイル ----- */
.main-list {
  padding-left: 1.5em;
  /* 1. 2. のインデント */
  list-style-type: none;
}

.main-list>li {
  margin-bottom: 2em;
}

/* ----- 入れ子リストのスタイル ----- */
.sub-list {
  /* padding-left: 2.5em; */
  /* ① ② のインデント */
  /* list-style-type: none; */
  margin-top: 1em;
}

.sub-list li {
  margin-bottom: 1em;
  /* text-indent: -2.5em; */
  /* ぶら下げインデント */
}

/* さらに内側のリスト（箇条書き） */
.detail-list {
  /* list-style-type: none;
  padding-left: 2em; */
  /* ・ のインデント */
  margin-top: 0.5em;
}

.detail-list li {
  /* text-indent: -1.2em; */
  /* ぶら下げインデント */
  /* padding-left: 1.2em; */
  margin-bottom: 0.5em;
}

.detail-list li::before {
  /* content: "・";
  margin-right: 0.5em; */
}

/* ----- 最後の「以上」 ----- */
.closing {
  text-align: right;
  margin-top: 3em;
}

/* ----- レスポンシブ対応 ----- */
@media (max-width: 600px) {
  .container {
padding: 15px 20px;
  }

  h1 {
font-size: 1.2em;
  }
  h2 {
font-size: 1.1em;
  }

  body {
padding: 10px 0;
  }
}

.ml-1{
  margin-left: 1em;
}
.ml-2{
  margin-left: 2em;
}
.ml-3{
  margin-left: 3em;
}
.ml-4{
  margin-left: 4em;
}
.ml-5{
  margin-left: 5em;
}

.maru-no{
  counter-reset: my-counter;
  list-style: none;
  padding: 0;
}
.maru-no li {
  font-size: 16px;
  line-height: 1.5;
  padding-left: 24px;
  position: relative;
}
.maru-no li:before {
  content: counter(my-counter);
  counter-increment: my-counter;
  background-color: #fff;
  border: 1px solid #333;
  border-radius: 50%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 16px;
  width: 16px;
  color: #333;
  font-size: 85%;
  line-height: 1;
  position: absolute;
  top: 4px;
  left: 0;
}

.dot-no{
  counter-reset: my-counter;
  list-style: decimal;
  padding: 0;
  margin-left: 1em;
}
.dot-no li {
  font-size: 16px;
  line-height: 1.5;
  padding-left: 0;
}

.dot-list{
  list-style: disc;
  padding-inline-start: 0;
}

.kakko-no li {
  position: relative;
  list-style-type: none;
}
.kakko-no li:before {
  position: absolute;
  right: calc(100% + 0.5rem);  /* 0.5remは連番とテキストとの余白 */
  content: "(" counter(list-item) ")";
}

.alpha-no{
  padding-left: 0;
}
.alpha-no li{
  list-style-type: lower-alpha !important;
  padding-left: 0 !important;
}
.alpha-no li:before{
  content: none !important;
}

.sub-list.dot-no li::before{
  content: none;
}
.sub-list.maru-no li {
  padding-left: 24px;
}
.detail-list.dot-list li{
  padding: 0;
}
.detail-list.dot-list li::before{
  content: none;
}
.detail-list.maru-no li{
  padding-left: 24px;
}
.detail-list.maru-no li:before{
  content: counter(my-counter);
}
