
#campsite-panel h2,
#onsen-panel h2 {
  text-align: left;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

#campsite-panel > div > h3 {
  text-align: left;
  font-size: 16px;
  margin-top: 25px;
  margin-bottom: 15px;
  color: #555;
}

.detail-box {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 25px;
  text-align: left;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.detail-box h3 {
  font-size: 18px;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 15px;
  color: #111;
}

.detail-box p strong {
  font-size: 14px;
  font-weight: bold;
  color: #444;
}

.detail-box p {
  font-size: 14px;
  margin-top: 0;
  margin-bottom: 12px;
  line-height: 1.6;
  color: #555;
}

.detail-box p:last-child {
  margin-bottom: 0;
}

.detail-box a {
  color: #0066cc;
  text-decoration: underline;
  transition: color 0.2s;
}

.detail-box a:hover {
  color: #004499;
  text-decoration: none;
}

.detail-box ul {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
  margin-bottom: 0;
}

.detail-box li {
  margin-bottom: 12px;
}

.detail-box button {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: bold;
  color: #495057;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: all 0.2s;
}

.detail-box button:hover {
  background-color: #e9ecef;
  color: #212529;
  border-color: #ced4da;
}

#favorite-toggle-button:hover {
  background-color: #ffe5cc;
}

#favorite-toggle-button.favorite-delete:hover {
  background-color: #f8d7da;
  color: #dc3545;
  border-color: #dc3545;
}

#close-campsite-panel,
#close-onsen-panel {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: transparent;
  border: none;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  z-index: 10;
}

#close-campsite-panel:hover,
#close-onsen-panel:hover {
  color: #000;
}

#campsite-panel,
#onsen-panel {
  position: relative;
}
.favorites-page {
  min-height: 100vh;
  background-color: #fff4e6;
}

.favorite-link {
  display: block;
  transition: background-color 0.2s;
}

.favorite-link:hover {
  background-color: #d0f0d1;
}

.favorite-link:hover h3,
.favorite-link:hover p {
  color: rgb(0, 0, 0);
}

.detail-box [data-favorite-delete] {
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.detail-box [data-favorite-delete]:hover {
  background-color: #f8d7da;
  color: #dc3545;
  border-color: #dc3545;
}
/* フラッシュメッセージの共通スタイル */
.flash-message {
  position: fixed;
  top: 20px;
  z-index: 11;
  margin-top: 80px;
  padding: 15px 20px;
  text-align: center;
  font-weight: bold;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
}

/* ① notice（成功・緑系）のとき */
.flash-message.notice {
  background-color: #d4edda; /* 薄い緑 */
  color: #155724;            /* 濃い緑 */
  border-bottom: 1px solid #c3e6cb;
}

/* ② alert（失敗・赤系）のとき */
.flash-message.alert {
  background-color: #f8d7da; /* 薄い赤 */
  color: #721c24;            /* 濃い赤 */
  border-bottom: 1px solid #f5c6cb;
}

.flash-message.fade-out {
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

@media (max-width: 768px) {
  .flash-message {
    margin-top: 80px;  /* スマホ版 */
  }
}
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;

  background-color: #f5f5f5;
  color: #9b9797;
  text-align: center;
  padding: 15px 0;
  z-index: 10;
}

body {
  padding-bottom: 60px;
}
.app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;

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

  box-sizing: border-box;
  height: 60px;
  padding: 5px 10px;

  background-color: #f5f5f5;
  color: #ffffff;
}

