@charset "utf-8";

/**
 * トップページとサイト全体の基盤レイアウトを管理する。
 *
 * parts.cssで定義した汎用UIの後に読み込み、コンテナ、セクション、主要レイアウトの基準値を確定する。
 * ページ固有の例外は専用CSSへ分離し、このファイルではサイト横断で再利用する構造だけを扱う。
 */

/**
 * =========================================================
 * 変数
 * - サイト全体で使う色と共通ホバー挙動だけを集約する
 * - ヘッダー寸法は shared/site/header.css を唯一の定義元とし、ここでは参照のみ行う
 * =========================================================
 */

:root {
	--shs-white: #ffffff;
	--shs-pink: #ef78bc;
	--shs-pink-dark: #9e5369;
	--shs-text: #3f3a3b;
	--shs-muted: #6f6668;
	--shs-border: rgba(158, 83, 105, 0.18);
	--shs-bg-soft: rgba(239, 120, 188, .030);
	--shs-hover-lift-distance: -2px;
	--shs-hover-card-lift-distance: -7px;
	--shs-hover-lift-duration: 0.45s;
	--shs-hover-lift-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/**
 * =========================================================
 * ベース設定
 * - 全体の文字色・フォント・画像表示の基本指定
 * - 白背景でも読めるよう、本文色は濃いグレーに統一
 * =========================================================
 */

body {
	background: var(--shs-white);
	color: var(--shs-text);
	font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	font-size: 1rem;
	line-height: 1.85;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust: 100%;
	word-wrap: break-word;
}

* {
	box-sizing: border-box;
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

a {
	color: var(--shs-pink);
	text-decoration: none;
	outline: none;
}

img {
	max-width: 100%;
	height: auto;
}

/**
 * 1.0 ローディング表示
 *
 * ページ読み込みが長引いた場合にだけ使用する3本バーと、Lightbox画像読込中の同系統ローダーを定義する。
 * 表示開始タイミングはJavaScriptが管理するため、CSSではアニメーション形状と表示状態だけを担当する。
 */

.loader,
.loader::before,
.loader::after {
	width: 0.5em;
	height: 1em;
	background: var(--shs-pink);
	animation: load1 1s infinite ease-in-out;
}

.loader {
	position: relative;
	margin: 88px auto;
	color: var(--shs-white);
	font-size: 11px;
	text-indent: -9999em;
	transform: translateZ(0);
	animation-delay: -0.16s;
}

.loader::before,
.loader::after {
	content: "";
	position: absolute;
	top: 0;
}

.loader::before {
	left: -1.5em;
	-webkit-animation-delay: -0.32s;
	animation-delay: -0.32s;
}

.loader::after {
	left: 1.5em;
}

@keyframes load1 {
	0%,
	80%,
	100% {
		box-shadow: 0 0;
		height: 1em;
	}

	40% {
		box-shadow: 0 -2em;
		height: 2em;
	}
}

/**
 * Lightbox画像の読み込み中も、ページロードと同系統のピンク3本バーを表示する。
 * Lightbox2標準のグレーGIFローダーは使用しない。
 */
.lightbox .lb-loader .lb-cancel,
.lightbox .lb-loader .lb-cancel::before,
.lightbox .lb-loader .lb-cancel::after {
	width: 0.5em;
	height: 1em;
	background: var(--shs-pink);
	animation: load1 1s infinite ease-in-out;
}

.lightbox .lb-loader .lb-cancel {
	position: relative;
	display: block;
	margin: 0 auto;
	color: var(--shs-pink);
	font-size: 11px;
	text-indent: -9999em;
	background-image: none;
	transform: translateZ(0);
	animation-delay: -0.16s;
}

.lightbox .lb-loader .lb-cancel::before,
.lightbox .lb-loader .lb-cancel::after {
	content: "";
	position: absolute;
	top: 0;
}

.lightbox .lb-loader .lb-cancel::before {
	left: -1.5em;
	animation-delay: -0.32s;
}

.lightbox .lb-loader .lb-cancel::after {
	left: 1.5em;
}

/**
 * 2.0 全体コンテナ
 *
 * ページ固有レイアウトが画面幅を超えた場合でも横スクロールを発生させず、全ページで同じ表示基準を維持する。
 */

.site-container {
	overflow-x: hidden;
	z-index: 1;
	position: relative;
}

/**
 * 3.0 共通タイポグラフィ
 *
 * 英字見出しと主要ナビゲーションの書体・字間をサイト共通値へ揃え、ページCSSで同じ基底指定を繰り返さない。
 */

h1,
h2,
.front-page-hero dt {
	font-family: "Oswald", sans-serif;
	letter-spacing: 0.2em;
}

h2 {
	margin: 0 0 50px;
	color: var(--shs-pink-dark);
	font-size: 2rem;
	text-transform: uppercase;
}

/**
 * =========================================================
 * ヘッダー
 * - トップではロゴをしっかり見せる
 * - スクロール後は is-compact クラスでコンパクトにする
 * - 固定・縮小状態は assets/css/foundation/parts.css と assets/js/shared/navigation/core.js の既存構造を利用
 * =========================================================
 */

nav ul li a {
	color: var(--shs-pink);
}

/**
 * 固定ヘッダーの高さをスクロール余白へ反映する。
 * ページ内リンクで各主要セクションへ移動した際、見出し先頭がコンパクトヘッダーの背面へ隠れないようにする。
 * ヘッダー寸法の定義自体は shared/site/header.css に集約し、ここでは --shs-header-compact の参照だけを行う。
 */

.site-main,
.front-page-philosophy,
.front-page-partner-school,
.front-page-news,
.front-page-contact,
.front-page-gallery {
	scroll-margin-top: calc(var(--shs-header-compact) + 24px);
}

/**
 * =========================================================
 * ヒーローエリア
 * - 画像はヘッダー下から表示
 * - 学校名とFollow Usは画像に重ねる
 * - 左側に白グラデーションを敷き、文字の可読性を確保
 * =========================================================
 */

.front-page-hero {
	position: relative;
	height: 100vh;
	height: 100svh;
	padding-top: 0;
	background: var(--shs-white);
}

/**
 * トップヒーロー右下には装飾疑似要素を表示しない。
 * HTML構造や共通セレクターから疑似要素定義が適用されても、ファーストビューへ不要な装飾が混入しないよう明示的に停止する。
 */

.front-page-hero::after {
	content: none;
	display: none;
}

.front-page-hero .front-page-slider-area {
	position: absolute;
	top: var(--shs-header-large);
	right: 0;
	width: 85%;
	height: calc(100vh - var(--shs-header-large));
	height: calc(100svh - var(--shs-header-large));
	z-index: 0;
}

.front-page-slider {
	position: relative;
	z-index: 0;
	width: 100%;
	height: calc(100vh - var(--shs-header-large));
	height: calc(100svh - var(--shs-header-large));
}

.front-page-hero::before {
	content: "";
	position: absolute;
	top: var(--shs-header-large);
	left: 0;
	width: 58%;
	height: calc(100vh - var(--shs-header-large));
	height: calc(100svh - var(--shs-header-large));
	background: linear-gradient( 90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.88) 38%, rgba(255, 255, 255, 0.55) 68%, rgba(255, 255, 255, 0) 100% );
	z-index: 1;
	pointer-events: none;
}

.front-hero-copy {
	position: absolute;
	top: 31%;
	left: 5%;
	z-index: 2;
	width: min(680px, 50vw);
}

/**
 * サポート校の説明は操作要素ではないため、ボタン型の囲みを使わず
 * 短いアクセントラインを添えた補足コピーとして表示する。
 */

.front-hero-copy__support {
	display: flex;
	align-items: center;
	gap: 12px;
	width: fit-content;
	margin: 14px 0 0;
	padding: 0;
	color: var(--shs-pink-dark);
	background: transparent;
	border: 0;
	border-radius: 0;
	font-size: clamp(13px, 1.05vw, 16px);
	font-weight: 700;
	letter-spacing: 0.08em;
}

.front-hero-copy__support::before {
	content: "";
	flex: 0 0 32px;
	width: 32px;
	height: 2px;
	background: linear-gradient(90deg, var(--shs-pink-dark), var(--shs-pink));
	border-radius: 999px;
}

.front-page-hero h2 {
	position: static;
	margin: 0;
	color: var(--shs-pink-dark);
	font-size: clamp(36px, 3.35vw, 54px);
	line-height: 1.36;
	text-transform: uppercase;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8), 0 8px 24px rgba(255, 255, 255, 0.65);
}

