:root {
  --paper: #efe3cb;
  --paper-light: #fffaf1;
  --ink: #1f1c19;
  --muted: #746b5d;
  --line: rgba(31, 28, 25, 0.3);
  --gold: #b48735;
  --red: #a80212;
  --black: #0f0f0f;
  --font-mincho: "Hina Mincho", "Yu Mincho", serif;
  --font-serif: "Shippori Mincho", "Yu Mincho", serif;
  --font-roman: "Cormorant Garamond", serif;
  --font-gothic: "Zen Kaku Gothic New", system-ui, sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-gothic);
  letter-spacing: 0;
  background: var(--black);
}

button,
a {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  background: #0d0d0d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 750px);
  height: 58px;
  padding: 0 18px;
}

.site-logo {
  width: 86px;
  height: auto;
}

.login-button {
  min-width: 132px;
  height: 31px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
}

.page {
  position: relative;
  width: min(100%, 750px);
  margin: 0 auto;
  overflow: hidden;
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(255, 250, 241, 0.22), rgba(255, 250, 241, 0.22)),
    url("https://web.familyclub.jp/files/53/jwb/freepage/sixtones_letters/assets/images/common/bg__main-container@2x.webp");
  background-repeat: repeat-y;
  background-size: 100% auto;
  box-shadow: 0 0 48px rgba(0, 0, 0, 0.34);
}

.hero {
  position: relative;
  min-height: calc(100svh - 58px);
  padding: 78px 22px 60px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 34% 18%, rgba(255, 255, 255, 0.82), transparent 24%),
    radial-gradient(circle at 80% 75%, rgba(180, 135, 53, 0.22), transparent 30%);
  pointer-events: none;
  animation: lightDrift 9s ease-in-out infinite alternate;
}

.hero::after {
  position: absolute;
  inset: 12% 8%;
  content: "";
  border: 1px solid rgba(31, 28, 25, 0.1);
  opacity: 0;
  transform: scale(0.97);
  pointer-events: none;
  animation: frameIn 1.15s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards;
}

.time-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.time-slip {
  position: absolute;
  display: grid;
  place-items: center;
  width: 104px;
  height: 64px;
  color: rgba(31, 28, 25, 0.48);
  font-family: var(--font-roman);
  font-size: 26px;
  background: rgba(255, 250, 241, 0.76);
  border: 1px solid rgba(31, 28, 25, 0.18);
  box-shadow: 0 18px 34px rgba(70, 50, 25, 0.14);
  opacity: 0;
  filter: blur(10px);
  animation:
    timeIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards,
    timeFloat 6.2s ease-in-out 1.2s infinite alternate;
}

.s1 { top: 9%; left: -22px; transform: rotate(-12deg); --float-rotate: -12deg; }
.s2 { top: 8%; right: 22px; transform: rotate(8deg); --float-rotate: 8deg; animation-delay: 0.1s; }
.s3 { top: 34%; left: 9%; transform: rotate(5deg); --float-rotate: 5deg; animation-delay: 0.2s; }
.s4 { top: 38%; right: -24px; transform: rotate(-9deg); --float-rotate: -9deg; animation-delay: 0.3s; }
.s5 { bottom: 12%; left: 6%; transform: rotate(-5deg); --float-rotate: -5deg; animation-delay: 0.4s; }
.s6 { right: 12%; bottom: 11%; transform: rotate(11deg); --float-rotate: 11deg; animation-delay: 0.5s; }

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  padding-top: 103px;
  text-align: center;
}

.eyebrow,
.label,
.section-title p,
.ticket p {
  margin: 0 0 10px;
  color: var(--gold);
  font-family: var(--font-roman);
  font-size: 18px;
  letter-spacing: 0.08em;
}

h1 {
  display: grid;
  justify-items: center;
  margin: 0;
}

h1 span {
  font-family: var(--font-roman);
  font-size: clamp(68px, 17vw, 128px);
  font-weight: 700;
  line-height: 0.84;
  opacity: 0;
  transform: translateY(18px);
  animation: titleRise 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.24s forwards;
}

