﻿:root {
  --cream: #FFF8EE;
  --apricot: #FDE6C8;
  --orange: #E07A12;
  --brown: #0A3F23;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--brown);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  font-size: 17px;
  line-height: 1.85;
  padding-bottom: 84px;
}
main { max-width: 560px; margin: 0 auto; }
h1, h2, h3, .headline { word-break: auto-phrase; text-wrap: balance; line-break: strict; }

.part { margin: 0; }
.frame { position: relative; }
.frame img { display: block; width: 100%; height: auto; }
.hit { position: absolute; display: block; border-radius: 999px; min-height: 44px; }
.hit:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.fv img { animation: rise .9s ease-out both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.notice, .note, .foot { padding: 20px 20px; }
.notice {
  margin: 8px 16px 24px;
  background: #fff;
  border: 1px solid var(--orange);
  border-radius: 18px;
}
.notice h2 {
  margin: 0 0 6px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 22px;
}
.notice p, .note p, .foot p { margin: 0 0 8px; }
.note { padding-top: 0; font-size: 16px; }
.small { font-size: 16px; }
.links { margin: 0; padding: 0; list-style: none; font-size: 16px; }
.links li { margin: 0 0 6px; }
.links a { display: inline-block; min-height: 44px; line-height: 44px; }
a { color: var(--orange); }

.foot {
  max-width: 560px;
  margin: 0 auto;
  border-top: 1px solid var(--orange);
  font-size: 16px;
}

.sticky {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: min(520px, calc(100% - 32px));
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(91, 58, 41, .25);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  z-index: 10;
}
.sticky.show { opacity: 1; pointer-events: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fv img { animation: none; }
  .sticky { transition: none; }
}
