/*
Theme Name: Cocoon Child - プロポーズの花束を綺麗に保存しよう
Template: cocoon-master
Description: プロポーズの花束を綺麗に保存しよう（flower-hozon.com）専用子テーマ – プリザーブドフラワー加工店の全国ディレクトリ
Version: 1.0.0
Author: YUTA
*/

/* ═══════════════════════════════
   CSS Variables - Rose & Gold
   20代女性向けの柔らかく上品な配色
   ═══════════════════════════════ */
:root {
  /* Primary: ローズピンク */
  --bq-primary: #E8507A;
  --bq-primary-dark: #D63B65;
  --bq-primary-glow: #F27A9B;
  --bq-primary-soft: #FDE8EF;

  /* Accent: ゴールド */
  --bq-accent: #C8956C;
  --bq-accent-dark: #A67A56;
  --bq-accent-light: #F5E6D3;

  /* Secondary: ラベンダー */
  --bq-secondary: #A78BCA;
  --bq-secondary-soft: #F0EBF7;

  /* Neutrals: 柔らかいピンクベージュ */
  --bq-dark: #3D2B3A;
  --bq-body: #5C4658;
  --bq-mid: #9B8A95;
  --bq-light: #FDFBFC;
  --bq-border: #F0E4EB;
  --bq-cream: #FFF9FB;
  --bq-warm-bg: #FFFAFC;
  --bq-white: #FFFFFF;

  /* CTA: 強調色 */
  --bq-cta: #E8507A;
  --bq-cta-hover: #D63B65;

  /* Radius & Shadows */
  --bq-radius: 16px;
  --bq-radius-sm: 10px;
  --bq-radius-pill: 50px;
  --bq-shadow: 0 2px 12px rgba(61,43,58,0.06);
  --bq-shadow-hover: 0 8px 24px rgba(232,80,122,0.12);
  --bq-shadow-soft: 0 1px 4px rgba(61,43,58,0.04);
  --bq-transition: 0.25s ease;
}

/* ═══════════════════════════════
   Global Reset & Base
   ═══════════════════════════════ */
body {
  color: var(--bq-body);
  background: var(--bq-cream);
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--bq-primary-dark);
  text-decoration: none;
  transition: color var(--bq-transition);
}
a:hover {
  color: var(--bq-primary);
}

/* ═══════════════════════════════
   Header - Hidden (ヒーロー画像で代替)
   ═══════════════════════════════ */
.header,
#header {
  display: none !important;
}

#navi,
.navi {
  background: var(--bq-primary-dark) !important;
}
#navi a,
.navi a {
  color: var(--bq-white) !important;
}
#navi a:hover,
.navi a:hover {
  opacity: 0.85;
}

/* Cocoon元の不要要素を非表示 */
.sidebar,
#sidebar,
.footer-bottom-logo,
.go-to-top,
.author-info,
.under-entry-content,
.breadcrumb,
.post-date,
.post-update,
.eye-catch,
.entry-card-wrap,
.widget_recent_entries,
.widget_categories,
.widget_archive,
.widget_tag_cloud,
.entry-title,
.article-header,
h1.entry-title,
.article h1.entry-title {
  display: none !important;
}

/* コンテンツ幅をフルに */
.content-in {
  display: block !important;
  max-width: 100% !important;
}
.main {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

/* ═══════════════════════════════
   Hero Section
   ═══════════════════════════════ */
.bq-hero {
  background: linear-gradient(135deg, var(--bq-primary-soft) 0%, var(--bq-secondary-soft) 100%);
  padding: 40px 16px 32px;
  text-align: center;
  margin-bottom: 24px;
}
.bq-hero h1 {
  font-size: 24px;
  font-weight: 800;
  color: var(--bq-dark);
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.bq-hero-sub {
  font-size: 15px;
  color: var(--bq-mid);
  margin: 0 0 16px;
}
.bq-hero-count {
  display: inline-block;
  background: var(--bq-white);
  padding: 8px 24px;
  border-radius: var(--bq-radius-pill);
  font-size: 15px;
  color: var(--bq-primary-dark);
  font-weight: 600;
  box-shadow: var(--bq-shadow);
}
.bq-hero-count strong {
  font-size: 22px;
  color: var(--bq-primary);
}

@media (max-width: 600px) {
  .bq-hero h1 { font-size: 20px; }
}

/* ═══════════════════════════════
   Prefecture Grid (トップページ)
   ═══════════════════════════════ */
.bq-region-section {
  margin-bottom: 32px;
}
.bq-region-section h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--bq-dark);
  padding: 10px 14px;
  background: var(--bq-primary-soft);
  border-radius: var(--bq-radius-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
}

.bq-pref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}

