html,
body {
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  color: #001a00;
}

.fadein {
  opacity: 0;
  transform: translate(0, 50px);
  transition: all 1500ms;
}

.fadein.scrollin {
  opacity: 1;
  transform: translate(0, 0);
}

/*マージン共通*/
.mt50 {
  margin-top: 50px;
}

/*ボタン共通*/
.button {
  width: 240px;
  margin: 50px auto 0;
}

.button-link {
  display: block;
  text-align: center;
  text-decoration: none;
  color: #fff;
  transition: 0.3s;
}

.button-text {
  font-size: 24px;
  font-family: "din-condensed", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.bg-extend-top {
  padding: 16px;
  background-color: #d0531d;
  color: #fff;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.bg-extend-top::before {
  content: "";
  width: 100%;
  height: 100%;
  background-color: #001a00;
  position: absolute;
  left: 0;
  top: -100%;
  transition: 0.4s;
  z-index: -1;
}

.bg-extend-top:hover::before {
  top: 0;
}

/*ボタン共通(色違い)*/
.bg-extend-top2 {
  padding: 16px;
  background-color: #fff;
  color: #d0531d;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.bg-extend-top2::before {
  content: "";
  width: 100%;
  height: 100%;
  background-color: #001a00;
  position: absolute;
  left: 0;
  top: -100%;
  transition: 0.4s;
  z-index: -1;
}

.bg-extend-top2:hover::before {
  top: 0;
}

/*トップ*/
.top_bg {
  max-width: 100%;
  padding: 360px 0;
  margin: 0 auto;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8vw), 0 100%);
  background-image: url("../img/top.jpg");
  background-size: cover;
  background-position: top right;
  background-repeat: no-repeat;
}

.top_catch {
  max-width: 440px;
  margin: 0 0 0 auto;
  margin-right: 5%;
}

.top_catch img {
  width: 100%;
}

/*トップ会社概要*/

.bg_concrete {
  max-width: 100%;
  padding: calc(80px + 8vw) 0 calc(50px + 8vw);
  margin: -8vw auto 0;
  clip-path: polygon(0 8vw, 100% 0, 100% calc(100% - 8vw), 0 100%);
  background-image: url("../img/concrete.png");
  background-size: 100%;
  background-position: center;
  background-repeat: repeat;
  position: relative;
  z-index: 1;
}

.ashirai01 {
  width: 600px;
  position: absolute;
  z-index: -1;
  bottom: 20%;
  left: 5%;
}

.ashirai01 img {
  width: 100%;
}

.top_company {
  max-width: 1000px;
  width: 94%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  column-gap: 3%;
}

.top_company_text {
  width: 500px;
}

.top_company_text h2 {
  color: #d0531d;
}

.top_company_img {
  width: 440px;
}

.top_company_img img {
  width: 100%;
}

