@charset "utf-8";

/*=================================================================================================================================*/
/** 個別指定 for スマートフォン
/*=================================================================================================================================*/

/*---------------------------------------------
 ** 850px
---------------------------------------------*/
@media screen and (max-width: 850px) {

  /*---------------------------------------------
	body
---------------------------------------------*/
  html {
    scroll-behavior: smooth;
  }

  body {
    font-size: 1.5rem;
    border: none;
  }

  .only_pc_none {
    display: block !important;
  }

  .only_sp_none {
    display: none !important;
  }

  .sp_br {
    display: inline;
  }

  .pc_br {
    display: none;
  }

  /*画像*/
  img {
    max-width: 100%;
    height: auto;
  }

  #head_entry {
    display: none;
  }

  #foot_data>div {
    width: 100%;
    text-align: left;
    margin-bottom: 20px;
    border-bottom: 1px solid #fff;
    padding-bottom: 20px;
  }

  #foot_data>div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
  }

  #foot_data>div>img {
    width: 120px;
  }

  #foot_data>div>div {
    width: calc(100% - 150px);
  }

  #foot_data>ul {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 20px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }

  #foot_data>ul li {
    width: 47.5%;
    box-sizing: border-box;
  }

  .main_person {
    width: 100% !important;
    text-align: left;
    align-items: flex-start;
    max-height: 580px;
    overflow: hidden;
    padding-bottom: 0;
  }


  .main_person>img:nth-of-type(1) {
    width: 70%;
  }

  .main_person>img:nth-of-type(2) {
    width: 62%;
  }

  .main_technology .main_person>img:nth-of-type(1) {
    width: 58%;
  }

  .main_technology .main_person>img:nth-of-type(2) {
    width: 57%;
  }

  .main_training .main_person>img:nth-of-type(1) {
    width: 60%;
  }

  .main_training .main_person>img:nth-of-type(2) {
    width: 50%;
  }

  .main_recruit .main_person>img:nth-of-type(1) {
    width: 47%;
  }

  .main_recruit .main_person>img:nth-of-type(2) {
    width: 55%;
  }

  .main_discussion .main_person>img:nth-of-type(1) {
    width: 55%;
  }

  .main_message .main_person>img:nth-of-type(2) {
    width: 55% !important;
  }

  .env_ttl>div {
    padding-top: 70px;
  }

  .recruit_ttl_img {
    width: 40%;
  }

  .staff_intro::before {
    content: '';
    width: 60px;
    height: 60px;
  }

  #home #content {
    padding: 50px 0;
  }

  .col_2 dl {
    width: 100%;
    margin-bottom: 50px;
  }

  .jce_training {
    margin: 50px auto 0px;
  }

  .jce_training h3 {
    font-size: 160%;
  }

  .jce_training>div>div dl dt {
    font-size: 130%;
  }

  .com_mission>div dl {
    align-items: flex-start;
    margin-bottom: 5%;
  }

  .com_mission>div dl dt {
    width: 60px;
    font-size: 260%;
    padding: 0;
    line-height: 1.0;
  }

  .com_mission>div dl dd {
    width: calc(100% - 70px);
    line-height: 1.8;
  }

  .com_mission>div dl dd span {
    line-height: 1.6;
    margin-bottom: 5px;
  }

  .com_info>div>div,
  .com_info>div>div:nth-of-type(2) {
    width: 90% !important;
    margin: 0 auto !important;
    max-width: none !important;
  }

  .com_info>div>div dl dt {
    width: 16rem !important;
  }

  .com_info>div>div dl dd {
    width: calc(100% - 16rem) !important;
  }

  .com_history>div>div {
    width: 90%;
    margin: 0 auto;
  }

  .com_history>div>div dl dt {
    width: 13rem !important;
  }

  .com_history>div>div dl dd {
    width: calc(100% - 13rem) !important;
  }

  .com_access>div>div {
    width: 90%;
    margin: 0 auto 8%;
  }

  .com_access>div>div h4 {
    display: block;
  }

  .com_access>div>div h4+p {
    display: inline-block;
    margin: 20px 20px 10px 0;
  }

  .icon_map {
    vertical-align: 3px;
  }

  .com_access .access_how p {
    margin-top: 15px;
  }

  .com_access>img {
    margin-top: -30px;
  }

  #pageTop a {
    width: 80px;
    height: 80px;
  }

  @media screen and (max-width: 620px) {
    header nav {
      padding-top: 80px !important;
    }

    header nav ul {
      margin: 0 auto 5%;
      padding-bottom: 3%;
    }

    header nav ul .nav01 {
      margin-bottom: 2%;
    }

    .nav01 a {
      font-size: 110%;
      padding: 15px 10px;
      letter-spacing: 0;
      margin-bottom: 0;
    }

    .nav02 {
      width: 48%;
      margin-bottom: 3%;
    }

    .nav02 a {
      font-size: 110%;
      padding: 10px;
      letter-spacing: 0;
    }

    .nav02 a i {
      display: inline-block;
      font-size: 110%;
      padding-top: 0px;
      padding-right: 5px;
      box-sizing: border-box;
    }

    header nav ul .nav02:last-child {
      width: 100%;
    }

    #main {
      height: 570px;
    }

    #main_top>div {
      width: 100%;
    }

    #home #content {
      padding-bottom: 100px;
    }

    #main_top>div>picture:nth-of-type(1) {
      width: 100%;
      padding-left: 0;
    }

    #main_top>div>picture:nth-of-type(2) {
      width: 78%;
      padding-left: 2%;
      padding-bottom: 5%;
    }

    #content_btm {
      width: 65%;
    }

    #foot_data>div>div {
      width: 100%;
    }

    .main_person {
      max-height: 450px;
    }

    .main_person>img:nth-of-type(2) {
      width: 63%;
    }

    .main_technology .main_person>img:nth-of-type(1) {
      width: 47%;
    }

    .main_technology .main_person>img:nth-of-type(2) {
      width: 56%;
    }

    .main_training .main_person>img:nth-of-type(1) {
      width: 55%;
    }

    .main_training .main_person>img:nth-of-type(2) {
      width: 56%;
    }

    .main_recruit>div>p {
      font-size: 120%;
    }

    .recruit_ttl_img {
      width: 45%;
    }

    .main_text h2 {
      width: 40%;
      position: absolute;
      top: 50px;
      right: 10%;
      font-size: 90%;
    }

    .main_message .main_text h2 {
      top: 30px;
    }

    .main_text h2>span:nth-of-type(1) {
      margin-bottom: 0;
    }

    .main_text h2>span:nth-of-type(1)::before {
      width: 80%;
      height: 50px;
      display: block;
      background: #fff;
      padding: 5px 80px 15px 80px;
    }

    .main_text h2>span:nth-of-type(1)::before {
      height: 45px;
    }

    .main_recruit .main_text h2>span:nth-of-type(1)::before {
      width: 100%;
      height: 45px;
    }

    .main_text h2 {
      font-size: 80%;
    }

    .top_message>div>div h2 {
      font-size: 180%;
    }

    .staff_intro {
      margin-bottom: 5%;
    }

    .staff_intro::before {
      width: 40px;
      height: 40px;
      top: 30px;
    }

    .staff_intro>dl {
      width: calc(50% - 50px) !important;
    }

    .staff_intro>dl:nth-of-type(1) {
      padding-left: 10%;
    }

    .staff_intro>dl>dt {
      font-size: 160%;
    }

    .main_read_message>dl dt {
      font-size: 110%;
    }

    .main_read_message>dl dt span {
      font-size: 140%;
      margin-left: 10px;
    }

    .main_message .main_person>img:nth-of-type(1) {
      width: 80%;
      margin-left: -12%;
    }

    .main_read_message>p {
      font-size: 4.3vw
    }
  }

  @media screen and (max-width: 490px) {
    .top_message>div>div h2 {
      font-size: 5.0vw;
    }
  }

  @media screen and (max-width: 480px) {
    header {
      height: 70px;
    }

    header h1 {
      width: 100px;
      position: fixed !important;
      top: 0;
      z-index: 11;
    }

    header .navBtn {
      width: 60px !important;
      position: fixed !important;
      top: 5px;
      right: 5px;
      z-index: 11 !important;
      height: 60px !important;
      padding: 11px 10px 0;
    }

    #head_entry {
      width: 100% !important;
      height: 100px;
      position: fixed !important;
      display: block;
      left: 0;
      bottom: 0;
      background: #000000c7;
      border: none !important;
      padding: 5px 2%;
      z-index: 10;
      font-size: 120%;
      box-sizing: border-box;
    }

    #head_entry p {
      display: block;
      text-align: center;
      letter-spacing: 0.15em;
      font-weight: 700;
      font-size: 100%;
      margin-bottom: 5px;
      color: #fff;
      box-sizing: border-box;
    }

    #head_entry ul {
      width: 100%;
      padding: 0px !important;
      box-sizing: border-box;
      margin: 0;
    }

    #head_entry ul li {
      width: 49% !important;
    }

    #head_entry ul li a {
      font-size: 120%;
      padding: 5px 0;
      font-weight: bold;
    }

    #head_entry ul li:nth-child(1) a {
      background: #3eb2e0;
    }

    #head_entry ul li:nth-child(2) a {
      background: #d77b4a;
    }

    header.navOpen #head_entry {
      display: none;
    }

    #main_top {
      margin-top: 70px;
    }

    #main_lower {
      margin-top: 70px;
    }

    .main_text h2>span:nth-of-type(1)::before {
      height: 32px;
      top: 5px;
      padding: 5px 90px 15px 90px;
    }

    .main_person>img:nth-of-type(2) {
      width: 70%;
    }

    .main_technology .main_person>img:nth-of-type(2) {
      width: 65%;
    }

    .main_training .main_person>img:nth-of-type(2) {
      width: 65%;
    }

    .main_recruit .main_person>img:nth-of-type(2) {
      width: 58%;
      bottom: 65px;
    }

    .main_discussion .main_person>img:nth-of-type(1) {
      width: 60%;
    }

    .main_message .main_person>img:nth-of-type(2) {
      width: 55% !important;
    }

    .main_text h2 {
      width: 50%;
      position: absolute;
      font-size: 70%;
      right: 3%;
    }

    .main_recruit .main_text h2>span:nth-of-type(1)::before {
      width: 100%;
      height: 35px;
    }

    .main_recruit>div>p {
      width: 90%;
      writing-mode: unset;
      -webkit-writing-mode: unset;
      position: relative;
      margin: -60px auto 0;
      font-size: 110%;
      top: auto;
      left: auto;
    }

    .main_recruit>div>p br {
      display: none;
    }

    .main_read_recruit p {
      font-size: 100%;
    }

    .main_discussion>div {
      max-height: 370px;
    }

    .staff_intro::before {
      width: 30px;
      height: 30px;
      top: 45%;
    }

    .staff_intro>dl {
      width: 100% !important;
      text-align: center;
      padding-left: 0 !important;
    }

    .staff_intro>dl:nth-of-type(1) {
      margin-bottom: 50px;
    }

    .staff_v_img>div:nth-of-type(1)>h3 {
      letter-spacing: 0.2rem;
      font-style: normal;
      font-size: 200%;
    }


    .staff_intro>dl dd .br_none {
      display: none;
    }

    .staff_talk dl dt {
      padding: 4% 5% 5%;
    }

    .staff_talk dl dd>div {
      width: 70px;
    }

    .staff_talk dl dd>p {
      width: calc(96% - 70px);
    }

    .staff_talk dl dd>div::after {
      bottom: 5px;
    }

    .staff_talk_last ul {
      margin-bottom: 120px;
    }

    .staff_talk_last ul li::after {
      bottom: -28px;
    }


    .env_ttl h2 {
      font-size: 90%;
    }

    .env_ttl h2>span:nth-of-type(1)::before {
      height: 50px;
    }

    .env_ttl>div {
      width: 90%;
    }

    .recruit_ttl_img {
      width: 52%;
    }

    .main_sub {
      margin-top: 70px;
    }

    #foot_data>div {
      border-bottom: none;
    }

    #foot_data>ul {
      display: none;
    }

    footer {
      padding: 30px 0 160px;
    }

    #foot_data>div {
      padding-bottom: 0;
    }

    footer>p {
      font-size: 3.0vw;
    }

    #pageTop {
      bottom: 105px;
      right: 5px;
    }

    #pageTop a {
      width: 55px;
      height: 55px;
    }

    .main_sub h2 {
      text-align: center;
      font-size: 180%;
    }

    .main_sub h2 span {
      display: block;
      padding: 0;
    }

    #news_youtube {
      padding: 40px 0 10px;
    }

    .jce_training {
      padding: 5%;
    }

    .jce_training h3 {
      margin-bottom: 20px;
    }

    .con_company h3 {
      font-size: 160%;
    }

    .con_company>div {
      margin-bottom: 50px;
    }

    .com_mission>div dl {
      position: relative;
      margin-bottom: 8%;
    }

    .com_mission>div dl dt {
      width: auto;
      font-size: 200%;
      left: 2px;
      top: 0;
      position: absolute;
    }

    .com_mission>div dl dd {
      width: 100%;
    }

    .com_mission>div dl dd span {
      font-size: 120%;
      padding-left: 30px;
    }

    .com_info>div>div,
    .com_info>div>div:nth-of-type(2),
    .com_history>div>div {
      width: 100%;
    }

    .com_info>div>div,
    .com_info>div>div:nth-of-type(2),
    .com_history>div>div {
      width: 100% !important;
    }

    .com_info>div>div dl dt,
    .com_history>div>div dl dt {
      width: 100% !important;
      background: #eee;
      padding: 5px 10px;
      box-sizing: border-box;
    }

    .com_info>div>div dl dd,
    .com_history>div>div dl dd {
      width: 100% !important;
      padding: 8px 10px;
      box-sizing: border-box;
    }

    .com_access>div>div {
      width: 100%;
    }

    .com_access>div>div h4+p {
      margin-top: 0;
    }

    .com_access>img {
      margin-top: 0px;
    }


  }

  @media screen and (max-width: 420px) {
    body {
      font-size: 1.3rem;
      line-height: 1.8;
    }

    .main_text h2>span:nth-of-type(1)::before {
      height: 35px;
      top: 5px;
      padding: 5px 80px 15px 80px;
    }

    .main_recruit .main_text h2 {
      top: 30px;
    }

    .main_person {
      max-height: 300px;
    }

    .main_recruit .main_person {
      max-height: 360px;
    }

    .main_text h2>span:nth-of-type(1)::before {
      height: 27px;
    }

    .main_recruit .main_text h2>span:nth-of-type(1)::before {
      height: 27px;
    }

    .env_ttl h2>span:nth-of-type(1)::before {
      height: 45px;
    }

    .main_person>img:nth-of-type(1) {
      width: 75%;
    }

    .main_person>img:nth-of-type(2) {
      width: 70%;
    }

    .main_technology .main_person>img:nth-of-type(1) {
      width: 47%;
    }

    .main_technology .main_person>img:nth-of-type(2) {
      width: 53%;
    }

    .main_training .main_person>img:nth-of-type(2) {
      width: 52%;
    }

    .main_discussion>div {
      max-height: 320px;
    }

    .staff_v_img>div:nth-of-type(1)>p span {
      font-size: 3.8vw;
    }

    .env_ttl h2 {
      margin-bottom: -1%;
    }
  }

  @media screen and (max-width: 360px) {
    .main_text h2>span:nth-of-type(1) {
      font-size: 160%;
    }

    .main_text h2>span:nth-of-type(1)::before {
      height: 27px;
      top: 5px;
      padding: 5px 70px 15px 70px;
    }

    .main_training .main_person>img:nth-of-type(2) {
      width: 60%;
    }
  }

}

/* スマホのときのみ電話をかける */
@media (min-width: 850px) {
  a[href*='tel:'] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}