/* redirect.css — 移転案内ページ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --main-color: #AF8628;
  --black: #1d1d1d;
  --white: #f5f5f5;
  --font-base: "Noto Serif JP", "Yu Mincho", "YuMincho", serif;
  --font-sub: "Marcellus", serif;
}

html {
  font-size: 62.5%;
}

body {
  font-family: var(--font-base);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.05em;
  color: var(--white);
  background-color: var(--black);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.12'/%3E%3C/svg%3E");
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

a {
  text-decoration: none;
  color: var(--white);
}

/* ── レイアウト ── */
.container {
  width: 90%;
  max-width: 680px;
  margin-inline: auto;
  padding-block: 80px;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

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

/* ── NOTICE ラベル ── */
.label {
  font-family: var(--font-sub);
  font-size: 1.2rem;
  letter-spacing: 0.3em;
  color: var(--main-color);
  margin-bottom: 20px;
}

/* ── タイトル ── */
.title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.4;
  margin-bottom: 32px;
}

/* ── 区切り線 ── */
.divider {
  width: 40px;
  height: 1px;
  background-color: var(--main-color);
  margin-bottom: 32px;
}

/* ── メッセージ ── */
.message {
  font-size: 1.5rem;
  line-height: 2;
  color: rgba(245, 245, 245, 0.75);
  margin-bottom: 28px;
}

/* ── 新URL ── */
.new-url {
  font-family: var(--font-sub);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--main-color);
  letter-spacing: 0.12em;
  margin-bottom: 40px;
}

/* ── カウントダウン ── */
.countdown-wrapper {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 48px;
  color: rgba(245, 245, 245, 0.5);
  font-size: 1.4rem;
}

.countdown-num {
  font-family: var(--font-sub);
  font-size: 3.6rem;
  color: var(--white);
  line-height: 1;
  min-width: 2ch;
  text-align: center;
  transition: opacity 0.2s ease;
}

/* ── ボタン ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
}

.btn:hover .btn__circle::before {
  transform: scale(1);
  opacity: 1;
}

.btn:hover .btn__circle {
  color: var(--black);
}

.btn__text {
  font-size: 1.6rem;
  letter-spacing: 0.08em;
}

.btn__circle {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(245, 245, 245, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  overflow: hidden;
  flex-shrink: 0;
  transition: color 0.4s ease;
}

.btn__circle::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--white);
  transform: scale(0);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
}

.btn__arrow {
  width: 20px;
  height: 20px;
  position: relative;
  z-index: 1;
}

/* ── スマホ対応 ── */
@media (max-width: 768px) {
  html {
    font-size: 56.25%;
  }

  .container {
    padding-block: 60px;
  }
}
