@charset "UTF-8";
/*layout_version 3.2.6*/



/* ++++++++++ */

/*基本部分*/

body {
font-family: "メイリオ", "MS P ゴシック", "ヒラギノ角ゴ Pro W3", Osaka, sans-serif;
}
div#pagebody {
max-width: 960px;
min-width: 380px;
margin: auto;
padding: 10px;
}
div#content {
margin: auto;
width: auto;
}


div#index {
max-width: 400px;
min-width: 360px;
border: 1px dashed navy;
padding: 0px 5px 5px 0px;
margin-bottom: 10px;
}
blockquote {
width: calc(100% - 40px);
border: 1px dashed navy;
padding: 5px 5px 5px 5px;
margin-left: 20px;
margin-bottom: 10px;
}/*引用部分*/
.authnote {
border: 1px dashed maroon;
padding: 5px 5px 5px 5px;
margin-bottom: 10px;
}/*筆者注*/


a:link {
color: royalblue;
text-decoration: none;
}
a:hover {
color: royalblue;
text-decoration: underline;
}
a:active {
color: orangered;
text-decoration: underline;
}
a:visited {
color: slateblue;
text-decoration: none;
}


h1 {
font-size: 150%;
border-bottom: 3px solid maroon;
}
h2 {
font-size: 120%;
border-bottom: 1px solid maroon;
border-left: 0.2em solid maroon;
padding-left: 0.5em;
}
h3 {
font-size: 100%;
font-weight: bold;
}
h3::before {
content: "■";
color: maroon;
font-size: 200%;
vertical-align: middle;
}
h4 {
font-size: 100%;
font-weight: bold;
}
h4::before {
content: "■";
color: black;
font-size: 150%;
vertical-align: middle;
}
h5 {
font-size: 100%;
font-weight: bold;
padding-left: 1em;
text-decoration: underline;
}
p {
line-height: 120%;
}/*行の高さ1.2倍*/
li {
padding-left: 15px;
margin-bottom: 5px;
line-height: 120%;
}/*リスト部分*/
li li {
font-size: 100% !important;
}


.midbold {
font-weight: bold;
}/*普通の太字*/
.redchar {
color: red;
}/*赤文字*/
.blackline {
padding-top: 1em;
border-bottom: 1px solid black;
}/*区切り用の黒線(divで使う)*/


a.fnlink {
font-size: 80%;
color: red;
}
p.top {
text-align: right;
}
p.lastmod {
text-align: right;
}
p.copyright {
text-align: center;
font-size: 80%;
}
p.pageid {
text-align: right;
font-size: 90%;
}
p.indent1 {
text-indent: 1em;
}
p.indent2 {
text-indent: 2em;
}
p.indent3 {
text-indent: 3em;
}
dl.footnotelist dt {
float: left;
font-weight: bold;
padding-left: 1em;
margin-bottom: 5px;
width: 3em;
}
dl.footnotelist dd {
/*line-height: 120%;*/
padding-left: 2em;
margin-bottom: 5px;
}
dl.withbranch dt {
width: 5em !important;
}
dl.withbranch dd {
padding-left: 4em !important;
}


.yellowline {
background-color: #FFFF66;
}/*黄色マーカー*/



thead {
color: black;
background-color: wheat;
font-weight: bold;
}
th {
border-width: 1px;
border-style: solid;
border-color: gray;
background-color: wheat; /*theadだけでなくthにも必要*/
}/*ヘッダーのセル*/
td {
border-width: 1px;
border-style: solid;
border-color: gray;
background-color: white;
line-height: 120%;
padding: 0.3em 0.2em;
}/*データのセル*/
.height1em {
height: 1.4em;
}
td.graycell {
background-color: lightgray;
}

/* ---------- */



/* ++++++++++ */

/*告示関連*/

.noticehead {
font-weight: bold;
}/*告示番号*/
p.noticeprovision {
text-indent: 1em;
}/*告示条文*/
p.noticedate {
text-indent: 2em;
}/*告示日付*/
p.noticetitle {
text-indent: 3em;
}/*告示表題*/
p.governor {
text-align: right;
}/*知事名の行*/
span.governorname {
letter-spacing: 0.75em;
}/*知事名の割り付け*/

table.noticetable1 {
border-collapse: collapse;
width: 750px;
border-width: 2px;
border-style: solid;
border-color: black;
}/*告示表の外周(初期)*/

/* ---------- */





