@charset "utf-8";

body {
  margin: 0;
  padding: 0;
  background-color: #cccccc;
  color: #333333;
  font-size: 15px;
  line-height: 2;
}

p,h1,h2,h3,h4,h5,h6 {
  margin-top: 0px;
}

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: 5px;
  margin: 0 auto;
}

.logo {
  float: left;
  margin-top: 30px;
}

.global-nav {
  float: right;
  margin-top: 60px
}

.global-nav li {
  float: left;
  margin: 0 20px;
  font-size: 30px;
  list-style: none;
  font-family: 'Bitter', serif;
  writing-mode: vertical-rl;
}

.global-nav li a {
  color: #ffffff;
}

.global-nav li a: hover {
  border-bottom: 2px solid #ffffff;
  padding-bottom: 3px;
  text-decoration: none;
}

#wrap {
  clear: both;
  background-color: #ffffff;
  margin-top: 200px;
}

.content th {
  width: 200px;
  background-color: #f0f0f0;
  padding: 8px;
  border: 1px solid #cccccc;
  }

.content td {
  width: 660px;
  padding: 8px 0 8px 30px;
  border: 1px solid #cccccc;
}

table {
  border-spacing: 0;
  border-collapse: collapse;
}

.content {
  width: 960px;
  margin: auto;
}

footer {
  text-align: center;
  color: #ffffff;
  padding: 20px 0;
  background-color: #767671;
}

footer small {
  font-size: 12px;
}

.btn a {
  background-color: #009cd3;
  color: white;
  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: #009c3d;
  }

.main-center {
  width: 940px;
  margin: 0 auto;
}

h1 {
  font-family: 'Bitter', serif;
  font-size: 36px;
  border-bottom: 1px solid #cccccc;
}

h2 {
  font-family: 'bitter',serif;
  font-size: 24px;
}

.icon:before {
  content: "";
  padding-right: 10px;
  border-left: 7px solid #9cb4a4;
}

.clearfix:after {
  content: "";
  display: block;
  clear: both;
}

section {
  margin-bottom: 35px;
}

#about .career th {
  width: 240px;
  background-color: #f0f0f0;
  padding: 12px 0;
  border: 1px solid #cccccc;
  }

#about .career td {
  width: 660px;
  padding: 12px 0 12px 40px;
  border: 1px solid #cccccc;
  }

.main {
  width: 940px;
  margin: 10 10px;
  float: left;
}

a img:hover {
  opacity: 0.7;
}

.access table {
  float: left;
  margin-bottom: 25px;
}

.access th,
.access td {
  text-align: left;
  vertical-align: top;
  line-height: 2.5;
}

.access th{
  width: 140px;
}

.access td {
  padding-left: 20px;
  width: 280px;
}

.access iframe {
  width: 460px;
  float: right;
}

#contact form {
  background-color: #eaeaea;
  padding: 30px 50px;
}

#contact .form dl dt {
  width: 165px;
  padding: 10px 0;
  float: left;
  clear: both;
}

#contact .form dl dd{
  padding: 10px 0;
}

#contact .form .name {
  width: 240px;
  height: 30px;
}

#contact .form .email {
  width: 300px;
  height: 30px;
}

#contact .form .tel {
  width: 240px;
  height: 30px;
}

#contact .form .type {
  width: 240px;
  height: 30px;
}

#contact .form .message {
  width: 660px;
  height: 150px;
}

#contact .form button {
  background-color: #009cd3;
  color: #ffffff;
  font-size: 20px;
  width: 120px;
  display: block;
  text-align: center;
  line-height: 50px;
  border-radius: 5px;
  border: 3px solid #009cd3;
  margin-left: 165px;
}

#contact .form button:hover {
  background-color: #ffffff;
  color: #009cd3;
  cursor: pointer;
}

#contact .form .required:after {
  content: " * ";
  color: #ff0000;
}

#contact .form .attention {
  margin: 20px 0 0 15px;
}

@media screen and (max-width:600px) {
  /* 画面サイズが600px以下の場合に適用　*/
  
  body {
    font-size: 3.5vw;
  }
  
  h1 {
    font-size: 7.2vw;
  }
  
  h2 {
    font-size: 6vw
  }
  
  header {
    width: auto;
    height: 270px;
    margin: o 5%;
    padding-bottom: 20px;
  }
  
  .logo {
    float: none;
    margin-top: 60px;
    margin-bottom: 30px;
    text-align: center;
  }
  
  .global-nav {
    float: none;
    margin-top: 40px;
    text-align: center;
  }
  
  .global-nav li {
    display: inline;
    float: none;
    margin: 0 8px;
  }
  
  #wrap {
    margin-top: 40px;
    padding: 35px 0 0;
  }
  
  .content {
    width: auto;
    margin: 0 5%;
  }
  
  .main {
    float: none;
    width: auto;
    margin: 0 5%;
  }
  
  .main-center {
    float: none;
    width: auto;
    margin: 0 5%;
  }
  
  img {
    max-width: 100%;
  }
  
  .access iframe {
  width: 300px;
  float: none;
  }
  
  #contact .form .name {
  width: auto;
  }
  
  #contact .form .email {
  width: auto;
  }
  
  #contact .form .tel {
  width: auto;
  }
    
  #contact .form .type {
  width: auto;
  }
  
  #contact .form .message {
  width: 200px;
  height: 200px;
  }
  
  #contact .form .btn {
  width: 100px;
  margin-left: auto;
  }
}

 