/*
Theme Name: Vision Media
Description: ビジョン図鑑 専用シンプルテーマ
Author: xs676880
Version: 1.0.0
*/

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

html { font-size: 18px; overflow-x: hidden; }

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  background: #fdf9f2;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.75; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ==========================================
   Layout
========================================== */
.container {
  max-width: 1256px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-inner {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding: 40px 0;
}

.content {
  flex: 1;
  min-width: 0;
  padding: 36px 29px;
  background: #fff;
  border-radius: 4px;
}

.sidebar {
  width: 300px;
  flex-shrink: 0;
}

/* ==========================================
   Sidebar Widgets
========================================== */
.sidebar-widget {
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 28px;
}

.sidebar-widget-title {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: #005990;
  padding: 10px 16px;
  margin: 0;
}

.sidebar-post-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-post-item {
  border-bottom: 1px solid #f0f0f0;
}

.sidebar-post-item:last-child {
  border-bottom: none;
}

.sidebar-post-item a {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  text-decoration: none;
  color: #111;
  transition: background 0.15s;
}

.sidebar-post-item a:hover {
  background: #f7f9fc;
}

.sidebar-post-thumb {
  flex-shrink: 0;
  width: 120px;
  height: 68px;
  overflow: hidden;
  border-radius: 3px;
  position: relative;
}

.sidebar-post-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sidebar-post-title {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.5;
  color: #111;
}

.sidebar-cat-list {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

.sidebar-cat-list li {
  border-bottom: 1px solid #f0f0f0;
}

.sidebar-cat-list li:last-child {
  border-bottom: none;
}

.sidebar-cat-list a {
  display: flex;
  justify-content: space-between;
  padding: 9px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #111;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.sidebar-cat-list a:hover {
  background: #f7f9fc;
  color: #005990;
}

/* Sidebar Search */
.sidebar-search {
  padding: 14px;
}

.sidebar-search-inner {
  display: flex;
  border: 2px solid #000;
  border-radius: 4px;
  overflow: hidden;
}

.sidebar-search-input {
  flex: 1;
  min-width: 0;
  padding: 9px 12px;
  font-size: 0.85rem;
  border: none;
  outline: none;
  background: #fff;
  font-family: inherit;
}

.sidebar-search-btn {
  flex-shrink: 0;
  width: 42px;
  background: #005990;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.15s;
}

.sidebar-search-btn:hover {
  background: #003f6b;
}

/* ==========================================
   Header
========================================== */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid #000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo a {
  display: flex;
  align-items: center;
}

.site-logo img {
  height: 50px;
  width: auto;
  display: block;
}

/* Nav */
.nav-primary ul {
  display: flex;
  gap: 4px;
}

.nav-primary a {
  color: #000;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 3px solid transparent;
  border-radius: 4px;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  display: block;
}

.nav-primary a:hover {
  border-color: #000;
  box-shadow: 4px 4px 0 #000;
  transform: translate(-2px, -2px);
  opacity: 1;
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #000;
  transition: transform 0.3s, opacity 0.3s;
}

/* ==========================================
   Hero Card Slider (front page only)
========================================== */
.site-hero {
  background: #147DB1;
  border-bottom: 8px solid #000;
  padding: 48px 0 52px;
}

.card-slider {
  position: relative;
  max-width: 1256px;
  margin: 0 auto;
  padding: 0 60px;
}

.card-slider-viewport {
  overflow: hidden;
}

.card-slider-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card-slide-item {
  flex: 0 0 calc((100% - 48px) / 3);
}

/* Card */
.card-slide-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 3px solid #000;
  box-shadow: 6px 6px 0 #000;
  color: #000;
  height: 100%;
  transition: transform 0.15s, box-shadow 0.15s;
}

.card-slide-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 #000;
  opacity: 1;
}

.card-slide-thumb {
  overflow: hidden;
  border-bottom: 3px solid #000;
  flex-shrink: 0;
  aspect-ratio: 16/9;
}

.card-slide-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.card-slide-thumb .no-thumb {
  height: 100%;
  background: #d8e4ec;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.85rem;
  color: #888;
}

.card-slide-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-slide-cat {
  display: inline-block;
  background: #005990;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  margin-bottom: 8px;
  align-self: flex-start;
}

.card-slide-title {
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.55;
  margin-bottom: 10px;
  color: #000;
  flex: 1;
}

.card-slide-profile {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 8px;
  margin-bottom: 8px;
  padding-top: 8px;
  border-top: 1px solid #e8e8e8;
}

