/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Aug 01 2025 | 20:16:22 */
/* 荘川さくら学園　トップページ */

/* トップページ　共通パーツ */
body.page-id-6149 section h2 {
	color: var(--color-textPink);
	font-weight: bold;
	font-size: 2.5rem;
	letter-spacing: .05em;
	text-align: center;
	margin-bottom: 20px;
	transform-style: preserve-3d;
}
@media (max-width: 768px) {
	body.page-id-6149 section h2 {
		font-size: 2rem;
	}
}
body.page-id-6149 section h2 > span {
	display: inline-block;
}
body.page-id-6149 section p {
	text-align: center;
	font-size: 1.6rem;
}
@media (max-width: 768px) {
	body.page-id-6149 section p {
		font-size: 1.5rem;
	}
}
body.page-id-6149 .linkTitle {
	padding-bottom: 5%;
}

/* 背景 */
body.page-id-6149 {
	position: relative;
}

/* メインビジュアル */
body.page-id-6149 .mainVisual {
	position: relative;
	z-index: 4;
	opacity: 0;
}
body.page-id-6149 .mainVisual > .bg {
	background-image: url('http://www.shokawa.net/admin/wp-content/uploads/2024/12/bg1.png');
	background-size: 85%;
	background-position: top left;
	background-repeat: no-repeat;
	margin: 0;
	padding: 0;
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	will-change: transform;
}
body.page-id-6149 .mainVisual > .bg1 {
	position: absolute;
	top: 0;
	left: 5%;
	width: 75%;
	height: 100%;
	background-image: url('http://www.shokawa.net/admin/wp-content/uploads/2024/12/bgSakura3.png');
	background-position: top left;
	background-size: contain;
	background-repeat: no-repeat;
	will-change: transform;
}
body.page-id-6149 .mainVisual > .bg2 {
	position: absolute;
	top: 240px;
	left: 0;
	width: 90%;
	height: 100%;
	background-image: url('http://www.shokawa.net/admin/wp-content/uploads/2024/12/bgSakura2.png');
	background-position: top left;
	background-size: contain;
	background-repeat: no-repeat;
	will-change: transform;
}
@media (max-width: 768px) {
	body.page-id-6149 .mainVisual .bg2 {
		top: 60px;
	}
}
body.page-id-6149 .mainVisual .head {
	position: relative;
	padding-top: 80px;
	display: flex;
	width: min(90%, 1200px);
	margin-left: auto;
	margin-right: auto;
	z-index: 2;
}
@media (max-width: 768px) {
	body.page-id-6149 .mainVisual .head {
		padding-top: 40px;
	}
}
body.page-id-6149 .mainVisual .head .logoWrap {
	width: max(20%, 120px);
	position: relative;
}
@media (min-width: 1200px) {
	body.page-id-6149 .mainVisual .head .logoWrap {
		margin-left: 10%;
	}
}
body.page-id-6149 .mainVisual .head .logoWrap a {
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
}
body.page-id-6149 .mainVisual .head .logoText {
	width: 80%;
	margin-left: auto;
	margin-right: auto;
	margin-top: -10px;
	display: flex;
	flex-direction: column;
	align-items: start;
	color: var(--color-textPink);
	font-weight: bold;
	text-align: left;
}
body.page-id-6149 .mainVisual .head .logoText >span:first-of-type {
	font-size: 1.2rem;
	align-self: left;
}
@media (max-width: 768px) {
	body.page-id-6149 .mainVisual .head .logoText >span:first-of-type {
		font-size: 1rem;
	}
}
body.page-id-6149 .mainVisual .head .logoText >span:not(:first-of-type) {
	font-size: 1.4rem;
	letter-spacing: .05em;
	align-self: left;
}
@media (max-width: 768px) {
	body.page-id-6149 .mainVisual .head .logoText >span:not(:first-of-type) {
		font-size: 1.1rem;
	}
}
body.page-id-6149 .mainVisual .head .title {
	font-size: 4.5rem;
	margin-top: 80px;
	color: #4D4D4D;
	letter-spacing: .2em;
	font-weight: bold;
	padding-left: 8%;
	display: inline-flex;
	align-items: start;
	gap: 1%;
	transform-style: preserve-3d;
}
body.page-id-6149 .mainVisual .head .title span {
	display: inline-block;
	will-change: transform;
}
@media (min-width: 551px) and (max-width: 1000px) {
	body.page-id-6149 .mainVisual .head .title {
		font-size: 3.8rem;
		margin-bottom: 40px;
		letter-spacing: .12em;
	}	
}
@media (max-width: 550px) {
	body.page-id-6149 .mainVisual .head .title {
		font-size: 2.3rem;
		margin-top: 60px;
		padding-left: 5%;
		letter-spacing: .1em;
	}	
}
body.page-id-6149 .mainVisual .body {
	position: relative;
	z-index: 1;
	pointer-events: none;
}
@media (max-width: 768px) {
	body.page-id-6149 .mainVisual .body {
		margin-top: 60px;
	}
}
body.page-id-6149 .mainVisual .body .content {
	width: min(90%, 1200px);
	margin-left: auto;
	margin-right: auto;
	margin-top: -50px;
	position: relative;
}
body.page-id-6149 .mainVisual .body .bg {
	position: absolute;
	bottom: -30px;
	left: 0;
	width: 100%;
	height: 125%;
	background-image: url('http://www.shokawa.net/admin/wp-content/uploads/2024/12/bgSakura1.png');
	background-position: center bottom;
	background-size: contain;
	background-repeat: no-repeat;
	z-index: -1;
	will-change: transform;
}
@media (max-width: 768px) {
	body.page-id-6149 .mainVisual .body .bg {
		background-image: url('http://www.shokawa.net/admin/wp-content/uploads/2025/01/bgSakura1_sp.png');
		background-repeat: repeat;
	}
}
body.page-id-6149 .mainVisual .body .topCopy {
	position: relative;
	width: min(60%, 400px);
	margin-left: auto;
	margin-right: auto;
	z-index: 1;
}
@media (min-width: 769px) and (max-width: 1000px) {
	body.page-id-6149 .mainVisual .body .topCopy {
		margin-top: 20px;
		margin-bottom: 20px;
	}
}
@media (max-width: 768px) {
	body.page-id-6149 .mainVisual .body .topCopy {
		position: absolute;
		top: 0;
		right: 0;
	}
}
body.page-id-6149 .mainVisual .body .images {
	position: relative;
	display: flex;
	justify-content: center;
	gap: 20px;
}
@media (max-width: 768px) {
	body.page-id-6149 .mainVisual .body .images {
		flex-direction: column;
		gap: 0;
	}
}
body.page-id-6149 .mainVisual .body .images .image {
	width: 30%;
	will-change: transform;
}
@media (max-width: 768px) {
	body.page-id-6149 .mainVisual .body .images .image {
		width: 50%;
	}
	body.page-id-6149 .mainVisual .body .images .image:nth-of-type(2) {
		margin-left: auto;
		margin-top: -60px;
	}
	body.page-id-6149 .mainVisual .body .images .image:nth-of-type(3) {
		margin-left: 10%;
		margin-top: -40px;
	}
}
@media (min-width: 769px) {
	body.page-id-6149 .mainVisual .body .images .image:not(:nth-of-type(2)) {
		margin-top: -60px;
	}
}
body.page-id-6149 .mainVisual .underBody {
	margin-bottom: 30px;
}
body.page-id-6149 .mainVisual .underBody .bottomCopy {
	width: min(80%, 500px);
	margin-left: auto;
	margin-right: auto;
}
@media (max-width: 768px) {
	body.page-id-6149 .mainVisual .underBody .bottomCopy {
		margin-top: 30px;
	}
}
body.page-id-6149 .mainVisual .underBody .bottomMessage {
	width: min(80%, 500px);
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	letter-spacing: .1em;
	font-size: 1.6rem;
}
@media (max-width: 768px) {
	body.page-id-6149 .mainVisual .underBody .bottomMessage {
		font-size: 1.4rem;
	}
}


