/*
Theme Name: AKINAI-X Lab Child
Template: twentytwentyfive
Version: 1.0
Author: AKINAI-X Lab
Description: AKINAI-X Lab ブログ用カスタムテーマ
*/

/* ===== CSS VARIABLES ===== */
:root {
  /* オレンジ・イエロー系カラー */
  --orange-primary: #ff6b35;
  --orange-light: #ff8c42;
  --orange-dark: #e85d2d;
  --orange-pale: #fff4ed;
  --orange-mid: #ffe8d9;
  --yellow-accent: #ffd60a;
  --yellow-light: #ffc300;
  --cream: #fffef7;
  --warm-gray: #5a4a3a;
  
  /* テキストカラー */
  --text-dark: #2d2416;
  --text-mid: #6b5d4f;
  --text-light: #8c7d6f;
  
  /* 背景カラー */
  --bg-main: #fffef7;
  --bg-card: #ffffff;
  --bg-warm: #fff9e6;
  
  /* その他 */
  --border-radius-lg: 20px;
  --border-radius-md: 14px;
  --border-radius-sm: 8px;
  --shadow-card: 0 4px 20px rgba(255, 107, 53, 0.12);
  --shadow-hover: 0 8px 32px rgba(255, 107, 53, 0.22);
  
  /* 互換性のためエイリアス */
  --green-primary: var(--orange-primary);
  --green-light: var(--orange-light);
  --green-dark: var(--orange-dark);
  --green-pale: var(--orange-pale);
  --green-mid: var(--orange-mid);
  --accent-teal: var(--yellow-accent);
  --accent-yellow: var(--yellow-light);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.7;
}

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
  background: linear-gradient(90deg, var(--orange-dark), var(--orange-primary), var(--orange-light));
  color: white;
  text-align: center;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
}
.ann-badge {
  background: var(--yellow-light);
  color: #2d2416;
  border-radius: 20px;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.ann-close {
  position: absolute;
  right: 16px;
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  opacity: 0.7;
}

/* ===== HEADER ===== */
.site-header {
  background: white;
  border-bottom: 2px solid var(--orange-pale);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(255,107,53,0.10);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  gap: 24px;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo {
  height: 60px;
  width: auto;
}
.header-btns {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.btn-outline {
  border: 2px solid var(--orange-primary);
  color: var(--orange-primary);
  background: white;
  border-radius: var(--border-radius-sm);
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Noto Sans JP', sans-serif;
  text-decoration: none;
  display: inline-block;
}
.btn-outline:hover { background: var(--orange-pale); }
.btn-solid {
  background: linear-gradient(135deg, var(--orange-light), var(--orange-primary));
  color: white;
  border: none;
  border-radius: var(--border-radius-sm);
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Noto Sans JP', sans-serif;
  box-shadow: 0 2px 8px rgba(255,107,53,0.30);
  text-decoration: none;
  display: inline-block;
}
.btn-solid:hover { 
  transform: translateY(-1px); 
  box-shadow: 0 4px 14px rgba(255,107,53,0.45); 
}

/* ===== MAIN NAV ===== */
.main-nav {
  background: white;
  border-bottom: 1px solid #e8f0ed;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 4px;
  align-items: center;
  height: 52px;
}
.nav-inner ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-inner li {
  display: inline-block;
}
.nav-inner li::before {
  content: none !important;
}
.nav-inner a,
.nav-inner li a {
  color: var(--text-mid);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--border-radius-sm);
  transition: all 0.18s;
  white-space: nowrap;
  position: relative;
  display: block;
}
.nav-inner a:hover, 
.nav-inner a.active,
.nav-inner li a:hover,
.nav-inner li.current-menu-item a {
  background: var(--orange-pale);
  color: var(--orange-dark);
  font-weight: 700;
}

/* ===== BLOG HERO ===== */
.blog-hero {
  background: linear-gradient(135deg, var(--orange-primary) 0%, var(--yellow-accent) 100%);
  padding: 52px 24px 44px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.blog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 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='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.blog-hero-shapes {
  position: absolute;
  right: -40px;
  top: -40px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.blog-hero h1 {
  font-family: 'Exo 2', sans-serif;
  font-size: 32px;
  font-weight: 900;
  color: white;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.blog-hero p {
  color: rgba(255,255,255,0.88);
  margin-top: 10px;
  font-size: 15px;
  position: relative;
  z-index: 1;
}

/* ===== CATEGORY BAR ===== */
.category-bar {
  background: white;
  border-bottom: 2px solid var(--orange-pale);
  padding: 0;
  position: sticky;
  top: 142px;
  z-index: 80;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
}
.category-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  gap: 10px;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}
.category-inner::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}
.cat-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-warm);
  border: 2px solid var(--orange-mid);
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--orange-dark);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.cat-tag:hover, 
.cat-tag.active {
  background: var(--orange-primary);
  border-color: var(--orange-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255,107,53,0.35);
}

