  /* 全体リセット */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }
  body {
    font-family:
      "IBM Plex Sans", "IBM Plex Sans JP", "helvetica-lt-pro", "Helvetica Neue", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 16px;
    box-sizing: border-box;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #231815;
  }
  h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: normal;
  }
  p {
    margin: 0;
    font-weight: normal;
  }
  a {
    text-decoration: none; /* 下線を消す */
    cursor: pointer; /* リンクっぽさを出す */
    transition: all 0.2s ease; /* ホバー時のなめらかな変化 */
  }
  .space-right {
    display: inline-block;
    margin-right: 0.5rem; /* お好みで調整 */
  }
  /* ====== サイドバー全体 ====== */
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 180px;
    height: 100vh;
    background-color: #231815;
    color: #727171;
    padding: 20px;
    z-index: 1000;
    overflow-y: auto;
    border-right: 5px solid orangered;
  }
  .logo {
    margin: 20px 0;
    color: #ffffff;
  }
  .co {
    font-size: 16px;
  }
  /* ====== サイドバーのリスト ====== */
  .sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .sidebar ul li {
    line-height: 2;
  }
  /* ====== リンクの見た目 ====== */
  .sidebar ul li a {
    color: #727171;
    text-decoration: none;
  }
  .sidebar ul li a, .mobile-nav ul li a {
    font-weight: 300;
  }
  .sidebar ul li a:hover {
    color: #ffffff;
  }
  /* ====== details の統一スタイル ====== */
  .menu-detail {
    padding: 0;
    margin: 0;
  }
  .menu-detail summary {
    all: unset;
    display: block;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 300;
    color: inherit;
    line-height: 2;
  }
  .menu-detail summary:hover {
    color: #ffffff;
    transition: all 0.2s ease;
  }
  /* ====== summary の ▶ 矢印を消す ====== */
  summary::-webkit-details-marker, summary::marker {
    display: none;
  }
  /* ====== サブメニュー ====== */
  .menu-detail ul {
    margin: 0;
    padding: 0;
  }
  .menu-detail ul li {
    padding: 0;
    line-height: 2;
    position: relative;
  }
  /* ====== 中のリンクも揃える ====== */
  .menu-detail ul li a {
    line-height: 2;
  }
  .nowrap {
    white-space: nowrap;
  }
  /* ====== coming soon ====== */
  /* 共通部分 */
  .coming-soon {
  position: relative;
  display: inline-block;
  color: transparent; /* 本体文字は透明に */
  cursor: default;
}

/* beforeでdata-beforeの文字を表示 */
.coming-soon::before {
  content: attr(data-before);
  color: #727171;
  position: relative;
  z-index: 1;
  display: inline-block;
  transition: opacity 0.3s ease;
  cursor: default;
}

/* ホバー時の差し替えテキスト */
.coming-soon::after {
  content: "coming soon"; /* ここから「>」は除去 */
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;
  color: #727171;
  cursor: default;
}

/* ホバー時の切り替え */
.coming-soon:hover::before {
  opacity: 0;
}

.coming-soon:hover::after {
  opacity: 1;
}

  /* ====== サイドバーを引いたメイン部 ====== */
  .main-area {
    flex: 1;
    margin-left: 180px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    background-color: rgb(239, 242, 244);
  }
  /* ====== メインコンテンツ ====== */
  main {
    flex: 1;
    box-sizing: border-box;
  }
  /* ====== ヒーロー画像 ====== */
  .hero {
    position: relative;
    overflow: hidden;
    max-width: 1920px;
    height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    padding-left: 40px;
    box-sizing: border-box;
    background: #fff;
    font-family: "helvetica-lt-pro", sans-serif;
  }
.hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  z-index: 0; /* 背景に下げる */
  opacity: 0.5; /* 初期値 */
  animation: fadeToFullOpacity 18s ease forwards;
}
  @keyframes fadeToFullOpacity {
    from {
      opacity: 0.5;
    }
    to {
      opacity: 1;
    }
  }
  .hero.shrinked {
    height: 50vh;
    max-height: 450px;
  }
  .hero.shrinked .title-h1 {
    display: none;
  }
  /* ====== ヒーロー見出し隠 ====== */
  .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
  }
  /* ====== ヒーロー見出し ====== */
  .hero-heading {
    position: relative;
    width: 100%;
    height: 100%;
    font-size: clamp(30px, 9vw, 200px);
    font-weight: 200;
    white-space: nowrap;
    color: #4c4948;
  }
  /* ISSUEだけ中央に絶対配置 */
  .issue {
    position: absolute;
    top: 40vh; /* ビューポートの50%の位置に */
    left: 10px;
    transform: translateY(-50%);
    opacity: 0;
    animation: fadeIn 1s ease forwards, fadeOut 0.5s ease forwards;
    animation-delay: 0s, 2s;
  }
  /* IDEA〜YOKOHAMAを含むラッパー */
  .text-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-rows: repeat(4, auto);
    row-gap: 1.5vh; /* PCでの行間 */
    align-items: center;
    justify-items: start;
    padding-left: 10px;
    animation: fadeOutAll 1s ease forwards;
    animation-delay: 7.5s;
  }
  /* 各行 */
  .text-wrapper .text-line {
    opacity: 0;
    transform: translateX(-20px);
    animation: fadeIn 1s ease forwards;
  }
  /* 出現タイミング */
  .text-wrapper .text-line:nth-of-type(1) {
    animation-delay: 3s;
  } /* IDEA */
  .text-wrapper .text-line:nth-of-type(2) {
    animation-delay: 4s;
  } /* REALIZE */
  .text-wrapper .text-line:nth-of-type(3) {
    animation-delay: 5s;
  } /* COLLABORATION */
  .text-wrapper .text-line:nth-of-type(4) {
    animation-delay: 6s;
  } /* YOKOHAMA */
  /* アニメーション */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateX(-20px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  @keyframes fadeOut {
    from {
      opacity: 1;
    }
    to {
      opacity: 0;
    }
  }
  @keyframes fadeOutAll {
    from {
      opacity: 1;
    }
    to {
      opacity: 0;
    }
  }
  /* ====== 最新ニュース ====== */
  .latest {
    max-width: 1920px;
    overflow: hidden;
    background-color: lightgray;
    padding-left: 70px;
    box-sizing: border-box;
    position: relative;
  }
  .latest p {
    display: inline-block;
    margin: 0;
    padding: 0;
    animation-name: scrollToStop;
    animation-duration: 9s;
    animation-delay: 8s;
    animation-timing-function: ease-out;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    white-space: normal;
    word-break: break-word;
    font-size: 16px;
    text-indent: -10.5ch;
    padding-left: 10.5ch;
  }
  .label {
      white-space: nowrap;
    }
  @keyframes scrollToStop {
    0% {
      transform: translateX(100%);
    }
    50% {
      transform: translateX(0); /* 停止位置 */
    }
    100% {
      transform: translateX(0); /* 停止を維持して次にループ */
    }
  }
  /* ====== コンセプトと画像ナビ ====== */
  .content {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start; /* 初期は左寄せ */
    max-width: 1820px;
    margin: 0;
    padding: 15px 70px;
    transition: justify-content 0.3s ease;
  }
  .title-h2 {
    position: relative;
    min-width: 300px;
    max-width: 600px;
    /* 高さ自動にするならheightは外す */
    /* height: 230px; ここは必要に応じて */
    display: inline-block;
  }
  .text-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 59px 0 20px 0;
    transition: padding 0.3s ease;
  }
  .text1, .text2 {
    position: absolute;
    margin: 0;
    font-size: 64px;
    line-height: 1.4;
    font-family: "helvetica-lt-pro", sans-serif;
    font-weight: 200;
    color: #4c4948;
    opacity: 0;
    transition: opacity 1s ease;
    white-space: nowrap;
    text-align: left;
  }
  .text1.active, .text2.active {
    opacity: 1;
    position: relative; /* ← これで通常のDOMの流れに戻す */
  }
  .highlight {
    color: orangered;
  }
  .none {
    opacity: 0;
  }
  /* ======　画像ナビ　====== */
  .kyoso-nav {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    margin-left: 100px;
    vertical-align: bottom;
  }
  .kyoso-nav-img {
    position: relative;
    width: 100%;
    max-width: 480px;
  }
  .kyoso-nav-img img {
    display: block;
    width: 100%;
    height: auto;
	margin: -3px 0 0 8px;
  }
  .c-mozi {
    position: absolute;
    top: 50%; /* 親要素の中央 */
    left: 50%; /* 親要素の中央 */
    width: 200px;
    max-width: 50%;
    transform: translate(-60%, -45%); /* 自身の中央を親の中央に合わせる */
  }
  /* ゆらゆらアニメーション */
  .c-mozi img {
    width: 100%;
    height: auto;
    animation: swingZoom 4s ease-in-out infinite;
    transform-origin: center center;
  }
  /* ゆらゆらのアニメーション */
  @keyframes swingZoom {
    0% {
      transform: rotate(-10deg) scale(1);
    }
    50% {
      transform: rotate(10deg) scale(1.05);
    }
    100% {
      transform: rotate(-10deg) scale(1);
    }
  }
  /* ====== 共通のセクションスタイル ====== */
  .section-n {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    //background-color: orange; 
    //opacity: 0.5;
    border-radius: 50%;
  }
  .section-n-img-wrapper {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
  }
  .section-n-img-wrapper img {
    position: absolute;
    width: 250px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.5));
  }
  .section-n:hover .section-n-img-wrapper img {
    opacity: 1;
  }
  /* ====== ホバースイッチ：各セクションの位置・サイズ ====== */
  .train {
    width: 180px;
    height: 180px;
    left: 10px;
    top: -25px;
  }
  .grow {
    width: 180px;
    height: 180px;
    left: -45px;
    top: 160px;
  }
  .defend {
    width: 180px;
    height: 180px;
    left: 130px;
    top: 260px;
  }
  .assemble {
    width: 180px;
    height: 180px;
    left: 310px;
    top: 160px;
  }
  .measure {
    width: 180px;
    height: 180px;
    left: 240px;
    top: -25px;
  }
  /* ====== ホバー時に出現する画像の位置調整 ====== */
  .train .section-n-img-wrapper img {
    left: -25px;
    top: -50px;
  }
  .grow .section-n-img-wrapper img {
    left: -30px;
    top: -45px;
  }
  .defend .section-n-img-wrapper img {
    left: -41px;
    top: -20px;
  }
  .assemble .section-n-img-wrapper img {
    left: -60px;
    top: -45px;
  }
  .measure .section-n-img-wrapper img {
    left: -55px;
    top: -50px;
  }
  /* ====== インデックスニュース ====== */
  .index-news {
    box-sizing: border-box;
    max-width: 1700px;
    //max-width: 100%; 
    margin: 0;
    padding: 0 0 80px 0;
  }
  .news-back {
    margin: 0 0 10px 70px;
  }
  .news-back h2 {
    max-width: 1100px;
    color: #ffffff;
    background-color: gray;
  }
  .index-news-p p {
    max-width: 1700px;
    margin: 0 0 0 70px;
    line-height: 2.0;
  }
  .hanging-indent {
    white-space: pre-wrap; /* 改行や全角スペースを保持 */
    text-indent: -6.3em; /* 1行目を左に引っ込める */
    padding-left: 6.6em; /* 全体を右にずらす */
    line-height: 1.8; /* 行間を少し広くすると読みやすい */
  }

  /* ====== product-categoryページ ====== */
  .top-proto {
    margin: 40px 0 0 70px;
  }
  /* ====== メインコンテンツ ====== */
  .product-category-box {
    max-width: 1650px;
    margin: 0 0 0 70px;
  }
  /* ====== 見出し ====== */
  .product-category-h1 {
    max-width: 1650px;
    margin: 0;
    padding: 90px 0 35px 0;
  }
  .product-category-h1 h1 {
    width: fit-content;
    white-space: nowrap;
    margin: 0;
    padding: 0;
    font-size: 64px;
    font-style: normal;
    font-weight: 300;
  }
  .product-category-h1 p {
    width: fit-content;
    white-space: nowrap;
    margin: -10px 0 0 4px;
    padding: 0;
  }
  /* ====== 導入 ====== */
  .introduction {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    max-width: 1500px;
    margin: 0;
    gap: 0;
  }
  .introduction-img {
    flex: 1 1 500px; /* これを×２より少なくしておけば、縮みすぎず、すぐ折り返してくれる*/
    max-width: 750px;
    box-sizing: border-box;
  }
  .introduction-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    vertical-align: bottom;
  }
  /* ====== 解決案 ====== */
  .question {
    max-width: 1100px;
    height: auto;
  }
  .question img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
  }
  /* ====== 四コマ ====== */
  .fourkoma {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: left;
    max-width: 1100px;
    margin: 0px 0 70px 0;
  }
  .koma {
    flex: 1 1 500px;
    max-width: 550px;
    height: auto;
    box-sizing: border-box;
  }
  .koma img {
    width: 100%;
    height: auto;
    object-fit: cover; /* または cover */
    display: block;
    vertical-align: bottom;
  }
  .product-category-nav-box {
    max-width: 1100px;
    height: auto;
    margin: 0 0 70px 0;
    display: flex;
    gap: 30px;
    flex-wrap: nowrap; /* ← 折り返さない */
  }
  .product-category-nav {
    max-width: 220px;
    height: auto;
    margin: 0;
    padding: 0;
  }
  .product-category-nav img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
    backface-visibility: hidden; /* ← 追加 */
    will-change: transform, filter; /* ← 追加 */
  }
  .shadow-image {
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.5));
  }
  .product-category-nav:hover img {
    transform: scale(1.1); /* 拡大率：10%アップ */
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.5));
  }
  /* ====== リクルートページ・アクセスページ・コンタクトページ共通====== */
  .common-section {
    max-width: 1120px;
    margin: 70px 0 70px 70px;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 20px;
  }
  /* ====== 影付きボックス　====== */
  .section-box, .new-box-style {
    max-width: 550px;
    width: 100%;
    //height: 550px; /* 必要に応じて高さ調整 */
    padding: 30px;
    background-color: #fff;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2); /*右、下、ぼかす距離、色*/
    border-radius: 8px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  /* ======　見出し　====== */
  .section-box h1, .section-box h2 {
    text-align: center;
    margin: 0 0 20px;
  }
  /* ======　表全体の共通スタイル　====== */
  table {
    width: 100%;
    border-collapse: collapse;
  }
  th, td {
    padding: 12px 16px;
    border-bottom: 1px solid #ccc;
    text-align: left;
  }
  th {
    background-color: #f0f0f0;
    width: 30%;
  }
  th, td {
    word-break: break-word;
    white-space: normal;
  }
.section-box p {
	font-weight: 300;
}
.recruit-p {
	font-weight: 300;
	padding-bottom: 1.5rem;
}
  /* ======　 iframeを含む要素（アクセスページ用）　====== */
  .section-box iframe {
    flex-grow: 1; /* 可能であれば使う */
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
  }
  /* ====== PRIVACY POLICYページ ====== */
  .policy-box h2 {
    text-align: left; /* 親要素で中央揃えを解除 */
    font-size: 18px; /* フォントサイズを小さく */
    margin: 1rem 0 0.5rem 0;
  }
  .policy-box p {
    font-style: normal;
    font-weight: 300;
  }
  .policy-contact {
    margin: 0.5rem 0 0 0;
  }
  /* ======　トップへ戻るボタン　====== */
  #backToTop {
    position: fixed;
    bottom: 40px;
    right: 0;
    padding: 10px 15px;
    background-color: #333;
    color: white;
    border-radius: 5px 0 0 5px;
    text-decoration: none;
    cursor: pointer;
    display: block; /* 常に表示したい場合 */
    font-size: 16px;
    z-index: 1000;
    opacity: 0.8;
    transition: opacity 0.3s;
  }
  #backToTop:hover {
    opacity: 1;
  }
  /* ======　フッター　====== */
  footer {
    width: 100%;
    height: auto;
    padding-left: 180px; /* サイドバーの幅 + 余白 */
    background-color: #231815;
  }
  footer p {
    padding: 40px 0;
    text-align: center;
    color: white;
  }
  /* ======　フッターメニュー　====== */
  .footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: flex-start;
    padding: 40px 70px 0;
    max-width: 1200px;
    box-sizing: border-box;
  }
  .footer-menu ul {
    width: 165px;
    flex: 0 0 auto;
    //padding: 20px;
    list-style: none;
    color: #727171;
    font-size: 14px;
    box-sizing: border-box;
  }
  .footer-menu ul li {
    padding-bottom: 8px;
  }
  .footer-menu ul li a {
    color: #727171;
    text-decoration: none;
  }
  .footer-menu ul li a:hover {
    color: #ffffff;
  }
  .footer-menu .footer-top {
    font-size: 16px;
    font-weight: bold;
    display: block;
    margin: 0;
    line-height: 1.8;
    color: #727171;
  }
  .footer-soon {
    margin: 0 10px 0 0; 
  }
  /* ======　ハンバーガー本体　====== */
  .hamburger {
    display: none;
    width: 35px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
    position: fixed;
    top: 20px;
    left: 20px;
    cursor: pointer;
    z-index: 9999;
  }
  /* ======　３本バー　====== */
  .hamburger .bar {
    width: 100%;
    height: 4px;
    background-color: #231815;
    transition: all 0.3s ease;
    border-radius: 2px;
  }
  /* ======　アクティブ時のバツ　====== */
  .hamburger.active .bar {
    background-color: white;
  }
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }
  /* ======　モバイルナビ　====== */
  .mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 50%;
    height: 100vh;
    background-color: #231815;
    border-right: 5px solid orangered;
    color: white;
    padding: 80px 20px;
    z-index: 999;
    /* 追加：アニメーションの初期状態 */
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none; /* 非表示時にクリックできないようにする */
  }
  /* ======　表示時　====== */
  .mobile-nav.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto; /* クリックできるように戻す */
  }
  .mobile-nav ul {
    list-style: none;
  }
  .mobile-nav ul li {
    margin: 20px 0;
  }
  .mobile-nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
  }
  .logo-li-font {
    font-size: 1.5rem;
  }
  /* ======スマホ版====== */
  @media (max-width: 767px) {
    .sidebar {
      display: none;
    }
    .hamburger {
      display: flex;
    }
    .mobile-nav {
      display: block;
    }
    /* ======スマホ版メインエリア====== */
    .main-area {
      margin-left: 0;
      flex: 1;
    }
    /* ======スマホ版見出し====== */
    .hero-heading {
      font-size: clamp(30px, 10vw, 150px);
    }
    .text-wrapper {
      display: flex;
      flex-direction: column;
      justify-content: center; /* ← 縦方向の中央揃え */
      align-items: flex-start; /* ← 左寄せ */
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      padding-left: 10px;
      row-gap: 3.5vh; /* 行間を調整 */
      animation: fadeOutAll 1s ease forwards;
      animation-delay: 7.5s;
      /* 不要な grid プロパティをリセット */
      grid-template-rows: unset;
    }
    .text-wrapper .text-line {
      display: block;
      margin: 0;
    }
   /* ======hero画像薄さ====== */
	.hero img {
     opacity: 0.5; /* 初期値 */
     animation: fadeToFullOpacity 20s ease forwards;
	 vertical-align: bottom;
}
  @keyframes fadeToFullOpacity {
    from {
      opacity: 0.4;
    }
    to {
      opacity: 1;
    }
  }
	  
    /* ======スマホ版最新ニュース====== */
    .latest {
      padding-left: 20px;
    }
    .latest p {
      font-size: 14px;
      line-height: 1.4;
	  padding-right: 20px;
    }
    .label {
      white-space: nowrap; /* ← スマホでも効かせる */
    }
    /* ======スマホ版見出し&画像ナビ====== */
    .content {
      width: 90%;
      margin: 0 auto;
      padding: 0;
      display: flex;
      gap: 10px;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
    .title-h2 {
      margin: -20px auto;
    }
    .title-h2 h2 {
      font-size: 38px;
      color: #4c4948;
      line-height: 1.4;
      font-family: "helvetica-lt-pro", sans-serif;
      font-weight: 300;
    }
    /* ======　画像ナビ　====== */
    .kyoso-nav {
      display: flex;
      justify-content: center;
      align-items: center;
      transform: scale(0.75);
      transform-origin: top center;
      margin: 0 auto;
      flex-wrap: wrap;
    }
    .kyoso-nav-img {
      position: relative;
      width: 100%;
      max-width: 480px;
      aspect-ratio: 1 / 1; /* or 実際の比率（例：554 / 554） */
    }
    .kyoso-nav-img img {
      width: 100%;
      height: auto;
      display: block;
      margin: 0 auto;
    }
    .c-mozi {
      position: absolute;
      top: 50%; /* 親要素の中央 */
      left: 50%; /* 親要素の中央 */
      width: 180px;
      max-width: 40%;
      transform: translate(-59%, -67%); /* 自身の中央を親の中央に合わせる */
    }
    .train {
      width: 33%;
      height: 33%;
      top: -2%;
      left: 5%;
    }
    .grow {
      width: 33%;
      height: 33%;
      top: 37%;
      left: -7%;
    }
    .defend {
      width: 33%;
      height: 33%;
      top: 60%;
      left: 31%;
    }
    .assemble {
      width: 33%;
      height: 33%;
      top: 40%;
      left: 70%;
    }
    .measure {
      width: 33%;
      height: 33%;
      top: -2%;
      left: 56%;
    }
    .section-n:hover .section-n-img-wrapper img {
      opacity: 0; /* ホバー時に画像を非表示に */
      pointer-events: none; /* ホバーを無効化 */
    }
    /* ======スマホ版ニュース====== */
    .index-news {
      box-sizing: border-box;
      width: 85%;
      margin: 0 auto;
      margin-top: -95px;
      padding: 0 0 80px 0;
    }
    .news-back {
      margin: 0 0 10px 0;
    }
    .news-back h2 {
      max-width: 1920px;
      color: #ffffff;
    }
    .index-news-p {
      width: 100%;
      margin: 0;
    }
    .index-news-p p {
      width: 100%;
      margin: 0;
    }
    /* ======product-category====== */
    .top-proto {
      display: none;
    }
    .product-category-box {
      margin: 40px;
      padding: 0;
    }
    .product-category-h1 {
      gap: 50px;
      margin: 0;
      padding: 40px 0 0 0;
    }
    .product-category-h1 h1 {
      font-size: 32px;
    }
    .product-category-h1 p {
      padding: 2px 0 10px 0;
    }
  .product-category-nav-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* 全体を中央寄せ */
    gap: 10px 10px;
    padding: 0;
  }

  /* 上の2つ（1列目） */
  .product-category-nav:nth-child(1),
  .product-category-nav:nth-child(2) {
    flex: 0 0 48%; /* 幅48%にすると、2つでほぼ100% */
    max-width: 48%;
  }

  /* 下の3つ（2列目） */
  .product-category-nav:nth-child(n+3) {
    flex: 0 0 30%; /* 幅30%で3つ並べられる */
    max-width: 30%;
  }

  .product-category-nav img {
    width: 100%;
    height: auto;
    display: block;
  }

    /* ======リクルート、アクセス、コンタクトページ====== */
    table, th, td {
      word-break: break-word; /* 長い単語を強制的に折り返す */
      white-space: normal; /* 改行を許可 */
    }
    .common-section {
      width: 89%;
      margin: 65px auto;
      display: flex;
      flex-wrap: wrap;
      align-items: stretch;
      gap: 20px;
    }
    .section-box {
      height: auto; /* 高さも伸び縮みできるように */
    }
    .section-box iframe {
      min-height: 450px; /* お好みで 350px, 400px にも調整可 */
    }
    /* ======スマホ版フッター====== */
    footer {
      width: 100%;
      height: auto;
      padding-left: 0; /* ← ここで余白を消す */
    }
    .footer-menu ul {
      min-width: 140px;
    }
  }

  @media (min-width: 768px) and (max-width: 1450px) {
    .hero-heading {
      position: relative;
      width: 100%;
      height: 100%;
      font-size: clamp(30px, 8vw, 200px);
      font-weight: 200;
      white-space: nowrap;
      color: #4c4948;
    }
    .content {
      width: 90%;
      margin: 60px 60px auto;
      padding: 0;
      display: flex;
      gap: 20px;
      flex-direction: column;
      align-items: center; /* ← 中央寄せ */
    }
    .title-h2 {
      margin: 0;
      padding: 0 0 20px 0;
      display: inline-block;
    }
	.title-h2 h2 {
      font-size: 58px;
    }
    .text-container {
      margin: 0;
      padding: 0;
    }
    .kyoso-nav {
      display: flex;
      flex-wrap: wrap;
      justify-content: center; /* ← 中央揃え */
      transform: scale(0.90);
      transform-origin: center top;
      margin: 0 0 25px 0;
    }
    /* ======スマホ版ニュース====== */
    .index-news {
      box-sizing: border-box;
      width: 80%;
      margin: 0 auto;
      margin-top: 5px;
      padding: 0 0 80px 0;
    }
    .product-category-nav-box {
      gap: 2%;
	  margin-left: -60px;
      padding-right: 15px;
    }
	.label {
	  white-space: nowrap;
	}
  }

@media (max-width: 360px) {
  /* 360px以下だけの特別調整 */
  .title-h2 h2 {
	margin-top: -15px;
    font-size: 28px;
  }

  .text-wrapper {
    padding-left: 5px;
  }

  .kyoso-nav {
    transform: scale(0.68);
  }
}