/* ============================================================
   COLUMN — 24mura.co.jp
   トップページのデザインシステムに準拠
   （Cormorant Garamond / Noto Serif JP / Inter, #111）
   ============================================================ */

html, body {
  margin: 0;
  padding: 0;
  background: #EEEEEE;
}

.nsm-col-wrap {
  width: 100%;
  color: #111;
  font-family:'Cormorant Garamond','Noto Serif JP','游明朝','Yu Mincho',serif;
}

.nsm-col-container {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 280px;
  padding-left: 18%;
  padding-right: 10%;
}

.nsm-col-container--article {
  max-width: 800px;
}

/* ---- ラベル ---- */
.nsm-col-label {
  font-family:'Inter', sans-serif;
  font-size: 9px;
  color: rgba(0,0,0,0.3);
  letter-spacing: 1.2em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 64px;
}

/* ---- 一覧 ---- */
.nsm-col-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(0,0,0,0.12);
}

.nsm-col-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 48px 0;
  border-bottom: 1px solid rgba(0,0,0,0.12);
  text-decoration: none;
  color: inherit;
  transition: 0.4s;
}

.nsm-col-item:hover {
  opacity: 0.6;
  transform: translateX(10px);
}

.nsm-col-item-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.nsm-col-item-date {
  font-family:'Inter', sans-serif;
  font-size: 10px;
  color: #aaa;
  letter-spacing: 0.2em;
}

.nsm-col-item-title {
  font-family:'Noto Serif JP','游明朝','Yu Mincho',serif;
  font-size: 18px;
  font-weight: 400;
  color: #111;
  letter-spacing: 0.04em;
  line-height: 1.6;
  margin: 0;
}

.nsm-col-item-excerpt {
  font-size: 12px;
  font-weight: 300;
  color: #888;
  letter-spacing: 0.06em;
  line-height: 2;
  margin: 0;
}

/* ---- 記事本文 ---- */
.nsm-col-date {
  font-family:'Inter', sans-serif;
  font-size: 10px;
  color: #aaa;
  letter-spacing: 0.3em;
  display: block;
  margin-bottom: 40px;
}

.nsm-col-title {
  font-size: 32px;
  font-weight: 300;
  line-height: 2.2;
  letter-spacing: 0.12em;
  margin: 0 0 64px;
}

.nsm-col-divider {
  width: 80px;
  height: 1px;
  background-color: #000;
  margin-bottom: 80px;
}

.nsm-col-body {
  font-size: 15px;
  line-height: 3.2;
  color: #444;
  letter-spacing: 0.08em;
  font-weight: 300;
}

.nsm-col-body p {
  margin: 0 0 3em;
}

.nsm-col-body h2 {
  font-size: 20px;
  font-weight: 400;
  color: #111;
  letter-spacing: 0.12em;
  line-height: 2.2;
  margin: 5em 0 2em;
}

.nsm-col-body h3 {
  font-size: 16px;
  font-weight: 400;
  color: #111;
  letter-spacing: 0.1em;
  line-height: 2.2;
  margin: 4em 0 1.5em;
}

.nsm-col-body ul,
.nsm-col-body ol {
  margin: 0 0 3em;
  padding-left: 1.5em;
}

.nsm-col-body li {
  margin-bottom: 1em;
}

.nsm-col-body a {
  color: #111;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.25);
  transition: 0.3s;
}

.nsm-col-body a:hover {
  opacity: 0.5;
}

.nsm-col-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 4em 0;
}

.nsm-col-body blockquote {
  margin: 4em 0;
  padding-left: 32px;
  border-left: 1px solid rgba(0,0,0,0.15);
  color: #666;
}

/* ---- 戻るリンク ---- */
.nsm-col-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #000;
  font-family:'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 120px;
  transition: 0.3s;
}

.nsm-col-link:hover {
  opacity: 0.5;
}

.nsm-col-arrow {
  margin-right: 12px;
  transition: 0.4s cubic-bezier(0.19,1,0.22,1);
}

.nsm-col-link:hover .nsm-col-arrow {
  transform: translateX(8px);
}