/*ここから新潟県主要地方道表-1*/
/*650px, 10%BC,3@27%L,7%Ccl*/
table.drtbg15-1 {
border-collapse: collapse;
width: 650px;
border-width: 2px;
border-style: solid;
border-color: black;
margin: auto;
}
tr.drtbg15-1tr1 td:nth-child(1) {
width: 10%;
text-align: center;
font-weight: bold;
}
tr.drtbg15-1tr1 td:nth-child(2) {
width: 27%;
}
tr.drtbg15-1tr1 td:nth-child(3) {
width: 27%;
}
tr.drtbg15-1tr1 td:nth-child(4) {
width: 27%;
}
tr.drtbg15-1tr1 td:nth-child(5) {
width: 7%;
text-align: center;
background-color: mistyrose;
}

/*ここまで*/


/*ここから新潟県主要地方道表-2*/
/*450px, 13.5%BC,9.5%Ccl,2@37.5%L*/
table.drtbg15-2 {
border-collapse: collapse;
width: 450px;
border-width: 2px;
border-style: solid;
border-color: black;
margin: auto;
}
tr.drtbg15-2tr1 td:nth-child(1) {
width: 13.5%;
text-align: center;
font-weight: bold;
}
tr.drtbg15-2tr1 td:nth-child(2) {
width: 9.5%;
text-align: center;
background-color: lightcyan;
}
tr.drtbg15-2tr1 td:nth-child(3) {
width: 37.5%;
}
tr.drtbg15-2tr1 td:nth-child(4) {
width: 37.5%;
}

/*ここまで*/


/*ここから新潟県主要地方道表-3*/
/*550px, 11%BC,30%L,8%Ccl,11%BC,8%Ccl,30%L*/
table.drtbg15-3 {
border-collapse: collapse;
width: 550px;
border-width: 2px;
border-style: solid;
border-color: black;
margin: auto;
}
tr.drtbg15-3tr1 td:nth-child(1) {
width: 11%;
text-align: center;
font-weight: bold;
}
tr.drtbg15-3tr1 td:nth-child(2) {
width: 30%;
}
tr.drtbg15-3tr1 td:nth-child(3) {
width: 8%;
text-align: center;
background-color: mistyrose;
}
tr.drtbg15-3tr1 td:nth-child(4) {
width: 11%;
text-align: center;
font-weight: bold;
}
tr.drtbg15-3tr1 td:nth-child(5) {
width: 8%;
text-align: center;
background-color: lightcyan;
}
tr.drtbg15-3tr1 td:nth-child(6) {
width: 30%;
}

/*ここまで*/





/*ここから和歌山県主要地方道表-1*/
/*750px, 8%C,4@22.5%L*/
table.drtbg30-1 {
border-collapse: collapse;
width: 750px;
border-width: 2px;
border-style: solid;
border-color: black;
}
tr.drtbg30-1tr1 td:nth-child(1) {
width: 8%;
text-align: center;
}
tr.drtbg30-1tr1 td:nth-child(2) {
width: 22.5%;
}
tr.drtbg30-1tr1 td:nth-child(3) {
width: 22.5%;
}
tr.drtbg30-1tr1 td:nth-child(4) {
width: 22.5%;
}
tr.drtbg30-1tr1 td:nth-child(5) {
width: 22.5%;
}

/*ここまで*/


/*ここから和歌山県主要地方道表-2*/
/*750px, 8%C,2@(22%L,7%Ccl),22%L,10%C*/
table.drtbg30-2 {
border-collapse: collapse;
width: 750px;
border-width: 2px;
border-style: solid;
border-color: black;
}
tr.drtbg30-2tr1 td:nth-child(1) {
width: 8%;
text-align: center;
}
tr.drtbg30-2tr1 td:nth-child(2) {
width: 22%;
}
tr.drtbg30-2tr1 td:nth-child(3) {
width: 7%;
text-align: center;
background-color: mistyrose;
}
tr.drtbg30-2tr1 td:nth-child(4) {
width: 22%;
}
tr.drtbg30-2tr1 td:nth-child(5) {
width: 7%;
text-align: center;
background-color: mistyrose;
}
tr.drtbg30-2tr1 td:nth-child(6) {
width: 22%;
}
tr.drtbg30-2tr1 td:nth-child(7) {
width: 10%;
text-align: center;
}

/*ここまで*/


