/* 共通 */
* {
  margin: 0;
  padding: 0;
}

body {
  width: 100%;
  max-width: 1024px; /* 横幅の最大値 */
  min-width: 320px; /* 横幅の最小値 */
	margin-left: auto;
  margin-right: auto;
  /*background-color: red;
  /*background-image:url(image/b050.jpg);*//*背景画像ないほうが良い*/
}

#home, #jigyounaiyou, #kigyoujyouhou, #saiyoujyouhou {
  margin-left: 70px;
}

a {
  text-decoration: none;
  color: #000000;
}

/* 画面サイズの横幅が 480px より小さい場合に適用 */
@media screen and (max-width: 480px) {
  #home, #jigyounaiyou, #kigyoujyouhou, #saiyoujyouhou {
    margin-left: 10px;
  }
}

/* 画面サイズの横幅が 330px より小さい場合に適用 */
@media screen and (max-width: 330px) {
  #home, #jigyounaiyou, #kigyoujyouhou, #saiyoujyouhou {
    margin-left: 0;
  }
}

/*へッダーだよ！*/
#header {
  position: fixed; /* ヘッダーの固定 */
  z-index: 5;
  width: 100%;
  height: 200px;
  max-width: 1024px; /* 横幅の最大値 */
  min-width: 320px; /* 横幅の最小値 */
  padding-top: 15px;
  background-color:#FFFFFF;/*ヘッダーの位置確認用背景色lime*/
}

#header img {
  width: 200px;
  height: 111px;
}

#header p {
  margin-top: 20px;
}

#header-div1 {
  display: flex; /*ロゴと会社名称等を横並びにする*/
  justify-content: space-between; /*ロゴを左端に会社名等を右端にする*/

}

#header-div1 p {
  text-align: left; 
  font-size: 12px;
}

#header-ul1 {
  width: 100%;
  margin: 0;
  padding-top: 20px;
  padding-right: 0;
  padding-bottom: 15px;
  padding-left: 0;
  display: table;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 2px 0;
  text-align: center;
  background-color:#FFFFFF; /*ulの位置確認用背景色yellow*/
}

#header-ul1 li {
  margin: 0;
  padding: 0;
  display: table-cell;
  height: 45px;
  vertical-align: middle;
  font-size: 17px;
  font-weight: 400;
  background-color:#EEEEEE;/*ナビの色未定*/
}

#header-ul1 li:hover {
  font-weight: 500;
  background-color: #DDDDDD;/*マウス乗せた時の色未定*/
}
#header-ul1 li a {
  display: block;
}
/* 画面サイズの横幅が 480px より小さい場合に適用 */
@media screen and (max-width: 480px) {
  #header {
    position: fixed; /* ヘッダーの固定 */
    z-index: 5;
    width: 100%;
    height: 180px;
    padding-top: 10px;
    background-color:#FFFFFF;/*ヘッダーの位置確認用背景色lime*/
  }

  #header img {
    margin-top: 15px;
    width: 150px;
    height: auto;
  }

  #header p {
    margin-top: 15px;
    font-size: 10px;
  }

  #header-ul1 {
    padding-top: 10px;
    padding-bottom: 7px;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }

  #header-ul1 li {
    width: 32.78%;
    height: 32px;
    margin: 0;
    padding: 0;
    border-top: 1px solid #FFFFFF;
    border-right: 1px solid #FFFFFF;
    border-bottom: 1px solid #FFFFFF;
    border-left: 1px solid #FFFFFF;
  }

  #header-ul1 li a {
    padding-top: 5px;
    font-size: 17px;
    font-weight: 400;
  }
}

/* 画面サイズの横幅が 330px より小さい場合に適用 */
@media screen and (max-width: 330px) {
  #header img {
    margin-top: 14px;
    width: 140px;
    height: auto;
  }

  #header p {
    margin-top: 15px;
    font-size: 9px;
  }

  #header-ul1 {
    padding-top: 8px;
    padding-bottom: 5px;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }

  #header-ul1 li {
    width: 32.7%;
    height: 32px;
    margin: 0;
    padding: 0;
    border-top: 1px solid #FFFFFF;
    border-right: 1px solid #FFFFFF;
    border-bottom: 1px solid #FFFFFF;
    border-left: 1px solid #FFFFFF;
  }
  #header-ul1 li a {
    padding-top: 5px;
    font-size: 15px;
    font-weight: 400;
  }
}

/*フッターだよ！*/
#footer {
  width: 100%;
  background-color: #FFFFFF;
  color: #000000;
}

.footer-hr1 {
  width: 100%;
  border: none;
  border-top: dashed 1px #000000;
  height: 1px;
  color: #FFFFFF;
}

.footer-table {
  text-align: center;
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

.footer-table tr td {
  width: 150px;
  margin-top: 0;
  padding-top: 0;
  font-size: 17px;
}

.footer-a {
  text-decoration: none;
  color: #000000;
}

.footer-hr2 {
  border: none;
  height: 2px;
  background-color: #000000;
  width: 100%;
}

.footer-ul {
  text-align: center;
  padding-top: 35px;
  padding-left: 0;
}

.footer-ul li {
  display: inline-block;
  list-style-type: none;
  width: 150px;
  font-size: 14px;
}

.footer-p {
  margin-top: 35px;
  margin-bottom: 50px;
  text-align: center;
  font-size: 12px;
  font-family: Roboto, Arial, Helvetica, Tahoma, Verdana;
  color: #000000;
}

/* 画面サイズの横幅が 480px より小さい場合に適用 */
@media screen and (max-width: 480px) {
  .footer-hr1, .footer-table {
    display: none;
  }
  .footer-ul li {
    display: inline-block;
    list-style-type: none;
    width: 32%;
  }
  .footer-a {
    font-size: 12px;
    text-decoration: none;
  }
}
