/*
Theme Name: matchbox
Theme URI: https://matchbox.co.jp
Author: 株式会社matchbox
Author URI: https://matchbox.co.jp
Description: AIアノテーション・イベント企画運営・アプリケーション開発を手がける株式会社matchbox公式サイト用WordPressテーマ
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: matchbox
Tags: business, one-column, custom-menu, custom-logo, featured-images
*/

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

:root {
  --red: #C8000A;
  --red-dark: #9B0008;
  --black: #111111;
  --off-black: #1a1a1a;
  --dark-gray: #2c2c2c;
  --mid-gray: #555;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  --border: #e0e0e0;
  --serif: 'Noto Serif JP', serif;
  --sans: 'Noto Sans JP', 'Inter', sans-serif;
  --inter: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--black); background: var(--white); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo { font-family: var(--inter); font-weight: 900; font-size: 18px; letter-spacing: 0.08em; color: var(--black); }
.logo span { color: var(--red); }
.site-logo img { height: 40px; width: auto; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav ul { list-style: none; display: flex; align-items: center; gap: 32px; }
.nav ul li a {
  font-size: 13px; font-weight: 500; color: var(--dark-gray);
  letter-spacing: 0.02em; transition: color 0.2s; white-space: nowrap;
}
.nav ul li a:hover { color: var(--red); }
.nav ul li.menu-cta a {
  background: var(--red); color: var(--white);
  padding: 10px 20px; font-size: 13px; font-weight: 700; letter-spacing: 0.03em;
}
.nav ul li.menu-cta a:hover { background: var(--red-dark); }

/* ===== パンくず（共通） ===== */
.breadcrumb {
  padding: 100px 24px 0; max-width: 1200px; margin: 0 auto;
  font-size: 12px; color: var(--mid-gray);
}
.breadcrumb.narrow { max-width: 800px; }
.breadcrumb a { color: var(--mid-gray); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.4; }
.breadcrumb .current { color: var(--black); font-weight: 500; }

/* ===== HERO（トップページ用） ===== */
.hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: flex-end;
  padding-bottom: 80px;
  background: var(--black);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 40%, #2c0005 100%);
}
.hero-bg-image { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.3; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,0,10,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,0,10,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}
@keyframes gridMove { from { background-position: 0 0; } to { background-position: 60px 60px; } }
.hero-particles { position: absolute; inset: 0; overflow: hidden; }
.particle { position: absolute; border-radius: 50%; background: rgba(200,0,10,0.5); animation: floatUp linear infinite; }
.particle:nth-child(1) { width: 4px; height: 4px; left: 10%; animation-duration: 14s; animation-delay: 0s; }
.particle:nth-child(2) { width: 6px; height: 6px; left: 25%; animation-duration: 18s; animation-delay: 3s; }
.particle:nth-child(3) { width: 3px; height: 3px; left: 40%; animation-duration: 12s; animation-delay: 6s; }
.particle:nth-child(4) { width: 5px; height: 5px; left: 60%; animation-duration: 16s; animation-delay: 1s; }
.particle:nth-child(5) { width: 4px; height: 4px; left: 75%; animation-duration: 20s; animation-delay: 8s; }
.particle:nth-child(6) { width: 7px; height: 7px; left: 88%; animation-duration: 15s; animation-delay: 4s; }
.particle:nth-child(7) { width: 3px; height: 3px; left: 50%; animation-duration: 13s; animation-delay: 10s; }
.particle:nth-child(8) { width: 5px; height: 5px; left: 15%; animation-duration: 17s; animation-delay: 12s; }
@keyframes floatUp {
  0% { transform: translateY(105vh) scale(1); opacity: 0; }
  10% { opacity: 0.7; } 90% { opacity: 0.5; }
  100% { transform: translateY(-10vh) scale(0.5); opacity: 0; }
}
.hero-glow {
  position: absolute; top: 30%; right: 8%;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,0,10,0.18) 0%, transparent 70%);
  filter: blur(50px); animation: glowPulse 6s ease-in-out infinite;
}
@keyframes glowPulse { 0%, 100% { transform: scale(1); opacity: 0.7; } 50% { transform: scale(1.2); opacity: 1; } }
.hero-tag {
  position: absolute; top: 120px; left: 50%; transform: translateX(-50%);
  font-family: var(--inter); font-size: 11px; font-weight: 600;
  letter-spacing: 0.25em; color: var(--red); text-transform: uppercase; white-space: nowrap;
}
.hero-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; }
.hero-en {
  font-family: var(--inter); font-size: clamp(52px, 9vw, 118px);
  font-weight: 900; line-height: 0.95; letter-spacing: -0.03em; color: var(--white); margin-bottom: 24px;
}
.hero-en .line { display: block; opacity: 0; animation: lineIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.hero-en .line:nth-child(1) { animation-delay: 0.2s; }
.hero-en .line:nth-child(2) { animation-delay: 0.45s; }
@keyframes lineIn { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
.hero-en .accent { color: var(--red); }
.hero-jp {
  font-family: var(--serif); font-size: clamp(15px, 2.2vw, 20px);
  color: rgba(255,255,255,0.65); line-height: 1.9; font-weight: 400;
  opacity: 0; animation: lineIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}
.hero-scroll {
  position: absolute; bottom: 32px; right: 40px;
  font-family: var(--inter); font-size: 10px; letter-spacing: 0.15em;
  color: rgba(255,255,255,0.35); text-transform: uppercase;
  writing-mode: vertical-lr; display: flex; align-items: center; gap: 12px;
}
.hero-scroll::before {
  content: ''; display: block; width: 1px; height: 60px;
  background: linear-gradient(to bottom, rgba(200,0,10,0.8), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

/* ===== ページヒーロー（下層ページ共通） ===== */
.page-hero, .svc-hero, .work-hero {
  position: relative; background: var(--black); padding: 60px 24px 80px; overflow: hidden;
}
.page-hero-bg, .svc-hero-bg, .work-hero-bg {
  position: absolute; inset: 0; background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 40%, #2c0005 100%);
}
.page-hero-grid, .svc-hero-grid, .work-hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(200,0,10,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(200,0,10,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-inner, .svc-hero-inner, .work-hero-inner { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; }
.work-hero-inner { max-width: 1000px; }
.page-hero-tag, .svc-hero-tag {
  font-family: var(--inter); font-size: 10px; font-weight: 700;
  letter-spacing: 0.25em; color: var(--red); text-transform: uppercase; margin-bottom: 20px;
}
.page-hero-title, .svc-hero-title {
  font-family: var(--serif); font-size: clamp(28px, 4.5vw, 46px);
  font-weight: 700; color: var(--white); line-height: 1.5;
}
.svc-hero-title { font-size: clamp(30px, 5vw, 52px); margin-bottom: 24px; line-height: 1.4; }
.page-hero-title .accent { color: var(--red); }
.page-hero-lead, .svc-hero-lead {
  font-size: 14px; color: rgba(255,255,255,0.6); line-height: 2; max-width: 640px; margin-top: 20px;
}
.svc-hero-lead { font-size: 15px; max-width: 640px; margin-top: 0; }

/* ===== SECTION COMMON ===== */
.section { padding: 90px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-inner.narrow { max-width: 1000px; }
.section-inner.narrower { max-width: 900px; }
.section-inner.narrowest { max-width: 800px; }
.eyebrow {
  font-family: var(--inter); font-size: 10px; font-weight: 700;
  letter-spacing: 0.3em; color: var(--red); text-transform: uppercase; margin-bottom: 16px;
}
.section-title {
  font-family: var(--serif); font-size: clamp(26px, 4vw, 42px);
  font-weight: 700; line-height: 1.35; color: var(--black); margin-bottom: 20px;
}
.section-sub { font-size: 15px; color: var(--mid-gray); line-height: 1.9; max-width: 600px; }

/* ===== ABOUT (トップ) ===== */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-top: 60px; }
.about-visual { position: relative; aspect-ratio: 4/3; background: var(--black); overflow: hidden; }
.about-visual img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.about-visual-inner {
  position: absolute; inset: 0; background: linear-gradient(135deg, #111 0%, #2c0005 100%);
  display: flex; align-items: center; justify-content: center;
}
.about-fig {
  font-family: var(--inter); font-size: 64px; font-weight: 900;
  color: rgba(200,0,10,0.14); letter-spacing: -0.02em; line-height: 1.15; text-align: center;
}
.about-badge {
  position: absolute; bottom: -20px; right: -20px; width: 124px; height: 124px;
  background: var(--red); border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--white); text-align: center; padding: 12px;
}
.about-badge-num { font-family: var(--inter); font-size: 16px; font-weight: 900; line-height: 1.3; }
.about-badge-label { font-size: 9px; letter-spacing: 0.05em; opacity: 0.85; margin-top: 4px; line-height: 1.4; }
.about-text .section-sub { max-width: 100%; }
.about-link {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 32px; font-size: 13px; font-weight: 700;
  color: var(--black); letter-spacing: 0.05em; border-bottom: 2px solid var(--red); padding-bottom: 4px;
}
.about-link::after { content: '→'; color: var(--red); }

/* ===== PITCH ===== */
.pitch { background: var(--black); padding: 80px 24px; }
.pitch-inner { max-width: 1200px; margin: 0 auto; }
.pitch-text {
  font-family: var(--serif); font-size: clamp(18px, 3vw, 30px);
  color: var(--white); line-height: 1.85; font-weight: 400;
  border-left: 3px solid var(--red); padding-left: 32px;
}
.pitch-services {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin-top: 64px; border-top: 1px solid rgba(255,255,255,0.1);
}
.pitch-service { padding: 40px 32px; border-right: 1px solid rgba(255,255,255,0.1); transition: background 0.2s; }
.pitch-service:last-child { border-right: none; }
.pitch-service:hover { background: rgba(200,0,10,0.08); }
.pitch-service-en {
  font-family: var(--inter); font-size: 9px; font-weight: 700;
  letter-spacing: 0.2em; color: var(--red); text-transform: uppercase; margin-bottom: 12px;
}
.pitch-service-jp { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.pitch-service-desc { font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.7; }
.pitch-rank { font-family: var(--inter); font-size: 32px; font-weight: 900; color: rgba(200,0,10,0.35); line-height: 1; margin-bottom: 16px; }

/* ===== SERVICES（カード） ===== */
.services { background: var(--light-gray); }
.services-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 60px; }
.service-card {
  background: var(--white); padding: 40px 32px; border-bottom: 3px solid transparent;
  transition: border-color 0.2s, transform 0.2s; cursor: pointer; display: block;
}
.service-card:hover { border-bottom-color: var(--red); transform: translateY(-4px); }
.service-card.featured { background: var(--red); color: var(--white); }
.service-card.featured:hover { border-bottom-color: var(--red-dark); }
.service-num { font-family: var(--inter); font-size: 48px; font-weight: 900; line-height: 1; color: var(--light-gray); margin-bottom: 16px; }
.service-card.featured .service-num { color: rgba(255,255,255,0.15); }
.service-tag {
  font-family: var(--inter); font-size: 10px; font-weight: 700;
  letter-spacing: 0.2em; color: var(--red); text-transform: uppercase; margin-bottom: 8px;
}
.service-card.featured .service-tag { color: rgba(255,255,255,0.6); }
.service-name { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.service-desc { font-size: 13px; color: var(--mid-gray); line-height: 1.8; }
.service-card.featured .service-desc { color: rgba(255,255,255,0.75); }
.service-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; font-size: 12px; font-weight: 700; color: var(--red); letter-spacing: 0.05em; }
.service-card.featured .service-more { color: var(--white); }
.service-more::after { content: '→'; }

/* ===== DIFFERENCE / STRENGTH / FEATURES ===== */
.diff, .features { background: var(--white); }
.diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 60px; border: 1px solid var(--border); }
.diff-item { padding: 40px 48px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); transition: background 0.2s; }
.diff-item:nth-child(even) { border-right: none; }
.diff-item:nth-last-child(-n+2) { border-bottom: none; }
.diff-item:hover { background: #fafafa; }
.diff-num { font-family: var(--inter); font-size: 10px; font-weight: 700; letter-spacing: 0.2em; color: var(--red); margin-bottom: 16px; }
.diff-title { font-size: 17px; font-weight: 700; line-height: 1.5; margin-bottom: 10px; }
.diff-body { font-size: 13px; color: var(--mid-gray); line-height: 1.8; }

.feature-row { display: grid; grid-template-columns: 100px 1fr; gap: 32px; padding: 36px 0; border-bottom: 1px solid var(--border); }
.feature-row:first-of-type { border-top: 1px solid var(--border); }
.feature-num { font-family: var(--inter); font-size: 40px; font-weight: 900; color: var(--light-gray); }
.feature-title { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.feature-desc { font-size: 14px; color: var(--mid-gray); line-height: 1.9; }

/* ===== 対応領域 / データ形式カード ===== */
.data-types, .scope { background: var(--light-gray); }
.data-grid, .scope-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 48px; }
.data-card, .scope-card { background: var(--white); padding: 32px 24px; text-align: center; transition: transform 0.2s; }
.scope-card { text-align: left; padding: 32px 28px; }
.data-card:hover { transform: translateY(-4px); }
.data-icon, .scope-icon { font-size: 28px; margin-bottom: 16px; }
.scope-icon { font-size: 24px; }
.data-name, .scope-name { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.scope-name { font-size: 15px; margin-bottom: 10px; }
.data-desc, .scope-desc { font-size: 12px; color: var(--mid-gray); line-height: 1.7; }
.scope-desc { font-size: 13px; line-height: 1.8; }

/* ===== 問題提起（こんなお悩み） ===== */
.problem { background: var(--light-gray); }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 48px; }
.problem-card { background: var(--white); padding: 32px 28px; }
.problem-icon { font-size: 24px; margin-bottom: 16px; }
.problem-text { font-size: 14px; font-weight: 500; line-height: 1.8; }

/* ===== フロー ===== */
.flow { background: var(--off-black); }
.flow .eyebrow { color: var(--red); }
.flow .section-title { color: var(--white); }
.flow .section-sub { color: rgba(255,255,255,0.5); }
.flow-list { margin-top: 48px; display: flex; flex-direction: column; }
.flow-item { display: grid; grid-template-columns: 60px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.flow-item:last-child { border-bottom: none; }
.flow-step {
  font-family: var(--inter); font-size: 13px; font-weight: 900; color: var(--red);
  border: 1px solid var(--red); width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.flow-title { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.flow-desc { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.8; }

/* ===== こんな方に ===== */
.fit { background: var(--light-gray); }
.fit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 48px; }
.fit-card { background: var(--white); padding: 32px 28px; }
.fit-icon { font-size: 24px; margin-bottom: 16px; }
.fit-text { font-size: 14px; font-weight: 500; line-height: 1.8; }

/* ===== FAQ ===== */
.faq { background: var(--white); }
.faq-item { border-bottom: 1px solid var(--border); padding: 28px 0; }
.faq-item:first-of-type { border-top: 1px solid var(--border); }
.faq-q { display: flex; gap: 16px; font-size: 15px; font-weight: 700; color: var(--black); margin-bottom: 12px; }
.faq-q .mark { color: var(--red); font-family: var(--inter); }
.faq-a { display: flex; gap: 16px; font-size: 14px; color: var(--mid-gray); line-height: 1.9; }
.faq-a .mark { color: var(--mid-gray); font-family: var(--inter); opacity: 0.5; }

/* ===== WORKS ===== */
.works { background: var(--light-gray); }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; }
.work-card { background: var(--white); overflow: hidden; cursor: pointer; display: block; }
.work-thumb {
  aspect-ratio: 16/9; background: linear-gradient(135deg, #1a1a1a 0%, #2c0005 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--inter); font-size: 11px; font-weight: 700;
  letter-spacing: 0.15em; color: rgba(255,255,255,0.3); text-transform: uppercase;
  transition: opacity 0.2s; overflow: hidden;
}
.work-thumb img { width: 100%; height: 100%; object-fit: cover; }
.work-card:hover .work-thumb { opacity: 0.8; }
.work-body { padding: 24px; }
.work-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.work-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.05em; color: var(--red); background: rgba(200,0,10,0.07); padding: 3px 8px; }
.work-title { font-size: 14px; font-weight: 700; line-height: 1.6; color: var(--black); }
.work-client { font-size: 11px; color: var(--mid-gray); margin-top: 8px; }

/* WORKS詳細ページ用 */
.work-tags .work-tag { color: var(--white); background: rgba(200,0,10,0.6); padding: 5px 12px; font-size: 11px; }
.work-thumb-wrap { max-width: 1000px; margin: -40px auto 0; padding: 0 24px; position: relative; z-index: 3; }
.overview-table { border-top: 1px solid var(--border); margin-bottom: 60px; }
.overview-row { display: grid; grid-template-columns: 140px 1fr; padding: 18px 0; border-bottom: 1px solid var(--border); }
.overview-label { font-size: 13px; font-weight: 700; color: var(--mid-gray); }
.overview-value { font-size: 14px; color: var(--black); line-height: 1.8; }
.body-heading { font-size: 18px; font-weight: 700; margin: 40px 0 16px; }
.body-heading:first-child { margin-top: 0; }
.body-text { font-size: 14px; color: var(--dark-gray); line-height: 2; margin-bottom: 16px; }
.voice-box { background: var(--light-gray); border-left: 4px solid var(--red); padding: 28px 32px; margin: 40px 0; font-size: 14px; color: var(--dark-gray); line-height: 1.9; }
.voice-from { margin-top: 16px; font-size: 12px; color: var(--mid-gray); font-weight: 700; }
.related { background: var(--light-gray); }
.related-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--red); border-bottom: 2px solid var(--red); padding-bottom: 4px; }
.related-link::after { content: '→'; }

/* ===== INTERVIEWS / VOICE ===== */
.interview { background: var(--black); padding: 100px 24px; }
.interview-inner { max-width: 1200px; margin: 0 auto; }
.interview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; }
.interview-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); padding: 32px; }
.interview-client { font-size: 11px; color: var(--red); font-weight: 700; letter-spacing: 0.05em; margin-bottom: 12px; }
.interview-title { font-size: 15px; font-weight: 700; color: var(--white); line-height: 1.7; }
.interview-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 20px;
  font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.5); letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255,255,255,0.15); padding-bottom: 4px;
}
.interview-link::after { content: '→'; color: var(--red); }