.bq-pref-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bq-white);
  border: 1px solid var(--bq-border);
  border-radius: var(--bq-radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--bq-body) !important;
  transition: all var(--bq-transition);
}
.bq-pref-link:hover {
  border-color: var(--bq-primary-glow);
  box-shadow: var(--bq-shadow-hover);
  transform: translateY(-1px);
  color: var(--bq-primary-dark) !important;
}
.bq-pref-count {
  font-size: 12px;
  color: var(--bq-mid);
  margin-left: auto;
}

/* ═══════════════════════════════
   City Grid (都道府県ページ)
   ═══════════════════════════════ */
.bq-city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 32px;
}
.bq-city-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bq-white);
  border: 1px solid var(--bq-border);
  border-radius: var(--bq-radius-sm);
  font-size: 14px;
  color: var(--bq-body) !important;
  transition: all var(--bq-transition);
}
.bq-city-link:hover {
  border-color: var(--bq-primary-glow);
  box-shadow: var(--bq-shadow-hover);
  transform: translateY(-1px);
}
.bq-city-count {
  font-size: 12px;
  color: var(--bq-mid);
  margin-left: auto;
}

/* ═══════════════════════════════
   Shop Card (店舗カード)
   ═══════════════════════════════ */
.bq-shop-card {
  background: var(--bq-white);
  border: 1px solid var(--bq-border);
  border-radius: var(--bq-radius);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--bq-shadow);
  transition: box-shadow var(--bq-transition);
}
.bq-shop-card:hover {
  box-shadow: var(--bq-shadow-hover);
}
.bq-shop-card-header h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--bq-dark);
}
.bq-shop-card-header h3 a {
  color: var(--bq-dark) !important;
}
.bq-shop-card-header h3 a:hover {
  color: var(--bq-primary) !important;
}

/* バッジ */
.bq-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.bq-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--bq-radius-pill);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.bq-badge-delivery {
  background: #EEF2FF;
  color: #4338CA;
}
.bq-badge-walkin {
  background: #ECFDF5;
  color: #059669;
}
.bq-badge-preserved {
  background: var(--bq-primary-soft);
  color: var(--bq-primary-dark);
}
.bq-badge-pressed {
  background: var(--bq-accent-light);
  color: var(--bq-accent-dark);
}
.bq-badge-dry {
  background: #FEF3C7;
  color: #92400E;
}
.bq-badge-resin {
  background: #E0F2FE;
  color: #0369A1;
}

/* 保存方法タグ */
.bq-method-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.bq-method-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--bq-radius-pill);
  font-size: 12px;
  font-weight: 500;
  background: var(--bq-primary-soft);
  color: var(--bq-primary-dark);
}

/* 店舗情報行 */
.bq-shop-info {
  margin-bottom: 14px;
}
.bq-info-row {
  display: flex;
  font-size: 14px;
  padding: 5px 0;
  border-bottom: 1px solid var(--bq-border);
  gap: 8px;
}
.bq-info-row:last-child {
  border-bottom: none;
}
.bq-info-row dt {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 72px;
  font-weight: 600;
  color: var(--bq-dark);
  white-space: nowrap;
}
.bq-info-row dd {
  flex: 1;
  margin: 0;
  color: var(--bq-body);
}

/* 紹介文 */
.bq-shop-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--bq-body);
  margin-bottom: 16px;
}

