/* CIM Stylish Theme 2026 
  Concept: Clarity, Trust, and Professional Innovation
*/

:root {
  /* Color Palette */
  --primary: #0f172a;       /* 深みのあるミッドナイトネイビー */
  --accent: #2563eb;        /* 知的なエレクトリックブルー */
  --accent-light: #60a5fa;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --bg-main: #ffffff;
  --bg-sub: #f8fafc;
  
  /* Glassmorphism & Effects */
  --glass: rgba(255, 255, 255, 0.85);
  --line: rgba(226, 232, 240, 0.8);
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.03);
  --shadow-elevated: 0 20px 40px rgba(15, 23, 42, 0.08);
  
  /* Layout */
  --radius: 12px;           /* 少しシャープな角丸 */
  --max-width: 1100px;
  --font-family: 'Inter', "Noto Sans JP", system-ui, sans-serif;
}

/* Base Reset */
* { box-sizing: border-box; }
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.8;
  word-break: break-word;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: 0.3s; }
a:hover { color: var(--accent); }

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

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.brand__logo {
  height: 42px;
  width: auto;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
}

.nav a[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
  background: var(--accent);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: none;
}

/* Hero Section */
.hero {
  padding: 100px 0 80px;
  background: 
    radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(96, 165, 250, 0.05) 0%, transparent 50%);
  position: relative;
  overflow: hidden;
}

h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.2;
  margin-bottom: 24px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
}

.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 700px;
  margin-bottom: 40px;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent);
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Cards & Grid */
.section { padding: 100px 0; }
.section--alt { background-color: var(--bg-sub); }

.grid {
  display: grid;
  gap: 32px;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-subtle);
  transition: all 0.4s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-elevated);
  border-color: var(--accent-light);
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: var(--primary);
}

/* Lists & Bullets */
.bullets {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.bullets li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.bullets li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* Footer */
.footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 40px;
}

.footer .brand__name { color: #fff; }
.footer__links a:hover { color: #fff; text-decoration: underline; }

.footer__copyright {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
}

/* Utilities & Responsive */
.muted { color: var(--text-muted); font-size: 0.9rem; }

@media (max-width: 850px) {
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .header__inner { height: auto; padding: 16px 0; flex-direction: column; gap: 16px; }
  .nav { gap: 16px; }
  .hero { text-align: center; padding: 60px 0; }
  .lead { margin: 0 auto 40px; }
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--accent);
  color: white;
  padding: 8px;
  z-index: 1000;
}
.skip-link:focus { top: 0; }