.front-hero-copy__button {
	width: fit-content;
	min-height: 50px;
	margin-top: 22px;
	padding: 0 24px;
	display: inline-flex;
	align-items: center;
	gap: 14px;
	color: var(--shs-white);
	background: var(--shs-pink-dark);
	border: 1px solid var(--shs-pink-dark);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.05em;
	white-space: nowrap;
	text-decoration: none;
	transition:
		transform var(--shs-hover-lift-duration) var(--shs-hover-lift-ease),
		background var(--shs-hover-lift-duration) var(--shs-hover-lift-ease);
}

.front-hero-copy__button:hover {
	transform: translateY(-3px);
	background: #854257;
}

.front-page-hero dl {
	position: absolute;
	left: 2%;
	bottom: 24px;
	z-index: 2;
	color: var(--shs-pink-dark);
}

.front-page-hero dt,
.front-page-hero dd,
.front-page-hero ul,
.front-page-hero ul li {
	display: inline-block;
}

.front-page-hero dt {
	color: var(--shs-pink-dark);
	font-weight: 700;
	text-transform: uppercase;
}

.front-page-hero ul li {
	margin: 0 10px;
}

.front-page-hero ul img {
	width: 20px;
	opacity: 1;
	filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.8));
}

/**
 * =========================================================
 * 学校理念
 * - 既存の3カラム構成は維持
 * - 背景を左端まで広げて、文字が背景外へ出ないようにする
 * - 画像が消えないよう、service-imgの構造を明示
 * =========================================================
 */