h1 strong {
  display: inline-flex;
  margin-top: 18px;
  padding: 10px 20px 13px;
  color: var(--paper-light);
  font-family: var(--font-mincho);
  font-size: clamp(40px, 10vw, 76px);
  font-weight: 400;
  line-height: 1;
  background: var(--ink);
  box-shadow: 8px 8px 0 rgba(180, 135, 53, 0.42);
  opacity: 0;
  transform: translateY(18px);
  animation: titleRise 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.42s forwards;
}

.hero-copy {
  max-width: 420px;
  margin: 30px 0 0;
  font-family: var(--font-mincho);
  font-size: 17px;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(14px);
  animation: titleRise 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.58s forwards;
}

.seal-link {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  margin-top: 36px;
  color: #fff;
  font-family: var(--font-roman);
  font-size: 18px;
  font-weight: 700;
  background-image: url("https://web.familyclub.jp/files/53/jwb/freepage/sixtones_letters/assets/images/common/bg__share-button@2x.webp");
  background-size: cover;
  border-radius: 50%;
  opacity: 0;
  transform: translateY(12px);
  animation: sealIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.72s forwards, sealBreathe 3.6s ease-in-out 1.7s infinite alternate;
}

.section-pad {
  position: relative;
  padding: 72px 24px;
}

.time-stream {
  position: relative;
  padding: 22px 0;
  overflow: hidden;
  background: var(--ink);
}

.stream-line {
  display: flex;
  width: 200%;
  color: var(--paper-light);
  font-family: var(--font-roman);
  font-size: clamp(28px, 7vw, 54px);
  white-space: nowrap;
  opacity: 0.9;
}

.stream-line span {
  padding-right: 28px;
  animation: streamMove 24s linear infinite;
}

.stream-line-b {
  margin-top: 10px;
  color: var(--gold);
  transform: translateX(-18%);
}

.stream-line-b span {
  animation-direction: reverse;
  animation-duration: 29s;
}

.concept-sheet,
.dial-shell,
.ticket {
  max-width: 620px;
  margin: 0 auto;
  background: rgba(255, 250, 241, 0.88);
  border: 1px solid rgba(31, 28, 25, 0.16);
  box-shadow: 0 18px 42px rgba(66, 48, 25, 0.14);
}

.concept-sheet {
  padding: 36px 32px;
}

.concept-sheet h2,
.section-title h2,
.ticket h2 {
  margin: 0;
  font-family: var(--font-mincho);
  font-size: clamp(33px, 8vw, 58px);
  font-weight: 400;
  line-height: 1.24;
}

.concept-sheet p:last-child {
  margin: 24px 0 0;
  font-family: var(--font-mincho);
  font-size: 15px;
  line-height: 2.15;
}

.section-title {
  margin: 0 auto 30px;
  text-align: center;
}

.dial-shell {
  position: relative;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 430px;
  overflow: hidden;
  --hand-angle: 28deg;
}

.dial-shell::before {
  position: absolute;
  inset: -40%;
  content: "";
  background: conic-gradient(from 90deg, transparent, rgba(180, 135, 53, 0.12), transparent 28%);
  opacity: 0.7;
  pointer-events: none;
  animation: slowSweep 12s linear infinite;
}

.dial-face {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 430px;
  border-right: 1px solid var(--line);
}

.dial-face::before {
  position: absolute;
  width: 190px;
  height: 190px;
  content: "";
  border: 1px solid rgba(31, 28, 25, 0.26);
  border-radius: 50%;
  animation: dialBreathe 3.8s ease-in-out infinite alternate;
}

.dial-face::after {
  position: absolute;
  width: 10px;
  height: 10px;
  content: "";
  background: var(--red);
  border-radius: 50%;
}

.hand {
  position: absolute;
  width: 2px;
  height: 84px;
  background: var(--ink);
  transform: translateY(-42px) rotate(var(--hand-angle));
  transform-origin: bottom center;
  transition: transform 0.62s cubic-bezier(0.16, 1, 0.3, 1);
}

.mark {
  position: absolute;
  color: var(--muted);
  font-family: var(--font-roman);
  font-size: 20px;
  animation: markPulse 3.6s ease-in-out infinite alternate;
}

