@media (max-width: 767px) {
  .container {
    padding: 0 5px;
  }
}

@media (max-width: 767px) {
  .container.underpage {
    padding: 0;
  }
}

@media (max-width: 767px) {
  header #header-right {
    display: none;
  }
}

@media (max-width: 767px) {
  #g-menu {
    display: none;
  }
}

#emergency-wrap #emergency-left #attention-message {
  width: 80%;
}

header {
  position: relative;
}

header #hamburger_btn {
  width: 50px;
  height: 50px;
  background-color: #80B99F;
  cursor: pointer;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 100;
}

@media (min-width: 768px) {
  header #hamburger_btn {
    display: none;
  }
}

header #hamburger_btn span {
  color: #fff;
  display: block;
  margin: 0 auto;
  text-align: center;
  font-size: 65%;
  position: absolute;
  left: 0;
  right: 0;
  -webkit-transition: .35s ease-in-out;
  transition: .35s ease-in-out;
}

header #hamburger_btn span:nth-child(1),
header #hamburger_btn span:nth-child(2),
header #hamburger_btn span:nth-child(3) {
  content: "";
  width: 65%;
  height: 2px;
  background-color: #fff;
}

header #hamburger_btn span:nth-child(1) {
  top: 10px;
}

header #hamburger_btn span:nth-child(2) {
  top: 20px;
}

header #hamburger_btn span:nth-child(3) {
  top: 30px;
}

header #hamburger_btn span:nth-child(4) {
  bottom: 0;
}

header #hamburger_btn.active span:nth-child(1) {
  top: 18px;
  left: 0;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

header #hamburger_btn.active span:nth-child(2),
header #hamburger_btn.active span:nth-child(3) {
  top: 18px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

#g-mane_sp {
  background-color: #E0ECE7;
  padding: 0 10px;
  z-index: 1111;
  -webkit-transform: translateY(-100%);
  transform: translateY(-100%);
  -webkit-transition: all 0.6s;
  transition: all 0.6s;
  position: absolute;
  width: 100%;
}

#g-mane_sp.active {
  -webkit-transform: translateY(0%);
  transform: translateY(0%);
}

@media (min-width: 768px) {
  #g-mane_sp {
    display: none;
  }
}

#g-mane_sp #g-mane_sp_inner {
  margin: 0 auto;
}

#g-mane_sp .gsc-control-cse.gsc-control-cse-en {
  background-color: rgba(0, 0, 0, 0);
  border: none;
  margin: 0 auto;
}

#g-mane_sp .gsc-control-cse.gsc-control-cse-en table {
  text-align: right;
}

#g-mane_sp .gsc-control-cse.gsc-control-cse-en table .gsc-input {
  display: inline;
}

#g-mane_sp .gsc-control-cse.gsc-control-cse-en #gsc-iw-id1 {
  width: 50%;
  height: 30px;
  margin: 0 auto;
  background: #fff;
  border-radius: 5px;
  border: 1px solid #534741;
  display: inline-block;
  margin-right: 20%;
  padding: 0;
}

#g-mane_sp .gsc-control-cse.gsc-control-cse-en #gsc-iw-id1 table #gs_tti50 {
  padding: 0;
}

#g-mane_sp .gsc-control-cse.gsc-control-cse-en #gsc-iw-id1 table #gs_tti50 input {
  border-radius: 5px;
}

#g-mane_sp .gsc-control-cse.gsc-control-cse-en .gsc-search-button.gsc-search-button-v2 {
  position: relative;
  padding: 0 20px;
  height: 30px;
  background: #534741;
  text-align: center;
  color: #fff;
  border-radius: 5px;
  border: none;
}

@media (max-width: 767px) {
  #g-mane_sp .gsc-control-cse.gsc-control-cse-en .gsc-search-button.gsc-search-button-v2 {
    right: 110px;
    top: -1px;
  }
}

@media (max-width: 767px) {
  #g-mane_sp .gsc-control-cse.gsc-control-cse-en .gsc-search-button.gsc-search-button-v2 {
    right: 90px;
  }
}

@media (max-width: 490px) {
  #g-mane_sp .gsc-control-cse.gsc-control-cse-en .gsc-search-button.gsc-search-button-v2 {
    right: 70px;
  }
}

