#s1 {
  margin-top: 90px;
}

.s1_top {
  margin: 0 auto;
  text-align: center;
}

.s1_top h1,
.s1_top h2 {
  text-indent: -9999px;
}

.s1_body {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
}

.s1_body p {
  font-size: 2.24rem;
  letter-spacing: 2.5px;
  line-height: 2;
  margin-top: 55px;
}

@media (width > 770px) {
  .s1_top {
    height: 700px;
    background-image: url(../img/main_l.png), url(../img/main_r.png);
    background-repeat: no-repeat, no-repeat;
    background-position: left center, right center;
  }

  .s1_top h1 {
    margin: 65px auto 45px auto;
    padding: 0;
    width: 486px;
    height: 87px;
    background: url(../img/logo.png) no-repeat;
  }

  .s1_top h2 {
    margin: 0 auto;
    padding: 0;
    width: 509px;
    height: 509px;
    background: url(../img/copy.png) no-repeat;
  }
}

@media (width < 770px) {
  .s1_top {
    padding: 0 0 115px 0;
    background: url(../img/res_main.png) no-repeat bottom center;
    background-size: contain;
  }

  .s1_top h1 {
    margin: 0 auto 60px auto;
    padding-top: 6%;
    background: url(../img/logo.png) no-repeat top center;
    background-size: contain;
  }

  .s1_top h2 {
    margin: 0 auto;
    padding-top: 80%;
    background: url(../img/res_copy.png) no-repeat center;
    background-size: contain;
  }

  .s1_body {
    padding: 40px 30px;
  }

  .s1_body p {
    font-size: 1.8rem;
    letter-spacing: 1.4px;
    text-align: left;
    margin-top: 60px;
  }
}

#s2 {
  background: #f0f3ff;
  padding: 50px 0;
  margin-top: 120px;
}

#s2 h2,
#s3 h2,
#s4 h2 {
  font-size: 2.4rem;
}

.s2_news_outer {
  width: 1100px;
  max-width: 100%;
  margin: 0 auto;
}

.s2_news {
  width: 100%;
  display: flex;
  align-items: center;
  align-content: center;
  flex: none;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
}

.s2_news h2 {
  width: 100%;
  text-align: left;
  margin-bottom: 20px;
}

.s2_news ul {
  width: 100%;
}

.news_w {
  border-bottom: 1px dashed #8ca7d9;
  max-width: 100%;
  display: flex;
  flex: none;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  padding: 15px 12px 15px 25px;
  position: relative;
  overflow: hidden;
  align-items: center;
  transition: color .5s ease;
}

.news_w:hover::before,.news_more:hover::before,.news_return:hover::before {
  transform: scaleY(1);
  transform-origin: top center;
}

.news_w::before,.news_more::before,.news_return::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: scaleY(0);
  transform-origin: bottom center;
  background-color: #c1d7ff;
  content: '';
  transition: all .5s ease-in-out;
  transition-property: transform;
  transition-timing-function: cubic-bezier(.19, 1, .22, 1);
}

.news_w:last-child {
  border-bottom: none;
}

.news_txt {
  text-align: center;
  line-height: 1.5;
  padding: 0 17px 0 0;
  border-right: 1px solid #13397d;
  font-size: 1.5rem;
  font-weight: 700;
  z-index: 1;
}

.new_d p.news_txt,.new_d .news_txt_out p {
  position: relative;
}

.news_link {
  display: flex;
  flex: 1;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  margin-left: 20px;
  text-decoration: none;
  z-index: 1;
}

.news_link p {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.8;
  margin: 0 13px 0 0;
  text-align: center;
}

