@charset "utf-8";

/* メイン画像
----------------------------------*/
.mainImg {
  margin: 0 auto;
  padding-top: 80px;
  background: url(../images/banners/bg_mv.png) no-repeat top center;
  background-size: 100%;
  animation: fadeIn 2s ease 0s 1 normal;
  -webkit-animation: fadeIn 2s ease 0s 1 normal;
}
.mainImg__wrap {
  max-width: 1280px;
  margin: 0 auto;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@media screen and (min-width: 992px) {
  .mainImg {
    padding-top: 100px;
  }
}
/* コンテンツ
----------------------------------*/
.post {
  margin-bottom: 0;
  padding-top: 20px;
}
.post h2 {
  margin: 0 0 1.5em;
  padding: 0;
  border: none;
  font-size: 1.5em;
}
@media screen and (min-width: 768px) {
  .post {
    padding-top: 40px;
  }
  .post h2 {
    font-size: 1.7em;
  }
}
.post h2.topAbout__ttl,
.post h2.topNews__ttl {
  position: relative;
}
.post h2.topAbout__ttl::after,
.post h2.topNews__ttl::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  margin: 0.5em auto 0;
  background: linear-gradient(to right, var(--color-main-dark), var(--color-main-light));
}
/* About Us
----------------------------------*/
.topAbout__video {
  margin: 2em 0;
  text-align: center;
}
.topAbout__video video {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}
@media screen and (min-width: 768px) {
  .topAbout__video {
    margin: 3em 0;
  }
  .topAbout__video video {
    max-width: 700px;
  }
}
/* お知らせ・活動報告
----------------------------------*/
.postList01__item {
  margin-bottom: 1em;
}
.postList01__link {
  display: flex;
  gap: 1em;
  text-decoration: none;
  color: var(--color-text);
  padding: 1em;
  background: #fff;
  border-radius: 10px;
  transform: translateY(0);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.postList01__link:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}
.postList01__img {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.postList01__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.postList01__link:hover .postList01__img img {
  transform: scale(1.2);
}
.postList01__txt {
  width: calc(100% - 80px - 1em);
}
.postList01__info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5em;
}
.postList01__cat {
  margin: 0;
  padding: 0.1em 0.6em;
  border-radius: 3px;
  background: var(--color-main);
  font-size: 0.75em;
  color: #fff;
}
.postList01__day {
  font-size: 0.8em;
}
h3.postList01__ttl {
  margin: 0.2em 0 0;
  padding: 0;
  border: none;
  font-size: 1em;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
@media screen and (min-width: 768px) {
  .postList01__link {
    padding: 1.2em;
  }
  .postList01__img {
    width: 160px;
    height: 120px;
  }
  .postList01__txt {
    width: calc(100% - 160px - 1em);
  }
  h3.postList01__ttl {
    margin-top: 0.5em;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }
}
/* バナー
----------------------------------*/
.topBnr__list {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}
.topBnr__item {
  max-width: 500px;
  margin: 0 auto;
}
.topBnr__item img {
  width: 100%;
  height: auto;
}
@media screen and (min-width: 768px) {
  .topBnr__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}
