@charset "utf-8";

/* -------------------------------------------------
	font
------------------------------------------------- */

/*
@font-face {
	font-family: 'Noto Sans Japanese';
	font-style: normal;
	font-weight: 100;
	src: url('../font/NotoSansCJKjp-hinted_subset_woff/NotoSansCJKjp-Thin_sub.woff') format('woff');
}
@font-face {
	font-family: 'Noto Sans Japanese';
	font-style: normal;
	font-weight: 200;
	src: url('../font/NotoSansCJKjp-hinted_subset_woff/NotoSansCJKjp-Light_sub.woff') format('woff');
}
@font-face {
	font-family: 'Noto Sans Japanese';
	font-style: normal;
	font-weight: 300;
	src: url('../font/NotoSansCJKjp-hinted_subset_woff/NotoSansCJKjp-DemiLight_sub.woff') format('woff');
}
*/
@font-face {
	font-family: 'Noto Sans Japanese';
	font-style: normal;
	font-weight: 400;
	src: url('../font/NotoSansCJKjp-hinted_subset_woff/NotoSansCJKjp-Regular_sub.woff') format('woff');
}
@font-face {
	font-family: 'Noto Sans Japanese';
	font-style: normal;
	font-weight: 500;
	src: url('../font/NotoSansCJKjp-hinted_subset_woff/NotoSansCJKjp-Medium_sub.woff') format('woff');
}
@font-face {
	font-family: 'Noto Sans Japanese';
	font-style: normal;
	font-weight: 700;
	src: url('../font/NotoSansCJKjp-hinted_subset_woff/NotoSansCJKjp-Bold_sub.woff') format('woff');
}
@font-face {
	font-family: 'Noto Sans Japanese';
	font-style: normal;
	font-weight: 900;
	src: url('../font/NotoSansCJKjp-hinted_subset_woff/NotoSansCJKjp-Black_sub.woff') format('woff');
}

/*
@font-face {
	font-family: 'OpenSans-Bold';
	font-style: normal;
	src: url('../font/Open_Sans/OpenSans-Bold.ttf') format('truetype');
}
*/

/* -------------------------------------------------
	reset
------------------------------------------------- */

* {
	margin: 0;
	padding: 0;
	vertical-align: top;
}

html {
}

body {
	line-height: 1;
	-webkit-text-size-adjust: 100%;
	color: #040000;
	position: relative;
	font-family: 'Noto Sans Japanese', "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", sans-serif;
}
body.hidden {
	overflow: hidden;
}

p, h1, h2, h3, h4, th, td, li, dt, dd, figcaption, input, select, textarea {
	font-weight: 400;
}

img {
	border: none;
	max-width: 100%;
	height: auto;
}

iframe {
	border: none;
}

a {
	color: #040000;
	text-decoration: none;
}
a:hover {
	
}

ul, ol {
	list-style-type: none;
}

main {
	width: 100%;
	overflow: hidden;
	display: block;
}

@media screen and (max-width:768px) {
	
}

/* -------------------------------------------------
	box
------------------------------------------------- */

.box1200 {
	width: 96%;
	max-width: 1200px;
	margin: 0 auto;
	position: relative;
}

@media screen and (max-width:768px) {
	.box1200 {
		width: auto;
	}
	.box-sp {
		width: calc(580 / 640 * 100%);
		margin: 0 auto;
	}
}

/* -------------------------------------------------
	h
------------------------------------------------- */

.h-normal {
	font-size: 30px;
	font-weight: 700;
	text-align: center;
	letter-spacing: 0.5em;
}

@media print, screen and (min-width:769px) {
	.h-type1 {
		padding: 160px 0 0;
		text-align: center;
	}
	.h-type1 .title {
		padding-bottom: 0.4em;
		font-size: 37px;
		font-weight: 700;
		letter-spacing: 0.5em;
		border-bottom: solid 12px #ffd941;
		display: inline-block;
	}
}