/* スライダーのスクロールヒント（グラデーション）*/
.category-bar::before,
.category-bar::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  pointer-events: none;
  z-index: 1;
}
.category-bar::before {
  left: 0;
  background: linear-gradient(to right, white, transparent);
}
.category-bar::after {
  right: 0;
  background: linear-gradient(to left, white, transparent);
}

/* スクロールボタン */
.category-scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: white;
  border: 2px solid var(--orange-primary);
  border-radius: 50%;
  color: var(--orange-primary);
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.category-scroll-btn:hover {
  background: var(--orange-primary);
  color: white;
  box-shadow: 0 4px 12px rgba(255,107,53,0.3);
}
.category-scroll-btn.left {
  left: 8px;
}
.category-scroll-btn.right {
  right: 8px;
}
.cat-tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}

/* ===== CONTENT LAYOUT ===== */
.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 24px 60px;
  display: block;
}

/* ===== ARTICLE LIST ===== */
.article-list { 
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.article-card {
  background: var(--bg-card);
  border-radius: var(--border-radius-lg);
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border: 1px solid #e5e7eb;
  transition: all 0.25s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.article-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transform: translateY(-4px);
  border-color: #d1d5db;
}
.article-thumb {
  width: 100%;
  height: 180px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  background: #f3f4f6;
}
.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.article-card:hover .article-thumb img { 
  transform: scale(1.05); 
}

/* Pattern badges */
.pattern-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  color: white;
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.pattern-a { background: rgba(37, 99, 235, 0.82); }
.pattern-b { background: rgba(26, 158, 92, 0.82); }
.pattern-c { background: rgba(245, 200, 66, 0.92); color: #333; }

.article-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-light);
  padding-bottom: 8px;
  border-bottom: 1px solid #f3f4f6;
}
.article-date {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}
.article-date::before {
  content: '📅';
  font-size: 12px;
}
.article-cat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f3f4f6;
  color: var(--text-mid);
  border-radius: 4px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
}
.article-author {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-light);
  margin-left: auto;
}
.author-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--text-mid);
  font-weight: 700;
}
.article-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 54px;
  margin-bottom: 8px;
}
.article-excerpt {
  font-size: 14px;
  color: var(--text-mid);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
  margin-bottom: 12px;
  flex: 1;
}
.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
}
.read-more {
  font-size: 14px;
  font-weight: 700;
  color: var(--orange-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.read-more::after { 
  content: '→'; 
  transition: transform 0.2s;
}
.article-card:hover .read-more::after {
  transform: translateX(4px);
}

/* Thumbnail placeholders */
.thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  min-height: 180px;
  background: #f3f4f6;
}
.tp-default { background: linear-gradient(135deg, #e5e7eb, #d1d5db); }
.tp-ai { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }
.tp-build { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }
.tp-idea { background: linear-gradient(135deg, #fef3c7, #fde68a); }

/* ===== SIDEBAR ===== */
.sidebar { 
  display: none !important;
}
.sidebar-card {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-card);
  border: 1.5px solid rgba(255,107,53,0.10);
}
.sidebar-title {
  font-family: 'Exo 2', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--orange-dark);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--orange-mid);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 検索フォーム非表示 */
.sidebar .search-form,
.sidebar #search-2,
.sidebar .widget_search {
  display: none !important;
}

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
}
.pagination ul {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pagination a,
.pagination span {
  min-width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--orange-mid);
  background: white;
  color: var(--text-mid);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-decoration: none;
  padding: 0 12px;
}
.pagination .current {
  background: var(--orange-primary);
  border-color: var(--orange-primary);
  color: white;
  box-shadow: 0 3px 10px rgba(255,107,53,0.35);
}
.pagination a:hover {
  background: var(--orange-pale);
  border-color: var(--orange-primary);
  color: var(--orange-dark);
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--orange-dark) 0%, var(--orange-primary) 50%, var(--yellow-accent) 100%);
  padding: 48px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.cta-section h2 {
  font-family: 'Exo 2', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: white;
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.cta-section p {
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  margin-bottom: 24px;
}
.cta-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.cta-btn {
  background: white;
  color: var(--orange-dark);
  border: none;
  border-radius: var(--border-radius-md);
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.cta-btn:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 6px 20px rgba(0,0,0,0.20); 
}
.cta-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  flex-wrap: wrap;
}
.cta-contact .phone {
  font-size: 16px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.05em;
}

/* CTAセクションのレスポンシブ */
@media (max-width: 580px) {
  .cta-section {
    padding: 24px 16px;
  }
  .cta-section h2 {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
  }
  .cta-section p {
    font-size: 12px;
    margin-bottom: 16px;
  }
  .cta-btns {
    flex-direction: column;
    width: 100%;
  }
  .cta-btn {
    width: 100%;
    justify-content: center;
  }
  .cta-contact {
    flex-direction: column;
    gap: 8px;
  }
  .cta-contact .phone {
    font-size: 16px;
  }
}

/* ===== FOOTER ===== */
.site-footer {
  background: linear-gradient(135deg, var(--orange-primary), var(--orange-light));
  color: rgba(255,255,255,0.95);
  padding: 48px 24px 0;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 260px 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-brand .logo-name { 
  color: white; 
  font-size: 20px; 
}
.footer-brand .logo-name span { 
  color: var(--yellow-light); 
}
.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  margin-top: 10px;
  line-height: 1.6;
}
.footer-col h4 {
  font-family: 'Exo 2', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 13px;
  padding: 4px 0;
  transition: color 0.18s;
}
.footer-col a:hover { 
  color: white; 
  padding-left: 4px;
}
.footer-bottom {
  background: var(--orange-dark);
  margin: 0 -24px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom > * {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-bottom .copyright { 
  font-size: 12px; 
  color: rgba(255,255,255,0.85); 
}
.footer-bottom .links { 
  display: flex; 
  gap: 16px; 
  flex-wrap: wrap;
}
.footer-bottom .links a { 
  font-size: 12px; 
  color: rgba(255,255,255,0.75); 
  text-decoration: none; 
}
.footer-bottom .links a:hover { 
  color: white; 
}

/* フッターのレスポンシブ */
@media (max-width: 860px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 580px) {
  .site-footer {
    padding: 24px 16px 0;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .footer-brand {
    grid-column: 1;
    text-align: center;
    margin-bottom: 8px;
  }
  .footer-brand .logo-name {
    font-size: 18px;
  }
  .footer-brand p {
    font-size: 12px;
  }
  .footer-col {
    text-align: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .footer-col:last-child {
    border-bottom: none;
  }
  .footer-col h4 {
    font-size: 12px;
    margin-bottom: 8px;
    padding-bottom: 6px;
  }
  .footer-col a {
    font-size: 12px;
    padding: 3px 0;
  }
  .footer-col a:hover {
    padding-left: 0;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 16px 16px;
    margin: 0 -16px;
  }
  .footer-bottom .copyright {
    font-size: 11px;
  }
  .footer-bottom .links {
    justify-content: center;
    gap: 12px;
  }
  .footer-bottom .links a {
    font-size: 11px;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
  .content-wrapper { 
    grid-template-columns: 1fr; 
  }
  .vertical-nav { 
    display: none; 
  }
  .single-content-inner {
    padding: 32px 20px;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
  .article-list {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}
@media (max-width: 580px) {
  .blog-hero h1 { 
    font-size: 24px; 
  }
  .header-btns .btn-outline { 
    display: none; 
  }
  .article-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .article-card {
    max-width: 100%;
  }
  .article-thumb {
    height: 180px;
    width: 100%;
  }
  .thumb-placeholder {
    min-height: 180px;
  }
  .single-title {
    font-size: 24px;
  }
  .category-inner {
    justify-content: flex-start;
    padding: 12px 16px;
  }
  .cat-tag {
    padding: 8px 16px;
    font-size: 13px;
  }
  .category-scroll-btn {
    width: 32px;
    height: 32px;
    font-size: 20px;
  }
}

/* ===== SINGLE POST ===== */
.single-post {
  background: white;
}

.single-header {
  background: linear-gradient(135deg, var(--orange-primary), var(--yellow-accent));
  padding: 60px 24px 48px;
  text-align: center;
  color: white;
}

.single-header-inner {
  max-width: 800px;
  margin: 0 auto;
}

.single-cat {
  display: inline-block;
  background: rgba(255,255,255,0.25);
  color: white;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.single-title {
  font-family: 'Exo 2', sans-serif;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.single-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  opacity: 0.95;
}

.single-date {
  display: flex;
  align-items: center;
  gap: 4px;
}

.single-author {
  display: flex;
  align-items: center;
  gap: 6px;
}

.single-pattern {
  background: rgba(255,255,255,0.3);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
}

.single-content {
  background: white;
}

.single-content-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px;
}

.single-body {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-dark);
}

.single-body h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 48px 0 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--orange-pale);
  color: var(--text-dark);
}

.single-body h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 36px 0 20px;
  color: var(--text-dark);
}

.single-body p {
  margin-bottom: 24px;
  line-height: 1.9;
}

.single-body ul, 
.single-body ol {
  margin: 24px 0;
  padding-left: 28px;
}

.single-body li {
  margin-bottom: 12px;
  line-height: 1.8;
}

.single-body a {
  color: var(--orange-primary);
  text-decoration: underline;
}

.single-body a:hover {
  color: var(--orange-dark);
}

.single-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius-md);
  margin: 32px 0;
}

.single-body blockquote {
  border-left: 4px solid var(--orange-primary);
  background: var(--orange-pale);
  padding: 20px 24px;
  margin: 32px 0;
  border-radius: var(--border-radius-sm);
}

.single-tags {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 2px solid #f3f4f6;
  font-size: 14px;
}

.single-tags a {
  display: inline-block;
  background: var(--orange-pale);
  color: var(--orange-dark);
  border-radius: 20px;
  padding: 6px 14px;
  margin: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
}

.single-tags a:hover {
  background: var(--orange-primary);
  color: white;
}

/* 前後の記事ナビ */
.post-navigation {
  background: #f9fafb;
  padding: 32px 24px;
}

.post-nav-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.post-nav-link {
  background: white;
  border-radius: var(--border-radius-md);
  padding: 20px;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e5e7eb;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.post-nav-link:hover {
  border-color: var(--orange-primary);
  box-shadow: 0 4px 12px rgba(255,107,53,0.15);
}

.post-nav-link.prev {
  text-align: left;
}

.post-nav-link.next {
  text-align: right;
}

.nav-label {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 600;
}

.nav-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 関連記事 */
.related-posts {
  background: white;
  padding: 48px 24px;
}

.related-posts-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.related-title {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
  color: var(--text-dark);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.related-card {
  background: white;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid #e5e7eb;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}

.related-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  transform: translateY(-4px);
}

.related-thumb {
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: #f3f4f6;
}

.related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.related-card:hover .related-thumb img {
  transform: scale(1.05);
}

.related-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.related-cat {
  display: inline-block;
  background: #f3f4f6;
  color: var(--text-mid);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  width: fit-content;
}

.related-card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-date {
  font-size: 12px;
  color: var(--text-light);
  margin-top: auto;
}

/* ===== VERTICAL FIXED NAV ===== */
.vertical-nav {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.vertical-nav-item {
  writing-mode: vertical-rl;
  background: var(--orange-primary);
  color: white;
  padding: 20px 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-top: 1px solid rgba(255,255,255,0.2);
  transition: all 0.2s;
  letter-spacing: 0.1em;
  box-shadow: -2px 0 8px rgba(0,0,0,0.15);
}
.vertical-nav-item:first-child {
  border-top-left-radius: var(--border-radius-sm);
  border-top: none;
}
.vertical-nav-item:last-child {
  border-bottom-left-radius: var(--border-radius-sm);
}
.vertical-nav-item:hover {
  background: var(--orange-dark);
  padding-right: 16px;
  box-shadow: -4px 0 12px rgba(0,0,0,0.25);
}


/* ============================================================
   お申し込みフォーム（Contact Form 7）
   style.cssの末尾に追記してください
   ============================================================ */

/* --- ページヒーロー（blog-heroと同一構造） --- */
.form-hero {
  background: linear-gradient(135deg, var(--orange-primary) 0%, var(--yellow-accent) 100%);
  padding: 52px 24px 44px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.form-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 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='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.form-hero-shapes {
  position: absolute;
  right: -40px; top: -40px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.form-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.22);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  border: 1px solid rgba(255,255,255,0.35);
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
.form-hero h1 {
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 900;
  color: white;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 12px rgba(0,0,0,0.15);
  margin-bottom: 10px;
}
.form-hero p {
  color: rgba(255,255,255,0.88);
  font-size: 15px;
  position: relative;
  z-index: 1;
}

/* --- ステップバー --- */
.step-bar {
  display: flex;
  justify-content: center;
  max-width: 400px;
  margin: 24px auto 0;
  position: relative;
  z-index: 1;
}
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  position: relative;
}
.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15px; left: 55%;
  width: 90%; height: 2px;
  background: rgba(255,255,255,0.3);
}
.step-num {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.45);
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-item.active .step-num {
  background: white;
  color: var(--orange-primary);
  border-color: white;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.2);
}
.step-label { font-size: 11px; color: rgba(255,255,255,0.7); font-weight: 500; white-space: nowrap; }
.step-item.active .step-label { color: white; font-weight: 700; }

/* --- フォームラッパー・カード --- */
.form-wrapper {
  max-width: 760px;
  margin: -28px auto 64px;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}
.form-card {
  background: var(--bg-card);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 8px 48px rgba(255,107,53,0.13);
  overflow: hidden;
}

/* --- セクション --- */
.cf7-section {
  padding: 36px 40px;
  border-bottom: 1px solid var(--orange-pale);
}
.cf7-section:last-of-type { border-bottom: none; }
.cf7-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.cf7-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--orange-pale), var(--orange-mid));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.cf7-section-title { font-size: 15px; font-weight: 700; color: var(--text-dark); }
.cf7-section-note { font-size: 12px; color: var(--text-light); margin-top: 2px; }

