/* トップページ — 言いづらいを助けるサイト */
.home-page {
  --home-bg: #f5f3ef;
  --home-surface: #fffcfa;
  --home-text: #3d4543;
  --home-muted: #6f7a77;
  --home-accent: #6ba88a;
  --home-accent-soft: #e8f2ec;
  --home-blue-soft: #e8f0f8;
  --home-border: #e8e4df;
  --home-shadow: 0 10px 32px rgba(61, 69, 67, 0.06);
  --home-radius: 18px;
  background: linear-gradient(165deg, #eef6f2 0%, var(--home-bg) 38%, #f7f5f2 100%);
  color: var(--home-text);
}

.home-page .site-header {
  background: transparent;
  border-bottom: none;
}

.home-page .site-header .wrap {
  padding: 16px 15px 0;
}

.home-page .site-path__home {
  color: var(--home-text);
  font-weight: 600;
}

.home-main {
  width: min(100% - 20px, 640px);
  margin: 0 auto;
  padding: 8px 0 40px;
}

.home-hero {
  text-align: center;
  padding: 28px 20px 32px;
  margin-bottom: 24px;
  background: linear-gradient(145deg, var(--home-surface) 0%, var(--home-accent-soft) 100%);
  border: 1px solid var(--home-border);
  border-radius: var(--home-radius);
  box-shadow: var(--home-shadow);
}

.home-hero__eyebrow {
  margin: 0 0 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--home-accent);
}

.home-hero__title {
  margin: 0 0 16px;
  font-size: clamp(1.45rem, 5vw, 1.85rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.home-hero__lead {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--home-text);
}

.home-hero__sub {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--home-muted);
}

.home-reassurance {
  margin: 20px 0 0;
  padding: 14px 16px;
  background: var(--home-blue-soft);
  border-radius: 12px;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--home-text);
  text-align: left;
}

.home-reassurance strong {
  font-weight: 600;
  color: #4a6b8a;
}

.home-section {
  margin-bottom: 28px;
}

.home-section__title {
  margin: 0 0 6px;
  font-size: 1.125rem;
  font-weight: 600;
}

.home-section__desc {
  margin: 0 0 16px;
  font-size: 0.9375rem;
  color: var(--home-muted);
  line-height: 1.7;
}

.home-section__meta {
  margin: -8px 0 12px;
  font-size: 0.75rem;
  color: var(--home-muted);
}

.home-rank {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-rank__item {
  margin: 0;
}

.home-rank__link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  background: var(--home-surface);
  border: 1px solid var(--home-border);
  border-radius: 14px;
  text-decoration: none;
  color: var(--home-text);
  box-shadow: var(--home-shadow);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.home-rank__link:hover,
.home-rank__link:focus-visible {
  border-color: rgba(107, 168, 138, 0.45);
  background: var(--home-accent-soft);
  outline: none;
}

.home-rank__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  flex-shrink: 0;
  line-height: 1;
  font-weight: 700;
}

.home-rank__rank-num {
  font-size: 1rem;
}

.home-rank__rank-suffix {
  margin-top: 2px;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.home-rank__badge--1 {
  background: linear-gradient(145deg, #fff6cc 0%, #f0d050 100%);
  color: #7a6210;
  box-shadow: 0 2px 8px rgba(200, 160, 40, 0.22);
}

.home-rank__badge--2 {
  background: linear-gradient(145deg, #f8f9fa 0%, #c8ced4 100%);
  color: #5a6268;
  box-shadow: 0 2px 6px rgba(90, 98, 104, 0.12);
}

.home-rank__badge--3 {
  background: linear-gradient(145deg, #f8ebe0 0%, #d4a574 100%);
  color: #6b4423;
  box-shadow: 0 2px 6px rgba(180, 130, 90, 0.18);
}

.home-rank__badge--4,
.home-rank__badge--5 {
  background: var(--home-accent-soft);
  color: var(--home-muted);
  box-shadow: none;
}

.home-rank__body {
  min-width: 0;
}

.home-rank__name {
  display: block;
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.home-rank__hint {
  display: block;
  margin: 4px 0 0;
  font-size: 0.8125rem;
  color: var(--home-muted);
  line-height: 1.45;
}

.home-rank__chevron {
  flex-shrink: 0;
  width: 0;
  height: 0;
  margin-top: 2px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid var(--home-accent);
}

@media (max-width: 540px) {
  .home-rank__link {
    align-items: start;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .home-rank__chevron {
    margin-top: 10px;
  }
}

.home-values {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-values li {
  padding: 10px 0 10px 1.25rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--home-border);
  border-radius: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--home-text);
  position: relative;
}

.home-values li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.home-values li:first-child {
  padding-top: 0;
}

.home-values li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--home-accent);
  font-weight: 600;
}

.home-cat {
  margin-bottom: 20px;
}

.home-cat__title {
  margin: 0 0 10px;
  padding-bottom: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--home-muted);
  border-bottom: 1px solid var(--home-border);
}

.home-tools {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-tools li {
  margin: 0 0 8px;
}

.home-tools a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--home-border);
  background: var(--home-surface);
  color: #3d6b52;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.home-tools a:hover,
.home-tools a:focus-visible {
  background: var(--home-accent-soft);
  border-color: rgba(107, 168, 138, 0.4);
  outline: none;
}

.home-page .site-footer {
  border-top-color: var(--home-border);
  color: var(--home-muted);
}
