/* Shared parts live outside SWELL's page wrapper, so article blocks keep their own styles. */
:is(#jcm-home, .jcm-shell) .college-cta {
  display: block;
  margin: 0;
  padding: clamp(32px, 4.5vw, 68px) 0;
  background: linear-gradient(115deg, #eef6ff, #e1effb);
  border-block: 1px solid #cddff2;
  color: #071c3d;
}
:is(#jcm-home, .jcm-shell) .college-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 80px);
}
:is(#jcm-home, .jcm-shell) .college-cta__copy { max-width: 700px; }
:is(#jcm-home, .jcm-shell) .college-cta h2 {
  font-size: clamp(21px, 2.15vw, 32px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: -.035em;
  text-wrap: pretty;
}
:is(#jcm-home, .jcm-shell) .college-cta p {
  margin: 10px 0 0;
  color: #334e69;
  font-size: 15px;
  line-height: 1.85;
}
:is(#jcm-home, .jcm-shell) .college-cta__actions {
  display: grid;
  gap: 8px;
  justify-items: center;
  flex: none;
}
:is(#jcm-home, .jcm-shell) .college-cta__primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px 22px;
  border-radius: 8px;
  font-weight: 700;
  background: #134d91;
  color: #fff;
}
:is(#jcm-home, .jcm-shell) .college-cta__primary:hover { background: #0d3a6e; }
:is(#jcm-home, .jcm-shell) .college-cta__secondary {
  padding: 7px;
  font-size: 14px;
  color: #134d91;
  text-decoration: underline;
  text-underline-offset: 3px;
}
:is(#jcm-home, .jcm-shell) .legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  padding-top: 18px;
  margin-top: 20px;
  border-top: 1px solid #395474;
  color: #e5f1ff;
  font-size: 12px;
}
:is(#jcm-home, .jcm-shell) .legal a:hover { text-decoration: underline; }
.jcm-site-header { position: relative; z-index: 20; }
.jcm-shell { color: #071c3d; background: white; font: 16px/1.5 "Hiragino Sans","Yu Gothic",Meiryo,sans-serif; }
.jcm-interior {
  --color_main: #134d91;
  --color_link: #134d91;
  --color_text: #132d49;
  --color_htag: #134d91;
  --color_head_bg: #fff;
  --color_bg: #f4f8fc;
  --swl-color_h2: #134d91;
  background: #f4f8fc;
  color: #132d49;
  font-family: "Hiragino Sans","Yu Gothic",Meiryo,sans-serif;
}
.jcm-interior :is(#header,#fix_header,#sp_menu,#footer) { display: none !important; }
.jcm-interior #content { padding-block: clamp(22px, 3vw, 48px); }
.jcm-interior .l-mainContent { min-width: 0; }
.jcm-interior .l-mainContent__inner {
  background: #fff;
  padding: clamp(18px, 2.8vw, 42px);
  border: 1px solid #d9e6f2;
  border-radius: 14px;
}
.jcm-interior :is(.c-pageTitle,.c-postTitle__ttl,.c-ttl404,.p-postList__title) {
  color: #071c3d;
  font-weight: 700;
  word-break: normal;
  overflow-wrap: anywhere;
}
.jcm-interior :is(.c-pageTitle,.c-postTitle__ttl,.c-ttl404) {
  font-size: clamp(22px, 2.45vw, 36px);
  line-height: 1.55;
  letter-spacing: -.035em;
}
.jcm-interior .c-pageTitle { padding-left: 14px; border-left: 5px solid #175ca6; }
.jcm-interior .c-pageTitle__subTitle { color: #526a82; font-size: 12px; }
.jcm-interior .post_content { line-height: 1.9; overflow-wrap: anywhere; }
.jcm-interior .post_content h2:not([class*="is-style-"]):not(.has-background) {
  border: 0;
  border-inline-start: 4px solid #175ca6;
  border-radius: 0 7px 7px 0;
  padding: .55em .8em;
  background: #eef6ff;
  color: #071c3d;
  line-height: 1.55;
}
.jcm-interior .post_content h2:not([class*="is-style-"]):not(.has-background)::before,
.jcm-interior .post_content h2:not([class*="is-style-"]):not(.has-background)::after { display: none; }
.jcm-interior .post_content h3:not([class*="is-style-"]):not(.has-background) {
  color: #123f70;
  border-bottom-color: #cadae9;
}
.jcm-interior .p-postList__link { border-radius: 8px; }
.jcm-interior .p-postList__thumb { border-radius: 8px; overflow: hidden; }
.jcm-interior .p-postList__link:hover .p-postList__title { color: #134d91; text-decoration: underline; }
.jcm-interior :is(.c-widget__title,.p-toc__ttl) { color: #134d91; }
.jcm-interior :focus-visible { outline: 3px solid #267fc5; outline-offset: 2px; }
.jcm-interior :is(.wp-block-table,.swell-block-table-scroll) { max-width: 100%; overflow-x: auto; }
@media (max-width: 760px) {
  :is(#jcm-home, .jcm-shell) .college-cta__inner { display: grid; gap: 20px; }
  :is(#jcm-home, .jcm-shell) .college-cta__actions { justify-items: stretch; text-align: center; }
  .jcm-interior #content { padding-inline: 12px; }
  .jcm-interior .l-mainContent__inner { padding: 20px 14px; border-radius: 10px; }
}
