/**
 * 「品高とは」ページ群の基盤スタイルを管理する。
 *
 * 学校紹介トップと学校理念ページで共有するレイアウト、部品、
 * 画面幅に依存しない共通値をページ固有CSSより前に定義する。
 */

/**
 * 1.0 「品高とは」ページ群の共通基盤
 *
 * 学校紹介トップと学校理念ページで共通利用するブランドトークン、文字組み、
 * コンテナ、カード部品を一度だけ定義する。ページ固有のセクションは後続ブロックへ分離し、
 * 同じ値を別ルートへ重複記述して後から同期する必要がない構造を維持する。
 */

.shs-about-exact,
.shs-philosophy-exact {
	--wine: #9e5369;
	--rose: #ef78bc;
	--rose-soft: rgba(239, 120, 188, 0.09);
	--rose-pale: rgba(239, 120, 188, 0.03);
	--ink: #282329;
	--muted: #746b70;
	--line: rgba(239, 120, 188, 0.14);
	--white: #ffffff;
	--shadow: 0 18px 50px rgba(158, 83, 105, 0.12);
	--radius: 22px;
	--container: 1180px;
	color: var(--ink);
	background: var(--white);
	font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	line-height: 1.8;
	overflow: hidden;
}

.shs-about-exact *,
.shs-philosophy-exact * {
	box-sizing: border-box;
}

.shs-about-exact a,
.shs-philosophy-exact a {
	color: inherit;
	text-decoration: none;
}

.shs-about-exact img,
.shs-philosophy-exact img {
	max-width: 100%;
	display: block;
}

.shs-about-exact .container,
.shs-philosophy-exact .container {
	width: min(var(--container), calc(100% - 48px));
	margin: 0 auto;
}

.shs-about-exact .eyebrow,
.shs-philosophy-exact .eyebrow {
	margin: 0 0 10px;
	color: var(--rose);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.19em;
	text-transform: uppercase;
}

.shs-about-exact .section-title,
.shs-philosophy-exact .section-title {
	margin: 0;
	color: var(--wine);
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(28px, 3.6vw, 44px);
	font-weight: 500;
	letter-spacing: 0.06em;
}

.shs-about-exact .section-copy,
.shs-philosophy-exact .section-copy {
	margin: 20px 0 0;
	color: var(--muted);
}

.shs-about-exact .accent-line,
.shs-philosophy-exact .accent-line {
	width: 46px;
	height: 2px;
	margin: 18px 0;
	background: var(--rose);
}

.shs-about-exact .card-grid,
.shs-philosophy-exact .card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.shs-about-exact .link-card,
.shs-philosophy-exact .link-card {
	min-height: 310px;
	padding: 45px 36px 34px;
	text-align: center;
	background: var(--white);
	border: 1px solid rgba(239, 120, 188, 0.8);
	border-radius: 18px;
	box-shadow: 0 14px 38px rgba(158, 83, 105, 0.08);
}

.shs-about-exact .card-icon,
.shs-philosophy-exact .card-icon {
	width: 54px;
	height: 54px;
	margin: 0 auto 18px;
	display: grid;
	place-items: center;
	color: var(--rose);
	background: var(--rose-pale);
	border-radius: 50%;
}

.shs-about-exact .card-icon svg,
.shs-philosophy-exact .card-icon svg,
.shs-philosophy-exact .p3-meta svg {
	width: 30px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.5;
}

.shs-about-exact .link-card h3,
.shs-philosophy-exact .link-card h3 {
	position: relative;
	margin: 0;
	padding-bottom: 18px;
	color: var(--wine);
	font-family: "Yu Mincho", serif;
	font-size: 25px;
	font-weight: 600;
	letter-spacing: 0.12em;
}

.shs-about-exact .link-card h3::after,
.shs-philosophy-exact .link-card h3::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 4px;
	width: 34px;
	height: 2px;
	transform: translateX(-50%);
	background: var(--rose);
}

