@charset "utf-8";

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

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

.content_title {
  display: none;
}

div.terms_wrap {
  width: 100%;
  margin: 0 auto;
  padding: 3rem 0;
  font-family: '游ゴシック体', 'Yu Gothic', YuGothic, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
}

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

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

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

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

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

section.terms_content article {
  gap: 20px;
}

.section_title {
  font-size: 28px;
  text-align: center;
  font-weight: 600;
}

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

.chapter,
.terms_title {
  font-size: 20px;
  font-weight: 600;
}

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

.terms_text {
  font-size: 16px;
  margin-left: 16px;
}

.list_inner_text {
  font-size: 16px;
}

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

  .list_inner_text {
    font-size: 14px;
  }
}

@media screen and (width <=480px) {
  .terms_text,
  .list_inner_text {
    line-height: 1.25;
  }
}

.sub-title {
  display: block;
  height: auto;
  font-weight: 600;
  text-decoration: underline;
}

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

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

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

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

/* list */
ul.normal_list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-left: 16px;
  padding-top: 0.625rem;
}

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

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

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

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

ul.list_nmb_wrap li {
  font-size: 16px;
  list-style: none;
}

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

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

ul.list_nmb_wrap li.list_disc {
  line-height: 1.25;
  list-style: disc;
  margin-left: 1.25rem;

  /* list-style-position: inside; */
  padding-left: 0;
}

.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: 6px;
  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;
}

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

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

/* table */
table.terms_table {
  width: 100%;
  border: 1px solid #ccc;
  border-collapse: collapse;
  margin-top: 1rem;
}

table.terms_table tr {
  border-bottom: 1px solid #ccc;
}

table.terms_table tr:last-child {
  border-bottom: none;
}

table.terms_table th,
table.terms_table td {
  padding: 0.5rem;
  font-size: 0.875rem;
  border-right: 1px solid #ccc;
}

table.terms_table tr th:last-child,
table.terms_table tr td:last-child {
  border-right: none;
}

/* list_ grid */
.grid_list {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.__list_grid {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
}

.__list_grid_left {
  position: relative;
  font-weight: 600;
  padding-left: 1rem;
}

.__list_grid_left::before {
  content: '\f192';
  position: absolute;
  left: 0;
  font-size: 0.6255rem;
  color: #777;
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
}

.__list_grid_right {
  position: relative;
  padding-left: 1.5rem;
}

.__list_grid_right::before {
  content: '\f141';
  position: absolute;
  left: 0;
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
}

/* テキストレベル */
.underline {
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

em {
  font-weight: 600;
}

.sub-txt {
  position: relative;
  display: block;
  color: #555;
  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;
  color: #555;
  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;
}

.pt-1rem {
  display: inline-block;
  padding-top: 1rem;
}

.sp_br {
  display: none;
}

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