.card-slide-company {
  font-size: 0.68rem;
  color: #555;
  font-weight: 600;
}

.card-slide-jobtitle {
  font-size: 0.65rem;
  color: #777;
}

.card-slide-name {
  font-size: 0.78rem;
  font-weight: 900;
  color: #000;
}

.card-slide-date {
  font-size: 0.7rem;
  color: #888;
  margin-top: auto;
}

/* Arrows */
.card-slider-prev,
.card-slider-next {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: #FFD700;
  border: 3px solid #000;
  box-shadow: 3px 3px 0 #000;
  color: #000;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.2s;
}

.card-slider-prev { left: 0; }
.card-slider-next { right: 0; }

.card-slider-prev:hover,
.card-slider-next:hover {
  transform: translateY(calc(-50% - 2px));
  box-shadow: 5px 5px 0 #000;
}

.card-slider-prev:disabled,
.card-slider-next:disabled {
  opacity: 0.35;
  cursor: default;
  transform: translateY(-50%);
  box-shadow: 3px 3px 0 #000;
}

/* Dots */
.card-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.card-slider-dot {
  width: 10px;
  height: 10px;
  border: 2px solid rgba(255,255,255,0.7);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.card-slider-dot.is-active {
  background: #FFD700;
  border-color: #FFD700;
}

/* ==========================================
   About Section (front page only)
========================================== */
.about-section {
  background: #fff;
  border-bottom: 4px solid #000;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding: 60px 0;
  align-items: center;
}

.about-label {
  display: block;
  font-weight: 900;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: #005990;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.about-title {
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1.3;
  position: relative;
  padding-bottom: 16px;
}

.about-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 4px;
  background: #FFD700;
}

.about-text {
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 28px;
  color: #333;
}

.about-btn {
  display: inline-block;
  background: #005990;
  color: #fff;
  font-weight: 900;
  font-size: 0.85rem;
  padding: 12px 28px;
  border: 3px solid #000;
  box-shadow: 4px 4px 0 #000;
  letter-spacing: 0.05em;
  transition: transform 0.15s, box-shadow 0.15s;
}

.about-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #000;
  opacity: 1;
}

/* ==========================================
   TOP Page Feature Card (最新1件 大カード)
========================================== */
.post-card-feature {
  margin-bottom: 32px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.post-card-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.14);
}

.post-card-feature > a {
  display: flex;
  color: #333;
}

.post-card-feature-thumb {
  flex: 0 0 55%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #eee;
}

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


.post-card-feature-body {
  flex: 1;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.post-card-feature-title {
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.55;
  color: #111;
}

.post-card-feature-excerpt {
  font-size: 0.82rem;
  color: #666;
  line-height: 1.7;
}

@media (max-width: 640px) {
  .post-card-feature > a { flex-direction: column; }
  .post-card-feature-thumb { flex: none; aspect-ratio: 16/9; width: 100%; }
  .post-card-feature-body { padding: 16px; }
  .post-card-feature-title { font-size: 1rem; }
}

/* ==========================================
   Article Cards (index / archive)
========================================== */
.page-title {
  font-size: 1.1rem;
  font-weight: 900;
  color: #333;
  padding-bottom: 12px;
  margin-bottom: 24px;
  border-bottom: 3px solid #000;
}

.post-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.post-card {
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.post-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 5px 5px 0 #000;
  border-color: #000;
}

.post-card a { display: block; color: #333; }

.post-card-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #eee;
}

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


.post-card-body {
  padding: 16px;
}

.post-card-cat {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 600;
  color: #777;
  background: #f0f0f0;
  padding: 2px 8px;
  border-radius: 100px;
}

.post-card-title {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 8px;
}

.post-card-date {
  font-size: 0.7rem;
  color: #999;
}

/* ==========================================
   TOP Page Cards (ceozukan style)
========================================== */
.post-grid--home {
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
}

.post-card--home {
  border: none;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.post-card--home:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.14);
  border-color: transparent;
}

.post-card--home .post-card-thumb {
  aspect-ratio: 16/9;
}

.post-card--home .post-card-body {
  padding: 18px 20px 20px;
}


.post-card--home .post-card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
  margin-bottom: 10px;
  color: #111;
}

.post-card--home .post-card-date {
  font-size: 0.68rem;
  color: #aaa;
}

/* Pagination */
.pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  background: #fff;
  border: 2px solid #000;
  color: #333;
}

.pagination .current {
  background: #005990;
  color: #fff;
  border-color: #005990;
}

