/* =============================================
   有限会社江口衛生 - メインスタイルシート
   ============================================= */

/* ===== CSS変数 ===== */
:root {
  --primary: #0a3d5c;
  --primary-light: #1a6fa8;
  --accent: #00b4d8;
  --accent-light: #48cae4;
  --accent-pale: #ade8f4;
  --text: #1e2d3a;
  --text-muted: #5a7080;
  --white: #ffffff;
  --bg: #f4fafd;
  --bg2: #e8f4fa;
  --border: #cce4f0;
  --grad1: linear-gradient(135deg, #0a3d5c 0%, #1a6fa8 50%, #00b4d8 100%);
  --grad2: linear-gradient(135deg, #e8f4fa 0%, #cce4f0 100%);
  --shadow-sm: 0 4px 16px rgba(0,60,100,0.08);
  --shadow-md: 0 8px 32px rgba(0,60,100,0.13);
  --shadow-lg: 0 20px 60px rgba(0,60,100,0.18);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans JP", "Yu Gothic", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: all 0.4s ease;
  padding: 0;
}

header.scrolled {
  background: rgba(10, 61, 92, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  transition: padding 0.3s;
}

header.scrolled .header-inner {
  padding: 14px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--grad1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(0,180,216,0.4);
  flex-shrink: 0;
}

.logo-img-wrap {
  display: inline-flex;
  align-items: center;
  transition: opacity 0.3s;
}

.logo-img-wrap:hover {
  opacity: 0.8;
}

.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  image-rendering: auto;
}

/* ヘッダー内ロゴ */
header .logo-img {
  border-radius: 6px;
  /* background: #fff; */
  padding: 4px 10px;
  height: 44px;
  box-sizing: content-box;
}

/* フッター内ロゴ */
footer .logo-img {
  border-radius: 6px;
  /* background: #fff; */
  padding: 4px 10px;
  height: 40px;
  box-sizing: content-box;
}

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

.logo-text .main-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.logo-text .sub-name {
  font-size: 0.72rem;
  color: var(--accent-pale);
  letter-spacing: 0.05em;
}

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

nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s;
  letter-spacing: 0.03em;
}

nav a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  border-radius: 8px !important;
  padding: 8px 20px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(0,180,216,0.35);
}

.nav-cta:hover {
  background: var(--accent-light) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,180,216,0.45) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  -webkit-tap-highlight-color: transparent;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== MOBILE NAV ===== */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10, 61, 92, 0.98);
  backdrop-filter: blur(16px);
  z-index: 1001;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

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

.mobile-nav a {
  color: white;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 12px;
  transition: background 0.2s;
  letter-spacing: 0.05em;
}

.mobile-nav a:hover {
  background: rgba(255,255,255,0.1);
}

.mobile-nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  background: none;
  border: none;
  -webkit-tap-highlight-color: transparent;
  padding: 8px;
  z-index: 1;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 80% at 70% 50%, rgba(0,180,216,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 10% 80%, rgba(26,111,168,0.4) 0%, transparent 50%),
    linear-gradient(160deg, #0a3d5c 0%, #0d4e73 40%, #0f5a84 100%);
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,180,216,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,180,216,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-dots {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.dot {
  position: absolute;
  border-radius: 50%;
  background: rgba(0,180,216,0.15);
  animation: float 6s ease-in-out infinite;
}

.dot:nth-child(1) { width: 300px; height: 300px; top: -100px; right: 10%; animation-delay: 0s; }
.dot:nth-child(2) { width: 200px; height: 200px; bottom: 10%; left: 5%; animation-delay: 2s; }
.dot:nth-child(3) { width: 150px; height: 150px; top: 30%; right: 30%; animation-delay: 4s; }

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  padding: 120px 0 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,180,216,0.15);
  border: 1px solid rgba(0,180,216,0.4);
  color: var(--accent-pale);
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.hero-badge i {
  color: var(--accent);
}

.hero-text h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.3;
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.hero-text h1 .highlight {
  color: var(--accent);
  position: relative;
}

.hero-text p {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  line-height: 1.9;
  max-width: 520px;
}

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
  letter-spacing: 0.03em;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(0,180,216,0.4);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,180,216,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

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

.btn-white {
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-white:hover {
  background: var(--accent-pale);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.2);
}

/* ===== HERO STATS ===== */
.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

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

.stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
}