/* ═══════════════════════════════
   Action Buttons
   ═══════════════════════════════ */
.bq-shop-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--bq-radius-sm);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  border: none;
  transition: all var(--bq-transition);
}

.bq-btn-primary {
  background: var(--bq-primary);
  color: var(--bq-white) !important;
}
.bq-btn-primary:hover {
  background: var(--bq-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232,80,122,0.3);
}

.bq-btn-accent {
  background: var(--bq-accent);
  color: var(--bq-white) !important;
}
.bq-btn-accent:hover {
  background: var(--bq-accent-dark);
  transform: translateY(-1px);
}

.bq-btn-outline {
  background: transparent;
  border: 2px solid var(--bq-border);
  color: var(--bq-body) !important;
}
.bq-btn-outline:hover {
  border-color: var(--bq-primary);
  color: var(--bq-primary) !important;
}

/* ═══════════════════════════════
   CTA Banner (Amitie nori)
   ═══════════════════════════════ */
@keyframes bq-shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.bq-cta-box {
  background: linear-gradient(135deg, #FFF1F5 0%, #FDE8EF 50%, #F0EBF7 100%);
  border: 2px solid var(--bq-primary-glow);
  border-radius: var(--bq-radius);
  padding: 28px 24px;
  margin: 32px 0;
  text-align: center;
}
.bq-cta-box-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--bq-dark);
  margin: 0 0 8px;
}
.bq-cta-box-desc {
  font-size: 14px;
  color: var(--bq-body);
  margin: 0 0 16px;
  line-height: 1.7;
}
.bq-cta-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
}
.bq-cta-feature {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--bq-white);
  padding: 6px 14px;
  border-radius: var(--bq-radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--bq-primary-dark);
  box-shadow: var(--bq-shadow-soft);
}

.bq-btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 440px;
  font-size: 17px;
  font-weight: 700;
  padding: 16px 24px;
  border-radius: var(--bq-radius-sm);
  background: var(--bq-primary);
  color: var(--bq-white) !important;
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 12px rgba(232,80,122,0.3);
}
.bq-btn-cta:hover {
  background: var(--bq-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(232,80,122,0.4);
}
.bq-btn-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  animation: bq-shimmer 2.5s ease-in-out infinite;
  pointer-events: none;
}

.bq-cta-sub {
  font-size: 12px;
  color: var(--bq-mid);
  margin-top: 10px;
}

/* ═══════════════════════════════
   Detail Table (店舗個別ページ)
   ═══════════════════════════════ */
.bq-detail-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  background: var(--bq-white);
  border-radius: var(--bq-radius);
  overflow: hidden;
  box-shadow: var(--bq-shadow);
}
.bq-detail-table tr {
  border-bottom: 1px solid var(--bq-border);
}
.bq-detail-table tr:last-child {
  border-bottom: none;
}
.bq-detail-table th {
  width: 120px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--bq-dark);
  background: var(--bq-primary-soft);
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}
.bq-detail-table td {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--bq-body);
}
@media (max-width: 600px) {
  .bq-detail-table th,
  .bq-detail-table td {
    display: block;
    width: 100%;
  }
  .bq-detail-table th {
    padding-bottom: 2px;
  }
  .bq-detail-table td {
    padding-top: 2px;
  }
}

/* ═══════════════════════════════
   Comparison Table (保存方法比較)
   ═══════════════════════════════ */
.bq-compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bq-white);
  border-radius: var(--bq-radius);
  overflow: hidden;
  box-shadow: var(--bq-shadow);
  margin-bottom: 24px;
  font-size: 14px;
}
.bq-compare-table th {
  padding: 12px 14px;
  background: var(--bq-primary-soft);
  color: var(--bq-dark);
  font-weight: 700;
  text-align: center;
  border-bottom: 2px solid var(--bq-primary-glow);
}
.bq-compare-table th.bq-recommend {
  background: var(--bq-primary);
  color: var(--bq-white);
}
.bq-compare-table td {
  padding: 10px 14px;
  text-align: center;
  border-bottom: 1px solid var(--bq-border);
  vertical-align: middle;
}
.bq-compare-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--bq-dark);
  background: #FEFBFD;
}
.bq-compare-table td.bq-highlight {
  background: #FFF5F8;
  font-weight: 600;
  color: var(--bq-primary-dark);
}
.bq-compare-table tr:last-child td {
  border-bottom: none;
}

