@charset "utf-8";

/* 基本要素 */
body {
  margin: 0;
  padding: 0;
  color: #4d4d4d;
  background-color: #fff;
  font-family: 'Meiryo', "ヒラギノ角ゴ Pro W3", "ＭＳ Ｐゴシック", "Osaka", sans-serif;
}

a {
  color: #ff0099;
}

a:visited {
  color: #6600ff;
}

a:hover {
  color: #fc44c3;
  font-weight: bold;
  text-decoration: none;
}

a img {
  transition: opacity 0.2s linear;
}

a:hover img {
  opacity: 0.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
}

p {
  margin: 0 15px 15px 15px;
  line-height: 1.6;
}

img {
  vertical-align: bottom;
}

#main h1 {
  background-color: #aafff5;
  padding: 13px 30px 10px 20px;
  font-size: 24px;
  color: #44382d;
  border-bottom: solid 3px rgba(76, 130, 170, 0.79);
}

#main h2 {
  font-size: 22px;
  border: 1px solid #408177;
  padding: 11px 22px;
  border-radius: 5px;
}

#main h3 {
  font-size: 18px;
  border-left: solid 3px #408177;
  padding: 1px 9px 1px 15px;
}

#main h4 {
  font-size: 16px;
  margin-top: 5px;
  border: solid 2px #50bead;
  padding-left: 13px;
}

#main h5 {
  font-size: 18px;
  padding: 5px;
  text-align: center;
  color: #1e5799;
}


/*強調*/
.lead {
  font-size: 18px;
}

.subtitle {
  display: block;
  padding-top: 5px;
  font-size: 18px;
  font-weight: normal;
}

strong {
  font-weight: normal;
  color: #DF0F00;
}

.bold {
  font-weight: 700;
}

.regist {
  font-size: 15px;  
  }
  
.price {
  font-size: 14px;
}

/* ヘッダー */
header {
  width: 980px;
  margin: 0 auto;
  background: url()
}

/*header #tomabanner h1 {
  font-family: "M PLUS Rounded 1c";
  font-weight: 900;
  font-size: 70px;
  color: #b7a077;
  text-shadow: 5px 5px 1px rgb(177, 199, 199);
   margin: 5px;
  float: left;
  position: relative;
  height: 104px;
}

header #tomabanner h2 {
  font-family: "M PLUS Rounded 1c";
  font-weight: 900;
  font-size: 35px;
  color: #b7a077;
  text-shadow: 5px 5px 1px rgb(177, 199, 199);
  line-height: 1.2;
  margin: 5px;
  position: relative;
  top: 13px;
  left: 10px;
}*/

header img {
  display: block;
  float: left;
  margin: 10px 0 0 10px;
  max-width: 15%;
  height: auto;
}

header h1 {
  float: left;
  margin: 5px 5px 0 10px;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: 900;
  font-size: 93px;
  color: #860808;
  text-shadow: 5px 5px 1px rgba(232, 217, 190, 0.72);
  position: relative;
}

header h2 {
  float: left;
  margin: 23px 5px 0 10px;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: 900;
  font-size: 40px;
  color: #860808; 
  text-shadow: 5px 5px 1px rgba(232, 217, 190, 0.72);
  line-height: 1.2;
}

.clearLeft { 
clear: left; 
}

header h3 {
  float: right;
  margin: 5px 0 10px;
  color: #3566c1;
}

.main_point {
  margin: auto;
  color: #990033;
  clear: both;
  font-size: 21px;
  font-weight: 600;
  text-align: center;
}

/* ナビゲーション */
#global_navi {
  width: 980px;
  clear: both;
  overflow: hidden;
  margin: 0 auto;
}

#global_navi ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#global_navi ul li {
  width: 195px;
  float: left;
  margin-right: 1px;
  margin-bottom: 1px;
  text-align: center;
}

#global_navi ul li a {
  display: block;
  padding: 16px;
  background-color: #82F0CC;
  color: #1b439b;
  text-decoration: none;
  transition: background-color 0.2s linear;
  border: 1px solid #16ceb9;
  border-radius: 10px;
}

