@charset "utf-8";

/*--------------------------------------
	NEXT GIGA特設ページ
--------------------------------------*/

.nextgiga{}

.nextgiga_main{
	background-color:#afdee8;
	background-image: url(/particular/nextgiga/images/nextgiga_main_bg.png);
	background-repeat: repeat-x;
	background-position: 50%;
	background-size: 100% 100%;	
}

.nextgiga_main h1 img:last-child{
	display: none;
}
@media only screen and (max-width: 835px) {
	.nextgiga_main h1 img:first-child{display: none;}
	.nextgiga_main h1 img:last-child{display: inline;}
}
.nextgiga_main h2{
	width: 100%;
	background-color:#004f7a;
	color: #afdee8;
	font-size: 2.2em;
	line-height: 3em;
	font-weight: bold;
	text-align: center;
	margin: 0!important;
}

.nextgiga_main > div{
	width: 100%;
	background-color:#ffffff;
}

@media only screen and (max-width: 1200px) {
	.nextgiga_main h2{font-size: 1.8em; line-height: 2.8em;}
}
@media only screen and (max-width: 900px) {
	.nextgiga_main h2{font-size: 1.6em; line-height: 2.6em;}
}
@media only screen and (max-width: 650px) {
	.nextgiga_main h2{font-size: 1.2em; }
}
@media only screen and (max-width: 480px) {
	.nextgiga_main h2{font-size: 0.9em; }
}

.nextgiga_underline{
	text-align: center;
	overflow: hidden;
}
.nextgiga_underline span{
	padding: 0 0.3em 6px;
	display: inline-block;
	color: #004f7a;
	border-bottom: #ff488f solid 5px;
	margin-bottom: 0px;
	overflow: hidden;
}

.nextgiga_item{
	width: 100%;
	overflow: hidden;
	text-align: center;
	padding: 10px 0 0!important;
}

.nextgiga_item li{
	width: 12%;	
	overflow: hidden;	
	display: inline-block;
	margin: 0 1.5% 0 0!important;
	height: 18em;
}
.nextgiga_item li:last-child{
	margin: 0 0 0 0!important;
}

.nextgiga_item li dl{
	text-align: center;
	width: 100%;	
	margin-top: 0;
}
.nextgiga_item li dl dt{
	width: 100%;
	margin: 0 0 7px;
}

.nextgiga_item li dl dt a{
	display: inline-block;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  text-align:center;
	font-size: 2.5em;
  line-height: 150px;
	overflow: hidden;	
	margin: 0 auto;
	font-weight: 700;
	background-color: #afdee8;
	color: #004f7a;
}


.nextgiga_item li dl dt a:link{
	text-decoration: none;
	background-color: #afdee8;
	color: #004f7a;
}

.nextgiga_item li dl dt a:hover{
	text-decoration: none;
	background-color: #004f7a;
	color: #ffffff;
}
	
.nextgiga_item li dl dd{
	width: 100%;
	text-align:justify;
	line-height: 1.5em;
	padding: 0!important;
	margin: 0!important;
}

@media only screen and (max-width: 1375px) {.nextgiga_item li dl dt a{width: 130px; height: 130px; line-height: 130px; font-size: 2.3em;}}
@media only screen and (max-width: 1200px) {.nextgiga_item li dl dt a{width: 110px; height: 110px; line-height: 110px; font-size: 2.0em;}}
@media only screen and (max-width: 1000px) {
	.nextgiga_item li dl dt a{width: 90px; height: 90px; line-height: 90px; font-size: 1.8em;}
	.nextgiga_item li dl dd{font-size: 0.9em;}
}
@media only screen and (max-width: 835px) {
	.nextgiga_item li dl dt a{width: 105px; height: 105px; line-height: 105px; font-size: 2em;}
	.nextgiga_item li dl dd{font-size: 0.9em;}
	.nextgiga_item li{
	width: 20%;	
	margin: 0 2% 0 0!important;
	height: 14em;}
	.nextgiga_item li:nth-child(4){margin: 0 0 0 0!important;}
.nextgiga_item li:last-child{margin: 0 0 0 0!important;}
}
@media only screen and (max-width: 680px) {
	.nextgiga_item li dl dt a{width: 90px; height: 90px; line-height: 90px; font-size: 1.8em;}
	.nextgiga_item li{
	width: 18%;	
	margin: 0 3% 0 0!important;
	height: 13em;}
}
@media only screen and (max-width: 550px) {
	.nextgiga_item li dl dt a{width: 70px; height: 70px; line-height: 70px; font-size: 1.7em;}
}
@media only screen and (max-width: 450px) {
	.nextgiga_item li dl dt a{width: 55px; height: 55px; line-height: 55px; font-size: 1.5em;}
}


.nextgiga_itemlist{
	padding: 120px 0 0;
	margin: -110px 0 65px;
	overflow: hidden;	
}
@media only screen and (max-width: 835px) {.nextgiga_itemlist{padding-top: 60px;margin-top: -50px;}}