/* ===== CTA ===== */
.cta, .cta-section { background: var(--red); padding: 90px 24px; text-align: center; }
.cta-tag {
  font-family: var(--inter); font-size: 10px; font-weight: 700;
  letter-spacing: 0.3em; color: rgba(255,255,255,0.6); text-transform: uppercase; margin-bottom: 24px;
}
.cta-title {
  font-family: var(--serif); font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 700; color: var(--white); line-height: 1.4; margin-bottom: 16px;
}
.cta-sub { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.9; margin-bottom: 36px; }
.cta-btn {
  display: inline-block; background: var(--white); color: var(--red);
  padding: 16px 44px; font-size: 14px; font-weight: 700; letter-spacing: 0.05em;
  transition: background 0.2s, transform 0.2s;
}
.cta-btn:hover { background: #f0f0f0; transform: translateY(-2px); }

/* ===== NEWS ===== */
.news, .news-section { background: var(--white); padding: 80px 24px; }
.news-inner { max-width: 1200px; margin: 0 auto; }
.news-list { margin-top: 40px; }
.news-item { display: flex; align-items: baseline; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.news-item:first-child { border-top: 1px solid var(--border); }
.news-date { font-family: var(--inter); font-size: 12px; color: var(--mid-gray); white-space: nowrap; }
.news-cat { font-size: 10px; font-weight: 700; letter-spacing: 0.05em; color: var(--red); background: rgba(200,0,10,0.07); padding: 2px 8px; white-space: nowrap; }
.news-title, .news-title-link { font-size: 14px; color: var(--black); line-height: 1.6; }
.news-title:hover, .news-title-link:hover { color: var(--red); }

/* お知らせ詳細ページ */
.article { padding: 40px 24px 0; max-width: 800px; margin: 0 auto; }
.article-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.article-date { font-family: var(--inter); font-size: 13px; color: var(--mid-gray); }
.article-cat { font-size: 11px; font-weight: 700; letter-spacing: 0.05em; color: var(--red); background: rgba(200,0,10,0.08); padding: 4px 12px; }
.article-title {
  font-family: var(--serif); font-size: clamp(22px, 3.5vw, 34px); font-weight: 700; line-height: 1.5;
  color: var(--black); padding-bottom: 32px; border-bottom: 1px solid var(--border); margin-bottom: 40px;
}
.article-thumb {
  aspect-ratio: 16/9; background: var(--light-gray); display: flex; align-items: center; justify-content: center;
  font-family: var(--inter); font-size: 12px; color: var(--mid-gray); overflow: hidden; margin-bottom: 40px;
}
.article-thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-body { font-size: 15px; color: var(--dark-gray); line-height: 2.1; }
.article-body p { margin-bottom: 24px; }
.article-body h2 { font-size: 19px; font-weight: 700; color: var(--black); margin: 40px 0 18px; padding-left: 14px; border-left: 4px solid var(--red); }
.article-body ul { margin: 0 0 24px 1.4em; }
.article-body li { margin-bottom: 8px; }
.share-row { display: flex; gap: 12px; margin: 48px 0; padding: 24px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.share-label { font-size: 12px; color: var(--mid-gray); align-self: center; margin-right: 8px; }
.share-btn { width: 36px; height: 36px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--mid-gray); font-family: var(--inter); font-weight: 700; }
.share-btn:hover { border-color: var(--red); color: var(--red); }
.pager { display: flex; justify-content: space-between; max-width: 800px; margin: 0 auto; padding: 40px 24px 60px; font-size: 13px; }
.pager a { color: var(--mid-gray); }
.pager a:hover { color: var(--red); }

/* ===== 会社概要 ===== */
.info-table { width: 100%; border-top: 1px solid var(--border); }
.info-row { display: grid; grid-template-columns: 200px 1fr; padding: 24px 0; border-bottom: 1px solid var(--border); }
.info-label { font-size: 13px; font-weight: 700; color: var(--mid-gray); letter-spacing: 0.03em; }
.info-value { font-size: 14px; color: var(--black); line-height: 1.9; }
.info-placeholder, .placeholder, .job-placeholder { color: #b8b8b8; font-style: italic; }
.history { background: var(--light-gray); }
.history-list { margin-top: 40px; }
.history-item { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.history-item:first-child { border-top: 1px solid var(--border); }
.history-date { font-family: var(--inter); font-weight: 700; font-size: 14px; color: var(--red); }
.history-text { font-size: 14px; color: var(--dark-gray); line-height: 1.8; }
.access { background: var(--white); }
.access-map-placeholder {
  aspect-ratio: 16/6; background: var(--light-gray); display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--mid-gray); margin-top: 32px; border: 1px dashed var(--border);
}
.note-box {
  background: #fff8e1; border: 1px solid #f0d97a; padding: 20px 24px; margin-bottom: 40px;
  font-size: 13px; color: #6b5900; line-height: 1.8; border-radius: 2px;
}

/* ===== 私たちについて ===== */
.mission { background: var(--light-gray); }
.mission-quote {
  font-family: var(--serif); font-size: clamp(20px, 3vw, 30px); color: var(--black);
  line-height: 1.8; font-weight: 700; border-left: 4px solid var(--red); padding-left: 32px; margin-bottom: 32px;
}
.section-body { font-size: 15px; color: var(--dark-gray); line-height: 2.1; }
.section-body p { margin-bottom: 20px; }
.pillars { background: var(--white); }
.pillar-item { display: grid; grid-template-columns: 80px 1fr; gap: 32px; padding: 40px 0; border-bottom: 1px solid var(--border); }
.pillar-item:first-of-type { border-top: 1px solid var(--border); }
.pillar-rank {
  font-family: var(--inter); font-size: 13px; font-weight: 900; color: var(--red);
  border: 1px solid var(--red); width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.pillar-name { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.pillar-desc { font-size: 14px; color: var(--mid-gray); line-height: 1.9; }
.values { background: var(--off-black); }
.values .eyebrow { color: var(--red); }
.values .section-title { color: var(--white); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 48px; }
.value-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); padding: 32px 28px; }
.value-num { font-family: var(--inter); font-size: 28px; font-weight: 900; color: rgba(200,0,10,0.5); margin-bottom: 16px; }
.value-title { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.value-desc { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.8; }
.figures { background: var(--light-gray); }
.figures-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 48px; text-align: center; }
.figure-card { background: var(--white); padding: 40px 24px; }
.figure-label { font-size: 13px; font-weight: 700; color: var(--black); margin-bottom: 10px; }
.figure-desc { font-size: 12px; color: var(--mid-gray); line-height: 1.7; }

/* ===== 採用情報 ===== */
.culture { background: var(--light-gray); }
.culture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 48px; }
.culture-card { background: var(--white); padding: 32px 28px; }
.culture-icon { font-size: 24px; margin-bottom: 16px; }
.culture-text { font-size: 14px; font-weight: 500; line-height: 1.8; }
.jobs { background: var(--white); }
.job-card { border: 1px solid var(--border); margin-bottom: 20px; }
.job-head { display: flex; align-items: center; justify-content: space-between; padding: 24px 28px; background: var(--light-gray); }
.job-title { font-size: 16px; font-weight: 700; }
.job-tag {
  font-family: var(--inter); font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  color: var(--red); background: rgba(200,0,10,0.08); padding: 5px 12px; text-transform: uppercase;
}
.job-body { padding: 28px; }
.job-row { display: grid; grid-template-columns: 140px 1fr; padding: 14px 0; border-bottom: 1px solid var(--border); }
.job-row:last-child { border-bottom: none; }
.job-label { font-size: 13px; font-weight: 700; color: var(--mid-gray); }
.job-value { font-size: 14px; color: var(--black); line-height: 1.8; }

/* ===== お問い合わせフォーム ===== */
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-bottom: 60px; }
.contact-card { background: var(--light-gray); padding: 28px; text-align: center; }
.contact-icon { font-size: 22px; margin-bottom: 12px; }
.contact-label { font-size: 11px; color: var(--mid-gray); letter-spacing: 0.05em; margin-bottom: 8px; }
.contact-value { font-size: 16px; font-weight: 700; color: var(--black); }
.form-note {
  font-size: 13px; color: var(--mid-gray); line-height: 1.9; margin-bottom: 40px;
  padding-bottom: 32px; border-bottom: 1px solid var(--border);
}
.form-group { margin-bottom: 28px; }
.form-label { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.form-hint { font-size: 12px; color: var(--mid-gray); margin-top: -4px; margin-bottom: 10px; line-height: 1.6; }
.required-badge { background: var(--red); color: var(--white); font-size: 10px; font-weight: 700; padding: 2px 8px; letter-spacing: 0.05em; border-radius: 2px; }
.optional-badge { background: var(--light-gray); color: var(--mid-gray); font-size: 10px; font-weight: 700; padding: 2px 8px; letter-spacing: 0.05em; border-radius: 2px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 14px 16px; font-size: 14px; font-family: var(--sans);
  border: 1px solid var(--border); background: var(--white); color: var(--black); transition: border-color 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--red); }
.form-textarea { resize: vertical; min-height: 160px; line-height: 1.7; }
.form-checkbox-row { display: flex; align-items: flex-start; gap: 10px; margin-top: 32px; font-size: 13px; color: var(--mid-gray); line-height: 1.8; }
.form-checkbox-row input { margin-top: 3px; }
.form-checkbox-row a { color: var(--red); text-decoration: underline; }
.form-submit {
  display: block; width: 100%; margin-top: 36px; background: var(--red); color: var(--white); border: none;
  padding: 18px; font-size: 15px; font-weight: 700; letter-spacing: 0.05em; cursor: pointer;
  transition: background 0.2s, transform 0.2s; font-family: var(--sans);
}
.form-submit:hover { background: var(--red-dark); transform: translateY(-2px); }

/* ===== プライバシーポリシー ===== */
.updated-date { font-size: 13px; color: var(--mid-gray); margin-bottom: 48px; }
.policy-intro { font-size: 14px; color: var(--dark-gray); line-height: 2; margin-bottom: 48px; }
.policy-article { margin-bottom: 44px; }
.policy-heading {
  font-size: 17px; font-weight: 700; color: var(--black); margin-bottom: 16px;
  padding-bottom: 12px; border-bottom: 2px solid var(--red); display: inline-block;
}
.policy-body { font-size: 14px; color: var(--dark-gray); line-height: 2; }
.policy-body p { margin-bottom: 14px; }
.policy-list { margin: 14px 0 14px 1.4em; }
.policy-list li { margin-bottom: 8px; }
.contact-block { background: var(--light-gray); padding: 32px; margin-top: 8px; font-size: 14px; line-height: 2; }

/* ===== FOOTER ===== */
.footer { background: var(--off-black); padding: 60px 24px 32px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .footer-logo {
  font-family: var(--inter); font-weight: 900; font-size: 16px; color: var(--white);
  display: block; margin-bottom: 16px; letter-spacing: 0.08em;
}
.footer-brand .footer-logo span { color: var(--red); }
.footer-brand img { height: 36px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 12px; color: rgba(255,255,255,0.35); line-height: 1.8; }
.footer-nav-title { font-size: 11px; font-weight: 700; letter-spacing: 0.15em; color: rgba(255,255,255,0.3); text-transform: uppercase; margin-bottom: 16px; }
.footer-nav-list { list-style: none; }
.footer-nav-list li { margin-bottom: 10px; }
.footer-nav-list a { font-size: 13px; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-nav-list a:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.25); }
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 32px; height: 32px; border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center; font-size: 12px; color: rgba(255,255,255,0.4);
  transition: border-color 0.2s, color 0.2s; font-family: var(--inter); font-weight: 700;
}
.footer-social a:hover { border-color: var(--red); color: var(--red); }

