body {
  padding: 0;
  margin: 0;
  text-align: center;
  font-family: 'Lato', 'Noto Sans JP', 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
  color: #333333;
}

a {
  color: #333333;
}

img {
  height: auto;
  vertical-align: bottom;
  border: none;
  -webkit-backface-visibility: hidden;
}

/* ヘッダー固定 */
#header {
  position: fixed;
  top: 0;
  margin: 0;
  padding: 12px 4px 6px 0;
  width: 100%;
  background-color: #ffffff;
  z-index: 9999;
  height: 55px;
  text-align: left;
}

#header img {
  max-width: 430px;
  width: 100%;
  margin: 0 auto;
  padding: 3px 0 5px 6%;
}

hr.hr1 {
  border: none;
  background-color: #ef821e;
  height: 4px;
}

#contents {
  padding-top: 50px;
}

#contents a {
  display: block;
  color: #333333;
  padding: 10px;
}

/* スクロールで出現するメニュー */
.fix-header {
  background-color: #007851;
  line-height: 66px;
  top: -106px;
  text-align: center;
  width: 100%;
  margin: 0 auto;
  color: #ffffff;
  padding-top: 56px;
  position: fixed;
  opacity: 0;
  z-index: 1000;
}

.fix-header-contents {
  margin: 0 auto;
}

.fix-header ul {
  list-style-type: none;
  width: 100%;
  text-align: center;
}

.fix-header li {
  display: inline-block;
  float: left;
  text-align: center;
  width: 20%;
  border-right: 1px solid #ffffff;
  box-sizing: border-box;
  padding: 0 1px 0 0;
  margin: 0;
}

.fix-header li:hover {
  background-color: #ef821e;
}

.fix-header li a,
.fix-header li a:visited {
  color: #ffffff;
  text-decoration: none;
  display: block;
  width: 100%;
}

.fix-header li:first-child {
  margin-left: -40px;
}

.fix-header li:last-child {
  border-right: none;
}

@media screen and (max-width: 640px) {
  .fix-header-contents {
    text-align: center;
    width: 100%;
  }

  .fix-header ul {
    list-style-type: none;
    width: 100%;
    text-align: center;
  }

  .fix-header li {
    float: left;
    text-align: center;
    width: 20%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }

  .fix-header li a,
  .fix-header li a:visited {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 70%;
    color: #ffffff;
    text-decoration: none;
    border-right: 1px solid #ffffff;
    line-height: 1.6;
    height: 5em;
  }

  .fix-header li:first-child {
    margin-left: -40px;
  }

  .fix-header li:last-child {
    border-right: none;
  }
}

/* スライド全画面背景 */
.bgimg-slider {
  width: 100vw;
  max-width: 100%;
  height: 100vh;
  background-position: center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ページ内リンク */
.button1 {
  margin: 4px auto 8px;
  text-align: center;
}

.btn-border1 {
  margin: 0 auto;
  display: inline-block;
  max-width: 360px;
  text-align: center;
  background: #ffffff;
  border: 2px solid #007851;
  font-size: 16px;
  color: #007851 !important;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 4px;
  transition: .4s;
}

.btn-border1:hover {
  background-color: #ef821e;
  border-color: #6ed4ff;
  color: #ffffff !important;
}

.btn-last {
  margin-bottom: 30px;
}

#page-link,
#page-link3 {
  margin: 70px auto 0;
  background: #ffffff;
  color: #ffffff;
  padding: 10px;
}

#page-link2 {
  margin: 80px auto 0;
  background: #e6e6e6;
  color: #333333;
  padding: 10px;
}

#page-link4 {
  margin: 80px auto 0;
  color: #ffffff;
  padding: 10px;
}

.box,
.box3 {
  background: #ffffff;
  color: #ffffff;
  margin: 70px auto 0;
  padding: 10px;
}

.box2 {
  background: #e6e6e6;
  color: #333333;
  margin: 70px auto 0;
  padding: 10px;
}

.box3 p {
  color: #333333;
}

.box-text {
  margin: 20px auto 0;
  color: #333333;
}

.box-text2 {
  margin: 20px auto 0;
  color: #ffffff;
}

.box-text small,
.box-text2 small {
  color: #ef821e;
  font-weight: 400;
  font-size: 70%;
}

