/*
 * Global
 */

.home-profile {
  margin-top: 8px;
}
.home-profile .btn {
  max-width: 200px;
  margin-left: auto; margin-right: auto;
  padding: 8px 8px 8px 40px;
  box-shadow: 0 -1px 1px rgba(0, 0, 0, 0.2) inset;
}
.btn-profile {
  margin-bottom: 4px;
  background: url('/common/images/btn-icon-sakegawa.png') no-repeat left center;
}
.btn-access {
  background: url('/common/images/btn-icon-access.png') no-repeat left center;
}



/**
 * Header
 */

.header {
  position: relative;
}
.site-logo {
  border-top: 5px solid #223A70;
}
.site-logo img {
  max-width: 60%;
  padding: 16px 8px;
}

.cover { display: none; }

@media screen and ( min-width: 768px ), print {
  .site-logo {
    position: absolute; top: -5px;
    z-index: 10;
    width: 260px;
    height: 130px;
    margin-left: 32px;
    border-radius: 0 0 8px 8px;
    border-top: 5px solid #223A70;
    background-color: #fff;
    background: -moz-linear-gradient(top,  #ffffff 40%, #e6e6e6 100%);
    background: -webkit-linear-gradient(top,  #ffffff 40%,#e6e6e6 100%);
    background: linear-gradient(to bottom,  #ffffff 40%,#e6e6e6 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e6e6e6',GradientType=0 );
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  }
  .site-logo img {
    max-width: 100%;
    padding: 30px 18px;
  }

  .cover {
    display: block;
    position: relative;
    overflow: hidden;
  }

  .owl-dot.active span {
    background-color: #223a70;
    /*box-shadow: 0 0 3px rgba(255, 255, 255, 1);*/
  }

  /* page header */
  .page__header .site-logo {
    height: 90px;
  }
  .page__header .site-logo img {
    padding: 12px 18px 0 18px;
  }
  .page__header .cover {
    width: 1024px; height: 130px;
    margin: 0 auto;
    background-image: url('/common/images/page-header-cover.jpg');
    background-position: center center;
    background-size: cover;
  }
}

.home-sakkey {
  display: none;
}
@media screen and ( min-width: 768px ), print {
  .home-sakkey {
    display: block;
    position: absolute; top: 240px; left: 50%;
    width: 169px;
    margin-left: 300px;
    text-align: right;
  }
}

/**
 * Header Global Navigation
 */

.global-nav {
  position: relative;
  background-color: #223A70;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
@media screen and ( max-width: 767px ) {
  .global-nav__pc { display: none; }
  .sp-nav {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-around;
    justify-content: space-around;
  }
  .sp-nav li {
    flex: 1;
    height: 48px; line-height: 48px;
    border-left: 1px solid rgba(255, 255, 255, 0.8);
    color: #fff;
    font-size: 1.6rem;
    text-align: center;
  }
  .sp-nav li:first-child {
    border-left: none;
  }
  .sp-menu {
    background-color: #50628d;
  }
  .jsSpMenu, .jsSpSearch, .jsSpContact {
    display: none;
    background-color: #50628d;
  }
  .jsSpMenu-flex-container {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-around;
    justify-content: space-around;
  }
  .global-nav__list {
    flex: 1;
  }
  .global-nav__list:first-child {
    border-right: 1px solid rgba(255, 255, 255, 0.5);
  }
  .global-nav__item {}
  .global-nav__item a {
    display: block;
    padding: 12px 16px;
    color: #fff;
    text-decoration: none;
  }
  .global-nav__item > a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  }
  .jsSpMenu .jsToggleMenu {
    padding: 16px;
    text-align: center;
    color: #fff;
  }
  .jsSpSearch {
    position: relative;
    padding: 16px 8px;
    color: #fff;
  }
  .jsSpSearch label {
    display: none;
    margin-bottom: 4px;
  }
  .jsSpSearch input {
    display: block;
    width: 100%;
    padding: 6px 8px;
    border-radius: 20px;
    background-color: #fff;
    color: #000;
  }
  .jsSpSearch input::-webkit-input-placeholder { position: relative; top: 3px; }
  .jsSpSearch button {
    position: absolute;
    top: 14px; right: 18px;
    padding: 8px;
    color: #404040;
    font-size: 1.6rem;
  }
}
@media screen and ( min-width: 768px ), print {
  .global-nav {
    position: relative;
    height: 64px;
    background-color: #223A70;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  }
  .global-nav__sp { display: none; }

  .global-nav__list {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-around;
    justify-content: space-around;
    list-style: none;
  }
  .global-nav__item {
    position: relative;
  }
  .global-nav__item > a {
    position: relative; top: -16px;
    display: block;
    width: 190px; height: 0; padding-top: 64px; overflow: hidden;
    border-radius: 12px;
    border: 1px solid #808080;
    box-shadow: 0 3px 0 #808080;
    background-color: #fff;
    color: #333;
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition-duration: 0.2s;
  }
  .global-nav__item.home > a {
    background: #fff url('/common/images/global-nav-home.png') no-repeat center center;
  }
  .global-nav__item.life > a {
    background: #fff url('/common/images/global-nav-life.png') no-repeat center center;
  }
  .global-nav__item.industry > a {
    background: #fff url('/common/images/global-nav-industry.png') no-repeat center center;
  }
  .global-nav__item.business > a {
    background: #fff url('/common/images/global-nav-business.png') no-repeat center center;
  }
  .global-nav__item.government > a {
    background: #fff url('/common/images/global-nav-government.png') no-repeat center center;
  }
  .global-nav__item > a:hover {
    opacity: 1;
    -webkit-filter: brightness(0.8);
    filter: brightness(0.8);
  }

  .global-nav__dropdown {
    display: none;
    width: 100%;
    border-radius: 10px;
    list-style: none;
  }
  .global-nav__item:hover .global-nav__dropdown {
    display: block;
    position: absolute; top: 50px;
    border-radius: 10px;
    animation: fade-in 0.3s;
  }
  @keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
  @-webkit-keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
  .global-nav__dropdown li {
    border-left: 2px solid #808080;
    border-right: 2px solid #808080;
    background-color: #fff;
  }
  .global-nav__dropdown li:first-child {
    border-radius: 10px 10px 0 0;
    border-top: 2px solid #808080;
  }
  .global-nav__dropdown li:last-child {
    border-radius: 0 0 10px 10px;
    border-bottom: 2px solid #808080;
  }
  .global-nav__dropdown a {
    display: block;
    padding: 16px;
    border-bottom: 1px solid #ccc;
    color: #303030;
    text-decoration: none;
    transition-duration: 0.2s;
  }
  .global-nav__dropdown li:last-child a {
    border-bottom: none;
  }
  .global-nav__dropdown .fa {
    margin-right: 8px;
    color: #8e9ab7;
  }
  .global-nav__dropdown li:hover {
    background-color: #e0e0e0;
  }
  .global-nav__dropdown a:hover {
    opacity: 1;
    text-decoration: none;
  }

}

/**
 * Footer
 */

.footer {
  background-color: #E5E8EE;
}

.copyright {
  background-color: #223A70;
  color: #fff;
}

@media screen and ( min-width: 768px ), print {
  .footer .container {
    background: transparent url('../images/footer-totoro.png') no-repeat right bottom;
  }
  .footer-flex-container {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;   
  }
  .footer-primary {
    flex-basis: 28%;
    border-right: 1px solid #ccc;
  }
  .footer-secondary {
    display: block;
    flex-basis: 70%;
  }
  .footer-menu-flex-container {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
  }
  .footer-menu-flex-item {
    flex-basis: 28%;
  }
  .footer-menu-flex-item:last-child {
    flex-basis: 16%;
  }

  .footer-menu, .footer-menu-2, .footer-menu-3 {
    list-style: none;
  }
  .footer-menu > li {
    margin-bottom: 8px;
    padding: 0;
  }
  .footer-menu > li > a {
    padding-left: 14px;
    background: transparent url('../images/footer-menu-icon-ul.png') no-repeat left 4px;
  }
  .footer-menu-2 > li > a {
    padding-left: 14px;
    background: transparent url('../images/footer-menu-icon-ul-ul.png') no-repeat left 4px;
  }
  .footer-menu-3 {
    padding-left: 1em;
    list-style: none;
  }
  .footer-menu a, .footer-menu-2 a, .footer-menu-3 a {
    color: #000;
    text-decoration: none;
  }
}

/**
 * Site Tools
 */
@media screen and ( max-width: 767px ) {
  .site-tools .translation {
    position: absolute; top: 38px; right: 8px;
  }
}
@media screen and ( min-width: 768px ), print {
  .site-tools .fontsize > .btn.active { background: #576d9e; color: #ffffff; }
}

/**
 * Home
 */

.section h2 {
  padding: 8px 0 4px 30px;
  border-bottom: 3px solid #223a70;
  font-size: 1.8rem;
  letter-spacing: -1px;
}
.section.rounded-border h2 {
  padding-left: 36px;
  background-position: 6px center;
  font-size: 1.6rem;
}

.home-emergency, .home-bosaimusen {
  border: 1px solid #ccc;
  background-color: #f8edda;
}
.home-emergency h2 {
  padding: 6px 8px 6px 34px;
  border: none;
  background: #d0162d url('../images/icon-emergency.png') no-repeat 4px center;
  color: #fff;
}
.home-bosaimusen h2 {
  padding: 6px 8px 6px 38px;
  border: none;
  background: #f0de23 url('../images/icon-bosaimusen.png') no-repeat 4px center;
}

.home-photonews h2 {
  border-bottom-color: #7cbbf5;
  background: transparent url('../images/icon-photonews.png') no-repeat left center;
}
.home-topics h2 {
  border-bottom-color: #53aca7;
  background: transparent url('../images/icon-topics.png') no-repeat left center;
}

.home-musenlatest h2 {
  border-bottom-color: #ee1b39;
  background: transparent url('../images/icon-bousaimusen.png') no-repeat left center;
}

.home-book h2 {
  background: transparent url('../images/icon-book.png') no-repeat left center;
}
.home-population h2 {
  background: transparent url('../images/icon-population.png') no-repeat left center;
}
.home-contact h2 {
  background: transparent url('../images/icon-contact.png') no-repeat left center;
}
.home-koho h2 {
  background: transparent url('../images/icon-koho.png') no-repeat left center;
}
.home-measure h2 {
  background: transparent url('../images/icon-measure.png') no-repeat left center;
}

.home-admin h2,
.home-related-banner h2,
.home-extra-banner h2 { display: none; }

.pickup {
  padding: 8px 0;
  list-style: none;
}
.pickup li {
  padding: 4px 0;
}

.pickup span.date {
  display: inline-block;
  min-width: 5.5em;
  margin-right: 4px;
  padding: 0 4px;
  border-radius: 4px;
  background-color: #ccc;
  color: #000;
  text-align: center;
}
.home-emergency span.date { background-color: #F3C7C8; }
.home-bosaimusen span.date { background-color: #C0C1C1; }
.home-topics span.date { background-color: #B8DAD8; }
.home-musenlatest span.date { background-color: #fcdde1; }
.home-photonews span.date { background-color: #B4D8ED; }

.pickup span.department,
.pickup span.description {
  display: none;
}

.home-emergency .pickup, .home-bosaimusen .pickup {
  padding: 8px 8px;
}

.home-emergency .pickup a {
  color: #d0162d;
}

.home-photonews .pickup:after { content: ""; display: block; clear: both; }

/* 鮭川村フォトニュース */
.home-photonews .pickup li:after { content: ""; display: block; clear: both; }
.home-photonews .pickup span.description {
  display: block;
}

.home-photonews .pickup span.thumb {
  float: left;
  max-width: 40%;
  margin-right: 8px;
}
.home-photonews .pickup span.thumb img {
  padding: 4px;
  border: 1px solid #ccc;
}
.home-photonews .pickup span.title {
  display: block;
  margin: 8px 0;
  font-weight: bold;
}

/* 広報さけがわ */
.home-koho .content {
  position: relative;
}
.home-koho .content:after { content: ""; display: block; clear: both; }
.home-koho span.latest {
  position: absolute; left: 8px; top: 8px;
  display: inline-block;
  padding: 0 4px;
  border-radius: 4px;
  background-color: #D34146;
  color: #fff;
}
.home-koho .pickup {
  padding: 0 8px;
}
.home-koho .pickup li:after {}
.home-koho span.thumb {
  float: left;
  max-width: 40%;
  margin: 8px 16px 0 8px;
}
.home-koho span.thumb img {
  width: 100%;
  padding: 2px;
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.home-koho span.date { display: none; }
.home-koho span.title {
  display: block;
  margin: 8px 0 1em 0;
}
@media screen and ( min-width: 768px ), print {
  .home-koho span.latest {
    position: absolute; left: 8px; top: 8px;
  }
  .home-koho span.thumb {
    float: none;
    display: block;
    max-width: 80%;
    margin: 0 auto;
  }
  .home-koho span.title {
    margin: 0;
    text-align: center;
  }
  .home-koho .backnumber {
    text-align: center;
  }
}

span.new {
  color: #d0162d;
  font-size: 1.4rem;
  font-weight: bolder;
}

span.more {
  display: block;
  text-align: right;
}
span.more a {
  display: inline-block;
  padding: 4px 6px 2px 6px;
  border-radius: 4px;
  background-color: #e5e7ed;
}

.section .content {
  padding: 8px;
}
.section .content.background {
  background-color: #f8edda;
}
.section.rounded-border {
  border-radius: 10px;
  border: 1px solid #ccc;
}
.section .content.border {
  border: 1px solid #ccc;
  border-top: none;
}

.home-admin,
.home-related-banner,
.home-recommend-banner,
.home-extra-banner {
  text-align: center;
}

.home-admin a,
.home-recommend-banner a,
.home-related-banner a {
  display: block;
  margin-bottom: 8px;
}
.home-admin img,
.home-related-banner img {
  border-radius: 10px;
  border: 1px solid #b3b3b3; border-bottom-width: 2px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
}
.home-recommend-banner img {
  border-radius: 10px;
}
.home-related-banner li.bousai-musen img {
  border-color: #f68b9a;
}

.home-population table {
  margin: 0 auto;
}
.home-population th, .home-population td {
  padding: 2px 4px;
  font-weight: normal;
  text-align: left;
}
.home-population caption {
  caption-side: bottom;
  text-align: center;
  white-space: nowrap;
}

.home-extra-banner {
  padding-top: 1.6rem;
  border-top: 1px dotted #ccc;
}
.home-extra-banner li a {
  display: block;
  padding: 0 0 0.5em 0;
}

.home-contact li a, .home-measure li a {
  display: block;
  padding: 4px 0 4px 16px;
  background: transparent url('../images/icon-ul.png') no-repeat left 0.7em;
}

.home-book .content {
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
}
.home-book .kurashi-icon {
  flex-basis: 33.333%;
  text-align: center;
}
@media screen and ( min-width: 768px ), print {
  .home-book .content {
    -webkit-justify-content: space-around;
    justify-content: space-around;
  }
  .home-book .kurashi-icon {
    flex-basis: auto;
  }
}
.home-book .kurashi-icon a {
  display: block;
  margin: 8px 0;
}
.home-book .kurashi-icon img {
  border-radius: 10px;
  border: 1px solid #ccc; border-bottom-width: 2px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.home-youtube .youtube-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}
.home-youtube .youtube-wrapper iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

/**
 * Side Contents (Secondary)
 */

.sideHeader h2 {
  background-color: #576d9e;
  color: #fff;
}
.sideBody ul li a:before,
.sideBody ul li .active:before {
  color: #50a5a1;
}

/**
 * contentBody
 */

.contentHeader.seikatsu h1, .contentHeader.kosodate h1, .contentHeader.kenko h1, .contentHeader.shisetsu h1,
.contentHeader.industry h1, .contentHeader.business h1, .contentHeader.government h1 {
  padding: 30px 16px;
  border: 1px solid #999999; border-left: none; border-right: none;
  background: #ffffff no-repeat right center;
  background-size: contain;
  font-size: 3.2rem;
  font-weight: normal;
  color: #4c4c4c;
}
@media screen and ( min-width: 768px ), print {
  .contentHeader.seikatsu h1, .contentHeader.kosodate h1, .contentHeader.kenko h1, .contentHeader.shisetsu h1,
  .contentHeader.industry h1, .contentHeader.business h1, .contentHeader.government h1 {
    padding: 50px;
    border: 1px solid #999999;
    font-size: 3.8rem;
  }
}
.contentHeader.seikatsu h1   { background-image: url('/common/images/contentHeader-seikatsu.jpg'); }
.contentHeader.kosodate h1   { background-image: url('/common/images/contentHeader-kosodate.jpg'); }
.contentHeader.kenko h1      { background-image: url('/common/images/contentHeader-kenko.jpg'); }
.contentHeader.shisetsu h1   { background-image: url('/common/images/contentHeader-shisetsu.jpg'); }
.contentHeader.industry h1   { background-image: url('/common/images/contentHeader-industry.jpg'); }
.contentHeader.business h1   { background-image: url('/common/images/contentHeader-business.jpg'); }
.contentHeader.government h1 { background-image: url('/common/images/contentHeader-government.jpg'); }

.pageList .title {
  background: transparent url('/common/images/icon-ul.png') no-repeat 0.5em center;
}

/**
 * 防災無線 一覧ページ
 */
.contentBody .musen {
  margin-bottom: 20px;
  padding: 2px;
  border: 2px solid #cccccc;
}
.contentBody .musen .update {
  padding: 10px 1em;
  background-color: #e5e8ee;
}
.contentBody .musen .content {
  padding: 1em;
}
.contentBody .musen .content .title {
  margin: 0 0 .5em 0;
}
.contentBody .musen .content .body {
  margin-bottom: 0;
}