/* =========================================================
   昇英館 トップページ専用スタイル
   - index.html だけで使用するヒーロー、お知らせ、特色、コース、
     数字、入試カウントダウンなどの記述
   - common.css の後に読み込みます
   ========================================================= */

:root {
  --heading: var(--navy);
}

.section-tight {
  padding: 28px 0;
}

.section-tint {
  background: var(--pale-blue);
}

.mobile-only {
  display: none;
}

.brand-copy-accent {
  display: block;
  	width: 164px;
  	max-width: 100%;
  	height: 5px;
  	margin-top: 10px;
  	background: var(--orange);
  	border-radius: 999px
}

.button-outline {
  color: var(--navy);
    background: rgba(255, 255, 255, 0.78);
    border-color: var(--navy);
}

.button-outline:hover {
  color: var(--white);
    background: var(--navy);
}

.hero {
  overflow: hidden;
    background: var(--cream);
}

.hero-stage {
	position: relative;
  display: grid;
	grid-template-columns: minmax(520px, 0.95fr) minmax(520px, 1.05fr);
	min-height: 550px;
	max-width: 1600px;
	margin: 0 auto;
}

.thanksMessage {
	padding: 40px 20px;
	width: 100%;
	z-index: 3;
	text-align: center;
	color: var(--yellow);
	font-size: 42px;
	line-height: 130%;
	font-weight: bold;
	background: var(--navy);
}

.hero-copy {
  position: relative;
  	z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 66px clamp(30px, 3vw, 48px) 62px 20px;
    padding: 66px clamp(30px, 3vw, 48px) 62px clamp(46px, calc((100vw - 1280px) / 2), 160px);
}

.hero-kicker {
  align-self: flex-start;
    margin: 0 0 18px;
    padding: 8px 22px;
    color: var(--navy);
    background: var(--yellow);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 800;
}

.hero-badges {
  display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.hero-badges span {
  min-width: 100px;
    padding: 7px 15px;
    color: var(--orange-dark);
    background: rgba(255, 255, 255, 0.72);
    border: 2px solid var(--orange);
    border-radius: 9px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
}

.hero-kicker-mobile,
.hero-title-mobile,
.hero-lead-mobile {
  display: none;
}

.hero-title-line {
  white-space: nowrap;
}

.hero-title {
  margin: 0;
	color: var(--heading);
	font-size: clamp(46px, 5vw, 64px);
	font-weight: 800;
	line-height: 1.16;
	letter-spacing: 0.025em;
	white-space: nowrap;
}

.hero-lead {
  margin: 24px 0 0;
    font-size: clamp(18px, 1.5vw, 22px);
    font-weight: 600;
    line-height: 1.65;
}


.hero-actions {
  display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.hero-visual {
  position: relative;
    overflow: hidden;
    min-height: 550px;
    background: #eef2f4;
}

.hero-visual::after {
  position: absolute;
    inset: 0 auto 0 0;
    width: 17%;
    background: linear-gradient(90deg, var(--cream), rgba(255, 249, 240, 0));
    content: "";
}

.hero-visual picture,
.hero-visual img {
  width: 100%;
    height: 100%;
}

.hero-visual img {
  object-fit: cover;
    object-position: 52% center;
}

.emblem {
	position: absolute;
	bottom: 10%;
	right: 10%;
	width: 150px;
	height: auto;
	z-index: 2;
	transform: translateX(100%);
}

.mobile-emblem {
	display: none;	
}
.hero-values {
  display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    padding-top: 28px;
    padding-bottom: 28px;
}

.top-cms-notice {
  padding-top: 32px;
}

.top-cms-notice__inner {
  position: relative;
  padding: 24px 34px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 212, 59, 0.24), transparent 30%),
    linear-gradient(135deg, var(--navy-2), var(--navy));
  border: 0;
  border-radius: 12px;
  box-shadow: none;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 800;
  line-height: 1.55;
  text-align: center;
}

