/* トップページスタイル */

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", "Arial", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root {
  --tp-bg-page: #faf3dc;
  --tp-bg-card: #ffffff;
  --tp-text-primary: #1a1918;
  --tp-text-secondary: #6d6c6a;
  --tp-text-tertiary: #9c9b99;
  --tp-accent: #8b6200;
  --tp-accent-dark: #6a4b00;
  --tp-border-subtle: #e5e4e1;
}

/* ---- ページ全体 ---- */

.tp-page {
  min-height: 100svh;
  background-color: var(--tp-bg-page);
  display: flex;
  flex-direction: column;
}

/* ---- ヒーローセクション ---- */

.tp-hero {
  background: var(--tp-hero-bg-image, none) center / cover no-repeat;
  padding-bottom: 48px;
}

.tp-hero-inner {
  max-width: 600px;
  margin-inline: auto;
  width: 100%;
  padding: 24px 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.tp-logo {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
}

.tp-hero-subtitle {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  letter-spacing: 0.04em;
}

/* ---- コンテンツエリア ---- */

.tp-content {
  max-width: 600px;
  margin-inline: auto;
  width: 100%;
  padding: 24px 16px 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ---- ナビゲーションカード ---- */

.tp-nav-card {
  background: var(--tp-bg-card);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tp-nav-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 20px;
  text-decoration: none;
  color: var(--tp-text-primary);
  transition: background-color 0.1s;
}

@media (any-hover: hover) {
  .tp-nav-link:hover {
    background-color: rgba(0, 0, 0, 0.02);
  }
}

.tp-nav-link:focus-visible {
  outline: 2px solid var(--tp-accent);
  outline-offset: -2px;
}

.tp-nav-icon-wrap {
  width: 44px;
  aspect-ratio: 1;
  border-radius: 12px;
  background-color: #fff3cc;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--tp-accent);
}

.tp-nav-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tp-nav-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--tp-text-primary);
}

.tp-nav-desc {
  font-size: 0.8125rem;
  color: var(--tp-text-secondary);
}

.tp-divider {
  border: none;
  border-top: 1px solid var(--tp-border-subtle);
  margin: 8px 0 0;
}

.tp-nav-arrow {
  flex-shrink: 0;
  color: var(--tp-text-tertiary);
}
