* {
  margin: 0;
  padding: 0;
  border: 0;
  -webkit-tap-highlight-color: transparent;
  font-family: 'NotoSans', 'メイリオ', Meiryo, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', Arial, Helvetica, Verdana, sans-serif;
}

p {
  margin: 0;
  padding: 0;
  line-height: 1.8;
}

li {
  list-style: none;
}

img {
  max-width: 100%;
  max-height: auto;
}

/*top-menu*/
#top-menu {
	width: 100%;
	box-shadow: 0px 3px 1px -1px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0px 3px 1px -1px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 3px 1px -1px rgba(0,0,0,0.2);
	z-index: 100;
	margin: -2vw 0 18vw;
}
#top-menu ul {

}
#top-menu ul li {
	width: 20%;
	color: #444;
	text-align: center;
	float: left;
	/*background: rgba(0,0,0,0.3);*/
	background-color: #f6f6f6;
	font-size: 10px;
	padding-bottom: 2px;
	box-sizing: border-box;
}
#top-menu ul li:after {
	content: "";
	clear: both;
	display: block;
}
#top-menu ul li img {
	width: 50%;
    margin: 0% 25% -5% 25%;
    box-sizing: border-box;
    border: solid 1px rgba(219, 219, 219, 0);
    padding: 5%;
    border-radius: 1px;
    transition: all 0.25s ease;
    -webkit-transition: all 0.25s ease;
}
#top-menu ul li img:active {
	border-color: #FF675E;
	padding: 9%;
	opacity: 0.3;
}
#top-menu ul li a {
	text-decoration: none;
	color: #777;
	text-shadow: 0px 1px 1px rgba(219, 219, 219, 0.25);
	transition: all 0.1s ease;
    -webkit-transition: all 0.1s ease;
}
#top-menu ul li a:active {
	color: #FF675E;
}

/*     mainvisual     */
.mainvisual {
  width: 100%;
  margin: 10px auto 0;
  display: block;
  box-sizing: border-box;
}

.mainvisual img {
  width: 100%;
}

.cf:after {
  content: '';
  display: block;
  clear: both;
}

/*     apply     */
.apply {
  text-align: center;
  border-radius: 10px;
  color: #fff;
  margin: 5vw auto;
  width: 95%;
  padding: 3vw;
  background-color: #ff4242;
  font-size: 4vw;
}

.apply a {
  text-decoration: none;
  color: #fff;
}

/*     math     */
#math img {
  width: 100%;
}

/*     content     */
.content {
  margin-top: -105px;
  padding-top: 100px;
}

.content .heading {
  vertical-align: middle;
  margin: 15px 0;
  background: rgba(255,255,255,0.6);
  box-sizing: border-box;
  border-top: solid 1px #00c795;
  border-bottom: solid 1px #00c795;
  border-right: solid 7px #00c795;
}

.content h1 {
  display: block;
  color: #333;
  font-size: 25px;
  float: left;
  width: 85%;
  line-height: 30px;
  box-sizing: border-box;
  padding-left: 10px;
  padding-top: 0px;
  padding-bottom: 0;
  font-weight: bold;
  }

.content .heading img {
  width: 15%;
  float: left;
  padding: 2%;
  border: solid 1px transparent;
}

.content .content-inner h2 {
  text-align: center;
  width: 100%;
  line-height: 1.5;
  font-size: 23px;
  font-weight: bold;
  color: #00a870;
  padding: 12px 0;
  background: rgba(255,255,255,0.5);
  border: solid 1px #ddd;
  text-shadow: 0 1px 1px rgba(219, 219, 219, 0.8);
  margin: 5% 0;
}

.content .content-inner h3 {
  font-size: 19px;
  width: 100%;
  line-height: 36px;
  color: #b07920;
  padding-left: 15px;
  margin: 3% 0;
  border-bottom: double 1px #b07920;
  box-sizing: border-box;
}

.content-inner {
  width: 90%;
  margin: 5%;
}

