@charset "utf-8";

/* ===================================================================

 file name  :device.css
 style info :トップページ tablet sp

=================================================================== */
@media screen and (max-width: 1200px) {
  .newsContent {
    margin-left: 10px;
    margin-right: 10px;
  }
  #footer {
    padding-left: 10px;
    padding-right: 10px;
  }
  .recruitBtn {
    top: 253px;
  }
  .recruitText {
    width: 100%;
    background-color: #eeeeee;
    position: absolute;
    right: 0;
    bottom: -586px;
    text-align: center;
    padding-bottom: 43px;
    padding-top: 95px;
  }
  .recruitContent .title {
    text-align: center;
    margin-top: unset;
    position: relative;
    height: 93px;
    top: -98px;
  }
  .recruitText p {
    padding-top: 23px;
    padding-bottom: 79px;
  }
  .recruitContent {
    padding: 186px 0 280px 20px;
  }
}
@media screen and (max-width: 1140px) {
  #gnav #gnavMenu > li.pc {
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    width: 313px;
  }
  ul#gnavMenu span {
    padding: unset;
  }
  ul#gnavMenu li:nth-child(2) {
    width: 81px;
  }
  ul#gnavMenu li:nth-child(4) {
    width: 81px;
  }
  ul#gnavMenu li:nth-child(6) {
    width: 81px;
  }
  ul#gnavMenu li:nth-child(8) {
    width: 81px;
  }
  ul#gnavMenu li:nth-child(10) {
    width: 81px;
  }
  .aboutFlex {
    max-width: 900px;
    display: block;
    margin: auto;
  }
  .aboutLeft {
    width: unset;
    margin: auto;
  }
  .aboutRight {
    width: unset;
    margin: 40px auto 0;
  }
  .aboutContent {
    margin: 0 20px;
  }
  section#aboutCompany {
    margin: 0 20px;
  }
  .activeFlex div.activeText {
    width: 620px;
    margin: 20px auto;
  }
  .activeFlex div.activeImg {
    width: 620px;
    margin: auto;
  }
  .activeFlex {
    display: block;
    margin-top: 82px;
  }
  .qualityFlexContent {
    margin: 0 20px;
  }
  table.bTable {
    width: 95%;
  }
  table .bnameTd {
    text-align: left;
    padding-left: 52px;
    padding-right: 52px;
  }
}
@media screen and (max-width: 1056px) {
  .companyTable th {
    width: unset;
  }
  .companyTable td {
    width: unset;
  }
}
/* ==============================================================================================================================
   tablet
   ============================================================================================================================== */
