@charset "UTF-8";
/* NEWS & TOPICS ----------*/
.position_bg {
  position: relative;
  z-index: 2;
}

.middle_contents_ft {
  width: 100%;
  background-image: url(./indeximg/mdl-bg.png);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% 1000px;
  margin-top: -180px;
  padding-top: 180px;
  padding-bottom: 50px;
  position: relative;
}

.middle_contents {
  width: 100%;
  background-image: url(./indeximg/mdl-bg.png);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% 1000px;
  margin-top: -180px;
  padding-top: 180px;
  padding-bottom: 50px;
  position: relative;
}

.middle_contents img {
  max-width: 100%;
}

.middle_contents a,
.to_news_list a {
  text-decoration: none;
  transition: 0.3s;
}

.middle_contents a:hover {
  opacity: 0.8;
}

.news_box {
  margin-bottom: 40px;
}

.news_title {
  margin: 60px 0 40px 0;
}

.news_box ul {
  margin: 0 auto;
}

.topics_box {
  display: flex;
  width: 1020px;
  margin: 0 auto;
  color: #333;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 0 10px;
}

.topics_box figure {
  width: 450px;
}

.topics_box figure img {
  width: 450px;
  height: 256px;/*300px*/
  object-fit: cover;
}

.topics_article {
  margin: 0 0 0 50px;
  text-align: left;
  width: calc(100% - 450px);
}

.topics_article dd {
  margin-left: 0;
}

.topics_sub_title {
  color: #002D69;
  font-size: 1.25rem;
  margin-bottom: 40px;
}

.arrow_news {
  height: 256px;/*250px*/
}

.news_post {
  list-style: none;
  padding: 40px 10px 0 10px;
  margin: 0 auto;
  width: 1020px;
  display: flex;
  box-sizing: border-box;
}

.news_post li {
  width: calc((100% - 40px) / 3);
  text-align: left;
  margin-left: 20px;
}

.news_post li:first-child {
  margin-left: 0;
}

.post_date_top {
  margin-top: 1rem;
}

.post_title a {
  margin-top: 1rem;
  display: inline-block;
  font-size: 1.125rem;
  color: #0085c5;
  font-weight: bold;
}

.news_link,
.prev_single,
.link_btn,
.next_single {
  display: block;
  width: 310px;
  line-height: 50px;
  color: #002D69;
  margin: 0 auto;
  border: solid 1px #002D69;
  border-radius: 25px;
  font-size: 1.25rem;
  position: relative;
}

.prev_single,
.link_btn,
.next_single {
  width: 200px;
  line-height: 40px;
  font-size: 1rem;
  margin: 0 20px;
  transition: 0.5s;
}

.news_link:hover,
.prev_single:hover,
.link_btn:hover,
.next_single:hover {
  background: rgba(255, 255, 255, 1);
}

.news_link::after,
.prev_single::after,
.next_single::after {
  content: '';
  display: block;
  width: 19px;
  height: 19px;
  border-top: solid 2px #002D69;
  border-right: solid 2px #002D69;
  transform: rotate(45deg);
  position: absolute;
  top: 13px;
  right: 26px;
}

.prev_single::after,
.next_single::after {
  width: 10px;
  height: 10px;
}

.prev_single::after {
  transform: rotate(-135deg);
  left: 26px;
}

.access_map {
  width: 100%;
  margin-top: 180px;
}

.way {
  font-size: 1.0625rem;
  font-weight: bold;
  line-height: 1.8;
}

#google_map {
  width: 100%;
  height: 800px;
  margin-bottom: -334px;
  /*overflow: hidden;マイマップ用*/
}

#google_map iframe {
  width: 100%;
  height: 100%;
  /*margin-top:-60px;マイマップ用*/
}

/* 新着が一件もなかった場合 ----------*/
.no_news {
  width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 0px;
  text-align: center;
}

@media screen and (max-width: 1020px) {
  .topics_box,
  .news_post {
    width: 100%;
  }
}

@media screen and (max-width: 1019px) and (min-width: 769px) {
  .cont-caption {
    width: 100%;
  }

  #contents {
    box-sizing: border-box;
    padding: 0 10px;
  }

  .cont {
    width: 100%;
  }

  .cont img {
    max-width: 100%;
  }

  #c4c {
    width: calc((100% - 60px) / 4);
  }

  .cont-btm {
    width: calc(100% - 20px);
    padding: 230px 10px 0 10px;
  }
}