@media screen and (max-width:768px) {
	.h-normal {
		font-size: calc(37 / 640 * 100vw);
	}
	.h-type1 {
		height: calc(160 / 640 * 100vw);
		padding-top: calc(85 / 640 * 100vw);
		box-sizing: border-box;
		background: #e5e5e5 url(../images/ico_book_bk.svg) no-repeat center 5vw / 7.5vw auto;
	}
	.h-type1 .title {
		font-size: calc(25 / 640 * 100vw);
		text-align: center;
		letter-spacing: 0.5em;
		font-weight: 700;
	}
}

/* -------------------------------------------------
	arrow
------------------------------------------------- */

.arrow-style1 {
	width: 0.8em;
	height: 0.8em;
	display: inline-block;
	vertical-align: middle;
	margin-left: 0.6em;
	position: relative;
}
.arrow-style1::before,
.arrow-style1::after {
	width: 100%;
	height: 2px;
	content: "";
	display: inline-block;
	position: absolute;
	right: 0;
	top: 40%;
	background: #040000;
	transform-origin: right center;
}
.arrow-style1::before {
	transform: rotate(23deg);
}
.arrow-style1::after {
	transform: rotate(-23deg);
}

.arrow-style1.wt::before,
.arrow-style1.wt::after {
	background: #fff;
}

/* -------------------------------------------------
	pc side bg
------------------------------------------------- */

@media print, screen and (min-width:769px) {
	main {
		position: relative;
	}
	main::before,
	main::after {
		width: 1000px;
		height: 100%;
		display: block;
		content: "";
		position: absolute;
		top: 0;
		z-index: 10;
	}
	main::before {
		right: calc(50% + 600px);
		background: url(../images/bg_01.png) repeat right 15px / 344px auto;
		background-blend-mode: screen;
	}
	main::after {
		left: calc(50% + 600px);
		background: url(../images/bg_01.png) repeat left 15px / 344px auto;
	}
	
	.pageID-pe main::before { background: url(../images/bg_02.png) repeat right 0 / 799px auto; right: calc(50% + 500px); }
	.pageID-pe main::after { background: url(../images/bg_02.png) repeat left 0 / 799px auto; left: calc(50% + 500px); }
	
	.pageID-math main::before { background: url(../images/bg_03.png) repeat right 0 / 883px auto; right: calc(50% + 500px); }
	.pageID-math main::after { background: url(../images/bg_03.png) repeat left 0 / 883px auto; left: calc(50% + 500px); }
	
	.pageID-science main::before { background: url(../images/bg_04.png) repeat right 0 / 842px auto; right: calc(50% + 500px); }
	.pageID-science main::after { background: url(../images/bg_04.png) repeat left 0 / 842px auto; left: calc(50% + 500px); }
	
}













@media print, screen and (min-width:769px) and (max-width:1260px) {
	main::before {
		right: 98%;
	}
	main::after {
		left: 98%;
	}
}

/* -------------------------------------------------
	bottom-nav
------------------------------------------------- */

#bottom-nav {
	background: #fff;
	position: relative;
	z-index: 20;
	text-align: center;
}
#bottom-nav .btn {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	letter-spacing: 0.2em;
	font-weight: 700;
	background: #ffd941;
	box-shadow: 8px 8px 8px 0 rgba(0,0,0,0.15);
	transition: background 0.3s ease-out;
	position: relative;
	z-index: 4;
	box-sizing: border-box;
}

.pageID-pe #bottom-nav .btn { background: #bbaeef; }
.pageID-math #bottom-nav .btn { background: #34d0fb; }
.pageID-science #bottom-nav .btn { background: #88f5a2; }

#bottom-nav .btn.to-top { background: #ffd941; }

.pageID-top #bottom-nav .btn.to-top,
.pageID-dl #bottom-nav .btn.dl {
	display: none;
}

/* type2 */

.b-nav-type2 #bottom-nav .btn {
	background: #fff;
	border: solid 1px #77a9ff;
}

