:root {
  --primary: #007bff;
  --primary-hover: #0056b3;
  --success: #28a745;
  --bg-color: #f4f7f9;
  --card-bg: #ffffff;
  --text-main: #333333;
  --text-sub: #666666;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  margin: 0; padding: 0; line-height: 1.6;
}

.container { max-width: 1000px; margin: 0 auto; padding: 20px; }

/* 広告枠 */
.ad-slot {
  margin: 40px auto;
  padding: 10px;
  text-align: center;
  background-color: #fafafa; /* 枠をうっすら見せて誤クリック防止 */
  border: 1px solid #eeeeee;
  border-radius: 8px;
  /* 広告読み込み前のガタつきを抑える */
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.ad-label {
  display: block;
  font-size: 12px;
  color: #999;
  margin-bottom: 10px;
}


/* ツールメインエリア */
.main-card {
  background: var(--card-bg);
  padding: 40px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  margin-bottom: 30px;
}

/* SEO解説セクション */
.info-section { background: var(--card-bg); padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow); margin-top: 30px; }
.info-section h2 { border-left: 6px solid var(--primary); padding-left: 15px; font-size: 1.5rem; margin: 30px 0 20px; }
.info-section h3 { font-size: 1.2rem; color: #444; margin-top: 25px; border-bottom: 1px solid #eee; padding-bottom: 5px; }
.faq-item { margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 15px; }
.faq-q { font-weight: bold; color: var(--primary); display: block; margin-bottom: 5px; }

footer { margin-top: 50px; padding: 30px; color: #999; font-size: 0.8rem; text-align: center; }


.site-header {
  background-color:#f4f7f9;
  padding:25px 0;
  border-bottom:1px solid #ddd;
}


.header-inner {
  width:90%;
  max-width:1200px;
  margin:auto;
}


.logo {
  margin:0;
  color:#007BFF;
  font-size:32px;
  font-weight:700;
  text-align: left;
}


.tagline {
  margin:5px 0 0;
  color:#696969;
  font-size:14px;
  text-align: left;
}


/* ナビゲーションメニュー */
.nav-menu {
  background-color: #007BFF; /* メニューの背景色 */
  color: #fff; /* メニューテキストの色 */
}
.menu-list {
  display: flex;
  justify-content: center; /* メニューアイテムを中央揃えに */
}
.menu-item {
  background-color: #007BFF; /* メニューの背景色 */
  border-left: 1px solid #fff; /* メニューアイテムの左ボーダー */
  position: relative;
}
.menu-item:last-child {
  border-right: 1px solid #fff; /* 最後のメニューアイテムの右ボーダー */
}

/* メニューアイテムのホバースタイル */
.menu-item:hover .drop-menu-list,
.drop-menu-item:hover .drop-menu-list-child {
  opacity: 1; /* 不透明度を最大に */
  transition: opacity .3s, visibility .3s; /* アニメーション設定 */
  visibility: visible; /* 下層メニューを表示 */
}

.menu-item a {
  align-items: center;
  color: #fff; /* メニューアイテム内のリンクテキストの色 */
  display: flex;
  height: 50px;
  justify-content: center;
  text-decoration: none; /* リンクの下線を非表示 */
  width: 180px;
}

/* ドロップダウンメニュー */
.drop-menu {
  position: relative;
}
.drop-menu-item {
  position: relative;
}

/* ドロップダウンメニューのスタイル */
.drop-menu-list-child {
  background-color: #696969; /* 下層メニューの背景色 */
}
.drop-menu-list {
  background-color: #4A90E2 ; /* ドロップダウンメニューの背景色 */
  left: 0;
  opacity: 0; /* 不透明度を最小に */
  position: absolute;
  top: 100%;
  transition: opacity .3s, visibility .3s; /* アニメーション設定 */
  visibility: hidden; /* 下層メニューを非表示 */
  width: max-content;
  z-index: 1;
}

/* 下層メニューのスタイル */
.drop-menu-list-child {
  left: 100%;
  opacity: 0; /* 不透明度を最小に */
  position: absolute;
  top: 0;
  transition: opacity .3s, visibility .3s; /* アニメーション設定 */
  visibility: hidden; /* 下層メニューを非表示 */
  width: max-content;
  z-index: 1;
}

.menu-list {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu ul,
.nav-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 600px) {
  .menu-list {
    flex-direction: column;
  }

  .menu-item a {
    width: 100%;
  }

  .tool-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .tool-card {
    padding: 15px 10px;
  }

  .tool-card span {
    font-size: 0.9rem;
  }
}



/* メニューの下の文字 */
h1 { font-size: 1.8rem; color: #111; text-align: center; margin-bottom: 10px; }

.subtitle {
  margin:5px 0 0;
  color:#696969;
  font-size:14px;
  text-align: center;
}

.tool-header {
    text-align: center;
}