.front-page-philosophy {
	padding: 10% 0 10% 15%;
}

.front-page-philosophy .service-lead {
	color: var(--shs-text);
}

.front-page-philosophy .service-area {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	padding: 10% 0 0 10%;
	position: relative;
}

.front-page-philosophy .service-area::after {
	opacity: 0;
}

.front-page-philosophy .service-area.startwd::after {
	content: "";
	position: absolute;
	top: 6%;
	left: 0;
	right: 0;
	bottom: 10%;
	width: auto;
	height: auto;
	min-height: 360px;
	background: var(--shs-bg-soft);
	z-index: -1;
	animation-name: sevicebgRLextendAnime;
	animation-duration: 0.9s;
	animation-fill-mode: forwards;
	animation-timing-function: ease-in-out;
}

@keyframes sevicebgRLextendAnime {
	0% {
		opacity: 0;
		transform: scaleX(0);
		transform-origin: right center;
	}

	100% {
		opacity: 1;
		transform: scaleX(1);
		transform-origin: right center;
	}
}

.front-page-philosophy .service-area section {
	width: 32%;
}

.front-page-philosophy .service-area section h3 {
	margin: 0 0 30px;
	color: var(--shs-pink-dark);
	font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	font-size: clamp(1rem, 1.45vw, 1.5rem);
	letter-spacing: 0.04em;
	white-space: nowrap;
}

.front-page-philosophy .service-area section p {
	margin: 0 0 30px;
	color: var(--shs-text);
}

.front-page-philosophy .service-points {
	display: grid;
	gap: 8px;
}

