/*
Theme Name: BOSO FAMI NAVI
Theme URI: https://bosofaminavi.com
Description: 房総子育て情報メディア — 房総のおでかけスポット・イベント・カフェをまとめて発見できるWordPressテーマ
Author: BOSO FAMI NAVI
Author URI: https://bosofaminavi.com
Version: 1.0.3
Text Domain: boso-fami-navi
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* ===== CSS VARIABLES ===== */
:root {
  --orange: #F28B30;
  --orange-light: #FFF4E8;
  --orange-pale: #FFF9F0;
  --orange-dark: #D97218;
  --orange-deep: #C45E0A;
  --cream: #FFFBF5;
  --warm-white: #FEFCF9;
  --green: #6BBF6B;
  --green-light: #E8F7E8;
  --blue: #5BA9D9;
  --blue-light: #E6F2FB;
  --pink: #F09CA2;
  --pink-light: #FFF0F1;
  --yellow: #F5D65A;
  --yellow-light: #FFF9E0;
  --brown: #8B6F47;
  --cyan: #3BA8A8;
  --cyan-light: #E0F4F4;
  --purple: #9B6BC6;
  --text: #222222;
  --text-muted: #9B8B7A;
  --text-light: #BEB0A0;
  --border: #F0E6D8;
  --card: #FFFFFF;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 2px 8px rgba(139,111,71,0.06);
  --shadow-md: 0 4px 16px rgba(139,111,71,0.08);
  --shadow-lg: 0 8px 32px rgba(139,111,71,0.1);
}

/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Zen Maru Gothic', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ===== TEXTURE BG ===== */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f0e0c8' fill-opacity='0.25'%3E%3Ccircle cx='7' cy='7' r='1.5'/%3E%3Ccircle cx='37' cy='22' r='1'/%3E%3Ccircle cx='22' cy='42' r='1.2'/%3E%3Ccircle cx='52' cy='52' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}
body > * { position: relative; z-index: 1; }

