@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: 治療家キャリアLab - Cocoon子テーマ（MyBest風リデザイン）
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    2.0.0
*/

/* ==========================================================================
   治療家キャリアLab — MyBest-level Redesign
   Design System:
   - Primary: #2563EB (Blue)
   - Primary Dark: #1D4ED8
   - Primary Light: #DBEAFE
   - Accent: #F59E0B (Amber for badges/highlights)
   - Text: #111827
   - Text Secondary: #6B7280
   - Border: #E5E7EB
   - BG: #FFFFFF
   - BG Secondary: #F9FAFB
   - Card Shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04)
   - Card Shadow Hover: 0 10px 25px rgba(0,0,0,0.08)
   - Radius: 12px (cards), 8px (buttons), 6px (small)
   - Max Content: 1200px
   - Max Article: 800px
   ========================================================================== */

/* ==========================================================================
   0. CSS Reset Additions & Base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111827;
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #F9FAFB;
  margin: 0;
}

a {
  color: #2563EB;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #1D4ED8;
}

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

/* ==========================================================================
   1. Header — Sticky, Clean, with Search
   ========================================================================== */

.header {
  background: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #E5E7EB;
}

.header-in {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  min-height: 64px;
}

.logo-header {
  flex-shrink: 0;
}

.logo-header .site-name-text,
.logo-header a {
  color: #111827 !important;
  font-weight: 800;
  font-size: 1.4em;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.tagline {
  color: #6B7280 !important;
  font-size: 0.75em;
  display: block;
  margin-top: 2px;
}

/* ナビゲーション */
#navi {
  background: #FFFFFF;
  border-top: 1px solid #F3F4F6;
  border-bottom: none;
}

#navi .navi-in {
  max-width: 1200px;
  margin: 0 auto;
}

#navi .navi-in > ul > li > a {
  color: #374151;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 18px;
  transition: all 0.2s ease;
  border-bottom: 2px solid transparent;
}

#navi .navi-in > ul > li > a:hover {
  color: #2563EB;
  background: transparent;
  border-bottom-color: #2563EB;
}

#navi .navi-in > ul > li.current-menu-item > a,
#navi .navi-in > ul > li.current_page_item > a {
  color: #2563EB;
  background: transparent;
  border-bottom-color: #2563EB;
}

#navi .navi-in > ul .sub-menu {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  padding: 8px 0;
  min-width: 220px;
}

#navi .navi-in > ul .sub-menu li a {
  color: #374151;
  font-size: 13px;
  padding: 10px 20px;
}

#navi .navi-in > ul .sub-menu li a:hover {
  background: #F3F4F6;
  color: #2563EB;
}

/* Mobile hamburger */
.mobile-menu-buttons {
  background: #FFFFFF;
}

#slide-in-btn,
.menu-button {
  color: #374151 !important;
}

/* ==========================================================================
   2. Cocoon Search Box Override
   ========================================================================== */

.search-box {
  max-width: 480px;
  margin: 0 auto;
}

.search-edit {
  border: 2px solid #E5E7EB;
  border-radius: 24px;
  padding: 10px 20px;
  font-size: 15px;
  background: #F9FAFB;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-edit:focus {
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  background: #FFFFFF;
  outline: none;
}

.search-submit {
  background: #2563EB;
  border: none;
  border-radius: 0 24px 24px 0;
  color: #FFFFFF;
  padding: 10px 18px;
}

/* ==========================================================================
   3. Main Content Area
   ========================================================================== */

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px;
}

#content {
  margin-top: 0;
}

/* Content + Sidebar spacing */
.content-in {
  column-gap: 40px;
}

#main {
  padding: 0;
}

/* ==========================================================================
   4. Article Cards (Top Page / Archive)
   ========================================================================== */

/* Remove default Cocoon entry card borders */
.entry-card-wrap {
  border: none !important;
  margin-bottom: 24px;
}

.entry-card {
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  border: 1px solid #F3F4F6;
}

.entry-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.entry-card-thumb {
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}

.entry-card-thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.entry-card:hover .entry-card-thumb img {
  transform: scale(1.03);
}

.entry-card-content {
  padding: 20px 24px 24px;
}

