@charset "utf-8";

.company {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.company .txt {
  width: 60%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.company .txt ul {
  width: 80%;
}

.company .txt ul li {
  display: flex;
  font-size: 13px;
  padding: 14px 0;
  line-height: 1.5;
  letter-spacing: 1px;
}

.company .txt ul li dt {
  font-weight: normal;
  display: inline-block;
  width: 20%;
}

.company .txt ul li dd {
  display: inline-block;
  width: 80%;
}

.company .txt ul li span {
  color: #777;
  font-size: 11px;
  margin-left: 10px;
}

.company .txt .title {
  letter-spacing: 3px;
  font-size: 22px;
  margin-bottom: 20px;
}

.company .txt .title span {
  letter-spacing: 0px;
  font-size: 14px;
  display: block;
  line-height: 2;
}

.company .imgs {
  background-color: #053456;  width: 50%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  opacity: 1;
}

.company .imgs-inner {
  width: 100%;
  height: 100%;
  position: relative;
}

.nigaoe-img {
  position: absolute;
  transition: 1s ease;
  opacity: 0;
}

/* 社長 */
.companyProfileContents .nigaoe-img:nth-of-type(1) {
  max-width: 100%;
  top: 20px;
  right: -120%;
}
/* 岡原部長 */
.companyHistory .nigaoe-img:nth-of-type(1) {
  max-width: 80%;
  top: 3%;
}
/* 田口部長 */
.companyHistory .nigaoe-img:nth-of-type(2) {
  max-width: 52%;
  right: 3%;
  top: 30%;
}
/* 店長 */
.companyHistory .nigaoe-img:nth-of-type(3) {
  max-width: 45%;
  top: 45%;
}

/* メディアクエリ - 会社概要ページ */
@media screen and (max-width: 768px) {
  
  .companyProfileContents, 
  .companyHistory {
    display: block;
  }  
  
  .companyProfileContents .txt, 
  .companyHistory .txt {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
  }  
  
  .companyProfileContents .txt ul, 
  .companyHistory .txt ul {
    width: 100%;
    padding: 10px;
  }
  
  .company .title {
    text-align: center;
  }
  
  .companyProfileContents .txt ul li, 
  .companyHistory .txt ul li {
    display: flex;
    font-size: 11px;
    padding: 8px 0;
    line-height: 1.2;
    letter-spacing: 1px;
  }
  
  .companyProfileContents .txt ul li dt, 
  .companyHistory .txt ul li dt {
    font-weight: normal;
    display: inline-block;
    width: 20%;
  }
  
  .company .imgs {
    opacity: 0.3;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }

  .company .imgs-inner {
    width: 100%;
    height: 100%;
    position: relative;
  }

  /* 社長 */
  .companyProfileContents .nigaoe-img:nth-of-type(1) {
    max-width: none;
    width: 600px;
    bottom: -150px;
    right: -150px;
  }
  /* 岡原部長 */
  .companyHistory .nigaoe-img:nth-of-type(1) {
    max-width: 80%;
    top: 3%;
    left: 3%;
  }
  /* 田口部長 */
  .companyHistory .nigaoe-img:nth-of-type(2) {
    max-width: 52%;
    right: 3%;
    top: 50%; 
    transform: translateY(-40%);
  }
  /* 店長 */
  .companyHistory .nigaoe-img:nth-of-type(3) {
    max-width: 50%;
    max-height: 460px;
    top: auto;
    bottom: 0;
    left: 3%;
  } 
}
