@charset "utf-8";

.pageID-digi main .page-title {
	padding-top: 40px;
}
.pageID-digi main .page-title .title {
	padding-top: 165px;
	font-size: 32px;
	font-weight: 700;
	color: #42bcd3;
	letter-spacing: 0.7em;
	text-align: center;
	background: url("../../contents/images/digital_text/ico_tsubasa.svg") no-repeat center top / 200px auto;
}

@media print, screen and (min-width:769px) {
	.pageID-digi main {
		background: url("../../common/images/bg_grad_digital_text.png") repeat-x center top;
	}
}

@media screen and (max-width:768px) {
	.pageID-digi main {
		background: url("../../common/images/bg_grad_digital_text_sp.png") no-repeat 0 0 / 100% auto;
	}
	.pageID-digi main #first-section {
		position: relative;
	}
	.pageID-digi main #first-section::before {
		width: calc(106 / 640 * 100vw);
		height: calc(112 / 640 * 100vw);
		content: "";
		background: url(../../common/images/fig_01_blue.svg) no-repeat left bottom / 100% auto;
		position: absolute;
		left: calc(55 / 640 * 100vw);;
		top: 0;
	}
	.pageID-digi main .page-title {
		padding-top: calc(25 / 640 * 100vw);
	}
	.pageID-digi main .page-title .title {
		padding-top: calc(150 / 640 * 100vw);
		font-size: calc(37 / 640 * 100vw);
		background: url("../../contents/images/digital_text/ico_tsubasa.svg") no-repeat center top / 30vw auto;
		line-height: 1.5;
	}
}

/* -------------------------------------------------
	inner-links
------------------------------------------------- */

.inner-links {
	/*
	margin-bottom: 100px;
	*/
	margin-bottom: 60px;
}

.inner-links a {
	width: 344px;
	height: 58px;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 auto;
	box-sizing: border-box;
	letter-spacing: 0.2em;
	border-radius: 29px;
	box-shadow: 5px 8px 9px 0 rgba(0,0,0,0.12);
	transition: all 0.3s ease-out;
	font-size: 15px;
	color: #42bcd3;
}

.inner-links a span {
	transform: translateX(0.25em);
}

.inner-links ul {
	max-width: 990px;
	width: 96%;
	/*
	margin: 100px auto 50px;
	*/
	margin: 50px auto 50px;
	display: flex;
	justify-content: space-between;
}
.inner-links ul li {
	width: calc(274 / 990 * 100%);
}
.inner-links ul li a {
	width: 100%;
	height: 66px;
	border-radius: 33px;
	font-size: 35px;
	letter-spacing: 0.5em;
}

