/* ===== リセット & 変数 ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #2BB5C8;
  --primary-light: #8EDCE8;
  --primary-pale: #EBF8FA;
  --accent: #3ECFA0;
  --accent-light: #B8F0E0;
  --text: #1A3D4A;
  --text-muted: #6A9AAA;
  --white: #ffffff;
  --bg: #F2FBFC;
  --bg-section: #E8F6F8;
  --border: #C8E8EE;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 2px 16px rgba(26,61,74,0.07);
  --shadow-hover: 0 8px 32px rgba(26,61,74,0.13);
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP','Hiragino Kaku Gothic ProN','Meiryo',sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.9;
  font-size: 15.5px;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-sm); }

/* ===== ヘッダー ===== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 12px rgba(53,48,42,0.06);
}
.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 20px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon { font-size: 1.7em; line-height: 1; }
.logo-title {
  font-size: 1.12em;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  letter-spacing: 0.03em;
}
.logo-sub {
  font-size: 0.63em;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.04em;
}
.site-nav { display: flex; gap: 4px; }
.site-nav a {
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.85em;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s;
  letter-spacing: 0.02em;
}
.site-nav a:hover {
  background: var(--primary-pale);
  color: var(--primary);
  text-decoration: none;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
  padding: 4px;
  color: var(--text);
}

/* ===== ヒーロー ===== */
.hero {
  background: linear-gradient(150deg, #FDF0E8 0%, #FAF7F4 50%, #EEF3EE 100%);
  padding: 72px 28px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: '';
  position: absolute;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(43,181,200,0.10) 0%, transparent 70%);
  top: -120px; right: -100px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(62,207,160,0.08) 0%, transparent 70%);
  bottom: -80px; left: -60px;
  pointer-events: none;
}
.hero-emoji { font-size: 2.6em; margin-bottom: 18px; }
.hero h1 {
  font-size: 1.85em;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.hero h1 span { color: var(--primary); }
.hero-desc {
  color: var(--text-muted);
  font-size: 0.94em;
  max-width: 440px;
  margin: 0 auto 28px;
  line-height: 1.85;
}
.hero-tags { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.hero-tag {
  background: var(--white);
  color: var(--primary);
  border: 1.5px solid var(--primary-light);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8em;
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* ===== コンテナ & グリッド ===== */
.container { max-width: 1080px; margin: 0 auto; padding: 52px 28px 88px; }
.content-grid { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }

/* ===== セクションヘッダー ===== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15em;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.1em;
  background: var(--primary);
  border-radius: 2px;
}
.see-all {
  font-size: 0.81em;
  color: var(--text-muted);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
  transition: color 0.2s;
}
.see-all:hover { color: var(--primary); text-decoration: none; }

/* ===== カード ===== */
.posts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.post-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.22s, box-shadow 0.22s;
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.post-card-img {
  height: 168px;
  background: linear-gradient(135deg, var(--primary-pale), #FDE8D8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3em;
}
.post-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.post-category {
  display: inline-block;
  background: var(--bg-section);
  color: var(--primary);
  font-size: 0.71em;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 9px;
  letter-spacing: 0.04em;
  border: 1px solid var(--border);
}
.post-card h2 {
  font-size: 0.9em;
  line-height: 1.6;
  margin-bottom: 9px;
  color: var(--text);
}
.post-card h2 a { color: inherit; }
.post-card h2 a:hover { color: var(--primary); text-decoration: none; }
.post-meta {
  font-size: 0.76em;
  color: var(--text-muted);
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.post-card.wide { flex-direction: row; min-height: 120px; }
.post-card.wide .post-card-img {
  width: 160px;
  height: auto;
  min-height: 110px;
  flex-shrink: 0;
  font-size: 2.2em;
}
.post-card.wide h2 { font-size: 0.87em; }

/* ===== サイドバー ===== */
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.widget-title {
  font-size: 0.85em;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.profile-widget { text-align: center; }
.profile-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6em;
  margin: 0 auto 14px;
  border: 3px solid var(--white);
  box-shadow: 0 4px 16px rgba(196,132,90,0.18);
}
.profile-name { font-weight: 700; font-size: 1.02em; margin-bottom: 7px; }
.profile-bio { font-size: 0.81em; color: var(--text-muted); line-height: 1.7; }
.profile-btn {
  display: inline-block;
  margin-top: 14px;
  background: var(--primary);
  color: white !important;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.8em;
  font-weight: 600;
  text-decoration: none !important;
  letter-spacing: 0.03em;
  transition: opacity 0.2s;
}
.profile-btn:hover { opacity: 0.85; }
.category-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.category-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.86em;
  color: var(--text);
  transition: background 0.18s, color 0.18s;
  line-height: 1.4;
}
.category-list li a:hover {
  background: var(--primary-pale);
  color: var(--primary);
  text-decoration: none;
}

/* ===== 記事ページ ===== */
.article-layout {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 28px 88px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}
.article-header { margin-bottom: 32px; }
.article-category {
  display: inline-block;
  background: var(--primary-pale);
  color: var(--primary);
  font-size: 0.77em;
  font-weight: 700;
  padding: 4px 13px;
  border-radius: 20px;
  margin-bottom: 13px;
  border: 1.5px solid var(--primary-light);
  letter-spacing: 0.04em;
}
.article-title {
  font-size: 1.7em;
  line-height: 1.45;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.article-meta {
  font-size: 0.81em;
  color: var(--text-muted);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.affiliate-note {
  background: var(--bg-section);
  border-left: 3px solid var(--border);
  padding: 10px 16px;
  font-size: 0.8em;
  color: var(--text-muted);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0 32px;
}
.article-body { line-height: 2.0; }
.article-body h2 {
  font-size: 1.25em;
  margin: 42px 0 16px;
  padding: 12px 18px;
  background: var(--primary-pale);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  line-height: 1.5;
}
.article-body h3 {
  font-size: 1.04em;
  margin: 28px 0 11px;
  color: var(--primary);
  padding-bottom: 6px;
  border-bottom: 1.5px solid var(--border);
  line-height: 1.5;
}
.article-body p { margin: 0 0 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px 22px; }
.article-body li { margin-bottom: 6px; }
.article-body blockquote {
  border-left: 3px solid var(--primary-light);
  padding: 12px 20px;
  margin: 20px 0;
  background: var(--bg-section);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-muted);
}
.info-box {
  background: var(--primary-pale);
  border: 1.5px solid var(--primary-light);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 20px 0;
}
.image-placeholder {
  background: var(--bg-section);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
  margin: 24px 0;
  text-align: center;
  font-size: 0.85em;
  color: var(--text-muted);
}

/* ===== ページヘッダー ===== */
.page-header {
  background: linear-gradient(150deg, #FDF0E8 0%, var(--bg) 100%);
  padding: 52px 28px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-header h1 {
  font-size: 1.65em;
  margin-bottom: 9px;
  letter-spacing: 0.03em;
}
.page-header p { color: var(--text-muted); font-size: 0.93em; }

/* ===== プロフィール ===== */
.about-hero {
  background: linear-gradient(150deg, #FDF0E8 0%, #FAF7F4 60%, #EEF3EE 100%);
  padding: 64px 28px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.about-avatar {
  width: 110px; height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5em;
  margin: 0 auto 18px;
  border: 4px solid var(--white);
  box-shadow: 0 8px 28px rgba(196,132,90,0.2);
}
.about-content { max-width: 680px; margin: 0 auto; padding: 52px 28px 88px; }
.about-content h2 {
  font-size: 1.15em;
  color: var(--primary);
  margin: 34px 0 11px;
  letter-spacing: 0.03em;
}
.about-content p { margin-bottom: 14px; }

/* ===== フッター ===== */
.site-footer {
  background: #0D2E38;
  color: #7ABAC8;
  padding: 52px 28px 28px;
}
.footer-inner { max-width: 1080px; margin: 0 auto; text-align: center; }
.footer-logo {
  font-size: 1.1em;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.footer-desc { font-size: 0.84em; line-height: 1.8; margin-bottom: 20px; }
.footer-nav {
  display: flex;
  gap: 22px;
  justify-content: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.footer-nav a { color: #9A8F87; font-size: 0.81em; transition: color 0.2s; }
.footer-nav a:hover { color: var(--white); text-decoration: none; }
.footer-copy { font-size: 0.76em; margin-top: 18px; color: #6A605A; }

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
  .site-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--white);
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 20px rgba(53,48,42,0.08);
    gap: 2px;
  }
  .site-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .hero { padding: 52px 20px 44px; }
  .hero h1 { font-size: 1.42em; }
  .container { padding: 36px 20px 64px; }
  .content-grid, .article-layout { grid-template-columns: 1fr; gap: 32px; }
  .posts-grid { grid-template-columns: 1fr; gap: 16px; }
  .post-card.wide { flex-direction: column; }
  .post-card.wide .post-card-img { width: 100%; height: 150px; }
}

/* ===== Xフォローボタン ===== */
.x-follow-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #000;
  color: #fff !important;
  padding: 11px 18px;
  border-radius: 24px;
  font-size: 0.88em;
  font-weight: 700;
  text-decoration: none !important;
  transition: background 0.2s;
  justify-content: center;
  margin-top: 4px;
}
.x-follow-btn:hover { background: #222; }
.x-cta-box {
  background: linear-gradient(135deg,#f0f7ff,#e8f0fe);
  border: 1.5px solid #c5d8f8;
  border-radius: 14px;
  padding: 20px 22px;
  margin: 32px 0;
  text-align: center;
}
.x-cta-box p { font-size: 0.9em; color: #444; margin-bottom: 12px; line-height: 1.7; }