/* ===== HEADER ===== */
.header {
  background: var(--card);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--orange-light);
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
}
.logo-icon img { width: 100%; height: 100%; display: block; object-fit: contain; }
.logo-icon svg { width: 20px; height: 20px; color: white; }
.logo-text { display: flex; flex-direction: column; gap: 0; }
.logo-en {
  font-family: 'Outfit', sans-serif;
  font-size: 15px; font-weight: 800;
  color: var(--orange);
  letter-spacing: 0.3px; line-height: 1.1;
}
.logo-jp {
  font-size: 9px; font-weight: 500;
  color: var(--text-muted); letter-spacing: 1.5px; line-height: 1.2;
}
.header-right { display: flex; align-items: center; gap: 12px; }
.header-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--orange-light);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.header-btn svg { width: 18px; height: 18px; }
.notif-wrap { position: relative; }
.notif-toggle { position: relative; }
.notif-badge {
  position: absolute; top: -2px; right: -2px; min-width: 16px; height: 16px;
  background: var(--pink); color: white; font-size: 9px; font-weight: 800;
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  padding: 0 4px; font-family: 'Outfit', sans-serif; line-height: 1;
}
.notif-panel {
  display: none; position: absolute; top: calc(100% + 8px); right: 0;
  width: 300px; max-height: 400px; background: white; border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(0,0,0,0.15); border: 1px solid var(--border);
  z-index: 1000; overflow: hidden; display: none;
}
.notif-panel.show { display: block; animation: bfnDropIn 0.2s ease-out; }
@keyframes bfnDropIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.notif-panel-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px 8px; border-bottom: 1px solid var(--border);
}
.notif-panel-title {
  font-size: 12px; font-weight: 900; color: var(--text);
}
.notif-read-all {
  font-size: 10px; color: var(--orange); background: none; border: none;
  cursor: pointer; font-weight: 700; padding: 2px 6px;
}
.notif-list {
  max-height: 340px; overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.notif-loading {
  padding: 24px 16px; text-align: center; font-size: 11px; color: var(--text-muted);
}
.notif-empty {
  padding: 24px 16px; text-align: center;
}
.notif-empty p {
  font-size: 11px; color: var(--text-muted); line-height: 1.6; margin-top: 8px;
}
.notif-login-link {
  display: inline-block; margin-top: 10px; font-size: 11px; font-weight: 700;
  color: var(--orange); text-decoration: none;
  padding: 6px 16px; border-radius: 20px; background: var(--orange-light);
}
.notif-item {
  display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px;
  border-bottom: 1px solid var(--border); text-decoration: none; color: inherit;
  transition: background 0.15s;
}
.notif-item:hover { background: var(--cream); }
.notif-item.unread { background: var(--orange-pale); }
.notif-item { cursor: pointer; position: relative; }
.notif-item-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 4px;
}
.notif-item:not(.unread) .notif-item-dot { visibility: hidden; }
.notif-item-body { flex: 1; min-width: 0; }
.notif-item-msg {
  font-size: 11px; color: #3a3a3a; line-height: 1.5; font-weight: 500;
}
.notif-item-link {
  display: inline-block; margin-top: 4px; font-size: 11px; font-weight: 700;
  color: var(--orange); text-decoration: none;
}
.notif-item-link:hover { text-decoration: underline; }
.notif-item-time {
  font-size: 9px; color: var(--text-muted); margin-top: 2px; font-family: 'Outfit', sans-serif;
}
.notif-mark-read {
  position: absolute; top: 8px; right: 8px; width: 20px; height: 20px;
  border: none; background: none; color: var(--text-muted); font-size: 16px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; opacity: 0; transition: opacity .2s;
}
.notif-item:hover .notif-mark-read { opacity: 1; }
.notif-mark-read:hover { background: var(--border); color: #3a3a3a; }
.notif-view-all {
  display: block; text-align: center; padding: 10px; font-size: 12px;
  font-weight: 700; color: var(--orange); text-decoration: none;
  border-top: 1px solid var(--border);
}
.notif-view-all:hover { background: var(--cream); }

/* ===== LIKE BUTTON ===== */
.review-actions {
  display: flex; align-items: center; gap: 8px; margin-top: 8px; padding-top: 8px;
  border-top: 1px solid var(--border);
}
.like-btn {
  display: flex; align-items: center; gap: 4px; background: none; border: none;
  cursor: pointer; padding: 4px 8px; border-radius: 16px; font-size: 11px;
  color: var(--text-muted); transition: all 0.2s;
}
.like-btn:hover { background: var(--pink-light); color: var(--pink); }
.like-btn.liked { color: var(--pink); }
.like-btn svg { width: 16px; height: 16px; transition: all 0.2s; }
.like-count { font-family: 'Outfit', sans-serif; font-weight: 600; }
.report-btn, .edit-review-btn, .delete-review-btn {
  display: flex; align-items: center; gap: 4px; background: none; border: none;
  cursor: pointer; padding: 4px 8px; border-radius: 16px; font-size: 11px;
  font-family: inherit; color: var(--text-muted); transition: all 0.2s;
}
.report-btn:hover { background: #fef2f2; color: #d44; }
.report-btn svg, .edit-review-btn svg, .delete-review-btn svg { width: 14px; height: 14px; }
.edit-review-btn:hover { background: var(--orange-light); color: var(--orange-dark); }
.delete-review-btn:hover { background: #fef2f2; color: #d44; }
.delete-review-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.spot-header-actions { display: flex; gap: 6px; flex-shrink: 0; margin-top: 4px; }
.spot-action-btn {
  display: inline-flex; align-items: center; gap: 3px; padding: 5px 10px;
  border-radius: 8px; font-size: 10px; font-weight: 700; font-family: inherit;
  cursor: pointer; border: 1px solid var(--border); background: white; color: var(--text-muted);
  text-decoration: none; transition: all 0.2s;
}
.spot-action-btn.edit:hover { background: var(--orange-light); color: var(--orange-dark); border-color: var(--orange); }
.spot-action-btn.report:hover { background: #fef2f2; color: #d44; border-color: #d44; }
.report-btn.reported, .spot-action-btn.reported { color: #d44; pointer-events: none; }
.spot-action-btn.liked { border-color: var(--pink); color: var(--pink); background: var(--pink-light); }
.spot-action-btn.saved { border-color: var(--orange); color: var(--orange); background: var(--orange-light); }

/* ===== SECTION ===== */
.section {
  padding: 24px 16px 0;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.section-title {
  font-size: 16px;
  font-weight: 900;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title .icon-badge {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.section-title .icon-badge svg { width: 16px; height: 16px; color: white; }
.section-more {
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
  display: flex; align-items: center; gap: 2px;
}
.section-more svg { width: 14px; height: 14px; }

/* ===== MAP BANNER ===== */
.map-banner {
  margin: 0 16px;
  margin-top: -8px;
  background: white;
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
  border: 2px solid var(--orange-light);
  cursor: pointer;
  transition: transform 0.2s;
}
.map-banner:active { transform: scale(0.98); }
.map-banner-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--orange-light), var(--yellow-light));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.map-banner-icon svg { width: 26px; height: 26px; color: var(--orange); }
.map-banner-text { flex: 1; }
.map-banner-title {
  font-size: 14px; font-weight: 900; color: var(--text);
  margin-bottom: 2px;
}
.map-banner-desc {
  font-size: 10px; color: var(--text-muted); font-weight: 500;
}
.map-banner-arrow {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.map-banner-arrow svg { width: 14px; height: 14px; color: white; }

/* ===== CATEGORY GRID ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  cursor: pointer;
}
.cat-icon {
  width: 56px; height: 56px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.cat-item:active .cat-icon { transform: scale(0.93); }
.cat-icon svg { width: 24px; height: 24px; }
.cat-label {
  font-size: 10px; font-weight: 700;
  color: var(--text);
  text-align: center;
  line-height: 1.3;
}

/* ===== EVENT CAROUSEL ===== */
.event-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}
.event-scroll::-webkit-scrollbar { display: none; }
.event-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.2s;
}
.event-card:active { transform: scale(0.97); }
.event-card-img {
  width: 100%; height: 130px;
  object-fit: cover;
  display: block;
}
.event-card-img-placeholder {
  width: 100%; height: 130px;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  position: relative;
}
.event-card-body { padding: 12px 14px; }
.event-card-date {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  color: var(--orange);
  background: var(--orange-light);
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 6px;
}
.event-card-date svg { width: 11px; height: 11px; }
.event-card-title {
  font-size: 13px; font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.event-card-meta {
  font-size: 10px; color: var(--text-muted); font-weight: 500;
  display: flex; align-items: center; gap: 4px;
}
.event-card-meta svg { width: 11px; height: 11px; }

/* ===== SPOT CARDS ===== */
.spot-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}
.spot-scroll::-webkit-scrollbar { display: none; }
.spot-card {
  flex: 0 0 200px;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.2s;
}
.spot-card:active { transform: scale(0.97); }
.spot-card-img {
  width: 100%; height: 120px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.spot-card-badges {
  position: absolute;
  top: 8px; left: 8px;
  display: flex; gap: 4px;
}
.spot-badge {
  font-size: 9px; font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(255,255,255,0.92);
  color: var(--text);
  backdrop-filter: blur(4px);
}
.spot-card-body { padding: 10px 12px; }
.spot-card-cat {
  font-size: 9px; font-weight: 700;
  display: flex; align-items: center; gap: 3px;
  margin-bottom: 3px;
}
.spot-card-cat .dot {
  width: 6px; height: 6px; border-radius: 50%;
}
.spot-card-name {
  font-size: 13px; font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.spot-card-info {
  font-size: 10px; color: var(--text-muted); font-weight: 500;
  display: flex; align-items: center; gap: 6px;
}
.spot-card-info svg { width: 11px; height: 11px; }
.spot-card-rating { color: var(--orange); display: flex; align-items: center; gap: 2px; }

/* ===== OPEN/CLOSE NEWS ===== */
.news-list { display: flex; flex-direction: column; gap: 10px; }
.news-item {
  display: flex;
  gap: 12px;
  background: white;
  border-radius: var(--radius-sm);
  padding: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.15s;
}
.news-item:active { transform: scale(0.98); }
.news-item-badge {
  flex-shrink: 0;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 10px; font-weight: 700;
  align-self: flex-start;
  white-space: nowrap;
}
.news-item-badge.open { background: var(--green-light); color: var(--green); }
.news-item-badge.close { background: var(--pink-light); color: var(--pink); }
.news-item-body { flex: 1; min-width: 0; }
.news-item-title {
  font-size: 12px; font-weight: 700; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.news-item-meta { font-size: 10px; color: var(--text-muted); font-weight: 500; }

/* ===== REVIEW ===== */
.review-list { display: flex; flex-direction: column; gap: 10px; }
.review-item {
  background: white;
  border-radius: var(--radius-sm);
  padding: 14px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.review-header {
  display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
}
.review-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 900; color: white;
  flex-shrink: 0;
}
.review-user { flex: 1; }
.review-name { font-size: 11px; font-weight: 700; color: var(--text); }
.review-spot { font-size: 10px; color: var(--text-muted); }
.review-stars { color: var(--yellow); font-size: 11px; letter-spacing: 1px; }
.review-text {
  font-size: 12px; color: var(--text); line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
}

/* ===== CTA ===== */
.cta-section {
  margin: 24px 16px 0;
  background: linear-gradient(135deg, var(--orange-light) 0%, var(--yellow-light) 100%);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  border: 2px dashed var(--orange);
  position: relative;
  overflow: hidden;
}
.cta-deco {
  position: absolute;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(242,139,48,0.08);
}
.cta-deco1 { top: -15px; right: -15px; }
.cta-deco2 { bottom: -10px; left: -10px; width: 40px; height: 40px; }
.cta-title {
  font-size: 15px; font-weight: 900;
  color: var(--text); margin-bottom: 6px;
}
.cta-desc {
  font-size: 11px; color: var(--text-muted);
  font-weight: 500; margin-bottom: 14px;
}
.cta-btn {
  display: inline-flex;
  align-items: center; gap: 6px;
  padding: 12px 28px;
  border-radius: 30px;
  border: none;
  background: var(--orange);
  color: white;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 13px; font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(242,139,48,0.3);
  transition: transform 0.2s;
}
.cta-btn:active { transform: scale(0.96); }
.cta-btn svg { width: 16px; height: 16px; }

/* ===== AREA GRID ===== */
.area-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.area-chip {
  padding: 8px 16px;
  border-radius: 24px;
  background: white;
  border: 1.5px solid var(--border);
  font-size: 12px; font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
  display: flex; align-items: center; gap: 4px;
}
.area-chip:active {
  background: var(--orange-light);
  border-color: var(--orange);
  color: var(--orange);
}
.area-chip svg { width: 12px; height: 12px; color: var(--orange); }

/* ===== RANKING ===== */
.ranking-list { display: flex; flex-direction: column; gap: 8px; }
.ranking-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.15s;
}
.ranking-item:active { transform: scale(0.98); }
.ranking-num {
  font-family: 'Outfit', sans-serif;
  font-size: 18px; font-weight: 800;
  min-width: 24px; text-align: center;
}
.ranking-num.n1 { color: var(--orange); }
.ranking-num.n2 { color: var(--text-muted); }
.ranking-num.n3 { color: var(--brown); }
.ranking-title {
  flex: 1; font-size: 12px; font-weight: 700;
  color: var(--text);
}
.ranking-pv {
  font-size: 10px; font-weight: 600;
  color: var(--text-muted);
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(170deg, var(--orange) 0%, #F5A04E 50%, #F7B96C 100%);
  padding: 28px 20px 36px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 30px;
  background: var(--cream);
  border-radius: 24px 24px 0 0;
}
.hero-deco1 {
  position: absolute; top: -20px; right: -30px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  animation: heroFloat1 6s ease-in-out infinite;
}
.hero-deco2 {
  position: absolute; bottom: 30px; left: -20px;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  animation: heroFloat2 8s ease-in-out infinite;
}
.hero-deco3 {
  position: absolute; top: 20px; left: 20px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  animation: heroFloat3 7s ease-in-out infinite;
}
@keyframes heroFloat1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-12px, 15px); }
}
@keyframes heroFloat2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(10px, -12px); }
}
@keyframes heroFloat3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(8px, 10px); }
}
.hero-title {
  color: white;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 6px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.hero-title span {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  border-radius: 6px;
  padding: 0 6px;
}
.hero-sub {
  color: rgba(255,255,255,0.9);
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 18px;
}
.hero-search {
  display: flex;
  background: white;
  border-radius: 30px;
  padding: 4px 4px 4px 16px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.hero-search input {
  flex: 1;
  border: none;
  outline: none;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 13px;
  color: var(--text);
  background: transparent;
}
.hero-search input::placeholder { color: var(--text-light); }
.hero-search-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--orange);
  color: white;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.hero-search-btn svg { width: 16px; height: 16px; }

/* ===== ABOUT SECTION ===== */
.about-section {
  background: linear-gradient(170deg, var(--orange-light) 0%, #FFE8D0 50%, var(--yellow-light) 100%);
  padding: 32px 16px 40px;
  margin-top: 24px;
}
.about-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--orange);
}
.about-header {
  text-align: center;
  margin-bottom: 14px;
}
.about-logo-en {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1.1;
}
.about-logo-jp {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  margin-top: 2px;
}
.about-desc {
  font-size: 12px;
  line-height: 1.9;
  color: var(--text);
  text-align: center;
  margin-bottom: 16px;
}
.about-desc strong { color: var(--orange); }
.about-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.about-feat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.about-feat-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.about-feat-icon svg { width: 18px; height: 18px; color: white; }
.about-feat span {
  font-size: 9px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}
.about-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px;
  border-radius: 30px;
  border: 2px solid var(--orange);
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}
.about-link:active {
  background: var(--orange);
  color: white;
}
.about-link svg { width: 14px; height: 14px; }
.about-links { display: flex; gap: 8px; }
.about-link-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  border: 2px solid var(--orange);
  color: var(--orange);
}
.about-link-btn:active { background: var(--orange); color: white; }
.about-link-btn.guide { border-color: var(--cyan); color: var(--cyan); }
.about-link-btn.guide:active { background: var(--cyan); color: white; }

