@charset "UTF-8";

.mt-30-pc{
  margin-top: 30px;
}
.pb-30-sp{
  padding-bottom:unset;
}
@media screen and (max-width: 50em) {
    .hide_sp{
        display: none;
    }
    .mt-30-pc{
      margin-top:unset;
    }
    .pb-30-sp{
      padding-bottom: 30px;
    }
}

/* お問い合わせ先 */
.section-inquiry {
    background: #e0e1e1;
    padding: 40px 0;
  }
  .townranking-inquiry#inquiry {
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 40px 15px;
    margin: 0 auto;
    background: #FFF;
    width: 740px;
  }
  .townranking-inquiry .townranking-inquiry-heading h2 {
    line-height: 1.2;
    font-weight: bold;
  }
  .townranking-inquiry .townranking-inquiry-desc {
    text-align: left;
    line-height: 1.5;
    font-size: 14px;
    margin-top: 1em;
  }
  .townranking-inquiry .townranking-inquiry-desc p:not(:first-of-type) {
    margin-top: 1.4em;
  }
  .townranking-inquiry .townranking-inquiry-btn {
    text-align: center;
    margin-top: 1.4em;
  }
  .townranking-inquiry .townranking-inquiry-btn a {
    background: #FFD700;
    text-align: center;
    font-weight: bold;
    border-radius: 3em;
    display: inline-block;
    -webkit-transition: .3s;
    transition: .3s;
    text-decoration: none;
    line-height: 1.4;
    min-height: 30px;
    min-width: 300px;
    padding: 12px 10px;
    color: #333;
    position: relative;
  }
  .townranking-inquiry .townranking-inquiry-btn a::before {
    position: absolute;
    display: inline-block;
    right: 10px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    content: "";
    background-image: url(/cp/town_ranking/images/icon_arrow_select.svg);
    background-position: center;
  }
  .townranking-inquiry .townranking-inquiry-btn a:hover {
    opacity: .8;
  }
  @media screen and (min-width: 50em) {
    .townranking-inquiry .townranking-inquiry-heading h2 {
      text-align: center;
      font-size: 20px;
    }
    .townranking-inquiry .townranking-inquiry-desc {
      text-align: center;
    }
    .townranking-inquiry .townranking-inquiry-btn a:hover {
      background: #000;
      color: #ffd900;
    }
    .townranking-inquiry .townranking-inquiry-btn a:hover::before {
      background-image: url(/cp/town_ranking/images/icon_arrow_select_hover.svg);
    }
  }
@media screen and (max-width: 50em) {
    .townranking-inquiry .townranking-inquiry-heading h2 {
        text-align: left;
        font-size: 18px;
    }
    .section-inquiry {
        padding: 30px 0;
    }
    .townranking-inquiry#inquiry {
        width: 88%;
    }
    .townranking-inquiry .townranking-inquiry-btn a {
        width: 74%;
        min-width: auto;
    }
}

/* フォローボタン */
.static-follow{
  margin: 20px 0;
  font-size: 14px;
}
.static-follow .inner {
  padding: 20px 20px 0;
}
.static-follow .text {
  width: 80%;
  text-align: center;
  margin: 0 auto 15px auto;
  color: #998558;
  font-weight: bold;
}
.sns-link{
  text-align: center;
}
.sns-link a{
  display: inline-block;
  padding: 3px 10px 4px 10px;
  margin:0 auto;
  text-align: center;
  background-color: #FFF;
  border-radius: 5px;
  text-decoration: none;
  color: #000;
  line-height: 1.2;
}
.sns-link a:hover{
  opacity: 0.8;
}
.sns-link .icon{
  vertical-align:bottom;
  display: inline-block;
  width: 15px;
  height: 15px;
  background:url(../images/linkbox/logo-x-black.svg) no-repeat left center;
  background-size:contain;
  margin:0px 4px 0 0;
}
.fixed-follow .sns-link a{
  background-color: #000;
  color: #FFF;
}
.fixed-follow .sns-link .icon{
  background-image: url(../images/linkbox/logo-x-white.svg);
}
@media screen and (max-width: 50em) {
  .static-follow{
    margin: 0px 0;
  }
}

