* {
  font-family: sans-serif;
}
body, ul {
  margin: 0;
  padding: 0;
}
img {
  margin: 0;
  padding: 0;
  border: 0;
}
h3 {
  color: #009900;
  font-weight: bold;
}
p, dl, ol, #notohiba ul {
  line-height: 1.6em;
}
#notohiba ul {
  list-style-type: none;
}
.contents_block {
  padding-bottom: 30px;
  margin-bottom: 5px;
}
#fixedBox {
  background-color: rgba(51,51,51,0.8);
}
#fixedBox ul {
  margin: 0 auto;
  list-style-type: none;
}
#fixedBox li {
  float: left;
  width: 105px;
  border-right: groove 2px #cdcdcd;
}
#fixedBox #logo {
  width: 468px;
  background-color: #000000;
  position: relative;
}
#fixedBox #logo img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}
#fixedBox li a {
  display: block;
  height: 100%;
  box-sizing: border-box;
  color: #fff;
  text-decoration: none;
  text-align: center;
  background-color: #333;
}
#fixedBox ul li a:hover {
  background-color: #666;
}
#TabBox ul {
  margin: 0 auto;
  overflow: hidden;
  list-style-type: none;
  background-color: #ddd;
}
#TabBox li {
  float: left;
}
#SlideArea {
  background-color: #ccc;
}
/* 通常時のボタン装飾 */
.Change_SAC {
  text-decoration: none;
  display: block;
  border: solid 1px #cdcdcd;
  color: #fff;
  background-color: #333;
  position: relative;
  transition: all .3s ease-in-out;
}
/* カレントとホバー時のボタン装飾 */
.Change_SAC:hover,
.Change_SAC.is-active {
  background: #666;
  box-sizing: border-box;
}