/* ===== HERO CARD ===== */
.hero-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.hero-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(0,180,216,0.2);
  border: 1px solid rgba(0,180,216,0.3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-card-title {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 14px;
  font-weight: 700;
}

.hero-card-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.hero-card-info-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.hero-card-info-row i {
  color: var(--accent);
  width: 16px;
  flex-shrink: 0;
}

.hero-tel {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--white);
  margin: 20px 0 24px;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-tel i {
  font-size: 1.4rem;
  color: var(--accent);
}

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-label::before,
.section-label::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.section-title {
  text-align: center;
  margin-bottom: 64px;
}

.section-title h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--primary);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 14px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ===== ABOUT ===== */
#about {
  background: var(--white);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-card-main {
  background: var(--grad1);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  color: white;
  position: relative;
  overflow: hidden;
}

.about-card-main::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}

.about-card-main::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 160px; height: 160px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.about-card-main .big-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--accent-pale);
}

.about-card-main h3 {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 12px;
  line-height: 1.4;
}

.about-card-main p {
  font-size: 0.92rem;
  opacity: 0.85;
  line-height: 1.9;
}

.about-badge-float {
  position: absolute;
  bottom: -20px;
  right: 28px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 1;
}

.about-badge-float .num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.about-badge-float .num-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.about-content h3 {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 24px;
  line-height: 1.4;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.9;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.about-tag {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.about-tag i {
  color: var(--accent);
}

/* ===== SERVICES ===== */
#service {
  background: var(--bg);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-pale);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 24px;
  transition: all 0.3s;
}

.service-card:hover .service-icon {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.85;
}

.service-card .service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 20px;
  transition: gap 0.2s;
}

.service-card:hover .service-link {
  gap: 10px;
}

/* ===== REASONS ===== */
#reason {
  background: var(--white);
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.reason-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  position: relative;
  transition: all 0.3s;
}

.reason-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.reason-num {
  position: absolute;
  top: -16px;
  left: 28px;
  width: 36px;
  height: 36px;
  background: var(--grad1);
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(0,60,100,0.25);
}

.reason-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin: 16px 0 12px;
}

.reason-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.85;
}

.reason-card .reason-icon {
  font-size: 2.2rem;
  color: var(--accent-pale);
  margin-bottom: 4px;
}

/* ===== FLOW ===== */
.flow-section {
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.flow-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 80% 50%, rgba(0,180,216,0.2) 0%, transparent 60%);
}

.flow-section .section-title h2 {
  color: var(--white);
}

.flow-section .section-title p {
  color: rgba(255,255,255,0.6);
}

.flow-section .section-label {
  color: var(--accent-pale);
}

.flow-section .section-label::before,
.flow-section .section-label::after {
  background: var(--accent-pale);
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.flow-list::before {
  content: '';
  position: absolute;
  top: 48px;
  left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 2px;
  background: linear-gradient(90deg, rgba(0,180,216,0.6) 0%, rgba(72,202,228,0.4) 100%);
}

.flow-item {
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.flow-num-wrap {
  width: 96px;
  height: 96px;
  margin: 0 auto 28px;
  background: rgba(255,255,255,0.07);
  border: 2px solid rgba(0,180,216,0.4);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transition: all 0.3s;
  position: relative;
  z-index: 1;
}

.flow-item:hover .flow-num-wrap {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(0,180,216,0.5);
}

.flow-num-wrap .step-label {
  font-size: 0.65rem;
  color: var(--accent-pale);
  letter-spacing: 0.1em;
  font-weight: 600;
}

.flow-num-wrap .step-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.flow-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.flow-item p {
  color: rgba(255,255,255,0.6);
  font-size: 0.87rem;
  line-height: 1.8;
}

/* ===== COMPANY ===== */
#company {
  background: var(--bg);
}

.company-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
}

