.p-top {
  position: relative;
}
.p-top__slide ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.p-top__slide ul li {
  display: block;
}

.p-top__slide ul li img {
  width: 100%;
  height: auto;
  display: block;
  height: 910px;
  object-fit: cover;
  object-position: center;
}
.p-top__mv--txt::after {
  background: url(/wp-content/themes/motojimashouten-theme/img/dec_01.png) no-repeat;
  content: "";
  width: 425px;
  height: 671px;
  display: block;
  background-size: cover;
  position: absolute;
  right: 0;
  bottom: 0;
}

.p-top__bg {
  background-color: rgba(0, 0, 0, 0.5);
  height: 910px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
.p-top__opacity--txt h1 {
  color: #fff;
  font-size: 9.3vw;
  position: relative;
  opacity: 0.3;
  text-align: center;
  top: 294px;
}
.p-top__txt {
  color: #fff;
}
.p-top__txt h2 {
  font-size: min(5vw, 100px);
  font-style: italic;
  line-height: 8.2vw;
}
.p-top__txt--margin {
  padding-left: 76px;
}
.p-top__txt {
  position: absolute;
  bottom: 110px;
  left: 90px;
}
.p-top__txt p {
  font-size: 2vw;
  margin-top: 16px;
}
.p-top__news {
  background: url(/wp-content/themes/motojimashouten-theme/img/concrete_bg.jpg);
  background-size: contain;
  padding: 90px 0 72px;
}
.p-top__news--inner {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 160px;
}
.p-top__news--inner ul li {
  margin-bottom: 50px;
}
.p-top__news--inner ul li a {
  display: flex;
  gap: 80px;
  align-items: center;
}
.p-top__about {
}
.p-top__about--inner {
  background: url(/wp-content/themes/motojimashouten-theme/img/concrete_bg.jpg);
  background-size: contain;
}
.p-top__about__bg {
  background: url(/wp-content/themes/motojimashouten-theme/img/top_about_bg.png) no-repeat;
  background-size: cover;
  position: relative;
  z-index: 99;
}
.p-top__about--txt {
  max-width: 1280px;
  margin: 0 auto;
  padding: 128px 0 228px 376px;
}
.p-top__about--txt h2 {
  font-size: min(5vw, 100px);
  margin-bottom: 24px;
  line-height: 8.2vw;
}
.p-top__about--txt p {
  max-width: 1068px;
  font-size: 24px;
  font-weight: 700;
  line-height: 50px;
}
.p-top__about__contents {
  margin: -70px 0 0;
}
.p-top__about__contents--inner {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  padding: calc(125 / 1920 * 100vw) 0 calc(216 / 1920 * 100vw);
  align-items: flex-end;
}
.p-top__about__contents--inner::after {
  background: url(/wp-content/themes/motojimashouten-theme/img/dec_02.png) no-repeat;
  content: "";
  width: calc(1225 / 1920 * 100vw);
  height: calc(964 / 1920 * 100vw);
  display: block;
  background-size: cover;
  position: absolute;
  left: 0;
  top: 0;
}
.p-top__about__contents--img {
  width: 47%;
}
.p-top__about__contents--txt {
  background-color: #fff;
  box-shadow: 0 0 1.5rem rgba(44, 65, 152, 0.2);
  width: 40.4%;
  position: relative;
  margin-right: calc(-160 / 1920 * 100vw);
  z-index: 99;
}
.p-top__about__contents--txt h3 {
  color: #10477f;
  font-size: min(2.1vw, 40px);
  padding: 100px 100px 60px 60px;
  padding: calc(100 / 1920 * 100vw) calc(100 / 1920 * 100vw)
    calc(60 / 1920 * 100vw) calc(60 / 1920 * 100vw);
}
.p-top__about__contents--txt p {
  line-height: calc(40 / 1920 * 100vw);
  padding: 0 calc(100 / 1920 * 100vw) calc(147 / 1920 * 100vw)
    calc(60 / 1920 * 100vw);
}

.p-top__service {
  background: url(/wp-content/themes/motojimashouten-theme/img/top_service_bg.png) no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}
.p-top__service--inner {
  padding: 121px 0 141px;
}
.p-top__service--txt {
  color: #fff;
  width: 675px;
  margin: 0 calc(200 / 1920 * 100vw) 74px auto;
}
.p-top__service--ttl {
  margin-bottom: 72px;
  width: 230px;
}
.p-top__service--ttl h3 {
  font-size: 50px;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  margin-bottom: 10px;
}
.p-top__service--ttl p {
  font-size: 30px;
  text-align: right;
}
.p-top__service--txt p {
  line-height: 40px;
}
.p-top__service--item {
  padding: 0 5%;
}
.p-top__service--item ul {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.p-top__service--item ul li {
  width: 337px;
}
.p-top__work {
  background: url(/wp-content/themes/motojimashouten-theme/img/concrete_bg.jpg);
  background-size: contain;
}
.p-top__work__inner {
  display: flex;
  align-items: center;
  padding: calc(230 / 1920 * 100vw) 0 0px;
  justify-content: flex-end;
}
.p-top__work--ttlArea {
  margin: 0 105px 0 133px;
}
.p-top__work--ttl {
  margin: 0 0 64px;
}
.p-top__work--link {
  width: 178px;
}

/* 親コンテナは全体幅1400px */
.p-top__work--img {
  width: 73.5%;
  margin: 0;
  height: 500px;
}

/* ul/li は block */
.slider-work,
.slider-work li {
  margin: 0;
  padding: 0;
  list-style: none;
  display: block;
}

/* liに幅700pxを指定 */
.slider-work li {
  width: 700px !important;
  height: 500px;
}

/* 画像はli幅にフィット */
.slider-work li img {
  width: 100%;
  height: auto;
  display: block;
  height: 500px;
}

/* スライド間隔を35pxに */
.slider-work .slick-slide {
  box-sizing: border-box;
  padding-right: 35px;
}

.p-top__recruit {
  position: relative;
  background: url(/wp-content/themes/motojimashouten-theme/img/concrete_bg.jpg);
  background-size: contain;
  top: 0;
  padding: calc(253 / 1920 * 100vw) 0 calc(102 / 1920 * 100vw);
}
.p-top__recruit::before {
  content: "";
  display: block;
  background: url(/wp-content/themes/motojimashouten-theme/img/dec_03.png);
  background-size: cover;
  height: calc(948 / 1920 * 100vw);
  position: absolute;
  width: 100%;
  top: 0;
}
.p-top__recruit--inner {
  position: relative;
}
.p-top__recruit--contents {
  position: absolute;
  top: 0;
  padding: calc(82 / 1920 * 100vw) 0 0;
  left: 50%;
  transform: translate(-50%, 0);
}
.p-top__recruit--ttl {
  margin: 0 0 calc(70 / 1920 * 100vw);
  text-align: center;
}
.p-top__recruit--txt {
  margin-bottom: calc(80 / 1920 * 100vw);
}
.p-top__recruit--txt h3 {
  font-size: min(calc(26 / 1920 * 100vw), 26px);
  color: #fff;
  text-align: center;
  margin-bottom: 21px;
}
.p-top__recruit--txt p {
  color: #fff;
  line-height: calc(40 / 1920 * 100vw);
}
.p-top__recruit--btn {
  width: 200px;
  margin: 0 auto;
}

@media screen and (max-width: 800px) {
  .slider-sp {
    display: block;
  }
  .p-top__bg {
    height: 666px;
  }
  .p-top__slide ul li img {
    height: 666px;
    object-fit: cover;
  }
  .p-top__mv--txt::after {
    width: 375px;
    height: auto;
  }
  .p-top__opacity--txt h1 {
    font-size: 62px;
    text-align: left;
    transform: translate(0,150%);
    top: 50%;
  }
  .p-top__txt {
    left: 23px;
    bottom: 60px;
  }
  .p-top__txt h2 {
    font-size: 32px;
    line-height: 1.6;
  }
  .p-top__txt--margin {
    padding: 0;
  }
  .p-top__txt p {
    font-size: 16px;
  }
  .p-top__news {
    padding: 45px 5% 60px;
  }
  .p-top__news--inner {
    display: block;
  }
  .p-top__news--inner ul li a {
    display: block;
  }
  .p-top__about--txt {
    padding: calc(40 / 375 * 100vw) 5% calc(140 / 375 * 100vw)
      calc(80 / 375 * 100vw);
  }
  .p-top__about--txt h2 {
    font-size: 50px;
    line-height: unset;
    line-height: 1.3;
  }
  .p-top__about--txt p {
    font-size: 16px;
    line-height: 2;
  }
  .p-top__about__bg {
    background: url(/wp-content/themes/motojimashouten-theme/img/top_about_bg_sp.png) no-repeat;
    background-size: cover;
  }
  .p-top__about__contents {
    margin: 0;
  }
  .p-top__about__contents--inner::after {
    width: calc(374 / 375 * 100vw);
    background: url(/wp-content/themes/motojimashouten-theme/img/dec_02_sp.png) no-repeat;
    content: "";
    height: calc(453 / 375 * 100vw);
    background-size: cover;
  }
  .p-top__about__contents--inner {
    display: block;
    padding: 60px 0%;
  }
  .p-top__about__contents--txt {
    width: auto;
    margin-right: 0;
    margin: 0 5%;
    z-index: 100;
  }
  .p-top__about__contents--img {
    width: auto;
    position: relative;
    z-index: 99;
    margin: -30px 2% 0;
  }
  .p-top__about__contents--txt h3 {
    font-size: 30px;
    line-height: 1.6;
    padding: 24px 18px 24px;
  }

  .p-top__about__contents--txt p {
    line-height: 2;
    padding: 0px 18px 43px;
    font-weight: 700;
  }
  .p-top__service {
    background: unset;
    background-color: #0075d9;
  }
  .p-top__service--inner {
    padding: 40px 5% 32px;
  }
  .p-top__service--txt {
    width: auto;
    margin: 0 auto;
  }
  .p-top__service--ttl {
    width: auto;
    margin-bottom: 10px;
  }
  .p-top__service--ttl h3 {
    text-align: center;
    font-size: 26px;
  }
  .p-top__service--ttl p {
    text-align: center;
    font-size: 20px;
  }
  .p-top__service--txt p {
    line-height: 2;
  }
  .p-top__service--item {
    padding: 0;
  }
  .p-top__service--item ul {
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
  }
  .p-top__service--item ul li {
    width: 156px;
  }
  .p-top__work__inner {
    display: block;
    padding: 60px 0 0;
  }
  .p-top__work--ttlArea {
    margin: 0;
    margin-bottom: 40px;
  }
  .p-top__work--ttl {
    margin: 0 0 24px;
  }
  .p-top__work--link {
    margin: 0 auto;
  }
  .p-top__work--img {
    width: 100%;
    margin: 0 auto;
    height: auto;
  }

  /* liも画面幅いっぱい */
  .slider-work li {
    width: 376px !important;
    display: block;
    height: auto;
    
  }

  /* 画像を高さ250pxに固定 */
  .slider-work li img {
    width: 100%;
    height: 250px;
    object-fit: cover; /* 縦横比を保ったままトリミング */
    display: block;
    object-position: center;
  }

  /* スライド間隔 */
  .slider-work .slick-slide {
    box-sizing: border-box;
    padding-right: 15px; /* SPでは余白を少し小さめに調整 */
  }
  .p-top__recruit::before {
    background: url(/wp-content/themes/motojimashouten-theme/img/dec_03_sp.png);
    background-size: cover;
    height: 408px;
    bottom: 0;
    top: unset;
  }
  .p-top__recruit--txt h3 {
    font-size: 20px;
    text-align: left;
    line-height: 2;
  }
  .p-top__recruit--txt p {
    line-height: 2;
  }
  .p-top__recruit--contents {
    left: unset;
    transform: unset;
    padding: 60px 0%;
  }
  .p-top__recruit--txt {
    padding: 0 5%;
    margin-bottom: 34px;
  }
  .p-top__recruit--btn {
    width: 330px;
    margin: 0 auto;
  }
}

/* -----------
business
-----------------*/
.p-business__txtArea {
  position: relative;
  height: 545px;
  max-width: 1280px;
  margin: 0 auto;
}
.p-business__txt {
  position: absolute;
  bottom: 0;
  left: 0;
}

.p-business__contents--bg {
  background: url(/wp-content/themes/motojimashouten-theme/img/concrete_bg.jpg);
  background-size: contain;
}
.p-business__description {
  max-width: 1280px;
  margin: 0 auto;
}

.p-business__description--box_img {
  width: 77.6%;
  margin: 0 0 0 auto;
}
.p-business__description--civil .p-business__description--box_img,
.p-business__description--paving .p-business__description--box_img {
  margin: 0;
}
.p-business__description--box_txt {
  background-color: #fff;
  width: 65.8%;
  position: relative;
  top: -160px;
  height: 273px;
}
.p-business__description--civil .p-business__description--box_txt,
.p-business__description--paving .p-business__description--box_txt {
  margin: 0 0 0 auto;
}

.p-business__description--box_txt_ttl {
  position: absolute;
  top: -20%;
  left: 15%;
}
.p-business__description--civil .p-business__description--box_txt_ttl,
.p-business__description--paving .p-business__description--box_txt_ttl {
  right: 15%;
  left: unset;
}

.p-business__description--box_txt_ttl h1 {
  color: #0075d9;
  font-size: 80px;
  text-shadow: 3px 4px 0px rgb(255, 255, 255);
}
.p-business__description--civil h1,
.p-business__description--paving h1 {
  color: #b00000;
}
.p-business__description--box_txt_lead {
  position: absolute;
  top: 100px;
  width: 82.2%;
  margin: 0 auto;
  left: 50%;
  transform: translate(-50%, 0);
}
.p-business__flow .ttl h3 {
  margin-bottom: 0;
}
.p-business__flow--contents {
  max-width: 1280px;
  margin: 0 auto;
  padding-bottom: 233px;
}
.flow-block {
  display: flex;
  align-items: flex-start;
  position: relative;
  margin: 0 0 80px;
  padding: 50px 4%;
}
.flow-block:last-child {
  margin-bottom: 0;
}
.flow-block::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: 50%;
  width: 86px;
  height: 24px;
  background: url(/wp-content/themes/motojimashouten-theme/img/flow_arw.png) no-repeat;
  background-size: contain;
  transform: translate(-50%, 0);
}
.flow-block:last-child:after {
  content: unset;
}

.flow-block-ttl {
  background-color: #0075d9;
  padding: 25px 0 25px 32px;
}
.flow-block-ttl h4 {
  color: #fff;
  font-size: 30px;
  margin: 0;
  position: relative;
  z-index: 9;
}
.flow-block-ttl-01 h4::before {
  content: "1";
}
.flow-block-ttl-02 h4::before {
  content: "2";
}
.flow-block-ttl-03 h4::before {
  content: "3";
}
.flow-block-ttl-04 h4::before {
  content: "4";
}

.flow-block-ttl h4::before {
  background-color: #0075d9;
  border-radius: 35px;
  width: 75px;
  height: 75px;
  display: block;
  position: absolute;
  top: -60px;
  left: 0;
  text-align: center;
  top: -60px;
  left: -32px;
  text-align: center;
  padding: 7px 0 0;
  z-index: -1;
  font-size: 40px;
}
.flow-block .photo {
  width: 504px;
}
.flow-block .txt-block {
  flex: 1;
  padding: 0 4% 0 0;
}
.txt02 {
  margin-top: 40px;
}

@media screen and (max-width: 800px) {
  .p-business__txt {
    bottom: 40px;
    left: 30px;
  }
  .p-business__description {
    padding: 0 4%;
  }
  .p-business__description--box_txt_ttl h1 {
    font-size: 26px;
  }
  .p-business__description--box {
    margin-bottom: 40px;
  }
  .p-business__description--box_img {
    margin: 0;
    width: auto;
  }
  .p-business__description--box_txt {
    position: static;
    width: auto;
    padding: 20px 4%;
    height: auto;
  }
  .p-business__description--box_txt_lead {
    margin-top: 20px;
  }
  .p-business__description--box_txt_ttl {
    position: static;
  }
  .p-business__description--box_txt_lead {
    position: static;
    transform: unset;
    width: auto;
  }
  .p-business__description--box_txt_lead p {
    font-size: 15px;
    line-height: 1.6;
  }

  .p-business__flow--contents {
    padding: 0 4% 80px;
  }
  .flow-block-ttl h4 {
    font-size: 24px;
  }
  .flow-block-ttl h4::before {
    font-size: 20px;
    width: 45px;
    height: 45px;
    top: -30px;
    left: -20px;
    padding: 4px 0 0;
  }
  .flow-block {
    display: block;
    padding: 16px 0 0;
    margin: 0px 0 76px 0;
  }
  .flow-block::after {
    width: 36px;
    height: 13px;
    bottom: -50px;
  }
  .flow-block-ttl {
    padding: 10px 0 10px 20px;
  }
  .flow-block .txt-block {
    padding: 0 0 20px;
  }
  .txt01 {
    line-height: 1.6;
  }
  .txt02 {
    margin-top: 16px;
    line-height: 1.6;
  }
}

/* --------
company
-------*/
.p-company__greeting--contents {
  max-width: 1280px;
  margin: 0 auto;
}
.p-company__greeting--contents-block {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
}
.p-company__greeting--contents-txt {
  width: 607px;
}
.p-company__greeting--contents-txt .txt01 {
  margin: 40px 0;
}
.p-company__greeting--philosophy {
  margin: 180px auto;
}
.p-company__greeting--philosophy h3 {
  background-color: #0075d9;
  text-align: center;
  padding: 22px 0;
  font-size: 30px;
  color: #fff;
}
.p-company__greeting--philosophy-txt {
  background-color: #fff;
  padding: 67px 50px;
  margin-top: 50px;
}
.p-company__profile {
  padding: 0 0 200px;
}
.p-company__profile--block {
  display: flex;
  justify-content: center;
  gap: 100px;
}
.p-company__profile--contents {
  width: 40%;
}
.p-company__profile--block-ttl {
  display: flex;
  gap: 24px;
  align-items: flex-end;
}
.p-company__profile--block-ttl h3 {
  font-size: 50px;
  color: #0075d9;
}
.p-company__profile--block-ttl p {
  font-size: 30px;
  font-weight: 700;
  line-height: unset;
}
.p-company__profile--block img {
  width: 41.7%;
}
.item {
  display: flex;
  padding: 17px 0px 0;
  border-bottom: 1px solid #e9e9e9;
  line-height: 1.6;
  justify-content: space-between;
}

.name {
  background-color: #0075d9;
  width: 153px;
  color: #fff;
  position: relative;
}
.name::after {
  content: "";
  background: url(/wp-content/themes/motojimashouten-theme/img/company_arw@2x.png) no-repeat;
  background-size: contain;
  width: 36px;
  height: 32px;
  display: block;
  bottom: 0;
  right: -20px;
  position: absolute;
}
.name p {
  padding: 4px 24px;
}

.data {
  background-color: #fff;
  width: 67.7%;
}
.data p {
  padding: 0 24px;
}
.company_profile--map {
  height: 323px;
}
.p-company__profile--map-ttl {
  margin: 47px 0 24px;
  display: flex;
  gap: 24px;
}
.p-company__profile--map-ttl h3 {
  color: #0075d9;
  font-size: 50px;
}
.p-company__profile--map-ttl p {
  font-size: 30px;
  font-weight: 700;
}

@media screen and (max-width: 800px) {
  .p-company__greeting--contents-block {
    display: block;
    padding: 0 4%;
  }
  .p-company__greeting--ttl h3 {
    margin-bottom: 0;
  }
  .p-company__greeting--contents-txt {
    width: auto;
  }
  .p-company__greeting--contents-txt h3 {
    margin-top: 20px;
    line-height: 1.6;
  }
  .p-company__profile--block {
    display: block;
  }
  .p-company__greeting--philosophy-txt {
    padding: 24px 4%;
    margin-top: 24px;
  }
  .p-company__greeting--contents-txt .txt01 {
    margin: 20px 0;
  }
  .p-company__greeting--philosophy {
    margin: 40px auto;
  }
  .p-company__profile--contents {
    width: auto;
  }
  .p-company__greeting--philosophy h3 {
    font-size: 26px;
    padding: 10px 0;
  }
  .p-company__profile--block-ttl {
    display: block;
    padding: 0 4%;
    text-align: center;
  }
  .p-company__profile--block-ttl h3 {
    font-size: 26px;
    margin-bottom: 16px;
  }
  .p-company__profile--block-ttl p {
    font-size: 18px;
  }
  .table {
    margin-top: 23px;
  }
  .item {
    display: block;
  }
  .name {
    width: auto;
  }
  .name::after {
    content: unset;
  }
  .data {
    width: auto;
  }
  .data p {
    padding: 10px 24px;
  }
  .p-company__profile--map-ttl h3 {
    font-size: 26px;
    margin-bottom: 16px;
  }
  .p-company__profile--map-ttl {
    display: block;
    text-align: center;
    margin: 40px 0;
  }
  .p-company__profile--map-ttl p {
    font-size: 18px;
  }
  .p-company__profile {
    padding: 0 0 166px;
  }
}

/* ---------
works
------------*/
.p-works__contents {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 0 336px;
}
.p-works__contents--list {
  background: #fff;
  padding: 103px 43px;
}
.p-works__contents--list ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 133px 21px;
}
.p-works__contents--list ul li {
  width: 387px;
}
.p-works__contents--list ul li img{
  height: auto;
}