.inner-links ul li a.s { background: #deffe6; }
.inner-links ul li a.m { background: #c1f5fd; }
.inner-links ul li a.pe { background: #e3def8; }




.inner-links a.usege {
	border: solid 1px #42bcd3;
}

@media print, screen and (min-width:769px) {
	.inner-links a:hover { background: #e4eeff; }
	.inner-links ul li a:hover { color: #040000; }
	.inner-links ul li a:hover.s { background: #88f5a2; }
	.inner-links ul li a:hover.m { background: #34d0fb; }
	.inner-links ul li a:hover.pe { background: #baadee; }
}

@media print, screen and (min-width:769px) and (max-width:900px) {
	.inner-links ul li a {
		letter-spacing: 0.3em;
	}
}

@media screen and (max-width:768px) {
	.inner-links {
		padding-bottom: calc(26 / 640 * 100vw);
		margin-bottom: 0;
		/*
		border-bottom: solid calc(50 / 640 * 100vw) rgba(189,204,212,0.07);
		*/
	}
	.inner-links a {
		width: calc(208 / 640 * 100vw);
		height: calc(46 / 640 * 100vw);
		border-radius: calc(23 / 640 * 100vw);
		font-size: calc(18 / 640 * 100vw);
		box-shadow: 1.2vw 1.2vw 1.4vw 0 rgba(0,0,0,0.12);
		color: #040000;
		border: solid 1px #42bcd3;
	}
	.inner-links ul {
		max-width: none;
		width: auto;
		justify-content: center;
		margin: calc(30 / 640 * 100vw) auto calc(40 / 640 * 100vw);
	}
	.inner-links ul li {
		width: calc(173 / 640 * 100vw);
	}
	.inner-links ul li + li {
		margin-left: 3vw;
	}
	.inner-links ul li a {
		height: calc(46 / 640 * 100vw);
		font-size: calc(33 / 640 * 100vw);
		border-radius: calc(23 / 640 * 100vw);
		border: none;
	}
	.inner-links ul li a.s { background: #deffe6; }
	.inner-links ul li a.m { background: #c1f5fd; }
	.inner-links ul li a.pe { background: #e3def8; letter-spacing: 0.1em; }
	
	.inner-links ul li a.pe span {
		transform: translateX(0.05em);
	}
}

/* -------------------------------------------------
	pcのみの背景画像
------------------------------------------------- */

@media print, screen and (min-width:769px) {
	main::before,
	main::after {
		display: none;
	}
	.subject-wrap {
		padding: 0 0 130px 0;
		background: rgba(189,204,212,0.07) url(../images/digital_text/bg_01.png) repeat center 0 / 494px auto;
		border-top: solid 30px #fafbfc;
	}
	.subject-wrap .bg-dot {
		width: 195px;
		height: 444px;
		background: url(../../common/images/fig_01_blue.svg) no-repeat 0 0 / auto 100%;
		position: absolute;
		right: 100%;
		top: -545px;
	}
}

/* -------------------------------------------------
	subject-block
------------------------------------------------- */

.subject-block {
	position: relative;
	z-index: 10;
}
.subject-block + .subject-block {
	margin-top: 90px;
}
.subject-block .box1200 {
	padding: 60px 0 90px;
	box-sizing: border-box;
}

.subject-block#science { background: rgba(222,255,230,.75); }
/*
.subject-block#science::before{
    content: '';
    display: inline-block;
    position: relative;
    top: -30px;
    height: 30px;
    width: 100%;
    background-color: rgba(222,255,230,.5);

}
*/
/*
.subject-block#math { background: #c1f5fd; }
.subject-block#pe { background: #e3def8; }
*/
.subject-block#tsubasa { background:rgba(250,251,252,.5);}
.subject-block#math { background: rgba(193,245,253,.5); }
.subject-block#pe { background: rgba(227,222,248,.5); }

.subject-block .inner {
	width: 90%;
	max-width: 930px;
	margin: 0 auto;
}
.subject-block .inner + .inner {
	margin-top: 80px;
}

.subject-block .headline {
	padding: 0 25px 15px;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 0.2em;
}
.subject-block#science .headline { border-bottom: solid 7px #88f5a2; }
.subject-block#math .headline { border-bottom: solid 7px #34d0fb; }
.subject-block#pe .headline { border-bottom: solid 7px #baadee; }

.subject-block#tsubasa .headline { border-bottom: solid 7px #42bcd3; }


.subject-block .lead {
	margin: 40px 25px;
}
.subject-block .lead p {
	font-size: 21px;
	line-height: 1.8;
}
.subject-block .lead p + p {
	margin-top: 1.8em;
}
.subject-block .white-box {
	padding: 30px 30px 50px;
	background: #fff;
	border-radius: 40px;
}
/*
.subject-block .btn {
	width: 530px;
	height: 86px;
	margin: -43px auto 0;
	margin: 1em auto 0;
	border-radius: 43px;
	display: flex;
	justify-content: center;
	align-items: center;
	letter-spacing: 0.2em;
	background: #000;
	color: #fff;
	box-shadow: 8px 8px 8px 0 rgba(0,0,0,0.15);
	transition: background 0.3s ease-out;
	box-sizing: border-box;
	font-size: 24px;
	font-weight: 500;
	letter-spacing: 0.2em;
}
.subject-block .btn .arrow-style1::before,
.subject-block .btn .arrow-style1::after {
	top: 50%;
}

.subject-block#science .btn { color: #deffe6; }
.subject-block#science .arrow-style1::before,
.subject-block#science .arrow-style1::after {
	background: #deffe6;
}

.subject-block#math .btn { color: #c1f5fd; }
.subject-block#math .arrow-style1::before,
.subject-block#math .arrow-style1::after {
	background: #c1f5fd;
}

.subject-block#pe .btn { color: #e3def8; }
.subject-block#pe .arrow-style1::before,
.subject-block#pe .arrow-style1::after {
	background: #e3def8;
}
*/

#content-s2 .image-desc {
	margin: 5px 15px 30px;
	padding: 1.1em 1.5em;
	font-size: 21px;
	line-height: 1.8;
	background: #ccffd9;
	border-radius: 10px;
}

@media print, screen and (min-width:769px) {
	.subject-block #content-m1 .white-box { padding-bottom: 75px; }
	.subject-block #content-m2 .white-box { padding-bottom: 60px; }
	.subject-block #content-m3 .white-box { padding-bottom: 60px; }
	.subject-block #content-pe1 .white-box { padding-bottom: 65px; }
	
	.subject-block .btn:hover { background: #333; }
}

@media print, screen and (min-width:769px) and (max-width:1010px) {
	.subject-block .two-col .ico {
		width: 140px;
	}
	.subject-block .two-col .ico-desc {
		margin-left: 0;
	}
	.subject-block .two-col .ico-desc p {
		font-size: 17px;
	}
}

@media screen and (max-width:768px) {
	.subject-block + .subject-block {
		margin-top: 0;
	}
	.subject-block .box1200 {
		padding: calc(105 / 640 * 100vw) 0 10vw;
	}
	.subject-block .inner {
		width: auto;
		max-width: none;
		position: relative;
	}
	.subject-block .inner + .inner {
		margin-top: calc(130 / 640 * 100vw);
	}
	.subject-block .headline {
		padding: 0 0 0.5em;
		font-size: calc(32 / 640 * 100vw);
		border-bottom-width: calc(7 / 640 * 100vw) !important;
		text-align: center;
		line-height: 1.4;
	}
	.subject-block .lead {
		margin: 5vw 2vw;
	}
	.subject-block .lead p {
		margin: 1.2em 0 1.5em;
		font-size: calc(31 / 640 * 100vw);
	}
	.subject-block .white-box {
		padding: calc(40 / 640 * 100vw) 0 calc(180 / 640 * 100vw);
		border-radius: 0;
	}
	.subject-block#science .note { top: 65.5vw; }
	.subject-block#math .note { top: 53vw; }
	.subject-block#pe .note { top: 59.5vw; }
	
	.subject-block .btn {
		width: calc(570 / 640 * 100vw);
		height: calc(116 / 640 * 100vw);
		/*
		margin: 0;
		*/
		margin: 1em 1em;
		border-radius: calc(58 / 640 * 100vw);
		box-shadow: none;
		font-size: calc(32 / 640 * 100vw);
		/*
		position: absolute;
		*/
		left: calc(35 / 640 * 100vw);
		bottom: calc(40 / 640 * 100vw);
	}
	
	.subject-block .inner:last-child {
		padding-bottom: 20vw;
	}
	.subject-block .inner:last-child .btn {
		bottom: calc(170 / 640 * 100vw);
	}
	
	#content-s2 .image,
	#content-s3 .image,
	#content-pe1 .image {
		width: 94%;
		margin: 0 auto;
	}
	#content-s2 .image-desc {
		margin: 2vw 5vw 4vw;
		padding: 1.1em 1.5em;
		font-size: calc(21 / 640 * 100vw);
		border-radius: 2vw;
	}

}

/* -------------------------------------------------
	usage
------------------------------------------------- */

#usage {
	padding: 70px 0;
	background: url(../../common/images/bg_grad_02.jpg) no-repeat 0 0 / 100% 100%;
}
#usage .white-box {
	max-width: 930px;
	width: 96%;
	padding: 60px;
	margin: 0 auto;
	box-sizing: border-box;
	background: #fff;
	border-radius: 30px;
	position: relative;
	z-index: 30;
}
#usage .headline {
	font-size: 24px;
	font-weight: 700;
	text-align: center;
	letter-spacing: 0.2em;
}
#usage .lead {
	margin-top: 45px;
	font-size: 21px;
	line-height: 1.8;
}
#usage .usage-level2 .title {
	margin: 30px 0 15px;
	padding-left: 1em;
	font-size: 21px;
	font-weight: 700;
	color: #fff;
	background: #42bcd3;
	height: 38px;
	display: flex;
	align-items: center;
	letter-spacing: 0.1em;
	border-radius: 19px;
}
#usage .usage-level2 p {
	font-size: 22px;
	line-height: 1.8;
}
#usage .usage-level2 .small {
	font-size: 18px;
	vertical-align: baseline;
}
#usage .mirai {
	margin-top: 15px;
	width: 299.5px;
}

@media screen and (max-width:768px) {
	#usage {
		padding: calc(50 / 640 * 100vw) 0 calc(100 / 640 * 100vw);
	}
	#usage .white-box {
		max-width: none;
		width: auto;
		padding: calc(60 / 640 * 100vw) 0 calc(70 / 640 * 100vw);
		border-radius: 7vw;
	}
	#usage .headline {
		font-size: calc(32 / 640 * 100vw);
	}
	#usage .lead {
		margin: 1em 5vw 0;
		font-size: calc(31 / 640 * 100vw);
	}
	#usage .usage-level2 .title {
		height: auto;
		padding: 0.3em 1.2em;
		margin: calc(55 / 640 * 100vw) 5vw 2vw;
		font-size: calc(28 / 640 * 100vw);
		line-height: 1.4;
		border-radius: 7vw;
		text-align: center;
		letter-spacing: 0.2em;
	}
	#usage .usage-level2 p {
		margin-left: 5vw;
		margin-right: 5vw;
		font-size: calc(28 / 640 * 100vw);
	}
	#usage .usage-level2 .small {
		font-size: calc(28 / 640 * 100vw);
	}
	#usage .mirai {
		width: calc(440 / 640 * 100vw);
		margin: calc(60 / 640 * 100vw) auto 0;
	}
}

