@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/



/* メインビジュアルテキスト */
.p-mainVisual__slideTitle {
	writing-mode: vertical-rl;
	letter-spacing: 0.5em;
	font-weight: bold;
}
.p-mainVisual__slideTitle span {
	background: #FFF;
	padding: 0.5em 0.25em;
	line-height: 1.5em;
}
/*@media (min-width: 600px) {
	.p-mainVisual__slideTitle {
		font-size: 250%;
	}
}*/
.p-mainVisual__slideTitle {
		font-size: 250%;
}
@media (max-width: 600px) {
	.p-mainVisual__slideTitle {
		font-size: 8.5vw;
	}
}


/* 写真と動画の角に30px丸み */
.home-cont video,
.home-cont img {
	border-radius: 2vw;
}

/* img,video角を丸くする */
.wp-block-image img,
.wp-block-video video { border-radius: 0.5vw; overflow: hidden; }


/* TOPコンテンツ背景-波形 */
.namiback {
	background: url("data:image/svg+xml,%3Csvg id='visual' viewBox='0 0 3840 600' width='3840' height='600' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1'%3E%3Crect x='0' y='0' width='3840' height='600' fill='%23fbfaf3'%3E%3C/rect%3E%3Cpath d='M0 87L128 113.5C256 140 512 193 768 196.7C1024 200.3 1280 154.7 1536 202.8C1792 251 2048 393 2304 448.2C2560 503.3 2816 471.7 3072 433C3328 394.3 3584 348.7 3712 325.8L3840 303L3840 601L3712 601C3584 601 3328 601 3072 601C2816 601 2560 601 2304 601C2048 601 1792 601 1536 601C1280 601 1024 601 768 601C512 601 256 601 128 601L0 601Z' fill='%2306a176' stroke-linecap='round' stroke-linejoin='miter'%3E%3C/path%3E%3C/svg%3E") no-repeat center bottom/cover;
}
/* Footer背景-山形 */
.w-beforeFooter {
	min-height: 365px;
	background: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg version='1.1' id='レイヤー_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='595.281px' height='70.494px' viewBox='0 376.594 595.281 70.494' enable-background='new 0 376.594 595.281 70.494' xml:space='preserve'%3E%3Cpath fill='%230D6DB4' d='M583.112,436.732l12.169-2.139v-53.895c-45.746,0-59.497,25.654-100.277,41.408 c8.587,4.84,17.173,9.445,25.759,12.434C545.702,443.223,570.641,439.089,583.112,436.732z'/%3E%3Cpath fill='%2306A176' d='M0,394.488l12.402,2.191c12.401,2.356,37.205,6.49,62.008,13.229c24.803,6.49,49.606,15.585,74.41,11.037 c24.803-4.547,49.606-21.909,74.41-33.071c24.803-11.161,49.607-15.295,74.41-6.614c24.803,8.682,49.607,31.004,74.41,33.071 s49.607-15.295,74.41-13.229c24.803,2.067,49.607,24.391,74.41,33.071c24.803,8.682,49.605,4.548,62.008,2.191l12.402-2.191v12.914 h-12.402c-12.402,0-37.205,0-62.008,0s-49.607,0-74.41,0c-59.863,0-100.896,0-74.41,0c24.803,0-49.607,0-74.41,0 c-24.803,0-49.607,0-74.41,0s-49.606,0-74.41,0c-24.804,0-49.607,0-74.41,0c-24.804,0-49.607,0-62.008,0H0V394.488z'/%3E%3Cpath fill='%230D6DB4' d='M575.326,924.273c0,0,47.414-89.439,191.811-144.396s378.125,2.155,404.58,21.552 s62.015,139.009,62.015,139.009L575.326,924.273z'/%3E%3C/svg%3E%0A") no-repeat center top/cover;
/*	background: url("data:image/svg+xml,%3C%3Fxml version='1.0' standalone='no'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%2306a176' fill-opacity='1' d='M0,96L30,101.3C60,107,120,117,180,133.3C240,149,300,171,360,160C420,149,480,107,540,80C600,53,660,43,720,64C780,85,840,139,900,144C960,149,1020,107,1080,112C1140,117,1200,171,1260,192C1320,213,1380,203,1410,197.3L1440,192L1440,320L1410,320C1380,320,1320,320,1260,320C1200,320,1140,320,1080,320C1020,320,960,320,900,320C840,320,780,320,720,320C660,320,600,320,540,320C480,320,420,320,360,320C300,320,240,320,180,320C120,320,60,320,30,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") no-repeat center top/cover;
*/
}
/* TOPフルワイド背景画像 */
.home .yama {
	background: #39F url(https://kaohoikuen.jp/renew/wp-content/uploads/2025/09/yama001.webp) no-repeat center bottom/cover;
	padding-top: 22vw !important;
}
/* SUBフルワイド背景画像 */
.yama {
	background: #39F url(https://kaohoikuen.jp/renew/wp-content/uploads/2025/09/yama001.webp) no-repeat center bottom/cover;
	padding-top: 10vw !important;
}

/* --- LINKデコレーション --- */
.link a { border-bottom: dotted 4px; }