/* メインパネル */
main {
  position: absolute;
  top: 54%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 15px 30px;
  background: rgb(0 120 81 / 0.4);
  color: #ffffff;
  text-align: center;
  text-transform: uppercase;
  max-width: 800px;
  width: 70%;
  border-radius: 10px;
  z-index: 3;
}

/* 会社名 */
main h1 {
  margin: 0 auto 30px;
  width: 96%;
  max-width: 700px;
  min-height: 30px;
  padding-top: 50px;
  position: relative;
  vertical-align: middle;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  font-size: 150%;
}

main h1:before {
  position: absolute;
  bottom: -10px;
  left: calc(50% - 30px);
  width: 60px;
  height: 5px;
  content: '';
  border-radius: 3px;
  background: #ffffff;
}

.info {
  margin: 0 auto;
  padding: 0;
}

.info p {
  width: 90%;
  max-width: 700px;
  text-align: left;
  margin: 0 auto;
  padding-bottom: 20px;
  text-align: center;
}

/* 電話番号 */
.btn,
a.btn,
button.btn {
  margin: 20px 0;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 1rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  color: #ffffff;
  border-radius: 0.5rem;
}

.ls {
  letter-spacing: 0.15em;
}

.ls2 {
  letter-spacing: 0.1em;
}

a.btn-border {
  border-radius: 0;
}

a.btn-border:before,
a.btn-border:after {
  position: absolute;
  width: 100%;
  height: 2px;
  content: '';
  -webkit-transition: all .3s;
  transition: all .3s;
  background: #ffffff;
}

a.btn-border:before {
  top: 0;
  left: 0;
}

a.btn-border:after {
  right: 0;
  bottom: 0;
}

a.btn-border:hover:before,
a.btn-border:hover:after {
  width: 0;
}

/* FAX番号 */
.fax-d {
  margin: 0 auto;
  padding: 10px 0 30px;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.fa-fax {
  padding-right: 3px;
}

/* 会社概要・採用情報 */
.greeting {
  max-width: 960px;
  width: 100%;
  margin: 0 auto 30px;
  color: #000000;
  text-align: left;
}

table {
  max-width: 960px;
  width: 100%;
  margin: 0 auto 30px;
  color: #000000;
  text-align: center;
}

.tbl-r02 th {
  background: #007851;
  border: none;
  color: #ffffff;
  padding: 10px;
  width: 8em;
}

.tbl-r02 td {
  background: #ffffff;
  border: none;
  padding: 10px 20px;
  text-align: left;
}

.tbl-r02 td dt {
  margin: 0;
}

.tbl-r02 td dd {
  margin: 0;
}

@media screen and (max-width: 640px) {
  .last td:last-child {
    border-bottom: solid 1px #cccccc;
    width: 100%;
  }

  .tbl-r02 {
    width: 90%;
    padding: 0 20px 0 0;
  }

  .tbl-r02 th,
  .tbl-r02 td {
    border-bottom: none;
    display: block;
    width: 100%;
  }

  .tbl-r02 td {
    background: #ffffff;
    border: none;
    padding: 10px;
    text-align: left;
  }
}

/* フッター */
footer {
  margin: 0 auto;
  padding: 0 0 2px 0;
  background: #007851;
  color: #ffffff;
}

.copy {
  top: 0;
  margin: 5em auto 10px;
  padding: 0 0 10px 0;
}

/* PC設定 */
@media screen and (min-width: 769px) {
  a[href^="tel:"] {
    pointer-events: none;
  }

  .sp-text {
    display: none;
  }
}

/* Googlemap */
.ggmap {
  max-width: 600px;
  width: 100%;
  overflow: hidden;
  padding-bottom: 20%;
  position: relative;
  margin: 0 auto 30px;
}

.ggmap iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  max-height: 400px;
  height: 100%;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}

/* SP調整 */
@media screen and (max-width: 640px) {
  #header {
    text-align: center;
  }

  #header img {
    max-width: 240px;
    width: 100%;
    margin: 0 auto;
    padding: 12px 0 12px 0;
  }

  .ggmap {
    max-width: 600px;
    width: 100%;
    height: 300px;
    overflow: hidden;
    padding-bottom: 0;
    position: relative;
    margin: 0 auto;
  }
}