@charset "UTF-8";

/* ==================================
  全体基本スタイル
================================== */
.company-container {
  width: 100%;
}

/* ----------------------------------
  共通幅設定（.inner）
---------------------------------- */
.inner {
  width: 100%;
  max-width: 1400px; /* フルHD(1920px)のとき: (1920 - 1400) / 2 = 左右260px余白 */
  padding-left: 260px;  /* 画面幅が広いときの左右余白 */
  padding-right: 260px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* 画面サイズが縮んできたときの調整 */
@media (max-width: 1920px) {
  .inner {
    padding-left: 5vw;  /* 1920px以下では画面に合わせて可変 */
    padding-right: 5vw;
  }
}

@media (max-width: 768px) {
  .inner {
    padding-left: 20px; /* スマホ時 */
    padding-right: 20px;
  }
}

/* ==================================
  メインビジュアル（画像1＋テキスト）
================================== */
.company-hero {
  position: relative;
  width: 100%;
}

.company-hero img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-text-box {
  position: absolute;
  top: 50%;
  left: calc((100% - 1400px) / 2 + 260px);
  transform: translateY(-50%);
  color: #FFFFFF;
}

@media (max-width: 1920px) {
  .hero-text-box {
    left: calc((100% - 1400px) / 2 + 5vw);
  }
}

@media (max-width: 1400px) {
  .hero-text-box {
    left: 5vw;
  }
}

@media (max-width: 768px) {
  .hero-text-box {
    left: 20px;
  }
}

.hero-title {
  font-size: 40px;
  font-weight: bold;
  margin: 0 0 20px 0;
  line-height: 1;
  letter-spacing: 6px;
}

.hero-sub {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
  line-height: 1;
  letter-spacing: 2px;
}

/* ==================================
  メインビジュアルと本文コンテンツの間隔
================================== */
.content-body {
  margin-top: 200px;
}


/* ==================================
  キャッチコピー・リードブロック
================================== */
.lead-block {
  margin-bottom: 150px;
}

.main-title {
  font-size: 36px;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 50px;
}

/* 「コンクリート」「リサイクル」の緑文字指定 */
.main-title span {
  color: #09830A;
}

.main-lead {
  line-height: 1.8;
  margin-bottom: 100px;
  text-align: justify;
}

/* プラントメイン画像 */
.lead-img {
  width: 100%;
  margin-bottom: 100px;
  margin-top: 100px;
}

.lead-img img {
  width: 100%;
  height: auto;
  display: block;
}


/* ==================================
  四角ボタン（ナビゲーション）
================================== */
.service-nav {
  display: flex;
  gap: 0; /* 枠線を綺麗につなげるため */
  width: 100%;
}

.service-nav-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 60px;
  padding: 0 15px;
  border: 1px solid #B9B9B9;
  background-color: #FFFFFF;
  color: #333333;
  text-decoration: none;
  box-sizing: border-box;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* 隣り合うボタンの枠線の重なり防止 */
.service-nav-item + .service-nav-item {
  border-left: none;
}

/* 右下の三角アイコン */
.service-nav-item .nav-icon {
  position: absolute;
  right: 12px;
  bottom: 10px;
  width: 8px;
  height: auto;
  transition: filter 0.3s ease;
}

/* ホバー時のカラー変更 (背景: #09830A / 文字: #FFFFFF) */
.service-nav-item:hover,
.service-nav-item.active {
  background-color: #09830A;
  color: #FFFFFF;
  border-color: #09830A;
}

/* ホバー時に右下の三角アイコンを白色に反転 */
.service-nav-item:hover .nav-icon,
.service-nav-item.active .nav-icon {
  filter: brightness(0) invert(1);
}


/* ==================================
  共通大見出しスタイル
================================== */
.section-heading {
  display: flex;
  align-items: center;
  font-size: 32px;
  font-weight: bold;
  border-left: 5px solid #09830A; 
  padding-left: 15px;
  margin-bottom: 100px;
  line-height: 1;
}

/* 右側の横線 */
.section-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #B9B9B9;
  margin-left: 20px;
}


/* ==================================
  工程 
================================== */
/* 中見出し（製造工程）: 26px 太字 / 左縦線 #779B00 */
.process-heading {
  font-size: 26px;
  font-weight: bold;
  line-height: 1.4;
  padding-left: 12px;
  border-left: 6px solid #779B00;
  margin-top: 100px;
  margin-bottom: 70px;
}

/* 工程アイテムグループ */
.process-item {
  margin-bottom: 20px;
}

/* 小見出し */
.process-subheading {
  display: flex;
  align-items: center;
  font-size: 22px;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 30px;
}

.process-subheading::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 4px;
  background-color: #ADB91B;
  margin-right: 10px;

}

.process-text {
  line-height: 1.8;
  margin-bottom: 30px;
  color: #333333;
  text-align: justify;
}