.front-page-philosophy .service-point {
	display: grid;
	grid-template-columns: 1em minmax(0, 1fr);
	column-gap: 0.35em;
	align-items: start;
}

.front-page-philosophy .service-point::before {
	content: "・";
	text-align: center;
}

.front-page-philosophy .service-img-wrapper {
	display: block;
	position: relative;
	overflow: hidden;
	width: 80%;
	height: 50vh;
	min-height: 320px;
}

.front-page-philosophy .service-img-wrapper .bgappearTrigger {
	height: 100%;
}

.front-page-philosophy .service-img {
	display: block;
	width: 100%;
	height: 60vh;
	min-height: 360px;
	background: url("../../img/home/philosophy.webp") no-repeat center;
	background-size: cover;
}

/**
 * =========================================================
 * 提携校
 * - School Philosophy の下に追加する提携校一覧
 * - 左に説明、右に提携校ロゴ画像を配置
 * - 既存サイトの淡いピンク背景と余白感に合わせる
 * =========================================================
 */

.front-page-partner-school {
	padding: 0 0 10% 15%;
	position: relative;
}

.front-page-partner-school h2 {
	color: var(--shs-pink-dark);
}

.front-page-partner-school .partner-school-area {
	position: relative;
	width: 90%;
}

.front-page-partner-school .partner-school-area::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: var(--shs-bg-soft);
	z-index: -1;
}

.front-page-partner-school .partner-school-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 56px;
}

.front-page-partner-school .partner-school-copy {
	width: 38%;
	color: var(--shs-text);
}

.front-page-partner-school .partner-school-copy h3 {
	margin: 0 0 28px;
	color: var(--shs-pink-dark);
	font-size: clamp(1.45rem, 2vw, 2rem);
	line-height: 1.7;
	letter-spacing: 0.08em;
}

.front-page-partner-school .partner-school-copy p:last-child {
	margin: 0;
	color: var(--shs-text);
	line-height: 2;
}

.front-page-partner-school .partner-school-card {
	width: 58%;
	margin: 0;
	padding: 18px;
	background: var(--shs-white);
	box-shadow: 0 18px 42px rgba(158, 83, 105, 0.08);
	overflow: hidden;
}

.front-page-partner-school .partner-school-card img {
	display: block;
	width: 100%;
	height: auto;
}

/**
 * =========================================================
 * 新着情報
 * - 廃止したお知らせ一覧の新着カードをトップページへ統合
 * - 投稿詳細ではなく現行ページへ案内する
 * =========================================================
 */

.front-page-news {
	padding: 104px 0 112px;
	background: var(--shs-white);
}

.front-page-news__inner {
	width: min(calc(100% - 64px), 1120px);
	margin: 0 auto;
}

.front-page-news__head {
	max-width: 760px;
	margin: 0 auto 34px;
	text-align: center;
}

.front-page-news__eyebrow {
	margin: 0 0 8px;
	color: var(--rose);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.18em;
}

.front-page-news__head h2 {
	margin: 0;
	color: var(--shs-pink-dark);
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(32px, 4vw, 48px);
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: 0.08em;
}

.front-page-news__lead {
	margin: 18px 0 0;
	color: var(--shs-muted);
	font-size: 13px;
	line-height: 1.9;
}

.front-page-news__filters {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	max-width: 920px;
	margin: 0 auto 34px;
	overflow: hidden;
	background: var(--shs-white);
	border: 1px solid rgba(239, 120, 188, 0.78);
	border-radius: 15px;
	box-shadow: 0 12px 32px rgba(158, 83, 105, 0.07);
}

