@charset "utf-8";
/*
	Theme Name: diver_child
	Template: diver
	Description:  Diverの子テーマです。
	Theme URI: http://tan-taka.com/diver/
	Author: Takato Takagi
 */

/* === 全体 === */
body {
  font-family: "Noto Sans JP", sans-serif;
  color: #444;
  background: #fff;
  margin: 0;
  padding: 0;
  line-height: 1.7;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px;
}

/* === ヘッダー === */
.site-header {
  background: #ffeef4;
  border-bottom: 2px solid #ffb6c1;
  padding: 15px 0;
  text-align: center;
}
.site-title {
  color: #d14c7c;
  font-size: 1.8em;
  margin: 0 0 10px;
}
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.main-nav li {
  margin: 5px 10px;
}
.main-nav a {
  color: #d14c7c;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}
.main-nav a:hover {
  color: #fff;
  background: #d14c7c;
  padding: 5px 10px;
  border-radius: 5px;
}

/* === ヒーロー === */
.hero {
  background: linear-gradient(to right, #ffd1dc, #fff);
  text-align: center;
  padding: 60px 20px;
}
.hero h2 {
  color: #ffffff;
  font-size: 2em;
}
.hero p {
  font-size: 1.1em;
  color: #555;
}

/* === カテゴリグリッド === */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  padding: 40px 15px;
}
.category-card {
  border: 1px solid #f3c1d8;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  transition: 0.3s;
}
.category-card:hover {
  transform: translateY(-5px);
}
.category-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.category-card h3 {
  color: #d14c7c;
  margin: 10px;
}
.category-card p {
  margin: 0 10px 15px;
  font-size: 0.9em;
  color: #666;
}

/* === 新着記事 === */
.latest-articles {
  background: #fff6fa;
  padding: 40px 20px;
  text-align: center;
}
.latest-articles h2 {
  color: #d14c7c;
  margin-bottom: 20px;
}

/* === フッター === */
.site-footer {
  background: #ffeef4;
  text-align: center;
  padding: 20px;
  color: #666;
  font-size: 0.9em;
}

/* === 検索窓バックグラウンド色 === */
.wp-block-search .wp-block-search__button{
  background: #B68E98;
  color: #fff;
  border-radius: 0;
  font-weight: bold;
  white-space: nowrap;
}