/* RESAP PR (pr.resap.jp) 共通スタイル。
   resap.jp（src/app/page.tsx・src/app/globals.css）の余白感・配色に寄せたニュートラル基調。
   resap.jp とコードは共有しない、PRサイト専用のCSS。 */

:root {
  --color-bg: #ffffff;
  --color-fg: #171717;
  --color-muted: #525252; /* neutral-600 */
  --color-muted-2: #737373; /* neutral-500 */
  --color-border: #e5e5e5; /* neutral-200 */
  --color-surface: #fafafa; /* neutral-50 */
  --color-accent: #171717; /* neutral-900 */
  --color-accent-fg: #ffffff;
  --max-width: 1120px;
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--color-bg);
  color: var(--color-fg);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

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

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  background: var(--color-bg);
  z-index: 20;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 24px;
  flex-wrap: wrap;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
}

.site-logo__img {
  display: block;
  height: 20px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
}

.site-nav a {
  text-decoration: none;
  color: var(--color-fg);
  white-space: nowrap;
}

.site-nav a:hover {
  text-decoration: underline;
}

.site-header__cta {
  flex-shrink: 0;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-accent-fg);
}

.btn-primary:hover {
  background: #333333;
}

.btn-outline {
  background: transparent;
  color: var(--color-fg);
  border-color: var(--color-border);
}

.btn-outline:hover {
  background: var(--color-surface);
}

.btn-large {
  padding: 14px 28px;
  font-size: 15px;
}

/* ---------- Main / Sections ---------- */

main {
  display: block;
}

.section {
  padding: 64px 0;
}

.section + .section {
  border-top: 1px solid var(--color-border);
}

.section--surface {
  background: var(--color-surface);
}

.section-eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-muted-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.section-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 12px;
}

.section-lead {
  color: var(--color-muted);
  font-size: 15px;
  max-width: 640px;
  margin: 0 0 8px;
}

/* ---------- Hero (TOP) ---------- */

.hero {
  padding: 88px 0 64px;
  text-align: center;
}

.hero-title {
  font-size: 36px;
  line-height: 1.5;
  font-weight: 700;
  margin: 0 0 20px;
}

.hero-lead {
  color: var(--color-muted);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Cards / Grid ---------- */

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--color-bg);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
}

/* ---------- Page header (下層ページ共通の導入部) ---------- */

.page-header {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--color-border);
}

.page-header__eyebrow {
  font-size: 13px;
  color: var(--color-muted-2);
  margin: 0 0 8px;
}

.page-header__title {
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 12px;
}

.page-header__lead {
  color: var(--color-muted);
  max-width: 640px;
  margin: 0;
}

/* ---------- Placeholder notice ---------- */

.placeholder-notice {
  border: 1px dashed var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  color: var(--color-muted-2);
  font-size: 14px;
  text-align: center;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 48px 0 28px;
  font-size: 14px;
}

.site-footer__grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1.2fr 1fr 1fr;
  margin-bottom: 32px;
}

.site-footer__brand {
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 8px;
}

.site-footer__desc {
  color: var(--color-muted);
  max-width: 320px;
  margin: 0;
}

.site-footer__heading {
  font-size: 13px;
  color: var(--color-muted-2);
  margin: 0 0 12px;
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer__links a {
  text-decoration: none;
  color: var(--color-fg);
}

.site-footer__links a:hover {
  text-decoration: underline;
}

.site-footer__bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--color-muted-2);
  font-size: 12px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    order: 3;
    width: 100%;
    gap: 12px 16px;
  }

  .hero-title {
    font-size: 28px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}
