:root {
  --primary: #0068b7;
  --accent: #ff9e1b;
  --support: #e8f4ff;
  --ink: #111111;
  --body-text: #2f2f2f;
  --muted: #6b7280;
  --line: #e5e7eb;
  --surface: #ffffff;
  --soft-bg: #fafbff;
  --radius: 16px;
  --shadow-base: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.12);
  --font-jp: "Noto Sans JP", sans-serif;
  --font-latin: "Inter", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-jp);
  color: var(--body-text);
  line-height: 1.7;
  margin: 0;
  background-color: var(--surface);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-latin), var(--font-jp);
  letter-spacing: -0.01em;
  margin-top: 0;
  color: var(--ink);
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.25s ease-out;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 1000;
  height: 80px;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo img {
  height: 32px;
  display: block;
}

.nav-list {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.25s ease-out;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 104, 183, 0.3);
}

.btn-primary:hover {
  background-color: #005a9e;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 104, 183, 0.4);
}

.btn-secondary {
  background-color: #fff;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-secondary:hover {
  background-color: var(--support);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--support) 0%, #fff 100%);
  padding: 120px 0 100px;
  overflow: hidden;
  position: relative;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 48px;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 16px;
  color: var(--body-text);
  margin-bottom: 40px;
  white-space: pre-line;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.hero-note {
  font-size: 12px;
  color: var(--muted);
}

/* Hero Section - Balloon Update */
.hero.user-feedback-balloon {
  background: url('images/hero_balloon.jpg') no-repeat center/cover;
  /* Add overlay to ensure text readability */
  position: relative;
}

.hero.user-feedback-balloon::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255, 255, 255, 0.85); /* Light overlay */
  z-index: 0;
}

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

.hero-spacer {
  height: 400px;
}

/* Sections */
.section {
  padding: 100px 0;
}

.section-title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 60px;
}

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

/* Company - Table Style */
.company-table-container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-base);
  overflow: hidden;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 24px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: none;
}

.company-table th {
  width: 30%;
  font-weight: bold;
  color: var(--ink);
  background-color: #fff; /* Ensure simple white bg */
  white-space: nowrap;
}

.company-table td {
  color: var(--body-text);
}

/* Responsive Table */
@media (max-width: 768px) {
  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    padding: 12px 24px;
  }
  .company-table th {
    padding-bottom: 4px;
    color: var(--muted);
    font-size: 13px;
    border-bottom: none;
  }
  .company-table td {
    padding-top: 0;
    border-bottom: 1px solid var(--line);
  }
}


/* Services - Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.card {
  background: white;
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-base);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.card-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 8px;
  color: var(--primary);
}

.card-sub {
  font-size: 14px;
  font-weight: bold;
  color: var(--accent);
  margin-bottom: 16px;
}

.card-desc {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.card-link {
  font-weight: bold;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Philosophy - Rich */
.philosophy-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  padding: 60px;
  background:
    radial-gradient(circle at top right, rgba(232, 244, 255, 0.5), transparent),
    radial-gradient(
      circle at bottom left,
      rgba(255, 255, 255, 0.8),
      transparent
    );
  border-radius: 32px;
  box-shadow: 0 20px 40px rgba(0, 104, 183, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  text-align: center;
}

.philosophy-main {
  font-size: 28px;
  font-weight: bold;
  color: var(--ink);
  margin-bottom: 16px;
}

.philosophy-note {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 40px;
}

.mission-label {
  font-size: 18px;
  font-weight: bold;
  color: var(--primary);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.mission-text {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, #0099ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Contact Form */
.form-container {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-base);
}

/* Footer */
.footer {
  background: var(--soft-bg);
  padding: 60px 0 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

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

.footer-nav a {
  color: var(--body-text);
  font-weight: bold;
}

.copyright {
  margin-top: 20px;
  font-size: 12px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

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

  .nav-list {
    display: none; /* simple hide for desktop nav */
  }
}
