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


/*==============================
共通
==============================*/
#headWrap{
  background-image: url("../img/headBack.jpg");
  background-size: cover;
  background-position: center center;
  width: 100%;
  height: 400px;
}

.titleBox{
  text-align: center;
  margin-bottom: 50px;
}

.titleBox > h2{
  text-decoration: underline;
  text-decoration-thickness: 2px;
  margin-bottom: 20px;
  font-family: 'Sawarabi Mincho', serif;
  letter-spacing: 10px;
  font-weight: normal;
}

.titleBox > hr{
  width: 50px;
  height: 5px;
  border: none;
  background-color: #9ec6ce;
  margin: 0 auto;
}

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



/*==============================
aboutWrap
==============================*/

#aboutWrap{
  position: relative;
  padding: 100px 20px;
  background-image: url("../img/mainBack.jpg");
  background-size: cover;
  background-position: center center;
  text-align: center;
}

#aboutWrap > .titleBox > h2{
  color: #fff;
}

#aboutWrap > p{
  color: #fff;
  line-height: 46px;
  margin-bottom: 50px;
}

#aboutWrap > p:last-of-type{
  margin-bottom: 0;
}

#aboutWrap > h3{
  color: #fff;
}

#aboutWrap > img{
  max-width: 100%;
  margin-bottom: 100px;
}


#aboutWrap > span{
  position: absolute;
  writing-mode: vertical-rl;
  text-align: left;
  position: absolute;
  font-size: 80px;
  font-weight: 100;
  color: #fff;
  letter-spacing: 30px;
  right: 50px;
  top: 100px;
  text-shadow: 0 0 10px rgba(0,0,0,.1);
  z-index: 1;
}


@media screen and (max-width: 600px){
  
  #aboutWrap > span{
    top: 20px;
    right: 20px;
    font-size: 40px;
    letter-spacing: 4px;
    z-index: 1;
    opacity: .5;
  }
  
  #aboutWrap > p{
    color: #fff;
    line-height: 36px;
    margin-bottom: 50px;
  }
}

/*==============================
pointWrap
==============================*/

#pointWrap{
  padding: 100px 100px;
}

.pointBox{
  position: relative;
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 100px;
}

.pointBox::before{
  content: "";
  display: block;
  position: absolute;
  left: -100px;
  z-index: 1;
  width: 100vw;
  height: 25vw;
  background-color: #e8f1f3;
}

.pointBox:nth-of-type(2n-1){
  flex-direction: row-reverse;
}

.pointBox > div{
  position: relative;
  width: 50%;
  padding: 50px;
  z-index: 2;
}

.pointBox > div > div{
  padding: 20px 50px;
  background-color: #fff;
  box-shadow: 0 0 10px 0 rgba(0,0,0,.3);
}

.pointBox > div > h2{  
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  writing-mode: vertical-rl;
  text-orientation: upright;
  text-align: left;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 4px;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  height: 400px;
}


.pointBox:nth-of-type(2n-1) > div > h2{
  flex-direction: row-reverse;
  left: auto;
  right: 0;
}

.pointBox > img{
  width: 50%;
  box-shadow: 0 0 10px 0 rgba(0,0,0,.3);
  position: relative;
  z-index: 2;
}


@media screen and (max-width: 1400px){
  .pointBox::before{
    height: 35vw;
  }
}

@media screen and (max-width: 1000px){
  .pointBox{
    flex-direction: column-reverse;
    max-width: 800px;
  }
  
  
  .pointBox:nth-of-type(2n-1){
    flex-direction: column-reverse;
  }
  
  .pointBox > div > h2{
    top: 50px;
    right: -20px;
    left: auto;
  }
  
  .pointBox:nth-of-type(2n-1) > div > h2{
    flex-direction: column-reverse;
    top: 50px;
    right: -20px;
    left: auto;
  }
  
  .pointBox::before{
    top: 0;
    bottom: 0;
    margin: auto;
  }
  
  .pointBox > img{
    width: 90%;
    margin-right: auto;
    bottom: -50px;
  }
  
  .pointBox > div{
    position: static;
    padding: 0;
    width: 90%;
    margin-left: auto;
    top: -50px;
    z-index: 3;
  }
}

@media screen and (max-width: 800px){
  .pointBox{
    margin-bottom: 50px;
  }
  
  .pointBox > div > h2,
  .pointBox:nth-of-type(2n-1) > div > h2{
    right: -50px;
  }
}

@media screen and (max-width: 600px){
  #pointWrap{
    padding: 50px 20px;
  }
  
  .pointBox > img{
    width: 80%;
    bottom: -20px;
  }
  
  .pointBox > div{
    width: 95%;
    margin-right: 0;
  }
  
  .pointBox > div > div{
    padding: 20px;
  }
  
  .pointBox > div > h2,
  .pointBox:nth-of-type(2n-1) > div > h2{
    font-size: 20px;
    letter-spacing: 2px;
    top: 0;
    right: 0px;
  }
}

/*==============================
historyWrap
==============================*/

#historyWrap{
  padding: 0px 20px 100px;
}

.historyList{
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.historyList > li{
  display: flex;
  width: 100%;
  margin-bottom: 20px;
}

.historyList > li > h4{
  writing-mode: vertical-rl;
  margin-right: 50px;
  align-self: center;
}

.historyList > li > div{
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ccc;
  width: 90%;
  padding: 40px 0;
}

@media screen and (max-width: 1000px){
  .historyList{
    max-width: 600px;
  }
  
  .historyList > li > h4{
    margin-right: 20px;
  }
}

@media screen and (max-width: 600px){  
  #historyWrap{
    padding: 0px 20px 50px;
  }
}

/*==============================
massageWrap
==============================*/

#massageWrap{
  padding: 0 20px 100px;
}

.massageBox{
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 50px;
  border: 2px solid #9ec6ce;
}

.massageBox > div{
  display: flex;
  align-items: flex-end;
  margin-top: 10px;
}

.massageBox > div h4{
  margin-right: 10px;
}

@media screen and (max-width: 1000px){
  .massageBox{
    max-width: 600px;
    padding: 40px 20px;
  }
  
  .massageBox > li > h4{
    margin-right: 20px;
  }
  
  .massageBox > div{
    display: block;
  }
  
  .massageBox > div h4{
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 600px){  
  #massageWrap{
    padding: 0px 20px 50px;
  }
}

/*==============================
companyWrap
==============================*/

#companyWrap{
  padding: 0 20px 100px;
}

.companyTable{
  width: 100%;
  max-width: 800px;
  margin: 0 auto;  
  border-collapse:collapse;
}

.companyTable td,
.companyTable th{
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  padding: 40px 0;
}

.companyTable td{
  padding-left: 20px;
}

@media screen and (max-width: 1000px){
  .companyTable{
    max-width: 600px;
  }
  
  .companyTable > li > h4{
    margin-right: 20px;
  }
}

@media screen and (max-width: 600px){  
  #companyWrap{
    padding: 0px 20px 50px;
  }
}

