/*
Theme Name: eccube-pus
Theme URI:
Author:
Description: EC-CUBE専門サービスサイト用カスタムテーマ
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: eccube-pus
*/

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

/* ===== VARIABLES ===== */
:root {
  --orange: #F05A00;
  --orange-light: #FF6B1A;
  --dark: #1A1A1A;
  --gray: #666;
  --light-gray: #F5F5F5;
  --border: #E0E0E0;
  --white: #fff;
}

/* ===== BASE ===== */
body {
  font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
  color: var(--dark);
  line-height: 1.6;
}

/* ===== DRAWER ===== */
.drawer-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: 8px;
}
.drawer-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}
#site-header.scrolled .drawer-btn span { background: var(--dark); }
.drawer-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.drawer-btn.open span:nth-child(2) { opacity: 0; }
.drawer-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 200;
  opacity: 0;
  transition: opacity 0.3s;
}
.drawer-overlay.active { display: block; opacity: 1; }

.drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100%;
  background: var(--white);
  z-index: 201;
  overflow-y: auto;
  transition: right 0.3s ease;
  padding: 60px 0 40px;
}
.drawer.active { right: 0; }

.drawer-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--gray);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.drawer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.drawer-heading {
  font-size: 10px;
  font-weight: 700;
  color: var(--gray);
  letter-spacing: 0.1em;
  padding: 16px 24px 6px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}
.drawer-heading:first-child { border-top: none; margin-top: 0; }
.drawer-nav li a {
  display: block;
  padding: 12px 24px 12px 32px;
  font-size: 14px;
  color: var(--dark);
  text-decoration: none;
  border-bottom: 1px solid #f5f5f5;
  transition: background 0.15s;
}
.drawer-nav li a:hover { background: #fff8f4; color: var(--orange); }
.drawer-cta {
  display: block;
  margin: 24px 20px 0;
  padding: 14px;
  background: var(--orange);
  color: white !important;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  border-radius: 4px;
  text-decoration: none;
}
.drawer-cta:hover { background: var(--orange-light); }

/* ===== HEADER ===== */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  padding: 0 40px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: height 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
#site-header.scrolled {
  height: 52px;
  background: var(--white);
  border-bottom-color: var(--border);
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

.logo {
  font-size: 22px;
  font-weight: 900;
  color: var(--orange);
  letter-spacing: -0.5px;
  text-decoration: none;
}
.logo span { color: var(--dark); }
.logo sup {
  font-size: 14px;
  color: var(--orange);
  vertical-align: super;
}

#site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

/* ナビメニュー */
#site-nav .nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
#site-nav .nav-item { position: relative; }
#site-nav .nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
#site-nav .nav-link:hover { background: rgba(255,255,255,0.15); }
#site-header.scrolled #site-nav .nav-link { color: var(--dark); }
#site-header.scrolled #site-nav .nav-link:hover { background: var(--light-gray); color: var(--orange); }

.nav-arrow {
  font-size: 10px;
  transition: transform 0.2s;
}
.nav-item:hover .nav-arrow { transform: rotate(180deg); }

/* ドロップダウン */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  border: 1px solid var(--border);
  list-style: none;
  margin: 0;
  padding: 8px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 200;
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li { margin: 0; }
.dropdown a {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  color: var(--dark);
  font-size: 13px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.dropdown a:hover {
  background: #fff8f4;
  color: var(--orange);
}
.dropdown li:not(:last-child) a {
  border-bottom: 1px solid #f5f5f5;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white) !important;
  padding: 12px 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-contact:hover { background: var(--orange-light); }
.btn-contact svg { flex-shrink: 0; }

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 64px;
}

.hero-eyebrow {
  color: var(--white) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.6 !important;
  margin-bottom: 20px !important;
  letter-spacing: normal !important;
}

/* キャッチコピー（見た目はh1と同じだがSEOはeyebrowがh1） */
.hero-h1 {
  font-size: 46px;
  font-weight: 900;
  line-height: 1.3;
  color: var(--dark);
  margin-bottom: 24px;
  letter-spacing: -1px;
  word-break: keep-all;
  hyphens: none;
}
.hero-sub {
  font-size: 15px;
  color: #555;
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-btns {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white);
  padding: 16px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--orange-light); transform: translateY(-1px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--dark);
  padding: 15px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--dark);
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--dark); color: var(--white); }

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--orange);
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }

/* ===== STATS BAR ===== */
.stats-wrapper {
  position: relative;
  z-index: 10;
  margin: -44px 40px 0;
}
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  border: 1px solid var(--border);
  overflow: hidden;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.stat-item:last-child { border-right: none; }
.stat-item.visible {
  opacity: 1;
  transform: translateY(0);
}
.stat-icon {
  width: 48px;
  height: 48px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}
.stat-text .label { font-size: 11px; color: var(--gray); margin-bottom: 2px; }
.stat-text .number { font-size: 28px; font-weight: 900; color: var(--dark); line-height: 1.1; }
.stat-text .number span { font-size: 14px; font-weight: 600; }
.stat-text .sublabel { font-size: 11px; color: var(--gray); margin-top: 2px; }

/* ===== SECTION COMMON ===== */
section { padding: 80px 80px; }

.section-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 50px;
}
.section-center { text-align: center; }