@media screen and (max-width: 800px) {
  .p-works__contents--list {
    padding: 20px 4%;
  }
  .p-works__contents {
    padding: 0 4% 80px;
  }
  .p-works__contents--list ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .p-works__contents--list ul li {
  width: auto;
}

}

/* ----------
rectuir
-------------*/
.p-recruit__craftman {
  position: relative;
}
.p-recruit__craftman--bg {
  background: url(/wp-content/themes/motojimashouten-theme/img/recruit_dec.png) no-repeat;
  position: absolute;
  top: 0;
  right: 0;
  content: "";
  width: 1600px;
  height: 1377px;
}
.p-recruit__craftman--imgBlock {
  display: flex;
  justify-content: center;
  padding: 98px 4%;
  position: relative;
  z-index: 99;
}
.p-recruit__craftman--photo01 {
  margin-right: -150px;
}
.p-recruit__craftman--photo02 {
  margin-top: 72px;
}
.p-recruit__craftman--txt {
  position: relative;
  z-index: 99;
}
.p-recruit__craftman--ttl {
  text-align: center;
}
.p-recruit__craftman--ttl h2 {
  font-size: 50px;
  color: #fff;
  margin-bottom: 24px;
}
.p-recruit__craftman--ttl h3 {
  font-size: 30px;
  color: #fff;
  margin-bottom: 60px;
}
.p-recruit__craftman--txt p {
  color: #fff;
  width: 1000px;
  margin: 0 auto;
  letter-spacing: 0.2rem;
}
.p-recruit__craftman--list {
  max-width: 1280px;
  margin: 173px auto 0;
  position: relative;
  z-index: 99;
}
.p-recruit__craftman--item h3 {
  background-color: #b00000;
  padding: 16px 0 16px 32px;
  color: #fff;
  font-size: 30px;
}
.p-recruit__craftman--itemBlock {
  display: flex;
  justify-content: center;
  gap: 35px;
  align-items: flex-start;
  margin: 80px 0;
}
.p-recruit__craftman--itemBlock02 {
  flex-direction: row-reverse;
}
.p-recruit__craftman--item-txt {
  width: 50%;
}
.p-recruit__craftman--itemBlock p {
  letter-spacing: 0.2rem;
}
.p-recruit__craftman--itemBlock img {
  width: 47.5%;
}
.p-recruit__overview {
  padding: 80px 0 200px;
}
.p-recruit__overview-inner {
  max-width: 1280px;
  margin: 0 auto;
  background-color: #fff;
}
.r-table {
  max-width: 745px;
  margin: 0 auto;
}
.r-item {
  display: flex;
  justify-content: flex-start;
}
.r-name {
  background-color: #0075d9;
  padding: 16px 32px 16px 32px;
  flex-basis: 43.2%;
  border-bottom: solid #fff 1px;
}
.r-name p {
  color: #fff;
}
.r-data {
  padding-left: 60px;
  padding: 16px 0 16px 85px;
  border-bottom: solid 1px #000;
  width: 100%;
}
.p-recruit__overview--link {
  width: 178px;
  margin: 60px auto 0;
  padding-bottom: 60px;
}