@media(max-width:768px){
  .nsm-col-container{
    padding-top:160px;
    padding-left:10%;
    padding-right:10%;
  }
  .nsm-col-label{
    margin-bottom:40px;
  }
  .nsm-col-item{
    flex-direction: column;
    align-items:flex-start;
    gap:16px;
    padding:32px 0;
  }
  .nsm-col-item-title{
    font-size:15px;
    line-height:1.8;
  }
  .nsm-col-title{
    font-size:22px;
    line-height:2;
    margin-bottom:48px;
  }
  .nsm-col-divider{
    margin-bottom:56px;
  }
  .nsm-col-body{
    font-size:14px;
    line-height:2.8;
  }
  .nsm-col-link{
    margin-top:80px;
  }
}

/* ============================================================
   FOOTER（トップページと共通）
   ============================================================ */
.nsm-footer-wrap{
  width:100%;
  padding:100px 40px 30px;
  margin-top:200px;
  box-sizing:border-box;
  font-family:'Cormorant Garamond','Noto Serif JP','游明朝','Yu Mincho',serif;
}
.nsm-footer-inner{
  max-width:1200px;
  margin:0 auto;
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:40px;
}
.nsm-footer-nav{
  display:flex;
  gap:80px;
}
.nsm-footer-col{
  display:flex;
  flex-direction:column;
  gap:20px;
}
.nsm-footer-group{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.nsm-footer-col a{
  text-decoration:none;
  color:#111;
  font-size:12px;
  font-weight:400;
  letter-spacing:0.15em;
  text-transform:uppercase;
  position:relative;
  width:fit-content;
}
.nsm-footer-col a.nsm-footer-sub-link{
  font-size:11px;
  font-weight:300;
  padding-left:16px;
  color:#999;
  text-transform:none;
}
.nsm-footer-group span{
  font-size:12px;
  font-weight:400;
  letter-spacing:0.15em;
  color:#111;
  text-transform:uppercase;
}
.nsm-footer-logo{
  display:block;
  height:50px;
  flex-shrink:0;
  text-decoration:none;
}
.nsm-footer-logo img{
  display:block;
  height:100%;
  width:auto;
  object-fit:contain;
  filter:brightness(0);
}
.nsm-footer-bottom{
  max-width:1200px;
  width:100%;
  margin:80px auto 0;
  padding-top:24px;
  border-top:1px solid rgba(0,0,0,0.08);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
}
.nsm-footer-meta{
  display:flex;
  gap:24px;
}
.nsm-footer-meta a{
  color:#999;
  text-decoration:none;
  font-size:11px;
  letter-spacing:0.15em;
  text-transform:uppercase;
}
.nsm-footer-bottom p{
  margin:0;
  font-size:11px;
  color:#999;
  letter-spacing:0.15em;
  text-transform:uppercase;
}
@media(max-width:768px){
  .nsm-footer-wrap{
    padding:60px 20px 30px;
    margin-top:120px;
  }
  .nsm-footer-inner{
    flex-direction:column-reverse;
    align-items:flex-start;
    gap:50px;
  }
  .nsm-footer-nav{
    gap:40px;
  }
  .nsm-footer-col a.nsm-footer-sub-link{
    padding-left:0;
  }
  .nsm-footer-logo{
    display: none;
  }
  .nsm-footer-bottom{
    flex-direction:column;
    align-items:flex-start;
    margin-top:40px;
  }
}


/* コラム一覧：ヒーローブロックが上余白を持つため、リスト側の上余白を打ち消す */
.nsm-col-container--list {
  padding-top: 0;
}

/* ============================================================
   ARTICLE（記事ページ）
   ヒーロー ／ 本文 ／ 右に追従する目次
   ============================================================ */

.nsm-art-hero {
  max-width: 1000px;
  margin: 0 auto;
  padding: 240px 10% 160px;
  text-align: center;
  font-family:'Cormorant Garamond','Noto Serif JP','游明朝','Yu Mincho',serif;
}

.nsm-art-eyebrow {
  font-family:'Inter', sans-serif;
  font-size: 9px;
  color: rgba(0,0,0,0.3);
  letter-spacing: 1.2em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 80px;
}

.nsm-art-title {
  font-family:'Noto Serif JP','游明朝','Yu Mincho',serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.12em;
  color: #111;
  margin: 0 0 56px;
}

.nsm-art-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.nsm-art-date {
  font-family:'Inter', sans-serif;
  font-size: 12px;
  color: #999;
  letter-spacing: 0.08em;
}

.nsm-art-cat {
  font-family:'Inter', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: #111;
  border: 1px solid rgba(0,0,0,0.15);
  padding: 8px 20px;
  border-radius: 100px;
  letter-spacing: 0.1em;
}

/* ---- 本文と目次の2カラム ---- */
.nsm-art-layout {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 10% 200px 18%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 80px;
  align-items: start;
}

.nsm-art-main {
  min-width: 0;
}

/* ---- 右に追従する目次 ---- */
.nsm-art-side {
  position: sticky;
  top: 140px;
}

.nsm-art-toc-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family:'Inter', sans-serif;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.4);
  margin-bottom: 14px;
}

