@charset "UTF-8";
/* CSS Document */

/* 初表示時オーバーレイ */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in, visibility 0s 0.5s; /* フェードイン: 0.5秒 */
}

/* 表示時（フェードイン） */
#overlay.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease-in; /* フェードイン: 0.5秒 */
}

/* 非表示時（フェードアウト：0.2秒） */
#overlay.hidden {
  opacity: 0;
  transition: opacity 0.2s ease-out, visibility 0s 0.2s; /* フェードアウト: 0.2秒 */
  visibility: hidden;
}

/* 画像のスタイル */
#overlay picture {
  margin-top: -80px;
  width: 90%;
}
#overlay picture img {
  width: 100%;
  height: auto;
}



/* スライド（Swiper）*/
main .swiper {
  width: 100vw;
  height: 75vw;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
main .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  font-size: 18px;
  text-align: center;
  cursor: pointer;
}
main .swiper-slide picture img {
  width: 100vw;
  height: auto;
  object-fit: cover; /* 画像の縦横比を維持しつつ、コンテナを完全にカバー */
}
main .swiper-pagination-bullet {
  --swiper-pagination-bullet-inactive-color: #ffffff; /* 非アクティブなbulletの色を設定 */
  --swiper-pagination-bullet-inactive-opacity: 0.45; /* 非アクティブなbulletの透明度を設定 */
}
main .swiper-pagination-bullet-active {
  --swiper-pagination-color: #ffffff; /* アクティブなbulletの色を設定 */
  --swiper-pagination-bullet-opacity: 0.9; /* アクティブなbulletの透明度を設定 */
}
main .swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet, .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 0 5px /* ドットの間隔調整 */
}



main {
  margin-top: 45px;
}


.top_slide {
  width: 100vw;
  height: 75vw;
}


.top_map {
  width: 100vw;
  height: 75vw;
}
#googlemap {
  width: 100vw;
  height: 75vw;
}
.link {
  font-weight: bold;
  text-decoration: underline;
}
/* 地図の吹き出し内の「×」の変更 */
.gm-ui-hover-effect {
  width: 24px !important;
  height: 34px !important;
}
.gm-ui-hover-effect span {
  margin: 0 !important;
  width: 18px !important;
  height: 18px !important;
}

/* 地図のコントロールボタンの文字サイズ変更 */
.gm-style-mtc div {
    font-size: 1.2rem !important;  /* 文字サイズ変更 */
    font-weight: bold;  /* 太字 */
    color: #333 !important;  /* 文字色 */
}
/* ボタン全体のサイズを変更 */
.gm-style-mtc {
    transform: scale(0.7); /* 拡大 */
    transform-origin: top left; /* 左上基準で拡大 */
}



.top_logo {
  text-align: center;
  margin-top: 100px !important;
  
}
.top_logo h1 {
  margin: 25px auto 0;
  width: 220px;
  height: 64px;
}
.top_logo h2 {
  font-size: 1.6rem;
  font-weight: 200;
  line-height: 1.0;
}


.top_button {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 100px calc((100vw - 330px) / 2) 30px calc((100vw - 330px) / 2) !important;
  width: 330px !important;
}
.top_button_map,
.top_button_keyword,
.top_button_subscribe {
  font-size: 2.0rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.0;
  cursor: pointer;
  padding: 12px 6px 12px 10px;
  margin-bottom: 30px;
}
.top_button_map::after,
.top_button_keyword::after,
.top_button_subscribe::after {
  content: '\f0da';
  font-family: 'Font Awesome 7 Sharp';
  font-size: 2.0rem;
  font-weight: 900;
  margin-left: 8px;
}
.top_button_map {
  border-top: solid 2px #e0250e;
  border-bottom: solid 2px #e0250e;
}
.top_button_map::after {
  color: #e0250e;
}
.top_button_keyword {
  border-top: solid 2px #eb6d42;
  border-bottom: solid 2px #eb6d42;
}
.top_button_keyword::after {
  color: #eb6d42;
}
.top_button_subscribe {
  border-top: solid 2px #f58c5a;
  border-bottom: solid 2px #f58c5a;
  margin-left: 42.5px;
}
.top_button_subscribe::after {
  color: #f58c5a;
}

  
.top_conents + .card_wrap {
  margin-top: -25px;
}


.card_wrap + .card_wrap {
  margin-top: 50px;
}





@media print, screen and (min-width:1000px) {
  
  
  header nav li:nth-of-type(1) a::after { /* Gナビ 閲覧中ページ 下線表示 */
    width: calc(100% + 4px);
  }
  
  
  
  /* 初表示時オーバーレイ */
  #overlay picture {
    margin-top: -50px;
    width: 800px;
  }
  
  
  
  /* スライド（Swiper）*/
  main .swiper {
    border-radius: 5px 5px 0 0;
    width: 1000px;
    height: 300px;
  }
  main .swiper-slide picture img {
    width: 1000px;
    height: 300px;
  }
  
  
  
  main {
    margin-top: 110px;
    width: 1000px;
  }
  
  .top_slide {
    width: 1000px;
    height: 300px;
  }

  
  
  .top_map {
    width: 1000px;
    height: 300px;
  }
  #googlemap {
    border-radius: 0 0 5px 5px;
    margin-left: 0;
    width: 1000px;
    height: 300px;
  }
  /* 地図のコントロールボタンの文字サイズ変更 */
  .gm-style-mtc div {
      font-size: 1.4rem !important;  /* 文字サイズ変更 */
  }
  /* ボタン全体のサイズを変更 */
  .gm-style-mtc {
      transform: scale(0.8); /* 拡大 */
  }
  


  section.top_conents {
    margin: 0;
    width: 100%;
  }

  
  .top_button {
    margin: 100px calc((100% - 660px) / 2) 30px calc((100% - 660px) / 2) !important;
    width: 660px !important;
  }
  .top_button_subscribe {
    margin-left: 0;
  }
  
  
  
  .card_wrap {
    justify-content: flex-start;
    margin-left: calc((100% - 1050px) / 2 + 25px);
    margin-right: calc((100% - 1050px) / 2 - 25px);
    width: 1050px;
  }
  .card_wrap.card_1or2 {
    justify-content: center;
  }
  .card_wrap.card_1or2 > .card_wrap_title {
    margin-left: -50px;
  }
  
  .top_conents + .card_wrap {
    margin-top: 0;
  }
  
  .card_wrap + .card_wrap {
    margin-top: 100px;
  }


}

