:root {
  --ink: #5a4635;
  --chalk: #fff4d2;
  --chalk-deep: #efd58f;
  --cream: #fffdf3;
  --wall: #fffdf0;
  --floor: #fff3a8;
  --card: rgba(255, 249, 232, 0.95);
  --line: rgba(222, 188, 117, 0.2);
  --panel-bg: #fff9e8;
  --panel-border: rgba(232, 201, 137, 0.82);
  --panel-rule: rgba(222, 188, 117, 0.18);
  --shadow: 0 18px 42px rgba(109, 84, 55, 0.12);

  --body-font: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  --chalk-font: "M PLUS Rounded 1c", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #fff6c8;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: var(--body-font);
  background:
    linear-gradient(90deg, rgba(103, 159, 135, 0.1) 1px, transparent 1px),
    linear-gradient(0deg, rgba(103, 159, 135, 0.1) 1px, transparent 1px),
    #fff6c8;
  background-size:
    24px 24px,
    24px 24px,
    auto;
  overflow-x: hidden;
}

html.js-loading,
html.js-loading body {
  overflow: hidden;
}

.loading-screen {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(222, 188, 117, 0.14) 1px, transparent 1px),
    linear-gradient(0deg, rgba(222, 188, 117, 0.14) 1px, transparent 1px),
    #fff7dd;
  background-size:
    auto,
    24px 24px,
    auto;
  opacity: 1;
  visibility: visible;
  overflow: hidden;
  transition:
    opacity 0.54s ease,
    visibility 0s linear 0s;
}

html.js-loading .loading-screen {
  display: grid;
}

html.js-loading.is-loaded .loading-screen {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.54s ease,
    visibility 0s linear 0.54s;
}

.loading-screen::before,
.loading-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.loading-screen::before {
  display: none;
}

.loading-screen::after {
  display: none;
}

.loading-content {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  padding: clamp(26px, 5vw, 44px) clamp(16px, 5vw, 34px);
  color: var(--ink);
  text-align: center;
  background: rgba(255, 249, 232, 0.94);
  border: 4px solid var(--panel-border);
  border-radius: 8px;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.72),
    0 24px 52px rgba(109, 84, 55, 0.14);
  transform-origin: 50% 70%;
  animation: loadingContentFloat 4.8s ease-in-out infinite;
}

.loading-title {
  display: grid;
  position: relative;
  justify-content: center;
  justify-items: center;
  gap: 10px;
  margin: 0;
  color: var(--ink);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.72),
    0 0 1px rgba(255, 255, 255, 0.7);
}

.loading-title,
.coming-soon-label,
.x-info-heading {
  font-family: var(--chalk-font);
}

.loading-title-ja {
  display: block;
  position: relative;
  z-index: 1;
  padding: 0 0.12em;
  font-size: clamp(31px, 4.4vw, 48px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.loading-title-en {
  display: inline-flex;
  position: relative;
  z-index: 1;
  align-items: baseline;
  justify-content: center;
  color: #d7834b;
  padding: 0 0.06em;
  font-family: var(--chalk-font);
  font-size: clamp(34px, 5.2vw, 58px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
  animation: loadingWordGlow 4.6s ease-in-out infinite;
}

@keyframes loadingContentFloat {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.96;
  }

  50% {
    transform: translateY(-6px);
    opacity: 1;
  }
}

@keyframes loadingWordGlow {
  0%,
  100% {
    filter: drop-shadow(0 12px 22px rgba(255, 232, 83, 0.26));
  }

  50% {
    filter: drop-shadow(0 18px 30px rgba(255, 232, 83, 0.48));
  }
}

.teaser {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(22px, 4vh, 36px) 0 48px;
  display: grid;
  align-content: start;
  gap: clamp(22px, 4vh, 38px);
}

.hero {
  width: 100%;
  display: grid;
  justify-items: center;
  gap: clamp(18px, 3vh, 28px);
  text-align: center;
}

.hero-image {
  width: min(100% - 40px, 760px);
  max-width: 760px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.42);
}

html.js-loading .hero-image,
html.js-loading .coming-soon-label,
html.js-loading .teaser-message-wrap,
html.js-loading .x-info-heading,
html.js-loading .x-post {
  opacity: 0;
  transform: translateY(14px) scale(0.992);
}

html.js-loading .coming-soon-label {
  animation: none;
}

html.is-ready .hero-image {
  animation: firstViewReveal 1.08s cubic-bezier(0.22, 0.78, 0.28, 1) both;
}

html.is-ready .coming-soon-label {
  animation:
    firstViewReveal 1.08s cubic-bezier(0.22, 0.78, 0.28, 1) 0.28s both,
    comingSoonFloat 6.4s ease-in-out 1.42s infinite;
}

html.is-ready .teaser-message-wrap {
  animation: firstViewReveal 1.05s cubic-bezier(0.22, 0.78, 0.28, 1) 0.58s both;
}

html.is-ready .x-info-heading {
  animation: firstViewReveal 1.05s cubic-bezier(0.22, 0.78, 0.28, 1) 0.82s both;
}

html.is-ready .x-post {
  animation: firstViewReveal 1.05s cubic-bezier(0.22, 0.78, 0.28, 1) 1.02s both;
}

.hero-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 7px;
  image-rendering: auto;
}

