@charset "UTF-8";
/* CSS Document */

html,body {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
	margin:0;
	padding:0;
	height: 100%;
   /*フォント*/
	font-family: YuGothic,'Yu Gothic','ＭＳ ゴシック','ＭＳ Ｐゴシック','MS PGothic','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3','Osaka',sans-serif;
	font-size: 16px;
	line-height:1.8;
	color: #2b2b2b;
	scroll-behavior: smooth;
}
a:link {
	color: #2b2b2b;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #2b2b2b;
}
a:hover {
	text-decoration: none;
	color: #005ea9;
}
a:active {
	text-decoration: none;
	color: #2b2b2b;
}



/*---------------------------------------------------------------------------
レイアウト
---------------------------------------------------------------------------*/
body {
	width:100%;
	box-sizing:border-box;
	border-top: solid 8px #e73828;
}

img[src$=".svg"] {
    width: 100%;
}

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

@media only screen and (min-width:737px) and (max-width:1024px) {/*タブレット*/
}

@media screen and (max-width:736px) {/*スマートフォン*/
}

/*-------------------------*/

header,main,footer,div {
	display:block;
	box-sizing:border-box;
}

p,h1,h2,h3,h4,h5,h6 {
	margin:0;
	padding:0;
}

/*-------------------------*/

/*---------------------------------------------------------------------------
header
---------------------------------------------------------------------------*/
header {
	width: 100%;
	position: absolute;
	top: 8px;
}

header h1 {
	width: 520px;
	padding: 16px;
	box-sizing: border-box;
}

@media only screen and (min-width:737px) and (max-width:1024px) {/*タブレット*/
	header h1 {
		width: 40%;
		padding: 8px;
	}
}

@media screen and (max-width:736px) {/*スマートフォン*/
	header h1 {
		width: 72%;
		padding: 8px 8px 0;
	}
}

nav#g-menu {
	position: absolute;
	top: 0;
	right: 0;
	background: #adadad;
	border-radius: 0 0 0 16px;
	text-align: center;box-shadow: -2px 2px 4px rgba(0,0,0,.3);
	z-index: 9999;
}

nav#g-menu ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
	font-size: 14px;
	line-height: 1.4;
	font-weight: bold;
}

/* ナビゲーションメニュー */
.m_list {
  display: flex;
  justify-content: center; /* メニューアイテムを中央揃えに */
}
.m_item {
	background-color: #fff; /* メニューアイテムの背景色 */
	border-right: 1px dotted #adadad; /* メニューアイテムの左ボーダー */
	position: relative;
	transition: background-color .3s; /* 背景色の変化をアニメーション化 */
}
.m_item:first-child {
	border-radius: 0 0 0 16px;
	transition: border-radius .4s;
}
.m_item:last-child {
  border-right: 0;
}

/* メニューアイテムのホバースタイル */
.m_item:first-child:hover {
	border-radius: 0;
	transition: border-radius .1s;
}
.m_item:hover .drop-list {
  transform: scaleY(1); /* ドロップダウンメニューの表示 */
}
.m_item:hover {
  background-color: #fffbc4; /* メニューアイテムのホバー時の背景色 */
  transition: background-color .3s; /* 背景色の変化をアニメーション化 */
}
.drop-item:hover {
  background-color: #fffbc4; /* メニューアイテムのホバー時の背景色 */
  transition: background-color .3s; /* 背景色の変化をアニメーション化 */
}

.m_item a {
	padding: 16px 0;
	box-sizing: border-box;
	align-items: center;
	color: #4e454a; /* メニューアイテム内のリンクテキストの色 */
	display: flex;
	width: 150px;
	justify-content: center;
	text-decoration: none; /* リンクの下線を非表示 */
}
.m_item img {
	width: 100px;
	height: 60px;
}

@media screen and (max-width:1040px) {
	.m_item a {width: 100px;}
	.m_item img {
		width: 72px;
		height: 46px;
	}
}

/* ドロップダウンメニュー */
.drop-menu {position: relative;}
.drop-list {
	left: 0;
	position: absolute;
	top: 100%;
	transform: scaleY(0); /* ドロップダウンメニューの非表示 */
	transform-origin: center top; /* 変形を適応する基準を設定 */
	transition: transform .3s; /* 表示の変化をアニメーション化 */
	width: max-content;
	z-index: 1;
}