/* --- フィールド行 --- */
.cf7-row.cf7-col2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.cf7-field { margin-bottom: 20px; }
.cf7-field label,
.cf7-field > span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

/* 必須・任意バッジ */
.req {
  background: linear-gradient(135deg, var(--orange-primary), var(--orange-light));
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}
.opt {
  background: var(--orange-pale);
  color: var(--orange-dark);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  border: 1px solid var(--orange-mid);
}

/* --- インプット・テキストエリア --- */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--orange-mid) !important;
  border-radius: var(--border-radius-sm) !important;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: var(--text-dark);
  background: #fff;
  transition: all 0.2s ease;
  outline: none;
}
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder { color: #c9b8aa; }
.wpcf7 input:focus,
.wpcf7 textarea:focus {
  border-color: var(--orange-primary) !important;
  box-shadow: 0 0 0 3px rgba(255,107,53,0.12) !important;
  background: var(--bg-main);
}
.wpcf7 textarea { min-height: 110px; resize: vertical; }

/* --- チェックボックス --- */
.cf7-checkbox-grid .wpcf7-checkbox {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  width: 100%;
}
.wpcf7-checkbox .wpcf7-list-item {
  margin: 0 !important;
  display: block;
}
.wpcf7-checkbox .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 2px solid var(--orange-mid);
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  background: var(--bg-warm);
  transition: all 0.2s ease;
  margin-bottom: 0;
}
.wpcf7-checkbox .wpcf7-list-item label:hover {
  border-color: var(--orange-light);
  background: var(--orange-pale);
  color: var(--orange-dark);
}
.wpcf7-checkbox .wpcf7-list-item input[type="checkbox"] {
  accent-color: var(--orange-primary);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* --- ラジオボタン --- */
.cf7-radio-group .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.wpcf7-radio .wpcf7-list-item {
  margin: 0 !important;
  display: inline-block;
}
.wpcf7-radio .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border: 2px solid var(--orange-mid);
  border-radius: 30px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange-dark);
  background: var(--bg-warm);
  transition: all 0.2s ease;
  white-space: nowrap;
  margin-bottom: 0;
}
.wpcf7-radio .wpcf7-list-item label:hover {
  background: var(--orange-pale);
  border-color: var(--orange-primary);
  transform: translateY(-1px);
}
.wpcf7-radio .wpcf7-list-item input[type="radio"] {
  display: none;
}

