/*
Theme Name: 3DXscan
Theme URI: https://3d-scan.jp/
Author: 3DXscan
Author URI: https://3d-scan.jp/
Description: 3DGS機材レンタル・販売・撮影代行サービス「3D-Scan」の独自テーマ
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: 3dxscan
*/

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
  --color-primary: #2E75B6;
  --color-primary-dark: #1E3A5F;
  --color-accent: #E8A020;
  --color-accent-red: #E04020;
  --color-green: #1A6B4A;
  --color-green-light: #0D3B2E;
  --color-purple: #6B3FA0;
  --color-purple-dark: #2D1B4E;
  --color-text: #333;
  --color-text-light: #555;
  --color-text-muted: #888;
  --color-bg: #F8F9FA;
  --color-bg-alt: #EEF2F7;
  --color-border: #E0E0E0;
  --color-white: #fff;
  --font-family: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  --header-height: 70px;
  --max-width: 1100px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-white);
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.8;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.4;
  font-weight: bold;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  background: var(--color-primary-dark);
  color: var(--color-white);
  border-top: 3px solid var(--color-accent);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
}

.site-logo a {
  color: var(--color-white);
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.site-logo .logo-sub {
  display: block;
  font-size: 11px;
  opacity: 0.6;
  font-weight: normal;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-menu {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-menu li a {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  padding: 8px 0;
  transition: color 0.2s;
}

.nav-menu li a:hover,
.nav-menu li.current-menu-item a {
  color: var(--color-white);
  opacity: 1;
}

.header-cta {
  background: var(--color-accent);
  color: var(--color-white);
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: bold;
  display: inline-block;
  transition: background 0.2s;
}

.header-cta:hover {
  background: #d4911a;
  opacity: 1;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: var(--color-white);
  padding: 70px 20px;
  text-align: center;
}

.hero .catch {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 14px;
  line-height: 1.5;
}

.hero .sub {
  font-size: 16px;
  opacity: 0.85;
  margin-bottom: 30px;
}

.hero .placeholder-img {
  background: rgba(255,255,255,0.15);
  border: 2px dashed rgba(255,255,255,0.4);
  border-radius: 8px;
  height: 80px;
  margin: 0 auto 24px;
  max-width: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  opacity: 0.7;
}

.btn-group {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  padding: 12px 28px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  display: inline-block;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
  box-shadow: 0 3px 8px rgba(232,160,32,0.4);
}

.btn-primary:hover {
  background: #d4911a;
  opacity: 1;
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
  padding: 12px 28px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  display: inline-block;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  opacity: 1;
}

.btn-secondary {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: bold;
  display: inline-block;
  transition: background 0.2s;
}

.btn-secondary:hover {
  background: #2565a0;
  opacity: 1;
}

.btn-green {
  background: var(--color-green);
  color: var(--color-white);
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: bold;
  display: inline-block;
}

.btn-line {
  background: #06C755;
  color: var(--color-white);
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: bold;
  display: inline-block;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

/* ==========================================================================
   Section Common
   ========================================================================== */
.section {
  padding: 60px 0;
}

.section--alt {
  background: var(--color-bg);
}

.section--green-light {
  background: #F1F8F1;
}

.section-title {
  font-size: 22px;
  color: var(--color-primary-dark);
  text-align: center;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 14px;
  color: var(--color-text-light);
  text-align: center;
  margin-bottom: 36px;
}

.section-lead {
  max-width: 600px;
  margin: 0 auto 30px;
  text-align: center;
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.9;
}

/* ==========================================================================
   Service Intro
   ========================================================================== */
.service-intro {
  text-align: center;
  padding: 50px 20px;
  background: var(--color-bg);
}

.service-intro h2 {
  font-size: 20px;
  color: var(--color-primary-dark);
  margin-bottom: 12px;
}

.service-intro p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.9;
  max-width: 560px;
  margin: 0 auto 14px;
}

.service-intro .link-3dgs {
  font-size: 13px;
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-primary);
}

/* ==========================================================================
   Equipment Cards
   ========================================================================== */
.equipment-section {
  padding: 50px 0;
}

.equipment-brand {
  font-size: 13px;
  font-weight: bold;
  color: var(--color-primary);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-primary);
}

.equipment-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border: 2px dashed #CBD5E0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.equipment-card .img-ph {
  width: 160px;
  min-width: 160px;
  height: 110px;
  background: var(--color-bg-alt);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #90A4AE;
}

