@charset "UTF-8";

/* ----------------------------------------------

PC設定

------------------------------------------------*/
@media all and (min-width: 769px) {

/* ----------------------------------------------
topImage
------------------------------------------------*/
#under_page  #topImage {
  background: url(images/topImage.jpg) center 30%/cover no-repeat;
}
#under_page  #topImage h1{
  padding:1rem 2rem;
}
#contents h2{
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  width: 300px;
  margin: 0 auto 2rem;
}
#contents h2::after{
  content: url(/images/title_under.svg);
  width: 80px;
  display: inline-block;
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
}
#contents h2 .ja{
  font-size: 24px;
}
#contents h2 .en{
  font-size: 16px;
  position: relative;
}
#contents h2 .en::before,#contents h2 .en::after{
  content: "";
  width: 100px;
  height: 2px;
  background: linear-gradient(to right, #e8e29d 0%, #885d1e 100%);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
#contents h2 .en::before{
  left:-50px;
}
#contents h2 .en::after{
  right: -50px;
}

/* ----------------------------------------------
company
------------------------------------------------*/
#contents .company{
  background:linear-gradient(to right,#fff 0%,#ccc 23%,#fff 100%);
  padding: 2rem 0;
}
#contents .company .link_area{
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}
#contents .company .link_area li{
  background-color: #fff;
  border: 1px solid #e8e29d;
  border-image: linear-gradient(to left,#e8e29d,#885d1e);
  border-image-slice: 1;
  min-width: 180px;
}
#contents .company .link_area li:not(:last-of-type){
  margin-right: 1rem;
}
#contents .company .link_area li a{
  display: block;
  width: 100%;
  height: 100%;
  font-size: 20px;
  padding: .5rem 2rem;
  text-align: center;
}
#contents .company .com_list{
  max-width: 1000px;
  margin: 0 auto 2rem;
  border: 1px solid #000;
}
#contents .company .com_list .flex{
  align-items: stretch;
  background-color: #fff;
}
#contents .company .com_list .flex:not(:last-of-type){
  border-bottom: 1px solid #000;
}
#contents .company .com_list .flex.box_g{
  background:linear-gradient(to right,#ccc 0%,#f0f0f0 50%,#ccc 100%);
}
#contents .company .com_list .flex{
  align-items: stretch;
}
#contents .company .com_list .flex dt{
  font-size: 18px;
  font-weight: normal;
  padding: .5rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 200px;
  border-right: 1px solid #000;
}
#contents .company .com_list .flex dd{
  font-size: 16px;
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
#contents .company .com_list .flex dd .maplink{
  margin-left: 1rem;
}

/* ----------------------------------------------
history
------------------------------------------------*/
#contents #history{
  background:linear-gradient(to bottom,rgba(255,255,255,0.9),rgba(255,255,255,0.9)),url(images/his_bg.svg);
  padding: 2rem 0;
}
#contents #history .history_list{
  max-width: 1000px;
  margin: 0 auto 2rem;
}
#contents #history .history_list .flex{
  align-items: stretch;
}
#contents #history .history_list .flex dt{
  font-size: 18px;
  font-weight: normal;
  padding: .5rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 200px;
  background:linear-gradient(to right,#ccc 0%,#fff 50%,#ccc 100%);
  border-bottom: 1px solid #000;
}
#contents #history .history_list .flex dd{
  font-size: 16px;
  padding: 1rem 2rem;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  position: relative;
  width: calc(100% - 200px);
}
#contents #history .history_list .flex dd::after{
  content: "";
  width: 97%;
  height: 1px;
  background-color: #000;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* ----------------------------------------------
massage
------------------------------------------------*/
#contents #massage{
  background:linear-gradient(to right,#999 0%,#fff 23%,#999 100%);
  padding: 2rem 0;
}
#contents #massage .inner {
  position: relative;
  z-index: 1;
}
#contents #massage .inner .wrapper{
  background: url(images/president.jpeg) right center/auto 100% no-repeat;
}
#contents #massage .bg,#contents #massage .bg2{
  position: absolute;
  top: 0;
  left: -1rem;
  width: 66vw;
  height: 100%;
  clip-path: polygon(0 0, 80% 0%, 100% 100%, 0% 100%);
  -webkit-clip-path: polygon(0 0, 80% 0%, 100% 100%, 0% 100%);
  background:linear-gradient(to right,#1a1a1a 0%,#000 50%,#1a1a1a 100%);
  z-index: 10;
  opacity: 0.4;
}
#contents #massage .bg2{
  width: 65vw;
  opacity: 0.95;
  z-index: 10;
}
@media all and (min-width: 769px) and (max-width: 1000px) {
  #contents #massage .bg,#contents #massage .bg2{
    width: 60vw;
  }
  #contents #massage .bg2{
    width: 55vw;
  }
}
#contents #massage .inner .textarea{
  width: 45%;
  padding: 2rem 1rem;
  min-height: 440px;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#contents #massage .inner .textarea h3{
  font-size: 20px;
  color: #fff;
  margin-bottom: 1rem;
}
#contents #massage .inner .textarea .text{
  width: 80%;
  margin: 1rem auto;
  color: #fff;
}
#contents #massage .inner .textarea .name{
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  
}
#contents #massage .inner .textarea .name .small{
  font-size: 16px;
  color: #fff;
  margin-right: 1rem;
}
#contents #massage .inner .textarea .name .big{
  font-size: 20px;
  color: #fff;
}
#contents #massage .inner figure{
  width: 55%;
  position: relative;
  z-index: 1;
}
#contents #massage .inner figure>img{
  height: 100%;
  width: auto;
}
}