.nextgiga_itemlist h3{
	width: 100%;
	background-color: #004f7a;
	color: #ffffff;	
	padding: 11px 0;
	margin: 0px 0 40px;
	font-size: 1.4em;
}
.nextgiga_itemlist h3 span{
	font-size: 0.9em;
	display: inline-block;
	margin: 0px 0 0 15px;
	font-weight: normal;
}
@media only screen and (max-width: 1000px) {
	.nextgiga_itemlist h3{margin: 0px 0 28px;}
}
@media only screen and (max-width: 835px) {
	.nextgiga_itemlist{margin-bottom: 45px;}
	.nextgiga_itemlist h3{margin: 0px 0 24px;}
}
@media only screen and (max-width: 680px) {
	.nextgiga_itemlist h3{padding: 9px 0;margin: 0px 0 20px;font-size: 1.2em;}
	.nextgiga_itemlist h3 span{font-size: 0.8em;margin: 0px 0 0 8px;}
}
@media only screen and (max-width: 480px) {
	.nextgiga_itemlist h3{padding: 8px 0;font-size: 1.1em;}
	.nextgiga_itemlist h3 span{font-size: 0.7em;}
}
.nextgiga_itemlist ul{
	display: flex;
	flex-wrap: wrap;
	/*justify-content: space-between;*/
	padding: 0px!important;
	margin: 0px!important;
}

.nextgiga_itemlist ul li{
	width: 22%;
	margin-right: 4%;
	display: flex;
	list-style-type: none;
	margin-bottom: 45px;
}
.nextgiga_itemlist ul li:nth-child(4n+4){
	margin-right: 0;
}

@media only screen and (max-width: 835px) {
	.nextgiga_itemlist ul li{width: 31%; margin-bottom: 33px; margin-right: 3.5%;}
	.nextgiga_itemlist ul li:nth-child(4n+4){margin-right: 3.5%;}
	.nextgiga_itemlist ul li:nth-child(3n+3){margin-right: 0;}
}

@media only screen and (max-width: 550px) {
	.nextgiga_itemlist ul li{width: 47%;margin-bottom: 28px;margin-right: 6%;}
	.nextgiga_itemlist ul li:nth-child(4n+4){margin-right: 6%;}
	.nextgiga_itemlist ul li:nth-child(3n+3){margin-right: 6%;}
	.nextgiga_itemlist ul li:nth-child(2n+2){margin-right: 0;}
}

.nextgiga_itemlist ul li section{
	display: flex;
	flex-direction: column;
}

.nextgiga_itemlist ul li section h4{
	order: 1;
	line-height: 1.6em;
	font-size: 1.2em;
	margin: 12px 0 15px!important;
}
.nextgiga_itemlist ul li section p:nth-of-type(1){
	order: 0;
	margin: 0!important;
	position: relative;
}
.nextgiga_itemlist ul li section p:nth-of-type(2){
	order: 2;
	font-size: 1.1em;
	line-height: 1.6em;
	margin: 0 0 20px;
}
.nextgiga_itemlist ul li section div{
	order: 3;
	margin-top: auto;
}

.nextgiga_itemlist ul li section p:nth-of-type(1) strong{
	position: absolute;
	top:13px;
	left: 13px;
	font-size: 1em;
	padding: 0px 10px;
	color: #ffffff;
	background-color: #ff488f;
}

.nextgiga_itemlist ul li section div > a,
.nextgiga_itemlist ul li section div > span{
	display: block;
	text-align: center;
	color: #ffffff;	
	text-decoration: none;
	font-size: 1.2em;
	font-weight: bold;
	padding: 5px 0;
}

.nextgiga_itemlist ul li section div > a{
	background-color: #ff488f;
}

.nextgiga_itemlist ul li section div > span{
	background-color: #cccccc;
}

.nextgiga_itemlist ul li section div a:hover{
	background-color: #fb89b5;
}

.nextgiga_itemlist ul li section p:nth-of-type(1) img{
	border: 1px solid #cccccc;
}

.nextgiga_tell{
	width: 100%;
	overflow: hidden;
	box-sizing: border-box;
	border: 6px solid #afdee8;
	margin: 0 0 5px;
}

.nextgiga_tell dl{
	display: table;
	width: 100%;
	margin: 0;
}

.nextgiga_tell dl dt,
.nextgiga_tell dl dd{
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}

.nextgiga_tell dl dt{
	background-color: #afdee8;
	width: 54%;
	padding: 10px 3%;
	font-weight: bold;
	color: #004f7a;
	font-size: 2.3em;
	line-height: 1.5em;
}

.nextgiga_tell dl dt span{
	display: block;
	font-weight: normal;
	font-size: 0.4em;
	line-height: 1.5em;
}

.nextgiga_tell dl dt br{
	display: none;
}

.nextgiga_tell dl dd{
	width: 40%;
	color: #ff488f;
	font-weight: bold;
	font-size: 3.4em;
	line-height: 1.0em;
	margin: 0;
}
	
