@charset "utf-8";
/* ======================================================
CSS information

 File Name  : index.css
 Style Info : 「トップ」のCSS
====================================================== */

#gaikan-block,
#madori-block,
.photo-block {
  margin-bottom: 30px;
}

#gaikan-block .img-box,
#madori-block .img-box,
.photo-block .img-box {
  margin-bottom: 10px;
}

#gaikan-block .img-box img,
#madori-block .img-box img {
  max-width: 500px;
  width: 100%;
  height: auto;
}

#gaikan-block ul,
#madori-block ul {
  margin-bottom: 10px;
}

#gaikan-block li,
#madori-block li {
  text-indent: -1em;
  padding-left: 1em;
}

#madori-block li {
  line-height: 1.4;
  margin-bottom: 5px;
}

#madori-block li:last-child {
  margin-bottom: 0;
}

#gaikan-block dl {
  line-height: 1.4;
  font-size: 1.3rem;
}

#gaikan-block dt {
  clear: both;
  float: left;
  margin-bottom: 10px;
  width: 8.5em;
}

#gaikan-block dd {
  margin-bottom: 10px;
  padding-left: 8.5em;
}

#gaikan-block dd a {
  display: block;
  text-decoration: underline;
}

#madori-block p:last-of-type {
  font-size: 1.3rem;
}

.photo-block .bx-wrapper {
  margin-bottom: 10px;
  border: none;
}

#bx-pager.flex,
#bx-pager02.flex,
#bx-pager03.flex {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

#bx-pager.flex:after,
#bx-pager02.flex:after,
#bx-pager03.flex:after {
  content: '';
  display: block;
  width: calc(96% / 3);
}

#bx-pager.flex a,
#bx-pager02.flex a,
#bx-pager03.flex a {
  margin: 0 2% 3% 0;
  width: -webkit-calc(96% / 3);
  width: -moz-calc(96% / 3);
  width: calc(96% / 3);
}


#bx-pager a:nth-child(3n+3),
#bx-pager02 a:nth-child(3n+3),
#bx-pager03 a:nth-child(3n+3) {
  margin-right: 0;
}

#bx-pager a:nth-last-child(-n+3),
#bx-pager02 a:nth-last-child(-n+3),
#bx-pager03 a:nth-last-child(-n+3) {
  margin-bottom: 0;
}

ul.head_menu {
  background: #ffffff;
  text-align: center;
}

ul.head_menu li {
  display: inline-block;
  margin: 0 5px;
}

ul.head_menu li a {
  font-size: 2.3rem;
}

ul.head_menu li a:hover {
  text-decoration: none;
  color: rgba(10, 73, 148, 0.8)
}

ul.head_menu li.active {
  background-color: rgba(10, 73, 148, 1);
  border-radius: 10px 10px 0 0 / 10px 10px 0 0;
  -webkit-border-radius: 10px 10px 0 0 / 10px 10px 0 0;
  -moz-border-radius: 10px 10px 0 0 / 10px 10px 0 0;
}

ul.head_menu li.active a {
  color: #ffffff;
}

/* 768px～（タブレット）
------------------------------------------------------ */
@media screen and (min-width: 768px) {

  #gaikan-block .img-box,
  #madori-block .img-box,
  .photo-block .img-box {
    margin-bottom: 0;
  }

  #gaikan-block.flex,
  #madori-block .flex,
  .photo-block .flex {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    align-items: flex-start;
  }

  #gaikan-block .img-box,
  #madori-block .img-box {
    width: 48%;
  }

  #gaikan-block .text-box,
  #madori-block .text-box {
    width: 50%;
  }

  .photo-block .bx-wrapper {
    width: 51%;
  }

  .photo-block #bx-pager,
  .photo-block #bx-pager02,
  .photo-block #bx-pager03 {
    width: 47%;
  }

  #gaikan-block dl {
    font-size: 1.4rem;
  }

  #gaikan-block dt {
    margin-bottom: 3px;
  }

  #gaikan-block dd {
    margin-bottom: 3px;
  }

  #gaikan-block dd a {
    display: inline-block;
  }

  #madori-block p:last-of-type {
    font-size: 1.4rem;
  }

  ul.head_menu li a {
    font-size: 4.6rem;
  }

}

/* 960px～（パソコン）
------------------------------------------------------ */
@media screen and (min-width: 960px) {

  .photo-block .bx-wrapper {
    width: 50%;
  }

  #gaikan-block dl {
    font-size: 1.5rem;
  }

  #gaikan-block dt {
    margin-bottom: 6px;
  }

  #gaikan-block dd {
    margin-bottom: 6px;
  }

  #madori-block p:last-of-type {
    font-size: 1.5rem;
  }

  ul.head_menu li a {
    font-size: 6rem;
  }

}