.process-images {
  display: flex;
  gap: 20px;
}

.process-image-wrap {
  flex: 1;
}

.process-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}


.process-grid-container {
  display: flex;
  flex-direction: column;
  gap: 20px; /* 上下の段の隙間 */
}


.process-row {
  display: flex;
  gap: 20px;
}

.process-image-wrap {
  flex: 1;
}

.process-image-wrap img {
  width: 100%;
  height: auto;
  display: block;

}



/* 下向き三角アイコン */
.process-arrow {
  text-align: center;
  margin: 50px 0 70px;
}

.process-arrow img {
  width: 28px;
  height: auto;
  display: inline-block;
}

/* 調整 */

.mb-70 {
  margin-bottom: 70px;
}

.mb-150 {
  margin-bottom: 150px;
}

.mb-200 {
  margin-bottom: 200px;
}


/* ===================================
   車両セクション
=================================== */
.vehicle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.vehicle-item img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 16px;
}

.vehicle-title {
  font-size: 20px; 
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.vehicle-desc {
  color: #333333;
  line-height: 1.7;
}

/* ===================================
   RUDEセクション
=================================== */
.rude-content {
  display: grid;
  grid-template-columns: minmax(440px, 1fr) 1fr; 
  gap: 40px;
  align-items: stretch;
  margin-bottom: 150px;
}

.rude-text-side {
  width: 100%;
  min-width: 0;
  display: flex; 
  flex-direction: column; 
  justify-content: space-between; 
}

.rude-description {
  color: #333333;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* R, U, D, E リスト全体 */
.rude-acronym-list {
  margin-bottom: 30px;
}

/* 各行をFlexboxでレイアウト */
.acronym-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-weight: bold;
}

/* 左側の文字部分 */
.acronym-word {
  white-space: nowrap; 
  padding-right: 20px; 
}

/* 1文字目のカラー指定 */
.acronym-highlight {
  color: #009B01;
  font-weight: bold;
  font-size: 16px;
}

/* 中央の線 */
.acronym-line {
  flex-grow: 1;
  border-bottom: 1px solid #151515; 
  margin-right: 20px; 
}

/* 右側の意味部分 */
.acronym-meaning {
  width: 50% ;
  flex-shrink: 0;
  font-weight: normal;
}

/* RUDEパンフレットボタン */
.btn-pamphlet {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background-color: #09830A; 
  color: #FFFFFF;
  text-decoration: none;
  padding: 0 24px;
  font-weight: bold;
  width: 440px; 
  max-width: 100%;
  height: 80px;
  box-sizing: border-box;
  transition: opacity 0.2s ease;
}

.btn-pamphlet span {
  color: #FFFFFF;
}

.btn-pamphlet:hover {
  opacity: 0.9;
}

.btn-pamphlet img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1); 
}

/* 右側画像エリア */
.rude-image-side {
  width: 100%;
  min-width: 0;
}

.rude-image-side img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===================================
   対応工事エリア
=================================== */
.work-list {
  margin-bottom: 100px; 
}

.work-item {
  margin-bottom: 30px;
}

/* 緑色の四角アイコン付きの中見出し */
.work-title {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 8px;
}

.work-title::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background-color: #ADB91B; 
  margin-right: 12px;
  flex-shrink: 0;
}



/* ===================================
   施工事例エリア
=================================== */
.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 40px 30px;
  margin-bottom: 100px; 
}

.case-item img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 12px;
}

.case-title {
  font-size: 20px;
  font-weight: bold;
  margin: 0;
}



/* ===================================
   受入品目セクション
=================================== */
.acceptance-section {
  margin-bottom: 100px;
}

.acceptance-group {
  margin-bottom: 60px;
}

/* タイトルとアイコンの並び */
.acceptance-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

/* アイコンのサイズ調整 */
.acceptance-icon {
  width: 24px;
  height: 24px;
  display: block;
}

/* 受入可能・受入不可の文字 */
.acceptance-title {
  font-size: 24px;
  font-weight: bold;
  margin: 0;
  line-height: 1;
}


/* リード文・注意書き */
.acceptance-lead {
  margin-bottom: 20px;
  line-height: 1.7;
}

.acceptance-note {
  margin-top: 15px;
  line-height: 1.7;
}

