@charset "utf-8";

/* メイン画像
----------------------------------*/
.mainImg {
  max-width: 1600px;
  margin: 0 auto;
  padding-top: 80px;
  animation: fadeIn 2s ease 0s 1 normal;
  -webkit-animation: fadeIn 2s ease 0s 1 normal;
}
@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 h2 {
  margin: 0 0 1.5em;
  padding: 0;
  border: none;
  font-size: 1.5em;
}
@media screen and (min-width: 768px) {
  .post h2 {
    font-size: 1.7em;
  }
}
/* メッセージ
----------------------------------*/
.post h2.topMessage__ttl {
  margin-bottom: 0.8em;
  font-size: 2em;
  font-weight: 900;
  color: var(--color-main);
}
@media screen and (min-width: 768px) {
  .post h2.topMessage__ttl {
    font-size: 2.2em;
  }
}
/* お知らせ・活動報告
----------------------------------*/
.post h2.topNews__ttl {
  text-align: center;
}
.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;
  }
}
/* 政策
----------------------------------*/
.topPolicy__list {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

.topPolicy__item {
  max-width: 500px;
  margin: 0 auto;
  padding: min(5%, 1.5em);
  background: #fff;
  border: 3px solid var(--color-main);
  border-radius: 10px;
}
.topPolicy__item h3 {
  margin: 1em 0 0.8em;
  padding: 0;
  border: none;
  font-size: 1.15em;
  font-weight: bold;
  text-align: center;
  color: var(--color-main);
}
.topPolicy__item h3 span {
  font-size: 0.85em;
  opacity: 0.5;
}
@media screen and (min-width: 768px) {
  .topPolicy__item h3 {
    font-size: 1.3em;
  }
}
@media screen and (min-width: 992px) {
  .topPolicy__list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1em;
  }

  .topPolicy__item {
    flex: 0 0 calc((100% - 2em) / 3);
  }
}
/* プロフィール
----------------------------------*/
.post h2.topProfile__ttl {
  margin-top: 0.5em;
  margin-bottom: 1em;
  font-size: 1.3em;
}
.post h2.topProfile__ttl span {
  font-size: 0.7em;
}
.topProfile__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

.topProfile__imgBox {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.topProfile__imgBox img {
  max-width: 100%;
  height: auto;
}

.topProfile__txtBox {
  flex: 1;
}

@media screen and (min-width: 992px) {
  .topProfile__inner {
    flex-direction: row-reverse;
    align-items: stretch;
    gap: 3%;
  }

  .topProfile__imgBox {
    flex: 0 0 47%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .topProfile__imgBox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .topProfile__txtBox {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
