/* CSS Document */
@import url("https://fonts.googleapis.com/css2?family=Kiwi+Maru:wght@300;400;500&display=swap");

/* スクロールバー */
::-webkit-scrollbar {
  width: 10px;
}
/* 背景 */
::-webkit-scrollbar-track {
  background: #fff;
  border: none;
  border-radius: 10px;
  box-shadow: inset 0 0 2px #777;
}
/* つまみ */
::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
  box-shadow: none;
}

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

body * {
  font-family: "Noto Serif Japanese", 游明朝, "Yu Mincho", YuMincho,
    "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", HG明朝B, "ＭＳ Ｐ明朝",
    "ＭＳ 明朝", "MS Mincho", serif !important;
}
body {
  font-size: 16px;
}
.fa::before {
  font-family: FontAwesome;
}

.wrapper {
  padding-bottom: 50px;

  margin-left: auto;
  margin-right: auto;
  padding-left: 8px;
  padding-right: 8px;
}

#top_slider {
  width: 100%;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
#top_slider img {
  width: 100% !important;
}
.mainvisual {
  overflow-x: hidden;
}
#top_slider .swiper-slide-prev::after,
#top_slider .swiper-slide-next::after {
  content: "";
  display: block;
  background-color: black;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0.4;
}

.swiper-container .swiper-slide-prev,
.swiper-container .swiper-slide-next {
  transition: 0.2s linear;
}
.swiper-pagination-bullet-active {
  background-color: #ff80ff !important;
}
.swiper-pagination-bullet {
  margin: 0 10px !important;
}

h2 {
  margin: 10px 0;
  font-size: 1.4rem;
  line-height: 1.5;
  border-bottom: 2px solid #d9d9d9;
  text-align: center;
}

div.cont {
  width: 90%;
  margin: 20px auto;
}

/* news */
.news {
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 8px;
  width: 80%;
  height: 250px;
  overflow-y: scroll;
  margin: 0 auto;
}
.news dt {
  width: 10rem;
  font-size: 0.8rem;
  color: #fff;
  background-color: #999;
  border-radius: 8px;
  line-height: 1.5;
  text-align: center;
  margin: 3px 0;
}
.news dd {
  color: #333;
  line-height: 1.5;
  margin-bottom: 10px;
  padding-left: 10px;
}
.news dd a:hover {
  color: #c00;
}
.addnews {
  border-bottom: 1px solid #ccc;
  margin-bottom: 10px;
  padding: 5px 5px 10px 5px;
}
.addnews button {
  width: 8rem;
  background-color: #999;
  border-radius: 6px;
  line-height: 2;
  text-align: center;
  color: #fff;
  box-shadow: 1px 1px 1px #999;
}
.editnews {
  padding: 5px 20px 10px 20px;
  border-bottom: 1px solid #ccc;
}
.editnews button {
  width: 8rem;
  border-radius: 6px;
  line-height: 2;
  text-align: center;
  color: #fff;
  box-shadow: 1px 1px 1px #999;
  margin-right: 20px;
  font-size: 0.8rem;
}
.editnews button.n_edit {
  background-color: #999;
}
.editnews button.n_delete {
  background-color: #eb6ea0;
}
details summary {
  list-style: none;
  position: relative;
  cursor: pointer;
  padding: 5px 0;
  font-weight: 900;
}

details summary::after {
  font-family: FontAwesome;
  font-size: 1.5rem;
  content: "\f0d7";
  position: absolute;
  right: 0.5rem;
  bottom: 0;
}
details[open] summary::after {
  content: "\f0d8";
}

details .more {
  color: #0092c4;
}

#topimg > img {
  width: 100%;
  margin-bottom: 20px;
}

h3 {
  width: 80%;
  margin: 0 auto;
  padding: 0.2em;
  color: #010101;
  border-bottom: solid 3px #d9d9d9;
  text-align: center;
  font-size: 1.8rem;
  border-radius: 8px 8px 0 0;
}

article {
  width: 80%;
  margin: 20px auto;
  line-height: 1.5;
}
.gcal iframe {
  width: 100%;
  height: 600px;
}

div.buttons {
  display: flex;
  width: 840px;
  margin: 0 auto;
  justify-content: space-between;
  flex-wrap: wrap;
}
div.buttons div {
  width: 400px;
  margin-bottom: 20px;
}
div.buttons div img {
  width: 100%;
}
div.buttons a:hover img {
  opacity: 0.7;
  filter: alpha(opacity=70);
  -ms-filter: "alpha(opacity=70)";
}

