/*
Theme Name: ZETA LOGI 2026
Theme URI: https://www.kantan-wms.com/
Author: ZETA LOGI (built with Claude)
Description: ゼータロジ（EC・ネット通販専門クラウドWMS）PRサイト用カスタムテーマ。高CVR設計・CV計測内蔵。
Version: 1.0.2
Requires PHP: 7.4
License: Proprietary
Text Domain: zetalogi2026
*/

:root {
  --blue: #1a4f9c;
  --blue-dark: #123a75;
  --blue-light: #eaf1fb;
  --accent: #ff8800;
  --accent-dark: #e07300;
  --ink: #1c2430;
  --gray: #5b6674;
  --line: #dde4ec;
  --bg-soft: #f6f9fc;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif; color: var(--ink); line-height: 1.8; font-size: 16px; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.section-title { font-size: 32px; line-height: 1.4; text-align: center; margin-bottom: 12px; letter-spacing: 0.02em; }
.lead { text-align: center; color: var(--gray); margin-bottom: 48px; font-size: 16px; }
section.block { padding: 72px 0; }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; background: rgba(255,255,255,0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); z-index: 100; }
.header-inner { display: flex; align-items: center; gap: 24px; height: 64px; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.logo { font-size: 21px; font-weight: 800; color: var(--blue); letter-spacing: 0.04em; white-space: nowrap; text-decoration: none; }
.logo small { display: block; font-size: 10px; font-weight: 600; color: var(--gray); letter-spacing: 0.08em; }
.gnav { display: flex; gap: 20px; margin-left: auto; }
.gnav a { text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 600; }
.gnav a:hover { color: var(--blue); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.btn { display: inline-block; text-decoration: none; font-weight: 700; border-radius: 8px; text-align: center; transition: all .2s; }
.btn-outline { border: 2px solid var(--blue); color: var(--blue); padding: 8px 18px; font-size: 14px; background: #fff; }
.btn-outline:hover { background: var(--blue-light); }
.btn-primary { background: var(--accent); color: #fff !important; padding: 10px 20px; font-size: 14px; box-shadow: 0 3px 10px rgba(255,136,0,.35); }
.btn-primary:hover { background: var(--accent-dark); }
.login-link { font-size: 12px; color: var(--gray); text-decoration: none; white-space: nowrap; }
.menu-toggle { display: none; }

/* ===== Hero ===== */
.hero { background: linear-gradient(135deg, #10305e 0%, #1a4f9c 55%, #2d6cc4 100%); color: #fff; padding: 84px 0 68px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -80px; width: 480px; height: 480px; border-radius: 50%; background: rgba(255,255,255,0.05); }
.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: 42px; line-height: 1.45; font-weight: 800; margin-bottom: 20px; letter-spacing: 0.01em; }
.hero h1 .num { color: #ffd98a; }
.hero p.sub { font-size: 17px; opacity: .92; margin-bottom: 30px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.btn-hero-dl { background: var(--accent); color: #fff !important; padding: 16px 30px; font-size: 17px; box-shadow: 0 4px 16px rgba(0,0,0,.25); }
.btn-hero-dl:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-hero-sub { background: rgba(255,255,255,.14); border: 1.5px solid rgba(255,255,255,.7); color: #fff !important; padding: 16px 30px; font-size: 17px; }
.btn-hero-sub:hover { background: rgba(255,255,255,.24); }
.trust-bar { display: flex; gap: 26px; flex-wrap: wrap; }
.trust-item { font-size: 13px; opacity: .9; }
.trust-item b { display: block; font-size: 21px; font-weight: 800; color: #ffd98a; line-height: 1.3; }
.hero-visual { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); border-radius: 14px; padding: 24px; text-align: center; }
.hero-visual .ph { background: rgba(255,255,255,.12); border: 1.5px dashed rgba(255,255,255,.4); border-radius: 10px; padding: 56px 16px; font-size: 13px; opacity: .85; }
.hero-visual img { border-radius: 10px; }

/* ===== 実績バンド ===== */
.stats-band { background: #fff; border-bottom: 1px solid var(--line); padding: 34px 0; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.stat b { display: block; font-size: 26px; font-weight: 800; color: var(--blue); line-height: 1.3; }
.stat span { font-size: 12.5px; color: var(--gray); }

/* ===== 悩み ===== */
.bg-soft { background: var(--bg-soft); }
.card3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.n-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 30px 26px; }
.n-card .icon { font-size: 34px; margin-bottom: 12px; }
.n-card h3 { font-size: 18px; margin-bottom: 10px; line-height: 1.5; }
.n-card p { font-size: 14px; color: var(--gray); }
.nayami-close { text-align: center; margin-top: 44px; font-size: 20px; font-weight: 700; }
.nayami-close span { background: linear-gradient(transparent 65%, #ffe3a3 65%); }

/* ===== 理由 ===== */
.riyu-item { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; padding: 40px 0; }
.riyu-item.rev .riyu-text { order: 2; }
.riyu-num { font-size: 13px; font-weight: 800; color: var(--blue); letter-spacing: .15em; margin-bottom: 8px; }
.riyu-text h3 { font-size: 26px; line-height: 1.5; margin-bottom: 14px; }
.riyu-text p { font-size: 15px; color: var(--gray); }
.riyu-visual { background: var(--blue-light); border-radius: 12px; padding: 28px; }
.cost-compare { background: #fff; border-radius: 10px; padding: 20px; }
.cost-row { margin-bottom: 14px; }
.cost-label { font-size: 12px; font-weight: 700; margin-bottom: 4px; }
.bar { height: 26px; border-radius: 5px; position: relative; }
.bar span { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 12px; font-weight: 700; color: #fff; }
.bar-var-1 { width: 45%; background: #9db4d4; }
.bar-var-2 { width: 100%; background: #6f8ebd; }
.bar-fix { width: 38%; background: var(--blue); }
.cost-note { font-size: 11px; color: var(--gray); margin-top: 8px; }
.ph-box { background: #fff; border: 1.5px dashed var(--line); border-radius: 10px; padding: 60px 20px; text-align: center; font-size: 13px; color: var(--gray); }

/* ===== 事例 ===== */
.case-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; }
.case-num { font-size: 20px; font-weight: 800; color: var(--blue); line-height: 1.5; margin-bottom: 12px; }
.case-quote { font-size: 14px; color: var(--gray); flex: 1; margin-bottom: 16px; }
.case-company { font-size: 13px; font-weight: 700; border-top: 1px solid var(--line); padding-top: 14px; }
.case-company small { display: block; font-weight: 400; color: var(--gray); }
.case-more { text-align: center; margin-top: 36px; }

/* ===== 機能 ===== */
.func-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.func-card { border: 1px solid var(--line); border-radius: 12px; padding: 24px 22px; background: #fff; }
.func-card .icon { font-size: 28px; margin-bottom: 8px; }
.func-card h3 { font-size: 16px; margin-bottom: 6px; }
.func-card p { font-size: 13px; color: var(--gray); }

/* ===== 料金 ===== */
.price-sec { background: linear-gradient(135deg, #10305e, #1a4f9c); color: #fff; }
.price-sec .section-title, .price-sec .lead { color: #fff; }
.price-sec .lead { opacity: .85; }
.price-card { background: #fff; color: var(--ink); border-radius: 16px; max-width: 560px; margin: 0 auto; padding: 44px 48px; text-align: center; box-shadow: 0 12px 40px rgba(0,0,0,.25); }
.price-amount { font-size: 56px; font-weight: 800; color: var(--blue); line-height: 1.2; }
.price-amount small { font-size: 20px; }
.price-tax { color: var(--gray); font-size: 13px; margin-bottom: 20px; }
.price-features { text-align: left; margin: 0 auto 26px; max-width: 380px; font-size: 14px; list-style: none; }
.price-features li { padding: 7px 0 7px 28px; position: relative; border-bottom: 1px dashed var(--line); }
.price-features li::before { content: "✓"; position: absolute; left: 4px; color: var(--accent); font-weight: 800; }

/* ===== 代表メッセージ ===== */
.founder { display: grid; grid-template-columns: 200px 1fr; gap: 36px; align-items: start; max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 40px; }
.founder .ph-box { padding: 70px 10px; }
.founder h3 { font-size: 20px; margin-bottom: 12px; }
.founder p { font-size: 14.5px; color: var(--gray); margin-bottom: 10px; }
.founder .sign { text-align: right; font-weight: 700; color: var(--ink); }

/* ===== 流れ ===== */
.flow-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.flow-step { text-align: center; padding: 30px 22px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.flow-step .step-n { display: inline-block; background: var(--blue); color: #fff; font-weight: 800; font-size: 13px; border-radius: 999px; padding: 3px 16px; margin-bottom: 14px; }
.flow-step h3 { font-size: 17px; margin-bottom: 8px; }
.flow-step p { font-size: 13px; color: var(--gray); }

/* ===== FAQ ===== */
.faq-wrap { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); padding: 20px 4px; }
.faq-q { font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.faq-q::before { content: "Q. "; color: var(--blue); font-weight: 800; }
.faq-a { font-size: 14px; color: var(--gray); }
.faq-a::before { content: "A. "; color: var(--accent); font-weight: 800; }

/* ===== Final CTA ===== */
.final-cta { background: var(--bg-soft); text-align: center; }
.final-cta .section-title { margin-bottom: 8px; }
.final-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-big-dl { background: var(--accent); color: #fff !important; padding: 18px 40px; font-size: 18px; box-shadow: 0 4px 14px rgba(255,136,0,.4); }
.btn-big-sub { border: 2px solid var(--blue); color: var(--blue); padding: 18px 40px; font-size: 18px; background: #fff; }
.final-note { margin-top: 18px; font-size: 13px; color: var(--gray); }

/* ===== Footer ===== */
.site-footer { background: #10233f; color: #b9c5d6; padding: 44px 0 28px; font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: #b9c5d6; text-decoration: none; margin-right: 18px; }
.site-footer a:hover { color: #fff; }
.footer-brand { font-weight: 800; color: #fff; margin-bottom: 8px; }
.copyright { margin-top: 24px; font-size: 11px; opacity: .6; }

/* ===== 記事・固定ページ ===== */
.entry-wrap { max-width: 780px; margin: 0 auto; padding: 48px 24px 72px; }
.entry-header { margin-bottom: 32px; }
.entry-title { font-size: 30px; line-height: 1.5; margin-bottom: 12px; }
.entry-meta { font-size: 13px; color: var(--gray); }
.entry-meta a { color: var(--gray); }
.breadcrumb { font-size: 12px; color: var(--gray); margin-bottom: 16px; }
.breadcrumb a { color: var(--gray); text-decoration: none; }
.entry-content h2 { font-size: 24px; line-height: 1.5; margin: 44px 0 18px; padding: 10px 16px; background: var(--blue-light); border-left: 5px solid var(--blue); border-radius: 4px; }
.entry-content h3 { font-size: 19px; margin: 34px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--line); }
.entry-content h4 { font-size: 17px; margin: 28px 0 12px; }
.entry-content p { margin-bottom: 1.4em; }
.entry-content ul, .entry-content ol { margin: 0 0 1.4em 1.6em; }
.entry-content li { margin-bottom: .4em; }
.entry-content blockquote { border-left: 4px solid var(--line); background: var(--bg-soft); padding: 16px 20px; margin: 0 0 1.4em; border-radius: 0 8px 8px 0; color: var(--gray); }
.entry-content img { border-radius: 8px; margin: 8px 0; }
.entry-content table { border-collapse: collapse; width: 100%; margin-bottom: 1.4em; font-size: 14px; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 12px; }
.entry-content th { background: var(--blue-light); }
.entry-content a { color: var(--blue); }

/* 記事末尾CTA */
.article-cta { background: var(--blue-light); border: 1px solid #c9dbf3; border-radius: 12px; padding: 28px; margin-top: 48px; text-align: center; }
.article-cta h3 { font-size: 19px; margin-bottom: 8px; }
.article-cta p { font-size: 14px; color: var(--gray); margin-bottom: 18px; }

/* アイキャッチ */
.entry-thumb { margin-bottom: 28px; }
.entry-thumb img { border-radius: 10px; width: 100%; height: auto; }

/* アーカイブ */
.archive-wrap { max-width: 900px; margin: 0 auto; padding: 48px 24px 72px; }
.archive-title { font-size: 26px; margin-bottom: 32px; }
.post-list { display: grid; gap: 18px; }
.post-item { border: 1px solid var(--line); border-radius: 12px; padding: 22px 26px; display: flex; gap: 20px; align-items: flex-start; }
.post-item .thumb { flex: 0 0 168px; display: block; }
.post-item .thumb img { width: 168px; height: 112px; object-fit: cover; border-radius: 8px; }
.post-item-body { flex: 1; min-width: 0; }
.post-item a.title { font-size: 18px; font-weight: 700; text-decoration: none; color: var(--ink); }
.post-item a.title:hover { color: var(--blue); }
.post-item .meta { font-size: 12px; color: var(--gray); margin-top: 6px; }
.post-item .excerpt { font-size: 14px; color: var(--gray); margin-top: 8px; }
.pagination { margin-top: 36px; text-align: center; font-size: 14px; }
.pagination .page-numbers { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 6px; margin: 0 3px; text-decoration: none; }
.pagination .current { background: var(--blue); color: #fff; border-color: var(--blue); }

/* 404 */
.error404-wrap { text-align: center; padding: 100px 24px; }

@media (max-width: 640px) {
  .post-item { flex-direction: column; }
  .post-item .thumb, .post-item .thumb img { width: 100%; flex: none; }
  .post-item .thumb img { height: 160px; }
}

@media (max-width: 820px) {
  .gnav { display: none; }
  .login-link { display: none; }
  .hero-inner, .riyu-item, .founder { grid-template-columns: 1fr; }
  .riyu-item.rev .riyu-text { order: 0; }
  .card3, .func-grid, .flow-steps { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .hero h1 { font-size: 30px; }
  .section-title { font-size: 24px; }
  .entry-title { font-size: 24px; }
  .price-card { padding: 32px 24px; }
}
