/* ===== リセット & ベース ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --rose: #C9728A;
  --rose-light: #EEC5D0;
  --rose-pale: #FDF0F3;
  --rose-dark: #A8596F;
  --beige: #F7EEE8;
  --beige-dark: #EAD9D0;
  --gold: #C4A882;
  --gold-light: #F0E6D8;
  --cream: #FEFCFA;
  --white: #FFFFFF;
  --text: #3A3030;
  --text-muted: #8A7A7A;
  --text-light: #BBA8A8;
  --border: #EDD8D0;
  --shadow: rgba(180, 100, 120, 0.10);
  --shadow-hover: rgba(180, 100, 120, 0.20);
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.8;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }

/* ===== ヘッダー ===== */
.site-header {
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--rose-light);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 16px var(--shadow);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon { font-size: 18px; }

.logo-text {
  font-family: 'Shippori Mincho', serif;
  font-size: 19px;
  font-weight: 500;
  color: var(--rose);
  letter-spacing: 0.06em;
}

.site-nav {
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
}

.nav-link {
  font-size: 12.5px;
  padding: 5px 12px;
  border-radius: 20px;
  color: var(--text-muted);
  font-weight: 400;
  transition: all 0.2s;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.nav-link:hover {
  background: var(--rose-pale);
  color: var(--rose);
}

/* ===== メインコンテンツ ===== */
.main-content {
  min-height: calc(100vh - 64px - 120px);
}

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 28px 80px;
}

/* ===== セクション共通 ===== */
.section-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  letter-spacing: 0.04em;
}

.section-title::before,
.section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--rose-light), transparent);
}

.section-title::after {
  background: linear-gradient(to left, var(--rose-light), transparent);
}

.section-title span {
  white-space: nowrap;
  position: relative;
  padding: 0 4px;
}

.section-title span::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--rose);
  border-radius: 1px;
  opacity: 0.4;
}

/* ===== ヒーロー ===== */
.hero {
  background: linear-gradient(145deg, #FEF5F7 0%, #FBF3EF 50%, #F7F0FA 100%);
  border-radius: 28px;
  padding: 72px 48px;
  margin: 36px 0 64px;
  text-align: center;
  border: 1px solid var(--rose-light);
  position: relative;
  overflow: hidden;
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201, 114, 138, 0.12);
  pointer-events: none;
}

.hero-ring-1 {
  width: 360px;
  height: 360px;
  top: -120px;
  right: -80px;
}

.hero-ring-2 {
  width: 200px;
  height: 200px;
  bottom: -60px;
  left: -40px;
  border-color: rgba(196, 168, 130, 0.15);
}

.hero-inner { position: relative; z-index: 1; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: 'Cormorant Garamond', 'Shippori Mincho', serif;
  font-size: 12px;
  color: var(--rose);
  letter-spacing: 0.20em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-eyebrow-line {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--rose);
  opacity: 0.5;
}

.hero-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 40px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
  line-height: 1.55;
}

.hero-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 2;
  max-width: 480px;
  margin: 0 auto 36px;
  font-weight: 300;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--rose);
  color: white;
  padding: 13px 36px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.25s;
  box-shadow: 0 6px 24px rgba(201, 114, 138, 0.30);
  letter-spacing: 0.06em;
}

.hero-btn:hover {
  background: var(--rose-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(201, 114, 138, 0.35);
}

.btn-arrow { font-family: serif; transition: transform 0.2s; }
.hero-btn:hover .btn-arrow { transform: translateX(3px); }

/* ===== カテゴリカード ===== */
.category-section { margin-bottom: 72px; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 16px 24px;
  border-radius: 20px;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 20px 20px 0 0;
  opacity: 0;
  transition: opacity 0.25s;
}

.category-card:hover::before { opacity: 1; }

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px var(--shadow-hover);
}

