@charset "UTF-8";

/*-----------------------------------

	headline

-----------------------------------*/

#headline {
    background: #fcf0da;
	height:160px;
	margin-bottom: 25px;
}
#headline h2 {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    font-size: 24px;
    height: 1em;
    color: #4d4d4d;
    left: 0;
    right: 0;
    text-align: center;
	line-height: 1em;
}

@media screen and (max-width: 640px) {
	#headline {
		height: 100px;
	}
	#headline h2 {
		font-size: 16px;
	}
    
}

/*-----------------------------------

	kodomo_wrap

-----------------------------------*/
.h4_title {
	font-size: 18px;
	line-height: 200%;
	font-weight: 700;
	float:left;
}
.pamphlet {
	float:right;
    border: 2px solid #ec7832;
    border-radius: 5px;
    padding: 5px 20px;
    color: #ec7832 !important;
    font-size: 14px;
    font-weight: 800;
    padding-left: 30px;
    position: relative;
}
.pamphlet:before {
    position: absolute;
    left: 10px;
    margin: auto;
    content: '\f1c1';
    font-family: "font awesome 5 free";
    font-weight: 900;
    color: #ec7832;
}
.pamphlet:hover {
    opacity: 0.7;
}
section {
    padding-bottom: 50px;
}
.gray_wrap {
	background:#f4f3ef;	
	border-radius: 10px;
	padding: 20px;
	margin-top: 20px;
}
.link_btn_prev {
	float:left;
	display: block;
    width: 160px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    color: #fff !important;
	padding: 15px 0 15px 15px;
	margin: 15px auto;
	background:#ec7832;
    background-position: 86% center;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;	
	position:relative;
	z-index:0;
}
.link_btn_next {
	float:right;
	display: block;
    width: 160px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    color: #fff !important;
	padding: 15px 15px 15px 0;
	margin: 15px auto;
	background:#ec7832;
    background-position: 86% center;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;	
	position:relative;
	z-index:0;
}
.link_btn_prev:before {
  	position: absolute;
    top: 30%;
    left: 20px;
    content: '\f100';
    font-family: "font awesome 5 free";
    font-weight: 900;
    color: #fff;
}
.link_btn_next:before {
  	position: absolute;
    top: 30%;
    right: 20px;
    content: '\f101';
    font-family: "font awesome 5 free";
    font-weight: 900;
    color: #fff;
}
.link_btn_prev:hover,
.link_btn_next:hover {
	opacity:0.8;
}
#kodomo_wrap .under-main-mv {
	text-align: center;
	display:block;
	margin:0 auto;	
}
#kodomo_wrap .gray_wrap .table_c{
	margin:0 0 20px 0;
}
#kodomo_wrap .gray_wrap ul li {
    width: 100%;
    margin-bottom: 5px;
	counter-increment: number; 
}
#kodomo_wrap .gray_wrap ul li a {
    display: block;
    background: #fff;
    padding: 20px 20px 20px 60px;
    border-radius: 5px;
    line-height: 1;
    position: relative;
    letter-spacing: 0;
    font-size: 14px;
    transition: 0.2s;
    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    -o-transition: 0.2s;
    -ms-transition: 0.2s;
}
#kodomo_wrap .gray_wrap ul li a::before {
	content: counter(number);
    position: absolute;
    counter-increment: item;
    font-weight: 400;
    display: block;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    background: #ec7832;
    color: #fff;
    border-radius: 50%;
    top: 0;
    bottom: 0;
    left: 10px;
    margin: auto;
}
#kodomo_wrap .gray_wrap ul li a::after {
	position: absolute;
    top: 35%;
    right: 20px;
    content: '\f101';
    font-family: "font awesome 5 free";
    font-weight: 900;
    color: #999999;
}
#kodomo_wrap .gray_wrap ul .here a::after {
	display:none;	
}
#kodomo_wrap .gray_wrap ul li a:hover {
    background: #fcf0da;
}

@media screen and (max-width: 640px) {
	
	.link_btn_prev,
	.link_btn_next {
		width:49%;
	}
}