@media screen and (max-width: 800px) {
  .p-recruit__craftman--block {
    background-color: #0075d9;
  }
  .p-recruit__craftman--imgBlock {
    padding: 40px 4%;
  }
  .p-recruit__craftman--bg {
    height: 800px;
  }
  .p-recruit__craftman--txt {
    padding: 0 4% 40px;
  }
  .p-recruit__craftman--ttl h2 {
    font-size: 26px;
  }
  .p-recruit__craftman--ttl h3 {
    font-size: 20px;
    margin-bottom: 24px;
  }
  .p-recruit__craftman--txt p {
    width: auto;
  }
  .p-recruit__craftman--list {
    margin: 40px 0;
  }
  .p-recruit__craftman--item h3 {
    font-size: 16px;
    padding: 10px 0 10px 32px;
  }
  .p-recruit__craftman--itemBlock {
    flex-direction: column-reverse;
    margin: 24px 0;
    gap: 20px;
    padding: 0 4%;
  }
  .p-recruit__craftman--itemBlock img {
    width: auto;
  }
  .p-recruit__craftman--item-txt {
    width: auto;
  }
  .p-recruit__craftman--itemBlock p {
  }
  .p-recruit__overview {
    padding: 40px 4%;
  }
  .r-table {
    padding: 0 4%;
  }
  .r-item {
    flex-direction: column;
  }
  .r-name {
    padding: 10px;
  }
  .r-data {
    border-bottom: unset;
    padding: 10px;
  }
}
/* ---------
contact
------------*/
.p-contact--inner {
  max-width: 1280px;
  margin: 0 auto;
}
.p-conact--ttl {
  max-width: 760px;
  margin: 0 auto;
}
.p-conact--ttl .tel {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 36px;
  gap: 10px;
}
.p-conact--ttl .tel img {
  width: 27px;
  height: 27px;
}
.p-conact--ttl .tel p {
  font-size: 30px;
  color: #0075d9;
  margin-top: 0;
  font-weight: 700;
}
.p-contact__form {
  background-color: #fff;
  padding: 120px 0;
}
.p-contact__form--box {
  width: 795px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  border-bottom: 1px solid #000;
}
.form-group.no-border {
  border-bottom: none;
}
.form-label {
  width: 300px;
  font-weight: 700;
  border-right: 1px solid #000;
  display: flex;
  font-size: 18px;
  align-items: center;
}

