/*
Theme Name: コシプロ v3.0.1
Theme URI: https://example.com/coshipro
Author: 株式会社ココロネットワーク
Author URI: https://example.com
Description: 引越し業向け業務支援システム「コシプロ」のランディングページ用WordPressテーマ
Version: 3.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: coshipro
Tags: one-page, custom-logo, landing-page
*/

/* ============================================================
   CSS Variables
   ============================================================ */
:root {
  --green-deep: #004D6B;
  --green: #006B8F;
  --green-mid: #1A85A8;
  --green-light: #3A9DBF;
  --green-bright: #6BB8CC;
  --green-pale: #E0F0F5;
  --green-mist: #EEF6F8;
  --dark: #0A1F2D;
  --dark-mid: #13354A;
  --cream: #F7FAFB;
  --cream-warm: #EFF4F6;
  --text: #1E1E1E;
  --text-muted: #5A5A5A;
  --white: #FFFFFF;
  --border: #C5D5DD;
  --yellow: #FFD54F;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;  /* body */
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  background: var(--white);
  border-bottom: 4px solid var(--green);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  padding: 0.6rem 0;
}

.nav-logo-badge {
  position: relative;
  width: 54px;
  height: 54px;
}

.truck-icon {
  width: 54px;
  height: 44px;
  position: relative;
  top: 5px;
}

.truck-body {
  position: absolute;
  width: 36px;
  height: 28px;
  background: var(--green);
  border-radius: 4px 4px 0 0;
  top: 4px;
  left: 0;
}

.truck-body::after {
  content: 'コシプロ';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.42rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.truck-cabin {
  position: absolute;
  width: 16px;
  height: 20px;
  background: var(--green-deep);
  border-radius: 3px 6px 0 0;
  top: 12px;
  right: 0;
}

.truck-cabin::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 8px;
  background: rgba(200, 230, 200, 0.4);
  border-radius: 2px;
  top: 3px;
  left: 3px;
}

.truck-wheel {
  position: absolute;
  bottom: 0;
  width: 12px;
  height: 12px;
  background: #333;
  border-radius: 50%;
  border: 2px solid #555;
}

.truck-wheel::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: #777;
  border-radius: 50%;
}

.truck-wheel-1 { left: 6px; }
.truck-wheel-2 { right: 6px; }

.truck-base {
  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;
  height: 4px;
  background: #444;
  border-radius: 2px;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-main {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--green-deep);
  letter-spacing: 3px;
  line-height: 1.2;
}

.nav-logo-sub {
  font-size: 0.58rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0;
}

.nav-links li a {
  display: flex;
  align-items: center;
  padding: 1.5rem 1.3rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-bottom: 4px solid transparent;
  margin-bottom: -4px;
  transition: all 0.3s;
}

.nav-links li a:hover {
  color: var(--green);
  border-bottom-color: var(--green);
  background: rgba(0, 107, 143, 0.03);
}

.nav-cta-btn {
  background: var(--green);
  color: var(--white) !important;
  padding: 0.7rem 1.4rem !important;
  border-radius: 8px;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  border-bottom: none !important;
  margin-bottom: 0 !important;
  box-shadow: 0 3px 12px rgba(0, 107, 143, 0.25);
  transition: all 0.3s !important;
}

.nav-cta-btn:hover {
  background: var(--green-mid) !important;
  border-bottom-color: transparent !important;
  transform: translateY(-1px);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  background: linear-gradient(150deg, var(--dark) 0%, var(--dark-mid) 50%, var(--green-deep) 100%);
  position: relative;
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: center;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--green-deep), var(--green-light), var(--green-deep));
}

.hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.floating-box {
  position: absolute;
  border: 2px solid rgba(58, 157, 191, 0.1);
  border-radius: 4px;
  background: rgba(58, 157, 191, 0.03);
}

.floating-box:nth-child(1) { width: 40px; height: 35px; top: 15%; right: 8%; animation: floatBox 6s ease-in-out infinite; }
.floating-box:nth-child(2) { width: 55px; height: 48px; top: 60%; right: 15%; animation: floatBox 8s ease-in-out infinite 1s; }
.floating-box:nth-child(3) { width: 30px; height: 26px; top: 30%; right: 22%; animation: floatBox 7s ease-in-out infinite 2s; }
.floating-box:nth-child(4) { width: 45px; height: 40px; bottom: 20%; right: 5%; animation: floatBox 9s ease-in-out infinite 0.5s; }
.floating-box:nth-child(5) { width: 35px; height: 30px; top: 10%; right: 30%; animation: floatBox 5s ease-in-out infinite 3s; }

.floating-box::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 25%;
  right: 25%;
  height: 5px;
  background: rgba(58, 157, 191, 0.08);
  border-radius: 0 0 2px 2px;
}

.floating-box::after {
  content: '';
  position: absolute;
  top: 40%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(58, 157, 191, 0.06);
}