.header-logo {
  display: block;
  height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.header-nav {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.hamburger-button {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 44px;
  height: 44px;
  padding: 0;

  font-size: 24px;
  line-height: 1;

  background: none;
  border: none;
  cursor: pointer;
}

.hamburger-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;

  background: white;
  border: 1px solid #dbdbdb;
  list-style: none;
  padding: 10px;
  margin: 0;
  z-index: 1000;
}

.hamburger-item {
  margin-bottom: 10px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .app-header {
    height: 60px;
    padding: 5px 8px;
  }

  .header-logo {
    height: 48px;
    max-width: 150px;
  }

  .hamburger-button {
    width: 44px;
    height: 44px;
    font-size: 32px;
  }

  .hamburger-menu {
    top: 100%;
    width: 180px;
  }

  .hamburger-item a {
    display: block;
    padding: 10px;
  }
}
html {
  scroll-behavior: smooth;
}

.how-to-use {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 20px;
  text-align: left;
}

.how-to-use-title {
  margin-bottom: 40px;
  text-align: center;
}

.how-to-use-intro {
  margin-bottom: 40px;
  text-align: center;
}

.how-to-use-index {
  margin-bottom: 50px;
  padding: 25px;
  background: #f3f3f3;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.how-to-use-index h2 {
  margin-top: 0;
  margin-bottom: 20px;
  color: #333;
  font-size: 24px;
  text-align: center;
}

.how-to-use-index ol {
  max-width: 600px;
  margin: 0 auto;
  padding-left: 25px;
}

.how-to-use-index li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.how-to-use-index a {
  color: #333;
  text-decoration: none;
}

.how-to-use-index a:hover {
  text-decoration: underline;
}

.how-to-use-section {
  scroll-margin-top: 20px;
  margin-bottom: 50px;
  padding: 25px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.how-to-use-section h2 {
  margin-top: 0;
  margin-bottom: 20px;
  color: #333;
  font-size: 24px;
}

.how-to-use-section p {
  margin: 10px 0;
  line-height: 1.8;
}

.how-to-use-section ul {
  margin: 15px 0;
  padding-left: 25px;
}

.how-to-use-section li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.how-to-use-screenshot {
  display: block;
  width: 100%;
  max-width: 700px;
  height: auto;
  margin: 25px auto 0;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.how-to-use-note {
  margin-top: 15px;
  padding: 12px 15px;
  background: #f7f7f7;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.7;
}

.how-to-use-screenshots {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  margin-top: 25px;
}

.how-to-use-screenshots .how-to-use-screenshot {
  width: calc(50% - 10px);
  max-width: 340px;
  margin: 0;
}

@media (max-width: 600px) {
  .how-to-use {
    padding: 20px 15px;
  }

  .how-to-use-index {
    margin-bottom: 30px;
    padding: 20px 15px;
  }

  .how-to-use-index h2 {
    font-size: 20px;
  }

  .how-to-use-section {
    scroll-margin-top: 10px;
    padding: 20px 15px;
    margin-bottom: 30px;
  }

  .how-to-use-section h2 {
    font-size: 20px;
  }

  .how-to-use-screenshot {
    margin-top: 20px;
  }

  .how-to-use-screenshots {
    flex-direction: column;
    align-items: center;
  }

  .how-to-use-screenshots .how-to-use-screenshot {
    width: 100%;
    max-width: 700px;
  }
}
.search-container {
  display: flex;
  width: 100%;
  height: calc(100vh - 120px);
  overflow: hidden;
}

.side-panel {
  height: 100%;
  flex-shrink: 0;
  overflow-y: auto;
}

#map-container {
  position: relative;
  width: 100%;
  height: 100%;
  flex: 1 1 auto;
  min-width: 0;
}

#map {
  width: 100%;
  height: 100%;
}

.side-panel.hidden {
  display: none;
}

#campsite-panel {
  width: 30%;
  border-right: 1px solid #ccc;
  background-color: #b8f0c057;
  position: relative;
}

.search-container.campsite-open #map-container {
  width: 70%;
  flex: 0 0 70%;
}

.search-container.campsite-open.onsen-open #map-container,
.search-container.onsen-open #map-container {
  width: 40%;
  flex: 0 0 40%;
}

.search-container.campsite-open.onsen-open #campsite-panel,
.search-container.campsite-open.onsen-open #onsen-panel,
.search-container.onsen-open #onsen-panel {
  width: 30%;
  flex: 0 0 30%;
}

.search-container.campsite-open.campsite-image-open #map-container {
  width: 40%;
  flex: 0 0 40%;
}

.search-container.campsite-open.campsite-image-open #campsite-panel,
.search-container.campsite-open.campsite-image-open #campsite-image-panel {
  width: 30%;
  flex: 0 0 30%;
}

#onsen-panel {
  border-left: 1px solid #ccc;
  background-color: #ffebb565;
}

#campsite-image-panel {
  border-left: 1px solid #ccc;
  background-color: #b8f0c057;
  position: relative;
}

#close-campsite-panel,
#close-onsen-panel,
#close-campsite-image-panel {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
}

.campsite-image-button {
  width: 100%;
  margin-top: 20px;
  padding: 12px 16px;
  border: none;
  border-radius: 6px;
  background-color: #333;
  color: white;
  font-size: 16px;
  cursor: pointer;
}

.campsite-image-button:hover {
  opacity: 0.85;
}

#campsite-image-content {
  padding: 20px;
  text-align: center;
}

.campsite-image-placeholder {
  margin-top: 30px;
  padding: 30px 20px;
  border: 1px dashed #aaa;
  border-radius: 8px;
  background-color: white;
}

.campsite-image-placeholder-icon {
  font-size: 60px;
  margin-bottom: 20px;
}

.campsite-image-placeholder p {
  margin: 10px 0;
}

.image-placeholder-text {
  font-size: 14px;
  color: #777;
}

#current-location-button {
  position: absolute;
  right: 10px;
  bottom: 160px;

  width: 48px;
  height: 48px;

  border: none;
  border-radius: 50%;
  background-color: white;

  font-size: 24px;
  cursor: pointer;

  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

#current-location-button img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.campsite-image-container {
  width: 100%;
  text-align: center;
}

