/*** スマホサイズ ***/

body {
  min-width: auto !important;
}

/* 共通 */
body .smHidden {
  display: none !important;
}
body .smVisible {
  display: block !important;
}

/* デフォルト文字サイズ */
p, td, th, li, div {
  font-size: 1.5rem;
}

/* aタグの位置調整*/
p.hash a {
  margin-top:-100px;
  padding-top:100px;
}


/* ----------------------------------------------
<section>
------------------------------------------------- */
#main section {
  width: auto;
}

#main section#secContact {
  margin: 0 auto;
  width: 100%;
}

/* タイトルタグ周り */
#main section.secCommon .title {
  width: 100%;
  margin: 2.0em auto;
}

#main section.secCommon .inner .inner-child {
  margin: 0 auto;
  text-align: center;
}
#main section.secCommon .inner .inner-child p,
#main section.secCommon .inner .inner-child .base_button a {
  text-align: center;
  margin: 0 auto;
}



/* ----------------------------------------------
</section>
------------------------------------------------- */

/* ----------------------------------------------
<div id="hero">
------------------------------------------------- */
body.home #hero {
  height: 100%;
  background-size: contain;
}


/* 最初のキャッチ文章 */
#main section#secCatch .innerMain {
  padding: 1.0em 0;
}
#main section#secCatch .innerMain .tx p {
  font-size: 1.5rem;
}
#main section#secCatch .innerMain .tx.min p {
  font-size: 1.3rem;
}


/* 小サイズでの振る舞い */
@media only screen and (max-width: 640px) {
  #main section.secCommon .inner {
    margin: 0 auto;
    padding: 1em 0;
  }
  #main section#secAbout {
    margin: 0 auto;
    width: 100%;
  }
}
/* 小小サイズでの振る舞い */
@media only screen and (max-width: 480px) {
  #main section.secCommon .inner {
    margin: 0 auto;
    padding: 1em 0;
  }
  #main section#secAbout {
    margin: 0 auto;
    width: 100%;
  }
  .lineHeight {
    line-height: 1;
    margin: 0.5em auto;
    padding: 1em;
  }
  #main section.secCommon .inner .inner-child .tableMargin {
    margin: 1.5em;
  }

  #main section.secCommon .inner .inner-child a.linkGreen{
    font-weight: bold;
    color: #73A776;
  }
  
  #main section.secCommon .inner .inner-child a.linkGreen:hover{
    font-weight: bold;
    color: #73a776a6;
  }
  

  #main section.secCommon .inner .inner-child .marginLeft {
    margin: 1.5em;
  }
}

/* 教室について　about */
#main section#secAbout.secCommon .inner-child p.lessonPrice span {
  display: block;
}
#main section#secAbout.secCommon .inner-child p.lessonPrice span:last-child {
  margin-left: 0em;
}
#main section#secAbout .textJustify {
  text-align: justify;
  padding: 0 1em;
}



/* お問い合わせ　Contact */
#main section#secContact .inner-child table tr th {
  width: auto;
  white-space: nowrap;
  padding-right: 1.5em;
}

#main section#secContact .inner-child h5 {
  margin: 2.5em;
}

/* オンラインレッスン　Lesson */
#main .main.secOnlineLesson {
  margin: 5.0em 0 0 0;
}


/* ナビ下部 */
#main .main.secNavBottom .container-fruid {
  padding: 0 !important;
}
#main section#secNavBottom ul {
  display: block;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}
#main section#secNavBottom ul li {
  background-color: #F0F5F0;
  border-bottom: 1px dotted #B0C1B3;
}
#main section#secNavBottom ul li a {
  display: block;
  color: #73A776;
  text-align: center;

}
#main section#secNavBottom ul li a span:first-child {
  display: inline;
  margin-right: 0.5em;
}
#main section#secNavBottom ul li a span:last-child {
  font-size: 1.4rem;
}


/* ----------------------------------------------
		フッター
------------------------------------------------- */
footer {
  
}
footer {
  position: relative;
  width: 100%;
  min-width: auto !important;
  height: auto;
  min-height: 30vh;
  background-position: center bottom 50px;
  background-size: cover;
}
footer #footer {
  max-width: auto;
  height: auto;
  min-height: 30vh;
}

footer #footer .bottom-content ul {
  display: block;
}
footer #footer .bottom-content ul li {
  margin-bottom: 0.5em;
}
footer #footer .copy p span {
	display: block;
}

/* ページトップ */
.pagetop {
  right: 5px;
  bottom: 5px;
}

/* ----------------------------------------------
		第二階層
------------------------------------------------- */
body.second #main .main {
  margin-top: 60px;
  padding-top: 0px;
  border: 0px solid;
}



/* 共通キャッチ部分 */
body.second #main .main .catch {
}

body.second #main section.secCommon h3 {

}
body.second #main section.secCommon h4 {

}

/* テーブル共通　基本 */
body.second #main table.type1 th,
body.second #main table.type1 td,
body.second #main table.type2 th,
body.second #main table.type2 td {
  display: block;
  padding: 0 !important;
  width: auto;
  text-align: left;
  text-align-last: inherit;
  text-justify: inherit;
  border: none;
}
body.second #main table.type1 th,
body.second #main table.type1 td {
  margin: 1.0em 0.75em;
}
body.second #main table.type1 th {
  border-bottom: 1px solid #ff7551;
}
body.second #main table.type1 td {
}


/* ----------------------------------------------
		レイアウト　右カラム回り込み p > span
------------------------------------------------- */
body.second #main section.secCommon span.float_r img {
  max-width: 150px;
}



/* ----------------------------------------------
　第二階層
------------------------------------------------- */



/* ----------------------------------------------
		フォームパーツ　共通
------------------------------------------------- */

#main input[type="submit"],
#main input[type="button"],
#main input[type="reset"],
#main button {
	padding:5px 10px;
}



/* エラー404ページ */

.marginTop {
  margin-top: 13rem;
}