@charset "utf-8";

/* =============================================
	guidance index.aspx
============================================= */
#index_header #main_ttl h1{
  padding: 0 35px;
  background-image: url(/nikken/img/bg_n.svg), url(../img/header_bg.jpg);
  background-position: right -5% center, center center;
  background-size: auto 100%, cover;
  color: #fff;
}

/* 講座一覧 */
.course__ttl{
  margin: 50px 0 10px;
  padding: 13px 0 13px;
  background-color: var(--bg-color-light);
  color: #546277;
  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
}

ul + h3{
  margin-top: 50px;
}

.menulist{
  display: grid;
  justify-content: center;
  gap: 0 20px;
  flex: 1;
  grid-template-columns: repeat(1, 1fr);
}
.menulist li {
  margin: 0 ;
  padding: 5px 0 ;
  border-bottom: 1px solid #dfe2e6;
  display: flex;
  align-items: center;
}
.menulist li a{
  padding: 0 6em 0 0;
  font-size: 1.6rem;
  display: block;
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.menulist li a:hover{
  text-decoration: underline;
}
.menulist li a::before{
  content: ' ';
  margin: 0 5px 0 0;
  width: 5px;
  height: 5px;
  border-top: 1px solid #1b314f;
  border-left: 1px solid #1b314f;
  transform: rotate(135deg);
}
.menulist li .course-g{
  margin: 5px 0 0;
  width: 100%;
}
.menulist li .course-g a{
  margin: 0 0 5px;
  padding: 0 6em 0 0;
 width: 100%;

}
.course_list_cont{
  margin: 70px 0 0;
}
.course_list_cont a:after{
  content: ' ';
  overflow: hidden;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 7.5em;
  height: 24px;
  background-repeat: no-repeat;
  background-size: 62px 144px;
  border: 1px solid var(--nikken-red);
  font-size: 1.2rem;
  text-align: center;
  padding: 3px;
  line-height: 1.4;
}
.course_list_cont a:hover{
  opacity: 0.7;
}

.menulist a.kokka:after{
  content: '国家資格';
  color: var(--nikken-red);
}
.menulist a.kouteki:after{
  content: '公的資格';
  border: 1px solid #8e7b3e;
  color: #8e7b3e;
}
.menulist a.minkan:after{
  content: '民間資格';
  border: 1px solid #63168d;
  color: #63168d;
}
.menulist a.jitsumu:after{
  content: '実務・スキル';
  border: 1px solid #bd5703;
  color: #bd5703;
}
.menulist a.hote:after{
  content: '法定講習';
  border: 1px solid #17009b;
  color: #17009b;
}
.menulist a.skillup:after{
  content: '公的職業訓練';
  border: 1px solid #004d1a;
  color: #004d1a;
}


/* デジタルパンフレットリンク */
.top_pamphlet_btn{
  margin: 70px 15px 15px;
}
.top_pamphlet_btn a{
  margin: 0 auto;
  padding: 25px ;
  display: block;
  width: 400px;
  text-align: center;
  transition: all 0.2s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.7rem;
}
.top_pamphlet_btn a:hover{
  opacity: 0.8;
}


/* 教育訓練給付金 指定講座 */
.kyufu_info{
  margin: 100px auto 70px;
  padding: 40px 50px;
  border: 1px solid #ccc;
}
.kyufu_info h4{
  margin: 40px 0 20px;
}
.kyufu_info p{
  margin: 10px 0;
}
table + ul{
  margin-top: 10px;
}

.table_decimal{
  counter-reset: li;
}
.table_decimal ol{
  padding-left: 0;
}
.table_decimal ol li{
  margin-bottom: 5px;
  padding-left: 2.5em;
  position: relative;
  line-height: 1.3;
}
.table_decimal li:before{
  content: '（'counter(li) '）';
  margin: 0 5px 0 0;
  padding: 0;
  display: block;
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: 0;
  width: 1.8em;
  text-align: center;
  counter-increment: li;
}
.course_name{
  width: 25%;
}

/*****
ページ内ナビ
*****/
.other_nav{
	font-size: clamp(1.45rem,1.55vw,1.55rem);
}
.other_nav_link{
	margin-bottom: 0.5em;
}
.other_nav_link a{
	display: block;
	text-align: center;
	padding: 0.5em 1em;
	border: 1px solid var(--line-light);
	border-radius: 0.5em;
}


/* ===========================================
	MediaQueries
=========================================== */

/* スマホ----------------------------- */
@media screen and (max-width: 767px){
  /* 講座一覧 */
  .category_cont,
  #study,
  #study .menulist,
  #nik-g,
  #study div{
    margin: 20px 0 0 0;
    float: none;
    width: 100%;
  }
  #study .menulist{
    margin: 0;
  }

  /* ボトム */
  .video_step li h5 span{
    display: block;
    width: 5em;
  }

  /* デジタルパンフレットリンク */
  .top_pamphlet_btn{
    margin: 25px 0 25px;
  }
  .top_pamphlet_btn a{
    box-sizing: border-box;
    width: 100%;
  }

  /* 教育訓練給付金 指定講座 */
  .kyufu_info{
    margin: 20px 0 10px;
    padding: 15px;
    border: 1px solid #ccc;
  }
}

/* PC----------------------------- */
@media screen and (min-width: 768px){
  .ttl_lv1{
    margin-top: 20px;
  }
  .menulist{
    grid-template-columns: repeat(2, 1fr);
    gap: 0 50px;
  }
	
	/*****
	ページ内ナビ
	*****/
	.other_nav{
		display: flex;
		justify-content: center;
	}
	.other_nav_link{
		width: 30%;
		margin: 0 1% 0.5em 1%;
	}
	.other_nav_link a{
		display: flex;
		justify-content: center;
		align-items: center;
		transition: background 0.5s;
	}
	.other_nav_link a:hover{
		background-color: var(--bg-color-light2);
	}
}
@media screen and (min-width: 1024px){
  .menulist{
    grid-template-columns: repeat(3, 1fr);
    gap: 0 50px;
  }
}
