/*
Theme Name: Ceep Company
Theme URI: https://ceepcompany.com
Author: Ceep Company
Description: 株式会社シープカンパニー カスタムテーマ。移動スーパー・キッチンカー・特殊車両の架装製作専門メーカー。
Version: 1.0.0
License: All Rights Reserved
Text Domain: ceepcompany
*/

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

:root {
  --primary: #3A3A3A;
  --secondary: #6B6B6B;
  --accent: #B89A6A;
  --accent-dark: #9A7E52;
  --bg-light: #F5F5F5;
  --bg-dark: #2A2A2A;
  --text: #1A1A1A;
  --white: #FFFFFF;
  --border: #DCDCDC;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  font-size: 15px;
}

/* ===== HEADER ===== */
header {
  background: var(--bg-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #444;
}

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.2;
}

.logo-en {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.12em;
}

.logo-jp {
  font-size: 10px;
  color: #AAA;
  letter-spacing: 0.08em;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav a {
  color: #CCC;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

nav a:hover,
nav a.active { color: var(--accent); }

.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-tel {
  color: var(--white);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.header-tel span {
  font-size: 10px;
  color: #AAA;
  display: block;
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  letter-spacing: 0.05em;
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 201;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

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

/* ===== MOBILE NAV ===== */
.mobile-nav {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #1A1A1A;
  z-index: 200;
  flex-direction: column;
  padding: 32px 24px;
  gap: 0;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
}

.mobile-nav.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-nav a {
  color: #CCC;
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 0.05em;
  padding: 18px 0;
  border-bottom: 1px solid #333;
  display: block;
  transition: color 0.2s;
}

.mobile-nav a:hover,
.mobile-nav a:active { color: var(--accent); }

.mobile-nav-tel {
  margin-top: 32px;
  text-align: center;
}

.mobile-nav-tel p {
  font-size: 11px;
  color: #888;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.mobile-nav-tel a {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  border-bottom: none !important;
  padding: 0 !important;
}

.mobile-nav-hours {
  font-size: 12px;
  color: #666;
  margin-top: 6px;
  letter-spacing: 0.05em;
}

/* ===== HERO (トップページ) ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #1E1E1E 0%, #3A3A3A 50%, #2A2A2A 100%);
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(255,255,255,0.015) 40px,
    rgba(255,255,255,0.015) 80px
  );
}

.hero::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(to left, rgba(184,154,106,0.08), transparent);
}

.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 80px 24px;
  position: relative;
  z-index: 1;
}

.hero-label {
  font-size: 11px;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

.hero h1 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  color: #AAA;
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 40px;
  letter-spacing: 0.05em;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1px solid #666;
  color: #CCC;
  text-decoration: none;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--primary);
  border-top: 2px solid var(--accent);
}

.stats-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 40px;
  border-right: 1px solid #555;
}

.stat-item:last-child { border-right: none; }

.stat-label {
  font-size: 11px;
  color: #AAA;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

.stat-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  white-space: nowrap;
}

.stat-value small {
  font-size: 12px;
  color: #AAA;
  font-weight: 400;
  margin-left: 4px;
}

/* ===== SECTIONS (共通) ===== */
section { padding: 80px 24px; }

.section-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-en {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: 16px auto 0;
}

.center { text-align: center; }

/* ===== REASONS ===== */
.reasons { background: var(--bg-light); }

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.reason-card {
  background: var(--white);
  padding: 32px;
  border-top: 3px solid var(--accent);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.reason-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  display: block;
}

.reason-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.4;
}

.reason-text {
  font-size: 13px;
  color: var(--secondary);
  line-height: 1.9;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.service-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  position: relative;
  overflow: hidden;
}

.service-img.s1 { background: linear-gradient(135deg, #3A3A3A, #5A5A5A); }
.service-img.s2 { background: linear-gradient(135deg, #4A3A2A, #7A6A5A); }
.service-img.s3 { background: linear-gradient(135deg, #2A3A4A, #4A5A6A); }
.service-img.s4 { background: linear-gradient(135deg, #3A3A2A, #5A5A4A); }

.service-img-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.5);
  color: var(--white);
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  font-family: 'Montserrat', sans-serif;
}

.service-body { padding: 24px; }

.service-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.service-text {
  font-size: 13px;
  color: var(--secondary);
  line-height: 1.85;
  margin-bottom: 16px;
}

.service-link {
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.service-link::after { content: '→'; }

/* ===== WORKS (トップページ) ===== */
.works { background: var(--bg-light); }

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.work-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
}

.work-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #888;
  letter-spacing: 0.08em;
}

.work-img.w1 { background: linear-gradient(135deg, #2A2A2A, #4A4A4A); color: #666; }
.work-img.w2 { background: linear-gradient(135deg, #3A2A2A, #5A4A4A); color: #666; }
.work-img.w3 { background: linear-gradient(135deg, #2A2A3A, #4A4A5A); color: #666; }

.work-body { padding: 20px 24px; }

.work-tag {
  font-size: 10px;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.12em;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 3px 10px;
  display: inline-block;
  margin-bottom: 10px;
}

.work-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.work-text {
  font-size: 12px;
  color: var(--secondary);
  line-height: 1.8;
}

/* ===== BLOG / COLUMN ===== */
.blog { background: var(--white); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.blog-card {
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}

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

.blog-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #888;
  letter-spacing: 0.08em;
}

.blog-img.b1 { background: linear-gradient(135deg, #3A3A3A, #5A5A5A); }
.blog-img.b2 { background: linear-gradient(135deg, #4A3A2A, #6A5A4A); }
.blog-img.b3 { background: linear-gradient(135deg, #2A3A3A, #4A5A5A); }

.blog-body { padding: 20px 24px; }

.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.blog-cat {
  font-size: 10px;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.1em;
  color: var(--white);
  background: var(--accent);
  padding: 3px 10px;
  display: inline-block;
}

.blog-date {
  font-size: 11px;
  color: #AAA;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.05em;
}

.blog-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.5;
}

.blog-excerpt {
  font-size: 12px;
  color: var(--secondary);
  line-height: 1.8;
}

/* ===== TECHNOLOGY ===== */
.tech-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.tech-text .lead {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.7;
  margin-bottom: 24px;
  border-left: 3px solid var(--accent);
  padding-left: 20px;
}

.tech-text p {
  font-size: 14px;
  color: var(--secondary);
  line-height: 2;
  margin-bottom: 16px;
}

.tech-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.tech-feat {
  background: var(--bg-light);
  padding: 20px;
  border-left: 2px solid var(--accent);
}

.tech-feat-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.tech-feat-text {
  font-size: 12px;
  color: var(--secondary);
  line-height: 1.7;
}

/* ===== CLIENTS ===== */
.clients { background: var(--bg-light); }

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.client-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.client-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(184,154,106,0.12);
}

.client-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}

.client-type {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.client-desc {
  font-size: 12px;
  color: var(--secondary);
  line-height: 1.8;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--bg-dark);
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
}

.cta-banner h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.cta-banner p {
  color: #AAA;
  font-size: 14px;
  line-height: 2;
  margin-bottom: 40px;
}

.cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-tel-block { text-align: center; }

.cta-tel-label {
  font-size: 11px;
  color: #888;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.cta-tel {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.05em;
  display: block;
}

.cta-tel:hover { color: var(--accent); }

.cta-hours {
  font-size: 11px;
  color: #666;
  margin-top: 4px;
  letter-spacing: 0.05em;
}

.cta-divider {
  width: 1px;
  height: 48px;
  background: #444;
}

/* ===== PAGE HERO (下層ページ共通) ===== */
.page-hero {
  background: linear-gradient(135deg, #1E1E1E 0%, #3A3A3A 50%, #2A2A2A 100%);
  padding: 56px 24px 48px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, transparent, transparent 40px, rgba(255,255,255,.015) 40px, rgba(255,255,255,.015) 80px);
}

.page-hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  font-size: 11px;
  color: #888;
  margin-bottom: 16px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.breadcrumb a { color: #888; text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: #555; }

.page-hero h1 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.page-hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.page-hero-lead {
  color: #aaa;
  font-size: 14px;
  line-height: 2;
  max-width: 600px;
}

.page-hero-label {
  font-size: 11px;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-hero-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

/* ===== CONTENT SECTIONS (下層ページ) ===== */
.features-bg { background: var(--bg-light); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-item {
  background: #fff;
  padding: 32px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}

.feature-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.feature-text {
  font-size: 13px;
  color: var(--secondary);
  line-height: 1.9;
}

/* ===== SPECS TABLE ===== */
.specs-section { background: #fff; }

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0;
}

.specs-table th,
.specs-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.specs-table th {
  background: var(--bg-light);
  color: var(--primary);
  font-weight: 700;
  width: 200px;
}

.specs-table td { color: var(--secondary); }

/* ===== FLOW ===== */
.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.flow-step {
  display: flex;
  gap: 24px;
  position: relative;
  padding-bottom: 32px;
}

.flow-step:last-child { padding-bottom: 0; }

.flow-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.flow-num {
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.flow-body { padding-top: 8px; }

.flow-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.flow-text {
  font-size: 13px;
  color: var(--secondary);
  line-height: 1.9;
}

/* ===== WORKS MINI (下層ページ) ===== */
.works-mini { background: var(--bg-light); }

/* ===== TARGET LIST ===== */
.target-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.target-item {
  background: var(--bg-light);
  padding: 20px 24px;
  border-left: 3px solid var(--accent);
}

.target-item p {
  font-size: 13px;
  color: var(--secondary);
  line-height: 1.8;
  margin-top: 4px;
}

.target-item strong {
  font-size: 14px;
  color: var(--primary);
  font-weight: 700;
}

/* ===== COMPANY TABLE ===== */
.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  vertical-align: top;
}

.company-table th {
  background: var(--bg-light);
  color: var(--primary);
  font-weight: 700;
  width: 180px;
  white-space: nowrap;
}

.company-table td {
  color: var(--secondary);
  line-height: 1.9;
}

.message-block {
  background: var(--bg-light);
  padding: 48px;
  border-left: 4px solid var(--accent);
  margin-top: 0;
}

.message-block p {
  font-size: 14px;
  color: var(--secondary);
  line-height: 2.1;
  margin-bottom: 16px;
}

.message-block .sign {
  font-size: 14px;
  color: var(--primary);
  font-weight: 700;
  margin-top: 24px;
  text-align: right;
}

/* ===== FAQ ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-q {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-q::-webkit-details-marker { display: none; }

.faq-q-mark {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.faq-q-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  flex: 1;
  line-height: 1.6;
}

.faq-q-arrow {
  color: var(--accent);
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.3s;
  margin-top: 2px;
}

details[open] .faq-q-arrow { transform: rotate(180deg); }

.faq-a {
  display: flex;
  gap: 20px;
  padding: 0 0 24px;
  margin-top: -8px;
}

.faq-a-mark {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #ccc;
  flex-shrink: 0;
}

.faq-a-text {
  font-size: 14px;
  color: var(--secondary);
  line-height: 2;
  flex: 1;
}

/* ===== CONTACT FORM ===== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}

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

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-group label .req {
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  margin-left: 8px;
  font-weight: 700;
}

.form-group label .opt {
  background: #ccc;
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  margin-left: 8px;
  font-weight: 400;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  font-size: 14px;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s;
}

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

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

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
}

.form-check input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--accent);
}

.form-check label {
  font-size: 13px;
  color: var(--secondary);
  line-height: 1.7;
}

.form-check label a { color: var(--accent); }

.contact-info-box {
  background: var(--bg-dark);
  padding: 40px 36px;
}

.contact-info-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.contact-tel-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 4px;
}

.contact-info-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #444;
}

.contact-info-row-label {
  font-size: 11px;
  color: #888;
  min-width: 56px;
}

.contact-info-row-val {
  font-size: 13px;
  color: #ccc;
  line-height: 1.8;
}

.contact-info-row-val a {
  color: var(--accent);
  text-decoration: none;
}

/* ===== Instagram & LINE ===== */
.ig-link {
  color: #E1306C !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: opacity 0.2s;
  font-size: 11px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.ig-link:hover { opacity: 0.75; color: #C13584 !important; }
.ig-link svg { width: 22px; height: 22px; fill: currentColor; }
.ig-link-text { display: inline; }

.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #06C755;
  color: #fff;
  text-decoration: none;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}

.btn-line:hover { background: #05a649; transform: translateY(-1px); }
.btn-line svg { width: 22px; height: 22px; fill: currentColor; flex-shrink: 0; }

/* ===== FOOTER ===== */
footer {
  background: #1A1A1A;
  color: #888;
  padding: 56px 24px 32px;
}

.footer-inner { max-width: 1160px; margin: 0 auto; }

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #333;
}

.footer-logo-en {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}

.footer-logo-jp {
  font-size: 11px;
  color: #666;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 12px;
  color: #666;
  line-height: 1.9;
  margin-bottom: 20px;
}

.footer-info {
  font-size: 12px;
  line-height: 2.2;
  color: #777;
}

.footer-info a { color: #777; text-decoration: none; }

.footer-nav-title {
  font-size: 11px;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-list a {
  color: #888;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.footer-nav-list a:hover { color: var(--accent); }

.footer-ig {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #E1306C !important;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  transition: opacity 0.2s;
  margin-top: 16px;
}

.footer-ig:hover { opacity: 0.75; }
.footer-ig svg { width: 24px; height: 24px; fill: currentColor; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #555;
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }
  .tech-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .ig-section-inner { grid-template-columns: 1fr; gap: 32px; }
  /* ヘッダー電話番号の営業時間テキストを非表示 */
  .header-tel span { display: none; }
  /* ヘッダー右側の余白を詰める */
  .header-right { gap: 12px; }
  .header-tel { font-size: 13px; }
}

@media (max-width: 600px) {
  /* スマホではヘッダーの電話番号を非表示（モバイルナビに表示されるため） */
  .header-tel { display: none; }
  .ig-link { display: none; }
}

@media (max-width: 600px) {
  .stat-item { padding: 20px 24px; border-right: none; border-bottom: 1px solid #555; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .cta-divider { display: none; }
  .hero { min-height: auto; }
  .clients-grid { grid-template-columns: 1fr 1fr; }
  .reasons-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .ig-link-text { display: none; }
}
