/*
Theme Name: Botchi Simple Night Theme
Theme URI: https://example.com/botchi-simple-night-theme
Author: Antigravity
Author URI: https://antigravity.google/
Description: シンプルで清潔感のあるひつじ風レイアウト。夜景と観葉植物の癒やしを感じる夜のテーマ。
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: botchi-simple-night-theme
*/

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&family=Zen+Maru+Gothic:wght@400;500;700&display=swap');

:root {
  --bg-color: #ffffff;
  --text-main: #333333;
  --text-light: #666666;
  --accent-blue: #0f1b29;
  /* Midnight blue */
  --accent-orange: #ff9f43;
  /* Warm orange */
  --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.05);
  /* うっすらとしたシャドウ */
  --border-radius-main: 12px;
  /* 角を少し丸く */
  --border-radius-btn: 24px;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Nunito', 'Zen Maru Gothic', sans-serif;
  /* 丸みのある優しいサンセリフ体 */
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.7;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

/* Header (シンプルにロゴとメニューのみ) */
.site-header {
  background-color: #ffffff;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-blue);
  margin: 0;
}

.site-title a {
  color: inherit;
}

.header-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.header-nav a {
  color: var(--text-main);
  font-weight: 600;
  font-size: 15px;
}

.header-nav a:hover {
  color: var(--accent-orange);
}

/* Main Visual */
.hero-section {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  /* height: auto で潰れないように縦横比を指定 */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(15, 27, 41, 0.3), rgba(15, 27, 41, 0.6));
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 0 20px;
}

.hero-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.05em;
}

/* Main Layout (余白を広く取り、文字を読みやすく) */
.container {
  max-width: 1100px;
  margin: 80px auto;
  padding: 0 20px;
}

/* Article List (2列または3列のカード型レイアウト) */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 40px;
}

.article-card {
  background: #ffffff;
  border-radius: var(--border-radius-main);
  box-shadow: var(--shadow-light);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  /* hover時も激しすぎない柔らかい影 */
}

/* 画像（アイキャッチ）を大きく見せる */
.card-image-wrapper {
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .card-image {
  transform: scale(1.03);
  /* 画像が少しズームする癒やしの演出 */
}

.card-content {
  padding: 25px 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-category {
  display: inline-block;
  background: var(--accent-blue);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
  align-self: flex-start;
  letter-spacing: 0.05em;
}

.card-title {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 12px 0;
  line-height: 1.6;
}

.card-title a {
  color: var(--accent-blue);
}

.card-title a:hover {
  color: var(--accent-orange);
}

.card-excerpt {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 24px;
  flex-grow: 1;
  line-height: 1.8;
}

.read-more-btn {
  display: inline-block;
  background-color: var(--accent-orange);
  color: #fff;
  padding: 10px 28px;
  border-radius: var(--border-radius-btn);
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
  align-self: flex-start;
}

.read-more-btn:hover {
  background-color: #f78b27;
  color: #fff;
  transform: translateY(-2px);
}

/* Footer */
.site-footer {
  background-color: var(--accent-blue);
  color: #fff;
  padding: 50px 20px;
  text-align: center;
  margin-top: 100px;
  border-radius: 20px 20px 0 0;
  /* フッターの上部を少し丸く */
}

.site-footer a {
  color: var(--accent-orange);
}

.footer-copy {
  margin: 0;
  font-size: 13px;
  opacity: 0.7;
  letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    padding: 0;
    margin: 0;
    min-height: unset;
  }

  .hero-title {
    font-size: 20px;
  }

  .site-title {
    font-size: 16px;
  }

  .header-nav {
    display: none;
  }

  .site-header {
    padding: 10px 15px;
  }

  .article-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .container {
    margin: 30px auto;
  }
}