.shs-about-exact .link-card p,
.shs-philosophy-exact .link-card p {
	margin: 18px 0 0;
	color: var(--muted);
	font-size: 14px;
}

.shs-about-exact .card-arrow,
.shs-philosophy-exact .card-arrow {
	display: block;
	margin-top: 26px;
	color: var(--rose);
	font-size: 25px;
}

/**
 * 2.0 学校紹介トップ固有レイアウト
 *
 * 共通基盤のカード・見出しを利用しながら、導入、強み紹介、画像配置など
 * 学校紹介トップだけに存在する構造を定義する。理念ページへ影響させないため、
 * すべて .shs-about-exact 配下へ限定する。
 */

.shs-about-exact .p1-about {
	padding: 90px 0 110px;
	background: radial-gradient( circle at 92% 10%, rgba(239, 120, 188, 0.09), transparent 22% ), #fffafc;
}

.shs-about-exact .p1-intro {
	margin: 0 auto 52px;
	max-width: 780px;
	text-align: center;
}

.shs-about-exact .p1-intro .accent-line {
	margin-inline: auto;
}

/* 明示した箇所だけスマホで改行する。PCでは既存の文字組みを維持する。 */
.shs-about-family .shs-mobile-only-break {
	display: none;
}

.shs-about-exact .p1-strengths {
	padding: 100px 0 120px;
	background: var(--white);
}

.shs-about-exact .p1-strengths__head {
	margin-bottom: 48px;
	max-width: 760px;
}

.shs-about-exact .p1-strength-grid {
	display: grid;
	gap: 34px;
}