#global_navi ul li.current a {
  background-color: #8BAAE5;
}

#global_navi ul li a:hover {
  background-color: #91DCE8;
}

/* コンテンツ全体 */
#wrapper {
  width: 980px;
  margin: 0 auto;
  overflow: hidden;
  background-color: #fff;
}

/* メイン部分 */
#main {
  width: 980px;
}

/* サイドバー */
#sidebar {
  width: 980px;
}

#side_banner {
  margin-bottom: 30px;
}

#side_banner h2 {
  background-color: #716961;
  color: #fff;
  padding: 7px;
  font-size: 14px;
  text-align: center;
}

#side_banner ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#side_banner ul li {
  margin-bottom: 10px;
}

#side_contact {
  margin-bottom: 30px;
}

#side_contact {
  color: #7F7259;
  text-align: center;
}

#side_contact h2 {
  background-color: #b7a077;
  color: #fff;
  padding: 7px;
  font-size: 14px;
}

#side_contact address {
  font-weight: bold;
  font-size: 20px;
  font-style: normal;
}

#side_contact address img {
  vertical-align: middle;
  margin-right: 5px;
}

#side_contact .contact_button {
  display: inline-block;
  background: #1e5799;
  background: -moz-linear-gradient(top, #1e5799 0%, #2989d8 50%, #207cca 51%, #7db9e8 100%);
  background: -webkit-linear-gradient(top, #1e5799 0%, #2989d8 50%, #207cca 51%, #7db9e8 100%);
  background: linear-gradient(to bottom, #1e5799 0%, #2989d8 50%, #207cca 51%, #7db9e8 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1e5799', endColorstr='#7db9e8', GradientType=0);
  color: #b7a077;
  padding: 10px;
  border: 1px solid #b7a077;
  border-radius: 5px;
  text-decoration: none;
}

#side_contact .contact_button:hover {
  background: #efc5ca;
  background: -moz-linear-gradient(top, #efc5ca 0%, #d24b5a 50%, #ba2737 51%, #f18e99 100%);
  background: -webkit-linear-gradient(top, #efc5ca 0%, #d24b5a 50%, #ba2737 51%, #f18e99 100%);
  background: linear-gradient(to bottom, #efc5ca 0%, #d24b5a 50%, #ba2737 51%, #f18e99 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#efc5ca', endColorstr='#f18e99', GradientType=0);
  color: #fff;
}

/* フッター */
footer {
  background-color: #352b23;
  text-align: center;
}

footer #footer_nav {
  background-color: #efefef;
  padding: 10px 0;
}

footer #footer_nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

footer #footer_nav li {
  display: inline;
  border-left: solid 1px #aaa;
  margin-left: 8px;
  padding-left: 8px;
  font-size: smaller;
}

footer #footer_nav li:last-child {
  border-right: solid 1px #aaa;
  padding: 0 8px;
}

footer small {
  display: block;
  padding: 8px 0;
  color: #fff;
}

/* パンくずリスト */
#breadcrumb {
  font-size: smaller;
}

#breadcrumb ol {
  list-style: none;
  margin: 0 0 10px 0;
  padding: 0;
}

#breadcrumb ol li {
  display: inline;
}

#breadcrumb ol li::after {
  content: ">";
  padding-left: 7px;
}

#breadcrumb ol li:last-child::after {
  content: none;
}

/* メインビジュアル（トップページ） */
#main_visual {
  width: 980px;
  height: 440px;
  margin: 0 auto 25px;
}

#main_visual {
  position: relative;
}

#main_visual_small {
  position: absolute;
  bottom: 20px;
  left: 0px;
  width: 100%;
  color: #fff;
}

#main_visual_text {
  text-align: center;
  width: 100%;
}

/* トップページ */
#top_banner {
  width: 980px;
  margin: 0 auto;
}

#main #theme {
  background-color: rgba(172, 253, 225, 0.88);
  padding: 13px 30px 10px 20px;
  font-size: 22px;
  color: #B22C43;
  border: solid 5px #E8A86B;
}

