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

/* ==========================================================================
   メインビジュアル（ヒーロー）
   ========================================================================== */
.p-hero {
  padding-top: 97px;
  /* ヘッダーの高さ分 */
  background-color: #ffffff;
  position: relative;
}

.p-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px 0 131px;
  overflow: hidden;
}

.p-hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 58px;
  width: 100%;
}

.p-hero__title-wrap {
  width: 100%;
  max-width: 1200px;
  padding-left: 49px;
  margin: 0 auto;
}

.p-hero__title {
  width: 499px;
  height: 152px;
  margin-left: 40px;
}

.p-hero__title img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.p-hero__image-wrap {
  width: 100%;
  max-width: 1440px;
  position: relative;
}

.p-hero__image {
  width: 100%;
  height: 571px;
  position: relative;
  overflow: hidden;
}

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

}

.p-hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(200, 212, 255, 0.2);
}

/* スクロールインジケーター */
.p-hero__scroll {
  position: absolute;
  left: 62px;
  top: -80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}

.p-hero__scroll-text {
  font-family: "Figtree", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #d52300;
  writing-mode: vertical-rl;
  margin-bottom: 9px;
}

.p-hero__scroll-line {
  width: 6px;
  height: 90px;
}

@media (max-width: 768px) {
  .p-hero {
    padding-top: 56px;
    /* SPヘッダーの高さ分 */
  }

  .p-hero__inner {
    padding: 40px 0 60px;
  }

  .p-hero__content {
    gap: 30px;
  }

  .p-hero__title-wrap {
    width: 90%;
    padding-left: 0;
    margin: 0 auto;
  }

  .p-hero__title {
    width: 100%;
    height: auto;
    aspect-ratio: 499 / 152;
    margin-left: 0;
  }

  .p-hero__image {
    height: 250px;
  }

  .p-hero__scroll {
    display: none;
  }
}

/* ==========================================================================
   企業情報セクション
   ========================================================================== */
.p-about {
  background-color: #ffffff;
  padding: 0 24px;
  position: relative;
  overflow: hidden;
}

.p-about__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  left: -211px;
  margin-bottom: 100px;
}

.p-about__image {
  flex-shrink: 0;
  width: 496px;
  height: 530px;
  position: relative;
  overflow: hidden;
}

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

.p-about__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(200, 212, 255, 0.1);
}

.p-about__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.p-about__heading {
  font-family: "游ゴシック体", "Yu Gothic", YuGothic, sans-serif;
  font-size: 5rem;
  font-weight: bold;
  line-height: 1.4;
  color: #1a1a1a;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.p-about__heading-accent {
  color: #1a1a1a;
}

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

.p-about__action {
  padding-top: 16px;
}

.p-about__sub-images {
  position: absolute;
  right: -300px;
  top: 0;
  width: 343px;
  height: 100%;
}

.p-about__sub-image1 {
  width: 260px;
  height: 204px;
  position: absolute;
  top: 0;
  right: 0;
  overflow: hidden;
}

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

.p-about__sub-image2 {
  width: 135px;
  height: 180px;
  position: absolute;
  bottom: 0;
  right: 208px;
  overflow: hidden;
}

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

.p-about__sub-image2::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(122, 135, 182, 0.2);
}

@media (max-width: 768px) {
  .p-about {
    padding: 0px 5% 60px;
  }

  .p-about__inner {
    flex-direction: column;
    gap: 30px;
    max-width: 100%;
    margin: 0 auto;
    left: 0;
  }

  .p-about__image {
    width: 100%;
    height: 250px;
  }

  .p-about__content {
    gap: 20px;
  }

  .p-about__heading {
    font-size: 2.8rem;
    margin-bottom: 10px;
  }

  .p-about__text {
    font-size: 1.4rem;
    line-height: 1.8;
  }

  .p-about__text br {
    display: none;
  }

  .p-about__sub-images {
    display: none;
  }
}

/* ==========================================================================
   事業・技術紹介セクション
   ========================================================================== */
.p-service {
  background-color: #f5f5f5;
  padding: 40px 24px 44px;
  overflow: hidden;
}

.p-service__inner {
  display: flex;
  align-items: center;
  gap: 90px;
  max-width: 1180px;
  margin: 0 auto;
  padding-right: 90px;
}

.p-service__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex-shrink: 0;
}

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

.p-service__action {
  padding-top: 16px;
}

.p-service__image {
  flex-shrink: 0;
  width: 425px;
}

.p-service__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .p-service {
    padding: 50px 5%;
  }

  .p-service__inner {
    flex-direction: column;
    gap: 30px;
    padding-right: 0;
  }

  .p-service__content {
    gap: 20px;
  }

  .p-service__text {
    font-size: 1.4rem;
    line-height: 1.8;
  }

  .p-service__text br {
    display: none;
  }

  .p-service__image {
    width: 80%;
    height: auto;
    max-width: 300px;
    margin: 0 auto;
  }
}

/* ==========================================================================
   採用情報セクション
   ========================================================================== */
.p-recruit {
  background-color: #ffffff;
  padding: 80px 24px;
  position: relative;
}

.p-recruit__inner {
  display: flex;
  align-items: flex-start;
  gap: 63px;
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
}

.p-recruit__image-main {
  flex-shrink: 0;
  width: 457px;
  height: 312px;
  position: relative;
  overflow: hidden;
}

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

.p-recruit__image-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(200, 212, 255, 0.2);
}

.p-recruit__content {
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-self: stretch;
}

.p-recruit__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.p-recruit__action {
  padding-top: 16px;
}

.p-recruit__image-sub {
  position: absolute;
  right: 24px;
  bottom: 0;
  width: 172px;
  height: 113px;
  overflow: hidden;
}

.p-recruit__image-sub-inner {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.p-recruit__image-sub-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .p-recruit {
    padding: 50px 5%;
  }

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

  .p-recruit__image-main {
    width: 100%;
    height: 200px;
  }

  .p-recruit__content {
    gap: 24px;
  }

  .p-recruit__body {
    gap: 20px;
  }

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

  .p-recruit__text br {
    display: none;
  }

  .p-recruit__image-sub {
    display: none;
  }
}

/* ==========================================================================
   お知らせセクション（TOP）
   ========================================================================== */
.p-news {
  background-color: #f5f5f5;
  padding: 64px 24px 90px;
  overflow: hidden;
}

.p-news__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  max-width: 1180px;
  margin: 0 auto;
}

.p-news__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.p-news__action {
  padding-top: 16px;
}

/* PC用ボタン */
.p-news__action--pc {
  display: block;
}

/* SP用ボタン */
.p-news__action--sp {
  display: none;
}

.p-news__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.p-news__item {
  display: flex;
  align-items: center;
  gap: 47px;
  padding: 30px 8px 30px 16px;
  background-color: #ffffff;
}

.p-news__date {
  font-family: "Figtree", sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: #1a1a1a;
  flex-shrink: 0;
}

.p-news__title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: #1a1a1a;
  letter-spacing: 0.05em;
  flex: 1;
  min-width: 0;
}

@media (max-width: 768px) {
  .p-news {
    padding: 50px 5%;
  }

  .p-news__inner {
    flex-direction: column;
    gap: 30px;
    align-items: stretch;
  }

  .p-news__content {
    align-items: flex-start;
  }

  .p-news__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px;
  }

  .p-news__date {
    font-size: 1.3rem;
  }

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

  /* SPではPC用を非表示、SP用を表示 */
  .p-news__action--pc {
    display: none;
  }

  .p-news__action--sp {
    display: block;
    padding-top: 30px;
    text-align: center;
  }
}