@charset "UTF-8";
@import url("grid.css");
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p:wght@400;700;900&family=M+PLUS+Rounded+1c:wght@400;700&display=swap');
:root { /* 色変更される場合は、#以降のカラーコードを変更してください IE非対応 */
  --base-color: #333;
  --link-color: #eb551a;
  --linkhover-color: #999;
  --back-color: #f7f7f7;
  --border-color: #ccc;
  --white-color: #fff;
  --nav-color: #333;
}
body {
  background: #f8f6f0;
  /*background: var(--white-color); */
  color: var(--base-color);
  font-family: 'M PLUS Rounded 1c', sans-serif;
}
img {
  max-width: 100%;
  height: auto; /*高さ自動*/
}
a {
  /* [disabled]display:block; */
  color: var(--link-color);
  text-decoration-line: none;
}
a:hover {
  color: var(--linkhover-color);
}
.catch h2 {
  position: relative;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  text-align: center;
  font: 600 2em 'M PLUS 1p', sans-serif;
  letter-spacing: 0.1em;
}
h2 {
  position: relative;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  text-align: center;
  font: 600 4em 'M PLUS 1p', sans-serif;
  letter-spacing: 0.2em;
}
h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 10px;
  background-color: var(--link-color);
}
h3 {
  position: relative;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  text-align: center;
  letter-spacing: 0.2em;
}