/* スライダー */
body.page-id-6149 .slider .sliderInner {
	width: min(60%, 1000px);
	margin-left: auto;
	margin-right: auto;
}
@media (max-width: 768px) {
	body.page-id-6149 .slider .sliderInner {
		width: 100%;
	}
}
body.page-id-6149 .slider .sliderInner .swiper-slide {
	border-radius: 10px;
	overflow: hidden;
	aspect-ratio: 3/2;
}
@media (max-width: 768px) {
	body.page-id-6149 .slider .sliderInner .swiper-slide {
		aspect-ratio: 5/4;
	}	
}
body.page-id-6149 .slider .sliderInner .swiper-slide img {
	width: 100%;
    height: 100%;
    display: block;
	position: absolute;
	top: 0;
	object-fit: cover;
}
body.page-id-6149 .slider .swiper-pagination {
	bottom: -30px;
}
body.page-id-6149 .slider .swiper-pagination {
	bottom: -30px;
}
body.page-id-6149 .slider .swiper-pagination-bullet {
	width: 12px;
	height: 12px;
	background-color: var(--color-pink);
	opacity: .3;
	margin-left: 6px;
	margin-right: 6px;
}
@media (max-width: 768px) {
	body.page-id-6149 .slider .swiper-pagination-bullet {
		width: 10px;
		height: 10px;
	}
}
body.page-id-6149 .slider .swiper-pagination-bullet-active {
	opacity: 1;
}
body.page-id-6149 .slider .swiper-button-next::after,
body.page-id-6149 .slider .swiper-button-prev::after {
    content: '';
	width: 100px;
	height: 100px;
}
body.page-id-6149 .slider .swiper-button-next {
    left: auto;
	right: 21%;
}
body.page-id-6149 .slider .swiper-button-prev {
    right: auto;
	left: 21%;
}
@media (max-width: 768px) {
	body.page-id-6149 .slider .swiper-button-next {
		right: 5%;
	}
	body.page-id-6149 .slider .swiper-button-prev {
		left: 5%;
	}
}
body.page-id-6149 .slider .swiper-button-next::after {
    background-image: url('http://www.shokawa.net/admin/wp-content/uploads/2024/12/arrow.png');
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
}
body.page-id-6149 .slider .swiper-button-prev::after {
	transform: rotate(180deg);
    background-image: url('http://www.shokawa.net/admin/wp-content/uploads/2024/12/arrow.png');
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
}


