:root { color-scheme: light; font-family: system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; line-height: 1.8; color: #222; background: #f7f7f7; }
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 860px; margin: 0 auto; padding: 24px 16px 56px; background: #fff; }
h1 { margin: 0 0 24px; font-size: clamp(1.65rem, 5vw, 2.2rem); line-height: 1.4; }
h2 { margin-top: 2.2em; font-size: clamp(1.3rem, 4vw, 1.7rem); line-height: 1.5; border-left: 4px solid #78a6c8; padding-left: 10px; }
p { margin: 1em 0; }
img { display: block; max-width: 100%; height: auto; margin: 1.2em auto; }
table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; margin: 1.5em 0; }
th, td { min-width: 8em; padding: 8px 10px; border: 1px solid #ccc; vertical-align: top; text-align: left; }
th { background: #f0f4f7; }
a { overflow-wrap: anywhere; }

/* Cocoon風の吹き出し */
.speech-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 1.5em 0;
}

.speech-person {
  flex: 0 0 72px;
  width: 72px;
  text-align: center;
}

.speech-icon {
  margin: 0;
}

.speech-icon-image {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 0 auto;
}

.speech-name {
  margin-top: 4px;
  font-size: 0.85rem;
}

.speech-balloon {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  background: var(--cocoon-custom-background-color, #fceef1);
  border: 1px solid var(--cocoon-custom-border-color, #eacbd3);
  border-radius: 10px;
}

.speech-balloon p {
  margin: 0;
}

@media (max-width: 480px) {
  .speech-wrap {
    gap: 8px;
  }

  .speech-person {
    flex-basis: 60px;
    width: 60px;
  }

  .speech-icon-image {
    width: 52px;
    height: 52px;
  }

  .speech-balloon {
    padding: 10px 12px;
  }
}

@media (min-width: 700px) { main { margin-top: 24px; border-radius: 8px; padding: 40px 56px 72px; box-shadow: 0 2px 14px rgba(0,0,0,.06); } }

