@charset "UTF-8";
/* ------------------------------------------------------------
   Variables
------------------------------------------------------------ */
/* ----- Breakpoint ----- */
/* ----- Font family ----- */
/* ------------------------------------------------------------
   mixin
------------------------------------------------------------ */
/* ----- Media Queries ----- */
/* ----- image filter ----- */
/* ----- diagonal filter ----- */
/* ------------------------------------------------------------
   Function
------------------------------------------------------------ */
/* ------------------------------------------------------------
   Top
------------------------------------------------------------ */
.top {
  background: var(--color-background);
  /* ----- mainvisual ----- */
  overflow: hidden;
  /* ----- content ----- */
}
.top .main-visualInner {
  overflow: hidden;
  position: relative;
}
.top .visual-pic img {
  width: 100%;
}
.top .visual-pic .swiper-wrapper {
  margin: 0 calc(50% - 50vw);
  max-width: 100vw;
  position: relative;
  overflow: hidden;
}
@-webkit-keyframes zoom-in {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  100% {
    -webkit-transform: scale(1.15);
    transform: scale(1.15);
  }
}
@keyframes zoom-in {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  100% {
    -webkit-transform: scale(1.15);
    transform: scale(1.15);
  }
}
.top .swiper-slide-active .swiper-img,
.top .swiper-slide-duplicate-active .swiper-img,
.top .swiper-slide-prev .swiper-img {
  -webkit-animation: zoom-in 10s linear 0s normal both;
  animation: zoom-in 10s linear 0s normal both;
}
.top .visual-txtWrap {
  position: absolute;
  top: 10vw;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  max-width: calc(1200px + 2rem);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
  z-index: 1;
}
.top .visual-txt h1 {
  font-weight: 500;
  font-size: clamp(1.5rem, 59 / var(--max-lg) * 100vw, 3.6875rem);
  color: #fff;
}
.top .p-news {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 3rem;
}
.top .p-news h2 {
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}
.top .p-news-container {
  width: 100%;
}
.top .p-news-list__item {
  position: relative;
  border-bottom: 1px solid #ccc;
  z-index: 1;
}
.top .p-news-list__item a {
  display: block;
}
.top .p-news-list__item a._bgbottom::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  /*色や形状*/
  background: fff; /*背景色*/
  width: 100%;
  height: 0;
  /*アニメーション*/
  -webkit-transition: 0.3s var(--easeOutSine) 0s;
  transition: 0.3s var(--easeOutSine) 0s;
  z-index: -1;
}
.top .p-news-list__item:first-child {
  border-top: 1px solid #ccc;
}
.top .p-news-content {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  gap: 2rem;
  padding: 1.5em;
}
.top .news__date {
  color: var(--color-primary);
}
.top .news__text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  position: relative;
}
.top .p-topmenu {
  background: url(../../../img/top/topmenu_bg@2x.webp) no-repeat;
  background-size: cover;
  background-position: center;
  padding: clamp(40px, 100 / var(--max-lg) * 100vw, 100px) 1rem;
  margin-bottom: 1.5rem;
}
.top .p-topmenu-list {
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.top .p-topmenu-list li a {
  display: block;
  background: #fff;
  padding: 1rem;
  min-height: clamp(120px, 180 / var(--max-lg) * 100vw, 180px);
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.top .p-topmenu-list li a h2 {
  -webkit-transition: all 0.2s var(--linear);
  transition: all 0.2s var(--linear);
}
@media (max-width: 639px) {
  .top .visual-txt h1 {
    font-size: 5vw;
  }
  .top .p-news-content {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 0.2rem;
  }
  .top .news__text {
    -webkit-line-clamp: 2;
  }
}
@media (max-width: 767px) {
  .top .p-news {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 1rem;
  }
}
@media (hover: hover) {
  .top .p-news-list__item:hover a._bgbottom::before {
    height: 100%;
    background: rgba(50, 78, 176, 0.05);
  }
  .top .p-topmenu-list a:hover h2 {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
}
/*# sourceMappingURL=../../map/object/project/top.css.map */