.campsite-image {
  display: block;
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 8px;
}

.campsite-image-name {
  margin-top: 10px;
  font-weight: bold;
}

.campsite-image-attribution {
  margin-top: 8px;
  font-size: 12px;
  text-align: left;
}

.campsite-image-loading {
  text-align: center;
  padding: 30px 10px;
}

#weather-panel {
  border-left: 1px solid #ccc;
  background-color: #a2cff057;
  position: relative;
}

.search-container.campsite-open.weather-open #map-container {
  width: 40%;
  flex: 0 0 40%;
}

.search-container.campsite-open.weather-open #campsite-panel,
.search-container.campsite-open.weather-open #weather-panel {
  width: 30%;
  flex: 0 0 30%;
}

#close-weather-panel {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
}

.facility-tabs {
  display: flex;
  margin: 20px 0;
  border-bottom: 1px solid #ccc;
}

.facility-tab {
  flex: 1;
  padding: 12px;
  border: none;
  background: #f5f5f5;
  cursor: pointer;
  font-size: 16px;
}

.facility-tab.active {
  background: #fff;
  border-bottom: 3px solid #333;
  font-weight: bold;
}

.facility-item {
  cursor: pointer;
}

.facility-item:hover {
  opacity: 0.8;
}

.portrait-warning {
  display: none;
}

@media (orientation: portrait) and (max-width: 768px) {
  .portrait-warning {
    position: fixed;
    inset: 0;
    z-index: 9999;

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

    background-color: rgb(229, 255, 215);
  }

  .portrait-warning p {
    margin: 0;
    padding: 20px;

    font-size: 20px;
    font-weight: bold;
    text-align: center;
  }
}

@media (orientation: landscape) and (max-width: 1000px) {
  body.search-page {
    padding-bottom: 0;
  }

  body.search-page > footer {
    display: none;
  }

  body.search-page .search-container {
    height: calc(100dvh - 60px);
  }
}
.region-selection-container {
  min-height: 100vh;
  background-image: url(/assets/forest_background-36ead50c15dda0c35d595bbc17f1b0c1e4a8131185306cf186e88f6f5b528608.png);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 40px 20px;
}

.region-selection-container::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.702);
  z-index: -1;
}

.region-title {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 40px;
  color: #333;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 20px 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

.region-button-list {
  max-width: 600px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

.region-button {
  display: block;
  width: 100%;
  padding: 20px;
  margin-bottom: 16px;
  background-color: rgba(252, 255, 243, 0.96);
  border: 2px solid #4CAF50;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  color: #333;
  font-size: 1.2rem;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.region-button:hover {
  background-color: #4CAF50;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.current-location-search-button:hover {
  background-color: #83c7ff;
  color: white;
}

.back-link {
  display: inline-block;
  text-align: center;
  margin-top: 30px;
  color: #333;
  text-decoration: none;
  background-color: #ffffff;
  padding: 12px 30px;
  border: 2px solid #666;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.back-link:hover {
  background-color: #666;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.back-link-wrapper {
  text-align: center;
}
.hero-container {
  background-image: url(/assets/Camp-Bath-TOP画像-015f747081e9040014bb111b6331fb0fc1595e8f64397c66f5bb655349296572.jpg);
  background-size: cover;
  background-position: top center;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  box-sizing: border-box;
  overflow: hidden;
  position: fixed;
  top: 10px;
  left: 0;
  z-index: 1;
}

.hero-content {
  text-align: center;
  color: white;
  margin-top: 20vh;
}


.bottom-actions {
  margin-top: auto;
  margin-bottom: 30px;
  
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  width: 100%;
}

.btn-search-top {
  display: inline-block;
  background-color: #ffffff;
  color: #222222;
  padding: 14px 45px;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.btn-search-top:hover {
  background-color: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .hero-container {
    top: 70px;
    height: calc(100vh - 130px);
  }

  .bottom-actions {
    gap: 15px;
  }

  .bottom-actions-guest {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    gap: 15px;
  }

  .btn-search-top {
    font-size: 14px;
    padding: 12px 30px;
    white-space: nowrap;
  }
}
.profile-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.profile-field {
  width: 400px;
  max-width: 90%;
  text-align: left;
  margin-top: 20px;
}

.profile-value {
  border: 1px solid #ccc;
  padding: 15px;
  width: 400px;
  max-width: 90%;
  text-align: left;
}

.profile-button {
  margin-top: 20px;
}
/*
 * This is a manifest file that'll be compiled into application.css
 * which will include all files listed below.
 *


 */

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  text-align: center;
  padding-top: 60px;
  padding-bottom: 60px;
}

h1 {
  color: #333;
}

p {
  color: #666;
  font-size: 18px;
}

* {
  box-sizing: border-box;
}

.hidden {
  display: none !important;
}