.coming-soon-label {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  min-width: min(100% - 40px, 460px);
  max-width: calc(100% - 40px);
  margin: 2px auto -8px;
  padding: 10px 22px 12px;
  color: var(--ink);
  font-family: var(--chalk-font);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0.03em;
  white-space: nowrap;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.84),
    0 0 1px rgba(255, 255, 255, 0.58);
  background: var(--panel-bg);
  border: 4px solid var(--panel-border);
  border-radius: 8px;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.78),
    0 10px 24px rgba(109, 84, 55, 0.08);
  transform-origin: 50% 70%;
  animation: comingSoonFloat 6.4s ease-in-out infinite;
  will-change: transform;
}

.coming-soon-text,
.coming-soon-dots span {
  display: inline-block;
}

.coming-soon-dots {
  display: inline-flex;
  margin-left: 0.04em;
}

.coming-soon-dots span {
  animation: comingSoonDot 2.4s ease-in-out infinite;
}

.coming-soon-dots span:nth-child(2) {
  animation-delay: 0.3s;
}

.coming-soon-dots span:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes comingSoonFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-0.12deg);
  }

  50% {
    transform: translateY(-3px) rotate(0.12deg);
  }
}

@keyframes firstViewReveal {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.992);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes comingSoonDot {
  0%,
  68%,
  100% {
    opacity: 0.42;
    transform: translateY(0) scale(0.98);
  }

  28%,
  44% {
    opacity: 1;
    transform: translateY(-0.08em) scale(1.04);
  }
}

.teaser-message-wrap {
  position: relative;
  width: min(100% - 32px, 920px);
  margin: 0 auto;
}

.teaser-side {
  display: block;
  position: absolute;
  z-index: 1;
  width: auto;
  max-width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.teaser-side-left {
  left: clamp(10px, 1.8vw, 18px);
  bottom: clamp(18px, 2.4vw, 28px);
  width: clamp(58px, 7vw, 77px);
}

.teaser-side-right {
  right: clamp(8px, 1.2vw, 12px);
  bottom: clamp(22px, 2.8vw, 34px);
  width: clamp(66px, 6.5vw, 88px);
}

.teaser-message {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0;
  padding:
    clamp(18px, 2.4vw, 24px)
    clamp(78px, 8vw, 96px);
  color: var(--ink);
  font-family: var(--chalk-font);
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7),
    0 0 1px rgba(255, 255, 255, 0.56);
  background:
    repeating-linear-gradient(0deg, transparent 0 36px, var(--panel-rule) 36px 37px),
    var(--panel-bg);
  border: 4px solid var(--panel-border);
  border-radius: 8px;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.78),
    0 18px 44px rgba(109, 84, 55, 0.12);
}

.teaser-message-copy {
  display: block;
  position: relative;
  z-index: 2;
}

.lead-line {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
}

.text-pop {
  display: inline;
  font-family: var(--chalk-font);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 0.14em;
  text-underline-offset: 0.18em;
  text-decoration-skip-ink: none;
}

.text-green {
  color: #c27042;
  text-decoration-color: rgba(242, 177, 92, 0.44);
}

.text-red {
  color: #cf7a7a;
  text-decoration-color: rgba(231, 145, 145, 0.4);
}

.text-yellow {
  color: #b48a2f;
  text-decoration-color: rgba(243, 205, 108, 0.44);
}

.text-finale {
  display: inline-block;
  max-width: 100%;
  color: #e25f4f;
  font-family: var(--chalk-font);
  font-size: clamp(20px, 2.4vw, 27px);
  font-weight: 600;
  line-height: 1.7;
  overflow-wrap: anywhere;
  white-space: nowrap;
  text-shadow: none;
}