@keyframes floatBox {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-12px) rotate(2deg); }
  66% { transform: translateY(8px) rotate(-1deg); }
}

.hero-truck-silhouette {
  position: absolute;
  bottom: 40px;
  right: -20px;
  opacity: 0.03;
  font-size: 0;
}

.truck-sil-body {
  display: inline-block;
  width: 280px;
  height: 160px;
  background: white;
  border-radius: 8px 8px 0 0;
}

.truck-sil-cabin {
  display: inline-block;
  width: 100px;
  height: 120px;
  background: white;
  border-radius: 8px 20px 0 0;
  position: relative;
  top: 40px;
  margin-left: -2px;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 3rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-kv-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(58, 157, 191, 0.12);
  border: 1px solid rgba(58, 157, 191, 0.25);
  color: var(--green-bright);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 0.45rem 1.2rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  animation: fadeIn 0.8s ease-out;
}

.hero-kv-label::before {
  content: '🚚';
  font-size: 1rem;
}

.hero h1 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  animation: fadeIn 1s ease-out 0.2s both;
}

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

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

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 2;
  margin-bottom: 2.5rem;
  font-weight: 300;
  animation: fadeIn 1s ease-out 0.4s both;
}

.hero-desc strong {
  color: var(--green-bright);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: fadeIn 1s ease-out 0.6s both;
}

.cta-phone-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(58, 157, 191, 0.2);
  border-radius: 12px;
  padding: 1.3rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.cta-phone-icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 107, 143, 0.35);
}

.cta-phone-label {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 2px;
  margin-bottom: 0.15rem;
}

.cta-phone-num {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
  text-decoration: none;
  transition: color 0.3s;
}

.cta-phone-num:hover { color: var(--green-bright); }

.cta-phone-hours {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 0.15rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
}

.btn-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(0, 107, 143, 0.3);
  flex: 1;
}

.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 107, 143, 0.4);
}

.btn-outline-w {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  padding: 1rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.3s;
  flex: 1;
}

.btn-outline-w:hover {
  border-color: var(--green-bright);
  color: var(--green-bright);
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: slideLeft 1s ease-out 0.5s both;
}

.scene-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(58, 157, 191, 0.12);
  border-radius: 14px;
  padding: 1.5rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  transition: all 0.3s;
}

.scene-card:hover {
  background: rgba(58, 157, 191, 0.06);
  border-color: rgba(58, 157, 191, 0.25);
  transform: translateX(-4px);
}

.scene-emoji {
  font-size: 2rem;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(58, 157, 191, 0.08);
  border-radius: 12px;
}

.scene-text {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  font-weight: 500;
}

.scene-text strong {
  color: var(--green-bright);
  font-weight: 700;
}

/* ============================================================
   Ribbon
   ============================================================ */
.ribbon {
  background: var(--green);
  padding: 0.75rem 0;
  overflow: hidden;
}

.ribbon-track {
  display: flex;
  gap: 2.5rem;
  animation: scrollRibbon 22s linear infinite;
  white-space: nowrap;
}

.ribbon-item {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.ribbon-item::before {
  content: '📦';
  font-size: 0.8rem;
}

@keyframes scrollRibbon {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   Common Section Styles
   ============================================================ */
section {
  padding: 5rem 2rem;
}

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

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-en {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  line-height: 1.5;
  color: var(--dark);
  margin-bottom: 0.8rem;
}

.section-title em {
  font-style: normal;
  color: var(--green);
}

.section-line {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  margin: 0.8rem auto 0;
  border-radius: 2px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.9;
  max-width: 620px;
  margin: 1.3rem auto 0;
}

/* ============================================================
   Problems
   ============================================================ */
.problems { background: var(--white); }

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

.problem-card {
  padding: 2.5rem 2rem;
  text-align: center;
  background: var(--green-mist);
  border-radius: 16px;
  border: 2px solid transparent;
  transition: all 0.4s;
}

.problem-card:hover {
  border-color: var(--green);
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0, 107, 143, 0.08);
}

.problem-emoji { font-size: 2.8rem; margin-bottom: 1rem; display: block; }

.problem-keyword {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--green-deep);
  margin-bottom: 0.5rem;
}

.problem-title { font-weight: 700; font-size: 1.1rem; color: var(--dark); margin-bottom: 0.8rem; }
.problem-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.8; }

.problem-scene {
  margin-top: 1.2rem;
  background: rgba(0, 107, 143, 0.06);
  border: 1px solid rgba(0, 107, 143, 0.12);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font-size: 0.78rem;
  color: var(--green-deep);
  font-weight: 600;
  line-height: 1.6;
}

/* ============================================================
   Features
   ============================================================ */
.features { background: var(--cream-warm); }

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

.feature-card {
  padding: 2.5rem;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
}

.feature-card:hover {
  box-shadow: 0 12px 40px rgba(0, 107, 143, 0.08);
  border-color: var(--green);
  transform: translateY(-3px);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover::before { opacity: 1; }

.feature-icon-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }

.feature-emoji {
  font-size: 2rem; width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-pale); border-radius: 12px; flex-shrink: 0;
}

.feature-num-label {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.6rem; color: var(--green); letter-spacing: 3px; font-weight: 600;
}

.feature-card h3 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700; font-size: 1.3rem; color: var(--dark); margin-bottom: 0.8rem; line-height: 1.5;
}

.feature-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.9; }

.feature-points { margin-top: 1.2rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }

.feature-point {
  font-size: 0.7rem; background: var(--green-pale); color: var(--green-deep);
  padding: 0.3rem 0.8rem; border-radius: 100px; font-weight: 600; letter-spacing: 0.5px;
}

/* ============================================================
   Daily Scene / Timeline
   ============================================================ */
.daily-scene { background: var(--dark); position: relative; overflow: hidden; }
.daily-scene .section-en { color: var(--green-bright); }
.daily-scene .section-title { color: var(--white); }
.daily-scene .section-desc { color: rgba(255, 255, 255, 0.4); }

.timeline { position: relative; max-width: 800px; margin: 0 auto; }

.timeline::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px;
  background: rgba(58, 157, 191, 0.15); transform: translateX(-50%);
}

.timeline-item { display: flex; align-items: flex-start; gap: 2rem; margin-bottom: 2.5rem; position: relative; }
.timeline-item:nth-child(even) { flex-direction: row-reverse; text-align: right; }
.timeline-time { flex: 1; padding-top: 0.5rem; }

.timeline-hour {
  font-family: 'Noto Serif JP', serif; font-size: 1.4rem; font-weight: 700; color: var(--green-bright);
}

.timeline-dot {
  width: 44px; height: 44px; background: var(--green); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
  flex-shrink: 0; z-index: 2;
  box-shadow: 0 0 0 6px var(--dark), 0 0 0 8px rgba(58, 157, 191, 0.2);
}

.timeline-content {
  flex: 1; background: rgba(58, 157, 191, 0.06); border: 1px solid rgba(58, 157, 191, 0.12);
  border-radius: 12px; padding: 1.2rem 1.5rem;
}

.timeline-content h4 { font-size: 1rem; color: var(--white); font-weight: 700; margin-bottom: 0.3rem; }
.timeline-content p { font-size: 0.82rem; color: rgba(255, 255, 255, 0.45); line-height: 1.7; }

.timeline-badge {
  display: inline-block; font-size: 0.6rem; background: rgba(58, 157, 191, 0.15);
  color: var(--green-bright); padding: 0.2rem 0.6rem; border-radius: 100px;
  font-weight: 700; margin-top: 0.5rem; letter-spacing: 1px;
}

/* ============================================================
   Results
   ============================================================ */
.results { background: var(--white); }

.results-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.result-card {
  text-align: center; padding: 2.5rem 1.5rem; background: var(--green-mist);
  border-radius: 16px; border: 2px solid var(--border); transition: all 0.4s;
}

.result-card:hover {
  border-color: var(--green); transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0, 107, 143, 0.08);
}

.result-icon { font-size: 1.8rem; margin-bottom: 0.8rem; }
.result-num { font-family: 'Noto Serif JP', serif; font-size: 2.8rem; font-weight: 700; color: var(--green); line-height: 1; }
.result-unit { font-size: 1.1rem; color: var(--green-light); }
.result-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.5rem; font-weight: 500; line-height: 1.5; }

/* ============================================================
   Flow
   ============================================================ */
.flow { background: var(--cream-warm); }

.flow-steps { display: flex; gap: 0; position: relative; }

.flow-steps::before {
  content: ''; position: absolute; top: 42px; left: 12%; right: 12%;
  height: 3px; background: var(--border); z-index: 0;
}

.flow-step { flex: 1; text-align: center; position: relative; z-index: 1; }

.flow-step-circle {
  width: 84px; height: 84px; margin: 0 auto 1.5rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
  background: var(--white); border: 3px solid var(--border); transition: all 0.3s;
}

.flow-step:first-child .flow-step-circle {
  background: var(--green); border-color: var(--green);
  box-shadow: 0 6px 20px rgba(0, 107, 143, 0.2);
}

.flow-step:hover .flow-step-circle { border-color: var(--green); transform: scale(1.05); }

.flow-step h4 {
  font-family: 'Zen Kaku Gothic New', sans-serif; font-weight: 700;
  font-size: 1.05rem; color: var(--dark); margin-bottom: 0.4rem;
}

.flow-step p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.7; padding: 0 0.5rem; }

/* ============================================================
   Company
   ============================================================ */
.company { background: var(--white); }

.company-table {
  max-width: 800px; margin: 0 auto; border: 2px solid var(--border);
  background: var(--white); border-radius: 12px; overflow: hidden;
}

.company-row { display: grid; grid-template-columns: 180px 1fr; border-bottom: 1px solid var(--border); }
.company-row:last-child { border-bottom: none; }