.ashirai02_out {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.ashirai02 {
  width: 400px;
  position: absolute;
  top: -100px;
  z-index: 1;
}

.ashirai02 img {
  width: 100%;
}

/*トップ事業内容*/

.bg_black {
  max-width: 100%;
  padding: calc(50px + 8vw) 0 calc(100px + 8vw);
  margin: -8vw auto 0;
  clip-path: polygon(0 8vw, 100% 0, 100% calc(100% - 8vw), 0 100%);
  background-color: #001a00;
  position: relative;
}

.bg_black2 {
  max-width: 100%;
  padding: calc(50px + 8vw) 0 100px;
  margin: -8vw auto 0;
  clip-path: polygon(0 8vw, 100% 0, 100% 100%, 0 100%);
  background-color: #001a00;
  position: relative;
}

.top_service {
  max-width: 1000px;
  width: 94%;
  margin: 0 auto;
  display: flex;
  justify-content: end;
}

.top_service_text {
  width: 500px;
  color: #fff;
}

.top_service_text h2 {
  color: #d0531d;
  text-align: right;
}

.top_service_text h3 {
  text-align: right;
}

/*---スライド
/*-------------------------------------*/

.swiper_con {
  max-width: 1000px;
  height: auto;
  position: relative;
  margin: 50px auto 0;
}

.swiper1 .swiper-slide {
  width: 100%;
  height: auto;
}


.swiper1 .swiper-slide_in {
  margin-bottom: 0px;
  transition: transform .6s ease;
}

.swiper1 .swiper-slide img {
  width: 100%;
  height: auto;
  transition: 0.7s;
}

.swiper1 .swiper-slide_in img:hover {
  opacity: 0.7;
}

.swiper-pagination {
  bottom: -30px !important;
}

.swiper-pagination-bullet {
  background-color: #d0531d;
}

/*トップ採用情報*/

@keyframes parallax-large-anim {
  from {
    transform: translateY(0px);
  }

  to {
    transform: translateY(0px);
  }
}


.bg_greenphoto {
  max-width: 100%;
  padding: calc(100px + 8vw) 0 100px;
  margin: -8vw auto 0;
  clip-path: polygon(0 8vw, 100% 0, 100% 100%, 0 100%);
}

.bg_greenphoto::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  z-index: -10;
  width: 100%;
  height: 100vh;
  background-image: url("../img/bg_greenphoto.jpg");
  background-size: cover;
  background-position: center top;
  animation: parallax-large-anim linear;
  animation-timeline: scroll();
}


.top_recruit {
  max-width: 1000px;
  width: 94%;
  margin: 0 auto;
  display: flex;
  justify-content: start;
  column-gap: 3%;
}

.top_recruit_text {
  width: 500px;
  color: #fff;
}

.top_recruit_text h2 {
  color: #d0531d;
}

.top_recruit_text h2 {
  color: #d0531d;
}


/*問い合わせ*/

.bg_orange {
  max-width: 100%;
  background-color: #d0531d;
  padding: 100px 0;
}

.top_info {
  max-width: 1000px;
  width: 94%;
  margin: 0 auto;
  text-align: center;
}

.tel {
  display: flex;
  column-gap: 40px;
  justify-content: center;
}

.tel h2 {
  color: #fff;
}

h2.tel_in::after {
  display: block;
  font-size: 14px;
  font-family: hiragino-kaku-gothic-pron, sans-serif;
  content: "受付時間／9:00〜18:00"
}

h2.fax_in::after {
  display: block;
  font-size: 14px;
  font-family: hiragino-kaku-gothic-pron, sans-serif;
  content: "もしくは048-954-5758"
}


/*フッター*/

.bg_concrete2 {
  max-width: 100%;
  background-image: url("../img/concrete.png");
  background-size: 100%;
  background-position: center;
  background-repeat: repeat;
  padding: 80px 0;
}

.footer {
  text-align: center;
}

.footer h3 {
  margin-top: 20px;
}

.footer_logo {
  max-width: 240px;
  margin: 0 auto;
}

.footer_logo img {
  max-width: 100%;
}

.end {
  max-width: 100%;
  background-color: #001a00;
}

.end p {
  max-width: 100%;
  color: #fff;
  font-size: 14px;
  font-family: "din-condensed", sans-serif;
  text-align: center;
  padding: 10px;
}


/*以下スマホ*/

