@charset "utf-8";
/* CSS Document */



/*==============================
共通
==============================*/

.titleBox{
  text-align: center;
}

.titleBox h3{
  letter-spacing: 10px;
  font-size: 16px;
  line-height: 16px;
  margin-bottom: 10px;
}

.titleBox h2{
  font-size: 26px;
  letter-spacing: 4px;
}

@media screen and (max-width: 600px){
  .titleBox h3{
    font-size: 18px;
    letter-spacing: 2px;
  }
  
  .titleBox hr{
    margin: 10px auto;
  }
  
  .titleBox h2{
    font-size: 18px;
    letter-spacing: 1px;
    line-height: 26px;
  }
}

#headWrap{
  position: relative;
  width: 100%;
  height: 300px;
  background-image: url("../img/headWrap.jpg");
  background-position: center center;
  background-size: cover;
  margin-top: 70px;
}

#headWrap > h1{
  position: absolute;
  display: inline-block;
  padding: 10px;
  padding-top: 20px;
  background-color: #fff;
  box-shadow:0 0 5px 0 rgba(0,0,0,.2);
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  left: 100px;
  top: 100px;
  height: 240px;
  z-index: 2;
}

@media screen and (max-width: 1000px){
  
  #headWrap{
    margin-top: 0;
  }
  #headWrap > h1{
    top: 100px;
    left: 20px;
  }
}

@media screen and (max-width: 600px){


  #headWrap{
    height: 200px;
  }
  
}


/*==============================
メイン
==============================*/

#aboutWrap{
  width: 100%;
  padding: 0;
  position: relative;
}

#aboutWrap > img{
  position: absolute;
  width: calc((100% - 800px)/2 - 50px);
  top: 150px;
  left: 0;
}

.aboutlogoBox{
  width: 100%;
  padding: 100px 20px;
  text-align: center;
  background-color: #f6f6f6;
}

.aboutcontBox{
  position: relative;
  width: 100%;
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
  padding: 100px 20px;
}

.aboutcontBox > p{
  text-align: left;
  margin-bottom: 50px;
}

.aboutcontBox > h2{
  position: absolute;
  top: -150px;
  right: -50px;
  font-size: 20px;
  letter-spacing: 10px;
  line-height: 40px;
  text-align: left;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}

#messageWrap{
  padding: 0;
}

#messageWrap > div{
  position: relative;
  width: calc(100% - 100px);
  background-color: #f6f6f6;
  left: 100px;
  padding: 100px;
  display: flex;
}

#messageWrap > div > h2{
  position: absolute;
  display: inline-block;
  padding: 20px 10px;
  font-size: 20px;
  letter-spacing: 4px;
  background-color: #fff;
  box-shadow:0 0 5px 0 rgba(0,0,0,.2);
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  top: -20px;
  left: -20px;
  z-index: 2;
}

#messageWrap > div > p{
  width: 70%;
}

#messageWrap > div > img{
  position: absolute;
  top: -100px;
  right: 100px;
}

#historyWrap{
  position: relative;
  padding: 100px 20px;
}

#historyWrap > h2{
  position: absolute;
  display: inline-block;
  padding: 20px 10px;
  font-size: 20px;
  letter-spacing: 4px;
  background-color: #fff;
  box-shadow:0 0 5px 0 rgba(0,0,0,.2);
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  top: 100px;
  left: 100px;
  z-index: 2;  
}

.historyList{
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  left: 100px;
}

.historyList li{
  margin-bottom: 50px;
  display: flex;
  justify-content: space-between;
}

.historyList li::before{
  content: "";
  display: block;
  position: relative;
  top: 10px;
  width: 100px;
  height: 1px;
  background-color: #444;
  margin-right: 20px;
}

.historyList li h3{
  font-size: 18px;
  letter-spacing: 4px;
  margin-right: 50px;
  line-height: 20px;
}

.historyList li p{
  margin-right: auto;
  line-height: 20px;
}

#backWrap01{
  width: 100%;
  height: 300px;
  background-image: url("../img/backImg01.jpg");
  background-position: center center;
  background-size: cover;
}