@media screen and (max-width: 960px) {
  body#Top {
    overflow: hidden;
  }
  /* ---------------------------------------------------------------------------
			#header
	--------------------------------------------------------------------------- */
  #header {
    min-height: initial;
    height: auto;
  }

  .head-overlay {
    margin: unset;
    top: 100%;
    bottom: auto;
    z-index: 5999;
  }

  .head-overlay .bar {
    height: 55px;
    position: relative;
    z-index: 6000;
    display: block !important;
  }

  .gnavMenuIsOpen .head-overlay .bar::after {
    width: 100%;
  }

  #header .head-overlay .fixed-logo,
  #header .head-overlay.fixed .fixed-logo {
    display: block;
    margin: 0 8px;
    width: 150px;
    padding-top: 14px;
  }

  /*
		fixed
	*/
  #header .head-overlay.fixed {
    padding-top: 0;
    margin-top: 0;
  }

  #header .head-overlay.fixed #gnav {
    padding: 0;
  }

  #header .head-overlay.fixed #gnav #gnavMenu {
    height: auto;
  }

  #header .head-overlay.fixed #gnav #gnavMenu > li#gnavReserve > a,
  #header .head-overlay.fixed #gnav #gnavMenu > li > span > a {
    line-height: 1.3;
  }

  #header .nav-menus {
    position: absolute;
    left: 0;
    width: 100%;
    display: none;
    z-index: 11;
  }
  .nav-menus {
    margin-left: unset;
  }

  .inquiry {
    background-color: unset;
    font-weight: unset;
  }
  #gnav .inquiry a {
    color: #fff;
  }

  ul#gnavMenu span {
    display: none;
  }

  #header .fixed .nav-menus {
    top: 55px;
    bottom: auto;
    height: calc(100vh - 68px);
    padding: 0;
  }

  #menuBtn {
    position: absolute;
    right: 0;
    top: 0;
  }

  #menuBtn a {
    display: block;
  }

  #menuBtn a span {
    display: block;
    width: 68px;
    height: 68px;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    margin-top: -10px;
  }

  #menuBtn a::after,
  #menuBtn a span::before,
  #menuBtn a span::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 14px;
    height: 2px;
    width: 40px;
    background: #fff;
    transition: all ease 0.3s;
  }

  #menuBtn a span::before {
    margin-top: -11px;
  }

  #menuBtn a span::after {
    margin-top: 11px;
  }

  .gnavMenuIsOpen a::after {
    opacity: 0;
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  .gnavMenuIsOpen #menuBtn a span::before {
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    margin-top: 0;
  }

  .gnavMenuIsOpen #menuBtn a span::after {
    margin-top: 0;
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  /* gnav */
  #gnav {
    font-size: 15px;
  }

  #gnav #gnavMenu {
    max-width: 100%;
    display: block;
    height: auto;
  }

  #gnav #gnavMenu > li {
    text-align: left;
    display: block;
    width: 100%;
    padding: 14px;
  }
  #gnav a {
    color: #fff;
    font-size: 18px;
  }
  #gnav #gnavMenu > li > span {
    background: none;
  }

  #gnav #gnavMenu > li > span > a {
    line-height: 1.3;
    padding: 1.5em 18px;
    background: #fff;
    border-bottom: 1px solid #595959;
  }

  #gnav #gnavMenu > li > span::before {
    content: "";
    width: 24px;
    height: 2px;
    position: absolute;
    right: 40px;
    top: 50%;
    background: #000;
    margin-right: -11px;
    transition: all ease 0.3s;
    pointer-events: none;
  }

  #gnav #gnavMenu > li > span::after {
    content: "";
    width: 2px;
    height: 24px;
    position: absolute;
    left: auto;
    right: 40px;
    margin-top: -11px;
    bottom: auto;
    top: 50%;
    transition: all ease 0.3s;
    -ms-transform: scaleX(1);
    transform: scaleX(1);
    pointer-events: none;
  }

  #gnav #gnavMenu > li > span.no-cross::before {
    background: none;
  }

  #gnav #gnavMenu > li > span.no-cross::after {
    background: none;
  }

  #gnav #gnavMenu > li.toggleOpen > span::after {
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
  }

  #gnav #gnavMenu > li#gnavReserve > a {
    line-height: 1.3;
    padding: 1.5em 18px;
  }

  /* ---------------------------------------------------------------------------
			#Blue
	--------------------------------------------------------------------------- */

  .slideText1 {
    background-color: #fff;
    width: 100%;
    margin-top: -55px;
    padding: 80px 40px 40px 40px;
  }
  .slideText2 {
    background-color: #fff;
    width: 100%;
    margin-top: -55px;
    padding: 80px 40px 40px 40px;
  }
  .slide2 {
    margin-top: 115px;
    position: unset;
    padding-right: 80px;
  }
  .slide3 {
    position: unset;
  }
  .slideText3 {
    background-color: #fff;
    width: 100%;
    margin-top: -55px;
    padding: 80px 40px 40px 40px;
  }

  .qualityFlex2 {
    display: block;
    margin-top: 48px;
  }
  .qualityFlexContent {
    width: 518px;
    margin: 40px auto 0;
  }
}

@media screen and (max-width: 900px) {
  td.about_td {
    display: block;
    padding-top: unset;
    padding-bottom: unset;
    line-height: 1.6;
  }
  .row_table th {
    line-height: 1.6;
  }
}

