
/* 
Theme name: Word Press 双海工業株式会社
*/

@charset "utf-8";

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}
body {
    color: #2a2a2a;
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
  }
  img {
    max-width: 100%;
    vertical-align: bottom;
  }
  iframe {
    width: 100%;
    vertical-align: bottom;
  }
  li {
    list-style: none;
  }
  a {
    color: #2a2a2a;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  a:hover {
    opacity: 0.7;
  }


  .wrapper {
    width: 100%;
    max-width: 1048px;
    padding: 0 24px;
    margin: 0 auto;
  }

  /* ページタイトル */


.page-title {
    max-width: 1048px;
    line-height: 1;
    padding: 0 24px;
    margin: 60px auto 120px auto;
    position: relative;
  }

.page-title .en {
   display: block;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
  }

  .page-title .ja {
    display: block;
    font-size: 36px;
    font-weight: bold;
    letter-spacing: 0.1em;
  }

  .page-title::before {
    content: "";
    width: 1px;
    height: 80px;
    background-color: #e60012;
    position: absolute;
    top: -96px;
  }

/******** title ***********/

.section-title {
  line-height: 1;
  margin-bottom: 32px;
  position: relative;
}
.section-title .en {
  display: block;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.section-title .ja {
  display: block;
  font-size: 36px;
  font-weight: bold;
  letter-spacing: 0.1em;
}

.btn-link {
  width: 228px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e60012;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  padding-right: 80px;
  position: relative;
}

@media screen and (max-width: 767px) {

  .section-title .en {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .section-title .ja {
    font-size: 28px;
  }

  .btn-link {
    width: 180px;
    height: 60px;
  }

  .btn-link {
    width: 180px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e60012;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    padding-right: 80px;
    position: relative;
  }
}

.btn-link::after {
  content: "";
  height: 1px;
  width: 80px;
  background-color: #fff;
  position: absolute;
  top: 32px;
  right: 0;
}

#news .section-title::before {
  content: "";
  width: 1px;
  height: 80px;
  background-color: #e60012;
  position: absolute;
  top: -96px;
  left: 28px;
}

#company .company-head .section-title::before {
  content: "";
  width: 1px;
  height: 120px;
  background-color: #e60012;
  position: absolute;
  top: -140px;
  left: 18px;
}

#service .section-title::before {
  content: "";
  width: 1px;
  height: 120px;
  background-color: #e60012;
  position: absolute;
  top: -140px;
  left: 46px;
}

#recruit .section-title::before {
  content: "";
  width: 1px;
  height: 120px;
  background-color: #e60012;
  position: absolute;
  top: -116px;
  left: 42px;
}

/*****************************/



  /* mv-top */

  .mv-top {
    position: relative;
  }

  .mv-top img {
    width: 100%;
    height: 500px;
    object-fit: cover;
  }

  .mv-top .mv-text {
    font-size: 48px;
    writing-mode: vertical-rl;
    position: absolute;
    top: -84px;
    left: 17%;
    letter-spacing: 0.1em;
    line-height: 1.4;
    text-shadow: 1px 1px 3px #fff;
}

@media screen and (max-width: 767px) {

  .mv-top img {
    height: auto;
    object-fit: contain;
  }

  .mv-top .mv-text {
    font-size: 32px;
    top: 40px;
    left: 7%;
  }

}

/* news */

#news {
  max-width: 640px;
  background-color: #fff;
  padding: 40px 0 0 40px;
  margin: 0 0 0 auto;
  position: relative;
  top: -120px;
}

#news .list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

#news .list dt {
  width: 26%;
  font-size: 14px;
  margin-bottom: 12px;
}

#news .list dt .time {
  color: #2a2a2a;
  font-size: 14px;
  font-weight: normal;
}

#news .list dt .category {
  background-color: #2a2a2a;
  color: #fff;
  font-size: 11px;
  font-weight: 100;
  padding: 2px 6px;
  margin-left: 8px;
}

#news .list dd {
  width: 74%;
  font-size: 14px;
  margin-bottom: 13px;
}

#news .btn-link {
  margin-left: auto;
}

@media screen and (max-width: 767px) {

  #news {
    padding: 48px 24px 80px 24px;
    top: 0px;
}

#news .section-title::before {
  left: 22px;
}

#news .list {
  flex-direction: column;
  margin-bottom: 0;
  line-height: 1.5;
}

#news .list dt {
  width: 100%;
  margin-bottom: 7px;
}

