/* Global Styles — Urban Light Theme */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary-color: #111;
  --secondary-color: #0A3D78;
  --accent-color: #009B77;
  --text-color: #1a1a1a;
  --text-light: #6b7280;
  --border-color: #e5e7eb;
  --bg-white: #ffffff;
  --bg-off: #f9fafb;
  --bg-subtle: #f3f4f6;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);

  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.6;
  font-weight: 400;
}

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

html {
  scroll-behavior: smooth;
}

body {
  color: var(--text-color);
  background-color: var(--bg-white);
  font-size: 16px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--primary-color);
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  height: 40px;
}

.logo-img {
  height: 68px;
  width: auto;
  max-width: 340px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

.logo-text {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

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

.nav-menu a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--primary-color);
  margin: 4px 0;
  transition: 0.3s;
}

/* Language switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1rem;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.lang-switch a {
  color: var(--text-light);
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.lang-switch a:hover {
  color: var(--secondary-color);
  background: rgba(10, 61, 120, 0.06);
}

.lang-switch .sep {
  color: var(--border-color);
  margin: 0 0.15rem;
}

/* Hero Section */
.hero {
  margin-top: 49px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-white);
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(10, 61, 120, 0.07) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 155, 119, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
}

.hero-bg {
  position: absolute;
  top: 0;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(10, 61, 120, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

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

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  text-align: center;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  height: 300px;
  width: auto;
  max-width: 800px;
  object-fit: contain;
  margin: 0.3rem 0 1.5rem 0;
  animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  font-weight: 400;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  padding: 0.8rem 2.2rem;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--secondary-color);
  color: white;
  box-shadow: 0 4px 16px rgba(10, 61, 120, 0.25);
}

.btn-primary:hover {
  background: #083163;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 61, 120, 0.35);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--secondary-color);
  border: 1.5px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--accent-color);
  background: rgba(0, 155, 119, 0.04);
  color: var(--accent-color);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Section Styles */
section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-size: 2.5rem;
  letter-spacing: -0.03em;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
}

/* About Section */
.about {
  background: var(--bg-white);
}

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

.about-text h3 {
  margin-bottom: 0.5rem;
}

.about-text > p:nth-of-type(2) {
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 2rem;
}

.highlights {
  display: grid;
  gap: 2rem;
}

.highlight-item h4 {
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.highlight-item ul {
  list-style: none;
  padding: 0;
}

.highlight-item li {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.highlight-item li:before {
  content: "— ";
  color: var(--accent-color);
  font-weight: 700;
  margin-right: 0.5rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stat-card {
  padding: 2rem;
  background: var(--bg-white);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: rgba(0, 155, 119, 0.3);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

/* Services Section */
.services {
  background: var(--bg-off);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card {
  padding: 2rem;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: all 0.4s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(10, 61, 120, 0.2);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-size: 1.3rem;
}

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

/* Clients Section */
.clients {
  background: var(--bg-white);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.client-card {
  padding: 2rem;
  background: var(--bg-white);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.client-card:hover {
  transform: translateY(-4px);
  border-color: rgba(10, 61, 120, 0.2);
  box-shadow: var(--shadow-lg);
}

.client-card h4 {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.client-card .role {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.client-card p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.badge {
  display: inline-block;
  background: rgba(0, 155, 119, 0.08);
  color: var(--accent-color);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 0.5rem;
  margin-right: 0.4rem;
  letter-spacing: 0.02em;
}

/* Testimonials Section */
.testimonials {
  background: var(--bg-off);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  padding: 2rem;
  background: var(--bg-white);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  border-color: rgba(0, 155, 119, 0.3);
  box-shadow: var(--shadow-md);
}

.testimonial-stat {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.testimonial-card p {
  font-size: 0.95rem;
}

/* Thoughts Section */
.thoughts {
  background: var(--bg-off);
}

.thoughts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 320px));
  gap: 1.5rem;
  justify-content: start;
}

.thought-card {
  padding: 1.5rem;
  background: var(--bg-white);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--accent-color);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.thought-card:hover {
  transform: translateY(-4px);
  border-color: rgba(10, 61, 120, 0.2);
  border-left-color: var(--secondary-color);
  box-shadow: var(--shadow-md);
}

.thought-date {
  color: var(--text-light);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.thought-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.15rem;
  line-height: 1.5;
}

.thought-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.thought-link {
  display: inline-flex;
  align-items: center;
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.thought-link:hover {
  color: var(--accent-color);
  transform: translateX(4px);
}

/* Contact Section */
.contact {
  background: var(--bg-off);
}

.contact h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.contact form {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1.25rem;
}

.contact form label {
  display: grid;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--text-color);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.contact form input,
.contact form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--bg-white);
  color: var(--text-color);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact form input:focus,
.contact form textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(10, 61, 120, 0.1);
}

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

.contact form button {
  justify-self: start;
}

.thanks-title {
  font-size: 1.75rem;
}

.section-header.centered {
  text-align: center;
}

.contact-content {
  max-width: 600px;
  margin: 3rem auto;
  text-align: center;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.contact-item {
  padding: 2rem;
  background: var(--bg-white);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
}

.contact-item h4 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.contact-item a {
  font-size: 1.1rem;
  font-weight: 600;
}

/* Footer */
.footer {
  background: var(--primary-color);
  color: white;
  padding: 4rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  color: white;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

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

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem;
    list-style: none;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-color);
  }

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

  .menu-toggle {
    display: flex;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

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

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

  .btn {
    width: 100%;
  }

  section {
    padding: 60px 0;
  }

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

  .services-grid,
  .clients-grid,
  .testimonials-grid,
  .thoughts-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0.75rem 1rem;
  }

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

  h2 {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .stat-card {
    padding: 1rem;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }
}
