@charset "UTF-8";

/* ----------------------------------------------------------------------------
   Variables
---------------------------------------------------------------------------- */
:root {
  /* Colors */
  --primary: #1a73e8; /* Google Blue style */
  --primary-dark: #1557b0;
  --primary-light: #e8f0fe;
  --accent: #f9ab00;
  --text-main: #202124;
  --text-sub: #5f6368;
  --bg-body: #ffffff;
  --bg-light: #f8f9fa;
  --border: #dadce0;
  --white: #ffffff;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;

  /* Typography */
  --font-base: 'Noto Sans JP', sans-serif;
  --font-heading: 'Noto Sans JP', sans-serif;

  /* UI */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-1: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
  --shadow-2: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 10px 20px rgba(0,0,0,0.12), 0 6px 6px rgba(0,0,0,0.15);
  --container-width: 1200px;
}

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

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

body {
  font-family: var(--font-base);
  color: var(--text-main);
  background-color: var(--bg-body);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

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

ul {
  list-style: none;
}

/* ----------------------------------------------------------------------------
   Typography
---------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: var(--spacing-sm);
  text-align: center;
  color: var(--text-main);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-sub);
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--spacing-lg);
}

/* ----------------------------------------------------------------------------
   Layout Utilities
---------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.hidden { display: none; }

/* ----------------------------------------------------------------------------
   Components
---------------------------------------------------------------------------- */
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 6px 16px rgba(26, 115, 232, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary-light);
  border-color: var(--primary);
}

/* ----------------------------------------------------------------------------
   Header
---------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-1);
  border-bottom-color: var(--border);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-sub);
}

.nav-link:hover {
  color: var(--primary);
}

/* Mobile Menu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-main);
}

/* ----------------------------------------------------------------------------
   Hero Section
---------------------------------------------------------------------------- */
.hero-section {
  padding: 180px 0 100px;
  background: linear-gradient(to bottom, var(--bg-light), var(--white));
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.hero-highlight {
  color: var(--primary);
  position: relative;
  white-space: nowrap;
}

.hero-highlight::after {
  content: '';
  position: absolute;
  bottom: 0.1em;
  left: 0;
  width: 100%;
  height: 0.2em;
  background-color: rgba(26, 115, 232, 0.15);
  z-index: -1;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-sub);
  margin-bottom: 2.5rem;
  max-width: 540px;
}

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

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  transform: perspective(1000px) rotateY(-2deg);
  transition: transform 0.5s ease;
}

.hero-image-wrapper:hover {
  transform: perspective(1000px) rotateY(0);
}

.hero-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ----------------------------------------------------------------------------
   Features Section
---------------------------------------------------------------------------- */
.features-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: var(--radius-md);
  background-color: var(--white);
  border: 1px solid var(--bg-light);
  transition: all 0.3s ease;
}

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

.feature-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.feature-title {
  font-size: 1.5rem;
}

.feature-desc {
  color: var(--text-sub);
}

/* ----------------------------------------------------------------------------
   Flow Section
---------------------------------------------------------------------------- */
.flow-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--bg-light);
}

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

/* Connecting Line (Desktop) */
.flow-steps::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 10%;
  right: 10%;
  height: 2px;
  background-color: var(--border);
  z-index: 0;
}

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

.step-number {
  width: 48px;
  height: 48px;
  background-color: var(--white);
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-1);
}

.step-content {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-1);
  height: 100%;
}

.step-title {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.step-desc {
  font-size: 0.875rem;
  color: var(--text-sub);
}

/* ----------------------------------------------------------------------------
   CTA Section
---------------------------------------------------------------------------- */
.cta-section {
  padding: var(--spacing-xl) 0;
  background: var(--white);
}

.cta-inner {
  background: url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?auto=format&fit=crop&q=80&w=1600') no-repeat center/cover;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  padding: 6rem 2rem;
  text-align: center;
  color: var(--white);
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8));
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  color: var(--white);
}

.cta-desc {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.security-note {
  margin-top: 2rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* ----------------------------------------------------------------------------
   Footer
---------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  font-size: 0.875rem;
  color: var(--text-sub);
}

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

.footer-col h4 {
  color: var(--text-main);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ----------------------------------------------------------------------------
   Responsive
---------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-text {
    order: 2;
  }
  
  .hero-image-wrapper {
    order: 1;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .hero-actions {
    justify-content: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

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

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

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: block;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .flow-steps {
    grid-template-columns: 1fr;
  }
}