@media (max-width: 400px) {
  #g-mane_sp .gsc-control-cse.gsc-control-cse-en .gsc-search-button.gsc-search-button-v2 {
    right: 40px;
  }
}

#g-mane_sp #google_search_sp {
  text-align: -webkit-center;
  z-index: 100;
  border-bottom: 1px solid #534741;
}

#g-mane_sp #google_search_sp::before {
  content: url(../images/search_sp.png);
  display: inline-block;
  position: relative;
  top: 7px;
  left: -5px;
}

#g-mane_sp #google_window_sp {
  width: 70%;
  height: 30px;
  margin: 10px 0;
  padding: 0 5px;
  background: #fff;
  border-radius: 5px;
  border: 1px solid #534741;
}

#g-mane_sp #google_search_btn_sp {
  width: 50px;
  height: 30px;
  margin: 10px 0;
  background: #534741;
  text-align: center;
  color: #fff;
  border-radius: 5px;
  border: none;
}

#g-mane_sp .cat_sp {
  width: 100%;
  border-bottom: 1px solid #534741;
  position: relative;
  cursor: pointer;
}

#g-mane_sp .cat_sp h3 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 40px;
}

#g-mane_sp .cat_sp h3::after {
  content: "+";
  color: #fff;
  width: 25px;
  height: 25px;
  background: #80B99F;
  display: inline-block;
  line-height: 24px;
  vertical-align: middle;
  text-align: center;
  position: absolute;
  top: 8px;
  right: 3px;
  font-weight: normal;
}

#g-mane_sp .cat_sp h3.ac::after {
  content: "-";
  color: #fff;
  width: 25px;
  height: 25px;
  background: #80B99F;
  display: inline-block;
  line-height: 22px;
  vertical-align: middle;
  text-align: center;
  position: absolute;
  top: 8px;
  right: 3px;
  font-weight: normal;
}

#g-mane_sp .cat_sp h3 span {
  display: inline-block;
  margin-right: 5px;
}

#g-mane_sp .cat_sp h3 img {
  vertical-align: text-top;
  width: 25px;
}

#g-mane_sp .cat_sp ul {
  max-width: 100%;
  padding: 10px 5px;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  display: none;
  overflow: hidden;
}

#g-mane_sp .cat_sp ul li {
  width: 50%;
  position: relative;
  float: left;
  line-height: 1.8;
  margin-bottom: 10px;
}

#g-mane_sp .cat_sp ul li a {
  padding-left: 20px;
  display: block;
}

#g-mane_sp .cat_sp ul li a::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin: auto 0;
  border-left: 12px solid #80B99F;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

#g-mane_sp #address_sp {
  background: #fff;
  border-radius: 5px;
  text-align: center;
  margin: 20px 0;
  padding: 10px 0;
}

#g-mane_sp #address_sp p:nth-child(1) {
  font-weight: bolder;
  font-size: 130%;
}

#g-mane_sp .tools__fontchange {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border-bottom: 1px dashed #4D4D4D;
  padding-bottom: 10px;
}

#g-mane_sp .tools__fontchange h3 {
  min-width: 100px;
  text-align: left;
}

#g-mane_sp .tools__fontchange ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  max-width: calc(100% - 100px);
}

#g-mane_sp .tools__fontchange ul li {
  margin-left: 3px;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 0 5px;
}

#g-mane_sp .tools__fontchange ul li button {
  border: 1px solid #000;
  padding: 0 5px;
  text-align: center;
  background-color: #fff;
  display: table-cell;
  vertical-align: bottom;
  height: 24px;
}

#g-mane_sp .tools__bgchange {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 10px;
  padding-bottom: 10px;
}

#g-mane_sp .tools__bgchange h3 {
  min-width: 100px;
  text-align: left;
}

#g-mane_sp .tools__bgchange ul {
  max-width: calc(100% - 100px);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#g-mane_sp .tools__bgchange ul li {
  margin-left: 3px;
  text-align: center;
  display: table;
  padding: 0 5px;
}

#g-mane_sp .tools__bgchange ul li button {
  display: table-cell;
  vertical-align: bottom;
  border: 1px solid #000;
  padding: 0 5px;
  height: 24px;
}

#g-mane_sp .tools__bgchange ul li #bg_white {
  background-color: #fff;
}

#g-mane_sp .tools__bgchange ul li #bg_black {
  background-color: #000;
  color: #fff;
}