.nextgiga_mail{
	width: 100%;
	overflow: hidden;
	box-sizing: border-box;
	color: #004f7a!important;
	font-size: 1.0em!important;
	margin: 0 0 0px;
}

.nextgiga_mail strong{
	color: #ff488f!important;
}

@media only screen and (max-width: 1175px) {
	.nextgiga_tell dl dt{font-size: 2.0em;}
	.nextgiga_tell dl dd{font-size: 3.0em;}
}

@media only screen and (max-width: 1000px) {	.nextgiga_mail{margin-bottom: 45px}
	.nextgiga_tell dl dt{font-size: 1.7em;}
	.nextgiga_tell dl dt br{display: inline;}	
	.nextgiga_tell dl dt span{font-size: 0.6em;}
	.nextgiga_tell dl dd{font-size: 2.7em;}
}

@media only screen and (max-width: 835px) {
	.nextgiga_tell dl dt{font-size: 1.5em;}
	.nextgiga_tell dl dd{font-size: 2.5em;}
	.nextgiga_itemlist ul li section p:nth-of-type(1) strong{top:11px;left: 11px;font-size: 0.9em;}

@media only screen and (max-width: 660px) {
	.nextgiga_tell dl{display: block;}
	.nextgiga_tell dl dt,.nextgiga_tell dl dd{display: block;width: 100%;}
	.nextgiga_tell dl dt{font-size: 1.7em;}
	.nextgiga_tell dl dd{font-size: 2.3em; padding: 7px 0;}
	.nextgiga_itemlist ul li section p:nth-of-type(1) strong{top:9px;left: 9px;font-size: 0.8em;}
}
@media only screen and (max-width: 450px) {
	.nextgiga_tell dl dt{font-size: 1.3em;}
	.nextgiga_tell dl dd{font-size: 2.3em;}
}



/*--------------------------------------
	教育総合ページ
--------------------------------------*/
.solution_giga,
.solution_facebook{
	text-align: center;
}
.solution_giga h2,
.solution_facebook h2{
	width: 100%;
	font-size: 2em;	
	text-align: center;
}

.solution_giga p,
.solution_facebook p{
	width: 100%;
	text-align: center;
}

.solution_giga_image{
	width: 100%;
	display: table;	
	overflow: hidden;
}

.solution_giga_image p{
	width: 50%;
	display: table-cell;
	overflow: hidden;
}
.solution_giga_image p img{
	width: 100%;
}
.solution_button{
	margin-top: 40px!important;
	overflow: hidden;
}
.solution_button a{
	display: block;
	width: 100%;
	border: solid 1px #2e2e2e;
	text-align: center;
	text-decoration: none;
	padding: 15px 15px;
	box-sizing: border-box;
}
.solution_button a:link,
.solution_button a:active{
	color: #222222;
	background-color: #ffffff;	
}
.solution_button a:hover{
	color: #ffffff;
	background-color: #2e2e2e;	
}

.solution_facebook_img{
	width:50%;
}

/*--------------------------------------
	GIGAスクール構想ページ
--------------------------------------*/

.giga_title dl{
	padding:8px;
	}
.giga_title dl dt{
	margin: 8px 0 8px;
	font-size:1.3em;
	}
.giga_title dl dd{
	font-size:1.1em;
	}
.giga_school h1.giga_school_top{
	margin: 0!important;
	text-align: center;
	background-color: #070b14;
}
.giga_school h1.giga_school_top img{
	vertical-align: top;	
}
.giga_school h2.giga_theme {
  position: relative;
  background: #eeeeee;
  padding: 8px 5px 6px 20px!important;
  font-size: 19px!important;
  color: #333333;
  border-radius: 0 10px 10px 0;
  margin:50px 0 28px 0px;
}

.giga_school h2.giga_theme:before {
  font-family: "Font Awesome 5 Free";
  content: '';
  display: inline-block;
  position: absolute;
  padding: 0em;
  color: white;
  background: #192649;
  font-weight: normal;
  width: 40px;
  text-align: center;
  height: 40px;
  line-height: 40px!important;
  left: -1.35em;
  top: 50%;
  -webkit-transform: translateY(-50%)!important;
  transform: translateY(-50%)!important;
  border-radius: 50%;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.29);
}

.giga_school strong{
	font-size: 1.2em!important;	
}

.giga_school .lsmallwrap .thumbnail{
	border: 1px solid #dddddd;	
}

.giga_school .giga_Btn{
    background: #f59b14;
    color: #fff;
    display: block;
    text-align:center;
    text-decoration: none;
    font-size: 14px;
    margin:10px 0 0;
    padding: 10px 0;
}
.giga_school .giga_Btn:link,
.giga_school .giga_Btn:visited,
.giga_school .giga_Btn:hover{
	text-decoration: none;
}
.giga_school .giga_Btn:hover{
    background:#faaf41;
    color: #fff;
}