@charset "utf-8";

/* CSS Document */
*, *:before, *:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font: 16px/140% "ＭＳ Ｐゴシック", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "Osaka", sans-serif;
  margin: 0 10px;
}

img {
  outline: none;
  border-style: none;
  vertical-align: middle;
}

a {
  color: blue;
}

a:visited {
  color: blue;
}

a:hover {
  color: blue;
}

iframe {
  border: none;
  overflow: hidden;
  overflow-x: hidden;
  overflow-y: hidden;
}

/*** iFrameの中の表示調整（基本的には各IDで・・・） ***/
/* iframeBase-1024pxが最大サイズとする  */
.iframeBase{
  max-width: 1024px;
  width: 100%;
}

/*** 災害対策本部設置状況 ***/
/*** 480 ***/
@media only screen and (min-width : 480px) and (max-width : 767px) {
  #measures {
  }
}
/*** 320 ***/
@media only screen and (min-width : 320px) and (max-width : 479px) {
  #measures {
    transform: scale(0.45);
    -moz-transform: scale(0.45);
    -webkit-transform: scale(0.45);
    -o-transform: scale(0.45);
    -ms-transform: scale(0.45);
    transform-origin: 0 0;
    -moz-transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
    -o-transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    width: 220%;
    margin-bottom: -620px;
  }
}
/*** 縮小しない ***/
@media only screen and (max-width : 319px) {
  #measures {
  }
}

/*** 避難勧告 ***/
/*** 480 ***/
@media only screen and (min-width : 480px) and (max-width : 767px) {
  #escape {
  }
}
/*** 320 ***/
@media only screen and (min-width : 320px) and (max-width : 479px) {
  #escape {
    transform: scale(0.5);
    -moz-transform: scale(0.5);
    -webkit-transform: scale(0.5);
    -o-transform: scale(0.5);
    -ms-transform: scale(0.5);
    transform-origin: 0 0;
    -moz-transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
    -o-transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    margin-bottom: -300px;
    width: 200%;
  }
}

/*** 縮小しない ***/
@media only screen and (max-width : 319px) {
  #escape {
  }
}

/*** 防災マップ ***/
#summary {
  max-width: 1024px;
}
@media only screen and (max-width : 768px) {
  #summary {
    transform: scale(0.5);
    -moz-transform: scale(0.5);
    -webkit-transform: scale(0.5);
    -o-transform: scale(0.5);
    -ms-transform: scale(0.5);
    transform-origin: 0 0;
    -moz-transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
    -o-transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    margin-bottom: -300px;
    margin-right: -100%;
    width: 200%;
  }
}

/*** ヘッダー ***/
header {
  overflow: hidden;
  background: linear-gradient(to left, rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0.8) 70%,
    rgba(255, 255, 255, 1)),
    url("./_template_/_site_/_default_/_res/design/images/bk.jpg") right top;
  padding: 2px;
}

/*** ナビ ***/
/*デバイスの横幅が769以上の場合*/
@media only screen and (min-width : 769px) {
  nav {
    padding: 0 10%;
  }

  nav ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    list-style: none;
    padding-left: 0;
  }

  nav li {
    flex-grow: 1;
    text-align: center;
  }
}

/*デバイスの横幅が768以下の場合*/
@media only screen and (max-width : 768px) {
  nav {
    padding: 0px 2px;
  }

  nav ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    align-items: stretch;
    list-style: none;
    padding-left: 0;
    flex-wrap: wrap;
  }

  nav li {
    flex-grow: 1;
    text-align: center;
    flex-basis: 48%;
  }
}

nav a {
  display: block;
  background: linear-gradient(#ff7f24, #994c15);
  border-width: 1px;
  border-color: #994c15;
  border-style: solid;
  padding: 15px 10px;
  color: white;
  text-decoration: none;
  height: 100%;
}

nav a:hover {
  background: linear-gradient(#d3d3d3, #333333);
  color: white;
}

nav a:visited {
  color: white;
}

/*** パンくず ***/
#pankuzu {
  padding: 0 10px;
  margin: 10px 0;
}

/*** フッター ***/
footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin: 10px 0px;
}

footer ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  list-style: none;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

footer li {
  text-align: center;
  margin: 0px 5px;
}

footer li a {
  display: block;
}

/*** お問合せ ***/
/*デバイスの横幅が769以上の場合*/
@media only screen and (min-width : 769px) {
  #contact {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: flex-end;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    ;
  }
}

/*デバイスの横幅が768以下の場合*/
@media only screen and (max-width : 768px) {
  #contact {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }
}

#contact {
  padding: 10px;
  background: linear-gradient(#ffdd99, #ffffff);
  border-style: solid;
  border-width: 1px 0px 1px 0px;
  border-color: #ff7733;
}

#contact p {
  font-weight: bold;
}

#footer_link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

/*デバイスの横幅が768以下の場合*/
@media only screen and (max-width : 768px) {
  #footer_link ul {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  #footer_link a {
    white-space: nowrap;
  }
}

#footer_link ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  margin: 0 auto;
  padding-left: 0px;
}

#copyright {
  text-align: center;
  padding-bottom: 10px;
  border-style: dashed;
  border-width: 0px 0px 1px 0px;
  border-color: #696969;
}

/*** トップページ ***/
#top_page {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
}