.m1 { top: 102px; left: 124px; }
.m2 { top: 132px; right: 58px; }
.m3 { top: 205px; right: 36px; }
.m4 { right: 60px; bottom: 114px; }
.m5 { bottom: 82px; left: 124px; }
.m6 { bottom: 114px; left: 58px; }
.m7 { top: 205px; left: 34px; }
.m8 { top: 132px; left: 58px; }

.time-card {
  display: grid;
  align-content: center;
  min-height: 430px;
  padding: 38px 34px;
  position: relative;
  z-index: 1;
}

.time-card::before {
  position: absolute;
  inset: 24px;
  content: "";
  border: 1px solid rgba(31, 28, 25, 0.12);
  opacity: 0.75;
  pointer-events: none;
}

.time-code {
  margin: 0;
  color: var(--red);
  font-family: var(--font-roman);
  font-size: 20px;
  letter-spacing: 0.08em;
}

.time-card h3 {
  margin: 20px 0 0;
  font-family: var(--font-mincho);
  font-size: clamp(45px, 10vw, 76px);
  font-weight: 400;
  line-height: 1.05;
}

.blog-name {
  margin: 16px 0 0;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: clamp(22px, 5vw, 34px);
  line-height: 1.3;
}

.time-copy {
  max-width: 350px;
  margin: 26px 0 0;
  font-family: var(--font-mincho);
  font-size: 15px;
  line-height: 2;
}

.reading-note {
  display: block;
  margin-top: 28px;
  padding-top: 18px;
  font-size: 13px;
  font-weight: 700;
  border-top: 1px solid var(--line);
}

.time-card.is-changing {
  animation: timeChange 0.62s cubic-bezier(0.16, 1, 0.3, 1);
}

.time-card.is-changing .time-code,
.time-card.is-changing h3,
.time-card.is-changing .blog-name,
.time-card.is-changing .time-copy,
.time-card.is-changing .reading-note {
  animation: lineRise 0.58s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.time-card.is-changing h3 { animation-delay: 0.05s; }
.time-card.is-changing .blog-name { animation-delay: 0.1s; }
.time-card.is-changing .time-copy { animation-delay: 0.15s; }
.time-card.is-changing .reading-note { animation-delay: 0.2s; }

.time-buttons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
  margin: 18px auto 0;
}

.time-buttons button {
  min-height: 58px;
  padding: 10px 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  background: rgba(255, 250, 241, 0.72);
  border: 1px solid var(--line);
  transition: transform 0.24s ease, background 0.24s ease, color 0.24s ease;
}

.time-buttons button span {
  display: block;
  color: var(--red);
  font-family: var(--font-roman);
  font-size: 17px;
}

.time-buttons button:hover,
.time-buttons button.is-active {
  color: var(--paper-light);
  background: var(--ink);
  transform: translateY(-4px);
}

.route-grid {
  display: grid;
  gap: 14px;
  max-width: 620px;
  margin: 0 auto;
}

.route-grid article {
  padding: 24px;
  background: rgba(255, 250, 241, 0.72);
  border: 1px solid rgba(31, 28, 25, 0.16);
  transition: transform 0.28s ease, background 0.28s ease;
}

.route-grid article:hover {
  background: var(--paper-light);
  transform: translateX(8px);
}

.route-grid span {
  color: var(--gold);
  font-family: var(--font-roman);
  font-size: 18px;
}

.route-grid h3 {
  margin: 8px 0 0;
  font-family: var(--font-mincho);
  font-size: 35px;
  font-weight: 400;
}

.route-grid p {
  margin: 12px 0 0;
  font-family: var(--font-mincho);
  font-size: 14px;
  line-height: 1.9;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 620px;
  margin: 0 auto;
}

.archive-grid article {
  position: relative;
  min-height: 176px;
  padding: 22px;
  overflow: hidden;
  background: rgba(255, 250, 241, 0.78);
  border: 1px solid rgba(31, 28, 25, 0.16);
  box-shadow: 0 14px 28px rgba(66, 48, 25, 0.1);
  transition: transform 0.28s ease, background 0.28s ease;
}

