/* ===== 大人から始める出会いマスター 共通スタイル ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
  font-size: 17px;
  line-height: 1.9;
  color: #33222c;
  background: #faf6f4;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

:root {
  --ink: #3a2233;
  --wine: #8e2f4f;
  --rose: #d4506e;
  --rose-dark: #b23a58;
  --rose-light: #fdeef2;
  --gold: #c9973f;
  --cream: #fdf9f5;
  --gray: #857a80;
  --border: #e8d9de;
  --white: #fff;
}

/* ===== ヘッダー ===== */
header {
  background: var(--ink);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { font-size: 26px; }
.logo-text { color: var(--white); font-size: 1.05rem; font-weight: 700; letter-spacing: 0.04em; }
.logo-text span { color: var(--rose); }
nav { display: flex; gap: 20px; }
nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
nav a:hover { color: var(--white); border-color: var(--rose); }
.ad-notice {
  background: #efe6ea;
  color: #6e5a64;
  font-size: 0.72rem;
  text-align: center;
  padding: 4px 12px;
}

/* ===== ヒーロー（トップ用） ===== */
.hero {
  background: linear-gradient(135deg, var(--ink) 0%, var(--wine) 100%);
  color: var(--white);
  padding: 72px 20px 64px;
  text-align: center;
}
.hero h1 { font-size: 1.9rem; line-height: 1.5; margin-bottom: 18px; letter-spacing: .03em; }
.hero h1 em { font-style: normal; color: #ffd9e3; }
.hero p { max-width: 640px; margin: 0 auto 28px; font-size: 1rem; opacity: .92; }
.hero .btn { display: inline-block; }

/* ===== ボタン ===== */
.btn {
  background: var(--rose);
  color: var(--white);
  font-weight: 700;
  padding: 13px 34px;
  border-radius: 999px;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(178,58,88,.35);
  transition: transform .15s, background .2s;
}
.btn:hover { background: var(--rose-dark); transform: translateY(-2px); }

/* ===== セクション共通 ===== */
.section { max-width: 1080px; margin: 0 auto; padding: 56px 20px; }
.section-title { font-size: 1.5rem; color: var(--ink); text-align: center; margin-bottom: 8px; }
.section-sub { text-align: center; color: var(--gray); font-size: .9rem; margin-bottom: 36px; }

/* ===== 記事カード ===== */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .18s, box-shadow .18s;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(58,34,51,.12); }
.card-emoji {
  font-size: 44px;
  text-align: center;
  padding: 30px 0 18px;
  background: var(--rose-light);
}
.card-body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.card-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--rose-light);
  color: var(--rose-dark);
  font-size: .72rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.card h3 { font-size: 1.02rem; color: var(--ink); line-height: 1.55; margin-bottom: 8px; }
.card p { font-size: .85rem; color: var(--gray); line-height: 1.7; }

/* ===== プロフィール ===== */
.profile-box {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
}
.profile-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--rose-light);
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-box h3 { color: var(--ink); margin-bottom: 6px; font-size: 1.05rem; }
.profile-box p { font-size: .88rem; color: #5c4d55; }
.profile-box a { color: var(--rose-dark); font-weight: 600; }

/* ===== 記事ページ ===== */
.article-wrap { max-width: 760px; margin: 0 auto; padding: 40px 20px 64px; }
.breadcrumb { font-size: .78rem; color: var(--gray); margin-bottom: 18px; }
.breadcrumb a { color: var(--rose-dark); }
.article {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 40px 36px 48px;
}
.article h1 { font-size: 1.55rem; color: var(--ink); line-height: 1.55; margin-bottom: 10px; }
.article-meta { font-size: .78rem; color: var(--gray); margin-bottom: 26px; }
.article .lead { font-size: .98rem; margin-bottom: 30px; }
.article h2 {
  font-size: 1.2rem;
  color: var(--ink);
  border-left: 5px solid var(--rose);
  background: var(--rose-light);
  padding: 10px 16px;
  border-radius: 4px;
  margin: 42px 0 18px;
}
.article h3 { font-size: 1.02rem; color: var(--wine); margin: 28px 0 12px; }
.article p { margin-bottom: 16px; font-size: .95rem; }
.article ul, .article ol { margin: 0 0 18px 1.4em; font-size: .95rem; }
.article li { margin-bottom: 6px; }
.article strong { color: var(--rose-dark); }

/* ポイント・注意ボックス */
.point-box, .warn-box {
  border-radius: 10px;
  padding: 18px 20px;
  margin: 20px 0 24px;
  font-size: .92rem;
}
.point-box { background: var(--rose-light); border: 1px solid #f3c6d2; }
.point-box::before { content: "💡 ポイント"; display: block; font-weight: 700; color: var(--rose-dark); margin-bottom: 6px; font-size: .85rem; }
.warn-box { background: #fdf6e8; border: 1px solid #ecd9ad; }
.warn-box::before { content: "⚠️ 注意"; display: block; font-weight: 700; color: #a2762a; margin-bottom: 6px; font-size: .85rem; }

/* テンプレ枠 */
.template-box {
  background: var(--cream);
  border: 2px dashed var(--gold);
  border-radius: 10px;
  padding: 20px 22px;
  margin: 20px 0 24px;
  font-size: .92rem;
}
.template-box::before { content: "📋 テンプレート"; display: block; font-weight: 700; color: var(--gold); margin-bottom: 8px; font-size: .85rem; }

/* CTAボックス */
.cta-box {
  background: linear-gradient(135deg, var(--rose-light), #fce4ec);
  border: 1px solid #f3c6d2;
  border-radius: 12px;
  padding: 26px 24px;
  margin: 32px 0;
  text-align: center;
}
.cta-box p { margin-bottom: 14px; font-size: .92rem; }
.cta-box .btn { font-size: .9rem; padding: 12px 30px; }

/* 比較表 */
.table-scroll { overflow-x: auto; margin: 20px 0 26px; }
table.compare { border-collapse: collapse; width: 100%; min-width: 640px; font-size: .85rem; }
table.compare th, table.compare td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
table.compare th { background: var(--ink); color: var(--white); font-weight: 600; white-space: nowrap; }
table.compare tr:nth-child(even) td { background: var(--cream); }
table.compare td:first-child { font-weight: 700; color: var(--wine); white-space: nowrap; }

/* 関連記事 */
.related { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--border); }
.related h2 { border: none; background: none; padding: 0; font-size: 1.05rem; margin-bottom: 14px; }
.related ul { list-style: none; margin: 0; }
.related li { margin-bottom: 10px; font-size: .92rem; }
.related a { color: var(--rose-dark); font-weight: 600; }
.related a:hover { text-decoration: underline; }

/* ===== フッター ===== */
footer { background: var(--ink); color: rgba(255,255,255,.8); margin-top: 40px; }
.footer-inner { max-width: 1080px; margin: 0 auto; padding: 40px 20px 30px; text-align: center; }
.footer-inner .disclaimer { font-size: .74rem; line-height: 1.8; max-width: 680px; margin: 0 auto 18px; opacity: .75; }
.footer-inner .copy { font-size: .78rem; }
.footer-inner a { color: #ffb3c6; }

@media (max-width: 640px) {
  nav { gap: 12px; }
  nav a { font-size: .78rem; }
  .logo-text { font-size: .88rem; }
  .hero h1 { font-size: 1.45rem; }
  .article { padding: 28px 20px 36px; }
  .profile-box { flex-direction: column; align-items: center; text-align: center; }
}
