@charset "utf-8";


/*Font Awesomeの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");

/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho&display=swap');

/*lightbox.cssの読み込み
---------------------------------------------------------------------------*/
@import url(https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.10.0/css/lightbox.css);

/*slick.cssの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css");

/*テンプレート専用cssファイルの読み込み
---------------------------------------------------------------------------*/
@import url("inview.css");


/*CSSカスタムプロパティ（サイト全体を一括管理する為の設定）
---------------------------------------------------------------------------*/
:root {

	--primary-color: #fff;				/*主にテンプレートの背景色*/
	--primary-inverse-color: #444;		/*primary-colorの対として使う色*/
	
	--accent-color: #32b86c;			/*テンプレートのアクセントとなる色*/
	--accent-color2: #5276eb;			/*テンプレートのアクセントとなる色*/
	--accent-inverse-color: #fff;		/*accent-colorの対として使う色*/
	--accent-inverse-color2: #e0eb52;		/*accent-colorの対として使う色*/

	--accent-color-rgb: 79,111,58;		/*accent-colorをrgb数値にしたもの。個別に透明度を調整して使い回す為のものです。*/

	--global-space: 10vw;				/*サイト内の余白の一括管理用。画面幅100%＝100vwです。*/
}


/*animation1のキーフレーム設定（開閉ブロックのアニメーションに使用）
---------------------------------------------------------------------------*/
@keyframes animation1 {
	0% {left: -200px;}
	100% {left: 0px;}
}


/*opa1のキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes opa1 {
	0% {opacity: 0;}
	100% {opacity: 1;}
}


/*全体の設定
---------------------------------------------------------------------------*/
body * {box-sizing: border-box;}

html,body {
	font-size: 13px;	/*基準となるフォントサイズ。*/
}

	/*画面幅900px以上の追加指定*/
	@media screen and (min-width:900px) {

		html, body {
			font-size: 16px;	/*基準となるフォントサイズ。*/
		}

	}/*追加指定ここまで*/


body {
	margin: 0;padding:0;
	font-family: "Shippori Mincho", "Hiragino Mincho Pro", "ヒラギノ明朝 Pro W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;	/*フォント種類*/
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	-webkit-text-size-adjust: none;
	background: var(--primary-color);		/*背景色。css冒頭のprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。css冒頭のprimary-inverse-colorを読み込みます。*/
	line-height: 2;					/*行間*/
	animation: opa1 0.2s 0.5s both;	/*0.5秒待機後、0.2秒かけてフェードイン表示*/
}

/*トップページの背景画像*/
body.home {
	background-image: url("../images/bg1.png");	/*背景画像の読み込み*/
	background-repeat: no-repeat;
	background-position: center top;
	background-size: 100%;
}

/*リセット*/
figure {margin: 0;}
dd {margin: 0;}
nav,ul,li,ol {margin: 0;padding: 0;}
nav ul {list-style: none;}
input {font-size: 1rem;}

/*ul,ol*/
ul,ol {margin-left: 1.5rem;margin-bottom: 1rem;}

/*table全般の設定*/
table {border-collapse:collapse;}

/*画像全般の設定*/
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}

/*videoタグ*/
video {max-width: 100%;}

/*iframeタグ*/
iframe {width: 100%;}

/*sectionが続く場合*/
section + section {
	margin-top: 8vw;	/*sectionの上に空けるスペース*/
}


/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
	color: var(--primary-inverse-color);		/*リンクテキストの色。css冒頭のprimary-inverse-colorを読み込みます。*/
	transition: 0.3s;	/*マウスオン時の移り変わるまでの時間設定。0.3秒。*/
}
a:hover {
	opacity: 0.8;	/*マウスオン時に色を80%にする*/
}


/*container（headerとcontentsを囲むブロック）
---------------------------------------------------------------------------*/
#container {
	padding: var(--global-space);	/*ボックス内の余白。css冒頭のglobal-spaceを読み込みます*/
}


/*ヘッダー
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
    margin-bottom: var(--global-space);	/*ボックス内の下（外側）へとる余白。css冒頭のglobal-spaceを読み込みます*/
	text-align: center;	/*テキストをセンタリング*/
}

/*ロゴ初期設定*/
#logo {margin: 0;padding: 0;}

/*トップページの縦書きロゴ*/
.home #logo img {
    width: 100px;	/*幅*/
}
	@media screen and (max-width:900px) {
.home #logo img {
    width: 40px;	/*幅*/
}
}


/*トップページ以外のロゴ*/
#logo img {
	width: 80%;	/*幅*/
}

/*英語ページのロゴ下の小さなテキスト*/
#logo .small {
	display: block;
	font-size: 0.8rem;	/*文字サイズを80%*/
}

/*メッセージテキスト*/
header .message {
	margin: 5vw auto;	/*上下、左右へ、ボックスの外側にとるスペース*/
        background:  rgba(255, 255, 255, 0.65);
	font-size: 1.3rem;
}



/*ヘッダー内の言語ボックス全体の設定
---------------------------------------------------------------------------*/
/*言語ボックス全体*/
header .lang {
	list-style: none;margin: 0;padding: 0;
	position: absolute;	/*絶対配置する為の指定*/
	top: 0px;			/*上からの配置場所*/
	right: 30px;		/*右からの配置場所*/
	display: flex;		/*各言語を横に並べる*/
	gap: 1rem;			/*各言語同士に空けるスペース。１文字分。*/
	font-size: 0.8rem;	/*モイサイズ80%*/
}

/*言語ボックス１個あたり*/
header .lang a {
	display: block;text-decoration: none;
	padding: 0.2rem 1.5rem;	/*ボックス内の余白。上下、左右。*/
	background: #000;	/*背景色*/
	color: #fff;	/*文字色*/
}