/* -------------------------------------------------
	extra - mahito
------------------------------------------------- */
/* ここから未使用 */
.price-area{
	margin-top: 1.8em;
	border: solid 1px #aaa;
	background-color: rgba(255,255,255,0.5);
}
.price-info{
	width: 80%;
	margin: 0 auto;
	max-width: 100%;
	font-size: 18px!important;
	padding: 0.5em 0.5em 0.5em 1em;;
}
.bold{
	font-weight: bold;
}

@media screen and (max-width:768px) {
	.price-info{
		width: 78vw;
		display: block;
		margin: 0 auto;
	/*	background-color:aqua;	*/
		font-size: calc(28 / 640 * 100vw)!important;
	}
}
/* ここまで未使用 */
#usage .usage-level2 p.price{
	font-size: 20px;
}
#usage .usage-level2 p.price+p.small{
	font-size: 18px;
	line-height: 1.8em;
	margin-bottom: 0.25em;
}
@media screen and (max-width:768px) {
	#usage .usage-level2 p.price{
		font-size: calc(26 / 640 * 100vw);
	}
	#usage .usage-level2 p.price+p.small{
		font-size: calc(20 / 640 * 100vw);
		line-height: 1.8em;
		padding: 0 1.5em;
	}
}
#usage .usage-level2 hr{
	margin: 1em;
}