#g-mane_sp .tools__bgchange ul li #bg_yellow {
  background-color: #FBED21;
}

#g-mane_sp .tools__bgchange ul li #bg_blue {
  background-color: #005e9c;
  color: #fff;
}

#g-mane_sp #sns_sp {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
}

#g-mane_sp #sns_sp div {
  width: 50%;
  padding-right: 10px;
}

#g-mane_sp #sns_sp div:nth-child(2) {
  padding: 0;
}

#g-mane_sp #sns_sp div a {
  line-height: 4;
  text-align: center;
  height: 60px;
  background: #fff;
  display: block;
  margin-bottom: 10px;
}

#g-mane_sp #sns_sp #instagram_sp a::before {
  content: url(../images/instagram.png);
  display: inline-block;
  position: relative;
  top: 10px;
  left: -5px;
}

#g-mane_sp #sns_sp #facebook_sp a::before {
  content: url(../images/facebook.png);
  display: inline-block;
  position: relative;
  top: 10px;
  left: -5px;
}

@media (max-width: 991px) {
  #main_slider-wrap {
    margin: 0 auto;
  }
}

@media (max-width: 1140px) {
  #main_slider-wrap #tunagu {
    right: 5%;
  }
}

@media (max-width: 991px) {
  #main_slider-wrap #tunagu {
    top: 10%;
    right: 7%;
    max-width: 135px;
  }
}

@media (max-width: 767px) {
  #main_slider-wrap #tunagu {
    max-width: 125px;
  }
}

@media (max-width: 575px) {
  #main_slider-wrap #tunagu {
    max-width: 90px;
  }
}

@media (max-width: 450px) {
  #main_slider-wrap #tunagu {
    right: 10%;
    max-width: 70px;
  }
}

@media (max-width: 380px) {
  #main_slider-wrap #tunagu {
    right: 7%;
    max-width: 55px;
  }
}

@media (max-width: 767px) {
  .main_eyecatch {
    height: 150px;
  }
}

@media (max-width: 767px) {
  .main_eyecatch .main_eyecatch-left .main_eyecatch-left-inner {
    height: 80px;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
  }
}

@media (max-width: 767px) {
  .main_eyecatch .main_eyecatch-left .main_eyecatch-left-inner h1 {
    font-size: 150%;
    padding: 5px 0;
  }
}

@media (max-width: 575px) {
  .main_eyecatch .main_eyecatch-left .main_eyecatch-left-inner h1 {
    font-size: 100%;
  }
}

@media (max-width: 767px) {
  #whatmemuro-wrap #whatmemuro-left #population #comparison {
    padding-bottom: 3px;
  }
}

@media (max-width: 767px) {
  #information-wrap .notice dt {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  #information-wrap .notice dt span {
    float: none;
    right: 0;
    margin-left: 10px;
  }
}

@media (max-width: 991px) {
  #emergency-wrap {
    margin-top: 10px;
    position: inherit;
  }
}

@media (max-width: 767px) {
  #emergency-wrap .container {
    padding: 0;
  }
}

@media (max-width: 991px) {
  #emergency-wrap #emergency {
    display: inherit;
  }
}

@media (max-width: 991px) {
  #emergency-wrap #emergency #emergency-left {
    width: 100%;
  }
}

@media (max-width: 767px) {
  #emergency-wrap #emergency #emergency-left {
    display: inherit;
    padding: 0 5px;
  }
}

@media (max-width: 767px) {
  #emergency-wrap #emergency #emergency-left #attention {
    width: 100%;
    line-height: inherit;
  }
}

@media (max-width: 767px) {
  #emergency-wrap #emergency #emergency-left #attention-message {
    width: 100%;
  }
}

@media (max-width: 991px) {
  #emergency-wrap #emergency #emergency-right {
    width: 100%;
  }
}

@media (max-width: 767px) {
  #emergency-wrap #emergency #emergency-right {
    display: inherit;
    padding: 0 5px;
  }
}

@media (max-width: 991px) {
  #emergency-wrap #emergency #emergency-right #disaster {
    width: 20%;
  }
}

@media (max-width: 767px) {
  #emergency-wrap #emergency #emergency-right #disaster {
    width: 100%;
    line-height: inherit;
  }
}

@media (max-width: 991px) {
  #emergency-wrap #emergency #emergency-right #disaster-list {
    margin: 8px 15px 8px 0;
    width: 80%;
  }
}

