/* ブロックエディタ用スタイル */
.editor-styles-wrapper {
  font-family: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #1c1c1e;
  max-width: 760px;
  margin-inline: auto;
}

.editor-styles-wrapper h1 { font-size: 48px; font-weight: 500; line-height: 1.15; letter-spacing: -1px; }
.editor-styles-wrapper h2 { font-size: 36px; font-weight: 500; line-height: 1.2; letter-spacing: -0.5px; }
.editor-styles-wrapper h3 { font-size: 28px; font-weight: 500; line-height: 1.25; }
.editor-styles-wrapper h4 { font-size: 22px; font-weight: 500; line-height: 1.3; }
.editor-styles-wrapper h5 { font-size: 18px; font-weight: 500; line-height: 1.4; }
.editor-styles-wrapper p  { font-size: 16px; line-height: 1.8; }

.editor-styles-wrapper blockquote {
  padding: 8px 20px;
  border-left: 2px solid #c7cad5;
  font-style: italic;
  color: #555a6a;
}

.editor-styles-wrapper .qa-block,
.editor-styles-wrapper .is-style-qa-block {
  margin-block: 32px;
  padding: 24px 32px;
  border: 1px solid #e0e2e8;
  border-radius: 16px;
  background: #ffffff;
}

.editor-styles-wrapper .qa-block h2,
.editor-styles-wrapper .is-style-qa-block h2 {
  padding: 16px 24px;
  border-left: 4px solid #ffd02f;
  background: #fafbfc;
  border-radius: 0 8px 8px 0;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.editor-styles-wrapper pre {
  background: #1c1c1e;
  color: #ffffff;
  padding: 24px;
  border-radius: 12px;
  overflow-x: auto;
  font-size: 14px;
}

.editor-styles-wrapper pre.is-style-dark {
  background: #1c1c1e;
  color: #ffffff;
}

.editor-styles-wrapper pre.is-style-gray {
  background: #f0f1f4;
  color: #1c1c1e;
  border: 1px solid #dde0e8;
}

.editor-styles-wrapper pre.is-style-light {
  background: #ffffff;
  color: #1c1c1e;
  border: 1px solid #dde0e8;
}

/* 学籍番号ゲートブロック（エディタ表示） */
.student-gate-editor {
  border: 2px dashed #c7cad5;
  border-radius: 12px;
  overflow: hidden;
}

.student-gate-editor__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #f7f8fa;
  border-bottom: 1px solid #eef0f3;
  font-size: 13px;
  font-weight: 600;
  color: #555a6a;
  user-select: none;
}

.student-gate-editor__icon {
  display: flex;
  align-items: center;
  color: #555a6a;
}

.student-gate-editor__content {
  padding: 16px;
  background: #fafbfc;
}

/* 囲みブロック（エディタプレビュー） */
.callout-box {
  border: 2px solid;
  border-radius: 10px;
  overflow: hidden;
  margin-block: var(--sp-xxl, 32px);
}

.callout-box--teal   { border-color: #187574; background-color: #f0fffe; }
.callout-box--red    { border-color: #600000; background-color: #fff5f5; }
.callout-box--yellow { border-color: #fcb900; background-color: #fff4c4; }
.callout-box--gray   { border-color: #c7cad5; background-color: #f7f8fa; }

.callout-box__title {
  padding: 12px 32px;
  font-weight: 400;
  color: #2c2c34;
}

hr.callout-box__divider {
  margin: 0;
  border: none;
  border-top: 1px solid;
}

.callout-box--teal hr.callout-box__divider   { border-color: #187574; }
.callout-box--red hr.callout-box__divider    { border-color: #600000; }
.callout-box--yellow hr.callout-box__divider { border-color: #fcb900; }
.callout-box--gray hr.callout-box__divider   { border-color: #c7cad5; }

.callout-box__content {
  padding: 24px 32px;
}

/* Image block: 角丸フチあり */
.editor-styles-wrapper .wp-block-image.is-style-rounded-border img {
  border-radius: 12px;
  border: 1px solid #e0e2e8;
}
