@media screen and (min-width: 500px) {
  html {
    font-size: 21px;
  }
}

html {
  scroll-behavior: smooth;
}
body {
  font-family: "dnp-shuei-gothic-gin-std", sans-serif;
  font-weight: 600;
  font-style: normal;
}
#pc-bg {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  align-items: center;
}

#bg {
  display: flex;
  justify-content: center;
  background: #faf5ee;
}

#content {
  z-index: 1;
  width: 100%;
  max-width: 500px;
  position: relative;
}

.header {
  height: var(--60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--20px) 0 var(--18px);
}

.header .map-logo {
  margin-top: var(--5px);
  text-align: center;
}

.header .map-logo img {
  display: block;
}

.menu-icon {
  width: var(--38px);
  height: var(--38px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  background-color: #fff;
  z-index: 500;
  height: 100%;
  width: 100%;
  padding: var(--13px);
  animation: slide-in 0.6s ease-in-out forwards;
}
/* @keyframes slide-in {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(0);
  }
} */
.menu .menu-header {
  display: flex;
  justify-content: space-between;
}
.menu nav {
  margin-top: var(--30px);
  text-align: center;
}
.menu nav li {
  color: #0080aa;
  text-align: center;
  font-size: var(--14px);
  line-height: 200%;
  padding: var(--8px);
  border-bottom: 1px solid #def1f5;
}
.menu .cta-area {
  border-radius: var(--10px);
  background-color: #def1f5;
  padding: var(--20px) var(--20px) var(--23px);
  margin-top: var(--29px);
}
.menu .cta-area .cta-logo {
  width: 100%;
}
.menu .cta-area .text {
  width: var(--264px);
  color: #303030;
  font-size: var(--14px);
  line-height: 200%;
  display: block;
  margin: var(--29px) auto 0;
}
.menu .cta-area .text-decoration {
  color: #0080aa;
}
.menu .cta-area .button {
  text-align: center;
  margin-top: var(--12px);
}

.content-inner {
  height: calc(100% - var(--60px));
  position: relative;
}

#map {
  height: 100%;
}

/* ポップアップのスタイル */
.modal {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  display: none;
  flex-direction: column;
  animation: fadein 0.5s;
  z-index: 300;
  box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

/* アニメーション用のクラスを追加 */
.modal.anim-from-large {
  height: 85vh;
  animation: fadeout-large 0.5s forwards;
}

.modal.anim-from-small {
  height: 40vh;
  animation: fadeout-small 0.5s forwards;
}

@keyframes fadein {
  0% {
    transform: translateY(40vh);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes fadeout-large {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(85vh);
  }
}

@keyframes fadeout-small {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(40vh);
  }
}

.modal-header {
  padding-bottom: var(--15px);
  border-bottom: var(--1px) solid #efefef;
  cursor: grab;
}
/* ハンドルのスタイル */
.modal-header .handle {
  width: var(--50px);
  height: var(--6px);
  background: #ccc;
  border-radius: 3px;
  margin: var(--5px) auto;
}

.modal-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--20px) 0 var(--18px);
}

.modal-header-inner .left {
  margin-top: var(--29px);
}

.modal-header-inner .right .close-button {
  margin-right: calc(-1 * var(--13px));
  text-align: right;
  margin-top: calc(-1 * var(--10px));
  margin-bottom: var(--19px);
  cursor: pointer;
}

/* モーダルのコンテンツ部分 */
.modalContent {
  flex: 1;
  overflow-y: auto;
}

.modalContent .content {
  padding: var(--24px);
}

.spot-info-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--20px);
}

h2.spot-name {
  color: #303030;
  font-size: var(--15px);
  font-weight: 505;
  line-height: 160%;
}

.spot-category {
  display: inline-flex;
  background-color: #ff6c67;
  color: #fff;
  font-size: var(--12px);
  font-weight: 505;
  line-height: 160%;
  border-radius: 3px;
  padding: 0 var(--4px);
  align-items: center;
  gap: var(--3px);
}
.spot-category img {
  width: var(--18px);
  height: var(--16px);
  margin: var(--5px) var(--2px) var(--5px) 0;
}

.comment-area {
  padding: 0 var(--21px) var(--21px);
  text-align: start;
}
.comment-area h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--3px);
  height: 79%;
  background-color: #def1f5;
  margin: auto 0;
}
.comment-area h2 {
  position: relative;
  color: #0080aa;
  font-size: var(--14px);
  line-height: 160%;
  padding-left: var(--10px);
}

.comment-area p {
  margin-top: var(--7px);
  color: #303030;
  font-size: var(--12px);
  line-height: 200%;
}

.spot-info-detail h3,
.influencer-info h3 {
  color: #0080aa;
  text-align: start;
  font-size: var(--14px);
  font-weight: 505;
  line-height: 140%;
}

.spot-info-detail table {
  border-collapse: collapse;
  width: 100%;
  table-layout: auto;
}

.spot-info-detail table,
.spot-info-detail td,
.spot-info-detail th {
  border-bottom: var(--1px) solid #efefef;
  color: #303030;
  font-size: var(--12px);
  font-weight: 505;
  line-height: 180%;
}

.spot-info-detail th {
  width: var(--88px);
  padding: var(--8px) var(--24px) var(--8px) 0;
}

.spot-info-detail td {
  width: auto;
  padding: var(--8px) 0;
  text-align: start;
  vertical-align: middle;
}

.spot-info-detail {
  border-top: #f6f6f6 var(--20px) solid;
}
.influencer-info {
  border-top: #f6f6f6 var(--20px) solid;
}

.influencer-icon {
  margin: 0 auto;
  height: var(--100px);
  width: var(--100px);
  border: 2px solid #ccc;
  border-radius: 50%;
  margin-top: var(--20px);
}
.influencer-icon img {
  width: 100%;
  object-fit: contain;
}

.influencer-name {
  text-align: center;
  margin-top: var(--8px);
}

.influencer-link {
  width: var(--290px);
  margin: var(--20px) auto 0;
}
.influencer-link img {
  width: 100%;
  object-fit: contain;
}

.modal-footer {
  background-color: #f6f6f6;
  padding: var(--24px);
}
.modal-footer .return-map {
  display: block;
  margin: var(--7px) auto 0;
  width: var(--170px);
}

.modal-footer .banner {
  width: 100%;
  margin: var(--30px) auto var(--64px);
}
.modal-footer img {
  width: 100%;
  object-fit: contain;
}

.map-banner {
  position: absolute;
  width: var(--330px);
  right: 0;
  left: 0;
  margin: 0 auto;
  bottom: var(--35px);
  z-index: 20;
}
.map-banner-inner {
  position: relative;
}

.banner-close {
  position: absolute;
  right: var(--10px);
  top: var(--9px);
  cursor: pointer;
  width: var(--20px);
}
.banner-image {
  width: 100%;
  object-fit: contain;
}

/* 情報ウィンドウを非表示にする */
.gm-style-iw,
.gm-style-iw-tc {
  display: none !important;
}