/*ここから和歌山県告示枠1*/
/*750px, 8%C,17%,35%,38%*/
table.drtbg30-n1 {
border-collapse: collapse;
width: 750px;
border-width: 2px;
border-style: solid;
border-color: black;
}
tr.drtbg30-n1tr1 td:nth-child(1) {
width: 8%;
text-align: center;
}
tr.drtbg30-n1tr1 td:nth-child(2) {
width: 17%;
}
tr.drtbg30-n1tr1 td:nth-child(3) {
width: 35%;
}
tr.drtbg30-n1tr1 td:nth-child(4) {
width: 38%;
}
tr.drtbg30-n1tr2 td:nth-child(1) {
text-align: left;
}

/*ここまで*/


/*ここから和歌山県告示枠削除*/
/*750px, 8%C,90%*/
table.drtbg30-nd {
border-collapse: collapse;
width: 750px;
border-width: 2px;
border-style: solid;
border-color: black;
}
tr.drtbg30-nd td:nth-child(1) {
width: 8%;
text-align: center;
}
tr.drtbg30-nd td:nth-child(2) {
width: 90%;
}

/*ここまで*/


/*ここから和歌山県越境路線変更対照表*/
/*480px, */
table.drtbg30-cb {
border-collapse: collapse;
width: 480px;
border-width: 2px;
border-style: solid;
border-color: black;
margin-left: auto;
margin-right: auto;
}
table.drtbg30-cb tr td:nth-child(1) {
width: 40%;
}
table.drtbg30-cb tr td:nth-child(2) {
width: 16%;
text-align: center;
}
table.drtbg30-cb tr td:nth-child(3) {
width: 16%;
text-align: center;
}
table.drtbg30-cb tr td:nth-child(4) {
width: 11%;
text-align: center;
}
table.drtbg30-cb tr td:nth-child(5) {
width: 16%;
text-align: center;
}

/*ここまで*/





/*ここから長崎県S48路線番号表*/
/*300px, no-border 24%R,76%*/
table.drtbg42 {
width: 300px;
}
table.drtbg42 td,
table.drtbg42 th {
border: none;
}
table.drtbg42 thead {
background-color: white !important;
}
table.drtbg42 tr td:nth-child(1) {
width: 24%;
text-align: right;
}
table.drtbg42 tr td:nth-child(2) {
width: 76%;
}

/*ここまで*/





/*ここから国道前身路線目次*/
/*650px, 10@9.8%C*/
table.drtbg51-index {
border-collapse: collapse;
width: 650px;
border-width: 2px;
border-style: solid;
border-color: black;
text-align: center;
}
table.drtbg51-index td{
width: 9.8%;
}

/*ここまで*/


/*ここから国道前身路線表-1*/
/*750px, 14%C,24%L,2@30%L*/
table.drtbg51-1 {
border-collapse: collapse;
width: 750px;
border-width: 2px;
border-style: solid;
border-color: black;
margin-bottom: 20px;
}
table.drtbg51-1 th {
background-color: wheat;
}
tr.drtbg51-1oe1 td {
font-weight: bold;
}
tr.drtbg51-1oe2 td {
font-weight: bold;
}

tr.drtbg51-1tp-1 td { /*国道*/
background-color: mistyrose;
}
tr.drtbg51-1tp-2 td { /*主要地方道*/
background-color: honeydew;
}
tr.drtbg51-1tp-3 td { /*一般都道府県道*/
background-color: lemonchiffon;
}
tr.drtbg51-1tp-4 td { /*海上区間*/
background-color: lightcyan;
}
tr.drtbg51-1tp-5 td { /*不明*/
background-color: gainsboro; /*灰色*/
}
tr.drtbg51-1tp-6 td { /*B路線*/
background-color: plum;
}
tr.drtbg51-1tp-7 td { /*市町村道*/
background-color: white;
}
tr.drtbg51-1tp-8 td { /*二級国道*/
background-color: moccasin; /*薄橙*/
}
tr.drtbg51-1tp-9 td { /*大正国道*/
background-color: mistyrose;
}
tr.drtbg51-1tp-10 td { /*府県道、地方費道*/
background-color: tan; /*薄茶*/
}

tr[class^="drtbg51-1tp"] td:nth-child(1) {
width: 14%;
text-align: center;
}
tr[class^="drtbg51-1tp"] td:nth-child(2) {
width: 24%;
}
tr[class^="drtbg51-1tp"] td:nth-child(3) {
width: 30%;
}
tr[class^="drtbg51-1tp"] td:nth-child(4) {
width: 30%;
}
tr.drtbg51-1bl td:nth-child(1) {
font-weight: bold;
}
tr.drtbg51-1bl td:nth-child(2) {
font-weight: bold;
}

/*ここまで*/



