/* =====================================================================
   総合型選抜コラム（/sougougata/blog/）の見た目
   色・ボタン・ヘッダー・フッターは sg-common.css（LPと共通）
   ===================================================================== */
.pc { display: inline; }
@media (max-width: 767px) { .pc { display: none; } }

.blog { padding-top: var(--header-h); }
.blog__wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.blog__hero {
  padding: 36px 0 44px; margin-bottom: 28px;
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(21, 158, 223, .12), transparent 60%),
    radial-gradient(40% 80% at 0% 100%, rgba(242, 211, 91, .14), transparent 70%),
    var(--blue-soft);
}
.blog__label { font-size: .78rem; font-weight: 700; letter-spacing: .24em; color: var(--blue-ink); margin-top: 18px; }
.blog__title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); font-weight: 900; margin-top: 4px; }
.blog__lead { margin-top: 10px; font-size: .98rem; }

/* パンくず */
.crumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .76rem; color: var(--ink-light); }
.crumb li { display: inline-flex; align-items: center; min-width: 0; max-width: 100%; }
.crumb li + li::before { content: ''; width: 6px; height: 6px; border-top: 1.5px solid #9aa7b8; border-right: 1.5px solid #9aa7b8; transform: rotate(45deg); margin: 0 10px 0 6px; }
.crumb a { color: var(--ink); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.crumb span[aria-current] { color: var(--ink-light); display: inline-block; max-width: min(28em, calc(100vw - 80px)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }

/* カテゴリタブ */
.ctabs { margin-bottom: 28px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.ctabs::-webkit-scrollbar { display: none; }
.ctabs ul { list-style: none; margin: 0; padding: 2px; display: flex; gap: 8px; flex-wrap: wrap; }
.ctabs a { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .86rem; font-weight: 700; color: var(--navy); text-decoration: none; white-space: nowrap; transition: border-color .2s, background .2s, color .2s; }
.ctabs a:hover { border-color: var(--blue-line); color: var(--blue-ink); }
.ctabs a[aria-current] { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; }
@media (max-width: 767px) {
  .ctabs { margin: 0 -20px 22px; padding: 0 20px; }
  .ctabs ul { flex-wrap: nowrap; }
}

/* 記事カード */
.bgrid2 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.bcard2 a { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow); transition: box-shadow .3s, border-color .3s; }
.bcard2 a:hover { border-color: var(--blue-line); box-shadow: var(--shadow-lg); }
.bcard2__thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--blue-soft); }
.bcard2__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.bcard2 a:hover .bcard2__thumb img { transform: scale(1.05); }
.bcard2__noimg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--blue-line); }
.bcard2__noimg .i { width: 44px; height: 44px; }
.bcard2__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.bcard2__cat { align-self: flex-start; font-size: .72rem; font-weight: 700; color: var(--blue-ink); background: var(--blue-soft); border-radius: 999px; padding: 2px 10px; }
.bcard2__title { margin: 8px 0 10px; font-size: 1rem; font-weight: 700; color: var(--navy); line-height: 1.65; }
.bcard2__date { margin-top: auto; display: flex; align-items: center; gap: 5px; font-size: .76rem; color: var(--ink-light); }
.bcard2__date .i { width: 14px; height: 14px; }
@media (max-width: 1023px) { .bgrid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 767px) { .bgrid2 { grid-template-columns: minmax(0, 1fr); } .blog__wrap { padding: 0 20px; } }

.bempty { text-align: center; padding: 56px 0 24px; }
.bempty--404 { padding: 80px 20px 100px; }
.bempty__ico { color: var(--blue-line); }
.bempty__ico .i { width: 48px; height: 48px; }
.bempty p + p { margin-top: 10px; }