/* ===== SERVICE ===== */
.service { background: var(--light-gray); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 44px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 20px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover {
  box-shadow: 0 8px 24px rgba(240, 90, 0, 0.12);
  transform: translateY(-4px);
}
.service-icon { width: 56px; height: 56px; margin: 0 auto 16px; color: var(--orange); }
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.service-card p { font-size: 12px; color: var(--gray); line-height: 1.7; }

/* ===== WORKS ===== */
.works { background: var(--dark); color: var(--white); }
.works .section-title { color: var(--white); }
.works .section-sub { color: #aaa; }

.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 44px;
}
.work-card {
  border-radius: 10px;
  overflow: hidden;
  background: #2a2a2a;
  transition: transform 0.2s;
}
.work-card:hover { transform: translateY(-4px); }
.work-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.work-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #999;
}
.work-img-placeholder.food { background: linear-gradient(135deg, #3d1f1f, #7a2e0e); }
.work-img-placeholder.beauty { background: linear-gradient(135deg, #1a2d1a, #2d5a27); }
.work-img-placeholder.interior { background: linear-gradient(135deg, #1f2d3d, #2e4a6e); }
.work-img-placeholder.industrial { background: linear-gradient(135deg, #1a1a2d, #2a2a4a); }
.work-info { padding: 16px; }
.work-tag {
  display: inline-block;
  font-size: 10px;
  background: #3a3a3a;
  color: #ccc;
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 8px;
}
.work-info h3 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.work-info p { font-size: 12px; color: #aaa; }
.works .section-center .btn-outline { border-color: var(--white); color: var(--white); }
.works .section-center .btn-outline:hover { background: var(--white); color: var(--dark); }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, #FF6B1A 0%, #F05A00 100%);
  padding: 52px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-banner-content { display: flex; align-items: center; gap: 24px; }
.cta-chat-icon {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}
.cta-banner-text h2 { font-size: 22px; font-weight: 900; color: var(--white); margin-bottom: 8px; }
.cta-banner-text p { font-size: 14px; color: rgba(255,255,255,0.85); line-height: 1.7; }

/* ===== CLIENTS ===== */
.payments { background: var(--white); padding: 52px 80px; }
.payments-label { text-align: center; font-size: 13px; color: var(--gray); margin-bottom: 36px; letter-spacing: 0.02em; }
.payments-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.payment-logo-item { opacity: 0.85; transition: opacity 0.2s, transform 0.2s; }
.payment-logo-item:hover { opacity: 1; transform: translateY(-2px); }
.payment-logo-item svg { width: 110px; height: 44px; display: block; }

/* ===== FOOTER ===== */
#site-footer {
  background: #1a1a1a;
  color: #aaa;
  font-size: 13px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.2fr 1.2fr;
  gap: 48px;
  padding: 60px 80px;
  border-bottom: 1px solid #2e2e2e;
}
.footer-logo-link { display: inline-block; margin-bottom: 16px; }
.footer-logo-link img { filter: brightness(0) invert(1); opacity: 0.9; }
.footer-desc {
  font-size: 13px;
  color: #888;
  line-height: 1.8;
  margin-bottom: 20px;
}
.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--orange);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}
.footer-cta:hover { background: var(--orange-light); }
.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #2e2e2e;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  color: #888;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
  line-height: 1.5;
}
.footer-col ul a:hover { color: var(--orange); }
.footer-bottom {
  padding: 20px 80px;
  text-align: center;
}
.footer-bottom p { color: #555; font-size: 12px; }

/* ===== HERO (front-page) ===== */
.hero-slides {
  position: relative;
  z-index: 2;
  width: 55%;
  min-height: 300px;
}
.hero-slide {
  position: absolute;
  top: 0;
  left: 60px;
  width: calc(100% - 60px);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* インジケーター */
.hero-indicators {
  position: absolute;
  bottom: 28px;
  left: 80px;
  display: flex;
  gap: 8px;
  z-index: 3;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.hero-dot.active {
  background: var(--white);
  transform: scale(1.3);
}

/* ===== TROUBLES ===== */
/* ===== ABOUT SERVICE ===== */
.about-service {
  background: var(--white);
  padding: 80px 80px;
}
.about-service-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.about-service-title {
  font-size: 32px;
  font-weight: 900;
  color: var(--dark);
  line-height: 1.4;
  margin: 8px 0 20px;
}
.about-service-lead {
  font-size: 15px;
  color: #555;
  line-height: 1.9;
  margin-bottom: 36px;
}
.about-service-points {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
}
.about-service-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.about-point-icon {
  width: 40px;
  height: 40px;
  background: #fff4ee;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}
.about-point-icon svg { width: 18px; height: 18px; }
.about-service-point h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.about-service-point p {
  font-size: 13px;
  color: #555;
  line-height: 1.8;
  margin: 0;
}

/* 右側イメージ */
.about-service-image {
  display: flex;
  justify-content: center;
  align-items: center;
}
.about-service-img-wrap {
  position: relative;
  width: 100%;
  max-width: 380px;
}
.about-service-svg {
  width: 100%;
  height: auto;
}
.about-service-mockup {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}
.about-service-caption {
  font-size: 11px;
  color: #999;
  text-align: center;
  margin-top: 5px;
}
.about-eccube-badge {
  position: absolute;
  top: 10px;
  right: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
}
.about-eccube-badge img {
  height: 20px;
  width: auto;
}

@media (max-width: 768px) {
  .about-service { padding: 48px 20px; }
  .about-service-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-service-title { font-size: 24px; }
  .about-service-image { order: -1; }
  .about-service-img-wrap { max-width: 280px; }
}

/* ===== TROUBLES ===== */
.troubles {
  background: var(--white);
}
.troubles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.trouble-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.trouble-avatar {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  padding: 12px;
  margin-top: 4px;
}
.trouble-avatar svg { width: 100%; height: 100%; }
.trouble-bubble {
  background: var(--white);
  border-radius: 0 16px 16px 16px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  position: relative;
  flex: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.trouble-bubble::before {
  content: '';
  position: absolute;
  top: 12px;
  left: -8px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 8px solid var(--border);
}
.trouble-bubble::after {
  content: '';
  position: absolute;
  top: 13px;
  left: -7px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-right: 7px solid var(--white);
}
.trouble-voice {
  font-size: 13px;
  color: #444;
  line-height: 1.7;
  margin: 0;
}
.trouble-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  background: #fff4ee;
  padding: 5px 14px;
  border-radius: 20px;
  margin: 0 0 10px;
}

/* ===== REASONS ===== */
.reasons {
  background: #fff4ee;
}
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.reason-card {
  position: relative;
  padding: 32px 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, transform 0.2s;
}
.reason-card:hover {
  box-shadow: 0 8px 24px rgba(240,90,0,0.1);
  transform: translateY(-4px);
}
.reason-number {
  font-size: 40px;
  font-weight: 900;
  color: #f0e8e0;
  line-height: 1;
  margin-bottom: 12px;
  font-family: 'Arial Black', sans-serif;
}
.reason-icon {
  width: 48px;
  height: 48px;
  color: var(--orange);
  margin-bottom: 16px;
}
.reason-icon svg { width: 100%; height: 100%; }
.reason-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}
.reason-card p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
}

/* ===== PRICING ===== */
.pricing {
  background: var(--white);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 20px;
}
.pricing-card {
  position: relative;
  background: var(--white);
  border-radius: 16px;
  padding: 36px 28px;
  border: 1px solid var(--border);
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.pricing-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}
.pricing-featured {
  border: 2px solid var(--orange);
  transform: scale(1.03);
}
.pricing-featured:hover { transform: scale(1.03) translateY(-4px); }
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
}
.pricing-header { margin-bottom: 20px; }
.pricing-header h3 {
  font-size: 18px;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 6px;
}
.pricing-sub { font-size: 13px; color: var(--gray); }
.pricing-price {
  font-size: 36px;
  font-weight: 900;
  color: var(--orange);
  margin-bottom: 24px;
  line-height: 1;
}
.pricing-price span { font-size: 18px; font-weight: 600; }
.pricing-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  text-align: left;
}
.pricing-list li {
  font-size: 13px;
  color: var(--dark);
  padding: 8px 0;
  border-bottom: 1px solid #f5f5f5;
  padding-left: 20px;
  position: relative;
}
.pricing-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}
.pricing-note {
  text-align: center;
  font-size: 12px;
  color: var(--gray);
  margin-top: 8px;
}

/* ===== VOICES ===== */
.voices {
  background: var(--white);
}
.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.voice-card {
  background: var(--light-gray);
  border-radius: 12px;
  padding: 28px 24px;
  border: 1px solid var(--border);
}
.voice-stars {
  color: #f5a623;
  font-size: 16px;
  margin-bottom: 12px;
}
.voice-text {
  font-size: 14px;
  color: var(--dark);
  line-height: 1.8;
  margin-bottom: 16px;
}
.voice-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.voice-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
}
.voice-service {
  font-size: 11px;
  color: var(--white);
  background: var(--orange);
  padding: 2px 10px;
  border-radius: 20px;
}

/* ===== SERVICE PAGE ===== */
/* サービスナビカード */
.service-nav-cards {
  background: var(--light-gray);
  padding: 48px 80px;
  border-bottom: 1px solid var(--border);
}
.service-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.service-nav-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px 20px;
  text-decoration: none;
  color: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.service-nav-card:hover {
  border-color: var(--orange);
  box-shadow: 0 4px 20px rgba(240,90,0,0.1);
  transform: translateY(-3px);
}
.service-nav-icon {
  width: 48px;
  height: 48px;
  background: #fff4ee;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}
.service-nav-icon svg { width: 22px; height: 22px; }
.service-nav-card h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
  line-height: 1.4;
}
.service-nav-card p {
  font-size: 11px;
  color: var(--gray);
  margin: 0;
  line-height: 1.5;
}
.service-nav-arrow {
  font-size: 11px;
  color: var(--orange);
  font-weight: 700;
  margin-top: auto;
}
@media (max-width: 1024px) {
  .service-nav-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .service-nav-cards { padding: 32px 20px; }
  .service-nav-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .service-nav-card { padding: 18px 14px; }
}

.service-page-intro {
  background: #fff8f4;
  padding: 40px 80px;
  border-bottom: 1px solid #ffe8d6;
  text-align: center;
}
.service-page-intro-inner p {
  font-size: 16px;
  color: var(--dark);
  line-height: 1.9;
  margin-bottom: 24px;
}

.service-page-list {
  background: var(--white);
  width: 100%;
}

.service-page-item {
  padding: 60px 80px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  width: 100%;
  display: block;
}
.service-page-item.alt {
  background: #fafafa;
  width: 100%;
}

.service-page-item-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 36px;
}
.service-page-icon {
  width: 56px;
  height: 56px;
  background: #fff4ee;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  padding: 14px;
  flex-shrink: 0;
}
.service-page-icon svg { width: 100%; height: 100%; }
.service-page-item-header h2 {
  font-size: 22px;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 4px;
}
.service-page-item-sub {
  font-size: 13px;
  color: var(--gray);
}
.service-page-link {
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
  white-space: nowrap;
  padding: 8px 16px;
  border: 1px solid var(--orange);
  border-radius: 4px;
  transition: all 0.2s;
  flex-shrink: 0;
}
.service-page-link:hover {
  background: var(--orange);
  color: var(--white);
}

.service-page-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}
.service-feature {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
}
.service-page-item.alt .service-feature { background: var(--white); }
.service-feature h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
}
.service-feature ul {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}
.service-feature ul li {
  font-size: 13px;
  color: var(--dark);
  padding: 5px 0;
  padding-left: 16px;
  position: relative;
  border-bottom: 1px solid #f5f5f5;
}
.service-feature ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: 10px;
  top: 7px;
}
.service-feature-note {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.6;
  margin: 0;
}