.archive-grid article::after {
  position: absolute;
  right: -28px;
  bottom: -34px;
  width: 112px;
  height: 112px;
  content: "";
  border: 1px solid rgba(168, 2, 18, 0.18);
  border-radius: 50%;
}

.archive-grid article:hover {
  background: var(--paper-light);
  transform: translateY(-5px) rotate(-1deg);
}

.archive-grid span,
.blog-board span {
  color: var(--red);
  font-family: var(--font-roman);
  font-size: 19px;
  letter-spacing: 0.08em;
}

.archive-grid h3 {
  margin: 12px 0 0;
  font-family: var(--font-mincho);
  font-size: clamp(31px, 7vw, 50px);
  font-weight: 400;
  line-height: 1.08;
}

.archive-grid p {
  margin: 15px 0 0;
  font-family: var(--font-mincho);
  font-size: 14px;
  line-height: 1.8;
}

.blog-board {
  display: grid;
  gap: 16px;
  max-width: 620px;
  margin: 0 auto;
}

.blog-board a {
  position: relative;
  display: grid;
  min-height: 190px;
  padding: 28px;
  overflow: hidden;
  background: rgba(31, 28, 25, 0.94);
  color: var(--paper-light);
  box-shadow: 0 18px 34px rgba(31, 28, 25, 0.22);
  transition: transform 0.28s ease;
}

.blog-board a::before {
  position: absolute;
  inset: 18px;
  content: "";
  border: 1px solid rgba(255, 250, 241, 0.18);
}

.blog-board a::after {
  position: absolute;
  right: 24px;
  bottom: 18px;
  content: "View";
  color: var(--gold);
  font-family: var(--font-roman);
  font-size: 36px;
  opacity: 0.8;
}

.blog-board a:hover {
  transform: translateX(8px);
}

.blog-board h3 {
  margin: 16px 0 0;
  font-family: var(--font-mincho);
  font-size: clamp(36px, 8vw, 58px);
  font-weight: 400;
  line-height: 1.08;
}

.blog-board p {
  max-width: 380px;
  margin: 18px 0 0;
  font-family: var(--font-mincho);
  font-size: 14px;
  line-height: 1.9;
}

.ticket {
  padding: 36px 30px;
  text-align: center;
}

.blog-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.blog-links a {
  min-height: 46px;
  padding: 12px;
  font-weight: 700;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.38);
  transition: transform 0.22s ease, background 0.22s ease;
}

.blog-links a:hover {
  background: var(--paper-light);
  transform: translateY(-3px);
}

.footer {
  padding: 60px 24px 46px;
  text-align: center;
}

.footer a {
  display: inline-flex;
  justify-content: center;
  min-width: 150px;
  padding: 12px 18px;
  color: #fff;
  font-weight: 700;
  background: var(--ink);
  border-radius: 999px;
}

.footer p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@keyframes timeIn {
  to {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes timeFloat {
  to {
    transform: translate3d(0, -8px, 0) rotate(var(--float-rotate, 0deg));
  }
}

@keyframes streamMove {
  to {
    transform: translateX(-50%);
  }
}

@keyframes lightDrift {
  to {
    transform: translate3d(0, 18px, 0) scale(1.04);
  }
}

@keyframes frameIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes titleRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sealIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sealBreathe {
  to {
    transform: translateY(-5px) rotate(3deg);
  }
}

@keyframes slowSweep {
  to {
    transform: rotate(360deg);
  }
}

@keyframes dialBreathe {
  to {
    box-shadow: 0 0 0 18px rgba(180, 135, 53, 0.08);
  }
}

@keyframes markPulse {
  to {
    color: rgba(168, 2, 18, 0.62);
    transform: scale(1.08);
  }
}

@keyframes timeChange {
  0% {
    opacity: 0.5;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lineRise {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .dial-shell {
    grid-template-columns: 1fr;
  }

  .dial-face {
    min-height: 280px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .time-card {
    min-height: 360px;
    padding: 34px 30px;
  }

  .time-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-links {
    grid-template-columns: 1fr;
  }

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