@charset "utf-8";

/* トップページ　メイン画像
----------------------------------*/
.main-visual {
  clear: both;
  line-height: 0;
  text-align: center;
  z-index: 0;
  padding-top: 0px;
  background: #f8f7f6;
  background: linear-gradient(#f8f7f6, #fff);
}
.main-visual__img {
  max-width: 1280px;
  width: 100%;
  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 (max-width: 991px) {
  .main-visual {
    padding-top: 60px;
  }
}
/* typography
----------------------------------------------- */
h2 {
  margin: 0;
  padding: 0;
  background: none;
}
.bg01 {
  -webkit-clip-path: polygon(0 25px, 100% 0, 100% 100%, 0 100%);
  clip-path: polygon(0 25px, 100% 0, 100% 100%, 0 100%);
  background-color: #f8f8f8;
  padding: 25px 0 25px 0;
  margin-top: 3em;
}
@media screen and (min-width: 992px) {
  h1 {
    font-size: 1.8em;
  }
  h2 {
    font-size: 1.8em;
  }
  h3 {
    font-size: 1.3em;
  }
  h4 {
    font-size: 1.3em;
  }
}
/* 事業内容
----------------------------------------------- */
.service-list {
  margin-top: 3em;
}
.service-item {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 1.5em 1em 2em;
  margin: 0 auto 1.5em;
  max-width: 500px;
  background: #fff;
}
.service-item__title {
  margin-top: 0;
  padding: 0;
  border: none;
  text-align: center;
  color: var(--color-main);
  font-size: 1.4em;
}
.service-item .submit-btn {
  margin-bottom: 0;
}
.service-item .txt-btn {
  min-width: 240px;
  margin-bottom: 0;
  font-size: 0.9em;
}
@media screen and (min-width: 992px) {
  .service-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5em;
  }
}
/* メッセージ
----------------------------------------------- */
.home-message__img {
  width: 240px;
  margin: 0 auto 1.5em;
  text-align: center;
}
.home-message__img img {
  border-radius: 50%;
}
.home-message__img figcaption {
  margin-top: 1em;
  line-height: 1.7;
}
.home-message__name {
  display: block;
  font-size: 1.6em;
  font-weight: 700;
}
.home-message__name-en {
  display: block;
  color: #aaa;
  font-family: Helvetica, sans-serif;
  font-size: 0.8em;
  font-weight: 700;
}
/* お知らせ
----------------------------------------------- */
.postList02 {
}
.postList02 .postList__item {
  margin-bottom: 1.5em;
  display: flex;
  justify-content: center;
  align-items: stretch;
}
.postList02 .postList__link {
  display: block;
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.3s ease-out;
  border: solid 1px var(--color-border);
  background: #fff;
}
.postList02 .postList__img {
  position: relative;
  aspect-ratio: 8/5;
  display: block;
  overflow: hidden;
}
.postList02 .postList__img img {
  transform: scale(1);
  transition: all 0.3s ease-out;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.postList02 .postList__img .postList__cat {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  background: var(--color-main);
  color: #fff;
  font-size: 0.8em;
  padding: 0.4em 1em 0.5em;
}
.postList02 .postList__txt {
  padding: 0.2em 0.8em 0.8em;
  transition: all 0.3s ease-out;
}
.postList02 .postList__day {
  margin-bottom: 0.5em;
  font-size: 0.7em;
}
.postList02 h3.postList__ttl {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font-size: 0.9em;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.postList02 .postList__link:hover {
  background: var(--color-main-light);
}
.postList02 .postList__link:hover .postList__img img {
  transform: scale(1.1);
  opacity: 0.7;
}
@media screen and (min-width: 768px) {
  .postList02 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1em;
  }
}
