@charset "utf-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap");
/* CSS Document */

/*=======================
mainvisual
=======================*/
#hero_image {
  width: 950px;
  margin: 0 auto;
}
#hero_image .mainvisual {
  position: relative;
}
#hero_image .mainvisual ul {
  list-style: none;
  font-family: "Noto Serif JP", serif;
  font-weight: 300;
  position: absolute;
  z-index: 2;
}
#hero_image .mainvisual ul.nav_01 {
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  bottom: 0px;
  width: 100%;
  padding: 0;
  margin: 0;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
}
#hero_image .mainvisual ul.nav_01 li {
  width: 14%;
  text-align: center;
  position: relative;
}
#hero_image .mainvisual ul.nav_01 li:last-child {
  width: 16%;
  background-color: rgb(142, 97, 38, 1);
  display: block;
}
#hero_image .mainvisual ul.nav_01 li:hover {
  background-color: rgba(100, 100, 100, 0.7);
}
#hero_image .mainvisual ul.nav_01 li:last-child:hover {
  background-color: #aa895c;
}

#hero_image .mainvisual ul li a {
  font-size: 13px;
  display: block;
  width: 100%;
  text-decoration: none;
}
#hero_image .mainvisual ul.nav_01 li a {
  padding: 18px 0px;
  color: #fff;
  letter-spacing: 2px;
}
#hero_image .mainvisual ul.nav_01 li:before {
  content: "";
  position: absolute;
  display: block;
  width: 1px;
  height: 12px;
  top: 20px;
  background-color: rgba(229, 229, 229, 0.5);
  left: 0;
}
#hero_image .mainvisual ul.nav_01 li:first-child:before,
#hero_image .mainvisual ul.nav_01 li:last-child:before {
  content: none;
}
/*----------------------
　.contents
----------------------*/
#contents {
  width: 950px;
  margin: 100px auto;
  font-family: "メイリオ", "ヒラギノ角ゴ ProN W3", "HiraKakuProN-W3", Meiryo, Helvetica, Arial, sans-serif;
}
#contents .main_copy {
  text-align: center;
  margin: 40px 0 40px;
  line-height: 1.6;
}
#contents h2 {
  font-size: 23px;
  text-align: center;
  font-family: "Noto Serif JP", serif;
  font-weight: 300;
  letter-spacing: 1px;
  padding: 40px 0 20px;
}
#contents a {
  text-decoration: none;
  color: #333;
}
#contents img {
  width: 100%;
}
#contents ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#contents .clearfix:after {
  content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}
#contents .faci_copy {
  text-align: center;
  line-height: 2;
  margin-bottom: 60px;
}
#contents .menu_box {
  margin-bottom: 80px;
}
#contents .ttl h2,
h3,
h4 {
  font-size: 30px;
  margin-bottom: 40px;
  line-height: 1.3;
  padding: 0;
}
#contents .min {
  font-family: "Noto Serif JP", serif;
  font-weight: 300;
}
#contents .rest_box .slide_img {
  width: 520px;
  margin-right: 40px;
}
/**************************
	.slide_img slide
**************************/

.slide_img {
  float: left;
}
.slide_img:after {
  position: static;
}
.out {
  position: relative;
}
.in img {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: 0.5s;
  z-index: 0;
}
.slide_img .slide_img img {
  display: block;
  width: 100%;
  height: auto;
}
.slide_img input {
  display: none;
}
.slide_img .in {
  display: flex;
  justify-content: center;
}
label span {
  display: block;
  width: 12px;
  height: 12px;
  padding: 5px;
  margin: -40px 0 0;
  border-radius: 100%;
  cursor: pointer;
  position: relative;
  z-index: 2;
}
label span::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  opacity: 1;
  border-radius: 100%;
}
input:nth-of-type(1):checked ~ .in label:nth-of-type(1) span::before,
input:nth-of-type(2):checked ~ .in label:nth-of-type(2) span::before,
input:nth-of-type(3):checked ~ .in label:nth-of-type(3) span::before {
  background: #000;
  opacity: 1;
}
label span::before {
  animation: slidebutton 10.5s infinite;
}
@keyframes slidebutton {
  0% {
    opacity: 1;
    background: #fff;
  }
  3.5% {
    opacity: 1;
    background: #000;
  } /* b÷x×100=y */
  33% {
    opacity: 1;
    background: #000;
  } /* b÷x×100=y */
  36.5% {
    opacity: 1;
    background: #fff;
  } /* 100÷c=z */
}
label:nth-of-type(2) span::before,
label:nth-of-type(2) img {
  animation-delay: 3.5s;
}
label:nth-of-type(3) span::before,
label:nth-of-type(3) img {
  animation-delay: 7s;
}
input:nth-of-type(1):checked ~ .in label:nth-of-type(1) img,
input:nth-of-type(2):checked ~ .in label:nth-of-type(2) img,
input:nth-of-type(3):checked ~ .in label:nth-of-type(3) img {
  opacity: 1;
  z-index: 1;
}
.in img {
  animation: slide 10.5s infinite; /* (a+b)×c=x */
  opacity: 0;
}
@keyframes slide {
  0% {
    opacity: 0;
  }
  3.5% {
    opacity: 1;
    z-index: 1;
  } /* b÷x×100=y */
  33% {
    opacity: 1;
  } /* 100÷c=z */
  36.5% {
    opacity: 0;
    z-index: 0;
  } /* y+z */
}
input:checked ~ .in img,
input:checked ~ .in span::before {
  animation: none;
}
.in:hover img,
.in:hover span::before {
  animation-play-state: paused; /* マウスを載せると一時停止 */
}
#contents .img_right {
  float: right;
  width: 40%;
  margin-top: 10px;
  font-size: 14px;
}
#contents .detail_box {
  padding: 20px 0;
  margin: 20px 0;
  border-top: 1px solid #dedede;
  border-bottom: 1px solid #dedede;
  line-height: 1.8;
}
#contents .detail_box .m_tit {
  float: left;
  margin-right: 30px;
  width: 100px;
  margin-bottom: 10px;
}
#contents .m_detail {
  margin-left: 130px;
  margin-bottom: 10px;
}
#contents .sub_txt {
  line-height: 1.8;
  margin-bottom: 10px;
}