@media screen and (max-width: 420px) {
  .contents, #fixedBox, #TabBox {
    width: 420px;
  }
  h3, h5 {
    font-size: 1.1em;
  }
  #fixedBox ul {
    width: 321px;
  }
  #TabBox ul {
    width: 400px;
  }
  #fixedBox #logo {
    width: 319px;
  }
  #fixedBox li {
    height: 30px;
    border-bottom: groove 2px #cdcdcd;
  }
  #fixedBox li a {
    line-height: 30px;
  }
  .fixed li {
    height: 30px;
  }
  h2 {
    height: 100px;
  }
  #top {
    height: 400px;
  }
  #top img, h2 img {
    width: 300px;
  }
  #fixedBox #logo img {
    height: 30px;
  }
  .SA_Contents {
    padding: 10px;
  }
  h6 {
    font-size: 1.1rem;
    margin: 0 0 10px 0;
  }
  .Change_SAC {
    margin: 0 1px 1px 0;
    padding: 8px 4px;
    box-shadow: 1px 1px 1px rgba(0,0,0,0.3);
    font-size: 1rem;
  }
}
@media screen and (min-width: 421px) and (max-width: 900px) {
  .contents, #fixedBox, #TabBox {
    width: 900px;
  }
  h3, h5 {
    font-size: 1.1em;
  }
  #fixedBox ul {
    width: 730px;
  }
  #TabBox ul {
    width: 860px;
  }
  #fixedBox #logo {
    width: 300px;
  }
  #fixedBox li {
    height: 35px;
    border-bottom: groove 2px #cdcdcd;
  }
  #fixedBox li a {
    line-height: 35px;
  }
  .fixed li {
    height: 35px;
  }
  h2 {
    height: 180px;
  }
  #top {
    height: 480px;
  }
  #top img, h2 img {
    width: 450px;
  }
  #fixedBox #logo img {
    height: 35px;
  }
  .SA_Contents {
    padding: 20px;
  }
  h6 {
    font-size: 1.2rem;
    margin: 0 0 10px 10px;
  }
  .Change_SAC {
    margin: 0 2px 2px 0;
    padding: 10px 20px;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.3);
    border-radius: 8px;
    font-size: 1rem;
  }
}
@media screen and (min-width: 901px) {
  p, dl, ol, #notohiba ul {
    font-size: 1.1em;
  }
  h3, h5 {
    font-size: 1.3em;
  }
  .contents, #fixedBox, #TabBox {
    width: 1260px;
    margin: 0 auto;
  }
  #fixedBox ul {
    width: 898px;
  }
  #TabBox ul {
    width: 860px;
  }
  #fixedBox li {
    height: 80px;
    border-bottom: none;
  }
  #fixedBox li a {
    line-height: 80px;
  }
  .fixed li {
    height: 80px;
  }
  h2 {
    height: 420px;
  }
  #top {
    height: 638px;
  }
  #bottom {
    height: 399px;
  }
  #top img, h2 img {
    width: 600px;
    height: 90px;
  }
  .SA_Contents {
    padding: 20px;
  }
  h6 {
    font-size: 1.2rem;
    margin: 0 0 10px 10px;
  }
  .Change_SAC {
    margin: 0 3px 3px 0;
    padding: 12px 22px;
    box-shadow: 3px 3px 3px rgba(0,0,0,0.3);
    border-radius: 8px;
    font-size: 1rem;
  }
}
#top {
  line-height: 0;
  width: 100%;
  position: relative;
  background: URL("image/image012.jpg") no-repeat;
  background-size: cover;
}
#bottom {
  line-height: 0;
  width: 100%;
  position: relative;
  background: URL("image/plant1.jpg") no-repeat;
  background-size: cover;
}
#top img {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
}
h2 {
  width: 100%;
  position: relative;
}
h2 img {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
}
#notohiba h2 {
  background: URL("image/image009.jpg") no-repeat 100%;
  background-size: cover;
  background-position: left top;
  margin-top: 0;
}
#works h2 {
  background: URL("image/image006.jpg") no-repeat 100%;
  background-size: cover;
  background-position: left top;
  margin-bottom: 5px;
}
#about h2 {
  background: URL("image/image007.jpg") no-repeat 100%;
  background-size: cover;
  background-position: left top;
  margin-bottom: 5px;
}
.fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  margin: 0 auto;
  z-index: 10000;
}
.float_clear {
  clear: both;
  padding: 0;
  margin: 0;
}
.pagetop {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
}
.pagetop a {
  display: block;
  background-color: #eee8aa;
  text-align: center;
  color: #222;
  text-decoration: none;
  padding: 20px 10px;
  border-radius: 12px;
}
.pagetop a:hover {
  display: block;
  background-color: #556b2f;
  text-align: center;
  color: #fff;
  text-decoration: none;
  padding:20px 10px;
}
#catchphrase1 p, #catchphrase2 p, #catchphrase3 p, #catchphrase4 p {
  border-top: groove 2px #cdcdcd;
  margin-top: 0;
}
figure {
  float: left;
  margin: 0;
}
figure img {
  display: block;
}
figcaption {
  text-align: center;
  font-weight: bold;
}
@media screen and (max-width: 420px) {
  h1, h4 {
    width: 360px;
    margin: 20px auto;
  }
  h1 img, h4 img {
    width: 150px;
  }
  #notohiba_main {
    width: 360px;
    margin: 0 auto 10px auto;
  }
  #notohiba dl {
    width: 360px;
    margin: 0 auto 10px auto;
  }
  #notohiba dt {
    margin-top: 0;
  }
  #notohiba ul, h3 {
    width: 360px;
    margin: 10px auto;
  }
  #works ol {
    width: 320px;
    margin: 0;
    padding: 0 20px;
  }
  #catchphrase1, #catchphrase2, #catchphrase3, #catchphrase4, #about_left_block, #about_right_block {
    width: 360px;
    float: left;
    margin: 20px auto;
  }
  #catchphrase1 img, #catchphrase2 img, #catchphrase3 img, #catchphrase4 img {
    width: 360px;
  }
  #catchphrase1 .catchphrase, #catchphrase2 .catchphrase, #catchphrase3 .catchphrase, #catchphrase4 .catchphrase {
    width: 280px;
  }
  figure img {
    width: 210px;
    margin: 0 0 5px 0;
  }
  #works p {
    width: 360px;
    margin: 10px auto 20px auto;
  }
  #works .SA_Contents p {
    background-color: #fff;
    width: 360px;
    height: 80px;
    margin: 10px auto;
    padding: 10px;
    line-height: 1.3rem;
    font-size: 0.9rem;
  }
  #company_name {
    width: 360px;
  }
  #GMap {
    width: 100%;
    height: 600px;
    margin: 0 0 30px;
  }
  #about iframe {
    display: block;
    border: 0;
    width: 100%;
    height: 100%;
  }
  .contents_center {
    width: 360px;
  }
  #address_etc {
    padding: 0 15px;
    margin: 20px 0;
  }
  #about_left_block {
    width: 360px;
  }
  #about p {
    width: 360px;
  }
  #about dt {
    margin: 20px 0 3px 0;
  }
  #about dd {
    margin-left: 10px;
  }
  input, textarea {
    font-size: 1.1em;
  }
  #about form {
    margin-bottom: 20px;
  }
  .font_red {
    font-size: 0.8em;
  }
  .appeal {
    line-height: 1.5em;
  }
  #email_addr, #email_addr_repeat {
    width: 100%;
    max-width: 360px;
    box-sizing: border-box;
    height: 2em;
  }
  #otoiawase {
    width: 100%;
    max-width: 360px;
    box-sizing: border-box;
    height: 8em;
  }
}
@media screen and (min-width: 421px) and (max-width: 900px) {
  h1, h4 {
    width: 800px;
    margin: 30px auto 20px auto;
  }
  h1 img, h4 img {
    width: 200px;
  }
  #notohiba_main {
    width: 700px;
    margin: 0 auto 10px auto;
  }
  #notohiba dl {
    width: 700px;
    margin: 0 auto 10px auto;
  }
  #notohiba dt {
    margin-top: 0;
  }
  #notohiba ul, #works ol, h3 {
    width: 700px;
    margin: 10px auto;
  }
  #catchphrase1, #catchphrase2, #catchphrase3, #catchphrase4 {
    width: 380px;
    float: left;
    margin: 20px 10px;
  }
  #catchphrase1 img, #catchphrase2 img, #catchphrase3 img, #catchphrase4 img {
    width: 360px;
  }
  #catchphrase3 p, #catchphrase4 p {
    height: 120px;
  }
  figure img {
    width: 450px;
    margin: 0 auto 5px auto;
  }
  #works p {
    width: 700px;
    margin: 10px auto 30px auto;
  }
  #works .SA_Contents p {
    background-color: #fff;
    width: 760px;
    height: 120px;
    margin: 20px auto 30px auto;
    padding: 10px 20px;
  }
  #about_left_block, #about_right_block {
    width: 380px;
    float: left;
    margin: 20px auto;
  }
  #company_name {
    width: 360px;
  }
  #about_right_block {
    margin: 30px 0 40px 0;
  }
  #GMap {
    width: 100%;
    height: 450px;
    margin: 0 0 30px;
  }
  #about iframe {
    display: block;
    border: 0;
    width: 100%;
    height: 100%;
  }
  .contents_center {
    width: 800px;
  }
  #address_etc {
    padding: 0 15px;
    margin: 20px 0 30px 0;
  }
  #about p {
    width: 360px;
  }
  #about dt {
    margin: 12px 0 3px 0;
  }
  #about dd {
    margin-left: 20px;
  }
  input, textarea {
    font-size: 1.2em;
  }
  .font_red {
    font-size: 0.8em;
  }
  .appeal {
    line-height: 1.6em;
  }
  #email_addr, #email_addr_repeat {
    width: 100%;
    max-width: 360px;
    box-sizing: border-box;
    height: 2em;
  }
  #otoiawase {
    width: 100%;
    max-width: 360px;
    box-sizing: border-box;
    height: 8em;
  }
}
@media screen and (min-width: 901px) {
  h1, h4 {
    width: 900px;
    margin: 30px auto 20px auto;
  }
  #notohiba_main {
    width: 800px;
    margin: 0 auto 10px auto;
  }
  #notohiba dl {
    width: 800px;
    margin: 0 auto 10px auto;
  }
  #notohiba dt {
    margin-top: 0;
  }
  #notohiba ul, #works ol, h3 {
    width: 800px;
    margin: 10px auto;
  }
  #catchphrase1, #catchphrase2, #catchphrase3, #catchphrase4, #about_left_block, #about_right_block {
    width: 500px;
    float: left;
    margin: 20px 28px;
  }
  #catchphrase1 img, #catchphrase2 img, #catchphrase3 img, #catchphrase4 img {
    width: 480px;
  }
  #catchphrase1 p, #catchphrase2 p {
    height: 50px;
  }
  #catchphrase3 p, #catchphrase4 p {
    height: 130px;
  }
  figure img {
    width: 630px;
    margin: 0 0 5px 0;
  }
  figcaption {
    font-size: 1.2em;
  }
  #about_right_block {
    margin: 30px 0 60px 0;
  }
  #works p {
    width: 800px;
    margin: 10px auto 30px auto;
  }
  #works .SA_Contents p {
    background-color: #fff;
    width: 760px;
    height: 120px;
    margin: 20px auto 30px auto;
    padding: 10px 20px;
  }
  #GMap {
    width: 980px;
    height: 400px;
    margin: 0 auto 30px auto;
  }
  #about iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
  }
  .contents_center {
    width: 1112px;
  }
  #address_etc {
    padding: 0 50px;
    margin: 20px 0 50px 0;
  }
  #about dt {
    margin: 12px 0 3px 0;
  }
  input, textarea {
    font-size: 1.4em;
  }
  #otoiawase {
    width: 100%;
    max-width: 480px;
    box-sizing: border-box;
    height: 8em;
  }
  .font_red {
    font-size: 0.95em;
  }
  .appeal {
    line-height: 1.4em;
  }
  #email_addr, #email_addr_repeat {
    width: 100%;
    max-width: 480px;
    box-sizing: border-box;
    height: 2em;
  }
}
.contents_center {
  margin: 0 auto;
}
#footer {
  width: 100%;
  height: 60px;
  line-height: 60px;
  text-align: center;
  color: #fff;
  background-color: #333;
}
.font_bold {
  color: #000;
  font-weight: bold;
}
.font_red {
  color: #f00;
}
#full_name {
  width: 15em;
  height: 1em;
}
#tel_no, #tel_no_repeat {
  width: 10em;
  height: 1em;
}
