:root {
  --cream: #fbf6e9;
  --green: #30473a;
  --yellow: #f2d56b;
  --terracotta: #b8664a;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--green);
  background: var(--cream);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, sans-serif;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 50%;
  width: min(100% - 32px, 880px);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  pointer-events: none;
}

.brand,
.header-date {
  pointer-events: auto;
  color: var(--green);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-shadow: 0 1px 8px rgba(251, 246, 233, .9);
}

.header-date {
  color: var(--terracotta);
  font-size: 13px;
  letter-spacing: .08em;
}

.header-date span { font-size: 11px; }

main {
  width: min(100%, 720px);
  margin: 0 auto;
  background: var(--cream);
  box-shadow: 0 0 50px rgba(48, 71, 58, .08);
}

.visual-section {
  position: relative;
  width: 100%;
  line-height: 0;
  background: var(--cream);
}

.visual-section img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-section { padding-top: 0; }

.site-footer {
  width: min(100%, 720px);
  margin: 0 auto;
  padding: 24px 16px;
  color: #8a947e;
  background: #243a30;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
}

.site-footer span {
  margin: 0 8px;
  color: var(--yellow);
}

@media (min-width: 721px) {
  body { padding: 28px 0; }
  .site-header { top: 28px; }
  main, .site-footer { border-radius: 4px; overflow: hidden; }
}

@media (max-width: 480px) {
  .site-header { width: calc(100% - 28px); padding-top: 14px; }
  .brand, .header-date { font-size: 10px; }
}

@media (prefers-reduced-motion: no-preference) {
  .visual-section img { animation: appear .7s ease both; }
  @keyframes appear {
    from { opacity: .4; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