.company-row dt {
  background: var(--green-pale); padding: 1.2rem 1.5rem; font-weight: 700;
  font-size: 0.9rem; color: var(--green-deep); display: flex; align-items: center;
  border-right: 1px solid var(--border);
}

.company-row dd { padding: 1.2rem 1.5rem; font-size: 0.92rem; color: var(--text); line-height: 1.8; display: flex; align-items: center; }

/* ============================================================
   CTA Final
   ============================================================ */
.cta-final {
  background: linear-gradient(150deg, var(--dark) 0%, var(--green-deep) 100%);
  text-align: center; padding: 6rem 2rem; position: relative; overflow: hidden;
}

.cta-deco { position: absolute; inset: 0; pointer-events: none; }
.cta-deco-item { position: absolute; font-size: 2rem; opacity: 0.05; }
.cta-deco-item:nth-child(1) { top: 10%; left: 5%; transform: rotate(-15deg); }
.cta-deco-item:nth-child(2) { top: 20%; right: 8%; transform: rotate(10deg); }
.cta-deco-item:nth-child(3) { bottom: 15%; left: 12%; transform: rotate(5deg); }
.cta-deco-item:nth-child(4) { bottom: 25%; right: 15%; transform: rotate(-8deg); }
.cta-deco-item:nth-child(5) { top: 50%; left: 3%; }

.cta-final .section-title { color: var(--white); }

.cta-final-desc { color: rgba(255, 255, 255, 0.4); font-size: 1rem; line-height: 1.9; max-width: 600px; margin: 1.2rem auto 0; }

.cta-final-phone {
  margin: 2.5rem auto; background: rgba(58, 157, 191, 0.08); border: 2px solid rgba(58, 157, 191, 0.2);
  border-radius: 16px; padding: 2rem 3rem; display: inline-flex; flex-direction: column;
  align-items: center; gap: 0.3rem; position: relative; z-index: 2;
}

.cta-final-phone-label { font-size: 0.72rem; color: rgba(255, 255, 255, 0.35); letter-spacing: 3px; }

.cta-final-phone-num {
  font-family: 'Noto Serif JP', serif; font-size: 2.6rem; font-weight: 700;
  color: var(--green-bright); letter-spacing: 3px; text-decoration: none; transition: color 0.3s;
}

.cta-final-phone-num:hover { color: var(--white); }
.cta-final-phone-hours { font-size: 0.72rem; color: rgba(255, 255, 255, 0.3); }

.cta-final-btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: linear-gradient(135deg, var(--green), var(--green-light)); color: var(--white);
  padding: 1.1rem 3rem; border-radius: 10px; text-decoration: none; font-weight: 700;
  font-size: 1.05rem; letter-spacing: 0.5px; transition: all 0.3s;
  box-shadow: 0 6px 25px rgba(0, 107, 143, 0.3); position: relative; z-index: 2;
}

.cta-final-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 35px rgba(0, 107, 143, 0.45); }

/* ============================================================
   Footer
   ============================================================ */
footer, .site-footer {
  background: #0A1520;
  padding: 3rem 2rem 1.5rem;
}

.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; }

.footer-brand-name {
  font-family: 'Zen Kaku Gothic New', sans-serif; font-weight: 800; font-size: 1.3rem;
  color: var(--white); letter-spacing: 3px; margin-bottom: 0.2rem; display: flex; align-items: center; gap: 0.5rem;
}

/* logo image used instead of emoji */

.footer-company-name { font-size: 0.78rem; color: #FFFFFF; margin-bottom: 1rem; }
.footer-address { font-size: 0.73rem; color: rgba(255, 255, 255, 0.9); line-height: 1.9; }

.footer-links-wrap { display: flex; gap: 3rem; }

.footer-col h5 { font-size: 0.62rem; letter-spacing: 2px; text-transform: uppercase; color: #FFFFFF; margin-bottom: 0.8rem; }
.footer-col a { display: block; color: #FFFFFF; text-decoration: none; font-size: 0.82rem; margin-bottom: 0.5rem; transition: color 0.3s; }
.footer-col a:hover { color: var(--green-bright); }

.footer-bottom {
  max-width: 1100px; margin: 2rem auto 0; padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05); display: flex;
  justify-content: space-between; align-items: center;
  font-size: 0.63rem; color: rgba(255, 255, 255, 0.85); letter-spacing: 1px;
}

/* ============================================================
   Animations
   ============================================================ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideLeft {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-steps { flex-wrap: wrap; }
  .flow-step { flex-basis: 50%; margin-bottom: 2rem; }
  .flow-steps::before { display: none; }
  .nav-links { display: none; }
  .top-bar { display: none; }
  .timeline::before { left: 22px; }
  .timeline-item,
  .timeline-item:nth-child(even) { flex-direction: row; text-align: left; }
  .timeline-time { display: none; }
}

/* old 640px rules moved to mobile optimization section */

/* ============================================================
   SVG Icon Styles (icooon-mono風)
   ============================================================ */
.coshipro-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  line-height: 1;
}

.coshipro-icon svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}

