/* ============================================================
   HARE 株式会社 — オウンドメディア トップページ
   Design tokens & base
============================================================ */
:root {
  /* Brand */
  --blue:        #1d93dc;
  --blue-600:    #1781c6;
  --blue-700:    #0f6ba8;
  --blue-ink:    #14679f;
  --yellow:      #ffe100;
  --yellow-soft: #ffec66;

  /* Surfaces */
  --sky:         #e7f3fc;   /* hero / popular bg */
  --sky-2:       #f3f9fe;   /* faint tint */
  --sky-card:    #e4f1fb;   /* "私たちのこと" card */
  --white:       #ffffff;

  /* Text */
  --ink:         #21303d;
  --ink-soft:    #51616e;
  --muted:       #8a98a4;

  /* Lines */
  --border:      #e4e9ee;
  --border-2:    #d9e6f0;

  /* Layout */
  --maxw:        1280px;
  --radius:      14px;
  --radius-lg:   22px;
  --pad:         clamp(20px, 5vw, 56px);

  --shadow-card: 0 2px 4px rgba(33,48,61,.04);
  --shadow-hover: 0 16px 34px -14px rgba(29,147,220,.34);

  --font: "Noto Sans JP", system-ui, sans-serif;
  --font-round: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

/* ---- Placeholder (仮枠) ---- */
.ph {
  position: relative;
  background-color: #dcebf7;
  background-image: repeating-linear-gradient(
    45deg, rgba(29,147,220,.10) 0 8px, rgba(29,147,220,0) 8px 16px);
  border: 1px dashed rgba(23,129,198,.45);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--blue-700);
}
.ph::after {
  content: attr(data-label);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 11px;
  letter-spacing: .04em;
  text-align: center;
  padding: 4px 8px;
  opacity: .8;
}
.ph--round { border-radius: 50%; }

/* ---- Category tag ---- */
.tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 500;
  color: var(--blue-600);
  border: 1px solid var(--blue);
  border-radius: 4px;
  padding: 3px 9px;
  line-height: 1;
  white-space: nowrap;
}
.date { font-size: 12px; color: var(--muted); letter-spacing: .03em; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-weight: 700;
  border-radius: 999px;
  border: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn .arr { transition: transform .25s ease; }
.btn:hover .arr { transform: translateX(5px); }

.btn--primary {
  background: var(--blue);
  color: #fff;
  padding: 17px 34px;
  font-size: 15px;
  box-shadow: 0 10px 22px -10px rgba(29,147,220,.7);
}
.btn--primary:hover { background: var(--blue-600); transform: translateY(-2px); box-shadow: 0 16px 28px -10px rgba(29,147,220,.75); }

.btn--ghost {
  background: #fff;
  color: var(--blue-600);
  border: 1.5px solid var(--blue);
  padding: 13px 26px;
  font-size: 14px;
}
.btn--ghost:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }

.btn--block { width: 100%; }

/* ---- Section heading ---- */
.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}
.sec-title {
  font-size: clamp(22px, 2.6vw, 27px);
  font-weight: 700;
  letter-spacing: .02em;
}
.link-all {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color .2s, gap .2s;
}
.link-all:hover { color: var(--blue); gap: 14px; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

section { scroll-margin-top: 90px; }
