@charset "utf-8";

/* ブラウザの既定スタイルを解除する */
*,
::before,
::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ベースになるスタイルを設定する */
body {
  font-family: sans-serif;
  font-size: 16px;
  color: #000000;
  line-height: 1;
  background-color: #ffffff;
  max-width: 1200px;
  margin: auto;
}

img {
  max-width: 100%;
}

/* ヘッダーのスタイルを指定する */

.header-inner {
  max-width: 1200px;
  height: 110px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ハンバーガーメニューを非表示にする */
.toggle-menu-button {
  display: none;
}

/* ロゴとナビゲーションのスタイルを指定する */
.header-logo {
  display: block;
  width: 150px;
}

.site-menu ul {
  display: flex;
}

.site-menu ul li {
  margin-left: 20px;
  margin-right: 20px;
}

.site-menu ul li a {
  font-family: 'Montserrat', sans-serif;
}

/* メイン要素のスタイルを指定する */

.main {
  border: solid;
  border-color: #f0f8ff;
}

.first-view {
  height: calc(30vh - 110px);
  background-color: #c0c0c0;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  align-items: center;
}

.first-view-text {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-bottom: 40px;
  color: #ffffff;
  font-weight: bold;
  text-shadow: 1px 1px 10px #4b2c14;
}

.first-view-text p {
  font-size: 24px;
  line-height: 32px;
  margin-top: 20px;
}

.first-view-text h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 44px;
  line-height: 32px;
  margin-top: 32px;
}

.lead {
  max-width: 1200px;
  margin: 60px auto;
}

.lead p {
  line-height: 2;
  font-size: 18px;
  text-align: center;
}



/* メイン要素 － 事業領域エリアのスタイルを指定する */

h2 {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  padding-top: 45px;
}
h2::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background-color: #000000;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
}

.services {
  background-color: #ffffff;
  padding-top: 45px;
  padding-bottom: 55px;
  display: flex;
  justify-content: space-between;
  width: 930px;
  max-width: 90%;
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
  align-items: flex-start;
}

.services img {
  width: 360px;
}

.services-text {
  max-width: 500px;
  margin-left: 20px;
  margin-right: 20px;
}

.reverse {
  flex-direction: row-reverse;
}

.services-text h3 {
  font-size: 22px;
  font-weight: bold;
  line-height: 40px;
}

.services-text h3::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background-color: #000000;
  margin-top: 20px;
}

.services-text p {
  font-size: 16px;
  line-height: 30px;
  margin-top: 24px;
}



/* メイン要素 － 実績エリアのスタイルを指定する */

.records {
  background-color: #f0f8ff;
  padding-bottom: 55px;
}

.records img {
  width: 240px;
  height: 170px;
}

.records-list {
  display: flex;
  padding-top: 40px;
  padding-bottom: 10px;
  padding-left: 60px;
  padding-right: 60px;
  overflow: auto;
}
.records-list li {
  flex-shrink: 0;
  width: 300px;
  margin-left: 75px;
}
.records-list li:first-child {
  margin-left: 0;
}
.records-list dl {
  margin-top: 20px;
}
.records-list dt {
  font-size: 16px;
  font-weight: bold;
  line-height: 30px;
  margin-top: 10px;
}
.records-list dd {
  font-size: 16px;
  line-height: 30px;
  margin-top: 10px;
}

/* メイン要素 － 会社概要エリアのスタイルを指定する */

.company {
  margin: 45px auto;
  font-size: 16px;
  width: 800px;
}

.table line {
  display: table;
}

.block-header, .block {
  display: table-cell;
  border: solid 1px #f0f8ff;
  line-height: 3;
  padding: 20px;
}

.block-header {
  width: 200px;
  background-color: #f0f8ff;
}

.block {
  width: 600px;
}

/* メイン要素 － 問い合わせエリアのスタイルを指定する */

.form-area {
  background-color: #f0f8ff;
  border: 1px solid #f0f8ff;
  margin-top: 45px;
  padding: 60px;
  display: flex;
  flex-wrap: wrap;
  text-align: center;
}

.form-area dt {
  width: 300px;
  padding: 20px 0 0 60px;
  font-size: 16px;
  font-weight: bold;
  line-height: 30px;
  text-align: left;
}

.form-area dt .required::after {
  content: '必須';
  font-size: 12px;
  color: #eb4f32;
  margin-left: 10px;
}

.form-area dd {
  width: calc(100% - 300px);
  padding: 20px 0;
}

.input-text {
  width: 100%;
  max-width: 400px;
  height: 36px;
  padding-left: 10px;
  padding-right: 10px;
}

.message {
  width: 100%;
  max-width: 400px;
  height: 260px;
  padding: 10px;
  line-height: 1.5;
}

