:root {
  --ink: #38322b;
  --body: #4c443a;
  --sub: #8a7d6e;
  --accent: #d9558c;
  --accent-deep: #b93a72;
  --accent-soft: #fdf0f5;
  --teal: #2f8f76;
  --teal-deep: #1f7260;
  --teal-soft: #e9f5f1;
  --line: #eee0d2;
  --bg: #fff9f3;
  --card: #ffffff;
  --grad: linear-gradient(120deg, #fde7f0 0%, #fdeedd 58%, #fff6ea 100%);
  --shadow-s: 0 2px 10px rgba(96, 62, 40, .06);
  --shadow-m: 0 12px 28px rgba(96, 62, 40, .13);
  --head-font: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Noto Sans JP", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--body);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  line-height: 1.85; font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
::selection { background: #f8c9dd; }
a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 249, 243, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 800px; margin: 0 auto; padding: 10px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-avatar {
  width: 38px; height: 38px; border-radius: 50%; object-fit: cover;
  border: 2px solid #fff; box-shadow: 0 2px 8px rgba(96, 62, 40, .18);
}
.brand-name { font-family: var(--head-font); font-weight: 900; font-size: 20px; letter-spacing: .02em; }
.site-nav { display: flex; gap: 8px; }
.site-nav a {
  font-size: 13.5px; font-weight: 700; padding: 6px 13px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  transition: all .2s ease; white-space: nowrap;
}
.site-nav a:hover { text-decoration: none; transform: translateY(-1px); }
.site-nav a.nav-muse { border-color: #f3b9d2; color: var(--accent-deep); }
.site-nav a.nav-muse:hover { background: var(--accent-soft); }
.site-nav a.nav-muscle { border-color: #a9d8c9; color: var(--teal-deep); }
.site-nav a.nav-muscle:hover { background: var(--teal-soft); }

main { max-width: 800px; margin: 0 auto; padding: 18px 20px 40px; }

/* ---------- hero (top) ---------- */
.hero {
  background: var(--grad); border: 1px solid #f6d9e4; border-radius: 22px;
  padding: 30px 28px; margin: 10px 0 22px;
  display: flex; align-items: center; gap: 24px;
  box-shadow: var(--shadow-s);
}
.hero-avatar {
  width: 148px; height: 148px; border-radius: 50%; object-fit: cover; flex: none;
  border: 4px solid #fff; box-shadow: 0 8px 22px rgba(185, 58, 114, .22);
}
.hero-title {
  font-family: var(--head-font); font-weight: 900; font-size: 32px;
  color: var(--ink); margin: 0 0 4px; letter-spacing: .03em; line-height: 1.3;
}
.hero-tag { margin: 0 0 16px; color: #6d5f51; font-size: 15px; }
.hero-nav { margin: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.btn {
  display: inline-block; font-weight: 700; font-size: 14px; padding: 9px 18px;
  border-radius: 999px; background: #fff; box-shadow: var(--shadow-s);
  transition: all .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-m); }
.btn-muse { color: var(--accent-deep); border: 1.5px solid #f0a8c6; }
.btn-muscle { color: var(--teal-deep); border: 1.5px solid #93cfba; }
@media (max-width: 560px) {
  .hero { flex-direction: column; text-align: center; padding: 26px 20px; }
  .hero-nav { justify-content: center; }
  .hero-avatar { width: 120px; height: 120px; }
}

.intro {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 8px 22px; margin: 0 0 10px; box-shadow: var(--shadow-s);
}

/* ---------- sections & cards ---------- */
.section-title {
  font-family: var(--head-font); font-weight: 900; font-size: 21px; color: var(--ink);
  margin: 38px 0 16px; padding-left: 12px; line-height: 1.4;
  border-left: 6px solid var(--accent);
}
.cards { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; box-shadow: var(--shadow-s);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.card-thumb { position: relative; display: block; overflow: hidden; }
.card-thumb img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.card:hover .card-thumb img { transform: scale(1.04); }
.chip {
  display: inline-block; font-size: 11.5px; font-weight: 700; line-height: 1;
  padding: 5px 10px; border-radius: 999px; color: #fff; letter-spacing: .04em;
}
.chip-muse { background: var(--accent); }
.chip-muscle { background: var(--teal); }
.card-thumb .chip {
  position: absolute; top: 10px; left: 10px;
  box-shadow: 0 3px 10px rgba(60, 30, 20, .25);
}
.card-body { padding: 14px 18px 16px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 16.5px; margin: 0 0 8px; line-height: 1.55; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--accent-deep); text-decoration: none; }
.card-desc { font-size: 13.5px; margin: 0 0 14px; color: #655a4d; flex: 1; }
.card-meta {
  margin: 0; display: flex; justify-content: space-between; align-items: center;
  border-top: 1px dashed var(--line); padding-top: 10px;
}
.card-date { color: var(--sub); font-size: 12px; }
.card-more { color: var(--accent-deep); font-size: 12.5px; font-weight: 700; }
.more { margin-top: 14px; font-size: 14px; font-weight: 500; }

/* ---------- hub pages ---------- */
.hub-hero { border-radius: 20px; padding: 24px 26px 10px; margin: 6px 0 8px; }
.hub-muse { background: var(--grad); border: 1px solid #f6d9e4; }
.hub-muscle { background: linear-gradient(120deg, #e2f3ec 0%, #eef7ee 60%, #fbf7ea 100%); border: 1px solid #cfe8dc; }
.hub-title {
  font-family: var(--head-font); font-weight: 900; font-size: 27px;
  line-height: 1.4; margin: 2px 0 8px; color: var(--ink);
}
.order-list { list-style: none; counter-reset: step; padding: 0; margin: 6px 0 10px; }
.order-list li {
  counter-increment: step; position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 16px 12px 52px; margin: 10px 0; box-shadow: var(--shadow-s);
}
.order-list li::before {
  content: counter(step);
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-family: var(--head-font); font-weight: 900; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- article pages ---------- */
.crumb { font-size: 13px; color: var(--sub); margin: 6px 0 0; }
.article-title {
  font-size: 27px; line-height: 1.5; margin: 10px 0 10px; color: var(--ink);
  font-weight: 700; letter-spacing: .01em;
}
.article-meta { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; }
.article-date { color: var(--sub); font-size: 13px; }
.eyecatch { width: 100%; border-radius: 16px; margin-bottom: 14px; box-shadow: var(--shadow-s); }
.article-body { font-size: 16.5px; line-height: 1.95; color: var(--body); }
.article-body h2 {
  font-size: 21px; margin: 40px 0 14px; line-height: 1.5; color: var(--ink);
  padding: 9px 14px; border-left: 6px solid var(--accent);
  background: linear-gradient(90deg, var(--accent-soft), rgba(253, 240, 245, 0));
  border-radius: 0 10px 10px 0;
}
.article-body h3 { font-size: 18px; margin: 30px 0 10px; color: var(--ink); }
.article-body h3::before { content: "●"; color: var(--accent); font-size: 11px; margin-right: 8px; vertical-align: 3px; }
.article-body img { max-width: 100%; height: auto; border-radius: 10px; }
.article-body figure { margin: 20px 0; }
.article-body figcaption { font-size: 13px; color: var(--sub); text-align: center; margin-top: 6px; }
.article-body pre {
  background: #2d2a26; color: #f5efe8; padding: 16px 18px; border-radius: 12px;
  overflow-x: auto; font-size: 13.5px; line-height: 1.7;
}
.article-body code { font-family: ui-monospace, Menlo, monospace; }
.article-body p code, .article-body li code {
  background: var(--accent-soft); padding: 1px 6px; border-radius: 6px; font-size: .92em;
}
.article-body table { border-collapse: collapse; width: 100%; margin: 18px 0; font-size: 14.5px; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 9px 11px; text-align: left; }
.article-body th { background: var(--accent-soft); }
.article-body blockquote {
  margin: 18px 0; padding: 10px 18px; border-left: 4px solid var(--accent);
  background: #fff; border-radius: 0 12px 12px 0; color: #554e45;
  box-shadow: var(--shadow-s);
}
.article-body a { text-decoration: underline; text-underline-offset: 3px; }
.note-box {
  background: var(--accent-soft); border: 1.5px dashed #eda6c3; border-radius: 14px;
  padding: 6px 20px; margin-top: 36px;
}
.author-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 20px; margin-top: 20px; box-shadow: var(--shadow-s);
}
.author-avatar {
  width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none;
  border: 2px solid var(--accent-soft); box-shadow: 0 4px 12px rgba(96, 62, 40, .15);
}
.author-name { font-family: var(--head-font); font-weight: 900; font-size: 17px; color: var(--ink); margin: 2px 0 4px; }
.author-bio { font-size: 13.5px; margin: 0 0 6px; color: #655a4d; line-height: 1.7; }
.author-links { font-size: 13px; margin: 0; }
@media (max-width: 560px) { .author-card { flex-direction: column; align-items: center; text-align: center; } }

/* ---------- footer ---------- */
.site-footer { background: #3a2f2a; color: #efe6da; margin-top: 30px; }
.footer-inner { max-width: 800px; margin: 0 auto; padding: 30px 20px 26px; }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, .35); }
.footer-name { font-family: var(--head-font); font-weight: 900; font-size: 18px; margin: 0; }
.footer-tag { margin: 2px 0 0; font-size: 12.5px; color: #c9bba9; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 14px; font-size: 14px; }
.footer-nav a { color: #f3c3d8; font-weight: 500; }
.footer-nav a:hover { color: #ffd9e8; }
.site-footer .pilot { font-size: 12px; color: #a89785; margin: 0; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 14px; }

@media (max-width: 560px) {
  .brand-name { font-size: 18px; }
  .site-nav a { font-size: 12.5px; padding: 5px 10px; }
  .article-title { font-size: 23px; }
  .hub-title { font-size: 23px; }
}

/* portal gateways + sns */
.gateways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 6px 0 10px; }
.gateway { display: block; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
a.gateway { transition: transform .18s ease, box-shadow .18s ease; }
a.gateway:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(217, 85, 140, .16); text-decoration: none; }
.gateway h3 { font-family: var(--font-display); font-size: 22px; margin: 12px 0 8px; color: var(--ink); }
.gateway p { color: var(--sub); font-size: 14.5px; }
.gateway .g-meta { margin-top: 14px; font-weight: 700; color: var(--pink-dark); font-size: 13.5px; }
.gateway-muscle .g-meta { color: var(--teal-dark); }
.chip-soon { background: #f3e9df; color: #8a7a6d; }
.gateway.soon { border-style: dashed; box-shadow: none; background: #fffdf9; }
.soon-badge { display: inline-block; background: #efe7de; color: #8a7a6d; border-radius: 999px; padding: 3px 12px; font-size: 12px; font-weight: 700; }
.sns-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 10px; }
.sns-pill { display: inline-flex; align-items: baseline; gap: 8px; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 14px; color: var(--ink); box-shadow: var(--shadow); }
.sns-pill:hover { border-color: var(--pink); color: var(--pink-dark); text-decoration: none; }
.sns-pill small { color: var(--sub); font-weight: 500; font-size: 11.5px; }
@media (max-width: 860px) { .gateways { grid-template-columns: 1fr; } }