.nsm-art-toc-line {
  width: 28px;
  height: 1px;
  background: rgba(0,0,0,0.3);
  display: inline-block;
}

.nsm-art-toc-heading {
  font-family:'Noto Serif JP','游明朝','Yu Mincho',serif;
  font-size: 18px;
  font-weight: 400;
  color: #111;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.nsm-art-toc-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 20px;
  border-left: 1px solid rgba(0,0,0,0.1);
}

.nsm-art-toc-list li {
  margin-bottom: 18px;
}

.nsm-art-toc-link {
  font-family:'Noto Serif JP','游明朝','Yu Mincho',serif;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.7;
  color: #999;
  text-decoration: none;
  letter-spacing: 0.04em;
  display: block;
  transition: color 0.3s ease;
}

.nsm-art-toc-link:hover,
.nsm-art-toc-link.is-current {
  color: #111;
}

/* ---- 本文（記事内） ---- */
.nsm-art-main .nsm-col-body h2 {
  font-family:'Noto Serif JP','游明朝','Yu Mincho',serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.08em;
  color: #111;
  margin: 96px 0 32px;
  padding-top: 56px;
  border-top: 1px solid rgba(0,0,0,0.1);
  scroll-margin-top: 120px;
}

.nsm-art-main .nsm-col-body h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

@media (max-width: 1024px) {
  .nsm-art-layout {
    grid-template-columns: 1fr;
    padding: 0 8% 140px;
    gap: 0;
  }
  .nsm-art-side {
    position: static;
    order: -1;
    margin-bottom: 64px;
  }
}

@media (max-width: 768px) {
  .nsm-art-hero {
    padding: 160px 8% 100px;
  }
  .nsm-art-eyebrow { margin-bottom: 48px; }
  .nsm-art-title {
    font-size: 24px;
    line-height: 1.7;
    margin-bottom: 36px;
  }
  .nsm-art-main .nsm-col-body h2 {
    font-size: 17px;
    margin-top: 64px;
    padding-top: 40px;
  }
}

/* 記事内のコードブロック・リスト */
.nsm-art-code {
  background: rgba(0,0,0,0.03);
  border-left: 2px solid rgba(0,0,0,0.15);
  padding: 20px 24px;
  margin: 32px 0;
  overflow-x: auto;
  font-family: 'SFMono-Regular', Consolas, 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.9;
  color: #333;
  white-space: pre;
}
.nsm-art-main .nsm-col-body ul,
.nsm-art-main .nsm-col-body ol {
  margin: 24px 0;
  padding-left: 1.6em;
}
.nsm-art-main .nsm-col-body li {
  margin-bottom: 10px;
  line-height: 2.1;
}

/* 記事内の表 */
.nsm-art-table {
  width: 100%;
  border-collapse: collapse;
  margin: 36px 0;
  font-family:'Noto Serif JP','游明朝','Yu Mincho',serif;
  font-size: 14px;
}
.nsm-art-table th {
  font-weight: 600;
  text-align: left;
  padding: 0 8px 14px;
  border-bottom: 1px solid rgba(0,0,0,0.7);
  color: #111;
}
.nsm-art-table td {
  padding: 18px 8px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  color: #333;
  line-height: 1.7;
}
.nsm-art-table .nsm-num {
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
}

