@charset "utf-8";
/* 標準可変メディア
   メモ : 可変メディアでは、HTML からメディアの高さおよび幅の属性を削除する必要がある
   http://www.alistapart.com/articles/fluid-images/ 
*/
img, object, embed, video {
	max-width: 100%;
}
/* IE 6 では最大幅がサポートされていないため、デフォルトで幅 100% に設定される */
.ie6 img {
	width:100%;
}

/*
	Dreamweaver 可変グリッドプロパティ
	----------------------------------
	dw-num-cols-mobile:		5;
	dw-num-cols-tablet:		8;
	dw-num-cols-desktop:	12;
	dw-gutter-percentage:	25;
	
	以下からヒントを入手 : Ethan Marcotte 氏の「レスポンシブ Web デザイン」 
	http://www.alistapart.com/articles/responsive-web-design
	
	および Joni Korpi 氏の「Golden Grid System」
	http://goldengridsystem.com/ 
*/

/* モバイルレイアウト : 480 px およびそれ以下. */
.juku{
background-image: linear-gradient(to top, #c1dfc4 0%, #deecdd 100%);
	border-radius:15px;
	margin:30px 20px;
	padding :10px;
	font-size:18px;
	line-height:normal;
}

.neoheader{
background-image: linear-gradient(to right, #434343 0%, black 100%);
margin-top:35px;
padding:0px 15px;
border-radius:15px;
color:#FFF;
}

.neoheaderikusan{
	background-image: linear-gradient(to right, #434343 0%, black 100%);	
	padding:10px 15px;
	border-radius:15px;
	color:#FFF;
}

.neoheaderikusan2{
	background-image: linear-gradient(-20deg, #2b5876 0%, #4e4376 100%);
	padding:10px 15px;
	border-radius:15px;
	color:#FFF;
}

.neoheader2{
	background-image: linear-gradient(-20deg, #2b5876 0%, #4e4376 100%);
margin-top:10px;
padding:5px 15px;
border-radius:15px;
color:#FFF;		
}

.labelmathtop{
	margin-top:0;
	padding-top:0
}
.serifu{
background-color: #CDDCDC;
 background-image: radial-gradient(at 50% 100%, rgba(255,255,255,0.50) 0%, rgba(0,0,0,0.50) 100%), linear-gradient(to bottom, rgba(255,255,255,0.25) 0%, rgba(0,0,0,0.25) 100%);
 background-blend-mode: screen, overlay;
 padding:0 10px
  }
.vivaldi{
	font-family: 'Russo One', sans-serif;
	font-size:30px;
	animation: vivaldi 1.5s ease infinite;
	padding:10px 20px;
	border-radius:15px;
	margin-top:50px
}
@keyframes vivaldi{
	0%, 100%{
		color:#F00;
	}
	16%{
		color:#F60
	}
	33%{
		color:#CC0
	}
	50%{
		color:#393;
	}
	66%{
		color:#03F;
	}
	83%{
		color:#60F
	}
}


.introduce{
	background-image: linear-gradient(to top, #dad4ec 0%, #dad4ec 1%, #f3e7e9 100%);
	border:3px solid #3CF;
	padding:10px 15px;
	border-radius:15px
}
.stupic{
	text-align:center
}
#top_btn
{ position: fixed;
  bottom: 20px;
  right: 20px;
  border-radius: 10px;
background-image: linear-gradient(60deg, #29323c 0%, #485563 100%);
  padding:10px 20px;
  color:#FFF;
  font-size:20px
}
.stuother{
	font-size:15px;
}
.smmenu a{
	text-decoration:underline
}
.smmenu2 a{
	text-decoration:underline
}
.smmenu3 a{
	text-decoration:underline
}
.smmenu4 a{
	text-decoration:underline
}
.smmenumath4 a{
	text-decoration:underline
}
.smmenub a{
	text-decoration:underline
}
.smmenub2 a{
	text-decoration:underline
}
.smmenub3 a{
	text-decoration:underline
}
.smmenub4 a{
	text-decoration:underline
}

.titleparagraph{
	font-size:28px;
background: linear-gradient(-180deg, #BCC5CE 0%, #929EAD 98%), radial-gradient(at top left, rgba(255,255,255,0.30) 0%, rgba(0,0,0,0.30) 100%);
 background-blend-mode: screen;
 	color:#000;
	padding:20px;
	border-radius:20px;
	margin:10px 0
}
.mathtoptitle{
	margin-bottom:30px
}
.bigger{
	overflow:hidden;
	width:500vw;
}
.bigger img{
	display:block;
	transition-duration:0.3s;
}
.bigger img:hover{
	transform:scale(1.05);
	transition-duration:0.3s;
}
.imgwrap
.mathtoptitle{
	margin:0 auto;
	text-align:center;
}
.flexcom{
	display:flex;
	flex-wrap:wrap;
	justify-content: space-around;
}
.comment{
	font-size:20px;
	background-image: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
	padding-left:20px;
	padding-bottom:10px;
	padding-right:20px;
	padding-top:5px;
	border:1px solid #000
}
.forsm2{
	display:block;
}
.forpc2{
	display:none;
}
.width{
		max-width:100%;
}
.close{
	background-image: linear-gradient(to top, #434343 0%, black 100%);
    color: #FFF;
    padding: 5px 35px;
    display: block;
    margin-left:auto;
	margin-right:auto;
	text-align:center;
	border-radius:20px;
	display:table;
}


.labelmath {
	background-image: linear-gradient(to left, #fff1eb 0%, #ace0f9 100%);
    color: #000;
    padding: 10px 1px;
    display: block;
    margin: 0;
	text-align:center;
	border-bottom:3px dashed #63C;
	border-top:3px dashed #63C;
}

input[type="checkbox"].on-offmath{
    display: none;
}

.menumath ul {
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    margin: 0;
    padding: 0;
    list-style: none;
}

.menumath li {
    padding: 5px;
}

input[type="checkbox"].on-offmath + ul{
    height: 0;
    overflow: hidden;
}

input[type="checkbox"].on-offmath:checked + ul{
    height: auto;
}

input[type="checkbox"].on-offmathcom1{
    display: none;
}
input[type="checkbox"].on-offmathcom1 + ul{
    height: 0;
    overflow: hidden;
}

input[type="checkbox"].on-offmathcom1:checked + ul{
    height: auto;
}

input[type="checkbox"].on-offmath3{
    display: none;
}
input[type="checkbox"].on-offmath3 + ul{
    height: 0;
    overflow: hidden;
}
input[type="checkbox"].on-offmath3:checked + ul{
    height: auto;
}

input[type="checkbox"].on-offmathcom2{
    display: none;
}
input[type="checkbox"].on-offmathcom2 + ul{
    height: 0;
    overflow: hidden;
}
input[type="checkbox"].on-offmathcom2:checked + ul{
    height: auto;
}

input[type="checkbox"].on-offmathaa{
    display: none;
}
input[type="checkbox"].on-offmathaa + ul{
    height: 0;
    overflow: hidden;
}
input[type="checkbox"].on-offmathaa:checked + ul{
    height: auto;
}




.menumath{
	margin-bottom:10px;
}
.que{
	text-align:center;
	margin-right:auto;
	margin-left:auto;
}
.bottom{
	
	word-break:break-all;
	text-align:center;
	margin:0 auto
}
a {
    text-decoration:none; 
}
.bottommenu2:visited{
	color:#000;
}
.bottommenu:visited{
	color:#000;
}
.bottommenu2 {
	font-size:20px;
	line-height:24px;
	width:14em;
  position: relative;
  display: inline-block;
  padding: .5em 0;
  border: 2px solid #333;
  color: #000;
  text-align: center;
  text-decoration: none;
  transition: .3s;
  margin-right:auto;
  margin-left:auto;
  margin-bottom:10px
}
.bottommenu2:hover {
  color: #fff;
}
.bottommenu2::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  content: '';
background-image: linear-gradient(to left, #09203f 0%, #537895 100%);
  transform-origin: left top;
  transform: scale(0, 1);
  transition: transform .3s;
}
.bottommenu2:hover::before {
  transform-origin: right top;
  transform: scale(1, 1);
}


.bottommenu {
	font-size:20px;
	line-height:24px;
	width:14em;
  position: relative;
  display: inline-block;
  padding: .5em 0;
  border: 2px solid #333;
  color: #333;
  text-align: center;
  text-decoration: none;
  transition: .3s;
    margin-right:auto;
  margin-left:auto;

}
.bottommenu:hover {
  color: #fff;
}
.bottommenu::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  content: '';
background-image: linear-gradient(to right, #09203f 0%, #537895 100%);
  transform-origin: right top;
  transform: scale(0, 1);
  transition: transform .3s;
}
.bottommenu:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}
.buttontop {
		font-size:20px;
	line-height:24px;
	width:14em;
  position: relative;
  display: inline-block;
  
  padding: .5em 0;
  border: 2px solid #333;
  color: #333 !important;
  text-align: center;
  text-decoration: none;
  transition: .3s;
    margin-right:auto;
  margin-left:auto;
  margin-bottom:10px

}
.buttontop:hover {
  color: #fff !important;
}
.buttontop::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  content: '';
background-image: linear-gradient(to top, #09203f 0%, #537895 100%);
  transform-origin: left top;
  transform: scale(1, 0);
  transition: transform .3s;
}
.buttontop:hover::before {
  transform-origin: left bottom;
  transform: scale(1, 1);
}

.engtitle1{
	background-image: linear-gradient(-20deg, #2b5876 0%, #4e4376 100%);
	color:#FFF;
	padding:5px 20px;
	border-radius:15px;
	font-size:18px
}
.engtitle2{
	text-align:center;
	border-bottom:3px dashed #63C;
	border-top:3px dashed #63C;
	background-image: linear-gradient(to right, lightgrey 0%, lightgrey 1%, #e0e0e0 26%, #efefef 48%, #d9d9d9 75%, #bcbcbc 100%);
}
.mathtitle1{
background: linear-gradient(to right, rgba(255,255,255,0.15) 0%, rgba(0,0,0,0.15) 100%), radial-gradient(at top center, rgba(255,255,255,0.40) 0%, rgba(0,0,0,0.40) 120%) #989898;
 background-blend-mode: multiply,multiply;
	color:#FFF;
	padding:5px 20px;
	border-radius:15px;
	font-size:20px
}
.mathtitle2{
	font-size:20px;
	text-align:center;
	border-bottom:3px dashed #63C;
	border-top:3px dashed #63C;
	background-image: linear-gradient(to left, #fff1eb 0%, #ace0f9 100%);
}

.paragraph{
	font-size:18px;
	line-height:4;
	max-width:100%;
}
.paragraphforsm{
	font-size:18px;
	line-height:3;
	max-width:100%;
}
.paragraphforpc{
	display:none
}
.words{
	font-size:14px;
	color:#33F;
}
.ref{
	font-size:14px;
	color:#060;
}

.underline1{
background-image: linear-gradient(to right, #434343 0%, black 100%);
	padding:10px 15px;
	border-radius:10px;
	color:#FFF
	
}
.underline2{
	color:#000;
	border-bottom:dotted 3px #06F;
	background-image: linear-gradient(to left, #bdc2e8 0%, #bdc2e8 1%, #e6dee9 100%);
	display:block;
	padding-left:10px;
	margin-top:10px
}
#menu{
	display:none;
}
.menu{
	display:none;
}

.smmenu{
	text-align:center;
	box-sizing:border-box;

	background-image: linear-gradient(to top, #cfd9df 0%, #e2ebf0 100%);
}
.smmenu2{
	text-align:center;
	box-sizing:border-box;
	background-image: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
}
.smmenu3{
	text-align:center;
	box-sizing:border-box;
		margin-bottom:10px;
	background-image: linear-gradient(60deg, #96deda 0%, #50c9c3 100%);
}
.smmenu4{
	text-align:center;
	box-sizing:border-box;
	margin-top:30%;
	background-image: linear-gradient(-225deg, #DFFFCD 0%, #90F9C4 48%, #39F3BB 100%);
}
.smmenumath4{
	text-align:center;
	box-sizing:border-box;
	margin-top:0;
	background-image: linear-gradient(-225deg, #DFFFCD 0%, #90F9C4 48%, #39F3BB 100%);
}
.smmenumath4 ul {
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    margin: 0;
    padding: 0;
    list-style: none;
}
.smmenumath4 li {
    padding: 5px;
}

label {
	background-image: linear-gradient(to right, #09203f 0%, #537895 100%);
    color: #fff;
    padding: 10px;
    display: block;
    margin: 0;
    border: 1px solid #fff;
}

input[type="checkbox"].on-off{
    display: none;
}
.smmenu4 ul {
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    margin: 0;
    padding: 0;
    list-style: none;
}
.smmenu ul {
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    margin: 0;
    padding: 0;
    list-style: none;
}
.smmenu2 ul {
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    margin: 0;
    padding: 0;
    list-style: none;
}
.smmenu3 ul {
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    margin: 0;
    padding: 0;
    list-style: none;
}
.smmenu4 li {
    padding: 5px;
}
.smmenu li {
    padding: 5px;
}
.smmenu2 li {
    padding: 5px;
}
.smmenu3 li {
    padding: 5px;
}


input[type="checkbox"].on-off + ul{
    height: 0;
    overflow: hidden;
}

input[type="checkbox"].on-off:checked + ul{
    height: 20px;
}



.gridContainer {
	margin-left: auto;
	margin-right: auto;
	width: 87.36%;
	padding-left: 1.82%;
	padding-right: 1.82%;
}
#header {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
	background-image:url(../../img/webmaintitle.png);
	border-top:10px solid #0FF;
	border-bottom:10px solid #0FF;
	border-radius:50px 50px;
	border-left:2px solid #0FF;
	border-right:2px solid #0FF;
	box-sizing:border-box;
}
#main {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
}
#footer {
	color:#FFF;
	background-image: linear-gradient(to top, #1e3c72 0%, #1e3c72 1%, #2a5298 100%);
	clear: both;
	float: left;
	padding-left:20px;
	padding-right:20px;
	padding-bottom:20px;
	margin-left: 0;
	width: 100%;
	display: block;
	border-radius:15px;
	margin-bottom:5px;
	box-sizing:border-box;
}
#menub{
	display:none;
}
.menub{
	display:none;
}
.smmenub4{
	text-align:center;
	box-sizing:border-box;
	margin-top:20px;
}
.smmenub{
	text-align:center;
	box-sizing:border-box;
}
.smmenub2{
	text-align:center;
	box-sizing:border-box;
}
.smmenub3{
	text-align:center;
	box-sizing:border-box;
}


labelb {
    background: green;
    color: #fff;
    padding: 10px;
    display: block;
    margin: 0;
    border: 1px solid #fff;
}

input[type="checkbox"].on-off{
    display: none;
}
.smmenub4 ul {
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    margin: 0;
    padding: 0;
    list-style: none;
}
.smmenub ul {
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    margin: 0;
    padding: 0;
    list-style: none;
}
.smmenub2 ul {
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    margin: 0;
    padding: 0;
    list-style: none;
}
.smmenub3 ul {
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    margin: 0;
    padding: 0;
    list-style: none;
}
.smmenub4 li {
    padding: 5px;
}
.smmenub li {
    padding: 5px;
}
.smmenub2 li {
    padding: 5px;
}
.smmenub3 li {
    padding: 5px;
}

input[type="checkbox"].on-off + ul{
    height: 0;
    overflow: hidden;
}

input[type="checkbox"].on-off:checked + ul{
    height: 110px;
}


#button {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
}
#menu {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
}

/* タブレットレイアウト : 481 px ～ 768 px。モバイルレイアウトからスタイルを継承。 */
@media only screen and (min-width: 481px) {
.smmenumath4{
	display:none
}
.paragraphforpc{
	display:block;
	font-size:18px;
	line-height:3;
	max-width:100%;
}
.paragraphforsm{
	display:none;
}
		
.forsm2{
	display:none
}
.forpc2{
	display:block
}

#menu {
	display: none;
}
#smmenu{
	display:block;
}
.gridContainer {
	width: 90.675%;
	padding-left: 1.1625%;
	padding-right: 1.1625%;
}
#header {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
}
#main {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
}
#footer {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
}
#button {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
}
}

/* デスクトップレイアウト : 769 px ～最大 1232 px。モバイルレイアウトとタブレットレイアウトからスタイルを継承。 */

@media only screen and (min-width: 769px) {
	.smmenumath4{
	display:none
}
.forsm2{
	display:none !important
}
.forpc2{
	display:block
}

#menu{
	display: block;
}
.smmenu4{
	display:none;
}
.smmenu{
	display:none;
}
.smmenu2{
	display:none;
}
.smmenu3{
	display:none;
}

.menu {
	display:block;
	padding-left:0;
	box-sizing:border-box;
    position: relative;
    width: 100%;
    height: 50px;
	margin-right:20px;
    margin-top:0;
}

.menu > li {
    float: left;
    width: 20%; 
    height: 50px;
    line-height: 50px;
	background-color:#63F;
}

.menu > li a {
    text-decoration:none; 
    display: block;
    color: #fff;
}

.menu > li a:hover {
    color: #999;
}

ul.menu__second-level {
    visibility: hidden;
    opacity: 0;
    z-index: 1;
}

.menu > li:hover {
    background:#603;
    -webkit-transition: all .5s;
    transition: all .5s;
}

.menu__second-level li {
    border-top: 1px solid #111;
}

.menu__second-level li a:hover {
    background: #111;
}


.init-bottom:after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 0 0 15px;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.menu:before,
.menu:after {
    content: " ";
    display: table;
}

.menu:after {
    clear: both;
}

.menu {
    *zoom: 1;
}
.menu > li.menu__single {
    position: relative;
}

li.menu__single ul.menu__second-level {
    position: absolute;
    top: 40px;
    width: 100%;
    background: #603;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}

li.menu__single:hover ul.menu__second-level {
    top: 50px;
    visibility: visible;
    opacity: 1;
}


.gridContainer {
	width: 88.5%;
	max-width: 1232px;
	padding-left: 0.75%;
	padding-right: 0.75%;
	margin: auto;
}
#header {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
}
#main {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
}
#footer {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
}
#footer {
	color:#FFF;
	background-image: linear-gradient(to top, #1e3c72 0%, #1e3c72 1%, #2a5298 100%);
	clear: both;
	float: left;
	padding-left:20px;
	padding-right:20px;
	padding-bottom:20px;
	margin-left: 0;
	width: 100%;
	display: block;
	border-radius:15px;
	margin-bottom:5px;
	box-sizing:border-box;
}

#menub{
	display: block;
}
.smmenub4{
	display:none;
}
.smmenub{
	display:none;
}
.smmenub2{
	display:none;
}
.smmenub3{
	display:none;
}

.menub{
	display:block;
	padding-left:0;
	box-sizing:border-box;
    position: relative;
    width: 100%;
    height: 50px;
	margin-right:20px;
    margin-top:0;
}

.menub > li {
    float: left;
    width: 20%; 
    height: 50px;
    line-height: 50px;
    background:#660;
}

.menub > li a {
    text-decoration:none; 
    display: block;
    color: #fff;
}

.menub > li a:hover {
    color: #999;
}

ul.menub__second-level {
    visibility: hidden;
    opacity: 0;
    z-index: 1;
}

.menub > li:hover {
    background: #030;
    -webkit-transition: all .5s;
    transition: all .5s;
}

.menub__second-level li {
    border-top: 1px solid #111;
}

.menub__second-level li a:hover {
    background: #111;
}


.init-bottomb:after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 0 0 15px;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(-135deg);
}

.menub:before,
.menub:after {
    content: " ";
    display: table;
}

.menub:after {
    clear: both;
}

.menub {
    *zoom: 1;
}
.menub > li.menub__single {
    position: relative;
}

li.menub__single ul.menub__second-level {
    position: absolute;
	bottom:20px;
    width: 100%;
    background: #030;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}

li.menub__single:hover ul.menub__second-level {
    bottom: 55px;
    visibility: visible;
    opacity: 1;
}


#button {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
}
#menu {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
}
}