@media (max-width: 768px) {

  /*マージン共通*/
  .mt50 {
    margin-top: 40px;
  }

  /*ボタン共通*/
  .button {
    margin: 40px auto 0;
  }

  .button-text {
    font-size: 20px;
  }

  .bg-extend-top {
    padding: 14px;
  }

  .bg-extend-top2 {
    padding: 14px;
  }

  /*トップ*/
  .top_bg {
    max-width: 100%;
    padding: 100px 0;
    margin: 0 auto;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8vw), 0 100%);
    background-image: url("../img/top.jpg");
    background-size: cover;
    background-position: top right;
    background-repeat: no-repeat;
  }

  .top_catch {
    max-width: 210px;
    margin: 0 0 0 auto;
    margin-right: 3%;
  }

  /*トップ会社概要*/
  .bg_concrete {
    max-width: 100%;
    padding: calc(80px + 8vw) 0 calc(50px + 8vw);
  }

  .ashirai01 {
    width: 50%;
    position: absolute;
    z-index: -1;
    bottom: 28%;
    left: 3%;
  }

  .top_company {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 0;
  }

  .top_company_text {
    width: 100%;
  }

  .top_company_img {
    width: 65%;
    margin-top: 40px;
  }

  /*トップ事業内容*/

  .bg_black {
    max-width: 100%;
    padding: calc(50px + 8vw) 0 calc(80px + 8vw);
  }

  .bg_black2 {
    max-width: 100%;
    padding: calc(50px + 8vw) 0 80px;
  }

  .ashirai02 {
    width: 50%;
    position: absolute;
    left: 3%;
    top: -50px;
  }

  .top_service_text {
    width: 100%;
  }


  /*トップ採用情報*/

  .bg_greenphoto {
    max-width: 100%;
    padding: calc(80px + 8vw) 0 80px;
  }

  .bg_greenphoto::after {
    top: 0;
    left: 0;
    background-size: cover;
    background-position: 90% center;
    background-repeat: no-repeat;
  }

  .top_recruit_text {
    width: 100%;
    color: #fff;
  }

  /*問い合わせ*/

  .bg_orange {
    padding: 80px 0;
  }

  .tel {
    row-gap: 20px;
    flex-wrap: wrap;
  }

  /*フッター*/

  .bg_concrete2 {
    padding: 40px 0;
  }

  .footer_logo {
    max-width: 160px;
  }

  .end p {
    font-size: 12px;
  }

}

/*
 * サブページ用ヘッダー
 */

/* COMPANYページ用ヘッダー画像 */
.company-header {
  background-image: url("../img/company_bg.jpg");
}

/* SERVICEページ用ヘッダー画像 */
.service-header {
  background-image: url("../img/service_bg.jpg");
}

/* RECRUITページ用ヘッダー画像 */
.recruit-header {
  background-image: url("../img/recruit_bg.jpg");
}

/* INFOページ用ヘッダー画像 */
.info-header {
  background-image: url("../img/info_bg.jpg");
}



.page-header {
  padding: 250px 0;
  /* 指定されたpaddingに変更 */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8vw), 0 100%);
  /* companyページ用の画像に変更 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: end;
  align-items: center;
}

.page-header__inner {
  margin-right: 5%;
}

.page-header__inner h2 {
  color: #fff;
  font-family: "din-condensed", sans-serif;
  font-weight: 400;
  font-style: normal;
  padding: 4px 10px 0;
  list-style: 0;
  background-color: #001a00;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .page-header {
    padding: 180px 0;
  }
}



/* COMPANY/GREETINGセクション */
.company_greeting {
  max-width: 1000px;
  width: 94%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 3%;
}

.company_greeting_text {
  width: 500px;
}

.company_greeting_text h2 {
  color: #d0531d;
}

.company_greeting_img {
  width: 360px;
}

.company_greeting_img img {
  width: 100%;

}

.ceo_name {
  text-align: right;
  font-family: "hiragino-mincho-pro-n", "游明朝", serif;
  /* 明朝体フォントを指定 */
  font-size: 20px;
  /* フォントサイズを大きめに */
  font-weight: bold;
  margin-top: 30px;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .company_greeting {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 0;
  }

  .company_greeting_text {
    width: 100%;
  }

  .company_greeting_img {
    width: 65%;
    margin-top: 40px;
  }

  .ceo_name {
    font-size: 18px;
    margin-bottom: 0;
    /* スマホ用にフォントサイズを調整 */
  }
}


/*
 * 会社概要テーブル
 */
