/* 会社概要
=========================================================================
=========================================================================*/
/* ページタイトル
-----------------------------------------------------------*/
.page_title .image {
  position: relative;
  width: 100%;
  height: 350px;
  background: url(../images/profile/page_title.jpg) center center no-repeat;
  background-size: cover;
}

.page_title h1 {
  position: absolute;
  top: 264px;
  left: 0;
  right: 0;
  margin: 0 auto;
  padding: 35px 0;
  max-width: 1100px;
  font-weight: 500;
  font-size: 36px;
  line-height: 1.6em;
  text-align: center;
  color: #FFF;
  background-image: linear-gradient(-45deg, #138473, #44AD31);
}

.page_title h1 span.title_en {
  overflow: hidden;
  display: block;
  font-weight: 600;
  font-family: "Outfit", sans-serif;
  font-size: 30px;
  line-height: 1em;
}

.title_en span {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  white-space: pre;
}

.page_title h1::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: calc(500 / 1300 * 100%);
  height: 100%;
  background: url(../images/common/section_title_bg01.svg) top center no-repeat;
  background-size: contain;
}

.page_title h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: calc(500 / 1300 * 100%);
  height: 100%;
  background: url(../images/common/section_title_bg02.svg) bottom center no-repeat;
  background-size: contain;
}

/* TOP MESSAGE
-----------------------------------------------------------*/
.message {
  padding: 160px 0 70px;
  background-color: #F8F6F1;
}

.message .inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1100px;
}

@media screen and (max-width:1140px) {
  .message .inner {
    padding: 0 20px;
  }
}

.message .photo {
  width: calc(350 / 1100 * 100%);
}

.message .photo picture {
  display: block;
  margin-bottom: 30px;
}

.message .photo p {
  text-align: center;
}

.message .photo p span {
  padding-left: 15px;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 20px;
}

.message .text {
  width: calc(670 / 1100 * 100%);
}

.message .text h2 {
  overflow: hidden;
  margin-bottom: 30px;
  font-weight: 600;
  font-family: "Outfit", sans-serif;
  font-size: 40px;
  line-height: 1em;
  color: #CCB56B;
}

.message .text h2 span {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  white-space: pre;
}

.message .text p {
  margin-bottom: 2em;
  line-height: 2em;
}

.message .text p:last-of-type {
  margin-bottom: 0;
}

/* Profile
-----------------------------------------------------------*/
.profile {
  padding: 90px 0;
}

.profile .inner {
  margin: 0 auto;
  max-width: 950px;
}

@media screen and (max-width:990px) {
  .profile .inner {
    padding: 0 20px;
  }
}

.profile table {
  width: 100%;
}

.profile th,
.profile td {
  padding: 1em;
  border-bottom: 1px solid #DDDDDE;
}

.profile th {
  width: 20%;
}

.profile td {
  width: 80%;
}

/* Google Map
-----------------------------------------------------------*/
.map {
  position: relative;
  width: 100%;
  aspect-ratio: 10 / 4;
  overflow: hidden;
}

.map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/*  スマホ（767px以下）
=========================================================================
=========================================================================*/
@media screen and (max-width:767px) {
  /* ページタイトル
  -----------------------------------------------------------*/
  .page_title .image {
    height: 120px;
    background: url(../images/profile/page_title@2x.jpg) top center no-repeat;
    background-size: cover;
  }

  .page_title h1 {
    top: 120px;
    padding: 25px 0;
  font-size: 26px;
  }

  .page_title h1 span {
    font-size: 20px;
  }

  .page_title h1::before {
    width: calc(250 / 390 * 100%);
  }

  .page_title h1::after {
    width: calc(250 / 390 * 100%);
  }

  /* TOP MESSAGE
  -----------------------------------------------------------*/
  .message {
    padding: 215px 0 50px;
  }

  .message .inner {
    flex-direction: column-reverse;
    gap: 40px 0;
  }

  .message .photo {
    width: 100%;
  }

  .message .photo picture {
    margin-bottom: 15px;
  }

  .message .text {
    width: 100%;
  }

  .message .text h2 {
    margin-bottom: 20px;
    font-size: 30px;
  }

  /* Profile
  -----------------------------------------------------------*/
  .profile {
    padding: 60px 0;
  }

  /* Google Map
  -----------------------------------------------------------*/
  .map {
    aspect-ratio: 10 / 8;
  }

}

/*  スマホ（480px以下）
=========================================================================
=========================================================================*/
@media screen and (max-width:480px) {
  /* Profile
  -----------------------------------------------------------*/
  .profile table {
    display: block;
  }

  .profile th,
  .profile td {
    display: block;
    padding: 0 0 1em;
    width: 100%;
  }

  .profile th {
    padding: 1em 0 0;
    border-bottom: none;
  }

}