/* -------------------------------------------------
	first-view (共通)
------------------------------------------------- */

#first-view {
	/*
	padding: 40px 0 60px;
	*/
	padding: 40px 0 0;
	text-align: center;
}
/*
.pageID-pe #first-view { background: #9294d3; }
.pageID-math #first-view { background: #6cc9f4; }
.pageID-science #first-view { background: #72d6af; }
*/

#first-view .mov {
	margin: 25px auto;
}
#first-view .mov iframe {
	width: 960px;
	height: calc(960px * 360 / 640);
}
#first-view .btn {
	width: 624px;
	height: 78px;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 18px;
	letter-spacing: 0.2em;
	font-weight: 700;
	box-shadow: 15px 15px 10px 0 rgba(0,0,0,0.24);
	border-radius: 39px;
	transition: background 0.3s ease-out;
}
/*
.pageID-pe #first-view .btn { background: #e4e8f8; }
.pageID-math #first-view .btn { background: #c4e9fb; }
.pageID-science #first-view .btn { background: #c7efdf; }
*/
.pageID-digi #first-view .btn { background: #a0dde9; }
@media print, screen and (min-width:769px) {
	/*
	.pageID-pe #first-view .btn:hover { background: #f4f6fc; }
	.pageID-math #first-view .btn:hover { background: #e7f6fd; }
	.pageID-science #first-view .btn:hover { background: #ddf5ec; }
	*/
}