/* no-active */

#bottom-nav .btn.no-active,
.b-nav-type2 #bottom-nav .btn.no-active {
	background: #e6e6e6;
	color: #999;
	border: none;
}

@media print, screen and (min-width:769px) {
	#bottom-nav .box1200 {
		padding: 130px 0 150px;
		background: url(../images/fig_02.svg) no-repeat left top / 308px auto;
	}
	.pageID-dl #bottom-nav .box1200 {
		padding: 250px 0 70px;
		background: url(../images/fig_04.svg) no-repeat left top / 58.9% auto;
	}
	#bottom-nav .btn.large {
		width: 595px;
		height: 78px;
		border-radius: 39px;
		font-size: 18px;
	}
	#bottom-nav .btn.large.to-top {
		margin-top: 90px;
	}
	.pageID-dl #bottom-nav .btn.large.to-top {
		margin-top: 25px;
	}
	
	#bottom-nav .btn.small {
		width: 100%;
		height: 66px;
		border-radius: 39px;
		font-size: 15px;
	}
	#bottom-nav .btn:not(.no-active):hover { background: #ffe47a; }
	.pageID-pe #bottom-nav .btn:hover { background: #d6cef5; }
	.pageID-math #bottom-nav .btn:hover { background: #85e3fd; }
	.pageID-science #bottom-nav .btn:hover { background: #b8f9c7; }
	
	#bottom-nav .btn.to-top:hover { background: #ffe88d; }
	
	#bottom-nav ul {
		max-width: 1054px;
		margin: 90px auto 0;
		display: flex;
		justify-content: space-between;
		position: relative;
	}
	.pageID-dl #bottom-nav ul {
		margin-top: 0;
	}
	#bottom-nav ul li {
		/* ウェブコンテンツページをなくしたので、ボタンサイズ変更
		width: calc(338 / 1054 * 100%);
		*/
		width: calc(450 / 1054 * 100%);
	}
	#bottom-nav ul::before {
		width: 188px;
		height: 392px;
		content: "";
		background: url(../images/fig_01.svg) no-repeat 0 0 / contain;
		display: block;
		position: absolute;
		right: 15px;
		top: -437px;
	}
	
	/* web-contents */
	
	.b-nav-type2 #bottom-nav .box1200 {
		padding: 80px 0 130px;
		background: url(../images/fig_05.svg) no-repeat left top / 100px auto;
	}
	.b-nav-type2 #bottom-nav .to-top-wrap {
		max-width: 1054px;
		margin: 0 auto;
	}
	.b-nav-type2 #bottom-nav .btn.large.to-top {
		/* ウェブコンテンツページをなくしたので、ボタンサイズ変更（上段と同じサイズに）
		width: calc(338 / 1054 * 100%);
		*/
		width: calc(450 / 1054 * 100%);
		height: 66px;
		margin-top: 33px;
		border-radius: 39px;
		font-size: 15px;
	}
	
	.b-nav-type2 #bottom-nav .btn:not(.no-active):hover { background: #e4eeff; }
	.b-nav-type2 #bottom-nav .btn.to-top:hover { background: #e4eeff; }
	
	/* web-contents */
	
	.pageID-web #bottom-nav ul::before {
		width: 395px;
		height: 195px;
		content: "";
		background: url(../images/fig_03_blue.svg) no-repeat 0 0 / 100% auto;
		display: block;
		position: absolute;
		right: -270px;
		top: -295px;
	}
	
	/* digital-text */
	
	.pageID-digi #bottom-nav ul::before {
		width: 195px;
		height: 444px;
		background: url(../../common/images/fig_01_blue.svg) no-repeat 0 0 / auto 100%;
		position: absolute;
		right: -35px;
		top: -510px;
		z-index: 10;
	}
	.pageID-digi #bottom-nav .btn.large {
		position: relative;
		z-index: 12;
	}
}

