@charset "UTF-8";
/*Top Page CSS*/
.school-top-content {
  --school-navy: #073d8c;
  --school-blue: #0089d0;
  --school-gold: #f6a800;
  --school-ink: #29333d;
  --school-muted: #62707d;
  --school-pale: #f1faf9;
  box-sizing: border-box;
  color: var(--school-ink);
  background: #fff;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 15px;
  line-height: 1.7;
}
.school-top-content *, .school-top-content *::before, .school-top-content *::after { box-sizing: border-box; }
.school-top-content img { display: block; max-width: 100%; }
.school-top-content h2, .school-top-content h3, .school-top-content p { margin: 0; }
.school-top-content a { text-decoration: none; }
.school-top-content .school-container { width: min(100% - 40px, 1000px); margin: 0 auto; }
.school-top-content .school-section-heading { text-align: center; }
.school-top-content .school-section-heading__en { color: var(--school-blue); font: 700 12px/1.4 Arial, sans-serif; letter-spacing: .24em; }
.school-top-content .school-section-heading h2 {
	margin-top: 5px;
	color: var(--school-navy);
	font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
	font-size: clamp(23px, 2.5vw, 31px);
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: .06em;
}
.school-top-content .school-section-heading h2::after { 
	content: "";
	display: block;
	width: 120px;
	height: 25px;
	margin: 10px auto 0;
	background: url("../images/line.png") center center / contain no-repeat;
}
@media screen and (max-width: 767px) {
	.school-top-content .school-section-heading h2::after { 
		width: 100px;
		height: 25px;
		margin-top: 10px;
	}
}

