/* ------- slider -------- */
#slide {
  width: 100%;
  height: 500px;
  background-color: rgb(97, 97, 97);
  background-image: url(/img/PXL_20240511_034126332.jpg);
  background-size: cover;
  background-position: 50% 80%;
  padding: 0;
}

#slide>div {
  height: 100%;
  position: relative;
}

#slide>div>p {
  position: absolute;
  bottom: 50%;
  right: 0;
  color: #ffffff;
  font-size: 35px;
  text-shadow: 0px 0px 10px #28385e;
  z-index: 0;
}

@media screen and (min-width:769px) {}

@media screen and (max-width:768px) {
  #slide {
    height: calc(67.8vh - 100px);
  }

  #slide>div>p {
    font-size: 25px;
  }
}

/* ------- news -------- */
#news_main {
  /* padding: 80px 0; */
}

#news_div {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  height: 300px;
  overflow: hidden;
  padding: 20px 10px;
  border: solid 2px #c9c9c9;
  border-radius: 10px;
  background-color: white;
}

#news_div>ul {
  width: 100%;
  height: 100%;
  overflow: auto;
}

#news_div>ul>li {
  border-bottom: dotted 1px #838383;
}

#news_div>ul>li>a {
  display: inline-block;
  width: 100%;
  height: 100%;
  padding: 10px 0px 5px 15px;
  text-decoration: none;
  color: black;
}

#news_div>ul>li>a:hover {
  background-color: #dbdbdb85;
  opacity: 0.7;
}

.news_a>p>span:nth-of-type(1) {
  color: #1c534e;
  font-style: italic;
}

.news_a>p>span:nth-of-type(2) {
  width: 110px;
  display: inline-block;
  padding: 5px;
  border-radius: 15px;
  text-align: center;
  color: white;
  margin: 0 0 0 10px;
  font-size: 90%;
}

.news_a .news_okuchi {
  background: #00a968;
}

.news_a .news_kagura {
  background: #ff8080;
}

.news_a .news_sarasa {
  background: #ffbe5d;
}

.news_a .news_tazuha {
  background: #4979fd;
}

.news_a>p:last-of-type {
  font-size: 130%;
  padding: 5px 0 5px 15px;
}

@media screen and (min-width:769px) {}

@media screen and (max-width:768px) {
  #news_div {
    width: calc(100% - 4px);
    border-radius: 5px;
    padding: 10px 5px;
  }

  #news_div>ul>li>a {
    padding: 5px 0px 5px 5px;
  }

  .news_a>p:last-of-type {
    font-size: 120%;
    padding: 5px 0 5px 5px;
  }
}

/* ------- 関連施設 -------- */
#gp_section {
  /* padding: 80px 0; */
  background-image: url(../img/mati2.png);
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  background-position: 50%;
}

#gp_section::before {
  content: " ";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #4072B3;
  top: 0;
  left: 0;
  opacity: 0.8;
}

#gp_section h2 {
  color: white;
}

#gp_main {
  display: flex;
  flex-wrap: wrap;
}

#gp_main>div {
  width: calc(50% - 20px);
  overflow: hidden;
  margin: 10px;
  position: relative;
  height: 650px;
  border: solid 1px #b3b3b3;
  border-radius: 15px 15px 5px 5px;
  background: #ffffff;
}

#gp_main>div>div:nth-of-type(1) {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 38.2%;
}

#gp_main>div>div:nth-of-type(1)>img {
  width: 100%;
  height: 100%;
}

#gp_main>div>div:nth-of-type(2) {
  position: absolute;
  top: calc(38.2% - 50px);
  left: calc(50% - 53px);
  z-index: 1;
  width: 106px;
  text-align: center;
  padding: 3px;
  border-radius: 50%;
  background: #ffffff;
  height: 106px;
}

#gp_main>div>div:nth-of-type(2)>img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(210deg, #F6A89E 0% 0%, #F3D6CA 100%);
}

#gp_main>div>div:nth-of-type(3) {
  position: absolute;
  top: calc(38.2% + 50px);
  left: 0;
  width: 100%;
  height: 45%;
}

#gp_main>div>div:nth-of-type(3)>h3 {
  width: 100%;
  text-align: center;
  font-size: 130%;
}

#gp_main>div>div:nth-of-type(3)>p:nth-of-type(1) {
  width: 100%;
  text-align: center;
  margin-top: -10px;
  color: #bbbbbb;
  font-size: 95%;
  font-style: italic;
}

#gp_main>div>div:nth-of-type(3)>p:nth-of-type(2) {
  padding: 10px 5px 10px 5px;
}

#gp_main>div>div:nth-of-type(4) {
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  text-align: center;
}

#gp_main>div>div:nth-of-type(4)>p {
  width: 196px;
  height: 50px;
  margin: 0 auto;
}

#gp_main>div>div:nth-of-type(4)>p>a {
  display: inline-block;
  width: 100%;
  height: 100%;
  padding-top: 10px;
  font-size: 20px;
  border: solid 1px rgb(196, 196, 196);
  border-radius: 5px;
  text-align: center;
  color: black;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  background: #ffffff;
}

#gp_main>div>div:nth-of-type(4)>p>a>span {
  position: relative;
  z-index: 1;
}

#gp_main>div>div:nth-of-type(4)>p>a::before {
  content: " ";
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(141deg, #f99695 0%, #F0E68C 100%);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  transform: translateX(-100%);
  transition: all 300ms;
}

#gp_main>div>div:nth-of-type(4)>p>a::after {
  content: "▶";
  display: block;
  position: absolute;
  top: 10px;
  right: 5px;
  z-index: 1;
  color: white;
}

#gp_main>div>div:nth-of-type(4)>p>a:hover {
  color: white;
}

#gp_main>div>div:nth-of-type(4)>p>a:hover::before {
  transform: translateX(0%);
}

@media screen and (min-width:769px) {}

@media screen and (max-width:768px) {
  #gp_main {
    flex-direction: column;
  }

  #gp_main>div {
    width: calc(100% - 20px);
    height: 500px;
    border-radius: 5px;
  }

  #gp_main>div>div:nth-of-type(2) {
    display: none;
  }

  #gp_main>div>div:nth-of-type(3) {
    top: calc(38.2% + 5px);
  }
}