@media screen and (max-width: 768px) {
  .middle_contents {
    background-size: cover;
    background-image: url(./indeximg/mdl-bg.svg);
  }

  .topics_box,
  .news_post {
    max-width: 500px;
    width: 100%;
  }

  .topics_box {
    flex-direction: column;
  }

  .news_title {
    margin: 40px auto 40px auto;
    width: 335px;
  }

  .news_title img {
    max-width: 100%;
  }

  .topics_box figure {
    width: 100%;
  }

  .topics_box figure img {
    width: 100%;
    height: auto;
  }

  .topics_article {
    margin: 20px 0 0 0;
    width: 100%;
  }

  .topics_sub_title {
    font-size: 1.0625rem;
    margin-bottom: 10px;
    margin-top: 10px;
  }

  .topics_article dd {
    width: 100%;
    padding-right: 40px;
    box-sizing: border-box;
    position: relative;
  }

  .topics_article dd::after,
  .sp_post::after {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    border-top: solid 2px #002D69;
    border-right: solid 2px #002D69;
    transform: rotate(45deg);
    position: absolute;
    bottom: 20px;
    right: 12px;
  }

  .sp_post::after {
    right: -28px;
  }

  .topics_box .topics_img {
    max-width: 500px;
    margin: 0 auto;
  }

  .arrow_news {
    display: none;
  }

  .news_post {
    padding: 30px 10px 0 10px;
    flex-direction: column;
  }

  .news_post li > a {
    width: 120px;
  }

  .sp_post {
    margin-left: 10px;
    width: calc(100% - 170px);
    position: relative;
  }

  .sp_post .post_date {
    margin-top: 0;
  }

  .post_title a {
    margin-top: 8px;
    font-size: 0.937rem;
  }

  .news_post li {
    width: 100%;
    display: flex;
    margin-bottom: 30px;
    margin-left: 0;
    align-items: center;
  }

  .post_date_top {
    margin-top: 0;
  }

  .news_link {
    font-size: 1rem;
  }

  .access_map {
    box-sizing: border-box;
    padding: 0 10px;
    margin-top: 80px;
  }

  .access_map .news_title {
    width: 260px;
    margin: 0 auto 40px auto;
  }

  .way {
    font-size: 0.937rem;
  }

  #google_map {
    height: 600px;
    margin-bottom: -160px;
  }

  .no_news {
    margin: -350px auto 280px auto;
  }
}

/* Wordpress post CSS ----------------------------------------------------------------*/
/* 共通整形 ----------*/
nav ul {
  list-style: none;
  padding-left: 0;
}

ul a {
  text-decoration: none;
  transition: 0.5s;
}

header *,
main * {
  box-sizing: border-box;
}

.pc_show {
  display: inline-block;
}

.sp_show {
  display: none;
}

/* グローバルナビゲーション ----------*/
.header_nav {
  margin: 30px 0 40px 0;
}

.menu {
  display: flex;
  justify-content: space-between;
  width: 696px;
  margin: 0 auto;
}

.menu li {
  width: calc((100% - 6px) / 4);/*faq追加　3→4*/
}

.menu a {
  display: block;
  width: 100%;
  line-height: 34px;
  color: #fff;
}

.menu li:nth-child(odd) a {
  background: #002D69;
}

.menu li:nth-child(odd) a:hover {
  background: #99cc00;
}

.menu li:nth-child(2) a {
  background: #99cc00;
}

.menu li:nth-child(2) a:hover {
  background: #002D69;
}

.menu li:nth-child(4) a {
  background: #002D69;
}

.menu li:nth-child(4) a:hover {
  background: #99cc00;
}

.header_title {margin: 0.4em 0;}

@media screen and (max-width: 768px) {
  .pc_show {
    display: none;
  }

  .sp_show {
    display: inline-block;
  }

  header *,
  main * {
    font-size: 0.875rem;
  }

  .header_title {
    width: 335px;
    margin: 0.5em auto;
  }

  .header_nav {
    margin: 20px 0;
  }

  .menu {
    width: 100%;
    padding: 0 10px;
	flex-wrap: wrap;
  }
  .menu li{
  width: 49.5%;
margin-bottom: 4px;
  }

  .menu a {
    font-size: 0.812rem;
    line-height: 30px;
  }
}

/* コンテンツ ----------*/
.main {
  width: 100%;
  background: #fff;
  position: relative;
  padding-bottom: 150px;
  z-index: 1;
}

.bread_clumb {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  padding-left: 0;
  color: #666;
}

.bread_clumb li {
  font-size: 0.875rem;
}

.bread_clumb a {
  text-decoration: none;
  color: #666;
  font-size: 0.875rem;
  transition: 0.5s;
}

.bread_clumb a:hover {
  border-bottom: solid 1px #666;
}

.bread_clumb li::after {
  content: '>';
  color: #666;
  padding: 0 6px;
}

.bread_clumb li:last-child:after {
  content: '';
}

.slanting {
  width: 100%;
  background: #fff;
  position: relative;
}

.slanting::after {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background: #eaf1f9;
  left: 0;
  top: 0;
  transform: skewY(18deg);
  transform-origin: bottom left;
}