.area-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}

.area-box h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.area-box h3 i {
  color: var(--accent);
}

.area-city {
  margin-bottom: 20px;
}

.area-city-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.area-city-name i {
  color: var(--accent);
  font-size: 0.9rem;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-left: 4px;
}

.area-tag {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary-light);
}

.area-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 4px;
}

.company-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}

.company-box h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.company-box h3 i {
  color: var(--accent);
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table tr {
  border-bottom: 1px solid var(--border);
}

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

.company-table th {
  width: 130px;
  padding: 14px 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: left;
  vertical-align: top;
}

.company-table td {
  padding: 14px 16px;
  font-size: 0.93rem;
  color: var(--text);
}

/* ===== CONTACT ===== */
#contact {
  background: var(--white);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: start;
}

.contact-tel-box {
  background: var(--grad1);
  border-radius: var(--radius-md);
  padding: 44px 36px;
  color: white;
  position: relative;
  overflow: hidden;
}

.contact-tel-box::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 250px; height: 250px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.contact-tel-box h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-tel-box p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 6px;
  line-height: 1.6;
}

.contact-tel-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--white);
  margin: 20px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.03em;
}

.contact-tel-num i {
  font-size: 1.6rem;
  color: var(--accent-pale);
}

.contact-hours {
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 20px 0 28px;
  font-size: 0.88rem;
}

.contact-hours p {
  margin: 0;
  opacity: 0.9;
}

.form-box {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 44px 36px;
  box-shadow: var(--shadow-sm);
}

.form-box h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 28px;
}

form {
  display: grid;
  gap: 20px;
}

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

.form-group {
  display: grid;
  gap: 8px;
}

label {
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge {
  display: inline-block;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
}

.badge-required {
  background: #ef4444;
  color: white;
}

.badge-optional {
  background: var(--bg2);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

input, textarea, select {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 0.93rem;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: all 0.2s;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  background: white;
  box-shadow: 0 0 0 4px rgba(0,180,216,0.12);
}

textarea {
  min-height: 160px;
  resize: vertical;
}

.privacy-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.check-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text);
}

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

.form-submit-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.cta-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: white;
  margin-bottom: 12px;
  position: relative;
}

.cta-banner p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  position: relative;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ===== FOOTER ===== */
footer {
  background: #070e14;
  color: rgba(255,255,255,0.6);
  padding: 60px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-text .main-name {
  color: white;
}

.footer-brand .logo-img {
  height: 44px;
}

.footer-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  margin-top: 16px;
  line-height: 1.8;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-pale);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

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

.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}

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

.footer-info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 10px;
}

.footer-info-row i {
  color: var(--accent);
  width: 16px;
  flex-shrink: 0;
}

.footer-bottom {
  text-align: center;
  padding: 24px 0;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.3);
}

/* ===== FLOATING TEL ===== */
.floating-tel {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 998;
}

.floating-tel a {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: white;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 8px 24px rgba(0,180,216,0.5);
  transition: all 0.25s;
}

.floating-tel a:hover {
  transform: scale(1.05);
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero-inner,
  .about-inner,
  .company-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

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

  .flow-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

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

  nav { display: none; }
  .hamburger { display: flex; }

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

  .hero-stats {
    justify-content: center;
  }

  .about-badge-float {
    right: 16px;
  }
}

@media (max-width: 640px) {
  section { padding: 70px 0; }

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

  .flow-list {
    grid-template-columns: 1fr;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-inner {
    padding: 100px 0 60px;
  }

  .hero-stats {
    gap: 20px;
  }

  .hero-card {
    padding: 32px 24px;
  }

  .floating-tel {
    display: block;
  }
}

/* ===== お問い合わせ結果メッセージ ===== */
.contact-result {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.7;
  white-space: pre-line;
}

.contact-result-success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.contact-result-error {
  background: #fbe9e7;
  color: #c62828;
  border: 1px solid #ef9a9a;
}