@media print, screen and (min-width:769px) and (max-width:1040px) {
	#first-view .mov iframe {
		width: 92vw;
		height: calc(92vw * 360 / 640);
	}
}

@media screen and (max-width:768px) {
	#first-view {
		padding: calc(80 / 640 * 100vw) 0 calc(60 / 640 * 100vw);
	}
	#first-view .title .copy {
		width: calc(533 / 640 * 100vw);
	}
	#first-view .mov {
		max-width: none;
		margin: calc(35 / 640 * 100vw) auto calc(40 / 640 * 100vw);
	}
	#first-view .mov iframe {
		width: 86vw;
		height: calc(86vw * 360 / 640);
	}
	#first-view .btn {
		width: calc(567 / 640 * 100vw);
		height: calc(101 / 640 * 100vw);
		font-size: calc(27 / 640 * 100vw);
		letter-spacing: 0.1em;
		box-shadow: 1vw 1vw 2vw 0 rgba(0,0,0,0.24);
		border-radius: calc(55.5 / 640 * 100vw);
	}
}

/* -------------------------------------------------
	first-view (キャッチコピーと教科書部分)
------------------------------------------------- 

@media print, screen and (min-width:769px) {
	#first-view .title {
		display: flex;
		justify-content: center;
		align-items: center;
		flex-wrap: wrap;
	}
	#first-view .title .copy {
		width: 498px;
	}
	#first-view .title .headline {
		margin-left: 18px;
		text-align: center;
		display: flex;
	}
	#first-view .title .headline span {
		display: inline-block;
	}
	#first-view .title .headline img {
		width: 135px;
		box-shadow: 15px 15px 10px 0 rgba(0,0,0,0.24);
	}
	.pageID-pe #first-view .title .headline img {
		width: 167px;
	}
	#first-view .title .headline > span + span {
		margin-left: 14px;
	}
	#first-view .title .headline span span {
		width: 100%;
		margin-top: 0.8em;
		font-size: 14px;
		font-weight: 500;
		letter-spacing: 0.2em;
	}
}

@media print, screen and (min-width:769px) and (max-width:1070px) {
	#first-view .title {
		flex-direction: column;
	}
	#first-view .title .copy {
		position: relative;
		left: 5px;
		margin-bottom: 30px;
	}
}

@media screen and (max-width:768px) {
	#first-view .title .headline {
		margin: calc(30 / 640 * 100vw) auto 6vw;
		display: flex;
		justify-content: center;
	}
	#first-view .title .headline span {
		display: inline-block;
	}
	#first-view .title .headline > span {
		width: calc(155 / 640 * 100vw);
	}
	.pageID-pe #first-view .title .headline > span {
		width: calc(200 / 640 * 100vw);
	}
	#first-view .title .headline > span + span {
		margin-left: calc(20 / 640 * 100vw);
	}
	#first-view .title .headline span span {
		width: 100%;
		margin-top: 0.8em;
		font-size: calc(32 / 640 * 100vw);
		font-weight: 500;
		letter-spacing: 0.2em;
	}
	.pageID-math #first-view .title .headline img {
		box-shadow: 1vw 1vw 2vw 0 rgba(0,0,0,0.6);
	}
}

/* -------------------------------------------------
	concept
------------------------------------------------- */

