/*
Theme Name: やみちゃんパーク
Theme URI: https://yamichan-park.example.com
Author: やみちゃんパーク
Author URI: https://yamichan-park.example.com
Description: こころのあそびば - メンタルコミュニティのためのテーマパーク風WordPressテーマ
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yamichan-park
Tags: community, mental-health, blog, custom-menu, featured-images, threaded-comments, translation-ready
*/

@import url('https://fonts.googleapis.com/css2?family=Zen+Marugothic&family=Kaisei+Decol:wght@400;700&family=Yomogi&display=swap');

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

:root {
  --yami-purple: #7c5cbf;
  --yami-lavender: #c8b4e8;
  --yami-soft: #f0eafa;
  --yami-pink: #f5b8d4;
  --yami-mint: #b8e8d8;
  --yami-yellow: #fde8a0;
  --yami-dark: #2d1f4a;
  --yami-mid: #4a3470;
  --yami-light: #f7f0ff;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --shadow-soft: 0 8px 32px rgba(124,92,191,0.12);
  --shadow-hover: 0 16px 48px rgba(124,92,191,0.2);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Zen Marugothic', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  background: var(--yami-light);
  color: var(--yami-dark);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--yami-purple); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--yami-mid); }
ul, ol { list-style: none; }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Kaisei Decol', 'Hiragino Mincho ProN', serif;
  color: var(--yami-dark);
  line-height: 1.35;
}
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.3rem); }
p { margin-bottom: 1rem; }

/* ============================================
   LAYOUT
   ============================================ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.page-template-default .container,
.page .container {
  max-width: 800px;
}

.site-wrapper { min-height: 100vh; display: flex; flex-direction: column; }
main.site-main { flex: 1; }

.content-area {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  padding: 2.5rem 0;
  align-items: start;
}

@media (max-width: 768px) {
  .content-area { grid-template-columns: 1fr; }
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
  background: linear-gradient(135deg, #2d1f4a 0%, #4a2d7a 40%, #7c5cbf 100%);
  position: relative;
  overflow: hidden;
}

.stars-canvas {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
}

.header-shapes {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
}

.header-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: floatShape 6s ease-in-out infinite alternate;
}

.header-shape:nth-child(1) { width:220px;height:220px;background:#c8b4e8;top:-70px;right:8%;animation-delay:0s; }
.header-shape:nth-child(2) { width:150px;height:150px;background:#f5b8d4;bottom:-50px;left:12%;animation-delay:2s; }
.header-shape:nth-child(3) { width:90px;height:90px;background:#b8e8d8;top:35%;left:42%;animation-delay:1s; }

@keyframes floatShape {
  from { transform: translateY(0) rotate(0deg); }
  to { transform: translateY(-24px) rotate(12deg); }
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: relative;
  z-index: 10;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-ghost {
  width: 40px; height: 40px;
  background: transparent;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 20px rgba(200,180,232,0.5);
  animation: ghostBounce 3s ease-in-out infinite;
  flex-shrink: 0;
  padding: 4px;
  overflow: hidden;
}

@keyframes ghostBounce {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.brand-text { line-height: 1.2; }
.brand-name {
  font-family: 'Kaisei Decol', serif;
  font-size: 1.15rem;
  color: white;
  font-weight: 700;
  display: block;
}
.brand-tagline {
  font-size: 0.65rem;
  color: var(--yami-lavender);
  font-family: 'Yomogi', cursive;
  display: block;
  letter-spacing: 0.06em;
}

/* Primary Nav */
.primary-nav { display: flex; align-items: center; gap: 1.5rem; }

.primary-nav a {
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  transition: color 0.2s;
  display: flex; align-items: center; gap: 4px;
  white-space: nowrap;
}
.primary-nav a:hover { color: var(--yami-lavender); }

.nav-cta-btn {
  background: var(--yami-pink) !important;
  color: var(--yami-dark) !important;
  padding: 7px 18px !important;
  border-radius: 22px;
  font-weight: 500;
}

.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none; border: none;
}
.hamburger span { display: block; width: 24px; height: 2px; background: white; border-radius: 2px; }

@media (max-width: 768px) {
  .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: #2d1f4a; padding: 1rem 2rem; gap: 1rem; border-top: 1px solid rgba(255,255,255,0.1); }
  .primary-nav.open { display: flex; }
  .hamburger { display: flex; }
}

/* Hero Section */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3rem 2rem 3.5rem;
  position: relative;
  z-index: 5;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-content { flex: 1; max-width: 550px; }

