@charset "utf-8";

/*------------------------------------------------
------------------------------------------------*/
#profile .content-header,
#history .content-header {
  background-image: url(../../images/company/content_title_bg_profile.jpg);
  background-position: center;
  background-size: cover;
  width: 100%;
}

#profile .content-header {

}
#history .content-header {
  background-image: url(../../images/company/content_title_bg_history.jpg);
}

#profile .content-header-inner,
#history .content-header-inner {
  width: 100%;
  height: 125px;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
}

#profile .content-title,
#history .content-title {
  color: #fff;
  width: 100%;
  text-align: center;
}

#profile .content-title-en,
#history  .content-title-en {
  font-size: 1rem;
  font-weight: 400;
  display: block;
}
#profile .content-title-jp,
#history  .content-title-jp {
  text-align: center;
  line-height: 1.2;
  font-size: 2.7rem;
  font-weight: 400;
  display: block;
}

@media print, screen and (min-width: 960px) {

  #profile .content-header-inner {
    height: 260px;
  }
  #history .content-header-inner {
    height: 135px;
  }

  #profile .content-title-en,
  #history  .content-title-en {
    font-size: 2rem;
  }
  #profile .content-title-jp,
  #history  .content-title-jp {
    font-size: 4rem;
  }
}

/*------------------------------------------------
profile
------------------------------------------------*/

#profile {
  padding-top: 50px;
}

.profile-list {}
.profile-item {
  padding: 15px;
}
.profile-item:nth-of-type(odd) {
  background-color: var(--bg-light);
}
.profile-inner-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
}
.profile-title {
  width: 30%;
}
.profile-text {
  width: 70%;
}


.address-list {}
.address-item-name {}
.address-item-text {}
.map-link {}
.map-link-button {
  color: #fff;
  font-size: 1.5rem;
  background-color: #C3AFAF;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 120px;
  height: 30px;
  border-radius: 15px;
  margin-left: auto;
}

@media print, screen and (min-width: 960px) {
  .profile-item {
    padding: 30px 15px;
  }
  .profile-title {
    font-size: 2rem;
    width: 200px;
  }
  .profile-text {
    font-size: 2rem;
    width: calc(100% - 200px);
  }
  .address-list {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    /* max-width: 800px; */
    margin-top: -15px;
  }
  .address-item-name {
    width: 175px;
    padding-top: 15px;
  }
  .address-item-text {
    width: calc(100% - 180px);
    position: relative;
    padding-top: 15px;
  }

  .map-link {
    position: absolute;
    top: 20px;
    right: 0;
  }
}

/*------------------------------------------------
office
------------------------------------------------*/
#office {}

#office .common-inner {
  padding: 50px 15px;
}

.officebox {
  border: 1px solid #707070;
  padding: 20px;
  width: calc(100% - 30px);
  margin:0 auto 50px;
}
.office-pic {
  margin-bottom: 25px;
}
.office-info {}
.office-name {}
.office-address {
  line-height: 1.8;
}
.office-access {
  padding-top: 10px;
}
.office-access li {
  line-height: 1.8;
}
.google-map {
  width: 100%;
  height: 150px;
  margin-top: 25px;
}


@media print, screen and (min-width: 690px) {
  .officebox {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    padding: 30px;
    width: calc(100% - 60px);
  }
  .office-pic {
    width: 35%;
  }
  .office-info {
    width: 62%;
  }

  .google-map {
    height: 335px;
  }
}

@media print, screen and (min-width: 960px) {

  .officebox {
    padding: 35px;
    width: 100%;
  }
  .office-pic {
    width: 360px;
  }
  .office-info {
    width: calc(100% - 390px);
  }
  .office-name {
    font-size: 2.5rem;
    line-height: 1;
    padding-bottom: 10px;
  }
  .office-address {
    font-size: 1.8rem;
  }
  .office-access {
    font-size: 1.8rem;
  }
  .office-access li {
    font-size: 1.8rem;
  }
}

@media print, screen and (min-width: 1200px) {
  #office .common-inner {
    padding: 140px 0;
  }
}

/*------------------------------------------------
history
------------------------------------------------*/

#history {
  padding-bottom: 50px;
}

.history-list {}
.history-item {
  padding: 15px;
}
.history-item:nth-of-type(even) {
  background-color: var(--bg-light);
}
.history-inner-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
}
.history-year {
  width: 30%;
}
.history-text {
  width: 70%;
}

@media print, screen and (min-width: 960px) {
  .history-year {
    font-size: 2rem;
    width: 200px;
  }
  .history-text {
    font-size: 2rem;
    width: calc(100% - 200px);
  }
}


@media print, screen and (min-width: 1200px) {
  #history {
    padding-bottom: 140px;
  }
}