/*メニューブロック初期設定
---------------------------------------------------------------------------*/
/*メニューをデフォルトで非表示*/
#menubar {display: none;}
#menubar ul {list-style: none;margin: 0;padding: 0;}

/*上で非表示にしたメニューを表示させる為の設定*/
.large-screen #menubar {display: block;}
.small-screen #menubar.display-block {display: block;}

/*3本バーをデフォルトで非表示*/
#menubar_hdr.display-none {display: none;}

/*ドロップダウンをデフォルトで非表示*/
.ddmenu_parent ul {display: none;}

/*ddmenuを指定しているメニューに矢印アイコンをつける設定*/
a.ddmenu::before {
	font-family: "Font Awesome 5 Free";
	content: "\f078";		/*使いたいアイコン名（Font Awesome）をここで指定*/
	font-weight: bold;		/*この手の設定がないとアイコンが出ない場合があります*/
	font-size: 0.7rem;		/*文字サイズを70%に*/
	padding-right: 0.5rem;	/*右側に空ける余白。0.5文字分。*/
}


/*メニューブロック設定
---------------------------------------------------------------------------
/*メニューブロック設定*/
.small-screen #menubar.display-block {
	position: fixed;overflow: auto;z-index: 100;
	left: 0px;top: 0px;
	width: 100%;
	height: 100%;
	padding-top: 100px;	/*上に空ける余白。ハンバーガーアイコンと重ならない為の指定ですのでお好みで変更OK。*/
	background: var(--accent-color);	/*背景色*/
	color: var(--accent-inverse-color);	/*文字色。css冒頭で指定しているaccent-inverse-colorを読み込みます*/
	animation: animation1 0.2s both;		/*animation1を実行する。0.2sは0.2秒の事。*/

}

/*メニュー１個あたりの設定*/
.small-screen #menubar li {
	border: 1px solid #fff;	/*枠線の幅、線種、色*/
	margin: 1rem;			/*メニューの外側に空けるスペース*/
	border-radius: 5px;		/*角を丸くする指定*/
}
.small-screen #menubar a {
	display: block;text-decoration: none;
	color: inherit;
	padding: 1rem 3rem;		/*メニュー内の余白。上下、左右へ。*/
}
.small-screen #menubar li li a {
	background: var(--accent-inverse-color);	/*背景色。css冒頭で指定しているaccent-inverse-colorを読み込みます*/
	color: var(--accent-color);	/*文字色。css冒頭で指定しているaccent-colorを読み込みます*/
}

/*小文字の英語部分*/
#menubar span {
	display: block;
	font-size: 0.7em;		/*文字サイズを親要素の70%に*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる*/
	opacity: 0.6;			/*透明度。色が60%出た状態。*/
}

/*ドロップダウンブロック*/
.small-screen #menubar ul ul {
	animation: opa1 0.5s 0.1s both;	/*0.1秒待機後、0.5秒かけてフェードイン表示*/
}


/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
/*３本バーを囲むブロック*/
#menubar_hdr {
	animation: opa1 0.3s 0.5s both;
	position: fixed;z-index: 101;
	cursor: pointer;
	top: 0px;		/*上からの配置場所*/
	left: 0px;		/*左からの配置場所*/
	width: 70px;	/*幅*/
	height: 68px;	/*高さ*/
	padding: 25px 20px;	/*上下、左右への余白*/
	display: flex;
	justify-content: center;
	align-items: center;
	transition: transform 0.5s;
	background: var(--accent-color);	/*背景色。css冒頭のaccent-colorを読み込みます。*/
}

/*ここは変更不要*/
#menubar_hdr div {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

/*バーの設定*/
#menubar_hdr div span {
	display: block;
	width: 100%;
	height: 2px;			/*線の太さ*/
	background-color: var(--accent-inverse-color);	/*線の色。css冒頭のaccent-inverse-colorを読み込みます。*/
	transition: all 0.5s ease-in-out;
	position: absolute;
}

/*以下変更不要*/
#menubar_hdr div span:nth-child(1) {top: 0;}
#menubar_hdr div span:nth-child(2) {bottom: 0;}
#menubar_hdr.ham div span:nth-child(1) {top: 50%;transform: translateY(-50%) rotate(45deg);}
#menubar_hdr.ham div span:nth-child(2) {top: 50%;transform: translateY(-50%) rotate(-45deg);}


/*mainブロック
---------------------------------------------------------------------------*/
/*h2見出し*/
main h2 {
	position: relative;
	text-align: center;		/*テキストをセンタリング*/
	margin: 0 auto 8vw;		/*h2の外側にとるスペース。上、左右、下への順番。*/
	font-size: 2.4rem;		/*文字サイズ*/
	font-weight: normal;
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くする*/
	color: #228b22;
 -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #008000;}

	@media screen and (max-width:800px) {
        main h2 {
	         font-size: 2.0rem;		/*文字サイズ*/
	}
	}/*追加指定ここまで*/


/*h2の下が空きすぎるので続く要素がpもしくはh3の場合に少し上につめる*/
main h2 + p,
main h2 + h3 {
	margin-top: -4vw;
}

/*装飾用の小文字*/
main h2 .small {
	display: block;
	font-size: 0.6em;	/*文字サイズを親要素の50%に*/
	opacity: 0.8;		/*透明度。色が50%出た状態。*/
	letter-spacing: -0.1em;	/*文字間隔を少しだけ広くする*/
	color: #8a2be2;
 -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #6b8e23;}

}

/*h3見出し*/
main h3 {
	font-size: 1.4rem;		/*文字サイズ*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くする*/
	font-weight: normal;	/*デフォルトの太字を標準に*/
}
main .school {
	background-image: url("../images/school4-1.jpg");	/*背景画像の読み込み*/
	background-repeat: no-repeat;
	background-position: center top;
	background-size: 100%;
         border-radius: 2%;  /* 円形にする */
}

/*フッター共通
---------------------------------------------------------------------------*/
#footer-contents, #footermenu {
	padding: 2rem var(--global-space);	/*上下、左右へのボックス内の余白。左右はcss冒頭で指定しているglobal-spaceを読み込みます*/
}


