#main {
    max-width: 1600px;
}
#main .content {
    margin: 0 auto 10px;
}
.study-box {
    background: url(../images/bg01.jpg) no-repeat left top #fbe6ef;
    background-image: none!important;
    background-color: #fbe6ef;
    background-size: contain;
    padding-top: 90px;
    margin-top: 0;
    padding-bottom: 70px;
}
h2.c2-img {
    font-size: 44px;
    font-size: 4.4rem;
    text-align: center;
    margin-top: -30px;
    margin: -30px 0 20px;
}
h2.c2-img img {
    width: 100%;
    max-width: 923px;
    margin: 0 auto 10px;
}
.grnav {
  display: none;
	left: 0;
	right: 0;
	margin: auto;
  box-sizing: border-box;
}
.grnav ul {
	background: #eb6100;
	max-width: 740px;
  box-sizing: border-box;
  width: 100%;
	margin: 0 auto;
	padding: 5px;
	border-radius: 50px;
	font-size: 0;
}

.grnav ul li {
	display: inline-block;
	margin-right: 0.68%;
	max-width: 240px;
    width: 27.6%;
  font-size: 0;
}


.grnav ul li:last-child {
    margin-right: 0;
    width: 15%;
}

.grnav ul li a {
	background: #fff;
	border-radius: 50px;
	font-size: 20px;
	font-size: 2rem;
	display: block;
	text-align: center;
}

.grnav ul li a:link,
.grnav ul li a:visited {
	color: #333 !important;
	text-decoration: none !important;
}
#footer {
    position: relative;
}

@media screen and (max-width: 950px) {
h2.c2-img {
    font-size: 34px;
    font-size: 3.4rem;
}
}

@media screen and (max-width: 670px) {
    .study-box {
        padding: 0 10px;
    }

    #headContent .free h2.c2-img {
        font-size: 16px;
        font-size: 1.6rem;
        margin: 0;
        padding-top: 15px;
    }

    .study-box .subtxt span {
        font-size: 14px;
        font-size: 1.4rem;
    }

    .study-box p {
        font-size: 12px;
        font-size: 1.2rem;
        text-align: justify;
    }

    .study-box span {
        font-size: 12px;
        font-size: 1.2rem;
    }

    .study-box ul {
        margin: 15px auto 0;
        padding: 0 0 40px;
    }

    .study-box li {
        padding: 15px 10px;
    }

    .study-box li .study-title img {
        width: 60px;
    }

    .study-box li .study-title p {
        font-size: 16px;
        font-size: 1.6rem;
    }
h2.c2-img {
    font-size: 16px;
    font-size: 1.6rem;
    margin: 0;
    padding-top: 15px;
}
.grnav {
    display: none;
    text-align: center;
    background: #eb6100;
    box-sizing: border-box;
    padding: 5px 10px;
    width: 100%;
    display: block;
    font-size: 0;
  }
  .grnav ul {
    width: 100%;
    margin: 0;
    padding: 0;
    border-radius: 0;
    position: relative;
  }
  .grnav li {
    display: inline-block;
    vertical-align: middle;
    margin-top: 10px;
  }
  .grnav li a {
    display: block;
  }
  .grnav li:first-child, .grnav li:nth-child(3) {
    width: 48%;
    margin-right: 4%;
}
  .grnav ul li:last-child, .grnav li:nth-child(2) {
    width: 48%;
    margin-right: 0;
}
  .grnav li:first-child a, .grnav li:nth-child(2) a {
    font-size: 19px;
    font-size: 1.9rem;
    width: 100%;
    padding:5px;
    height: 40px;
    line-height: 30px;
    border-radius: 25px;
    background: #fff;
  }
  .grnav li:nth-child(3) a {
    font-size: 16px;
    font-size: 1.6rem;
    letter-spacing: -0.1em;
    height: 40px;
    line-height: 30px;
    width: 100%;
    padding:5px;
    border-radius: 25px;
    background: #fff;
  }
  .grnav li:last-child a {
    font-size: 19px;
    font-size: 1.9rem;
    background: #fccd34;
    border-radius: 25px;
    display: block;
    text-align: center;
    line-height: 40px;
  }
  .grnav a:link,
  .grnav a:visited {
    text-decoration: none !important;
  }
  #header .grnav li a:hover {
    color: #fff !important;
    background: #0000ec;
  }
  #footer {
    height: 0px;
}
}

#header .content .free {
background: #fff !important;
display: flex;
}

#header .logo {
    width: 278px;
    margin: 0 0 0 95px !important;
}

#header .heading1 {
    font-size: 14px;
    line-height: 24px;
    margin: 0 50px 0 auto;
}

@media screen and (max-width: 670px){
#header .logo {
    margin: 10px 10px 0 10px !important;
}

#header .heading1 {
    font-size: 12px !important;
    line-height: 24px;
    margin: 0 30px 0 auto;
}

#headContent .free .grnav {
    z-index: 999;
    position: fixed;
    top: inherit;
    display: block;
    opacity: 1;
    bottom: 0px;
    text-align: center;
    background: #eb6100;
    box-sizing: border-box;
    padding: 5px 10px;
    width: 100%;
    font-size: 0;
}
}