:root {
  --sand: #f6f3ed;
  --slate: #54565b;
  --cocoa: #5f514e;
  --ink: #000;
  --font: "museo-sans", "Museo Sans", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-weight: 500;
}

.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 40px 0;
  min-height: 100vh;
}

.logo img {
  display: block;
  width: 140px;
  height: 180px;
}

/* Content band: full width sand background, text column max 1024px */
.notice {
  width: 100%;
  background: var(--sand);
  padding: 40px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.notice__title {
  margin: 0;
  color: var(--slate);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.3;
  text-align: center;
}

.notice__body {
  width: 100%;
  max-width: 1024px;
  font-size: 18px;
  line-height: 1.45;
}

.notice__body p { margin: 0 0 1.45em; }
.notice__body p:last-child { margin-bottom: 0; }

.notice__body a {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.notice__body a:hover { text-decoration: underline; }

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 256px;
  height: 48px;
  background: var(--cocoa);
  color: var(--sand);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s ease;
}
.cta:hover { background: #4a3f3c; }
.cta:focus-visible { outline: 2px solid var(--slate); outline-offset: 3px; }

.footer p {
  margin: 0;
  font-size: 14px;
  text-align: center;
}

.sm-only { display: none; }

/* Mobile, matches the 393px frame */
@media (max-width: 767px) {
  .page {
    gap: 20px;
    padding: 20px 0 10px;
  }

  .logo img {
    width: 93px;
    height: 120px;
  }

  .notice {
    padding: 20px 20px 40px;
    gap: 20px;
  }

  .notice__title {
    font-size: 24px;
    letter-spacing: 0.15em;
  }

  .notice__body { font-size: 16px; }

  /* long phone line can wrap on small screens */
  .notice__body a { white-space: normal; }

  .cta {
    width: 233px;
    font-size: 16px;
  }

  .sm-only { display: inline; }
}