.page_buttons {
  display: flex;
  border: 1px solid #ccc;
  padding: 8px;
  border-radius: 4px;
  margin: 20px 0;
  justify-content: space-around;
}
.page_buttons div {
  width: 8rem;
}
.page_buttons div > button {
  width: 8rem;
  border-radius: 6px;
  line-height: 2;
  text-align: center;
  color: #fff;
  box-shadow: 1px 1px 1px #999;
  font-size: 0.8rem;
}
button.b_down {
  background-color: #999;
  letter-spacing: 0.3rem;
}
button.b_up {
  background-color: #999;
  letter-spacing: 0.3rem;
}
button.b_edit {
  background-color: #999;
}
button.b_delete {
  background-color: #eb6ea0;
}

dl.privacypolicy {
  margin: 20px 10px;
}
dl.privacypolicy dt {
  line-height: 2;
}
dl.privacypolicy dd {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 10px;
  padding-left: 10px;
}
dl.privacypolicy dd > ul {
  margin-top: 20px;
  margin-left: 30px;
}
dl.privacypolicy dd > ul li {
  list-style-type: decimal;
  margin-bottom: 10px;
}
dl.privacypolicy dd > ul li div {
  font-weight: bold;
  line-height: 2;
}

.pageTop {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  background-color: #9da3a9;
  color: #fff;
  padding: 0.5rem;
}

footer {
  width: 100%;
  background-color: #ffbdff;
  padding: 20px 0;
}
.footer_inner {
  width: 940px;
  margin: 0 auto;
}
.footer_inner ul {
  text-align: center;
}
.footer_inner ul li {
  line-height: 1.5;
  font-size: 1rem;
  margin-bottom: 5px;
  margin: 8px;
  display: inline-block;
}
.ft_menu ul li ul li {
  list-style-image: none;
  font-size: 0.8rem;
}
.ft_menu ul li ul li:before {
  content: "ー";
  margin-left: 5px;
}
.ft_menu a:hover {
  color: #fff;
}
.ft_banner {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
.ft_banner img {
  margin-right: 20px;
}
.copyright {
  text-align: center;
  font-size: 0.8rem;
  padding-top: 20px;
}
.login {
  text-align: center;
  font-size: 0.8rem;
  color: #999;
  padding: 10px;
}

/* modal window */
#mdOverlay {
  top: 0;
  left: 0;
  width: 100%;
  position: fixed;
  z-index: 900;
  background: #000;
  display: none;
}
#mdWindow {
  margin-top: -200px;
  margin-left: -250px;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 400px;
  position: fixed;
  z-index: 901;
  background: #fff;
  display: none;
  border-radius: 10px;
}
#mdWindow > .mdClose {
  top: -15px;
  right: -15px;
  width: 30px;
  height: 30px;
  line-height: 1;
  color: #fff;
  font-size: 1.5em;
  background: #757575;
  border-radius: 30px;
  position: absolute;
  z-index: 902;
  cursor: pointer;
  box-shadow: 0 0 3px 0 #000;
  text-align: center;
}
#modalInclude {
  display: none;
}
#contWrap {
  margin: 30px auto;
  padding: 0 20px;
  width: 100%;
  height: 340px;
  box-sizing: border-box;
  overflow-y: auto;
}

div.contents > article:first-child div.page_buttons > div:nth-child(2) > button,
div.contents > article:last-child div.page_buttons > div:nth-child(1) > button {
  display: none;
}

@media only screen and (max-width: 940px) {
  .wrapper {
    width: 100%;
  }

  h3 {
    width: 95%;
  }

  article {
    width: 95%;
    margin-top: 10px;
  }

  div.buttons {
    display: block;
    width: 80%;
    margin: 0 auto;
  }
  div.buttons div {
    width: 100%;
  }
  div.buttons div img {
    width: 100%;
  }

  .editnews button {
    width: 5rem;
    margin-right: 10px;
  }

  .footer_inner {
    width: 100%;
  }
  .ft_menu {
    display: none;
  }
  .ft_banner {
    display: block;
    text-align: center;
  }
  .ft_banner img {
    margin-right: 0;
    margin-bottom: 20px;
  }

  #mdWindow {
    margin-top: -200px;
    margin-left: -45%;
    width: 90%;
    height: 400px;
  }
}
