
:root {
    --bg: #f7f7f5;
    --bg-accent: #ece9e3;
    --text: #111111;
    --muted: #5f5f5f;
    --line: rgba(17, 17, 17, 0.10);
    --panel: rgba(255, 255, 255, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --btn-bg: #111111;
    --btn-text: #ffffff;
    --btn-hover: #2a2a2a;
    --max-width: 1280px;
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family:
      "Helvetica Neue",
      "Hiragino Sans",
      "Hiragino Kaku Gothic ProN",
      "Yu Gothic",
      Meiryo,
      sans-serif;
    background:
      radial-gradient(circle at top left, #ffffff 0%, var(--bg) 34%, var(--bg-accent) 100%);
    overflow: hidden;
}

.page {
    position: relative;
    min-height: 100vh;
    isolation: isolate;
}

.page::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(to right, transparent 0, transparent calc(100% - 1px), var(--line) calc(100% - 1px)),
      linear-gradient(to bottom, transparent 0, transparent calc(100% - 1px), var(--line) calc(100% - 1px));
    background-size: 56px 56px;
    opacity: 0.28;
    z-index: 0;
    pointer-events: none;
}

.container {
    position: relative;
    z-index: 2;
    width: min(100%, var(--max-width));
    min-height: 100vh;
    margin: 0 auto;
    padding: 0px 24px 24px;
}

.content {
    width: min(100%, 800px);
    padding: 32px;
    background: var(--panel);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.65);
    box-shadow: var(--shadow);
}

.eyebrow {
    display: inline-block;
    margin: 0 0 16px;
    padding: 6px 10px;
    border: 1px solid rgba(17,17,17,0.12);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background: rgba(255,255,255,0.7);
}

h1#pageTitle{
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 0px 20px;
}

.title {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: 0.02em;
    font-weight: 800;
}

.title-sub {
    display: block;
    margin-top: 8px;
    font-size: clamp(1rem, 2vw, 1.375rem);
    line-height: 1.4;
    color: var(--muted);
    font-weight: 500;
    letter-spacing: 0.18em;
}

.message {
    margin: 0;
    font-size: 1rem;
    line-height: 1.95;
    color: #222;
}

.notice-block {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid rgba(17, 17, 17, 0.10);
}

.section-title {
    margin: 0;
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 800;
}

.detail {
    margin: 5px 0 0;
    font-size: 1rem;
    line-height: 1.9;
    color: #222;
}

.note {
    margin: 10px 0 0;
    font-size: 0.95rem;
    line-height: 1.85;
    color: var(--muted);
}

.inline-link {
    color: var(--text);
    font-weight: 700;
    text-underline-offset: 0.18em;
}

.inline-link:hover {
    opacity: 0.78;
}

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    align-items: center;
    margin-top: 28px;
    font-size: 0.95rem;
    color: var(--muted);
}

.count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--text);
}

.count-num {
    min-width: 1.5em;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.btn {
    appearance: none;
    border: 0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: transform 0.18s ease, background-color 0.18s ease, opacity 0.18s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
}

.btn-primary {
    background: var(--btn-bg);
    color: var(--btn-text);
}

.btn-primary:hover {
    background: var(--btn-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255,255,255,0.85);
    color: var(--text);
    border: 1px solid rgba(17,17,17,0.12);
}

.btn-secondary:hover {
    background: #fff;
    transform: translateY(-1px);
}

.visual {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1;
    width: min(62vw, 820px);
    pointer-events: none;
    user-select: none;
    opacity: 0.96;
    transform: translate(6%, 6%);
}

.visual img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter:
      drop-shadow(0 12px 24px rgba(0, 0, 0, 0.10))
      contrast(1.02);
}

.footer-note {
    position: absolute;
    left: 24px;
    bottom: 20px;
    z-index: 2;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    color: rgba(17,17,17,0.55);
}

@media (max-width: 960px) {
  body {
      overflow: auto;
  }

  .container {
      align-items: flex-start;
      padding-top: 24px;
      padding-bottom: 180px;
  }

  .content {
      width: 100%;
      padding: 24px;
  }

  .visual {
      width: min(58vw, 400px);
      opacity: 0.22;
      transform: translate(10%, 10%);
  }
}

@media (max-width: 640px) {
  .container {
      padding-inline: 16px;
      padding-bottom: 140px;
  }

  .content {
      padding: 20px;
  }

  .title {
      font-size: clamp(1.9rem, 10vw, 2.7rem);
  }

  .title-sub {
      letter-spacing: 0.10em;
  }

  .message {
      font-size: 0.94rem;
      line-height: 1.8;
  }

  .section-title,
  .detail,
  .note {
      font-size: 0.94rem;
  }

  .meta {
      font-size: 0.88rem;
  }

  .actions {
      flex-direction: column;
  }

  .btn {
      width: 100%;
  }

  .visual {
      width: min(72vw, 320px);
      right: -10px;
      bottom: -8px;
  }

  .footer-note {
      left: 16px;
      bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn {
      transition: none;
  }
}