.tit_01 {
  margin-bottom: 2em;
  font-weight: 600;
  font-size: 1.8em;
}
.tit_02 {
  color: var(--link-color);
  font-size: 1.3em;
  padding: 1rem 2rem;
  border-left: 4px solid var(--link-color);
}
.tit_02a {
color: var(--link-color);
    margin: 65px 0 30px !important;
    padding: 1.1em 1.4em 1.15em;
    border: 1px solid #ddd;
    border-top: 3px solid var(--link-color);
    background: #fafafa;
    font-size: 22px !important;
}
.tit_03 {
  color: var(--link-color);
  font-size: 1.8em;
}
.tit_04 {
  color: var(--link-color);
  font-size: 1.8em;
  padding: 1rem 2rem;
  border-left: 4px solid var(--link-color);
}
.tit_05 {
  display: flex;
  color: var(--link-color);
  font-size: 1.6em;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.tit_05::before, .tit_05::after {
  content: '';
  width: 50px;
  height: 3px;
  background-color: #e3bf00;
}
.tit_05::before {
  margin-right: 20px;
}
.tit_05::after {
  margin-left: 20px;
}
.class-sub h3 {
  color: var(--link-color);
	margin-bottom: 0rem;
		padding-top: 2rem;
	padding-bottom:2rem;
	letter-spacing: 0.2em;
	text-align: left;
}
.class-sub .p_01 {
}


.button {
  margin: 1rem;
}
.onlyPc {
  display: block;
}
.onlySp {
  display: none;
}
.txt-red {
  color: #FF0000;
}
.txt-blue {
  color: #007BFF;
}




/*ヘッダー
-------------------------------------*/
.header {
  display: flex;
  flex-direction: row;
  padding: 2rem 0 0 0;
  margin-bottom: 1rem;
}
.sitetitle {
  font-size: 3.0rem;
}
.header-box {
  margin-left: auto;
  margin-top: 8px;
}
.contact-button {
  display: flex;
  float: left;
  justify-content: space-between;
  align-items: center;
  padding: 5px 15px;
  margin: 0px 0px 0px 5px;
  /*width: 200px;*/
  font-size: 16px;
  text-decoration: none;
  background-color: var(--link-color);
  color: var(--white-color);
  /*box-shadow: 1px 1px var(--base-color);*/
  font: 600 1em 'M PLUS 1p', sans-serif;
  letter-spacing: 0em;
  border-radius: 1em;
}
.contact-button::after {
  content: '';
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--white-color);
  border-right: 2px solid var(--white-color);
  transform: rotate(45deg);
}
.contact-button:hover {
  opacity: 0.9;
  color: var(--white-color);
}
/*スマホ用メニュー
-------------------------------------*/
.spnavi {
  display: none;
}
nav ul {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  list-style: none;
  margin: 2rem 0 0 0;
  font: 600 1em 'M PLUS 1p', sans-serif;
  letter-spacing: 0em;
}
nav li {
  flex: 1 0 auto;
  text-align: center;
}
nav li a {
  text-decoration: none;
  text-align: center;
  width: 100%;
}
nav a:hover {
  /*background-color: var(--back-color);   */
}
nav a {
  padding: 0.5rem;
  /*color: var(--nav-color);*/
  color: #eb551a;
}
@media screen and (min-width: 768px) {
  /* PC時はMENUボタンを非表示 */
  #open, #close {
    display: none !important;
  }
  #nav {
    display: block !important;
  }
}
@media screen and (max-width: 768px) {
  .header {
    flex-direction: column;
    margin-bottom: 10px;
  }
  .header #open, #close {
    position: absolute;
    top: 25px;
    right: 12px;
  }
  nav ul {
    flex-direction: column;
  }
  .header li {
    padding-top: 0;
  }
  /* スマホ時はMENUボタンを表示 */
  #open {
    display: block;
    background: url(../img/button.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 25px;
    right: 12px;
  }
  #close {
    display: block;
    background: url(../img/button2.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 25px;
    right: 12px;
  }
  /* スマホ時はメニューを非表示 */
  #navi {
    display: none;
  }
}
/*メイン画像
-------------------------------------*/
#mainimg {
  width: 100%;
}
#mainimg h1 {
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 2;
  text-align: center;
  color: var(--white-color);
  text-shadow: 1px 2px 3px var(--link-color);
  font-family: 'M PLUS 1p', sans-serif;
  font-weight: 600;
}
/*メインコンテンツ
-------------------------------------*/
main {
  margin: 5rem 0 0 0;
}
section {
  margin: 3rem 0;
  padding: 3rem 0;
}
.gray-back {
  background: #f2ead7;
  /*background-color: var(--back-color);*/
  /*background: url('../img/gray-back.jpg'); gray-back.jpg背景画像を使用したい時にオンにしてください*/
  background-size: cover;
}
.gray-back2 {
  background: #f2ead7;
  background-size: cover;
  margin-bottom: 0px !important;
  padding-bottom: 10rem !important;
}
article section {
  margin: 2rem 0;
  padding: 2rem 0;
}
/*ニュース
-------------------------------------*/
.news {
  margin: 0 auto;
  max-width: 980px;
  padding: 2rem;
}
.news-list {
  list-style: none;
}
.news-list .item, .item p {
  margin-bottom: 0;
}
.news-list .item a {
  display: flex;
  flex-wrap: wrap;
  color: var(--nav-color);
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
}
.news-list .item:first-child a {
  border-top: 1px solid var(--border-color);
}
.news-list .item .date {
  min-width: 150px;
  color: var(--link-color);
}
.news-list .item a:hover .title {
  color: var(--base-color);
}
.news .more {
	text-align: right;
	width: 100%;
}
/*キャンペーン
-------------------------------------*/


/*利用例
-------------------------------------*/
.rei-box {
  border-radius: 1em;
  background-color: #FFFFFF;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding: 3em;
  font-size: 1.4em;
  margin-bottom: 3em;
  max-width: 750px;
}


/*プランご利用方法　　タブ
-------------------------------------*/
.tab-wrap {
  display: flex;
  flex-wrap: wrap;
  margin:20px 0;
}
.tab-wrap:after {
  content: '';
  width: 100%;
  height: 3px;
  background: var(--link-color);
  display: block;
  order: -1;
}
.tab-label {
  color: White;
  background: LightGray;
  font-weight: bold;
  text-shadow: 0 -1px 0 rgba(0,0,0,.2);
  white-space: nowrap;
  text-align: center;
  padding: 10px .5em;
  order: -1;
  position: relative;
  z-index: 1;
  cursor: pointer;
  border-radius: 5px 5px 0 0;
  flex: 1;
}
.tab-label:not(:last-of-type) {
  margin-right: 5px;
}
.tab-content {
	width: 100%;
	height: 0;
	overflow: hidden;
	opacity: 0;
	background-color: #FFFFFF;
}