#companyWrap{
  position: relative;
  padding: 100px 20px;
}

#companyWrap > h2{
  position: absolute;
  display: inline-block;
  padding: 20px 10px;
  font-size: 20px;
  letter-spacing: 4px;
  background-color: #fff;
  box-shadow:0 0 5px 0 rgba(0,0,0,.2);
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  top: -50px;
  left: 100px;
  z-index: 2;  
}

#companyWrap > table{
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-collapse: collapse;
  border-spacing: 0;
}

#companyWrap > table tr th,
#companyWrap > table tr td{
  padding: 30px;
  border-top: 1px solid #444;
  border-bottom: 1px solid #444;
  text-align: left;
}

#companyWrap > table tr th{
  font-weight: 500;
}

/*==============================
レスポンシブ
==============================*/

@media screen and (max-width: 1600px) {
  #aboutWrap > img{
    width: 25%;
    top: 100px;
  }
}

@media screen and (max-width: 1400px) {
  #messageWrap > div > img{
    right: 20px;
  }
}

@media screen and (max-width: 1300px) {
}

@media screen and (max-width: 1200px) {
  #messageWrap > div > img{
    width: 30%;
    top: auto;
    bottom: 100px;
  }
  
  .historyList{
    left: auto;
    margin-right: 0;
  }
  
  .historyList{
    padding-left: 100px;
  }
  
  .historyList li{    
  }
  
  .historyList li::before{
    width: 20px;
  }
  
  .historyList li p{
  }
  
  .historyList li img{
    width: 30%;
  }
  
  #companyWrap > table{
    max-width: 800px;
  }
}

@media screen and (max-width: 1000px) {
  #aboutWrap > img{
    position: relative;
    display: block;
    width: calc(100% - 40px);
    max-width: 800px;
    margin: 0 auto 50px;
    top: auto;
  }
  
  .aboutcontBox{
    padding: 50px 20px 0;
    margin-bottom: 20px;
  }
  
  .aboutcontBox > h2{
    right: 50px;
  }
  
  .aboutcontBox > p{
    margin-bottom: 20px;
  }
  
  #messageWrap > div{
    width: calc(100% - 20px);
    left: 20px;
    padding: 30px 20px;
    padding-left: 60px;
  }
  
  #historyWrap > h2{
    left: 20px;
  }
  
  .historyList{
    padding-left: 80px;
  }
  
  .historyList li{
    flex-wrap: wrap;
  }
  
  .historyList li::before{
    display: none;
  }
  
  .historyList li h3{
    width: 100%;
    margin-bottom: 20px;
  }
  
  #companyWrap > h2{
    left: 20px;
  }
}

@media screen and (max-width: 800px) {
  .aboutlogoBox{
    padding: 50px 20px;
  }
  .aboutlogoBox img{
    width: 100%;
    max-width: 200px;
  }
  
  .aboutcontBox > h2{
    top: auto;
    right: auto;
    left: auto;
    position: relative;
    -ms-writing-mode: horizontal-tb;
    writing-mode: horizontal-tb;
    margin-bottom: 50px;
  }
  
  #messageWrap > div{
    display: block;
  }
  
  #messageWrap > div > p{
    width: 100%;
    padding-right: 20px;
    margin-bottom: 20px;
  }
  
  #messageWrap > div > img{
    position: relative;
    display: block;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 600px){  
  .aboutcontBox > h2{
    font-size: 18px;
    letter-spacing: 5px;
    line-height: 32px;
  }
  
  #backWrap01,#backWrap02{
    height: 150px;
  }
  
  #historyWrap > h2{
    top: -20px;
  }
  
  .historyList{
    padding: 0;
  }
  
  .historyList li p{
    width: 100%;
    margin-bottom: 20px;
  }
  
  .historyList li img{
    width: 100%;
  }
  #companyWrap > table tr th, #companyWrap > table tr td{
    padding: 15px;
  }
}

@media screen and (max-width: 414px){
}