﻿/* =====================================================================================================

使用カラー
	赤：#DF0615
	緑：#02993B
	白：#FFF
	灰(暗)：#D9D1CC
	灰(明)：#EFE9E6
	黒：#43414F
	黄緑：#ABDB25 (rgb 171,219,37)

レイアウト　：960px

========================================================================================================
▼もくじ
	1.汎用型ページレイアウト
	2.汎用型の装飾
	3.「インデックス」ページ
	4.子ページ
	―「教室」ページ
	―「レギュラープラン」ページ
	5.メディアクエリ（PC用）

======================================================================================================== */



article, aside, details, figcaption, figure, header, hgroup, menu, nav, section {
	display: block;
}/* 未対応ブラウザ用 */

html {

}


:root {/* カスタムプロパティ　全体に適用する数値 記述する際はvar(--変数名)*/
	--color-red          : #DF0615;/* 赤 */
	--color-green        : #02993B;/* 緑 */
	--color-yellow-green : #ABDB25;/* 黄緑 */
	--color-gray-light   : #EFE9E6;/* 灰（明） */
	--color-gray-mid     : #D9D1CC;/* 灰（中間） */
	--color-gray-dark    : #9C9794;/* 灰（暗） */
	--color-black        : #43414F;/* 黒 */
}

body{
	font-family      : "メイリオ", Meiryo, Osaka, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	background-color : #EFE9E6;/* 背景色 */
	color            : #43414F;/* フォント色 */
	width : 100%;
}

*{/* すべての要素のマージンとパディングをオフ */
	margin:0;
	padding:0;
}

*,
*:before,
*:after {/* すべての要素でボーダーをwidthに含む */
  box-sizing: border-box;
}



/* ========================================================================================================

1.汎用型ページレイアウト

======================================================================================================== */

/*---------------------------------------------------------*/

header {
	background-color: #fff;
}

header .pc {/* スマホでPC用画像を表示しない */
	display: none !important;
	width : 90%;
	margin : 0 auto;
}

header .sp {/* スマホ用画像を表示 */
	display: block !important;
	width : 90%;
	max-width: 450px;
	margin : 0 auto;
}

header figure {
	height : 200px;
	position : relative;
}

header h1 {
position:absolute;
top: 50%;
left: 50%;
transform: translateY(-50%) translateX(-50%);
-webkit- transform: translateY(-50%) translateX(-50%);
width : 90%;
max-width:450px;
}

/* ------メニュー-------- */

.modal { /* モーダルウィンドウ */
display : none;
position: fixed;
z-index: 999;
left: 0;
top: 0;
height: 100%;
width: 100vw;
overflow: auto;
background-color: rgba(0,0,0,0.5);
}

#modal-on , #modal-close {
	display : none;
}


/* ヘッダーナビ メイン・サブ共通部分 */

header nav {
	width: 100%;
}

header nav > ul {
  display: flex;
	width: 100%;
	margin:0;
	padding : 0;
	justify-content: space-around;
}

header nav > ul > li {
  width: 25%;
	text-align: center;
}

header nav li {
  list-style: none;
}

header nav div , header nav > ul > li > a {
	display: flex;
	flex-direction:column;
  justify-content: center; /*左右中央揃え*/
  align-items: center;     /*上下中央揃え*/
	border-right: 1px solid #eee;
	text-decoration: none;
}

header nav li:first-child {
	border-left: 1px solid #eee;
}

header nav .icon {
	display:block;
}

header nav p {
	font-size: 11px;
	margin: 0;
	line-height:1.2;
}


/* ヘッダーナビ メインメニュー */

#menu {
	background-color: var(--color-red);
}

#menu > ul {
	height: 80px;
	position : relative;
}

#menu > ul > li {
	height: 80px;
}

#menu ul li {
	z-index : 1000;
}

#menu div , #menu > ul > li > a {
	height: 80px;
	color: #fff;
}

#menu .icon {
  max-width: 50%;
	height : 50%;
	margin-bottom : 5px;
}

/* ヘッダーナビ メインメニュー 子階層以降共通 */

#menu ul ul {
	width : 100vw;
	margin : 0;
	overflow: hidden;
}