/* アクティブなタブ */
.tab-switch:checked+.tab-label {
  background: var(--link-color);
}
.tab-switch:checked+.tab-label+.tab-content {
  height: auto;
  overflow: auto;
  padding: 20px;
  opacity: 1;
  transition: .5s opacity;
  box-shadow: 0 0 3px rgba(0,0,0,.2);
}
/* ラジオボタン非表示 */
.tab-switch {
  display: none !important;
}
/* 金額　大 */
.tab-wrap .price1 {
    font-size: 3rem;
}
 
/* テーブルライン */
.tab-content table{
width: 100%;
  border-collapse: collapse; 
}
.tab-content td,.tab-content th{ /* 各セルの指定 */
	padding: 15px 20px;
text-align: center;
	border-bottom: 1px solid var(--link-color);
	border-right: 1px dotted var(--link-color);
	border-left: 1px dotted var(--link-color);
}
.tab-content th{ /* 表の見出しの指定 */
    color:var(--link-color);
}
.tab-content th{  /* 最初の行の指定 */
    border-top: 2px solid var(--link-color); 
}
.tab-content tr:first-child{  /* 最初の行の指定 */
    border-bottom: 2px solid var(--link-color); 
}
/*
.tab-content tr:last-child{ 最後の行の指定 
    border-bottom: 1px solid var(--link-color);
}
*/
/*
.tab-content td:last-child{  一番左の列の指定 
  border-right:0;
}
*/
/*
.tab-content th:last-child{  一番右の列の指定 
  border-right:0;
}
*/

/*--スマートフォン--*/
/*--メディアクエリの記述なし--*/
.table-area {
	width: 100%;
	margin: 0 auto;
	overflow-x: scroll;
}

table.sp-table {
	width: 100%;
	min-width: 750px;
}

/*--PC--*/
@media screen and (min-width: 1025px){
	.table-area {overflow-x: auto;}
	
	table.sp-table {width: 100%;}
}


/*お支払い
-------------------------------------*/
.pay-box {
  border-radius: 1em;
  background-color: #FFFFFF;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding: 3em;
  font-size: 1.2em;
  margin-bottom: 3em;
  max-width: 100%;
}
.pay-box h4 {
  margin-bottom: 1.5em;
  font-size: 1.5em;
  font-weight: 600;
}

/*キャッチコピー
-------------------------------------*/
.catch {
  text-align: center;
  line-height: 1.7;
}
.center {
  text-align: center;
  margin-bottom: 4rem;
}

/* Googleマップ
-------------------------------------*/
.gmap {
  margin: 3rem 0;
}

/* Googleカレンダー
-------------------------------------*/
.gcal iframe {
  width: 100%;
  height: 500px;
}
@media all and (min-width: 768px) {
.gcal iframe {
	height: 700px;
  }
}