.x-info-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100% - 32px, 640px);
  margin: 4px auto -4px;
  padding: 12px 18px;
  color: var(--ink);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 600;
  line-height: 1.42;
  text-align: center;
  background: var(--panel-bg);
  border: 3px solid var(--panel-border);
  border-radius: 8px;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.7),
    0 12px 28px rgba(109, 84, 55, 0.1);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7),
    0 0 1px rgba(255, 255, 255, 0.58);
}

.x-info-heading a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.8vw, 12px);
  max-width: 100%;
  min-height: 56px;
  color: inherit;
  text-decoration: none;
}

.x-info-heading span {
  display: block;
}

.x-info-heading a:hover span,
.x-info-heading a:focus-visible span {
  text-decoration: underline;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.18em;
}

.x-info-icon {
  display: block;
  flex: 0 0 auto;
  width: clamp(40px, 5vw, 56px);
  height: auto;
}

.x-post {
  width: min(100% - 32px, 640px);
  min-height: 180px;
  margin: 0 auto;
  padding: clamp(12px, 2vw, 20px);
  background: var(--card);
  border: 1px solid rgba(222, 188, 117, 0.22);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.twitter-timeline {
  margin: 0 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 560px !important;
  color: #1d8dd8;
  font-size: 15px;
  line-height: 1.72;
  overflow-wrap: anywhere;
}

.l-footer__copyright small {
  display: block;
}

.l-footer__copyright small + small {
  margin-top: 4px;
}

.x-post iframe,
.twitter-timeline-rendered {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

@media (max-width: 680px) {
  .loading-screen {
    padding: 18px 16px;
  }

  .loading-content {
    width: min(100% - 24px, 360px);
    padding: 24px 0 26px;
  }

  .loading-title {
    gap: 8px;
  }

  .loading-title-ja {
    font-size: clamp(25px, 7.3vw, 29px);
    letter-spacing: 0.04em;
  }

  .loading-title-en {
    font-size: clamp(29px, 8vw, 32px);
  }

  .teaser {
    gap: 22px;
    padding: 0 0 32px;
  }

  .hero-image {
    width: 100%;
    max-width: none;
    border: 0;
    border-radius: 0;
  }

  .hero-image img {
    border-radius: 0;
  }

  .teaser-message-wrap {
    width: min(100% - 24px, 560px);
  }

  .teaser-side-left {
    top: auto;
    bottom: 4px;
    left: 12px;
    width: clamp(30px, 10vw, 38px);
  }

  .teaser-side-right {
    top: auto;
    right: 12px;
    bottom: 4px;
    width: clamp(42px, 13vw, 50px);
  }

  .teaser-message {
    width: 100%;
    padding: 16px 16px 25px;
    font-size: clamp(15px, 4.2vw, 17px);
    line-height: 1.8;
  }

  .lead-line {
    white-space: normal;
  }

  .text-finale {
    white-space: normal;
  }

  .coming-soon-label {
    min-width: min(100% - 24px, 330px);
    max-width: calc(100% - 24px);
    margin: 0 auto -4px;
    padding: 8px 10px 9px;
    font-size: clamp(26px, 8.6vw, 34px);
  }

  .x-post {
    width: min(100% - 24px, 560px);
    min-height: 160px;
    padding: 12px;
  }

  .x-info-heading {
    width: min(100% - 24px, 560px);
    margin: 2px auto -4px;
    padding: 10px 12px;
    font-size: clamp(16px, 4.5vw, 19px);
    line-height: 1.42;
  }

  .x-info-heading a {
    gap: 8px;
    min-height: 54px;
  }

  .x-info-icon {
    width: clamp(34px, 11vw, 44px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .coming-soon-label,
  .coming-soon-dots span,
  .loading-screen,
  .loading-content,
  .loading-title-en {
    animation: none;
  }

  .loading-screen {
    transition: opacity 0.2s ease;
  }

  html.js-loading .hero-image,
  html.js-loading .coming-soon-label,
  html.js-loading .teaser-message-wrap,
  html.js-loading .x-info-heading,
  html.js-loading .x-post,
  html.is-ready .hero-image,
  html.is-ready .coming-soon-label,
  html.is-ready .teaser-message-wrap,
  html.is-ready .x-info-heading,
  html.is-ready .x-post {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