/* 児童生徒募集中 */
body.page-id-6149 .topNews .boshu {
	margin-bottom: 150px;
}
body.page-id-6149 .topNews .boshu .img {
	border-radius: 20px;
	overflow: hidden;
}


/* 荘川っ子のくらし */
body.page-id-6149 .topNews,
body.page-id-6149 .topNews_key {
	position: relative;
	margin-top: 150px;
}
@media (min-width: 769px) {
	body.page-id-6149 .topNews .inner ul,
	body.page-id-6149 .topNews_key .inner ul {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		row-gap: 40px;
		column-gap: 20px;
	}
}
body.page-id-6149 .topNews {
	z-index: 1;
}
@media (max-width: 768px) {
	body.page-id-6149 .topNews {
		z-index: 3;
	}
}
body.page-id-6149 .topNews_key {
	z-index: 2;
}
@media (max-width: 768px) {
	body.page-id-6149 .topNews_key {
		margin-top: 100px;
	}
}
body.page-id-6149 .topNews .bg1,
body.page-id-6149 .topNews_key .bg1 {
	position: absolute;
	width: 100%;
	left: 0;
	z-index: -1;
}
body.page-id-6149 .topNews .bg1 {
	top: -300px;
}
body.page-id-6149 .topNews_key .bg1 {
	top: -200px;
}
@media (min-width: 769px) {
	body.page-id-6149 .topNews_key .bg1{
		display: none;
	}
}
@media (max-width: 768px) {
	body.page-id-6149 .topNews .bg1 {
		top: -200px;
	}
}
body.page-id-6149 .topNews .bg2 {
	position: absolute;
	width: 30%;
	top: -300px;
	right: 0;
	z-index: -1;
}
@media (max-width: 768px) {
	body.page-id-6149 .topNews .bg2 {
		top: -350px;
	}
}
body.page-id-6149 .topNews_key .attentionMessage {
	margin-top: 10px;
}
@media (min-width: 769px) {
	body.page-id-6149 .topNews ul,
	body.page-id-6149 .topNews_key ul {
		margin-top: 40px;
		display: flex;
		justify-content: space-between;
		gap: 20px;
	}
}
@media (max-width: 768px) {
	body.page-id-6149 .topNews ul,
	body.page-id-6149 .topNews_key ul {
		margin: 40px auto 0;
		width: min(70%, 350px);
	}
}
body.page-id-6149 .topNews ul li,
body.page-id-6149 .topNews_key ul li {
	width: 100%;
}
@media (max-width: 768px) {
	body.page-id-6149 .topNews ul li,
	body.page-id-6149 .topNews_key ul li {
		margin-top: 30px;
	}
}
body.page-id-6149 .topNews ul li a .img,
body.page-id-6149 .topNews_key ul li a .img {
	aspect-ratio: 4/3;
	overflow: hidden;
	position: relative;
	border-radius: 10px;
}
body.page-id-6149 .topNews ul li a .img img,
body.page-id-6149 .topNews_key ul li a .img img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
body.page-id-6149 .topNews ul li a h3,
body.page-id-6149 .topNews_key ul li a h3 {
	margin-top: 3%;
	font-size: 1.8rem;
}
@media (max-width: 768px) {
	body.page-id-6149 .topNews ul li a h3,
	body.page-id-6149 .topNews_key ul li a h3 {
		font-size: 1.6rem;
		text-align: center;
	}
}
body.page-id-6149 .topNews .btn,
body.page-id-6149 .topNews_key .btn {
	margin-top: 60px;
}


