/* CSS */
* {
  scroll-behavior: auto !important;
}

body {
  font-family: "M PLUS Rounded 1c", sans-serif;
  width: 100vw;
  height: 100svh;
  color: #574e4c;
  overflow-y: scroll;
  overflow-x: hidden;
  background-color: #fdf7bc;
  background-image: url(./images/pc_bg.jpg);
  background-size: 100vw;
  background-position: top;
  background-repeat: repeat-y;
  margin: 0;
  padding: 0;
}

p {
  margin: 0;
  padding: 0;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

.no-break {
  white-space: nowrap;
}

.highlight-pink {
  color: #f86e8a;
}

.main-wrap {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 0;
  background-color: #fdf7bc;
  box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.1);
}

.kv-section {
  width: 100%;
}

.kv-inner {
  background-image: url(./images/kv_bottom_bg.png);
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  position: relative;
  padding-bottom: 16px;
  margin-top: -1px;
}

.strip-line {
  display: block;
  width: 100%;
  position: absolute;
  top: 4px;
  left: 0;
}

.kv-title {
  width: 100%;
  padding: 40px 20px 0;
  background-image: url(./images/kv_top_bg.png);
  background-size: 100% 100%;
  background-position: top;
  background-repeat: no-repeat;
  box-sizing: border-box;
}

.kv-info {
  width: 85%;
  margin: 24px auto;
  background-color: #fff;
  padding: 40px 24px;
  box-sizing: border-box;
  border: 2px solid #ffb7c8;
}

.kv-info-text {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.8;
  text-align: center;
}

.howto-terms,
.campaign-terms {
  width: 85%;
  margin: 0 auto;
}

.howto-terms-title,
.campaign-terms-title {
  width: fit-content;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid #574e4c;
  border-radius: 100vw;
  padding: 8px 32px;
  text-align: center;
  margin: 0 auto 8px;
}

.howto-terms-text,
.campaign-terms-text {
  font-size: 12px;
  margin-bottom: 8px;
}

.howto-terms-description-title,
.campaign-terms-description-title {
  margin-top: 24px;
  margin-bottom: 8px;
}

.howto-terms-description-title:first-child,
.campaign-terms-description-title:first-child {
  margin-top: 0;
}

.howto-terms-description,
.campaign-terms-description {
  height: 200px;
  font-size: 12px;
  padding: 16px;
  background-color: #fff;
  overflow-y: scroll;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-sizing: border-box;
}

.howto-terms-list,
.campaign-terms-list {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.howto-terms-list li,
.campaign-terms-list li {
  line-height: 1.6;
}

.campaign-section .bottom-strip-line {
  top: auto;
  bottom: 0;
  left: 0;
}

.campaign-section {
  width: 100%;
  background-color: #cee7e1;
  padding-bottom: 40px;
  position: relative;
}

.campaign-title-inner {
  width: 100%;
  background-color: #ffffff;
  background-image: url(./images/bg_campaign_top.png);
  background-size: 100%;
  background-position: bottom;
  background-repeat: no-repeat;
  padding-top: 40px;
}

.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.popup-overlay.show {
  opacity: 1;
}

.popup-wrap {
  width: 100%;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  max-width: 560px;
  background-image: url(./images/bg_pop.png);
  background-size: 100%;
  background-position: top;
  background-repeat: repeat-y;
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 40px 0;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.popup-overlay.show .popup-wrap {
  transform: translateY(0);
}

.popup-inner {
  width: 85%;
  height: 65svh;
  background-color: #fff;
  border: 2px solid #ffb7c8;
  border-radius: 16px;
  padding: 16px;
  box-sizing: border-box;
  flex-shrink: 0;
  overflow-y: auto;
}

.popup-inner-image {
  width: 100%;
  margin-bottom: 16px;
  border-radius: 8px;
  overflow: hidden;
}

.popup-inner-content {
  width: 100%;
}

.popup-inner-content-title {
  font-size: 20px;
  font-weight: 600;
  color: #f86e8a;
  text-align: center;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
  white-space: pre-line;
}

.popup-inner-content-title::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: #f86e8a;
  position: absolute;
  bottom: 0;
  left: 0;
}

.popup-inner-content-text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: #574e4c;
}

.popup-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  background-color: #fff;
  border: 2px solid #574e4c;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 600;
  color: #574e4c;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
}

/* GPS設定ポップアップ用 */
.popup-wrap[data-popup-type="gps"] {
  background-image: url(./images/howto_bg.png);
  background-size: 100%;
  background-position: top;
  background-repeat: repeat-y;
}

.popup-gps-content {
  width: 85%;
  height: 85svh;
  margin: 0 auto;
  background-color: #fff;
  border: 2px solid #7acde0;
  border-radius: 16px;
  padding: 24px;
  box-sizing: border-box;
  overflow-y: auto;
  flex-shrink: 0;
}

.popup-gps-title {
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 16px;
  padding-bottom: 10px;
  position: relative;
  white-space: pre-line;
}

.popup-gps-title::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  position: absolute;
  bottom: 0;
  left: 0;
}

.popup-gps-text {
  font-size: 14px;
  line-height: 1.8;
}

.popup-gps-text p {
  margin-bottom: 12px;
}

.popup-gps-subtitle {
  font-size: 16px;
  font-weight: 600;
  margin: 24px 0 16px;
}

.popup-gps-section-title {
  font-size: 14px;
  font-weight: 600;
  margin: 16px 0 8px;
}

.popup-gps-link-text {
  font-size: 14px;
  margin: 8px 0 4px;
}

.popup-gps-link {
  display: inline-block;
  color: #0023b7;
  text-decoration: underline;
  font-size: 14px;
  margin-bottom: 16px;
}

.popup-gps-notice {
  font-size: 14px;
  margin: 8px 0;
}

.contact-section {
  width: 100%;
  background-color: #fff;
  position: relative;
  padding: 0 0 40px;
  font-family: "Noto Sans JP", sans-serif !important;
  font-weight: 400;
  font-size: 14px;
}

.contact-inner {
  width: 85%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 24px;
}

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

.contact-schedule {
  position: relative;
  padding: 16px 0;
}

.contact-schedule::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: #574e4c;
  position: absolute;
  top: 0;
  left: 0;
}

.contact-schedule::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: #574e4c;
  position: absolute;
  bottom: 0;
  left: 0;
}

.footer-wrap {
  max-width: 560px;
  margin: 0 auto;
}

@media (min-width: 560px) {
  .kv-info-text {
    font-size: 18px;
  }

  .popup-inner {
    height: 75svh;
  }
}
