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

.contents{
  margin-top:70px;}

/* ================================================== */
/* 共通 */
/* ================================================== */


/* トップ画像 */
#top-img{
	background-image: url(../img/education/top.jpg);
  background-position: left top;
}

#top-img .diagonal {
 height: auto; }


#top-img .title h2 {
    line-height: 0.9;
}

#top-img .title p {
  margin-top:15px;
}


@media screen and (max-width: 896px){
#top-img .title-wrap {
    bottom: -75px;
}
}

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

#top-img{
	background-image: url(../img/education/top_sp.png);
}

#top-img {/* タイトルが2行の場合のみ */
    margin-bottom: 180px;}

#top-img .title-wrap {/* タイトルが2行の場合のみ */
    bottom: -120px;}
}



h3{
  font-size:4.5rem;
  line-height: 1.4;
  margin-bottom:20px;}

h3 .subtitle{
  font-size:2.2rem;
  display: block;}

h4{
  font-size:2.7rem;}

.marker_bk{
	background:linear-gradient(transparent 0%, transparent 20%, #000 20%, #000 78%, transparent 78%);
  color:#FFF;
  padding:0 20px 0 10px;
}

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

h3{
  font-size:3.8rem !important;}

h3 .subtitle{
  font-size:1.8rem !important;}

h4{
  font-size:2.2rem;}


}



/* ================================================== */
/* intro */
/* ================================================== */

.intro{
  margin:0 auto 90px;}

.intro .textwrap{
  width:45%;
  margin-left:5%;}

.intro .imgwrap{
  width:45%}

.intro .catch{
  font-size:20px;
  margin-bottom:20px;}

.intro .kenshu{
  width: 80%;
  min-width: 300px;
  max-width: 460px;
  margin: 30px 0 0;
  }
.intro .kenshu a{
  display: block;
  color: #FFF;
  padding-top: 36.8983%;
  }
.intro .kenshu a:after {
  background-image: url(../img/education/intro_kensyu.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  }
.intro .kenshu a:hover:after {
  opacity: 0.5;
  }
.intro .kenshu a .bg-zoom-content p{
  white-space: nowrap;
  }
.intro .kenshu a .bg-zoom-content p:after{
  position: relative;
  display: inline-block;
  content: url(../img/common/link_blank_wh.svg);
  bottom: -3px;
  margin-left: 10px;
  }
@media screen and (max-width: 896px) {

.intro .textwrap{
  width:100%;
  margin-left:0;
  margin-bottom:50px;}

.intro .imgwrap{
  width:100%}

.intro .kenshu{
  margin: 30px auto 0;
  }

}


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

.intro{
  margin:0 auto 60px;}

.intro .kenshu{
  margin-top: 30px;
  width: 100%;
  min-width: 0;
  }

}
/* ================================================== */
/* pran */
/* ================================================== */

#plan{
  position:relative;
  text-align:center;
  padding:0 0 200px;}

#plan::before{
    content: '';
    width: 100%;
    height : -webkit-calc(100% - 30px) ;
    height : calc(100% - 30px);
    background: #E5E5E5;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index:-1;}

#plan .subwrap p{
  margin-bottom:50px;}


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

#plan{
  padding:0 0 120px;}

}

/* ================================================== */
/* training */
/* ================================================== */

#training{
  margin-top:-70px;}

#training h4{
  text-align:center;
  margin-bottom:50px;}

.new,
.second{
  padding:50px 0;}

.new .subwrap > div,
.second .subwrap > div{
  width:22%;}

.new .subwrap .title,
.second .subwrap .title{
  font-size:1.8rem;
  margin:10px 0;
  white-space: nowrap;}

.new .subwrap .title.space::after,
.second .subwrap .title.space::after{
    content: '　';
    display:block;
  }

/* タブメニュー */
#tab_menu {
  position:relative;
	width: 100%;
  max-width:650px;
  margin:0 auto;
}

