@charset "utf-8";
main {
  position: relative;
}

.visual {
  min-height: 38rem;
  display: flex;
  align-items: center;
  background: url("../images/main/visual.jpg") no-repeat center top;
  background-size: cover;
  color: #fff;
}

.visual p {
  font-size: 4.8rem;
  line-height: 1.4;
}

.shortcut-wrap {
  margin-top: 8rem;
  margin-bottom: 6rem;
  display: flex;
  justify-content: space-between;
}

.shortcut-wrap a {
  position: relative;
  flex-basis: 18.7%;
  max-width: 26.9rem;
  padding: 1.7rem 1rem 1.9rem;
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
}

.shortcut-wrap a::after {
  content: "";
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  z-index: -1;
}

.shortcut-wrap a:hover::after,
.shortcut-wrap a:focus::after {
  border: 2px solid var(--color-primary);
}

.shortcut-wrap a:hover,
.shortcut-wrap a:focus {
  color: var(--color-primary);
}

.shortcut-wrap a::before {
  content: "";
  display: block;
  width: 4.4rem;
  height: 4.4rem;
  margin: 0 auto 1rem;
  background-position: left top;
  background-size: 100%;
  background-repeat: no-repeat;
}

.shortcut-wrap a.ico1::before {
  background-image: url("/pub/images/main/ico_shortcut1.svg");
}
.shortcut-wrap a.ico3::before {
  background-image: url("/pub/images/main/ico_shortcut3.svg");
}
.shortcut-wrap a.ico6::before {
  background-image: url("/pub/images/main/ico_shortcut6.svg");
}
.shortcut-wrap a.ico7::before {
  background-image: url("/pub/images/main/ico_shortcut7.svg");
}
.shortcut-wrap a.ico8::before {
  background-image: url("/pub/images/main/ico_shortcut8.svg");
}

.tit-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.6rem;
}

.subtitle {
  font-size: 2.6rem;
  font-weight: 600;
}

.brd-wrap {
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
  background: var(--bg-light);
}

.brd-wrap::before {
  content: "";
  width: 46rem;
  height: 46rem;
  position: absolute;
  top: -13rem;
  right: -7rem;
  background: url("/pub/images/common/emb_logo.svg") no-repeat left top;
  background-size: 100%;
  filter: grayscale(1);
}

.brd-wrap .inner {
  display: flex;
  gap: 3.4%;
}

.brd-wrap .board {
  flex-grow: 1;
  flex-basis: 0;
  overflow: hidden;
}

.brd-wrap .board ul {
  padding: 1.8rem 2.4rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.2rem;
}

.brd-wrap .board ul li a {
  position: relative;
  display: block;
  padding: 0.6rem 9rem 0.6rem 0;
}

.brd-wrap .board ul li a:hover .tit,
.brd-wrap .board ul li a:focus .tit {
  text-decoration: underline;
}

.brd-wrap .board ul li a .tit {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}

.brd-wrap .board ul li a .tit::before {
  content: "· ";
}

.brd-wrap .board ul li a .date {
  position: absolute;
  right: 0;
  top: 0.8rem;
  font-size: 1.6rem;
  color: #888;
}

.gallery {
  margin-top: 6rem;
  margin-bottom: 8rem;
}

.gallery .brd-swiper .swiper-slide {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1.2rem;
}

.gallery .brd-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 0.98;
  object-fit: cover;
  object-position: center;
}

.gallery .brd-swiper .swiper-slide p {
  padding: 1.6rem;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  font-weight: 600;
}

.gallery .brd-swiper .swiper-slide a:hover p,
.gallery .brd-swiper .swiper-slide a:focus p {
  text-decoration: underline;
}

/* tablet */
@media screen and (max-width: 1024px) {
}

/* mobile */
@media screen and (max-width: 768px) {
  .visual {
    min-height: 23rem;
    background-image: url("../images/main/visual_m.jpg");
  }

  .visual p {
    line-height: 1.5;
    font-size: 2.4rem;
  }

  .shortcut-wrap {
    margin-top: 4.8rem;
    margin-bottom: 4.8rem;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .shortcut-wrap a {
    flex-basis: calc(50% - 0.5rem);
    font-size: 1.5rem;
  }

  .shortcut-wrap a::before {
    width: 3.5rem;
    height: 3.5rem;
  }

  .subtitle {
    font-size: 2.2rem;
  }

  .brd-wrap {
    padding: 4.8rem 0;
  }

  .brd-wrap::before {
    display: none;
  }

  .brd-wrap .inner {
    display: flex;
    flex-direction: column;
    gap: 4.8rem;
  }

  .brd-wrap .board {
    overflow: inherit;
  }

  .brd-wrap .board .tit-box .more {
    width: 3rem;
    height: 3rem;
    font-size: 0;
    background: url("../images/main/ico_more.svg") no-repeat left top;
    background-size: 100%;
  }

  .brd-wrap .board ul {
    padding: 1.5rem 1.6rem;
    border-radius: 0.6rem;
  }

  .brd-wrap .board ul li a {
    padding: 0.5rem 7.5rem 0.5rem 0;
  }

  .brd-wrap .board ul li a .date {
    top: 0.5rem;
    font-size: 1.3rem;
  }

  .brd-swiper.swiper {
    width: calc(100% + 4rem);
    margin-left: -2rem;
    margin-right: -2rem;
  }

  .gallery {
    margin-top: 4.8rem;
  }

  .gallery .brd-swiper .swiper-slide p {
    padding: 1.2rem;
  }
}
