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



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

.linkBar{
  display: inline-block;
  font-size: 22px;
  letter-spacing: 3px;
  color: #000;
  border-bottom: 1px solid #000;
}

.titleH3{
  display: inline-block;
  color: #000;
  font-size: 16px;
  letter-spacing: 2px;
  padding: 10px 0;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  margin-bottom: 30px;
}

#headWrap{
  width: 100%;
  height: 300px;
  background-image: url("../img/headBack.jpg");
  background-position: center center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

#headWrap > div{
  position: relative;
  text-align: center;
}

#headWrap > div img{
  margin-bottom: 5px;
}

#headWrap > div h1{
  writing-mode: vertical-rl;
  font-size: 16px;
  letter-spacing: 6px;
  color: #fff;
  margin: 0 auto;
}

@media screen and (max-width: 600px){
  #headWrap{
    height: 200px;
  }

  #headWrap > div h1{
    writing-mode: horizontal-tb;
  }
}

#linkWrap{
  padding: 50px 20px;
  text-align: center
}



#linkWrap > .titleH3{
  margin-bottom: 20px;
}

.linkBox{
  padding: 0px 20px;
  width: 100%;
  max-width: 700px;
  margin: 0 auto 20px;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.linkBox > a{
  display: block;
  width: 49%;
  padding: 10px 20px;
  color: #000;
  font-size: 20px;
  border: 1px solid #000;
  text-decoration: underline;
  margin-bottom: 10px;
}

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

  .linkBox > a{
    display: block;
    width: 100%;
    padding: 10px 20px;
    color: #000;
    font-size: 20px;
    border: 1px solid #000;
    text-decoration: underline;
    margin-bottom: 10px;
  }
}

/*==============================
メイン
==============================*/
#companyWrap{
  padding: 50px 20px;
  text-align: center;
}

#companyWrap > img{
  display: block;
  width: 100%;
  max-width: 600px;
  margin: 0 auto 30px;
}

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

#companyWrap > table tr td{
  text-align: left;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  padding: 15px;
}

#companyWrap > table tr td:first-of-type{
  width: 20%;
}

#messageWrap{
  padding: 50px 20px;
  background-image: url("../img/messageBack.jpg");
  background-position: center center;
  background-size: cover;
}

#messageWrap > h2{
  display: block;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 20px;
  border-bottom: 1px solid #000;
  padding: 10px;
}

#messageWrap > div{
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px;
  display: flex;
}

#messageWrap > div > div{
  margin-right: 20px;
}

#messageWrap > div > div p{
  text-align: justify;
  margin-bottom: 10px;
}

#messageWrap > div > div h4{
  text-align: right;
  font-weight: bold;
}

#messageWrap > div > img{
  width: 45%;
  align-self: flex-start;
}

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

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

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

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

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

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

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

  #companyWrap > table tr td:first-of-type{
    width: auto;
  }

  #messageWrap > div{
    display: block;
  }
  
  #messageWrap > div > div{
    margin-right: 0;
    margin-bottom: 20px;
  }
  #messageWrap > div > img{
    display: block;
    width: 70%;
    max-width: 449px;
    margin: 0 auto;
  }
}

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