/* トップページ wrapper フォント */

.wf-roundedmplus1c {
  font-family: 'Sniglet', cursive, "M PLUS Rounded 1c",'Meiryo',"ヒラギノ角ゴ Pro W3","ＭＳ Ｐゴシック","Osaka", sans-serif";
}

/* トップページ こだわり バルーン */

.balloon1 {
  position: relative;
  display: inline-block;
  margin: 1.5em 0.5em;
  padding: 7px 10px;
  min-width: 120px;
  max-width: 100%;
  color: #555;
  font-size: 24px;
  background: #e0edff;
  border-radius: 15px;
  font-family: 'Sniglet', cursive, "M PLUS Rounded 1c";
  box-shadow: 15px 15px 15px #285588;
}

.shadow {
  box-shadow: 5px 10px 20px rgba(0, 0, 0, 0.25);
}

.balloon2 {
  position: relative;
  display: inline-block;
  margin: 1.5em 0;
  padding: 7px 10px;
  min-width: 120px;
  max-width: 100%;
  color: #555;
  font-size: 30px;
  font-family: 'Sniglet', cursive, "M PLUS Rounded 1c";
  background: #a9f8dd;
  border-radius: 15px;
  box-shadow: 15px 15px 15px #285588;
}

.balloon2 a {
  text-decoration: none;
}

.balloon2 a:hover {
text-decoration: underline;
}
  
/*
.balloon1:before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -15px;
  border: 15px solid transparent;
  border-top: 15px solid #e0edff;
}

.balloon1 p {
  margin: 0;
  padding: 0;
}
*/

.balloon3-right {
  position: relative;
  display: inline-block;
  margin: 1.5em 15px 1.5em 0;
  padding: 0 5px;
  width: 200px;
  height: 150px;
  line-height: 90px;
  vertical-align: middle;
  text-align: center;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  background: #ff8e9d;
  border-radius: 50%;
  box-sizing: border-box;
}

.balloon3-right:before {
  content: "";
  position: absolute;
  top: 50%;
  right: -25px;
  margin-top: -15px;
  border: 15px solid transparent;
  border-left: 15px solid #ff8e9d;
  z-index: 0;
}

.balloon3-left {
  position: relative;
  display: inline-block;
  margin: 1.5em 0 1.5em 15px;
  padding: 0 5px;
  width: 90px;
  height: 90px;
  line-height: 90px;
  vertical-align: middle;
  text-align: center;
  color: #FFF;
  font-size: 20px;
  font-weight: bold;
  background: #ffcc75;
  border-radius: 50%;
  box-sizing: border-box;
}

.balloon3-left:before {
  content: "";
  position: absolute;
  top: 50%;
  left: -25px;
  margin-top: -15px;
  border: 15px solid transparent;
  border-right: 15px solid #ffcc75;
  z-index: 0;
}

.box15 {
  padding: 0.2em 0.5em;
  margin: 2em 0;
  color: #565656;
  background: #ffeaea;
  box-shadow: 0px 0px 0px 10px #ffeaea;
  border: dashed 2px #ffc3c3;
  border-radius: 8px;
}

.box15 p {
  margin: 0;
  padding: 0;
}

.arrow_box1 {
  position: relative;
  margin: 50px 200px;
  background: #a9f8dd;
  border: 2px solid #7db9f5;
}

.arrow_box1:after,
.arrow_box1:before {
  top: 100%;
  left: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

.arrow_box1:after {
  border-color: rgba(36, 233, 255, 0);
  border-top-color: #a9f8dd;
  border-width: 10px;
  margin-left: -10px;
}

.arrow_box1:before {
  border-color: rgba(125, 185, 245, 0);
  border-top-color: #7db9f5;
  border-width: 16px;
  margin-left: -16px;
}

#intro1 {
  margin: 30px 0;
  border: 30px; 
  border-style: solid;
  border-color: #c7cbff;
  text-align: center;
}

#intro1 p {
  font-size: 50px;
  font-weight: 900;
  font-family: 'M PLUS Rounded 1c', sans-serif;
}