.shs-about-exact .p1-strength {
	min-height: 440px;
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	overflow: hidden;
	background: var(--rose-pale);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.shs-about-exact .p1-strength--reverse {
	grid-template-columns: 0.85fr 1.15fr;
}

.shs-about-exact .p1-strength--reverse .p1-strength__visual {
	order: 2;
}

.shs-about-exact .p1-strength__visual {
	min-height: 440px;
	background-size: cover;
	background-position: center;
}

.shs-about-exact .p1-strength__body {
	position: relative;
	padding: 58px 54px;
	align-self: center;
}

.shs-about-exact .p1-strength__number {
	position: absolute;
	top: 26px;
	right: 30px;
	color: rgba(158, 83, 105, 0.12);
	font-family: Georgia, serif;
	font-size: 64px;
}

.shs-about-exact .p1-strength__body h3 {
	margin: 0 0 16px;
	color: var(--wine);
	font-family: "Yu Mincho", serif;
	font-size: 34px;
	letter-spacing: 0.1em;
}

.shs-about-exact .p1-strength__body p:not(.eyebrow) {
	color: var(--muted);
	font-size: 14px;
}

.shs-about-exact .p1-strength__body a {
	display: inline-flex;
	gap: 16px;
	margin-top: 22px;
	color: var(--rose);
	font-size: 13px;
	font-weight: 700;
}

@media (max-width: 900px) {
	.shs-about-exact .p1-strength,
	.shs-about-exact .p1-strength--reverse {
		grid-template-columns: 1fr;
	}

	.shs-about-exact .p1-strength--reverse .p1-strength__visual {
		order: 0;
	}

	.shs-about-exact .p1-strength__visual {
		min-height: 320px;
	}
}

@media (max-width: 760px) {
	.shs-about-family .shs-mobile-only-break {
		display: inline;
	}

	.shs-about-exact .container {
		width: min(100% - 30px, var(--container));
	}

	.shs-about-exact .card-grid {
		grid-template-columns: 1fr;
	}

	.shs-about-exact .link-card {
		min-height: 0;
		padding: 34px 24px 28px;
	}
}

@media (max-width: 600px) {
	.shs-about-exact .p1-about,
	.shs-about-exact .p1-strengths {
		padding-block: 72px;
	}

	.shs-about-exact .p1-strength__body {
		padding: 38px 28px 42px;
	}
}

/**
 * 3.0 学校理念ページ固有レイアウト
 *
 * 共通基盤では扱わないボタン、理念メッセージ、スクロールストーリーなどを定義する。
 * 共通カードのホバー演出だけをここで追加し、共通の寸法・配色は1.0の定義をそのまま利用する。
 */

.shs-philosophy-exact button,
.shs-philosophy-exact input,
.shs-philosophy-exact textarea {
	font: inherit;
}

.shs-philosophy-exact .btn {
	display: inline-flex;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 0 23px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	transition:
		transform var(--shs-hover-lift-duration) var(--shs-hover-lift-ease),
		box-shadow var(--shs-hover-lift-duration) var(--shs-hover-lift-ease),
		background var(--shs-hover-lift-duration) var(--shs-hover-lift-ease),
		color var(--shs-hover-lift-duration) var(--shs-hover-lift-ease);
}

.shs-philosophy-exact .btn:hover {
	transform: translateY(-2px);
}

.shs-philosophy-exact .btn-outline {
	color: #b93f83;
	background: rgba(255, 255, 255, 0.9);
	border-color: rgba(158, 83, 105, 0.45);
}

.shs-philosophy-exact .link-card {
	transition:
		transform var(--shs-hover-lift-duration) var(--shs-hover-lift-ease),
		box-shadow var(--shs-hover-lift-duration) var(--shs-hover-lift-ease);
}

.shs-philosophy-exact .link-card:hover {
	transform: translateY(var(--shs-hover-card-lift-distance));
	box-shadow: var(--shadow);
}

.shs-philosophy-exact .p3-main {
	padding: 86px 0 120px;
	background: var(--white);
}

.shs-philosophy-exact .p3-intro {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
	gap: 56px;
	align-items: center;
}

.shs-philosophy-exact .p3-meta {
	display: grid;
	gap: 14px;
}

.shs-philosophy-exact .p3-meta__row {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 20px;
	background: var(--rose-pale);
	border: 1px solid var(--line);
	border-radius: 16px;
}

.shs-philosophy-exact .p3-meta__icon {
	width: 46px;
	height: 46px;
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	color: var(--rose);
	background: var(--white);
	border-radius: 50%;
}

.shs-philosophy-exact .p3-meta strong,
.shs-philosophy-exact .p3-meta small {
	display: block;
}

.shs-philosophy-exact .p3-meta strong {
	color: var(--rose);
}

.shs-philosophy-exact .p3-meta small {
	color: var(--muted);
	font-size: 11px;
}

.shs-philosophy-exact .p3-message {
	margin-top: 82px;
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	overflow: hidden;
	background: linear-gradient(135deg, rgba(239, 120, 188, 0.055), var(--white));
	border: 1px solid var(--line);
	border-radius: 28px;
	box-shadow: var(--shadow);
}

.shs-philosophy-exact .p3-message__body {
	padding: 64px 44px;
	align-self: center;
}

.shs-philosophy-exact .p3-message__body h3 {
	margin: 0;
	color: var(--wine);
	font-family: "Yu Mincho", serif;
	font-size: clamp(30px, 3.2vw, 42px);
	font-weight: 500;
	line-height: 1.45;
}

.shs-philosophy-exact .p3-message__body > p:not(.eyebrow) {
	color: var(--muted);
}

.shs-philosophy-exact .p3-message__body .btn {
	margin-top: 22px;
}

.shs-philosophy-exact .p3-collage {
	min-height: 510px;
	display: grid;
	grid-template-columns: 1.12fr 0.88fr;
	gap: 9px;
	padding: 12px;
}

.shs-philosophy-exact .p3-collage__large,
.shs-philosophy-exact .p3-collage__small {
	position: relative;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	border-radius: 18px;
}

.shs-philosophy-exact .p3-collage__large {
	background-image: url("../../../img/shared/learning/digital-learning.webp");
}

.shs-philosophy-exact .p3-collage__stack {
	display: grid;
	gap: 9px;
}

.shs-philosophy-exact .p3-collage__small--ai {
	background-image: url("../../../img/shared/learning/ai-collaboration.webp");
}

.shs-philosophy-exact .p3-collage__small--english {
	background-image: url("../../../img/shared/learning/learning-community.webp");
}

.shs-philosophy-exact .p3-collage span {
	position: absolute;
	right: 12px;
	bottom: 12px;
	padding: 7px 10px;
	color: var(--white);
	background: rgba(158, 83, 105, 0.7);
	border-radius: 999px;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.1em;
	backdrop-filter: blur(8px);
}

.shs-philosophy-exact .philosophy-title {
	line-height: 1.55;
}

.shs-philosophy-exact .philosophy-main {
	padding-bottom: 104px;
}

.shs-philosophy-exact .philosophy-meta .p3-meta__row {
	transition:
		transform var(--shs-hover-lift-duration) var(--shs-hover-lift-ease),
		box-shadow var(--shs-hover-lift-duration) var(--shs-hover-lift-ease);
}

.shs-philosophy-exact .philosophy-meta .p3-meta__row:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 30px rgba(158, 83, 105, 0.08);
}

