/* ==========================================
   FABNODE — fabnode.jp
   Color: Navy (#0D1B2A) × Cyan (#00B4D8)
   ========================================== */

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

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

body {
  font-family: "Helvetica Neue", "Noto Sans JP", "Hiragino Kaku Gothic ProN",
    "Yu Gothic", sans-serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* --- Utility --- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0D1B2A;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.section-subtitle {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 48px;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: #00B4D8;
  color: #fff;
}

.btn-primary:hover {
  background: #0096b7;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 180, 216, 0.35);
}

.btn-outline {
  background: transparent;
  color: #00B4D8;
  border: 2px solid #00B4D8;
}

.btn-outline:hover {
  background: #00B4D8;
  color: #fff;
}

/* --- Header / Nav --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13, 27, 42, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
}

.logo span {
  color: #00B4D8;
}

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

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #00B4D8;
}

.nav-cta {
  background: #00B4D8;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 5px;
  font-size: 0.85rem !important;
}

.nav-cta:hover {
  background: #0096b7;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: 0.3s;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #0D1B2A 0%, #1B2D45 50%, #0D1B2A 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 640px;
}

.hero-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #00B4D8;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: #00B4D8;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.9;
  margin-bottom: 36px;
}

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

/* --- Features / Service --- */
.features {
  background: #f8f9fa;
}

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

.feature-card {
  background: #fff;
  padding: 36px 28px;
  border-radius: 10px;
  border: 1px solid #e8edf2;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(0, 180, 216, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0D1B2A;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.7;
}

/* --- Equipment / Specs --- */
.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.spec-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.spec-dot {
  width: 10px;
  height: 10px;
  background: #00B4D8;
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

.spec-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #0D1B2A;
  margin-bottom: 2px;
}

.spec-item p {
  font-size: 0.9rem;
  color: #666;
}

.spec-image {
  background: #e8edf2;
  border-radius: 12px;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.9rem;
  overflow: hidden;
}

.spec-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Pricing --- */
.pricing {
  background: #f8f9fa;
}

.pricing-table {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e8edf2;
}

.pricing-row {
  display: flex;
  border-bottom: 1px solid #f0f0f0;
}

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

.pricing-label {
  flex: 0 0 200px;
  padding: 18px 24px;
  font-weight: 600;
  color: #0D1B2A;
  background: rgba(0, 180, 216, 0.04);
  font-size: 0.95rem;
}

.pricing-value {
  flex: 1;
  padding: 18px 24px;
  color: #333;
  font-size: 0.95rem;
}

.pricing-note {
  text-align: center;
  margin-top: 24px;
  font-size: 0.88rem;
  color: #888;
}

/* --- Materials --- */
/* --- Material Grid --- */
.material-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.material-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.material-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.material-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.material-info {
  padding: 14px 16px;
}

.material-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0D1B2A;
  margin-bottom: 4px;
}

.material-info p {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.5;
}

/* --- Tab Cut Section --- */
.tabcut-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 40px;
}

.tabcut-image img,
.tabcut-placeholder {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.tabcut-placeholder {
  background: #e9ecef;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #888;
}

.tabcut-text h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0D1B2A;
  margin-bottom: 16px;
}

.tabcut-text p {
  color: #444;
  margin-bottom: 16px;
}

.tabcut-text h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #0D1B2A;
  margin-bottom: 8px;
}

.tabcut-benefits {
  list-style: none;
  padding: 0;
}

.tabcut-benefits li {
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  color: #444;
  font-size: 0.92rem;
}

.tabcut-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #00B4D8;
  font-weight: 700;
}

.tabcut-note {
  font-size: 0.82rem;
  color: #888;
  margin-top: 8px;
}

/* --- Spec Image Placeholder --- */
.spec-image-placeholder {
  background: #e9ecef;
  height: 320px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #888;
  font-size: 0.9rem;
}

/* --- Area --- */
.area-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.area-text h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0D1B2A;
  margin-bottom: 12px;
}

.area-text p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 16px;
}

.area-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e6f7fb;
  color: #0D1B2A;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}

.area-map {
  background: #e8edf2;
  border-radius: 12px;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.9rem;
  overflow: hidden;
}

/* --- Naguri (Service detail page) --- */
.page-hero {
  padding: 120px 0 60px;
  background: linear-gradient(160deg, #0D1B2A 0%, #1B2D45 100%);
  text-align: center;
}

.page-hero h1 {
  font-size: 2.2rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
}

.content-section {
  padding: 60px 0;
}

.content-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0D1B2A;
  margin-bottom: 16px;
}

.content-section p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.9;
  margin-bottom: 16px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 24px;
}

.content-image {
  background: #e8edf2;
  border-radius: 10px;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.9rem;
  overflow: hidden;
}

.content-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(160deg, #0D1B2A 0%, #1B2D45 100%);
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  font-size: 1.8rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 32px;
  font-size: 1rem;
}

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

/* --- Contact Section --- */
.contact {
  background: #f8f9fa;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0D1B2A;
  margin-bottom: 16px;
}

.contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-item-icon {
  width: 36px;
  height: 36px;
  background: rgba(0, 180, 216, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.contact-item-text {
  font-size: 0.92rem;
  color: #444;
}

.contact-item-text strong {
  display: block;
  color: #0D1B2A;
  margin-bottom: 2px;
}

.contact-form {
  background: #fff;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid #e8edf2;
}

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

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0D1B2A;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
  background: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #00B4D8;
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

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

/* --- Footer --- */
.footer {
  background: #0D1B2A;
  color: rgba(255, 255, 255, 0.5);
  padding: 48px 0 24px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

.footer-brand {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.footer-brand span {
  color: #00B4D8;
}

.footer-desc {
  font-size: 0.85rem;
  max-width: 320px;
  line-height: 1.7;
}

.footer-links h4 {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.footer-links a {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 8px;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(13, 27, 42, 0.98);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

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

  .specs-grid,
  .area-content,
  .contact-grid,
  .content-grid,
  .tabcut-content {
    grid-template-columns: 1fr;
  }

  .material-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .material-card img {
    height: 120px;
  }

  .pricing-row {
    flex-direction: column;
  }

  .pricing-label {
    flex: none;
  }

  .footer-content {
    flex-direction: column;
    gap: 32px;
  }

  .section {
    padding: 56px 0;
  }

  .section-title {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    text-align: center;
    width: 100%;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}