/* --- ラジオボタン（cat-tagの丸タグ） --- */
.cf7-radio-group { display: flex; flex-wrap: wrap; gap: 10px; }
.wpcf7-radio .wpcf7-list-item {
  margin: 0 !important;
}
.wpcf7-radio .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border: 2px solid var(--orange-mid);
  border-radius: 30px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange-dark);
  background: var(--bg-warm);
  transition: all 0.2s ease;
  white-space: nowrap;
  margin-bottom: 0;
}
.wpcf7-radio .wpcf7-list-item label:hover {
  background: var(--orange-pale);
  border-color: var(--orange-primary);
  transform: translateY(-1px);
}
.wpcf7-radio .wpcf7-list-item input[type="radio"] {
  display: none; /* ラベルのみ表示 */
}
/* 選択済み状態はJSで .is-checked クラス付与、または下記でaccent-color対応 */

/* --- 同意エリア --- */
.cf7-agree {
  padding: 24px 40px;
  background: var(--orange-pale);
  border-bottom: 1px solid var(--orange-mid);
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
}
.cf7-agree a {
  color: var(--orange-primary);
  text-decoration: underline;
  font-weight: 700;
}
.wpcf7-acceptance .wpcf7-list-item {
  margin: 0 !important;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.wpcf7-acceptance input[type="checkbox"] {
  width: 20px; height: 20px;
  margin-top: 3px;
  accent-color: var(--orange-primary);
  flex-shrink: 0;
}

/* --- 送信エリア --- */
.cf7-submit-area {
  padding: 32px 40px 40px;
  text-align: center;
  background: #fff;
}
.cf7-submit-note {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 18px;
}

/* 送信ボタン（btn-solidを拡張） */
.wpcf7-submit {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 400px;
  padding: 18px 40px !important;
  background: linear-gradient(135deg, var(--orange-light), var(--orange-primary)) !important;
  color: white !important;
  font-family: 'Noto Sans JP', sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: 50px !important;
  cursor: pointer;
  transition: all 0.25s ease !important;
  box-shadow: 0 6px 24px rgba(255,107,53,0.40) !important;
  letter-spacing: 0.05em;
}
.wpcf7-submit:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 32px rgba(255,107,53,0.50) !important;
  background: linear-gradient(135deg, var(--orange-primary), var(--orange-dark)) !important;
}

/* 安心バッジ */
.cf7-trust {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-light);
}
.cf7-trust span { display: flex; align-items: center; gap: 5px; }

/* --- バリデーション --- */
.wpcf7-not-valid-tip {
  color: #dc2626 !important;
  font-size: 12px !important;
  margin-top: 4px;
  display: block;
}
.wpcf7-response-output {
  border-radius: var(--border-radius-sm) !important;
  font-size: 14px !important;
  margin: 16px 0 0 !important;
  padding: 12px 16px !important;
}

/* --- レスポンシブ --- */
@media (max-width: 640px) {
  .cf7-section { padding: 24px 20px; }
  .cf7-agree { padding: 20px; }
  .cf7-submit-area { padding: 24px 20px 32px; }
  .cf7-row.cf7-col2 { grid-template-columns: 1fr; gap: 12px; }
  .cf7-checkbox-grid { grid-template-columns: 1fr 1fr; }
  .cf7-trust { gap: 12px; }
}
@media (max-width: 400px) {
  .cf7-checkbox-grid { grid-template-columns: 1fr; }
}