/* ----------------------------------------------

pad設定

------------------------------------------------*/
@media all and (min-width: 520px) and (max-width: 769px) {
  /* ----------------------------------------------
topImage
------------------------------------------------*/
#under_page  #topImage {
  background: url(images/topImage.jpg) center 30%/cover no-repeat;
}
#under_page  #topImage h1{
  padding:1rem 2rem;
}
#contents h2{
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  width: 300px;
  margin: 0 auto 2rem;
}
#contents h2::after{
  content: url(/images/title_under.svg);
  width: 80px;
  display: inline-block;
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
}
#contents h2 .ja{
  font-size: 24px;
}
#contents h2 .en{
  font-size: 16px;
  position: relative;
}
#contents h2 .en::before,#contents h2 .en::after{
  content: "";
  width: 100px;
  height: 2px;
  background: linear-gradient(to right, #e8e29d 0%, #885d1e 100%);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
#contents h2 .en::before{
  left:-50px;
}
#contents h2 .en::after{
  right: -50px;
}
/* ----------------------------------------------
company
------------------------------------------------*/
#contents .company{
  background:linear-gradient(to right,#fff 0%,#ccc 23%,#fff 100%);
  padding: 2rem 0;
}
#contents .company .link_area{
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}
#contents .company .link_area li{
  background-color: #fff;
  border: 1px solid #e8e29d;
  border-image: linear-gradient(to left,#e8e29d,#885d1e);
  border-image-slice: 1;
  min-width: 180px;
}
#contents .company .link_area li:not(:last-of-type){
  margin-right: 1rem;
}
#contents .company .link_area li a{
  display: block;
  width: 100%;
  height: 100%;
  font-size: 20px;
  padding: .5rem 2rem;
  text-align: center;
}
#contents .company .com_list{
  max-width: 1000px;
  margin: 0 auto 2rem;
  border: 1px solid #000;
}
#contents .company .com_list .flex{
  align-items: stretch;
  background-color: #fff;
}
#contents .company .com_list .flex:not(:last-of-type){
  border-bottom: 1px solid #000;
}
#contents .company .com_list .flex.box_g{
  background:linear-gradient(to right,#ccc 0%,#f0f0f0 50%,#ccc 100%);
}
#contents .company .com_list .flex{
  align-items: stretch;
}
#contents .company .com_list .flex dt{
  font-size: 18px;
  font-weight: normal;
  padding: .5rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 200px;
  border-right: 1px solid #000;
}
#contents .company .com_list .flex dd{
  font-size: 16px;
  padding: 1rem 2rem;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}


/* ----------------------------------------------
history
------------------------------------------------*/
#contents #history{
  background:linear-gradient(to bottom,rgba(255,255,255,0.9),rgba(255,255,255,0.9)),url(images/his_bg.svg);
  padding: 2rem 0;
}
#contents #history .history_list{
  max-width: 1000px;
  margin: 0 auto 2rem;
}
#contents #history .history_list .flex{
  align-items: stretch;
}
#contents #history .history_list .flex dt{
  font-size: 18px;
  font-weight: normal;
  padding: .5rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 200px;
  background:linear-gradient(to right,#ccc 0%,#fff 50%,#ccc 100%);
  border-bottom: 1px solid #000;
}
#contents #history .history_list .flex dd{
  font-size: 16px;
  padding: 1rem 2rem;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  position: relative;
  width: calc(100% - 200px);
}
#contents #history .history_list .flex dd::after{
  content: "";
  width: 97%;
  height: 1px;
  background-color: #000;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* ----------------------------------------------
massage
------------------------------------------------*/
#contents #massage{
  background:linear-gradient(to right,#999 0%,#fff 23%,#999 100%);
  padding: 2rem 0;
}
#contents #massage .inner .wrapper{
  display: flex;
  justify-content: center;
  align-items: stretch;
  position: relative;
  flex-direction: column-reverse;
  z-index: 1;
}
#contents #massage .inner .textarea{
  width: 100%;
  padding: 1.5rem 1rem;
  position: relative;
  z-index: 10;
  background:linear-gradient(to left,#1a1a1a 0%,#000 50%,#1a1a1a 100%);
}
#contents #massage .inner .textarea h3{
  font-size: 18px;
  color: #fff;
}
#contents #massage .inner .textarea .text{
  width: 80%;
  margin: 1rem auto;
  color: #fff;
}
#contents #massage .inner .textarea .name{
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  
}
#contents #massage .inner .textarea .name .small{
  font-size: 14px;
  color: #fff;
  margin-right: 1rem;
}
#contents #massage .inner .textarea .name .big{
  font-size: 18px;
  color: #fff;
}
#contents #massage .inner figure{
  width: 100%;
  position: relative;
  z-index: 1;
}
#contents #massage .inner figure>img{
  height: 100%;
  width: auto;
}
}