.form-input {
  flex: 1;
  padding: 20px 15px 20px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1%;
}
.form-input p {
  width: 100%;
}
.form-input input {
  background-color: #f4f3f3;
  border: solid 1px #000;
  height: 50px;
  border-radius: 5px;
}
.radio label,
.check label {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
}
.form-input.tel-inputs p,
.form-input.fax-inputs p {
  display: flex;
  align-items: center;
  gap: 1%;
}

.form-input.tel-inputs input,
.form-input.fax-inputs input {
  width: 124px; 
  text-align: center;
}
 
.form-input input[type="text"],
.form-input input[type="email"],
.form-input textarea {
  width: 100%;
  border: 1px solid #000;
  font-size: 14px;
  border-radius: 4px;
}
.form-input textarea {
  height: 200px;
}
.form-input input[type="text"][name^="tel"],
.form-input input[type="text"][name^="fax"] {
  width: 124px;
}

.form-input input[type="radio"],
.form-input input[type="checkbox"] {
  margin-right: 6px;
  width: 18px;
}

.form-input textarea {
  width: 100%;
  background: #f4f3f3;
  resize: vertical;
}

.form-input input[type="image"] {
  cursor: pointer;
  border: unset;
  border-radius: unset;
  margin: 100px auto;
}
.wpcf7 input[type="submit"] {
  background: url('/wp-content/themes/motojimashouten-theme/img/btn_submit.png') no-repeat center;
  background-size: cover;
  width: 172px;
  height: 46px;
  border: none;
  cursor: pointer;
  text-indent: -9999px;
}
.wpcf7-spinner {
  display: none !important;
}
.btn_submit input {
  width: 232px;
  margin: 80px auto 0;
  display: block;
}
.required {
  color: red;
  font-size: 16px;
  margin-left: 30px;
}