.container {
  width: 1020px;
  padding: 0 10px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.post_list {
  width: 84%;
  margin: 70px auto 0 auto;
}

.post_list dl {
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: dotted 1px #333;
}

.post_list dl:last-child {
  border-bottom: solid 1px #333;
}

.post_list dt {
  width: 200px;
}

.post_list dt a,
.post_title a {
  transition: 0.5s;
}

.post_list dt a:hover {
  opacity: 0.7;
}

.post_list dt img {
  vertical-align: top;
  width: 200px;
  height: 133px;
  object-fit: contain;
}

.post_list dd {
  margin-left: 0;
  padding-left: 30px;
  width: calc(100% - 200px);
  text-align: left;
}

.post_date {
  margin: 0;
  width: 130px;
  line-height: 28px;
  padding-top: 2px;
  text-align: center;
  background: #002D69;
  color: #fff;
}

.post_title a {
  font-size: 1rem;
  margin-top: 10px;
  color: #002D69;
  text-decoration: none;
}

.post_title a:hover {
  color: #99cc00;
}
/* シングルページ ----------*/
.contents_title {
  font-size: 2.125rem;
  color: #002D69;
  font-weight: bold;
  border-bottom: solid 2px #002D69;
  display: inline-block;
  padding-bottom: 10px;
}

.contents_date {
  font-size: 1rem;
  color: #000;
  font-weight: normal;
  display: block;
  margin-bottom: 10px;
}

.post_contents {
  width: 84%;
  margin: 0 auto;
}

.post_detail {
  text-align: left;
  padding-bottom: 80px;
  border-bottom: solid 1px #333;
  line-height: 1.6;
  margin-top: 30px;
  word-wrap: break-word;
}

.post_detail p {
  margin-top: 0;
  margin-bottom: 0;
}

/* 記事中img ----------*/
.post_detail img {
  width: 50%;
  height: auto;
  padding: 5px;
  max-width: 100%;
}

/* 記事中iframe */
.iframe-container {
  position: relative;
  width: 100%;
  padding-top: 75%;
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.post_pager {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.post_pager a {
  text-decoration: none;
}

.footer {
  width: 100%;
  background: #fff;
}

/* WPより書出しfooterリンクボタン ----------*/

#footerLink {
  position: fixed;
  top: 100px;
  right: 0;
  z-index: 9999;
}

#footerLink ul {
  margin: 0;
  list-style: none;
  padding-left: 0;
}

#footerLink li {
  width: 60px;
  height: 230px;
  margin-bottom: 20px;
}

.footerLink__btn {
  display: grid;
  width: 100%;
  height: 100%;
  text-align: center;
  align-items: center;
  padding: 0 22px;
  line-height: 1.3;
  box-sizing: border-box;
  border-radius: 9px 0 0 9px;
  transition: 0.3s;
}

.footerLink__btn:hover {
  opacity: 0.7;
}

@media screen and (max-width: 1038px) {
  .container {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .bread_clumb li,
  .bread_clumb a {
    font-size: 0.75rem;
  }

  .main {
    padding-bottom: 100px;
    margin-bottom: -100px;
  }

  .post_list {
    margin: 50px auto 0 auto;
    width: 100%;
  }

  .post_list dl {
    flex-direction: column-reverse;
  }

  .post_list dt {
    margin: 0 auto;
  }

  .post_list dd {
    padding-left: 0;
    width: 100%;
    margin-bottom: 20px;
    text-align: center;
  }

  .post_list .post_date {
    margin: 0 auto;
    font-size: 0.875rem;
  }

  .post_list .post_title a {
    font-size: 1rem;
  }

  .contents_title {
    font-size: 1.375rem;
    margin: 0;
  }

  .post_contents {
    width: 100%;
  }

  .post_detail {
    padding-bottom: 40px;
  }

  /* 記事中img ----------*/
  .post_detail img {
    width: 100%;
  }

  .post_pager {
    margin-top: 30px;
    justify-content: space-between;
  }

  .prev_single,
  .link_btn,
  .next_single {
    width: 105px;
    line-height: 40px;
    font-size: 0.812rem;
    margin: 0;
  }

  .prev_single::after,
  .next_single::after {
    top: 16px;
    width: 6px;
    height: 6px;
  }

  .prev_single::after {
    left: 8px;
  }

  .next_single::after {
    right: 8px;
  }

  /* WPより書出しfooterリンクボタン ----------*/

  #footerLink {
    top: auto;
    right: 0;
    left: 0;
    bottom: 0;
  }

  #footerLink ul {
    display: flex;
  }

  #footerLink li {
    width: 50%;
    height: 40px;
    margin-bottom: 0;
  }

  .footerLink__btn {
    width: 100%;
    height: 100%;
    padding: 0;
    border-radius: 0;
  }
}
