@charset "UTF-8";
@media screen and (min-width: 1201px) {
  #main-wrap {
    width: 90% !important;
    max-width: 1000px;
  }

  .header-wrap .header-logo, .header_small_content {
    width: 100% !important;
    max-width: 1200px;
  }
}
#logo {
  display: flex;
}
#logo .head_free img {
  display: block;
  height: 100% !important;
  margin: 5px auto;
  padding-left: 5px;
}

#onlynav {
  background: linear-gradient(#fff 0%, #e4e4e4 100%) !important;
}

#onlynavul {
  display: flex !important;
  justify-content: space-between;
  max-width: 1000px;
  margin-left: 50% !important;
  transform: translateX(-50%);
}

#onlynav ul li a {
  font-weight: normal;
  font-size: 1em;
  line-height: 1.5;
}

.nav_inleft {
  padding: 0 10px;
}

@media screen and (max-width: 782px) {
  #logo img {
    height: auto !important;
  }

  .diver_firstview_image {
    position: relative;
  }
  .diver_firstview_image:after {
    position: absolute;
    top: 0;
    content: "";
    background-image: url("../images/main_content_sp.png");
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    display: block;
  }
}
.top_slider_wrapper {
  width: 100%;
  background-color: #fff;
}
.top_slider_wrapper #main-wrap {
  margin: 0 auto !important;
  padding: 5px 0 !important;
}
.top_slider_wrapper #main-wrap #pickup_posts_container {
  margin-bottom: 0 !important;
}

@media screen and (max-width: 782px) {
  #main-wrap #pickup_posts_container li img {
    width: 100% !important;
    -o-object-fit: contain;
       object-fit: contain;
  }
}
h2.h2_top {
  background-color: transparent !important;
  color: #333;
  padding: 1rem;
  border-top: solid 1px #333;
  border-bottom: solid 1px #333;
}
h2.h2_top span {
  display: inline-block;
}

.tab {
  height: 50px !important;
}

#top_news li {
  line-height: 1;
}
#top_news li a {
  display: inline-block;
  margin: 10px;
}
#top_news li a:hover {
  text-decoration: underline;
}
#top_news .panel-group {
  overflow: scroll;
  height: 400px;
}

.mainmenu_gr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 10px;
}
.mainmenu_gr a:hover {
  opacity: 0.6;
}

.top_contact_gr {
  border: solid 1px #ccc;
  padding: 15px 15px 0px;
}
@media screen and (max-width: 782px) {
  .top_contact_gr {
    padding: 15px;
  }
}
.top_contact_gr h3 {
  margin: 0 auto 15px;
  background-color: #090067 !important;
  color: #fff;
  text-align: left;
  border-bottom: none !important;
}
.top_contact_gr h3 span {
  display: inline-block;
}
@media screen and (max-width: 782px) {
  .top_contact_gr h3 {
    line-height: 1.5;
  }
}
.top_contact_gr .top_contact_info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top_contact_gr .top_contact_info > div:first-child {
  padding-right: 5px;
}
.top_contact_gr .top_contact_info > div:last-child {
  padding-left: 5px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.top_contact_gr .top_contact_info > div:last-child a img {
  margin-bottom: 0px;
}
.top_contact_gr .top_contact_info img {
  display: block;
  width: 100%;
}
.top_contact_gr .top_contact_info a:hover {
  opacity: 0.6;
}
@media screen and (max-width: 782px) {
  .top_contact_gr .top_contact_info {
    flex-direction: column;
  }
}

.top_soudan {
  margin-bottom: 30px;
  overflow: hidden;
}
.top_soudan figure {
  float: left;
  padding-right: 20px;
}
@media screen and (max-width: 782px) {
  .top_soudan figure {
    margin: 0 auto;
    display: block;
    float: none;
    padding: 10px;
  }
  .top_soudan figure img {
    margin: 0 auto;
    display: block;
  }
}

.inner_video {
  width: 100%;
  /*横幅いっぱいにwidthを指定*/
  padding-bottom: 56.25%;
  /*高さをpaddingで指定(16:9)*/
  height: 0px;
  /*高さはpaddingで指定するためheightは0に*/
  position: relative;
}
.inner_video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.thumb_slide {
  padding: 5px;
  position: relative;
}
.thumb_slide img {
  margin: 0;
}
.thumb_slide:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(250, 250, 250, 0.6);
  transition: all 0.5s;
}
.thumb_slide:hover:after {
  background: none;
}
/*# sourceMappingURL=custom.css.map */