/* 賃貸AI研究所 — メインスタイル */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

:root {
  --navy: #1e2a4a;
  --navy-dark: #141d35;
  --accent: #e86c2c;
  --accent-dark: #c85820;
  --bg: #f5f6f9;
  --card: #ffffff;
  --fg: #1a1e2e;
  --fg2: #5a6278;
  --fg3: #8890a8;
  --border: #e2e5ef;
  --green: #1a7a4a;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--bg);
  color: var(--fg);
  font-size: 15px;
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ── Header ── */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.site-logo {
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  letter-spacing: .04em;
}
.site-logo span { color: var(--accent); }
.site-nav {
  display: flex;
  gap: 28px;
  list-style: none;
}
.site-nav a {
  color: rgba(255,255,255,.8);
  font-size: 13px;
  font-weight: 500;
  transition: color .15s;
}
.site-nav a:hover { color: #fff; }
.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 700 !important;
  transition: background .15s !important;
}
.nav-cta:hover { background: var(--accent-dark) !important; }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #2a3a6a 100%);
  color: #fff;
  padding-block: 80px 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  position: relative;
  max-width: 680px;
}
.hero-eyebrow {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  line-height: 1.3;
  text-wrap: balance;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,.75);
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  transition: background .15s, transform .1s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-secondary {
  background: rgba(255,255,255,.12);
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
  border: 1px solid rgba(255,255,255,.25);
  transition: background .15s;
}
.btn-secondary:hover { background: rgba(255,255,255,.2); }

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
  flex-wrap: wrap;
}
.hero-stat .num {
  font-size: 32px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1.1;
}
.hero-stat .label {
  font-size: 12px;
  color: rgba(255,255,255,.6);
  margin-top: 2px;
}

/* ── Section common ── */
.section { padding-block: 72px; }
.section-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 900;
  text-align: center;
  margin-bottom: 8px;
  text-wrap: balance;
}
.section-sub {
  text-align: center;
  color: var(--fg2);
  font-size: 14px;
  margin-bottom: 48px;
}

/* ── Pillar cards ── */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pillar-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
}
.pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 16px;
  font-size: 24px;
}
.pillar-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.pillar-card p { font-size: 13px; color: var(--fg2); line-height: 1.8; }

/* ── Before/After ── */
.ba-section { background: var(--navy); color: #fff; }
.ba-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}
.ba-col h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.ba-before h3 { color: var(--fg3); }
.ba-after h3 { color: var(--accent); }
.ba-item {
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ba-before .ba-item {
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.6);
}
.ba-after .ba-item {
  background: rgba(232,108,44,.15);
  border: 1px solid rgba(232,108,44,.3);
}
.ba-item .task { font-weight: 500; }
.ba-item .time { font-weight: 700; font-size: 16px; white-space: nowrap; }
.ba-before .time { color: var(--fg3); }
.ba-after .time { color: var(--accent); }
.ba-arrow {
  font-size: 32px;
  color: var(--accent);
  text-align: center;
  font-weight: 900;
}

/* ── Articles ── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.article-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow .15s, transform .15s;
}
.article-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  transform: translateY(-2px);
}
.article-thumb {
  height: 160px;
  background: linear-gradient(135deg, var(--navy) 0%, #2a3a6a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}
.article-body { padding: 18px; }
.article-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(232,108,44,.1);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.article-body h3 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-wrap: balance;
}
.article-body p {
  font-size: 12px;
  color: var(--fg2);
  margin-top: 6px;
}

/* Coming Soon カード */
.article-card.article-coming {
  opacity: .55;
  pointer-events: none;
}
.article-tag-soon {
  background: #f0f1f5 !important;
  color: var(--fg3) !important;
}

/* ── Author Section ── */
.author-section { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.author-card {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  max-width: 720px;
  margin-inline: auto;
}
.author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, #2a3a6a 100%);
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.author-name {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 4px;
}
.author-handle {
  font-size: 13px;
  font-weight: 400;
  color: var(--fg3);
  margin-left: 10px;
}
.author-title {
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
}
.author-bio {
  font-size: 14px;
  color: var(--fg2);
  line-height: 1.8;
  margin-bottom: 16px;
}
.author-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.author-badge {
  font-size: 12px;
  font-weight: 700;
  background: rgba(30,42,74,.06);
  color: var(--navy);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(30,42,74,.1);
}
@media (max-width: 600px) {
  .author-card { flex-direction: column; align-items: center; text-align: center; gap: 20px; }
  .author-badges { justify-content: center; }
}

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, #c85820 100%);
  color: #fff;
  text-align: center;
  padding-block: 80px;
}
.cta-section h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  margin-bottom: 12px;
  text-wrap: balance;
}
.cta-section p {
  font-size: 15px;
  color: rgba(255,255,255,.85);
  margin-bottom: 36px;
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: 36px;
}
.btn-white {
  background: #fff;
  color: var(--accent);
  padding: 16px 36px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform .1s, box-shadow .15s;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.cta-note {
  font-size: 12px;
  color: rgba(255,255,255,.65);
  margin-top: 14px;
}

/* ── Footer ── */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.6);
  padding-block: 40px 28px;
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.footer-logo {
  font-size: 18px;
  font-weight: 900;
  color: #fff;
}
.footer-logo span { color: var(--accent); }
.footer-desc {
  font-size: 12px;
  margin-top: 8px;
  max-width: 280px;
  line-height: 1.8;
}
.footer-links h4 {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.8);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  font-size: 13px;
  transition: color .12s;
}
.footer-links a:hover { color: #fff; }
.footer-copy {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  font-size: 12px;
  text-align: center;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .pillars { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .ba-grid { grid-template-columns: 1fr; }
  .ba-arrow { transform: rotate(90deg); text-align: center; }
  .site-nav { display: none; }
  .hero { padding-block: 56px 48px; }
  .hero-stats { gap: 20px; }
  .section { padding-block: 52px; }
}
