/* =reset
-------------------------------------------------------------- */
h1,h2,h3,h4,p,ul,li {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

/* =layout
-------------------------------------------------------------- */
.content-width {
  width: 1024px;
  padding: 0 12px;
  margin: 0 auto;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.wide {
  letter-spacing: 0.3rem;
}
.button {
  text-align: center;
}
.button a {
  position: relative;
  display: inline-block;
  background: #009bdf;
  color: #fff;
  text-decoration: none;
  font-size: 1.6rem;
  padding: 20px 90px;
  margin: 0 auto;
  border-radius: 5px;
}
.button a::after {
  content: '';
  display: block;
  position: absolute;
  right: 20px;
  bottom: 30px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 4px 0 4px 8px;
  border-color: transparent transparent transparent #fff;
}
/* =home common
-------------------------------------------------------------- */
#home .sec-ttl {
  display: block;
  text-align: center;
  color: #009ceb;
  font-size: 2.5rem;
}

/* =header
-------------------------------------------------------------- */
#header .mainvisual {
  width: 100%;
}
#header .main-ttl {
  top: 50px;
  left: 0;
  right: 0;
  margin: auto;
  text-align: center;
}
#header .sec-ttl {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  height: 348px;
}
#header #size p {
  line-height: 1;
  padding-top: 8px;
  padding-bottom: 8px;
}
#header #size #text {
  top: 20px;
  right: 120px;
  color: #fff;
  font-size: 1.5rem;
}
#header #size #normal {
  top: 20px;
  right: 60px;
  background: #fff;
  color: #005e8a;
  font-size: 1.4rem;
  padding: 8px 5px;
  border: 1px solid #fff;
  border-radius: 5px 0 0 5px;
  cursor: pointer;
  transition: .3s;
}
#header #size #large {
  top: 20px;
  right: 20px;
  background: #fff;
  color: #005e8a;
  font-size: 1.4rem;
  padding: 8px 12px;
  border: 1px solid #fff;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  transition: .3s;
}
#header #size .active ,
#header #size #normal:hover ,
#header #size #large:hover {
  background: #005e8a !important;
  color: #fff !important;
  transition: .3s;
}

/* =footer
-------------------------------------------------------------- */
#footer {
  background: url('../images/bg_footer.png')
   no-repeat scroll center top;
  -webkit-background-size: cover;
  background-size: cover;
}
#footer .inner {
  padding: 40px 0;
}
#footer .inner .content-box {
  top: 40px;
  left: 0;
  right: 0;
  margin: auto;
}
#footer #pagetop {
  text-align: center;
  margin: 0 0 60px;
}
#footer .nav {
  text-align: center;
  margin: 0 0 20px;
}
#footer .nav a {
  display: inline-block;
  padding: 0 1.6rem;
  line-height: 1.2;
  border-right: 1px solid #fff;
  color: #fff;
}
#footer .nav a:first-child {
  padding-left: 0;
}
#footer .nav a:last-child {
  border-right: none;
  padding-right: 0;
}
#footer .external {
  background: url('../images/ico_link_w.png')
   no-repeat scroll center right;
  padding-right: 2rem;
}
#footer ul {
  list-style-type: none;
  text-align: center;
  font-weight: bold;
  color: #fff;
  margin: 55px 0 0;
}
#footer li {
  display: block;
  letter-spacing: 0.1rem;
}
#footer li:last-child {
  margin-top: 0.4rem;
}
#footer #copy {
  background: #005e8a;
  padding: 10px 0;
  text-align: center;
}
#footer #copy p {
  color: #fff;
  font-size: 1.2rem;
}

/* =about
-------------------------------------------------------------- */
#about {
  padding: 55px 0;
}
#about .sec-ttl {
  margin: 0 0 40px;
}