.robotblock {
  width: 100%;
  max-width: 400px;
  height: 36px;
  padding-left: 10px;
  padding-right: 10px;
}

.confirm-text {
  font-size: 16px;
  line-height: 24px;
  margin-top: 30px;
  text-align: center;
}

.submit-button {
  background: #f0f8ff;
  display: block;
  min-width: 180px;
  line-height: 40px;
  border-radius: 24px;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  margin: 20px auto 60px;
  cursor: pointer;
}

.submit-button:hover {
  background-color: #5aabf1;
}



/* フッターのスタイルを指定する */
.footer {
  color: #000000;
  background-color: #ffffff;
  padding-top: 30px;
  padding-bottom: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  display: block;
  width: 150px;
  margin-top: 90px;
}

.copyright {
  font-size: 14px;
  margin-top: 45px;
}



/* !------------------------------------
   ここからはレスポンシブデザインの CSS 記述
   -------------------------------------! */

@media (max-width: 800px) {

  /* ヘッダー要素のレスポンシブデザイン */

  .site-menu ul {
    display: block;
    text-align: center;
  }

  .site-menu li {
    margin-top: 20px;
  }

  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    height: 50px;
    z-index: 10;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1)
  }

  .header-inner {
    padding-left: 20px;
    padding-right: 20px;
    height: 100%;
    position: relative;
  }

  .header-logo {
    width: 80px;
  }

  /* ハンバーガーメニューのレイアウト作成 */
  .header-site-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    color: #ffffff;
    background-color: #736E62;
    padding-top: 30px;
    padding-bottom: 50px;
    display: none;
  }

  .header-site-menu.is-show {
    display: block;
  }

  .toggle-menu-button {
    display: block;
    width: 44px;
    height: 34px;
    background-image: url(../images/icon-menu.png);
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    border: none;
    border-radius: 0;
    outline: none;
  }



  /* メイン要素 - ファーストビューのレスポンシブデザイン　*/
  .first-view {
    height: calc(30vh - 50px);
    background-color: #c0c0c0;
    align-items: flex-start;
  }

  .first-view-text {
    padding-top: 15px;
    padding-left: 15px;
  }

  .first-view-text p {
    font-size: 14px;
    margin-top: 15px;
  }

  .first-view-text h1 {
    font-size: 20px;
    line-height: 15px;
  }

  .main {
    padding-top: 50px;
  }

  .lead {
    margin: 30px 15px auto 15px;
  }
  
  .lead p {
    line-height: 2;
    font-size: 14px;
    text-align: center;
  }

  /* メイン要素 - 事業領域のレスポンシブデザイン　*/
 
  .services {
    display: block;
    width: 500px;
    margin-top: 30px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .services-text h3 {
    font-size: 15px;
  }

  .services-text p {
    margin-right: 0;
    font-size: 12px;
    line-height: 24px;
  }

  .reverse .services-text {
    margin-left: 0;
  }

  .services img {
    width: 100%;
    height: auto;
    margin-bottom: 25px;
  }

  /* メイン要素 - 実績のレスポンシブデザイン　*/

  .records img {
    width: 170px;
    height: 120px;
  }

  .records-list {
    padding-left: 20px;
    padding-right: 20px;
  }
  .records-list li {
    width: 180px;
    margin-left: 30px;
  }
  .records-list dt {
    font-size: 12px;
    font-weight: bold;
    line-height: 20px;
    margin-top: 10px;
  }
  .records-list dd {
    font-size: 12px;
    line-height: 20px;
    margin-top: 10px;
  }

  /* メイン要素 - 会社概要のレスポンシブデザイン　*/

  .company {
    margin: 30px auto;
    font-size: 12px;
  }

  .company {
    margin: 30px auto;
    font-size: 12px;
    width: 350px;
  }
  
  .block-header, .block {
    line-height: 2;
    padding: 10px;
  }

  .block-header {
    width: 75px;
    background-color: #f0f8ff;
  }
  
  .block {
    width: 270px;
  }

  /* メイン要素 - 問い合わせのレスポンシブデザイン　*/

  .form-area {
    width: 100%;
    margin-top: 45px;
    padding: 20px;
  }

  .form-area dt, dd {
    width: 100%;
  }

  .form-area dt {
    padding-top: 0;
    padding-bottom: 0;
  }

  .input-text, .message {
    width: 320px;
  }

  .confirm-text {
    margin: 20px;
    font-size: 12px;
  }

  .submit-button {
    margin: 0 auto 20px;
  }


  /* フッター要素のレスポンシブデザイン */

  .footer-logo {
    margin-top: 60px;
  }

  .copyright {
    margin-top: 20px;
  }

}