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

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333;
  line-height: 1.7;
  background: #fff;
}

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

/* ===== Layout ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a56db;
  letter-spacing: 0.05em;
}

.nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav a {
  font-size: 0.95rem;
  color: #555;
  transition: color 0.2s;
}

.nav a:hover, .nav a.active { color: #1a56db; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-primary {
  background: #1a56db;
  color: #fff;
}

.btn-primary:hover { background: #1648c0; }

.btn-outline {
  border: 2px solid #1a56db;
  color: #1a56db;
}

.btn-outline:hover { background: #1a56db; color: #fff; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #1a56db 0%, #0e3a9e 100%);
  color: #fff;
  padding: 100px 0;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero .btn-outline {
  border-color: #fff;
  color: #fff;
}

.hero .btn-outline:hover { background: #fff; color: #1a56db; }

/* ===== Section Title ===== */
.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  background: #1a56db;
  margin: 12px auto 0;
  border-radius: 2px;
}

/* ===== Cards ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.card {
  background: #f8faff;
  border: 1px solid #e4ecff;
  border-radius: 12px;
  padding: 36px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 8px 24px rgba(26, 86, 219, 0.12);
  transform: translateY(-4px);
}

.card-icon { font-size: 2.4rem; margin-bottom: 16px; }
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.card p { font-size: 0.92rem; color: #555; margin-bottom: 16px; }
.card-link { color: #1a56db; font-size: 0.9rem; font-weight: 600; }
.card-link:hover { text-decoration: underline; }

/* ===== Exampass Banner ===== */
.exampass-banner {
  background: #f0f4ff;
  border-top: 1px solid #dce8ff;
  border-bottom: 1px solid #dce8ff;
}

.banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.banner-text h2 { font-size: 2rem; font-weight: 800; color: #1a56db; margin-bottom: 6px; }
.banner-sub { font-size: 1rem; color: #555; margin-bottom: 16px; }
.banner-text p { margin-bottom: 24px; color: #444; }

.banner-badge {
  background: #1a56db;
  color: #fff;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  flex-shrink: 0;
}

/* ===== About Brief ===== */
.about-brief { text-align: center; }
.about-text { max-width: 680px; margin: 0 auto 32px; color: #555; font-size: 1rem; }

/* ===== Page Header ===== */
.page-header {
  background: linear-gradient(135deg, #1a56db 0%, #0e3a9e 100%);
  color: #fff;
  padding: 56px 0;
}

.page-header h1 { font-size: 2rem; font-weight: 700; }

/* ===== Page Content ===== */
.page-content h2 { font-size: 1.4rem; font-weight: 700; margin: 40px 0 16px; color: #1a56db; }
.page-content h3 { font-size: 1.1rem; font-weight: 700; margin: 28px 0 10px; }
.page-content p { margin-bottom: 16px; color: #444; }
.page-content table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.page-content th, .page-content td { padding: 12px 16px; border: 1px solid #e0e0e0; text-align: left; }
.page-content th { background: #f0f4ff; font-weight: 600; }
.page-content hr { border: none; border-top: 1px solid #e8e8e8; margin: 40px 0; }

/* ===== Services ===== */
.service-block { margin-bottom: 56px; }
.service-block h2 { font-size: 1.5rem; font-weight: 700; color: #1a56db; margin-bottom: 12px; }

/* ===== Contact Form ===== */
.contact-form { max-width: 640px; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.95rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: #1a56db;
}
.form-group textarea { min-height: 140px; resize: vertical; }

/* ===== Footer ===== */
.site-footer {
  background: #1a1a2e;
  color: #aaa;
  padding: 32px 0;
  text-align: center;
  font-size: 0.88rem;
}

.site-footer p { margin-bottom: 6px; }
.site-footer a { color: #7aa3f5; }
.site-footer a:hover { text-decoration: underline; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav ul { gap: 16px; }
  .hero { padding: 72px 0; }
  .section { padding: 48px 0; }
  .banner-badge { display: none; }
}

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