/* フォローボタン（ウインドウ固定） */
.fixed-follow {
  position: fixed;
  z-index: 10000;
  bottom: 100px;
  right: 50px;
  display: none;
  font-size: 14px;
  line-height: normal;
}
.fixed-follow .inner {
  max-width: 285px;
  width: 100%;
  padding: 20px 20px;
  background:rgba(255, 255, 255, 0.9);
  text-align: center;
  position: relative;
}
.fixed-follow-img-ban{
  display: block;
  max-width: 250px;
  width: 100%;
  position: relative;
}
.fixed-follow .text {
  margin: 0 auto 15px auto;
  color: #998558;
  font-weight: bold;
}
.fixed-follow .btn_close{
  display: inline-block;
  position: absolute;
  top: 0;
  right: 0;
  width: 14px;
  height: 14px;
  transform: translate(-4px, -22px);
  cursor: pointer;
}
@media screen and (max-width: 50em) {
  .fixed-follow {
    bottom: 20px;
    left: 20px;
    display: none;
  }
  .fixed-follow .inner {
    padding: 15px 20px;
  }
}

/* フォローボタン（ウインドウ固定 SP：横幅一杯） */
.fixed-follow-spfull {
  position: fixed;
  z-index: 10000;
  bottom: 0px;
  right: 0;
  display: none;
  font-size: 14px;
  line-height: normal;
}
.fixed-follow-spfull .inner {
  max-width: 285px;
  width: 100%;
  padding: 20px 20px;
  background:rgba(255, 255, 255, 0.9);
  text-align: center;
  position: relative;
}
.fixed-follow-spfull-img-ban{
  display: block;
  width: 100%;
  position: relative;
}
.fixed-follow-spfull .text {
  margin: 0 auto 15px auto;
  color: #998558;
  font-weight: bold;
}
.fixed-follow-spfull .btn_close{
  display: inline-block;
  position: absolute;
  top: 0;
  right: 0;
  width: 14px;
  height: 14px;
  transform: translate(-4px, -22px);
  cursor: pointer;
}
@media screen and (max-width: 640px) {
  .fixed-follow-spfull {
    bottom: 0px;
    left: 0px;
    display: none;
  }
  .fixed-follow-spfull .inner {
    padding: 15px 20px;
  }
}

/* 住みやすい街ヘッダー */
.tr_header {
  width: 100%;
  height: 80px;
  line-height: 1.5;
  padding: 28px 0;
  background: #fff;
}
.tr_header_in {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}
.tr_header_logo {
  float: left;
  width: 140px;
  font-size: 14px;
}
.tr_header_logo img{
  vertical-align: middle;
}
@media screen and (max-width: 56.25em){
  .tr_header {
    height: 40px;
    padding: 0;
  }
  .tr_header_in {
    width: 100%;
    padding: 0;
  }
  .tr_header_logo {
    position: relative;
    z-index: 9999;
    width: 80px;
    margin: 7px 12px 0px 12px;
  }
}