#menu li li {/* 普段は隠しておく */
	width:100vw;
  height: 0;
  overflow: hidden;
  transition: .5s;
	z-index : 1000;
	background-color: #fff;
}

#menu li li a {
	display : flex;
	height : 100px;
	align-items : center;
	color : var(--color-black);
  border-top: 1px solid #eee;
	padding : 0;
	margin : 0;
	text-decoration: none;
}

#menu li:hover > ul > li {
  height: 100px;
  overflow: visible;
}

#menu :hover > ul {
  height: auto;
  overflow: visible;
}

#menu li ul img {
	height : 80%;
	width : auto;
	margin : 0 15px 0 15px;
}

#menu ul ul p {
	margin : 0;
	line-height :20px;
	text-align : left;
	font-size : 14px;
	font-weight: normal;
}

#menu span {
	font-weight : bold;
}

#menu label {
	margin : 0;
	padding:0;

}

/* 各店舗ページ用サブメニュー */

#sub-menu {
	background-color: #9E9A98;
}

#sub-menu > ul {
	height: 4rem;
	margin-top: 1px;
}

#sub-menu > ul > li {
	height: 4rem;
	z-index :999;
}

#sub-menu > ul > li > a {
	height: 4rem;
	color: fff;
}

#sub-menu .icon {
  max-width: 40%;
	height : 40%;
	margin-bottom : 5px;
}

#sub-menu {
	width: 100%;
	height: 4rem;
	background-color: #9E9A98;
}

/* メインエリア */
main {
	width : 90%;
	margin : 0 auto;
	margin-bottom : 20px;
}

/* SNSボタン */
.sns {
	display: flex;
	height: 30px;
	justify-content: flex-end;
}

.sns img {
	height: 100%;
	margin-left: 0.5rem;
}

/* リンクボタンエリア */
.button-area {
	list-style-type : none;
	padding : 0;
	display : flex;
	justify-content: space-between;
	flex-wrap : wrap;/* 折り返し */
	width : 100%;
	margin : 0  auto;
}

.button-area img {/* エリアの画像の全体設定 */
	width : 100%;
	max-height:200px;
	object-fit    : cover; /* 画像をトリミング */
	border-radius : 10px;          /* 角丸       */
	cursor        : pointer;     /* カーソル   */
	transition    : .6s;         /* なめらか変化 */
	box-shadow    : 1px 1px 2px rgba(10,10,10,0.5);  /* 影の設定 */
}

.button-area img:hover{/* カーソルオン */
	box-shadow    : none;        /* 影消去 */
	opacity       : 0.8;         /* 透明度 */
}

.button-area li {
	margin-bottom : 10px;
}

.button-1 {/* 1つ並び */
	width : 100%;


}

.button-2 {/* 2つ並び */
	width : 48%;
}

.button-3 { /* 3つ並び */
	width : 30%;/* (900-60)÷3 */
}

.button-4 { /* 4つ並び */
	width : 23%;
}

/* コンテンツ */
.contents {
	background-color     : #ffffff;
	width                : 100%;
	padding              : 20px 20px;
	margin               : 0 auto;
	margin-bottom        : 20px;
}

/* トップへ戻るボタン */
#page-top {
    display: block;
    font-weight: bold;
    padding: .7em;
    text-align: center;
    background: #fff; /*背景色*/
    color: #666; /*文字色*/
    transition: .3s;
		border-radius: 1rem;
}
/* マウスオーバー時 */
#page-top:hover {
    background: var(--color-black); /*背景色*/
    color: #fff; /*文字色*/
}




/*==フッター============================*/

footer {
	background-color: #ffffff;
	padding: 30px;
}

footer nav {/* フッターメニュー */
	margin-bottom :20px;
}

footer nav ul {
	padding : 0;
	margin  : 0;
	line-height: 1.5;
}

footer nav li {
	display:inline;
}

footer > div {
	max-width : 960px;
	margin : 0 auto;
}

footer figure {
	max-width: 400px;
	margin-bottom: 10px;
}

footer figcaption {/* フッターロゴ */
	font-size: 14px;
	font-weight: bold;
	margin-top: 5px;
}