@media screen and (max-width: 840px) {
  .purposeCard {
    width: 90%;
    padding: 65px 20px 65px 20px;
  }
}
@media screen and (max-width: 680px) {
  .item_left.type {
    width: 60%;
    margin: auto;
  }
  .item_right.type {
    width: 100%;
  }
  .item_left.about {
    width: 100%;
  }
  .item_right.about {
    width: 100%;
  }
  .item_left {
    width: 100%;
  }
  .item_right {
    width: 100%;
  }
  .circle1 {
    width: 34%;
    margin-bottom: 20px;
  }
  .circle2 {
    width: 34%;
  }
  .circle_wrap::after {
    content: "";
    display: block;
    width: 34%;
  }
  .item_left40.car_type1 {
    width: 60%;
    margin-bottom: 40px;
  }
  .item_right40.car_type2 {
    width: 60%;
  }
  p.c_f.p_020 {
    display: block !important;
    padding: 0 20px !important;
  }
  .p_020 {
    padding: 0 20px;
  }
}
@media screen and (max-width: 660px) {
  #header .head-overlay .fixed-logo,
  #header .head-overlay.fixed .fixed-logo {
    width: 150px;
  }
  /* blueBG */
  .slideText2 .title {
    margin: 20px 10px;
  }

  section#aboutActive {
    margin: 0 20px;
  }
  .activeFlex div.activeImg {
    width: unset;
  }
  .activeFlex div.activeText {
    width: unset;
  }
  .activeText p {
    word-break: break-word;
  }
  .qualityFlex2 {
    margin: 48px 20px 0;
  }
}
@media screen and (max-width: 556px) {
  .qualityFlexContent {
    width: unset;
    padding: 20px 12px 31px 12px;
  }
}
@media screen and (min-width: 534px) {
  .purBr {
    display: none;
  }
}
@media screen and (max-width: 534px) {
  .purBr {
    display: block;
  }
}
@media screen and (max-width: 462px) {
  /* フッター */
  .sc-slideup {
    display: block;
  }
  #footer .foot-inner {
    text-align: center;
    padding: 30px 15px 0px;
  }
  p.copyright.wf-Amiri-i.ls1em {
    font-size: 13px;
  }
  .apcBr {
    display: none;
  }
  .aboutContent div p {
    text-align: center;
    line-height: 48px;
    font-size: 16px;
    margin-bottom: 70px;
    max-width: 70%;
    margin: 0 auto 70px;
  }
  #idea .title span {
    width: 60%;
    left: unset;
  }
  #aboutCompany .title span {
    width: 60%;
    left: unset;
  }
  #aboutActive .title span {
    width: 60%;
    left: unset;
  }
  #quality .title span {
    width: 60%;
    left: unset;
  }
  #history .title span {
    width: 60%;
    left: unset;
  }
  #purpose .title span {
    width: 60%;
    left: unset;
  }
}

@media screen and (max-width: 380px) {
  section#quality {
    margin: 0 20px;
  }
  .qualityCard {
    width: unset;
  }
  .qualityFlex2 {
    margin: 48px 0px 0;
  }
  .mapFlex {
    display: block;
  }
}

.pc {
  display: none !important;
}

.sp {
  display: block !important;
}

.tb {
  display: none !important;
}

@media screen and (min-width: 601px) {
  .pc {
    display: none !important;
  }

  .tb {
    display: block !important;
  }

  .sp {
    display: none !important;
  }

  #header .head-overlay .fixed-logo,
  #header .head-overlay.fixed .fixed-logo {
    margin: 0;
    padding: 6px;
  }

  #header .fixed .nav-menus {
    top: 56px;
    height: calc(100vh - 56px);
    bottom: auto;
    padding: 0;
  }
}

@media screen and (min-width: 961px) {
  .pc {
    display: block !important;
    overflow: hidden;
  }

  .tb {
    display: none !important;
    overflow: hidden;
  }

  .sp {
    display: none !important;
    overflow: hidden;
  }

  #header .head-overlay .fixed-logo,
  #header .head-overlay.fixed .fixed-logo {
    margin-left: 5px;
    margin-top: 15px;
    padding: 0px;
  }

  #header .fixed .nav-menus {
    top: 0px;
    height: 0px;
  }
}