.front-page-news__filter {
	min-width: 0;
	min-height: 58px;
	padding: 0 16px;
	color: #7f7278;
	background: transparent;
	border: 0;
	border-right: 1px solid rgba(239, 120, 188, 0.34);
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	transition: color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.front-page-news__filter:last-child {
	border-right: 0;
}

.front-page-news__filter:hover,
.front-page-news__filter:focus-visible,
.front-page-news__filter.is-active {
	color: var(--shs-pink);
	background: rgba(239, 120, 188, 0.07);
}

.front-page-news__filter.is-active {
	box-shadow: inset 0 -3px 0 var(--shs-pink);
}

.front-page-news__filter:focus-visible {
	outline: 2px solid rgba(239, 120, 188, 0.52);
	outline-offset: -3px;
}

.front-page-news__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.front-page-news-card {
	min-width: 0;
	overflow: hidden;
	background: var(--shs-white);
	border: 1px solid rgba(239, 120, 188, 0.32);
	border-radius: 14px;
	box-shadow: 0 14px 34px rgba(158, 83, 105, 0.07);
	transition:
		opacity 0.18s ease,
		transform var(--shs-hover-lift-duration) var(--shs-hover-lift-ease),
		box-shadow var(--shs-hover-lift-duration) ease;
}

.front-page-news-card:hover {
	transform: translateY(var(--shs-hover-card-lift-distance));
	box-shadow: 0 20px 44px rgba(158, 83, 105, 0.13);
}

.front-page-news-card.is-filter-leaving {
	opacity: 0;
	transform: translateY(10px) scale(0.985);
	pointer-events: none;
}

.front-page-news-card.is-filter-entering {
	animation: front-page-news-card-enter 0.36s cubic-bezier(0.22, 1, 0.36, 1) both;
	animation-delay: 0ms;
}

.front-page-news-card[hidden] {
	display: none;
}

@keyframes front-page-news-card-enter {
	from {
		opacity: 0;
		transform: translateY(18px) scale(0.985);
	}

	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@media (prefers-reduced-motion: reduce) {
	.front-page-news-card {
		transition: none;
	}

	.front-page-news-card.is-filter-entering {
		animation: none;
	}
}

.front-page-news-card__media {
	margin: 0;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #fff5fb;
}

.front-page-news-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.front-page-news-card:hover .front-page-news-card__media img {
	transform: scale(1.035);
}

.front-page-news-card__body {
	min-height: 236px;
	padding: 20px 20px 18px;
	display: flex;
	flex-direction: column;
}

.front-page-news-card__meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}

.front-page-news-card__category {
	display: inline-flex;
	min-height: 24px;
	align-items: center;
	justify-content: center;
	padding: 4px 9px;
	color: var(--shs-white);
	background: var(--shs-pink);
	border-radius: 999px;
	font-size: 9px;
	font-weight: 700;
	line-height: 1.2;
}

.front-page-news-card__meta time {
	color: #9d9096;
	font-size: 10px;
	letter-spacing: 0.04em;
}

.front-page-news-card h3 {
	margin: 0;
	color: var(--shs-pink);
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.6;
}

.front-page-news-card__body > p {
	margin: 11px 0 18px;
	color: var(--shs-muted);
	font-size: 11px;
	line-height: 1.8;
}

.front-page-news-card__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	margin-left: auto;
	color: var(--shs-pink);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-decoration: none;
}

.front-page-news-card__link span:last-child {
	transition: transform 0.2s ease;
}

.front-page-news-card__link:hover span:last-child,
.front-page-news-card__link:focus-visible span:last-child {
	transform: translateX(4px);
}

.front-page-news__empty {
	margin: 0;
	padding: 36px 24px;
	color: var(--shs-muted);
	text-align: center;
	background: var(--shs-white);
	border: 1px solid rgba(239, 120, 188, 0.24);
	border-radius: 12px;
}

/**
 * 8.0 トップページギャラリー
 *
 * 画像一覧の基本余白と画像の見え方だけを定義し、Lightboxの操作・読込制御はJavaScriptと外部ライブラリへ委ねる。
 */

.front-page-gallery {
	margin: 0 0 5%;
}

.front-page-gallery li {
	overflow: hidden;
}

.gallery img {
	opacity: 0.9;
}