/* Inline (in text) */
.icon-inline svg { width: 1.1em; height: 1.1em; }

/* CTA phone circle */
.icon-cta svg { width: 1.4em; height: 1.4em; color: var(--white); }

/* Button icon */
.icon-btn svg { width: 1.1em; height: 1.1em; }

/* Ribbon items */
.icon-ribbon svg { width: 0.9em; height: 0.9em; }

/* Scene cards (hero right) */
.scene-icon-wrap {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(58, 157, 191, 0.08);
  border-radius: 12px;
  color: var(--green-bright);
}

.icon-scene svg { width: 1.6em; height: 1.6em; }

/* Problem cards */
.problem-icon-circle {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.2rem;
  background: var(--green-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  position: relative;
}

.problem-icon-circle::after {
  content: '';
  position: absolute;
  inset: -5px;
  border: 2px solid var(--green);
  border-radius: 50%;
  opacity: 0.2;
}

.icon-problem svg { width: 1.8em; height: 1.8em; }

/* Speech bubble in problem cards */
.icon-speech { color: var(--green); }
.icon-speech svg { width: 0.85em; height: 0.85em; }

/* Feature cards */
.feature-icon-box {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-pale);
  border-radius: 12px;
  flex-shrink: 0;
  color: var(--green);
}

.icon-feature svg { width: 1.6em; height: 1.6em; }

/* Feature tags */
.icon-tag svg { width: 0.8em; height: 0.8em; }

/* Timeline dots */
.icon-tl svg { width: 1.2em; height: 1.2em; color: var(--white); }

/* Result cards */
.result-icon-wrap {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-pale);
  border-radius: 50%;
  color: var(--green);
}

.icon-result svg { width: 1.5em; height: 1.5em; }

/* Flow step circles */
.icon-flow svg { width: 1.6em; height: 1.6em; color: inherit; }

.flow-step:first-child .icon-flow svg { color: var(--white); }


/* ============================================================
   Photo Strips & Backgrounds
   ============================================================ */
.hero,
.daily-scene,
.cta-final {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section-photo-strip {
  max-width: 1100px;
  margin: 3rem auto 0;
  padding: 0 2rem;
  overflow: hidden;
  border-radius: 16px;
}

.section-photo-strip img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  filter: brightness(0.95);
}

@media (max-width: 640px) {
  .section-photo-strip img {
    height: 160px;
  }
}

/* ============================================================
   Logo Image (会社ロゴ)
   ============================================================ */
.nav-logo-img {
  width: 48px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

/* Override green-deep for nav with logo teal */
.nav-logo-main {
  color: var(--green-deep);
}

/* System screenshot for feature showcase */
.system-screenshot {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border);
}

/* System Preview */
.system-preview {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--border);
}

.system-preview .system-screenshot {
  max-width: 600px;
  width: 100%;
}

.system-caption {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  background: var(--cream-warm);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-bottom: none;
  overflow: hidden;
  transition: all 0.3s;
}

.faq-item:first-child {
  border-radius: 12px 12px 0 0;
}

.faq-item:last-child {
  border-bottom: 1px solid var(--border);
  border-radius: 0 0 12px 12px;
}

.faq-item[open] {
  background: var(--green-mist);
  border-color: var(--green);
}

.faq-item[open] + .faq-item {
  border-top-color: var(--green);
}

.faq-q {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 1.8rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
  list-style: none;
  position: relative;
  transition: all 0.3s;
  line-height: 1.6;
}

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

.faq-q::after {
  content: '+';
  position: absolute;
  right: 1.8rem;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--green);
  transition: transform 0.3s;
}

.faq-item[open] .faq-q::after {
  content: '−';
}

.faq-q:hover {
  background: rgba(0, 107, 143, 0.02);
}

.faq-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 900;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.faq-badge-a {
  background: var(--green-pale);
  color: var(--green);
}

.faq-a {
  display: flex;
  gap: 1rem;
  padding: 0 1.8rem 1.5rem 1.8rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.9;
}

@media (max-width: 640px) {
  .faq-q {
    padding: 1rem 3rem 1rem 1.2rem;
    font-size: 0.88rem;
  }
  .faq-q::after {
    right: 1.2rem;
  }
  .faq-a {
    padding: 0 1.2rem 1.2rem 1.2rem;
  }
}

/* ============================================================
   Page Templates - 固定ページ共通スタイル
   ============================================================ */

/* Page Hero */
.page-hero {
  background: linear-gradient(150deg, var(--dark) 0%, var(--green-deep) 100%);
  padding: 8rem 2rem 4rem;
  text-align: center;
}

.page-hero--accent {
  background: linear-gradient(150deg, var(--green-deep) 0%, var(--green-mid) 100%);
}

.page-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.page-title {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--white);
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.page-subtitle {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--green-bright);
  font-weight: 600;
}

/* Page Content */
.page-content {
  padding: 4rem 2rem 6rem;
  background: var(--cream);
}