.privacy {
  padding: 204px 4%;
}
.privacy-ttl h3 {
  color: #0075d9;
  font-size: 30px;
  text-align: center;
  border-bottom: solid 2px #0075d9;
  padding: 12px 0;
}

.privacy-txt {
  max-width: 1051px;
  margin: 60px auto 0;
}
.privacy-txt-lead p {
  text-indent: -1rem;
  padding-left: 1rem;
}

@media screen and (max-width: 800px) {
  .p-conact--ttl {
    padding: 40px 4%;
  }
  .p-conact--ttl p {
    text-align: left;
  }
  .p-contact__form {
    padding: 40px 0;
  }
  .form-group {
    display: block;
    padding-top: 20px;
  }
  .form-label {
    border-right: unset;
  }
  .contact-form {
    width: auto;
    padding: 0 4%;
  }
  .p-contact__form--box {
    padding: 0 4%;
    width: auto;
  }
  .form-input p {
    width: auto;
  }
  .form-input.tel-inputs input, .form-input.fax-inputs input {
    width: 80px;
  }
  .form-input input[type="text"][name^="tel"],
  .form-input input[type="text"][name^="fax"] {
    width: 80px;
  }
  .form-input input {
    height: 30px;
  }
  .form-input {
    gap: 8px;
    padding: 20px 0;
    display: block;
  }
  .required {
    font-size: 12px;
    margin-left: 15px;
  }
  .btn_submit input {
    margin: 40px auto 0;
  }
  .privacy {
    padding: 40px 4%;
  }
  .privacy-txt {
    margin: 20px auto 0;
  }
  .privacy-txt-lead p {
    margin-bottom: 10px;
  }
}
