@charset "utf-8";

.section ol {
  list-style-type: none;
}

.section ol ol,
.section ol ul {
  margin-top: 0.3em;
}

/* 1. 2. 3. */

.dec_reset {
  counter-reset: deccount;
}

ol.dec > li:before {
  counter-increment: deccount;
  content: counter(deccount) ". ";
}

ol.dec > li {
  text-indent: -1em;
  margin-bottom: 1em;
}

/* 1.1 1.2 1.3 */

/*
#article1{
	counter-reset: dec2pcount;
}

.article{
	counter-increment: dec2pcount;
}
*/

ol.dec2 {
  counter-reset: dec2count;
}

ol.dec2 li:before {
  counter-increment: dec2count;
  content: counter(dec2pcount) ". " counter(dec2count) "　";
}

ol.dec2w {
  counter-reset: none;
  counter-increment: none;
}

ol.dec2w li:before {
  counter-increment: dec2count;
  content: counter(dec2pcount) ". " counter(dec2count) "　";
}

ol.dec2 li,
ol.dec2w li {
  text-indent: -2em;
  margin-bottom: 1em;
}

ol.dec2 ol {
  counter-reset: dec2ccount;
}

ol.dec2 ol li:before {
  counter-increment: none;
  counter-increment: dec2ccount;
  content: counter(dec2pcount) ". " counter(dec2count) ". " counter(dec2ccount)
    "　";
}

ol.dec2 ol.ro > li:before {
  counter-increment: none;
  counter-increment: dec2ccount;
  content: "（" counter(dec2ccount, lower-roman) "） ";
}

ol.dec2 ol.ap > li:before {
  counter-increment: none;
  counter-increment: dec2ccount;
  content: "（" counter(dec2ccount, lower-alpha) "） ";
}

ol.dec2 ol.ro li,
ol.dec2 ol.ap li,
ol.dec2 ol.dp li {
  text-indent: -1.5em;
}

ol.dec2 ol ol {
  counter-reset: dec2c2count;
  margin-top: 0.3em;
}

ol.dec2 ol ol li:before {
  counter-increment: none;
  counter-increment: dec2c2count;
  content: counter(dec2pcount) ". " counter(dec2count) ". " counter(dec2ccount)
    ". " counter(dec2c2count) "　";
}

ol.dec2 ol ol.dp li:before {
  counter-increment: none;
  counter-increment: dec2c2count;
  content: "（" counter(dec2c2count) "） ";
}

ol.dec2 ol ol.ro li:before {
  counter-increment: none;
  counter-increment: dec2c2count;
  content: "（" counter(dec2c2count, lower-roman) "） ";
}

ol.dec2 ol li {
  text-indent: -3em;
  margin-bottom: 0.3em;
}

/* 1　 2　 3　 */

.dec3_reset {
  counter-reset: dec2pcount;
}

ol.dec3 > li:before {
  counter-increment: dec2pcount;
  content: counter(dec2pcount) "　";
}

ol.dec3 > li {
  text-indent: -1em;
  margin-bottom: 1em;
}

/* A. B. C. */

ol.la_reset {
  counter-reset: lacount;
}

ol.la > li:before {
  counter-increment: lacount;
  content: counter(lacount, upper-alpha) ". ";
}

ol.la li {
  text-indent: -1em;
  margin-bottom: 1em;
}

/* (A) (B) (C) */

ol.up_reset {
  counter-reset: upcount;
}

ol.up > li:before {
  counter-increment: upcount;
  content: "（" counter(upcount, upper-alpha) "） ";
}

ol.up li {
  text-indent: -1.5em;
  margin-bottom: 0.3em;
}

/* (a) (b) (c) */

ol.ap_reset {
  counter-reset: apcount;
}

ol.ap_reset.cc {
  counter-reset: apcount 2;
}

ol.ap > li:before {
  counter-increment: apcount;
  content: "（" counter(apcount, lower-alpha) "） ";
}

ol.ap li {
  text-indent: -1.5em;
  margin-bottom: 0.3em;
}

/* I. II. III. */

ol.lr_reset {
  counter-reset: lacount;
}

ol.lr > li:before {
  counter-increment: lacount;
  content: counter(lacount, upper-roman) ". ";
}

ol.lr li {
  text-indent: -1em;
  margin-bottom: 1em;
}

/* (i) (ii) (iii) */

ol.ro_reset {
  counter-reset: rocount;
}

ol.ro > li:before {
  counter-increment: rocount;
  content: "（" counter(rocount, lower-roman) "） ";
}

ol.ro li {
  text-indent: -1.5em;
  margin-bottom: 0.3em;
}

/* (1) (2) (3) */

ol.dp_reset {
  counter-reset: dpcount;
}

ol.dp > li:before {
  counter-increment: dpcount;
  content: "（" counter(dpcount) "） ";
}

ol.dp li {
  text-indent: -1.5em;
  margin-bottom: 0.3em;
}

ol.dec ul li:before,
ol.ap ul li:before,
ol.lr ul li:before,
ol.ro ul li:before,
ol.dp ul li:before {
  counter-increment: none;
  content: none;
}

ol.dec ul li,
ol.dec p,
ol.dec2 ul li,
ol.dec2 p,
ol.dec3 ul li,
ol.dec3 p,
ol.ap ul li,
ol.la p,
ol.lr ul li,
ol.ro p,
ol.ap ul li,
ol.ap p,
ol.ro ul li,
ol.ro p,
ol.dp ul li,
ol.dp p {
  text-indent: 0;
}

/* article */

.sectionBody .article {
  margin: 20px 0;
}

.sectionBody .article:first-child {
  margin-top: 0;
}

.sectionBody .article:last-child {
  margin-bottom: 0;
}

/* その他 */

ul.none {
  list-style-type: none;
}

.section > ul.none {
  margin: 0;
  padding: 0;
}

ul.none li {
  margin-bottom: 0.3em;
}

.mt1em {
  margin-top: 1em !important;
}

.mb1em {
  margin-bottom: 1em !important;
}

.no_display {
  display: none;
}

.section table {
  border: 1px solid #999;
  width: 100%;
  border-collapse: collapse;
  margin: 0.3em 0 0.8em;
}
.section thead {
  border: 1px solid #999;
  background-color: #ddd;
  border-collapse: collapse;
}
.section th {
  text-align: center;
  border: 1px solid #999;
  border-collapse: collapse;
  padding: 4px;
  text-indent: 0;
}
.section td {
  text-align: left;
  border: 1px solid #999;
  border-collapse: collapse;
  padding: 4px;
  text-indent: 0;
}

/* 千九百九十四年の関税及び貿易に関する一般協定第七条の実施に関する協定 */
.section .tani td:nth-child(2n + 0) {
  text-align: right;
}
.section .tani2 td:nth-child(2n + 0) {
  text-align: right;
  width: 40%;
}

/* セーフガードに関する協定 */
.section .reigai td {
  width: 33%;
}

/* サービスの貿易に関する一般協定 */
.section table.service th:nth-child(1) {
  width: 36%;
}
.section table.service th:nth-child(2) {
  width: 25%;
}
.section table.service th:nth-child(3) {
  width: 21%;
}
.section table.service th:nth-child(4) {
  width: 18%;
}