/*フッター
-------------------------------------*/
footer {
  background-color: #333;
  /* [disabled]background-color: var(--back-color); */
  /*background: url('../img/gray-back.jpg'); gray-back.jpg背景画像を使用したい時にオンにしてください*/
  background-size: cover;
  padding: 5rem 0 2rem;
  color: #FFFFFF;
}
footer h4 {
  position: relative;
  padding-bottom: 1rem;
  width: 100%;
  border-bottom: 2px solid var(--border-color);
}
footer h4::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 70px;
  height: 2px;
  background-color: var(--link-color);
}
footer .navi ul {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  list-style: none;
  margin: 1rem 0 0 0;
  font: 600 0.8em 'M PLUS 1p', sans-serif;
  letter-spacing: 0em;
}
footer .navi li {
  /*flex: 1 0 auto;*/
  padding: 0rem 0.5rem
}
footer .navi li a {
  text-decoration: none;
  text-align: center;
  width: 100%;
}
footer .navi a:hover {
  color: #fff;
  /*background-color: var(--back-color);   */
}
footer .navi a {
  padding: 0.5rem;
  color: #eb551a;
}
footer .social-navi ul {
  display: flex;
  flex-direction: row;
  justify-content: left;
  list-style: none;
  margin: 0rem 0 0 0;
  font-size: 2.5em;
}
footer .social-navi li {
  /*flex: 1 0 auto;*/
  padding: 0rem 0.5rem 0rem 0rem
}
footer .social-navi li a {
  text-decoration: none;
  text-align: center;
  width: 100%;
}
footer .social-navi a:hover {
  color: #eb551a;
  /*background-color: var(--back-color);   */
}
footer .social-navi a {
  padding: 0.5rem;
  color: #fff;
}
/*電話
-------------------------------------*/
a.tel {
  display: inline-block;
}
@media screen and (min-width: 768px) {
  a[href*="tel:"] { /* PC時は電話番号無効 */
    pointer-events: none;
    cursor: default;
  }
}
/*お問い合わせ
-------------------------------------*/
.contact-box {
  border: 1px solid var(--border-color);
  text-align: center;
  padding: 2rem 0;
}
.table {
  margin: 4rem 0;
}
.table th {
  width: 150px;
}
input[type="email"], input[type="number"], input[type="search"], input[type="text"], input[type="tel"], input[type="url"], input[type="password"], textarea {
  background-color: var(--white-color);
}
/*コピーライト
-------------------------------------*/
.copyright {
  text-align: center;
  padding: 1rem 0;
  background-color: #333;
  /* [disabled]background-color: var(--link-color); */
}
.copyright a {
  color: var(--white-color);
  text-decoration: none;
  display: inline;
}
/*ページトップへ戻るボタン
-------------------------------------*/
#pageup {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: block;
  width: 40px;
  height: 40px;
  box-sizing: border-box;
  background: var(--white-color);
  border: 1px solid var(--linkhover-color);
  padding-top: 30px;
  text-align: center;
  text-decoration: none;
  opacity: 0.8;
  z-index: 1;
}
#pageup::after {
  content: "";
  display: block;
  border-top: 2px solid #eb551a; /*var(--base-color);*/
  border-right: 2px solid #eb551a; /*var(--base-color);*/
  width: 25%;
  height: 25%;
  top: 45%;
  left: 0;
  right: 0;
  margin: auto;
  position: absolute;
  transform: rotate(-45deg);
}
#pageup:hover {
  opacity: 0.5;
}


/* 下層ページヘッダー
-------------------------------------*/
.subimg {
  height: 300px;
  background: url('../img/subimg.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  margin-bottom: 2rem;
}
.subimg h1 {
  height: 300px;
  line-height: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white-color);
  text-shadow: 1px 2px 3px var(--link-color);
  margin: 0;
}
/* パンくずリスト
-----------------------------------*/
.breadcrumb {
  margin: 0 0 1em 0;
  padding: 0;
}
.breadcrumb li {
  list-style-type: none;
}
.breadcrumb li a {
  display: inline-block;
  color: var(--link-color);
}
/* 設備の案内
-----------------------------------*/
.space01 {
  margin-bottom: 4rem;
}
/* 設備　テーブル
-----------------------------------*/
.setubi-box table {
  border-collapse: collapse;
  width: 100%;
}
.setubi-box .tb01 th, .setubi-box .tb01 td {
  padding: 10px;
  border: solid 1px #ccc;
  text-align: center;
  box-sizing: border-box;
}
.setubi-box .tb01 th {
  background: var(--link-color);
  color: var(--white-color);
}

/* 教室情報　テーブル
-----------------------------------*/
.class .class-box table {
	border-collapse: collapse;
	width: 100%;
}
.class .class-box .tb01 th, .class-box .tb01 td {
	padding: 10px;
	border: solid 1px #ccc;
	box-sizing: border-box;
}
.class .class-box .tb01 th {
		 text-align: center;
  background: var(--link-color);
  color: var(--white-color);
}

/* 教室情報　テーブル内リスト*/
.class .class-box li{
	list-style-type: disc;
		margin-left: 0.5em;
}

/* 教室情報　角丸白背景*/
.class .kaisai-box {
	border-radius: 1em;
	background-color: #FFFFFF;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	font-size: 1.2em;
	margin-bottom: 3em;
	max-width: 900px;
	padding: 3em 1em;
}
/* 教室情報　p 文字位置 スペース*/
.class .txt-p {
	text-align: center;
	padding-bottom: 2em;
}

