@charset "utf-8";

main section:nth-child(even) {
  background-color: #F5F5F5;
}
main section:nth-child(odd) {
  background-color: #fff !important;
}

/* header */
#header .pcOnly {
  display: block;
}
#header .spOnly {
  display: none;
}

#header {
  position: absolute;
  background-color: transparent;
}

#headerNav ul li a {
  color: #fff;
}

#news .content h2,
#access .content h2 {
  position: relative;
  margin-bottom: 40px;
  padding-bottom: 20px;
  font-size: 3rem;
  line-height: 1.4;
  text-align: start;
}
#news .content h2::before,
#access .content h2::before {
  content: '';
  display: inline-block;
  position: absolute;
  left: 0;
  bottom: 0;
  transform: translateX(0);
  width: 80px;
  height: 5px;
  background-color: #00abeb;
}

/* top */
.mv-sp {
  display: none;
} 
#top h1 img {
  width: 100%;
  height: auto;
}

@media screen and (max-width: 767px) {
  .mv-pc {
    display: none;
  }
  .mv-sp {
    display: block;
  }
}

/* twitter */
#tw {
  max-width: 600px;
  width: 100%;
}

/* news */
#news_cat-list {
  margin-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
}
#news_cat-list li {
  margin-right: 10px;
}
#news_cat-list li span {
  padding: 6px 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: #000;
  background-color: #fff;
  border-radius: 5px;
}
#news_cat-list li span.current {
  color: #fff;
  background-color: #00abeb;
}

.news_post {
  padding: 20px 0;
  border-bottom: 1px solid #bfbfbf;
}
.news_post a {
  display: flex;
  align-items: center;
  color: #000;
  transition: all 0.3s;
}
.news_post a:hover {
  opacity: 0.5;
}
.news_info {
  display: flex;
  align-items: center;
  width: 210px;
}
.news_date {
  margin-right: 12px;
  font-size: 1.5rem;
  font-weight: 500;
}
.news_cat {
  margin-right: 12px;
}
.news_cat span {
  display: inline-block;
  padding: 5px 10px;
  font-weight: 600;
  font-size: 10px;
  color: #fff;
  background-color: #00abeb;
  border-radius: 4px;
}
.news_important span {
  background-color: #f00;
}
@media screen and (max-width: 767px) {
  .news_post a {
    display: block;
  }
  .news_title {
    margin-top: 5px;
  }
}

/* preface */
#preface {
  text-align: center;
}
#preface h2 {
  padding-bottom: 0;
}
#preface h2::before {
  content: none;
}
#preface p {
  line-height: 2;
}

/* main-event */
#event-list {
  margin: 0 -18px 0;
}
#event-list .event-item {
  width: calc(33.33% - 36px);
  margin: 0 18px 36px;
}
.event-block {
  position: relative;
  background-color: #fff;
  box-shadow: -1px 4px 10px rgb(0 0 0 / 7%);
}
.event-block a {
  color: #000;
}
.event-block a:hover {
  opacity: 1;
}
.event-img img {
  width: 100%;;
}
.event-txt {
  padding: 20px 15px;
  height: 200px;
}
.event-txt h3 {
  padding-bottom: 5px;
  line-height: 1.4;
}
.event-txt .schedule {
  padding-bottom: 5px;
  font-size: 1.2rem;
  color: #888;
}
.event-txt .outline {
  font-size: 1.4rem;
  color: #888;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.bottom_bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  transition: 0.3s;
  height: 10px;
  background: #00abeb;
}
.bottom_bar span {
  color: #fff;
  text-align: center;
  display: block;
  opacity: 0;
  transition: 0.3s;
  height: 30px;
  line-height: 30px;
}
.event-block:hover .bottom_bar {
  height: 30px;
}
.event-block:hover .bottom_bar span {
  opacity: 1;
  transition: 0.3s;
}
@media screen and (max-width: 810px) {
  #event-list {
    margin: 0 -15px 0;
  }
  #event-list .event-item {
    width: calc(50% - 30px);
    margin: 0 15px 30px;
  }
}
@media screen and (max-width: 480px) {
  #event-list .event-item {
    width: 100%;
  }
}

/* access */
#access {
  padding: 60px 0 80px;
  position: relative;
}
.map-container {
  width: 100%;
}
#access .content {
  padding: 0 15px;
}
.access-left {
  width: 30%;
  min-height: 500px;
  height: 100%;
  position: relative;
}
.table-block dl {
  border-bottom: 1px solid #858585;
  padding: 0 0 1rem 0;
}
.top-gray-text {
  color: #858585;
  margin: 1rem 0;
  display: block;
}

.access-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 600px;
  padding: 60px 0 80px;
}
.gmap {
  position: relative;
  overflow: hidden;
  height: 600px;
}
.gmap iframe {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 600px;
}
@media screen and (min-width: 1800px) {
  .access-right {
    width: 55%;
  }
}
@media screen and (max-width: 900px) {
  .access-left {
    width: 100%;
    min-height: auto;
  }
  .access-right {
    position: static;
    width: 100%;
    height: auto;
  }
  .gmap {
    overflow: visible;
    height: 400px;
  }
  .gmap iframe {
    height: 450px;
  }
}

/* link-area */
#link-area.content {
  padding: 0 15px 80px;
}
#link-area ul {
  display: flex;
  justify-content: center;
}
#link-area ul li {
  width: 140px;
  height: auto;
}
#link-area ul li:not(:first-child) {
  margin-left: 30px;
}
#link-area ul li a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  background-color: #00abeb;
  border-radius: 1em;
  padding: 15px 20px;
  max-width: 100%;
  position: relative;
  transition: 0.4s all;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1.3;
  text-align: center;
}
#link-area ul li a img {
  margin-bottom: 12px;
  max-height: 40px;
}
@media screen and (max-width: 480px) {
  #link-area ul li:not(:first-child) {
    margin-left: 15px;
  }
  #link-area ul li a {
    font-size: 1.3rem;
  }
  #link-area ul li a img {
    margin-bottom: 12px;
    max-height: 35px;
  }
}