/* =============================================
   潮干狩りLP - スタイルシート
   テーマ: 海・砂浜ブルー系
   ============================================= */

/* --- Reset & Base --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 60px; }
html, body { margin: 0; padding: 0; width: 100%; height: 100%; }
body {
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  background-color: #e8e8e8;
  color: #1a2b3c;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* --- Wrapper --- */
#app-wrapper {
  max-width: 480px;
  margin: 0 auto;
  background-color: #ffffff;
  min-height: 100vh;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  overflow: clip;
}

/* --- Container --- */
.container { padding: 0 16px; }

/* =============================================
   追従ヘッダー
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 8px rgba(0,0,0,0.08);
}
.site-header-inner {
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-cta {
  display: inline-flex;
  align-items: center;
  background: #2B7BC4;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 7px 14px;
  border-radius: 20px;
  transition: background 0.2s;
}
.header-cta:hover { background: #1f5f9e; }
.menu-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #1a2b3c;
}

/* =============================================
   ドロワーメニュー
   ============================================= */
.menu-drawer {
  position: fixed;
  top: 0;
  right: max(0px, calc(50vw - 240px));
  width: calc(min(100vw, 480px) * 0.8);
  max-width: 300px;
  height: 100%;
  background: #fff;
  z-index: 200;
  transform: translateX(calc(100% + 50vw));
  transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 20px rgba(0,0,0,0.12);
}
.menu-drawer.open { transform: translateX(0); }
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.menu-overlay.open { opacity: 1; pointer-events: auto; }
.menu-drawer-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 0 32px;
}
.menu-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #e8edf2;
}
.menu-nav {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}
.menu-nav-item {
  display: flex;
  flex-direction: column;
  padding: 14px 24px;
  border-bottom: 1px solid #f0f4f8;
  text-decoration: none;
  transition: background 0.15s;
}
.menu-nav-item:hover { background: #f5f8fb; }
.menu-nav-en {
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: #2B7BC4;
  margin-bottom: 2px;
}
.menu-nav-ja {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a2b3c;
}

/* =============================================
   KV（ヒーロー）
   ============================================= */
.kv-section {
  width: 100%;
  overflow: hidden;
  background-color: #d0e4f5;
}
.kv-image {
  width: 100%;
  height: auto;
  display: block;
}

/* =============================================
   リード文
   ============================================= */
.feature-lead {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  text-align: center;
  margin-bottom: 24px;
}
.lead-title {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 12px;
  text-align: center;
}
.lead-text {
  font-size: 13px;
  color: #4B5563;
  line-height: 1.8;
  text-align: justify;
}

/* =============================================
   セクション共通見出し
   ============================================= */
.section-heading {
  text-align: center;
  margin-bottom: 12px;
}
.section-heading-title {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 4px;
}
.section-heading-en {
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: #9CA3AF;
  text-transform: uppercase;
}

/* =============================================
   FEATURE（楽しみ方）
   ============================================= */
.section-feature {
  padding: 40px 0;
  background: #f5f8fb;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: relative;
}
.feature-number {
  font-size: 2rem;
  font-weight: 900;
  color: #2B7BC4;
  opacity: 0.2;
  position: absolute;
  top: 12px;
  right: 16px;
  line-height: 1;
}
.feature-card-title {
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 8px;
}
.feature-card-text {
  font-size: 13px;
  color: #4B5563;
  line-height: 1.7;
  text-align: justify;
}

/* =============================================
   CHECKLIST（持ち物）
   ============================================= */
.section-checklist {
  padding: 40px 0;
  background: #ffffff;
}
.checklist-card {
  background: #f5f8fb;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.checklist-group-title {
  font-size: 14px;
  font-weight: 700;
  color: #2B7BC4;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.checklist-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.checklist-items li {
  font-size: 13px;
  color: #374151;
  padding-left: 24px;
  position: relative;
}
.checklist-items li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #2B7BC4;
  font-weight: 700;
}

/* =============================================
   RECOMMEND（こんな方におすすめ）
   ============================================= */
.section-recommend {
  padding: 40px 0;
  background: #f5f8fb;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 12px;
}
.recommend-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.recommend-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.recommend-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.recommend-text {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
}

