@charset "UTF-8";
html {
  font-size: 62.5%;
}
html * {
  visibility: hidden;
}
html.wf-active * {
  visibility: visible;
}
body {
  font-size: 1.6rem;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 160%;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
#container {
  min-width: 1040px;
  max-width: 1524px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  /* animation: fadein 3s forwards; */
  margin: 0 auto;
}
@keyframes fadein {
  0% {
    opacity: 0
  }
  100% {
    opacity: 1
  }
}
.inner {
  position: relative;
  width: 1040px;
  max-width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
@media only screen and (min-width: 768px) {
  .sp {
    display: none !important;
  }
}
@media only screen and (max-width: 767px) {
  .pc {
    display: none !important;
  }
}
.clearfix {
  *zoom: 1;
}
.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}
/**********************************************************
 * ヘッダー
 **********************************************************/
header {
  padding: 30px 0;
  background: #FFF;
  z-index: 100;
}
header.fixed {
  position: fixed;
  top: 0;
}
header .inner a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
}
header .inner a:hover {
  color: #666;
}
header .inner {
  width: 100%;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-align-items: center;
  align-items: center;
}
header .logo {
  width: 260px;
}
header .about {
  font-size: 1.8rem;
  margin-left: 25px;
  position: relative;
}
header .about::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: #000;
  position: absolute;
  bottom: -5px;
  left: 0;
}
header .inner .gnavi {
  margin-left: auto;
  width: 58%;
  max-width: 1000px;
}
header .inner .gnavi ul {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: right;
  justify-content: right;
  -webkit-align-items: right;
  align-items: center;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
header .inner .gnavi ul li {
  margin: 0 15px 0 0;
  font-size: min(1.6vw, 26px);
  letter-spacing: 1px;
  width: 23vw;
  max-width: 400px;
}
header .inner .gnavi ul li:first-child, header .inner .gnavi ul li:nth-child(2) {
  margin-bottom: 15px;
}
header .inner .gnavi ul li:before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url(../img/common/arrow.png);
  background-size: contain;
  vertical-align: middle;
  margin-right: 10px;
}
/**********************************************************
 * メイン
 **********************************************************/
main {}
/***これからスマイルゼミを検討する方へ***/
#examination {
  padding: 40px 0;
  text-align: center;
}
#examination h2 {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 60px;
  letter-spacing: 2px;
  position: relative;
}
#examination h2::after {
  content: "";
  display: block;
  width: 55px;
  height: 3px;
  background-color: #000;
  position: absolute;
  bottom: -30px;
  left: calc(50% - 21px);
  left: -webkit-calc(50% - 21px);
}
#examination ul {
  width: 640px;
  margin: 0 auto;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}
#examination ul li {
  width: 300px;
}
#examination ul li a:hover {
  opacity: .8;
}
/***各学年の学びを今すぐサイトで確認！***/
#smilezemi {
  padding: 40px 0;
  text-align: center;
}
#smilezemi h2 {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 60px;
  letter-spacing: 2px;
  position: relative;
}
#smilezemi h2::after {
  content: "";
  display: block;
  width: 55px;
  height: 3px;
  background-color: #000;
  position: absolute;
  bottom: -30px;
  left: calc(50% - 21px);
  left: -webkit-calc(50% - 21px);
}
#smilezemi ul {
  margin: 0 40px;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}
#smilezemi ul li {
  width: 23%;
  margin: 0 1%;
}
#smilezemi ul li a:hover {
  opacity: .8;
}
/***SNS***/
#sns {
  padding: 40px 0;
  text-align: center;
}
#sns h2 {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 60px;
  letter-spacing: 1px;
  position: relative;
}
#sns h2::after {
  content: "";
  display: block;
  width: 55px;
  height: 3px;
  background-color: #000;
  position: absolute;
  bottom: -30px;
  left: calc(50% - 21px);
  left: -webkit-calc(50% - 21px);
}
#sns ul.sns_list {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
}
#sns ul.sns_list li {
  width: 36px;
  margin-right: 36px;
}
#sns ul.sns_list li:last-child {
  margin-right: 0px;
}
#sns ul.sns_list a:hover {
  opacity: .8;
}
/**********************************************************
 * ボタン
 **********************************************************/
.btn {
  display: block;
  text-align: center;
  text-decoration: none;
  -webkit-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
  box-sizing: border-box;
}
.btn:hover {
  opacity: .8;
}
/**********************************************************
 * フッター
 **********************************************************/
footer {
  position: relative;
  margin-top: 40px;
  text-align: center;
  font-size: 1.2rem;
  background: #EDEDED;
  color: #666;
  padding: 15px;
}