@charset "utf-8";

.mv-page-img {
  background: url(../area/img/mv-area_pc.jpg) no-repeat;
  background-size: cover;
}

@media screen and (max-width: 768px) {
  .mv-page-img {
    background: url(../area/img/mv-area_sp.jpg) no-repeat;
    background-size: cover;
  }
}

/* area
----------------------------------------------------------------------------------------------------*/

.area-copy {
  font-size: 4.2rem;
  margin-bottom: 80px;
  text-align: center;
}

.area-contents {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 140px;
}

.area-text {
  font-size: 2.4rem;
  line-height: 2;
  width: calc(580 / 1510 * 100%);
}

.area-map {
  width: calc(890 / 1510 * 100%);
}

.area-map iframe {
  /* width: 890px; */
  width: 100%;
  height: 420px;
}

@media screen and (max-width: 768px) {
  .area-copy {
    text-align: left;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 35px;
  }

  .area-contents {
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 70px;
  }

  .area-text,
  .area-map {
    width: 100%;
  }


  .area-text {
    font-size: 1.6rem;
  }

  .area-map iframe {
    /* width: 330px; */
    /* height: 420px; */
  }
}

/* supportarea
----------------------------------------------------------------------------------------------------*/

#supportarea {
  margin-bottom: 150px;
}

#supportarea h3 {
  font-weight: 600;
  font-size: 4.2rem;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 96px;
}

.supportarea-contents {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px 38px;
}

.supportarea-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  text-align: left;
  gap: 30px;
}

.supportarea-name {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 2.4rem;
  gap: 40px;
}

.supportarea-name img {
  width: 115px;
}

.supportarea-text {
  font-size: 1.8rem;
}

.supportarea-link {
  margin: 0 auto;
}

@media screen and (max-width: 1510px) {
  .supportarea-contents {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  }
}

@media screen and (max-width: 768px) {

  #supportarea {
    margin-bottom: 72px;
  }

  .supportarea-contents {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 38px;
  }

  #supportarea h3 {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }


}

/* toyamapref
----------------------------------------------------------------------------------------------------*/

#toyamapref {
  margin: 0 auto;
  text-align: center;
}

.tpuama-pref-link a {
  display: inline-block;
  margin: 0 auto;
}

.tpuama-pref-link img {
  height: 60px;
  width: auto;
}

.tpuama-pref-link a {
  margin: 0 auto;
  text-align: center;
}


@media (max-width: 767px) {
  .main-contents {
    margin: 5rem auto 0;
  }
}























