@charset "utf-8";

.marine-section {
  text-align: center;
  padding: 7vh 8vw 35vh;
  margin: 0 auto;
  color: #fff;
  position: relative;
}
.marine-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  list-style: none;
  max-width: 1300px;
  margin: 0 auto;
  padding: 30px 0;
}

.marine-card {
  position: relative;
  text-align: left;
  margin: 0 auto;
  z-index: 10;
}

.marine-card img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  display: block;
  border-radius: 16px;
}

.marine-card h4 {
  position: absolute;
  top: -15px;
  left: -10px;
  background: #fff;
  color: #000;
  padding: 5px 30px;
  border-radius: 15px;
  font-weight: bold;
  font-size: 1rem;
}

.marine-card p {
  position: relative;
  color: #fff;
  font-size: 0.8rem;
  line-height: 1.6;
  padding: 0 20px 0 25px;
}
.marine-card-text {
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 270px;
  height: 150px;
  position: relative;
  top: -23px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card1 {
  background-image: url("../svg/info_intro_bg1.svg");
}

.card2 {
  background-image: url("../svg/info_intro_bg2.svg");
}
/* マウスオーバーでちょっと浮くアニメーション */
.marine-card:hover {
  transform: translateY(-6px);
  transition: 0.3s ease;
}

.map-section {
  background-color: #2a95d1;
  margin: 0 auto;
  padding: 7vh 5vw 40vh;
  position: relative;
}

.map-box {
  position: relative;
  z-index: 10;
}
.map-section img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  padding-bottom: 50px;
}

.map-button {
  display: flex;
  justify-content: center;
  gap: 50px;
}
.map-button .pink-button {
  width: 220px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .map-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .map-section {
    padding: 7vh 5vw 20vh;
  }
}