.equipment-card h3 {
  font-size: 16px;
  color: var(--color-primary-dark);
  margin-bottom: 6px;
}

.equipment-card p {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.equipment-card .price {
  font-size: 16px;
  font-weight: bold;
  color: var(--color-accent);
  margin-bottom: 10px;
}

/* Plan Cards (L2 Pro) */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.plan-card {
  border: 2px dashed #CBD5E0;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  position: relative;
}

.plan-card--light {
  border-top: 4px solid #64B5F6;
}

.plan-card--standard {
  border-top: 4px solid var(--color-primary);
  box-shadow: 0 4px 16px rgba(46,117,182,0.18);
}

.plan-card--pro {
  border-top: 4px solid var(--color-primary-dark);
}

.plan-card .badge {
  position: absolute;
  top: 10px;
  right: 10px;
  color: var(--color-white);
  font-size: 10px;
  font-weight: bold;
  padding: 2px 10px;
  border-radius: 10px;
}

.plan-card .img-ph {
  background: var(--color-bg-alt);
  height: 100px;
  border-radius: 6px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #90A4AE;
}

.plan-card h4 {
  font-size: 15px;
  color: var(--color-primary-dark);
  margin-bottom: 6px;
}

.plan-card p {
  font-size: 12px;
  color: #666;
  margin-bottom: 10px;
}

.plan-card ul {
  text-align: left;
  font-size: 12px;
  color: var(--color-text-light);
  padding-left: 16px;
  margin-bottom: 12px;
  line-height: 2;
  list-style: disc;
}

.plan-card .price {
  font-size: 16px;
  font-weight: bold;
  color: var(--color-accent);
  margin-bottom: 10px;
}

/* ==========================================================================
   Steps / Flow
   ========================================================================== */
.steps {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px 0;
}

.step {
  text-align: center;
  flex: 1;
  min-width: 100px;
}

.step-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  border: 2px solid var(--color-primary);
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  color: var(--color-primary);
}

.step-label {
  font-size: 12px;
  color: var(--color-text-light);
  line-height: 1.5;
}

.step-arrow {
  color: #CBD5E0;
  font-size: 22px;
  flex-shrink: 0;
}

/* Flow steps (vertical) */
.flow-steps {
  max-width: 640px;
  margin: 0 auto;
}

.flow-step {
  display: flex;
  gap: 18px;
  margin-bottom: 10px;
  align-items: flex-start;
}

.flow-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: bold;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.flow-num--purple {
  background: var(--color-purple);
}

.flow-content h4 {
  font-size: 15px;
  color: var(--color-primary-dark);
  margin-bottom: 4px;
}

.flow-content p {
  font-size: 13px;
  color: #666;
}

