@charset "utf-8";

/* 太字｜utility.css */
.weight_bold{
	font-weight: bolder;
}

/* 背景 */
#stepwork main, #stepwork_a main, #stepwork_b main, #stepwork_c main{
	padding: 0;
	margin: 0;
	background-image: url("/math/stepwork/images/stepwork_background.png");
	background-repeat: repeat;
}

/* ぶら下がりインデント */
.hangingIndent{
	margin-left: 1em;
	text-indent: -1em;
}
.hangingIndent1{
	margin-left: 2em;
	text-indent: -1em;
}
.hangingIndent2{
	margin-left: 3em;
	text-indent: -1em;
}


/* タイトル部 */
.titleArea{
	margin: 0;
	padding: 0;
}
.titleArea img{
	display: block;
	margin: 0 auto;
}

/* ページ幅 */
.contentArea{
	width:  960px;
	margin: 0 auto;
}
@media only screen and (max-width: 768px) {
	.contentArea{
        width: 100%;
        margin: 0 auto;
	}
}

/* 導入文 */
.introtextArea{
	text-align: center;
}
.introtext{
	display: inline-block;
	text-align: left;
}
@media only screen and (max-width: 768px) {
	.introtext{
		padding: 0 2vw;
	}
}

/* メニュー部 */
.menuArea{
	margin: 1em 0;
}
/* 学年マーク */
.menuArea .grade{
	float: left;
	display: block;
	width: 80px;
}
.menuArea li{
	float: left;
	width: 420px;
	height: 48px;
	margin: 0 0 20px 20px;
	border-radius: 24px 24px 24px 24px;
	background-color: #fff;
	padding-left: 1.5em;
	font-weight: bold;
	display: flex;
	align-items: center;
	cursor: pointer;
}
.menuArea .stepwork1 li{
	border: solid 1px #f298b6;
}
.menuArea .stepwork2 li{
	border: solid 1px #8ad4d1;
}
.menuArea .stepwork3 li{
	border: solid 1px #809dca;
}
.menuArea li:hover{
	opacity: .7;
}
.menuArea .icon_img{
	width: 3.2em;
	height: 3.2em;
}
.menuArea li .menuTitle{
  line-height: normal;
  padding-left: 0.5em;
}
/* 自作アイコンには別スタイル */
.menuArea .icon_box{
	display: table-cell;
	vertical-align: middle;
}
.menuArea .icon_img{
	width: 2.3em;
	height: 2.3em;
}
.menuArea .menuTitle2{
	display: table-cell;
	vertical-align: middle;
	padding-left: 0.5em;
	line-height: 1em;
	font-weight: bold;
}
@media only screen and (max-width: 768px) {
	.menuArea .grade{
		width: 12vw;
		margin: 0 1vw 0 2vw;
	}
	.menuArea ul{
		overflow: hidden;	/* 丸数字の下に潜らないように */
	}
	.menuArea li{
		width: 82vw;
		height: 12vw;
		margin: 0 0 1em 0;
		border-radius: 6vw;
		padding-left: 1.0em;
	}
	.menuArea li .menuTitle{
		line-height: normal;
		padding-bottom: 0.2em;
	}
	/* 自作アイコンには別スタイル */
	.menuArea .icon_img{
		width: 2em;
		height: 2em;
	}
}