.hero-eyebrow {
  display: inline-block;
  background: rgba(200,180,232,0.18);
  border: 1px solid rgba(200,180,232,0.35);
  color: var(--yami-lavender);
  font-size: 0.75rem;
  padding: 4px 15px;
  border-radius: 20px;
  margin-bottom: 1rem;
  font-family: 'Yomogi', cursive;
  letter-spacing: 0.08em;
}

.hero-title {
  font-family: 'Kaisei Decol', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: white;
  line-height: 1.35;
  margin-bottom: 1rem;
  text-shadow: 0 2px 24px rgba(124,92,191,0.35);
}

.hero-title .text-pink { color: var(--yami-pink); }

.hero-lead {
  color: rgba(255,255,255,0.72);
  font-size: 0.97rem;
  line-height: 1.85;
  margin-bottom: 1.8rem;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: 24px;
  font-family: 'Zen Marugothic', sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.btn-hero-primary {
  background: var(--yami-pink);
  color: var(--yami-dark);
  font-weight: 500;
  box-shadow: 0 4px 20px rgba(245,184,212,0.4);
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(245,184,212,0.55); color: var(--yami-dark); }

.btn-hero-secondary {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.35);
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.1); color: white; }

.hero-mascot {
  flex-shrink: 0;
  text-align: center;
  position: relative;
}

.mascot-figure {
  width: 160px; height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 0 36px rgba(200,180,232,0.7));
  animation: mascotFloat 4s ease-in-out infinite;
}

@keyframes mascotFloat {
  0%,100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-14px) rotate(3deg); }
}

.mascot-balloon {
  position: absolute;
  top: -12px; right: -36px;
  background: white;
  border-radius: 16px 16px 16px 4px;
  padding: 7px 13px;
  font-size: 0.78rem;
  color: var(--yami-dark);
  font-family: 'Yomogi', cursive;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
  white-space: nowrap;
}

@media (max-width: 600px) {
  .hero-section { flex-direction: column; text-align: center; }
  .hero-mascot { order: -1; }
  .mascot-balloon { display: none; }
  .hero-actions { justify-content: center; }
}


/* ============================================
   PARK MAP SECTION
   ============================================ */
.section-wrap { padding: 3rem 0; }

.section-header { text-align: center; margin-bottom: 2rem; }

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--yami-soft);
  border: 1.5px solid var(--yami-lavender);
  color: var(--yami-mid);
  font-size: 0.75rem;
  padding: 4px 15px;
  border-radius: 20px;
  margin-bottom: 0.6rem;
  font-family: 'Yomogi', cursive;
}