/* =movie
-------------------------------------------------------------- */
#movie {
  background: url('../images/bg_movie.png')
   no-repeat scroll center bottom;
  -webkit-background-size: cover;
  background-size: cover;
  padding: 50px 0 60px;
}
#movie .sec-ttl {
  margin: 0 0 40px;
}
#movie .sec-ttl span::before {
  content: url('../images/img_movie.png');
  position: absolute;
  top: 0;
  left: -55px;
}
#movie .sec-ttl span::after {
  content: url('../images/img_movie.png');
  position: absolute;
  top: 0;
  right: -55px;
  transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  -o-transform: scaleX(-1);
  -moz-transform: scaleX(-1);
}
#movie #movie-area {
  background: url('../images/bg_movie_area.png')
   repeat scroll;
  width: 570px;
  height: 325px;
  margin: 0 auto;
}
#movie #movie-area video {
  padding: 5px;
  cursor: pointer;
}
#movie #movie-area #poster {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  /*pointer-events: none;*/
  display: block !important;
}
#movie-data {
  text-align: center !important ;
}
#movie p {
  text-align: center;
  margin: 30px 0 0;
}
/* =gnav
-------------------------------------------------------------- */
#gnav {
  padding: 60px 0 30px;
}
#gnav .main-nav {
  margin-bottom: 2%;
}
#gnav .main-nav li {
  background: url('../images/bg_nav.png');
  background-repeat: repeat;
  padding: 5px;
  width: 23.5%;
  margin-right: 2%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#gnav .main-nav li:nth-child(4) {
  margin-right: 0;
}
#gnav .main-nav a {
  background: #fff;
  color: #000;
  padding: 8px 0;
  line-height: 1.4;
  text-align: center;
  width: 100%;
  text-decoration: none;
  letter-spacing: 0.2rem;
}
#gnav .main-nav a:last-child {
  border-right: none;
}
#gnav .main-nav a:hover {
  background: #f2fafe;
  color: #009ceb;
}
#gnav .main-nav .external {
  background: url('../images/ico_link_b.png')
   no-repeat scroll center right;
  padding-right: 2rem;
}
/*#gnav .sub-nav {
  margin: 20px 0;
  text-align: right;
}
#gnav .sub-nav a {
  position: relative;
  margin-right: 50px;
  letter-spacing: 0.2rem;
}
#gnav .sub-nav a:last-child {
  margin-right: 0;
}
#gnav .sub-nav a::before {
  content: '';
  display: block;
  position: absolute;
  left: -15px;
  bottom: 10px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 2.5px 0 2.5px 5px;
  border-color: transparent transparent transparent #009deb;
}*/


/* =info
-------------------------------------------------------------- */
#info {
  padding: 30px 0 60px;
}
#info table {
  border-left: none;
  margin: 40px 0;
}
#info th ,
#info td {
  border-right: none;
  padding: 18px 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#info th {
  background: none;
  width: 14.5rem;
}
#info td:first-of-type {
  background: url('../images/ico_info.png')
   no-repeat scroll center left;
  color: #999;
  padding: 18px 18px 18px 40px;
}
#info td:last-of-type {
  width: 17.5rem;
}
#info td:last-of-type a {
  color: #009bdf;
}
/* =page common  下層ページ共通
-------------------------------------------------------------- */
.page #header .sec-ttl {
  font-size: 3rem;
  color: #005e8a;
  text-align: center;
  height: 1rem;
}
.page #header #size #text {
  color: #005e8a
}
#breadcrumb {
  padding: 20px 0;
}
#breadcrumb a {
  color: #009bdf;
}
#content {
  padding: 30px 0;
}
.sec-text {
  text-align: center;
  font-size: 1.8rem;
}
.item-container {
  padding: 50px 0;
  border-bottom: 1px solid #ddd;
}
.item-container:first-of-type {
  padding-top: 0;
}
.item-container:last-of-type {
  border-bottom: none;
}
.page .button a.prev {
  margin-right: 3rem !important;
}
.page .button a.prev::after {
  left: 20px;
  border-width: 4px 8px 4px 0 !important;
  border-color: transparent #fff transparent transparent !important;
}