/*フッターのコンテンツ（住所やマップが入っているブロック）
---------------------------------------------------------------------------*/
/*ブロック全体*/
#footer-contents {
	background: rgba(var(--accent-color-rgb), 0.8);	/*背景色*/
	color: var(--accent-inverse-color);	/*文字色*/
	font-size: 1.3rem;
}
#footer-contents a {
	color: inherit;
}

/*左側のブロック*/
#footer-contents .left {
	margin-bottom: 50px;	/*下に空けるスペース*/
}

/*ブロック内で使うbtnの設定*/
#footer-contents .btn a {
	border: 2px solid var(--accent-inverse-color);	/*枠線の幅、線種、色。色についてはcss冒頭の（accent-inverse-color）を読み込みます。*/
}

	/*画面幅900px以上の追加指定*/
	@media screen and (min-width:900px) {
	
	#footer-contents {
		display: flex;	/*直接の子要素を横並びにします*/
		gap: 5vw;	/*左右のボックスの間のマージン的な設定。*/
	}
	
	/*左側のブロック*/
	#footer-contents .left {
		margin-bottom: 0;	/*下のマージン（外側への余白）をリセット*/
		width: 50%;			/*幅。leftとrightで合計100になれば、お好みで変更してもらって構いません。*/
	}
	
	/*右側のブロック*/
	#footer-contents .right {
		width: 50%;			/*幅。leftとrightで合計100になれば、お好みで変更してもらって構いません。*/
	}

	}/*追加指定ここまで*/


/*footer-contents内のマップ。レスポンシブにする為のものなので、基本は編集不要です。
---------------------------------------------------------------------------*/
.iframe-box {
	width: 100%;
	height: 0;
	padding-top: 56.25%;	/*マップの高さを増やしたい場合は、ここの数値を上げてみて下さい。*/
	position: relative;
	overflow: hidden;
}
.iframe-box iframe {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}


/*フッターメニュー設定
---------------------------------------------------------------------------*/
/*ボックス全体の設定*/
#footermenu {
	background: var(--accent-color);		/*背景色。css冒頭で指定しているaccent-colorを読み込みます*/
	color: var(--accent-inverse-color);	/*文字色。css冒頭で指定しているaccent-inverse-colorを読み込みます*/
	font-size: 0.8rem;		/*文字サイズ。*/
	display: flex;			/*直接の子要素を横並びにします*/
	justify-content: space-between;	/*並びかたの種類の指定*/
	align-items: flex-start;		/*垂直揃えの指定。上に配置されるように。*/
}

/*ボックス内のリンクテキスト設定*/
#footermenu a {
	text-decoration: none;
	color: inherit;
}

/*ulタグ（メニューの１列あたり）*/
#footermenu ul {
	margin: 0;list-style: none;
	padding: 0 0.3em;
	flex: 1;
}

/*メニューの見出し(title)*/
#footermenu .title {
	font-weight: bold;		/*太字にする*/
	padding-bottom: 5px;	/*下に空けるスペース*/
}


/*フッター設定
---------------------------------------------------------------------------*/
small {font-size: 100%;}
footer {
	font-size: 0.7rem;		/*文字サイズ*/
	background: #222;	/*背景色*/
	color: #ccc;		/*文字色*/
	text-align: center;		/*内容をセンタリング*/
	padding: 1rem;			/*ボックス内の余白*/
}

/*リンクテキスト*/
footer a {color: inherit;text-decoration: none;}

/*著作部分*/
footer .pr {display: block;}


/*フッター内にあるソーシャルメディアのアイコン
---------------------------------------------------------------------------*/
ul.icons {
	list-style: none;
	margin: 0;padding: 0;
	display: flex;
	align-self: center;
	gap: 1rem;	/*アイコン同士のマージン的な要素。１文字分。*/
}
.icons i {
	font-size: 40px;	/*アイコンサイズ*/
}


/*list-grid1（３カラムボックス）
---------------------------------------------------------------------------*/
.list-grid1 .list * {margin: 0;padding: 0;}

/*ボックス１個あたり*/
.list-grid1 .list {
    display: grid;
	margin-bottom: var(--global-space);	/*下に空けるスペース*/
}
.list-grid1 .list p {
	font-size: 0.9rem;	/*文字サイズを85%に*/
	line-height: 1.5;	/*行間を狭くする*/
}

/*ボックス内のp要素*/
.list-grid1 .list .text {
	background-color: rgba(255, 255, 255, 0.5);		/*背景色*/
	padding: 2%;			/*ボックス内の余白。１文字分。*/
        border-radius: 10%;  /* 円形にする */
	margin: -0.5rem;	
}

.list-grid1 .list h4 {
	color: #ff6347;			/*文字色*/
	text-align: center;		/*テキストをセンタリング*/
}

/*ボックス１個あたり*/
.list-grid1 .list {
	padding: 1rem;			/*ボックス内の余白。１文字分。*/
	background-color: rgba(255, 255, 255, 0);		/*背景色*/
	color: #111;			/*文字色*/
    grid-template-rows: auto 1fr auto;	/*１つ目（この場合はfigure要素のサイズ）と「詳しくみる」ボタンの高さは自動に、２つ目（この場合はtextブロック））を残った幅で使う*/
}

