/* 公開用の静的なページの外枠（ヘッダー・見出し・フッター。設計メモ 2.4・2.8）
 * 比較表そのものの指定は course-compare.css（.cc-root の中だけ）。
 * 色と文字はブログ（kiryusblog.com。テーマは Cocoon）に合わせる：キーカラー #002266、本文 16px・#333、
 * リンク #1967d2（2026年11月27日に記事のページで確認）。
 * 幅：比較表（13列）を横スクロールなしで出すには表だけで約1,400px、左の絞り込みを含めて約1,660px要るため
 * （2026年11月28日に測定）、ページの幅は画面に合わせて広げる。上限の1,920pxは、表の列を広げても読みやすさが
 * 増えない幅（列の内容を折り返さずに並べた表の幅が約1,730px）に、絞り込みと余白を足した値。 */

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: #f3f4f6; color: #333; font-size: 16px; line-height: 1.8;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Meiryo, sans-serif;
}
a { color: #1967d2; }

.pg-header { background: #002266; }
.pg-header .pg-in { max-width: 1920px; margin: 0 auto; padding: 10px 16px; box-sizing: border-box; }
.pg-site { color: #fff; font-weight: bold; font-size: 18px; text-decoration: none; letter-spacing: .02em; }
.pg-site:hover { text-decoration: underline; }

.pg-main {
  width: calc(100% - 32px); max-width: 1920px; margin: 16px auto 40px; padding: 16px 20px 24px; box-sizing: border-box;
  background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
}
.pg-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pg-bc { font-size: 13px; color: #5f6368; line-height: 1.5; min-width: 0; }
.pg-bc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.pg-bc li + li::before { content: "›"; margin: 0 .5em; }
.pg-bc a { text-decoration: none; }
.pg-bc a:hover { text-decoration: underline; }
.pg-title { margin: 10px 0 0; }
.pg-title h1 { font-size: 24px; line-height: 1.4; margin: 0; color: #002266; }
.pg-noscript { margin: 10px 0 0; padding: 8px 12px; font-size: 14px; background: #fff6d6; border-radius: 4px; }
/* 「PR」の表記：パンくずリストと同じ高さの右端に、枠で囲んだラベルとして出す（2026年11月28日、サイト運営者の指示） */
.pg-pr {
  flex: none; font-size: 12px; font-weight: bold; line-height: 1; letter-spacing: .05em; color: #5f6368;
  border: 1px solid #9aa0a6; border-radius: 3px; padding: 3px 6px; background: #fff;
}

/* シェアのボタン（表の下の注記の後。2026年11月29日）。ブログの記事の末尾のボタン（Cocoon）と同じ文言・色・並び（4列×2段。
   幅710pxで1つ170×45px、角の丸み4px、アイコンの下に名前）。色はブログのボタンの背景の色（同日に確認） */
.pg-share { max-width: 710px; margin: 32px auto 8px; text-align: center; }
.pg-share-msg { margin: 0 0 7px; font-size: 16px; font-weight: bold; color: #333; line-height: 1.8; }
.pg-share-btns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 1.3333%; }
.pg-share-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; height: 45px;
  border: 0; border-radius: 4px; color: #fff; text-decoration: none; font: inherit; cursor: pointer; padding: 0;
}
.pg-share-btn:hover { opacity: .85; color: #fff; }
.pg-share-icon { width: 16px; height: 16px; display: block; }
.pg-share-label { font-size: 12px; line-height: 1.5; }
.pg-share-x { background: #000; }
.pg-share-bluesky { background: #0085ff; }
.pg-share-facebook { background: #3b5998; }
.pg-share-hatebu { background: #2c6ebd; }
.pg-share-line { background: #00c300; }
.pg-share-pinterest { background: #bd081c; }
.pg-share-linkedin { background: #0077b5; }
.pg-share-copy { background: #333; }

.pg-footer { background: #002266; color: #fff; font-size: 13px; line-height: 1.7; }
.pg-footer .pg-in { max-width: 1920px; margin: 0 auto; padding: 18px 16px 24px; box-sizing: border-box; text-align: center; }
.pg-footer ul { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
.pg-footer a { color: #fff; text-decoration: none; }
.pg-footer a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .pg-main { width: auto; margin: 0 0 24px; padding: 12px 12px 20px; box-shadow: none; }
  .pg-title h1 { font-size: 20px; }
}