.company_info_wrap {
  max-width: 1000px;
  width: 94%;
  margin: 0 auto;
  text-align: center;
}

.company_info_wrap h2 {
  color: #d0531d;
  font-family: "din-condensed", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.company_info_wrap h3 {
  color: #fff;
}

.company_info {
  background-color: #001a00;
  margin: 40px auto 0;
}

.company_info table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
  color: #fff;
  font-size: 15px;
}

.company_info th,
.company_info td {
  padding: 20px 15px;
  vertical-align: middle;
}

.company_info th {
  background-color: #d0531d;
  width: 25%;
  font-weight: normal;
  text-align: center;
}

.company_info td {
  background-color: #fff;
  color: #001a00;
  text-align: left;
}

/* スマホ対応 */
@media (max-width: 768px) {

  .company_info {
    margin-top: 20px;
  }

  .company_info table {
    border-spacing: 0;
  }

  .company_info th,
  .company_info td {
    padding: 10px 15px;
  }

  .company_info tr {
    display: block;
    margin-bottom: 10px;
  }

  .company_info tr:last-of-type {
    margin-bottom: 0;
    /* 最後の項目は余白をなくす */
  }

  .company_info th {
    width: 100%;
    text-align: left;
    border-radius: 0;
    display: block;
    /* 追加 */
  }

  .company_info td {
    width: 100%;
    text-align: left;
    border-radius: 0;
    display: block;
    /* 追加 */
  }
}


/*
 * マップセクション
 */
.bg_white {
  background-color: #fff;
  padding: calc(50px + 8vw) 0 100px;
  margin: -8vw auto 0;
  clip-path: polygon(0 8vw, 100% 0, 100% 100%, 0 100%);
  position: relative;
  z-index: 1;
}

.map_wrap {
  max-width: 1000px;
  width: 94%;
  margin: 0 auto;
  text-align: center;
}

