:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #6b7280;
  --border: #e5e7eb;
  --accent: #0f172a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Noto Sans JP", "Hiragino Sans", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  letter-spacing: 0.01em;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand__avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  overflow: hidden;
  background: #eef1f5;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
}

.brand__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand__title {
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.anchor-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  font-size: 0.95rem;
}

.anchor-nav a {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid transparent;
}

.anchor-nav a:hover {
  border-color: var(--border);
  background: #f8fafc;
}

.container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 32px 56px;
}

.policy-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 32px 56px;
}

.policy-section {
  margin-top: 40px;
}

.policy-section h2 {
  margin: 0 0 10px;
  font-size: 1.28rem;
  letter-spacing: -0.01em;
}

.policy-section h3 {
  margin: 16px 0 8px;
  font-size: 1rem;
}

.policy-section p {
  margin: 10px 0;
}

.policy-section ul {
  margin: 8px 0 12px;
  padding-left: 18px;
}

.intro {
  padding: 54px 0 0px;
  margin-bottom: -20px;
}

.intro h1 {
  margin: 0;
  font-size: clamp(1.9rem, 3.6vw, 2.4rem);
  letter-spacing: -0.01em;
}

.section {
  margin-top: 48px;
}

.section__head h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

.section__head .muted {
  margin: 0;
}

.muted {
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
}

.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.card-link:hover {
  border-color: var(--border);
  background: #f8fafc;
}

.app-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
}

.app-card h3 {
  margin: 0;
  line-height: 1.4;
}

.app-card p {
  margin: 2px 0 0;
  line-height: 1.5;
}

.card__icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  overflow: hidden;
  background: #eef1f5;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
}

.card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
}

.link-strip {
  background: #e9ecf2;
  border-top: 1px solid var(--border);
  padding: 12px 0;
  margin-top: 40px;
}

.link-strip__inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.link-strip__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 600;
}

.link-strip__links a {
  color: var(--text);
}

.link-strip__links a:hover {
  text-decoration: underline;
}

.link-strip__brand {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #ffffff;
  padding: 18px 0;
  margin-top: 52px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.back-to-top {
  font-weight: 600;
}

@media (max-width: 640px) {
  .top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .anchor-nav {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .link-strip__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .anchor-nav {
    display: none;
  }
}
