/* ブログ記事6本の共通スタイル。記事固有の調整は各記事の <style> 側で行う */
.inner {
  max-width: 760px;
  margin: 0 auto;
  padding-left: clamp(20px, 5vw, 48px);
  padding-right: clamp(20px, 5vw, 48px);
}
/* header（LPと共通デザイン） */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: transform 0.25s ease;
}
.site-header.hidden {
  transform: translateY(-100%);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .site-header {
    transition: none;
  }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--cta-blue, #16264a);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(30, 55, 95, 0.32);
}
/* article */
.article-head {
  padding: clamp(40px, 6vw, 64px) 0 clamp(24px, 4vw, 36px);
}
.breadcrumb {
  font-size: 13px;
  color: var(--gray);
  margin: 0 0 18px;
}
.breadcrumb a {
  color: var(--gray);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--orange-deep);
}
.post-date {
  font-family: var(--num);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0.04em;
}
h1 {
  margin: 10px 0 0;
  font-family: var(--serif);
  letter-spacing: 0.03em;
  font-size: clamp(20px, 5vw, 36px);
  line-height: 1.65;
  font-weight: 700;
}
.article-body {
  padding-bottom: clamp(48px, 7vw, 72px);
  font-size: clamp(15.5px, 2vw, 17px);
  line-height: 2.05;
  color: var(--ink-soft);
}
.article-body h2 {
  margin: 2.4em 0 0.8em;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--orange);
  font-family: var(--serif);
  font-size: clamp(20px, 2.8vw, 25px);
  line-height: 1.6;
  font-weight: 700;
  color: var(--ink);
}
.article-body h3 {
  margin: 2em 0 0.7em;
  padding-left: 12px;
  border-left: 4px solid var(--orange);
  font-family: var(--serif);
  font-size: clamp(17px, 2.3vw, 20px);
  line-height: 1.6;
  font-weight: 700;
  color: var(--ink);
}
.article-body p {
  margin: 0 0 1.4em;
}
.article-body ul,
.article-body ol {
  margin: 0 0 1.4em;
  padding-left: 1.6em;
}
.article-body li {
  margin-bottom: 0.4em;
}
.article-body .hl {
  font-weight: 700;
  color: var(--ink);
  background: linear-gradient(
      100deg,
      rgba(224, 106, 85, 0.06) 0%,
      rgba(224, 106, 85, 0.5) 4%,
      rgba(224, 106, 85, 0.38) 96%,
      rgba(224, 106, 85, 0.06) 100%
    )
    left bottom / 100% 38% no-repeat;
}
.article-body strong {
  color: var(--ink);
}
.article-body blockquote {
  margin: 0 0 1.4em;
  padding: 16px 20px;
  background: var(--bg-soft);
  border-left: 4px solid var(--line);
  border-radius: 0 8px 8px 0;
}
.article-body blockquote p:last-child {
  margin-bottom: 0;
}
.toc {
  background: #fff;
  border: 1px solid rgba(61, 95, 156, 0.45);
  border-radius: 8px;
  padding: 22px 26px;
  margin: 0 0 2em;
}
.toc-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 12px;
}
.toc-title::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}
.toc ol {
  margin: 0;
  padding-left: 1.5em;
  font-size: 14.5px;
  line-height: 2.1;
}
.toc li::marker {
  color: var(--orange);
  font-weight: 700;
}
.toc a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(36, 36, 36, 0.3);
  text-underline-offset: 4px;
}
.toc a:hover {
  color: var(--orange-deep);
  text-decoration-color: var(--orange-deep);
}
.article-body ol {
  margin: 0 0 1.4em;
  padding-left: 1.6em;
}
/* 記事末尾CTA（トップと同じPale Skyの空） */
.article-cta {
  background:
  radial-gradient(700px 420px at 20% -10%, rgba(255, 255, 255, 0.9), transparent 62%),
  radial-gradient(560px 380px at 88% 90%, rgba(126, 163, 208, 0.5), transparent 64%),
  linear-gradient(140deg, #dbe8f7 0%, #c6d9ee 52%, #9dbbdf 100%);
  text-align: center;
}
.article-cta .inner {
  max-width: 760px;
  padding-top: clamp(44px, 6vw, 64px);
  padding-bottom: clamp(44px, 6vw, 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.article-cta h2 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(22px, 3.2vw, 30px);
  line-height: 1.7;
  font-weight: 700;
  color: #10203c;
}
.article-cta p {
  margin: 0 0 28px;
  font-size: clamp(15px, 2vw, 17px);
  line-height: 2;
  color: rgba(16, 32, 60, 0.8);
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 22px);
  background: linear-gradient(135deg, #2c4a7a 0%, #16264a 55%, #101c38 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 18px clamp(26px, 3.5vw, 36px) 18px clamp(30px, 4vw, 44px);
  box-shadow:
  0 18px 40px -18px rgba(16, 28, 56, 0.7),
  inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  font-size: clamp(17px, 2.2vw, 20px);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.cta-btn:hover {
  background: linear-gradient(135deg, #34568c 0%, #1f3f6e 55%, #16264a 100%);
}

/* 記事内の画像・ライトボックス・動画埋め込み・コード・note参照（旧: 各記事にインライン重複していたものを2026-08-08に集約） */
.article-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 0 1.4em;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: zoom-in;
  transition: opacity 0.15s ease;
}
.article-body img:hover {
  opacity: 0.88;
}
.img-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 18, 16, 0.9);
  padding: clamp(20px, 5vw, 48px);
  cursor: zoom-out;
}
.img-lightbox.open {
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.video-embed {
  margin: 0 0 1.4em;
}
.video-embed iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.article-body pre {
  margin: 0 0 1.4em;
  padding: 18px 20px;
  background: #f6f4f0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink);
  -webkit-overflow-scrolling: touch;
}
.article-body pre code {
  font-family: inherit;
  white-space: pre;
}
.note-ref {
  background: var(--bg-soft);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 14.5px;
}
.note-ref a {
  color: var(--orange-deep);
  font-weight: 700;
}