#submain {
  text-align: center;
}

/* トップページ　ボタン */
.btn-flat-border {
  display: inline-block;
  margin: 50px 0;
  padding: 0.3em 1em;
  text-decoration: none;
  color: #67c5ff;
  border: solid 2px #67c5ff;
  border-radius: 3px;
  transition: .4s;
  font-size: 45px;
  font-weight: 900;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  box-shadow: 15px 15px 15px #285588;
}

.btn-flat-border:hover {
  background: #26ebc5;
  color: white;
}


/* トップページ イントロ・メニュー　*/
/*
#introduction {
  width: 980px;
  clear: both;
  overflow: hidden;
  margin: 16px auto;
}
#introduction ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#introduction ul li {
  width: 243px;
  float: left;
  margin-right: 1px;
  margin-bottom: 1px;
  text-align: center;
}
#introduction ul li a {
  display: block;
  padding: 16px;
  transition: background-color 0.2s linear;
}
#introduction ul li a:hover {
  background-color: #84ffc2;
}
*/

/* トップページ　矢印 */
.arrow_1bl {
  display: inline-block;
  height: 40px;
  width: 40px;
  background-color: #63ebbc;
  position: relative;
  top: 20px;
}

.arrow_1bl:before {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  border: 40px solid transparent;
  border-top: 25px solid #63ebbc;
  left: -15px;
  top: -20px;
}
  
  
/* ニュース */
#news dl {
  overflow: hidden;
}

#news dt {
  float: left;
  width: 8em;
  margin-bottom: 10px;
  clear: both;
}

#news dd {
  margin-left: 8em;
  margin-bottom: 10px;
}

/* ごあいさつと特長 */
#tokcho li {
  font-weight: bold;
}

/* コース案内ページ */
#course table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

#course th,
#course td {
  border: 1px solid #c7c7c7;
  padding: 8px;
}

#course th {
  background-color: #f1ede4;
  text-align: left;
  width: 5em;
}

/* 対策校・合格実績 */
.taisaku_large {
  font-size: larger;
}

/* 小学部 */
#curriculum {
  font-family: 'M PLUS Rounded 1c', sans-serif;
}

#curriculum h2 {
  font-size: 22px;
  border: 3px solid #2ac7af;
  padding: 11px 22px;
  border-radius: 5px;
}

#curriculum h3 {
  font-size: 18px;
  border-left: solid 5px #2eddc2;
  padding: 1px 9px 1px 15px;
}

/* 音楽部 */
p.line_through {
  text-decoration: line-through;
  line-height: 0;
}

/* 理科実験教室 */
#kando {
  font-size: 22px;
  color: darkblue;
  margin-top: 40px;
}

#yakutatsu {
  display: flex;
}

#yakutatsu p .rikasuki1 {
  width: calc(33.3% - 10px);
  margin: 5px;
}

supplement {}

#jikken_ph {
  margin-top: 40px; 
  text-align: center;
}

/* ギャラリーページ */
#gallery ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#gallery ul li {
  width: 314px;
  height: 280px;
  margin: 0 30px 30px 0;
  padding: 10px;
  border: solid 1px #ccc;
  float: left;
  text-align: left;
  color: #b7a077;
  font-weight: bold;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
}

#gallery ul li:nth-child(2n) {
  margin-right: 0;
}

/* お問い合わせページ */
#entry dl {
  background: #f1ede4;
  border: 1px solid #ddd;
  border-top: 0;
}

#entry dl dt,
#entry dl dd {
  padding: 10px;
  border-top: 1px solid #ddd;
}

#entry dl dt {
  width: 13em;
  float: left;
  clear: both;
  font-weight: bold;
}

#entry dl dd {
  background-color: #fff;
  border-left: 1px solid #ddd;
  margin-left: 13em;
}

.must {
  color: #f00;
}

#entry #name {
  width: 15em;
  padding: 3px;
}

#entry #email {
  width: 25em;
  padding: 3px;
}