.service-page-examples { margin-bottom: 28px; }
.service-page-examples h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}
.service-examples-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-examples-grid span {
  background: #f5f5f5;
  color: var(--dark);
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
}

.service-page-price-note {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff8f4;
  border: 1px solid #ffe8d6;
  border-radius: 8px;
  padding: 16px 20px;
}
.price-from {
  font-size: 22px;
  font-weight: 900;
  color: var(--orange);
  white-space: nowrap;
  flex-shrink: 0;
}
.service-page-price-note span:last-child {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
}

/* ===== PRICING PAGE ===== */
.pricing-page-intro {
  background: #fff8f4;
  padding: 28px 80px;
  border-bottom: 1px solid #ffe8d6;
}
.pricing-page-intro-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
}
.pricing-page-intro strong { color: var(--orange); }

.pricing-page-section { padding: 72px 80px; background: var(--white); }

.pricing-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pricing-page-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.pricing-page-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}
.pricing-page-card.featured {
  border: 2px solid var(--orange);
}
.pricing-page-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}
.pricing-page-header { margin-bottom: 20px; }
.pricing-page-header h3 { font-size: 17px; font-weight: 900; margin-bottom: 6px; }
.pricing-page-sub { font-size: 12px; color: var(--gray); }
.pricing-page-price {
  font-size: 36px;
  font-weight: 900;
  color: var(--orange);
  margin-bottom: 24px;
}
.pricing-page-price span { font-size: 18px; }
.pricing-page-list {
  list-style: none;
  text-align: left;
  margin: 0;
  padding: 0;
}
.pricing-page-list li {
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid #f5f5f5;
  padding-left: 20px;
  position: relative;
  color: var(--dark);
}
.pricing-page-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