.news_txt_out p {
  text-align: justify;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news_more,.news_return {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 35px;
  border: 1px solid #13397d;
  border-radius: 5px;
  transition: all .3s ease;
  position: relative;
}

.news_more a,.news_return a {
  display: block;
  border-radius: 5px;
  padding: 20px 70px 20px 40px;
  position: relative;
  z-index: 1;
  color: #13397d;
}

.news_more a::before,.news_return a::before {
  position: absolute;
  content: '';
  width: 10px;
  height: 10px;
  border: 2px solid;
  border-color: #13397d #13397d transparent transparent;
  transform: rotate(45deg);
  top: 43%;
  right: 42px;
}

@media (width > 770px) {
  .new_d .news_txt_out p::after {
    content: 'NEW';
    margin-left: 20px;
    color: #db1b1b;
  }
}

@media (width < 770px) {
  .s1_news {
    width: 100%;
    padding: 0 20px;
  }

  .s1_news ul {
    width: 100%;
  }

  #s2 {
    margin-top: 50px;
  }

  .s2_news_outer {
    padding: 0 20px;
  }

  .new_d p.news_txt::before {
    position: absolute;
    content: 'NEW';
    top: 0;
    right: 0;
    color: #db1b1b;
  }

  .news_w {
    display: block;
    padding: 25px 12px;
    z-index: 0;
  }

  .news_w::before {
    z-index: -1;
  }

  .news_txt_out p {
    width: 100%;
    white-space: normal;
  }

  .news_txt {
    border-right: none;
    border-bottom: 1px solid #888;
    padding: 0 0 5px 0;
    text-align: left;
  }

  .news_link {
    margin-left: 0;
    padding-top: 10px;
  }

  .news_link p {
    margin: 0;
  }
}

#s3 {
  max-width: 1100px;
  margin: 90px auto;
}

#s3 p {
  line-height: 2;
}

#s3 h2 {
  margin-bottom: 15px;
}

@media (width < 770px) {
  #s3 {
    width: 100%;
    padding: 0 20px;
    margin: 70px auto 100px;
  }
}

#s4 {
  background: #c1d7ff;
  background-image: url(../img/rec_r.png), url(../img/rec_l.png);
  background-position: right center, left center;
  background-repeat: no-repeat, no-repeat;
  padding: 40px 0;
}

.contents_box{
  width: 1100px;
  max-width: 100%;
  margin: 0 auto;
  padding: 30px 0 40px;
}

.contents_box h2 {
  margin-bottom: 15px;
}

#rec_btn {
  padding-top: 60px;
  margin: 0 auto;
  border-radius: 5px;
  font-weight: bold;
  letter-spacing: 2px;
  font-size: 3rem;
  text-align: center;
}

#rec_btn a {
  display: inline-block;
  border-radius: 10px;
  background: #1c52b1;
  background-position: bottom 30px center;
  transition: all .3s ease;
  color: white;
  position: relative;
  padding: 30px 90px 30px 50px;
}

#rec_btn a::before {
  position: absolute;
  content: '';
  width: 20px;
  height: 20px;
  border: 3px solid;
  border-color: #fff #fff transparent transparent;
  transform: rotate(45deg);
  top: 41%;
  right: 54px;
}

#rec_btn a:hover {
  background-color: #0e2144;
}

@media (width < 770px) {
  #s4 {
    padding: 90px 20px 90px 20px;
    background-image: url(../img/res_rec.png);
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  #rec_btn {
    width: 90%;
    height: 130px;
    padding-top: 15px;
    font-size: 2.4rem
  }

  #rec_btn a {
    padding: 35px 55px 20px 20px;
    width: 100%;
    height: 110px;
    background-size: 7%;
    font-size: 2.4rem;
    background-position: bottom 15px center;
  }

  #rec_btn a::before {
    right: 35px;
  }
}

/* other page common */
#wrapp_com,
#wrapp_com0 {
  margin-top: 100px;
}

#wrapp_com section {
  max-width: 100%;
  width: 1100px;
  margin: 0 auto 80px;
  padding: 0 50px;
}

.main_contents {
  width: 1100px;
  max-width: 100%;
  padding: 0 50px;
  margin: 50px auto 80px;
}

.main_contents h3,
.bosyu_syousai_fb h3,
.terms_box h3 {
  margin: 40px 0 20px 0;
  font-size: 2.5rem;
  padding: 0 0 10px 60px;
  border-bottom: 2px solid #13397d;
  background: url(../img/h2_cloud.png) no-repeat;
  background-position: top 6px left;
  letter-spacing: 1px;
  font-weight: 600;
}

#wrapp_com a,
#wrapp_com a:visited {
  color: #13397d;
}