.cat-insurance  { background: #FFF5F7; border-color: #F2C4D0; }
.cat-investment { background: #F3F8FF; border-color: #C0D8F0; }
.cat-saving     { background: #F4FFF6; border-color: #B8E0C4; }
.cat-learning   { background: #FFFBF0; border-color: #ECD8A8; }
.cat-life       { background: #FEF4FF; border-color: #E4C0EE; }

.cat-insurance::before  { background: #C9728A; }
.cat-investment::before { background: #5B96CC; }
.cat-saving::before     { background: #5BA882; }
.cat-learning::before   { background: #C4A040; }
.cat-life::before       { background: #A860C0; }

.cat-insurance:hover  { background: #FFE8EE; border-color: #F2A0B8; }
.cat-investment:hover { background: #E4F0FF; border-color: #90C0E8; }
.cat-saving:hover     { background: #DFFBE8; border-color: #90CC9C; }
.cat-learning:hover   { background: #FFF5D8; border-color: #DCBA60; }
.cat-life:hover       { background: #F8E4FF; border-color: #C898DC; }

.cat-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: transform 0.25s;
}

.cat-insurance  .cat-icon { background: rgba(201,114,138,0.12); color: #C9728A; }
.cat-investment .cat-icon { background: rgba(91,150,204,0.12);  color: #5B96CC; }
.cat-saving     .cat-icon { background: rgba(91,168,130,0.12);  color: #5BA882; }
.cat-learning   .cat-icon { background: rgba(196,160,64,0.12);  color: #C4A040; }
.cat-life       .cat-icon { background: rgba(168,96,192,0.12);  color: #A860C0; }

.category-card:hover .cat-icon { transform: scale(1.1); }

.cat-icon svg { width: 26px; height: 26px; }

.cat-lesson {
  font-family: 'Cormorant Garamond', serif;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--text-light);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.cat-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 7px;
  line-height: 1.4;
}

.cat-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}

/* ===== 記事一覧セクション ===== */
.posts-section { margin-bottom: 72px; }

/* ===== 記事カードグリッド ===== */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 36px;
}

.post-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 2px 12px var(--shadow);
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px var(--shadow-hover);
  border-color: var(--rose-light);
}

.post-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.post-card-body {
  padding: 26px 26px 14px;
  flex: 1;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.post-date {
  font-size: 11.5px;
  color: var(--text-light);
  letter-spacing: 0.03em;
  font-family: 'Cormorant Garamond', serif;
}

.post-cat {
  font-size: 10.5px;
  background: var(--rose-pale);
  color: var(--rose);
  padding: 2px 10px;
  border-radius: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.post-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 16.5px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.post-card:hover .post-title { color: var(--rose); }

.post-summary {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 300;
}

.post-card-footer {
  padding: 14px 26px 20px;
  border-top: 1px solid var(--rose-pale);
}

.read-more {
  font-size: 12.5px;
  color: var(--rose);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ===== ボタン ===== */
.all-posts-link {
  text-align: center;
  margin-top: 8px;
}

.btn-outline {
  display: inline-block;
  border: 1.5px solid var(--rose);
  color: var(--rose);
  padding: 11px 36px;
  border-radius: 40px;
  font-size: 13.5px;
  font-weight: 500;
  transition: all 0.22s;
  letter-spacing: 0.06em;
}

.btn-outline:hover {
  background: var(--rose);
  color: white;
  box-shadow: 0 6px 20px rgba(201,114,138,0.25);
}

/* ===== プロフィールカード ===== */
.profile-section { margin-bottom: 48px; }

.profile-card {
  display: flex;
  align-items: center;
  gap: 28px;
  background: linear-gradient(135deg, var(--rose-pale) 0%, var(--beige) 100%);
  border: 1px solid var(--rose-light);
  border-radius: 24px;
  padding: 36px 40px;
  position: relative;
  overflow: hidden;
}

.profile-card::after {
  content: 'MANEKO';
  position: absolute;
  right: 32px;
  bottom: 12px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  font-style: italic;
  color: rgba(201,114,138,0.06);
  letter-spacing: 0.1em;
  pointer-events: none;
}

.profile-icon {
  flex-shrink: 0;
  background: white;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--rose-light);
  box-shadow: 0 4px 16px var(--shadow);
}

.profile-icon svg { width: 48px; height: 48px; }

.profile-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 4px;
  opacity: 0.8;
}

.profile-name {
  font-family: 'Shippori Mincho', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--rose);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.profile-bio {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.9;
  font-weight: 300;
}

/* ===== ページタイトル ===== */
.page-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 26px;
  color: var(--rose);
  margin: 40px 0 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rose-light);
  letter-spacing: 0.04em;
}

/* ===== 個別記事 ===== */
.single-post {
  padding: 48px 0;
  max-width: 740px;
  margin: 0 auto;
}

.post-header {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rose-pale);
}

.single-post .post-meta { margin-bottom: 20px; }

.post-author {
  font-size: 11.5px;
  background: var(--rose-pale);
  color: var(--rose);
  padding: 3px 12px;
  border-radius: 10px;
}

.single-post .post-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: var(--text);
}

.post-content {
  font-size: 16px;
  line-height: 2.1;
  color: var(--text);
  font-weight: 300;
}

.post-content h2 {
  font-family: 'Shippori Mincho', serif;
  font-size: 21px;
  color: var(--text);
  margin: 52px 0 18px;
  padding: 14px 18px;
  background: var(--rose-pale);
  border-left: 3px solid var(--rose);
  border-radius: 0 8px 8px 0;
}

.post-content h3 {
  font-size: 17px;
  color: var(--rose);
  margin: 36px 0 14px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--rose-light);
}

.post-content p { margin-bottom: 22px; }

.post-content strong { color: var(--rose); font-weight: 700; }

.post-content ul, .post-content ol {
  margin: 16px 0 22px 24px;
}

.post-content li { margin-bottom: 8px; }

.post-content blockquote {
  background: var(--rose-pale);
  border-left: 3px solid var(--rose);
  padding: 20px 24px;
  border-radius: 0 12px 12px 0;
  margin: 28px 0;
  color: var(--text-muted);
  font-style: italic;
}

.post-nav {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.back-link {
  font-size: 13.5px;
  color: var(--rose);
  font-weight: 500;
  transition: opacity 0.2s;
  letter-spacing: 0.03em;
}

.back-link:hover { opacity: 0.7; }

/* ===== フッター ===== */
.site-footer {
  background: var(--beige);
  border-top: 1px solid var(--border);
  padding: 44px 28px;
  text-align: center;
}

.footer-inner { max-width: 1040px; margin: 0 auto; }

.footer-copy {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
  letter-spacing: 0.08em;
}

.footer-desc {
  font-size: 11.5px;
  color: var(--text-light);
  font-weight: 300;
}

/* ===== レスポンシブ ===== */
@media (max-width: 900px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-life { grid-column: span 3; max-width: 240px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    height: auto;
    padding: 12px 16px;
    gap: 8px;
  }

  .site-nav { justify-content: center; gap: 2px; }
  .nav-link { font-size: 11px; padding: 4px 8px; }

  .hero {
    padding: 48px 24px;
    margin: 20px 0 48px;
  }

  .hero-title { font-size: 30px; }

  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-life { grid-column: span 2; max-width: none; }

  .posts-grid { grid-template-columns: 1fr; }

  .profile-card {
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
  }

  .profile-card::after { display: none; }

  .container { padding: 0 16px 48px; }
  .single-post .post-title { font-size: 22px; }
}

@media (max-width: 480px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 26px; }
}