.map_wrap h2 {
  color: #d0531d;
  /* MAPの文字色をオレンジに */
  font-family: "din-condensed", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.map_wrap h3 {
  color: #001a00;
  /* マップの文字色を黒に */
}

.google_map_wrap {
  margin-top: 50px;
  margin: 50px auto 0;
}

.google_map_wrap iframe {
  width: 100%;
  height: 400px;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .bg_white {
    padding: 80px 0 80px;
  }

}


/*
 * サービス内容セクション
 */


.service_content {
  max-width: 1000px;
  width: 94%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 4%;
  color: #fff;
}

.service_text_box {
  width: 52%;
  color: #001a00;
}

.service_image_box {
  width: 42%;
}

.service_image_box img {
  width: 100%;
}

.service_title_wrap {
  position: relative;
}

.service_text {
  margin-top: 20px;
}

.orange_border {
  width: 100%;
  height: 4px;
  background-color: #d0531d;
  margin-top: 10px;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .service_content {
    flex-direction: column;
  }

  .service_text_box {
    width: 100%;
    order: 2;
  }

  .service_image_box {
    width: 100%;
    order: 1;
    margin-bottom: 20px;
  }

  .service_title_wrap {
    margin-top: 20px;
  }
}

/*
 * サービス内容セクションの左右反転
 */
.service_content.reverse {
  flex-direction: row-reverse;
}

/* サービス内容の区切り線 */
.black_border_full {
  max-width: 1000px;
  width: 94%;
  height: 1px;
  background-color: #001a00;
  margin: 50px auto;
}


/* スマホ対応 */
@media (max-width: 768px) {
  .service_content.reverse {
    flex-direction: column;
  }

  .black_border_full {
    margin: 30px auto;
  }
}


/*
 * スライドコーナー
 */
.photo_slide_wrap {
  max-width: 1000px;
  width: 94%;
  margin: 0 auto;
  text-align: center;
}

.photo_slide_wrap h2 {
  color: #d0531d;
  font-family: "din-condensed", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.photo_slide_wrap h3 {
  color: #fff;
}

/*
 * リクルートコンテンツセクション
 */
.recruit_section {
  max-width: 1000px;
  width: 94%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  column-gap: 3%;
}

/* h2の色をオレンジに */
.recruit_section h2 {
  color: #d0531d;
}

.recruit_section_text {
  width: 500px;
}

.recruit_section_img {
  width: 440px;
}

.recruit_section_img img {
  width: 100%;
}

.recruit_section.reverse {
  flex-direction: row-reverse;
}

/* サービス内容の区切り線 */
.black_border_full {
  width: 94%;
  height: 1px;
  background-color: #001a00;
  margin: 50px auto;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .recruit_section {
    flex-wrap: wrap;
    column-gap: 0;
  }

  .recruit_section_text {
    width: 100%;
    order: 2;
  }

  .recruit_section_img {
    width: 65%;
    margin-bottom: 20px;
    order: 1;
    /* 画像を中央揃えに */
    margin-left: auto;
    margin-right: auto;
  }

  .recruit_section.reverse {
    flex-direction: column;
  }
}

/*
 * 募集要項
 */
.recruit_info_wrap {
  max-width: 1000px;
  width: 94%;
  margin: 0 auto;
  text-align: center;
}

.recruit_info_wrap h2 {
  color: #d0531d;
}

.recruit_info_wrap h3 {
  color: #fff;
}

.recruit_info {
  background-color: #001a00;
  margin: 40px auto 0;
}

.recruit_info table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
  color: #fff;
  font-size: 15px;
}

.recruit_info th,
.recruit_info td {
  padding: 20px 15px;
  vertical-align: middle;
  line-height: 1.6;
}

.recruit_info th {
  background-color: #d0531d;
  width: 25%;
  font-weight: normal;
  text-align: center;
}

.recruit_info td {
  background-color: #fff;
  color: #001a00;
  text-align: left;
}


/* スマホ対応 */
@media (max-width: 768px) {

  .recruit_info {
    margin-top: 20px;
  }

  .recruit_info table {
    border-spacing: 0;
  }

  .recruit_info th,
  .recruit_info td {
    padding: 10px 15px;
  }

  .recruit_info tr {
    display: block;
    margin-bottom: 10px;
  }

  .recruit_info tr:last-of-type {
    margin-bottom: 0;
    /* 最後の項目は余白をなくす */
  }

  .recruit_info th {
    width: 100%;
    text-align: left;
    border-radius: 0;
    display: block;
  }

  .recruit_info td {
    width: 100%;
    text-align: left;
    border-radius: 0;
    display: block;
  }
}


/*
 * 採用情報「3つのポイント」セクション
 */
.bg_greenphoto2 {
  max-width: 100%;
  padding: calc(100px + 8vw) 0 calc(80px + 8vw);
  margin: -8vw auto 0;
  clip-path: polygon(0 8vw, 100% 0, 100% calc(100% - 8vw), 0 100%);
}

.bg_greenphoto2::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  z-index: -10;
  width: 100%;
  height: 100%;
  background-image: url("../img/bg_greenphoto2.jpg");
  background-size: cover;
  background-position: center top;
  animation: parallax-large-anim linear;
  animation-timeline: scroll();
}

.recruit_keypoints_wrap {
  max-width: 1000px;
  width: 94%;
  margin: 0 auto;
  text-align: left;
  color: #fff;
}

.recruit_keypoints_wrap h2 {
  color: #d0531d;
}

.recruit_keypoints {
  display: flex;
  justify-content: center;
  gap: 3%;
  margin-top: 50px;
}

.recruit_keypoints img {
  width: 32%;
  height: auto;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .bg_greenphoto2 {
    padding: 80px 0 calc(80px + 8vw);
  }

  .bg_greenphoto2::after {
    background-position: 90% center;
  }

  .recruit_keypoints {
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
  }

  .recruit_keypoints img {
    width: 100%;
    margin: 0 auto;
  }
}