#entry #category2,
#entry #category3,
#entry #questionnaire2,
#entry #questionnaire3 {
  margin-left: 15px;
}

#entry #detail {
  width: 36em;
  height: 15em;
}

#entry #submit_button_cover {
  text-align: center;
}

#entry #submit_button {
  background-color: #b7a077;
  border: 1px solid #b7a077;
  padding: 15px 100px;
  border-radius: 10px;
  font-size: 18px;
  color: #fff;
  cursor: pointer;
  transition: background 0.1s linear;
}

#entry #submit_button:hover {
  background: #c7ae81;
}

/* テーブル */
table {
  border-collapse: collapse;
  width: 800px;
  background: #fff;
  margin: 30px auto;
}

td,
th {
  border: 1px solid #E8885A;
  padding: 6px 10px;
}

thead {
  background: #FFAC63;
}

tbody th {
  text-align: left;
  vertical-align: top;
}

tbody td:last-child {
  text-align: right;
}

#box_sc1 h5,#box_sc2 h5,#box_sc3 h5{
  font-size: 18px;
  margin: 0;
  border: 0;
  padding: 0;
  color: #4d4d4d;
  text-align: center;
}

#box_sc2 td:nth-child(2),
#box_sc2 td:nth-child(3) {
  text-align: right;
}

#box_sc2 th:nth-child(n+1),
#box_sc2 td:nth-child(n+1) {
  white-space: nowrap;
  width: 500px;
}

#box_sc4 td:nth-child(2),
#box_sc4 td:nth-child(3) {
  text-align: right;
}

#box_sc4 th:nth-child(n+1),
#box_sc4 td:nth-child(n+1) {
  white-space: nowrap;
  width: 500px;
}

#box_sc3 td:nth-child(3) {
  text-align: center;
}

tr:hover {
  cursor: default;
  background: #D2F6FF;
}

.caption_bottom {
  caption-side: bottom;
}

.table_wrapper {
  overflow-x: scroll;
}


@media screen and (min-width: 768px) {
  .table_wrapper {
    overflow-x: auto;
  }
}

.pricelist_table {
  border-collapse: collapse;
  min-width: 728px;
}

#pricelist_box_m2 {
  margin-bottom: auto;
}



/* アクセスページ */


/* ---------------------------------
メディアクエリー
--------------------------------- */
@media screen and (max-width : 767px) {

  /* 基本要素 */
  img {
    max-width: 100%;
  }

  /* Layout */
  header,
  #global_navi,
  #sidebar,
  #wrapper {
    width: 100%;
  }

  /* ヘッダー */
  
  header img {
  float: left;
  max-width: 15%;
  height: auto;
}
  
  header h1 {
    margin: 0;
    font-size: 40px;
  }
  
  header h2 {
    margin: 10px 5px 0px 10px;
    font-size: 18px;
     line-height: 1.2;
  }
  
  /* ナビゲーション */
  #global_navi ul li {
    width: 50%;
    height: 50px;
    padding: 0.5px;
    margin: 0;
    box-sizing: border-box;
  }

  #global_navi ul li a {
    margin: 0;
  }
  
  /* メイン部分 */
  #main {
    width: 100%;
    padding: 0 5%;
    box-sizing: border-box;
  }

  #main figure {
    text-align: center;
  }

  /*.regist {
  font-size: 14px;  
  }
  
  .price {
  font-size: 12px;
}*/
  
  /* トップページパーツ */
  #main_visual {
    position: relative;
    width: 100%;
    height: auto;
    margin: auto;
  }

  #main_visual_text {
    position: absolute;
    width: 100%;
    height: auto;
    bottom: 0;
  }

  #main_visual_text p {
    margin: 0;
    padding: 0 0.8em;
    font-size: 95%;
    font-weight: bold;
  }

  #point figure {
    float: none;
    margin: 0 0 11px 0;
  }

  /* サイドバー */
  #side_banner ul li {
    text-align: center;
    margin: 11px auto;
  }

  #side_contact address img {
    width: 14px;
    height: 20px;
  }

  /* テーブル */
  table {
  width: 300px;
}
}

}