/* 料金テーブル */
.pricing-table-wrap {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}
.pricing-table thead tr {
  background: var(--dark);
}
.pricing-table th {
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  text-align: left;
}
.pricing-table td {
  padding: 14px 20px;
  font-size: 14px;
  border-bottom: 1px solid #f0f0f0;
  color: var(--dark);
}
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table tr:hover td { background: #fff8f4; }
.price-cell {
  font-weight: 700;
  color: var(--orange);
  white-space: nowrap;
}

/* その他料金 */
.pricing-other-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pricing-other-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.pricing-other-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.pricing-other-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}
.pricing-other-price {
  font-size: 28px;
  font-weight: 900;
  color: var(--orange);
  margin-bottom: 12px;
}
.pricing-other-price span { font-size: 14px; }
.pricing-other-card p { font-size: 13px; color: var(--gray); line-height: 1.7; }

/* 注意事項 */
/* ===== CONTACT ===== */
.contact-section {
  background: var(--white);
  padding: 64px 80px;
}
.contact-inner {
  max-width: 760px;
  margin: 0 auto;
}
.contact-lead {
  margin-bottom: 32px;
}
.contact-lead p {
  font-size: 15px;
  color: #444;
  line-height: 1.9;
  margin-bottom: 16px;
}
.contact-lead p:last-child { margin-bottom: 0; }

/* バージョンアップ案内 */
.contact-versionup-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff8f4;
  border: 1px solid #ffd4b8;
  border-left: 4px solid var(--orange);
  border-radius: 6px;
  padding: 16px 20px;
  margin-bottom: 48px;
}
.contact-versionup-icon {
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-versionup-note p {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  margin: 0;
}
.contact-versionup-note a {
  color: var(--orange);
  font-weight: 700;
  text-decoration: underline;
}
.contact-versionup-note a:hover { opacity: 0.8; }

/* CF7 フォームスタイル（共通・テンプレート有無問わず） */
.wpcf7-form p {
  margin-bottom: 4px !important;
}
.wpcf7-form p br {
  display: none;
}
.wpcf7 label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-top: 24px;
  margin-bottom: 7px;
}
.wpcf7-form p:first-of-type label {
  margin-top: 0;
}
.wpcf7-text,
.wpcf7-email,
.wpcf7-tel,
.wpcf7-select,
.wpcf7-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  color: var(--dark);
  background: #fafafa;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.wpcf7-text:focus,
