/*
Theme Name: LIBE LMS
Theme URI: https://libe-lms.com
Author: 株式会社メドア
Author URI: https://medoa.co.jp
Description: LIBE LMS 公式サイトテーマ
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: libe-lms
*/

/* ========== RESET & BASE ========== */
:root {
  --navy: #1A2E5A;
  --navy-light: #243D78;
  --navy-dark: #111E3A;
  --gold: #C9A84C;
  --gold-light: #E8C96A;
  --gold-pale: #FDF6E3;
  --white: #FFFFFF;
  --off-white: #F8F7F4;
  --gray: #64748B;
  --light-gray: #E8EDF5;
  --dark: #1E293B;
  --text: #334155;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(26,46,90,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201,168,76,0.3);
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1px;
}
.site-logo span { color: var(--gold); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--gold); }
.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }

/* ========== BUTTONS ========== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Noto Sans JP', sans-serif;
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.3);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--navy);
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid var(--navy);
  cursor: pointer;
  transition: all 0.2s;
}
.btn-secondary:hover { background: var(--navy); color: var(--white); }
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid rgba(255,255,255,0.4);
  transition: all 0.2s;
}
.btn-white:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

/* ========== SECTIONS ========== */
section { padding: 80px 40px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-label::before { content: ''; width: 24px; height: 2px; background: var(--gold); }
.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.8;
  max-width: 600px;
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 64px;
}
#webgl-canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(17,30,58,0.92) 0%, rgba(17,30,58,0.72) 45%, rgba(17,30,58,0.18) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
  width: 100%;
}
.hero-text { max-width: 600px; }
.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero h1 .accent { color: var(--gold); }
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  margin-bottom: 36px;
  font-weight: 300;
  max-width: 520px;
}
.hero-cta-group { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stat-item { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-num small { font-size: 18px; color: var(--gold); }
.stat-text {
  font-size: 28px;
  letter-spacing: -0.5px;
}
.stat-label { font-size: 12px; color: rgba(255,255,255,0.5); font-weight: 500; }

/* ========== PAIN ========== */
.pain { background: var(--off-white); }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.pain-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px;
  border-left: 4px solid var(--navy);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.pain-card-icon { font-size: 28px; margin-bottom: 12px; }
.pain-card h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.pain-card p { font-size: 13px; color: var(--gray); line-height: 1.7; }

/* ========== FEATURES ========== */
.features { background: var(--white); }
.features-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 64px;
}
.process-badge {
  background: var(--off-white);
  border-radius: 16px;
  padding: 28px;
}
.process-badge-label { font-size: 12px; color: var(--gold); font-weight: 700; letter-spacing: 1px; margin-bottom: 16px; }
.process-badge-tag {
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
}
.process-badge-tag strong { color: var(--gold); }
.process-badge-desc { font-size: 12px; color: var(--gray); margin-top: 12px; line-height: 1.6; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--off-white);
  border-radius: 12px;
  padding: 28px;
  border-top: 3px solid transparent;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  border-top-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.feature-card-num {
  font-family: 'Outfit', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--light-gray);
  position: absolute;
  top: 12px; right: 16px;
  line-height: 1;
}
.feature-icon {
  width: 48px; height: 48px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--gray); line-height: 1.7; }

