@charset "utf-8";

/* 共通 */
.no-gutter > [class*='col-'] {
	padding-right: 0;
	padding-left: 0;
}


/* 背景色 */
.bg-lightgreen {
	background-color: #E6F0E8;  /* 薄い緑アクセント */
}


/* ジャンボトロン（動画背景） */
.jumbotron {
    background: none;
    height: 450px;
    position: relative;    
    overflow: hidden;
}

.hero-video {
	position: absolute;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	transform: translate(-50%, -50%);
	object-fit: cover;
	z-index: 0;
}

.jumbotron .container {
  position: relative;
   transform: translateY(-15%);
  z-index: 1;
  top: -20px; 
}

/* --- TOPページ専用タイトルスタイル --- */
.jumbotron h1 {
  font-size: 2.3rem; 
  font-weight: 700;
  letter-spacing: 0.05em;
  background: linear-gradient(90deg, #16643e 0%, #4a9b68 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap; 
}

.jumbotron p.lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: #2c4b3b;
  text-shadow: 
    0 0 4px rgba(255,255,255,0.8),
    0 0 8px rgba(255,255,255,0.7); 
  white-space: nowrap; 
}
/* スマホ時にテキストがナビバーに重ならないように調整 */
@media (max-width: 767.98px) {
  .jumbotron {
    height: 240px;
  }

  .jumbotron .container {
    transform: none;
  top: -20px;
    padding-top: 2.5rem;
  }

  .jumbotron h1 {
    font-size: 1.4rem;
  }

  .jumbotron p.lead {
    font-size: 0.9rem;
  }
}



/* ========================
   ヘッダー・ナビバー
   ======================== */
   

/* ナビバー全体（背景統一） */
.navbar-box {
    width: 100%;
    background-color: #15522C !important; /* メインカラー */
    padding: 0 !important; /* 余白を消す */
}

.navbar-box .container-fluid {
    padding: 0 !important; /* 内側余白も消す */
}
.navbar-box .navbar,
.navbar-box .navbar-collapse {
  background-color: #15522C !important;
}


.navbar {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}


/* ナビリンク（通常） */
.navbar-dark .navbar-nav .nav-link {
    color: #fff !important; /* 白文字 */
    transition: all 0.3s;
}

/* ナビリンク（ホバー・フォーカス） */
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: #E6F0E8 !important; /* 薄緑に変更 */
    background-color: rgba(255,255,255,0.1); /* ほんのり明るく */
    border-radius: 4px;
}


/* メニュー項目余白 */
.navbar-nav .nav-item {
    margin: 0 0.25rem;
}

/* 電話番号部分 */
.header-box .text-secondary {
    color: #15522C !important;
}

/* メール問い合わせボタン */
.btn-mail {
  display: inline-block;
  padding: 12px 30px;
  background-color: #15522C; /* 濃い緑 */
  color: #fff;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none; /* 下線消す */
  border: 2px solid #15522C;
  transition: all 0.3s ease;
  
  white-space: nowrap; /* 折り返さない */
}

.btn-mail:hover {
  background-color: #3a7d50; /* ホバーで明るい緑 */
  color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}
/* ========================
   詳しく見るボタン（.btn-primary）
   ======================== */
.btn-primary {
  background-color: #15522C; /* 濃い緑（サイトのメインカラー） */
  border: 2px solid #15522C;
  color: #fff;
  font-weight: bold;
  border-radius: 30px;
  padding: 10px 28px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #3a7d50; /* 少し明るい緑 */
  border-color: #3a7d50;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  text-decoration: none;
}
/* ========================
  テーブル
   ======================== */

.company-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.95rem;
  color: #555;
}

.company-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #ccc; /* 横線をすべてのセルに */
}

.company-table tr:last-child td {
  border-bottom: none; /* 最後の行は線なし */
}

.company-table td:first-child {
  font-weight: 600; /* 左列だけ太字に */
  color: #333;
  width: 160px;
}




/* ========================
  コンテンツ
   ======================== */
.service-nav .service-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;             /* アイコンと文字の間隔 */
  padding: 20px 28px;    /* 高さ・余白を調整 */
  background-color: #15522C;
  color: #fff;
  border-radius: 12px !important;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  min-width: 230px;      /* 小さすぎないように */
}

.service-nav .service-btn i {
  font-size: 2rem;       /* アイコンの大きさ */
  margin-bottom: 4px;
}