footer #copylight {/* コピーライト */
	text-align : center;
	clear: both;
}


/* ========================================================================================================

1.汎用型文字装飾

======================================================================================================== */

h1 {
	margin-block-start: 0;
	margin-block-end: 0;
	margin-inline-start: 0;
	margin-inline-end: 0;

}

h2 {
  padding: 10px;/*文字周りの余白*/
  color: #494949;/*文字色*/
  background: #f7f2f0;/*背景色*/
  border-left: solid 20px var(--color-green);/*左線（実線 太さ 色）*/
	font-size : 25px;
	margin : 30px 0;
	line-height: 1.5;
}

h2:nth-child(n+2) {/*二番目以降の兄弟要素*/
	margin-top : 20px;
}

h3 {
	margin : 20px 0 20px 0;
	padding: 10px 10px;
  color: #494949;/*文字色*/
	background: transparent;/*背景透明に*/
	border-left: solid 10px var(--color-yellow-green);/*左線*/
}

h4 {
	margin : 20px 0;
	position: relative;
	left: 20px;
}

h4::before {
	content:"●";
	position: absolute;
	color: var(--color-yellow-green);
	left: -20px;
}

h5 {
	margin: 20px 10px 10px 10px;
	color: #494949;/*文字色*/
	background: transparent;/*背景透明に*/
	font-size: 1rem;
}

h5 + p {
	margin: 10px 10px;
	color: #494949;/*文字色*/
}



p {
	margin: 20px 0;
}

.big {
	font-size: 24px;
}

.min {
	font-size: 10px;
	padding: 10px 0;
}

.red {
	color: var(--color-red);
}

.green {
	color: var(--color-green);
}

.utikesi {
	text-decoration: line-through;
}

a {
	color: var(--color-green);
}

table {/* 基本のテーブルデザイン */
	width  : auto;
	height : auto;
	margin-bottom : 20px;
	border : 2px solid #D9D1CC;
	border-collapse:collapse;/* borderを一重線にする */
}

table tr {

}

table th, table td {
	border-top : 1px solid #D9D1CC;
	border-right : 1px solid #D9D1CC;
	padding : 10px 10px;
}

table th {/* 基本のテーブルデザイン - テーブルヘッダー */
background-color : var(--color-gray-light);
font-weight      : bold;
}

table td {/* 基本のテーブルデザイン - セル */

}

/* ---リスト--------------------------------------------- */

ul,ol {
	list-style-position: inside;/* マーカーを内側に */
	margin: 10px 0;
}

.list {
	padding-left: 20px;
	margin-top: 10px;
}

.list ul ul, ol ol {
	padding-left:20px;
}

.list ul ul li , ol ol li {
	margin: 10px 0;
}

.list li {
	margin-bottom: 10px;
	line-height : 1.8;/* ひとつのリストが折り返し2行以上になった場合の行間設定 */
	list-style-type:none;
}

.list li::before {
	content:'●';
	color: var(--color-gray-mid);
	padding-right:10px;

}

/* 目次 */
.mokuji {
	width : auto;
	max-width: 400px;
	color: var(--color-black);
	background: #fcfcfc;
	border: double 5px #D9D1CC;/*二重線 太さ 色*/
	padding: 20px;
	margin : 20px 0;
}

.mokuji h3 {
	font-weight : bold;
	background-color: var(--color-gray-mid);
	color : #fff;
	border: none;
	padding: 10px 20px;
	margin: 0 0 20px 0;
}

.mokuji ul li {
	list-style-type: none;
}

.mokuji ul li:before {
  content: "• ";
  color:var(--color-gray-mid);
}

.mokuji ul li li {
	padding: 0 0 0 20px;
}

.mokuji a {
	text-decoration : none;
	line-height: 30px;
	color : var(--color-black);
}

.mokuji a:hover {
	text-decoration: underline;
}

/* ----- 吹き出し https://miyu-info.com/balloon/ ----- */

.talk {
margin-bottom: 30px;
}

.talk figure img {/* 画像 */
width: 100%;
height: auto;
border: 3px solid #d7ebfe;
border-radius: 50%;
margin: 0;
}