#news .list dd {
  width: 100%;
  margin-bottom: 24px;
}

}

/* company */

#company {
  margin-bottom: 136px;
}

#company .company-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
}

#company .company-head .section-title {
  writing-mode: vertical-rl;
  margin: 0 24px 0 0;
}

#company .company-head .section-title .en {
  margin-left: 16px;
}

#company .company-head .img {
  max-width: 800px;
  position: relative;
}

#company .company-head .img .btn-link {
  position: absolute;
  bottom: 0;
  left: 0;
}

#company .company-text {
  max-width: 640px;
  font-size: 14px;
  line-height: 1.8;
}

@media screen and (max-width: 767px) {

  #company .section-header .section-title .en {
    margin-left: 8px;
  }

  #company {
    margin-bottom: 180px;
  }

  #company .section-header {
    margin-bottom: 40px;
  }

  #company .section-header .section-title::before {
    height: 80px;
    top: -100px;
    left: 12px;
  }
}


/* service */

#service {
  margin: -16px 0 120px 0;
}

#service .inner {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
}

#service .inner-right .title-img {
  max-width: 280px;
}

#service .inner-left {
  max-width: 640px;
  padding-top: 48px;
  margin-right: 24px;
}

#service .inner-left-head {
  display: flex;
}

#service .inner-left .inner-left-head .description {
  max-width: 300px;
  padding: 0 32px 32px 0;
}

#service .inner-left .inner-left-head .description .title {
  font-weight: bold;
  margin-bottom: 24px;
}

#service .inner-left .inner-left-head .description .text {
 font-size: 14px;
}

#service .inner-left-img-b {
  max-width: 380px;
  margin-top: -100px;
}

#service .slider-caption {
  position: relative;
  margin-top: 100px;
}

#service .slider-caption .description {
  max-width: 560px;
  background-color: #fff;
  padding: 8px;
  position: absolute;
  top: -130px;
  left: 45%;
}

#service .slider-caption .description .title {
  font-weight: bold;
  margin-bottom: 24px;
}

#service .slider-caption .description .text {
  font-size: 14px;
}

#service .slider-caption .slider .prev, #service .slider-caption .slider .next {
  width: 45px;
  height: 45px;
  background: rgba(0, 0, 0, 0.6);
  cursor: pointer;
  position: absolute;
  top: 40%;
  z-index: 10;
}

#service .slider-caption .slider {
  margin-bottom: 24px;
}

#service .slider-caption .slider li {
  max-width: 400px;
}

#service .slider-caption .slider .slick-slide {
  margin: 0 10px;
}

#service .slider-caption .slider .prev,
#service .slider-caption .slider .next {
  width: 45px;
  height: 45px;
  background: rgba(0, 0, 0, 0.6);
  cursor: pointer;
  position: absolute;
  top: 40%;
  z-index: 10;
}

#service .slider-caption .slider .prev {
  left: 0;
}

#service .slider-caption .slider .next {
  right: 0;
}

#service .slider-caption .slider .prev::before,
#service .slider-caption .slider .next::before {
  content: "";
  width: 14px;
  height: 14px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  position: absolute;
  top: calc(50% - 7px);
}

#service .slider-caption .slider .prev::before {
  left: 42%;
  transform: rotate(225deg);
}

#service .slider-caption .slider .next::before {
  right: 42%;
  transform: rotate(45deg);
}

@media screen and (max-width: 767px) {

  #service .inner {
    flex-direction: column;
  }

  #service .inner-right  {
    position: static;
  }

  #service .inner-right .title-img {
    max-width: 100%;
    text-align: center;
  }

  #service .section-title::before {
    height: 80px;
    top: -100px;
    left: 32px;
  }

  #service .inner-left {
    max-width: 100%;
    margin-right: 0;
  }

  #service .inner-left-head {
    flex-direction: column;
  }

  #service .inner-left .inner-left-head .description {
    max-width: 100%;
    padding: 0;
    margin-bottom: 24px;
    line-height: 1.4;
    letter-spacing: 1px;
  }

  #service .inner-left .inner-left-head .inner-left-img-r {
    margin-bottom: 24px;
  }

  #service .inner-left .inner-left-img-b {
    max-width: 100%;
    margin: 0 0 24px 0;
  }

  #service .slider-caption {
    margin-top: 32px;
  }
  
  #service .slider-caption .description {
    max-width: 100%;
    padding: 0 24px;
    position: static;
  }
  
  #service .slider-caption .description .title {
    margin: 0 0 32px 0;
    }
  
  #service .slider-caption .description .text {
    margin-bottom: 32px;
    }
  
  #service .slider-caption .slider .prev, #service .slider-caption .slider .next {
    width: 40px;
    height: 40px;
  }

  #service .slider-caption .slider .prev::before,
