/*
Theme Name: Ninja Deterrent Theme
Author: You
Version: 1.0
*/
/*
Theme Name: Ninja Deterrent Theme
Author: You
Version: 1.0
*/

/* 共通スタイル */
body {
  background-color: #f9f9f9;
  color: #222;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  margin: 0;
}

.page-width {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}


a {
  color: #84d0ff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ヘッダー全体 */
.site-header {
  background: #1d2228;
  color: #fff;
  padding-top: 10px;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.top-left,
.top-right {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-center {
  flex: 2;
  text-align: center;
}

.logo-center h1 {
  font-size: 1.8rem;
  margin: 0;
}

.logo-center .tagline {
  font-size: 0.9rem;
  margin-top: 4px;
}

.main-nav {
  border-top: 1px solid #444;
  margin-top: 10px;
}

.nav-menu {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 25px;
  padding: 10px 0;
  margin: 0;
}

.nav-menu a {
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
}

.nav-menu a:hover,
.nav-menu .current-menu-item a {
  border-bottom: 2px solid #fff;
  color: #fff;
}

/* 検索フォーム */
.header-search form {
  display: flex;
  border: 1px solid #555;
  border-radius: 4px;
  overflow: hidden;
}

.header-search input[type="search"] {
  padding: 0.4rem;
  border: none;
  background: #333;
  color: #fff;
}

.header-search input[type="submit"] {
  background: #555;
  color: #fff;
  border: none;
  padding: 0 1rem;
  cursor: pointer;
}

/* アカウントアイコン */
.header-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.account-icon {
  font-size: 1.5rem;
  color: white;
}

/* コンテンツ領域 */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}

/* 記事スタイル */
article {
  margin-bottom: 2rem;
}

article h2 {
  margin-bottom: 0.5rem;
}

/* フッター（後で footer.php 作る想定） */
.site-footer {
  background: #111;
  color: #888;
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
}
body {
  margin-top: 0;
  padding-top: 0;
  background-color: #f9f9f9;
}

.site-header {
  margin-bottom: 0;
}


