@charset "utf-8";

/* ==================================================== */
/*  home
/* ==================================================== */
main.home {
  padding-top: 60px;
}
@media screen and (max-width:767px) {
  main.home {
    padding-top: 0;
  }
}
/*==== works-area ====*/
/*news-box*/
.works-area .news-box{
  margin-top: -20px;
  margin-bottom: 40px;
}
.works-area .news-box .flex{
  align-items: baseline;
  gap: 20px;
}
.works-area .news-box h3{
  font-size: var(--fs16);
  font-weight: bold;
  color: #3D98D9;
}
.works-area .news-box .text{
  font-size: var(--fs14);
}
@media screen and (max-width:767px) {
  .works-area .news-box{
    margin-top: 0;
  }
  .works-area .news-box .flex{
    gap: 5px;
    flex-direction: column;
  }

  .works-area .news-box h3{
    font-size: var(--fs15);
  }
  .works-area .news-box .text{
    font-size: var(--fs14);
  }
}

/*grid_contents*/
.works-area .grid_contents{
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3列均等 */
  gap: 39px;
}
.works-area .grid_contents article a {
  transition: none;
}
.works-area .grid_contents article a:hover {
  transition: none;
  opacity: 1;
}
.works-area .grid_contents article {
  position: relative;
  overflow: hidden;
}
.works-area .grid_contents article figure {
  position: relative;
  margin: 0;
}
.works-area .grid_contents article img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}
.works-area .grid_contents article figcaption.over {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.6);
  opacity: 0;
  display: flex;
  align-items: end;
  justify-content: flex-end;
  transition: opacity 0.4s ease;
}
.works-area .grid_contents article .over_text {
  padding: 0 15px 5px;
  font-size: var(--fs15);
}
.works-area .grid_contents article:hover figcaption.over {
  opacity: 1;
}

@media screen and (max-width:767px) {
  .works-area .grid_contents {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .works-area .grid_contents article .over_text {
    padding: 0 15px 5px;
    font-size: var(--fs12);
  }
}


/*==== about-area ====*/
.about-area{
  padding-top: 200px;
}
.about-area .flex{
  gap: 20px;
  justify-content: space-between;
}
.about-area .text{
  width: 62%;
}
.about-area .text h2{
  margin-bottom: 30px;
  font-size: var(--fs38);
  color: #3D98D9;
}
.about-area .text p{
  line-height: 2;
  font-size: var(--fs16);
}
.about-area figure{
  width: 29.1%;
}

@media screen and (max-width:767px) {
  .about-area{
    padding-top: 110px;
  }
  .about-area .flex{
    gap: 40px;
    flex-direction: column;
  }
  .about-area .text {
    width: 100%;
  }
  .about-area .text h2{
    margin-bottom: 10px;
    font-size: var(--fs28);
  }
  .about-area .text p{
    font-size: var(--fs14);
  }
  .about-area figure{
    margin: 0 auto;
    width: 80%;
    max-width: 161px;
  }
}
/*==== map-area ====*/
.map-area{
  padding-top: 115px;
  margin-bottom: 68px;
}
.map-area iframe {
  filter: grayscale(100%) contrast(90%) brightness(110%);
  -webkit-filter: grayscale(100%) contrast(90%) brightness(110%);
}

@media screen and (max-width:767px) {
  .map-area{
    padding-top: 70px;
    margin-bottom: 35px;
  }
  .map-area iframe {
    height: 400px;
  }
}