/*-----------------------------------

	kodomo

-----------------------------------*/
/*-- index --*/
.under-main {
	border: #f9b367 4px solid;
	padding-bottom: 30px;
	box-sizing: border-box;
}
.under-tab {
	overflow:hidden;
}
.under-tab ul.cont8 li {
    width: 91px;
}
.under-tab ul li {
    width: 105px;
    height: 58px;
    margin-right: 2px;
    float: left;
}
.under-tab ul.cont8 li a {
    width: 91px;
}
.under-tab ul li a.under-tab-page1:hover, body.under-keikoku-tab1 .under-tab ul li a.under-tab-page1, body.under-use-tab1 .under-tab ul li a.under-tab-page1, body.under-oteire-tab1 .under-tab ul li a.under-tab-page1 {
    background-position: 0 -58px;
}
body.under-use .under-tab ul.cont8 li a {
    background-image: url(../img/kodomo/tab-bg.png);
}
.under-tab ul.cont8 li a.under-tab-page2:hover, body.under-use-tab2 .under-tab ul.cont8 li a.under-tab-page2 {
    background-position: -93px -58px;
}
.under-tab ul.cont8 li a.under-tab-page2 {
    background-position: -93px 0;
}
.under-tab ul.cont8 li a.under-tab-page3:hover, body.under-use-tab3 .under-tab ul.cont8 li a.under-tab-page3 {
    background-position: -187px -58px;
}
.under-tab ul.cont8 li a.under-tab-page3 {
    background-position: -187px 0;
}
.under-tab ul.cont8 li a.under-tab-page4:hover, body.under-use-tab4 .under-tab ul.cont8 li a.under-tab-page4 {
    background-position: -281px -58px;
}
.under-tab ul.cont8 li a.under-tab-page4 {
    background-position: -281px 0;
}
.under-tab ul.cont8 li a.under-tab-page5:hover, body.under-use-tab5 .under-tab ul.cont8 li a.under-tab-page5 {
    background-position: -375px -58px;
}
.under-tab ul.cont8 li a.under-tab-page5 {
    background-position: -375px 0;
}
.under-tab ul.cont8 li a.under-tab-page6:hover, body.under-use-tab6 .under-tab ul.cont8 li a.under-tab-page6 {
    background-position: -468px -58px;
}
.under-tab ul.cont8 li a.under-tab-page6 {
    background-position: -468px 0;
}
.under-tab ul.cont8 li a.under-tab-page7:hover, body.under-use-tab7 .under-tab ul.cont8 li a.under-tab-page7 {
    background-position: -562px -58px;
}
.under-tab ul.cont8 li a.under-tab-page7 {
    background-position: -562px 0;
}
.under-tab ul.cont8 li a.under-tab-page8:hover, body.under-use-tab8 .under-tab ul.cont8 li a.under-tab-page8 {
    background-position: -656px -58px;
}
.under-tab ul.cont8 li a.under-tab-page8 {
    background-position: -656px 0;
}

.under-tab ul li a {
    display: block;
    width: 105px;
    height: 58px;
    margin-bottom: 5px;
    background-position: 0 0;
    background-repeat: no-repeat;
    overflow: hidden;
    text-indent: -500px;
}

h3 {
	width:686px;
	margin: 18px auto 0 auto;	
}
.under-main-inner {
	width: 686px;	
	margin:0 auto;
}
.under-main-mv {
	display:block;
	margin: 30px auto;	
	text-align:center;
}
.under-main-list {
	margin-top: 30px;
    padding: 15px;
    background: url(../img/page/under-list_bg.png);	
}
.under-main-list-title {
	height: 36px;
    margin-top: 0;
    padding-top: 10px;
    padding-left: 35px;
    background: url(../img/page/common-link-finger.png) left center no-repeat;
}
.under-main-list ul li {
    margin-top: 10px;
    padding-left: 10px;
}
.under-main-list ul li a {
    margin-left: 5px;
    color: #3e3e37;
	text-decoration:underline;
}
.under-main-navi {
    margin-top: 35px;
}
.under-main-navi a.under-main-next {
    float: right;
}
.under-main-navi a.under-main-prev {
    float: left;
}
.under-main-navi a {
    display: block;
    width: 179px;
    height: 30px;
}
.under-main-catch {
    margin-top: 18px;
    line-height: 1.6em;
    color: #666666;
}
.under-child-tab1-cont {
    margin-top: 30px;
    border: 1px solid #c7bfb3;
    border-radius: 10px;
    background-color: #f9ecde;
    overflow: hidden;
}
.under-child-tab1-graph {
    width: 46%;
    margin: 13px 2%;
    padding: 10px 0;
    text-align: center;
    border: 3px solid #f9b367;
    border-radius: 10px;
    float: left;
    box-sizing: border-box;
    background-color: #FFFFFF;
}
.under-main-pdf {
    margin-top: 35px;
    padding-bottom: 30px;
    text-align: center;
}
.under-main-pdf {
    border-bottom: #f9b367 4px solid;
}
.under-main-totop {
    text-align: left;
    margin-top: 15px;
    padding-right: 20px;
}
.under-main-totop a,
.under-useful-link a {
    text-decoration: underline;
    color: #007ad0;
}
.under-main-totop a:hover,
.under-useful-link a:hover {
    color: #005c9d;
}

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

	h3,
	.under-main-inner {
		width:98%;	
	}
	.under-tab ul {
		overflow: hidden;
	}
	.under-tab ul.cont8 li,
	.under-tab ul.cont8 li a {
		width: 55px;
	}
	body.under-use .under-tab ul.cont8 li a {
		background-image: none;
	}
	.under-tab ul li {
		width: 12%;
		height: 25px;
		margin-right: 0.5%;
		float: left;
	}
	body.under-use-tab1 .under-tab ul li a.under-tab-page1, body.under-use-tab2 .under-tab ul li a.under-tab-page2, body.under-use-tab3 .under-tab ul li a.under-tab-page3, body.under-use-tab4 .under-tab ul li a.under-tab-page4, body.under-use-tab5 .under-tab ul li a.under-tab-page5, body.under-use-tab6 .under-tab ul li a.under-tab-page6, body.under-use-tab7 .under-tab ul li a.under-tab-page7,body.under-use-tab8 .under-tab ul li a.under-tab-page8 {
    background-color: #f9b367;
}
	.under-tab ul li a.under-tab-page1,
	.under-tab ul li a.under-tab-page2,
	.under-tab ul li a.under-tab-page3,
	.under-tab ul li a.under-tab-page4,
	.under-tab ul li a.under-tab-page5,
	.under-tab ul li a.under-tab-page1:hover,
	.under-tab ul li a.under-tab-page2:hover,
	.under-tab ul li a.under-tab-page3:hover,
	.under-tab ul li a.under-tab-page4:hover,
	.under-tab ul li a.under-tab-page5:hover{
		background-position: 0;	
	}
	.under-tab ul li a {
		display: block;
		width: 100%;
		height: 25px;
		margin-bottom: 5px;
		overflow: hidden;
		background-color: #d2d2d2;
		border-top-left-radius: 5px;
		border-top-right-radius: 5px;
		text-align: center;
		color:  #000000;
		font-weight: bold;
		text-decoration: none;
		background-image: none;
		text-indent: 0;
	}
	.under-tab ul li a:hover {
		background-color: #f9b367;	
	}
	.under-tab ul li.last {
		margin-right: 0;
	}
	
}
@media screen and (max-width: 640px) {
	
	h3 {
		width: 98%;
		margin: 5px auto 0 auto;
	}
	h3 img,
	.under-main-mv img,
	.under-main-navi a img{
		width: 100%;
	}
	.under-main-navi a {
		display: block;
		width: 120px;
	}
	.under-main-inner {
		width: 98%;
		margin: 0 auto;
	}
	.under-main-mv {
		margin-top: 5px;
	}
	.under-tab ul.cont8 li,
	.under-tab ul.cont8 li a {
		width: 37px;
	}
	.under-main-pdf-sp {
		display: none;
	}
}