.content-inner .inner-text {
  font-size: 16px;
  line-height: 1.9;
  width: 100%;
  background: rgba(255,255,210,0.35);
  margin: 0;
  padding: 2% 3% 5%;
  box-sizing: border-box;
  text-shadow: 0 1px 1px rgba(219, 219, 219, 0.25);
}

.content-inner .inner-text .red {
  color: #ff1111;
}

.content-inner .inner-text .small {
  font-size: 0.8em;
}

.content-inner .inner-text .big {
  font-size: 1.3em;
}

.content-inner .inner-text .bold {
  font-weight: bold;
}

.content-inner img {
  width: 100%;
  margin: 3% 0;
  border: solid 1px #ccc;
}

.content-inner .inner-texting {
  color: #00a870;
  text-align: left;
  font-size: 16px;
  line-height: 1.9;
  width: 100%;
  background: rgba(255,255,210,0.35);
  margin: 0;
  padding: 2% 3% 5%;
  box-sizing: border-box;
}

#marginal {
  font-size: 14px;
  color: #444;
  text-align: left;
}

/* small-title */
#small-title {
  font-size: 18px;
  padding: 10px 5%;
  background-color: #08a597;
  color: white;
  text-align: center;
}

#small-title .color {
  font-size: 15px;
  color: #d9ff44;
}

#small-title .big {
  font-size: 24px;
  color: white;
}

.learning-img {
  display: block;
  margin: 0 auto;
}

/*     記事     */
.article {
  width: 100%;
}

/*     ナビ     */
.navi {
  background-color: #08A597;
  padding-bottom: 10%;
}

.navi p {
  color: white;
  text-align: center;
  font-size: 16px;
}

.navi img {
  width: 75%;
}

.navi-title {
  color: white;
  text-align: center;
  font-family: 'ＭＳ Ｐゴシック';
}

.navi-title h1 {
  font-size: 35px;
  padding: 10px 0 30px;
  margin: 0;
}

.navi-title p {
  font-size: 20px;
  padding-top: 20px;
}

/*     menu-box     */
.menu-box {
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.menu-box p,
.navi .menu4 p {
  margin-top: 13px;
}

.navi .menu4 img {
  margin-top: 10px;
  width: 60%;
}

.navi .menu4 {
  text-align: center;
}

/*     見出し     */
.midashi {
  color: white;
  text-align: center;
}

.midashi p {
  padding: 23px 0;
  font-size: 18px;
}

/*     タイトル     */
.title {
  text-align: center;
  margin-top: 30px;
  width: 80%;
  margin: 0 auto;
}

.title p {
  margin-top: 30px;
}

.title h3 {
  font-size: 23px;
  font-weight: normal;
  margin: 25px auto 2px;
}

/*     コンテンツ     */
.content2 {
  width: 80%;
  display: block;
  margin: 0 auto;
}

/*     センテンス     */
.sentences {
  margin-top: 20px;
}

.sentence-gap {
  margin: -25px 0 -10px;
}

/*     インデント     */
.indent {
  padding-left: 1em;
}

/*     授業     */
#jugyo .midashi {
  background-color: #F57A00;
  background-repeat: no-repeat;
  background-position: 50% 75%;
  background-size: 120px;
}

#jugyo .title {
  color: #F57A00;
}

.jugyo-img {
  width: 90%;
  margin: 0 auto;
  display: block;
}

/*     インストラクター     */
#instructor,
#system,
#pos {
  margin-top: 20px;
}

#instructor .midashi {
  background-color: #6B81CB;
  background-repeat: no-repeat;
  background-position: 50% 75%;
  background-size: 160px;
  margin-top: 50px;
}

#instructor .title {
  color: #6B81CB;
}

/*     システム     */
#system .midashi {
  background-color: #E38091;
  background-repeat: no-repeat;
  background-position: 50% 75%;
  background-size: 200px;
  margin-top: 50px;
}

#system .title {
  color: #E38091;
}

.basic-img {
  display: block;
  margin: 0 auto;
}

#kanri {
  width: 80%;
  margin: 0 auto;
  text-align: center;
}

.poi {
  font-weight: bold;
  color: #00883F;
}