/* 特色ある教育活動 */
body.page-id-6149 .topFeatures {
	position: relative;
	margin-top: 150px;
	z-index: 1; /* 花びらの背景（.bg）を（.bgBottom）よりも上のレイヤーにするため */
}
@media (max-width: 768px) {
	body.page-id-6149 .topFeatures {
		margin-top: 100px;
	}
}
body.page-id-6149 .topFeatures .bg1 {
	position: absolute;
	width: 100%;
	top: -200px;
	left: 0;
	z-index: -1;
}
@media (min-width: 769px) {
	body.page-id-6149 .topFeatures .bg1{
		display: none;
	}
}
body.page-id-6149 .topFeatures .bg2 {
	position: absolute;
	width: 90%;
	top: -300px;
	right: 3%;
	z-index: -1;
	pointer-events: none;
}
@media (min-width: 769px) {
	body.page-id-6149 .topFeatures ul {
		margin-top: 40px;
		display: flex;
		justify-content: space-between;
		gap: 20px;
	}
}
@media (max-width: 768px) {
	body.page-id-6149 .topFeatures ul {
		margin: 40px auto 0;
		width: min(70%, 350px);
	}
}
body.page-id-6149 .topFeatures ul li {
	width: 100%;
}
@media (max-width: 768px) {
	body.page-id-6149 .topFeatures ul li {
		margin-top: 30px;
	}
}
body.page-id-6149 .topFeatures ul li .img {
	aspect-ratio: 4/3;
	overflow: hidden;
	position: relative;
	border-radius: 10px;
}
body.page-id-6149 .topFeatures ul li .img img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
body.page-id-6149 .topFeatures ul li h3 {
	margin-top: 3%;
	padding-top: 10px;
	padding-bottom: 10px;
	font-size: 1.8rem;
	font-weight: bold;
	border-radius: 10px;
	color: #fff;
	text-align: center;
}
body.page-id-6149 .topFeatures ul li:nth-of-type(1) h3 {
	background-color: var(--color-green);
}
body.page-id-6149 .topFeatures ul li:nth-of-type(2) h3 {
	background-color: var(--color-pink);
}
body.page-id-6149 .topFeatures ul li:nth-of-type(3) h3 {
	background-color: var(--color-blue);
}
@media (max-width: 768px) {
	body.page-id-6149 .topFeatures ul li h3 {
		font-size: 1.6rem;
	}
}
body.page-id-6149 .topFeatures .btn {
	margin-top: 60px;
}


/* 学校案内 */
body.page-id-6149 .topAbout {
	margin-top: 150px;
	padding-bottom: 80px;
}
@media (min-width: 769px) {
	body.page-id-6149 .topAbout .content {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 20px;
	}
	body.page-id-6149 .topAbout .imgArea {
		width: 50%;
	}
	body.page-id-6149 .topAbout .textArea {
		width: 50%;
	}
}
@media (max-width: 768px) {
	body.page-id-6149 .topAbout {
		margin-top: 80px;
	}
}
body.page-id-6149 .topAbout .textArea .wrap {
	width: min(500px, 80%);
	margin-right: auto;
}
@media (max-width: 768px) {
	body.page-id-6149 .topAbout .textArea {
		margin-top: 40px;
	}
	body.page-id-6149 .topAbout .textArea .wrap {
		width: 90%;
		margin-left: auto;
	}
}
body.page-id-6149 .topAbout .textArea .wrap p {
	text-align: left;
}
body.page-id-6149 .topAbout .btn {
	margin-top: 40px;
}