/* =============================================
   SPOTS（スポット一覧）
   ============================================= */
.section-spots {
  padding: 40px 0;
  background: #f5f8fb;
}
.spots-sub {
  text-align: center;
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* フィルター */
.filter-bar { margin-bottom: 16px; }
.filter-scroll {
  display: flex;
  justify-content: flex-start;
  gap: 6px;
}
.filter-btn {
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  transition: all 0.2s;
  border: 1.5px solid #E5E7EB;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  background: #ffffff;
  color: #9CA3AF;
}
.filter-btn:not(.active):hover { border-color: #2B7BC4; }
.filter-btn.active {
  background-color: #2B7BC4;
  color: #ffffff;
  border-color: #2B7BC4;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* スポットカード（1列レイアウト） */
.spot-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.spot-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s;
}
.spot-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.spot-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.spot-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.spot-card-body { padding: 16px; }
.spot-card-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #6B7280;
  margin-bottom: 8px;
}
.spot-card-name {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 6px;
}
.spot-card-desc {
  font-size: 12px;
  color: #4B5563;
  line-height: 1.6;
  margin-bottom: 12px;
}
.spot-card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}
.spot-info-row {
  display: flex;
  gap: 8px;
  font-size: 11px;
}
.spot-info-label {
  background: #f0f4f8;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  color: #2B7BC4;
  white-space: nowrap;
}
.spot-info-value { color: #374151; }
.spot-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 12px;
}
.spot-tag {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e8f0fe;
  color: #2B7BC4;
  font-weight: 500;
}
.spot-tag-shell {
  background: #fef3c7;
  color: #92400e;
}
.spot-card-plans {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}
.plan-block {
  display: block;
  background: #f5f8fb;
  border-radius: 10px;
  padding: 12px 14px;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}
.plan-block:hover {
  background: #eaf0f7;
}
.plan-block-name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 8px;
}
.plan-block-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.plan-block-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.plan-block-price-original {
  font-size: 13px;
  color: #999;
  text-decoration: line-through;
}
.plan-block-price-current {
  font-size: 18px;
  font-weight: 700;
  color: #e53e3e;
}
.plan-block-cta {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: #2B7BC4;
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.plan-block-cta:hover { background: #1f5f9e; }

/* Loading / Error */
.loading-container, .error-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 32px 16px;
}
.loading-content, .error-content { text-align: center; }
.spinner {
  display: inline-block;
  width: 32px;
  height: 32px;
  border: 4px solid #2B7BC4;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 12px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { font-size: 14px; color: #6B7280; }
.error-text { font-size: 14px; color: #DC2626; margin-bottom: 12px; }
.retry-button {
  padding: 8px 16px;
  background-color: #2B7BC4;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.empty-state {
  text-align: center;
  padding: 48px 16px;
  font-size: 13px;
  color: #6B7280;
}

/* =============================================
   FAQ
   ============================================= */
.section-faq {
  padding: 40px 0;
  background: #ffffff;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: #f5f8fb;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.faq-question {
  width: 100%;
  padding: 16px 20px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #1a2b3c;
  text-align: left;
  line-height: 1.5;
}
.faq-q-mark {
  color: #2B7BC4;
  font-size: 16px;
  font-weight: 900;
  flex-shrink: 0;
}
.faq-chevron {
  margin-left: auto;
  flex-shrink: 0;
  transition: transform 0.3s;
  color: #9CA3AF;
  margin-top: 2px;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer p {
  padding: 0 20px 16px 40px;
  font-size: 13px;
  color: #4B5563;
  line-height: 1.7;
  text-align: justify;
}

/* =============================================
   フッター
   ============================================= */
.footer {
  background: #f5f8fb;
  border-top: 1px solid #e8edf2;
  padding: 24px 16px;
}
.footer-content { text-align: center; }
.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2B7BC4;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 32px;
  border-radius: 999px;
  margin-bottom: 16px;
  transition: background 0.2s;
}
.footer-cta:hover { background: #1f5f9e; }
.footer-copy {
  font-size: 12px;
  color: #9CA3AF;
}