.entry-card-title {
  font-size: 1.1em;
  font-weight: 700;
  color: #111827;
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.entry-card-snippet {
  color: #6B7280;
  font-size: 0.875em;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.entry-card-meta {
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid #F3F4F6;
}

.entry-card-meta .entry-date,
.entry-card-meta .post-update {
  color: #9CA3AF;
  font-size: 0.8em;
}

/* Category label (badge) */
.cat-label {
  background: #2563EB;
  color: #FFFFFF;
  font-size: 0.7em;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   5. Article Page — Clean, Readable
   ========================================================================== */

.article {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  padding: 48px 56px;
  border: 1px solid #F3F4F6;
  max-width: 100%;
}

/* Article title */
.article h1.entry-title {
  font-size: 1.75em;
  font-weight: 800;
  color: #111827;
  line-height: 1.4;
  border: none;
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: none;
  letter-spacing: -0.01em;
}

/* Author info bar */
.author-info {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: #F9FAFB;
  border-radius: 12px;
  margin-bottom: 32px;
  border: 1px solid #F3F4F6;
}

.author-info .author-thumb img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info .author-name {
  font-weight: 700;
  color: #111827;
  font-size: 0.9em;
}

.author-info .author-desc {
  color: #6B7280;
  font-size: 0.8em;
  line-height: 1.5;
}

/* H2 — Clean section divider */
.article h2 {
  font-size: 1.5em;
  font-weight: 800;
  color: #111827;
  border: none;
  border-left: none;
  background: none;
  padding: 0;
  margin: 56px 0 24px;
  padding-bottom: 16px;
  border-bottom: 3px solid #2563EB;
  border-radius: 0;
  line-height: 1.4;
}

/* H3 */
.article h3 {
  font-size: 1.25em;
  font-weight: 700;
  color: #111827;
  border-bottom: none;
  padding: 0;
  margin: 40px 0 16px;
  padding-left: 16px;
  border-left: 4px solid #2563EB;
}

/* H4 */
.article h4 {
  font-size: 1.1em;
  font-weight: 700;
  color: #374151;
  margin: 32px 0 12px;
  padding: 0;
  border-left: none;
}

/* Paragraphs */
.article p,
.entry-content p {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 1.75em;
  color: #374151;
}

/* Lists */
.entry-content ul,
.entry-content ol {
  margin: 0 0 1.75em;
  padding-left: 1.5em;
}

.entry-content li {
  margin-bottom: 0.5em;
  line-height: 1.9;
  color: #374151;
}

/* Images in content */
.entry-content img {
  border-radius: 8px;
  margin: 24px 0;
}

/* Blockquote */
.entry-content blockquote {
  border-left: 4px solid #2563EB;
  background: #F9FAFB;
  padding: 24px 28px;
  margin: 32px 0;
  border-radius: 0 8px 8px 0;
  font-style: normal;
  color: #374151;
}

/* ==========================================================================
   6. Table of Contents (Cocoon TOC)
   ========================================================================== */

.toc {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 28px 32px;
  margin: 32px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.toc-title {
  font-weight: 800;
  color: #111827;
  font-size: 1.1em;
  text-align: left;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #F3F4F6;
}

.toc-content {
  padding: 0;
}

.toc a {
  color: #374151;
  text-decoration: none;
  font-size: 0.95em;
  line-height: 1.8;
  transition: color 0.2s ease;
}

.toc a:hover {
  color: #2563EB;
}

.toc li {
  padding: 4px 0;
}

/* ==========================================================================
   7. CTA Box — MyBest-style Service Cards
   ========================================================================== */

.cta-box {
  background: #FFFFFF;
  border: 2px solid #2563EB;
  border-radius: 16px;
  padding: 36px 40px;
  margin: 48px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563EB, #60A5FA);
}

.cta-box h3 {
  color: #111827;
  font-size: 1.25em;
  font-weight: 800;
  border: none;
  margin: 0 0 12px;
  padding: 0;
  border-left: none;
  background: none;
}

.cta-box p {
  color: #6B7280;
  margin-bottom: 24px;
  font-size: 0.95em;
}

.cta-box .btn,
.cta-box .cta-btn {
  display: inline-block;
  background: #2563EB;
  color: #FFFFFF !important;
  padding: 16px 48px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1em;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.cta-box .btn:hover,
.cta-box .cta-btn:hover {
  background: #1D4ED8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

/* Cocoon button blocks */
.btn-wrap a {
  background: #2563EB;
  border-radius: 8px;
  font-weight: 700;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.btn-wrap a:hover {
  background: #1D4ED8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* ==========================================================================
   8. Comparison Table — MyBest-style
   ========================================================================== */

.entry-content table,
.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid #E5E7EB;
}

.entry-content table thead th,
.wp-block-table table thead th {
  background: #111827;
  color: #FFFFFF;
  font-weight: 700;
  padding: 14px 20px;
  text-align: left;
  font-size: 0.9em;
  border: none;
}

.entry-content table tbody td,
.wp-block-table table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid #F3F4F6;
  font-size: 0.9em;
  color: #374151;
  vertical-align: top;
}

.entry-content table tbody tr:nth-child(even),
.wp-block-table table tbody tr:nth-child(even) {
  background: #F9FAFB;
}

.entry-content table tbody tr:hover,
.wp-block-table table tbody tr:hover {
  background: #EFF6FF;
}

/* ==========================================================================
   9. FAQ Accordion
   ========================================================================== */

.faq-wrap {
  margin: 40px 0;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.faq-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.faq-question {
  padding: 20px 24px;
  font-weight: 700;
  color: #111827;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-question::before {
  content: 'Q';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #2563EB;
  color: #FFFFFF;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.85em;
  flex-shrink: 0;
}

.faq-answer {
  padding: 0 24px 20px 68px;
  color: #374151;
  line-height: 1.9;
}

.faq-answer::before {
  content: 'A';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #F59E0B;
  color: #FFFFFF;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.85em;
  margin-right: 12px;
  float: left;
  margin-left: -44px;
}

/* Cocoon FAQ block override */
.faq .faq-question {
  background: #FFFFFF;
}

/* ==========================================================================
   10. Sidebar — Clean Widgets
   ========================================================================== */

.sidebar {
  background: transparent;
}

.widget {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid #F3F4F6;
  padding: 24px;
  margin-bottom: 24px;
}

.widget-title {
  font-size: 0.95em;
  font-weight: 800;
  color: #111827;
  border-bottom: 2px solid #2563EB;
  padding-bottom: 10px;
  margin-bottom: 16px;
}

.widget a {
  color: #374151;
  text-decoration: none;
  transition: color 0.2s ease;
}

.widget a:hover {
  color: #2563EB;
}

/* Popular posts widget — ranking */
.popular-entry-card {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #F3F4F6;
}

.popular-entry-card:last-child {
  border-bottom: none;
}

.popular-entry-card-thumb {
  width: 80px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.popular-entry-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popular-entry-card-title {
  font-size: 0.85em;
  font-weight: 600;
  line-height: 1.5;
  color: #374151;
}

/* Ranking number badge */
.popular-count {
  background: #2563EB;
  color: #FFFFFF;
  font-size: 0.7em;
  font-weight: 800;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* ==========================================================================
   11. Breadcrumb
   ========================================================================== */

.breadcrumb {
  font-size: 0.8em;
  color: #9CA3AF;
  padding: 16px 0;
}

.breadcrumb a {
  color: #6B7280;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #2563EB;
}

.breadcrumb .sp {
  margin: 0 6px;
  color: #D1D5DB;
}

/* ==========================================================================
   12. Footer — Minimal, Dark
   ========================================================================== */

.footer {
  background: #111827;
  color: rgba(255, 255, 255, 0.7);
}

.footer-in {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: #60A5FA;
}

.footer-bottom {
  background: #0F172A;
  text-align: center;
  padding: 20px;
  font-size: 0.8em;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-menu a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85em;
  margin: 0 16px;
}

.footer-bottom-menu a:hover {
  color: #60A5FA;
}

/* ==========================================================================
   13. Pagination
   ========================================================================== */

.pagination {
  margin: 40px 0;
  text-align: center;
}

.pagination a,
.pagination span {
  border-radius: 8px;
  padding: 8px 14px;
  transition: all 0.2s ease;
  font-weight: 600;
  font-size: 0.9em;
  border: 1px solid #E5E7EB;
}

.pagination .current {
  background: #2563EB;
  color: #FFFFFF;
  border-color: #2563EB;
}

.pagination a:hover {
  background: #EFF6FF;
  color: #2563EB;
  border-color: #2563EB;
}

/* ==========================================================================
   14. Related Posts
   ========================================================================== */

.related-entry-heading {
  font-size: 1.3em;
  font-weight: 800;
  color: #111827;
  border-bottom: 3px solid #2563EB;
  padding-bottom: 12px;
  margin-bottom: 24px;
}

.related-entry-card-wrap {
  border: none !important;
}

.related-entry-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #F3F4F6;
  transition: all 0.3s ease;
  background: #FFFFFF;
}

.related-entry-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

/* ==========================================================================
   15. SNS Share Buttons
   ========================================================================== */

.sns-share-buttons a,
.sns-follow-buttons a {
  border-radius: 8px;
  font-weight: 600;
}

.sns-share-message {
  font-size: 0.9em;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}

/* ==========================================================================
   16. Forms
   ========================================================================== */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
textarea {
  border: 2px solid #E5E7EB;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  font-family: "Noto Sans JP", sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: #FFFFFF;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
textarea:focus {
  border-color: #2563EB;
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

input[type="submit"] {
  background: #2563EB;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 14px 36px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: "Noto Sans JP", sans-serif;
}

input[type="submit"]:hover {
  background: #1D4ED8;
  transform: translateY(-1px);
}

/* ==========================================================================
   17. Cocoon Box Styles Override
   ========================================================================== */

.blank-box,
.information-box,
.question-box,
.alert-box {
  border-radius: 12px;
  padding: 24px;
}

.information-box {
  background: #EFF6FF;
  border-color: #2563EB;
}

.alert-box {
  background: #FEF2F2;
  border-color: #EF4444;
}

.question-box {
  background: #F0FDF4;
  border-color: #22C55E;
}

/* ==========================================================================
   18. Custom Components — Service Review Card
   ========================================================================== */

.service-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 32px;
  margin: 32px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.service-card .service-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #F59E0B;
  color: #FFFFFF;
  border-radius: 50%;
  font-weight: 800;
  font-size: 1em;
  margin-bottom: 12px;
}

.service-card .service-name {
  font-size: 1.3em;
  font-weight: 800;
  color: #111827;
  margin-bottom: 8px;
}

.service-card .service-desc {
  color: #6B7280;
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-card .service-btn {
  display: inline-block;
  background: #2563EB;
  color: #FFFFFF;
  padding: 14px 36px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.service-card .service-btn:hover {
  background: #1D4ED8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* ==========================================================================
   19. Utility
   ========================================================================== */

::selection {
  background: rgba(37, 99, 235, 0.15);
  color: #111827;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #F9FAFB;
}

::-webkit-scrollbar-thumb {
  background: #D1D5DB;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #9CA3AF;
}

/* Links in content */
.entry-content a {
  color: #2563EB;
  text-decoration: underline;
  text-decoration-color: rgba(37, 99, 235, 0.3);
  text-underline-offset: 3px;
  transition: all 0.2s ease;
}

.entry-content a:hover {
  color: #1D4ED8;
  text-decoration-color: #1D4ED8;
}

/* Strong / Bold */
.entry-content strong {
  font-weight: 700;
  color: #111827;
}

/* Cocoon highlight */
.marker-under {
  background: linear-gradient(transparent 60%, #DBEAFE 60%);
}

.marker-under-red {
  background: linear-gradient(transparent 60%, #FEE2E2 60%);
}

/* ==========================================================================
   20. Hero Section (Front Page)
   ========================================================================== */

.hero-section {
  background: linear-gradient(135deg, #1E3A5F 0%, #2563EB 100%);
  color: #FFFFFF;
  padding: 64px 24px;
  text-align: center;
  margin: -32px -24px 40px;
}

.hero-section h1 {
  font-size: 2em;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.hero-section p {
  font-size: 1.1em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-search {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  gap: 0;
}

.hero-search input {
  flex: 1;
  padding: 16px 24px;
  border: none;
  border-radius: 8px 0 0 8px;
  font-size: 16px;
}

.hero-search button {
  background: #F59E0B;
  color: #FFFFFF;
  border: none;
  padding: 16px 28px;
  border-radius: 0 8px 8px 0;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.hero-search button:hover {
  background: #D97706;
}

/* ==========================================================================
   21. Category Cards (Front Page)
   ========================================================================== */

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
  margin: 40px 0;
}

.category-card {
  background: #FFFFFF;
  border: 1px solid #F3F4F6;
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  transition: all 0.2s ease;
  text-decoration: none;
  color: #374151;
}

.category-card:hover {
  border-color: #2563EB;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
  color: #2563EB;
}

.category-card .cat-icon {
  font-size: 2em;
  margin-bottom: 8px;
  display: block;
}

.category-card .cat-name {
  font-size: 0.85em;
  font-weight: 700;
}

/* ==========================================================================
   22. Responsive
   ========================================================================== */

@media screen and (max-width: 1023px) {
  .article {
    padding: 32px 28px;
  }

  .article h1.entry-title {
    font-size: 1.5em;
  }

  .hero-section h1 {
    font-size: 1.6em;
  }
}

@media screen and (max-width: 834px) {
  body {
    font-size: 15px;
  }

  .wrap {
    padding: 20px 16px;
  }

  .article {
    padding: 24px 20px;
    border-radius: 0;
    box-shadow: none;
    border: none;
    border-bottom: 1px solid #F3F4F6;
  }

  .article h1.entry-title {
    font-size: 1.35em;
  }

  .article h2 {
    font-size: 1.3em;
    margin: 40px 0 20px;
  }

  .article h3 {
    font-size: 1.15em;
  }

  .entry-card {
    border-radius: 8px;
  }

  .widget {
    border-radius: 0;
    box-shadow: none;
    border-left: none;
    border-right: none;
  }

  .header-in {
    padding: 0 16px;
  }

  .hero-section {
    padding: 40px 16px;
    margin: -20px -16px 24px;
  }

  .cta-box {
    padding: 24px 20px;
  }

  .cta-box .btn,
  .cta-box .cta-btn {
    padding: 14px 32px;
    font-size: 0.95em;
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  /* Responsive tables */
  .entry-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
}

@media screen and (max-width: 480px) {
  .logo-header .site-name-text {
    font-size: 1.15em !important;
  }

  .article h1.entry-title {
    font-size: 1.2em;
  }

  .article h2 {
    font-size: 1.2em;
  }

  .hero-section h1 {
    font-size: 1.3em;
  }

  .hero-search {
    flex-direction: column;
    gap: 8px;
  }

  .hero-search input {
    border-radius: 8px;
  }

  .hero-search button {
    border-radius: 8px;
  }

  .cta-box .btn,
  .cta-box .cta-btn {
    display: block;
    width: 100%;
    padding: 14px 24px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card {
    padding: 24px 20px;
  }
}

/* ==========================================================================
   23. 2カラムレイアウト修正
   ========================================================================== */

.content-in {
  display: flex;
  flex-wrap: wrap;
}

#main {
  flex: 1;
  min-width: 0;
}

#sidebar {
  width: 336px;
  flex-shrink: 0;
}

@media screen and (max-width: 1023px) {
  .content-in {
    flex-direction: column;
  }
  #sidebar {
    width: 100%;
  }
}

/* ==========================================================================
   24. FAQ Q&A縦率修正
   ========================================================================== */

.faq-item {
  margin-bottom: 20px;
}

.faq-question,
.faq-answer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
}

.faq-question::before,
.faq-answer::before {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
  float: none;
  margin-left: 0;
  margin-right: 0;
}

.faq-question::before {
  background: #2563EB;
  color: #fff;
}

.faq-answer::before {
  background: #F59E0B;
  color: #fff;
}

/* ==========================================================================
   25. 文字装飾
   ========================================================================== */

.highlight-positive {
  background: linear-gradient(transparent 60%, #FEF08A 60%);
  font-weight: 700;
  padding: 0 2px;
}

.highlight-negative {
  color: #DC2626;
  font-weight: 700;
}

/* ==========================================================================
   26. 著者プロフィールボックス
   ========================================================================== */

.author-profile-box {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 24px;
  margin: 40px 0 20px;
}

.author-profile-box .author-avatar img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.author-profile-box .author-details {
  flex: 1;
}

.author-profile-box .author-label {
  font-size: 0.75em;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.author-profile-box .author-name {
  font-size: 1.1em;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.author-profile-box .author-bio {
  font-size: 0.9em;
  color: #374151;
  line-height: 1.7;
}
