@charset "UTF-8";

html {
  font-size: 100%;
}
body {
  background-color: #f0f0f0;
  color: #000;
  font-size: 0.875rem;
}
a {
  color: #000;
  font-size: 0.875rem;
  text-decoration: none;
}
img {
  max-width: 100%;
  vertical-align: bottom;
}
li {
  list-style: none;
}

.logo {
  line-height: 1px;
  margin-right: 60px;
}
.logo a {
  display: block;
  font-size: 1em;
  letter-spacing: .1em;
}

.section-title {
  font-weight: normal;
  line-height: 1;
  margin-bottom: 50px;
}
/*
疑似要素を使って下線を引く
*/
.section-title::after {
  content: "";
  width: 40px;
  height: 1px;
  background-color: #000;
  display: block;
}
.section-title .en {
  display: block;
  font-size: 2.25rem;
  letter-spacing: 0.3em;
  margin-bottom: 10px;
}

.wrapper {
  width: 90%;
  padding: 0 16px;
  margin: 0 auto;
}

.no-pc{
  display: none;
}

/*-------------------------------------------
ヘッダー
-------------------------------------------*/
#header {
  height: 80px;
  display: flex;
  align-items: center;
}
#header .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
span.text_small {
    font-size: 0.7em;
}
#header .inner ul,
#footer ul {
  display: flex;
  align-items: center;
}
#header .inner li,
#footer li {
  margin-right: 30px;
}
#header .inner li:last-child,
#footer li:last-child {
  margin-right: 0;
}
.header_tel h3 {
  font-size: 1.3rem;
}
nav ul li a{
  position: relative;
  transition: .3s;
  padding-bottom: 2px;
}
nav ul li a:after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  content: "";
  transition: .3s;
  background-color: #333;
}
nav ul li a:hover{
  opacity: .7;
}
nav ul li a:hover:after {
  width: 100%;
}

/*-------------------------------------------
トップ
-------------------------------------------*/
#mainvisual {
  margin-bottom: 120px;
}
/*
メインビジュアルを画面の高さに合わせる
headerの高さが80pxあるので、100vhから80px分だけマイナスする
*/
#mainvisual img {
  width: 100%;
  height: calc(100vh - 80px);
  object-fit: cover;
}

/*-------------------------------------------
会社概要
-------------------------------------------*/
/*
テキストと画像はpositionを使って配置
子要素の「position: absolute;」で高さがなくなるため、
「height: 650px;」を指定して高さを確保
*/
#company {
  height: 650px;
  display: flex;
  align-items: center;
  position: relative;
}
#company .text {
  width: 55%;
  background-color: #fff;
  padding: 100px 8% 100px 12%;
  position: absolute;
  top: 0;
  left: 0;
  margin-left: 16px;
}
#company .img1{
  width: 14%;
    height: 59%;
    position: absolute;
    left: 3%;
    top: 3%;
    z-index: 0;
}
#company .img1 img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#company .img2 {
  width: 53%;
  position: absolute;
  top: 115px;
  right: 0;
  margin-right: 16px;
}
#company .img2 img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
#company .info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
#company .info dt {
  width: 20%;
  margin-top: 10px;
}
/*
1つめのdtにはmargin-topを設定しない
*/
#company .info dt:first-of-type {
  margin-top: 0;
}
#company .info dd {
  width: 80%;
  margin-top: 10px;
}
/*
1つめのddにはmargin-topを設定しない
*/
#company .info dd:first-of-type {
  margin-top: 0;
}
#company .info .add {
  margin-left: 20%;
}


/*-------------------------------------------
取引実績
-------------------------------------------*/
#works {
  display: flex;
  margin-bottom: 120px;
}
#works .section-title{
  margin-bottom: 15px;
}
#works .img {
  width: 55%;
}
#works .img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
#works .text {
  width: 45%;
  padding: 10% 5% 0 5%;
}
#works .text p {
  margin-bottom: 25px;
  font-size: 12px;
}
#works ul li{
  font-size: 16px;
  line-height: 1.8;
}

/*-------------------------------------------
お問い合わせ
-------------------------------------------*/
form {
  margin: 40px auto;
  max-width: 720px;
}
.form_item {
  padding-top: 24px;
  padding-bottom: 24px;
  width: 100%;
  display: flex;
  align-items: center;
}
.form_item_label {
  width: 25%;
  letter-spacing: 0.05em;
  font-weight: bold;
  font-size: 18px;
}
.form_item_label.company_label{
  width: 31%;
}
.form_item_label.isMsg {
  margin-top: 8px;
  margin-bottom: auto;
}
.form_item_label_required {
  border-radius: 6px;
  margin-bottom: auto;
  padding-top: 8px;
  padding-bottom: 8px;
  width: 6%;
  display: inline-block;
  text-align: center;
  background: #545454;
  color: #fff;
  font-size: 14px;
}
.form_item_input {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-left: 40px;
  padding-left: 1em;
  padding-right: 1em;
  height: 48px;
  flex: 1;
  width: 100%;
  max-width: 410px;
  background: #eaedf2;
  font-size: 18px;
}
.form_item_textarea {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-left: 40px;
  padding: 1em;
  height: 216px;
  flex: 1;
  width: 100%;
  max-width: 410px;
  background: #eaedf2;
  font-size: 18px;
}
.submit_button {
  border-radius: 6px;
  margin-top: 32px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 20px;
  padding-bottom: 20px;
  width: 280px;
  display: block;
  letter-spacing: 0.05em;
  background: #545454;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  transform: all .3s ease;
}
.submit_button:hover{
  opacity: .8;
}