.talk-imgname {/* 画像の下のテキスト */
padding: 5px 0 0;
font-size: 10px;
text-align: center;
}

p.talk-text {
margin: 0 0 8px;
}

p.talk-text:last-child {
margin-bottom: 0px;
}

.talk:after,.talk:before {/* 回り込み解除 */
clear: both;
content: "";
display: block;
}

.talk-Limg {/* 左画像 */
margin-left: 4px;
margin-top: -1px;
float: left;
width: 80px;
height: 80px;
}

.talk-Ltxt {/* 左からの吹き出しテキスト */
color: #444;
position: relative;
margin-left: 100px;
padding: 16px;
border: 3px solid #d7ebfe;
background-color: #d7ebfe;
border-radius: 8px;
}

.talk-Ltxt:before {/* 左の三角形を作る */
position: absolute;
content: '';
border: 12px solid transparent;
border-right: 12px solid #d7ebfe;
top: 0.18rem;
left: -24px;
}

/* メモ */

.memo-box {
	margin: 0 auto;
	padding: 20px;
	border: 5px solid;
	border-color: var(--color-gray-light);
	border-radius: 10px;
	font-weight: bold;
	color: var(--color-black);
}

/* パンくずリスト */
.breadcrumb {
  margin: 0;
  padding: 10px 0 5px 0;
  list-style: none;
}

.breadcrumb li {
  display: inline;/*横に並ぶように*/
  list-style: none;
  font-weight: bold;/*太字*/

}

.breadcrumb li:after {/* >を表示*/
  content: '▶';
  padding: 0;
  color: var(--color-gray-dark);
}

.breadcrumb li:last-child:after {
  content: '';
}

.breadcrumb li a {
  text-decoration: none;
  color: var(--color-gray-dark);
}

.breadcrumb li a:hover {
  text-decoration: underline;
}

/* テキストエリア */
div .c-template {
	width:100%;
}

div .c-template textarea {
	width:100%;
}


/*=============================================================================================

3.「インデックス」ページ

=========================================================================================== */

/* ヒーローイメージエリア */
#hero {
 margin : 0 auto;
 width : 100%;
}

#slider {/* 画像スライダー */
	display : flex;
	width : 100vw;
	height     : 15rem;
	overflow   : hidden; /* はみ出した要素を隠す */
	border     : 10px solid #ffffff;
	margin : 20px 0;
}

@keyframes slide1 {
 0% { transform: translateX(100%) ; }
 to { transform: translateX(-100%); }
}

@keyframes slide2 {
 0% { transform: translateX(0) ; }
 to { transform: translateX(-200%); }
}

#slider img {
	width : auto;
	height : 14rem;
}

#slider img:nth-child(1) {
	animation: slide1 60s -30s linear infinite;
}

#slider img:nth-child(2) {
	animation: slide2 60s linear infinite;
}

/* 動画 */
#youtube {
 width      :100%;
 height     :auto;
 min-height: 300px;
 box-shadow : 1px 1px 5px 0px rgba(0,0,0,0.5);
 border     : 10px solid #ffffff;
 margin-bottom : 30px;
}

#index h2 {
  background: #fff;/*背景色*/
	margin-top:3rem;
}

/*=============================================================================================

3.子ページ

=========================================================================================== */
/*---------------------------------------------------------
「ホッピンマッシュ！について」ページ
---------------------------------------------------------*/

/* 沿革 */
#about .history{
	border:none;
}

#about .history td {
	border-right:none;
	border-left:none;
	border-bottom: solid 1px var(--color-gray-mid);
	font-size: 14px;
}

/*---------------------------------------------------------
支払ページ
---------------------------------------------------------*/
#paypal form {
	margin-bottom: 30px;
	padding: 20px;
	border: 1px solid var(--color-gray-mid);
}

#paypal table {
	border-style: none;
}

#paypal table td {
	padding: 10px 0 0 0;
	border:0px ;
	font-size: 16px;
}




/*---------------------------------------------------------
ブログ
---------------------------------------------------------*/

