@charset "utf-8";
/* CSS Document */
body {
  color: #343434;
  background-color: #eaedef;
}
.ggmap {
  width: 100%;
  overflow: hidden;
  margin: 0 auto 7em;
}
.ggmap iframe {
  width: 100%;
  max-width: 100%;
  height: 600px;
  margin: 0 auto;
}
.title {
  background: linear-gradient(to bottom, #004081, #182a3a);
}
.title h2 {
  font-size: 1.2em;
  text-align: center;
  padding: 3em 0 0.4em;
  color: #fff;
  font-weight: bold;
  letter-spacing: 1px;
  padding-bottom: 3em;
  margin-bottom: 2em;
}
.title h3 {
  font-size: 0.8em;
  font-weight: lighter;
  color: #fff;
}
.info-up {
  display: flex;
  justify-content: space-between;
  width: 50%;
  max-width: 370px;
  margin: 0 auto 2em;
  padding-bottom: 4em;
  text-align: center;
  padding-left: 58px;
}
.first-wrapper {
  width: 80%;
  max-width: 900px;
  margin: 11em auto 11em;
}
.first-wrapper h4 {
  font-size: 1.5em;
  font-weight: bolder;
  text-align: center;
  padding-bottom: 3em;
}
.first-wrapper dl {
  width: 90%;
  display: flex;
  justify-content: flex-start;
  padding-bottom: 4em;
}
.first-wrapper dl:last-child {
  padding-bottom: 0;
}
.first-wrapper dl dt {
  line-height: 1.2em;
  width: 40%;
  font-weight: bolder;
}
.first-wrapper dl dt:last-child {
  padding-bottom: none;
}
.first-wrapper dl dd {
  line-height: 1.2em;
  width: 74%;
}
.first-wrapper dl dd:last-child {
  padding-bottom: none;
}
.second {
  margin: 0 auto 7em;
}
.second-wrapper {
  background-image: url("../image/fukuoka.png");
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  max-width: 1000px;
  height: 700px;
  margin: 0 auto;
  border: 4px solid #fff;
  box-sizing: border-box;
  position: relative;
}
.second-wrapper h4 {
  font-size: 1.250em;
  text-align: center;
  width: 100px;
  padding-top: 1em;
}
.second-wrapper h4 span {
  display: block;
  font-size: 0.625em;
}
.second-wrapper p {
  font-size: 1em;
  text-align: center;
  padding: 1em;
  z-index: 900;
  color: #fff
}
#fukuoka-wrapper {
  width: 180px;
  background-color: rgba(24, 42, 58, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 250px;
  top: 375px;
}
#kitakyusyu-wrapper {
  width: 180px;
  background-color: rgba(24, 42, 58, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 200px;
  top: 145px;
}
.slide-bar, .slide-bar::after {
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}
.slide-bar::before, .slide-bar::after {
  background: rgba(54, 161, 173, 1);
  content: '';
  position: absolute;
  z-index: 1;
}
.slide-bar::after {
  height: 100%;
  left: 0;
  top: 0;
  width: 0;
}
.slide-bar:hover:after {
  width: 100%;
}
.slide-bar p a {
  display: block;
  width: 100%;
}

.second-wrapper p span {
  display: block;
  font-size: 0.626em;
  letter-spacing: 0.1em;
}
@media screen and (max-width:768px) {
  #middle {
    display: block;
  }
  .title h2 {
    padding-top: 2em;
    font-size: 1em;
  }
  .title h3 {
    font-size: 0.8em;
  }
  .info-up {
    display: block;
    padding-left: 0;
    text-align: center;
    padding-bottom: 1.4em;
  }
  .info-up h3 {
    padding-bottom: 0.4em;
  }
  .first-wrapper {
    margin: 0 auto 1em;
    width: 90%;
  }
  .first-wrapper dl {
    padding-bottom: 0;
    width: 100%;
  }
  .first-wrapper dl dt {
    font-size: 0.6em;
    width: 20%;
    line-height: 2em;
  }
  .first-wrapper dl dd {
    font-size: 0.6em;
    width: 80%;
    line-height: 2em;
  }
  .first-wrapper h4 {
    padding-bottom: 1em;
  }
  .ggmap iframe {
    height: 280px;
    width: 100%;
  }
  .ggmap {
    margin-bottom: 2em;
  }
  .second {
    margin-bottom: 4em;
  }
  .second-wrapper {
  background-position: 50% 90px;
  background-size: 90% auto;
  height: 100%;
}
  .slide-bar {
    //margin-bottom:1em;
    width: 48%;
  }
  .slide-bar p {
    font-size: 0.8em;
  }
  .slide-bar span {
    font-size: 0.4em;
  }
  #fukuoka-wrapper {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
  }
	#kitakyusyu-wrapper {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
  }

  .name-wrapper {
  width: 100%;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  align-content: space-between;
  margin: 90% auto 0;
  padding-bottom: 20px;
  height: 162px;
}
  .name-wrapper a {
    width: 48%;
    text-decoration: none;
  }
}