/* 住みやすい街ナビ */
.townrank-nav{
  position: absolute;
  right:0;
  top:-8px;
}
.townrank-nav-sp-btn{
  display: none;
  font-family: sans-serif;
}
.townrank-nav-sp-btn > i{
  vertical-align: middle;
}
.townrank-nav .townrank-nav-l1{
  list-style: none;
}
.townrank-nav .townrank-nav-l1,
.townrank-nav .townrank-nav-l1 a{
  font-size: 13px;
  font-weight: bold;
  color: #968158;
  line-height: 18px;
  text-decoration: none;
}
.townrank-nav .townrank-nav-l1 {
  display: flex;
  justify-content: space-around;
}
.townrank-nav .townrank-nav-l1-item{
  position: relative;
  padding: 0;
  margin: 0;
}
.townrank-nav .townrank-nav-l1-item-in{
  display: block;
  padding: 11px 1.2em;
}
.townrank-nav .townrank-nav-l1-item:hover{
  background-color: #E2E2E2;
}
.townrank-nav .townrank-nav-l1-item:hover .townrank-nav-l1-item-in.toggle-nav-trigger{
  padding-bottom: 31px;
}
.townrank-nav .townrank-nav-l2 {
  display: none;
  background-color: #fff;
  position: absolute;
  left: 0;
  top:calc(3.0em + 20px);
  z-index: 10;
  border: 2px solid #E2E2E2;
  padding: 0.4em 0;
  text-align: left;
}
.townrank-nav .townrank-nav-l2-item-in{
  display: inline-block;
  white-space: nowrap;
  padding: 0.8em 1.5em;
}
.townrank-nav .townrank-nav-l2-item a:hover{
  text-decoration: underline;
}
.townrank-nav-sp-btn-close{
  display: none !important;
}
@media screen and (max-width: 56.25em) {
  .townrank-nav .townrank-nav-l1{
    margin-top: 8px;
  }
  .townrank-nav .townrank-nav-l1,
  .townrank-nav .townrank-nav-l1 a{
    font-size: 12px;
  }
  .townrank-nav .townrank-nav-l2 {
    top:calc(3.0em);
  }  
}
@media screen and (max-width: 50em) {
  .townrank-nav{
    position: relative;
    top: 0;
    text-align: left;
  }
  .townrank-nav-sp-btn{
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    position: absolute;
    right: 0;
    top: 0;
    font-size: 24px;
    text-align: center;
    color: #968158;
    cursor:pointer;
  }
  .townrank-nav .townrank-nav-l1{
    display: none;
    position: absolute;
    left: 0;
    top: 43px;
    z-index: 100;
    width: 100%;
    margin-top: 0;
    padding: 0;
    background-color: #fff;
  }
  .townrank-nav .townrank-nav-l1-item-in{
    padding: 0.8em 2.0em !important;
    border-bottom: 1px solid #919191;
    background-color: #E2E2E2;
  }
  .townrank-nav .townrank-nav-l1,
  .townrank-nav .townrank-nav-l1 a{
    font-size: 14px;
  }
  .townrank-nav .toggle-nav-trigger{
    cursor:pointer;
  }
  .townrank-nav .toggle-nav-trigger:after{
    content:'+';
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 16px;
    width: 1em;
    text-align: center;
  }
  .townrank-nav .toggle-nav-trigger.toggle-nav-open:after{
    content:'-';
  }
  .townrank-nav .townrank-nav-l2 {
    display: block;
    position: static;
    width: 100%;
    border: none;
    padding: 0;
  }
  .townrank-nav .townrank-nav-l2-item-in{
    width: 100%;
    padding: 0.8em 2.0em;
    border-bottom: 1px solid #919191;
  }
  .townrank-nav-sp-btn-close{
    display: block !important;
    border: none;
    padding: 0;
    margin: 0;
    color: #FFF;
    cursor:pointer;
  }
  .townrank-nav-sp-btn-close .townrank-nav-l1-item-in{
    background-color: #000;
    border-bottom: none;
  }
}

/* フォント */
.tr_ff_mincho{
  font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", 'Noto Serif JP', "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
}