#wrapp_com h2 {
  text-align: center;
}

.terms_box02 {
  margin: 50px 0 80px 0;
}

.terms_box02 {
  max-width: 100%;
  width: 1100px;
  margin: 0 auto;
  padding: 0 50px;
}

.terms_box p {
  margin-bottom: 10px;
  letter-spacing: .5px;
}

.terms_box h4 {
  color: #333;
  margin-bottom: 10px;
}

.terms_box h5 {
  font-size: 1.6rem;
}

.terms_box02 h5 {
  font-size: 2rem;
  margin-top: 50px;
  margin-bottom: 10px;
}

.terms_box h5,
.terms_box li {
  margin-bottom: 10px;
}

.term_p01 {
  padding-left: 2em;
  text-indent: -2em;
}

.term_p02 {
  margin-top: 30px;
}

.term_p03 li {
  padding-left: 1em;
  text-indent: -1em;
}

.terms_box dt,.terms_box dd {
  font-size: 1.6rem;
}

.terms_box dl {
  display: flex;
  width: 100%;
  margin-top: 30px;
  border-top: 1px solid #ccc;
  flex-flow: row wrap;
}

.terms_box dt {
  flex-basis: 27%;
  padding: 20px;
  background-color: #f1f1f1;
  border-bottom: 1px solid #ccc;
}

.terms_box dd {
  flex-basis: 73%;
  padding: 20px;
  border-bottom: 1px solid #ccc;
}

/* recruit */

#recruit h3 {
  padding: 3px 15px 7px 30px;
  border-left: 10px solid #13397d;
  border-bottom: 2px solid #13397d;
  font-size: 2.5rem;
  position: relative;
  color: #13397d;
  text-align: left;
}

#recruit h3::before {
  content: '';
  border-left: 5px solid #13397d;
  position: absolute;
  bottom: 0;
  left: 3px;
  height: 100%;
}

#recruit p {
  margin-top: 20px;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.bosyu_txt {
  margin-top: 20px;
}

.bosyu_syokusyu {
  display: block;
  margin-top: 50px;
}

.bosyu_syokusyu h4,
.bosyu_syokusyu p {
  display: inline;
  font-size: 1.8rem;
  letter-spacing: 1.5px;
}

.bosyu_syokusyu p {
  font-weight: 600;
}

.bosyu_syousai {
  margin-top: 80px;
}

.bosyu_syousai_fb {
  display: flex;
  justify-content: space-between;
}

.bosyu_syousai_fb div {
  width: 45%;
}

.bosyu_syousai_fb ul {
  list-style: disc;
  padding-left: 20px;
}

.bosyu_syousai_fb ul li {
  margin-bottom: 10px;
}

.bosyu_syousai_fb dl {
  border-top: none;
  text-align: center;
  display: flex;
  margin-top: 20px;
}

.bosyu_syousai_fb dt {
  background: black;
  color: white;
  border-radius: 5px 0 0 5px;
}

.bosyu_syousai_fb dd {
  border: 1px solid #ccc;
  border-radius: 0 5px 5px 0;
  transition: all .3s ease;
}

.bosyu_syousai_fb dd:hover {
  background: #c1d7ff;
}

.bosyu_syousai_fb dt,
.bosyu_syousai_fb dd {
  padding: 10px 25px;
  font-size: 1.8rem;
}

/* company */
.company_profile table {
  margin: 0 auto;
  color: #2b2b2b;
}

.company_profile th,
.company_profile td {
  font-size: 1.6rem;
  text-align: left;
  line-height: 2.05;
  letter-spacing: 2.5px;
  vertical-align: middle;
}

.company_profile td {
  padding: 10px 0;
}

.company_profile th {
  position: relative;
  width: 280px;
}

.company_profile th::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 90px;
  background: #ccc;
  width: 1px;
  height: auto;
}

.company_map {
  margin: 80px 0;
}

@media (width < 770px) {
  .company_profile {
    margin-top: -60px;
  }
}

/* member */
.member_outer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.member {
  display: flex;
}

.mem03 {
  margin-top: 60px;
}

.mem03:nth-child(n + 3) {
  margin-top: 150px;
}