.wpcf7-email:focus,
.wpcf7-tel:focus,
.wpcf7-select:focus,
.wpcf7-textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(240,90,0,0.1);
  background: #fff;
}
.wpcf7-textarea {
  min-height: 160px;
  resize: vertical;
}
.wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 48px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  width: 100%;
  margin-top: 16px;
}
.wpcf7-submit:hover {
  background: var(--orange-light);
  transform: translateY(-1px);
}
.wpcf7-not-valid-tip {
  color: #e00;
  font-size: 12px;
  margin-top: 4px;
  display: block;
}
.wpcf7-response-output {
  margin-top: 24px;
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 14px;
}

/* page-content内のフォーム中央寄せ */
#page-content .wpcf7 {
  max-width: 860px;
  margin: 32px auto 0;
}
#page-content {
  padding: 48px 80px;
}

/* form-l（CF7フォーム内の行ブロック） */
.form-l {
  margin-bottom: 7px;
}
.form-l p,
.page-inner .form-l p {
  font-size: 14px;
  color: #444;
  margin-bottom: 5px !important;
  line-height: 1.6;
}

/* form-r（CF7フォーム内の行ブロック） */
.form-r {
  margin-bottom: 24px;
}
.form-r p {
  font-size: 12px;
  color: #888;
  margin-top: 4px;
  margin-bottom: 0;
  line-height: 1.6;
}

/* contact-form-wrap（テンプレートあり）は継承 */
.contact-form-wrap .wpcf7-form p {
  margin-bottom: 5px;
}
.contact-form-wrap .wpcf7-text:focus,
.contact-form-wrap .wpcf7-email:focus,
.contact-form-wrap .wpcf7-tel:focus,
.contact-form-wrap .wpcf7-select:focus,
.contact-form-wrap .wpcf7-textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(240,90,0,0.1);
  background: #fff;
}
.contact-form-wrap .wpcf7-textarea {
  min-height: 160px;
  resize: vertical;
}
.contact-form-wrap .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 48px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  width: 100%;
}
.contact-form-wrap .wpcf7-submit:hover {
  background: var(--orange-light);
  transform: translateY(-1px);
}
.contact-form-wrap .wpcf7-not-valid-tip {
  color: #e00;
  font-size: 12px;
  margin-top: 4px;
  display: block;
}
.contact-form-wrap .wpcf7-response-output {
  margin-top: 24px;
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 14px;
}

@media (max-width: 768px) {
  .contact-section { padding: 40px 20px; }
}

/* ===== PRICING NOTES ===== */
.pricing-notes {
  background: #f8f8f8;
  padding: 48px 80px;
}
.pricing-notes-inner {
  max-width: 800px;
  margin: 0 auto;
}
.pricing-notes h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--dark);
}
.pricing-notes ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pricing-notes ul li {
  font-size: 13px;
  color: var(--gray);
  padding: 8px 0;
  padding-left: 16px;
  position: relative;
  border-bottom: 1px solid #eee;
  line-height: 1.7;
}
.pricing-notes ul li::before {
  content: '※';
  position: absolute;
  left: 0;
  color: var(--orange);
}

/* ===== WORKS PAGE ===== */
.works-page {
  background: var(--white);
  padding: 60px 80px;
}

/* エディタコンテンツ */
.works-page-content {
  padding: 40px 80px 0;
  font-size: 15px;
  color: #444;
  line-height: 1.9;
}
@media (max-width: 768px) {
  .works-page-content { padding: 32px 20px 0; }
}

/* お知らせバナー */
.works-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff8f4;
  border: 1px solid #ffd4b8;
  border-left: 4px solid var(--orange);
  border-radius: 6px;
  padding: 16px 20px;
  margin: 28px 0 0;
}
.works-notice-icon {
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 1px;
}
.works-notice p {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  margin: 0;
}

/* フィルターボタン */
.works-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--gray);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--orange); color: var(--orange); }
.filter-btn.active { background: var(--orange); color: var(--white); border-color: var(--orange); }

/* グリッド */
.works-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.works-page-card {
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.works-page-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.works-page-card.hidden {
  display: none;
}
.works-page-img svg {
  width: 100%;
  aspect-ratio: 4/3;
  display: block;
}
.works-page-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.works-page-info {
  padding: 20px;
}
.works-page-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 8px;
  margin-right: 6px;
}
.works-page-tag.customize { background: #fff4ee; color: var(--orange); }
.works-page-tag.versionup { background: #eef4ff; color: #3366cc; }
.works-page-tag.build { background: #efffef; color: #2d8a2d; }
.works-page-tag.design { background: #f4eeff; color: #7733cc; }
.works-page-industry {
  display: inline-block;
  font-size: 11px;
  color: var(--gray);
  background: #f5f5f5;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 8px;
}
.works-page-info h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--dark);
}
.works-page-info p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
}

/* ===== ARCHIVE ===== */
#archive-content {
  background: var(--white);
  padding: 60px 80px;
}
.archive-inner {
  max-width: 860px;
  margin: 0 auto;
}
.archive-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}
.archive-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--dark);
  transition: opacity 0.2s;
}
.archive-item:hover { opacity: 0.75; }
.archive-thumb {
  width: 140px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #f5f5f5;
}
.archive-thumb img { width: 100%; height: 90px; object-fit: cover; display: block; }
.archive-thumb-noimg {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.archive-thumb-noimg svg { width: 48px; height: 48px; }
.archive-info { flex: 1; }
.archive-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.archive-cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  background: #fff4ee;
  padding: 2px 10px;
  border-radius: 20px;
}
.archive-date { font-size: 12px; color: var(--gray); }
.archive-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.6;
  margin-bottom: 8px;
}
.archive-excerpt {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
  margin: 0;
}
.archive-pager {
  margin-top: 40px;
  text-align: center;
}
.archive-pager .nav-links { display: flex; justify-content: center; gap: 8px; }
.archive-pager .page-numbers {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  text-decoration: none;
  color: var(--dark);
  font-size: 14px;
}
.archive-pager .page-numbers.current,
.archive-pager .page-numbers:hover {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
}
.archive-empty {
  text-align: center;
  color: var(--gray);
  padding: 48px 0;
  font-size: 15px;
}
@media (max-width: 768px) {
  #archive-content { padding: 40px 20px; }
  .archive-item { flex-direction: column; gap: 12px; }
  .archive-thumb { width: 100%; }
  .archive-thumb img { height: 180px; }
}