/* ボタン（金色） */
.tr_btn_gold{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 300px;
  min-height: 45px;
  background-color: #846E42;
  border-radius: 4px;
  margin: 0 auto;
  padding: 0;
  color: #FFF !important;
  font-size: 18px !important;
  font-weight: bold;
  line-height: 1.2;
  text-align: center;
  transition: opacity 0.3s;
  text-decoration: none;
}
.tr_btn_gold::before {
  position: absolute;
  display: inline-block;
  right: 1em;
  top: calc(50% - 0.4em);
  width: 0.8em;
  height: 0.8em;
  content: "";
  background-image: url(../images/arrow_r_white.svg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}
.tr_btn_gold:hover {
  opacity: .5;
  text-decoration: none;
}
@media screen and (max-width: 50em) {
  .tr_btn_gold{
    font-size: 14px !important;
  }
}
/* IE11対策 */
@media (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .tr_btn_gold{
    height: 45px;
  }
}

/* ボタン（罫線金色） */
.tr_btn_bdgold{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 300px;
  min-height: 45px;
  background-color: #FFF;
  border: solid 1px #846E42;
  border-radius: 4px;
  margin: 0 auto;
  padding: 0;
  color: #846E42 !important;
  font-size: 14px !important;
  font-weight: bold;
  line-height: 1.2;
  text-align: center;
  transition: opacity 0.3s;
  text-decoration: none;
}
.tr_btn_bdgold::before {
  position: absolute;
  display: inline-block;
  right: 1em;
  top: calc(50% - 0.4em);
  width: 0.8em;
  height: 0.8em;
  content: "";
  background-image: url(/cp/town_ranking/images/arrow_r_gold.svg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}
.tr_btn_bdgold:hover {
  opacity: .5;
  text-decoration: none;
}
@media screen and (max-width: 50em) {
  .tr_btn_bdgold{
    font-size: 14px !important;
  }
}

/* 過去のランキング */
.tr_other_ranking.toggle-nav-open {
  border-bottom: 2px solid #BAAB93;
}
.tr_other_ranking_title {
  border-top: 2px solid #BAAB93;
  border-bottom: 2px solid #BAAB93;
  color: #846E42;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-align: center;
}
.tr_other_ranking_title_in{
  display: block;
  width: 100%;
  margin:0 auto;
  padding: 0.6em 0;
  cursor: pointer;
  line-height: 1.2;
}
.tr_other_ranking_title_in:after{
  display: inline-block;
  position: relative;
  top: -1px;
  width: 1em;
  margin:0 0 0 1.0em;
  font-size: 18px;
  text-align: center;
}
.toggle-nav-close .tr_other_ranking_title_in:after{
  content:'+';
}
.toggle-nav-open .tr_other_ranking_title_in:after{
  content:'-';
}
.tr_other_ranking .townrank-nav-l1 {
  margin: 20px 0 0 0;
  padding: 0;
  list-style: none;
}
.tr_other_ranking .townrank-txt-hide{
  display: none;
}
.tr_other_ranking .townrank-nav-l1-item-in{
  display: none;
}
.tr_other_ranking .townrank-nav-l2{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  padding: 0;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0.05em;
  list-style: none;
}
.tr_other_ranking .townrank-nav-l2-item{
  flex:0 0 70px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
  border-right: 1px solid #000;
}
.tr_other_ranking .townrank-nav-l2-item-in{
  color: #231815;
  text-decoration: none;
  transition: opacity 0.3s;
}
.tr_other_ranking .townrank-nav-l2-item-in:hover{
  opacity: 0.5;
}
.tr_other_ranking .townrank-nav-l2-item-in.tr_other_ranking_current{
  text-decoration: underline;
}
.tr_other_ranking .townrank-nav-l2-item:last-child{
  border-right: none;
}
@media screen and (max-width: 50em) {
  .tr_other_ranking.toggle-nav-open {
    border-width: 1px;
  }
  .tr_other_ranking_title {
    font-size: 14px;
    border-width: 1px;
  }
  .tr_other_ranking_title_in:after{
    font-size: 14px;
  }
  .tr_other_ranking .townrank-nav-l1 {
    margin-top: 10px;
    padding: 0 5%;
  }
  .tr_other_ranking .townrank-nav-l2{
    justify-content: space-between;
    font-size: 14px;
  }
  .tr_other_ranking .townrank-nav-l2-item{
    flex:0 0 25%;
    margin-bottom: 10px;
    border-color:#E0E1E1;
  }
  .tr_other_ranking .townrank-nav-l2-item:nth-child(4n){
    border-right: none;
  }
  .tr_other_ranking .townrank-nav-l2-item:nth-child(4n-1):last-child{
    margin-right: 25%;
  }
  .tr_other_ranking .townrank-nav-l2-item:nth-child(4n-2):last-child{
    margin-right: 50%;
  }
  .tr_other_ranking .townrank-nav-l2-item:nth-child(4n-3):last-child{
    margin-right: 75%;
  }
}

/* スキップリンク */
.skip-link {
  position: absolute;
  top: -30px;
  left: 50%;
  display: inline-block;
  width: 1px;
  height: 1px;
  padding: 2px 10px;
  overflow: hidden;
  text-decoration: none !important;
  background: #fff;
  transition: 0.4s;
  transform: translateX(-50%);
  white-space: nowrap;
}
.skip-link:focus {
  top: 0;
  width: auto;
  height: auto;
  overflow: visible;
  z-index: 10000;
}
@media screen and (max-width: 640px) {
  .skip-link {
    font-size: 12px;
  }
}