/* ===== Innovatio CSS ===== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Noto+Serif+JP:wght@300;400&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --blue-50: #EBF4FD;
  --blue-100: #C5DFF8;
  --blue-300: #5DAAEC;
  --blue-500: #1A7DC4;
  --blue-700: #0D4F82;
  --blue-900: #062A45;
  --slate-50: #F7F9FB;
  --slate-100: #EEF2F7;
  --slate-300: #C4CDD9;
  --slate-500: #7A8898;
  --slate-700: #3D4D5C;
  --slate-900: #1A232D;
  --white: #FFFFFF;
  --accent: #2B9BD4;
  --accent-light: #E3F3FB;
  --text-main: #1A232D;
  --text-muted: #5A6A7A;
  --border: #DDE5EF;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

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

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

body {
  font-family: 'Noto Sans JP', 'DM Sans', sans-serif;
  color: var(--text-main);
  background: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* 本文中のリンクは、ホバー前でもリンクと分かるようにする */
main a:not(.btn),
section a:not(.btn) {
  color: var(--blue-700);
  text-decoration: underline;
  text-decoration-color: rgba(13, 79, 130, 0.4);
  text-underline-offset: 0.18em;
}
main a:not(.btn):hover,
section a:not(.btn):hover {
  color: var(--accent);
  text-decoration-color: currentColor;
}

/* ===== HEADER / NAV ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-en {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--blue-700);
  letter-spacing: 0.04em;
}
.logo-ja {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

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

nav a {
  font-size: 0.875rem;
  color: var(--slate-700);
  font-weight: 400;
  transition: color 0.2s;
  letter-spacing: 0.02em;
}
nav a:hover, nav a.active { color: var(--accent); }

.nav-cta {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent) !important;
  border: 1.5px solid var(--accent);
  border-radius: 99px;
  padding: 0.35rem 1.1rem;
  transition: background 0.2s, color 0.2s !important;
}
.nav-cta:hover { background: var(--accent); color: var(--white) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--slate-700); border-radius: 2px; transition: 0.3s; }

/* ===== FOOTER ===== */
footer {
  background: var(--blue-900);
  color: rgba(255,255,255,0.7);
  padding: 3rem 2rem 2rem;
  margin-top: 5rem;
}
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo-en { font-family: 'DM Sans', sans-serif; font-size: 1.1rem; font-weight: 500; color: white; margin-bottom: 0.3rem; }
.footer-logo-ja { font-size: 0.7rem; letter-spacing: 0.1em; }
.footer-desc { margin-top: 0.75rem; font-size: 0.8rem; line-height: 1.7; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-end; justify-content: center; }
.footer-links a { font-size: 0.82rem; color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-copy { max-width: 1080px; margin: 1.5rem auto 0; font-size: 0.75rem; text-align: center; }

/* ===== UTILITIES ===== */
.container { max-width: 1080px; margin: 0 auto; padding: 0 2rem; }
.content-narrow { max-width: 740px; }
.section { padding: 5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-alt { background: var(--slate-50); }

.label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.45rem;
  opacity: 0.78;
}

h1, h2, h3 { line-height: 1.4; }

.section-title {
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--blue-900);
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.9;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 99px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
}
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--blue-700); }
.btn-primary:focus-visible, .nav-cta:focus-visible {
  outline: 3px solid var(--blue-100);
  outline-offset: 3px;
}
.btn-outline { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn-outline:hover { background: var(--accent); color: white; }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 4px 24px rgba(26,125,196,0.1); transform: translateY(-2px); }

/* ===== HERO (index only) ===== */
.hero {
  padding: 6rem 0 5rem;
  background: linear-gradient(160deg, var(--blue-50) 0%, var(--white) 60%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,155,212,0.08) 0%, transparent 70%);
}
.hero-inner { max-width: 1080px; margin: 0 auto; padding: 0 2rem; }
.hero-label { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin-bottom: 1.25rem; }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  color: var(--blue-900);
  line-height: 1.35;
  margin-bottom: 1.5rem;
  max-width: 700px;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
}
.hero-body {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.95;
  margin-bottom: 2.5rem;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(160deg, var(--blue-50) 0%, var(--white) 60%);
  padding: 3.5rem 0 3rem;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: 1.9rem; font-weight: 500; color: var(--blue-900); margin-top: 0.5rem; }

/* ===== FORM ===== */
.form-group { margin-bottom: 1.25rem; }
label { display: block; font-size: 0.85rem; color: var(--slate-700); margin-bottom: 0.4rem; font-weight: 500; }
input[type=text], input[type=email], select, textarea {
  width: 100%;
  padding: 0.65rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-main);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
textarea { resize: vertical; min-height: 120px; }
.required { color: var(--accent); margin-left: 3px; }

/* ===== DIVIDER ===== */
.divider { height: 1px; background: var(--border); margin: 0; }

/* ===== BADGE ===== */
.badge {
  display: inline-block;
  font-size: 0.72rem;
  padding: 0.2rem 0.7rem;
  border-radius: 99px;
  background: var(--accent-light);
  color: var(--blue-700);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: white; flex-direction: column; padding: 1rem 2rem 1.5rem; border-bottom: 1px solid var(--border); gap: 1rem; align-items: flex-start; }
  nav.open { display: flex; }
  .hamburger { display: flex; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { align-items: flex-start; }
  .section { padding: 3.5rem 0; }
  .section-title { font-size: 1.5rem; }
}
