@charset "UTF-8";

/* container */
@media screen and (min-width:768px) and (max-width:1270px) {
  .main-page-wrapper {
    max-width: 920px;
    margin: 0 auto;
  }

  .mdMN30NameParts {
    max-width: 920px;
    margin: 0 auto;
  }
}

/* タブレット */
@media screen and (min-width:768px) and (max-width:1270px) {
  #wrapper {
    /* padding: 0 20px; */
  }
}

/* min-width */
@media screen and (min-width: 790px) {
  .dot-text {
    background-image: radial-gradient(.15em .15em at center center, #E8E527, #E8E527 100%, transparent);
  }
}

/* スマホ */
@media screen and (max-width: 1000px) {

  /* 全ページ */

  #js-pagetop {
    right: 0px;
    bottom: 0px;
    margin: 0;
  }
  #js-pagetop a {
    width: 45px;
    height: 45px;
  }

  #wrapper {
    /* padding: 0 20px; */
  }

  .entry-message {
    width: 100%;
  }

  .recruit-entry-message {
    width: 100%;
  }

  .enfast-header {
    padding: 20px;
  }

  .enfast-logo img {
    width: 40%;
  }

  .enfast-footer-inner {
    padding: 10px 20px;
  }

  .top_title_en {
    font-size: 28px;
  }

  .header-btn {
    padding: 6px 20px;
  }

  .main-page-wrapper{
    margin: 0 20px;
  }

  .message-wrapper.main-section {
    margin-top: 0px;
  }

  .message-mission-inner{
    padding: 40px 0;
  }

  .top_title_wrapper {
    padding-bottom: 45px;
  }

  .main-section {
    margin-top: 100px;
    margin-bottom: 100px;
  }

  .office-image-inner {
    width: calc(100% / 2 - 14px);
  }

  .company-profile-inner p {
    font-size: 11px;
  }

  .recruit-btn {
    width: 100%;
  }

  .recruit-btn .button {
    height: 60px;
    padding: 45px 60px;
  }

  .entry-message:before {
    top: 80px;
    left: 44%;
    content: "";
    border-right: 20px solid transparent;
    border-bottom: 30px solid #fff;
    border-left: 20px solid transparent;
    position: absolute;
    transform: rotate(59deg);
    width: 10px;
  }

  .recruit-entry-message__text {
    font-size: 14px;
  }

  .recruit-entry-message {
    margin-bottom: 25px;
  }

  .recruitpage-message-inner {
    margin-top: 50px;
  }

  .swiper-wrap img {
    display: flex;
    width: 80%;
    margin: 0 auto;
  }

  .office-image-wrapper img {
    display: flex;
    width: 90%;
    margin: 0 auto;
  }

  .media-btn{
    margin: 0;
  }

  .openbtn {
    width: 140px;
  }

  #g-nav.panelactive {
    left: 0;
  }

  .mdMN30NamePartsWrap {
    height: 360px;
    padding-bottom: 0;
  }

  .mdMN30NameParts h2 {
    font-size: 76px;
    text-indent: -4px;
    margin-bottom: 6px;
  }

  .mdMN30NameParts {
    position: relative;
    top: 0px;
    padding: 0;
    margin: 0 auto;
    max-width: 1180px;
  }

  .background-1{
    background-size: 90% auto;
  }

  /* エントリーページ */

  .inquiry th,
  .inquiry td {
    display: block !important;
    width: 100% !important;
    border-top: none !important;
    -webkit-box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    box-sizing: border-box !important;
  }

  .inquiry .haveto,
  .inquiry .any {
    font-size: 10px;
  }

  .company-profile-left {
    width: 25%;
  }

  .company-profile-right {
    width: 85%;
  }

  .inquiry input {
    padding: 10px;
  }

  .inquiry th {
    font-size: 14px;
  }

  .wpcf7-form-control-wrap input {
    font-size: 14px;
  }

  .wpcf7-form-control-wrap textarea {
    font-size: 14px;
  }

  .wpcf7 p {
    font-size: 14px;
  }

  #formbtn {
    padding: 20px 90px;
    font-size: 14px;
  }

  .business-contents-inner p {
    font-size: 12px;
    letter-spacing: 0;
  }

  .entry-message__text {
    font-size: 12px;
  }

  .entry-message {
    margin-bottom: 45px;
  }

  .first-top_title_wrapper {

    margin-bottom: 40px;
  }

  .recruitpage-message-inner .message-description {
    font-size: 13px;
  }

  .wpcf7-list-item {
    vertical-align: top;
  }

  .fluid-block {
    right: 0;
    top: 34px;
    width: 300px;
    height: 300px;
    top: 0%;
    right: 20px;
  }


  .fluid {
    width: 100%;
    height: 100%;
  }

  .top-main-h1 {
    font-size: 26px;
  }

  .top-main-h2 {
    font-size: 28px;
  }

  .top-main-message-en{
    margin: 0 0 5px 0;
  }

  .top-main-storong-title{
    font-size: 25px;
  }


  .top_message_wrapper {
    margin-bottom: 0;
  }


  .message-description {
    font-size: 13px;
    line-height: 32px;
  }

  .top-message-btn {
    justify-content: flex-start;
    margin: 35px 0;
    padding: 0 20px;
  }

  .btnarrow4 {
    padding: 0 20px;
    font-size: 15px;
  }

  .business-contents-inner img {
    width: 70%;
  }

  .entry-btn-new {
    width: 100%;
  }


  .btnlinestretches {
    font-size: 16px;
    padding: 15px 10px;
  }

  .businessMainEngineer {
    height: 30vh;
  }

  .businessMainMessage {
    height: 30vh;
  }

  .businessMainConpany {
    height: 30vh;
  }

  .businessMainwelfare {
    height: 30vh;
  }

  .businessMainInterview {
    height: 30vh;
  }

  .recruit-entry-message__human img {
    height: 65px;
  }

  .recruit_title ul {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding-bottom: 12%;
    flex-wrap: wrap;
    cursor: pointer;
    padding-left: 0;
  }

  .category_tab {
    border: 1px solid #fff;
    font-weight: bold;
    background-color: unset;
    color: #fff;
    padding: 15px 5px;
    font-size: 12px;
    letter-spacing: 0.1em;
    list-style-type: none;
    width: calc(100% / 2 - 5px);
    text-align: center;
    /* margin: 5px; */
    margin-bottom: 10px;
  }

  .recruitpage-contents-title h3 {
    font-size: 20px;
    letter-spacing: 1px;
  }

  .company-profile-inner p {
    text-align: left;
    display: block;
  }

  .mdMN30NameParts {
    margin-top: 15px;
    margin-left: 20px;
  }

  .message-strong-p {
    font-size: 20px;
    margin: 20px 0;
    line-height: 2;
  }

  .message-top-strong-p {
    font-size: 18px;
  }

  .message-underline {
    background: linear-gradient(transparent 85%, #E8E527 85%);
  }

  .message-h1 {
    font-size: 20px;
    line-height: 1.5;
  }

  .message-h4 {
    font-size: 17px;
    line-height: 2;
  }


  .message-p {
    font-size: 13px;
    line-height: 2;
  }

  .message-wrapper img {
    width: 100%;
  }

  .message-hukuri {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 120px !important;
  }

  .message-hukuri img {
    width: 49%;
  }

  .message-introduction {
    margin: 0px 0 30px;
    font-size: 20px;
  }

  .message-inner {
    margin-bottom: 100px;
  }

  .message-img {
    margin: 30px 0 80px;
  }

  .thankmail-p {
    font-size: 15px;
  }

  .privacy-artcile .title {
    font-size: 15px
  }

  .privacy-artcile p {
    color: #fff;
    letter-spacing: 1.2px;
    margin-bottom: 10px;
    font-size: 14px;
  }

  .privacy-wrapper {
    padding: 0;
  }

  .box {
  }

  .business-contents-wrapper {
    flex-direction: column;
    width: 100%;
    padding: 30px;
  }
  
  .business-contents-inner {
    width: 100%;
    float: none;
  }
  
  .business-contents-inner-img {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    width: 100%;
    margin-right: auto;
    height: 90px;
  }
  
  .business-contents-inner img {
    display: flex;
    margin: 0 auto;
    margin-bottom: 50px;
  }
  
  .business-contents-inner h3 {
    font-size: 22px;
  }
  
  .business-contents-inner-img img {
    width: 80%;
  }
  
  .business-contents-inner-img img {
    width: 110%;
    position: absolute;
    top: -90px;
    left: -19%;
  }
  
  .business-content-wrapper .top_title_wrapper {
    padding-bottom: 112px;
  }

  .top-main-h2 {
    line-height: 45px;
  }

  .top-message-btn2 {
    width: 100%;
  }

  .top-message-btn2 a {
    font-size: 14px;
  }

  .top-message-btn2 .box {
    height: 45px;
  }

  .contact-button {
    height: 50px;
  }

  .access-description p {
    font-size: 12px;
  }

  .p-top-entrybtn-right-content {
    font-size: 13px;
    padding-bottom: 50px;
  }

  .p-top-entrybtn-wrap-a {
    padding: 20px 0;
  }

  .contact-textarea {
    margin-top: 0px;
  }

  .swiper-button-next {
    right: 0 !important;
  }

  .swiper-button-prev {
    left: 0 !important;
  }
  .recuruitpage-entry-flow img {
    width: 100%;
    object-fit: cover;
  }

  .p-top-entrybtn-right {
    margin: 0 auto;
  }

  .mdMN30NameParts h2 {
    font-size: 38px;
  }

  .jobname {
    font-size: 20px;
  }


  .welfare-wrap {
    padding-top: 50px;
    font-size: 16px;
  }

  .welfare-wrap h2 {
    margin: 40px 0 30px;
    font-size: 1.38rem;
  }


  .welfare-h3 {
    margin: 30px 0 20px;
  }

  .welfare-wrap h3 {
    font-size: 1.13rem;
  }

  .sd2 {
    height: 50px;
  }

  .main-message-p {
    font-size: 13px;
    line-height: 1.7;
  }

  .top-message-flex {
    margin: 160px 0;
    flex-direction: column;
  }

  .top-message-last-flex{
    margin-bottom: 0;
  }

  .top-message-p {
    font-size: 13px;
    line-height: 2;
  }

  .top-message-flex-child {
    /* order: 1; */
    width: 100%;
    max-width: none;
    padding: 0 20px;
  }

  .message-img-1 {
    /* order: 0; */
    margin-left: auto;
  }

  .message-img-2 {
    /* order: 0; */
    margin-left: auto;
  }

  .top-message-div {
    margin-bottom: 30px;
  }

  .top-message-img {
    width: 81.06667vw;
    margin-top: 30px;
  }

  .top-message-img img{
    width: 100%;
  }
  .top-message-img-sp{
    width: 100%;
  }

  .top-message-number{
    font-size: 2.725rem;
  }

  .footer_main-bottom-inner{
    display: flex;
    justify-content: center;
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    align-items: center;
    flex-direction: column;
  }

  .footer_main_bottom_r_s ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px 0 0;
    padding: 0;
  }

  .footer_main_bottom_r_s li{
    margin-left: 0;
  }

  .interview-topmessage{
    font-size: 20px;
  }


  /* 背景固定用 */
.fixed-background{
  min-height:initial;
  background-attachment:initial;
  background-size:initial;
  background-position:initial;

}
.background-1{
  background-attachment: initial;
  background-repeat:  initial;
  background-position: initial;

  width: 100%;
  min-width: 320px;
  margin: 0 auto;
  padding: 50px 0 37px;
  background: url(/wp-content/themes/twentytwentyone/assets/images/top-message-bg-sp.png) center center no-repeat;
  background-size: 80% auto;
}
}


@media screen and (min-width:768px) and (max-width:1000px) {
.top-message-p {
    font-size: 16px;
    line-height: 2;
}
}

@media screen and (min-width:500px) and (max-width:999px) {
  .business-contents-wrapper{
    flex-direction: row;
  }
}