@media (max-width: 767px) {
  #emergency-wrap #emergency #emergency-right #disaster-list {
    width: 100%;
  }
}

@media (max-width: 575px) {
  #emergency-wrap #emergency #emergency-right #disaster-list li {
    margin-left: 5px;
  }
}

@media (max-width: 991px) {
  #sub-slider-wrap {
    padding-top: 20px;
  }
}

@media (max-width: 880px) {
  #sub-slider-wrap #sub-slider-left {
    display: none;
  }
}

@media (max-width: 1200px) {
  #sub-slider-wrap #sub-slider-right {
    width: 75%;
  }
}

@media (max-width: 991px) {
  #sub-slider-wrap #sub-slider-right {
    margin-left: 0;
  }
}

@media (max-width: 880px) {
  #sub-slider-wrap #sub-slider-right {
    width: 100%;
  }
}

@media (max-width: 991px) {
  #sub-slider-wrap #sub-slider-right ul {
    width: 70%;
  }
}

@media (max-width: 880px) {
  #sub-slider-wrap #sub-slider-right ul {
    padding-left: 20px;
  }
}

@media (max-width: 767px) {
  #sub-slider-wrap #sub-slider-right ul {
    width: 70%;
  }
}

@media (max-width: 720px) {
  #sub-slider-wrap #sub-slider-right ul {
    width: 80%;
    padding-left: inherit;
  }
}

@media (max-width: 615px) {
  #sub-slider-wrap #sub-slider-right ul li a img {
    text-align: center;
  }
}

@media (max-width: 991px) {
  #information-wrap .notice dl {
    display: inline-table;
  }
}

@media (max-width: 991px) {
  #information-wrap .notice dl dd {
    width: 100%;
    line-height: inherit;
    margin-bottom: 5px;
  }
}

@media (max-width: 991px) {
  .cate-headlist {
    display: inherit;
  }
}

@media (max-width: 767px) {
  .cate-headlist {
    display: inherit;
  }
}

@media (max-width: 767px) {
  #content-wrap #questionnaire {
    width: 100%;
  }
}

@media (max-width: 991px) {
  #content-wrap #content {
    display: inherit;
  }
}

@media (max-width: 767px) {
  #content-wrap #content {
    display: inherit;
  }
}

#content-wrap #content.separate {
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

@media (max-width: 991px) {
  #content-wrap #content.separate .submit {
    width: 100%;
  }
}

@media (max-width: 767px) {
  #content-wrap #content #content-main .submit {
    width: 100%;
  }
}

@media (max-width: 991px) {
  #content-wrap #content #content-left {
    width: 100%;
    margin-right: 0;
  }
}

@media (max-width: 575px) {
  #content-wrap #content #content-left #life_stage ul {
    height: inherit;
    padding: 0 20px;
  }
}

@media (max-width: 575px) {
  #content-wrap #content #content-left #life_stage ul li {
    width: 50%;
  }
}

@media (max-width: 575px) {
  #content-wrap #content #content-left #life_stage ul .grid {
    height: inherit;
    padding: 10px;
  }
}

@media (max-width: 991px) {
  #content-wrap #content #content-right {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 575px) {
  #content-wrap #content #content-right #convenient ul {
    height: inherit;
    padding: 0 20px;
  }
}

@media (max-width: 575px) {
  #content-wrap #content #content-right #convenient ul li {
    width: 50%;
  }
}

@media (max-width: 575px) {
  #content-wrap #content #content-right #convenient ul .grid {
    height: inherit;
    padding: 10px;
  }
}

@media (max-width: 575px) {
  #content-wrap #content #content-right #viewpage {
    padding-top: 0;
  }
}

@media (max-width: 575px) {
  #content-wrap #content #content-right #viewpage.col2 {
    display: inherit;
  }
}

@media (max-width: 575px) {
  #content-wrap #content #content-right #viewpage ul {
    width: 100%;
  }
}

@media (max-width: 575px) {
  #content-wrap #content #content-right #viewpage ul li {
    margin-left: 0;
  }
}

@media (max-width: 991px) {
  #content-wrap #content.smile_kouhou {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}

@media (max-width: 767px) {
  #content-wrap #content.smile_kouhou {
    display: inherit;
  }
}

@media (max-width: 991px) {
  .smile_kouhou {
    width: 90%;
  }
}

@media (max-width: 767px) {

  #smile-left,
  #smile-right {
    margin: 0 auto;
    width: inherit;
  }
}

@media (max-width: 767px) {
  #smile-right {
    width: 70%;
    margin-top: 15px;
  }
}

@media (max-width: 575px) {
  #smile-right {
    width: 100%;
  }
}

@media (max-width: 767px) {
  #smile-left {
    text-align: center;
  }
}

@media (max-width: 767px) {
  #adobe {
    display: inherit;
  }
}

@media (max-width: 991px) {
  #whatmemuro-wrap {
    margin-bottom: 0;
  }
}

@media (max-width: 991px) {
  #whatmemuro-wrap #whatmemuro {
    display: inherit;
  }
}

@media (max-width: 575px) {
  #whatmemuro-wrap #whatmemuro-left {
    width: 100%;
  }
}

@media (max-width: 991px) {
  #whatmemuro-wrap #whatmemuro-left {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 auto;
    max-width: 555px;
    min-height: 640px;
    padding: 20px 0;
    position: relative;
    width: 100%;
  }
}

@media (max-width: 991px) {
  #whatmemuro-wrap #whatmemuro-left #memuro_img {
    width: 100%;
    padding: 0;
    text-align: center;
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
  }
}

@media (max-width: 991px) {
  #whatmemuro-wrap #whatmemuro-left #memuro_like-img {
    width: 100%;
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
    text-align: center;
  }
}

@media (max-width: 991px) {
  #whatmemuro-wrap #whatmemuro-left #population {
    width: 100%;
    padding: 0 30px;
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
  }
}

@media (max-width: 991px) {
  #whatmemuro-wrap #whatmemuro-right {
    margin: 20px auto 0;
    position: initial;
    width: 100%;
    text-align: center;
  }
}

#whatmemuro-wrap #whatmemuro-right #administration {
  position: initial;
}

@media (max-width: 767px) {
  #information-wrap #notice dl {
    height: inherit;
    display: inherit;
  }
}

@media (max-width: 767px) {
  #information-wrap #notice dl dt {
    width: 100%;
    height: 40px;
  }
}

@media (max-width: 767px) {
  #information-wrap #notice dl dd {
    width: 100%;
    height: 45px;
  }
}

@media (max-width: 991px) {
  #bunners #bunners-wrap {
    display: inherit;
  }
}

@media (max-width: 575px) {
  #bunners #bunners-wrap #bunners-left {
    width: 100%;
  }
}

@media (max-width: 767px) {
  #bunners #bunners-wrap #bunners-left {
    height: inherit;
    margin-bottom: 20px;
  }
}

@media (max-width: 991px) {
  #bunners #bunners-wrap #bunners-left {
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  #bunners #bunners-wrap #bunners-left #bunners-left_smile {
    width: 100%;
    margin-top: 15px;
  }
}

@media (max-width: 767px) {
  #bunners #bunners-wrap #bunners-left #bunners-left_eyecatch {
    float: inherit;
    width: 100%;
    margin-top: 15px;
  }
}

@media (max-width: 767px) {
  #bunners #bunners-wrap #bunners-left #bunners-left_btn {
    width: 100%;
  }
}

@media (max-width: 575px) {
  #bunners #bunners-wrap #bunners-left #bunners-left_btn li {
    width: 50%;
    margin: 14px auto 0;
  }
}

@media (max-width: 767px) {
  #bunners #bunners-wrap #bunners-left #bunners-left_btn #backnumber {
    margin-bottom: 15px;
  }
}

@media (max-width: 991px) {
  #bunners #bunners-wrap #bunners-right {
    margin: 20px auto 0;
  }
}

@media (max-width: 767px) {
  #bunners #bunners-wrap #bunners-right {
    width: 100%;
  }
}

@media (max-width: 767px) {
  #bunners #bunners-wrap #bunners-right ul li {
    text-align: center;
    height: initial;
  }
}

@media (max-width: 767px) {
  #bunners #bunners-wrap #bunners-right ul li:nth-child(n+3):nth-child(-n+4) {
    margin-top: inherit;
  }
}

@media (max-width: 767px) {
  #bunners #bunners-wrap #bunners-right ul li a {
    height: inherit;
    padding-left: inherit;
  }
}

