/*
Theme Name:  Weal Lab
Theme URI:   https://weal-lab.jp
Author:      Weal Lab
Author URI:  https://weal-lab.jp
Description: AI活用×Web制作のコーポレートサイトテーマ
Version:     1.4.3
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: weal-lab
Tags:        corporate, responsive, japanese
*/

/* =============================================
   RESET & BASE
   ============================================= */

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

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

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.75;
  color: #1e2329;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }

/* =============================================
   TYPOGRAPHY
   ============================================= */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: #1e2329;
}

/* =============================================
   LAYOUT
   ============================================= */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }
}

/* =============================================
   SECTION SPACING
   ============================================= */

.section { padding: 5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-lg { padding: 6rem 0; }

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .section-sm { padding: 2.5rem 0; }
  .section-lg { padding: 4rem 0; }
}

/* =============================================
   SECTION HEADER
   ============================================= */

.section-header {
  margin-bottom: 3rem;
}

.section-header.center { text-align: center; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #2563eb;
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: #1e2329;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.section-desc {
  font-size: 0.9375rem;
  color: #5a6473;
  line-height: 1.75;
  max-width: 600px;
}

.section-header.center .section-desc { margin: 0 auto; }

/* =============================================
   BUTTONS
   ============================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 4px;
  border: 1.5px solid transparent;
  transition: all 0.18s cubic-bezier(0.23, 1, 0.32, 1);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.4;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

.btn-primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
}

.btn-outline {
  background: transparent;
  color: #1e2329;
  border-color: #d0d7e0;
}

.btn-outline:hover {
  border-color: #2563eb;
  color: #2563eb;
}

.btn-white {
  background: #ffffff;
  color: #2563eb;
  border-color: #ffffff;
}

.btn-white:hover {
  background: #f0f5ff;
}

.btn-line {
  background: #06c755;
  color: #ffffff;
  border-color: #06c755;
}

.btn-line:hover { background: #05b34c; border-color: #05b34c; }

.btn-lg {
  padding: 0.9375rem 2.25rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

/* =============================================
   BADGE / TAG
   ============================================= */

.badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 500;
  border-radius: 3px;
  background: #eef2ff;
  color: #2563eb;
}