.top-cms-notice__inner::before {
  display: block;
  margin: 0 0 7px;
  padding: 0;
  color: var(--yellow);
  background: transparent;
  content: "お知らせ";
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.top-cms-notice__inner > :first-child {
  margin-top: 0;
}

.top-cms-notice__inner > :last-child {
  margin-bottom: 0;
}

.value-card {
	border-radius: 20px;
	background-color: rgba(255, 138, 0, 0.08);
	padding: 15px;
  display: flex;
	align-items: flex-start;
	gap: 16px;
	min-width: 0;
	color: var(--ink);
}

.number {
  display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}

.strength-card:nth-of-type(3n+1) .number {
  background: var(--orange);
}

.strength-card:nth-of-type(3n+2) .number {
  background: var(--blue);
}

.strength-card:nth-of-type(3n+3) .number {
  background: var(--green);
}

h2 {
	font-size: clamp(38px, 4.6vw, 64px);
	font-weight: 800;
}

.value-card h2 {
  margin: 0 0 3px;
	color: var(--ink);
    font-size: 20px;
    line-height: 1.45;
}

.value-card p {
  margin: 0;
    color: var(--ink);
    font-size: 14px;
    line-height: 1.55;
}

/* News / information ----------------------------------------------------- */

.news {
  position: relative;
    overflow: hidden;
    padding: 92px 0;
    background:
      radial-gradient(circle at 6% 18%, rgba(255, 212, 59, 0.24), transparent 21%),
      radial-gradient(circle at 96% 86%, rgba(21, 167, 122, 0.10), transparent 23%),
      linear-gradient(180deg, #ffffff 0%, #fffaf2 100%);
}

.news::before {
  position: absolute;
    top: -130px;
    right: -110px;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(255, 138, 0, 0.13);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.news-shell {
  position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(280px, 0.36fr) minmax(0, 1fr);
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(18, 58, 90, 0.10);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.news-intro {
  position: relative;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    min-width: 0;
    padding: 46px 42px 42px;
    overflow: hidden;
    background:
      linear-gradient(145deg, rgba(255, 212, 59, 0.18), transparent 55%),
      var(--cream);
    border-right: 1px solid var(--line);
}

.news-intro::after {
  position: absolute;
    right: -60px;
    bottom: -70px;
    width: 190px;
    height: 190px;
    background: rgba(255, 138, 0, 0.08);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.news-icon {
  position: absolute;
    top: 34px;
    right: 32px;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    color: var(--orange);
    background: var(--white);
    border: 1px solid rgba(255, 138, 0, 0.18);
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(255, 138, 0, 0.13);
}

.news-icon svg {
  width: 31px;
    height: 31px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.news-intro .section-label {
  margin-right: 70px;
}

.news-intro h2 {
  position: relative;
	z-index: 1;
	margin: 0;
	color: var(--heading);
	line-height: 1.25;
	letter-spacing: 0.04em;
	white-space: nowrap;
}

.news-intro > p:not(.section-label) {
  position: relative;
	z-index: 1;
	max-width: 330px;
	margin: 20px 0 30px;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.85;
}

.news-all-link {
  position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 14px;
	min-height: 46px;
	margin-top: auto;
	padding: 8px 19px;
	color: var(--navy);
	background: var(--white);
	border: 1px solid rgba(18, 58, 90, 0.18);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	box-shadow: 0 7px 18px rgba(18, 58, 90, 0.06);
	transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.news-all-link span {
  color: var(--orange);
    font-size: 19px;
    transition: transform 0.2s ease;
}

.news-all-link:hover {
  color: var(--orange-dark);
    border-color: var(--orange);
    box-shadow: 0 10px 24px rgba(255, 138, 0, 0.12);
    transform: translateY(-2px);
}

.news-all-link:hover span {
  transform: translateX(4px);
}

.news-list {
  min-width: 0;
    padding: 10px 34px;
}

.news-list-empty {
  display: flex;
  align-items: center;
}

.news-empty {
  margin: 0;
  padding: 30px 0;
  color: var(--muted);
  line-height: 1.8;
}

.news-item + .news-item {
  border-top: 1px solid var(--line);
}

.news-item a {
  display: grid;
    grid-template-columns: minmax(120px, 0.25fr) minmax(0, 1fr) 44px;
    align-items: center;
    gap: 24px;
    min-height: 103px;
    margin: 0 -14px;
    padding: 20px 14px;
    border-radius: 14px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.news-item a:hover,
.news-item a:focus-visible {
  background: #f7fafc;
    transform: translateX(3px);
}

.news-meta {
  display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
    font-variant-numeric: tabular-nums;
}

.news-meta time {
  flex-basis: 100%;
    color: var(--navy);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.news-category,
.news-new {
  display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 27px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.news-category-orange {
  color: #c95f00;
    background: rgba(255, 138, 0, 0.12);
}

.news-category-green {
  color: #087b58;
    background: rgba(21, 167, 122, 0.12);
}

.news-category-blue {
  color: #0d58a8;
    background: rgba(23, 105, 194, 0.11);
}

.news-category-navy {
  color: var(--navy);
    background: rgba(18, 58, 90, 0.09);
}

.news-new {
  color: var(--white);
    background: var(--orange);
    box-shadow: 0 5px 12px rgba(255, 138, 0, 0.20);
}

.news-item h3 {
  min-width: 0;
    margin: 0;
    color: var(--heading);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.65;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

.news-item a:hover h3,
.news-item a:focus-visible h3 {
  color: var(--orange-dark);
}

.news-arrow {
  display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--orange);
    background: var(--cream);
    border: 1px solid rgba(255, 138, 0, 0.16);
    border-radius: 50%;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.news-arrow svg {
  width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.news-item a:hover .news-arrow,
.news-item a:focus-visible .news-arrow {
  color: var(--white);
    background: var(--orange);
    transform: translateX(3px);
}

/* Exam countdown ---------------------------------------------------------- */

.exam-countdown {
  position: relative;
    overflow: hidden;
    padding: 86px 0 92px;
    color: var(--white);
    background:
      radial-gradient(circle at 8% 12%, rgba(255, 212, 59, 0.18), transparent 28%),
      radial-gradient(circle at 94% 88%, rgba(21, 167, 122, 0.16), transparent 30%),
      linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
}

.exam-countdown::before,
.exam-countdown::after {
  position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.exam-countdown::before {
  top: -180px;
    right: -130px;
    width: 440px;
    height: 440px;
}

.exam-countdown::after {
  bottom: -210px;
    left: -160px;
    width: 480px;
    height: 480px;
}

.countdown-heading {
  position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.6fr);
    align-items: end;
    gap: 56px;
    margin-bottom: 40px;
}

.countdown-heading h2 {
  margin: 0;
	color: var(--white);
	line-height: 1.3;
	letter-spacing: 0.035em;
}

.countdown-heading > p {
  margin: 0 0 6px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 15px;
    line-height: 1.8;
}

.countdown-grid {
  position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.countdown-card {
  --countdown-accent: var(--orange);
    --countdown-tint: rgba(255, 138, 0, 0.1);
    position: relative;
    min-width: 0;
    padding: 30px 24px 22px;
    overflow: hidden;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.985);
    border-radius: 22px;
    box-shadow: 0 22px 52px rgba(4, 22, 38, 0.25);
}

.countdown-card::before {
  position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 7px;
    background: var(--countdown-accent);
    content: "";
}

.countdown-card::after {
  position: absolute;
    top: -58px;
    right: -58px;
    width: 145px;
    height: 145px;
    background: var(--countdown-tint);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.countdown-card-blue {
  --countdown-accent: var(--blue);
    --countdown-tint: rgba(23, 105, 194, 0.1);
}

.countdown-card-green {
  --countdown-accent: var(--green);
    --countdown-tint: rgba(21, 167, 122, 0.1);
}

.countdown-card-heading {
  position: relative;
    z-index: 1;
    min-height: 112px;
}

.countdown-card-tag {
  display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin-bottom: 12px;
    padding: 4px 12px;
    color: var(--countdown-accent);
    background: var(--countdown-tint);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.countdown-card h3 {
  margin: 0;
    color: var(--heading);
    font-size: clamp(18px, 1.55vw, 21px);
    font-weight: 600;
    line-height: 1.55;
    letter-spacing: 0.02em;
}

.countdown-time {
  position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    min-height: 132px;
    margin-top: 18px;
    padding: 24px 16px 20px 16px;
    overflow: hidden;
    background:
      linear-gradient(135deg, var(--countdown-tint) 0%, rgba(255, 255, 255, 0.96) 58%),
      #f4f7fa;
    border: 1px solid #e2eaf0;
    border-radius: 16px;
    font-variant-numeric: tabular-nums;
}

.countdown-time::before {
  position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 5px;
    background: var(--countdown-accent);
    content: "";
}

.countdown-time::after {
  position: absolute;
    right: -38px;
    bottom: -58px;
    width: 142px;
    height: 142px;
    border: 22px solid var(--countdown-tint);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.countdown-value {
  position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
    white-space: nowrap;
}

.countdown-value > *:empty {
  display: none;
}

.countdown-value strong {
  color: var(--countdown-accent);
    font-size: clamp(48px, 5.1vw, 76px);
    font-weight: 600;
    line-height: 0.86;
    letter-spacing: -0.065em;
}

.countdown-value small {
  color: var(--navy);
    font-size: clamp(14px, 1.5vw, 21px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.02em;
}

.countdown-scale {
  position: relative;
    z-index: 1;
    align-self: flex-start;
    flex: 0 0 auto;
    padding: 6px 10px 5px;
    color: var(--countdown-accent);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid color-mix(in srgb, var(--countdown-accent) 24%, white);
    border-radius: 999px;
    font-size: 9px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.14em;
    white-space: nowrap;
}

.countdown-time[data-countdown-mode="seconds"] .countdown-value strong {
  animation: countdown-second-pulse 1s ease-in-out infinite;
}

.countdown-time[data-countdown-mode="unset"] {
  background: #f4f7fa;
}

.countdown-card.is-unset .countdown-time {
  opacity: 0.68;
}

@keyframes countdown-second-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.025); }
}

.countdown-state {
  min-height: 1.7em;
    margin: 15px 2px 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

.countdown-card.is-active .countdown-state::before,
.countdown-card.is-complete .countdown-state::before {
  display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 7px;
    background: var(--countdown-accent);
    border-radius: 50%;
    content: "";
    vertical-align: 1px;
}

.countdown-card.is-complete .countdown-time {
  opacity: 0.62;
}

.countdown-card.is-complete .countdown-state {
  color: var(--countdown-accent);
    font-weight: 600;
}

.countDownDot {
  animation: blink 2s step-start infinite;
}

@keyframes blink {
	50% { opacity: 0; }
}

.finder {
  color: var(--navy);
    background: var(--pale-blue);
    border-top: 1px solid #e7eef5;
    border-bottom: 1px solid #e7eef5;
}

.finder-inner {
  display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 36px;
}

.finder h2 {
  margin: 0;
    font-size: 21px;
    white-space: nowrap;
}

.finder-links {
  display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.finder-links a {
  display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 58px;
    padding: 10px 20px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 11px;
    box-shadow: 0 5px 14px rgba(18, 58, 90, 0.04);
    font-weight: 700;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.finder-links a span {
  color: var(--orange);
    transition: transform 0.2s ease;
}

.finder-links a:hover {
  border-color: var(--orange);
    box-shadow: var(--shadow-soft);
    transform: translateY(-2px);
}

.finder-links a:hover span {
  transform: translateX(3px);
}

.message-grid {
  display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(50px, 8vw, 110px);
}

.message-photo {
  position: relative;
    max-width: 540px;
}

.message-photo::before {
  position: absolute;
    z-index: -1;
    top: -24px;
    right: -24px;
    width: 68%;
    height: 48%;
    background: var(--yellow);
    border-radius: 0 80px 0 80px;
    content: "";
    opacity: 0.75;
}

.message-photo img {
  width: 100%;
    aspect-ratio: 0.98;
    object-fit: cover;
    border-radius: 32px 8px 32px 8px;
    box-shadow: var(--shadow);
}

.photo-note {
  position: absolute;
    right: -26px;
    bottom: 32px;
    margin: 0;
    padding: 12px 22px;
    color: var(--navy);
    background: var(--white);
    border-left: 5px solid var(--orange);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    font-weight: 700;
}

.message-copy h2,
.section-heading h2,
.school-panel h2 {
  margin: 0;
	color: var(--heading);
	line-height: 1.24;
	letter-spacing: 0.025em;
}

.message-intro {
  max-width: 660px;
    margin: 26px 0 30px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.9;
}

.numbers {
  position: relative;
  	overflow: hidden;
  	color: #fff;
	background: linear-gradient(125deg, var(--navy-2), var(--navy) 62%, #1683c8 100%);
}

.numbers::before,
.numbers::after {
  position: absolute;
  	border-radius: 50%;
  	content: ""
}

.numbers::before {
  top: -190px;
  	right: -90px;
  	width: 450px;
  	height: 450px;
  	border: 85px solid rgba(255,212,59,.08)
}

.numbers::after {
  bottom: -160px;
  	left: -90px;
  	width: 360px;
  	height: 360px;
  	background: rgba(21,167,122,.08)
}

.numbers-decoration {
  position: absolute;
  	right: 3%;
  	bottom: -16%;
  	color: rgba(255,255,255,.025);
  	font-size: clamp(420px, 42vw, 720px);
  	font-weight: 800;
  	line-height: .8
}

#numbers-title,
.section-heading-light p {
  color: #fff
}

.numbers .section-heading > p:last-child {
  color: rgba(255,255,255,.72)
}

.number-grid {
  position: relative;
  	z-index: 2;
  	display: grid;
  	grid-template-columns: repeat(3, 1fr);
  	gap: 22px
}

.number-card {
  position: relative;
  	min-height: 360px;
  	padding: 34px 32px;
  	overflow: hidden;
  	background: rgba(255,255,255,.075);
  	border: 1px solid rgba(255,255,255,.18);
  	border-radius: var(--radius-md);
  	backdrop-filter: blur(8px);
  	transition: transform .3s var(--ease), background .3s ease, border-color .3s ease
}

.number-card::before {
  position: absolute;
  	top: 0;
  	right: 0;
  	left: 0;
  	height: 7px;
  	background: var(--orange);
  	content: ""
}

.number-card:nth-child(2)::before {
  background: var(--blue)
}

.number-card:nth-child(3)::before {
  background: var(--green)
}

/*
.number-card:hover {
  background: rgba(255,255,255,.11);
  	border-color: rgba(255,255,255,.28);
  	transform: translateY(-8px)
}
*/

.number-card-label {
  margin-bottom: 18px;
  	color: var(--yellow);
  	font-size: 11px;
  	font-weight: 600;
  	letter-spacing: .19em
}

.number-card-value {
  display: flex;
  	align-items: baseline;
  	gap: 9px;
  	margin-bottom: 18px;
  	color: #fff;
  	line-height: 1
}

.number-card-value strong {
  font-size: clamp(64px, 7vw, 90px);
  	font-weight: 600;
  	letter-spacing: -.06em
}

.number-card-value span {
  font-size: 25px;
  	font-weight: 600
}

.number-card-value-split {
  gap: 4px;
  	flex-wrap: nowrap
}

.number-card-value-split strong {
/*  font-size: clamp(44px, 5vw, 70px) */
}

.number-card-value-split span {
  font-size: 19px
}

.number-card-value-split b {
  margin: 0 3px;
  	color: rgba(255,255,255,.34);
  	font-size: 35px;
  	font-weight: 400
}

.number-card h3 {
  margin-bottom: 9px;
  	color: #fff;
  	font-size: 22px;
  	font-weight: 600;
}

.number-card>p:last-child {
  margin-bottom: 0;
  	color: rgba(255,255,255,.68);
  	font-size: 14px
}

.fact-list {
  display: grid;
    gap: 1px;
    margin: 0 0 30px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
}

.fact-list > div {
  display: grid;
    grid-template-columns: 140px 1fr;
    align-items: center;
    gap: 20px;
    padding: 18px 20px;
    background: var(--cream);
}

.fact-list dt {
  color: var(--orange-dark);
    font-size: 21px;
    font-weight: 700;
}

.fact-list dd {
  margin: 0;
    color: var(--muted);
    font-size: 15px;
    font-weight: 600;
}

.text-link {
  display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--navy);
    font-size: 17px;
    font-weight: 700;
}

.text-link span {
  color: var(--orange);
    transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateX(5px);
}

.section-heading {
  max-width: 860px;
    margin: 0 auto 52px;
    text-align: center;
}

.section-heading > p:last-child {
  margin: 18px 0 0;
    color: var(--muted);
    font-size: 17px;
}

.strength-grid {
  display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.strength-card {
	display: block;
	 width: 100%;
  overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.strength-card:hover {
  box-shadow: var(--shadow);
    transform: translateY(-6px);
}

.strength-image {
  position: relative;
    overflow: hidden;
    aspect-ratio: 1.55;
}

.strength-image img {
  width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.strength-card:hover .strength-image img {
  transform: scale(1.035);
}

.strength-image .number {
  position: absolute;
    bottom: 16px;
    left: 16px;
    box-shadow: 0 7px 16px rgba(0, 0, 0, 0.18);
}

.strength-body {
  padding: 28px 28px 32px;
}

.strength-body h3 {
  margin: 0 0 10px;
    color: var(--heading);
    font-size: 24px;
  	font-weight: 800;
}

.strength-body p {
  margin: 0;
    color: var(--muted);
}

.course-grid {
  display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.course-card {
	display: block;
	width: 100%;
  position: relative;
	min-height: 335px;
	padding: 24px 20px 90px;
	overflow: hidden;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-soft);
	transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.course-card::before {
  position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 7px;
    background: var(--orange);
    content: "";
}

.course-card:nth-child(2)::before {
  background: var(--blue);
}

.course-card:nth-child(3)::before {
  background: var(--green);
}

.course-card:nth-child(4)::before {
  background: var(--yellow);
}

.course-card:hover {
  border-color: rgba(255, 138, 0, 0.55);
    box-shadow: var(--shadow);
    transform: translateY(-6px);
}

.course-en {
  margin: 0 0 22px;
    color: var(--orange-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.course-card h3 {
  margin: 0 0 16px;
    color: var(--heading);
    font-size: 32px;
  	font-weight: 800;
}

.course-card > p:not(.course-en) {
  margin: 0;
    color: var(--muted);
}

.course-card > span {
  position: absolute;
    right: 28px;
    bottom: 26px;
    left: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    color: var(--navy);
    border-top: 1px solid var(--line);
    font-weight: 700;
}

.course-card span span {
  color: var(--orange);
}




/* 島根大学附属中学校 受験バナー --------------------------------------- */

.fuzoku-highlight {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 8% 16%, rgba(255, 212, 59, 0.24), transparent 26%),
    radial-gradient(circle at 92% 82%, rgba(23, 105, 194, 0.18), transparent 28%),
    linear-gradient(45deg, #f28c00 0%, #f6a300 40%, #ffba27 100%);
}

.fuzoku-highlight::before,
.fuzoku-highlight::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.fuzoku-highlight::before {
  top: -150px;
  right: -90px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.fuzoku-highlight::after {
  bottom: -170px;
  left: -70px;
  width: 300px;
  height: 300px;
  background: rgba(18, 58, 90, 0.13);
}

.fuzoku-highlight__shell {
  position: relative;
  z-index: 1;
  padding: 8px 0 0;
}

.fuzoku-highlight__heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.fuzoku-highlight__heading .section-label {
  color: rgba(255, 255, 255, 0.76);
}

.fuzoku-highlight__heading h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: 0.025em;
}

.fuzoku-highlight__heading > p:last-child {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  line-height: 1.85;
}

.fuzoku-highlight__content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.fuzoku-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  min-height: 250px;
  padding: 34px 36px;
  overflow: hidden;
  color: var(--navy);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 212, 59, 0.35), transparent 34%),
    linear-gradient(145deg, #ffffff 0%, #fff8eb 100%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(18, 58, 90, 0.16);
  transition: transform .25s ease, box-shadow .25s ease;
}

.fuzoku-banner::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 12px;
  background: linear-gradient(180deg, var(--navy) 0%, var(--blue) 100%);
  content: "";
}

.fuzoku-banner::after {
  position: absolute;
  right: -18px;
  bottom: -26px;
  width: 164px;
  height: 164px;
  background: rgba(23, 105, 194, 0.07);
  border-radius: 36px;
  transform: rotate(18deg);
  content: "";
}

.fuzoku-banner:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(18, 58, 90, 0.2);
}

.fuzoku-banner__eyebrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 30px;
  padding: 0 14px;
  color: var(--white);
  background: var(--navy);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.fuzoku-banner__title {
  position: relative;
  z-index: 1;
  color: var(--heading);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.025em;
}

.fuzoku-banner__text {
  position: relative;
  z-index: 1;
  max-width: 540px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.fuzoku-banner__link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  color: var(--orange-dark);
  font-size: 15px;
  font-weight: 800;
}

.fuzoku-banner__link span {
  font-size: 18px;
  transition: transform .2s ease;
}

.fuzoku-banner:hover .fuzoku-banner__link span {
  transform: translateX(3px);
}

.fuzoku-result {
  position: relative;
  display: grid;
  grid-template-areas:
    "label label label"
    "year number badge"
    "year internal badge"
    "message message message";
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto auto auto;
  column-gap: 16px;
  align-items: center;
  min-height: 250px;
  padding: 26px 28px;
  text-align: center;
  background: rgba(18, 58, 90, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(18, 58, 90, 0.18);
}

.fuzoku-result::before {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  content: "";
  pointer-events: none;
}

.fuzoku-result__label {
  position: relative;
  z-index: 1;
  grid-area: label;
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.fuzoku-result__year {
  position: relative;
  z-index: 1;
  grid-area: year;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 20px;
  font-weight: 700;
}

.fuzoku-result__value {
  position: relative;
  z-index: 1;
  display: contents;
  margin: 0;
}

.fuzoku-result__value strong {
  color: var(--white);
  font-size: clamp(52px, 6vw, 76px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.fuzoku-result__number {
  position: relative;
  z-index: 1;
  grid-area: number;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
}

.fuzoku-result__unit {
  color: var(--white);
  font-size: clamp(16px, 2vw, 24px);
}

.fuzoku-result__internal {
  position: relative;
  z-index: 1;
  grid-area: internal;
  color: var(--white);
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: normal;
  line-height: 1.4;
  letter-spacing: 0;
}

.fuzoku-result__value strong > span {
  font-size: clamp(16px, 2vw, 24px);
	font-weight: normal;
}

.fuzoku-result__value strong > span > span {
	display: block;
  font-size: clamp(14px, 1.4vw, 16px);
	font-weight: normal;
  letter-spacing: 0em;
}

.fuzoku-result__badge,
.fuzoku-result__value > span:not([class]) {
  position: relative;
  z-index: 1;
  grid-area: badge;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 4px 16px;
  color: var(--navy);
  background: var(--yellow);
  border-radius: 999px;
  font-size: 20px;
  font-weight: 800;
}

.fuzoku-result__note {
  position: relative;
  z-index: 1;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.6;
}

.fuzoku-result__message,
.fuzoku-result > p:not([class]) {
  position: relative;
  z-index: 1;
  grid-area: message;
  display: block;
  margin: 18px 0 0;
  padding: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 0;
  font-size: 15px;
  line-height: 1.85;
  text-align: left;
}

.school-banner {
  padding-top: 28px;
}

.school-panel {
  display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    min-height: 300px;
    padding: 54px 64px;
    color: var(--white);
    background:
      linear-gradient(100deg, rgba(0, 104, 183, 0.98) 0%, rgba(0, 104, 183, 0.86) 58%, rgba(0, 104, 183, 0.58) 100%),
      url("../images/hero-group.jpg") center 42% / cover no-repeat;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.school-panel h2 {
  color: var(--white);
}

.school-panel p:not(.section-label) {
  max-width: 660px;
	margin: 16px 0 0;
	font-size: 18px;
}

.guide-grid {
  display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.guide-card {
  display: grid;
    grid-template-columns: 58px 1fr auto;
    align-items: center;
    gap: 18px;
    min-height: 136px;
    padding: 26px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.guide-card:hover {
  border-color: var(--orange);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.guide-icon {
  display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    color: var(--white);
    background: var(--orange);
    border-radius: 17px;
    font-size: 25px;
    font-style: normal;
    font-weight: 800;
}

.guide-card:nth-child(2) .guide-icon {
  background: var(--blue);
}

.guide-card:nth-child(3) .guide-icon {
  background: var(--green);
}

.guide-card strong,
.guide-card small {
  display: block;
}

.guide-card strong {
  color: var(--navy);
    font-size: 21px;
}

.guide-card small {
  margin-top: 3px;
    color: var(--muted);
    font-size: 13px;
}

.guide-card i {
  color: var(--orange);
    font-size: 22px;
    font-style: normal;
}

.faq-grid {
  display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    align-items: start;
    gap: 80px;
}

.faq-grid .section-heading {
  position: sticky;
    top: calc(var(--header-height) + 40px);
    margin: 0;
    text-align: left;
}

.faq-list {
  display: grid;
    gap: 14px;
}

.faq-list details {
  background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 7px 20px rgba(18, 58, 90, 0.05);
}

.faq-list summary {
  position: relative;
    padding: 22px 58px 22px 24px;
    color: var(--navy);
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before,
.faq-list summary::after {
  position: absolute;
    top: 50%;
    right: 24px;
    width: 18px;
    height: 2px;
    background: var(--orange);
    content: "";
    transform: translateY(-50%);
    transition: transform 0.2s ease;
}

.faq-list summary::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(0deg);
}

.faq-list details p {
  margin: 0;
    padding: 0 24px 24px;
    color: var(--muted);
}

@media (max-width: 1180px) {
  .hero-stage {
    grid-template-columns: minmax(460px, 0.98fr) minmax(460px, 1.02fr);
  }

  .hero-copy {
    padding-left: 40px;
  }

  .hero-actions {
    grid-template-columns: minmax(170px, 1fr) minmax(174px, 0.95fr);
    gap: 10px 12px;
    max-width: 100%;
  }

  .hero-history {
    min-width: 0;
    padding-inline: 12px;
  }

  .hero-history strong {
    font-size: 22px;
  }

  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .number-card {
    padding-inline: 24px
  }

	.thanksMessage {
		font-size: 33px;
		font-weight: bold;
	}
}

@media (max-width: 900px) {
  /* common.css の .section と元のカスケード順を同じに保つ */
	.thanksMessage {
		font-size: 26px;
		font-weight: bold;
		padding: 20px 10px;
	}

  .school-banner {
    padding-top: 88px;
  }

	.emblem {
		display: none;
	}

  .hero-stage {
		position: relative;
    display: grid;
        grid-template-columns: 1fr;
        min-height: auto;
  }

  .hero-copy {
    display: contents;
  }

  .hero-visual {
    grid-area: 1 / 1;
        min-height: auto;
        aspect-ratio: 1.08;
  }

  .hero-visual::after {
    inset: auto 0 0;
        width: auto;
        height: 48%;
        background: linear-gradient(0deg, rgba(0, 104, 183, 0.78), rgba(0, 104, 183, 0));
  }

  .hero-visual img {
    object-position: center 30%;
  }

  .hero-kicker-desktop,
  .hero-title-desktop,
  .hero-lead-desktop {
    display: none;
  }

  .hero-kicker-mobile,
  .hero-title-mobile,
  .hero-lead-mobile {
    display: inline;
  }

  .hero-kicker {
    z-index: 2;
        grid-area: 1 / 1;
        align-self: start;
        justify-self: start;
        margin: 22px;
        padding: 7px 13px;
        font-size: 14px;
  }

  .hero-title {
    z-index: 2;
		grid-area: 1 / 1;
		align-self: end;
		margin: 0;
		padding: 34px 10px 26px 28px;
		color: var(--white);
		font-size: clamp(35px, 7.5vw, 56px);
		line-height: 1.22;

		display: flex;
		align-items: center;
  }

	.mobile-emblem {
		display: block;
		flex: 1 1 auto;
		height: auto;
		z-index: 2;
	}

	.hero-title-mobile {
		flex: 0 0 auto;
		white-space: nowrap;
	}

  .hero-lead {
    grid-row: 2;
        margin: 0;
        padding: 26px 28px 0;
        background: var(--cream);
        font-size: 18px;
  }


  .hero-actions {
    display: grid;
        grid-template-columns: 1fr;
        grid-template-areas:
          "primary"
          "secondary"
          "history";
        grid-row: 3;
        gap: 10px;
        max-width: none;
        margin: 0;
        padding: 24px 28px 26px;
        background: var(--cream);
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-history {
    min-width: 0;
		min-height: 78px;
		padding: 12px 18px 11px;
		border-radius: 13px;
		transform: none;
  }

  .hero-history strong {
    font-size: 24px;
  }



  .hero-badges {
    display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-row: 4;
        gap: 0;
        margin: 0;
        padding: 0 20px 18px;
        background: var(--cream);
  }

  .hero-badges span {
    min-width: 0;
        padding: 10px 4px;
        background: transparent;
        border: 0;
        border-right: 1px solid var(--line);
        border-radius: 0;
        font-size: 16px;
  }

  .hero-badges span:nth-child(2) {
    color: var(--blue);
  }

  .hero-badges span:nth-child(3) {
    color: var(--green);
        border-right: 0;
  }

  .hero-values {
    grid-template-columns: 1fr;
        gap: 0;
        width: 100%;
        padding: 0 24px 22px;
        background: var(--cream);
  }

  .value-card {
    padding: 18px 4px;
        border-top: 1px solid var(--line);
  }

  .finder-inner {
    grid-template-columns: 1fr;
        gap: 18px;
  }

  .finder-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .message-grid {
    grid-template-columns: 1fr;
        gap: 56px;
  }

  .message-photo {
    width: min(92%, 560px);
        margin-inline: auto;
  }

  .number-grid {
    grid-template-columns: 1fr
  }

  .number-card {
    min-height: 280px
  }

  .number-card-value strong {
    font-size: 84px
  }

  .strength-grid {
    grid-template-columns: 1fr;
  }

  .strength-card {
    display: grid;
        grid-template-columns: minmax(240px, 0.9fr) 1.1fr;
  }

  .strength-image {
    aspect-ratio: auto;
        min-height: 280px;
  }

  .school-panel {
    align-items: flex-start;
        flex-direction: column;
  }

  .school-panel {
    padding: 50px 42px;
  }

  .guide-grid {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
        gap: 42px;
  }

  .faq-grid .section-heading {
    position: static;
        max-width: 760px;
        margin: 0;
  }
}

@media (max-width: 720px) {
  .section-tight {
    padding: 24px 0;
  }

  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: initial;
  }

  .hero-visual {
    aspect-ratio: 0.92;
  }

  .hero-visual img {
    object-position: center center;
  }

  .hero-title {
    padding: 28px 24px 22px;
        font-size: clamp(30px, 4vw, 42px 9vw);
  }

  .hero-lead {
    padding: 24px 24px 0;
        font-size: 16px;
  }

  .hero-actions {
    padding: 22px 24px 22px;
  }

  .hero-badges {
    padding-inline: 18px;
  }

  .hero-badges span {
    font-size: 15px;
  }

  .hero-values {
    width: min(calc(100% - 36px), var(--container));
    gap: 12px;
    padding-top: 16px;
    padding-inline: 20px;
  }

  .top-cms-notice {
    width: min(calc(100% - 36px), var(--container));
    padding-top: 22px;
  }

  .top-cms-notice__inner {
    padding: 20px 18px;
    border-radius: 10px;
    font-size: 20px;
    line-height: 1.65;
  }

  .value-card h2 {
    font-size: 17px;
  }

  .number {
    width: 44px;
		height: 44px;
		font-size: 17px;
		color: var(--muted);
  }

  .finder h2 {
    font-size: 19px;
  }

  .finder-links {
    gap: 10px;
  }

  .finder-links a {
    min-height: 54px;
        padding-inline: 14px;
  }

  .message-photo::before {
    top: -14px;
        right: -12px;
  }

  .photo-note {
    right: -10px;
        bottom: 20px;
        padding: 9px 14px;
        font-size: 13px;
  }

  .message-copy h2,
  .section-heading h2,
  .school-panel h2 {
    font-size: clamp(28px, 9vw, 30px);
  }

	.course-card h3 {
			font-size: 28px;
	}

  .message-intro {
    margin-top: 20px;
        font-size: 16px;
  }

  .fact-list > div {
    grid-template-columns: 1fr;
        gap: 3px;
        padding: 15px 17px;
  }

  .fact-list dt {
    font-size: 18px;
  }

  .section-heading {
    margin-bottom: 36px;
        text-align: left;
  }

  .section-heading > p:last-child {
    font-size: 15px;
  }

  .strength-card {
    display: block;
  }

  .strength-image {
    aspect-ratio: 1.55;
        min-height: 0;
  }

  .strength-body {
    padding: 24px 22px 27px;
  }

  .strength-body h3 {
    font-size: 25px;
  }

  .course-grid {
    grid-template-columns: 1fr;
  }

  .course-card {
    min-height: 285px;
  }

  .school-banner {
    padding-top: 0;
  }

  .school-panel {
    width: 100%;
        min-height: 390px;
        padding: 42px 28px;
        border-radius: 0;
        background:
          linear-gradient(180deg, rgba(18, 58, 90, 0.9), rgba(18, 58, 90, 0.7)),
          url("../images/hero-group.jpg") 63% center / cover no-repeat;
  }

  .school-panel .button {
    width: 100%;
  }

  .guide-card {
    grid-template-columns: 50px 1fr auto;
        gap: 14px;
        min-height: 116px;
        padding: 20px;
  }

  .guide-icon {
    width: 50px;
        height: 50px;
        border-radius: 14px;
        font-size: 22px;
  }

  .guide-card strong {
    font-size: 18px;
  }

  .faq-list summary {
    padding: 20px 50px 20px 19px;
        font-size: 15px;
  }

  .faq-list summary::before,
  .faq-list summary::after {
    right: 19px;
  }

  .faq-list details p {
    padding: 0 19px 20px;
  }

  .brand-copy-accent {
    width: 88px
  }
}

@media (max-width: 390px) {
  .hero-title {
    font-size: 29px;
  }

  .hero-badges span {
    font-size: 14px;
  }

  .finder-links {
    grid-template-columns: 1fr;
  }

  .finder-links a {
    justify-content: space-between;
  }
}

/* ISC Matsue Study Abroad Center ----------------------------------------- */
.isc-banner {
  padding: 58px 0;
  background: linear-gradient(180deg, #f7fbf8 0%, #ffffff 100%);
}

.isc-banner__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  align-items: center;
  gap: clamp(30px, 5vw, 64px);
  max-width: none;
  margin: 0 auto;
  padding: 30px clamp(34px, 5vw, 62px);
  color: var(--navy);
  text-decoration: none;
  background: var(--white);
  border: 1px solid rgba(21, 167, 122, 0.22);
  border-radius: var(--radius);
  box-shadow: 0 20px 55px rgba(18, 58, 90, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.isc-banner__card:hover,
.isc-banner__card:focus-visible {
  color: var(--navy);
  transform: translateY(-4px);
  box-shadow: 0 26px 64px rgba(18, 58, 90, 0.16);
}

.isc-banner__copy {
  display: block;
  min-width: 0;
}

.isc-banner__eyebrow {
  display: block;
  margin-bottom: 5px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.isc-banner__title {
  display: block;
  font-size: clamp(27px, 3.2vw, 40px);
  font-weight: 800;
  line-height: 1.35;
}

.isc-banner__title > span {
  color: #df3333;
  font-style: italic;
}

.isc-banner__message {
  display: block;
  max-width: 710px;
  margin-top: 13px;
  font-size: 15px;
  line-height: 1.75;
}

.isc-banner__destinations {
  display: block;
  margin-top: 7px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.isc-banner__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 800;
}

.isc-banner__more i {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  color: var(--white);
  font-style: normal;
  background: var(--orange);
  border-radius: 50%;
  transition: transform 0.25s ease;
}

.isc-banner__card:hover .isc-banner__more i,
.isc-banner__card:focus-visible .isc-banner__more i {
  transform: translateX(3px);
}

.isc-banner img {
  width: 132px;
  height: auto;
  justify-self: end;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(18, 58, 90, 0.12);
}

@media (max-width: 720px) {
  .isc-banner {
    padding: 42px 0;
  }

  .isc-banner__card {
    grid-template-columns: minmax(0, 1fr) 86px;
    gap: 18px;
    padding: 24px 20px;
    border-radius: var(--radius-sm);
  }

  .isc-banner__title {
    font-size: clamp(22px, 6.5vw, 29px);
  }

  .isc-banner__message {
    font-size: 13px;
    line-height: 1.65;
  }

  .isc-banner__destinations {
    font-size: 12px;
  }

  .isc-banner img {
    width: 86px;
  }
}

@media (max-width: 480px) {
  .isc-banner__card {
    grid-template-columns: minmax(0, 1fr) 72px;
    gap: 14px;
    padding: 22px 17px;
  }

  .isc-banner__eyebrow {
    font-size: 11px;
  }

  .isc-banner__title {
    font-size: clamp(20px, 5.8vw, 24px);
  }

  .isc-banner__message {
    margin-top: 9px;
    font-size: 12px;
  }

  .isc-banner__more {
    margin-top: 11px;
    font-size: 12px;
  }

  .isc-banner__more i {
    width: 25px;
    height: 25px;
  }

  .isc-banner img {
    width: 72px;
  }
}

@media (max-width: 900px) {
  .news {
    padding: 78px 0;
  }

  .news-shell {
    grid-template-columns: 1fr;
  }

  .news-intro {
    min-height: 0;
        padding: 38px 36px 34px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
  }

  .news-intro > p:not(.section-label) {
    max-width: 620px;
        margin-bottom: 24px;
  }

  .news-all-link {
    margin-top: 0;
  }

  .news-list {
    padding: 8px 28px;
  }

  .news-item a {
    grid-template-columns: minmax(160px, 0.34fr) minmax(0, 1fr) 42px;
  }
}

@media (max-width: 720px) {
  .news {
    padding: 62px 0;
  }

  .news-shell {
    border-radius: 20px;
  }

  .news-intro {
    padding: 30px 23px 28px;
  }

  .news-icon {
    top: 25px;
        right: 21px;
        width: 50px;
        height: 50px;
        border-radius: 15px;
  }

  .news-icon svg {
    width: 27px;
        height: 27px;
  }

  .news-intro .section-label {
    margin-right: 58px;
  }

  .news-intro h2 {
    font-size: 34px;
  }

  .news-intro > p:not(.section-label) {
    margin: 16px 0 22px;
        font-size: 14px;
  }

  .news-list {
    padding: 0 18px;
  }

  .news-item a {
    grid-template-columns: minmax(0, 1fr) 36px;
        gap: 9px 12px;
        min-height: 0;
        margin-inline: -7px;
        padding: 21px 7px;
  }

  .news-meta {
    grid-column: 1;
  }

  .news-meta time {
    flex-basis: auto;
        font-size: 13px;
  }

  .news-category,
  .news-new {
    min-height: 25px;
        padding-inline: 9px;
        font-size: 10px;
  }

  .news-item h3 {
    grid-column: 1;
        font-size: 15px;
        line-height: 1.6;
  }

  .news-arrow {
    grid-column: 2;
        grid-row: 1 / 3;
        align-self: center;
        width: 36px;
        height: 36px;
  }
}

@media (max-width: 390px) {
  .news-intro {
    padding-inline: 20px;
  }

  .news-icon {
    right: 18px;
  }

  .news-list {
    padding-inline: 15px;
  }

  .news-meta {
    gap: 6px;
  }
}

@media (max-width: 900px) {
  .exam-countdown {
    padding: 76px 0 80px;
  }

  .countdown-heading {
    grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 32px;
  }

  .countdown-heading > p {
    max-width: 660px;
  }

  .countdown-grid {
    grid-template-columns: 1fr;
        gap: 16px;
  }

  .countdown-card {
    display: grid;
        grid-template-columns: minmax(240px, 0.9fr) minmax(300px, 1.1fr);
        align-items: center;
        gap: 24px;
        padding: 26px 26px 20px;
  }

  .countdown-card-heading {
    min-height: 0;
  }

  .countdown-time {
    margin-top: 0;
  }

  .countdown-state {
    grid-column: 1 / -1;
        margin-top: -4px;
  }
}

@media (max-width: 720px) {
  .exam-countdown {
    padding: 64px 0 68px;
  }

  .countdown-heading h2 {
    font-size: clamp(31px, 9vw, 42px);
  }

  .countdown-heading > p {
    font-size: 14px;
  }

  .countdown-card {
    display: block;
        padding: 25px 18px 19px;
        border-radius: 18px;
  }

  .countdown-card-heading {
    min-height: 100px;
  }

  .countdown-card h3 {
    font-size: 17px;
  }

  .countdown-time {
    min-height: 112px;
        gap: 12px;
        margin-top: 14px;
        padding: 22px 17px 18px 22px;
        border-radius: 13px;
  }

  .countdown-value strong {
    font-size: clamp(50px, 16vw, 66px);
  }

  .countdown-value small {
    font-size: 16px;
  }

  .countdown-scale {
    padding: 5px 8px 4px;
        font-size: 8px;
        letter-spacing: 0.1em;
  }

  .countdown-state {
    margin-top: 13px;
        font-size: 11px;
  }
}

@media (max-width: 390px) {
  .countdown-card-heading {
    min-height: 108px;
  }

  .countdown-time {
    min-height: 104px;
        padding-inline: 20px 14px;
  }

  .countdown-value strong {
    font-size: 48px;
  }

  .countdown-value small {
    font-size: 14px;
  }

  .countdown-scale {
    max-width: 96px;
        overflow: hidden;
        text-overflow: ellipsis;
  }
}

@media (prefers-reduced-motion: reduce) {
  .countdown-time[data-countdown-mode="seconds"] .countdown-value strong {
    animation: none;
  }
}

.content-tree-finder h2 {
  min-width: 11em;
}

.finder-links-six {
  grid-template-columns: repeat(3, minmax(120px, 1fr));
}

.section-heading > p:not(.section-label) {
  max-width: 780px;
    margin-top: 14px;
    color: var(--muted);
    font-size: 17px;
}

.about-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-kicker {
  margin: 0 0 7px;
    color: var(--orange-dark);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.card-link {
  display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
    color: var(--navy);
    font-weight: 700;
    border-bottom: 2px solid var(--orange);
}

.card-link span {
  color: var(--orange);
}

.number-yellow {
  color: var(--navy);
    background: var(--yellow);
}

.programs {
  background: linear-gradient(180deg, #fff 0%, #fff9f0 100%);
}

.program-grid,
.course-grid-five {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.program-grid .course-card,
.course-grid-five .course-card {
  min-height: 300px;
    margin-left: auto;
    margin-right: auto;
}

.guide-grid-six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-grid-six .guide-card {
  min-height: 126px;
}

@media (max-width: 1180px) {
  .finder-links-six,
  .about-grid,
  .program-grid,
  .course-grid-five {
    grid-template-columns: 1fr 1fr;
  }

  .program-grid .course-card,
  .course-grid-five .course-card {
    min-height: 260px;
  }
}

@media (max-width: 900px) {
  .about-grid,
  .guide-grid-six {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .finder-links-six,
  .about-grid,
  .program-grid,
  .course-grid-five {
    grid-template-columns: 1fr;
  }

  .content-tree-finder {
    align-items: stretch;
  }

  .program-grid .course-card,
  .course-grid-five .course-card {
    min-height: 0;
  }
}


@media (max-width: 1100px) {
  .fuzoku-highlight__content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fuzoku-banner {
    min-height: 230px;
    padding: 30px 30px 30px 32px;
  }
}

@media (max-width: 900px) {
  .fuzoku-highlight__heading {
    margin-bottom: 26px;
  }

  .fuzoku-highlight__content {
    grid-template-columns: 1fr;
  }

  .fuzoku-result {
    min-height: 0;
  }

}

@media (max-width: 720px) {
  .fuzoku-highlight__heading h2 {
    font-size: 34px;
  }

  .fuzoku-highlight__heading > p:last-child {
    font-size: 14px;
    line-height: 1.8;
  }

  .fuzoku-banner {
    min-height: 0;
    padding: 24px 22px 24px 26px;
    border-radius: 22px;
  }

  .fuzoku-banner::before {
    width: 9px;
  }

  .fuzoku-banner__title {
    font-size: 28px;
    line-height: 1.45;
  }

  .fuzoku-banner__text {
    font-size: 14px;
    line-height: 1.75;
  }

  .fuzoku-result {
    display: flex;
    flex-direction: column;
    padding: 24px 18px 22px;
    border-radius: 22px;
  }

  .fuzoku-result__message,
  .fuzoku-result > p:not([class]) {
    display: block;
    width: 100%;
    max-width: 520px;
    margin: 20px auto 0;
    padding: 18px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
  }

  .fuzoku-result__value {
    display: grid;
    grid-template-areas:
      "number badge"
      "internal badge";
    grid-template-columns: auto auto;
    align-items: center;
    justify-content: center;
    column-gap: 18px;
  }

  .fuzoku-result__year {
    font-size: 18px;
  }

  .fuzoku-result__value strong {
    font-size: 84px;
  }

  .fuzoku-result__value strong > span {
    font-size: 19px;
  }

  .fuzoku-result__value > span {
    min-height: 34px;
    font-size: 18px;
  }
}
