/* ==============================
   共通スタイル
============================== */

/* ----- リセット & 基本 ----- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Yu Gothic", "游ゴシック", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  background-color: #fff;
}

/* ----- ヘッダー共通 ----- */
header {
  background-color: #000; /* 黒背景 */
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
}

header .menu {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center; /* 中央寄せ */
  align-items: center;
  padding: 15px 10px;
}

header .menu-item {
  color: #fff;           /* 文字白 */
  font-weight: bold;     /* 太字 */
  text-decoration: none; /* 下線なし */
  margin: 0 60px;
  position: relative;
  cursor: pointer;
}

header .menu-item:hover {
  opacity: 0.8;
}

/* ----- ドロップダウン ----- */
header .menu-item .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #000;
  flex-direction: column;
  min-width: 200px;
  padding: 10px 0;
}

header .menu-item:hover .dropdown {
  display: flex;
}

header .menu-item .dropdown a {
  color: #fff;
  text-decoration: none;
  padding: 8px 20px;
  font-weight: normal;
}

header .menu-item .dropdown a:hover {
  background-color: #222;
}

/* ----- メイン共通 ----- */
main {
  max-width: 900px;
  margin: 120px auto 50px; /* ヘッダー固定分マージン */
  padding: 20px;
}

/* ----- セクションタイトル ----- */
h1, h2 {
  color: #000;
}

h2 {
  font-size: 26px;
  font-weight: bold;
  margin-top: 60px;
  margin-bottom: 15px;
  border-left: 6px solid #1e73be;
  padding-left: 14px;
}

/* ----- 段落 ----- */
p {
  font-size: 18px;
  line-height: 2;
  margin-bottom: 15px;
}

/* ----- 箇条書き ----- */
ul {
  padding-left: 20px;
  margin-bottom: 25px;
}

li {
  font-size: 18px;
  line-height: 2;
}

/* ==============================
   固定背景クラス
============================== */
.fixed-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -1; /* 背景として下に配置 */
  opacity: 0.40; /* ← ここを75％透過に設定 */
}

/* ==============================
   スライドショー画像クラス（index専用）
============================== */
.slide-image {
  display: block;
  max-width: 100%;       /* 50%サイズ */
  margin: 50px auto 0;  /* 上50px, 中央寄せ */
}

/* ==============================
   コンテンツ中央寄せ
============================== */
.content-center {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
 text-shadow: 0.5px 0.5px 0.5px rgba(0,0,0,0.7); /* 黒の影 */
}

/* ----- 左寄せコンテンツ（必要に応じて） ----- */
.content-left {
  text-align: left;
 text-shadow: 0.5px 0.5px 0.5px rgba(0,0,0,0.7); /* 黒の影 */
}

/* ----- アイテムブロック（index） ----- */
.item-block {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.item-block .item-image {
  width: 150px;
  height: auto;
  margin-right: 20px;
}

.item-block .item-text {
  flex: 1;
  font-size: 16px;
  line-height: 1.8;
}

/* ==============================
   スライドショー切り替え用（必要ならJS対応）
============================== */
.slide-image:not(.active) {
  display: none;
}


/* 本文＋スライドの横並び */
.waste-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* 本文側 */
.waste-page {
  width: 65%;
}

/* スライド側 */
.slide-area {
  width: 35%;
  position: relative;
}

/* スライド画像 */
.slide-image {
  width: 100%;
  display: none;
  border-radius: 10px;
}

/* 表示中の画像 */
.slide-image.active {
  display: block;
}