@charset "utf-8";
/* CSS Document */
/*--top----------------------------------------------------------*/
.top .main {
  display: flex;
  max-height: 500px;
  background: url("../image/access/access.jpg") no-repeat 0 0;
  background-size: cover;
  padding: 10% 0;
}
.main h1 {
  display: flex;
  flex-direction: column;
  color: #fff;
  line-height: 1.5;
  font-size: 3rem;
  font-weight: bold;
  margin-left: 10%;
}
.main h1 span {
  font-size: 1.6rem;
}
@media screen and (max-width: 480px) {
  .top .main {
    height: 400px;
  }
  .main h1 {
    font-size: 2.4rem;
    margin-top: 120px;
  }
}
/**--access----------------------------------------------------------**/
.access .inner {
  padding-top: 80px;
}
.school {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 2rem;
  margin-top: 50px;
}
.school h3 {
  padding: 0 20px;
}
.school h3:first-child {
  margin-left: calc(0.5em + 12px);
}
.school h3:last-child {
  border-left: 2px solid #8cc11e;
}
.school h3 a {
  text-decoration: none;
  color: #333;
}
.school_2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 50px;
}
.access ul li {
  width: 450px;
  list-style: none;
  text-align: left;
  margin: 0 auto;
}
.access div img {
  margin-right: 10px;
}
.access ul li iframe {
  width: 450px;
  height: 300px;
  width: 100%;
}
.access_mobile {
  display: flex;
  justify-content: center;
}
.access_mobile img {
  width: 50%;
}
.access ul li h3 {
  margin: 20px auto;
  font-size: 1.8rem;
  padding: 10px;
  border-bottom: solid 1px #333;
}
.access ul li address {
  font-style: normal;
  font-size: 1.6rem;
  line-height: 2;
  letter-spacing: 2px;
  margin-bottom: 30px;
}
.access ul li span {
  font-size: 1.2rem;
}
@media screen and (max-width: 768px) {
  .access h2 span {
    font-size: 1.4rem;
  }
  .access h2 {
    font-size: 2.4rem;
  }
  .access ul li h3 {
    font-size: 1.6rem;
  }
}
@media screen and (max-width: 480px) {
  .access div img:first-child {
    margin: 0;
  }
  .access div img:last-child {
    margin: 0;
  }
}