.page-inner {
  max-width: 800px;
  margin: 0 auto;
}

.page-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 2;
  text-align: center;
  margin-bottom: 3rem;
}

/* Prose (for privacy policy etc.) */
.page-prose h2 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--dark);
  margin: 2.5rem 0 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--green-pale);
}

.page-prose p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 1rem;
}

.page-prose ul {
  margin: 0.5rem 0 1.5rem 1.5rem;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 2;
}

.page-prose ul li {
  margin-bottom: 0.3rem;
}

.policy-intro {
  font-size: 1rem;
  color: var(--text);
  line-height: 2;
  background: var(--green-pale);
  padding: 1.5rem 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  border-left: 4px solid var(--green);
}

.policy-contact {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin: 1rem 0;
  font-size: 0.95rem;
  line-height: 2;
}

.policy-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: right;
  margin-top: 2rem;
}

/* Company Map */
.company-map {
  margin-top: 3rem;
}

.company-map h2 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 1.2rem;
}

.map-embed {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-address {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.8rem;
}

/* Contact Page */
.contact-phone-block {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 2.5rem;
}

.contact-phone-block h2 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.contact-phone-num {
  font-family: 'Noto Serif JP', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 2px;
  text-decoration: none;
  display: block;
  transition: color 0.3s;
}

.contact-phone-num:hover {
  color: var(--green-deep);
}

.contact-phone-hours {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* Form Styles */
.contact-form-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
}

.contact-form-block h2 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--green-pale);
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.required {
  font-size: 0.7rem;
  background: var(--green);
  color: var(--white);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.3rem;
  font-weight: 700;
  vertical-align: middle;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  font-family: 'Noto Sans JP', sans-serif;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--cream);
  color: var(--text);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 107, 143, 0.1);
}

.form-group textarea {
  resize: vertical;
}

.form-row {
  display: flex;
  gap: 1.5rem;
}

.form-half {
  flex: 1;
}

.form-note {
  background: var(--green-pale);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.form-note a {
  color: var(--green);
}

.btn-submit {
  display: block;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0, 107, 143, 0.25);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 107, 143, 0.35);
}

/* Demo Steps */
.demo-steps {
  margin-bottom: 3rem;
}

.demo-steps h2 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark);
  text-align: center;
  margin-bottom: 1.5rem;
}

.demo-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.demo-step-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  position: relative;
}

.demo-step-num {
  width: 48px;
  height: 48px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Serif JP', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.demo-step-card h3 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.demo-step-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Page Responsive */
@media (max-width: 640px) {
  .page-hero { padding: 6rem 1.5rem 3rem; }
  .page-inner { padding: 0; }
  .contact-phone-num { font-size: 1.8rem; }
  .form-row { flex-direction: column; gap: 0; }
  .demo-steps-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   News Section - お知らせ
   ============================================================ */

/* Top page news section */
.news-section {
  background: var(--white);
  padding: 4rem 2rem;
}

.news-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
}

.news-section-header .section-title {
  margin-bottom: 0;
}

.news-more-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--green);
  border-radius: 6px;
  transition: all 0.3s;
  white-space: nowrap;
}

.news-more-link:hover {
  background: var(--green);
  color: var(--white);
}

/* News list (shared: top page + archive) */
.news-list {
  border-top: 2px solid var(--border);
}

.news-list-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s;
}

.news-list-item:hover {
  background: var(--green-mist);
  padding-left: 1rem;
  padding-right: 1rem;
  margin-left: -1rem;
  margin-right: -1rem;
  border-radius: 8px;
}

.news-date {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  flex-shrink: 0;
  min-width: 90px;
}

.news-cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 0.2rem 0.7rem;
  border-radius: 4px;
  flex-shrink: 0;
  white-space: nowrap;
  background: var(--green-pale);
  color: var(--green-deep);
}

.news-cat--info {
  background: var(--green-pale);
  color: var(--green-deep);
}

.news-cat--update {
  background: #E3F2FD;
  color: #1565C0;
}

.news-cat--maintenance {
  background: #FFF3E0;
  color: #E65100;
}

.news-title-text {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
  flex: 1;
}

.news-list-item:hover .news-title-text {
  color: var(--green);
}

/* News empty */
.news-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  padding: 4rem 0;
}

/* News pagination */
.news-pagination {
  margin-top: 2.5rem;
  text-align: center;
}

.news-pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.news-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.news-pagination .page-numbers:hover {
  border-color: var(--green);
  color: var(--green);
}

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

.news-pagination .prev,
.news-pagination .next {
  width: auto;
  padding: 0 1rem;
}

/* Page inner wide (for archive) */
.page-inner--wide {
  max-width: 900px;
}

/* Single news */
.page-title--single {
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.6;
}

