@charset "utf-8";
/* CSS Document */


/*タイトルのラインカラー*/
.title-word {
	border-color: #00A896;
}

/*タブラベル*/
.materials_tab_outer {
    display: flex;
    padding-top: 60px;
    max-width: 950px;
	width: 100%;
	margin: 0 auto;
}
	@media(max-width: 960px) {
		.materials_tab_outer {
			padding-top: 40px;
		}
	}
/* ※tabが複数になった際に使用。
.materials_tab:hover {
	opacity: 0.6;
}
*/

.materials_tab {
    color: #4a90e2;
    font-weight: bold;
    border: solid 2px #4a90e2;
    position: relative;
    z-index: 1;
    cursor: pointer;
    flex: 1;
    padding: 15px 0px;
    margin: 10px 5px;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15.2px;
	font-family: "NotoSansJP Regular", "源ノ角ゴシック Code JP M";
}

.materials_tab p {
    color: #4a90e2;
}

.tab_checked {
    background-color: #4a90e2;
}

.tab_checked p {
    color: #fff;
}

.tab_checked::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 10px 0 10px;
    border-color: #4a90e2 transparent transparent transparent;
    display: block;
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -10px;
    transition: all 0.3s ease 0s;
 }


/*アンカーリンク*/
.anchor-links {
	/*枠*/
	max-width: 1000px;
	width: 100%;
	margin: 0 auto;
	margin-top: 20px;
	/*フォント*/
	font-family: "NotoSansJP Regular", "源ノ角ゴシック Code JP M";
	font-size: 17px;
	font-weight: 500;
}

.anchor-links ul {
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
	margin: 0 20px;
}

.anchor-links ul li {
	width: 25%;
	margin-top: 5px;
}

.anchor-links ul li a {
	display: inline-block;
	width: 90%;
	border-bottom: solid 2px #f0f2ee;
	padding-left: 5px;
	padding-top: 10px;
	padding-bottom: 2px;
	color: black;
	/*矢印*/
	background-image: url("../../img/next_icon.png");
	background-repeat: no-repeat;
	background-position: right bottom;
	background-size: 21px auto;
}

.anchor-links ul li a:hover {
	background-color: #f2f2f2;
	background-size: 24px auto;
	border-color: #a1a1a1;
}


/*大枠*/

main {
	display: block;
	line-height: 1;
	/*margin: 20px 10px;*/
}

.materials {
	margin: 30px 0 0 0;
	padding-bottom: 50px;
	/*background-color: #fffefc;*/
}

section {
	display: flex;
	flex-wrap: wrap;
	max-width: 930px;
	width: 100%;
	padding-top: 40px;
	margin: 0 auto;
}

section:first-child {
	padding-top: 20px;
}

section:hover {
	background-color: #fcfcff;
}


/*アイテム見出し*/

h3 {
	width: 19%;
	font-family: "NotoSansJP Regular", "源ノ角ゴシック Code JP M";
}

h3 p {
	text-align: center;
	margin-right: 20px;
	padding: 5px 5px;
	font-size: 16px;
	border-right: 5px solid #4a90e2;
	border-left: 5px solid #4a90e2;
}

h3 p span {
	display: inline-block;
	font-weight: normal;
	font-size: 14px;
	margin-top: 3px;
	font-family: "UD デジタル 教科書体 NK-R", "MPLUSRounded1c-Regular", "NotoSansJP Regular", "源ノ角ゴシック Code JP M";
}



/*--リスト--*/
/*リスト外枠*/

.mate-list {
	width: 81%;
}

.mate-list ul {
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
    margin-inline-start: 0;
    margin-inline-end: 0;
	color: black;
	width: 100%;
	padding-bottom: 20px;
	position: relative;
}

.mate-list ul::after {
	position: absolute;
	content: "";
	background-color: lightgray;
	width: 98%;
	height: 1px;
	bottom: -0px;
	left: 0%;
}

/*アイテム*/

.mate-list ul li{
	text-align: center;
	width: 23%;
	display: block;
	margin-inline-end: 2%;
}


/*アイテムimg*/

.img {
	height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mate-list ul li img {
	max-width: 100%;
	height: auto;
	max-height: 200px;
	border: solid 1px #525252;
}

/*説明*/

.num {
    margin: 15px 0 15px 0;;
	font-size: 0.9em;
    font-weight: bold; 
    font-family: "NotoSansJP Regular", "源ノ角ゴシック Code JP M";
	color: #4A78B8;
}

.expla {
	font-size: 0.8em;
	font-family: "NotoSansJP Regular", "源ノ角ゴシック Code JP M";
	text-align: center;
}

.expla a {
	display: inline-block;
	text-align: left;
	color: #525252;
}

/*リンク*/

.num a {
	
}

.hover-a:hover {
	text-decoration: underline;
	text-decoration-color: #0099ff;
	font-weight: bold;
}

.img:hover {
	opacity: 0.7;
}

/* アイテムがないときの表記 */
.no-material {
    text-align: center;
}


@media (max-width: 960px)/*minは750*/{
	.anchor-links {
		max-width: 800px;
		margin-top: 10px;
		font-size: 15px;
	}
	
	.anchor-links ul li a {
		background-size: 19px auto;
	}
	
	.anchor-links ul li a:hover {
		background-size: 22px;
	}
    
    .materials_tab_outer {
        max-width: 800px;
    }
	
/*sectionのflex解除。縦並びレイアウト*/
	section {
		display: block;
		max-width: 750px;
		margin: 0 auto;
	}
	
	h3 {
		width: 19%;
		margin-left: 10px;
	}
	
	h3 p {
		margin-right: 0;
	}
	
	.mate-list {
		width: 90%;
		margin: 0 auto;
		margin-top: 20px;
	}
}

@media (max-width: 750px){
/*アンカーリンク*/
	.anchor-links {
		font-size: 14px;
	}
	
	.anchor-links ul li {
	    width: calc(100%/3);
    }
	
	.anchor-links ul li a {
		background-size: 18px auto;
	}

	.mate-list {
		width: 95%;
	}
	
	h3 {
		width: 125px;
	}
	
	.img {
		height: 150px;
	}
	
	.mate-list ul li img {
		max-height: 150px;
	}
	
	.num {
	    font-size: 14px;
    }

    .expla {
	    font-size: 12px;
    }
	
	.expla a {
		color: black;
	}
}


@media (max-width: 480px){
/*アンカーリンク*/
	.anchor-links {
		font-size: 12px;
	}
	
	.anchor-links ul li a {
		background-size: 16px auto;
	}
	
	.anchor-links ul li a {
		width: 97%;
		padding-left: 3px;
	}
	
	.anchor-links ul li a:hover {
		background-size: 19px;
	}
	
	h3 p {
		font-size: 14px;
	}
	
	.img {
		height: 130px;
	}
	
	.mate-list ul li img {
		max-height: 130px;
	}
	
	.num {
	    font-size: 12px;
    }

    .expla {
	    font-size: 11px;
    }
}

@media (max-width: 425px){
	.anchor-links {
		font-size: 15px;
	}
	
	.anchor-links ul li {
	    width: calc(100%/2);
    }
	
	.anchor-links ul li a {
		background-size: 20px auto;
		width: 90%;
		padding-left: 5px;
	}
	
	.anchor-links ul li a:hover {
		background-size: 23px;
	}
}