@media print, screen and (min-width:769px) and (max-width:1240px) {
	#bottom-nav .box1200 {
		background:
			url(../images/fig_05.svg) no-repeat left top / 80px auto,
			url(../images/fig_06.svg) no-repeat 0 125px / 160px auto;
	}
}

@media screen and (max-width:768px) {
	#bottom-nav {
		padding: 30vw 0 calc(30 / 640 * 100vw);
		background:
			url(../images/fig_02_sp.svg) no-repeat 15% top / 43% auto,
			url(../images/fig_03.svg) no-repeat 115% 10vw / 40% auto;
	}
	#bottom-nav .btn {
		width: calc(567 / 640 * 100vw);
		height: calc(101 / 640 * 100vw);
		border-radius: calc(50.5 / 640 * 100vw);
		font-size: calc(27 / 640 * 100vw);
		box-shadow: 1vw 1vw 2vw 0 rgba(0,0,0,0.24);
	}
	#bottom-nav .btn.small,
	#bottom-nav .btn.to-top {
		margin-top: calc(25 / 640 * 100vw);
	}
	
	/* web-contents */
	
	.pageID-web #bottom-nav {
		background:
			url(../images/fig_02_sp.svg) no-repeat 15% top / 43% auto,
			url(../images/fig_03_blue.svg) no-repeat 115% 10vw / 40% auto;
	}
}

/* -------------------------------------------------
	footer
------------------------------------------------- */

footer .contents_box {
	width: 96%;
	max-width: 960px;
	margin: 0 auto;
}

#footerColumn {
	width: 96%;
	max-width: 960px;
	margin: 0 auto;
	padding-top: 10px;
	text-align: right;
	line-height: 1em;
	font-size: 10px;
}

#footer {
	height: 30px;
}

#footer,
#footerNavi {
  background: #f2f2f2;
}
#fNaviList {
  font-size: 12px;
  color: #333;
  padding: 40px 0 25px 0;
}
#fNaviList .fNaviListArea {
  border-bottom: solid 1px #9fa0a0;
  padding-bottom: 15px;
  padding-left: 20px;
}
#fNaviList dd, #fNaviList dt, #fNaviList li {
  margin: 5px 0;
}
#fNaviList a:active, #fNaviList a:link, #fNaviList a:visited {
  color: #555;
}
#fNaviList a:hover {
	text-decoration: underline;
}
#fNaviList > div {
  overflow: hidden;
	display: flex;
	flex-wrap: wrap;
}
#fNaviList > div > dl {
  width: 190px;
  background-color: #fff;
  border-left: #b3b3b3 solid 4px;
  padding: 5px 0 5px 14px;
  margin-right: 27px;
  margin-bottom: 15px;
}
#fNaviList > div > dl.fNaviTit_bottom {
  height: 120px;
}
#fNaviList .fNaviTit_bottom dt a {
  font-size: 13px;
}
#fNaviList .fNaviTit {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4em;
  padding: 0 0 0 0.6em;
  border: none;
  background: url(/common/images/icon_head_list.png) no-repeat 1px center;
}
#fNaviList .fNaviSubTit {
	font-size: 13px;
	font-weight: 700;
	margin-left: 1em;
	padding: 0 0 0 0.6em;
	background: url(/common/images/icon_head_list.png) no-repeat 1px center;
	line-height: 1.4;
}
#fNaviList .fNaviListBottom {
  margin-bottom: 10px;
  display: table;
  width: 100%;
}
#fNaviList .fNaviListBottom ul {
  display: table-cell;
  vertical-align: middle;
}
#fNaviList .fNaviListBottom ul li {
  display: inline-block;
}
#fNaviList ul.bottomListL {
  text-align: left;
}
#fNaviList ul.bottomListL li {
  background: url(/common/images/icon_head_list.png) no-repeat 1px center;
  padding: 0 0 0 1em;
  margin-right: 25px;
}
#fNaviList ul.bottomListR {
  text-align: right;
}
#fNaviList ul.bottomListR li p {
  width: 145px;
  background: #fff;
  border: 2px #e6e6e6 solid;
  border-radius: 5px;
  text-align: center;
  padding: 7px 0;
  position: relative;
}
#fNaviList ul.bottomListR li p:after {
  content: "";
  width: 1em;
  height: .9em;
  position: absolute;
  background: url(/common/images/icon_blank.png) no-repeat center;
  top: 2px;
  right: 3px;
}
#fNaviList ul.bottomListR li a:hover {
  text-decoration: none !important;
}
#fNaviList ul.bottomListR li a:hover p {
  opacity: .7;
}

