/* ===== Base ===== */
:root {
  --text: #2c2c2c;
  --muted: #8a8a8a;
  --accent: #5a8f7b;
  --bg: #fbfaf7;
  --line: #e6e3dc;
  --max: 680px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic",
    "Meiryo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.95;
  letter-spacing: 0.04em;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== Layout ===== */
.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.site-header .inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header .brand {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  letter-spacing: 0.08em;
}
.site-header .brand small {
  display: block;
  font-weight: 400;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-top: 2px;
}
.site-header .nav-link {
  font-size: 13px;
  color: var(--muted);
}

/* Top toggle between NOTE / メルマガ */
.header-nav {
  display: flex;
  gap: 4px;
  background: #f3f0ea;
  border-radius: 999px;
  padding: 3px;
  font-size: 12px;
}
.header-nav a {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background 0.15s;
}
.header-nav a:hover { color: var(--text); }
.header-nav a.active {
  background: #fff;
  color: var(--text);
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

/* ===== Mail variations ===== */
.mail-day {
  border-color: #c69a6c;
  color: #c69a6c;
}
.mail-subject {
  margin: 6px 0 28px;
  padding: 14px 16px;
  background: #fdf8f1;
  border: 1px solid #ecdfc8;
  border-radius: 8px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.6;
}
.mail-subject-label {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #c69a6c;
  border: 1px solid #d8b88a;
  padding: 2px 8px 3px;
  border-radius: 4px;
  margin-top: 2px;
}
.mail-subject-text {
  flex: 1 1 auto;
  font-weight: 600;
  color: var(--text);
}
.mail-body p {
  margin: 0 0 1.4em;
}
/* メルマガは1行あたりを短めに（メールクライアント風の縦長レイアウト） */
.mail-article {
  max-width: 380px;
  margin: 0 auto;
}
.mail-article .article-body,
.mail-article .mail-ps,
.mail-article .article-close,
.mail-article .article-nav,
.mail-article .mail-subject,
.mail-article > header {
  max-width: 380px;
}
.mail-body p,
.mail-ps-body p {
  /* 日本語の自然な改行を促進 */
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
}
.placeholder-link-wrap {
  text-align: center;
  margin: 14px 0 4px !important;
}
.placeholder-link {
  display: inline-block;
  padding: 10px 18px;
  border: 1.5px dashed #c69a6c;
  border-radius: 8px;
  color: #c69a6c !important;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  background: #fff;
}
.placeholder-link:hover {
  background: #fdf8f1;
  text-decoration: none;
}

/* ===== Sample (teaser) page ===== */
.sample-article {
  max-width: 560px;
  margin: 0 auto;
}
.sample-hero { text-align: center; margin-bottom: 28px; }
.sample-hero .article-day { margin-bottom: 14px; }
.sample-hero .article-title { font-size: 24px; }
.sample-hero .article-subtitle { font-size: 14px; line-height: 1.8; color: var(--muted); margin: 14px 0 0; }

.video-placeholder { margin: 24px 0 36px; }
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #2c2c2c 0%, #4a4a4a 100%);
  border-radius: 12px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}
.video-frame:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.06), transparent 60%);
  pointer-events: none;
}
.video-frame-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  letter-spacing: 0.06em;
}
.play-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: #2c2c2c;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.video-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
}
.video-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  margin-top: 6px;
  letter-spacing: 0.1em;
}

.sample-section {
  margin: 32px 0;
  padding: 0;
}
.sample-section h2 {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.sample-section p {
  margin: 0 0 1.1em;
  font-size: 15px;
  line-height: 1.9;
}
.sample-list {
  margin: 0 0 1em;
  padding-left: 1.2em;
  font-size: 15px;
  line-height: 1.9;
}
.sample-list li { margin-bottom: 0.5em; }
.sample-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 1em !important;
}

.sample-cta {
  margin: 40px 0 24px;
  padding: 28px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
}
.sample-cta-button {
  font-size: 15px;
  padding: 14px 26px;
}
.sample-cta-sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin: 16px 0 0;
}
.sample-nav { margin-top: 36px; }

