/* DiSA Direction Tips — 付箋スタイル */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg: #1a1a1a;
  --note: #e2e1de;
  --note-action: #cccbc7;
  --accent: #e8380d;
  --ink: #111;
  --ink-mid: #3a3a3a;
  --ink-muted: #888;
  --f-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --f-en: "Inter", "Helvetica Neue", sans-serif;
}

html, body {
  margin: 0; padding: 0;
  font-family: var(--f-sans);
  background: var(--bg);
  color: var(--ink);
  min-height: 100dvh;
}

/* ── ページ全体 ── */
.tips-wrap {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px 24px;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

/* 背景にDiSA透かし */
.tips-wrap::after {
  content: "DiSA";
  position: fixed;
  bottom: -24px;
  right: -8px;
  font-family: var(--f-en);
  font-size: 160px;
  font-weight: 700;
  color: rgba(255,255,255,0.03);
  letter-spacing: -0.05em;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

/* ── ヘッダー ── */
.tips-header {
  width: 100%;
  max-width: 520px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.tips-logo {
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
}
.tips-logo__img {
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  height: 17px;
  width: auto;
}
.tips-logo__sub {
  display: block;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
}

.tips-counter {
  font-family: var(--f-en);
  font-size: 12px;
  color: rgba(255,255,255,0.32);
  padding-top: 2px;
}
.tips-counter strong {
  color: rgba(255,255,255,0.65);
  font-weight: 600;
}

/* ── 付箋カード ── */
.tips-note {
  width: 100%;
  max-width: 520px;
  background: var(--note);
  padding: 28px 28px 32px;
  position: relative;
  box-shadow:
    3px 6px 20px rgba(0,0,0,0.55),
    0 1px 3px rgba(0,0,0,0.3);
  transform: rotate(-0.5deg);
}

/* テープ */
.tips-note::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 22px;
  background: rgba(180,180,175,0.5);
  border-radius: 2px;
}

/* カテゴリ＋番号 */
.tips-note__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.tips-note__cat {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.tips-note__num {
  font-family: var(--f-en);
  font-size: 9px;
  color: #aaa;
}

/* タイトル */
.tips-note__title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 16px;
}

/* 罫線 */
.tips-note__rule {
  height: 1px;
  background: rgba(0,0,0,0.1);
  margin-bottom: 16px;
}

/* 本文 */
.tips-note__body {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-mid);
  margin-bottom: 18px;
}
.tips-note__body strong {
  color: var(--ink);
  font-weight: 700;
}

/* アクション（一段暗いグレー） */
.tips-action {
  background: var(--note-action);
  border-left: 3px solid #555;
  padding: 11px 15px;
}
.tips-action__label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 5px;
}
.tips-action__text {
  font-size: 13px;
  line-height: 1.75;
  color: #222;
}
.tips-action__text strong {
  font-weight: 700;
}

/* DiSA透かし（右下） */
.tips-note__watermark {
  position: absolute;
  bottom: 13px;
  right: 16px;
  font-family: var(--f-en);
  font-size: 11px;
  font-weight: 700;
  color: rgba(0,0,0,0.1);
  user-select: none;
}

/* ── 監修者クレジット ── */
.tips-author {
  width: 100%;
  max-width: 520px;
}
.tips-author__link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: rgba(255,255,255,0.45);
  transition: color 0.15s;
}
.tips-author__link:hover {
  color: rgba(255,255,255,0.8);
}
.tips-author__photo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.tips-author__text {
  font-size: 11px;
  line-height: 1.5;
}
.tips-author__text strong {
  color: rgba(255,255,255,0.75);
  font-weight: 700;
}

/* ── フッター ── */
.tips-footer {
  width: 100%;
  max-width: 520px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.tips-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 5px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.tips-cta:hover { opacity: 0.85; }
.tips-cta svg { width: 14px; height: 14px; flex-shrink: 0; }

.tips-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}
.tips-nav__link {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.15s;
  white-space: nowrap;
}
.tips-nav__link:hover { color: rgba(255,255,255,0.75); }
.tips-nav__link svg {
  width: 12px; height: 12px;
  stroke: currentColor; stroke-width: 2;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.tips-nav__dots {
  display: flex;
  gap: 4px;
}
.tips-nav__dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}
.tips-nav__dot--active {
  background: rgba(255,255,255,0.6);
}

/* ── モバイル ── */
@media (max-width: 600px) {
  .tips-wrap { padding: 24px 16px 20px; gap: 16px; }

  .tips-note {
    padding: 22px 20px 28px;
    transform: rotate(-0.3deg);
  }
  .tips-note__title { font-size: 24px; }
  .tips-note__body { font-size: 13px; }

  .tips-footer { flex-direction: column; align-items: center; gap: 12px; }
  .tips-nav { width: 100%; justify-content: space-between; }
}

/* ── 関連リンク ── */
.tips-related {
  margin-top: 16px;
  background: rgba(232, 56, 13, 0.06);
  border: 1px solid rgba(232, 56, 13, 0.15);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
}
.tips-related__link {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--ink);
  font-size: 13px;
  gap: 10px;
  transition: background 0.15s;
}
.tips-related__link:hover {
  background: rgba(232, 56, 13, 0.1);
}
.tips-related__label {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--accent);
  padding: 2px 6px;
  border-radius: 2px;
  white-space: nowrap;
}
.tips-related__text {
  font-weight: 700;
  flex-grow: 1;
  text-align: left;
  line-height: 1.4;
  color: var(--ink-mid);
}
.tips-related__link:hover .tips-related__text {
  color: var(--ink);
}
.tips-related__arrow {
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.15s;
}
.tips-related__link:hover .tips-related__arrow {
  transform: translateX(2px);
}