/* --- SWELLボタン --- */
/*  background：赤→白 + color:白→グリーン */
.green a { color: #128438 !important; }

/* --- TOP丸中文字 --- */
.circle {	
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: #63a84d;
	border-radius: 50%;
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: bold;
	text-align: center;
	padding: 10px;
	box-sizing: border-box;
}

/* --- 親.posi 子.配置位置 --- */
.posi {
	position: relative;
}
.posi .topleft {
	position: absolute;
	top: -30px;
	left: -30px;
}
.posi .topright {
	position: absolute;
	top: -30px;
	right: -30px;
}
.posi .top {
	position: absolute;
	top: 0;
}
.posi .bottom {
	position: absolute;
	bottom: 0;
}
@media (max-width: 600px) {
	.post_content h2 { margin: 0em 0 2em; }
}

/* --- アニメーション --- */
/* 要素をふわふわ */
/* 親要素にkumo:ヨコの動き */
.kumo {
  animation: floating-x 7.2s ease-in-out infinite alternate-reverse;
}
/* imgタグにfuwafuwa:タテの動き */
.fuwafuwa {
  animation: floating-y 1.8s ease-in-out infinite alternate-reverse;
}
@keyframes floating-x {
  0% { transform: translateX(-5%); }
  100% { transform: translateX(5%); }
}
@keyframes floating-y {
  0% { transform: translateY(-10%); }
  100% { transform: translateY(10%); }
}

/* 親要素にtori:全画面ヨコの動き */
.tori {
  animation: float-x 30.0s ease-in-out infinite normal;
}
/* imgタグにfuwafuwa:タテの動き */
.fuwa {
  animation: float-y 2.5s ease-in-out infinite alternate-reverse;
}
@keyframes float-x {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}
@keyframes float-y {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* メインビジュアル下imgウネウネ */
.uneru,
.uneru-min {
	border-radius: 1vw;
	transition-duration: .5s;
}
.uneru:hover,
.uneru-min:hover { 
	transform: scale(1.1);
}
.uneru img {
	height: fit-content;
    border-radius: 60% 80% 70% 40% / 90% 60% 50% 40%; 
	animation: uneune 15s linear infinite;
}
.uneru img:hover,
.uneru-min img:hover {
	animation: uneune 5s linear infinite;
}
@keyframes uneune {
  0% { border-radius: 60% 80% 70% 40% / 90% 60% 50% 40%; }
  25% { border-radius: 30% 60% 30% 90% / 30% 80% 20% 90%; }
  50% { border-radius: 60% 40% 70% 60% / 40% 60% 50% 60%; }
  75% { border-radius: 30% 60% 40% 70% / 70% 50% 80% 40%; }
  100% { border-radius: 60% 80% 70% 40% / 90% 60% 50% 40%; }
}
.uneru-min img {
	height: fit-content;
    border-radius: 30% 60% 30% 90% / 30% 80% 20% 90%; 
	animation: uneune-min 18s linear infinite;	
}
@keyframes uneune-min {
  0% { border-radius: 30% 60% 30% 90% / 30% 80% 20% 90%; }
  25% { border-radius: 60% 80% 70% 40% / 90% 60% 50% 40%; }
  50% { border-radius: 30% 60% 40% 70% / 70% 50% 80% 40%; }
  75% { border-radius: 60% 40% 70% 60% / 40% 60% 50% 60%; }
  100% { border-radius: 30% 60% 30% 90% / 30% 80% 20% 90%; }
}

/* --- プラグイン --- */
/* Contact form 7 */
.wpcf7-form-control-wrap input,
.wpcf7-textarea,
.wpcf7-submit {
  width: 100%;
  box-sizing: border-box; /* paddingとborderを含めた幅を100%に */
}

/* --- Function.php --- */
/* パスワード保護記事 タイトル[保護中:]非表示 */
.post-password-form {
  display: grid;
  grid-template-columns: 1fr 150px;
  grid-template-rows: 50px;
}
.post-password-form input[type="password"] {
  border:1px solid #ddd;
  padding: 0 1em;
}
.post-password-form input[type="submit"] {
  border:none;
  color:#ffffff;
  background:#000000;
}

/* --- margin ＆ padding-style --- */
.u-m-0 { margin: 0 !important; }
.u-m-5 { margin: 0.5em !important; }
.u-m-10 { margin: 1em !important; }
.u-m-15 { margin: 1.5em !important; }
.u-m-20 { margin: 2em !important; }
.u-m-25 { margin: 2.5em !important; }
.u-m-30 { margin: 3em !important; }
.u-m-40 { margin: 4em !important; }
.u-m-50 { margin: 5em !important; }

.u-p-0 { padding: 0 !important; }
.u-p-5 { padding: 0.5em !important; }
.u-p-10 { padding: 1em !important; }
.u-p-15 { padding: 1.5em !important; }
.u-p-20 { padding: 2em !important; }
.u-p-25 { padding: 2.5em !important; }

.u-pr-0 { padding-right: 0 !important; }
.u-pr-5 { padding-right: 0.5em !important; }
.u-pr-10 { padding-right: 1em !important; }
.u-pr-15 { padding-right: 1.5em !important; }
.u-pr-20 { padding-right: 2em !important; }
.u-pr-25 { padding-right: 2.5em !important; }

.u-pl-0 { padding-left: 0 !important; }
.u-pl-5 { padding-left: 0.5em !important; }
.u-pl-10 { padding-left: 1em !important; }
.u-pl-15 { padding-left: 1.5em !important; }
.u-pl-20 { padding-left: 2em !important; }
.u-pl-25 { padding-left: 2.5em !important; }