.flow-connector {
  width: 2px;
  height: 16px;
  background: #CBD5E0;
  margin: 4px 0 4px 19px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-category {
  font-size: 15px;
  font-weight: bold;
  color: var(--color-primary);
  margin: 24px 0 12px;
  border-left: 4px solid var(--color-primary);
  padding-left: 10px;
}

.faq-item {
  border: 1px solid #DDD;
  border-radius: 6px;
  margin-bottom: 8px;
  overflow: hidden;
}

.faq-question {
  background: var(--color-bg);
  padding: 14px 16px;
  font-size: 14px;
  font-weight: bold;
  color: var(--color-primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.faq-question:hover {
  background: #EDF2F7;
}

.faq-question .toggle-icon {
  color: var(--color-primary);
  font-size: 14px;
  transition: transform 0.3s;
}

.faq-item.active .faq-question .toggle-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 16px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 14px;
  color: #444;
  line-height: 1.8;
  border-top: 1px solid #EEE;
}

.faq-item.active .faq-answer {
  padding: 14px 16px;
  max-height: 500px;
}

/* Simple FAQ (top page excerpt) */
.faq-simple .faq-q {
  font-size: 14px;
  font-weight: bold;
  color: var(--color-primary-dark);
  margin-bottom: 4px;
}

.faq-simple .faq-q::before {
  content: 'Q. ';
  color: var(--color-primary);
}

.faq-simple .faq-a {
  font-size: 13px;
  color: #666;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #EEE;
}

.faq-simple .faq-a::before {
  content: 'A. ';
  color: var(--color-accent);
  font-weight: bold;
}

/* ==========================================================================
   Use Cases
   ========================================================================== */
.use-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.use-case {
  background: var(--color-bg-alt);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}

.use-case--green {
  background: #F0FFF4;
}

.use-case .icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.use-case h5 {
  font-size: 13px;
  color: var(--color-primary-dark);
  margin-bottom: 4px;
}

.use-case p {
  font-size: 12px;
  color: #666;
}

/* ==========================================================================
   Spec Table
   ========================================================================== */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.spec-table th {
  background: var(--color-primary-dark);
  color: var(--color-white);
  padding: 10px 14px;
  text-align: left;
}

.spec-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #EEE;
}

.spec-table tr:nth-child(even) td {
  background: #F5F8FF;
}

/* ==========================================================================
   Price Grid (7-day)
   ========================================================================== */
.price-grid-7 {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}

.price-cell {
  border: 1px solid #CCC;
  border-radius: 6px;
  text-align: center;
  padding: 10px 4px;
  background: var(--color-white);
}

.price-cell--active {
  border-color: var(--color-primary);
  background: #EEF7FF;
}

.price-cell--popular {
  border: 2px solid var(--color-accent);
  background: #FFFBF0;
  position: relative;
}

.price-cell--popular .popular-label {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 9px;
  font-weight: bold;
  padding: 1px 8px;
  border-radius: 8px;
  white-space: nowrap;
}

.price-cell .day-label {
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 4px;
}

.price-cell .day-price {
  font-size: 14px;
  font-weight: bold;
  color: var(--color-primary-dark);
}

.price-cell .day-tax {
  font-size: 10px;
  color: var(--color-text-muted);
  margin-top: 3px;
}

/* Price cards (simple) */
.price-cards {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.price-card {
  flex: 1;
  min-width: 140px;
  border: 2px solid #EEE;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}

.price-card--featured {
  border-color: var(--color-primary);
  background: #F0F5FF;
}

.price-card .days {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.price-card .amount {
  font-size: 22px;
  font-weight: bold;
  color: var(--color-primary-dark);
}

.price-card .amount span {
  font-size: 12px;
}

.price-card .note {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 6px;
}

/* ==========================================================================
   Option Cards
   ========================================================================== */
.option-card {
  background: var(--color-white);
  border: 1px solid #DDD;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
}

.option-card .option-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.option-card .option-icon {
  font-size: 18px;
}

.option-card .option-title {
  font-size: 15px;
  font-weight: bold;
  color: var(--color-primary-dark);
}

.option-card .option-desc {
  font-size: 13px;
  color: #666;
}

/* ==========================================================================
   Set Contents
   ========================================================================== */
.set-contents {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.set-item {
  text-align: center;
}

.set-item .img-ph {
  background: var(--color-bg-alt);
  border: 1px solid #CBD5E0;
  border-radius: 8px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.set-item .item-name {
  font-size: 13px;
  font-weight: bold;
}

.set-item .item-note {
  font-size: 11px;
  color: #666;
}

/* ==========================================================================
   Sister Service
   ========================================================================== */
.sister-service {
  background: var(--color-bg-alt);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.sister-service .sister-img {
  width: 100px;
  height: 70px;
  background: #CBD5E0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #666;
  flex-shrink: 0;
}

.sister-service h4 {
  font-size: 14px;
  color: var(--color-primary-dark);
  margin-bottom: 6px;
}

.sister-service p {
  font-size: 13px;
  color: #666;
  margin-bottom: 8px;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta-banner {
  background: linear-gradient(90deg, var(--color-primary-dark), var(--color-primary));
  padding: 36px;
  text-align: center;
  color: var(--color-white);
  border-radius: 8px;
}

.cta-banner--purple {
  background: linear-gradient(90deg, var(--color-purple-dark), var(--color-purple));
}

.cta-banner--green {
  background: linear-gradient(90deg, var(--color-green-light), var(--color-green));
}

.cta-banner h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.cta-banner p {
  font-size: 13px;
  opacity: 0.85;
  margin-bottom: 18px;
}

/* ==========================================================================
   Contact Cards (P-06)
   ========================================================================== */
.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-card {
  border: 2px solid #EEE;
  border-radius: 10px;
  padding: 24px;
  background: var(--color-white);
  transition: box-shadow 0.2s;
  display: block;
  color: var(--color-text);
}

.contact-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  opacity: 1;
}

.contact-card--rental { border-color: var(--color-primary); }
.contact-card--price { border-color: #43A047; }
.contact-card--proxy { border-color: var(--color-purple); }
.contact-card--other { border-color: var(--color-text-muted); }

.contact-card .card-icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.contact-card h3 {
  font-size: 16px;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
}

.contact-card .card-link {
  margin-top: 14px;
  font-size: 13px;
  font-weight: bold;
  display: block;
}

/* ==========================================================================
   Form Styles
   ========================================================================== */
.form-page {
  display: flex;
  gap: 0;
}

.form-main {
  flex: 1;
  padding: 30px;
}

.form-sidebar {
  width: 240px;
  padding: 24px 20px;
  background: var(--color-bg);
  flex-shrink: 0;
  border-left: 1px solid var(--color-border);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 5px;
}

.form-group .required {
  color: var(--color-accent-red);
  font-size: 11px;
  font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
  width: 100%;
  background: #F5F5F5;
  border: 1px solid #DDD;
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--font-family);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-white);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-section-title {
  font-size: 14px;
  font-weight: bold;
  color: var(--color-text);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #EEE;
}

.form-section-box {
  background: #F0F7FF;
  border: 1px solid #C5DCF5;
  border-radius: 6px;
  padding: 18px;
  margin-bottom: 20px;
}

.form-section-box--green {
  background: #F1F8F1;
  border-color: #A5D6A7;
}

.form-section-box--purple {
  background: #F5F0FF;
  border-color: #CE93D8;
}

.consent-box {
  background: #FFF9E6;
  border: 2px solid var(--color-accent);
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 20px;
}

.consent-box .consent-title {
  font-size: 14px;
  font-weight: bold;
  color: #7A5000;
  margin-bottom: 14px;
}

.consent-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  cursor: pointer;
}

.consent-item input[type="checkbox"] {
  margin-top: 4px;
  accent-color: var(--color-accent);
}

.consent-item span {
  font-size: 13px;
  color: var(--color-text);
  line-height: 1.6;
}

.form-submit {
  text-align: center;
}

.form-submit .wpcf7-submit,
.form-submit button {
  background: var(--color-accent);
  color: var(--color-white);
  padding: 14px 52px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(232,160,32,0.4);
  transition: background 0.2s;
}

.form-submit .wpcf7-submit:hover,
.form-submit button:hover {
  background: #d4911a;
}

.form-submit .note {
  font-size: 12px;
  color: #999;
  margin-top: 10px;
}

/* Sidebar elements */
.sidebar-phone .phone-number {
  font-size: 20px;
  font-weight: bold;
  color: var(--color-primary);
}

.sidebar-phone .phone-hours {
  font-size: 11px;
  color: var(--color-text-muted);
}

.sidebar-nav h4 {
  font-size: 13px;
  font-weight: bold;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}

.sidebar-nav ul li {
  font-size: 12px;
  color: #666;
  line-height: 2.2;
}

.sidebar-tips {
  background: #FFF9E6;
  border-radius: 6px;
  padding: 12px;
}

.sidebar-tips h4 {
  font-size: 12px;
  font-weight: bold;
  color: #7A5000;
  margin-bottom: 8px;
}

.sidebar-tips ul {
  padding-left: 16px;
  list-style: disc;
}

.sidebar-tips ul li {
  font-size: 11px;
  color: #666;
  line-height: 2;
}

/* Breadcrumb */
.breadcrumb {
  background: var(--color-bg);
  padding: 10px 20px;
  font-size: 12px;
  color: var(--color-text-muted);
  border-bottom: 1px solid #EEE;
}

.breadcrumb a {
  color: var(--color-primary);
}

/* ==========================================================================
   Blog
   ========================================================================== */
.blog-layout {
  display: flex;
  gap: 24px;
  padding: 30px 0;
}

.blog-main {
  flex: 1;
}

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

/* Blog header */
.blog-header {
  background: var(--color-bg);
  padding: 28px 20px;
  text-align: center;
  border-bottom: 1px solid #EEE;
}

.blog-header h1 {
  font-size: 20px;
  color: var(--color-primary-dark);
  margin-bottom: 6px;
}

.blog-header p {
  font-size: 13px;
  color: #666;
}

/* Category filter */
.cat-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 14px 0;
  margin-bottom: 20px;
}

.cat-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  background: var(--color-bg-alt);
  color: var(--color-primary-dark);
  border: 1px solid #CBD5E0;
  transition: background 0.2s;
}

.cat-badge:hover,
.cat-badge--active {
  background: var(--color-primary-dark);
  color: var(--color-white);
  border-color: var(--color-primary-dark);
  opacity: 1;
}

.cat-tag {
  font-size: 11px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 3px 9px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 8px;
}

.cat-tag--green { background: var(--color-green); }
.cat-tag--purple { background: #5B4FCF; }
.cat-tag--brown { background: #B7410E; }
.cat-tag--dark-brown { background: #6B4E2A; }

/* Blog cards */
.blog-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.blog-card {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-white);
  transition: box-shadow 0.2s;
}

.blog-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.blog-card a {
  color: var(--color-text);
  display: block;
}

.blog-card .thumb {
  background: var(--color-bg-alt);
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #90A4AE;
  overflow: hidden;
}

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

.blog-card .blog-body {
  padding: 14px;
}

.blog-card h5 {
  font-size: 14px;
  color: var(--color-primary-dark);
  line-height: 1.5;
  margin-bottom: 6px;
}

.blog-card .meta {
  font-size: 11px;
  color: #aaa;
}

/* Featured blog card */
.blog-card--featured {
  border: 2px solid var(--color-primary);
  grid-column: 1 / -1;
}

.blog-card--featured .thumb {
  height: 180px;
}

.blog-card--featured .blog-body {
  padding: 18px;
}

.blog-card--featured h5 {
  font-size: 18px;
}

.blog-card--featured .excerpt {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 8px;
}

/* Sidebar boxes */
.sidebar-box {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}

.sidebar-box h5 {
  font-size: 14px;
  font-weight: bold;
  color: var(--color-primary-dark);
  margin-bottom: 12px;
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 8px;
}

.sidebar-box ul li {
  font-size: 13px;
  color: var(--color-text-light);
  padding: 6px 0;
  border-bottom: 1px solid #EEE;
}

.sidebar-box ul li::before {
  content: '\203A ';
  color: var(--color-primary);
  margin-right: 4px;
}

.sidebar-box ul li:last-child {
  border-bottom: none;
}

.sidebar-box--cta {
  background: var(--color-bg-alt);
  border: 2px solid var(--color-primary);
}

/* ==========================================================================
   Single Post
   ========================================================================== */
.single-post-content {
  max-width: none;
}

.single-post-content .entry-title {
  font-size: 22px;
  color: var(--color-primary-dark);
  line-height: 1.5;
  margin-bottom: 10px;
}

.single-post-content .entry-meta {
  font-size: 12px;
  color: #aaa;
  margin-bottom: 20px;
}

.single-post-content .entry-content {
  font-size: 15px;
  color: var(--color-text);
  line-height: 2;
}

.single-post-content .entry-content h2 {
  font-size: 18px;
  color: var(--color-primary-dark);
  margin: 30px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-primary);
}

.single-post-content .entry-content h3 {
  font-size: 16px;
  color: var(--color-primary-dark);
  margin: 24px 0 10px;
}

.single-post-content .entry-content p {
  margin-bottom: 16px;
}

.single-post-content .entry-content img {
  border-radius: 8px;
  margin: 16px 0;
}

.single-post-content .entry-content blockquote {
  background: var(--color-bg);
  border-left: 4px solid var(--color-primary);
  padding: 14px 18px;
  margin: 16px 0;
  border-radius: 0 4px 4px 0;
}

/* Article CTA */
.article-cta {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-primary);
  border-radius: 8px;
  padding: 20px;
  margin: 24px 0;
}

.article-cta h4 {
  font-size: 14px;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}

.article-cta p {
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 12px;
}

.article-cta .btn-wrap {
  display: flex;
  gap: 10px;
}

/* Tags */
.post-tags {
  padding-top: 14px;
  border-top: 1px solid #EEE;
  margin-top: 20px;
}

.post-tags .tag-label {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.post-tags a {
  background: #F0F0F0;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  color: var(--color-text-light);
  margin-right: 6px;
  display: inline-block;
  margin-bottom: 6px;
}

/* Related posts */
.related-posts {
  margin-top: 30px;
}

.related-posts h3 {
  font-size: 15px;
  font-weight: bold;
  color: var(--color-primary-dark);
  background: var(--color-bg-alt);
  padding: 10px 18px;
  border-left: 4px solid var(--color-primary);
  margin-bottom: 14px;
}

.related-posts .blog-cards {
  grid-template-columns: 1fr 1fr;
}

/* Pagination */
.pagination {
  text-align: center;
  padding: 24px 0;
}

.pagination .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  margin: 0 3px;
  border: 1px solid #DDD;
  border-radius: 4px;
  font-size: 13px;
  color: var(--color-text-light);
}

.pagination .page-numbers.current {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* ==========================================================================
   Shooting Service (P-20)
   ========================================================================== */
.shooting-hero {
  background: linear-gradient(135deg, var(--color-purple-dark), var(--color-purple));
  color: var(--color-white);
  padding: 60px 20px;
  text-align: center;
}

.shooting-hero .sub-label {
  font-size: 13px;
  opacity: 0.7;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.shooting-hero .catch {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 12px;
  line-height: 1.4;
}

.shooting-hero .desc {
  font-size: 14px;
  opacity: 0.85;
  line-height: 1.7;
  margin-bottom: 28px;
}

/* Comparison */
.comparison {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
}

.comparison-card {
  border: 2px solid #EEE;
  border-radius: 8px;
  padding: 20px;
}

.comparison-card--rental { border-color: var(--color-primary); }
.comparison-card--proxy { border-color: var(--color-purple); background: #FAF5FF; }

.comparison-card h4 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 12px;
}

.comparison-card ul {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 2;
}

.comparison-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #CBD5E0;
}

/* Service menu cards */
.service-menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.service-card {
  border: 2px solid #EEE;
  border-radius: 10px;
  overflow: hidden;
}

.service-card .card-header {
  padding: 16px 18px;
  color: var(--color-white);
}

.service-card .card-header .plan-label {
  font-size: 12px;
  opacity: 0.8;
  margin-bottom: 4px;
}

.service-card .card-header h4 {
  font-size: 18px;
  font-weight: bold;
}

.service-card .card-header .plan-machine {
  font-size: 12px;
  opacity: 0.85;
  margin-top: 4px;
}

.service-card .card-body {
  padding: 16px 18px;
}

.service-card .card-body .service-price {
  font-size: 22px;
  font-weight: bold;
  color: var(--color-primary-dark);
  margin-bottom: 4px;
}

.service-card .card-body .service-price span {
  font-size: 12px;
  font-weight: normal;
}

.service-card .card-body .price-note {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

.service-card .card-body .feature-list {
  font-size: 13px;
  color: #444;
  line-height: 2;
}

/* Deliverables */
.deliverables {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.deliverable {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 18px;
  text-align: center;
}

.deliverable .icon {
  font-size: 26px;
  margin-bottom: 8px;
}

.deliverable h5 {
  font-size: 14px;
  color: var(--color-primary-dark);
  margin-bottom: 4px;
}

.deliverable p {
  font-size: 12px;
  color: #666;
}

/* Included / Not included */
.included-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.included-box {
  border-radius: 8px;
  padding: 16px;
}

.included-box--yes {
  background: #F0FFF4;
  border: 1px solid #9AE6B4;
}

.included-box--no {
  background: #FFF5F5;
  border: 1px solid #FEB2B2;
}

.included-box h5 {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 8px;
}

.included-box--yes h5 { color: #276749; }
.included-box--no h5 { color: #9B2C2C; }

.included-box ul {
  font-size: 13px;
  color: #444;
  line-height: 2;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.6);
  padding: 36px 20px 20px;
  font-size: 13px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-col h5 {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  margin-bottom: 8px;
}

.footer-col p,
.footer-col a {
  font-size: 12px;
  line-height: 2;
  color: rgba(255,255,255,0.6);
}

.footer-col a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom a {
  color: rgba(255,255,255,0.6);
}

/* ==========================================================================
   Page Header (interior pages)
   ========================================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: var(--color-white);
  padding: 36px 20px;
  text-align: center;
}

.page-hero h1 {
  font-size: 22px;
  margin-bottom: 8px;
}

.page-hero p {
  font-size: 14px;
  opacity: 0.85;
}

.page-hero--green {
  background: linear-gradient(135deg, var(--color-green-light), var(--color-green));
}

/* ==========================================================================
   L2 Pro product page (green theme)
   ========================================================================== */
.product-hero--green {
  background: linear-gradient(135deg, #0D3B2E, #1A6B4A);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
  .header-inner {
    height: 56px;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--color-primary-dark);
    flex-direction: column;
    padding: 16px 20px;
    gap: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu li a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: block;
  }

  .menu-toggle {
    display: block;
  }

  .hero .catch {
    font-size: 22px;
  }

  .hero {
    padding: 40px 16px;
  }

  .plan-grid {
    grid-template-columns: 1fr;
  }

  .use-cases {
    grid-template-columns: 1fr 1fr;
  }

  .blog-cards {
    grid-template-columns: 1fr;
  }

  .blog-layout {
    flex-direction: column;
  }

  .blog-sidebar {
    width: 100%;
  }

  .form-page {
    flex-direction: column;
  }

  .form-sidebar {
    width: 100%;
    border-left: none;
    border-top: 1px solid var(--color-border);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .service-menu {
    grid-template-columns: 1fr;
  }

  .comparison {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .comparison-vs {
    display: none;
  }

  .steps {
    flex-direction: column;
  }

  .step-arrow {
    transform: rotate(90deg);
  }

  .price-grid-7 {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .deliverables {
    grid-template-columns: 1fr;
  }

  .included-grid {
    grid-template-columns: 1fr;
  }

  .equipment-card {
    flex-direction: column;
  }

  .equipment-card .img-ph {
    width: 100%;
    min-width: 0;
  }

  .sister-service {
    flex-direction: column;
    text-align: center;
  }

  .price-cards {
    flex-direction: column;
  }

  .shooting-hero .catch {
    font-size: 20px;
  }

  .spec-table {
    font-size: 12px;
  }

  .spec-table th,
  .spec-table td {
    padding: 8px 10px;
  }
}

@media (max-width: 480px) {
  .price-grid-7 {
    grid-template-columns: repeat(3, 1fr);
  }

  .use-cases {
    grid-template-columns: 1fr;
  }

  .related-posts .blog-cards {
    grid-template-columns: 1fr;
  }
}
