@media screen and (min-width:768px) {
	.main {
		width:900px;
		margin:0 auto;
		position:relative;
	}

    form#Search {
    	top:5px;
    }
	.company_table {
	    width: 800px;
	    margin: 15px auto 0;
	    padding: 20px;
	    border: solid 1px #CCC;
	    background-color: #F0F0F0;
	}
}

.sitemap-container {
  box-sizing: border-box;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  align-items: start;
}

/* 汎用リンクスタイル */
.sitemap-container a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
}
.sitemap-container a:hover {
  color: #f57b00; /* コーポレートカラー（信頼感のある青） */
  text-decoration: underline;
  padding-left: 4px; /* ホバー時に少し右に動く演出 */
}

/* ==========================================================================
   各セクションの共通デザイン
   ========================================================================== */
.sitemap-section {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* 見出し（H2）のデザイン */
.sitemap-section h2 {
  font-size: 1.15em;
  color: #f57b00;
  position: relative;
  padding-left: 15px;
  margin-top: 0;
  margin-bottom: 18px;
  font-weight: 700;
  border-left: 5px solid #f57b00;
  line-height: 1.4;
}

/* リスト（UL）のデザイン */
.sitemap-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sitemap-section ul li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 12px;
  line-height: 1.5;
}
/* リストの先頭に奇麗な矢印を付与 */
.sitemap-section ul li::before {
  content: "›";
  position: absolute;
  left: 2px;
  top: -1px;
  color: #f57b00;
  font-weight: bold;
  font-size: 1.2em;
}
.sitemap-section ul li:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   「商品について（ボリューム大）」の個別レイアウト
   ========================================================================== */
/* リンナイ・ノーリツのDL囲み */
.brand-flex {
  display: flex;
  gap: 20px;
  margin: 15px 0;
  padding: 15px 0;
  border-top: 1px dashed #e2e8f0;
  border-bottom: 1px dashed #e2e8f0;
}
.brand-flex dl {
  flex: 1;
  margin: 0;
}
.brand-flex dt {
  font-weight: bold;
  font-size: 0.95em;
  color: #555;
  margin-bottom: 10px;
  background: #f7fafc;
  padding: 6px 10px;
  border-radius: 4px;
}
.brand-flex dd {
  margin: 0 0 8px 10px;
  font-size: 0.9em;
  position: relative;
  padding-left: 12px;
}
.brand-flex dd a::before {
  content: "・";
  color: #718096;
}

/* ==========================================================================
   レスポンシブ用のメディアクエリ
   ========================================================================== */

/* タブレット〜PCサイズ（画面幅768px以上） */
@media (min-width: 768px) {
  /* 商品情報セクションを2カラム分の幅に広げてレイアウト崩れを防ぐ */
  .sitemap-section.size-large {
    grid-column: span 2;
  }
}

/* スマートフォンサイズ（画面幅767px以下） */
@media (max-width: 767px) {
  .sitemap-container {
    grid-template-columns: 1fr; /* 縦1列に固定 */
    gap: 20px;
    margin: 20px auto;
  }
  
  .sitemap-section {
    padding: 20px;
  }

  /* リンナイ・ノーリツを縦並びに変更 */
  .brand-flex {
    flex-direction: column;
    gap: 15px;
  }

	.sitemap-section ul li {
	  margin-bottom: 0;
	  line-height: 1;
	}
	.brand-flex dd {
	  margin-bottom: 0;
	  line-height: 1;
	}
  /* スマホでのタップミス防止のためにリンクの上下を広げる */
  .sitemap-section ul li a,
  .brand-flex dd a {
    display: block;
    padding: 6px 0;
    width: 100%;
  }
}