@charset "UTF-8";
/* ==========================================================================
   西田エンジニアリング - 企業情報ページスタイルシート
   ========================================================================== */

/* ==========================================================================
   私たちについてセクション
   ========================================================================== */
.p-about-intro {
  background-color: #ffffff;
  padding: 67px 24px 30px;
}

.p-about-intro__inner {
  display: flex;
  align-items: flex-start;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.p-about-intro__image {
  flex: 1;
  min-width: 0;
}

.p-about-intro__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* PC用画像：PCでは表示、SPでは非表示 */
.p-about-intro__image--pc {
  display: block;
}

/* SP用画像：PCでは非表示、SPでは表示 */
.p-about-intro__image--sp {
  display: none;
}

.p-about-intro__content {
  flex: 0 0 560px;
  padding: 80px 0;
}

.p-about-intro__heading {
  margin-bottom: 25px;
}

.p-about-intro__label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.p-about-intro__diamond {
  width: 10px;
  height: 10px;
  background-color: #d52300;
  border-radius: 1px;
  transform: rotate(45deg);
}

.p-about-intro__en {
  font-family: "Figtree", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #d52300;
  text-transform: uppercase;
  line-height: 1;
}

.p-about-intro__title {
  font-family: "游ゴシック体", "Yu Gothic", YuGothic, sans-serif;
  font-size: 4.8rem;
  font-weight: bold;
  color: #1a1a1a;
  line-height: 1.4;
}

.p-about-intro__text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.9;
  margin-bottom: 60px;
}

.p-about-intro__text p+p {
  margin-top: 22px;
}

.p-about-intro__action {
  padding-top: 16px;
}

.p-about-intro__btn {
  display: inline-flex;
  align-items: center;
  gap: 46px;
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 15px 14px 15px 24px;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.p-about-intro__btn:hover {
  opacity: 0.8;
}

.p-about-intro__btn-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.7rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  line-height: 1;
}

.p-about-intro__btn-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background-color: #414141;
  border-radius: 2px;
}

.p-about-intro__btn-arrow img {
  width: 11px;
  height: 7px;
}

/* ==========================================================================
   企業理念セクション
   ========================================================================== */
.p-philosophy {
  background-color: #ffffff;
  padding: 0 24px;
}

.p-philosophy__inner {
  display: flex;
  align-items: flex-start;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 80px;
}

.p-philosophy__content {
  flex: 0 0 560px;
  padding: 80px 0;
}

.p-philosophy__heading {
  margin-bottom: 30px;
}

.p-philosophy__label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.p-philosophy__diamond {
  width: 10px;
  height: 10px;
  background-color: #d52300;
  border-radius: 1px;
  transform: rotate(45deg);
}

.p-philosophy__en {
  font-family: "Figtree", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #d52300;
  text-transform: uppercase;
  line-height: 1;
}

.p-philosophy__title {
  font-family: "游ゴシック体", "Yu Gothic", YuGothic, sans-serif;
  font-size: 4.8rem;
  font-weight: bold;
  color: #1a1a1a;
  line-height: 1.4;
}

.p-philosophy__catch {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 2.6rem;
  font-weight: 500;
  color: rgba(26, 26, 26, 0.43);
  letter-spacing: 0.03em;
  line-height: 1.2;
  margin-bottom: 24px;
}

.p-philosophy__text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.9;
}

.p-philosophy__text p+p {
  margin-top: 22px;
}

.p-philosophy__images {
  flex: 1;
  position: relative;
  min-height: 400px;
  align-self: stretch;
}

.p-philosophy__image1 {
  width: 406px;
  height: 265px;
  position: absolute;
  top: 60px;
  right: 0;
}

.p-philosophy__image1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;

}

.p-philosophy__image2 {
  width: 151px;
  height: 201px;
  position: absolute;
  bottom: 100px;
  left: 0;
}

.p-philosophy__image2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   代表挨拶セクション
   ========================================================================== */
.p-message {
  background-color: #fff;
  padding: 24px 24px 80px;
}

.p-message__inner {
  display: flex;
  align-items: flex-start;
  gap: 210px;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 80px;
  background-color: #f5f5f5;
  padding: 56px 60px;
}

.p-message__heading {
  flex: 0 0 auto;
}

.p-message__label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.p-message__diamond {
  width: 10px;
  height: 10px;
  background-color: #d52300;
  border-radius: 1px;
  transform: rotate(45deg);
}

.p-message__en {
  font-family: "Figtree", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #d52300;
  text-transform: uppercase;
  line-height: 1;
}

.p-message__title {
  font-family: "游ゴシック体", "Yu Gothic", YuGothic, sans-serif;
  font-size: 4.8rem;
  font-weight: bold;
  color: #1a1a1a;
  line-height: 1.4;
}

.p-message__content {
  flex: 1;
  padding-top: 38px;
}

.p-message__text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 2.4;
}