.service-nav .service-btn .service-title {
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

.service-nav .service-btn .service-sub {
  font-size: 0.85rem;
  color: #d6e8dc;
}

.service-nav .service-btn:hover {
  background-color: #0f3a20;
  transform: translateY(-4px);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15); /* 浮いた感じを演出 */
}



/* ========================
   カード・バッジ
   ======================== */
.card .badge {
    background-color: rgba(21, 82, 44, 0.8); /* 濃い緑半透明 */
    color: #fff;
}
.card {
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.card-img-top {
  width: 100%;       /* 横幅いっぱいに */
  height: auto;      /* 高さ自動 */
  object-fit: contain; /* 切らずに収める */
  display: block;    /* ブロック要素にして余白消す */
  background-color: #f9f9f9; /* 余白部分を薄い背景で補完 */
}

@media (max-width: 767.98px) {
  .card-img-top {
    max-height: 180px; /* 小さい画面でも画像が大きくなりすぎない */
  }
}


/* サービスボタンの色変更 */
#services .btn-primary {
    background-color: #15522C;
    border-color: #15522C;
}

#services .btn-primary:hover {
    background-color: #0a240e;  /* ホバー時少し暗め */
    border-color: #0a240e;
}

/* ========================
   車カード
   ======================== */

.safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  justify-items: center;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto;
}

.safety-card {
  background: #fff;
  border-radius: 10px;
  padding: 18px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.safety-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.safety-card i {
  font-size: 28px;
  color: #15522C;
  margin-bottom: 8px;
}

.safety-card h5 {
  font-size: 16px;
  margin: 6px 0;
  color: #333;
}

.safety-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

/* PCは3列、スマホは2列 */
@media (min-width: 768px) {
  .safety-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767.98px) {
  .safety-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}



/* ========================
   見出し
   ======================== */
.heading {
  border-left: 6px solid #15522C;
  padding-left: 12px;
  font-size: 1.8rem;
  font-weight: 700;
  color: #15522C;
  margin-bottom: 1.5rem;
  margin-top: 1rem;
  text-align: left;
}

.page-hero .container {
    padding-left: 15px;
    padding-right: 15px;
}



/* ========================
   パンくずリスト
   ======================== */
.breadcrumb-item + .breadcrumb-item::before {
	content: ">";
}

/* ========================
   フッター
   ======================== */
.footer-copyright {
	width: 100%;
	height: 60px;
	line-height: 60px;
}
.footer-bottom {
  margin-top: 25px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px; /* 全体の間隔を確保 */
}

.footer-bottom .btn-mail {
  margin-bottom: 10px;
}

.footer-marks {
  display: flex;
  align-items: center;
  gap: 15px; /*  マーク同士の間隔 */
}

.footer-mark {
  height: 50px;
  width: auto;
}

.footer-address {
  font-size: 0.95rem;       
  color: #15522C;           /* 濃い緑 */
  margin: 0.5rem 0 1rem 0;  /* 上下に余白 */
  line-height: 1.6;         /* 行間広め */
  font-weight: 600;         /* 通常より少し太め */
}


/* スマホでは縦並び＆中央寄せ */
@media (max-width: 767.98px) {
  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 10px;
  }
  .footer-bottom .btn-mail {
    margin-right: 0;
    margin-bottom: 5px;
  }
}


/* ========================
   Googleマップ
   ======================== */
.map iframe {
	width: 100%;
	height: 450px;
}
@media (max-width: 767.98px) {
  .map iframe { height: 320px; }
}


/* ========================
   レスポンシブ
   ======================== */
@media screen and (max-width: 991.98px) {
	.footer-logo {
		width: 100%;
	}
}

@media screen and (max-width: 767.98px) {
	.gnav-item {
		display: block;
		width: 100%;
		border: none;
	}
	.gnav-item + .gnav-item {
		border: none;
	}
	table th, table td {
		padding: .25rem !important;
	}
	table th:first-child {
		width: 25%;
	}
}

@media screen and (min-width: 576px) and (max-width: 991.98px) {
 #sec2  {
     height: 500px;
 } 
}

@media screen and (min-width: 576px) {
 #sec2 .message {
    position: absolute;
    left: 0;
 } 
}

/* sec2 レイアウト調整 */
#sec2 {
  background-color: #f9f9f9;
}

#sec2 img {
  object-fit: cover;
  width: 100%;
  height: auto;
}