@media (max-width: 991px) {
  #sns-wrap #sns {
    display: inherit;
  }
}

@media (max-width: 991px) {
  #sns-wrap #sns #instagram {
    margin: 0 auto;
    width: 60%;
  }
}

@media (max-width: 767px) {
  #sns-wrap #sns #instagram {
    margin: 0 auto;
    width: 80%;
  }
}

@media (max-width: 575px) {
  #sns-wrap #sns #instagram {
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 575px) {
  #sns-wrap #sns #instagram #instagram-top p {
    margin-left: 20%;
  }
}

@media (max-width: 991px) {
  #sns-wrap #sns #facebook {
    margin: 20px auto 0;
    width: 60%;
  }
}

@media (max-width: 767px) {
  #sns-wrap #sns #facebook {
    width: 80%;
    text-align: center;
  }
}

@media (max-width: 575px) {
  #sns-wrap #sns #facebook {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 575px) {
  #sns-wrap #sns #facebook #facebook-top p {
    margin-left: 20%;
  }
}

@media (max-width: 991px) {
  #advertisement ul {
    display: inherit;
    overflow: hidden;
  }
}

@media (max-width: 991px) {
  #advertisement ul li {
    float: left;
    width: 33%;
    text-align: center;
  }
}

@media (max-width: 575px) {
  #advertisement ul li {
    width: 50%;
  }
}

@media (max-width: 575px) {
  #cat {
    display: inherit;
  }
}

@media (max-width: 991px) {
  #cat li {
    width: 50%;
    padding-right: inherit;
    padding: 0 10px;
  }
}

@media (max-width: 575px) {
  #cat li {
    width: 100%;
  }
}

@media (max-width: 991px) {
  #cat li:nth-child(3n) {
    padding-right: 10px;
  }
}

@media (max-width: 767px) {
  footer {
    background-image: url(../images/footerimg.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: contain;
  }
}

@media (max-width: 767px) {
  footer #footer-img {
    display: none;
  }
}

@media (max-width: 991px) {
  footer ul li {
    float: left;
    width: 100%;
    min-height: 30px;
    height: auto;
    max-width: 33.333333%;
    margin: 0;
    padding: initial;
    text-align: center;
    border-collapse: collapse;
    border: 1px solid #534741;
    -webkit-transform: inherit;
    transform: inherit;
    border-left: none;
  }

  footer ul li:nth-child(n+4):nth-child(-n+100) {
    border-top: none;
  }

  footer ul li:nth-child(1) {
    border-left: 1px solid #534741;
  }

  footer ul li:nth-child(3n+4) {
    border-left: 1px solid #534741;
  }
}

@media (max-width: 575px) {
  footer ul li {
    width: 50%;
  }

  footer ul li:last-child {
    border-right: 1px solid #534741 !important;
  }
}

@media (max-width: 991px) {
  footer ul li a {
    -webkit-transform: inherit;
    transform: inherit;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
}

@media (max-width: 991px) {
  footer #address {
    width: 90%;
    display: inherit;
  }
}

@media (max-width: 767px) {
  footer #address {
    padding-bottom: 135px;
    margin: 45px 0 0 0;
    width: 100%;
  }
}

@media (max-width: 991px) {
  footer #address #address-left {
    width: initial;
    text-align: center;
  }
}

@media (max-width: 991px) {
  footer #address #address-right {
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  footer #address #address-right dl {
    text-align: center;
  }
}

@media (max-width: 991px) {
  footer #address #address-right dl dt {
    margin-right: 30px;
  }
}

@media (max-width: 767px) {
  footer #address #address-right dl dt {
    float: inherit;
    margin: 0;
  }
}

@media (max-width: 575px) {
  .link-col3 {
    display: inherit;
  }
}

@media (max-width: 767px) {
  .link-col3 .collection {
    width: 50%;
  }

  .link-col3 .collection:nth-child(3n+3) {
    padding-right: 15px;
  }

  .link-col3 .collection:nth-child(2n+2) {
    padding-right: 0;
  }
}

@media (max-width: 767px) and (max-width: 575px) {
  .link-col3 .collection {
    padding-right: 0;
  }

  .link-col3 .collection:nth-child(3n+3) {
    padding-right: 0;
  }
}

@media (max-width: 575px) {
  .link-col3 .collection {
    width: 100%;
  }
}