/* ========== TARGET ========== */
.target { background: var(--navy); }
.target .section-title { color: var(--white); }
.target .section-desc { color: rgba(255,255,255,0.6); }
.target-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.target-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  transition: all 0.3s;
}
.target-card:hover { background: rgba(201,168,76,0.08); border-color: var(--gold); transform: translateY(-4px); }
.target-icon { font-size: 36px; margin-bottom: 12px; }
.target-card h3 { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.target-card ul { list-style: none; text-align: left; }
.target-card ul li { font-size: 12px; color: rgba(255,255,255,0.6); padding: 4px 0; padding-left: 12px; position: relative; }
.target-card ul li::before { content: '›'; position: absolute; left: 0; color: var(--gold); }

/* ========== PRICING ========== */
.pricing { background: var(--off-white); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.pricing-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  position: relative;
  border: 2px solid transparent;
  transition: all 0.3s;
}
.pricing-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.pricing-card.featured { border-color: var(--navy); background: var(--navy); }
.pricing-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.pricing-plan { font-size: 12px; font-weight: 700; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }
.pricing-name { font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.pricing-card.featured .pricing-name { color: var(--white); }
.pricing-per-user { font-family: 'Outfit', sans-serif; font-size: 48px; font-weight: 800; color: var(--navy); line-height: 1; margin: 8px 0 4px; }
.pricing-card.featured .pricing-per-user { color: var(--gold); }
.per-user-num { font-size: 56px; }
.pricing-per-user small { font-size: 14px; font-weight: 500; color: var(--gray); vertical-align: middle; margin-left: 2px; }
.pricing-card.featured .pricing-per-user small { color: rgba(255,255,255,0.6); }
.pricing-price { margin-bottom: 4px; }
.pricing-price .amount { font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 700; color: var(--navy); }
.pricing-card.featured .pricing-price .amount { color: var(--white); }
.pricing-price .unit { font-size: 13px; color: var(--gray); margin-left: 4px; }
.pricing-card.featured .pricing-price .unit { color: rgba(255,255,255,0.6); }
.pricing-initial { font-size: 13px; color: var(--gray); margin-bottom: 20px; }
.pricing-card.featured .pricing-initial { color: rgba(255,255,255,0.6); }
.pricing-min-note { font-size: 11px; color: var(--gray); margin-top: 6px; margin-bottom: 8px; }
.pricing-card.featured .pricing-min-note { color: rgba(255,255,255,0.5); }
.pricing-price .amount.small { font-size: 16px; font-weight: 700; line-height: 1.4; }
.pricing-divider { height: 1px; background: var(--light-gray); margin-bottom: 20px; }
.pricing-card.featured .pricing-divider { background: rgba(255,255,255,0.1); }
.pricing-features { list-style: none; }
.pricing-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text); padding: 6px 0; }
.pricing-card.featured .pricing-features li { color: rgba(255,255,255,0.85); }
.pricing-features li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ========== FLOW ========== */
.flow { background: var(--white); }
.flow-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 48px; position: relative; }
.flow-steps::before {
  content: '';
  position: absolute;
  top: 40px; left: 12%; right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--gold) 100%);
  z-index: 0;
}
.flow-step { text-align: center; padding: 0 16px; position: relative; z-index: 1; }
.flow-num {
  width: 80px; height: 80px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 2px var(--navy);
}
.flow-step:last-child .flow-num { background: var(--gold); box-shadow: 0 0 0 2px var(--gold); }
.flow-num-text { font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 800; color: var(--white); }
.flow-step:last-child .flow-num-text { color: var(--navy); }
.flow-step h3 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.flow-step p { font-size: 12px; color: var(--gray); line-height: 1.6; }

/* ========== NEWS ========== */
.news-section { background: var(--off-white); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.news-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.12); }
.news-card-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--light-gray);
}
.news-card-thumb-placeholder {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}
.news-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.news-card-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.news-card-date { font-size: 12px; color: var(--gray); }
.news-card-cat {
  background: var(--navy);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
}
.news-card h3 { font-size: 15px; font-weight: 700; color: var(--dark); line-height: 1.5; margin-bottom: 8px; }
.news-card p { font-size: 13px; color: var(--gray); line-height: 1.6; flex: 1; }
.news-card-link { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--navy); margin-top: 12px; }
.news-card-link:hover { color: var(--gold); }
.news-all-link { display: flex; justify-content: center; margin-top: 40px; }

/* ========== CASE STUDIES ========== */
.cases-section { background: var(--white); }
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.case-card {
  background: var(--off-white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--light-gray);
  transition: all 0.3s;
}
.case-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); border-color: var(--gold); }
.case-card-thumb {
  width: 100%; height: 180px;
  object-fit: cover;
  background: var(--light-gray);
}
.case-card-thumb-placeholder {
  width: 100%; height: 180px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
}
.case-card-body { padding: 24px; }
.case-card-industry {
  display: inline-block;
  background: var(--gold-pale);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  border: 1px solid var(--gold);
}
.case-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; line-height: 1.4; }
.case-card p { font-size: 13px; color: var(--gray); line-height: 1.6; margin-bottom: 16px; }
.case-result {
  display: flex;
  gap: 16px;
  padding: 12px;
  background: var(--white);
  border-radius: 8px;
  margin-bottom: 12px;
}
.case-result-item { text-align: center; flex: 1; }
.case-result-num { font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 800; color: var(--navy); }
.case-result-num span { font-size: 13px; color: var(--gold); }
.case-result-label { font-size: 10px; color: var(--gray); }
.case-card-link { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--navy); }
.case-card-link:hover { color: var(--gold); }

