/* Probono Works — layout
   ヘッダー / ナビゲーション / ヒーロー / セクション / フッターの骨格。 */

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 251, 252, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--text-main);
  text-decoration: none;
}

.logo:hover {
  color: var(--accent-strong);
}

.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 4px 12px rgba(37, 99, 235, 0.18);
  flex-shrink: 0;
}

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

.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-sub);
  letter-spacing: 0.06em;
}

.nav a:hover {
  color: var(--accent-strong);
}

/* ヘッダーの X（旧Twitter）アイコンリンク */
.nav-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  color: var(--text-main);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-x svg {
  width: 15px;
  height: 15px;
  display: block;
  fill: currentColor;
}

.nav-x:hover,
.nav-x:focus-visible {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-strong);
  outline: none;
}

.nav-x-label {
  display: none;
}

/* ハンバーガーボタン（PCでは非表示） */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: var(--accent);
  background: var(--accent-soft);
  outline: none;
}

.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 120px;
  text-align: center;
  background: linear-gradient(135deg, #e8f0fe 0%, #dbe8fd 50%, #d6e6fb 100%);
  border-bottom: 1px solid var(--border);
}

.stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 18% 28%, rgba(37, 99, 235, 0.10), transparent 45%),
    radial-gradient(circle at 78% 18%, rgba(29, 155, 240, 0.10), transparent 50%),
    radial-gradient(circle at 50% 88%, rgba(37, 99, 235, 0.08), transparent 50%);
  opacity: 0.9;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(255, 255, 255, 0.25) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4em;
  color: var(--accent-strong);
  margin: 0 0 26px;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(30px, 6.4vw, 58px);
  line-height: 1.4;
  font-weight: 800;
  margin: 0 0 28px;
  letter-spacing: 0.04em;
  color: var(--text-main);
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 500;
  color: var(--text-sub);
  margin: 0 auto 30px;
  max-width: 720px;
  line-height: 1.8;
}

.hero-platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
  margin: 0 auto 38px;
  padding: 0;
  max-width: 640px;
}

.hero-platforms li {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1.5px solid rgba(37, 99, 235, 0.35);
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

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

/* ---------- section ---------- */

.section {
  padding: 100px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.section-alt {
  background: var(--bg-deep);
}

.section:last-of-type {
  border-bottom: none;
}

.section-title {
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 700;
  margin: 0 0 22px;
  letter-spacing: 0.06em;
  text-align: center;
  position: relative;
  padding-bottom: 22px;
  color: var(--text-main);
  line-height: 1.3;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.section-lead {
  text-align: center;
  color: var(--text-sub);
  font-size: 17px;
  font-weight: 500;
  margin: 0 auto 56px;
  max-width: 760px;
  line-height: 1.8;
}

/* ---------- footer ---------- */

.site-footer {
  padding: 56px 0 32px;
  background: var(--footer-bg);
  color: var(--footer-text);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.footer-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.06em;
  color: #ffffff;
  margin-bottom: 14px;
  text-decoration: none;
}

.footer-brand-logo:hover {
  color: #ffffff;
  opacity: 0.9;
}

.footer-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0;
}

.footer-tagline {
  font-size: 13px;
  color: var(--footer-mute);
  line-height: 1.85;
  margin: 0 0 18px;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--footer-text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

.footer-social svg {
  width: 14px;
  height: 14px;
  display: block;
  fill: currentColor;
  flex-shrink: 0;
}

.footer-social:hover,
.footer-social:focus-visible {
  border-color: #7db4ff;
  background: rgba(125, 180, 255, 0.10);
  color: #7db4ff;
  outline: none;
}

.footer-social-note {
  display: block;
  font-size: 12px;
  color: var(--footer-mute);
  line-height: 1.75;
  margin: 12px 0 0;
}

.footer-col h2 {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 14px;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 13px;
  color: var(--footer-text);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.footer-col ul li a:hover {
  color: #7db4ff;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--footer-mute);
  letter-spacing: 0.04em;
}

.footer-bottom small {
  font-size: inherit;
}
