/* coolなメニュー */
ul.cool-menu {
  list-style: none;
  padding: 0;
  max-width: 700px; /* 2列分の幅を確保 */
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* ← 2列にする */
  gap: 20px; /* 列や行の間隔 */
}

ul.cool-menu li {
  font-size: 18px;
  position: relative;
  padding: 8px 20px 8px 40px;
  background: rgba(245, 245, 245, 0.8);
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  color: #333;
}

/* 文字の前にグラデーションの四角 */
ul.cool-menu li::before {
  content: '';
  position: absolute;
  left: 15px; /* 四角の位置調整 */
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  background: linear-gradient(135deg, #007acc, #00cc7a);
  border-radius: 4px; /* 角を少し丸く */
}

/* hoverアニメーションはそのまま */
ul.cool-menu li::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: #00aaff;
  transition: width 0.4s ease;
}

ul.cool-menu li:hover::after {
  width: 100%;
}




     .detail {
      position: absolute;
      top: 0;
      left: 0;
      opacity: 0;
      transform: translateX(20px);
      transition: opacity 0.4s ease, transform 0.4s ease;
      background: #f9f9f9;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
      width: 100%;
      box-sizing: border-box;
      display: none;
      flex-direction: column;
      gap: 10px;
    }

    .detail.active {
      opacity: 1;
      transform: translateX(0);
      display: flex;
    }

    .detail img {
      max-width: 100%;
      height: auto;
      border-radius: 10px;
    }

    ul.cool-menu li:hover {
      transform: translateX(10px);
      box-shadow: 0 5px 15px rgba(0, 170, 255, 0.3);
    }

    ul.cool-menu li:hover::after {
      width: 100%;
    }

    ul.cool-menu li span {
      position: relative;
      z-index: 2;
    }

  #header-box {
    padding-left: 1rem; /* ← これで左に余白ができます */
  }

  /*ロゴ*/
  #logo {
    margin-left: 1rem;
    margin-top: 1rem;
  }

/*レスポンシブデザイン*/
@media screen and (max-width: 700px) {
  ul.cool-menu li {
    font-size: 14px;
  }

  /*環境との共生文字*/
   .new-top-msg h1 {
        position: absolute;
        top: 20px; /* ← 上から80pxに配置 */
	font-size: 1.8rem;
   }

  /*自然を見続ける*/
   .new-top-msg h2 {
        position: absolute;
        top: 60px; /* ← 上から90pxに配置 */
	      font-size: 1rem;
   }

  /*会社案内文字*/
   .list-half .text h4 {
	font-size: 1.1rem;
   }

  /*現場奮闘記*/
   .bg-slideup.slideup1 h4 {
	font-size: 1.1rem;
   }

}
/*----------------------------------------------*
/*トップページメニュー*/
a.fancy-link {
      display: inline-block;
      color: #333;
      text-decoration: none;
      font-size: 1.2rem;
      font-weight: bold;
      position: relative;

      padding-left: 3em; /* 横棒の幅分スペース確保 */
      transition: transform 0.3s ease, text-shadow 0.3s ease, color 0.3s ease;
    }

    a.fancy-link::before {
      content: "";
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      width: 2em;   /* 約3文字分の幅 */
      height: 1px;
      background-color: #808080;
      transition: background-color 0.3s ease;
    }

    a.fancy-link:hover {
      transform: translateY(-4px);
      text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      color: #007acc;
    }

    a.fancy-link:hover::before {
      background-color: #005a99;
    }

/*かっちょいいテーブル*/
/* ---------- カード全体 ---------- */
.table-card{
  max-width: 700px;          /* ページ全体にベタ張りしない */
  margin: 40px auto;         /* 中央寄せ */
  border-radius: 14px;
  overflow: hidden;          /* 角丸の内側も丸める */
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  background: #fff;
}

/* ---------- かっちょいいテーブル ---------- */
.table-card {
  max-width: 800px;
  margin: 40px auto;
  border-radius: 14px;
  overflow-x: auto;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  background: #fff;
}

/* テーブル全体 */
.cool-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Segoe UI", sans-serif;
  table-layout: fixed;   /* ← 必須！これで幅自動調整 + 折り返しが効く */
  word-break: break-word;
}

/* ヘッダー行 */


/* セル */
.cool-table th,
.cool-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  word-wrap: break-word;
}

/* ストライプ行 */
.cool-table tbody tr:nth-child(odd) {
  background: #f9fbff;
}

/* ホバー時 */
.cool-table tbody tr:hover {
  background: #e6f2ff;
  transition: 0.2s;
}

/* スマホ対応 */
@media (max-width: 600px) {
  .table-card {
    margin: 20px 12px;
  }

  .cool-table th,
  .cool-table td {
    padding: 10px 12px;
    font-size: 0.95rem;
  }
}

/*かっちょいいみだし*/
.company-section {
  display: flex;
  align-items: center;  /* 縦方向中央揃え */
  gap: 15px;            /* 各要素の間隔 */
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.5); /* 背景を50％透過 */
  border-radius: 10px;
}

.gradient-box {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #007acc, #00cc7a);
  border-radius: 4px;
  flex-shrink: 0;
}

.gradient-box_sec {
  width: 30px;
  height: 30px;
  background: linear-gradient(100deg, #076692, #03016d);
  border-radius: 3px;
  flex-shrink: 0;
}

.company-section h2 {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 24px;
  color: #333;
  margin: 0;
  white-space: nowrap;   /* 見出しを1行で表示 */
}

.company-section p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/*かっちょいい画像*/
<style>
.img-text-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px; /* 画像と文字の間の余白 */
}
.img-text-wrap img {
  max-width: 40%;
  height: auto;
}
@media (max-width: 600px) {
  .img-text-wrap {
    flex-direction: column;
  }
  .img-text-wrap img {
    max-width: 100%;
  }
}

/*かっちょいいボタン/*/
    .bbtn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 12px 28px;
      background: #0078ff;
      color: #fff;
      font-weight: bold;
      border-radius: 30px; /* 丸め */
      text-decoration: none;
      transition: 0.2s;
    }
    .bbtn:hover {
      background: #005fcc;
      transform: scale(1.05);
    }
    .bbtn svg {
      width: 18px;
      height: 18px;
      fill: currentColor;
    }


    /*必須マーク*/
#required{
  background-color: #f0ad4e;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  min-width: 10px;
  padding: 3px 7px;
  margin: 0px 5px;
  line-height: 1;
  vertical-align: middle;
  white-space: nowrap;
  text-align: center;
  border-radius: 10px;
  display: inline-block;
}

/*かっちょいいフォームボタン*/

  form {
    max-width: 400px;
    margin: 0 auto;
  }

  input, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 16px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
    box-sizing: border-box;
  }

  /* かっこいいボタン */
  .cool-button {
    display: inline-block;
    background: linear-gradient(135deg, #007acc, #00cc7a);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
  }

  /* ホバー時のアニメーション */
  .cool-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #005f99, #00aa5a);
  }

  .cool-button:active {
    transform: translateY(1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }
