/* ============================================
   D-Research - style.css
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --navy: #0a1628;
  --navy-mid: #12253f;
  --navy-light: #1a3356;
  --orange: #e8771a;
  --orange-light: #f4921e;
  --orange-dark: #c5620f;
  --white: #ffffff;
  --gray-light: #f0f4f8;
  --gray: #8a9bb0;
  --text: #1a2535;
  --text-light: #c8d4e3;
  --border: rgba(255,255,255,0.12);
  --shadow: 0 8px 32px rgba(0,0,0,0.3);
  --radius: 12px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

/* ---------- Header / Nav ---------- */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 0 24px;
}

#header.scrolled {
  background: rgba(10, 22, 40, 0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
  backdrop-filter: blur(12px);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.logo-d {
  color: var(--orange);
}

.logo-img {
  height: 56px;
  width: auto;
  display: block;
}

.footer-logo-img {
  height: 80px;
  width: auto;
  display: block;
  margin: 0 auto 8px;
}

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

.nav-links a {
  color: var(--text-light);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--transition);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--orange);
}

.btn-nav {
  background: var(--orange);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 6px;
  transition: background var(--transition) !important;
}

.btn-nav:hover {
  background: var(--orange-light) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

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

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-primary:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 119, 26, 0.4);
}

.btn-outline {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.6);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  transition: border-color var(--transition), background var(--transition);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

/* ---------- Hero ---------- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/2025-06-06_22h53_27.png');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(10,22,40,0.85) 0%,
    rgba(10,22,40,0.65) 55%,
    rgba(10,22,40,0.35) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 100px 32px 60px;
  text-align: center;
}

.hero-sub {
  font-family: 'Oswald', sans-serif;
  color: var(--orange);
  font-size: 1rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-title-tags {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-title-tag {
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  font-weight: 700;
  color: var(--orange);
  border: 2px solid var(--orange);
  padding: 5px 18px;
  border-radius: 4px;
  letter-spacing: 2px;
  background: rgba(232, 119, 26, 0.12);
}

.hero-title-ir {
  background: linear-gradient(120deg, #a8edff, #22d3ee, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 18px rgba(6, 182, 212, 0.75));
  display: inline-block;
  position: relative;
}

.hero-title-ir::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #22d3ee, #06b6d4);
  border-radius: 2px;
  opacity: 0.8;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-light);
  margin-bottom: 44px;
  line-height: 1.9;
}

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

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll span {
  display: block;
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 12px;
  position: relative;
}

.hero-scroll span::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--orange);
  border-radius: 2px;
  animation: scrollDown 1.8s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { opacity: 1; top: 6px; }
  100% { opacity: 0; top: 22px; }
}

/* ---------- Section Base ---------- */
.section {
  padding: 100px 32px;
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-family: 'Oswald', sans-serif;
  color: var(--orange);
  font-size: 0.8rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.3;
}

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

.section-lead {
  font-size: 1rem;
  color: var(--gray);
  max-width: 1100px;
  margin-bottom: 60px;
  line-height: 1.9;
}

.section-dark .section-lead {
  color: var(--text-light);
}

/* ---------- WHY ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.why-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

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

@media (max-width: 480px) {
  .why-grid-4 {
    grid-template-columns: 1fr;
  }
}


.why-card {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 36px 28px;
  border-left: 4px solid var(--orange);
  transition: transform var(--transition), box-shadow var(--transition);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.why-card-sub {
  border-left-color: var(--gray);
  opacity: 0.75;
}

.why-card-sub .why-icon {
  font-size: 1.5rem;
}

.why-card-sub h3 {
  font-size: 0.95rem;
  color: #6b7a8d;
}

.why-card-sub p {
  font-size: 0.82rem;
}

.why-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.why-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--navy);
}

.why-card p {
  font-size: 0.9rem;
  color: #4a5568;
  line-height: 1.8;
}

/* ---------- 法12条対応バナー ---------- */
.law12-banner {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  background: linear-gradient(135deg, #fff8f0 0%, #fff3e6 100%);
  border: 2px solid var(--orange);
  border-radius: var(--radius);
  padding: 36px 32px;
  margin: 48px 0 40px;
  box-shadow: 0 4px 24px rgba(232, 119, 26, 0.15);
}

.law12-banner-left {
  flex-shrink: 0;
  padding-top: 4px;
}

.law12-banner-icon {
  font-size: 3rem;
  line-height: 1;
}

.law12-banner-label {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.law12-banner-body h3 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.45;
  margin-bottom: 14px;
}

.law12-banner-body h3 span {
  color: var(--orange);
  border-bottom: 2px solid var(--orange);
}

.law12-banner-body p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 20px;
}

.law12-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.law12-point {
  background: var(--white);
  border: 1px solid rgba(232, 119, 26, 0.4);
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

@media (max-width: 768px) {
  .law12-banner {
    flex-direction: column;
    gap: 16px;
    padding: 24px 20px;
  }
  .law12-banner-body h3 {
    font-size: 1.15rem;
  }
  .law12-points {
    flex-direction: column;
  }
}

/* ---------- WHY 事故事例 ---------- */
.why-accidents {
  margin-top: 56px;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  overflow: hidden;
}

.why-accidents-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 32px;
  background: #fff8f3;
  border-bottom: 1px solid #fde0c8;
}

.why-accidents-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  line-height: 1;
  padding-top: 2px;
}

.why-accidents-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.why-accidents-header p {
  font-size: 0.875rem;
  color: #4a5568;
  line-height: 1.8;
}

.why-accidents-table-wrap {
  overflow-x: auto;
}

.why-accidents-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.why-accidents-table thead tr {
  background: #1a3356;
  color: #fff;
}

.why-accidents-table th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}

.why-accidents-table tbody tr {
  border-bottom: 1px solid #e2e8f0;
  transition: background 0.15s;
}

.why-accidents-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.why-accidents-table tbody tr:hover {
  background: #fff3ea;
}

.why-accidents-table td {
  padding: 14px 16px;
  color: #2d3748;
  line-height: 1.7;
  vertical-align: top;
}

.acc-date {
  white-space: nowrap;
  font-weight: 600;
  color: #c5620f !important;
}

.why-accidents-note {
  padding: 12px 20px;
  font-size: 0.78rem;
  color: #718096;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .why-accidents-header {
    padding: 20px 16px;
  }
  .why-accidents-table th,
  .why-accidents-table td {
    padding: 10px 12px;
  }
}

/* ---------- MERIT ---------- */
.merit-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 64px;
}

@media (max-width: 1024px) {
  .merit-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

.merit-card {
  background: var(--navy-mid);
  border-radius: var(--radius);
  padding: 28px 20px;
  border: 1px solid var(--border);
  transition: transform var(--transition), border-color var(--transition);
  position: relative;
}

.merit-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
}

.merit-num {
  font-family: 'Oswald', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--orange);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 16px;
}

.merit-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.merit-card p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.8;
}

.merit-card strong {
  color: var(--orange);
}

.merit-tag {
  display: inline-block;
  margin-top: 16px;
  background: rgba(232,119,26,0.15);
  color: var(--orange);
  border: 1px solid rgba(232,119,26,0.4);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Comparison Table */
.comparison {
  background: var(--navy-mid);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid var(--border);
}

.merit-guide-link {
  margin-top: 32px;
  text-align: center;
}

.merit-guide-link p {
  color: var(--text-light);
  font-size: 0.88rem;
  margin-bottom: 14px;
}

.btn-guide-link {
  display: inline-block;
  border: 2px solid var(--orange);
  color: var(--orange);
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: background var(--transition), color var(--transition);
}

.btn-guide-link:hover {
  background: var(--orange);
  color: var(--white);
}

.comparison h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.compare-table th,
.compare-table td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.compare-table th {
  background: rgba(255,255,255,0.05);
  color: var(--gray);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.compare-table td {
  color: var(--text-light);
}

.compare-table td:first-child {
  text-align: left;
  color: var(--gray);
}

.compare-table .highlight {
  color: var(--orange);
  font-weight: 600;
  background: rgba(232,119,26,0.06);
}

.compare-table th.highlight {
  color: var(--orange);
  background: rgba(232,119,26,0.1);
}

/* ---------- WHY US ---------- */
.whyus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.whyus-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.whyus-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 28px;
}

.whyus-grid-1 {
  grid-template-columns: 1fr;
  margin-top: 28px;
}

@media (max-width: 768px) {
  .whyus-grid-3,
  .whyus-grid-2 {
    grid-template-columns: 1fr;
  }
}

.whyus-item {
  text-align: center;
  padding: 40px 28px;
  border-radius: var(--radius);
  background: var(--gray-light);
  border: 2px solid transparent;
  transition: border-color var(--transition), transform var(--transition);
}

.whyus-item:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
}

.whyus-item-horizontal {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  text-align: left;
  padding: 40px;
}

.whyus-item-icon {
  flex-shrink: 0;
}

.whyus-drone-img {
  width: 220px;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.whyus-item-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
}

.whyus-item-body p {
  font-size: 0.9rem;
  color: #4a5568;
  line-height: 1.9;
  margin-bottom: 16px;
}

.cert-badge {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.whyus-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.whyus-item p {
  font-size: 0.875rem;
  color: #4a5568;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .whyus-item-horizontal {
    flex-direction: column;
    gap: 20px;
    padding: 28px 20px;
  }
}

/* ---------- EQUIPMENT ---------- */
.equip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.equip-card {
  background: var(--navy-mid);
  border-radius: var(--radius);
  padding: 40px 32px;
  border: 1px solid var(--border);
  transition: transform var(--transition), border-color var(--transition);
}

.equip-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
}

.equip-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  height: 80px;
  display: flex;
  align-items: center;
}

.equip-img {
  height: 80px;
  width: auto;
  object-fit: contain;
  max-width: 100%;
}

.equip-card h3 {
  font-size: 0.85rem;
  color: var(--orange);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
}

.equip-card h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
}

.equip-specs {
  margin-bottom: 24px;
}

.equip-specs li {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}

.equip-specs li:last-child {
  border-bottom: none;
}

.equip-specs span {
  color: var(--orange);
  font-weight: 600;
  min-width: 80px;
}

.equip-specs li:not(:has(span)) {
  color: var(--text-light);
}

.equip-note {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ---------- CASES ---------- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.case-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}

.case-img {
  height: 200px;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  position: relative;
}

.case-img-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-img-pair {
  display: flex;
  height: 200px;
  overflow: hidden;
}

.case-img-pair img {
  width: 50%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-img-pair img:first-child {
  border-right: 2px solid var(--white);
}

/* Thermal image simulations using gradients */
.case-img-1 {
  background:
    radial-gradient(ellipse 30% 25% at 40% 45%, #ff2200 0%, #ff6600 30%, #ffaa00 55%, #2244aa 75%, #001166 100%),
    linear-gradient(135deg, #000b33 0%, #001166 50%, #0022aa 100%);
}

.case-img-2 {
  background:
    radial-gradient(ellipse 20% 40% at 55% 50%, #ff3300 0%, #ff7700 35%, #ffcc00 60%, #0033cc 80%, #000b44 100%),
    linear-gradient(120deg, #000b44 0%, #001188 50%, #002299 100%);
}

.case-img-3 {
  background:
    radial-gradient(ellipse 15% 15% at 60% 40%, #ffffff 0%, #ff0000 20%, #ff6600 45%, #0055cc 70%, #000b33 100%),
    radial-gradient(ellipse 10% 10% at 30% 60%, #ff4400 0%, #ff9900 30%, transparent 60%),
    linear-gradient(135deg, #000b33 0%, #002277 100%);
}

.case-img-4 {
  background:
    radial-gradient(ellipse 60% 30% at 50% 30%, #ffaa00 0%, #ff6600 30%, #dd2200 60%, #0033bb 80%, #000b33 100%),
    linear-gradient(180deg, #000b33 0%, #001166 100%);
}

.case-img-label {
  background: rgba(232,119,26,0.9);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 1px;
}

.case-body {
  padding: 24px;
}

.case-tag {
  display: inline-block;
  background: rgba(232,119,26,0.1);
  color: var(--orange-dark);
  border: 1px solid rgba(232,119,26,0.3);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.case-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.case-body p {
  font-size: 0.85rem;
  color: #4a5568;
  line-height: 1.8;
}

/* ---------- 報告書サンプルCTA ---------- */
.sample-report-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--gray-light);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-top: 48px;
}

.sample-report-icon {
  font-size: 2.4rem;
  flex-shrink: 0;
}

.sample-report-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex: 1;
}

.sample-report-body p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
}

.sample-report-btn {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 6px;
  white-space: nowrap;
  transition: background var(--transition);
}

.sample-report-btn:hover {
  background: var(--orange-dark);
}

.flow-sample-note {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--orange);
  font-weight: 600;
}

@media (max-width: 768px) {
  .sample-report-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .sample-report-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ---------- FLOW ---------- */
.flow-steps {
  max-width: 800px;
  margin: 0 auto;
}

.flow-step {
  display: grid;
  grid-template-columns: 60px 1fr 60px;
  gap: 24px;
  align-items: start;
  background: var(--navy-mid);
  border-radius: var(--radius);
  padding: 32px 36px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--orange);
}

.flow-num {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  padding-top: 4px;
}

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

.flow-content p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.9;
}

.flow-content strong {
  color: var(--orange);
}

.flow-icon {
  font-size: 1.8rem;
  text-align: right;
  padding-top: 4px;
}

.flow-arrow {
  text-align: center;
  color: var(--orange);
  font-size: 1.5rem;
  padding: 12px 0;
  opacity: 0.6;
}

/* ---------- CONTACT ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}

.contact-info h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.contact-info > p {
  color: var(--gray);
  font-size: 0.875rem;
  margin-bottom: 28px;
}

.contact-detail {
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  font-size: 0.9rem;
  color: var(--text);
}

.contact-icon {
  font-size: 1.1rem;
}

.contact-note {
  background: var(--gray-light);
  border-radius: 8px;
  padding: 20px;
  border-left: 3px solid var(--orange);
}

.contact-note p {
  font-size: 0.875rem;
  color: var(--navy);
  font-weight: 500;
  padding: 4px 0;
}

/* Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
  border: 1px solid #e8ecf0;
}

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

.form-privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f0f4f8;
  border-left: 3px solid var(--navy-light);
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 24px;
  font-size: 0.85rem;
  color: #4a5568;
  line-height: 1.6;
}

.form-privacy-icon {
  flex-shrink: 0;
  font-size: 1rem;
  margin-top: 2px;
}

.form-privacy-note p {
  margin: 0;
}

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.required {
  background: var(--orange);
  color: var(--white);
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}

.optional {
  background: #8a9bb0;
  color: var(--white);
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d9e6;
  border-radius: 8px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: #f8fafc;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,119,26,0.12);
  background: var(--white);
}

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

.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--orange);
}

.form-check label {
  margin-bottom: 0;
  cursor: pointer;
}

.btn-submit {
  width: 100%;
  background: var(--orange);
  color: var(--white);
  padding: 16px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  margin-top: 8px;
}

.btn-submit:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,119,26,0.35);
}

.form-success {
  display: none;
  margin-top: 20px;
  padding: 16px 20px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: 8px;
  color: #15803d;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.8;
}

/* ---------- Footer ---------- */
#footer {
  background: var(--navy);
  padding: 64px 32px 40px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.footer-tagline {
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: 36px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 36px;
}

.footer-nav a {
  color: var(--gray);
  font-size: 0.85rem;
  transition: color var(--transition);
}

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

.footer-cert {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.footer-cert span {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  color: var(--text-light);
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: 20px;
}

.footer-copy {
  color: var(--gray);
  font-size: 0.8rem;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

/* ---------- Page Top ---------- */
.page-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  box-shadow: 0 4px 16px rgba(232,119,26,0.4);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
  z-index: 999;
}

.page-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

/* ---------- Hero TERS certs strip ---------- */
.hero-certs {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-cert-label {
  color: var(--gray);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-ters-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
  background: rgba(255,255,255,0.92);
  padding: 4px 10px;
}

.hero-architect-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  background: rgba(232, 119, 26, 0.15);
  border: 1px solid rgba(232, 119, 26, 0.6);
  border-left: 4px solid var(--orange);
  border-radius: 8px;
  padding: 14px 20px;
  max-width: 560px;
}

.hero-architect-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.hero-architect-badge strong {
  color: var(--orange);
  font-size: 1.05rem;
}

.hero-architect-badge > div {
  color: var(--white);
  font-size: 0.95rem;
  line-height: 1.7;
}

.hero-architect-sub {
  font-size: 0.78rem;
  color: var(--text-light);
}

.hero-cert-item {
  color: var(--text-light);
  font-size: 0.8rem;
  padding: 4px 12px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  white-space: nowrap;
}

.hero-cert-highlight {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  font-weight: 700;
}

/* ---------- WHY US TERS ---------- */
.whyus-ters {
  border-color: #2e8b57;
}

.whyus-ters-logo {
  width: 100%;
  max-width: 200px;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  display: block;
  margin: 0 auto;
}

/* ---------- Hero 足場不要バッジ ---------- */
.hero-scaffold-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-scaffold-main {
  background: var(--orange);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 900;
  padding: 6px 18px;
  border-radius: 6px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.hero-scaffold-sep {
  color: rgba(255,255,255,0.4);
  font-size: 1.2rem;
}

.hero-scaffold-badge > span:last-child {
  color: var(--text-light);
  font-size: 0.95rem;
}

.hero-scaffold-badge strong {
  color: var(--orange);
}

/* ---------- Merit 足場不要ヒーロー ---------- */
.merit-scaffold-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 48px;
  background: var(--navy-mid);
  border: 2px solid var(--orange);
  border-radius: var(--radius);
  overflow: hidden;
}

.merit-scaffold-left {
  padding: 40px;
  border-right: 1px solid var(--border);
}

.merit-scaffold-label {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.merit-scaffold-left h3 {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 16px;
}

.merit-scaffold-left h3 span {
  color: var(--orange);
  text-decoration: underline;
  text-decoration-color: rgba(232,119,26,0.5);
  text-underline-offset: 4px;
}

.merit-scaffold-left p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 24px;
}

.merit-scaffold-left strong {
  color: var(--orange);
}

.merit-scaffold-numbers {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.scaffold-num-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.scaffold-num-value {
  font-family: 'Oswald', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--orange);
}

.scaffold-num-old .scaffold-num-value {
  color: var(--gray);
  font-size: 1.1rem;
  text-decoration: line-through;
}

.scaffold-num-label {
  font-size: 0.72rem;
  color: var(--gray);
}

.scaffold-num-arrow {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  color: var(--gray);
  font-weight: 600;
}

.merit-scaffold-right {
  padding: 32px;
  background: rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
}

.merit-scaffold-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.merit-scaffold-stat .stat-icon {
  font-size: 1rem;
  width: 24px;
  flex-shrink: 0;
}

.merit-scaffold-stat .stat-text {
  font-size: 0.82rem;
  color: var(--gray);
  flex: 1;
}

.merit-scaffold-stat .stat-val {
  font-size: 0.85rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
}

.stat-val.old {
  background: rgba(255,80,80,0.15);
  color: #f87171;
}

.stat-val.new {
  background: rgba(232,119,26,0.2);
  color: var(--orange);
}

.merit-scaffold-divider {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 2px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 6px 0;
}

.merit-scaffold-divider.divider-old {
  color: var(--gray);
  margin-top: 0;
}

/* 比較表のキー行強調 */
.compare-row-key td {
  background: rgba(232,119,26,0.07);
  font-weight: 600;
}

.compare-row-key .highlight {
  background: rgba(232,119,26,0.2) !important;
  font-size: 1.05rem;
}

@media (max-width: 768px) {
  .merit-scaffold-hero {
    grid-template-columns: 1fr;
  }
  .merit-scaffold-left {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 28px 20px;
  }
  .merit-scaffold-right {
    padding: 24px 20px;
  }
  .hero-scaffold-badge {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
}

/* ---------- 一級建築士 Banner ---------- */
.architect-banner {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  margin-bottom: 48px;
  background: linear-gradient(135deg, #f5f7ff 0%, #eef1ff 100%);
  border: 2px solid var(--orange);
  border-radius: var(--radius);
  padding: 36px 40px;
}

.architect-banner-icon {
  flex-shrink: 0;
}

.architect-illustration {
  width: 220px;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
}

.architect-banner-body h3 {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.4;
}

.architect-banner-body h3 span {
  color: var(--orange);
  border-bottom: 3px solid var(--orange);
  padding-bottom: 1px;
}

.architect-banner-body p {
  font-size: 0.9rem;
  color: #3a4a60;
  line-height: 1.9;
  margin-bottom: 16px;
}

.architect-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.architect-points li {
  font-size: 0.875rem;
  color: var(--navy);
  font-weight: 500;
}

.whyus-architect {
  border-color: var(--orange);
  background: linear-gradient(135deg, #fff8f3 0%, #fef3eb 100%);
}

.whyus-architect h3 {
  color: var(--orange-dark);
}

.whyus-architect strong {
  color: var(--orange-dark);
}

@media (max-width: 768px) {
  .architect-banner {
    flex-direction: column;
    gap: 20px;
    padding: 28px 20px;
  }
}

/* ---------- TERS Banner ---------- */
.ters-banner {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 56px;
  background: linear-gradient(135deg, #f0faf4 0%, #e8f5ec 100%);
  border: 2px solid #2e8b57;
  border-radius: var(--radius);
  padding: 40px;
}

.ters-banner-logo {
  flex-shrink: 0;
}

.ters-banner-logo img {
  width: 220px;
  height: auto;
  object-fit: contain;
}

.ters-banner-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a5c38;
  margin-bottom: 12px;
}

.ters-banner-body p {
  font-size: 0.9rem;
  color: #2d6a4f;
  line-height: 1.9;
  margin-bottom: 16px;
}

.ters-points {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ters-points li {
  font-size: 0.875rem;
  color: #1a5c38;
  font-weight: 500;
}

/* ---------- Contact TERS ---------- */
.contact-ters {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: #f0faf4;
  border: 1px solid #a8d5b8;
  border-radius: 8px;
}

.contact-ters-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.contact-ters p {
  font-size: 0.8rem;
  font-weight: 600;
  color: #1a5c38;
  line-height: 1.6;
}

/* ---------- Footer TERS ---------- */
.footer-ters-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  background: rgba(255,255,255,0.9);
  padding: 4px 10px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .ters-banner {
    flex-direction: column;
    gap: 24px;
    padding: 28px 20px;
  }
  .ters-banner-logo img {
    width: 180px;
  }
}

/* ---------- PRICE ---------- */
.price-plans-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  padding-left: 14px;
  border-left: 4px solid var(--orange);
}

.price-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 48px;
}

.price-plan {
  border-radius: var(--radius);
  padding: 36px 32px;
  border: 2px solid #e2e8f0;
  background: var(--gray-light);
  position: relative;
  transition: border-color var(--transition), transform var(--transition);
}

.price-plan:hover {
  transform: translateY(-4px);
}

.price-plan-drone {
  border-color: var(--orange);
  background: linear-gradient(135deg, #fff8f3 0%, #fef3eb 100%);
}

.price-plan-badge {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.price-plan-badge-drone {
  background: var(--orange);
}

.price-plan-recommend {
  position: absolute;
  top: -1px;
  right: 20px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 0 0 8px 8px;
}

.price-plan-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 12px;
}

.price-plan-title span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray);
}

.price-plan-desc {
  font-size: 0.875rem;
  color: #4a5568;
  line-height: 1.8;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #dde3ea;
}

.price-plan-base {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.price-plan-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 0.875rem;
}

.price-plan-row span:first-child {
  color: #4a5568;
}

.price-plan-row-key {
  background: rgba(232,119,26,0.08);
  padding: 10px 10px;
  border-radius: 4px;
  margin: 4px -10px;
  border-bottom: none !important;
}

.price-plan-val {
  font-weight: 700;
  color: var(--navy);
}

.price-plan-val small {
  font-weight: 400;
  color: var(--gray);
  font-size: 0.72rem;
  margin-left: 4px;
}

.price-plan-none {
  color: var(--gray) !important;
  font-weight: 400 !important;
}

.price-plan-drone-val {
  color: var(--orange) !important;
}

.price-plan-example {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--navy);
  border-radius: 8px;
  padding: 14px 20px;
}

.price-plan-example span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
}

.price-plan-example strong {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  color: var(--orange);
}

/* Rate Table */
.price-rate {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 36px 40px;
  margin-bottom: 40px;
  border: 1px solid #e2e8f0;
}

.price-rate-title,
.price-examples-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}

.price-rate-table-wrap {
  overflow-x: auto;
  border-radius: 8px;
  overflow: hidden;
}

.price-rate-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.price-rate-table thead tr {
  background: var(--navy);
  color: var(--white);
}

.price-rate-table th {
  padding: 12px 20px;
  text-align: left;
  font-weight: 600;
}

.price-rate-table tbody tr {
  border-bottom: 1px solid #e2e8f0;
  transition: background 0.15s;
}

.price-rate-table tbody tr:nth-child(even) {
  background: rgba(0,0,0,0.02);
}

.price-rate-table tbody tr:hover {
  background: #fff3ea;
}

.price-rate-table td {
  padding: 14px 20px;
  color: var(--text);
}

.price-rate-val {
  font-weight: 700;
  color: var(--orange) !important;
  font-size: 1.05rem;
}

.price-rate-note {
  font-size: 0.78rem;
  color: var(--gray);
  margin-top: 14px;
  line-height: 1.7;
}

/* Examples Table */
.price-examples {
  margin-bottom: 32px;
}

.price-examples-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid #e2e8f0;
}

.price-examples-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 700px;
}

.price-examples-table thead tr {
  background: var(--navy-light);
  color: var(--white);
}

.price-examples-table th {
  padding: 12px 14px;
  text-align: center;
  font-weight: 600;
  font-size: 0.8rem;
  line-height: 1.5;
}

.price-examples-table tbody tr {
  border-bottom: 1px solid #e2e8f0;
  transition: background 0.15s;
}

.price-examples-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.price-examples-table tbody tr:hover {
  background: #fff3ea;
}

.price-examples-table td {
  padding: 14px 14px;
  text-align: center;
  color: var(--text);
}

.price-ex-case {
  font-weight: 700;
  color: var(--navy) !important;
}

.price-ex-none {
  color: var(--gray) !important;
}

.price-ex-group-top td {
  border-top: 2px solid #cbd5e0;
}

.price-ex-group-top:first-child td {
  border-top: none;
}

.price-ex-group-bottom {
  background: rgba(0,0,0,0.02);
}

.price-ex-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.price-ex-badge-ground {
  background: rgba(26, 51, 86, 0.1);
  color: var(--navy-light);
  border: 1px solid rgba(26, 51, 86, 0.25);
}

.price-ex-badge-drone {
  background: rgba(232, 119, 26, 0.12);
  color: var(--orange-dark);
  border: 1px solid rgba(232, 119, 26, 0.35);
}

.price-ex-total {
  font-weight: 700;
  color: var(--orange) !important;
  font-size: 1rem;
  white-space: nowrap;
}

/* Notes */
.price-notes {
  background: #f8fafc;
  border-radius: 8px;
  padding: 20px 24px;
  border-left: 3px solid var(--gray);
  margin-bottom: 40px;
}

.price-notes ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.price-notes li {
  font-size: 0.82rem;
  color: #4a5568;
  line-height: 1.7;
}

/* CTA */
.price-cta {
  text-align: center;
  padding: 48px 40px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius);
}

.price-cta p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .price-plans {
    grid-template-columns: 1fr;
  }

  .price-rate {
    padding: 24px 20px;
  }

  .price-cta {
    padding: 32px 24px;
  }
}

/* ---------- Drone Notice（ドローン利用条件） ---------- */
.drone-notice {
  margin-top: 20px;
  background: #fffbeb;
  border: 1.5px solid #f59e0b;
  border-left: 5px solid #f59e0b;
  border-radius: 8px;
  padding: 16px 20px;
}

.drone-notice-sm {
  margin-top: 0;
  margin-bottom: 20px;
  padding: 12px 16px;
  font-size: 0.875rem;
}

.drone-notice-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #92400e;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.drone-notice-title span {
  font-size: 1rem;
}

.drone-notice p {
  font-size: 0.85rem;
  color: #78350f;
  line-height: 1.8;
  margin: 0;
}

.drone-notice p strong {
  color: #92400e;
}

/* ---------- IR Limits（適用条件・注意事項） ---------- */
.ir-limits {
  margin-bottom: 40px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 4px solid rgba(255, 200, 50, 0.7);
  border-radius: var(--radius);
  padding: 28px 32px;
}

.ir-limits-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 220, 80, 0.9);
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.ir-limits-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.ir-limits-body {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1.5fr;
  gap: 20px;
  margin-bottom: 18px;
}

.ir-limits-col p,
.ir-limits-col ul {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.8;
}

.ir-limits-col ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 1em;
  list-style: disc;
}

.ir-limits-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 10px;
}

.ir-limits-ok {
  background: rgba(34, 197, 94, 0.15);
  color: #6ee7a0;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.ir-limits-caution {
  background: rgba(255, 200, 50, 0.12);
  color: rgba(255, 220, 80, 0.9);
  border: 1px solid rgba(255, 200, 50, 0.3);
}

.ir-limits-note {
  font-size: 0.78rem;
  color: var(--gray);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin: 0;
}

@media (max-width: 768px) {
  .ir-limits {
    padding: 20px 20px;
  }

  .ir-limits-body {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ---------- FAQ ---------- */
.faq-categories {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-bottom: 56px;
}

.faq-category-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  border-bottom: 2px solid var(--orange);
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.faq-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.open {
  border-color: rgba(232, 119, 26, 0.5);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  text-align: left;
  line-height: 1.5;
  transition: background var(--transition), color var(--transition);
}

.faq-q:hover {
  background: rgba(255,255,255,0.04);
  color: var(--orange);
}

.faq-item.open .faq-q {
  color: var(--orange);
  background: rgba(232, 119, 26, 0.08);
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.3);
  position: relative;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--white);
  border-radius: 2px;
  transition: background var(--transition), transform var(--transition);
}

.faq-icon::before {
  width: 10px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 10px;
  transform: translate(-50%, -50%);
  transition: opacity var(--transition);
}

.faq-item.open .faq-icon {
  background: var(--orange);
  border-color: var(--orange);
}

.faq-item.open .faq-icon::before,
.faq-item.open .faq-icon::after {
  background: var(--white);
}

.faq-item.open .faq-icon::after {
  opacity: 0;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-a {
  max-height: 600px;
}

.faq-a p {
  margin: 0 24px 20px;
  padding-top: 14px;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.9;
  border-top: 1px solid var(--border);
}

.faq-a p strong {
  color: var(--orange);
}

.faq-cta {
  text-align: center;
  padding: 40px;
  background: rgba(232, 119, 26, 0.08);
  border: 1px solid rgba(232, 119, 26, 0.3);
  border-radius: var(--radius);
}

.faq-cta p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .faq-q {
    padding: 16px 18px;
    font-size: 0.875rem;
  }

  .faq-a p {
    margin: 0 18px 16px;
    font-size: 0.85rem;
  }

  .faq-categories {
    gap: 36px;
  }
}

/* ---------- Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.3s; }
.fade-in:nth-child(3) { animation-delay: 0.5s; }
.fade-in:nth-child(4) { animation-delay: 0.7s; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .flow-step {
    grid-template-columns: 50px 1fr;
  }

  .flow-icon {
    display: none;
  }

  .comparison {
    overflow-x: auto;
  }
}

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

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 32px 32px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform var(--transition);
    border-left: 1px solid var(--border);
    box-shadow: -8px 0 30px rgba(0,0,0,0.4);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1rem;
  }

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

  .contact-form {
    padding: 28px 20px;
  }

  .hero-btns {
    flex-direction: column;
  }

  .btn-primary, .btn-outline {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .hero-title-tag {
    font-size: 0.82rem;
    padding: 4px 12px;
  }

  .flow-step {
    padding: 24px 20px;
  }
}