.drop-item {
	background-color: #fff;
	border-left: solid 1px #e5e4e6;
	border-right: solid 1px #e5e4e6;
	border-bottom: solid 1px #e5e4e6;
}

/*タブレット・スマホ用メニュー*/
.openbtn{
	position:fixed;
	top:0;
	right: 0;
	cursor: pointer;
    width: 50px;
    height:50px;
	border-radius: 0 0 0 5px;
    z-index: 9999;/*ボタンを最前面に*/
	background:#e73828;
}

/*ボタン内側*/
.openbtn span{
    display: inline-block;
    transition: all .4s;/*アニメーションの設定*/
    position: absolute;
    left: 14px;
    height: 2px;
    border-radius: 5px;
	background: #fff;
  	width: 45%;
  }

.openbtn span:nth-of-type(1) {top:13px;}

.openbtn span:nth-of-type(2) {top:19px;}

.openbtn span:nth-of-type(3) {top:25px;}

.openbtn span:nth-of-type(3)::after {
	content:"Menu";/*3つ目の要素のafterにMenu表示を指定*/
	position: absolute;
	top:5px;
	left:-2px;
	color: #fff;
	font-size: 0.6rem;
	text-transform: uppercase;
}

/*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/

.openbtn.active span:nth-of-type(1) {
    top: 14px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 26px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

.openbtn.active span:nth-of-type(3)::after {
	content:"Close";/*3つ目の要素のafterにClose表示を指定*/
    transform: translateY(0) rotate(-45deg);
	top:5px;
	left:4px;
}

/*ナビゲーション*/
#g-spmenu{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
	top:0;
    right: -120%;
	width:100%;
    height: 100vh;/*ナビの高さ*/
	background:url("../image/w-pink.jpg");
    /*動き*/
	transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#g-spmenu.panelactive{
    right: 0;
}

/*ナビゲーションの縦スクロール*/
#g-spmenu.panelactive #g-spmenu-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
	padding: 16px 0;
	box-sizing: border-box;
}

/*ナビゲーション*/
#g-spmenu ul {
	width: 100%;
    /*ナビゲーション天地中央揃え*/
	margin: 0;
	padding: 0;
	font-size: 1.25rem;
	color: #4e454a;
}

/*リストのレイアウト設定*/
#g-spmenu li{
	list-style: none;
    text-align: center;
}

#g-spmenu li a{
	color: #4e454a;
	text-decoration: none;
	padding:10px;
	display: block;
	border-bottom: dotted 1px #fff;
	font-weight: bold;
}

/*-------------------------*/



/*---------------------------------------------------------------------------
main
---------------------------------------------------------------------------*/
main {}

summary {cursor: pointer;}

/*-------------------------コンテンツ共通部分*/
#page-title {
	width: 100%;
	margin: 0;
	padding: 140px 0 40px;
	box-sizing: border-box;
	background: url("../image/page-line.png")repeat-x center bottom;
	background-size: auto 20px;
}
#page-title h2 {
	width: 320px;
	margin: 0 auto;
	text-align: center;
}

#breadnav {
	width: 500px;
	margin: 0 auto 16px;
	font-size: 14px;
	color: #999;
	position: relative;
}

#breadnav a {color: #999;}
#breadnav a:hover {color: #4e454a;}

#breadnav:before,
#breadnav:after {
	position: absolute;
	content: '';
	width: 0px;
	height: 0px;
	z-index: 1;
}

#breadnav:before {
  top: 0;
  left: 0;
  border-width: 13px 0px 13px 10px;
  border-color: transparent transparent transparent #fff;
  border-style: solid;
}

#breadnav:after {
  top: 0;
  right: 0;
  border-width: 13px 10px 13px 0px;
  border-color: transparent #fff transparent transparent;
  border-style: solid;
}

#breadnav ul {
	margin: 0;
	padding: 4px;
	list-style-type: none;
	background: url("../image/back-y.jpg");
	display: flex;
	justify-content: center;
	line-height: 1.4;
}

#breadnav li::after {
	content: "▶︎";
	color: #f8b500;
	margin: 0 4px;
}
#breadnav li:last-child::after {content: "";}

#page {}

@media only screen and (min-width:737px) and (max-width:1024px) {/*タブレット*/
	#page-title {padding: 120px 0 48px;}
	
	#page-title h2 {width: 320px;}
}

