@charset "UTF-8";
@import url("grid.css");

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    display:block;
    color: #666;
    text-decoration-line: none;
}
a:hover { 
    color: #999;
}
a img:hover {
	opacity: 0.8;
}
.underline {
	border-bottom: 3px solid #000;
	padding-bottom: 0.5rem;
}

.mt20{margin-top: 20px;}
.mt50{margin-top: 50px;}
.mb40 {margin-bottom: 40px;}

.pc {display: block;}
.sp {display: none;}

.pc_view_767 {display: block;}
.sp_view_767 {display: none;}

.no-wrap {display: inline-block;}
.margin-auto{
	margin-left: auto;
	margin-right: auto;
}

.align_center{text-align: center;}

/*ヘッダー
-------------------------------------*/
.head {
	display: flex;
    flex-direction: row;
    padding: 1rem 0 0 0;
}

.head h1 { 
    padding: 1rem 0;
}
.telbox {
	margin-left: auto;
	font-size: 3.0rem;
	padding: 1rem 0 0 0;
	display: flex;
}

.telbox p{
	padding: 0 1rem;
}

nav{margin-top: 2.0rem;}

nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin-bottom: 1rem;
}
nav li {
    display: block;
    flex: 1 0 auto;
    width:20%;
}
nav li a {
    text-decoration: none;
    text-align: center;
}
nav a:hover {
   /* background-color: #f7f7f7; */   
}
nav a {
    padding: 1rem;
}

@media screen and (min-width: 768px){
/* PC時はMENUボタンを非表示 */
#open,#close {
    display: none !important;
}

#navi {
    display: block !important;
}
}

@media screen and (max-width: 768px){
.head {
	flex-direction: column;
    text-align: left;
    margin-bottom: 20px;
}
.telbox {
	margin-left: 0;
	text-align: center;
}
.head #open,#close  {
    position: absolute;
    top: 28px;
    right: 12px;
    }
nav ul {
	flex-direction: column;
}

nav li {
	padding-top: 0;
	border-bottom: 1px solid #ccc;
	margin-bottom: 0;
  width:100%;
  }
/* スマホ時はMENUボタンを表示 */
	
	nav{
		position: relative;
	}	
	
#open,#close  {
    display: block;
    width: 50px;
    border: none;
    position: absolute;
    top: -20px;
    right: 0px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}
	
.pc_view_767 {display: none;}
.sp_view_767 {display: block;}
}

@media screen and (max-width: 640px) {
.pc {display: none;}
.sp {display: block;}

}

@media screen and (max-width: 480px) {
	.sp-s {
		max-width: 80%;
		margin-left: auto;
		margin-right: auto;
	}
}

.facebook-wrapper {
    max-width: 500px; /* Facebook Page Plugin の最大幅 */
    margin: 2rem auto;
}
 
.facebook-wrapper > .fb-page {
    width: 100%;
}
 
.facebook-wrapper > .fb-page > span,
.facebook-wrapper iframe {
    width: 100% !important;
}

.sns-icon{display: flex;}

/*メイン画像
-------------------------------------*/
.mainimg img {
	width: 100vw;
}

/*メインコンテンツ
-------------------------------------*/
main {
    margin: 5rem 0 5rem 0;
}

.ttl-text{margin: 1.0rem 0;}

.main-mess{padding: 2.0rem;}

.ttl-bn{margin: 0 0 2rem 0;}

/*新着情報
-------------------------------------*/
.news h2 {
    border-bottom: 3px solid #000;
	padding-bottom: 0.5rem;
}
.news li {
    list-style-type: none;
	border-bottom: 1px solid #ccc;
	padding: 0.5rem 0;
}

/*フッター
-------------------------------------*/
footer {
    background-color: #000;
    padding: 5rem 0;
}
footer h5 {
    border-bottom: 3px solid #ccc;
}
footer h2 {
    color: #fff;
}
footer p {
    color: #fff;
}

.foot-nav{
	color: #fff;
}

footer ul {
  list-style-type: none;
}

.foot-tel {
	color: #fff;
	display: inline;
}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: #fff;
}
.copyright a {
    color: #000;
    text-decoration: none;
	display: inline-block;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a {
    display: block;
    background: #000;
    color: #fff;
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background: #666;
}
/*パンくずリスト
-----------------------------------*/
.breadcrumb {
    margin: 0 0 1em 0;
    padding: 0;	
}
.breadcrumb li {
    list-style-type: none;
}
.breadcrumb li a {
    display: inline-block;
    color: #959fa5;
}

/*トップページ
-----------------------------------*/
.record-box{padding: 1em;}
.font21{font-size:21px;}
.red-text{color:#ff5e28;}

.indent-1 {
padding-left:1em;
text-indent:-1em;
}

.iframe-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.main-txt {
	display: inline-block;
	vertical-align: middle;
}

.main-txt img {margin: 0 3px;}

.txt-b {font-weight: bold;}

/*授業料
-----------------------------------*/
.bn-link {
	max-width: 50%;
	height: auto;
	margin-left: auto;
	margin-right: auto;
}

.fee-col div {margin-bottom: 30px;}
.ttl-bn.ttl-mb {margin-bottom: 0;}


/*講習
-----------------------------------*/
.course-detail{
	font-size: 16px;
}

.course-ttl{
	font-size: 26px;
	font-weight: 700;
}


.txt-orange{
	color: #ff5e28;
}

@media ( min-width : 768px ) {
	.course-detail{
		font-size: 21px;
	}
	.course-ttl{
		font-size: 32px;
	}
}


/*カレンダー
-----------------------------------*/
.ggcalendar iframe {
	max-width: 498px;
  width: 100%;
  height: 400px;
}
@media all and (min-width: 768px) {
  .ggcalendar iframe {
	height: 300px;
  }
}
