:root {
  --paper: #ffffff;
  --base: #f6f8f9;
  --sky: #6ec6e8;
  --sky-soft: #eaf8fd;
  --orange: #f6a23a;
  --orange-soft: #fff3df;
  --navy: #17384a;
  --text: #263238;
  --line: #dbe5ea;
  --radius: 16px;
}
* { box-sizing: border-box; }
html {
  background: var(--base);
  color: var(--text);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.7;
}
body { margin: 0; }
.hero {
  position: relative;
  overflow: hidden;
  padding: 58px 24px 46px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.hero::after {
  position: absolute;
  right: -30px;
  bottom: -56px;
  width: 170px;
  height: 170px;
  border: 3px solid var(--sky);
  border-radius: 50%;
  content: "";
  opacity: .45;
}
.eyebrow {
  max-width: 660px;
  margin: 0 auto 14px;
  color: var(--navy);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .05em;
}
.eyebrow::before {
  display: inline-block;
  width: 30px;
  height: 3px;
  margin-right: 9px;
  border-radius: 999px;
  background: var(--sky);
  content: "";
  vertical-align: middle;
}
h1, h2, p { margin-top: 0; }
h1 {
  max-width: 660px;
  margin: 0 auto 18px;
  color: var(--navy);
  font-size: clamp(2rem, 8vw, 3.4rem);
  line-height: 1.25;
  letter-spacing: .02em;
}
.lead {
  max-width: 660px;
  margin: 0 auto;
  font-size: 1.08rem;
}
main {
  width: min(100% - 32px, 760px);
  margin: 0 auto;
  padding: 28px 0 72px;
}
.safety, .intro, .closing {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.safety {
  border-color: #cbeef9;
  background: var(--sky-soft);
}
.safety h2, .intro h2, .closing h2 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1.12rem;
}
.safety p, .intro p, .closing p { margin-bottom: 0; }
.intro { margin-top: 18px; }
.prompt-list {
  display: grid;
  gap: 22px;
  margin-top: 26px;
}
.prompt-card {
  position: relative;
  overflow: hidden;
  padding: 28px 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.prompt-card::before {
  position: absolute;
  top: 0;
  left: 20px;
  width: 56px;
  height: 4px;
  border-radius: 0 0 999px 999px;
  background: var(--sky);
  content: "";
}
.card-number {
  margin-bottom: 8px;
  color: var(--orange);
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .08em;
}
.prompt-card h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(1.32rem, 5vw, 1.65rem);
  line-height: 1.45;
}
dl {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
}
dl div {
  display: grid;
  grid-template-columns: 5.6rem 1fr;
  gap: 8px;
}
dt {
  color: var(--navy);
  font-size: .85rem;
  font-weight: 700;
}
dd {
  margin: 0;
  font-size: .9rem;
}
pre {
  overflow-x: auto;
  margin: 0;
  padding: 18px;
  border: 1px solid #d6e8ef;
  border-radius: 12px;
  background: #fbfdfe;
  color: #29434e;
  font-family: inherit;
  font-size: .91rem;
  line-height: 1.8;
  white-space: pre-wrap;
}
button {
  width: 100%;
  min-height: 52px;
  margin-top: 16px;
  border: 0;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
button:focus-visible {
  outline: 4px solid var(--orange);
  outline-offset: 3px;
}
button:active { transform: translateY(1px); }
.closing {
  margin-top: 26px;
  border-color: #f8d7a4;
  background: var(--orange-soft);
}
.copy-status {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  max-width: calc(100% - 32px);
  margin: 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: .9rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.copy-status.is-visible { opacity: 1; }
@media (min-width: 680px) {
  .hero { padding: 76px 40px 56px; }
  .prompt-card { padding: 34px; }
}