/* Responsive compare table scroll */
.bq-compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ═══════════════════════════════
   Single Header (店舗個別)
   ═══════════════════════════════ */
.bq-single-header {
  padding: 28px 0;
}
.bq-single-header h1 {
  font-size: 24px;
  font-weight: 800;
  color: var(--bq-dark);
  margin: 0 0 12px;
  line-height: 1.4;
}

/* ═══════════════════════════════
   Preservation Method Cards (トップ)
   ═══════════════════════════════ */
.bq-method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 32px;
}
.bq-method-grid-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 18px;
  background: var(--bq-white);
  border: 1px solid var(--bq-border);
  border-radius: var(--bq-radius);
  text-decoration: none !important;
  color: var(--bq-body) !important;
  transition: all var(--bq-transition);
}
.bq-method-grid-item:hover {
  border-color: var(--bq-primary-glow);
  box-shadow: var(--bq-shadow-hover);
  transform: translateY(-2px);
}
.bq-method-grid-emoji {
  font-size: 28px;
}
.bq-method-grid-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--bq-dark);
}
.bq-method-grid-desc {
  font-size: 13px;
  color: var(--bq-mid);
  line-height: 1.5;
}

/* ═══════════════════════════════
   Google Reviews Section
   ═══════════════════════════════ */
.bq-reviews {
  background: var(--bq-white);
  border-radius: var(--bq-radius);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--bq-shadow);
}
.bq-review-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--bq-border);
}
.bq-review-item:last-child {
  border-bottom: none;
}
.bq-review-stars {
  color: #F59E0B;
  font-size: 14px;
  margin-bottom: 4px;
}
.bq-review-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--bq-body);
  font-style: italic;
}
.bq-review-author {
  font-size: 12px;
  color: var(--bq-mid);
  margin-top: 6px;
}

/* ═══════════════════════════════
   Footer
   ═══════════════════════════════ */
.footer,
#footer {
  background: var(--bq-dark) !important;
  color: rgba(255,255,255,0.7) !important;
}
.footer a,
#footer a {
  color: rgba(255,255,255,0.9) !important;
}

/* ═══════════════════════════════
   Utility Classes
   ═══════════════════════════════ */
.bq-text-center { text-align: center; }
.bq-mt-0 { margin-top: 0; }
.bq-mb-0 { margin-bottom: 0; }
.bq-mb-16 { margin-bottom: 16px; }
.bq-mb-24 { margin-bottom: 24px; }
.bq-mb-32 { margin-bottom: 32px; }

/* Title icon layout helper */
.bq-title-icon {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* SVG icon inline sizing */
.bq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  vertical-align: middle;
}
.bq-icon svg {
  width: 1em;
  height: 1em;
}

/* ═══════════════════════════════
   Gallery Link Hover
   ═══════════════════════════════ */
.bq-gallery-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--bq-shadow-hover);
}
.bq-gallery-link:hover img {
  opacity: 0.92;
}

/* ═══════════════════════════════
   Responsive Fine-tuning
   ═══════════════════════════════ */
@media (max-width: 600px) {
  .bq-shop-card {
    padding: 18px 16px;
  }
  .bq-shop-actions {
    flex-direction: column;
  }
  .bq-shop-actions .bq-btn {
    width: 100%;
  }
  .bq-cta-box {
    padding: 22px 16px;
  }
  .bq-pref-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
  .bq-method-grid {
    grid-template-columns: 1fr;
  }
  /* FAQ: 1列 */
  .bq-faq-grid {
    grid-template-columns: 1fr !important;
  }
}