/**
 * 3.0 学校理念のストーリー表示
 *
 * 理念を時系列で読み進められるよう、本文・番号・装飾の基準配置を定義する。
 * スマートフォン時の中央配置は共通レスポンシブ層へ委ね、二重指定を避ける。
 */

.shs-philosophy-exact .philosophy-story {
	padding: 108px 0 126px;
	background: radial-gradient( circle at 92% 8%, rgba(239, 120, 188, 0.09), transparent 22% ), rgba(239, 120, 188, 0.03);
}

.shs-philosophy-exact .philosophy-story__head {
	max-width: 760px;
	margin-bottom: 58px;
}

.shs-philosophy-exact .philosophy-story__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
	gap: 72px;
	align-items: start;
}

.shs-philosophy-exact .philosophy-story__visual {
	position: sticky;
	top: 116px;
	min-width: 0;
}

.shs-philosophy-exact .philosophy-story__media {
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 2;
	min-height: 0;
	max-height: calc(100vh - 190px);
	overflow: hidden;
	background-color: var(--rose-soft);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	border: 1px solid var(--line);
	border-radius: 28px;
	box-shadow: var(--shadow);
	transition: background-image 0.55s ease, background-position 0.55s ease;
}

.shs-philosophy-exact .philosophy-story__media.is-question {
	background-image: url("../../../img/shared/learning/ai-collaboration.webp");
	background-position: center;
}

.shs-philosophy-exact .philosophy-story__media.is-ai {
	background-image: url("../../../img/shared/learning/digital-learning.webp");
	background-position: 54% center;
}

.shs-philosophy-exact .philosophy-story__media.is-english {
	background-image: url("../../../img/shared/learning/learning-community.webp");
	background-position: center;
}

.shs-philosophy-exact .philosophy-story__media.is-action {
	background-image: url("../../../img/shared/learning/ai-collaboration.webp");
	background-position: 35% center;
}

.shs-philosophy-exact .philosophy-story__media::after {
	content: "";
	position: absolute;
	inset: 12px;
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 19px;
	pointer-events: none;
}

.shs-philosophy-exact .philosophy-story__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 45%, rgba(158, 83, 105, 0.74) 100%), linear-gradient(90deg, rgba(158, 83, 105, 0.06), transparent 48%);
}

.shs-philosophy-exact .philosophy-story__caption {
	position: absolute;
	right: 34px;
	bottom: 32px;
	left: 34px;
	color: var(--white);
}

.shs-philosophy-exact .philosophy-story__caption span {
	display: block;
	margin-bottom: 7px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.18em;
}

.shs-philosophy-exact .philosophy-story__caption strong {
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(25px, 3vw, 35px);
	font-weight: 500;
	letter-spacing: 0.08em;
}

.shs-philosophy-exact .philosophy-story__status {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 20px 8px 0;
}