/*     POS     */
#pos {
  margin-bottom: 20px;
}

#pos .midashi {
  background-color: #F14B4B;
  background-repeat: no-repeat;
  background-position: 50% 75%;
  background-size: 180px;
  margin-top: 50px;
}

#pos .title {
  color: #F14B4B;
}

#pos .title .black {
  color: black;
}

.pos-img {
  width: 90%;
  margin: 0 5%;
}

.explanation-image {
  font-size: 13px;
}

/*     to-top     */
.to-top {
  margin: 10px 0;
}

.to-top a {
  width: 22%;
  vertical-align: bottom;
  margin-left: 68%;
  margin-bottom: 5%;
  font-size: 14px;
  color: #888;
  text-decoration: none;
  padding: 7px;
  border-radius: 3px;
  text-align: center;
  position: relative;
  transition: all 0.15s ease;
  -webkit-transition: all 0.15s ease;
}

.to-top a:after {
  content: '';
  position: absolute;
  top: 0;
  left: 1px;
  border: solid 1px #888;
  width: 100%;
  height: 100%;
  letter-spacing: 0px;
  border-radius: 3px;
}

.to-top a:active {
  background-color: #888;
  color: #fff;
}

/*     kouza     */
#kouza .kouza-detail a {
  display: block;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  color: #555;
  text-align: left;
  border: solid 2px #999;
  position: relative;
  padding: 12px 0;
  background: #fff;
  margin: 15px 0 0;
  box-sizing: border-box;
  padding-left: 12px;
  box-shadow: 0 2px 0 -1px rgba(0,0,0,0.2);
  transition: all 0.2s ease;
  -webkit-transition: all 0.2s ease;
}

#kouza .kouza-detail a img {
  width: 50px;
  float: right;
  margin-right: 5px;
  border-style: none;
  margin-top: -12px;
  }

#kouza .kouza-detail a:active {
  box-shadow: 0px 5px 15px -1px rgba(0,0,0,0.2);
}

.curriculum {
  color: black;
  font-size: 20px;
  margin-top: 30px;
}

.test {
  color: black;
  font-size: 15px;
}

/*     voice     */
.voice-article {
  margin: 25px auto;
}

.voice-article > .inner-text {
  border: dashed 1px #a37627;
}

.voice-article:nth-of-type(1) img {
  width: 21%;
  float: left;
  margin-right: 5%;
}

.voice-article:nth-of-type(2) img,
.voice-article:nth-of-type(3) img {
  width: 21%;
  float: left;
  margin-right: 5%;
}

.voice-heading {
  display: block;
  font-size: 18px;
  letter-spacing: -1px;
  line-height: 1.6;
  text-align: center;
  font-weight: bold;
  color: #074f8a;
  margin: 12px auto;
}

.voice-article .voice_info {
  font-size: 12px;
  margin-left: 8px;
  text-indent: 0;
}

.voice-article .voice_info p {
  padding-top: 15px;
}

.voice-article .voice_info p .name {
  font-size: 19px;
  font-weight: bold;
}
.voice-article .voice-heading {
  display: block;
}

.voice-title {
  display: block;
  font-size: 17px;
  letter-spacing: -1px;
  line-height: 1.6;
  text-align: center;
  font-weight: bold;
  color: #ff9326;
}

/*     入学方法     */
#nyugaku {
  margin-bottom: 30px;
}

#nyugaku-flow img {
  width: 90%;
  margin: 5%;
}

#nyugaku-flow .nyugaku-inner {
  width: 100%;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
  color: #0099CC;
  margin: 2% 0;
  text-align: left;
  display: block;
  padding: 0;
  box-sizing: border-box;
  border: solid 1px #0099CC;
  text-shadow: 0 1px 1px rgba(219, 219, 219, 0.8);
  box-shadow: 0 2px 0 -1px rgba(0,0,0,0.2);
}

#nyugaku-flow .nyugaku-inner > .flowh4 {
  display: block;
  font-size: 22px;
  font-weight: bold;
  border-bottom: solid 1px #0099CC;
  width: 92%;
  color: #0099CC;
  margin-left: 4%;
  box-sizing: border-box;
}

