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

@media screen and (min-width:751px) {
/* ---------------------------------------------------------
#main
----------------------------------------------------------*/
#main {
  position: relative;
  width: 100%;
  height: 400px;
  text-align: center;
  color: #fff;
  background: url(../img/bg_main.png) repeat center top;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  margin-bottom: 60px;
}
h1 {
  position: absolute;
  top: 110px;
  left: 50%;
  margin-left: -495px;
}
#main p {
  position: absolute;
  top: 221px;
  left: 50%;
  font-size: 18px;
  font-weight: bold;
  text-align: left;
  color: #222;
  line-height: 1.8;
  margin-left: -490px;
}
#main .pic {
  position: absolute;
  top: 51px;
  left: 50%;
  margin-left: 135px;
}

  .pageNavi {
    display: flex;
    list-style: none;
    width: 980px;
    margin: 0 auto 96px;
  }
  .pageNavi a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 329px;
    height: 100px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    color: #e6132d;
    background: url(../img/icon_arrow.png) no-repeat 278px center;
    text-align: center;
    border: 3px solid #e6132d;
    border-left: none;
    padding-right: 24px;
    box-sizing: border-box;
  }
  .pageNavi li:first-child a {
    border-left: 3px solid #e6132d;
  }

  .txt-min {
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  }
  #sec1,#sec2,#sec3 {
    position: relative;
    width: 980px;
    padding: 40px 0 140px;
    margin: 0 auto;
    border-bottom: 1px solid #ddd;
  }
  #sec2,
  #sec3 {
    padding-top: 140px;
  }
  #sec3 {
    margin-bottom: 160px;
  }

  #sec1 h2,
  #sec2 h2,
  #sec3 h2 {
    position: relative;
    font-size: 55px;
    color: #0d2872;
    margin-bottom: 20px;
    z-index: 2;
  }
  #sec1 h2 .txt-min,
  #sec2 h2 .txt-min,
  #sec3 h2 .txt-min {
    font-size: 44px;
  }
  #sec1 h2 .txt-min.txt-big,
  #sec2 h2 .txt-min.txt-big,
  #sec3 h2 .txt-min.txt-big {
    font-size: 55px;
  }
  #sec1 p,
  #sec2 p,
  #sec3 p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 23px;
  }
  #sec1 .pic,
  #sec2 .pic,
  #sec3 .pic {
    position: absolute;
    top: 0;
    left: 580px;
  }
  #sec2 .pic {
    top: 91px;
    left: 578px;
  }
  #sec3 .pic {
    top: 67px;
    left: 578px;
  }


  #sec1 .btn a,
  #sec2 .btn a,
  #sec3 .btn a {
	position: relative;
	display: -webkit-flex; /* Safari */
	display: flex;
	-webkit-justify-content: center; /* Safari */
	justify-content: center;
	-webkit-align-items: center; /* Safari */
	align-items: center;
	width: 260px;
	height: 48px;
	color: #fff;
	font-size: 16px;
  font-weight: 500;
	background-color: #fff;
	letter-spacing: 1px;
	border: 2px solid #e6132d;
	border-radius: 5px;
	z-index: 2;
	overflow: hidden;
}
#sec1 .btn a:hover,
#sec2 .btn a:hover,
#sec3 .btn a:hover {
	color: #e6132d;
	text-decoration: none;
}


}

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

/* ---------------------------------------------------------
#main
----------------------------------------------------------*/
#main {
  position: relative;
  width: 100%;
  height: 200px;
  text-align: center;
  color: #fff;
  background: url(../img/bg_main.png) repeat center top;
  background-size: 13px auto;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  margin-bottom: 30px;
}
h1 {
  width: 235px;
  padding: 38px 0 0;
  margin: 0 0 9px 20px;
}
  h1 img,
  #main .pic img {
    width: 100%;
    height: auto;
  }
#main p {
  font-size: 11px;
  font-weight: bold;
  text-align: left;
  color: #222;
  line-height: 1.5;
  margin-left: 20px;
}
#main .pic {
  position: absolute;
  top: 45px;
  right: 13px;
  width: 161px;
}

  .pageNavi {
    display: flex;
    list-style: none;
    width: 100%;
    padding: 0 4vw;
    margin: 0 auto;
    box-sizing: border-box;
  }
  .pageNavi li {
    width: 33.3%;
  }
  .pageNavi a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.25;
    color: #e6132d;
    background: url(../img/icon_arrow.png) no-repeat 96% center;
    background-size: 12px auto;
    text-align: center;
    border: 2px solid #e6132d;
    border-left: none;
    padding-right: 2px;
    box-sizing: border-box;
  }
  .pageNavi li:first-child a {
    border-left: 2px solid #e6132d;
  }

  
  .txt-min {
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    font-weight: normal;
  }
  #sec1,#sec2,#sec3 {
    position: relative;
    width: 100%;
    padding: 40px 4vw 50px;
    margin: 0 auto;
    border-bottom: 1px solid #ddd;
    box-sizing: border-box;
  }
  #sec2,
  #sec3 {
    padding-top: 50px;
  }
  #sec3 {
    margin-bottom: 90px;
  }

  #sec1 h2,
  #sec2 h2,
  #sec3 h2 {
    position: relative;
    font-size: 30px;
    color: #0d2872;
    text-align: center;
    margin-bottom: 20px;
    z-index: 2;
  }
  #sec1 h2 .txt-min,
  #sec2 h2 .txt-min,
  #sec3 h2 .txt-min {
    font-size: 24px;
  }
  
  #sec1 .wrapper,
  #sec2 .wrapper,
  #sec3 .wrapper{
    display: flex;
    margin-bottom: 20px;
  }
  #sec1 h2 .txt-min.txt-big,
  #sec2 h2 .txt-min.txt-big,
  #sec3 h2 .txt-min.txt-big {
    font-size: 30px;
  }
  #sec1 .txt,
  #sec2 .txt,
  #sec3 .txt {
    width: 54.3%;
    margin-right: 2.9%;
  }
  #sec1 p,
  #sec2 p,
  #sec3 p {
    font-size: 13px;
    line-height: 1.5;
    text-align: justify;
  }
  #sec1 .pic,
  #sec2 .pic,
  #sec3 .pic {
    width: 43%;
  }
  #sec1 .pic img,
  #sec2 .pic img,
  #sec3 .pic img {
    width: 100%;
    height: auto;
  }
  #sec2 .pic {
  }
  #sec3 .pic {
  }

  #sec1 .btn a,
  #sec2 .btn a,
  #sec3 .btn a {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 56vw;
    height: 10.6vw;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    border: 2px solid #e6132d;
    border-radius: 4px;
    margin: 0 auto;
  }
}

@media screen and (max-width:320px) {
  .box-people .interview .pic {
    width: 45.6vw;
    height: 165px;
  }
}