.mem03 .m_l {
  padding-right: 50px;
}

.mem03 .m_l img {
  width: 300px;
  margin-bottom: 20px;
}

.m_r h3 {
  font-size: 2rem;
  font-weight: 600;
  color: #13397d;
  border-bottom: 1px solid #13397d;
  margin-bottom: 5px;
  padding-bottom: 5px;
}

.m_r span {
  font-size: 1.8rem;
  color: #2b2b2b;
}

.mem_txt {
  border: 1px solid #13397d;
  border-radius: 10px;
  padding: 20px 30px;
  color: #2b2b2b;
}

.mem_txt h4 {
  font-size: 2rem;
  margin-bottom: 15px;
  padding-bottom: 7px;
  border-bottom: 1px solid #13397d;
}

.mem_txt div.m_txt_out {
  width: 100%;
}

.m_l_t {
  margin-bottom: 20px;
}

.m_l_t p {
  text-align: justify;
}

.m_r_t ul {
  list-style: disc;
  padding-left: 20px;
}

.m_r_t ul li {
  margin-bottom: 10px;
}

.m_r_t ul li a:hover {
  text-decoration: underline;
}

@media (width < 770px) {
  #wrapp_com section {
    padding: 0 20px;
  }

  .main_contents {
    padding: 0 20px;
  }

  .terms_box dl {
    flex-flow: column;
  }

  .company_profile table {
    width: 100%;
    border-spacing: 0 50px;
    border-collapse: separate;
  }

  .company_profile th {
    width: 100%;
  }

  .company_profile th,
  .company_profile td {
    display: block;
    padding: 10px 0;
  }

  .company_profile th::before {
    top: 45px;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 1px;
  }

  .company_map iframe {
    width: 100%;
  }

  .member {
    flex-direction: column;
  }

  .mem03:first-child {
    margin-top: 0;
  }

  .member.mem_txt {
    display: block;
  }

  .mem_txt div {
    width: 100%;
  }

  .mem03 .m_l img {
    width: 100%;
  }

  .mem03 .m_l {
    margin: 0 auto;
    padding-right: 0;
  }

  .m_r {
    margin-bottom: 30px;
  }

  .m_r_t {
    margin-top: 30px;
  }

  .bosyu_syousai_fb {
    display: block;
    margin: 0 auto;
  }

  .bosyu_syousai_fb div {
    width: 100%;
  }

  .bosyu_syokusyu h4,
  .bosyu_syokusyu p {
    display: block;
  }
}

@media (width < 390px) {
  .bosyu_syousai_fb dl {
    display: block;
  }

  .bosyu_syousai_fb dt,
  .bosyu_syousai_fb dd {
    border-radius: 0 0 0 0;
    margin-bottom: -1px;
    padding: 10px 0;
  }
}


/* inquiry */
.inq_ng {
  width: 840px;
  max-width: 100%;
  margin: 30px auto;
  border: 2px solid #cb2e2e;
  padding: 25px 10px;
}
.inq_ng p {
  color: #cb2e2e;
  font-weight: bold;
  text-align: center;
}


/* 404 */
.not_found a{display:block; border-radius:3px; background:#545454; color:#fff; text-align:center}
@media print, screen and (min-width: 770px){
.not_found{margin:270px 0 230px; text-align:center}
.not_found h2{font-size:5.8rem; font-family:'Noto Sans JP'}
.not_found h3{margin:0 0 25px 0; font-size:2.2rem; font-family:'Noto Sans JP'}
.not_found a{margin:30px auto 0 auto; padding:10px 20px 15px; width:200px;font-size: 1.8rem;}
.not_found a:hover{opacity:0.6}
}
@media screen and (max-width: 769px){
.not_found_box{padding:0 15px}
.not_found {margin:150px 0; padding:15px 20px}
.not_found h2{font-size:4rem;text-align: center;}
.not_found h3{margin:10px 0 15px 0; font-size:1.6rem;margin-bottom: 50px;text-align: center;}
.not_found p{margin:0 0 10px 0}
.not_found a{margin:20px 0 15px 0; padding:13px 20px;font-size: 1.6rem;}
}