/* ========== CONTACT ========== */
.contact { background: var(--off-white); text-align: center; }
.contact-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
.contact-info-panel { background: var(--navy); border-radius: 16px; padding: 32px 24px; color: var(--white); }
.contact-info-title { font-size: 13px; color: var(--gold); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.contact-phone { display: block; font-family: 'Outfit', sans-serif; font-size: 24px; font-weight: 800; color: var(--white); text-decoration: none; margin-bottom: 6px; }
.contact-phone:hover { color: var(--gold); }
.contact-hours { font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 20px; }
.contact-divider { height: 1px; background: rgba(255,255,255,0.1); margin-bottom: 20px; }
.contact-detail-rows { display: flex; flex-direction: column; gap: 14px; }
.contact-detail-row { display: flex; flex-direction: column; gap: 3px; }
.contact-detail-label { font-size: 11px; color: var(--gold); font-weight: 600; letter-spacing: 0.5px; }
.contact-detail-value { font-size: 13px; color: rgba(255,255,255,0.8); }
.contact-form-panel {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
  border-top: 4px solid var(--gold);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-label { font-size: 13px; font-weight: 600; color: var(--navy); display: flex; align-items: center; gap: 6px; }
.form-required { background: var(--navy); color: white; font-size: 10px; padding: 1px 6px; border-radius: 3px; font-weight: 700; }
.form-input, .form-select, .form-textarea {
  border: 1.5px solid var(--light-gray);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--dark);
  background: var(--off-white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,46,90,0.1);
  background: white;
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-submit-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.form-privacy { font-size: 11px; color: var(--gray); line-height: 1.5; }
.form-privacy a { color: var(--gold); }
.form-submit-btn { white-space: nowrap; flex-shrink: 0; background: var(--gold); color: var(--navy); padding: 14px 28px; border-radius: 6px; font-weight: 700; font-size: 15px; border: 2px solid var(--gold); cursor: pointer; transition: all 0.2s; font-family: 'Noto Sans JP', sans-serif; }
.form-submit-btn:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); }
.form-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-success { display: none; margin-top: 16px; padding: 14px 18px; background: #EFF9F3; border: 1.5px solid #6DD5A0; border-radius: 8px; font-size: 14px; color: #1A6B3A; font-weight: 600; }

/* contact-layout-new */
.contact-layout-new {
  max-width: 700px;
  margin: 40px auto 0;
  text-align: left;
}
.contact-lead {
  font-size: 16px;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 24px;
  text-align: center;
}
.contact-sub-info {
  margin-top: 20px;
  padding: 14px 20px;
  background: var(--off-white);
  border-radius: 8px;
  font-size: 13px;
  color: var(--gray);
  text-align: center;
}
.contact-sub-info a { color: var(--navy); font-weight: 600; }
.contact-sub-info a:hover { color: var(--gold); }

/* ========== FOOTER ========== */
.site-footer {
  background: var(--navy-dark);
  padding: 48px 40px 32px;
  border-top: 1px solid rgba(201,168,76,0.2);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
  margin-bottom: 32px;
}
.footer-logo { font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.footer-logo span { color: var(--gold); }
.footer-desc { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.6; max-width: 320px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 32px; align-items: start; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.5); transition: color 0.2s; text-align: right; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06); display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); }