#nyugaku-flow .nyugaku-inner > .flowh5 {
  display: block;
  font-size: 15px;
  margin: 7px 4% 10px 4%;
  width: 92%;
  line-height: 20px;
}

#nyugaku-flow .nyugaku-inner > .flowh5 span {
  font-size: 12px;
}

#nyugaku-flow > .triangle {
  width: 0;
  height: 0;
  display: block;
  border-style: solid;
  border-width: 23px 23px 0 23px;
  border-color: #ff9326 transparent transparent transparent;
  margin-left: 43%;
}

#nyugaku-flow > .triangle:after {
  content: '';
  clear: both;
  display: block;
}

#nyugaku h3 {
  color: #00a870;
  border-top: solid 3px #00a870;
  border-bottom: dotted 3px transparent;
  font-size: 18px;
  padding: 5px 0;
  line-height: 1.4;
  text-align: center;
  margin-top: 35px;
}

#nyugaku .kensaku {
  width: 100%;
  margin: 2% 0 8%;
}

#nyugaku .kensaku a {
  display: block;
  text-decoration: none;
  color: #00a870;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  padding: 7px 0;
  line-height: 1.35;
  background: linear-gradient(to bottom, #fff, #f0f0f0 85%, #EEE);
  border: solid 1px rgba(0,0,0,0.3);
  border-radius: 3px;
  box-shadow: 0 2px 0 -1px rgba(0,0,0,0.2);
  transition: all 0.15s ease;
  -webkit-transition: all 0.15s ease;
}

#nyugaku .kensaku a:active {
  box-shadow: 0 2px 0 -1px rgba(0,0,0,0);
}

#nyugaku .kensaku a span {
  color: #888;
}

/*     固定フッター     */
#footer-fixed {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #D5F7F4;
  z-index: 10;
  justify-content: space-around;
  height: 32vw;
  font-size: 3.5vw;
}

.footer-apply {
  font-weight: 10vw;
  font-weight: bold;
  text-align: center;
}

.flex-box {
  display: flex;
  justify-content: center;
}

.footer-line {
  line-height: 18vw;
}

.footer-img {
  width: 95%;
}

/*     Inc_toitsutest_jack     */
.jack-apply p {
  text-align: center;
  text-decoration: underline;
}

.jack-apply b {
  font-size: 7vw;
}

.jack img {
  width: 90%;
  padding-left: 5%;
  margin-bottom: 10px;
}

img.width-60-pc {
  width: 60%;
}

#grid-content{
    margin-top: 35px;
}

.torikumi-title{
    font-size: 33px;
    margin-bottom: 15px;
    display: flex;
    justify-content: start;
    align-items: center;
    color: #5495e8;
    font-weight: bold;
}

.torikumi-grid{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap:20px;
}

#MV{
    height:350px;
}

.torikumi-content{
    box-shadow: 3px 3px 6px 0 rgba(0, 0, 0, 0.3), 3px 3px 6px 0 rgba(0, 0, 0, 0.1), 3px 3px 6px 0 rgba(0, 0, 0, 0.05);
    width: 235px;
    margin: 0 auto;
    height: 320px;
    position: relative;
}

.torikumi-content::after{
    position: absolute;
    content: "➡";
    bottom: -18px;
    right: 10px;
    color: #008cff;
    font-size: 40px;
}

.torikumi-content-title{
    font-size: 21px;
    font-weight: bold;
    margin-top: 0.2vw;
    height: 76px;
    display: flex;
    align-items: start;
    margin-left: 5px;
    letter-spacing: -0.05rem;
    color: #000;
}

.torikumi-content-text{
    font-size: 17px;
    font-weight: bold;
    margin-left: 5px;
    color: #000;
}

.moshi-pick-up{
    width: 765px;
    letter-spacing: -0.05rem;
    margin: 0 auto 1vw auto;
    position: relative;
    font-weight: bold;
    font-size: 25px;
    text-align: start;
    display: flex;
    align-items: end;
}