.gallery img:hover {
	opacity: 1;
}

/**
 * =========================================================
 * お問い合わせ
 * - 白いカードとして独立させる
 * - Footerに重ねず、余白でセクションを分ける
 * - 問い合わせ導線がFooterの色に負けないようにする
 * =========================================================
 */

.front-page-contact {
	position: relative;
	z-index: 2;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	width: min(88%, 1120px);
	margin: 96px auto 88px;
	overflow: hidden;
	background: var(--shs-white);
	color: var(--shs-text);
	border: 1px solid rgba(158, 83, 105, 0.16);
	border-radius: 2px;
	box-shadow: 0 24px 64px rgba(158, 83, 105, 0.12);
}

/**
 * Contactカード左側の説明領域を管理する。
 * PCでは右側の連絡導線と視覚的に分離するため境界線を持たせ、本文は読みやすさを優先して左揃えを維持する。
 */

.front-page-contact .contact-detail {
	width: 58%;
	padding: 56px 56px;
	text-align: left;
	border-right: 1px solid var(--shs-border);
}

.front-page-contact .contact-detail h2 {
	margin: 0 0 16px;
	color: var(--shs-pink-dark);
	font-size: 1.7rem;
	letter-spacing: 0.22em;
}

.front-page-contact .contact-detail p {
	color: var(--shs-text);
	line-height: 1.9;
}

/**
 * Contactカード右側の電話・フォーム導線を管理する。
 * 2つの導線を同じ高さで分割し、カード全体をクリックしやすい大きさに保つことで主要CTAとしての操作性を確保する。
 */

.front-page-contact .contact-tel {
	display: flex;
	flex-direction: column;
	width: 42%;
	background: var(--shs-bg-soft);
}

.front-page-contact .contact-tel p {
	flex: 1;
	margin: 0;
	text-align: center;
}

.front-page-contact .contact-tel p + p {
	border-top: 1px solid var(--shs-border);
}

.front-page-contact .contact-tel p a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	min-height: 104px;
	padding: 24px;
	color: var(--shs-pink);
	font-weight: 700;
	letter-spacing: 0.04em;
	transition: background 0.3s ease, color 0.3s ease;
}

.front-page-contact .contact-tel p a:hover {
	background: var(--shs-pink);
	color: var(--shs-white);
}

.front-page-contact .contact-tel br {
	display: none;
}

/**
 * =========================================================
 * お問い合わせ導線のレスポンシブ設計
 * - スマホではContactを縦積みにする
 * - Footer情報は中央寄せで読みやすくする
 * =========================================================
 */

/**
 * =========================================================
 * レスポンシブ：タブレット
 * - ヘッダー、ヒーロー、Contact/Footerを画面幅に合わせる
 * =========================================================
 */

@media screen and (max-width: 960px) {
	/*
	 * 高さとヘッダーオフセットは基底ヒーロー定義をそのまま継承する。
	 * タブレットでは画像領域と可読性グラデーションの横幅だけを拡張し、同じ値の再宣言による二重管理を避ける。
	 */
	.front-page-hero .front-page-slider-area {
		width: 100%;
	}

	.front-page-hero::before {
		width: 78%;
	}

	.front-hero-copy {
		top: 27%;
		width: min(680px, 76vw);
	}

	.front-page-hero h2 {
		font-size: clamp(32px, 4.7vw, 46px);
	}

	.front-page-hero dl {
		left: 20px;
		bottom: 16px;
	}

	.front-page-hero ul li {
		margin: 0 2px;
	}
}