.p-message__text p+p {
  margin-top: 22px;
}

.p-message__author {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 24px;
  margin-top: 34px;
}

.p-message__author-title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 2;
}

.p-message__author-signature img {
  height: 42px;
  width: auto;
}

/* ==========================================================================
   会社概要セクション
   ========================================================================== */
.p-company-info {
  background-color: #f5f5f5;
  padding: 100px 120px 120px;
}

.p-company-info__inner {
  display: flex;
  align-items: flex-start;
  gap: 118px;
  max-width: 1200px;
  margin: 0 auto;
}

.p-company-info__heading {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 27px;
}

.p-company-info__heading-line {
  width: 8px;
  height: 43px;
  background-color: #d52300;
}

.p-company-info__title {
  font-family: "游ゴシック体", "Yu Gothic", YuGothic, sans-serif;
  font-size: 3.2rem;
  font-weight: bold;
  color: #1a1a1a;
  text-align: center;
  letter-spacing: 0.02em;
  line-height: 1;
}

.p-company-info__content {
  flex: 1;
  background-color: #ffffff;
  padding: 80px 100px;
}

.p-company-info__table {
  width: 100%;
  border-collapse: collapse;
}

.p-company-info__row {
  border-top: 1px solid #e1e1e1;
  border-bottom: 1px solid #e1e1e1;
}

.p-company-info__label,
.p-company-info__value {
  padding: 16px 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  color: #1a1a1a;
  line-height: 1.7;
  vertical-align: top;
}

.p-company-info__label {
  font-weight: bold;
  width: 260px;
}

.p-company-info__value {
  font-weight: 400;
}

/* Googleマップ */
.p-company-info__map {
  margin-top: 59px;
  width: 100%;
  overflow: hidden;
}

.p-company-info__map iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

/* ==========================================================================
   レスポンシブ対応
   ========================================================================== */
@media (max-width: 768px) {

  /* 私たちについて */
  .p-about-intro {
    padding: 40px 5% 60px;
  }

  .p-about-intro__inner {
    flex-direction: column;
    gap: 30px;
  }

  /* PC用画像：SPでは非表示 */
  .p-about-intro__image--pc {
    display: none;
  }

  /* SP用画像：SPでは表示（headingとtextの間に表示） */
  .p-about-intro__image--sp {
    display: block;
    width: 100%;
    height: 260px;
    margin: 20px 0;
    overflow: hidden;
  }

  .p-about-intro__image--sp img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .p-about-intro__content {
    flex: 1;
    width: 100%;
    padding: 0;
  }

  .p-about-intro__title {
    font-size: 3.2rem;
  }

  .p-about-intro__en {
    font-size: 1.4rem;
  }

  .p-about-intro__text {
    margin-bottom: 30px;
  }

  .p-about-intro__btn {
    width: 100%;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 16px;
  }

  .p-about-intro__btn-text {
    font-size: 1.4rem;
  }

  /* 企業理念 */
  .p-philosophy {
    padding: 40px 5%;
  }

  .p-philosophy__inner {
    flex-direction: column;
    gap: 30px;
    padding-left: 0;
  }

  .p-philosophy__content {
    flex: 1;
    width: 100%;
    padding: 0;
  }

  .p-philosophy__title {
    font-size: 3.2rem;
  }

  .p-philosophy__en {
    font-size: 1.4rem;
  }

  .p-philosophy__catch {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .p-philosophy__images {
    width: 100%;
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .p-philosophy__image1 {
    position: static;
    width: 60%;
    height: 200px;
  }

  .p-philosophy__image2 {
    position: static;
    width: 35%;
    height: 150px;
  }

  /* 代表挨拶 */
  .p-message {
    padding: 40px 5%;
    margin-top: 40px;
  }

  .p-message__inner {
    flex-direction: column;
    gap: 30px;
    padding: 40px 24px;
  }

  .p-message__title {
    font-size: 3.2rem;
  }

  .p-message__en {
    font-size: 1.4rem;
  }

  .p-message__content {
    padding-top: 0;
  }

  .p-message__text {
    line-height: 2;
  }

  .p-message__author {
    /* flex-direction: column; */
    /* align-items: flex-end; */
    gap: 10px;
  }

  /* 会社概要 */
  .p-company-info {
    padding: 60px 5%;
  }

  .p-company-info__inner {
    flex-direction: column;
    gap: 30px;
  }

  .p-company-info__heading {
    gap: 16px;
  }

  .p-company-info__heading-line {
    width: 7px;
    height: 30px;
  }

  .p-company-info__title {
    font-size: 2.4rem;
  }

  .p-company-info__content {
    padding: 30px 20px;
  }

  .p-company-info__label {
    width: 120px;
    font-size: 1.4rem;
  }

  .p-company-info__value {
    font-size: 1.4rem;
  }

  .p-company-info__map iframe {
    height: 300px;
  }
}