/*ボックス内のfigure画像*/
.list-grid1 .list figure {
	margin: -1rem;			/*画像を枠いっぱいに表示させる為に上の「.list-grid1 .list」のpadding分をネガティブマーインで指定*/
	margin-bottom: 0.5rem;	/*画像の下に空けるスペース*/
}

	/*画面幅800px以上の追加指定*/
	@media screen and (min-width:800px) {

	/*listブロック全体を囲むブロック*/
	.list-grid1 {
		display: grid;
		grid-template-columns: repeat(3, 1fr);	/*3列にする指定。4列にしたければrepeat(4, 1fr)とする。*/
		gap: 3vw;	/*ブロックの間に空けるマージン的な指定*/
	}

	/*ボックス１個あたり*/
	.list-grid1 .list {
		margin-bottom: 0;	/*下に空けるスペースをなくす*/
	}

	}/*追加指定ここまで*/

.list-grid1 .list figure img {
         border-radius: 50%;  /* 円形にする */
	}

	@media screen and (max-width:800px) {
.list-grid1 .list h4 {
	font-size: 1.4rem;	/*文字サイズを85%に*/
}
.list-grid1 .list p {
	font-size: 1.3rem;	/*文字サイズを85%に*/
	line-height: 1.5;	/*行間を狭くする*/
	}
.list-grid1 {
	width: 70%;
	margin: 0 auto;
	}
.list .img {
	width: 80%;
	margin: 0 auto;
	}
	}/*追加指定ここまで*/



/*list-grid2（2カラムボックス）
---------------------------------------------------------------------------*/
.list-grid2 .list * {margin: 0;padding: 0;}

/*ボックス１個あたり*/
.list-grid2 .list {
    display: grid;
	margin-bottom: var(--global-space);	/*下に空けるスペース*/
}
.list-grid2 .list h4 {
	font-size: 1.2rem;	/*文字サイズを85%に*/
	text-align: center;
}
.list-grid2 .list .img {
	width: 60%;
	margin: 0 auto;
	}

	/*画面幅800px以上の追加指定*/
	@media screen and (min-width:800px) {

	/*listブロック全体を囲むブロック*/
	.list-grid2 {
		display: grid;
		grid-template-columns: repeat(2, 1fr);	/*3列にする指定。4列にしたければrepeat(4, 1fr)とする。*/
		gap: 3vw;	/*ブロックの間に空けるマージン的な指定*/
	}
	/*ボックス１個あたり*/
	.list-grid2 .list {
		margin-bottom: 0;	/*下に空けるスペースをなくす*/
	}

	}/*追加指定ここまで*/

.list-grid2 .list figure img {
         border-radius: 10%;  /* 円形にする */
	}

	@media screen and (max-width:800px) {
.list-grid2 .list h4 {
	font-size: 1.4rem;	/*文字サイズを85%に*/
}
.list-grid2 .list p {
	font-size: 1.3rem;	/*文字サイズを85%に*/
	line-height: 1.5;	/*行間を狭くする*/
	}
.list-grid2 {
	width: 70%;
	margin: 0 auto;
	}
.list-grid2 .list .img {
	width: 65%;
	margin: 0 auto;
	}
	}/*追加指定ここまで*/


/*list-grid3（2カラムボックス）
---------------------------------------------------------------------------*/
.list-grid3 .list * {margin: 0;padding: 0;}

/*ボックス１個あたり*/
.list-grid3 .list {
    display: grid;
	margin-bottom: var(--global-space);	/*下に空けるスペース*/
}
.list-grid3 .list h4 {
	font-size: 1.2rem;	/*文字サイズを85%に*/
	font-weight: normal;
}
.list-grid3 .list p {
	font-size: 1.2rem;	/*文字サイズを85%に*/
	line-height: 1.5;	/*行間を狭くする*/
	}

	/*画面幅800px以上の追加指定*/
	@media screen and (min-width:800px) {
.list-grid3 .list h4 {
	font-size: 1.0rem;	/*文字サイズを85%に*/
	font-weight: normal;
	}
.list-grid3 .list p {
	font-size: 1.0rem;	/*文字サイズを85%に*/
	line-height: 1.5;	/*行間を狭くする*/
	}
	}/*追加指定ここまで*/



/*list-free（レイアウトフリー用）
---------------------------------------------------------------------------*/
.list-free * {margin: 0;padding: 0;}

/*list-freeボックス*/
.list-free {
	display: flex;			/*直接の子要素を横並びに*/
    flex-direction: column;	/*一旦縦並びにしておく*/
	align-items: flex-start;/*子要素を上に揃える*/
	margin-bottom: 10vw;	/*ボックスの下（外側）に空けるスペース*/
	gap: 5vw;				/*子要素同士に空けるマージン的な要素。画面幅100%＝100vwです。*/
}

/*bg1背景の中にある最後のlist-freeの下マージンをなくす*/
.bg1 .list-free:last-of-type {
	margin-bottom: 0;
}

/*テキストブロック*/
.list-free .text {
    align-self: flex-start;
	flex: 1;
}

/*h3見出し*/
.list-free h3 {
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くする*/
	font-size: 1.5rem;		/*文字サイズを150%に*/
	color: var(--primary-inverse-color);	/*文字色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
	position: relative;	/*カギカッコを絶対配置する為に必要な指定*/
	padding: 0 1rem;	/*上下、左右へのh3内の余白*/
	margin: 0 auto;		/*左右の中央に配置*/
}