#service .slider-caption .slider .next::before {
  width: 12px;
  height: 12px;
  top: calc(50% - 6px);
}
}


/* recruit */

#recruit {
  margin-bottom: 120px;
}

#recruit .head-wrapper {
  display: flex;
  flex-direction: row-reverse;
}

#recruit .right-inner {
  max-width: 620px;
  margin-left: auto;
  position: relative;
}

#recruit .right-inner .section-title {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #fff;
  padding: 24px 0 24px 24px;
  writing-mode: vertical-rl;
}

#recruit .right-inner .section-title::before {
  content: "";
  width: 1px;
  height: 120px;
  background-color: #e60012;
  position: absolute;
  top: -116px;
  left: 42px;
}

#recruit .right-inner .section-title .en {
  margin: 0 0 0 16px;
}

#recruit .left-inner {
  max-width: 300px;
  margin: 240px 24px 0 0;
}

#recruit .bottom-wrapper {
  max-width: 620px;
  display: flex;
  margin: -200px 0 0 auto;
}

#recruit .bottom-wrapper .img {
  width: 50%;
  margin-right: 5%;
}

#recruit .bottom-wrapper .bottom-text {
  width: 45%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  line-height: 1.5;
}

#recruit .bottom-wrapper .description .title {
  font-weight: bold;
  margin-bottom: 24px;
}

#recruit .bottom-wrapper .description .text {
  font-size: 14px;
}

.btn-link-ex {
  width: 228px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e60012;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  position: relative;
}

@media screen and (max-width: 767px) {

  #recruit {
    margin-bottom: 80px;
  }

  #recruit .head-wrapper {
    flex-direction: column;
  }
  
  #recruit .right-inner {
    margin: 0 0 40px 0;
  }

  #recruit .right-inner .section-title::before {
    height: 80px;
    top: -80px;
    left: 38px;
  }

  #recruit .left-inner  {
    max-width: 60%;
    margin: 0 0 40px 0;
  }

  #recruit .bottom-wrapper {
    max-width: 100%;
    flex-direction: column;
    margin: 0;
  }

  #recruit .bottom-wrapper .img {
    max-width: 60%;
    margin: -200px 0 16px auto;
  }

  #recruit .bottom-wrapper .bottom-text {
    width: 100%;
  }

  #recruit .bottom-wrapper .bottom-text .description {
    margin-bottom: 16px;
  }

}

.btn-link-ex img {
  width: 16px;
  margin-left: 8px;
}

/* contact */

.contact {
  background: linear-gradient(75deg, #f5f5f5 0%, #f5f5f5 50%, #fff 50%, #fff 100%);
  padding: 120px 0;
}

.contact .content {
  display: flex;
  align-items: center;
  background-color: #fff;
  padding: 40px;
}

.contact .content .tel {
  width: 50%;
  text-align: center;
  border-right: solid 1px #e60012;
  padding: 24px;
}

.contact .content .title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
}

.contact .content .tel .tel_number{
  font-size: 44px;
  font-weight: bold;
  line-height: 1;
}

.contact .content .tel .text {
  font-size: 14px;
  margin-top: 8px;
}

.contact .content .form {
  width: 50%;
  text-align: center;
  padding: 24px;
}

.contact .content .form .btn-link_contact {
  margin: 0 auto;
  width: 228px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e60012;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  position: relative;
}

@media screen and (max-width: 767px) {

  .contact .content .form .btn-link_contact {
    margin: 0 auto;
    width: 180px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e60012;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    position: relative;
  }

  .contact {
    background: #f5f5f5;
    padding: 48px 24px;
  }

  .contact .content {
    flex-direction: column;
    padding: 24px;
  }

  .contact .content .title {
    font-size: 16px;
  }

  .contact .content .tel {
    width: 100%;
    border-right: none;
    border-bottom: solid 1px #e60012;
    padding: 24px 0;
  }

  .contact .content .tel .tel_number {
    font-size: 28px;
  }
  
  .contact .content .form {
    width: 100%;
  }

}