@media (max-width: 575px) {
  .link-col3 .collection .collection-inner ul {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    overflow: hidden;
  }
}

@media (max-width: 575px) {
  .link-col3 .collection .collection-inner ul li {
    width: 50%;
  }
}

@media (max-width: 767px) {
  #content-wrap .content_morning {
    display: inherit;
  }
}

@media (max-width: 767px) {
  #content-wrap .content_morning .content_morning-left {
    width: 60%;
    margin: 0 auto 15px;
  }
}

@media (max-width: 575px) {
  #content-wrap .content_morning .content_morning-left {
    width: 100%;
  }
}

@media (max-width: 767px) {
  #content-wrap .content_morning .content_morning-right {
    width: 100%;
  }
}

@media (max-width: 767px) {
  #content_title .submit {
    width: 100%;
    float: inherit;
  }
}

@media (max-width: 767px) {
  #content-wrap .content_morning.past {
    text-align: center;
  }
}

@media (max-width: 767px) {
  #content-wrap .content_morning.past h4 {
    width: 90%;
    margin-bottom: 15px;
    text-align: center;
  }
}

@media (max-width: 767px) {
  #content-wrap .content_morning.past .past-img {
    float: inherit;
    margin: 0 auto;
    width: 90%;
  }
}

@media (max-width: 767px) {
  #content-wrap .content_morning.past p {
    width: 90%;
    margin: 0 auto;
    text-align: left;
    padding-top: 15px;
  }
}

@media (max-width: 767px) {
  .underpage .input-area {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .underpage .submit {
    width: 100%;
    float: inherit;
    padding: 0 5px;
  }
}

@media (max-width: 767px) {
  .underpage .wcv-imgcap {
    width: 100%;
    text-align: initial;
  }
}

@media (max-width: 767px) {
  .underpage .wcv-floatbox-left {
    display: inherit;
  }
}

@media (max-width: 767px) {
  .underpage .wcv-floatbox-left .wcvimg-floatleft {
    float: inherit;
    margin: 0 auto;
    display: inherit;
  }
}

@media (max-width: 767px) {
  .underpage .wcv-floatbox-right .wcvimg-floatright {
    float: inherit;
    margin: 0 auto;
    display: inherit;
  }
}

@media (max-width: 767px) {
  #collective_link ul li {
    width: 50%;
  }
}

@media (max-width: 575px) {
  #collective_link ul li {
    width: 100%;
  }
}

@media screen and (max-width: 600px) {
  .topNews {
    margin: 20px 10px;
  }

  .topNews__list__wrap {
    display: block;
  }

  .topNews__list__item {
    width: 100%;
  }

  #content-wrap #news-list dl dt {
    min-width: 125px;
    display: block;
  }

  #content-wrap #news-list dl dt span {
    margin-top: 5px;
    margin-left: 0;
  }
}

@media screen and (max-width: 991px) {
  #content-wrap #content.kouhou-list-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  #kouhou-top_right {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
    padding: 5px;
  }

  #kouhou-top_right a img {
    max-width: 100%;
    height: auto;
  }

  #kouhou-top_left {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
    margin-bottom: 15px;
  }
}

@media screen and (max-width: 767px) {
  .kouhou-back-list__wrap {
    max-width: 98%;
    margin-bottom: 30px;
    padding: 0 5px;
  }

  .kouhou-back-list__item-area li {
    max-width: 48%;
    margin-bottom: 10px;
  }

  .catelist li {
    max-width: 100%;
  }

  .content_col2 {
    display: block;
  }

  .content_inner_item {
    max-width: 100%;
    margin-bottom: 25px;
  }

  .content_col2__text {
    margin-left: 0;
  }

  #content-wrap #content.kouhou-list-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  #kouhou-top_left {
    margin-bottom: 10px;
  }

  #kouhou-top_left,
  #kouhou-top_right {
    width: 100%;
  }
}

@media (max-width: 1090px) {
  #header-left h1 {
    font-size: 80%;
  }
  .header-banner {
    max-width: 155px;
    margin-left: 0;
    padding: 7px 5px;
  }

  #header-right {
    font-size: 75%;
    padding-right: 5px;
  }
  #header-right .tools__bgchange {
    margin-left: 5px;
  }
}
@media (max-width: 575px) {
  .header-banner {
    margin-left: 10px;
  }
}