/* サブタイトル部 */
.subTitleArea .grade{
	float: left;
	display: block;
	width: 48px;
}
.subTitleArea li{
	float: left;
	width: 420px;
	height: 48px;
	margin: 0 0 0.5em 6px;
	border-radius: 24px 24px 24px 24px;
	background-color: white;
	font-weight: bold;
	padding-left: 1.5em;
	display: flex;
	align-items: center;
}
.subTitleArea .stepwork1 li{
	border: solid 1px #f298b6;
}
.subTitleArea .stepwork2 li{
	border: solid 1px #8ad4d1;
}
.subTitleArea .stepwork3 li{
	border: solid 1px #809dca;
}
.subTitleArea .icon_box{
	display: table-cell;
	vertical-align: middle;
}
.subTitleArea .icon_img{
	width: 2.3em;
	height: 2.3em;
}
.subTitleArea li .subTitle{
	display: table-cell;
	vertical-align: middle;
	line-height: 1em;
  	padding-left: 0.5em;
  	font-weight: bold;
}
@media only screen and (max-width: 768px) {
	.subTitleArea{
		margin-top: 0.5em;
	}
	/* スマホの方は以下menuとほぼ同じだった */
	.subTitleArea .grade{
		width: 12vw;
		margin: 0 1vw 0 2vw;
	}
	.subTitleArea li{
		width: 82vw;
		height: 12vw;
		margin: 0 0 0.5em 0;	/* margin-bottomがmenuAreaの半分 */
		border-radius: 6vw;
		padding-left: 1em;	/* ここも小さく */
	}
}
	
/* vimeo from star2 */
.vimeo_box {
	position: relative;
	padding: calc(360 / 640 * 960px) 0 0; /* 高さと横幅の数字には単位は入れません。 */
}
.vimeo_box_3by2{
	position: relative;
	padding: calc(2/3 * 960px) 0 0;
}
.vimeo_box_4by3{
	position: relative;
	padding: calc(3/4 * 960px) 0 0;
}
.vimeo_box iframe, .vimeo_box_3by2 iframe, .vimeo_box_4by3 iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
@media only screen and (max-width: 768px) {
	/* video_box類をほかと同じ数値で運用するためにouterを設定 */
	.videoArea{
		width: 98%;
		margin: 0 auto;
	}
	/* 以下はほかと同じ */
	.vimeo_box {
		float: none;
		width: 100%;
		padding: calc(360 / 640 * 100%) 0 0; /* 高さと横幅の数字には単位は入れません。 */
		margin: 0em auto 1em auto;
	}
	.vimeo_box_3by2{
		float: none;
		width: 100%;
		padding: calc(2 / 3 * 100%) 0 0;
		margin: 0em auto 1em auto;
	}
	.vimeo_box_4by3{
		float: none;
		width: 100%;
		padding: calc(3 / 4 * 100%) 0 0;
		margin: 0em auto 1em auto;
	}
}



/* 準備中部分 - r3_stepworkシリーズより */
li.not_available{
	background-color: #ccc;
}
li.not_available .menuTitle2{
	color: #666;
}
.warning{
	color: #f00;
	font-weight: bold;
	text-align: center;
}
@media only screen and (max-width: 768px) {
	.mainArea, .btn_backArea{
		margin: 0 .5em;
	}
}

/* 解説をかくすボタン */
.background_stepwork_a{
	background-color: #e4306c !important;
}
.background_stepwork_b{
	background-color: #14a9a2 !important;
}
.background_stepwork_c{
	background-color: #003a94 !important;
}

/* まるわかりintro部 */
.splitArea{
	display: table;
	border-collapse: separate;
	border-spacing: 10px 0;
}
.LeftArea200{
	display: table-cell;
	width: 200px;
	height: 200px;
}
.LeftArea200R{
	display: table-cell;
	width: 760px;	/* ここは効いてない */
	height: 200px;
	vertical-align: middle;
	padding-left: 2em;
	padding-right: 2em;
	background-color: rgba(255,255,255,.5);
}
@media only screen and (max-width: 768px) {
	.LeftArea200, .LeftArea200R{
		display: block;
		width: 100%;
		height: 100%;
		padding: 0;
	}
}
.topicArea h3{
	color: #fff;
	margin: 1em 0 .5em;
	line-height: 2em;
	padding-left: 1em;
	padding-right: 1em;
	border-radius: 1em;
}
#stepwork_a .topicArea h3{
	background-color: #e4306c;
}
#stepwork_b .topicArea h3{
	background-color: #14a9a2;
}
#stepwork_c .topicArea h3{
	background-color: #003a94;
}
.topicArea h3+p{
	margin: 0 1em;
}
@media only screen and (max-width: 768px) {
	.topicArea h3+p{
		margin: 0 .5em;
	}
}