@charset "utf-8";

body {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #333333;
  font-size: 15px;
  line-height: 2;
}

p,h1,h2,h3,h4,h5,h6 {
  margin-top: 0;
}

img {
  vertical-align:bottom;
}

ul {
  margin: 0;
  padding: 0;
}

a {
  color: #3583aa;
  text-decoration: none;
}

a:visited {
  color: #788d98;
}

a:hover {
  text-decoration: underline;
}

header {
  width: 960px;
  height: 100px;
  margin: 0 auto;
}

.logo {
  float: left;
  margin-top: 25px;
}

.logo img{
  width: 330px;
  height: 55px;
}

.tel img{
  width: 210px;
  height: 39px;
}

.tel {
  float: right;
  margin-top: 40px;
}

#wrap {
  clear: both;
  background-color: #ffffff;
  margin-top: 300px;
  padding: 35px 0;
}

.content {
  width: 960px;
  margin: 0 auto;
}

footer {
  text-align: center;
  color: #ffffff;
  padding: 20px 0;
  background-color: #9acd32;
}

footer small {
  font-size: 12px;
}

.btn a {
  background-color: #009cd3;
  color: #ffffff;
  font-size: 20px;
  font-family: 'Bitter', serif;
  width: 185px;
  display: block;
  text-align: center;
  line-height: 50px;
  margin-top: 20px;
  border-radius: 5px;
  border: 3px solid #009cd3;
}

.btn a:hover {
  text-decoration: none;
  background-color: #ffffff;
  color: #009cd3;
}

/*　index　*/

#index {
  background-image: url(images/index-1.jpg);
  background-repeat: no-repeat;
  background-position: center top;
  background-attachment: fixed;
  background-size: 100% auto;
}

#index .index-list li {
  float: left;
  list-style: none;
  margin: 0 20px 15px 0;
}

#index .index-list li:nth-child(3n) {
  margin-right: 0;
}

#index .index-list li:nth-child(4n) {
  margin-left: 120px;
}


#company {
  background-image: url(images/index-1.jpg);
  background-repeat: no-repeat;
  background-position: center top;
  background-attachment: fixed;
  background-size: 100% auto;
}

#jirei {
  background-image: url(images/index-1.jpg);
  background-repeat: no-repeat;
  background-position: center top;
  background-attachment: fixed;
  background-size: 100% auto;
}

h1 {
  font-family: 'メイリオ', serif;
  font-size: 30px;
  border-bottom: 1px solid #cccccc;
}

h2 {
  font-family: 'メイリオ', serif;
  font-size: 24px;
}

.icon:before {
  content: "";
  padding-right: 10px;
  border-left: 7px solid #bdb76b;
}

.clearfix:after {
  content: "";
  display: block;
  clear: both;
}

section {
  margin-bottom: 35px;
}

#company .career th {
  width: 240px;
  background-color: #f0f0f0;
  padding: 12px 0;
  border: 1px solid #cccccc;
}

#company .career td {
  width: 660px;
  padding: 12px 0 12px 40px;
  border: 1px solid #cccccc;
}

table {
  border-spacing: 0;
  border-collapse: collapse;
}

.main {
  width: 700px;
  margin: 0 10px;
  float: left;
}

.sidebar {
  width: 200px;
  margin: 0 10px 0 30px;
  float: right;
  font-family: 'メイリオ', serif;
}

a img:hover {
  opacity: 0.8;
}

.sidebar h2 {
  margin-bottom: 10px;
}

.sidebar ul {
  font-size: 16px;
  margin-left: 20px;
}

.sidebar ul a {
  color: #333333;
}

/*　地図　*/
.map iframe {
	width:100%;
	height: 400px;
	vertical-align: bottom;
}

#desk {
  background-image: url(images/desk-1.jpg);
  background-repeat: no-repeat;
  background-position: center top;
  background-attachment: fixed;
  background-size: 100% auto;
}

@media screen and (max-width:768px) {
  /* 画面サイズが600px以下の場合に適用 */
  
  body {
   font-size: 3.5vw;
  }
  
  h1 {
    font-size: 7.2vw;
  }

  h2 {
    font-size: 6vw;
  }
  
  header {
    width: auto;
    margin: 0 5%;
  }
  
  .logo {
    float: none;
    margin-top: 60px;
    text-align: center;
  }
  
  .tel {
    float: none;
    margin-top: 40px;
    text-align: center;
  }
  
  #wrap {
    margin-top: 40px;
    padding: 35px 0 0;
  }
  
  .content {
    width: 100%;
  }
  
  .main {
    float: none;
    width: auto;
    margin: 0 5%;
  }
  
  #index {
  background-image: url(images/index-sp.jpg);
  }
  
  #index .index-list li {
  float: none;
  list-style: none;
  margin: 15px auto;
  text-align: center;
  }

  #index .index-list li:nth-child(4n) {
  margin-left: 0;
  }
  
  #company {
    background-image: url(images/index-sp.jpg);
  }
  
  #company .career th {
  width: 100px;
  background-color: #f0f0f0;
  padding: 12px 0;
  border: 1px solid #cccccc;
  }

 #company .career td {
  width: auto;
  padding: 12px 20px;
  border: 1px solid #cccccc;
  }
  
  h2 img {
    max-width: 100%;
  }
  
  #desk {
    background-image: url(images/desk-sp.jpg);
  }
  
  #jirei {
  background-image: url(images/index-sp.jpg);
  }

  
  .sidebar {
    width: auto;
    float: none;
    margin: 0;
    padding: 30px 10% 10px;
    background-color: #f7f6f4;
  }
  
}