/* =archive  新着情報一覧
-------------------------------------------------------------- */

.page #info table {
  margin-top: 0;
}

/* =single  新着情報詳細
-------------------------------------------------------------- */
#single #article {
  padding: 30px 0 60px;
}
#single #article #article-title {
  display: table;
  width: 100%;
  border-bottom: 2px solid #ddd;
}
#single #article #article-title .sec-ttl {
  display: table-cell;
  vertical-align: bottom;
  font-size: 3rem;
}
#single #article #article-title p {
  display: table-cell;
  vertical-align: bottom;
  font-size: 2rem;
  width: 16%;
  text-align: right;
}
#single #article #article-content {
  padding: 30px 0;
  margin-bottom: 30px;
  border-bottom: 2px solid #ddd;
}
#single #article #article-content h2 ,
#single #article #article-content h3 {
  display: inline-block;
  font-weight: normal;
  font-size: 2rem;
  margin: 2rem 0;
}
#single #article #article-content p {
  margin: 1rem 0;
}
#single #article #article-content ul {
  padding-left: 2rem;
  margin: 2rem 0px;
}
#single #article #article-content img {
  margin: 1rem;
}
#single #article #article-content table th {
  background: #009bdf;
  color: #fff;
  font-weight: normal;
}
/* =activity 取り組み
-------------------------------------------------------------- */
#activity .pref-box {
  padding: 30px 0;
  width: 100px;
}
#activity .pref-box p {
  background: #009bdf;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  font-size: 1.8rem;
  color: #fff;
  text-align: center;
  vertical-align: middle;
  padding-top: 0;
}
#activity .niigata .pref-box p {
  background: #ffcc00;
}
#activity .toyama .pref-box p {
  background: #81d700;
}
#activity .ishikawa .pref-box p {
  background: #0067d9;
}
#activity .ttl-box {
  padding: 30px;
}
#activity .sub-ttl {
  font-size: 2.5rem;
}
#activity .img-container {
  text-align: center;
  font-size: 0;
}
#activity .img-container .inner-box {
  display: inline-block;
}
#activity .img-container .before-box {
  margin-right: 160px;
  position: relative;
}
#activity .img-container .before-box::after {
  content: '';
  display: block;
  position: absolute;
  top: 110px;
  right: -100px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 20px 0 20px 40px;
  border-color: transparent transparent transparent #009cdf;
}
#activity .niigata .img-container .before-box::after {
  border-color: transparent transparent transparent #ffcc00;
}
#activity .toyama .img-container .before-box::after {
  border-color: transparent transparent transparent #81d700;
}
#activity .ishikawa .img-container .before-box::after {
  border-color: transparent transparent transparent #0067d9;
}
#activity .img-container .inner-box p {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

/* =law 道路法第37条占用制限
-------------------------------------------------------------- */
#law .item-container .button {
  margin: 50px 0 0;
}
#law th {
  background: #009bdf;
  color: #fff;
  font-weight: normal;
}
#law #law-area td:nth-child(n+2) {
  text-align: center;
}
#law #law-road td:nth-child(5)  {
  text-align: right;
}
#law #law-road td:last-child {
  text-align: center;
}
/* =schedule  電線及び電柱の撤去予定時期等
-------------------------------------------------------------- */
#schedule .update {
  text-align: right;
  font-size: 1.6rem;
}
#schedule table {
  margin-top: 0;
}
#schedule th {
  background: #009bdf;
  color: #fff;
  font-weight: normal;
  text-align: center;
}
#schedule th:first-child {
  width: 7%;
}
#schedule th:nth-child(2) {
  width: 10%;
}
#schedule th:nth-child(3) {
  width: 10%;
}
#schedule th:nth-child(4) {
  width: 17%;
}
#schedule th:nth-child(5) {
  width: 11%;
}
#schedule th:nth-child(6) {
  width: 13%;
}
#schedule th:nth-child(7) {
  width: 12%;
}
#schedule th:last-child {
  width: 20%;
}
#schedule td {
  text-align: center;
}
#schedule td:nth-child(4) {
  text-align: left;
}