/* ===== SINGLE POST ===== */
#single-content {
  background: var(--white);
  padding: 60px 80px;
}
.single-inner {
  max-width: 760px;
  margin: 0 auto;
}
.single-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.single-cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  background: #fff4ee;
  padding: 3px 12px;
  border-radius: 20px;
  text-decoration: none;
}
.single-cat:hover { opacity: 0.8; }
.single-date {
  font-size: 13px;
  color: var(--gray);
}
.single-updated {
  font-size: 12px;
  color: #aaa;
}
.single-body {
  font-size: 15px;
  line-height: 2;
  color: #333;
}
.single-body h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin: 48px 0 16px;
  padding: 10px 16px;
  background: #fff4ee;
  border-left: 4px solid var(--orange);
  border-radius: 0 4px 4px 0;
}
.single-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin: 32px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.single-body p {
  margin-bottom: 20px;
}
.single-body ul, .single-body ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.single-body li { margin-bottom: 8px; line-height: 1.8; }
.single-body a { color: var(--orange); text-decoration: underline; }
.single-body a:hover { opacity: 0.8; }
.single-body img { max-width: 100%; height: auto; border-radius: 6px; margin: 24px 0; }
.single-body strong { font-weight: 700; color: var(--dark); }
.single-body blockquote {
  border-left: 3px solid var(--orange);
  padding: 12px 20px;
  background: #fafafa;
  margin: 24px 0;
  color: #555;
  font-style: italic;
}

.single-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 48px 0 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.single-nav a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  color: var(--dark);
  font-size: 13px;
  max-width: 45%;
}
.single-nav a:hover { color: var(--orange); }
.single-nav a span:first-child { color: var(--gray); font-size: 11px; }
.single-nav-next { text-align: right; }

.single-back { text-align: center; }

@media (max-width: 768px) {
  #single-content { padding: 40px 20px; }
  .single-nav { flex-direction: column; }
  .single-nav a { max-width: 100%; }
  .single-nav-next { text-align: left; }
}

/* ===== NEWS ===== */
.news-section {
  background: var(--white);
  padding: 64px 80px;
}
.news-inner {
  max-width: 860px;
  margin: 0 auto;
}
.news-list {
  margin-top: 32px;
  border-top: 1px solid var(--border);
}
.news-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--dark);
  transition: opacity 0.2s;
}
.news-item:hover { opacity: 0.7; }
.news-date {
  font-size: 13px;
  color: var(--gray);
  white-space: nowrap;
  flex-shrink: 0;
}
.news-cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  background: #fff4ee;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}
.news-title {
  font-size: 14px;
  line-height: 1.6;
}
.news-empty {
  font-size: 14px;
  color: var(--gray);
  padding: 24px 0;
  text-align: center;
}
@media (max-width: 768px) {
  .news-section { padding: 48px 20px; }
  .news-item { flex-wrap: wrap; gap: 8px; }
  .news-title { width: 100%; }
}

/* ===== FAQ ===== */
.faq {
  background: var(--light-gray);
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  text-align: left;
  transition: background 0.2s;
}
.faq-q:hover { background: #fff8f4; }
.faq-icon {
  font-size: 20px;
  color: var(--orange);
  flex-shrink: 0;
  transition: transform 0.3s;
  font-style: normal;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-a { max-height: 600px; }
.faq-a p {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
  margin: 0;
}

/* ===== PAGE HERO ===== */
.page-hero {
  position: relative;
  height: 260px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 0;
  padding-top: 70px; /* ヘッダー分のテキスト位置補正 */
}

/* TOPのヒーロー画像を背景に使用 */
.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/* テキスト可読性のための薄いオーバーレイ */
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 80px;
}
.page-hero-title {
  font-size: 34px;
  font-weight: 900;
  color: var(--white);
  margin: 0 0 8px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.page-hero-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  margin: 0;
}

/* ===== PAGE CONTENT ===== */
#page-content {
  padding: 60px 80px;
  background: var(--white);
}
.page-inner {
  max-width: 860px;
  margin: 0 auto;
}

/* 固定ページ本文スタイル */
.page-inner p {
  font-size: 15px;
  color: #444;
  line-height: 1.9;
  margin-bottom: 16px;
}
.page-inner strong {
  color: var(--dark);
  font-weight: 700;
  display: block;
  margin-top: 28px;
  margin-bottom: 4px;
  font-size: 14px;
  border-left: 3px solid var(--orange);
  padding: 6px 12px;
  background: #fff8f4;
  border-radius: 0 4px 4px 0;
}
.page-inner ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 20px;
}
.page-inner ul li {
  font-size: 14px;
  color: #444;
  line-height: 1.8;
  padding-left: 16px;
  position: relative;
}
.page-inner ul li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--orange);
}
.page-inner h2 {
  font-size: 20px;
  font-weight: 900;
  color: var(--dark);
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--orange);
}
.page-inner h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin: 24px 0 8px;
}