/*-------------------------------------------
footer
-------------------------------------------*/
#footer {
  background-color: #fff;
  text-align: center;
  padding-bottom: 20px;
}
#footer ul{
  justify-content: center;
  padding: 40px 0;
}
#footer .copyright {
  font-size: 0.625rem;
}

/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 600px) {
  .logo {
    margin: 8px 0;
  }
  .section-title {
    margin-bottom: 34px;
  }
  .section-title .ja {
    margin-bottom: 24px;
  }
  .no-pc{
    display: block;
  }
  .no-sp{
    display: none;
  }
  .wrapper{
    padding: 0 12px;
    width: 100%;
  }
  
  /*-------------------------------------------
  ヘッダー
  -------------------------------------------*/
  #header{
    padding: 0;
  }
  .hamburger_menu{
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    z-index: 10;
    padding: 0 16px 6px;
    background-color: #f0f0f0;
  }
  .hamburger_menu li{
    margin-bottom: 10px;
  }
  .hamburger_icon{
    position: relative;
    width: 50px;
    height:50px;
    cursor: pointer;
    background:#fff;
}
  .hamburger_icon span{
    display: inline-block;
    transition: all .4s;/*アニメーションの設定*/
    position: absolute;
    left: 13px;
    height: 2px;
    background-color: #000;
  }
  .hamburger_icon span:nth-of-type(1){
    top:22px; 
    width: 50%;
  }
  .hamburger_icon span:nth-of-type(2){
    top:29px;
    width:30%;
  }
  .hamburger_icon.active span:nth-of-type(1) {
    top: 20px;
    left: 16px;
    transform: translateY(6px) rotate(-45deg);
    width: 35%;
}

  .hamburger_icon.active span:nth-of-type(2) {
    top: 32px;
    left: 16px;
    transform: translateY(-6px) rotate(45deg);
    width: 35%;
}
nav ul li a:hover:after {
  width: 0;
}

  /*-------------------------------------------
  トップ
  -------------------------------------------*/
  #mainvisual {
    margin-bottom: 40px;
  }

  /*-------------------------------------------
  works
  -------------------------------------------*/
  #works {
    flex-direction: column-reverse;
    margin-bottom: 40px;
  }
  #works .img {
    width: 100%;
    margin-bottom: 30px;
  }
  #works .img img {
    height: 300px;
  }
  #works .text {
    width: 100%;
    padding: 0 16px;
    margin-bottom: 40px;
  }

  /*-------------------------------------------
  contact
  -------------------------------------------*/
  #contact {
    margin-bottom: 40px;
  }
  /*-------------------------------------------
  Company
  -------------------------------------------*/
  /*
  「position: static;」でrelativeを解除
  */
  #company {
    height: auto;
    flex-direction: column;
    position: static;
    margin-bottom: 40px;
  }
  /*
  「position: static;」でabsoluteを解除
  */
  #company .text {
    width: 100%;
    padding: 40px 20px;
    margin-bottom: 20px;
    margin-left: 0;
    position: static;
  }
  /*
  「position: static;」でabsoluteを解除
  */
  #company .img {
    width: 100%;
    padding: 0;
    position: static;
  }
  #company .img1 {
    right: 8%;
    left: unset;
    top: 122%;
}
  #company .info {
    flex-direction: column;
  }
  #company .info dt {
    width: 100%;
    margin-top: 20px;
  }
  #company .info dd {
    width: 100%;
    margin-top: 5px;
    padding-left: 14px;
  }
  #company .info dd:first-of-type {
    margin-top: 5px;
  }
  #company .info .add {
    margin-left: 0;
  }
  #company .img2 {
    width: 100%;
    position: static;
    margin-right: 0;
}
  #company .img2 img{
    height: 300px;
  }

/*-------------------------------------------
  お問い合わせ
-------------------------------------------*/
  .form_item {
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
    flex-wrap: wrap;
  }
  .form_item_label {
    display: flex;
    align-items: center;
    font-size: 15px;
    width: auto;
    padding: 0 20px;
  }
  .form_item_label.isMsg {
    margin-top: 0;
  }
  .form_item_label_required {
    border-radius: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
    width: 32px;
    font-size: 10px;
  }
  .form_item_input {
    margin-left: 0;
    margin-top: 18px;
    height: 40px;
    flex: inherit;
    font-size: 15px;
    max-width: 100%;
  }
  .form_item_textarea {
    margin-top: 18px;
    margin-left: 0;
    height: 200px;
    flex: inherit;
    font-size: 15px;
    max-width: 100%;
  }
  .submit_button {
    margin-top: 24px;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 160px;
    font-size: 16px;
  }

  /*-------------------------------------------
  footer
  -------------------------------------------*/
  #footer .flex {
    flex-direction: column;
    align-items: flex-start;
  }
  #footer .flex .logo {
    margin-bottom: 10px;
  }
}