.news-single-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.news-single-meta time {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.news-single-body {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3rem;
}

.news-single-body p {
  margin-bottom: 1.2rem;
}

/* News navigation */
.news-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.news-nav a {
  text-decoration: none;
  color: var(--text);
  transition: color 0.3s;
}

.news-nav a:hover {
  color: var(--green);
}

.news-nav-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.news-nav-title {
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.5;
}

.news-nav-prev { text-align: left; }
.news-nav-next { text-align: right; }

.news-nav-center a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--green);
  border-radius: 6px;
  transition: all 0.3s;
}

.news-nav-center a:hover {
  background: var(--green);
  color: var(--white);
}

/* News responsive */
@media (max-width: 640px) {
  .news-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .news-list-item {
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
  }

  .news-title-text {
    flex-basis: 100%;
  }

  .news-nav {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .news-nav-prev,
  .news-nav-next {
    text-align: center;
  }

  .news-single-body {
    padding: 1.5rem;
  }
}

/* ============================================================
   Contact Form 7 スタイルオーバーライド
   ============================================================ */
.wpcf7 {
  max-width: 100%;
}

.wpcf7-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.wpcf7-form-control-wrap {
  display: block;
  margin-top: 0.4rem;
}

/* テキスト・メール・電話入力 */
.wpcf7-text,
.wpcf7-email,
.wpcf7-tel,
.wpcf7-textarea,
.wpcf7-select,
.wpcf7-date {
  width: 100%;
  padding: 0.9rem 1.1rem;
  font-size: 0.95rem;
  font-family: 'Noto Sans JP', sans-serif;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: var(--cream);
  color: var(--text);
  transition: border-color 0.3s, box-shadow 0.3s;
  -webkit-appearance: none;
  appearance: none;
}

.wpcf7-text:focus,
.wpcf7-email:focus,
.wpcf7-tel:focus,
.wpcf7-textarea:focus,
.wpcf7-select:focus,
.wpcf7-date:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(0, 107, 143, 0.1);
  background: var(--white);
}

/* プレースホルダー */
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  color: #aaa;
  font-weight: 400;
}

/* セレクトボックス */
.wpcf7-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* テキストエリア */
.wpcf7-textarea {
  resize: vertical;
  min-height: 150px;
  line-height: 1.8;
}

/* 送信ボタン */
.wpcf7-submit {
  display: block;
  width: 100%;
  padding: 1.1rem 2rem;
  margin-top: 0.5rem;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: var(--white) !important;
  border: none;
  border-radius: 12px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(0, 107, 143, 0.25);
  -webkit-appearance: none;
  appearance: none;
}

.wpcf7-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 107, 143, 0.35);
}

.wpcf7-submit:active {
  transform: translateY(0);
}

/* 送信中スピナー */
.wpcf7-spinner {
  margin: 1rem auto 0;
  display: block;
}

/* バリデーションエラー */
.wpcf7-not-valid {
  border-color: #e53935 !important;
  box-shadow: 0 0 0 4px rgba(229, 57, 53, 0.08) !important;
}

.wpcf7-not-valid-tip {
  color: #e53935;
  font-size: 0.78rem;
  font-weight: 500;
  margin-top: 0.4rem;
  display: block;
}

/* 送信メッセージ */
.wpcf7-response-output {
  margin: 1.5rem 0 0 !important;
  padding: 1rem 1.5rem !important;
  border-radius: 10px !important;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}

.wpcf7-mail-sent-ok,
.wpcf7 form.sent .wpcf7-response-output {
  border: 2px solid var(--green) !important;
  background: var(--green-pale) !important;
  color: var(--green-deep) !important;
}

.wpcf7-validation-errors,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  border: 2px solid #e53935 !important;
  background: #FFEBEE !important;
  color: #c62828 !important;
}

.wpcf7 form.failed .wpcf7-response-output {
  border: 2px solid #F57C00 !important;
  background: #FFF3E0 !important;
  color: #E65100 !important;
}

/* 必須マーク用（CF7のlabel内に手動で追加する場合） */
.wpcf7-form .required-mark {
  font-size: 0.65rem;
  background: var(--green);
  color: var(--white);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.3rem;
  font-weight: 700;
  vertical-align: middle;
}

/* レスポンシブ */
@media (max-width: 640px) {
  .wpcf7-text,
  .wpcf7-email,
  .wpcf7-tel,
  .wpcf7-textarea,
  .wpcf7-select {
    padding: 0.8rem 0.9rem;
    font-size: 16px; /* iOS zoom防止 */
  }

  .wpcf7-submit {
    font-size: 1rem;
    padding: 1rem;
  }
}

/* ============================================================
   MOBILE OPTIMIZATION - Coshipro
   ============================================================ */