/*bg1背景の中にあるh3*/
.bg1 .list-free h3 {
	color: var(--accent-inverse-color);	/*文字色。css冒頭のaccent-inverse-colorを読み込みます。*/
}

/*h3見出しのカギカッコ装飾（共通設定）*/
.list-free h3::before,
.list-free h3::after {
	content: "";
	position: absolute;
	width: 20px;	/*カギカッコの幅。お好みで。*/
	height: 50px;	/*カギカッコの高さ。お好みで。*/
	border: 1px solid var(--primary-inverse-color);	/*枠線の幅、線種、varは色の事でcss冒頭で指定しているprimary-inverse-colorを読み込みます*/
}

/*bg1背景の中にあるh3*/
.bg1 .list-free h3::before,
.bg1 .list-free h3::after {
	border-color: var(--accent-inverse-color);	/*枠線の幅の上書き。css冒頭のaccent-inverse-colorを読み込みます*/
}

/*h3見出しの最初のカギカッコの設定*/
.list-free h3::before {
	top: -15px;		/*テキストからの距離。お好みで。*/
	left: -15px;	/*テキストからの距離。お好みで。*/
	border-right: none;		/*右の線は消す*/
	border-bottom: none;	/*下の線は消す*/
}

/*h3見出しの最後のカギカッコの設定*/
.list-free h3::after {
	bottom: -15px;	/*テキストからの距離。お好みで。*/
	right: -15px;	/*テキストからの距離。お好みで。*/
	border-left: none;	/*左の線は消す*/
	border-top: none;	/*上の線は消す*/
}

/*h4見出し*/
.list-free h4 {
	font-size: 1.3rem;
	color: var(--primary-inverse-color);	/*文字色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
	margin-bottom: 0.5em;
}

/*bg1背景の中にあるh4*/
.bg1 .list-free h4 {
	color: var(--accent-inverse-color);	/*文字色。css冒頭のaccent-inverse-colorを読み込みます。*/
}

/*画像ブロック*/
.list-free .image {
	box-shadow: 0px 10px 40px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかす量。0,0,0は黒のことで0.1は色が10%出た状態。。*/
}

/*画像ブロック内のdivタグ。テキストを囲むブロックです。*/
.list-free .image > div {
	background: var(--primary-inverse-color);	/*背景色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
	color: var(--primary-color);				/*文字色。css冒頭で指定しているprimary-colorを読み込みます*/
	font-size: 0.7rem;	/*文字サイズを70%*/
	padding: 1rem 2rem;	/*上下、左右への余白*/
}

	/*画面幅600px以上の追加指定*/
	@media screen and (min-width:600px) {
	
	/*list-freeボックス*/
	.list-free {
		flex-direction: row;	/*縦並びから横並びにする*/
	}
	
	/*h3見出し*/
	.list-free h3 {
		writing-mode: vertical-rl;	/*縦書きの指定。*/
		text-orientation: upright;	/*文字の向き*/
		padding: 1rem 0.5rem;	/*上下、左右へのh3内の余白*/
	}

	/*その他（汎用向け）お好みでもっと追加して使ってもOK*/
	.list-free .w1 {width: 30%;}
	.list-free .w2 {width: 50%;}
	.list-free .order1 {order: 1;}
	.list-free .order2 {order: 2;}
	.list-free .order3 {order: 3;}
	.list-free .mt1 {margin-top: 10vw;}
	.list-free .mt2 {margin-top: 20vw;}

	}/*追加指定ここまで*/


/*ボタン（btn）
---------------------------------------------------------------------------*/
.btn a {
	display: block;text-decoration: none;
	font-size: 1.2rem;
	text-align: center;		/*テキストをセンタリング*/
	background: var(--accent-color);	/*背景色。css冒頭のvar(accent-color)を読み込みます*/
	color: var(--accent-inverse-color);	/*文字色。css冒頭で指定しているaccent-inverse-colorを読み込みます*/
	padding: 0.5rem !important;		/*ボタン内の余白*/
	margin-top: 1rem !important;	/*ボタンの外（上）に空けるスペース*/
}
.btn-voice a {
	display: block;text-decoration: none;
	font-size: 1.2rem;
	text-align: center;		/*テキストをセンタリング*/
	background: var(--accent-color2);	/*背景色。css冒頭のvar(accent-color)を読み込みます*/
	color: var(--accent-inverse-color2);	/*文字色。css冒頭で指定しているaccent-inverse-colorを読み込みます*/
	padding: 0.5rem !important;		/*ボタン内の余白*/
	margin-top: 1rem !important;	/*ボタンの外（上）に空けるスペース*/
}


/*お知らせブロック
---------------------------------------------------------------------------*/
/*お知らせブロック*/
.new {
	border-top: 1px solid #ccc;	/*ブロックの上の線幅、線種、色*/
	font-size: 1.3rem;
}

/*日付(dt)設定*/
.new dt {
	padding: 1rem;	/*dt内の余白*/
}

/*記事(dd)設定*/
.new dd {
	padding: 0 1rem 1rem;	/*上、左右、下へのdd内の余白*/
	border-bottom: 1px solid #ccc;	/*下の線の幅、線種、色*/
}

/*ブロック内のspan。日付の横のアイコン的な部分の共通設定*/
.new dt span {
	display: inline-block;
	margin-right: -1rem;
	text-align: center;
	line-height: 1.8;		/*行間（アイコンの高さ）*/
	border-radius: 3px;		/*角を丸くする指定*/
	padding: 0 0.5rem;		/*上下、左右へのブロック内の余白*/
	width: 8rem;			/*幅。8文字分。*/
	transform: scale(0.8);	/*80%のサイズに縮小*/
	background: #fff;		/*背景色*/
	color:#777;				/*文字色*/
	border: 1px solid #999;	/*枠線の幅、線種、色*/
}

/*icon-bg1*/
.new .icon-bg1 {
	background: var(--accent-color);		/*背景色。css冒頭で指定しているaccent-colorを読み込みます*/
	color: var(--accent-inverse-color);	/*文字色。css冒頭で指定しているaccent-inverse-colorを読み込みます*/
	border-color: transparent;				/*枠線を出したくないので透明にする*/
}

/*icon-bg2*/
.new .icon-bg2 {
	background: #ff0000;	/*背景色*/
	color: #fff;		/*文字色*/
	border-color: transparent;	/*枠線を出したくないので透明にする*/
}

	/*画面幅700px以上の追加指定*/
	@media screen and (min-width:700px) {

	/*ブロック全体*/
	.new {
		display: grid;	/*gridを使う指定*/
		grid-template-columns: auto 1fr;	/*横並びの指定。日付とアイコン部分の幅は自動で、内容が入るブロックは残り幅一杯とる。*/
	}

	/*日付(dt)設定*/
	.new dt {
		border-bottom: 1px solid #ccc;	/*下の線の幅、線種、色*/
	}

	/*記事(dd)設定*/
	.new dd {
		padding: 1rem;	/*dd内の余白*/
	}

	}/*追加指定ここまで*/


/*テーブル（ta1）
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption {
	font-weight: bold;		/*太字に*/
	padding: 0.5rem 1rem;	/*ボックス内の余白*/
	background: var(--accent-color);		/*背景色*/
	color: var(--accent-inverse-color);	/*文字色*/
	margin-bottom: 1rem;	/*下に空けるスペース*/
	border-radius: 5px;		/*角を丸くする指定*/
}