/* ページ送り */
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 40px 0 8px; }
.pager a, .pager span { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; font-weight: 700; font-size: .9rem; text-decoration: none; }
.pager a { background: #fff; border: 1px solid var(--line); color: var(--navy); }
.pager a:hover { border-color: var(--blue); color: var(--blue-ink); }
.pager span[aria-current] { background: var(--blue-deep); color: #fff; }
.pager .i { width: 16px; height: 16px; }

/* 無料相談への導線 */
.bcta { margin: 48px 0 72px; padding: 36px 32px; border-radius: 24px; text-align: center; background: #fff; border: 1px solid var(--blue-line); box-shadow: var(--shadow-lg);
  background-image: radial-gradient(70% 100% at 100% 0%, rgba(21, 158, 223, .10), transparent 60%), radial-gradient(50% 80% at 0% 100%, rgba(242, 211, 91, .14), transparent 70%); }
.bcta__label { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; color: var(--blue-ink); }
.bcta__label .i { width: 17px; height: 17px; }
.bcta__title { margin-top: 8px; font-size: 1.3rem; font-weight: 900; color: var(--navy); line-height: 1.6; }
.bcta__lead { margin-top: 8px; font-size: .9rem; }
.bcta__btns { margin-top: 20px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.bcta__btns .sg-btn { min-height: 56px; font-size: 1rem; padding: 0 28px; }
.bcta__diag { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 700; color: var(--navy); }
.bcta__diag .i { width: 17px; height: 17px; color: #b8901a; }
@media (max-width: 767px) {
  .bcta { padding: 28px 18px; margin: 36px 0 56px; }
  .bcta__title { font-size: 1.12rem; }
  .bcta__btns .sg-btn { width: 100%; }
}

/* ---------- 記事ページ ---------- */
.art { max-width: 780px; margin: 0 auto; padding: 32px 24px 0; }
.art__head { margin-bottom: 26px; }
.art__cat { display: inline-block; margin-top: 22px; font-size: .76rem; font-weight: 700; color: var(--blue-ink); background: var(--blue-soft); border-radius: 999px; padding: 3px 12px; text-decoration: none; }
.art__title { margin-top: 12px; font-size: clamp(1.45rem, 1.1rem + 1.3vw, 2rem); font-weight: 900; line-height: 1.55; }
.art__dates { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: .8rem; color: var(--ink-light); }
.art__dates span { display: inline-flex; align-items: center; gap: 5px; }
.art__dates .i { width: 15px; height: 15px; }
.art__checked { margin-top: 16px; display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 14px; background: var(--yellow-soft); border: 1px solid #f1e3a6; font-size: .88rem; color: var(--navy); }
.art__checked .i { width: 20px; height: 20px; color: #b8901a; margin-top: 3px; }
.art__checked small { display: block; font-size: .76rem; color: var(--ink); margin-top: 2px; }
.art__hero { width: 100%; border-radius: 18px; display: block; margin-bottom: 28px; }
.toc { margin: 0 0 32px; padding: 20px 24px; border-radius: 18px; background: var(--blue-soft); }
.toc__title { display: flex; align-items: center; gap: 8px; font-weight: 900; color: var(--navy); margin-bottom: 8px; }
.toc__title .i { width: 19px; height: 19px; color: var(--blue-ink); }
.toc ol { list-style: none; margin: 0; padding: 0; font-size: .9rem; line-height: 1.8; counter-reset: toc; }
.toc li { margin: 4px 0; display: flex; gap: .5em; }
.toc .toc__l2 { counter-increment: toc; }
.toc .toc__l2::before { content: counter(toc) '.'; color: var(--blue-ink); font-weight: 700; min-width: 1.4em; }
.toc .toc__l3 { padding-left: 1.9em; font-size: .86rem; }
.toc .toc__l3::before { content: '-'; color: var(--ink-light); }
.toc a { color: var(--navy); text-decoration: none; }
.toc a:hover { color: var(--blue-ink); text-decoration: underline; }

.art__body { font-size: 1rem; line-height: 2; color: var(--ink); overflow-wrap: anywhere; }
.art__body > * + * { margin-top: 1.2em; }
.art__body h2 { margin-top: 2.4em; padding: 14px 18px; border-radius: 14px; background: var(--blue-soft); font-size: 1.32rem; font-weight: 900; line-height: 1.55; }
.art__body h3 { margin-top: 2em; padding-bottom: 8px; border-bottom: 2px solid var(--blue-line); font-size: 1.12rem; font-weight: 900; }
.art__body h4 { margin-top: 1.6em; font-size: 1rem; font-weight: 900; color: var(--navy); }
.art__body strong, .art__body b { color: var(--navy); background: linear-gradient(transparent 62%, rgba(242, 211, 91, .55) 62%); }
.art__body a { color: var(--blue-ink); }
.art__body ul, .art__body ol { padding-left: 1.5em; }
.art__body li + li { margin-top: .4em; }
.art__body img { max-width: 100%; height: auto; border-radius: 12px; }
.art__body blockquote { margin-left: 0; margin-right: 0; padding: 14px 18px; border-radius: 14px; background: #f6f8fb; color: var(--ink); }
.art__body hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.art__body table { width: 100%; border-collapse: collapse; font-size: .9rem; display: block; overflow-x: auto; }
.art__body th, .art__body td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; min-width: 6em; }
.art__body thead th { background: var(--blue-soft); }
.art__body iframe, .art__body video { max-width: 100%; }

.aiguide { margin: -40px 0 56px; display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: 20px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.aiguide__ico { width: 48px; height: 48px; border-radius: 14px; background: var(--blue-soft); color: var(--blue-ink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.aiguide__title { font-weight: 900; color: var(--navy); }
.aiguide__text { margin-top: 4px; font-size: .88rem; }
.aiguide__btn { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--blue); background: #fff; color: var(--blue-ink); font-weight: 700; font-size: .9rem; cursor: pointer; transition: background .2s; }
.aiguide__btn:hover { background: var(--blue-soft); }
.aiguide__btn .i { width: 17px; height: 17px; }
@media (max-width: 767px) {
  .art { padding: 22px 20px 0; }
  .art__body { font-size: .96rem; }
  .art__body h2 { font-size: 1.16rem; padding: 12px 14px; }
  .toc { padding: 16px 18px; }
  .aiguide { padding: 18px 16px; margin-top: -24px; }
}

.related { padding: 64px 0 80px; background: var(--blue-soft); }
.related__title { font-size: 1.3rem; font-weight: 900; margin-bottom: 22px; }
.related__more { margin-top: 26px; text-align: center; }
