@font-face {
  font-family: "KaiseiDecol";
  src: url("/fonts/KaiseiDecol-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "KaiseiDecol";
  src: url("/fonts/KaiseiDecol-Medium.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ZenKakuGothicNew";
  src: url("/fonts/ZenKakuGothicNew-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ZenKakuGothicNew";
  src: url("/fonts/ZenKakuGothicNew-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color: #1f2937;
  background: #fff7ed;
  font-family: "ZenKakuGothicNew", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  line-height: 1.8;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  padding: 28px 16px 56px;
  background:
    radial-gradient(circle at top left, rgba(253, 230, 138, 0.9), transparent 34rem),
    linear-gradient(180deg, #fff0a8 0%, #fff7ed 42%, #fff7ed 100%);
}

main {
  width: min(820px, 100%);
  margin: 0 auto;
}

header, section {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #f3f4f6;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(31, 41, 55, 0.06);
}

header {
  position: relative;
  margin-bottom: 16px;
  padding: 28px 22px 24px;
  overflow: hidden;
}

header::after {
  position: absolute;
  right: 22px;
  bottom: -8px;
  content: "🎁";
  font-size: 56px;
  opacity: 0.18;
  transform: rotate(-8deg);
}

section {
  margin-top: 14px;
  padding: 20px;
}

h1, h2, .brand {
  font-family: "KaiseiDecol", serif;
  letter-spacing: 0;
}

h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 6vw, 40px);
  font-weight: 600;
  line-height: 1.3;
}

h2 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.55;
}

p, li {
  font-size: 15px;
}

p {
  margin: 0 0 10px;
}

ul {
  margin: 0;
  padding-left: 1.2em;
}

a {
  color: #d97706;
  font-weight: 700;
  text-decoration-color: rgba(217, 119, 6, 0.35);
  text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: #d97706;
  font-size: 16px;
  font-weight: 600;
}

.brand::before {
  content: "☕";
  font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}

.updated {
  color: #6b7280;
  font-size: 13px;
}

.mail {
  display: inline-block;
  margin: 6px 0 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fde68a;
  color: #92400e;
  text-decoration: none;
}

@media (max-width: 520px) {
  body {
    padding: 18px 12px 44px;
  }

  header {
    padding: 24px 18px 22px;
  }

  section {
    padding: 18px;
  }
}