.shs-philosophy-exact .philosophy-story__current {
	min-width: 42px;
	color: var(--rose);
	font-family: Georgia, serif;
	font-size: 24px;
}

.shs-philosophy-exact .philosophy-story__progress {
	flex: 1;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
}

.shs-philosophy-exact .philosophy-story__progress span {
	height: 2px;
	background: rgba(158, 83, 105, 0.16);
	transition: background 0.35s ease, transform 0.35s ease;
}

.shs-philosophy-exact .philosophy-story__progress span.is-active {
	background: var(--rose);
	transform: scaleY(2);
}

.shs-philosophy-exact .philosophy-story__steps {
	display: grid;
	gap: 34px;
}

.shs-philosophy-exact .philosophy-step {
	position: relative;
	min-height: 68vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 48px 44px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid transparent;
	border-radius: 22px;
	opacity: 0.46;
	transition: opacity 0.4s ease, transform 0.4s ease, background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.shs-philosophy-exact .philosophy-step.is-active {
	opacity: 1;
	transform: translateX(8px);
	background: var(--white);
	border-color: var(--line);
	box-shadow: 0 14px 38px rgba(158, 83, 105, 0.08);
}

.shs-philosophy-exact .philosophy-step__number {
	position: absolute;
	top: 24px;
	right: 28px;
	color: rgba(158, 83, 105, 0.1);
	font-family: Georgia, serif;
	font-size: 72px;
	line-height: 1;
}

.shs-philosophy-exact .philosophy-step h3 {
	margin: 14px 0 20px;
	color: var(--wine);
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(29px, 3.7vw, 43px);
	font-weight: 500;
	line-height: 1.55;
	letter-spacing: 0.065em;
}

.shs-philosophy-exact .philosophy-step > p:not(.eyebrow) {
	max-width: 480px;
	margin: 0;
	color: var(--muted);
	font-size: 14px;
}

.shs-philosophy-exact .philosophy-step__tag {
	width: fit-content;
	margin-top: 25px;
	padding: 8px 15px;
	color: var(--rose);
	background: var(--rose-pale);
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
}

.shs-philosophy-exact .philosophy-closing {
	padding: 0 0 120px;
	background: var(--white);
}

.shs-philosophy-exact .philosophy-closing .p3-message {
	margin-top: 0;
}

/**
 * 4.0 学校紹介ページ群のレスポンシブ設計
 *
 * 学校紹介トップと学校理念で共有する導入・カード・ストーリーを段階的に1カラム化する。
 * ページ固有の例外は各子ページCSSへ残し、この共通基盤では読み順と余白だけを調整する。
 */

@media (min-width: 981px) and (max-height: 760px) {
	.shs-philosophy-exact .philosophy-story__visual {
		top: 100px;
	}

	.shs-philosophy-exact .philosophy-story__media {
		width: min(100%, calc((100vh - 170px) * 1.5));
		margin-inline: auto;
	}
}

@media (max-width: 980px) {
	.shs-philosophy-exact .philosophy-story__layout {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.shs-philosophy-exact .philosophy-story__visual {
		top: 84px;
		z-index: 4;
	}

	.shs-philosophy-exact .philosophy-story__media {
		aspect-ratio: 3 / 2;
		min-height: 0;
		max-height: none;
	}

	.shs-philosophy-exact .philosophy-story__steps {
		position: relative;
		z-index: 2;
	}

	.shs-philosophy-exact .philosophy-step {
		min-height: 62vh;
		background: rgba(255, 255, 255, 0.94);
		border-color: var(--line);
		box-shadow: 0 14px 38px rgba(158, 83, 105, 0.07);
	}

	.shs-philosophy-exact .philosophy-step.is-active {
		transform: none;
	}
}

@media (max-width: 900px) {
	.shs-philosophy-exact .p3-intro,
	.shs-philosophy-exact .p3-message {
		grid-template-columns: 1fr;
	}

	.shs-philosophy-exact .p3-collage {
		min-height: 480px;
	}
}

@media (max-width: 760px) {
	.shs-philosophy-exact .container {
		width: min(100% - 30px, var(--container));
	}

	.shs-philosophy-exact .card-grid {
		grid-template-columns: 1fr;
	}

	.shs-philosophy-exact .link-card {
		min-height: 0;
		padding: 34px 24px 28px;
	}
}

@media (max-width: 600px) {
	.shs-philosophy-exact .philosophy-main {
		padding-bottom: 72px;
	}

	.shs-philosophy-exact .philosophy-story {
		padding: 72px 0 84px;
	}

	.shs-philosophy-exact .philosophy-story__head {
		margin-bottom: 40px;
	}

	.shs-philosophy-exact .philosophy-story__visual {
		top: 76px;
	}

	.shs-philosophy-exact .philosophy-story__media {
		aspect-ratio: 3 / 2;
		min-height: 0;
		max-height: none;
		border-radius: 20px;
	}

	.shs-philosophy-exact .philosophy-story__media::after {
		inset: 8px;
		border-radius: 14px;
	}

	.shs-philosophy-exact .philosophy-story__caption {
		right: 23px;
		bottom: 22px;
		left: 23px;
	}

	.shs-philosophy-exact .philosophy-story__steps {
		gap: 22px;
	}

	.shs-philosophy-exact .philosophy-step {
		min-height: 55vh;
		padding: 38px 25px;
		border-radius: 18px;
	}

	.shs-philosophy-exact .philosophy-step__number {
		top: 20px;
		right: 20px;
		font-size: 56px;
	}

	.shs-philosophy-exact .philosophy-closing {
		padding-bottom: 82px;
	}

	.shs-philosophy-exact .p3-main {
		padding-top: 68px;
	}

	.shs-philosophy-exact .p3-intro {
		gap: 36px;
	}

	.shs-philosophy-exact .p3-message__body {
		padding: 42px 26px;
	}

	.shs-philosophy-exact .p3-collage {
		min-height: 650px;
		grid-template-columns: 1fr;
	}

	.shs-philosophy-exact .p3-collage__large {
		min-height: 300px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.shs-philosophy-exact .philosophy-step,
	.shs-philosophy-exact .philosophy-story__media {
		transition: none;
	}
}

body.is-school-philosophy-page .site-container {
	overflow-x: clip;
}

body.is-school-philosophy-page .shs-philosophy-exact,
body.is-school-philosophy-page .shs-philosophy-exact .philosophy-story,
body.is-school-philosophy-page .shs-philosophy-exact .philosophy-story__layout {
	overflow: visible;
}

body.is-school-philosophy-page .shs-philosophy-exact .philosophy-story__visual {
position: sticky;
top: 152px;
}

body.is-school-philosophy-page .shs-philosophy-exact[data-philosophy-js="active"] .philosophy-step.is-active {
	opacity: 1;
}

body.is-school-philosophy-page .shs-philosophy-exact[data-philosophy-js="active"] .philosophy-story__media {
	will-change: background-image, background-position, transform;
}

body.is-school-philosophy-page .shs-philosophy-exact .philosophy-story__media {
	max-height: calc(100vh - 244px);
}

@media (min-width: 981px) and (max-height: 760px) {
	body.is-school-philosophy-page .shs-philosophy-exact .philosophy-story__visual {
		top: 128px;
	}

	body.is-school-philosophy-page .shs-philosophy-exact .philosophy-story__media {
		width: min(100%, calc((100vh - 204px) * 1.5));
	}
}

@media (max-width: 980px) {
	body.is-school-philosophy-page .shs-philosophy-exact .philosophy-story__visual {
		top: 112px;
	}
}

@media (max-width: 600px) {
	body.is-school-philosophy-page .shs-philosophy-exact .philosophy-story__visual {
		top: 96px;
	}
}

body.is-school-philosophy-page .shs-philosophy-exact {
	margin-top: 0;
}