/*-- page2～7 --*/
.under-main h4.under-main-tab-h4 {
    height: 60px;
    margin-top: 20px;
    padding: 0 50px;
    background: #f9b367;
}
.under-child-tab2-cont h5 {
    margin: 30px auto 15px auto;
}
.under-child-tab2-img01 {
    margin-bottom: 15px;
}
/*.under-child-tab2-img02 {
    margin-left: -25px;
}*/

@media screen and (max-width: 1100px) {
	
	.under-main h4.under-main-tab-h4 {
		height: auto;
		margin-top: 20px;
		padding: 0;
	}
	.under-main-inner {
		width: 98%;
		margin: 0 auto;
	}
	.under-use-tab2-title {
		margin-top: 40px;
	}
	.under-use-tab2-title img {
		width: 100%;
	}
	.under-use-tab2-cont {
		margin-top: 10px;
		overflow: hidden;
	}
	.under-use-tab2-text {
		width: 80%;
		float:none;
		margin: 0 auto;
		color: #000000;
		line-height: 1.4em;
		padding-top: 0;
    	padding-left: 0;
	}
	.under-use-tab2-img {
		width:100%;
		float:none;
		margin-top: 10px;
		text-align: center;
	}
}

/*-- page8 --*/

.under-child-tab8-cap {
    margin: 30px auto 15px auto;
}
.under-child-tab8-text {
    margin: 30px auto 15px auto;
    overflow: hidden;
}
.under-child-tab8-text .tab8-text {
    width: 52%;
}
.under-child-tab8-text img.tab8-img01 {
    width: 42%;
    float: right;
}
.under-child-tab8-mv {
    margin: 30px auto 15px auto;
}
.under-main h4 {
    margin-top: 40px;
}
h4.under-useful-title {
    padding-bottom: 10px;
}
.under-useful-link {
    margin-top: 15px;
}
.under-useful-link a {
    display: inline-block;
    margin-bottom: 10px;
    padding-right: 15px;
    background: url(../img/common/common-link-arrowright.png) right center no-repeat;
}

@media screen and (max-width: 640px) {
	
	.under-child-tab8-cap {
		margin: 30px auto 15px auto;
	}
	.under-child-tab8-cap img, .under-child-tab8-text img, .under-child-tab8-mv img {
		width: 100%;
	}
	.under-child-tab8-text {
		margin: 30px auto 15px auto;
		overflow: hidden;
	}
	.under-child-tab8-text .tab8-text {
		width: 70%;
		display: block;
		margin: 0 auto;
	}
	.under-child-tab8-text img.tab8-img01 {
		float:none;
		max-width: 217px;
		display: block;
		margin: 0 auto;
	}
	.under-child-tab8-mv {
		margin: 30px auto 15px auto;
	}
	
}