/* ----------------------------------------------

sp設定

------------------------------------------------*/
@media all and (max-width: 520px) {

/* ----------------------------------------------
topImage
------------------------------------------------*/
#under_page  #topImage {
  background: url(images/topImage.jpg) center 30%/cover no-repeat;
}
#under_page  #topImage h1{
  padding:1rem 2rem;
}
#contents h2{
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  width: 50%;
  margin: 0 auto 2rem;
}
#contents h2::after{
  content: url(/images/title_under.svg);
  width: 50px;
  display: inline-block;
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
}
#contents h2 .ja{
  font-size: 20px;
}
#contents h2 .en{
  font-size: 14px;
  position: relative;
}
#contents h2 .en::before,#contents h2 .en::after{
  content: "";
  width: 50px;
  height: 2px;
  background: linear-gradient(to right, #e8e29d 0%, #885d1e 100%);
  position: absolute;
  top: 50%;
}
#contents h2 .en::before{
  left: 0;
  transform: translate(0%,-50%);
}
#contents h2 .en::after{
  right: 0;
  transform: translate(0%,-50%);
}
#contents #history h2 .en::before{
  transform: translate(-100%,-50%);
}
#contents #history h2 .en::after{
  transform: translate(100%,-50%);
}

/* ----------------------------------------------
company
------------------------------------------------*/
#contents .company{
  background:linear-gradient(to right,#fff 0%,#ccc 23%,#fff 100%);
  padding: 2rem 0;
}
#contents .company .link_area{
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}
#contents .company .link_area li{
  background-color: #fff;
  border: 1px solid #e8e29d;
  border-image: linear-gradient(to left,#e8e29d,#885d1e);
  border-image-slice: 1;
  min-width: 180px;
}
#contents .company .link_area li:not(:last-of-type){
  margin-bottom: .5rem;
}
#contents .company .link_area li a{
  display: block;
  width: 100%;
  height: 100%;
  font-size: 16px;
  padding: .5rem 2rem;
  text-align: center;
}
#contents .company .com_list{
  margin: 0 auto 2rem;
  border: 1px solid #000;
  width: 100%;
}
#contents .company .com_list .flex{
  align-items: stretch;
  background-color: #fff;
  flex-direction: column;
}
#contents .company .com_list .flex:not(:last-of-type){
  border-bottom: 1px solid #000;
}
#contents .company .com_list .flex.box_g{
  background:linear-gradient(to right,#ccc 0%,#f0f0f0 50%,#ccc 100%);
}
#contents .company .com_list .flex dt{
  font-size: 18px;
  font-weight: normal;
  padding: .5rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #000;
  width: 100%;
}
#contents .company .com_list .flex dd{
  font-size: 16px;
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
}
#contents .company .com_list .flex dd .maplink{
  margin-left: 1rem;
}

/* ----------------------------------------------
history
------------------------------------------------*/
#contents #history{
  background:linear-gradient(to bottom,rgba(255,255,255,0.9),rgba(255,255,255,0.9)),url(images/his_bg.svg);
  padding: 2rem 0;
}
#contents #history .history_list{
  width: 100%;
  margin: 0 auto 2rem;
}
#contents #history .history_list .flex{
  align-items: stretch;
  flex-direction: column;
}
#contents #history .history_list .flex dt{
  font-size: 18px;
  font-weight: normal;
  padding: .5rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 200px;
  background:linear-gradient(to right,#ccc 0%,#fff 50%,#ccc 100%);
  border-bottom: 1px solid #000;
}
#contents #history .history_list .flex dd{
  font-size: 16px;
  padding: 1rem 2rem;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  position: relative;
  width: 100%;
  border-bottom: 1px solid #000;
}

/* ----------------------------------------------
massage
------------------------------------------------*/
#contents #massage{
  background:linear-gradient(to right,#999 0%,#fff 23%,#999 100%);
  padding: 2rem 0;
}
#contents #massage .inner .wrapper{
  display: flex;
  justify-content: center;
  align-items: stretch;
  position: relative;
  flex-direction: column-reverse;
  z-index: 1;
}
#contents #massage .inner .textarea{
  width: 100%;
  padding: 1.5rem 1rem;
  position: relative;
  z-index: 10;
  background:linear-gradient(to left,#1a1a1a 0%,#000 50%,#1a1a1a 100%);
}
#contents #massage .inner .textarea h3{
  font-size: 18px;
  color: #fff;
}
#contents #massage .inner .textarea .text{
  width: 80%;
  margin: 1rem auto;
  color: #fff;
}
#contents #massage .inner .textarea .name{
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  
}
#contents #massage .inner .textarea .name .small{
  font-size: 14px;
  color: #fff;
  margin-right: 1rem;
}
#contents #massage .inner .textarea .name .big{
  font-size: 20px;
  color: #fff;
}
#contents #massage .inner figure{
  width: 100%;
  position: relative;
  z-index: 1;
}
}