/* 小さい画面では画像→テキスト */
/* 中画面以上では横並び */
@media (min-width: 768px) {
  #sec2 .row {
    display: flex;
    align-items: center;
  }
}

/* ========================
   テキスト＋画像レイアウト共通
   ======================== */

.section-flex {
  padding: 80px 0;
}

@media (max-width: 767.98px) {
  .section-flex {
    padding: 60px 0;
  }
}


.section-flex .text-block h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #15522C; /* メインカラー */
}

.section-flex .text-block p {
  line-height: 1.8;
  color: #333;
  font-size: 1rem;
}

.section-flex .image-block img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 背景色バリエーション */
.bg-softgray { background-color: #f9f9f9; }


.bg-green {
  background-color: #E6F0E8;
}

/* 左右反転用（Bootstrap順序変更） */
.section-flex.reverse .text-block {
  order: 2;
}

.section-flex.reverse .image-block {
  order: 1;
}

/* スマホ対応（中央寄せ） */
@media (max-width: 767.98px) {
  .section-flex .image-block {
    text-align: center; /* 画像だけ中央寄せ */
  }
  .section-flex .text-block {
    text-align: left; /* 見出し・テキストは左寄せ */
  }
}


/* ========================
   カスタムボタン
   
   ======================== */
/* 白地に緑文字の丸いボタン */
.btn-custom {
  display: inline-block;
  padding: 12px 30px;
  background-color: #fff;
  color: #007c3e; /* 緑 */
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  border: 2px solid #007c3e;
  transition: all 0.3s ease;
}

.btn-custom:hover {
  background-color: #007c3e;
  color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}

/* ボタンが横に伸びすぎないようにする */
.btn-limited-width{
  max-width: 320px;
  width: 100%;
}



/* ========================
   電話ボタン
   ======================== */

.tel-button {
  display: inline-block;
  padding: 15px 40px;
  background-color: #006633;
  border: 2px solid #006633;
  color: #fff;                /* 文字色 */
  font-size: 2.5rem;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;      /* 下線を消す */
  transition: all 0.3s;
  white-space: nowrap; /*改行させない */
}

.tel-number {
  font-size: 1.5rem;   /* 好きなサイズに調整 */
  font-weight: bold;
  color: #ffffff;
}


/* ホバー時 */
.tel-button:hover {
  background-color: #004d1a;
  color: #fff;                /* ホバー時も文字色を白に固定 */
  text-decoration: none;      /* 下線が出ないように固定 */
  transform: scale(1.05);
}

/* ========================
   アウトソーシング
   ======================== */
.outsourcing-benefits {
  background-color: #ffffff;      /* 背景を白に */
  border: 2px solid #15522C;     /* 緑の枠は残す */
  border-radius: 12px;
  padding: 30px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.outsourcing-benefits h3 {
  text-align: center;
  color: #15522C;
}

.outsourcing-benefits ul li {
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

/* ========================
  車両紹介
   ======================== */
.vehicle-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  margin-bottom: 2rem;
  text-align: center;
}

.vehicle-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.vehicle-card .vehicle-type {
  color: #006633;
  font-weight: 600;
  margin-top: 0.5rem;
}

.vehicle-card .vehicle-name {
  font-weight: 700;
  margin: 0.25rem 0 0.5rem 0;
}

.vehicle-card .spec-labels {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.vehicle-card .spec-label {
  background-color: #e6f2e6; /* 薄い緑背景 */
  color: #006633;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
}

.vehicle-card .vehicle-count {
  background-color: #006633; /* 濃い緑で目立たせる */
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 6px 0;
  margin-top: 0.5rem;
  border-radius: 0 0 10px 10px; /* 下だけ角丸 */
}
#service1, #service2, #service3, #vehicles {
  scroll-margin-top: 90px;
}

/* ========================
  環境
   ======================== */

.env-policy {
  max-width: 850px;
}

.env-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  line-height: 1.8;
}

.env-list {
  list-style-type: decimal;
  padding-left: 1.5rem;
}

.env-list li {
  margin-bottom: 1rem;
}

.env-list ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

.env-card p {
  font-size: 0.95rem;
}



.absorb-num {
  font-size: 2rem;
  font-weight: 700;
  color: #15522C;
}


.project-badge i {
  color: #2e7d32;         
}

@media (max-width: 767.98px) {
  .project-badge {
    white-space: normal;
    text-align: center;
  }
  .absorb-label {
    font-size: 1.3rem;
  }
  .absorb-num {
    font-size: 1.7rem;
  }
}
/* ========================
  倉庫カード
======================== */
.warehouse-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  margin-bottom: 2rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.warehouse-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.warehouse-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.warehouse-card .warehouse-name {
  font-weight: 700;
  margin: 0.5rem 0;
  color: #15522C; /* メインカラー */
  font-size: 1.1rem;
}

.warehouse-card .spec-labels {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.warehouse-card .spec-label {
  background-color: #e6f2e6;
  color: #006633;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
}

.warehouse-card .spec-labels {
  margin-top: auto;
  padding-bottom: 8px;
}


/* ========================
  倉庫カード：画像が縦長でカードが伸びるのを防ぐ
======================== */
.warehouse-card img{
  width: 100%;
  height: 200px;      /* ← ここで縦長防止（好みで180〜240px） */
  object-fit: cover;  /* ← 画像をトリミングして枠に合わせる */
  display: block;
}

/* スマホは少し低くしてテンポ良く */
@media (max-width: 767.98px){
  .warehouse-card img{
    height: 170px;
  }
}

/* 住所表示（追加した部分） */
.warehouse-card--branch .warehouse-address{
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;

  padding: 0 14px 10px;
  color: #15522C;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.5;

  white-space: normal;
  word-break: break-word;
}

.warehouse-card--branch .warehouse-address i{
  margin-top: 3px;
  color: #15522C;
}



/* ========================
  安全
======================== */

.accident-highlight {

  background-color: #e8f4ed;
  color: #15522C;
  font-weight: 600;
  padding: 1.5rem 1rem;
  margin-bottom: 2.5rem;
  text-align: center;
  border-radius: 0.5rem;
  font-size: 1.25rem;
  line-height: 1.5;
}

.accident-highlight i {
  vertical-align: middle;
  color: #15522C;
}

.highlight-red {
  color: #B03030;  /* 落ち着いた赤色 */
  font-weight: 700;
}

.accident-highlight .text-muted {
  font-size: 0.85rem; /* 少し小さく */
  font-weight: normal; /* 太字解除 */
  color: #666;
}

.table td, .table th {
  vertical-align: middle !important; /* 縦中央揃え */
}


/* レスポンシブ */
@media (max-width: 767.98px) {
  .accident-highlight {
    font-size: 1.1rem;
    padding: 1rem 0.8rem;
  }
}


/* 環境 */

.certificate-img {
  max-width: 424px;
  width: 100%;
  height: auto;
  border: 1px solid #ddd;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  border-radius: 6px;
}

/* ② 吸収量ボックス */
.absorb-box {
  background: #ffffff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.12);
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;

  max-width: 350px;

  /* ★ スマホで中央に配置するため */
  margin-left: auto;
  margin-right: auto;
}

.absorb-main {
  font-size: 1.2rem;
  font-weight: 600;
  color: #15522C;
}

.absorb-number {
  font-size: 2.3rem;
  font-weight: 700;
  color: #d72638;
}

.absorb-sub {
  background: #E7F4EA;
  color: #15522C;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.95rem;
  line-height: 1.35;
  text-align: center;
}

.no-edge {
  box-shadow: none !important;
  filter: none !important;
}

.env-box {
  display: flex;                  /* ← inline-flex を flex に */
  flex-wrap: wrap;                /* ← 折り返しを許可 */
  justify-content: center;
  align-items: center;
  gap: 10px;

  min-width: 0;                   /* ← はみ出し防止の決め手 */
}

.absorb-label {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #222;

  flex: 1 1 100%;
  text-align: center;
}
@media (max-width: 767.98px) {
  .absorb-label { font-size: 1.3rem; }
}


.project-badge {
  flex: 1 1 100%;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  background: #e7f2eb;
  color: #15522C;
  font-weight: 600;
  border-radius: 50px;

  max-width: 100%;
  white-space: normal;

  text-decoration: none !important;
  border-bottom: none !important;
  transition: 0.2s ease;
}
.project-badge:hover {
  background: #d8eadd;
  text-decoration: none !important;
  border-bottom: none !important;
}
.project-badge i {
  color: #2e7d32;
}
.navbar-toggler .fa-bars{
  color:#fff;
  font-size:1.6rem;
  line-height:1;
}