/*ta1テーブルブロック設定*/
.ta1 {
	table-layout: fixed;
	border-top: 1px solid #999;	/*テーブルの一番上の線。幅、線種、色*/
	width: 100%;				/*幅*/
	margin-bottom: 1rem;			/*テーブルの下に空けるスペース*/
}

/*tr（１行分）タグ設定*/
.ta1 tr {
	border-bottom: 1px solid #999;	/*テーブルの下線。幅、線種、色*/
}

/*th（左側）、td（右側）の共通設定*/
.ta1 th, .ta1 td {
	padding: 1rem;		/*ボックス内の余白*/
	word-break: break-all;	/*英語などのテキストを改行で自動的に折り返す設定。これがないと、テーブルを突き抜けて表示される場合があります。*/
}

/*th（左側）のみの設定*/
.ta1 th {
	width: 30%;			/*幅*/
	text-align: left;	/*左よせにする*/
}

	/*画面幅900px以上の追加指定*/
	@media screen and (min-width:900px) {

		/*th（左側）のみの設定*/
		.ta1 th {
			width: 20%;		/*幅*/
		}

	}/*追加指定ここまで*/


/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
.pagetop-show {display: block;}

/*ボタンの設定*/
.pagetop a {
	display: block;text-decoration: none;text-align: center;z-index: 99;
	position: fixed;	/*スクロールに追従しない(固定で表示)為の設定*/
	right: 20px;		/*右からの配置場所指定*/
	bottom: 20px;		/*下からの配置場所指定*/
	color: #fff;		/*文字色*/
	font-size: 1.5rem;	/*文字サイズ*/
	background: rgba(0,0,0,0.2);	/*背景色。0,0,0は黒の事で0.2は色が20%出た状態。*/
	width: 60px;		/*幅*/
	line-height: 60px;	/*高さ*/
	border-radius: 50%;	/*円形にする*/
}


/*bg1背景
---------------------------------------------------------------------------*/
.bg1 {
	background: var(--accent-color);	/*背景色。css冒頭のaccent-colorを読み込みます。*/
	color: var(--accent-inverse-color);	/*文字色。css冒頭のaccent-inverse-colorを読み込みます。*/
	padding: var(--global-space);		/*ボックス内の余白。css冒頭のglobal-spaceを読み込みます。*/
	
    /*以下は変更不要*/
    margin-right: calc(-1 * var(--global-space));
    margin-left: calc(-1 * var(--global-space));
}


/*bg2背景
---------------------------------------------------------------------------*/
.bg2 {
	background: rgba(0,0,0,0.05);	/*背景色。0,0,0は黒のことで0.05は色が5%出た状態。*/
	padding: 1.5rem;				/*ボックス内の余白。1.5文字分*/
}


/*marker（マーカー風スタイル）
---------------------------------------------------------------------------*/
.marker {
	display: inline-block;
	background: linear-gradient(transparent 80%, yellow 80%);
}