.section-title { margin-bottom: 0.4rem; }
.section-desc { font-size: 0.92rem; color: #6a5a8a; }

.park-map-grid {
  background: white;
  border: 2.5px dashed var(--yami-lavender);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 560px) { .park-map-grid { grid-template-columns: repeat(2, 1fr); } }

.map-area-card {
  border-radius: var(--radius-md);
  padding: 1.1rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: block;
}
.map-area-card:hover { transform: scale(1.05); box-shadow: var(--shadow-soft); }

.map-area-card .area-emoji { font-size: 2rem; margin-bottom: 5px; }
.map-area-card .area-name { font-size: 0.85rem; font-weight: 500; color: var(--yami-dark); }
.map-area-card .area-note { font-size: 0.68rem; color: #888; margin-top: 3px; font-family: 'Yomogi', cursive; }

.area-purple { background: #f0eafa; border: 1.5px solid #c8b4e8; }
.area-pink   { background: #fff0f7; border: 1.5px solid #f5b8d4; }
.area-mint   { background: #edfaf6; border: 1.5px solid #b8e8d8; }
.area-yellow { background: #fffbea; border: 1.5px solid #fde8a0; }
.area-blue   { background: #f0f4ff; border: 1.5px solid #b4c8f8; }
.area-soft   { background: #f5f0ff; border: 1.5px solid #c8b4e8; }

/* ============================================
   BLOG CARDS
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.4rem;
  margin-bottom: 2rem;
}

.post-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--yami-lavender);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.post-card:hover { transform: translateY(-6px) rotate(-0.4deg); box-shadow: var(--shadow-hover); }

.post-card-thumb {
  height: 90px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  position: relative;
}
.thumb-purple { background: linear-gradient(135deg, #c8b4e8, #a585d4); }
.thumb-pink   { background: linear-gradient(135deg, #f5b8d4, #e888b8); }
.thumb-mint   { background: linear-gradient(135deg, #b8e8d8, #7dd4bc); }
.thumb-yellow { background: linear-gradient(135deg, #fde8a0, #f8ca60); }

.post-new-badge {
  position: absolute; top: 8px; right: 8px;
  background: rgba(255,255,255,0.88);
  color: var(--yami-mid);
  font-size: 0.62rem;
  padding: 3px 10px;
  border-radius: 12px;
  font-family: 'Yomogi', cursive;
}

.post-card-body { padding: 1rem 1.1rem 1.2rem; }

.post-category {
  font-size: 0.68rem;
  color: var(--yami-purple);
  font-family: 'Yomogi', cursive;
  margin-bottom: 4px;
}

.post-card-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--yami-dark);
  line-height: 1.5;
  margin-bottom: 6px;
}

.post-excerpt {
  font-size: 0.78rem;
  color: #7a6a9a;
  line-height: 1.75;
  margin-bottom: 10px;
}

.post-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.7rem;
  color: #aaa;
}

.post-like-btn {
  background: none;
  border: 1px solid var(--yami-pink);
  color: var(--yami-pink);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.72rem;
  cursor: pointer;
  font-family: 'Zen Marugothic', sans-serif;
  transition: background 0.2s;
}
.post-like-btn:hover { background: #fff0f7; }

/* ============================================
   SINGLE POST
   ============================================ */
.post-header { margin-bottom: 2rem; }
.post-title { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 0.8rem; }

.post-meta-bar {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.8rem; color: #888;
  padding-bottom: 1rem;
  border-bottom: 2px dashed var(--yami-lavender);
  flex-wrap: wrap;
}

.post-meta-bar .cat-pill {
  background: var(--yami-soft);
  color: var(--yami-mid);
  padding: 3px 12px;
  border-radius: 14px;
  font-family: 'Yomogi', cursive;
  font-size: 0.72rem;
  border: 1px solid var(--yami-lavender);
}

.post-content {
  line-height: 1.9;
  font-size: 1rem;
}

.post-content h2 {
  font-size: 1.3rem;
  margin: 2rem 0 0.8rem;
  padding-left: 1rem;
  border-left: 4px solid var(--yami-purple);
  color: var(--yami-mid);
}

.post-content h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.6rem;
  color: var(--yami-dark);
}

.post-content p { margin-bottom: 1.2rem; }

.post-content blockquote {
  background: var(--yami-soft);
  border-left: 4px solid var(--yami-lavender);
  padding: 1rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
  font-style: normal;
  color: var(--yami-mid);
  font-family: 'Yomogi', cursive;
  font-size: 0.95rem;
}

.yami-message-box {
  background: white;
  border: 2px solid var(--yami-lavender);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.5rem;
  margin: 2rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.yami-message-box .mascot-mini { flex-shrink: 0; animation: ghostBounce 3s ease-in-out infinite; }
.yami-message-box p { font-family: 'Yomogi', cursive; color: var(--yami-mid); font-size: 0.9rem; line-height: 1.8; margin: 0; }

/* ============================================
   SIDEBAR WIDGETS
   ============================================ */
.sidebar { display: flex; flex-direction: column; gap: 1.2rem; }

.widget-box {
  background: white;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--yami-lavender);
  overflow: hidden;
}

.widget-box.widget-pink { border-color: var(--yami-pink); }

.widget-header {
  background: var(--yami-soft);
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--yami-lavender);
  font-family: 'Kaisei Decol', serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--yami-mid);
  display: flex; align-items: center; gap: 6px;
}

.widget-pink .widget-header { background: #fff0f7; border-color: var(--yami-pink); }

.widget-body { padding: 0.9rem 1rem; }

/* Mood Widget */
.mood-widget { text-align: center; }
.mood-prompt { font-size: 0.75rem; color: #888; margin-bottom: 10px; font-family: 'Yomogi', cursive; }

.mood-buttons { display: flex; justify-content: center; gap: 6px; margin-bottom: 10px; }

.mood-emoji-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: var(--yami-soft);
  cursor: pointer;
  font-size: 1.05rem;
  transition: transform 0.15s, border-color 0.15s;
}
.mood-emoji-btn:hover, .mood-emoji-btn.selected {
  transform: scale(1.22);
  border-color: var(--yami-purple);
  background: white;
}

.mood-feedback { font-size: 0.75rem; color: var(--yami-mid); min-height: 22px; font-family: 'Yomogi', cursive; }

/* Member List */
.member-item {
  display: flex; align-items: center; gap: 9px;
  padding: 5px 0;
  border-bottom: 1px solid #f0eafa;
  font-size: 0.8rem;
}
.member-item:last-child { border: none; }
.member-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 500; flex-shrink: 0;
}
.member-name { flex: 1; }
.member-role {
  font-size: 0.6rem; padding: 2px 8px;
  border-radius: 10px; font-family: 'Yomogi', cursive;
}
.role-star { background: #fff7e0; color: #b07800; border: 1px solid #fde8a0; }
.role-new  { background: #f0eafa; color: var(--yami-mid); border: 1px solid var(--yami-lavender); }

/* Yami message widget */
.yami-widget-inner { text-align: center; padding: 0.3rem 0; }
.yami-widget-icon { animation: ghostBounce 3s ease-in-out infinite; margin-bottom: 8px; display: flex; justify-content: center; }
.yami-widget-msg { font-family: 'Yomogi', cursive; font-size: 0.82rem; color: var(--yami-mid); line-height: 1.85; }

/* ============================================
   COMMENTS
   ============================================ */
.comments-section { margin-top: 2.5rem; }
.comments-title {
  font-family: 'Kaisei Decol', serif;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  display: flex; align-items: center; gap: 8px;
  color: var(--yami-mid);
}

.comment-item {
  background: white;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--yami-lavender);
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
}

.comment-meta {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 8px; font-size: 0.78rem; color: #888;
}
.comment-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--yami-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; color: var(--yami-mid);
}
.comment-author { font-weight: 500; color: var(--yami-dark); }
.comment-text { font-size: 0.88rem; color: var(--yami-dark); line-height: 1.75; }

/* Comment Form */
.comment-form-wrap {
  background: white;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--yami-lavender);
  padding: 1.3rem;
  margin-top: 1.5rem;
}
.comment-form-title { font-size: 1rem; font-weight: 500; margin-bottom: 1rem; color: var(--yami-mid); font-family: 'Kaisei Decol', serif; }

.form-field { margin-bottom: 1rem; }
.form-label { display: block; font-size: 0.8rem; color: var(--yami-mid); margin-bottom: 4px; }
.form-input, .form-textarea {
  width: 100%;
  border: 1.5px solid var(--yami-lavender);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-family: 'Zen Marugothic', sans-serif;
  font-size: 0.9rem;
  background: var(--yami-soft);
  color: var(--yami-dark);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--yami-purple);
  box-shadow: 0 0 0 3px rgba(124,92,191,0.12);
  background: white;
}
.form-textarea { min-height: 100px; resize: vertical; }

.btn-submit {
  background: var(--yami-purple);
  color: white;
  border: none;
  padding: 10px 28px;
  border-radius: 22px;
  font-family: 'Zen Marugothic', sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.btn-submit:hover { background: var(--yami-mid); transform: translateY(-1px); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--yami-dark);
  color: rgba(255,255,255,0.65);
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; } }

.footer-brand-name {
  font-family: 'Kaisei Decol', serif;
  color: white; font-size: 1.1rem;
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 10px;
}

.footer-about {
  font-size: 0.8rem; line-height: 1.75;
  color: rgba(255,255,255,0.45);
}

.footer-col-title {
  font-family: 'Kaisei Decol', serif;
  font-size: 0.88rem;
  color: var(--yami-lavender);
  margin-bottom: 12px;
}

.footer-nav-list li { margin-bottom: 7px; }
.footer-nav-list a { color: rgba(255,255,255,0.45); font-size: 0.8rem; transition: color 0.2s; }
.footer-nav-list a:hover { color: var(--yami-lavender); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.72rem; color: rgba(255,255,255,0.28);
  flex-wrap: wrap; gap: 8px;
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

.btn-outline {
  background: transparent;
  color: var(--yami-mid);
  border: 1.5px solid var(--yami-lavender);
  padding: 8px 22px;
  border-radius: 22px;
  font-family: 'Zen Marugothic', sans-serif;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-block;
}
.btn-outline:hover { background: var(--yami-soft); }

/* Screen reader only */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ============================================
   PAGINATION
   ============================================ */
   .pagination,
   .nav-links {
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 0.5rem;
     padding: 2.5rem 0;
     flex-wrap: wrap;
   }
   
   .page-numbers,
   .nav-links a,
   .nav-links span {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     min-width: 2.4rem;
     height: 2.4rem;
     padding: 0 0.75rem;
     border-radius: 999px;
     font-family: 'Yomogi', cursive;
     font-size: 0.9rem;
     color: var(--yami-mid);
     background: var(--yami-soft);
     border: 2px dashed var(--yami-lavender);
     text-decoration: none;
     transition: all 0.2s ease;
   }
   
   .page-numbers:hover,
   .nav-links a:hover {
     background: var(--yami-lavender);
     color: #fff;
     border-color: var(--yami-lavender);
     transform: translateY(-2px);
     box-shadow: 0 4px 12px rgba(180, 160, 220, 0.35);
   }
   
   /* 現在のページ */
   .page-numbers.current {
     background: var(--yami-pink);
     color: #fff;
     border: 2px solid var(--yami-pink);
     font-weight: bold;
     box-shadow: 0 4px 12px rgba(255, 160, 200, 0.35);
   }
   
   /* 「次へ」「前へ」ボタン */
   .page-numbers.next::after  { content: ' 🌙'; }
   .page-numbers.prev::before { content: '⭐ '; }
   
   .page-numbers.next,
   .page-numbers.prev {
     padding: 0 1.1rem;
     background: var(--yami-soft);
     color: var(--yami-mid);
   }
   
   /* 「…」ドット */
   .page-numbers.dots {
     border: none;
     background: transparent;
     color: var(--yami-lavender);
     letter-spacing: 2px;
   }

  /* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: var(--yami-pink);
  color: #fff;
  font-size: 1.3rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(255,160,200,0.45);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--yami-lavender);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(180,160,220,0.5);
}

/* ============================================
   CONTACT FORM 7
   ============================================ */
   .wpcf7 {
    background: var(--yami-soft);
    border: 2px dashed var(--yami-lavender);
    border-radius: 1.5rem;
    padding: 2rem 2.5rem;
    max-width: 640px;
    margin: 0 auto;
  }
  
  /* ラベル */
  .wpcf7 label {
    display: block;
    font-family: 'Yomogi', cursive;
    font-size: 0.9rem;
    color: var(--yami-mid);
    margin-bottom: 0.3rem;
  }
  
  /* テキスト・メール・URL入力 */
  .wpcf7 input[type="text"],
  .wpcf7 input[type="email"],
  .wpcf7 input[type="url"],
  .wpcf7 input[type="tel"] {
    width: 100%;
    padding: 0.65rem 1rem;
    border: 2px solid var(--yami-lavender);
    border-radius: 999px;
    background: #fff;
    font-family: 'Yomogi', cursive;
    font-size: 0.95rem;
    color: var(--yami-dark);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
  }
  
  /* テキストエリア */
  .wpcf7 textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--yami-lavender);
    border-radius: 1.2rem;
    background: #fff;
    font-family: 'Yomogi', cursive;
    font-size: 0.95rem;
    color: var(--yami-dark);
    outline: none;
    resize: vertical;
    min-height: 140px;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
  }
  
  /* フォーカス */
  .wpcf7 input:focus,
  .wpcf7 textarea:focus {
    border-color: var(--yami-pink);
    box-shadow: 0 0 0 3px rgba(255,160,200,0.2);
  }
  
  /* 送信ボタン */
  .wpcf7 input[type="submit"] {
    display: block;
    margin: 1.5rem auto 0;
    padding: 0.75rem 2.5rem;
    background: var(--yami-pink);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-family: 'Yomogi', cursive;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(255,160,200,0.4);
    transition: all 0.2s ease;
  }
  
  .wpcf7 input[type="submit"]:hover {
    background: var(--yami-lavender);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(180,160,220,0.45);
  }
  
  /* 送信中スピナー非表示（CF7デフォルト） */
  .wpcf7 .wpcf7-spinner {
    display: none !important;
  }
  
  /* バリデーションエラー */
  .wpcf7 .wpcf7-not-valid-tip {
    font-size: 0.8rem;
    color: #e07090;
    margin-top: 0.25rem;
    font-family: 'Yomogi', cursive;
  }
  
  /* 送信結果メッセージ */
  .wpcf7 .wpcf7-response-output {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    font-family: 'Yomogi', cursive;
    font-size: 0.9rem;
    text-align: center;
    border: none !important;
  }
  
  /* 成功 */
  .wpcf7 .wpcf7-mail-sent-ok {
    background: #f0fdf4;
    color: #4a9e6f;
  }
  
  /* エラー */
  .wpcf7 .wpcf7-mail-sent-ng,
  .wpcf7 .wpcf7-validation-errors {
    background: #fff0f5;
    color: #e07090;
  }
  
  /* 各フィールドの余白 */
  .wpcf7 p {
    margin-bottom: 1.2rem;
  }