@media screen and (max-width:736px) {/*スマートフォン*/
	#page-title {padding: 80px 0 40px;}
	
	#page-title h2 {width: 72%;}
	
	#breadnav {
		width: 80%;
		font-size: 12px;
	}
}


/*-------------------------無料体験レッスンバナー*/
.trial {
	width: 800px;
	margin: 0 auto;
	padding: 40px 0;
	box-sizing: border-box;
	text-align: center;
}
.trial a {
	display: block;
	box-shadow: 4px 4px 8px rgba(0,0,0,.3);
	line-height: 0;
}
.trial a:hover {opacity: .8;}

@media only screen and (min-width:737px) and (max-width:1024px) {/*タブレット*/
	.trial {
		width: 90%;
		margin: 0 auto;
	}
}
@media screen and (max-width:736px) {/*スマートフォン*/
	.trial {
		width: 90%;
		margin: 0 auto;
	}
}

/*-------------------------フォーム*/
input[type="text"],input[type="email"],input[type="tel"]{
width:100%;
border: solid 1px #efefef;
border-radius:2px;
padding: 4px 8px;
box-sizing:border-box;
	background: #efefef;
	font-size: 1rem;
}

select {
	width:100%;
	font-size: 1rem;
}

textarea{
width:100%;
border: solid 1px #efefef;
border-radius:4px;
padding:8px;
box-sizing:border-box;
}
/*-------------------------*/



/*---------------------------------------------------------------------------
footer
---------------------------------------------------------------------------*/
footer {
	padding: 40px;
	box-sizing: border-box;
	display: flex;
	justify-content: space-between;
	background: url("../image/w-pink.jpg")fixed;
	font-size: 14px;
	line-height: 1.4;
}
footer h3 {width: 320px;}
footer hr {
	border: none;
	margin: 16px 0;
}

footer,
footer a {color: #4e454a!important;}
footer a:hover {
	color: #4e454a;
	opacity: .8;
}

footer h4 {
	border-left: solid 4px #4e454a;
	padding-left: 8px;
	font-size: 16px;
	line-height: 1;
	color: #4e454a;
	margin-bottom: 8px;
}

.f_btn a {
	margin: 8px 0 0;
	padding: 4px;
	box-sizing: border-box;
	display: flex;
	justify-content: space-between;
	font-size: 16px;
	border-top: solid 1px #4e454a;
	border-bottom: solid 1px #4e454a;
}
.f_btn a:hover {
	opacity: 1;
	background: rgba(255,255,255,.5);
	transition: background-color .3s;
}

.f_info {}

.f_menu {
	width: 40%;
	display: flex;
}

.f_menu div {width: 50%;}

.f_menu a:hover {color: #7053a0;}

.f_menu ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
	line-height: 1.6;
}

@media only screen and (min-width:737px) and (max-width:1024px) {/*タブレット*/
	.f_menu {width: 50%;}
}
@media screen and (max-width:736px) {/*スマートフォン*/
	footer {
		display: block;
		padding: 16px 0 0;
	}
	footer h3 {width: 90%;}
	
	.f_info {padding: 0 16px 8px;}
	
	.f_menu {
		display: block;
		width: 100%;
		margin: 8px 0 0;
	}
	.f_menu div {width: 100%;}
	.f_menu hr {margin: 0;}
	
	.f_menu h4 {
		padding: 8px;
		border-left: none;
		text-align: center;
		background: rgba(252,126,150,.6);
		margin-bottom: 0;
		border-top: solid 1px rgba(255,255,255,.8);
		border-bottom: solid 1px rgba(255,255,255,.8);
	}
	
	.f_menu ul {
		font-size: 16px;
		text-align: center;
	}
		
	.f_menu li {
		display: block;
		padding: 8px 0;
		border-bottom: solid 1px rgba(255,255,255,.5);
	}
	.f_menu li:last-child {border-bottom: none;}
}
/*-------------------------*/


/*---------------------------------------------------------------------------
コンテンツ1
---------------------------------------------------------------------------*/
#contents {}
@media only screen and (min-width:737px) and (max-width:1024px) {/*タブレット*/
}
@media screen and (max-width:736px) {/*スマートフォン*/
}
/*-------------------------*/

/*---------------------------------------------------------------------------*/
