/* ポップアップオーバーレイのスタイル */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup-container {
  position: relative;
  max-width: 800px;
  width: 90%;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.popup-content {
  width: 100%;
  position: relative;
}

.popup-close {
  position: relative;
  margin: 15px auto 10px;
  width: 40px;
  height: 40px;
  background-color: #333;
  border-radius: 50%;
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10001;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.popup-close span {
  font-size: 18px;
  font-weight: 300;
  color: #fff;
}

.popup-carousel .owl-nav-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
  gap: 10px;
}

.popup-carousel .owl-dots {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
}

.popup-carousel .owl-nav {
  display: none;
}

.popup-carousel .owl-prev,
.popup-carousel .owl-next {
  position: static;
  width: 24px;
  height: 24px;
  background-color: transparent !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
  border: none !important;
  outline: none !important;
  margin: 0;
  padding: 0;
}

.popup-carousel .owl-prev span,
.popup-carousel .owl-next span {
  font-size: 11px;
  font-weight: normal;
  color: #333;
}

.popup-carousel .owl-dot {
  display: inline-block;
  margin: 0 5px;
}

.popup-carousel .owl-dot span {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #ccc;
}

.popup-carousel .owl-dot.active span {
  background-color: #333;
  transform: scale(1.2);
}

.popup-image-container {
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup-image {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
}

.popup-text {
  padding: 10px 20px;
  text-align: center;
}

.popup-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.popup-description {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 15px;
}

.popup-button {
  display: inline-block;
  padding: 8px 20px;
  background-color: #333;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  margin-bottom: 15px;
  font-size: 14px;
}

.popup-button:hover {
  background-color: #555;
  color: #fff;
  text-decoration: none;
}

/* スマホ用スタイル */
@media (max-width: 767px) {
  .popup-container {
    width: 95%;
    max-width: 400px;
  }

  .popup-title {
    font-size: 16px;
  }

  .popup-description {
    font-size: 13px;
  }

  .popup-text {
    padding: 15px;
  }

  .popup-button {
    padding: 6px 15px;
    font-size: 13px;
  }

  .popup-close {
    width: 30px;
    height: 30px;
    margin: 10px auto;
  }

  .popup-close span {
    font-size: 16px;
  }
}

/* LINEバナーのスタイル */
.line-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  max-width: 320px;
  width: 100%;
}

.line-banner-sp {
  position: fixed;
  bottom: 50px;
  left: 0;
  right: 0;
  z-index: 9999;
  width: 100%;
  padding: 0 15px;
}

.line-banner-close {
  position: absolute;
  top: -8px;
  right: 4px;
  width: 32px;
  height: 32px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1;
}

.line-banner-close span {
  color: #212529;
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
}

/* レスポンシブ対応 */
@media (max-width: 575px) {
  .line-banner {
    display: none;
  }
}

@media (min-width: 576px) {
  .line-banner-sp {
    display: none;
  }
}