.class-sub p {
	padding-bottom: 1em;
}
/*レイアウト　セミナー
-------------------------------------*/
.semi-box {
  border-radius: 1em;
  background-color: #FFFFFF;
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  padding: 2em 1em;
  margin-bottom: 3em;
  font-size: 1.1em;
}
/*利用規約
-------------------------------------*/
.tos p {
    margin-bottom: 37.6px;
    font-size: inherit;
    line-height: 2.4;
}
.tos ul {
    margin-left: 1.3em;
    list-style: circle outside none;
    margin-bottom: 24px;
}

/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px) {
  #navi li {
    flex: 1 0 auto;
    text-align: left;
  }
  .catch h2 {
    position: relative;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    text-align: center;
    font: 600 2em 'M PLUS 1p', sans-serif;
    letter-spacing: 0em;
  }
  h2 {
    position: relative;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    text-align: center;
    font: 600 3em 'M PLUS 1p', sans-serif;
    letter-spacing: 0em;
  }
  h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 10px;
    background-color: var(--link-color);
  }
  .onlyPc {
    display: none;
  }
  .onlySp {
    display: block;
  }
  /*ヘッダー
-------------------------------------*/
  .header-box {
    display: none;
  }
  /*スマホ用メニュー
-------------------------------------*/
  .spnavi {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 15px;
    text-decoration: none;
    background-color: var(--link-color);
    color: var(--white-color);
  }
  .spnavi a {
    display: inline-block;
    color: var(--white-color);
  }
  .spnavi a:hover {
    opacity: 0.9;
    background-color: var(--link-color);
    color: var(--white-color);
  }
  .spnavi::after {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--white-color);
    border-right: 2px solid var(--white-color);
    transform: rotate(45deg);
  }
  /*メイン画像
-------------------------------------*/
  #mainimg h1 {
    height: 350px;
  }
  /*ニュース
-------------------------------------*/
  .news-list .item .title {
    margin-top: 1em;
  }
  /*利用例
-------------------------------------*/
  .rei-box {
    border-radius: 1em;
    background-color: #FFFFFF;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    padding: 2em 1em;
    font-size: 1.4em;
    margin-bottom: 3em;
  }
  /*お支払い
-------------------------------------*/
  .pay-box {
    border-radius: 1em;
    background-color: #FFFFFF;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    padding: 2em 1em;
    font-size: 1.1em;
    margin-bottom: 3em;
  }
  .pay-box h4 {
    margin-bottom: 1.5em;
    font-size: 1.5em;
    font-weight: 600;
  }
  /* 設備　テーブル
-----------------------------------*/
  .setubi-box table {
    border-collapse: collapse;
    width: 100%;
  }
  .setubi-box .tb01 th, .setubi-box .tb01 td {
    padding: 3px;
    border: solid 1px #ccc;
    text-align: center;
    box-sizing: border-box;
    font-size: 0.9em;
  }
  .setubi-box .tb01 th {
    background: var(--link-color);
    color: var(--white-color);
  }
		/*利用規約
-------------------------------------*/
.tos p {
    margin-bottom: 18.8px;
    line-height: 2;
}
		
  /*お問い合わせ
-------------------------------------*/
  .table th {
    width: 100%;
    display: block;
  }
  .table td {
    display: block;
  }
  /*footer
-------------------------------------*/
  footer .navi ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    list-style: none;
    margin: 1rem 0 0 0;
    font: 600 0.6em 'M PLUS 1p', sans-serif;
    letter-spacing: 0em;
    flex-wrap: wrap;
  }
  footer .navi li {
    /*flex: 1 0 auto;*/
    padding: 0rem 0rem
  }
  footer .navi li a {
    text-decoration: none;
    text-align: center;
    width: 100%;
  }
  footer .navi a:hover {
    color: #fff;
    /*background-color: var(--back-color);   */
  }
  footer .navi a {
    padding: 0.5rem;
    color: #eb551a;
  }
  footer .social-navi ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    list-style: none;
    margin: 0rem 0 0 0;
    font-size: 2.5em;
  }
  footer .social-navi li {
    /*flex: 1 0 auto;*/
    padding: 0rem 0.5rem 0rem 0rem
  }
  footer .social-navi li a {
    text-decoration: none;
    text-align: center;
    width: 100%;
  }
  footer .social-navi a:hover {
    color: #eb551a;
    /*background-color: var(--back-color);   */
  }
  footer .social-navi a {
    padding: 0.5rem;
    color: #fff;
  }
}
