/*
  RIKUYA LTD - Minimal Corporate Site Styles
  - Mobile-first, responsive layout
  - Clean typography and accessible contrast
*/

:root {
  --brand: #0f62fe;
  --brand-600: #0353e9;
  --text: #0b0b0f;
  --muted: #5f6368;
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --border: #e5e7eb;
  --success: #12b981;
  --danger: #ef4444;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, 'Helvetica Neue', Arial, 'Apple Color Emoji',
    'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Header */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}

.brand-logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), #7c3aed);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  color: var(--text);
  font-weight: 500;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

/* Hero */
.hero {
  padding: 56px 0 32px;
}

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

.hero h1 {
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.2;
  margin: 0 0 12px;
}

.hero p.lead {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 20px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.08s ease, background 0.2s ease, border 0.2s ease,
    box-shadow 0.2s ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover { background: var(--brand-600); text-decoration: none; }

.btn-secondary {
  background: #fff;
  border-color: var(--border);
  color: var(--text);
}
.btn-secondary:hover { background: var(--bg-alt); text-decoration: none; }

/* Sections */
section { padding: 28px 0; }
section.headless { padding-top: 0; }

.section-title {
  font-size: 22px;
  margin: 0 0 8px;
}

.muted { color: var(--muted); }

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  background: #fff;
}

.card h3 { margin: 0 0 6px; }
.card p { margin: 0; color: var(--muted); }

/* Footer */
footer.site-footer {
  margin-top: 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 20px 0;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Forms */
form .field { display: grid; gap: 6px; margin-bottom: 12px; }
label { font-weight: 600; }
input, textarea {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
}
textarea { min-height: 120px; resize: vertical; }

.notice {
  background: #f0f9ff;
  border: 1px solid #dbeafe;
  color: #0c4a6e;
  border-radius: 12px;
  padding: 12px;
}

/* Responsive */
@media (min-width: 760px) {
  .hero { padding: 72px 0 40px; }
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; }
  .grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr auto; align-items: center; }
}

/* Mobile Nav */
@media (max-width: 759px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 12px 16px; flex-direction: column; }
  .nav.open .nav-links { display: flex; }
}


