:root {
  --bg: #f5fbff;
  --panel: #ffffff;
  --text: #0b1020;
  --muted: #475569; /* slate-600 */
  --primary: #0ea5e9; /* sky-500 */
  --accent: #0284c7;  /* sky-600 */
  --ring: #38bdf8;
  --shadow: 0 10px 30px rgba(2, 6, 23, .08);
  --radius: 14px;
  --container: 1080px;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--text);
  /* 穏やかな背景グラデーションに調整 */
  background:
    radial-gradient(1200px 900px at 80% -10%, rgba(224,242,254,0.7), transparent 70%),
    radial-gradient(1000px 800px at -10% 40%, rgba(207,241,255,0.6), transparent 75%),
    linear-gradient(180deg, #f8fdff 0%, #f5fbff 60%, #eef7ff 100%);
  line-height: 1.7;
  letter-spacing: .02em;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.shadow { box-shadow: var(--shadow); }
.panel { background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.9)); border: 1px solid #e5eaf1; border-radius: var(--radius); backdrop-filter: blur(8px); }

/* Skip link */
.skip { position: absolute; left: -9999px; top: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #111827; color: white; padding: 8px 12px; border-radius: 8px; z-index: 50; }

/* Header */
header { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(8px); background: rgba(255,255,255,.85); border-bottom: 1px solid #e5eaf1; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: .04em; }
.brand-badge { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), #0284c7); color: white; font-weight: 800; }
.brand small { color: var(--muted); font-weight: 600; display: block; font-size: 12px; margin-top: -4px; }

nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; }
nav a { color: var(--text); font-weight: 600; opacity: .9; }
nav a:hover { opacity: 1; color: var(--accent); }

.menu-btn { display: none; background: transparent; border: 1px solid rgba(255,255,255,.2); color: var(--text); padding: 8px 12px; border-radius: 10px; }

/* Hero */
.hero { padding: 64px 0 32px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 700; letter-spacing: .18em; font-size: 12px; text-transform: uppercase; }
.hero h1 { margin: 10px 0 12px; font-size: clamp(28px, 4vw, 44px); line-height: 1.2; }
.hero p { color: var(--muted); margin: 0 0 20px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 12px; font-weight: 700; border: 1px solid #e5e7eb; background: #ffffff; color: var(--text); transition: transform .06s ease, background .2s ease; }
.btn:hover { transform: translateY(-1px); text-decoration: none; background: #f8fafc; }
.btn-primary { background: linear-gradient(180deg, #38bdf8, #0ea5e9); color: #fff; border-color: transparent; }

.hero-card { aspect-ratio: 4/3; border-radius: 16px; overflow: hidden; position: relative; }
.hero-card::before { content: ""; position: absolute; inset: 0; background: url('/img/ogp.jpg') center/cover no-repeat; }
/* オーバーレイ削除（白い霞みをなくす） */
.hero-card::after { content: ""; position: absolute; inset: 0; background: none; }

/* Sections */
section { padding: 42px 0; }
section h2 { font-size: clamp(22px, 3vw, 30px); margin: 0 0 14px; }
section p.lead { color: var(--muted); margin: 0 0 20px; }

/* Cards */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(12, 1fr); }
.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-12 { grid-column: span 12; }
.card { padding: 18px; border-radius: 14px; background: #ffffff; border: 1px solid #e5eaf1; box-shadow: var(--shadow); }
.badge {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid transparent; /* 目立たないよう透過 */
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: linear-gradient(180deg, #38bdf8, #0ea5e9);
  color: #ffffff; /* 白抜き */
  box-shadow: 0 1px 2px rgba(2,6,23,.08);
}

/* Form */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field.checkbox { display: block; }
label { font-weight: 700; color: #0f172a; }
.req { color: #ef4444; font-size: 12px; margin-left: 6px; font-weight: 700; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  appearance: none; -webkit-appearance: none; width: 100%;
  border: 1px solid #dbe4ee; border-radius: 10px;
  padding: 10px 12px; font-size: 16px; background: #fff; color: var(--text);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ring); box-shadow: 0 0 0 3px rgba(56,189,248,.25); }
.actions { margin-top: 8px; }
.status { color: #0f766e; }
.error { color: #dc2626; }

/* 同意リンクの不自然な改行対策（「詳細」を1文字で折り返さない） */
.field.checkbox label a { white-space: nowrap; display: inline-block; }

/* Footer */
footer { padding: 28px 0 46px; color: var(--muted); border-top: 1px solid #e5eaf1; margin-top: 30px; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  nav ul { display: none; }
  .menu-btn { display: inline-flex; }
  nav[aria-expanded="true"] ul { 
    display: flex; position: absolute; right: 16px; top: 56px; flex-direction: column; 
    background: #ffffff; border: 1px solid #e5eaf1; padding: 10px; border-radius: 10px; 
    box-shadow: var(--shadow);
  }
  .col-4 { grid-column: span 12; }
  .col-6 { grid-column: span 12; }
}