@media (max-width: 768px) {
  #page-content { padding: 40px 20px; }
}

/* ===== SERVICE DETAIL (豪華版) ===== */
.sd-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.sd-section-title {
  font-size: 28px;
  font-weight: 900;
  color: var(--dark);
  margin: 8px 0 40px;
}

/* リード */
.sd-lead-section {
  background: var(--white);
  padding: 64px 80px;
  text-align: center;
}
.sd-lead-text {
  font-size: 16px;
  color: #444;
  line-height: 2;
}

/* お悩み */
.sd-troubles-section {
  background: var(--light-gray);
  padding: 64px 80px;
}
.sd-troubles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.sd-trouble-item {
  background: var(--white);
  border-radius: 10px;
  padding: 28px 20px;
  text-align: center;
  border-top: 3px solid var(--orange);
}
.sd-trouble-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--orange);
}
.sd-trouble-icon svg { width: 100%; height: 100%; }
.sd-trouble-item p {
  font-size: 14px;
  color: #444;
  line-height: 1.7;
  margin: 0;
}

/* 対応内容 */
.sd-features-section {
  background: var(--white);
  padding: 64px 80px;
}
.sd-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.sd-feature-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px 28px;
  transition: box-shadow 0.2s;
}
.sd-feature-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.sd-feature-icon {
  width: 44px;
  height: 44px;
  background: #fff4ee;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  margin-bottom: 16px;
}
.sd-feature-icon svg { width: 22px; height: 22px; }
.sd-feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--orange);
}
.sd-feature-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sd-feature-card ul li {
  font-size: 14px;
  color: #444;
  line-height: 1.9;
  padding-left: 18px;
  position: relative;
}
.sd-feature-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
}

/* 対応の流れ */
.sd-flow-section {
  background: var(--light-gray);
  padding: 64px 80px;
}
.sd-flow-steps {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.sd-flow-step {
  flex: 1;
  background: var(--white);
  border-radius: 10px;
  padding: 28px 24px;
  text-align: center;
}
.sd-flow-num {
  font-size: 32px;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 12px;
}
.sd-flow-step h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.sd-flow-step p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
  margin: 0;
}
.sd-flow-arrow {
  font-size: 24px;
  color: var(--orange);
  margin-top: 40px;
  flex-shrink: 0;
}

/* 料金 */
.sd-price-section {
  background: var(--white);
  padding: 64px 80px;
}
.sd-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.sd-price-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
}
.sd-price-card.sd-price-featured {
  border-color: var(--orange);
  border-width: 2px;
}
.sd-price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
}
.sd-price-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}
.sd-price-num {
  font-size: 32px;
  font-weight: 900;
  color: var(--orange);
  margin-bottom: 12px;
}
.sd-price-num span { font-size: 18px; }
.sd-price-card p {
  font-size: 13px;
  color: var(--gray);
  margin: 0;
  line-height: 1.7;
}
.sd-price-note {
  font-size: 13px;
  color: var(--gray);
  text-align: center;
}

/* FAQ */
.sd-faq-section {
  background: var(--light-gray);
  padding: 64px 80px;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .sd-lead-section,
  .sd-troubles-section,
  .sd-features-section,
  .sd-flow-section,
  .sd-price-section,
  .sd-faq-section { padding: 48px 20px; }
  .sd-section-title { font-size: 22px; }
  .sd-troubles-grid { grid-template-columns: repeat(2, 1fr); }
  .sd-features-grid { grid-template-columns: 1fr; }
  .sd-flow-steps { flex-direction: column; }
  .sd-flow-arrow { display: none; }
  .sd-price-grid { grid-template-columns: 1fr; }
}