@media print, screen and (min-width:769px) and (max-width:1020px) { /* PC 中間サイズ調整 */
	#fNaviList > div > dl {
		width: 30%;
		margin-right: 5% !important;
		box-sizing: border-box;
	}
	#fNaviList > div > dl:nth-child(3n) {
		margin-right: 0 !important;
	}
}

@media only screen and (max-width: 768px) {
	#footer {
		background: #fff
	}
	#fNaviListSP {
		margin-bottom: -2px
	}
	#fNaviListSP li {
		font-size: 1.7rem;
		font-size: 4.53vw;
		line-height: 2.25em;
		color: #4d4d4d;
		margin-bottom: 2px;
		padding-left: 2.3rem;
		padding-left: 6.13vw;
		background-color: rgba(204, 204, 204, .6);
		background-image: url(/common/images/icon_foot_list.png);
		background-repeat: no-repeat;
		background-position: right 1.7rem top 0;
		background-position: right 4.53vw top 0;
		background-size: contain
	}
	#fNaviListSP li a {
		color: #555;
	}
	#footerColumn {
		width: 100%;
		margin: 0 auto;
		padding: 6% 0 10%;
		text-align: center;
		line-height: 6vw;
		font-size: .9rem;
		font-size: 2.5vw;
	}
}

/* -------------------------------------------------
	pagetop
------------------------------------------------- */

#pagetop {
	width: 54px;
	position: fixed;
	z-index: 90;
	right: 20px;
	bottom: 20px;
	display: block;
}
#pagetop img {
	width: 100%;
	transition: opacity 0.3s ease-out;
}

@media print, screen and (min-width:769px) {
	#pagetop:hover img {
		opacity: 0.7;
	}
}

@media screen and (max-width:768px) {
	#pagetop {
		width: calc(54 / 640 * 100vw);
		right: 3vw;
		bottom: 8vw;
	}
}

/* -------------------------------------------------
	animation
------------------------------------------------- */

.anim {
	transform: translateY(100px);
	opacity: 0;
	transition: all 0.8s cubic-bezier(0.78, .18, .34, .98);
}
.anim.to-left {
	transform: translateX(100%);
}
.anim.to-right {
	transform: translateX(-100%);
}
.anim.to-bottom {
	transform: translateY(-100%);
}

.anim.delay01 { transition-delay: 0.1s; }
.anim.delay02 { transition-delay: 0.2s; }
.anim.delay03 { transition-delay: 0.3s; }

.anim.delay10 { transition-delay: 1s; }
.anim.delay15 { transition-delay: 1.5s; }
.anim.delay20 { transition-delay: 2s; }
.anim.delay30 { transition-delay: 3s; }

.anim.on {
	opacity: 1 !important;
	transform: translateX(0) translateY(0) !important;
}

/* -------------------------------------------------
	responsive
------------------------------------------------- */

@media print, screen and (min-width:769px) {
	.pc-none,
	.sp_only {
		display: none !important;
	}
}

@media screen and (max-width:768px) {
	.sp-none,
	.pc_only {
		display: none !important;
	}
}

/* -------------------------------------------------
	exchange
------------------------------------------------- */

.exchange {
	visibility: hidden;
}

/* -------------------------------------------------
	print
------------------------------------------------- */

@media print {
	body {
		width: 980px !important;
	}
}