/*ここから国道前身路線表-一覧*/
/*400px, 100%C*/
table.drtbg51-footer {
border-collapse: collapse;
width: 400px;
border-width: 2px;
border-style: solid;
border-color: black;
margin-top: 20px;
margin-left: auto;
margin-right: auto;
}
table.drtbg51-footer th {
background-color: wheat;
}
tr.drtbg51-footer-n td {
background-color: white;
}
tr.drtbg51-footer-b td {
background-color: mistyrose;
font-weight: bold;
}
table.drtbg51-footer td {
text-align: center;
}

/*ここまで*/



/*ここから主要地方道告示*/
/*750px, 23%LM,2@20%LT,2@18%LT*/
table.drtbg61 {
border-collapse: collapse;
width: 750px;
border-width: 2px;
border-style: solid;
border-color: black;
margin-bottom: 20px;
}
table.drtbg61 th {
background-color: wheat;
}

table.drtbg61 td:nth-child(1) {
width: 23%;
}
table.drtbg61 td:nth-child(2) {
width: 20%;
vertical-align: top;
}
table.drtbg61 td:nth-child(3) {
width: 20%;
vertical-align: top;
}
table.drtbg61 td:nth-child(4) {
width: 18%;
vertical-align: top;
}
table.drtbg61 td:nth-child(5) {
width: 18%;
vertical-align: top;
}
tr.drtbg61noul td:nth-child(1) {
border-bottom: none;
}

/*ここまで*/





/*使用箇所不明*/
dl.listdl {
padding-bottom: 1em;
}
dl.listdl dt {
float: left;
font-weight: bold;
padding-left: 1em;
margin-bottom: 0.3em;
width: 5em;
}
dl.listdl dd {
padding-left: 4em;
margin-bottom: 0.3em;
}


/* ---------- */





/* ++++++++++ */

/* 以下、レスポンシブ関連 */

/*960px以上用ここから*/
@media screen and (min-width:960px) 
{
 div.areaofcaption {
 width: 770px;
 }
 .display_if_mobile {
 display: none;
 }/*480px未満の場合のみ表示するコンテンツ*/
}

/*960px以上用ここまで*/



/*840px以上960px未満用ここから*/
@media screen and (min-width:840px) and (max-width:959px) 
{
 div.areaofcaption {
 width: 770px;
 }
 .display_if_mobile {
 display: none;
 }/*480px未満の場合のみ表示するコンテンツ*/
}

/*840px以上960px未満用ここまで*/



/*480px以上840px未満用ここから*/
@media screen and (min-width:480px) and (max-width:839px) 
{
 div.areaofcaption {
 min-width: 400px;
 overflow-x: scroll;
 }
 div.table_outerdiv_general,
 div.table_outerdiv_noicon {
 max-width: calc(100% - 50px);
 overflow-x: scroll;
 max-height: 85vh;
 overflow-y: scroll;
 }/*table囲みのdivに対してoverflow-scrollを設定*/
 .display_if_mobile {
 display: none;
 }/*480px未満の場合のみ表示するコンテンツ*/
}

/*480px以上840px未満用ここまで*/



/*480px未満用ここから*/
@media screen and (max-width:479px) 
{
 div.areaofcaption {
 min-width: 370px;
 overflow-x: scroll;
 }

 .areaofcaption:before {
 content: '';
 display: inline-block;
 width: 80px;
 height: 80px;
 background-image: url(../tbscr_400.png);
 background-size: contain;
 margin-left: 20px;
 }

 .table_outerdiv_general:before {
 content: '';
 display: inline-block;
 width: 80px;
 height: 80px;
 background-image: url(../tbscr_400.png);
 background-size: contain;
 margin-left: 20px;
 }

 div.table_outerdiv_general,
 div.table_outerdiv_noicon {
 overflow-x: scroll;
 max-height: 85vh;
 overflow-y: scroll;
 }/*table囲みのdivに対してoverflow-scrollを設定*/

 li.display_if_mobile {
 display: list-item;
 }/*480px未満の場合のみ表示するリスト*/

 h1 {
 font-size: 200%;
 }

 h2 {
 font-size: 175%;
 }

 h3 {
 font-size: 150%;
 }

 h3::before {
 font-size: 200%;
 }

 h4 {
 font-size: 120%;
 }

 p {
 font-size: 120%;
 }

 td {
 font-size: 110%;
 }

 tr {
 font-size: 110%;
 }

 li {
 font-size: 120%;
 }

 dt {
 font-size: 120%;
 }

 dd {
 font-size: 120%;
 }

 a.fnlink {
 font-size: 100%;
 }
}

/*480px未満用ここまで*/

/* ---------- */

/*EOF*/