/*その他
---------------------------------------------------------------------------*/
.clearfix::after {content: "";display: block;clear: both;}
.color-check, .color-check a {color: #ff0000 !important;}
.l {text-align: left !important;}
.c {text-align: center !important;}
.r {text-align: right !important;}
.ws {width: 95%;display: block;}
.wl {width: 95%;display: block;}
.mb0 {margin-bottom: 0px !important;}
.mb30 {margin-bottom: 30px !important;}
.mb5vw {margin-bottom: 5vw !important;}
.look {display: inline-block;padding: 0px 10px;background: #fff;color: #333;border: 1px solid #ccc; border-radius: 3px;margin: 5px 0; word-break: break-all;}
.small {font-size: 0.75em;}
.large {font-size: 2em; letter-spacing: 0.1em;}
.pc {display: none;}
.dn {display: none !important;}
.block {display: block !important;}

	/*画面幅900px以上の追加指定*/
	@media screen and (min-width:900px) {

	.ws {width: 48%;display: inline;}
	.sh {display: none;}
	.pc {display: block;}

	}/*追加指定ここまで*/



/* アニメーションを適用するクラス。
animationの行の「0.1s」が文字の出現のなめらかさで、大きいほどなめらかに出てきます。現状0.1ですが、0.5など大きくするとなめらかに出てきます。
１文字ずつの出現する際の時差は、js/main.jsの「テキストのフェードイン効果」の中にある「0.1」で調整できます。*/
.char {
    display: inline-block;
    opacity: 0;
    animation: fadeIn 0.1s linear both;
}


/*アニメーションボタン。（枠線をぐるっとなぞるアニメーション）
---------------------------------------------------------------------------*/
@keyframes w {0% {width: 0px;} 100% {width: 100%;}}
@keyframes h {0% {height: 0px;} 100% {height: 100%;}}

.photo {
	text-align: center;	/*左よせにする*/
	margin: 1% auto;	/*上下に３文字分のスペースを空ける*/
}

/*ボタンの一番の外側のボックス*/
.animation-btn {
	position: relative;		/*枠線をアニメーションさせる為に必要な指定*/
	display: inline-block;
	box-shadow: 0px 0px 0px 1px rgba(255,0,0,0.5) inset;	/*デフォルトで見えている枠線の設定。255,255,255は白の事で0.5は色が50%出た状態。*/
	font-size: 1.5rem;		/*文字サイズ。1.5倍。*/
	font-weight: bold;	/*デフォルトの太字を標準に*/
}

/*上のanimation-btnの内側にあるボックス*/
.animation-btn-inner {
	display: block;text-decoration: none;
	padding: 0.5em 3em;		/*ボタン内の余白。上下、左右へ。emは文字の単位。1emが1文字分という事です。*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる*/
	text-indent: 0.1em;		/*letter-spacingを設定するとその分全体のテキスト位置がずれるので、戻す設定。同じ数字にしておけばOKです。*/
}

	@media screen and (max-width:800px) {
        .animation-btn-inner {
	 padding: 0.5em 1em;
        }
	}/*追加指定ここまで*/

/*ボタン内でiタグを使う場合の設定*/
.animation-btn-inner i {
	display: inline-block;
	transition: 0.3s;		/*アニメーションにかける時間。0.3秒。*/
	padding-left: 1em;		/*テキストと、iタグの間の余白*/
}
.animation-btn-inner:hover i {
	transform: translateX(5px);	/*マウスオン時にiタグを5pxだけ右に移動する*/
}

/*枠線共通*/
.animation-btn::before,
.animation-btn::after,
.animation-btn-inner::before,
.animation-btn-inner::after {
	content: "";
	position: absolute;
	background-color: #fff;		/*background(背景)スタイルですが、ここでは枠線の色に使われます。*/
	animation-duration: 0.2s;	/*アニメーションにかける時間。１辺あたり0.2秒。*/
	animation-fill-mode: forwards;	/*アニメーション完了時に最後のフレームを維持。この１行を外してみると別の動作になって面白い動きになります。*/
	animation-timing-function: linear;	/*アニメーションの速度のタイプ。同じ速度にする。*/
}

/*ラインアニメーション１（左上→右上）*/
.animation-btn:hover::before {
	left: 0px;	/*開始地点の指示*/
	top: 0px;	/*開始地点の指示*/
	height: 1px;		/*線の幅の代わりになります*/
	animation-name: w;	/*上の「@keyframes」で使うアニメーション名の指定。*/
}

/*ラインアニメーション２（右上→右下）*/
.animation-btn:hover::after {
	right: 0px;	/*開始地点の指示*/
	top: 0px;	/*開始地点の指示*/
	width: 1px;			/*線の幅の代わりになります*/
	animation-name: h;	/*上の「@keyframes」で使うアニメーション名の指定。*/
	animation-delay: 0.2s;	/*アニメーションを0.2秒遅れてスタートさせる。*/
}

/*ラインアニメーション３（右下→左下）*/
.animation-btn-inner:hover::before {
	right: 0px;		/*開始地点の指示*/
	bottom: 0px;	/*開始地点の指示*/
	height: 1px;		/*線の幅の代わりになります*/
	animation-name: w;	/*上の「@keyframes」で使うアニメーション名の指定。*/
	animation-delay: 0.4s;	/*アニメーションを0.4秒遅れてスタートさせる。*/
}

/*ラインアニメーション４（左下→左上）*/
.animation-btn-inner:hover::after {
	left: 0px;		/*開始地点の指示*/
	bottom: 0px;	/*開始地点の指示*/
	width: 1px;			/*線の幅の代わりになります*/
	animation-name: h;	/*上の「@keyframes」で使うアニメーション名の指定。*/
	animation-delay: 0.6s;	/*アニメーションを0.6秒遅れてスタートさせる。*/
}


/*list-grid（gallery.htmlでサムネイルを表示している部分の設定です）
---------------------------------------------------------------------------*/
/*listブロックを囲む外側のボックス*/
.list-grid-trimming {
	display: grid;
	grid-template-columns: repeat(4, 1fr);	/*ここの「4」の数字が横に並べる数です。3列がいいなら(3, 1fr)です。*/
	gap: 1rem;	/*マージン的な数値。サムネイル間を１文字分あけます。*/
}
	@media screen and (max-width:900px) {
.list-grid-trimming {
	display: grid;
	grid-template-columns: repeat(2, 1fr);	/*ここの「4」の数字が横に並べる数です。3列がいいなら(3, 1fr)です。*/
	gap: 1rem;	/*マージン的な数値。サムネイル間を１文字分あけます。*/
}
}

/*ボックスを正方形にトリミングする為の指定なので変更しない。*/
.list-grid-trimming .list {
	position: relative;
	overflow: hidden;
	height: 0;
	padding-top: 100%;
}
.list-grid-trimming .list a {
	display: block;
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}
.list-grid-trimming .list img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: 0.5s;	/*マウスオン時にかける時間。0.5秒。*/
}

/*マウスオン時の画像*/
.list-grid-trimming .list img:hover {
	transform: scale(1.1);	/*1.1倍に拡大*/
	filter: contrast(1.3);	/*コントラストを1.3倍*/
}

/*問い合わせページの設定です
---------------------------------------------------------------------------*/

.question {
	font-size: 1.3rem;		/*文字サイズ。1.3倍。*/
	color: rgba(224, 9, 120, 1);		/*文字色*/
}
.ans {
	font-size: 1.3rem;		/*文字サイズ。1.3倍。*/
	color: rgba(76, 12, 133, 1);		/*文字色*/
}
.ans a {
	color: rgba(76, 12, 133, 1);		/*文字色*/
	text-decoration: underline dotted;
}
.qu {
	font-size: 1.4rem;		/*文字サイズ。1.4倍。*/
	color: rgba(181, 0, 3, 1);		/*文字色*/
	padding-right: 0.6rem; 
}
.an {
	font-size: 1.4rem;		/*文字サイズ。1.4倍。*/
	color: rgba(0, 10, 122, 1);		/*文字色*/
	padding-right: 0.6rem; 
}
.tell {
	font-size: 1.3rem;		/*文字サイズ。1.3倍。*/
	color: #000;		/*文字色*/
}
.num a {
	font-size: 1.5rem;		/*文字サイズ。1.5倍。*/
	color: #008800;		/*文字色*/
}
.toiawase {
	font-size: 1.2rem;		/*文字サイズ。1.2倍。*/
}
.green {
	color: #006600;		/*文字色*/
	font-weight: bold;
}

/*生徒さんの声の設定です
---------------------------------------------------------------------------*/
.balloon-001 {
    display: flex;
    align-items: center;
    gap: 0 22px;
}

.balloon-001 h4 {
    max-width: 70px;
    height: 80px;
    border: 3px solid #f2f2f2;
    border-radius: 50%;
    text-align: center;
    writing-mode: vertical-rl;
    text-orientation: upright;
}

.balloon-001 p {
    position: relative;
    padding: .8em 1.2em;
    max-width: 95%;
    height: 100%;
    border: 1px solid #7d7d7d;
    border-radius: 5px;
    background-color: #fff;
    color: #333333;
    text-indent: 10px;
}

.balloon-001 p::before,
.balloon-001 p::after { 
    position: absolute;
    top: 30%;    
    left: -15px;
    width: 15px;
    height: 30px;
    clip-path: polygon(0 50%, 100% 0, 100% 100%);
    content: '';
}

.balloon-001 p::before {
    background-color: #7d7d7d;
}

.balloon-001 p::after {
    left: -14px;
    background-color: #fff;
}


.balloon-002 {
    display: flex;
    align-items: center;
    gap: 0 22px;
}

.balloon-002 h4 {
    max-width: 70px;
    height: 80px;
    border: 3px solid #f2f2f2;
    border-radius: 50%;
    text-align: center;
    writing-mode: vertical-rl;
    text-orientation: upright;
}

.balloon-002 p {
    position: relative;
    padding: 7px 10px 7px 30px;
    max-width: 90%;
    height: 100%;
    border-radius: 5px;
    background-color: rgba(212, 249, 250, 0.5);
    color: #333333;
}

.balloon-002 p::before {
    position: absolute;
    top: 30%;    
    left: -15px;
    width: 15px;
    height: 30px;
    background-color: rgba(212, 249, 250, 0.5);
    clip-path: polygon(0 50%, 100% 0, 100% 100%);
    content: '';
}



.balloon-003 {
    display: flex;
    align-items: center;
    gap: 0 22px;
}

.balloon-003 h4 {
    max-width: 70px;
    height: 80px;
    border: 3px solid #f2f2f2;
    border-radius: 50%;
    text-align: center;
    writing-mode: vertical-rl;
    text-orientation: upright;
}

.balloon-003 p {
    position: relative;
    padding: 7px 10px 7px 30px;
    max-width: 90%;
    height: 100%;
    border-radius: 5px;
    background-color: rgba(235, 223, 245, 0.5);
    color: #333333;
}

.balloon-003 p::before {
    position: absolute;
    top: 30%;    
    left: -15px;
    width: 15px;
    height: 30px;
    background-color: rgba(235, 223, 245, 0.5);
    clip-path: polygon(0 50%, 100% 0, 100% 100%);
    content: '';
}



.balloon-004 {
    display: flex;
    align-items: center;
    gap: 0 22px;
}

.balloon-004 h4 {
    max-width: 70px;
    height: 80px;
    border: 3px solid #f2f2f2;
    border-radius: 50%;
    text-align: center;
    writing-mode: vertical-rl;
    text-orientation: upright;
}

.balloon-004 p {
    position: relative;
    padding: 7px 10px 7px 30px;
    max-width: 90%;
    height: 100%;
    border-radius: 5px;
    background-color: rgba(247, 247, 210, 0.5);
    color: #333333;
}

.balloon-004 p::before {
    position: absolute;
    top: 30%;    
    left: -15px;
    width: 15px;
    height: 30px;
    background-color: rgba(247, 247, 210, 0.5);
    clip-path: polygon(0 50%, 100% 0, 100% 100%);
    content: '';
}