@media screen and (max-width: 600px) {
	/*
	 * スマートフォンでもヒーロー高は基底の100vh/100svhを継承する。
	 * ここでは外部スタイルによる最小高さの影響だけを解除し、画面高に合わせたファーストビューを維持する。
	 */
	.front-page-hero {
		min-height: 0;
	}

	.front-page-hero .front-page-slider-area {
		left: 0;
		right: 0;
		width: 100%;
	}

	/**
	 * スマートフォンではコピー周辺だけを白く保護し、
	 * 人物写真の色と奥行きが画面全体で見えるようにする。
	 */
	.front-page-hero::before {
		width: 100%;
		background: radial-gradient(
			ellipse 95% 58% at 14% 34%,
			rgba(255, 255, 255, 0.94) 0%,
			rgba(255, 255, 255, 0.82) 34%,
			rgba(255, 255, 255, 0.46) 56%,
			rgba(255, 255, 255, 0.16) 72%,
			rgba(255, 255, 255, 0) 88%
		);
	}

	.front-hero-copy {
		top: calc(var(--shs-header-large) + clamp(96px, 14vh, 124px));
		top: calc(var(--shs-header-large) + clamp(96px, 14svh, 124px));
		left: 20px;
		width: calc(100% - 54px);
	}

	.front-hero-copy__support {
		gap: 9px;
		margin: 10px 0 0;
		font-size: 11px;
	}

	.front-hero-copy__support::before {
		flex-basis: 24px;
		width: 24px;
	}

	.front-page-hero h2 {
		font-size: clamp(26px, 8vw, 36px);
		line-height: 1.32;
	}

	.front-hero-copy__button {
		min-height: 42px;
		margin-top: 14px;
		padding-inline: 18px;
		font-size: 11px;
	}

	.front-page-hero dl {
		left: 16px;
		bottom: 14px;
	}
}

/**
 * 縦幅が小さい端末でもCTAとファーストビュー下端を
 * 初期画面内へ収める。
 * 横幅だけでなく高さも条件にし、通常端末の文字サイズは維持する。
 */

@media screen and (max-width: 600px) and (max-height: 680px) {
	.front-hero-copy {
		top: calc(var(--shs-header-large) + clamp(54px, 10svh, 68px));
	}

	.front-page-hero h2 {
		font-size: clamp(24px, 7.2vw, 32px);
		line-height: 1.24;
	}

	.front-hero-copy__support {
		margin-top: 8px;
	}

	.front-hero-copy__button {
		min-height: 40px;
		margin-top: 12px;
	}

	.front-page-hero dl {
		bottom: 8px;
	}
}

.top-priority-links {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	max-width: 1120px;
	margin: 32px auto 0;
	padding: 0 24px;
	position: relative;
	z-index: 2;
}

.top-priority-links a {
	position: relative;
	display: flex;
	min-height: 104px;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	border: 1px solid rgba(158, 83, 105, 0.22);
	border-radius: 18px;
	padding: 22px 24px;
	background: rgba(255, 255, 255, 0.86);
	box-shadow: 0 18px 38px rgba(35, 34, 45, 0.06);
	color: #33313d;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-decoration: none;
	transition:
		transform var(--shs-hover-lift-duration) var(--shs-hover-lift-ease),
		box-shadow var(--shs-hover-lift-duration) var(--shs-hover-lift-ease);
}

.top-priority-links a:hover {
	transform: translateY(-4px);
	box-shadow: 0 24px 48px rgba(35, 34, 45, 0.12);
}

.top-priority-link__copy {
	display: block;
	min-width: 0;
}

.top-priority-link__eyebrow {
	display: block;
	margin-bottom: 8px;
	color: #b93f83;
	font-family: "Oswald", sans-serif;
	font-size: 1.2rem;
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

.top-priority-link__label {
	display: block;
	line-height: 1.55;
}

.top-priority-link__arrow {
	flex: 0 0 auto;
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	color: var(--shs-pink);
	border: 1px solid rgba(239, 120, 188, 0.45);
	border-radius: 50%;
	font-size: 20px;
	line-height: 1;
	transition: transform var(--shs-hover-lift-duration) var(--shs-hover-lift-ease);
}

.top-priority-links a:hover .top-priority-link__arrow {
	transform: translateX(4px);
}