/* 破線のボックス  */
.acceptance-box {
  position: relative;
  padding: 30px;
  box-sizing: border-box;
  background-color: #ffffff;

  background-image: 
    linear-gradient(to right, #B9B9B9 4px, transparent 4px), /* 上辺 */
    linear-gradient(to right, #B9B9B9 4px, transparent 4px), /* 下辺 */
    linear-gradient(to bottom, #B9B9B9 4px, transparent 4px), /* 左辺 */
    linear-gradient(to bottom, #B9B9B9 4px, transparent 4px); /* 右辺 */
  
  /* 「線の長さ」と「線の太さ」の設定 */
  background-size: 
    10px 1px, 
    10px 1px, 
    1px 10px, 
    1px 10px;
  
  /* 4辺の配置場所 */
  background-position: 
    top left, 
    bottom left, 
    top left, 
    top right;
  
  /* 破線を綺麗にリピートさせる設定 */
  background-repeat: 
    repeat-x, 
    repeat-x, 
    repeat-y, 
    repeat-y;
}
/* リスト */
.acceptance-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 30px;
}

/* 破線内の文字 */
.acceptance-list li {
  font-size: 18px;
  font-weight: bold;
  position: relative;
  padding-left: 16px;
}

/* 点の色：#ADB91B のドット */
.acceptance-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background-color: #ADB91B;
  border-radius: 50%;
}

/* =========================================================
   バナー付きボックス
   ========================================================= */

.acceptance-box.has-banner {
  position: relative;
  padding: 120px 100px 60px 100px;
  margin-bottom: 200px;
}

/*  上部の緑色見出しバナー */
.acceptance-title-bar {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #779B00; 
  color: #ffffff;
  padding: 32px 70px;
  text-align: center;
}

.acceptance-title-bar h2 {
  font-size: 32px;
  font-weight: bold;
  margin: 0;
  line-height: 1.4;
  white-space: nowrap; 
}

/* 本文テキストのスタイル */
.acceptance-content p {
  font-size: 22px;
  line-height: 1.9;
  margin: 0;
  text-align: justify;
  font-weight: 500;
}



/* ===================================
   レスポンシブ対応
=================================== */
@media (max-width: 900px) {
.vehicle-grid,
  .rude-content {
    grid-template-columns: 1fr; 
    gap: 30px;
  }

  .rude-content {
    grid-template-columns: 1fr;
  }

  .btn-pamphlet {
    width: 100%; 
  }
  .hero-title {
        font-size: 28px;
        margin: 0 0 10px 0;
        letter-spacing: 2px;
  }

.hero-sub {
    letter-spacing: 0;
  }
}

@media (max-width: 768px) {

    .process-images {
    flex-direction: column;
    gap: 12px;
  }
    .case-grid {
    grid-template-columns: 1fr; 
    gap: 30px;
    margin-bottom: 64px;
  }
  .acceptance-box.has-banner {
    padding: 40px;
    margin-bottom: 100px;
  }
  .acceptance-title-bar {
    width: 90%; 
    padding: 10px 15px;
  }
    .acceptance-title-bar h2 {
    font-size: 16px;
    white-space: normal; 
  }

  .acceptance-content p {
    font-size: 14px;
  }
  .process-row {
    flex-direction: column; 
    gap: 15px;
  }
  .main-lead {
    margin-bottom: 50px;
}
.lead-img {
    margin-bottom: 50px;
    margin-top: 50px;
}
  .main-title {
    font-size: 28px;
}
.content-body {
    margin-top: 60px;
}

  .service-nav {
    flex-wrap: wrap;
  }

  .service-nav-item {
    flex: 0 0 50%;  
    max-width: 50%;
    height: 55px;
    padding: 0 10px;
    font-size: 14px;
  }

  .service-nav-item + .service-nav-item {
    border-left: 1px solid #B9B9B9;
  }

  .service-nav-item:nth-child(even) {
    border-left: none;
  }

  .service-nav-item:nth-child(n+3) {
    border-top: none;
  }
  .lead-block {
    margin-bottom: 64px;
}
.section-heading {
    margin-bottom: 50px;
    font-size: 28px;
}
.process-heading {
    margin-top: 64px;
    margin-bottom: 50px;
    font-size: 24px;
}
.process-arrow {
    margin: 24px 0 20px;
}
.rude-content {
    margin-bottom: 64px;
}
.work-item {
    margin-bottom: 12px;
}
.work-list {
    margin-bottom: 64px;
}
.acceptance-list {
    gap: 8px 30px;
}
.acceptance-list li {
    font-size: 16px;
}
.acceptance-box {
    padding: 16px 12px;
}
.acceptance-section {
    margin-bottom: 64px;
}
.mb-150 {
    margin-bottom: 64px;
}
}

/* ==================================
  ページトップへ戻るボタン
================================== */
.page-top-btn {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 99;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.page-top-btn img {
  width: 100%;
  height: auto;
  display: block;
}

.page-top-btn.is-show {
  opacity: 1;
  visibility: visible;
}


.page-top-btn:hover {
  transform: translateY(-4px);
  opacity: 0.8;
}

#nav-target {
  display: block;
  margin-top: -50px; 
  padding-top: 50px;  
}

@media (max-width: 768px) {
  .page-top-btn {
    right: 20px;
    bottom: 20px;
    width: 40px;
    height: 40px;
  }
}