/*デバイスの横幅が769以上の場合*/
@media only screen and (min-width : 769px) {
  #top_content {
    flex: 2;
  }

  #side_nav {
    flex: 1;
  }
}

/*デバイスの横幅が768以下の場合*/
@media only screen and (max-width : 768px) {
  #top_page {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
  }
}

#side_nav {
  margin-right: 10px;
}

/** サイドメニュー***/
.side_menu h2 {
  background-color: #ffdd99;
  padding: 5px 0px 0px 10px;
  border-style: solid;
  border-width: 0px 0px 0px 10px;
  border-color: #ff7733;
  margin-bottom: 0px;
}

.side_menu>.frame {
  border-width: 1px;
  border-color: #ff7733;
  border-style: solid;
  padding: 5px 0px 10px 10px;
}

/*** お知らせ ***/
.oshirase {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.oshirase_title {
  font-size: 110%;
  margin: 0px 5px 5px 0px;
  padding: 5px 0px 0px 10px;
  border-style: solid;
  border-width: 0px 0px 1px 10px;
  border-color: #ff7733;
}

.oshirase_link {
  display: none;
  margin: 0px 5px 5px 15px;
}

.oshirase_link a {
  color: blue;
  text-decoration: none;
}

.oshirase_link a:hover {
  color: blue;
  text-decoration: underline;
}

.oshirase_link a:visited {
  color: blue;
  text-decoration: none;
}
.list_style_mark{
  list-style-image: url(../images/mark.gif);
}
.list_style_none{
  list-style: none;
}

.detail_title{
  font-size: 110%;
  margin: 0px 5px 5px 0px;
  padding: 5px 0px 0px 10px;
  border-style: solid;
  border-width: 1px;
  border-color: #ff7733;
  background-color: #f7f6cf;
}

/*** TOPページ ***/
.top_section {
  margin-bottom: 10px;
}

.top_section h2 {
  background-color: #ffe5cc;
  border-style: solid;
  border-width: 0px 0px 0px 10px;
  padding: 5px 0px 0px 10px;
  margin-bottom: 0;
  border-color: #ff7733;
}

.top_section>.frame {
  background-color: white;
  border-width: 1px;
  border-color: #ff7733;
  border-style: solid;
  padding: 2%;
}

/** その他のページ **/
#contents {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin: 0;
}

#contents h1 {
  width: 100%;
  text-align: left;
  padding-left: 10px;
  border-top: double;
  border-bottom: double;
  border-width: 5px;
  border-color: #FC750F;
}

#contents h2 {
  background-color: #ffdd99;
  padding: 5px 0px 0px 10px;
  border-style: solid;
  border-width: 0px 0px 2px 10px;
  border-color: #ff7733;
}

#contents h2.orange2 {
  background-color: white;
  border-color: #ff7733;
}

#contents h2.green {
  background-color: #d8f1be;
  border-color: #009900;
}

#contents h2.green2 {
  background-color: white;
  border-color: #009900;
}

#contents > div {
  margin: 0 10px;
}

/*** 半分に分ける場合 */
#content_page{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
}
/*デバイスの横幅が769以上の場合*/
@media only screen and (min-width : 769px) {
  #content_page{
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;

  }

  #main_content {
    flex: 2;
    margin-right: 5px;
  }

  #sub_content {
    flex: 1;
    margin-left: 5px;
  }
}
/*デバイスの横幅が768以下の場合*/
@media only screen and (max-width : 768px) {
  #content_page{
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}

/*** サイトマップ */
.sitemap{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
}
/*デバイスの横幅が769以上の場合*/
@media only screen and (min-width : 769px) {
  .sitemap{
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }

  .sitemap_left,
  .sitemap_right{
    flex: 1;
  }
}
/*デバイスの横幅が768以下の場合*/
@media only screen and (max-width : 768px) {
  .sitemap{
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}

/*** 共通 ***/
/* 右寄せ */
.rtext {
  text-align: right;
}

/* 中央 */
.ctext {
  text-align: center;
}

/* 左寄せ */
.ltext {
  text-align: left;
}

/* 画像左寄せ */
.limg {
  float: left;
}

/* 横並び */
/* 左寄せ */
.dfxrst {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
}

/* 中央ー等間隔ー */
.dfxrbt {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

/* 中央 */
.dfxrct {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
}

/* 右寄せ */
.dfxred {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

/* 縦並び */
.dfxcst {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

/* フォント */
@media only screen and (min-width : 769px) {
  h1 {
    font-size: 150%;
    font-weight: bold;
    line-height: 150%;
  }

  h2 {
    font-size: 100%;
  }
}
/*デバイスの横幅が768以下の場合*/
@media only screen and (max-width : 768px) {
  h1 {
    font-size: 120%;
    line-height: 120%;
  }

  h2 {
    font-size: 100%;
    margin: 1em 0 0.8em 0;
  }
}

/* 通常サイズ */
.ftb120 {
  font-size: 120%;
  font-weight: bold;
}

/* マージン */
/* 左マージン10px */
.lmg10 {
  margin-left: 10px;
}
/* 左マージン20px */
.lmg20 {
  margin-left: 20px;
}
/* 左マージン-25px */
.lmgm25{
  margin-left: -25px;
}
/* 幅 */
.width100{
  width: 100%;
}