/* 記事内の画像 */
.nsm-art-figure {
  margin: 44px 0;
}
.nsm-art-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}
.nsm-art-figure figcaption {
  margin-top: 12px;
  font-family:'Noto Serif JP','游明朝','Yu Mincho',serif;
  font-size: 12px;
  font-weight: 300;
  color: #999;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

/* ============================================================
   記事下：前後の記事 ／ 関連記事
   ============================================================ */

.nsm-art-pn {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 120px;
  padding-top: 48px;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.nsm-art-pn-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  padding: 28px 0;
  transition: opacity 0.4s cubic-bezier(0.19,1,0.22,1), transform 0.5s cubic-bezier(0.19,1,0.22,1);
}

.nsm-art-pn-next {
  text-align: right;
  border-left: 1px solid rgba(0,0,0,0.07);
  padding-left: 24px;
}

.nsm-art-pn-empty {
  display: block;
}

.nsm-art-pn-label {
  font-family:'Inter', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #999;
  transition: color 0.3s ease;
}

.nsm-art-pn-title {
  font-family:'Noto Serif JP','游明朝','Yu Mincho',serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: #111;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (hover: hover) {
  .nsm-art-pn-prev:hover { transform: translateX(-6px); }
  .nsm-art-pn-next:hover { transform: translateX(6px); }
  .nsm-art-pn-item:hover .nsm-art-pn-label { color: #111; }
}

/* ---- 関連記事 ---- */
.nsm-art-related {
  margin-top: 120px;
  padding-top: 56px;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.nsm-art-related-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family:'Inter', sans-serif;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.4);
  margin-bottom: 14px;
}

.nsm-art-related-line {
  width: 28px;
  height: 1px;
  background: rgba(0,0,0,0.3);
  display: inline-block;
}

.nsm-art-related-heading {
  font-family:'Noto Serif JP','游明朝','Yu Mincho',serif;
  font-size: 20px;
  font-weight: 400;
  color: #111;
  letter-spacing: 0.12em;
  margin: 0 0 36px;
  padding-top: 0;
  border-top: none;
}

.nsm-art-related-list {
  border-top: 1px solid rgba(0,0,0,0.07);
}

.nsm-art-related-item {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.5s, transform 0.5s cubic-bezier(0.19,1,0.22,1);
}

@media (hover: hover) {
  .nsm-art-related-list:hover .nsm-art-related-item { opacity: 0.35; }
  .nsm-art-related-list .nsm-art-related-item:hover {
    opacity: 1;
    transform: translateX(10px);
  }
}

.nsm-art-related-meta {
  flex-shrink: 0;
  width: 132px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nsm-art-related-date {
  font-family:'Inter', sans-serif;
  font-size: 10px;
  color: #999;
  letter-spacing: 0.1em;
}

.nsm-art-related-cat {
  font-family:'Inter', sans-serif;
  font-size: 8.5px;
  font-weight: 700;
  color: #111;
  border: 1px solid rgba(0,0,0,0.15);
  padding: 5px 10px;
  border-radius: 100px;
  width: fit-content;
  letter-spacing: 0.12em;
}

.nsm-art-related-title {
  font-family:'Noto Serif JP','游明朝','Yu Mincho',serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: #111;
}

@media (max-width: 768px) {
  .nsm-art-pn {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 80px;
    padding-top: 32px;
  }
  .nsm-art-pn-item { padding: 22px 0; }
  .nsm-art-pn-next {
    text-align: left;
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(0,0,0,0.07);
  }
  .nsm-art-pn-empty { display: none; }
  .nsm-art-related { margin-top: 80px; padding-top: 40px; }
  .nsm-art-related-heading { font-size: 17px; margin-bottom: 24px; }
  .nsm-art-related-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 22px 0;
  }
  .nsm-art-related-meta {
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  .nsm-art-related-list:hover .nsm-art-related-item { opacity: 1; }
  .nsm-art-related-list .nsm-art-related-item:hover { transform: none; }
}