/* =enquete  アンケート
-------------------------------------------------------------- */
#enquete .item-box {
  padding: 0 0 0 100px;
}
#enquete .pref-box {
  padding: 30px 0;
  width: 100px;
}
#enquete .pref-box p {
  background: #009bdf;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  font-size: 2.5rem;
  color: #fff;
  text-align: center;
  vertical-align: middle;
}
#enquete .ttl-box {
  padding: 30px;
}
#enquete .sub-ttl {
  font-size: 2.5rem;
}
#enquete .sub-ttl span {
  font-size: 1.6rem;
}
#enquete .graph-box {
  width: 300px;
  margin: 0 auto;
  text-align: center;
}
#enquete .comment-box {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
#enquete .comment-box .comment-inner {
  display: inline-block;
  vertical-align: top;
  width: 28%;
  margin-right: 3%;
}
#enquete .person-box .comment-inner {
  vertical-align: bottom;
}
#enquete .comment-box .comment-inner img {
  width: 40%;
}
#enquete .comment-box .comment-inner:last-child {
  margin-right: 0;
}
#enquete .item-container:nth-of-type(3) .graph-box ,
#enquete .item-container:nth-of-type(3) .text-box {
  width: 100%;
}
#enquete   .subgraph-box {
  text-align: center;
}
#enquete .upper-box ,
#enquete .lower-box {
  margin: 0 3rem;
  padding: 3rem 0;
  border: 1px solid #7dd7ff;
}
#enquete .upper-box {
  margin-bottom: 2rem;
}
#enquete .upper-box .sub-graph {
  margin-bottom: 1.5rem;
}
#enquete .upper-box .sub-graph ,
#enquete .lower-box .sub-graph {
  width: 150px;
  display: inline-block;
  margin-right: 50px;
}
#enquete .upper-box .sub-graph:last-of-type ,
#enquete .lower-box .sub-graph:last-of-type {
  margin-right: 0;
}
#enquete .sub-graph .positive {
  color: #ec5800;
}
#enquete .sub-graph .negative {
  color: #0067d9;
}
#enquete .upper-box p ,
#enquete .lower-box p {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}
#enquete .item-container .comment-box p {
  font-size: 1.4rem;
  color: #fff;
  text-align: left;
  margin: 3rem auto;
  padding: 1rem;
  background: #009bdf;
  border-radius: 10px;
  position: relative;
}
#enquete .item-container:nth-of-type(3) .comment-box p ,
#enquete .item-container:nth-of-type(4) .comment-box p {
  width: 50%;
}
#enquete .item-container .comment-box p:after {
  position: absolute;
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 5px 0 5px;
  border-color: #009bdf transparent transparent transparent;
  bottom: -9px;
  left: 0;
  right: 0;
  margin: auto;
}

#enquete .item-container:nth-of-type(3) .comment-box span::before {
  top: 10px;
  left: -120px;
}
#enquete .item-container:nth-of-type(3) .comment-box span::after {
  top: 10px;
  right: -120px;
}
#enquete .legend-box {
  text-align: center;
  margin-top: 1rem;
}
#enquete .legend-box ul {
  list-style-type: none;
}
#enquete .legend-box ul li {
  font-size: 1.5rem;
  text-align: left;
  text-indent: -2em;
  padding-left: 2em;
}
#enquete .legend-box ul li:first-child span {
  color: #df4400;
}
#enquete .legend-box ul li:last-child span {
  color: #009bdf;
}
#enquete .item-container:first-of-type .legend-box {
  bottom: 0;
  right: -75px;
}
#enquete .item-container:nth-of-type(2) .legend-box {
  bottom: 0;
  right: -120px;
}