/* -----------------------------------
挨拶
 ----------------------------------- */
.meeting-img {
  text-align: center;
}

.meeting-img img {
  width: 850px;
  height: 550px;
  object-fit: cover;
  object-position: 50% 25%;
}

.page_office .page_message {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 50px;
}

.page_office .page_message .ceo {
  width: 55%;
  height: 100%;
  overflow: hidden;
  text-align: right;
}

.ceo_img img {
  width: 100%;
  height: auto;
  object-position: 60% 100%;
}

.ceo_txt {
  padding-top: 30px;
}

.ceo_txt .right small {
  padding-right: 15px;
  font-size: 1.2rem;
}

.page_office .page_message .txt {
  width: 45%;
}

.ceo_img_flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.ceo_img_flex img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

@media screen and (max-width: 767px) {
  .meeting-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: 50% 25%;
  }

  .page_office .page_message {
    display: block;
  }

  .page_office .page_message .ceo {
    width: 100%;
    text-align: right;
    margin-top: 50px;
  }

  .ceo_txt {
    padding-top: 30px;
  }

  .ceo_txt .right small {
    padding-right: 15px;
    font-size: 1.2rem;
  }

  .page_office .page_message .txt {
    width: 100%;
  }

  .ceo_img_flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .ceo_img_flex img {
    width: 100px;
    height: auto;
    object-fit: cover;
  }
}

/* -----------------------------------
   事務所案内
 ----------------------------------- */
.page_office {
  width: 90%;
  height: auto;
  margin: 0 auto;
  padding: 3% 5%;
}

.page_office .heading1 .jp,
.page_office .heading1 .en {
  color: #333;
}

.heading1 .en::before {
  background-color: #333;
}

.page_office .page_flex {
  display: block;
}

.page_office .page_txt {
  width: 100%;
  margin: 0 auto;

}

.page_office .table {
  border-bottom: 1px solid #bbb;
  border-bottom: none;
  display: table;
  color: #333;
}

.page_office .table tr th {
  width: 300px;
  box-sizing: border-box;
  vertical-align: middle;
  background-color: #F5F5F5;
  letter-spacing: 0.1em;
  border-bottom: 1px solid #bbb;
  font-weight: normal;
}

.page_office .table tr td {
  padding: 15px 20px 15px 20px;
  background-color: #fff;
  border-bottom: 1px solid #bbb;
}

.page_office .page_flex {
  margin-bottom: 0px;
}

  .page_office .table .color{
    color: #bf904e;
    font-weight: bold;
  }

@media screen and (max-width: 767px) {
  .page_office {
    width: 100%;
  }

  .page_office .container {
    width: 90%;
    margin: 0 auto;
  }

  .page_office .page_txt {
    width: 100%;
  }

  .page_office .page_flex {
    margin-bottom: 0px;
  }

  .page_office .table {
    margin-top: 20px;
    border-top: 1px solid #bbb;
    border-bottom: 1px solid #bbb;
    width: 100%;
    table-layout: fixed;
  }

  .page_office .table tr th {
    display: block;
    padding: 12px 20px;
    letter-spacing: 0.1em;
    width: 100%;
  }

  .page_office .table tr td {
    padding: 9px 20px;
    display: block;
    letter-spacing: 0.1em;
    text-align: center;
  }

  .page_office .table .left {
    text-align: left;
  }
}

.image-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.image-item:nth-child(1) {
  width: 100%;
  height: 350px;
  background: url(../images/photo/008.JPG) center no-repeat;
  background-size: cover;
  background-position: 50% 0%;
}

.image-item:nth-child(2) {
  width: 100%;
  height: 350px;
  background: url(../images/photo/009.JPG) center no-repeat;
  background-size: cover;
  background-position: 60% 0%;
}


@media screen and (max-width: 767px) {
  .image-item:nth-child(1) {
    width: 100%;
    height: 350px;
    background: url(../images/photo/008.JPG) center no-repeat;
    background-size: cover;
    background-position: 20% 0%;
  }

  .image-item:nth-child(2) {
    width: 100%;
    height: 350px;
    background: url(../images/photo/008.JPG) center no-repeat;
    background-size: cover;
    background-position: 80% 0%;
  }

}

.map-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  border: 1px solid #002e15;
  margin-top: 30px;
  padding: 30px;
}

.map-item .img {
  width: 40%;
  text-align: center;
}

.map-item .img img {
  width: 200px;
  height: auto;
  object-fit: cover;
}

.map-item .data-item-txt {
  width: 60%;
}

.data-item-txt h2 {
  text-align: center;
  padding: 5px;
  font-weight: normal;
  text-align: center;
  background: #00a347;
  color: #fff;
}

.data-item-txt ul li:nth-child(1),
.data-item-txt ul li:nth-child(3) {
  font-size: 1.6rem;
  padding: 15px 0 5px;
}

.data-item-txt ul li:nth-child(2),
.data-item-txt ul li:nth-child(4) {
  font-size: 2.0rem;
  line-height: 1.5;
}

@media screen and (max-width: 767px) {
  .map-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    border: 1px solid #002e15;
    margin-top: 30px;
    padding: 10px;
  }

  .map-item .img,
  .map-item .data-item-txt {
    width: 50%;

  }

  .map-item .img img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .data-item-txt ul li:nth-child(2),
  .data-item-txt ul li:nth-child(4) {
    display: block;
  }
}

.office-grid {
  display: grid;
  grid-auto-flow: row;
  grid-auto-columns: 20px;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  height: auto;
  margin: 0 auto;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.office-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

@media screen and (max-width: 767px) {
  .office-grid {
    grid-template-columns: 1fr 1fr;
  }

  .office-grid img {
    width: 100%;
    height: 150px;
    object-fit: cover;
  }

}