/* シンプルフッター（下層ページ用） */
.footer.simple { padding: 48px 24px; text-align: center; }
.footer.simple a { color: rgba(255,255,255,0.5); font-size: 13px; }

/* ===== FLOATING CTA ===== */
.float-btn {
  position: fixed; bottom: 32px; right: 32px; z-index: 900;
  background: var(--red); color: var(--white); padding: 14px 24px; font-size: 13px; font-weight: 700;
  letter-spacing: 0.05em; box-shadow: 0 4px 20px rgba(200,0,10,0.3); transition: transform 0.2s, box-shadow 0.2s;
}
.float-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(200,0,10,0.4); }

/* ===== WP標準コンテンツ ===== */
.site-main { padding-top: 0; }
.entry-content { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.entry-content h1, .entry-content h2, .entry-content h3 { font-family: var(--serif); font-weight: 700; margin: 1em 0 0.6em; }
.entry-content p { line-height: 1.9; margin-bottom: 1.5em; color: var(--dark-gray); }
.entry-content a { color: var(--red); border-bottom: 1px solid currentColor; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav ul { display: none; }
  .about-grid, .diff-grid, .ai-grid { grid-template-columns: 1fr; }
  .services-list, .works-grid, .interview-grid { grid-template-columns: 1fr; }
  .pitch-services { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .data-grid { grid-template-columns: 1fr 1fr; }
  .scope-grid { grid-template-columns: 1fr 1fr; }
  .problem-grid, .fit-grid, .culture-grid, .value-grid, .figures-grid { grid-template-columns: 1fr; }
  .feature-row, .pillar-item { grid-template-columns: 1fr; gap: 8px; }
  .info-row, .history-item, .overview-row, .job-row { grid-template-columns: 1fr; gap: 4px; }
  .job-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .contact-cards { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .pitch-services { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .news-item { flex-wrap: wrap; }
  .data-grid, .scope-grid { grid-template-columns: 1fr; }
}