.moshi-pick-up::before {
    position: absolute;
    content: "";
    display: inline-block;
    width:3px;
    height:67px;
    background: #000;
    transform: rotate(20deg);
    margin: 0 0.5em;
    right: -45px;
    top: -13px;
}

  .moshi-pick-up::after {
    position: absolute;
    content: "";
    display: inline-block;
    width: 3px;
    height:67px;
    background: #000;
    transform: rotate(-20deg);
    margin: 0 0.5em;
    left: -45px;
    top: -13px;
  }

  #mv .splide__pagination{
    top: 270px;
    width: 250px;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
  }

  #mv .splide__pagination__page {
    background: #ccc;
    opacity: 1; 
    width: 20px;       
    height: 20px;
  }
  
  #mv .splide__pagination__page.is-active {
    background: #666;
    transform: none;   
  }

  .yellow-line{
    background: linear-gradient(transparent 65%, #ffe66a 65%);
    font-size: 35px;
  }

  .index-main{
    width: 1000px;
    margin: 0 auto;
  }

  .moshi-decoration1{
    font-size: 20px;
    display: flex;
    align-items: end;
    margin-bottom: 4px;
  }

  .moshi-title{
    background-color: #009380;
    color:#fff;
    font-size: 30px;
    display: flex;
    justify-content: center;
    font-weight: bold;
  }

  .torikumi-content-box{
    text-decoration: none;
  }

  .subject-box{
    display: flex;
    width: 100%;
    border-bottom: 0.2vh solid #807777;
    padding-bottom: 20px;
    margin-top: 20px;
    text-decoration: none;
  }

  .sentence-box{
    text-decoration: none !important;
    color: #000;
    margin-left: 15px;
  }

  .sentence-title{
    font-size: 21px;
    color: #ffffff;
    font-weight: 550;
    border-radius: 5px;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .sentence-title.english{
    background-color: #f8b61a;
  }
  
  .sentence-title.math{
    background-color: #4197d6;
  }

  .sentence-title.japanese{
    background-color: #dc5e61;
  }

  .sentence-title.science{
    background-color: #8939c7;
  }

  .sentence-title.history{
    background-color: #269e45;
  }








  .subject-box img{
    width: 12%;
  }

  .subject-sentence{
    margin-top: 23px;
    font-weight: 550;
    font-size: 19px;
  }
  
  .moshi-decoration2{
    color: #009380;
}

.moshi-decoration3{
    color: #ee3d3d;
}

.index-center-bunseki{
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
    box-sizing: border-box;
    width: 1000px;
    height: 380px;
    padding-bottom: 40px;
    background-image: url('../img/kyoutsutest_bunseki_pc.jpg');
    background-repeat: no-repeat;
    margin: 50px auto 0;
}

.index-center-bunseki-btn{
    display: flex;
    justify-content: center;
}

.index-center-bunseki-detail,
.index-center-bunseki-login {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 340px;
  height: 50px;
  margin: 0 12px;
  border-radius: 5px;
  color: #ffffff;
  text-align: center;
  font-weight: bold;
  box-shadow: 2px 2px 4px #666666;
  text-decoration: none;
}

.index-center-bunseki-next{
  width: 1000px;
  font-size: 30px;
  text-align: center;
  margin: -10px auto 50px;
}

.index-center-bunseki-detail {
  background-color: #33559a;
  font-size: 23px;
}

.index-center-bunseki-login {
  background-color: #009380;
  font-size: 15px;
}

.index-center-bunseki-detail:hover,
.index-center-bunseki-login:hover {
  opacity: 0.8;
}

#mv .splide__arrow{
    align-items: center;
    background: #ccc;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    display: -ms-flexbox;
    display: flex;
    height: 4em;
    -ms-flex-pack: center;
    justify-content: center;
    opacity: .7;
    padding: 0;
    position: absolute;
    top: 41%;
    transform: translateY(-50%);
    width: 4em;
    z-index: 1;
}

#mv .splide__arrow svg{
    fill: #000;
    height: 2.2em;
    width: 2.2em;
}