/* ===== FOOTER ===== */
.footer {
  margin-top: 0;
  padding: 24px 16px 100px;
  background: var(--yellow-light);
  border-top: none;
  text-align: center;
}
.footer-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 14px; font-weight: 800;
  color: var(--orange);
  margin-bottom: 2px;
}
.footer-sub {
  font-size: 9px; color: var(--text-muted);
  margin-bottom: 12px;
}
.footer-links {
  display: flex; justify-content: center; gap: 16px; flex-wrap: wrap;
}
.footer-link {
  font-size: 10px; color: var(--text-muted); text-decoration: none;
  font-weight: 500;
}
.footer-copy {
  margin-top: 16px;
  font-size: 9px; color: var(--text-light);
}

/* ===== BOTTOM NAV ===== */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-width: 480px;
  margin: 0 auto;
  background: white;
  border-top: 1.5px solid var(--border);
  display: flex;
  z-index: 200;
  padding-bottom: env(safe-area-inset-bottom, 0);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.04);
}
.bnav-item {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; gap: 2px;
  padding: 8px 4px 6px;
  border: none; background: transparent;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 9px; font-weight: 700;
  color: var(--text-light);
  cursor: pointer; text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.bnav-item svg { width: 22px; height: 22px; }
.bnav-item.active { color: var(--orange); }
.bnav-item.active::after {
  content: '';
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 20px; height: 3px;
  background: var(--orange);
  border-radius: 0 0 3px 3px;
}
.bnav-post {
  color: white !important;
  position: relative;
}
.bnav-post .bnav-icon-wrap {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  margin-top: -20px;
  box-shadow: 0 4px 16px rgba(242,139,48,0.35);
  border: 3px solid white;
}
.bnav-post .bnav-icon-wrap svg { width: 20px; height: 20px; color: white; }
.bnav-post span { color: var(--orange); margin-top: 2px; }

/* ===== WAVE DIVIDER ===== */
.wave-divider {
  height: 24px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.wave-divider::before {
  content: '';
  position: absolute;
  top: -12px; left: -10%;
  width: 120%;
  height: 24px;
  border-radius: 50%;
  background: white;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.section { animation: fadeUp 0.5s ease-out both; }
.section:nth-child(2) { animation-delay: 0.05s; }
.section:nth-child(3) { animation-delay: 0.1s; }
.section:nth-child(4) { animation-delay: 0.15s; }

/* ===== RESPONSIVE: TABLET (768px+) ===== */
@media (min-width: 768px) {
  body {
    max-width: 100%;
  }
  body::before {
    display: none;
  }
  .header {
    padding: 12px 32px;
  }
  .header .logo-en { font-size: 18px; }
  .hero {
    padding: 40px 32px 48px;
    text-align: center;
  }
  .hero::before {
    height: 40px;
  }
  .hero-title {
    font-size: 26px;
  }
  .hero-search {
    max-width: 480px;
    margin: 0 auto;
  }
  .section {
    padding: 28px 32px 0;
    text-align: left;
  }
  .about-section {
    padding: 32px 32px 40px;
  }
  .map-banner {
    margin: 0 auto;
    margin-top: -8px;
    max-width: 600px;
  }
  .cat-grid {
    max-width: 500px;
    margin: 0 auto;
  }
  .cat-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
  }
  .cat-icon svg { width: 28px; height: 28px; }
  .cat-label { font-size: 11px; }
  .event-card {
    flex: 0 0 280px;
  }
  .spot-card {
    flex: 0 0 220px;
  }
  .news-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .review-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .area-grid {
    max-width: 600px;
    margin: 0 auto;
    justify-content: center;
  }
  .area-chip {
    padding: 10px 20px;
    font-size: 13px;
  }
  .ranking-list {
    max-width: 600px;
    margin: 0 auto;
  }
  .cta-section {
    margin: 24px auto 0;
    max-width: 600px;
  }
  .about-card {
    max-width: 600px;
    margin: 0 auto;
  }
  .about-features {
    gap: 12px;
  }
  .about-feat-icon {
    width: 48px; height: 48px;
  }
  .about-feat span { font-size: 10px; }
  .footer {
    padding: 32px 32px 100px;
  }
  .bottom-nav {
    max-width: 560px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
  }
}

/* ===== RESPONSIVE: PC (1024px+) ===== */
@media (min-width: 1024px) {
  .header {
    padding: 14px 48px;
  }
  .header .logo-en { font-size: 20px; }
  .header .logo-jp { font-size: 10px; }
  .hero {
    padding: 56px 48px 64px;
    text-align: center;
  }
  .hero::before {
    height: 50px;
    border-radius: 32px 32px 0 0;
  }
  .hero-title {
    font-size: 32px;
  }
  .hero-sub {
    font-size: 14px;
  }
  .hero-search {
    max-width: 520px;
    margin: 0 auto;
  }
  .section {
    padding: 36px 48px 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }
  .about-section {
    padding: 40px 48px 48px;
    max-width: 100%;
  }
  .map-banner {
    margin: 0 auto;
    margin-top: -8px;
    max-width: 640px;
  }
  .cat-grid {
    grid-template-columns: repeat(8, 1fr);
    max-width: 800px;
    margin: 0 auto;
  }
  .cat-icon {
    width: 60px;
    height: 60px;
  }
  .event-card {
    flex: 0 0 300px;
  }
  .event-card-img-placeholder,
  .event-card-img {
    height: 150px;
  }
  .spot-card {
    flex: 0 0 240px;
  }
  .spot-card-img {
    height: 140px;
  }
  .news-list {
    grid-template-columns: 1fr 1fr 1fr;
    max-width: 960px;
    margin: 0 auto;
  }
  .review-list {
    grid-template-columns: 1fr 1fr;
    max-width: 900px;
    margin: 0 auto;
  }
  .area-grid {
    max-width: 800px;
    margin: 0 auto;
    justify-content: center;
  }
  .ranking-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    max-width: 900px;
    margin: 0 auto;
  }
  .cta-section {
    margin: 28px auto 0;
    max-width: 640px;
    padding: 32px;
  }
  .cta-title { font-size: 18px; }
  .about-card {
    max-width: 720px;
    padding: 32px;
  }
  .about-logo-en { font-size: 24px; }
  .about-desc { font-size: 13px; }
  .about-features {
    gap: 16px;
  }
  .about-feat-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
  }
  .about-feat-icon svg { width: 22px; height: 22px; }
  .about-feat span { font-size: 11px; }
  .about-link {
    max-width: 400px;
    margin: 0 auto;
    font-size: 13px;
  }
  .about-link:hover {
    background: var(--orange);
    color: white;
  }
  .footer {
    max-width: 100%;
    padding: 40px 48px 100px;
  }
  .bottom-nav {
    max-width: 520px;
  }
  .bnav-item { font-size: 10px; }
  .bnav-item svg { width: 24px; height: 24px; }
}

/* ===== RESPONSIVE: WIDE (1440px+) ===== */
@media (min-width: 1440px) {
  .hero {
    padding: 64px 64px 72px;
  }
  .hero-title { font-size: 36px; }
  .section {
    max-width: 1320px;
  }
}

/* ===== WORDPRESS SPECIFIC ===== */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.alignleft { float: left; margin-right: 1.5em; margin-bottom: 1em; }
.alignright { float: right; margin-left: 1.5em; margin-bottom: 1em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; margin-bottom: 1em; }
