@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: 50px;
}

.global-nav {
  float: right;
  margin-top: 60px;
}

.global-nav li {
  float: left;
  margin: 0 20px;
  font-size: 20px;
  list-style: none;
  font-family: "Meiryo UI","Meiryo","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","ＭＳ Ｐゴシック","Osaka",sans-serif;
}

.global-nav li a {
  color: #ffffff;
}

.global-nav li a:hover {
  border-bottom: 2px solid #ffffff;
  padding-bottom: 3px;
  text-decoration: none;
}

#jirei .global-nav {
  float: right;
  margin-top: 60px;
}

#jirei .global-nav li {
  float: left;
  margin: 0 20px;
  font-size: 20px;
  list-style: none;
  font-family: "Meiryo UI","Meiryo","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","ＭＳ Ｐゴシック","Osaka",sans-serif;
}

#jirei .global-nav li a {
  color: #000000;
}

#jirei .global-nav li a:hover {
  border-bottom: 2px solid #000000;
  padding-bottom: 3px;
  text-decoration: none;
}

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

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

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

footer small {
  font-size: 12px;
}

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

#index .profile-txt {
  width: 540px;
  float: left;
}

#index .profile-txt span {
  font-weight: bold;
}

#index .profile-image {
  float: right;
}

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

#jirei .profile-txt {
  width: 540px;
  float: left;
}

#jirei .profile-txt span {
  font-weight: bold;
}

#jirei .profile-image {
  float: right;
}

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

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

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

#photo{
  text-align: center;
}

a img:hover {
  opacity: 0.8;
}

.main-center {
  width: 940px;
  margin: 0 auto;
}

#jirei-s .main-center {
  width: 940px;
  margin: 0 auto;
  text-align: center;
}

h1 {
  font-family: "Meiryo UI","Meiryo","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","ＭＳ Ｐゴシック","Osaka",sans-serif;
  font-size: 36px;
  border-bottom: 1px solid #cccccc;
}

h2 {
  font-family: "Meiryo UI","Meiryo","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","ＭＳ Ｐゴシック","Osaka",sans-serif;
  font-size: 24px;
}

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

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

section {
  margin-bottom: 35px;
}

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

#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;
}



@media screen and (max-width:600px) {
  /* 画面サイズが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;
  }
  
  .global-nav {
    float: none;
    margin-top: 40px;
    text-align: center;
  }
  
  .global-nav li {
    display: inline;
    float: none;
    margin: 0 8px;
  } 
  
  #jirei .global-nav {
    float: none;
    margin-top: 40px;
    text-align: center;
  }
  
  #jirei .global-nav li {
    display: inline;
    float: none;
    margin: 0 8px;
  }
  
  #jirei .global-nav li a {
  color: #ffffff;
  }

#jirei .global-nav li a:hover {
  border-bottom: 2px solid #ffffff;
  padding-bottom: 3px;
  text-decoration: none;
  }
  
  #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-s.jpg);
  }
  
  #index .main-center {
    float: none;
    width: auto;
    margin: 0 5%;
  }
  
  #index .profile-txt {
    width: auto;
    float: none;
    margin: 0 5%;
  }

  
  #index .profile-image {
    float: none;
  }
  
  #company {
    background-image: url(images/index-s.jpg);
  }
  
  #company .main-center {
    float: none;
    width: auto;
    margin: 0 5%;
  }
  
  #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;
  }
  
  #jirei {
    background-image: url(images/jirei-s.jpg);
  }
  
  #jirei .main-center {
    float: none;
    width: auto;
    margin: 0 5%;
  }
  
  #jirei .profile-txt {
    width: auto;
    float: none;
    margin: 0 5%;
  }

  
  #jirei .profile-image {
    float: none;
  }
  
  #jirei .photograph-list li {
  float: none;
  list-style: none;
  margin: 15px auto;
  text-align: center;
  }
  
  h2 img {
    max-width: 100%;
  }
  
}