.pagination a:hover { background: #f0f0f0; opacity: 1; }

/* ==========================================
   Single Post
========================================== */
.single-header {
  margin-bottom: 28px;
}

.single-cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 900;
  color: #fff;
  background: #005990;
  padding: 3px 12px;
  border-radius: 3px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.single-title {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 16px;
  color: #111;
}

.single-meta {
  font-size: 0.75rem;
  color: #999;
  display: flex;
  gap: 16px;
  align-items: center;
}

.single-thumb {
  margin-bottom: 32px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid #e0e0e0;
}

.single-thumb img { width: 100%; }

/* Post content */
.post-content {
  font-size: 1rem;
  line-height: 1.8;
}

.post-content h2 {
  font-size: 1.2rem;
  font-weight: 900;
  margin: 2em 0 0.8em;
  padding: 12px 16px;
  background: #005990;
  color: #fff;
  border-radius: 4px;
  line-height: 1.4;
}

.post-content h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 1.6em 0 0.6em;
  padding: 10px 14px;
  background: #f5f6f7;
  border-radius: 4px;
  line-height: 1.5;
  color: #333;
}

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

.post-content a { color: #005990; text-decoration: underline; }
.post-content a:hover { opacity: 0.8; }

.post-content ul, .post-content ol {
  margin: 0.8em 0 1.2em 1.5em;
}
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li { margin-bottom: 0.4em; }

.post-content blockquote {
  margin: 1.5em 0;
  padding: 16px 20px;
  background: #f8f8f8;
  border-left: 4px solid #005990;
  color: #555;
}

.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.9rem;
}

.post-content th, .post-content td {
  border: 1px solid #e0e0e0;
  padding: 10px 14px;
  text-align: left;
}