.school-top-content .school-section-heading__decoration { display: block; position: relative; width: 76px; height: 12px; margin: 12px auto 0; }
.school-top-content .school-section-heading__decoration::before { content: ""; position: absolute; top: 6px; left: 0; right: 0; height: 2px; background: var(--school-gold); }
.school-top-content .school-section-heading__decoration::after { content: ""; position: absolute; top: 2px; left: 33px; width: 10px; height: 10px; transform: rotate(45deg); background: var(--school-gold); box-shadow: 0 0 0 5px #fff; }
.school-top-content .school-courses .school-section-heading__decoration::after { box-shadow: 0 0 0 5px var(--school-pale); }

/* PURPOSE */
.school-top-content .school-purpose { padding: 74px 0 83px; background: #fff; }
.school-top-content .school-purpose__lead { max-width: 760px; margin: 43px auto 50px; text-align: center; font-size: 18px; line-height: 1.9; }
.school-top-content .school-purpose__lead strong { color: var(--school-navy); font-weight: 700; }
.school-top-content .school-purpose__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.school-top-content .school-point-card { min-width: 0; background: #fff; border: 1px solid #edf0f4; border-radius: 14px; box-shadow: 0 7px 13px rgba(18, 53, 93, .09); }
.school-top-content .school-point-card__photo { overflow: hidden; border-radius: 13px 13px 0 0; aspect-ratio: 313 / 181; }
.school-top-content .school-point-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.school-top-content .school-point-card__content { position: relative; padding: 36px 20px 29px; }
/* 番号はカード内部に配置しており、CMSのoverflow:hiddenによる切れを回避 */
.school-top-content .school-point-card__number { position: absolute; top: -26px; left: 20px; display: grid; place-items: center; width: 48px; height: 48px; border: 3px solid #fff; border-radius: 50%; color: #fff; background: var(--school-navy); font: 700 18px/1 Arial, sans-serif; z-index: 1; }
.school-top-content .school-point-card__eyebrow { color: var(--school-blue); font: 700 12px/1.3 Arial, sans-serif; letter-spacing: .04em; }
.school-top-content .school-point-card h3 { margin-top: 7px; color: var(--school-navy); font-weight: bold; font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif; font-size: 18px; line-height: 1.45; letter-spacing: -0.03em; }
.school-top-content .school-point-card__content > p:last-child { margin-top: 15px; font-size: 15px; line-height: 1.8; }

/* NEW COURSES */
.school-top-content .school-courses { padding: 78px 0 0 0; background: var(--school-pale); }
.school-top-content .school-section-heading__sub { margin-top: 20px; font-size: 14px; }
.school-top-content .school-courses__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 48px; }
.school-top-content .school-course-card { min-width: 0; overflow: hidden; background: #fff; border: 1px solid #e9eef2; border-radius: 14px; display: flex; flex-direction: column; }
.school-top-content .school-course-card__photo { position: relative; aspect-ratio: 313 / 154; overflow: hidden; }
.school-top-content .school-course-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.school-top-content .school-course-card__tag { position: absolute; top: 12px; left: 12px; padding: 4px 11px; border-radius: 20px; color: #fff; background: var(--school-navy); font: 700 11px/1.4 Arial, sans-serif; }
.school-top-content .school-course-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 20px 20px 19px;
	justify-content: space-between;
	}
.school-top-content .school-course-card__heading { display: flex; gap: 10px; align-items: center; min-height: 47px; }
.school-top-content .school-course-card__icon { display: grid; place-items: center; flex: 0 0 43px; width: 43px; height: 43px; border-radius: 10px; background: #c9f0ff; color: #007cc3; font: 700 22px/1 Arial, sans-serif; }
.school-top-content .school-course-card__en { color: #bd7c08; font: 700 10px/1.4 Arial, sans-serif; letter-spacing: .06em; }
.school-top-content .school-course-card h3 {
	margin-top: 4px;
	color: var(--school-navy);
	font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
	font-size: 17px;
	line-height: 1.4;
	font-weight: 700;
	letter-spacing: -0.08em;
	}
.school-top-content .school-course-card__message { min-height: 43px; margin-top: 16px; padding: 10px 12px; border-left: 4px solid var(--school-gold); border-radius: 0 6px 6px 0; background: #fff8eb; color: #222; font-size: 12px; font-weight: 700; line-height: 1.65; }
.school-top-content .school-course-card__link, .school-top-content .school-course-card__pending { display: flex; justify-content: center; align-items: center; min-height: 44px; margin-top: auto; border-radius: 28px; text-align: center; font-size: 13px; }
.school-top-content .school-course-card__link { margin-top: 17px; gap: 7px; background: var(--school-navy); color: #fff; font-weight: 700; transition: background-color .2s; }
.school-top-content .school-course-card__link:hover, .school-top-content .school-course-card__link:focus-visible { background: #0065b4; }
.school-top-content .school-course-card__pending { margin-top: 17px; background: #f7f9fa; color: #879199; }
@media (max-width: 900px) {
  .school-top-content .school-container { width: min(100% - 36px, 720px); }
  .school-top-content .school-purpose__grid, .school-top-content .school-courses__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
}
@media (max-width: 600px) {
  .school-top-content .school-container { width: min(100% - 32px, 420px); }
  .school-top-content .school-purpose { padding: 56px 0 66px; }
  .school-top-content .school-courses { padding: 62px 0 72px; }
  .school-top-content .school-section-heading h2 { font-size: 23px; }
  .school-top-content .school-purpose__lead { margin: 29px auto 34px; font-size: 13px; text-align: left; }
  .school-top-content .school-purpose__grid, .school-top-content .school-courses__grid { grid-template-columns: 1fr; gap: 22px; }
  .school-top-content .school-courses__grid { margin-top: 32px; }
  .school-top-content .school-point-card__content { padding: 34px 20px 26px; }
  .school-top-content .school-point-card h3 { font-size: 18px; }
  .school-top-content .school-course-card__body { padding: 18px; }
  .school-top-content .school-course-card h3 { font-size: 18px; }
}


/* お知らせセクション */
.school-news {
	max-width: 1120px;
	margin: 0 auto;
	padding: 20px 0 40px;
	font-family: Arial, "Noto Sans JP", sans-serif;
}

/* 3列レイアウト */
.school-news__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

/* 各記事 */
.school-news__item {
	min-width: 0;
}

.school-news__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

/* アイキャッチ画像 */
.school-news__image {
	width: 100%;
	aspect-ratio: 1.9 / 1;
	overflow: hidden;
	border-radius: 10px;
	background: #e6e6e6;
}

.school-news__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.school-news__link:hover .school-news__image img {
	transform: scale(1.04);
}

/* タイトル：最大2行 */
.school-news__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;

	margin: 10px 10px 0!important;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5!important;
	color: #333;
	overflow-wrap: anywhere;
}

.school-news__link:hover .school-news__title {
	color: #006cbd;
}

/* お知らせ一覧ボタン */
.school-news__more {
	display: flex;
	justify-content: center;
	margin-top: 60px;
}

.school-news__more-link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	width: 320px;
	max-width: 100%;
	min-height: 58px;
	box-sizing: border-box;
	border: 2px solid #030c7e;
	border-radius: 100px;
	background: #fff;
	box-shadow: 0 4px 0 #e5e5e5;
	color: #030c7e;
	font-size: 20px;
	font-weight: 700;
	text-decoration: none;
	transition: 0.3s ease;
}

.school-news__more-link:hover {
	color: #030c7e;
	background: #e6e6e6;
	box-shadow: 0 2px 0 #ddd;
	transform: translateY(2px);
}

/* タブレット */
@media (max-width: 900px) {
	.school-news__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}
}

/* スマートフォン */
@media (max-width: 600px) {
	.school-news {
		padding: 15px 0 30px;
	}

	.school-news__grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.school-news__title {
		font-size: 16px;
	}

	.school-news__more {
		margin-top: 40px;
	}

	.school-news__more-link {
		min-height: 60px;
		font-size: 18px;
	}
}

.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background-color: #f3f4f6; /* 背景色はお好みで調整 */
  padding: 12px 0;
  box-sizing: border-box;
}

/* 横並びにしてアニメーションを適用 */
.ticker {
  display: flex;
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
}

/* ホバー時にアニメーションを一時停止させる場合 */
.ticker:hover {
  animation-play-state: paused;
}

/* 各テキストアイテムのスタイル */
.ticker__item {
  padding: 0 3rem;
  white-space: nowrap;
  font-size: 1.1rem;
}

.ticker__item a {
  color: #333;
  text-decoration: none;
}

.ticker__item a:hover {
  text-decoration: underline;
}

/* 無限ループのアニメーション定義 */
@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}