.badge-teal { background: #f0fdfa; color: #0d9488; }
.badge-gray { background: #f1f5f9; color: #64748b; }

/* =============================================
   HEADER / NAVIGATION
   ============================================= */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #e8ecf0;
  transition: box-shadow 0.2s;
}

.site-header.scrolled {
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  width: 30px;
  height: 30px;
  background: #2563eb;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-text {
  font-size: 1rem;
  font-weight: 700;
  color: #1e2329;
  letter-spacing: -0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

.nav-link {
  padding: 0.4rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: #3d4a5c;
  border-radius: 3px;
  transition: all 0.15s;
  text-decoration: none;
}

.nav-link:hover, .nav-link.active {
  color: #2563eb;
  background: #f0f5ff;
}

.nav-cta {
  margin-left: 0.75rem;
  padding: 0.45rem 1.25rem;
  background: #2563eb;
  color: #ffffff !important;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.15s;
}

.nav-cta:hover {
  background: #1d4ed8;
  color: #ffffff !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #3d4a5c;
  border-radius: 1px;
  transition: all 0.2s;
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: #ffffff;
  border-bottom: 1px solid #e8ecf0;
  z-index: 999;
  padding: 0.75rem 1.25rem 1.25rem;
  flex-direction: column;
  gap: 0.125rem;
}

.mobile-nav.open { display: flex; }

.mobile-nav .nav-link {
  display: block;
  padding: 0.75rem 0.75rem;
  font-size: 0.9375rem;
  border-radius: 3px;
}

.mobile-nav .nav-cta {
  margin: 0.75rem 0 0;
  text-align: center;
  display: block;
  padding: 0.75rem;
}

@media (max-width: 768px) {
  .site-nav { display: none; }
  .hamburger { display: flex; }
}

/* =============================================
   FOOTER
   ============================================= */

.site-footer {
  background: #1e2329;
  color: #9aa3ae;
  padding: 3.5rem 0 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo-text { color: #ffffff; }
.footer-brand .logo-mark { background: #2563eb; }

.footer-tagline {
  font-size: 0.8125rem;
  color: #6b7685;
  line-height: 1.65;
  margin-top: 0.75rem;
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #c8d0d9;
  margin-bottom: 0.875rem;
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.8125rem;
  color: #6b7685;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover { color: #c8d0d9; }

.footer-bottom {
  border-top: 1px solid #2c3340;
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-copy {
  font-size: 0.75rem;
  color: #4d5a6a;
}

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* =============================================
   HERO SECTION
   ============================================= */

.hero-section {
  padding: 7rem 0 5rem;
  background: #f8fafc;
  border-bottom: 1px solid #e8ecf0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #2563eb;
  margin-bottom: 1.25rem;
  padding: 0.3rem 0.875rem;
  background: #eef2ff;
  border-radius: 3px;
}

.hero-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #1e2329;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-title em {
  font-style: normal;
  color: #2563eb;
}

.hero-desc {
  font-size: 0.9375rem;
  color: #5a6473;
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #e8ecf0;
}

.hero-stat-num {
  font-size: 1.625rem;
  font-weight: 700;
  color: #1e2329;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: #8a95a3;
}

.hero-visual {
  background: #ffffff;
  border: 1px solid #e8ecf0;
  border-radius: 8px;
  overflow: hidden;
}

.hero-visual-inner {
  padding: 1.5rem;
}

.hero-card-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #1e2329;
  margin-bottom: 1rem;
}

.hero-card-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 4px;
  background: #f8fafc;
  margin-bottom: 0.5rem;
  font-size: 0.8125rem;
  color: #3d4a5c;
}

.hero-card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2563eb;
  flex-shrink: 0;
}

.hero-card-dot.teal { background: #0d9488; }
.hero-card-dot.green { background: #16a34a; }

.hero-card-bar {
  margin-left: auto;
  height: 4px;
  border-radius: 2px;
  background: #e8ecf0;
  width: 80px;
  overflow: hidden;
}

.hero-card-bar-fill {
  height: 100%;
  border-radius: 2px;
  background: #2563eb;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-section { padding: 5.5rem 0 3.5rem; }
  .hero-visual { max-width: 480px; }
}

@media (max-width: 480px) {
  .hero-stats { gap: 1.5rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* =============================================
   PAGE HERO (sub-pages)
   ============================================= */

.page-hero {
  background: #f8fafc;
  border-bottom: 1px solid #e8ecf0;
  padding: 6.5rem 0 3.5rem;
}

.page-hero-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #2563eb;
  margin-bottom: 0.75rem;
}

.page-hero-title {
  font-size: clamp(1.625rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #1e2329;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.page-hero-subtitle {
  font-size: 0.9375rem;
  color: #5a6473;
  line-height: 1.75;
  max-width: 560px;
}

@media (max-width: 768px) {
  .page-hero { padding: 5.5rem 0 2.5rem; }
}

/* =============================================
   SERVICES SECTION (top page)
   ============================================= */

.services-section { background: #ffffff; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-card {
  border: 1px solid #e8ecf0;
  border-radius: 6px;
  padding: 1.75rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #ffffff;
}

.service-card:hover {
  border-color: #bfcfed;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.06);
}

.service-card.featured {
  border-color: #bfcfed;
  background: #f8faff;
}

.service-icon {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: #eef2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.service-icon.teal { background: #f0fdfa; }
.service-icon.indigo { background: #eef2ff; }

.service-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1e2329;
  margin-bottom: 0.5rem;
}

.service-desc {
  font-size: 0.875rem;
  color: #5a6473;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.service-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #3d4a5c;
  line-height: 1.45;
}

.service-feature-check {
  color: #2563eb;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05em;
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* =============================================
   WORKS SECTION (top page)
   ============================================= */

.works-section { background: #f8fafc; }

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.work-card {
  background: #ffffff;
  border: 1px solid #e8ecf0;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.work-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

.work-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  overflow: hidden;
}

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

.work-body { padding: 1.25rem; }

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.625rem;
}

.work-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1e2329;
  margin-bottom: 0.375rem;
  line-height: 1.4;
}

.work-desc {
  font-size: 0.8125rem;
  color: #5a6473;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .works-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .works-grid { grid-template-columns: 1fr; }
}

/* =============================================
   PRICING SECTION (top page)
   ============================================= */

.pricing-section { background: #ffffff; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.pricing-card {
  border: 1px solid #e8ecf0;
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
  transition: box-shadow 0.2s;
}

.pricing-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.pricing-card.popular {
  border-color: #2563eb;
}

.pricing-card-header {
  padding: 1.5rem 1.5rem 1.25rem;
  border-bottom: 1px solid #e8ecf0;
}

.pricing-card.popular .pricing-card-header {
  background: #2563eb;
}

.pricing-popular-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0.5rem;
}

.pricing-plan-name {
  font-size: 1rem;
  font-weight: 700;
  color: #1e2329;
  margin-bottom: 0.25rem;
}

.pricing-card.popular .pricing-plan-name { color: #ffffff; }

.pricing-plan-desc {
  font-size: 0.8125rem;
  color: #5a6473;
  line-height: 1.55;
}

.pricing-card.popular .pricing-plan-desc { color: rgba(255,255,255,0.75); }

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin: 0.875rem 0 0;
}

.pricing-price-num {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e2329;
  line-height: 1;
}

.pricing-card.popular .pricing-price-num { color: #ffffff; }

.pricing-price-unit {
  font-size: 0.8125rem;
  color: #8a95a3;
}

.pricing-card.popular .pricing-price-unit { color: rgba(255,255,255,0.65); }

.pricing-card-body { padding: 1.25rem 1.5rem 1.5rem; }

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #3d4a5c;
  line-height: 1.45;
}

.pricing-check { color: #2563eb; font-weight: 700; flex-shrink: 0; }

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

/* =============================================
   NEWS SECTION (top page)
   ============================================= */

.news-section { background: #f8fafc; }

.news-list-top {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #e8ecf0;
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
}

.news-row {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  transition: background 0.12s;
}

.news-row:last-child { border-bottom: none; }
.news-row:hover { background: #f8faff; }

.news-row-date {
  font-size: 0.8125rem;
  color: #8a95a3;
  flex-shrink: 0;
  min-width: 90px;
}

.news-row-cat {
  flex-shrink: 0;
}

.news-row-title {
  font-size: 0.9375rem;
  color: #1e2329;
  line-height: 1.45;
}

.news-more {
  margin-top: 1.5rem;
  text-align: right;
}

.news-more a {
  font-size: 0.875rem;
  color: #2563eb;
  font-weight: 500;
  text-decoration: none;
}

.news-more a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .news-row { flex-wrap: wrap; gap: 0.375rem; }
  .news-row-date { min-width: auto; }
}

/* =============================================
   FAQ SECTION
   ============================================= */

.faq-section { background: #f8fafc; }

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #e8ecf0;
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
}

.faq-item {
  border-bottom: 1px solid #f1f5f9;
}

.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #1e2329;
  transition: background 0.12s;
  font-family: 'Noto Sans JP', sans-serif;
}

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

.faq-q-text { flex: 1; line-height: 1.5; }

.faq-chevron {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: #8a95a3;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  display: none;
  padding: 0 1.25rem 1.125rem;
  font-size: 0.875rem;
  color: #5a6473;
  line-height: 1.75;
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
}

.faq-item.open .faq-answer { display: block; }

/* =============================================
   CTA SECTION
   ============================================= */

.cta-section {
  background: #1e2329;
  padding: 5rem 0;
  text-align: center;
  color: #ffffff;
}

.cta-title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.875rem;
  line-height: 1.25;
}

.cta-subtitle {
  font-size: 0.9375rem;
  color: #8a95a3;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.cta-buttons {
  display: flex;
  gap: 0.875rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; max-width: 320px; justify-content: center; }
}

/* =============================================
   CONTACT PAGE
   ============================================= */

.contact-section { padding: 4rem 0 5rem; background: #f8fafc; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-info {
  position: sticky;
  top: 80px;
}

.contact-info-card {
  background: #ffffff;
  border: 1px solid #e8ecf0;
  border-radius: 6px;
  padding: 1.5rem;
  margin-bottom: 0.875rem;
}

.contact-info-heading {
  font-size: 0.75rem;
  font-weight: 700;
  color: #8a95a3;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.contact-info-item:last-child { margin-bottom: 0; }

.contact-info-icon {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.contact-info-label {
  font-size: 0.75rem;
  color: #8a95a3;
  margin-bottom: 0.125rem;
}

.contact-info-value {
  font-size: 0.875rem;
  color: #1e2329;
  font-weight: 500;
  line-height: 1.5;
}

.contact-form-wrap {
  background: #ffffff;
  border: 1px solid #e8ecf0;
  border-radius: 6px;
  padding: 2rem;
}

.form-group { margin-bottom: 1.125rem; }

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #3d4a5c;
  margin-bottom: 0.375rem;
}

.form-label .required {
  color: #e53e3e;
  margin-left: 0.25rem;
  font-size: 0.75rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.6875rem 0.875rem;
  border: 1px solid #d0d7e0;
  border-radius: 4px;
  font-size: 0.9375rem;
  color: #1e2329;
  background: #ffffff;
  transition: border-color 0.15s, box-shadow 0.15s;
  font-family: 'Noto Sans JP', sans-serif;
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

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

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

.form-submit {
  width: 100%;
  padding: 0.875rem;
  background: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
  font-family: 'Noto Sans JP', sans-serif;
}

.form-submit:hover { background: #1d4ed8; }
.form-submit:active { transform: scale(0.99); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.form-privacy {
  font-size: 0.78rem;
  color: #8a95a3;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.form-privacy a { color: #2563eb; }

/* Honeypot */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* Success / Error */
.form-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
  padding: 2rem;
  text-align: center;
}

.form-success-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.form-success-title { font-size: 1rem; font-weight: 700; color: #15803d; margin-bottom: 0.5rem; }
.form-success-desc { font-size: 0.875rem; color: #5a6473; line-height: 1.65; }

.form-error-msg {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 4px;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #dc2626;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { position: static; }
  .form-row { grid-template-columns: 1fr; }
}

/* =============================================
   COMPANY TABLE
   ============================================= */

.company-section { background: #ffffff; }

.company-table-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid #e8ecf0;
  border-radius: 6px;
  overflow: hidden;
}

.company-table th,
.company-table td {
  padding: 0.875rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.9rem;
  vertical-align: top;
  line-height: 1.65;
}

.company-table tr:last-child th,
.company-table tr:last-child td { border-bottom: none; }

.company-table th {
  width: 30%;
  font-weight: 500;
  color: #5a6473;
  background: #f8fafc;
  white-space: nowrap;
}

.company-table td { color: #1e2329; }

@media (max-width: 600px) {
  .company-table th,
  .company-table td { display: block; width: 100%; }
  .company-table th { background: #f8fafc; border-bottom: none; padding-bottom: 0.25rem; }
  .company-table td { padding-top: 0.25rem; }
}

/* =============================================
   MISSION / VALUES
   ============================================= */

.mission-section { background: #f8fafc; }

.mission-card {
  max-width: 720px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e8ecf0;
  border-radius: 6px;
  padding: 2.5rem;
}

.mission-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #2563eb;
  margin-bottom: 0.875rem;
}

.mission-text {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: #1e2329;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.mission-desc {
  font-size: 0.9rem;
  color: #5a6473;
  line-height: 1.8;
}

.values-section { background: #ffffff; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.value-card {
  background: #f8fafc;
  border: 1px solid #e8ecf0;
  border-radius: 6px;
  padding: 1.5rem;
}

.value-icon {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: #eef2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 0.875rem;
}

.value-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1e2329;
  margin-bottom: 0.375rem;
}

.value-desc {
  font-size: 0.8125rem;
  color: #5a6473;
  line-height: 1.7;
}

@media (max-width: 600px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* =============================================
   PRICING PAGE
   ============================================= */

.pricing-page-section { background: #f8fafc; padding: 3rem 0 5rem; }

.ai-packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.ai-package-card {
  background: #ffffff;
  border: 1px solid #e8ecf0;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.2s;
}

.ai-package-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.ai-package-card.popular {
  border-color: #2563eb;
}

.popular-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: #2563eb;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
}

.pkg-header { padding: 1.5rem; border-bottom: 1px solid #f1f5f9; }
.pkg-name { font-size: 1rem; font-weight: 700; color: #1e2329; margin-bottom: 0.25rem; }
.pkg-price { display: flex; align-items: baseline; gap: 0.25rem; margin: 0.75rem 0; }
.pkg-price-num { font-size: 1.625rem; font-weight: 700; color: #1e2329; }
.pkg-price-unit { font-size: 0.8125rem; color: #8a95a3; }
.pkg-desc { font-size: 0.8125rem; color: #5a6473; line-height: 1.55; }

.pkg-features {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pkg-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #3d4a5c;
  line-height: 1.45;
}

.pkg-check { color: #2563eb; font-weight: 700; flex-shrink: 0; }

@media (max-width: 900px) {
  .ai-packages-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

/* =============================================
   OPTIONS LIST
   ============================================= */

.options-list {
  max-width: 680px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e8ecf0;
  border-radius: 6px;
  overflow: hidden;
}

.option-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  gap: 1rem;
}

.option-row:last-child { border-bottom: none; }

.option-name { font-size: 0.9rem; color: #3d4a5c; }
.option-price { font-size: 0.9375rem; font-weight: 700; color: #1e2329; flex-shrink: 0; }
.option-note { font-size: 0.75rem; color: #8a95a3; }

/* =============================================
   ESTIMATE GRID
   ============================================= */

.estimate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.estimate-card {
  background: #ffffff;
  border: 1px solid #e8ecf0;
  border-radius: 6px;
  padding: 1.5rem;
  text-align: center;
}

.estimate-card.highlight { border-color: #bfcfed; background: #f8faff; }

.estimate-icon {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin: 0 auto 0.875rem;
}

.estimate-title { font-size: 0.9375rem; font-weight: 700; color: #1e2329; margin-bottom: 0.25rem; }
.estimate-detail { font-size: 0.78rem; color: #8a95a3; margin-bottom: 0.75rem; }
.estimate-price { display: flex; align-items: baseline; gap: 0.15rem; justify-content: center; }
.estimate-price-num { font-size: 1.375rem; font-weight: 700; color: #1e2329; }
.estimate-price-unit { font-size: 0.8125rem; color: #8a95a3; }

@media (max-width: 768px) {
  .estimate-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

/* =============================================
   PRICING TABLE
   ============================================= */

.pricing-table-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid #e8ecf0;
  border-radius: 6px;
  overflow: hidden;
}

.pricing-table th,
.pricing-table td {
  padding: 0.75rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.875rem;
}

.pricing-table tr:last-child td { border-bottom: none; }

.pricing-table thead th {
  background: #f8fafc;
  font-weight: 700;
  color: #3d4a5c;
  font-size: 0.8125rem;
}

.pricing-table td:first-child { text-align: left; color: #3d4a5c; }

.pricing-note {
  font-size: 0.78rem;
  color: #8a95a3;
  margin-top: 0.75rem;
}

/* =============================================
   SERVICES PAGE
   ============================================= */

.services-page-section { background: #f8fafc; padding: 3rem 0 5rem; }

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.service-detail-card {
  background: #ffffff;
  border: 1px solid #e8ecf0;
  border-radius: 6px;
  padding: 1.75rem;
  transition: box-shadow 0.2s;
}

.service-detail-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.service-detail-card.featured {
  border-color: #bfcfed;
  background: #f8faff;
  grid-column: 1 / -1;
}

.service-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: #eef2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.service-detail-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1e2329;
  margin-bottom: 0.5rem;
}

.service-detail-desc {
  font-size: 0.875rem;
  color: #5a6473;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.service-detail-features {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.service-detail-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #3d4a5c;
  line-height: 1.45;
}

.service-detail-feature::before {
  content: '—';
  color: #2563eb;
  font-weight: 700;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-detail-card.featured { grid-column: auto; }
}

/* =============================================
   WORKS PAGE
   ============================================= */

.works-page-section { background: #f8fafc; padding: 3rem 0 5rem; }

.works-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.work-page-card {
  background: #ffffff;
  border: 1px solid #e8ecf0;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.work-page-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.work-page-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  overflow: hidden;
}

.work-page-thumb img { width: 100%; height: 100%; object-fit: cover; }

.work-page-body { padding: 1.25rem; }

.work-page-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.625rem;
}

.work-page-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1e2329;
  margin-bottom: 0.375rem;
}

.work-page-desc {
  font-size: 0.8125rem;
  color: #5a6473;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.work-page-points {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.work-page-point {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: #3d4a5c;
}

.work-page-point::before {
  content: '—';
  color: #2563eb;
  font-weight: 700;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .works-page-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .works-page-grid { grid-template-columns: 1fr; }
}

/* =============================================
   PROCESS
   ============================================= */

.process-section { background: #ffffff; }

.process-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 680px;
  margin: 0 auto;
  border: 1px solid #e8ecf0;
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem;
  border-bottom: 1px solid #f1f5f9;
}

.process-step:last-child { border-bottom: none; }

.process-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #2563eb;
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.process-body { flex: 1; }
.process-title { font-size: 0.9375rem; font-weight: 700; color: #1e2329; margin-bottom: 0.25rem; }
.process-desc  { font-size: 0.8125rem; color: #5a6473; line-height: 1.65; }

/* =============================================
   NEWS ARCHIVE
   ============================================= */

.news-archive-section { padding: 3rem 0 5rem; background: #f8fafc; }

.news-archive-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #e8ecf0;
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
}

.news-item-link {
  display: block;
  padding: 1.25rem;
  text-decoration: none;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.12s;
}

.news-item-link:last-child { border-bottom: none; }
.news-item-link:hover { background: #f8faff; }

.news-item-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.news-item-date { font-size: 0.8125rem; color: #8a95a3; }

.news-item-cat {
  font-size: 0.72rem;
  font-weight: 500;
  color: #2563eb;
  background: #eef2ff;
  border-radius: 3px;
  padding: 0.15rem 0.5rem;
}

.news-item-title {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #1e2329;
  line-height: 1.45;
  margin-bottom: 0.375rem;
}

.news-item-excerpt {
  font-size: 0.8125rem;
  color: #5a6473;
  line-height: 1.6;
}

.news-empty {
  text-align: center;
  padding: 4rem 0;
  color: #8a95a3;
}

.news-empty-text { font-size: 0.9rem; }

/* =============================================
   SINGLE NEWS
   ============================================= */

.single-news-section { padding: 3rem 0 5rem; background: #ffffff; }

.single-news-article { max-width: 720px; margin: 0 auto; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: #8a95a3;
  margin-bottom: 2rem;
}

.breadcrumb a { color: #5a6473; text-decoration: none; }
.breadcrumb a:hover { color: #2563eb; }
.breadcrumb-sep { color: #d0d7e0; }

.article-header { margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid #e8ecf0; }

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.article-title {
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  font-weight: 700;
  color: #1e2329;
  line-height: 1.3;
}

.article-content {
  font-size: 0.9375rem;
  color: #3d4a5c;
  line-height: 1.85;
}

.article-content h2 { font-size: 1.25rem; font-weight: 700; margin: 2rem 0 0.75rem; color: #1e2329; }
.article-content h3 { font-size: 1.0625rem; font-weight: 700; margin: 1.5rem 0 0.5rem; color: #1e2329; }
.article-content p  { margin-bottom: 1rem; }
.article-content ul, .article-content ol { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.article-content li { margin-bottom: 0.375rem; }
.article-content a  { color: #2563eb; text-decoration: underline; }
.article-content img { border-radius: 4px; margin: 1.25rem 0; }

.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e8ecf0;
}

.article-nav-prev a,
.article-nav-next a {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem;
  background: #f8fafc;
  border: 1px solid #e8ecf0;
  border-radius: 4px;
  text-decoration: none;
  transition: border-color 0.15s;
}

.article-nav-prev a:hover,
.article-nav-next a:hover { border-color: #2563eb; }

.article-nav-next { text-align: right; }
.nav-label { font-size: 0.72rem; color: #8a95a3; font-weight: 500; }
.nav-title  { font-size: 0.875rem; color: #3d4a5c; font-weight: 500; line-height: 1.4; }

@media (max-width: 600px) {
  .article-nav { grid-template-columns: 1fr; }
  .article-nav-next { text-align: left; }
}

/* =============================================
   PAGINATION
   ============================================= */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin-top: 2.5rem;
}

.pagination a, .pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid #e8ecf0;
  color: #3d4a5c;
  text-decoration: none;
  transition: all 0.15s;
}

.pagination a:hover { border-color: #2563eb; color: #2563eb; }
.pagination .current { background: #2563eb; color: #ffffff; border-color: #2563eb; }

/* =============================================
   404 PAGE
   ============================================= */

.not-found-section {
  padding: 8rem 0 5rem;
  text-align: center;
  background: #f8fafc;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.not-found-code {
  font-size: 5rem;
  font-weight: 700;
  color: #e8ecf0;
  line-height: 1;
  margin-bottom: 1rem;
}

.not-found-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e2329;
  margin-bottom: 0.75rem;
}

.not-found-desc {
  font-size: 0.9rem;
  color: #5a6473;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* =============================================
   JS FADE-IN
   ============================================= */

.js-fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.js-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js-fade-in { opacity: 1; transform: none; transition: none; }
}

/* =============================================
   WORDPRESS CORE OVERRIDES
   ============================================= */

.wp-block-image img { max-width: 100%; height: auto; }
.aligncenter { display: block; margin: 0 auto; }
.alignleft { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.8125rem; color: #8a95a3; text-align: center; margin-top: 0.375rem; }

/* =============================================
   UTILITY
   ============================================= */

.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* =============================================
   GLOBAL MOBILE SAFETY
   ============================================= */

@media (max-width: 375px) {
  .container { padding: 0 1rem; }
  .btn-lg { padding: 0.875rem 1.5rem; font-size: 0.9375rem; }
  .section-title { font-size: 1.375rem; }
  .page-hero-title { font-size: 1.5rem; }
}

/* =============================================
   WORKS FULL PAGE
   ============================================= */
.works-full-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.work-full-card {
  display: flex;
  gap: 1.5rem;
  padding: 1.75rem;
  border: 1px solid #e5eaf0;
  border-radius: 8px;
  background: #ffffff;
  transition: box-shadow 0.2s;
}
.work-full-card:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.07); }
.work-full-thumb {
  width: 80px;
  height: 80px;
  min-width: 80px;
  background: #f0f4ff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.work-full-body { flex: 1; min-width: 0; }
.work-full-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1e2329;
  margin: 0.5rem 0 0.5rem;
  line-height: 1.4;
}
.work-full-desc {
  font-size: 0.875rem;
  color: #5a6473;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}
.work-full-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.78rem;
  color: #8a95a3;
}
.works-note {
  margin-top: 2.5rem;
  padding: 1rem 1.25rem;
  background: #f8fafc;
  border-radius: 6px;
  font-size: 0.8125rem;
  color: #8a95a3;
  line-height: 1.6;
}
@media (max-width: 600px) {
  .work-full-card { flex-direction: column; gap: 1rem; }
  .work-full-thumb { width: 60px; height: 60px; min-width: 60px; font-size: 1.5rem; }
}

/* =============================================
   COMPANY: MISSION / STRENGTHS
   ============================================= */
.company-mission-wrap {
  max-width: 720px;
  padding: 2.5rem 0;
}
.company-mission-title {
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  font-weight: 700;
  color: #1e2329;
  margin: 0.75rem 0 1rem;
  line-height: 1.4;
}
.company-mission-desc {
  font-size: 0.9375rem;
  color: #5a6473;
  line-height: 1.8;
}
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.strength-card {
  padding: 1.75rem;
  border: 1px solid #e5eaf0;
  border-radius: 8px;
  background: #ffffff;
}
.strength-num {
  font-size: 1.75rem;
  font-weight: 700;
  color: #dce4ef;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.strength-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1e2329;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.strength-desc {
  font-size: 0.8125rem;
  color: #5a6473;
  line-height: 1.7;
}
@media (max-width: 600px) {
  .strengths-grid { grid-template-columns: 1fr; }
}

/* =============================================
   CONTACT: INFO BLOCKS / FAQ
   ============================================= */
.contact-form-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e2329;
  margin-bottom: 0.375rem;
}
.contact-form-desc {
  font-size: 0.875rem;
  color: #8a95a3;
  margin-bottom: 1.5rem;
}
.contact-info-block {
  padding: 1.5rem;
  border: 1px solid #e5eaf0;
  border-radius: 8px;
  background: #ffffff;
  margin-bottom: 1rem;
}
.contact-info-block:last-child { margin-bottom: 0; }
.contact-info-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1e2329;
  margin-bottom: 0.5rem;
}
.contact-info-desc {
  font-size: 0.875rem;
  color: #5a6473;
  margin-bottom: 1rem;
  line-height: 1.65;
}
.contact-info-address {
  font-size: 0.875rem;
  color: #5a6473;
  line-height: 1.7;
}
.contact-faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.contact-faq-item {}
.contact-faq-q {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1e2329;
  margin-bottom: 0.25rem;
}
.contact-faq-a {
  font-size: 0.8125rem;
  color: #5a6473;
  line-height: 1.65;
}

/* =============================================
   NEWS ARCHIVE
   ============================================= */
.news-archive-wrap { max-width: 800px; margin: 0 auto; }
.news-archive-list { display: flex; flex-direction: column; gap: 0; }
.news-archive-item {
  display: block;
  padding: 1.5rem 0;
  border-bottom: 1px solid #e5eaf0;
  transition: opacity 0.15s;
}
.news-archive-item:first-child { border-top: 1px solid #e5eaf0; }
.news-archive-item:hover { opacity: 0.75; }
.news-archive-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.news-archive-date {
  font-size: 0.8125rem;
  color: #8a95a3;
  font-feature-settings: "tnum";
}
.news-archive-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1e2329;
  margin-bottom: 0.375rem;
  line-height: 1.5;
}
.news-archive-excerpt {
  font-size: 0.875rem;
  color: #5a6473;
  line-height: 1.65;
}
.no-posts {
  padding: 3rem 0;
  text-align: center;
  color: #8a95a3;
  font-size: 0.9375rem;
}
.pagination-wrap {
  margin-top: 2.5rem;
  text-align: center;
}
.pagination-wrap .nav-links {
  display: flex;
  justify-content: center;
  gap: 0.375rem;
  flex-wrap: wrap;
}
.pagination-wrap .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #e5eaf0;
  border-radius: 6px;
  font-size: 0.875rem;
  color: #3d4a5c;
  text-decoration: none;
  transition: all 0.15s;
}
.pagination-wrap .page-numbers.current {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}
.pagination-wrap .page-numbers:hover:not(.current) {
  border-color: #2563eb;
  color: #2563eb;
}

/* =============================================
   SINGLE NEWS
   ============================================= */
.single-news-wrap { max-width: 720px; margin: 0 auto; }
.single-news-article { margin-bottom: 3rem; }
.single-news-header { margin-bottom: 2rem; }
.single-news-title {
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  font-weight: 700;
  color: #1e2329;
  margin: 0.75rem 0 0.5rem;
  line-height: 1.4;
}
.single-news-date {
  font-size: 0.8125rem;
  color: #8a95a3;
}
.single-news-content {
  font-size: 0.9375rem;
  color: #3d4a5c;
  line-height: 1.85;
}
.single-news-content p { margin-bottom: 1.25rem; }
.single-news-content h2 { font-size: 1.125rem; margin: 2rem 0 0.75rem; }
.single-news-content h3 { font-size: 1rem; margin: 1.5rem 0 0.5rem; }
.single-news-content a { color: #2563eb; text-decoration: underline; }
.single-news-content ul, .single-news-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.single-news-content ul { list-style: disc; }
.single-news-content ol { list-style: decimal; }
.single-news-content li { margin-bottom: 0.375rem; }
.single-news-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 2rem 0;
  border-top: 1px solid #e5eaf0;
}
.single-news-nav-next { text-align: right; }
.news-nav-link { display: block; }
.news-nav-dir { display: block; font-size: 0.78rem; color: #8a95a3; margin-bottom: 0.25rem; }
.news-nav-title { font-size: 0.875rem; color: #3d4a5c; font-weight: 500; line-height: 1.4; }
.news-nav-link:hover .news-nav-title { color: #2563eb; }
.page-hero-sm { padding: 5.5rem 0 1.5rem; }

/* =============================================
   PRICING NOTES
   ============================================= */
.pricing-notes {
  margin-top: 2.5rem;
  padding: 1.5rem 1.75rem;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 3px solid #2563eb;
}
.pricing-notes-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1e2329;
  margin-bottom: 0.75rem;
}
.pricing-notes-list {
  list-style: disc;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.pricing-notes-list li {
  font-size: 0.875rem;
  color: #5a6473;
  line-height: 1.65;
}

/* =============================================
   HERO SECTION (REFINED)
   ============================================= */
.hero-section {
  padding: 7rem 0 5rem;
  background: #f8fafc;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 100px;
  padding: 0.25rem 0.875rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.01em;
}
.hero-title {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #1e2329;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.hero-title em {
  font-style: normal;
  color: #2563eb;
}
.hero-desc {
  font-size: 0.9375rem;
  color: #5a6473;
  line-height: 1.8;
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.hero-stats {
  display: flex;
  gap: 2rem;
}
.hero-stat-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e2329;
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: #8a95a3;
  margin-top: 0.25rem;
}
.hero-visual {
  display: flex;
  justify-content: flex-end;
}
.hero-visual-inner {
  background: #ffffff;
  border: 1px solid #e5eaf0;
  border-radius: 12px;
  padding: 1.75rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.hero-card-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #8a95a3;
  margin-bottom: 1.25rem;
  text-transform: none;
  letter-spacing: 0;
}
.hero-card-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1rem;
  font-size: 0.8125rem;
  color: #3d4a5c;
}
.hero-card-item:last-child { margin-bottom: 0; }
.hero-card-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
  background: #2563eb;
}
.hero-card-bar {
  flex: 1;
  height: 4px;
  background: #f0f4ff;
  border-radius: 2px;
  overflow: hidden;
}
.hero-card-bar-fill {
  height: 100%;
  background: #2563eb;
  border-radius: 2px;
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { justify-content: flex-start; }
  .hero-visual-inner { max-width: 100%; }
}
@media (max-width: 600px) {
  .hero-section { padding: 5.5rem 0 3rem; }
  .hero-stats { gap: 1.25rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* =============================================
   SERVICES SECTION (REFINED)
   ============================================= */
.services-section { background: #f8fafc; }
.service-card {
  background: #ffffff;
  border: 1px solid #e5eaf0;
  border-radius: 10px;
  padding: 1.75rem;
  transition: box-shadow 0.2s;
}
.service-card:hover { box-shadow: 0 2px 16px rgba(0,0,0,0.07); }
.service-card.featured { border-color: #bfdbfe; }
.service-icon {
  width: 40px;
  height: 40px;
  background: #eff6ff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.service-icon.teal { background: #f0fdfa; }
.service-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1e2329;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.service-desc {
  font-size: 0.8125rem;
  color: #5a6473;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.service-features { display: flex; flex-direction: column; gap: 0.375rem; }
.service-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #5a6473;
  line-height: 1.5;
}
.service-feature-check { color: #2563eb; font-weight: 700; flex-shrink: 0; }

/* =============================================
   WORKS SECTION (REFINED)
   ============================================= */
.works-section { background: #ffffff; }
.work-card {
  background: #ffffff;
  border: 1px solid #e5eaf0;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.work-card:hover { box-shadow: 0 2px 16px rgba(0,0,0,0.07); }
.work-thumb {
  height: 100px;
  background: #f0f4ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.work-body { padding: 1.25rem; }
.work-tags { display: flex; gap: 0.375rem; flex-wrap: wrap; margin-bottom: 0.625rem; }
.work-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1e2329;
  margin-bottom: 0.375rem;
  line-height: 1.4;
}
.work-desc { font-size: 0.8125rem; color: #5a6473; line-height: 1.65; }

/* =============================================
   CONTACT GRID (REFINED)
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  align-items: flex-start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* =============================================
   FOOTER (REFINED)
   ============================================= */
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  padding: 3rem 0 2rem;
}
.footer-brand .logo-text { color: #ffffff; }
.footer-brand .logo-mark { background: #2563eb; color: #ffffff; }
.footer-tagline {
  font-size: 0.8125rem;
  color: #8a95a3;
  line-height: 1.65;
  margin-top: 0.75rem;
}
.footer-col-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #c8d0d9;
  margin-bottom: 0.875rem;
  letter-spacing: 0;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links a {
  font-size: 0.8125rem;
  color: #8a95a3;
  transition: color 0.15s;
}
.footer-links a:hover { color: #c8d0d9; }
.footer-copy {
  font-size: 0.8125rem;
  color: #5a6473;
}
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* =============================================
   HERO NETWORK VISUAL
   ============================================= */
.hero-network {
  width: 100%;
  max-width: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-network-svg {
  width: 100%;
  height: auto;
  max-width: 400px;
}
@media (max-width: 900px) {
  .hero-network { max-width: 100%; }
  .hero-network-svg { max-width: 320px; margin: 0 auto; }
}
@media (max-width: 600px) {
  .hero-network-svg { max-width: 260px; }
}

/* =============================================
   PRICING: PAGE UNIT TABLE
   ============================================= */
.pricing-table-unit .price-em {
  font-weight: 700;
  color: #2563eb;
  font-size: 0.9375rem;
}
.pricing-note-sm {
  font-size: 0.8125rem;
  color: #8a95a3;
  margin-top: 0.75rem;
  line-height: 1.6;
}

/* =============================================
   PRICING: AI PACKAGES
   ============================================= */
.ai-packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.ai-package-card {
  border: 1px solid #e5eaf0;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  transition: box-shadow 0.2s;
}
.ai-package-card:hover { box-shadow: 0 2px 16px rgba(0,0,0,0.07); }
.ai-package-card.popular {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px #bfdbfe;
}
.ai-package-header {
  padding: 1.5rem 1.5rem 1.25rem;
  background: #f8fafc;
  border-bottom: 1px solid #e5eaf0;
  position: relative;
}
.ai-package-card.popular .ai-package-header {
  background: #2563eb;
  border-bottom-color: transparent;
}
.pricing-popular-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  background: #f59e0b;
  border-radius: 4px;
  padding: 0.125rem 0.5rem;
  margin-bottom: 0.5rem;
}
.ai-package-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #1e2329;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}
.ai-package-card.popular .ai-package-name { color: #ffffff; }
.ai-package-desc {
  font-size: 0.8125rem;
  color: #8a95a3;
  margin-bottom: 0.875rem;
}
.ai-package-card.popular .ai-package-desc { color: rgba(255,255,255,0.75); }
.ai-package-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}
.ai-package-price-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e2329;
  line-height: 1;
}
.ai-package-card.popular .ai-package-price-num { color: #ffffff; }
.ai-package-price-unit {
  font-size: 0.875rem;
  color: #8a95a3;
}
.ai-package-card.popular .ai-package-price-unit { color: rgba(255,255,255,0.65); }
.ai-package-body { padding: 1.25rem 1.5rem 1.5rem; }
.ai-package-features { display: flex; flex-direction: column; gap: 0.5rem; }
.ai-package-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #5a6473;
  line-height: 1.5;
}
.pricing-check {
  color: #2563eb;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05em;
}
@media (max-width: 900px) {
  .ai-packages-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}
@media (max-width: 600px) {
  .ai-packages-grid { max-width: 100%; }
}

/* =============================================
   PRICING: ESTIMATE EXAMPLES
   ============================================= */
.estimate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.estimate-card {
  padding: 1.5rem;
  border: 1px solid #e5eaf0;
  border-radius: 10px;
  background: #ffffff;
}
.estimate-card.featured {
  border-color: #bfdbfe;
  background: #f0f6ff;
}
.estimate-card-header { margin-bottom: 1rem; }
.estimate-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1e2329;
  margin-bottom: 0.25rem;
  line-height: 1.4;
}
.estimate-spec {
  font-size: 0.8125rem;
  color: #8a95a3;
}
.estimate-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.625rem;
}
.estimate-price-num {
  font-size: 1.375rem;
  font-weight: 700;
  color: #2563eb;
  line-height: 1;
}
.estimate-price-unit {
  font-size: 0.8125rem;
  color: #8a95a3;
}
.estimate-breakdown {
  font-size: 0.78rem;
  color: #8a95a3;
  line-height: 1.55;
}
@media (max-width: 900px) {
  .estimate-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}
@media (max-width: 600px) {
  .estimate-grid { max-width: 100%; }
}

/* =============================================
   タイポグラフィ・余白の微調整
   ============================================= */
.hero-title { line-height: 1.45; letter-spacing: 0.01em; }
.section-title { line-height: 1.45; letter-spacing: 0.01em; }
.cta-title { line-height: 1.45; letter-spacing: 0.01em; }
.section-desc { max-width: 640px; }
.section-header { margin-bottom: 2.75rem; }
@media (max-width: 768px) {
  .section-header { margin-bottom: 1.75rem; }
  .hero-title, .section-title, .cta-title { line-height: 1.5; }
}
p { letter-spacing: 0.01em; }

/* Hero 背景ノードグラフ：スマホでは非表示 */
@media (max-width: 768px){ .hero-bg-graph{ display:none; } }

/* ブランドロゴ：柔らかいブルー〜ティール（ワードマーク調） */
.site-header .logo-mark{ background:linear-gradient(135deg,#86B7CB,#4E8AA6); border-radius:7px; }
.site-header .logo-text{ color:#4E8AA6; }

/* ヘッダー画像ロゴ */
.site-logo-img{ height:34px; width:auto; display:block; }
@media (max-width:768px){ .site-logo-img{ height:30px; } }

/* フッター：新ロゴ＋コピーライト（ConoHa風に横並び） */
.site-footer .footer-logo-img{ height:30px; width:auto; display:block; }
.footer-bottom{ justify-content:flex-start; gap:0.85rem; }
.footer-bottom-logo{ display:inline-flex; align-items:center; }
.footer-bottom-logo-img{ height:22px; width:auto; display:block; }
@media (max-width:600px){ .footer-bottom{ flex-direction:row; align-items:center; flex-wrap:wrap; } }

/* フッター下部：規約リンク＋コピーライト */
.footer-bottom{ flex-direction:column; align-items:flex-start; gap:1.1rem; }
.footer-legal{ display:flex; flex-wrap:wrap; gap:0.5rem 1.25rem; }
.footer-legal a{ font-size:0.78rem; color:#8a95a3; transition:color .15s; }
.footer-legal a:hover{ color:#c8d0d9; }
.footer-copy-wrap{ display:flex; align-items:center; gap:0.85rem; flex-wrap:wrap; }

/* 規約・ポリシー本文 */
.legal-doc{ max-width:780px; }
.legal-doc h2{ font-size:1.15rem; font-weight:700; color:#1e2329; margin:2rem 0 0.6rem; line-height:1.5; }
.legal-doc h2:first-child{ margin-top:0; }
.legal-doc p{ color:#5a6473; line-height:1.9; margin-bottom:0.8rem; }
.legal-doc ul{ margin:0 0 1rem 1.2rem; color:#5a6473; line-height:1.9; }
.legal-doc li{ margin-bottom:0.3rem; }
.legal-date{ margin-top:2rem; color:#8a95a3; font-size:0.85rem; }

/* =============================================
   CONTACT FORM — message & success panel
   ============================================= */
.form-message {
  margin-bottom: 1.25rem;
  padding: 0.9rem 1.1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.7;
}
.form-message.success {
  background: #e6f4ea;
  color: #1e7e34;
  border: 1px solid #b7dfc1;
}
.form-message.error {
  background: #fdecea;
  color: #b3261e;
  border: 1px solid #f5c6c2;
}

.contact-success {
  text-align: center;
  padding: 3rem 1.5rem;
}
.contact-success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: #e6f4ea;
  color: #1e8e3e;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-success-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e8e3e;
  margin: 0 0 0.75rem;
}
.contact-success-text {
  font-size: 1.05rem;
  color: #333;
  line-height: 1.9;
  margin: 0 0 0.75rem;
}
.contact-success-note {
  font-size: 0.875rem;
  color: #777;
  line-height: 1.8;
  margin: 0;
}
