/* ==============================<<Mode>>============================== */
/* ---------------css reset start--------------- */
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* ---------------css reset end--------------- */
/* ---------------fix box-sizing--------------- */
*,*:before,*:after{
    box-sizing: border-box;
}
/* ---------------fix box-sizing--------------- */
/* ------------auto-resizing image------------ */
img{
	max-width: 100%;
	height: auto;
}
/* ------------auto-resizing image------------ */
/* -------------------debug------------------- */
/* *{
    outline: 1px solid black;
} */
/* -------------------debug------------------- */
/* ==============================<<Mode>>============================== */

.bar {
    background: #F6F6F8;
	margin: 0 auto;
    display: flex;
	justify-content: flex-end;
	align-items: center;
	padding: 8px 30px 8px 0px;
}
.bar a {
	text-decoration: none;
	font-size: 16px;
	color: #4267B2;
}
.bar a:hover{
	color: pink;
}
.bar img {
	vertical-align: bottom;
	margin-right: 5px;
}
.bar .twitter {
	padding-left: 10px;
	margin-left: 10px;
	border-left: 1px solid #cccccc;
}

.headerFooter {
	margin: 0 auto;
	display: flex;
	justify-content: space-around;
	align-items: center;
	margin: 20px 0px 20px;
}
.headerFooter h1 a{
	background-image: url(image/logo-hexschool.png);
	width: 151px;
	height: 36px;
	display: block;
	text-indent: 101%;
    overflow: hidden;
    white-space: nowrap;
}
.headerFooter .menu {
	display: flex;
	justify-content: space-between;
	gap:30px;
	margin-left: 20px;
}
.headerFooter .menu li a {
	text-decoration:none;
	font-size: 16px;
	color: #00251A;
}
.headerFooter .menu li a:hover {
	text-decoration: 4px underline #00CC99;
	text-underline-offset: 30px;
}

.mainImage {
    position: relative;
    width: 100%;
    height: 390px;
    background: url(image/banner.png) no-repeat center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.mainImage::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 139px;
    background-color: rgba(255, 255, 255, 0.15);
}
.mainImage h1{
    position: relative;
    color: #1E1E1E;
    line-height: 1.2;
	font-size: 36px;
	padding-left: 100px;
	max-width: 80%;
}
@media (max-width: 992px) {
    .mainImage h1{
        font-size: 28px;
        padding-left: 50px;
    }
}
@media (max-width: 768px) {
    .mainImage {
        height: 300px;
    }
    .mainImage h1{
        font-size: 24px;
        padding-left: 30px;
    }
}
@media (max-width: 576px) {
    .mainImage {
        height: 250px;
    }
    .mainImage h1{
        font-size: 20px;
        padding-left: 20px;
        line-height: 1.3;
        display: block;
        margin-bottom: 10px;
    }
}

.main{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 50px 0px 50px;
}
.main .course {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
	justify-content: flex-end;
    padding: 20px 20px;
	margin: 20px 20px;
}
.main .course:hover{
	transform: scale(1.1);
  	transition: transform 0.5s;
	box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}
.main .course .jQuery {
	margin-bottom: 30px;
}
.main .course h2 {
	font-size: 20px;
	line-height: 1.2;
    margin: 10px 0;
    font-weight: bold;
}
.main .course p {
	width: 310px;
    line-height: 1.5;
    color: #333;
	text-align: left;
}
.main .course .item {
    list-style-type: disc;
    text-align: left;
    width: 80%;
    padding-left: 20px;
    line-height: 1.5;
}

.tableStyle {
	margin: 0 auto;
	margin-bottom: 50px;
}
.tableStyle caption h2 {
	font-size: 24px;
	vertical-align: middle;
	line-height: 1.2;
	padding-bottom: 20px;
}
.tableStyle tr {
	border-top: 1px solid #CCCCCC;
	border-bottom: 1px solid #CCCCCC;
	line-height: 40px;
}
.tableStyle th {
	width: 230px;
	text-align: left;
	font-weight: bold;
	vertical-align: middle;
	padding-left: 20px;
}
.tableStyle td {
	vertical-align: middle;
	padding-left: 20px;
}
.tableStyle span {
	color: #00CC99;
}

.formMain {
	background: linear-gradient(#E4FFF8,#A2DDCE);
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	align-items: center;
}
.formMain h2 {
	color: #00251A;
	font-size: 24px;
	line-height: 1.2;
	width: 240px;
	text-align: center;
	margin: 30px 0px 30px;
}
.formMain .formQA {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 30px;
}
.formMain .formQA label {
	line-height: 1.5;
	color: #00251A;
}
.formMain .formQA .forminner1 {
	display: flex;
	flex-direction: column;
}
.formMain .formQA .forminner1 input {
	width: 350px;
	height: 38px;
	border: 1px solid #AAAAAA;
	border-radius: 3px;
	margin-bottom: 10px;
	text-indent: 5px;
}
.formMain .formQA .forminner2 {
	display: flex;
	flex-direction: column;
}
.formMain .formQA .forminner2 textarea {
	width: 350px;
	height: 200px;
	border: 1px solid #AAAAAA;
	border-radius: 3px;
	resize: none;
	overflow: hidden;
}
.formMain span input {
	color: #fff;
	background: #00251A;
	width: 159px;
	height: 38px;
	border: 1px solid #00251A;
	border-radius: 3px;
	margin: 30px 0px 30px;
}
.formMain span input:hover{
	background: gray;
}
.formMain span input:active{
	color: #00251A;
}

.headerFooter .info{
	margin-left: 20px;
}
.headerFooter .info li {
	line-height: 1.5;
}
.headerFooter .info li a {
	text-decoration: none;
	color: #00CC99;
}
.headerFooter .info li a:hover{
	color: blue;
}



