﻿/* ==========================================================================
   Gumdulnyx CSS Stylesheet
   Modern, Accessible, Core Web Vitals Optimized
   ========================================================================== */

:root {
  --primary: #1e3a8a;
  --primary-light: #2563eb;
  --primary-dark: #0f172a;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --bg-main: #ffffff;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --bg-dark: #090d16;
  --border-color: #e2e8f0;
  --border-focus: #3b82f6;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --transition: all 0.25s ease-in-out;
}

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

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

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.35;
  color: var(--primary-dark);
}

.text-center { text-align: center; }
.text-gradient {
  background: linear-gradient(135deg, #60a5fa, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.bg-light {
  background-color: var(--bg-light);
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none !important;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

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

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.1rem;
}

.btn-block {
  width: 100%;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.brand-logo img {
  height: 42px;
  width: auto;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-list a {
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-list a:hover {
  color: var(--primary-light);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle .bar {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background-color: var(--primary-dark);
  transition: var(--transition);
}

/* Hero Section */
.hero-section {
  position: relative;
  background-color: var(--bg-dark);
  color: #ffffff;
  padding: 6rem 0 5rem;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.25) 0%, transparent 60%),
              radial-gradient(circle at 20% 80%, rgba(245, 158, 11, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #93c5fd;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ef4444;
  box-shadow: 0 0 8px #ef4444;
}

.hero-title {
  font-size: 2.75rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.hero-desc {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  color: #94a3b8;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.trust-icon {
  color: var(--accent);
  font-weight: 900;
}

.hero-media {
  position: relative;
}

.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.viewfinder-ui {
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  display: flex;
  justify-content: space-between;
  font-family: monospace;
  font-size: 0.85rem;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
  pointer-events: none;
}

.rec-indicator {
  color: #ef4444;
  font-weight: 700;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background-color: var(--bg-card);
  padding: 2.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.benefit-icon-box {
  width: 52px;
  height: 52px;
  background-color: #eff6ff;
  color: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.benefit-icon-box svg {
  width: 26px;
  height: 26px;
}

.benefit-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
}

.benefit-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.service-img-wrapper {
  height: 200px;
  overflow: hidden;
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-img-wrapper img {
  transform: scale(1.05);
}

.service-content {
  padding: 1.75rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-content p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-feature-list {
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-main);
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.service-feature-list li {
  margin-bottom: 0.4rem;
  position: relative;
  padding-left: 1.25rem;
}

.service-feature-list li::before {
  content: "•";
  color: var(--primary-light);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Workflow Section */
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  position: relative;
}

.step-card {
  background-color: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  position: relative;
}

.step-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #e2e8f0;
  line-height: 1;
  margin-bottom: 1rem;
}

.step-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.step-body p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Cases Grid */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.case-card {
  background-color: var(--bg-card);
  padding: 2.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.case-badge {
  display: inline-block;
  background-color: #fef3c7;
  color: #92400e;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.case-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.case-summary {
  font-size: 0.92rem;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.case-details {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.case-tags span {
  font-size: 0.8rem;
  color: var(--primary-light);
  background-color: #eff6ff;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

/* About Section */
.about-card-container {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 3rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-image-col img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.about-lead {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.about-text-col p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* FAQ Accordion */
.faq-accordion-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

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

.faq-icon {
  font-size: 1.4rem;
  color: var(--primary-light);
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Contact / Lead Form Section */
.contact-section {
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
}

.contact-card-box {
  max-width: 780px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 3.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.lead-form {
  margin-top: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

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

.form-group label {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.req {
  color: #ef4444;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-main);
  background-color: #f8fafc;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form-consent {
  margin: 1.5rem 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-main);
  cursor: pointer;
}

.checkbox-label input {
  margin-top: 0.25rem;
  accent-color: var(--primary-light);
}

.form-privacy-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.form-status {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  display: flex;
  gap: 1rem;
  align-items: center;
}

.form-success {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.form-error {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.status-icon {
  font-size: 1.75rem;
  font-weight: 900;
}

.status-text h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: inherit;
}

.status-text p {
  font-size: 0.9rem;
  margin: 0;
}

/* Footer */
.site-footer {
  background-color: var(--bg-dark);
  color: #94a3b8;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-logo img {
  margin-bottom: 1.25rem;
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-grid h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.footer-grid ul {
  list-style: none;
}

.footer-grid ul li {
  margin-bottom: 0.6rem;
}

.footer-grid ul a {
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-grid ul a:hover {
  color: #ffffff;
}

.transparency-block p {
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
  color: #94a3b8;
}

.transparency-block strong {
  color: #e2e8f0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid #1e293b;
  font-size: 0.85rem;
}

.back-to-top {
  background-color: #1e293b;
  color: #ffffff;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.back-to-top:hover {
  background-color: var(--primary-light);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 1.25rem 0;
  z-index: 9999;
  border-top: 1px solid #334155;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.cookie-banner-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-text {
  font-size: 0.88rem;
  line-height: 1.6;
}

.cookie-text a {
  color: #60a5fa;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Legal Page Common Styles */
.legal-page-header {
  background-color: var(--bg-dark);
  color: #ffffff;
  padding: 4rem 0 3rem;
}

.legal-page-header h1 {
  color: #ffffff;
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.legal-meta {
  color: #94a3b8;
  font-size: 0.9rem;
}

.legal-content-section {
  padding: 4rem 0;
}

.legal-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 3.5rem;
  box-shadow: var(--shadow-sm);
  max-width: 900px;
  margin: 0 auto;
}

.legal-card h2 {
  font-size: 1.45rem;
  margin: 2.25rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #eff6ff;
  color: var(--primary);
}

.legal-card h2:first-of-type {
  margin-top: 0;
}

.legal-card h3 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.75rem;
}

.legal-card p {
  color: #334155;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.8;
}

.legal-card ul {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.legal-card li {
  color: #334155;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
  }
  .main-nav.active {
    display: block;
  }
  .nav-list {
    flex-direction: column;
    gap: 1rem;
  }
  .header-cta {
    display: none;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-card-box {
    padding: 2rem 1.5rem;
  }
  .cookie-banner-container {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  .legal-card {
    padding: 2rem 1.5rem;
  }
}