#blog .time {
	text-align : right;
	width: 100%;
	font-weight: bold;
	color: var(--color-gray-dark) ;
}

#blog .cover {
	width: 100%;
	max-height:300px;
	object-fit: cover;
	margin: 20px 0;
}

video {
	width : 100%;
	margin: 20px 0;
}


blockquote {/* 引用カード */
    position: relative;
    padding: 35px 15px 10px 15px;
    box-sizing: border-box;
    font-style: italic;
    background: #f5f5f5;
    color: #777777;
    border-left: 4px solid #9dd4ff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.14);
		margin: 20px 0;
}

blockquote:before{
    display: inline-block;
    position: absolute;
    top: 10px;
    left: 15px;
    content: '\f10d';
    font-family: Font Awesome\ 5 Free;
    color: #9dd4ff;
    font-size: 25px;
    line-height: 1;
    font-weight: 900;
}

blockquote p {
    padding: 0;
    margin: 7px 0;
    line-height: 1.7;
}

blockquote cite {
    display: block;
    text-align: right;
    color: #888888;
    font-size: 0.12rem;
}


.matome {/*記事内まとめボックス*/
	position : relative;
	width    : 60%;
	margin   : 20px auto;
	margin-top: 40px;
	padding  : 20px;
  border   : solid 3px var(--color-yellow-green);
}

.matome .matome-title {
	position: absolute;
	display: inline-block;
	top: -27px;
	left: -3px;
	padding: 0 9px;
	height: 25px;
	line-height: 25px;
	font-size: 1rem;
	background: var(--color-yellow-green);
	color: #ffffff;
	font-weight: bold;
	border-radius: 5px 5px 0 0;
}

.matome p {
	margin  : 0;
	padding : 0;
}


#blog .address {
	border: double 2px var(--color-gray-mid);
	padding: 20px;
	max-width: 450px;
}

#blog .address .title {
	font-weight: bold;
	margin-bottom: 10px;
}

#blog .gaikan img {
	width: 100%;
	max-width: 400px;
	height: 150px;
	object-fit: cover;
}

#blog .logo img {
	width: 70%;
	max-width: 200px;
}

#blog p {
	line-height: 1.8;
}

.modoru {
	display: inline-block;
	width:100%;
	font-size: 24px;
	font-weight: bold;
	color: var(--color-gray-dark);
	text-align: center;
}


/* ブログカード */

.blog-card { /* 外側のaタグ */
	display         : flex;
	width           : 100%;
	height          : 100px;
	text-decoration : none !important;
	border          : 1px solid;
	border-color    : var(--color-gray-mid);
	border-radius   : 6px;
	box-shadow      : 1px 2px 2px 0 var(--color-gray-mid);/* X位置 Y位置 ぼかし量 拡大縮小 色 */
	overflow: hidden;
	margin-bottom : 10px;
}

.blog-card p {
	font-size: 14px;
	color        : var(--color-black);
	margin       : 0;
	padding      : 10px;
	color        : var(--color-black);
	transition   : color .6s;/* 変化の対象が秒数〇sで動き出す */
}

.blog-card img {
	width        : 100px;
	height       : 100%;
	object-fit   : cover; /* サイズに合わせて切り抜き */
	float        : left;
	transition   : opacity .6s;/* 変化の対象が秒数〇sで動き出す */
}

.blog-card:hover p {
	color : #888888;
}

.blog-card:hover img {
  opacity : 0.7;/* オンマウスで透ける 0（透明）→1（不透明） */
}