@media (max-width: 480px) {
  .sample-hero .article-title { font-size: 20px; }
  .play-icon { width: 56px; height: 56px; font-size: 18px; }
  .video-label { font-size: 13px; }
  .sample-section p, .sample-list { font-size: 14px; }
}
.mail-ps {
  margin-top: 40px;
  padding: 22px 22px 24px;
  background: #fff;
  border: 1px dashed #d8d4cb;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.85;
}
.mail-ps-label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--muted);
  background: #f3f0ea;
  padding: 3px 10px 4px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.mail-ps-body p { margin: 0 0 1em; }
.note-cta {
  margin: 18px 0 4px !important;
}
.note-button {
  display: inline-block;
  padding: 12px 20px;
  background: var(--accent);
  color: #fff !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
}
.note-button:hover {
  opacity: 0.9;
  text-decoration: none;
  transform: translateY(-1px);
}
.note-button-sub {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 480px) {
  .mail-subject { font-size: 14px; padding: 12px 14px; }
  .mail-subject-text { font-weight: 600; }
  .mail-ps { padding: 18px 16px 20px; font-size: 14px; }
  .note-button { padding: 11px 18px; font-size: 13px; }
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 20px 80px;
}

/* ===== Article header ===== */
.article-day {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 3px 12px 4px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.article-title {
  font-size: 26px;
  line-height: 1.5;
  letter-spacing: 0.03em;
  font-weight: 700;
  margin: 0 0 10px;
}
.article-subtitle {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 22px;
  font-weight: 500;
}
.article-byline {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 36px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

/* ===== Body ===== */
.article-body p {
  margin: 0 0 1.4em;
  word-break: auto-phrase;
  overflow-wrap: anywhere;
  line-break: strict;
}
.article-body .divider {
  text-align: center;
  color: var(--accent);
  letter-spacing: 0.6em;
  margin: 2.4em 0;
  font-size: 16px;
}
.article-body .lead-rule {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 1.8em;
  letter-spacing: 0.08em;
}
.article-body strong { font-weight: 700; }

/* ===== Closing block ===== */
.article-close {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.article-sign {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}
.article-sign .name { font-weight: 600; }
.article-sign .role { color: var(--muted); }
.article-cta {
  margin-top: 28px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.85;
}
.article-cta p { margin: 0 0 14px; }
.article-cta .cta-link {
  display: inline-block;
  font-weight: 600;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
}

/* ===== Article navigation ===== */
.article-nav {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  font-size: 13px;
}
.article-nav .nav-prev { text-align: left; }
.article-nav .nav-next { text-align: right; }
.article-nav .nav-index {
  text-align: center;
  color: var(--muted);
}
.article-nav a {
  display: inline-block;
  color: var(--text);
  line-height: 1.5;
}
.article-nav .label {
  display: block;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}

/* ===== Index page ===== */
.index-hero {
  text-align: center;
  margin: 24px 0 40px;
}
.index-hero h1 {
  font-size: 22px;
  letter-spacing: 0.04em;
  margin: 0 0 8px;
}
.index-hero p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.index-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.index-list li {
  border-top: 1px solid var(--line);
}
.index-list li:last-child { border-bottom: 1px solid var(--line); }
.index-list a {
  display: block;
  padding: 18px 4px;
  color: var(--text);
}
.index-list a:hover { background: rgba(0,0,0,0.02); text-decoration: none; }
.index-list .day {
  display: inline-block;
  width: 64px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
  vertical-align: top;
}
.index-list .meta {
  display: inline-block;
  width: calc(100% - 70px);
  vertical-align: top;
}
.index-list .title {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  margin-bottom: 4px;
}
.index-list .sub {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
}

/* ===== Footer ===== */
.site-footer {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  padding: 24px 16px 40px;
  letter-spacing: 0.04em;
}

/* ===== Mobile ===== */
@media (max-width: 480px) {
  html, body { font-size: 16px; line-height: 1.9; }
  main { padding: 24px 18px 64px; }
  .article-title { font-size: 22px; }
  .article-subtitle { font-size: 14px; }
  .article-body p { margin-bottom: 1.3em; }
  .article-body .divider { margin: 2em 0; }
  .index-hero h1 { font-size: 20px; }
  .index-list .day { width: 56px; }
  .index-list .meta { width: calc(100% - 60px); }
  .index-list .title { font-size: 15px; }
}
