
:root {
  --color-bg: #fffaf5;
  --color-paper: #ffffff;
  --color-pink: #e9a6b6;
  --color-pink-light: #fff0f3;
  --color-brown: #795b52;
  --color-text: #51433f;
  --color-muted: #96847c;
  --color-border: #eadbd4;
  --color-accent: #b65e78;
  --content-width: 1000px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family:
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    Meiryo,
    sans-serif;
  line-height: 1.9;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  color: var(--color-brown);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.site-header {
  position: relative;
  overflow: hidden;
  padding: 42px 20px 35px;
  text-align: center;
  background:
    radial-gradient(
      circle at 15% 20%,
      #ffffff 0,
      transparent 24%
    ),
    radial-gradient(
      circle at 85% 80%,
      #fff0f3 0,
      transparent 30%
    ),
    linear-gradient(135deg, #f7dce2, #fceee5);
  border-bottom: 4px solid var(--color-pink);
}

.site-title {
  margin: 0;
  color: var(--color-brown);
  font-family: Georgia, "Yu Mincho", serif;
  font-size: clamp(28px, 5vw, 46px);
  font-weight: normal;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.site-title a {
  color: inherit;
  text-decoration: none;
}

.site-subtitle {
  margin: 12px 0 0;
  color: var(--color-muted);
  font-size: 13px;
  letter-spacing: 0.16em;
}

.site-nav {
  background: var(--color-paper);
  border-bottom: 1px solid var(--color-border);
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 15px 25px;
  color: var(--color-brown);
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.08em;
  transition: background 0.2s;
}

.site-nav a:hover {
  background: var(--color-pink-light);
  text-decoration: none;
}

.site-main {
  width: min(var(--content-width), calc(100% - 36px));
  margin: 42px auto 60px;
}

.hero {
  padding: 40px 24px;
  text-align: center;
  background: var(--color-paper);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: 0 5px 20px rgb(121 91 82 / 5%);
}

.hero-label {
  margin: 0 0 12px;
  color: var(--color-accent);
  font-family: Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h2 {
  margin: 0;
  color: var(--color-brown);
  font-size: clamp(24px, 4vw, 34px);
  font-weight: normal;
}

.hero p {
  max-width: 600px;
  margin: 18px auto 0;
}

.section {
  margin-top: 42px;
}

.section-heading {
  margin: 0 0 22px;
  padding-bottom: 10px;
  color: var(--color-brown);
  font-size: 22px;
  font-weight: normal;
  letter-spacing: 0.06em;
  border-bottom: 2px solid var(--color-pink);
}

.section-heading small {
  display: block;
  color: var(--color-muted);
  font-family: Georgia, serif;
  font-size: 11px;
  letter-spacing: 0.18em;
}

.panel {
  padding: 24px;
  background: var(--color-paper);
  border: 1px solid var(--color-border);
  border-radius: 6px;
}

.panel p:first-child {
  margin-top: 0;
}

.panel p:last-child {
  margin-bottom: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.link-card {
  display: block;
  padding: 22px;
  color: var(--color-text);
  background: var(--color-paper);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  transition:
    transform 0.2s,
    border-color 0.2s,
    background 0.2s;
}

.link-card:hover {
  color: var(--color-text);
  background: var(--color-pink-light);
  border-color: var(--color-pink);
  text-decoration: none;
  transform: translateY(-2px);
}

.link-card h3 {
  margin: 0 0 8px;
  color: var(--color-accent);
  font-size: 18px;
}

.link-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 13px;
}

.profile-list {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  margin: 0;
}

.profile-list dt,
.profile-list dd {
  margin: 0;
  padding: 13px 10px;
  border-bottom: 1px solid var(--color-border);
}

.profile-list dt {
  color: var(--color-brown);
  font-weight: bold;
}

.site-footer {
  padding: 28px 16px;
  color: var(--color-muted);
  background: #f7eee8;
  border-top: 1px solid var(--color-border);
  text-align: center;
  font-size: 12px;
}

.site-footer p {
  margin: 4px 0;
}

.back-to-top {
  display: inline-block;
  margin-top: 18px;
}

@media (max-width: 600px) {
  .site-header {
    padding: 30px 14px 26px;
  }

  .site-nav a {
    padding: 12px 14px;
    font-size: 13px;
  }

  .site-main {
    width: calc(100% - 24px);
    margin-top: 24px;
  }

  .hero {
    padding: 30px 18px;
  }

  .section {
    margin-top: 32px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .profile-list {
    grid-template-columns: 1fr;
  }

  .profile-list dt {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .profile-list dd {
    padding-top: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
