/* ------------------------------ */
/* 変数・共通設定 */
/* ------------------------------ */
:root {
  /* カラー */
  --color-washi: #FCF6E8;
  --color-washi-deep: #F4EAD3;
  --color-sumi: #3B3A33;
  --color-sumi-light: #6E695C;
  --color-matcha: #7B9B6F;
  --color-matcha-deep: #56744B;
  --color-hasu: #DD97A2;
  --color-kin: #BE8C5E;
  --color-white: #fff;
  --color-line-green: #06C755;

  /* フォント */
  --font-mincho: 'Shippori Mincho', serif;
  --font-body: 'Noto Sans JP', sans-serif;
}

html {
  font-size: 62.5%;
}

body {
  font-family: var(--font-body);
  font-size: 1.5rem;
  line-height: 1.9;
  color: var(--color-sumi);
  background-color: var(--color-washi);
}

a svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ------------------------------ */
/* レイアウト土台 */
/* ------------------------------ */
.prep {
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 56px 24px 40px;
}

.prep__inner {
  width: 100%;
  max-width: 560px;
}

/* ------------------------------ */
/* ヘッダー（ロゴ・想い） */
/* ------------------------------ */
.prep__head {
  text-align: center;
}

.prep__logo {
  width: 100%;
  max-width: 236px;
  margin: 0 auto 20px;
}

.prep__logo img {
  width: 100%;
  height: auto;
}

.prep__eyebrow {
  color: var(--color-matcha-deep);
  font-family: var(--font-mincho);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

/* ------------------------------ */
/* リード */
/* ------------------------------ */
.prep__lead {
  margin-top: 36px;
  color: var(--color-sumi);
  font-family: var(--font-mincho);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.08em;
  text-align: center;
}

/* ------------------------------ */
/* オープン日（主役）・カウントダウン */
/* ------------------------------ */
.prep__count {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 32px;
  text-align: center;
}

.prep__count-badge {
  padding: 3px 20px;
  background-color: var(--color-matcha);
  border-radius: 999px;
  color: var(--color-white);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
}

.prep__count-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 16px;
}

.prep__count-day {
  color: var(--color-matcha-deep);
  font-family: var(--font-mincho);
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.prep__count-dow {
  margin-top: 12px;
  color: var(--color-sumi);
  font-family: var(--font-mincho);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
}

.prep__count-remain {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid color-mix(in srgb, var(--color-sumi) 16%, transparent);
  color: var(--color-sumi-light);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.prep__count-num {
  margin: 0 6px;
  color: var(--color-matcha-deep);
  font-family: var(--font-mincho);
  font-size: 2.8rem;
  font-weight: 700;
}

/* 開院当日・以降の表示 */
.prep__count.is-open .prep__count-badge {
  background-color: var(--color-hasu);
}

.prep__count.is-open .prep__count-remain {
  color: var(--color-hasu);
  font-family: var(--font-mincho);
  font-size: 1.9rem;
  font-weight: 700;
}

/* ------------------------------ */
/* アクセス */
/* ------------------------------ */
.prep__access {
  margin-top: 64px;
  text-align: center;
}

.prep__access-name {
  color: var(--color-matcha-deep);
  font-family: var(--font-mincho);
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.prep__access-address {
  margin-top: 8px;
  color: var(--color-sumi-light);
  font-size: 1.4rem;
  line-height: 1.9;
}

.prep__map {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--color-sumi) 12%, transparent);
  border-radius: 4px;
}

.prep__map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.85);
}

/* ------------------------------ */
/* SNS */
/* ------------------------------ */
.prep__sns {
  margin-top: 56px;
  text-align: center;
}

.prep__sns-note {
  color: var(--color-sumi-light);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
}

.prep__sns-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 340px;
  margin: 16px auto 0;
}

.prep__sns-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  color: var(--color-white);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: opacity 0.3s, transform 0.3s;
}

.prep__sns-link--line {
  background-color: var(--color-line-green);
}

.prep__sns-link--instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

@media (any-hover: hover) {
  .prep__sns-link:hover,
  .prep__sns-link:focus-visible {
    opacity: 0.88;
    transform: translateY(-2px);
  }
}

/* ------------------------------ */
/* フッター */
/* ------------------------------ */
.prep__footer {
  margin-top: 56px;
  text-align: center;
}

.prep__copyright {
  color: var(--color-sumi-light);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}

/* ------------------------------ */
/* レスポンシブ（768px〜） */
/* ------------------------------ */
@media (min-width: 768px) {
  .prep {
    padding: 80px 32px 56px;
  }

  .prep__logo {
    max-width: 280px;
  }

  .prep__eyebrow {
    font-size: 1.5rem;
  }

  .prep__lead {
    margin-top: 44px;
    font-size: 2.6rem;
  }

  .prep__count {
    margin-top: 40px;
  }

  .prep__count-day {
    font-size: 6rem;
  }

  .prep__count-dow {
    font-size: 1.8rem;
  }

  .prep__count-remain {
    font-size: 1.6rem;
  }

  .prep__count-num {
    font-size: 3.4rem;
  }

  .prep__count.is-open .prep__count-remain {
    font-size: 2.2rem;
  }

  .prep__access {
    margin-top: 88px;
  }
}

/* ------------------------------ */
/* モーション配慮 */
/* ------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .prep__sns-link {
    transition: none;
  }
}