#concept {
	padding: 160px 0 80px;
	text-align: center;
	background: url(../../common/images/ico_ex.svg) no-repeat center 75px / 112px auto;
}
#concept .headline {
	font-size: 30px;
	font-weight: 700;
	letter-spacing: 0.4em;
}
#concept .lead {
	margin-top: 75px;
	font-size: 29px;
	line-height: 1.96;
}
#concept dl {
	margin-top: 45px;
	display: inline-block;
}
#concept dl dt {
	padding-bottom: 33px;
	margin-bottom: 48px;
	font-size: 30px;
	font-weight: 700;
	letter-spacing: 0.4em;
}

.pageID-pe dl dt { background: url(../../pe/images/bar.svg) no-repeat center bottom / 417px auto; }
.pageID-math dl dt { background: url(../../math/images/bar.svg) no-repeat center bottom / 417px auto; }
.pageID-science dl dt { background: url(../../science/images/bar.svg) no-repeat center bottom / 417px auto; }

#concept dl dd {
	padding-left: 95px;
	font-size: 25px;
	text-align: left;
	position: relative;
	line-height: 1.4;
}
#concept dl dd::before {
	width: 64px;
	height: 55px;
	margin-right: 0.7em;
	content: "";
	display: inline-block;
	vertical-align: middle;
	position: absolute;
	left: 0;
	top: -10px;
}

.pageID-pe #concept dl dd::before { background: url(../../pe/images/check.svg) no-repeat left center / contain; }
.pageID-math #concept dl dd::before { background: url(../../math/images/check.svg) no-repeat left center / contain; }
.pageID-science #concept dl dd::before { background: url(../../science/images/check.svg) no-repeat left center / contain; }

#concept dl dd + dd {
	margin-top: 65px;
}
#concept dl dd .posfix {
	position: relative;
	left: -0.5em;
}
#concept dl dd .spacer {
	display: inline-block;
	width: 0.5em;
}

@media screen and (max-width:768px) {
	#concept {
		padding: calc(135 / 640 * 100vw) 0 calc(50 / 640 * 100vw);
		background: url(../../common/images/ico_ex.svg) no-repeat center 5.5vw / 21.9vw auto;
	}
	#concept .headline {
		font-size: calc(37 / 640 * 100vw);
	}
	#concept .lead {
		margin-top: calc(100 / 640 * 100vw);
		font-size: calc(30 / 640 * 100vw);
	}
	#concept dl {
		margin-top: calc(65 / 640 * 100vw);
	}
	#concept dl dt {
		padding-bottom: calc(28 / 640 * 100vw);
		margin-bottom: calc(55 / 640 * 100vw);
		font-size: calc(37 / 640 * 100vw);
		background-size: 62.1vw auto !important;
	}
	#concept dl dd {
		padding-left: calc(64 / 640 * 100vw);
		font-size: calc(32 / 640 * 100vw);
		line-height: 1.5;
	}
	#concept dl dd::before {
		width: calc(50 / 640 * 100vw);
		height: calc(43 / 640 * 100vw);
		margin-right: 0;
		position: absolute;
		left: 0;
		top: 0.8vw;
	}

	#concept dl dd + dd {
		margin-top: 0.8em;
	}
}