/* ========== ARCHIVE PAGE ========== */
.page-hero {
  background: var(--navy);
  padding: 120px 40px 60px;
  text-align: center;
}
.page-hero h1 { font-family: 'Outfit', sans-serif; font-size: 40px; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.page-hero p { font-size: 16px; color: rgba(255,255,255,0.6); }
.archive-section { padding: 60px 40px; background: var(--off-white); min-height: 400px; }
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.no-posts { text-align: center; padding: 80px 20px; color: var(--gray); font-size: 16px; }

/* ========== SINGLE PAGE ========== */
.single-hero { background: var(--navy); padding: 120px 40px 60px; }
.single-hero .container { max-width: 800px; }
.single-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.single-date { font-size: 13px; color: rgba(255,255,255,0.5); }
.single-cat { background: var(--gold); color: var(--navy); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 3px; }
.single-hero h1 { font-family: 'Outfit', sans-serif; font-size: clamp(24px, 3vw, 40px); font-weight: 700; color: var(--white); line-height: 1.3; }
.single-content { padding: 60px 40px; background: var(--white); }
.single-content .container { max-width: 800px; }
.single-content .entry-content { font-size: 16px; line-height: 1.9; color: var(--text); }
.single-content .entry-content h2 { font-size: 24px; font-weight: 700; color: var(--navy); margin: 40px 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--gold); }
.single-content .entry-content h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin: 32px 0 12px; }
.single-content .entry-content p { margin-bottom: 20px; }
.single-content .entry-content ul, .single-content .entry-content ol { padding-left: 24px; margin-bottom: 20px; }
.single-content .entry-content li { margin-bottom: 8px; }
.single-content .entry-content img { border-radius: 8px; margin: 24px 0; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--navy); margin-top: 40px; padding: 10px 0; border-top: 1px solid var(--light-gray); }
.back-link:hover { color: var(--gold); }

/* entry-content 内のテーブル */
.entry-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.entry-content th { background: var(--navy); color: var(--white); text-align: left; padding: 12px 16px; font-weight: 600; font-size: 14px; white-space: nowrap; }
.entry-content td { padding: 12px 16px; border-bottom: 1px solid var(--light-gray); vertical-align: top; line-height: 1.7; }
.entry-content tr:last-child td { border-bottom: none; }
.entry-content tr:nth-child(even) td { background: var(--off-white); }

/* ========== BREADCRUMB ========== */
.breadcrumb { padding: 12px 40px; background: var(--off-white); border-bottom: 1px solid var(--light-gray); }
.breadcrumb ol { list-style: none; display: flex; align-items: center; gap: 8px; max-width: 1200px; margin: 0 auto; }
.breadcrumb li { font-size: 13px; color: var(--gray); }
.breadcrumb li a { color: var(--navy); }
.breadcrumb li a:hover { color: var(--gold); }
.breadcrumb li + li::before { content: '›'; margin-right: 8px; color: var(--gray); }

/* ========== HAMBURGER & MOBILE NAV ========== */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--navy-dark);
  border-bottom: 2px solid rgba(201,168,76,0.3);
  flex-direction: column;
  padding: 8px 0 16px;
  z-index: 99;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.nav-mobile a {
  display: block;
  padding: 14px 24px;
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.2s, color 0.2s;
}
.nav-mobile a:hover { background: rgba(255,255,255,0.05); color: var(--gold); }
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile__cta {
  margin: 12px 24px 0;
  background: var(--gold) !important;
  color: var(--navy) !important;
  border-radius: 4px;
  font-weight: 700 !important;
  text-align: center;
  border-bottom: none !important;
}
.nav-mobile__cta:hover { background: var(--gold-light) !important; }
.nav-mobile.is-open { display: flex; }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .site-header { padding: 0 20px; }
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  section { padding: 60px 20px; }
  .hero-content { padding: 60px 20px; }
  .pain-grid, .features-grid, .cases-grid, .news-grid { grid-template-columns: 1fr; }
  .target-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .features-header { grid-template-columns: 1fr; gap: 32px; }
  .flow-steps { grid-template-columns: 1fr 1fr; }
  .flow-steps::before { display: none; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-submit-row { flex-direction: column; align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { align-items: flex-start; }
  .archive-grid { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: 100px 20px 40px; }
  .breadcrumb { padding: 12px 20px; }
}
@media (max-width: 600px) {
  .archive-grid { grid-template-columns: 1fr; }
}