/* ===== SERVICE DETAIL ===== */
.service-detail-section {
  background: var(--white);
  padding: 64px 80px;
}
.service-detail-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.service-detail-lead {
  margin-bottom: 48px;
  text-align: center;
}
.service-detail-lead p {
  font-size: 16px;
  color: #444;
  line-height: 1.9;
  max-width: 760px;
  margin: 0 auto;
}
.service-detail-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.service-detail-feature {
  background: var(--light-gray);
  border-radius: 10px;
  padding: 28px 24px;
}
.service-detail-feature h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--orange);
}
.service-detail-feature ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.service-detail-feature ul li {
  font-size: 14px;
  color: #444;
  line-height: 1.8;
  padding-left: 16px;
  position: relative;
}
.service-detail-feature ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: 12px;
}
.service-detail-price {
  background: #fff8f4;
  border: 1px solid #ffd4b8;
  border-left: 4px solid var(--orange);
  border-radius: 6px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.service-detail-price-from {
  font-size: 28px;
  font-weight: 900;
  color: var(--orange);
  white-space: nowrap;
}
.service-detail-price span:last-child {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}
@media (max-width: 768px) {
  .service-detail-section { padding: 40px 20px; }
  .service-detail-features { grid-template-columns: 1fr; gap: 16px; }
  .service-detail-price { flex-direction: column; gap: 8px; align-items: flex-start; }
  .service-detail-price-from { font-size: 24px; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 1枚目のスライドのみ初期アニメーション */
.hero-slide:first-child .hero-eyebrow {
  animation: fadeUp 0.7s ease forwards;
  animation-delay: 0.1s;
  opacity: 0;
}
.hero-slide:first-child .hero-h1 {
  animation: fadeUp 0.7s ease forwards;
  animation-delay: 0.3s;
  opacity: 0;
}
.hero-slide:first-child h1.hero-eyebrow {
  animation: fadeUp 0.7s ease forwards;
  animation-delay: 0.1s;
  opacity: 0;
}
.hero-slide:first-child .hero-sub {
  animation: fadeUp 0.7s ease forwards;
  animation-delay: 0.5s;
  opacity: 0;
}
.hero-slide:first-child .hero-btns {
  animation: fadeUp 0.7s ease forwards;
  animation-delay: 0.7s;
  opacity: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {

  /* ヘッダー */
  #site-header { padding: 0 16px; }
  #site-header .nav-menu { display: none; }
  .btn-contact { font-size: 12px; padding: 8px 14px; white-space: nowrap; }
  .drawer-btn { display: flex; }

  /* 固定ページヒーロー */
  .page-hero { height: 220px; padding-top: 60px; }
  .page-hero-content { padding: 0 20px; }
  .page-hero-title { font-size: 22px; }
  .page-hero-sub { font-size: 12px; }

  /* TOPヒーロー */
  .hero { min-height: 85svh; padding: 100px 0 48px; }
  .hero-slides { width: 100%; min-height: 280px; }
  .hero-slide { left: 0; width: 100%; padding: 0 20px; }
  .hero-h1 { font-size: 26px !important; line-height: 1.5 !important; }
  .hero-eyebrow { font-size: 12px; }
  .hero-sub { font-size: 13px; }
  .hero-btns { flex-direction: column; gap: 12px; }
  .hero-btns a { width: 100%; text-align: center; justify-content: center; }
  .btn-primary, .btn-outline { font-size: 13px; padding: 14px 20px; }

  /* STATS */
  .stats-wrapper { margin: 0; padding: 0; }
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    border-radius: 0;
    box-shadow: none;
    border-left: none;
    border-right: none;
  }
  .stat-item { padding: 20px 16px; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) { border-top: 1px solid var(--border); }
  .stat-item:nth-child(4) { border-right: none; }
  .stat-text .number { font-size: 28px; }

  /* 共通セクション */
  section { padding: 48px 20px; }
  .section-title { font-size: 22px; }
  .section-sub { font-size: 13px; }

  /* TROUBLE */
  .troubles-grid { grid-template-columns: 1fr; gap: 16px; }
  .trouble-item { flex-direction: row; align-items: flex-start; }

  /* SERVICE */
  .service-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .service-card { padding: 20px 14px; }
  .service-card h3 { font-size: 13px; }

  /* REASONS */
  .reasons-grid { grid-template-columns: 1fr; gap: 16px; }
  .reason-card { padding: 24px 20px; }

  /* WORKS */
  .works { padding: 48px 20px; }
  .works-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .work-card { border-radius: 8px; }

  /* PRICING */
  .pricing-grid { grid-template-columns: 1fr; gap: 16px; max-width: 400px; margin: 0 auto; }

  /* VOICE */
  .voices-grid { grid-template-columns: 1fr; gap: 16px; }

  /* FAQ */
  .faq-q { font-size: 14px; padding: 16px 18px; }

  /* CTA BANNER */
  .cta-banner { flex-direction: column; padding: 40px 20px; text-align: center; gap: 24px; }
  .cta-banner-content { flex-direction: column; text-align: center; }
  .cta-banner-text h2 { font-size: 18px; }
  .cta-banner .btn-white { width: 100%; text-align: center; }

  /* 決済ロゴ */
  .payments { padding: 40px 20px; }

  /* サービスページ */
  .service-page-intro { padding: 32px 20px; }
  .service-nav-cards { padding: 32px 20px; }
  .service-nav-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .service-nav-card { padding: 16px 12px; }
  .service-page-item { padding: 40px 20px; }
  .service-page-item-header { flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
  .service-page-item-header h2 { font-size: 18px; }
  .service-page-link { margin-left: 0; width: 100%; text-align: center; }
  .service-page-features { grid-template-columns: 1fr; gap: 12px; }
  .service-examples-grid { grid-template-columns: repeat(2, 1fr); }
  .service-page-price-note { flex-direction: column; gap: 6px; }

  /* サービス詳細（豪華版）*/
  .sd-lead-section,
  .sd-troubles-section,
  .sd-features-section,
  .sd-flow-section,
  .sd-price-section,
  .sd-faq-section { padding: 48px 20px; }
  .sd-section-title { font-size: 20px; }
  .sd-troubles-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .sd-features-grid { grid-template-columns: 1fr; gap: 16px; }
  .sd-flow-steps { flex-direction: column; gap: 12px; }
  .sd-flow-arrow { display: none; }
  .sd-price-grid { grid-template-columns: 1fr; gap: 16px; }
  .sd-lead-text { font-size: 14px; }
  .payments-logos { gap: 10px; justify-content: center; }
  .payment-logo-item svg { width: 80px; height: 32px; }

  /* フッター */
  #site-footer { padding: 40px 0; }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 20px;
  }
  .footer-col ul { columns: 1; }
  .footer-col-title { font-size: 13px; margin-bottom: 10px; }
  .footer-col ul li { margin-bottom: 10px; }
  .footer-bottom { padding: 16px 20px; }
  .footer-bottom p { font-size: 11px; }
}
