@charset "utf-8";

.concept-container {
  margin-bottom: 200px;
  width: 100%;
  height: 130vh;
  background: url(../img/concept-fv.jpg) no-repeat center/cover;
}

.concept-container h3 {
  margin-bottom: 40px;
  white-space: nowrap;
  transform: scale(0.95);
  transform-origin: center;
}

.concept-text p:first-child {
  margin-bottom: 1.5em;
}
.concept-text p:nth-child(3) {
  margin-bottom: 1.5em;
}

.concept-title {
  margin-bottom: 40px;
}

/* 特徴 */
.feature {
  padding: 50px 40px;
  background-color: #fff;
  color: #222;
  border-radius: 30px;
  position: relative;
}

.feature-title {
  margin-bottom: 50px;
}

.feature-title h2 {
  margin: 0 0 10px;
}

.feature-lft {
  width: 100%;
}
.feature-lft {
  margin-bottom: 0.5em;
}
.feature-box {
  display: flex;
}
.feature-item:not(:last-child) {
  margin-bottom: 30px;
}
.feature-rgh img:first-child {
  width: 316px;
  position: absolute;
  top: 20%;
  right: 80px;
}
.feature-rgh img:last-child {
  width: 193px;
  position: absolute;
  bottom: 90px;
  right: 40px;
}

.feature-item h3 {
  margin-bottom: 10px;
}
/* 館内情報 */
.information-img img {
  border-radius: 30px;
}
.modal {
  display: none;
}

/* 物取扱業に関する表示 */
.display-container {
  margin: 0 auto 100px;
  padding: 40px 20px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  color: #222;
  background-color: #fff;
  border-radius: 30px;
}
.display-lft h3 {
  margin-bottom: 30px;
}
.dl-item {
  display: flex;
  gap: 20px;
}
.dl-item:not(:last-child) {
  margin-bottom: 0.5em;
}
.dl-item dt {
  width: 153px;
  font-weight: bold;
}
.dl-item dd {
  width: calc(100% - 173px);
}

/* デコレーション */

.wrap-item6,
.wrap-item7,
.wrap-item9 {
  animation: anm-float 2s ease infinite;
}

.wrap-item1 {
  width: 500px;
  position: absolute;
  top: -250px;
  right: -60px;
  opacity: 0.9;
  z-index: -1;
}
.wrap-item2 {
  width: 500px;
  position: absolute;
  top: 8%;
  left: -60px;
  opacity: 0.9;
}
.wrap-item3 {
  width: 500px;
  position: absolute;
  top: 40%;
  right: -100px;
  opacity: 0.9;
}
.wrap-item4 {
  width: 500px;
  position: absolute;
  top: 70%;
  left: -100px;
  opacity: 0.9;
}
.wrap-item5 {
  width: 500px;
  position: absolute;
  top: 90%;
  right: -120px;
  opacity: 0.9;
}

.wrap-item6 {
  width: 300px;
  position: absolute;
  top: -170px;
  right: 0;
  opacity: 0.9;
  animation-delay: 0s;
}
.wrap-item7 {
  width: 176px;
  position: absolute;
  top: 15%;
  left: -30px;
  opacity: 0.9;
  animation-delay: 0.5s;
}
.wrap-item8 {
  width: 300px;
  position: absolute;
  top: 35%;
  right: 25%;
  opacity: 0.9;
}
.wrap-item9 {
  width: 250px;
  position: absolute;
  top: 85%;
  left: -10%;
  opacity: 0.9;
  animation-delay: 0.8s;
}

/* レスポンシブ */
@media (width <= 1275px) {
  .wrap-item9 {
    display: none;
  }
}

@media (width <= 910px) {
  .wrap-item8 {
    display: none;
  }
  /* レインボー水族館の特徴 */
  .feature {
    padding: 30px 20px;
  }

  .feature-box {
    display: flex;
    flex-direction: column;
  }

  .feature-lft {
    width: 100%;
    margin-bottom: 30px;
  }

  .feature-rgh {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
  }

  .feature-rgh img:first-child,
  .feature-rgh img:last-child {
    position: static;
    width: 48%;
    max-width: none;
    height: auto;
  }

  .feature-box {
    display: flex;
    flex-direction: column;
  }
}

@media (width <= 650px) {
  .feature br {
    display: none;
  }
}

@media (width <= 767px) {
  /* コンセプト */
  .concept-title {
    margin-bottom: 0px;
  }

  .wrapper2 {
    padding-top: 130px;
  }

  .concept-container {
    width: 100%;
    height: auto;
    margin-bottom: 100px;
  }

  .concept-container h3 {
    margin: 20px auto;
    width: 100%;
    font-size: 20px;
  }
  .concept-text {
    margin: 0 auto;
    width: 80%;
  }
  .shadow {
    padding: 0;
  }

  /* 館内情報 */
  /* クリックする画像 */
  .information-img {
    cursor: pointer;
    transition: 0.3s;
  }

  .information-img:hover {
    transform: translateY(-8px);
  }
  /* モーダル */
  .modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    visibility: hidden;

    transition: 0.3s;

    z-index: 9999;
  }

  .modal.active {
    opacity: 1;
    visibility: visible;
  }

  .modal img {
    width: 100%;
    max-width: 1200px;
    border-radius: 20px;
    transform: scale(0.8);
    transition: 0.3s;
  }

  .modal.active img {
    transform: scale(1);
  }

  /* 物取扱業に関する表示 */
  .display-container {
    flex-direction: column;
    align-items: baseline;
  }

  .display-lft {
    margin-bottom: 80px;
  }

  .dl-item {
    flex-direction: column;
    gap: 8px;
  }

  .dl-item dt,
  .dl-item dd {
    width: 100%;
  }

  /* デコレーション非表示 */
  .wrap-item1,
  .wrap-item2,
  .wrap-item3,
  .wrap-item4,
  .wrap-item5,
  .wrap-item6,
  .wrap-item7 {
    display: none;
  }
}