.post-content th { background: #f5f6f7; font-weight: 700; }

.post-content img {
  max-width: 100%;
  height: auto;
  margin: 1em auto;
  border-radius: 4px;
}

.post-content figure.wp-block-embed .wp-block-embed__wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.post-content figure.wp-block-embed .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

/* Post nav */
.post-nav {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.post-nav-item {
  flex: 1;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  padding: 16px;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  font-size: 0.85rem;
}

.post-nav-item:hover {
  border-color: #000;
  box-shadow: 4px 4px 0 #000;
  transform: translate(-2px, -2px);
  opacity: 1;
}

.post-nav-label {
  font-size: 0.65rem;
  color: #999;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.post-nav-title { font-weight: 700; line-height: 1.5; }
.post-nav-next { text-align: right; }

/* ==========================================
   Page (固定ページ)
========================================== */
.page-header {
  margin-bottom: 32px;
}

.page-header h1 {
  font-size: 1.5rem;
  font-weight: 900;
  border-bottom: 3px solid #000;
  padding-bottom: 12px;
}

/* ==========================================
   Sidebar
========================================== */
.sidebar-widget {
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 24px;
}

.sidebar-widget-title {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #333;
  background: #f5f6f7;
  padding: 10px 12px;
  margin: -20px -20px 16px;
  border-radius: 4px 4px 0 0;
  text-transform: uppercase;
}

.sidebar-widget ul li {
  padding: 6px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.85rem;
}

.sidebar-widget ul li:last-child { border-bottom: none; }
.sidebar-widget ul li a:hover { color: #005990; opacity: 1; }

/* ==========================================
   Footer
========================================== */
.site-footer {
  background: #005990;
  color: #cce4f2;
  font-size: 0.78rem;
  margin-top: 60px;
  border-top: 4px solid #000;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand strong { color: #fff; font-weight: 900; }

.footer-nav a { color: #cce4f2; transition: color 0.2s; }
.footer-nav a:hover { color: #fff; opacity: 1; }
.footer-nav ul { display: flex; gap: 20px; flex-wrap: wrap; }

.footer-copy { color: rgba(255,255,255,0.5); font-size: 12px; margin: 0; }

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.footer-legal {
  display: flex;
  gap: 12px;
}
.footer-legal a {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ==========================================
   404
========================================== */
.not-found {
  text-align: center;
  padding: 80px 0;
}

.not-found h1 { font-size: 5rem; font-weight: 900; color: #e0e0e0; line-height: 1; }
.not-found h2 { font-size: 1.2rem; margin: 12px 0 20px; font-weight: 900; }
.not-found p { color: #777; margin-bottom: 24px; font-size: 0.9rem; }

.not-found .btn {
  display: inline-block;
  background: #005990;
  color: #fff;
  padding: 12px 28px;
  border: 3px solid #000;
  border-radius: 6px;
  font-weight: 900;
  box-shadow: 4px 4px 0 #000;
  transition: transform 0.15s, box-shadow 0.15s;
}

.not-found .btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #000;
  opacity: 1;
}

/* ==========================================
   Category Page
========================================== */
.cat-header {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 3px solid #000;
}

.cat-header-label {
  font-size: 0.65rem;
  font-weight: 900;
  color: #005990;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.cat-header-title {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.2;
  color: #111;
  margin-bottom: 10px;
}

.cat-header-desc {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 10px;
}

.cat-header-count {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #999;
  border: 1px solid #ddd;
  padding: 3px 12px;
  border-radius: 100px;
}

.post-grid--cat {
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
}

.post-card--cat {
  border: none;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.post-card--cat:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.14);
}

.post-card--cat .post-card-body {
  padding: 20px;
}

.post-card--cat .post-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.55;
  margin-bottom: 8px;
  color: #111;
}

.post-card-profile {
  font-size: 0.72rem;
  color: #005990;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.post-card-excerpt {
  font-size: 0.78rem;
  color: #777;
  line-height: 1.65;
  margin-bottom: 10px;
}

/* ==========================================
   Author Profile Box (single)
========================================== */
.author-box {
  margin-top: 48px;
  border: 3px solid #000;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.author-box-header {
  background: #005990;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-box-header-icon {
  flex-shrink: 0;
  color: #fff;
  opacity: 0.9;
}

.author-box-label {
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.author-box-inner {
  display: flex;
  gap: 28px;
  padding: 28px;
  align-items: flex-start;
}

.author-box-avatar {
  flex-shrink: 0;
}

.author-avatar-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #000;
  box-shadow: 4px 4px 0 #005990;
  display: block;
}

.author-box-body {
  flex: 1;
  min-width: 0;
}

.author-company-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.author-company {
  font-size: 0.75rem;
  font-weight: 700;
  color: #005990;
}

.author-meta-inline {
  font-size: 0.75rem;
  font-weight: 700;
  color: #005990;
}

.author-name {
  font-size: 1.2rem;
  font-weight: 900;
  color: #111;
  margin-bottom: 14px;
}

.author-text {
  font-size: 0.88rem;
  line-height: 1.85;
  color: #555;
  margin-bottom: 18px;
}

.author-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.author-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid #000;
  border-radius: 50%;
  background: #fff;
  color: #000;
  transition: transform 0.15s, box-shadow 0.15s;
  flex-shrink: 0;
}

.author-link:hover {
  transform: translate(-2px, -2px);
  box-shadow: 3px 3px 0 #000;
  opacity: 1;
}

.author-link--x:hover  { background: #000; color: #fff; }
.author-link--fb:hover { background: #1877f2; border-color: #1877f2; color: #fff; }
.author-link--web:hover { background: #005990; border-color: #005990; color: #fff; }

/* ==========================================
   No thumbnail placeholder
========================================== */
.no-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* ==========================================
   Breadcrumb
========================================== */
.breadcrumb {
  margin-bottom: 24px;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  font-size: 0.72rem;
  color: #999;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: '›';
  margin-right: 4px;
  color: #ccc;
  font-size: 0.9rem;
}

.breadcrumb-item a {
  color: #005990;
  text-decoration: none;
  transition: opacity 0.15s;
}

.breadcrumb-item a:hover {
  opacity: 0.7;
}

.breadcrumb-item--current {
  color: #888;
  max-width: 280px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================
   SNS Share Buttons
========================================== */
.share-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 40px 0 8px;
  padding: 20px 0;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
}

.share-label {
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: #333;
  text-transform: uppercase;
  flex-shrink: 0;
}

.share-btn-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border: 2px solid #000;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 3px 3px 0 #000;
}

.share-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 #000;
  opacity: 1;
}

.share-btn--x    { background: #000; color: #fff; }
.share-btn--fb   { background: #1877f2; color: #fff; border-color: #1877f2; box-shadow: 3px 3px 0 #0a4fa0; }
.share-btn--fb:hover { box-shadow: 5px 5px 0 #0a4fa0; }
.share-btn--line { background: #06c755; color: #fff; border-color: #06c755; box-shadow: 3px 3px 0 #049a40; }
.share-btn--line:hover { box-shadow: 5px 5px 0 #049a40; }

/* ==========================================
   Related Posts
========================================== */
.related-posts {
  margin-top: 48px;
}

.related-posts-title {
  font-size: 1rem;
  font-weight: 900;
  color: #111;
  padding-bottom: 12px;
  margin-bottom: 24px;
  border-bottom: 3px solid #000;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ==========================================
   Post Card Tags & Industry Meta
========================================== */
.post-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}

.post-card-industry {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 600;
  color: #777;
  background: #f0f0f0;
  padding: 2px 8px;
  border-radius: 100px;
}

.post-card-tag {
  display: inline-block;
  font-size: 0.6rem;
  color: #aaa;
  border: 1px solid #e0e0e0;
  padding: 2px 7px;
  border-radius: 100px;
}

/* ==========================================
   Post Card Catch Copy
========================================== */
.post-card-catch {
  font-size: 0.78rem;
  color: #444;
  line-height: 1.55;
  margin-bottom: 8px;
  font-weight: 500;
}

/* ==========================================
   Post Card Profile Info
========================================== */
.post-card-company {
  font-size: 0.72rem;
  color: #555;
  font-weight: 600;
  margin-bottom: 2px;
  line-height: 1.4;
}

.post-card-name {
  font-size: 0.82rem;
  font-weight: 900;
  color: #111;
  margin-bottom: 8px;
}

/* Slider card meta (会社名 / 役職 on one line) */
.card-slide-meta {
  font-size: 0.68rem;
  color: #555;
  font-weight: 600;
  margin-bottom: 2px;
  line-height: 1.4;
}

/* ==========================================
   TOP Page News Section (site-inner内)
========================================== */
.news-section-inner {
  margin-bottom: 48px;
}

.section-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: #111;
  margin-bottom: 32px;
  padding-bottom: 14px;
  border-bottom: 3px solid #000;
}

.news-more {
  text-align: center;
  margin-top: 40px;
}

.news-more-btn {
  display: inline-block;
  background: #005990;
  color: #fff;
  font-weight: 900;
  font-size: 0.88rem;
  padding: 14px 40px;
  border: 3px solid #000;
  box-shadow: 4px 4px 0 #000;
  letter-spacing: 0.05em;
  transition: transform 0.15s, box-shadow 0.15s;
}

.news-more-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #000;
  opacity: 1;
}

/* ==========================================
   TOP Page Industry Section (site-inner内)
========================================== */
.industry-section-inner {
  padding-top: 40px;
  border-top: 3px solid #000;
}

.industry-btn-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.industry-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fdf9f2;
  color: #111;
  font-weight: 900;
  font-size: 0.9rem;
  padding: 14px 28px;
  border: 3px solid #000;
  box-shadow: 4px 4px 0 #000;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  letter-spacing: 0.03em;
}

.industry-btn:hover {
  background: #FFD700;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #000;
  opacity: 1;
}

.industry-btn-count {
  font-size: 0.68rem;
  font-weight: 700;
  color: #888;
  background: #e8e8e8;
  padding: 2px 8px;
  border-radius: 100px;
}

.industry-btn:hover .industry-btn-count {
  color: #555;
  background: rgba(0,0,0,0.12);
}

/* ==========================================
   Responsive
========================================== */
@media (max-width: 1024px) {
  .post-grid,
  .post-grid--home,
  .post-grid--cat { grid-template-columns: 1fr 1fr; }

  .site-inner { flex-direction: column; }
  .sidebar { width: 100%; }

  .card-slide-item { flex: 0 0 calc((100% - 24px) / 2); }
  .card-slider { padding: 0 56px; }

  .about-inner { grid-template-columns: 1fr; gap: 28px; padding: 48px 0; }
}

@media (max-width: 640px) {
  .post-grid,
  .post-grid--home,
  .post-grid--cat { grid-template-columns: 1fr; }

  .author-box-inner { flex-direction: column; gap: 16px; }
  .author-avatar-img { width: 80px; height: 80px; }
  .cat-header-title { font-size: 1.5rem; }

  .nav-primary { display: none; }
  .nav-primary.is-open { display: block; }
  .nav-primary.is-open ul {
    flex-direction: column;
    gap: 0;
    padding: 12px 0 16px;
    border-top: 2px solid #eee;
  }
  .nav-primary.is-open a {
    display: block;
    padding: 10px 4px;
    border-bottom: 1px solid #eee;
    border-radius: 0;
  }

  .menu-toggle { display: flex; }
  .menu-toggle span { background: #000; }

  .single-title { font-size: 1.2rem; }
  .card-slide-item { flex: 0 0 100%; }
  .card-slider { padding: 0 48px; }
  .site-hero { padding: 16px 0 20px; }
  .card-slide-thumb { aspect-ratio: unset; height: 45vw; }
  .about-title { font-size: 1.4rem; }
  .content { padding: 20px 14px; }
  .post-nav { flex-direction: column; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav ul { justify-content: center; }
}

/* ==========================================
   Partner Ticker
========================================== */
.partner-ticker-section {
  background: #fff;
  padding: 20px 0;
  overflow: hidden;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
}

.partner-ticker-label {
  text-align: left;
  font-size: 11px;
  color: #999;
  letter-spacing: 0.1em;
  margin: 0 0 12px;
  padding: 0 24px;
}

.partner-ticker-wrap {
  overflow: hidden;
}

.partner-ticker-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: partnerTicker 24s linear infinite;
}

.partner-ticker-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.partner-ticker-item img {
  height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.partner-ticker-item a:hover img {
  opacity: 1;
}

.partner-ticker-noimg {
  font-size: 13px;
  color: #666;
  white-space: nowrap;
}

@keyframes partnerTicker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================
   Thanks Page
========================================== */
.thanks-content {
  text-align: center;
  padding: 60px 20px;
}

.thanks-title {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 20px;
}

.thanks-text {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 32px;
}

.thanks-btn {
  display: inline-block;
  padding: 12px 32px;
  background: #005990;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  transition: opacity 0.2s;
}

.thanks-btn:hover {
  opacity: 0.8;
}

/* ==========================================
   Policy Pages
========================================== */
.policy-content h2 {
  font-size: 16px;
  font-weight: 700;
  margin: 32px 0 10px;
  padding: 6px 12px;
  background: #f5f6f7;
  color: #111;
  border-left: 4px solid #005990;
  border-radius: 0;
}

.policy-content p,
.policy-content ul {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.policy-content ul {
  padding-left: 1.4em;
}

.policy-content ul li {
  list-style: disc;
  margin-bottom: 4px;
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
  font-size: 14px;
}

.policy-table th,
.policy-table td {
  padding: 10px 14px;
  border: 1px solid #e0e0e0;
  text-align: left;
  vertical-align: top;
}

.policy-table th {
  background: #f5f6f7;
  font-weight: 700;
  white-space: nowrap;
  width: 140px;
}

/* ==========================================
   Partner Section
========================================== */
.partner-section {
  margin-top: 48px;
}

.partner-group {
  margin-bottom: 40px;
}

.partner-group-title {
  font-size: 16px;
  font-weight: 700;
  color: #005990;
  border-left: 4px solid #005990;
  padding: 4px 0 4px 12px;
  margin: 0 0 20px;
}

.partner-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.partner-card {
  display: block;
  text-decoration: none;
  flex: 0 0 auto;
  width: 160px;
}

a.partner-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.partner-card-img {
  width: 100%;
  aspect-ratio: 3/2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.partner-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.partner-card-noimg {
  font-size: 11px;
  color: #999;
  text-align: center;
  padding: 8px;
}

@media (max-width: 640px) {
  .partner-card {
    width: calc(50% - 8px);
  }
}

/* ==========================================
   Contact Form
========================================== */
.wpcf7 {
  margin-top: 8px;
}

.wpcf7-form p {
  margin-bottom: 20px;
}

.wpcf7-form label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #111;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 15px;
  font-family: inherit;
  color: #111;
  background: #fff;
  border: 2px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  transition: border-color 0.2s;
  appearance: none;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="url"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: #005990;
}

.wpcf7-form textarea {
  min-height: 160px;
  resize: vertical;
}

.wpcf7-form input[type="submit"] {
  display: inline-block;
  padding: 12px 40px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  color: #fff;
  background: #005990;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.wpcf7-form input[type="submit"]:hover {
  background: #004070;
}

.wpcf7-not-valid-tip {
  font-size: 12px;
  color: #c0392b;
  margin-top: 4px;
  display: block;
}

.wpcf7-form .wpcf7-not-valid {
  border-color: #c0392b;
}

.wpcf7-response-output {
  margin-top: 16px;
  padding: 12px 16px;
  font-size: 14px;
  border-radius: 4px;
  border: 2px solid #005990;
  color: #005990;
}

.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.unaccepted .wpcf7-response-output {
  border-color: #c0392b;
  color: #c0392b;
}

@media (max-width: 640px) {
  .wpcf7-form input[type="submit"] {
    width: 100%;
    text-align: center;
  }
}