/* 関連記事一覧 --------------------*/
.relation {/* ul全体 */
	list-style: none outside;
	padding : 0;
	margin  : 0;
	font-size : 14px;
	overflow: hidden;/* 意図しない回り込みを解除 */
 }

 .relation li{
	 padding          : 0;
   border           : solid 1px var(--color-gray-mid);
   margin-bottom    : 15px;
 	 background-color : #fff;
	 transition       : background-color .6s;/* 変化の対象が秒数〇sで動き出す */
	 overflow: hidden;/* 意図しない回り込みを解除 */
 }

 .relation li:hover {
	 background-color : var(--color-gray-light);
 }

 .relation a{
	 display: flex;
	 width            : 100%;
	 height           : 100px;
	 text-decoration : none;/* リンクに出てくる下線を無効にする*/
	 line-height     : 100px;/* 縦幅いっぱいにリンクを拡げる */
	 color           : var(--color-black);
 }

 .relation img {
	 width        : 100px;
	 height       : 100%;
	 object-fit   : cover; /* サイズに合わせて切り抜き */
	 transition   : opacity .6s;/* 変化の対象が秒数〇sで動き出す */
 }

 .relation img:hover {
	 opacity : 0.7;/* オンマウスで透ける 0（透明）→1（不透明） */
 }

 .relation p {
	 line-height : 1.8;
	 font-weight : bold;
	 padding     : 10px;
	 word-wrap   : normal;
	 overflow-wrap: break-word;
 }

/* 「用語集」ページ */
#yougosyuu p {
	background-color : #f2f2f2;
	margin-bottom : 25px;
	padding : 25px;
}




/* ========================================================================================================

5.メディアクエリ（PC用）

======================================================================================================== */

/* PC用（小） */
@media screen and (min-width:800px) {
	header .sp {/* PCでスマホ用画像を表示しない */
		display: none !important;
	}

	header .pc {/* PC用画像を表示 */
		display: block !important;
		width : 90%;
		margin : 0 auto;
	}

	header h1 {
		max-width: 900px;
	}

	header nav p {
		font-size: 14px;
		line-height:1.2;
	}

	#menu > ul {
		max-width: 940px;
		margin: 0 auto;
	}


	#menu ul ul {
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		width : 100vw;
		margin : 0;
		padding-inline-start: 0;
	}

	#menu ul ul li a {
		max-width: 940px;
		margin: 0 auto;
	}

	#menu ul ul p {

		line-height: 1.5;
	}

	/* 各店舗ページ用サブメニュー */

	#sub-menu {
		height: 3rem;
	}

	#sub-menu > ul {
		height: 3rem;
		max-width: 940px;
		margin: 0 auto;
	}

	#sub-menu > ul > li {
		height: 3rem;

	}

	#sub-menu > ul > li > a {
		height: 3rem;
		flex-direction:row;
	}

	#sub-menu .icon {
	  max-width: 40%;
		height : 40%;
		margin-right : 10px;
		margin-bottom: 0;
	}

	#hero {
		max-width: 960px;
	}

	#slider {
		max-width: 960px;
	}

	main {
		max-width: 900px;
	}

	/* コンテンツ */
	.contents {
		margin-bottom : 30px;
	}

	h2 {
		margin : 0 0 20px 0;
	}

	h2:nth-child(n+2) {/*二番目以降の兄弟要素*/
		margin-top : 30px;
	}

	.danraku {/* h4以下の文章はこれを使う */
		margin : 0 0 30px 20px;
	}

	p {
		line-height: 1.8;
	}

	.mokuji {
		max-width: 100%;
	}



}


/* PC用（大） */
@media screen and (min-width:1024px) {

	header nav {

	}

	#menu > ul {
		height: 50px;
	}
	#menu > ul > li {
		height: 50px;
	}

	#menu li li a {
		height : 50px;
	}

	#menu ul ul p {
		font-size: 24px;
		line-height: 2;
	}

	#menu li:hover > ul > li {
	  height: 50px;
	}

	#menu div , #menu > ul > li > a {
		flex-direction:row;
		height: 50px;
	}

	#menu .icon {
		max-width: 30px;
		max-height: 30px;
		margin-bottom:0;
		margin-right: 10px;
	}

	#menu p {
		font-size: 18px;
		font-weight: normal;
		line-height: 1;
		padding:0;
		margin-block-start: 0em;
		margin-block-end: 0em;
	}

	.contents {
		padding : 40px 50px;
		margin: 0 auto;
		margin-bottom: 20px;
	}



	#slider {/* 画像スライダー */
		margin : 30px 0;
	}




	footer figure {
		margin-bottom: 20px;
	}

	footer figcaption {/* フッターロゴ */
		font-size: 14px;
		font-weight: bold;
		margin-top: 10px;
	}


}