#tab_menu li{
  position:relative;
	width: 163px;
	padding: 10px 0;
	text-align: center;
	cursor: pointer;
	color: #fff;
  align-self: flex-end;
  vertical-align: bottom;
  transition: ease .2s;
  font-size:2.0rem;
}

#tab_menu li.selected {
  padding: 10px 0 20px;}
  

#tab_menu li:hover {
  padding: 10px 0 20px;
  opacity: 0.5;
}

/* タブcontents */
.tab_panel{
  padding-top:30px;}

.tab_panel h3{
  position:absolute;
  top:0;
  left:0;}


/* ===== 部門ごとのカラー指定 ===== */

#tab_menu li:nth-of-type(1){background: #1686D8;}
#tab_menu li:nth-of-type(2){background: #E58F65;}
#tab_menu li:nth-of-type(3){background: #5DD39E;}

.tab_panel.rail { border-top:solid 19px #1686D8;}
.tab_panel.rail .second{background-color:#dcedf9;}

.tab_panel.eng { border-top:solid 19px #E58F65;}
.tab_panel.eng .second{background-color:#fbeee8;}

.tab_panel.con { border-top:solid 19px #5DD39E;}
.tab_panel.con .second{background-color:#e7f8f1;}


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

.new .subwrap > div,
.second .subwrap > div{
  width:47%;
  margin-bottom:20px;}

#tab_menu {
	max-width: 100%;
}

#tab_menu li{
	width: 33.333333%;
}

/* タブcontents */
.tab_panel{
  padding-top:0;}

}

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


.new .subwrap > div,
.second .subwrap > div{
  width:100%;
}

.new .subwrap > div:not(:last-child),
.second .subwrap > div:not(:last-child){
  margin-bottom:40px;
}

.new .subwrap .title.space::after,
.second .subwrap .title.space::after{
    content: '　';
    display: none;
  }

/* タブメニュー */

#tab_menu li{
  font-size:1.8rem;
}

}

/* ================================================== */
/* OJT（大鉄工業のOJT） */
/* ================================================== */

#ojt{
  padding-top:100px;}


#ojt h3{
  text-align:center;
  font-size:4.5rem;
  line-height: 1.4;
  margin-bottom:40px;}

#ojt h3 .subtitle{
  font-size:2.0rem;
  display: inline-block;
  color:#FFF;
  margin-left:20px;
  position:relative;
  top:-10px;}

#ojt .subwrap{
  flex-direction: row-reverse;
  align-items: center;
  margin-left:0;}

#ojt .textwrap{
  position:relative;
  width:40%;}

#ojt .imgwrap{
  width:55%;}

#ojt .catch{
  font-size:20px;
  margin-bottom:20px;}

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

#ojt .textwrap{
  width:100%;
  margin-bottom:50px;}

#ojt .imgwrap{
  width:100%;}

}

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

#ojt{
  padding-top:60px;}

}


/* ================================================== */
/* リンクエリア（※基本設定はstyleに記述） */
/* ================================================== */

#linkarea::after{
  background-image:url(../img/education/linkarea_bg.jpg);
	background-position: left top;
  }

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

#linkarea:after{
  background-position: 22% top;
  }
}

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

#linkarea:after{
  background-image:url(../img/education/linkarea_bg_sp.png);
  background-position: center;
  }
}



/* ================================================== */
/* アニメエフェクト */
/* ================================================== */

/* 研修 */
.edu-ani01.active .popstyle1{
	animation: b-fadein .7s both;
}
.edu-ani01.active .popstyle2{
  animation: b-fadein .7s both;
}
.edu-ani01.active .popstyle3{
  animation: b-fadein .7s both;
}
.edu-ani01.active .popstyle4{
  animation: b-fadein .7s both;
}

.edu-ani01.active .pop_01{
  animation-delay: 0.10s;
}
.edu-ani01.active .pop_02 {
  animation-delay: 0.20s;
}
.edu-ani01.active .pop_03 {
  animation-delay: 0.30s;
}
.edu-ani01.active .pop_04 {
  animation-delay: 0.40s;
}

