@charset "utf-8";

@media screen and (width <=1400px) {
  #contaner {
    max-width: 1024px;
  }
}

@media screen and (width <=1024px) {
  #contaner {
    max-width: 100%;
  }
}

div.terms_wrap {
  width: 800px;
  margin: 50px auto;
  font-family: '游ゴシック体', 'Yu Gothic', YuGothic, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
}

@media screen and (width <=800px) {
  div.terms_wrap {
    width: 100%;
    padding: 0 10px;
  }
}

div,
li,
p,
span {
  line-height: 1.75;
  letter-spacing: 0;
}

div.terms_wrap,
section.terms_content,
section.terms_content article,
section.__dp {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  gap: 50px;
  counter-reset: number 0;
}

section.__dp {
  counter-reset: number-dp 0;
}

hr.__double_line {
  width: 100%;
  margin: 0;
  padding: 0;
  border-top: 6px double #555;
}

#contaner section.terms_content a {
  color: #007fff;
  text-decoration: underline;
}

#contaner section.terms_content a:hover {
  opacity: 0.8;
}

section.terms_content article {
  gap: 20px;
}

.section_title {
  font-size: 1.25rem;
  text-align: center;
  font-weight: 600;
}

@media screen and (width <=480px) {
  .section_title {
    font-size: 1rem;
  }
}

.chapter,
.terms_title {
  font-size: 1rem;
  font-weight: 600;
}

@media screen and (width <=768px) {
  .chapter,
  .terms_title {
    font-size: 0.875rem;
  }
}

.terms_text {
  font-size: 0.875rem;
  margin-left: 0.875rem;
}

@media screen and (width <=768px) {
  .terms_text {
    font-size: 0.75rem;
    margin-left: 6px;
  }
}

.sub-title {
  display: block;
  height: auto;

  /* text-decoration: underline; */
  font-weight: 600;
}

.nmb-title,
.nmb-title-dp {
  position: relative;
  display: block;
  height: auto;
  font-weight: 600;
  padding-left: 1.75rem;
  padding-top: 20px;
}

.nmb-title::before,
.nmb-title-dp::before {
  content: counter(number) ',';

  /* 表示形式を指定 */
  position: absolute;
  left: 0;
  counter-increment: number 1;

  /* number カウンタの増加数をセット */
}

.nmb-title-dp::before {
  content: counter(number-dp) ',';
  counter-increment: number-dp 1;
}

/* list */
ul.normal_list {
  margin-left: 0.875rem;
}

ul.normal_list li {
  list-style: circle;
  list-style-position: inside;
}

ul.list_nmb_wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-reset: my-counter;
  margin-left: 0.875rem;
}

@media screen and (width <=768px) {
  ul.list_nmb_wrap {
    margin-left: 6px;
  }
}

ul.list_nmb_wrap li {
  font-size: 0.875rem;
  list-style: none;
}

@media screen and (width <=768px) {
  ul.list_nmb_wrap li {
    font-size: 0.75rem;
  }
}

.list_disc,
.list_nmb,
.list_nmb_parens,
.list_nmb_comma,
.list_nmb_circle,
.list_kana,
.list_alpha,
.list_diamond {
  position: relative;
  padding-left: 32px;
}

.list_nmb_parens {
  padding-left: 40px;
}

ul.list_nmb_wrap li.list_disc {
  list-style: disc;
  margin-left: 1rem;
  padding-left: 0;
}

ul.list_nmb_wrap li.list_disc:first-child,
ul.list_nmb_wrap li.list_nmb_circle:first-child {
  margin-top: 20px;
}

.list_nmb::before,
.list_nmb_comma::before,
.list_nmb_parens::before,
.list_alpha::before,
.list_kana::before {
  content: counter(my-counter) ')';
  position: absolute;
  top: 0;
  left: 0;
  counter-increment: my-counter;
}

.list_nmb_parens::before {
  content: '(' counter(my-counter) ')';
}

.list_nmb_comma::before {
  content: counter(my-counter) ',';
}

.list_alpha::before {
  content: '(' counter(my-counter, upper-alpha) ')';
}

.list_kana::before {
  content: counter(my-counter, katakana) ')';
}

.list_nmb_circle::before {
  content: counter(my-counter);
  position: absolute;
  top: 2px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 12px;
  border-radius: 50%;
  line-height: 0;
  border: 1px solid;
  box-sizing: border-box;
  counter-increment: my-counter;
  letter-spacing: 0;
}

.list_diamond::before {
  content: '◆';
  position: absolute;
  top: 2px;
  left: 0;
}

@media screen and (width <=768px) {
  .list_nmb_circle {
    padding-left: 24px;
  }

  .list_nmb_circle::before {
    top: 5px;
    width: 0.875rem;
    height: 0.875rem;
    font-size: 10px;
  }
}

/* テキストレベル */
em {
  font-weight: 600;
}

.sub-txt {
  position: relative;
  display: block;
  padding-left: 1rem;
}

.sub-txt::before {
  content: '※';
  position: absolute;
  left: 0;
}

.sub-txt::before {
  content: '※';
  position: absolute;
  left: 0;
}

.sub-txt-example,
.sub-txt-example-eng {
  position: relative;
  display: block;
  padding-left: 1.5rem;
}

.sub-txt-example::before {
  content: '例)';
  position: absolute;
  left: 0;
}

.sub-txt-example-eng::before {
  content: 'EXP)';
  position: absolute;
  left: 0;
}

.supplement,
.supplement-eng {
  position: relative;
  display: block;
  line-height: 2;
  padding-left: 45px;
}

.supplement-eng {
  padding-left: 50px;
}

@media screen and (width <=480px) {
  .supplement,
  .supplement-eng {
    line-height: 1.5;
  }
}

.supplement::before {
  content: '補足)';
  position: absolute;
  top: 0;
  left: 0;
}

.supplement-eng::before {
  content: 'Note:';
  position: absolute;
  top: 0;
  left: 0;
}

.__asterisk {
  position: relative;
  display: block;
  font-size: 14px;
  color: #555;
  padding-left: 20px;
}

.__asterisk::before {
  content: '※';
  position: absolute;
  left: 0;
}

.__mg-top-0 {
  margin-top: 0 !important;
}

.sp_br {
  display: none;
}

@media screen and (width <=480px) {
  .sp_br {
    display: block;
    width: auto;
  }
}

.red {
  color: #d00;
  font-style: normal;
}

.black {
  color: #333;
  font-style: normal;
}
