@charset "utf-8";

.contents {
  background-color: #ffffff;
  margin: 0 auto;
  padding: 0;
  width: 1080px;
}

.box {
  margin: auto;
  text-align: center;
  width: 100%;
}

.content-title {
  text-align: left;
}

.siteName {
  position: relative;
  width: 25%;
}

.siteName img {
  left: 2px;
  position: absolute;
  top: 3px;
  width: 110%;
}

/* header */

.mainHeader {
  background-color: #D7FF80;
  display: flex;
  height: 64px;
  width: 100%;
}

.mainHeader > .siteName {
  align-items: center;
  background-color: #D7FF80;
  display: flex;
  flex: 0 0 auto;
  justify-content: center;
  padding: 0 10px;
}

/* navigation*/

.tabNavigation {
  flex: 1 0 auto;
  z-index: 2;
}

.tabNavigation nav,
.tabNavigation ul {
  height: 100%;
}

.tabNavigation ul {
  border: 0;
  display: flex;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

.tabNavigation a {
  color: #333333;
  display: block;
  font-size: 15px;
  height: calc(100% - 3px);
  line-height: 58px;
  padding: 0 20px;
  text-decoration: none;
}

.tabNavigation li:last-child a {
  margin-right: 0;
}

.tabNavigation a:hover,
.tabNavigation a:focus {
  border-bottom: 3px solid #486608;
}

.tabNavigation li {
  display: list-item;
  flex: auto;
}

.tabOn {
  border-bottom: 3px solid #486608;
}

/* main */

main {
  padding: 10px;
}

.content-title {
  border-left: 8px solid #486608;
  margin-bottom: 10px;
  margin-top: 10px;
  padding-left: 16px;
  text-align: left;
}

.box.content-title {
  margin-top: 0;
}

main > .content-title {
  margin-top: 0;
}

/* footer */

footer {
  background-color: #f5f5f5;
  font-size: smaller;
  margin-top: 10px;
  padding: 10px;
}

.footer-content {
  display: flex;
  margin: 0 auto;
  padding-bottom: 30px;
}

.footer-item {
  margin-right: 10px;
  width: calc((100% - 20px) / 3);
}

.footer-item:last-child {
  margin: 0;
}

.footer-item img {
  width: 100%;
}

.copyright {
  text-align: center;
}

.facebook iframe {
  background-color: transparent;
  border: none;
  height: 130px;
  overflow: hidden;
  width: 100%;
}

._2p3a {
  margin: 0 auto;
}

.footer-content,
.footerTitle {
  border-bottom: 1px solid #808080;
}

.footerTitle + div {
  padding: 0 8px 0;
}

/* body */

body {
  background: url(../images/background.jpg) fixed center;
  background-size: cover;
}

/* IE & Edge Fix */

@supports (-ms-ime-align: auto) {
  .footerTitle {
    height: 30px;
  }

  .serviceBox {
    height: 270px;
  }
}

@media all and (-ms-high-contrast: none) {

  /* Common */
  *::-ms-backdrop,
  main {
    display: block;
  }

  /* index */
  *::-ms-backdrop,
  .flex-events > .item {
    display: block;
    width: calc((100% - 10px) / 3);
  }

  *::-ms-backdrop,
  .subHeader h2 {
    height: 38px;
  }

  *::-ms-backdrop,
  .calendarWrap table th {
    height: 25px;
  }

  *::-ms-backdrop,
  .calendarWrap table td {
    height: 25px;
  }

  *::-ms-backdrop,
  .calendarWrap .calendar-left {
    top: -2.5px;
  }

  *::-ms-backdrop,
  .calendarWrap .calendar-right {
    top: -2.5px;
  }

  *::-ms-backdrop,
  :checked.tayoriA1-ctrl ~ .tayoriContainer .container1 {
    max-height: 100%;
  }

  *::-ms-backdrop,
  :checked.tayoriA2-ctrl ~ .tayoriContainer .container2 {
    max-height: 100%;
  }

  /* events */
  *::-ms-backdrop,
  :checked.tayoriA1-ctrl ~ .tayoriContainerA .container1 {
    max-height: 100%;
  }

  *::-ms-backdrop,
  :checked.tayoriA2-ctrl ~ .tayoriContainerA .container2 {
    max-height: 100%;
  }

  *::-ms-backdrop,
  :checked.tayoriB1-ctrl ~ .tayoriContainerB .container1 {
    max-height: 100%;
  }

  *::-ms-backdrop,
  :checked.tayoriB2-ctrl ~ .tayoriContainerB .container2 {
    max-height: 100%;
  }

  /* facilities */
  *::-ms-backdrop,
  .sliderWrap > div {
    margin-right: 6.5px;
    width: calc((100% - 20px) / 3);
  }

  *::-ms-backdrop,
  :checked.floorMap1-ctrl ~ .floorMapContainer .container1 {
    max-height: 100%;
  }

  *::-ms-backdrop,
  :checked.floorMap2-ctrl ~ .floorMapContainer .container2 {
    max-height: 100%;
  }

  /* how to */
  *::-ms-backdrop,
  :checked.tempRegist1-ctrl ~ .tempRegistContainer .container1 {
    max-height: 100%;
  }

  *::-ms-backdrop,
  :checked.tempRegist2-ctrl ~ .tempRegistContainer .container2 {
    max-height: 100%;
  }

  *::-ms-backdrop,
  :checked.service1-ctrl ~ .serviceContainer .container1 {
    max-height: 290px;
    height: 290px;
  }

  *::-ms-backdrop,
  :checked.service2-ctrl ~ .serviceContainer .container2 {
    max-height: 290px;
    height: 290px;
  }

  *::-ms-backdrop,
  :checked.service3-ctrl ~ .serviceContainer .container3 {
    max-height: 290px;
    height: 290px;
  }
}