/* --- Tablet (1024px) --- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 3.5rem 2rem;
    gap: 2rem;
  }

  .hero-right {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  .scene-card {
    flex: 1 1 calc(50% - 0.3rem);
    padding: 1rem 1.2rem;
  }
}

/* --- Mobile (768px) --- */
@media (max-width: 768px) {
  /* Nav */
  .nav {
    padding: 0 1rem;
  }

  .nav-links {
    display: none;
  }

  .nav-logo-img {
    width: 36px;
  }

  .nav-logo-main {
    font-size: 1rem;
  }

  .nav-logo-sub {
    font-size: 0.5rem;
  }

  /* Hero */
  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 2.5rem 1.2rem 1.5rem;
    gap: 1.5rem;
  }

  .hero-deco {
    display: none;
  }

  .hero-kv-label {
    font-size: 0.65rem;
    padding: 0.35rem 0.8rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
  }

  .hero h1 {
    font-size: 1.6rem;
    line-height: 1.5;
    margin-bottom: 1rem;
  }

  .hero-desc {
    font-size: 0.8rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
  }

  .hero-desc br {
    display: none;
  }

  /* Phone box - compact */
  .cta-phone-box {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
    gap: 0.6rem;
  }

  .cta-phone-icon-wrap {
    width: 40px;
    height: 40px;
    margin: 0 auto;
  }

  .cta-phone-num {
    font-size: 1.5rem;
  }

  .cta-phone-label,
  .cta-phone-hours {
    font-size: 0.6rem;
  }

  /* CTA buttons - full width stacked */
  .cta-buttons {
    flex-direction: column;
    gap: 0.6rem;
  }

  .btn-green,
  .btn-outline-w {
    width: 100%;
    text-align: center;
    padding: 0.9rem 1.5rem;
    font-size: 0.9rem;
    border-radius: 12px;
  }

  /* Scene cards - horizontal scroll on mobile */
  .hero-right {
    display: flex !important;
    flex-direction: row;
    gap: 0.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }

  .hero-right::-webkit-scrollbar {
    height: 3px;
  }

  .hero-right::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 2px;
  }

  .hero-right::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
  }

  .scene-card {
    flex: 0 0 75%;
    scroll-snap-align: start;
    padding: 1rem;
    gap: 0.8rem;
  }

  .scene-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .icon-scene svg {
    width: 1.2em;
    height: 1.2em;
  }

  .scene-text {
    font-size: 0.78rem;
    line-height: 1.5;
  }

  /* Ribbon */
  .ribbon {
    padding: 0.8rem 0;
  }

  .ribbon-item {
    font-size: 0.7rem;
    padding: 0 1.2rem;
  }

  /* News section */
  .news-section {
    padding: 3rem 1.2rem;
  }

  .news-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .news-list-item {
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 1rem 0.3rem;
  }

  .news-date {
    min-width: auto;
    font-size: 0.78rem;
  }

  .news-title-text {
    flex-basis: 100%;
    font-size: 0.85rem;
  }

  /* Section headers */
  .section-title {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
  }

  .section-en {
    font-size: 0.6rem;
  }

  /* Problems */
  .problems-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .problem-card {
    padding: 1.5rem;
  }

  .problem-icon-circle {
    width: 56px;
    height: 56px;
    margin-bottom: 0.8rem;
  }

  .icon-problem svg {
    width: 1.4em;
    height: 1.4em;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .system-preview {
    padding: 1rem;
  }

  .system-preview .system-screenshot {
    max-width: 100%;
  }

  /* Timeline */
  .timeline-item {
    flex-direction: column;
    gap: 0.3rem;
  }

  .timeline-time {
    width: auto;
  }

  /* Results */
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .result-num {
    font-size: 2.2rem;
  }

  /* Flow */
  .flow-steps {
    flex-wrap: wrap;
  }

  .flow-step {
    flex-basis: 50%;
    margin-bottom: 1rem;
  }

  .flow-steps::before {
    display: none;
  }

  .flow-step-circle {
    width: 56px;
    height: 56px;
  }

  /* Company */
  .company-row {
    grid-template-columns: 1fr;
  }

  .company-row dt {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  /* CTA Final */
  .cta-final {
    padding: 3rem 1.2rem;
  }

  .cta-final-phone-num {
    font-size: 1.6rem;
  }

  .cta-final-btn {
    width: 100%;
    text-align: center;
    padding: 1rem;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-links-wrap {
    flex-direction: column;
    gap: 1.5rem;
  }

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

  /* Photo strips */
  .section-photo-strip img {
    height: 140px;
  }

  /* General spacing */
  section {
    padding: 3rem 1.2rem;
  }
}

/* --- Small phones (380px) --- */
@media (max-width: 380px) {
  .hero h1 {
    font-size: 1.35rem;
  }

  .hero-inner {
    padding: 2rem 1rem 1.5rem;
  }

  .cta-phone-num {
    font-size: 1.3rem;
  }

  .scene-card {
    flex: 0 0 85%;
  }

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

/* ============================================================
   Form Success / Error Messages
   ============================================================ */
.form-success {
  background: var(--green-pale);
  border: 2px solid var(--green);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--green-deep);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.8;
}

.form-error {
  background: #FFEBEE;
  border: 2px solid #e53935;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #c62828;
  font-weight: 600;
  font-size: 0.9rem;
}
