@charset "utf-8";
/* コラム「はじめての社交ダンス」共通（一覧 column.html と記事 column/*.html）
   2026-11-18 モック docs/column-drafts/mockup/ の col-b.css＋deco-floor.css を本番化。
   案B（あたたかい読みもの）＋背景ダンスフロア（木の床）＋見出しの飾り「ドレスのリボン」。
   記事ページの雑誌ふうの部分は css/column-article.css。クラスは cm- 始まり。 */
:root {
    --cm-measure: 720px;
    --cm-gutter: 24px;
    --cm-s1: 8px;
    --cm-s2: 16px;
    --cm-s3: 24px;
    --cm-s4: 40px;
    --cm-s5: 64px;
    --cm-pink: var(--color-1);
    --cm-pink-soft: #fde8ec;
    --cm-pink-strong: #c4566f;
    --cm-teal: var(--color-2);
    --cm-teal-soft: #e3f4f0;
    --cm-forest: var(--color-forest);
    --cm-text: var(--color-text);
    --cm-muted: var(--color-text-secondary);
    --cm-line: var(--color-border);
    --cm-card: #ffffff;
    --cm-radius: 24px;
    --cm-shadow: 0 10px 30px rgba(45, 41, 38, 0.08);
    --floor-base: #f6efe4;
}

.cm { color: var(--cm-text); font-size: 17px; line-height: 1.95; overflow-wrap: anywhere; }
.cm p { margin: 0; }
.cm :where(section) { margin-top: 0; }   /* styles.css の section{margin-top:16px} を打ち消して帯をつなげる */
.cm h1, .cm h2, .cm h3 { color: var(--cm-text); line-height: 1.45; }
.cm a:focus-visible { outline: 3px solid var(--cm-text); outline-offset: 3px; border-radius: 8px; }
.cm-wrap { max-width: var(--cm-measure); margin: 0 auto; padding: 0 var(--cm-gutter); box-sizing: border-box; }
.cm-wide { max-width: 1000px; margin: 0 auto; padding: 0 var(--cm-gutter); box-sizing: border-box; }

/* 背景：ダンスフロア（木の床・横の継ぎ目は 240px おき） */
main.cm {
    background-color: var(--floor-base);
    background-image:
        repeating-linear-gradient(90deg, rgba(160,120,80,.07) 0 60px, rgba(160,120,80,0) 60px 120px),
        repeating-linear-gradient(0deg, rgba(160,120,80,.06) 0 1px, transparent 1px 240px);
}
.cm + .site-footer { margin-top: 0; }

/* 見出しの飾り：ドレスのリボン（言葉の下でふわっとひるがえる帯） */
.rb { position: relative; display: inline-block; z-index: 0; }
.rb > svg { position: absolute; left: -6%; top: 18%; width: 118%; height: 90%; z-index: -1; pointer-events: none; overflow: visible; }

.cm-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 54px; padding: 0 32px;
    background: var(--cm-pink-strong); color: #fff;
    border-radius: 999px; font-size: 17px; font-weight: 700; text-decoration: none;
    box-shadow: 0 6px 16px rgba(196, 86, 111, 0.25);
    transition: background-color .2s ease, transform .2s ease; box-sizing: border-box;
}
.cm-btn:hover { background: #a94860; color: #fff; transform: translateY(-2px); }

/* 写真の枠。写真が入ると .cm-photo（枠線なし・img を cover で敷く） */
.cm-slot {
    display: flex; align-items: center; justify-content: center; text-align: center;
    background: #f3ebe0; border: 1px solid #e6d9c8; border-radius: var(--cm-radius);
    color: #8a7a6c; font-size: 12px; letter-spacing: .08em; line-height: 1.6; padding: 12px; box-sizing: border-box;
}
.cm-photo { padding: 0 !important; border: 0 !important; background: none !important; overflow: hidden; }
.cm-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* 水彩のマダム・スピン（背景透明）を丸の中に全身で */
.cm-chara { background: radial-gradient(circle at 50% 45%, #fff 0%, #fbeef2 70%) !important; }
.cm-chara img { object-fit: contain; padding: 8%; box-sizing: border-box; }

/* マダム・スピンの顔（水彩のうさぎ・images/column/madam-spin-face.webp） */
.cm-voice-face {
    flex: 0 0 auto; width: 64px; height: 64px; border-radius: 50%; box-sizing: border-box;
    background: var(--cm-teal-soft); border: 2px solid #fff; box-shadow: var(--cm-shadow);
    display: flex; align-items: center; justify-content: center;
    font-family: "Cormorant Garamond", "Times New Roman", serif; font-style: italic; font-weight: 600;
    font-size: 26px; color: var(--cm-forest); line-height: 1;
    overflow: hidden; background: #fbf3f6;
}
.cm-voice-face img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- 一覧 ---------- */
.cm-hero { padding: var(--cm-s5) 0 var(--cm-s4); }
.cm-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--cm-s4); align-items: center; }
.cm-kicker {
    display: inline-block; background: var(--cm-card); color: var(--cm-pink-strong);
    font-size: 14px; font-weight: 700; letter-spacing: .08em;
    border-radius: 999px; padding: 4px 14px; margin-bottom: var(--cm-s2) !important;
}
.cm-title { font-size: 46px; font-weight: 700; margin: 0 0 var(--cm-s2); letter-spacing: -.01em; }
.cm-lead { font-size: 18px; }
.cm-hero .cm-slot { aspect-ratio: 1 / 1; border-radius: 50%; border: 8px solid #fff !important; box-shadow: var(--cm-shadow); }

.cm-voice { display: flex; gap: var(--cm-s2); align-items: flex-start; margin-top: var(--cm-s3); }
.cm-voice-bubble {
    position: relative; background: var(--cm-card); border-radius: 18px;
    padding: 14px 18px; font-size: 15px; line-height: 1.8; box-shadow: var(--cm-shadow);
}
.cm-voice-bubble::before {
    content: ""; position: absolute; left: -8px; top: 22px;
    border: 8px solid transparent; border-right-color: var(--cm-card); border-left: 0;
}
.cm-voice-bubble strong { display: block; font-size: 15px; }
.cm-voice-bubble small { color: var(--cm-muted); font-size: 13px; }

.cm-list { padding: var(--cm-s4) 0 var(--cm-s5); }
.cm-sec-title { font-size: 24px; margin: 0 0 var(--cm-s3); display: flex; align-items: center; gap: 10px; }
.cm-sec-title::before { content: ""; width: 28px; height: 4px; border-radius: 2px; background: var(--cm-pink); }
.cm-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--cm-s3); }
.cm-card { background: var(--cm-card); border-radius: var(--cm-radius); box-shadow: var(--cm-shadow); overflow: hidden; transition: transform .2s ease; }
.cm-card:has(a):hover { transform: translateY(-4px); }
.cm-card > a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.cm-card .cm-slot { border-radius: 0; border-width: 0 0 1px 0; aspect-ratio: 16 / 9; }
.cm-card-body { padding: var(--cm-s3); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cm-chip { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--cm-forest); background: var(--cm-teal-soft); border-radius: 999px; padding: 2px 10px; }
.cm-card-title { font-size: 20px; font-weight: 700; line-height: 1.5; word-break: auto-phrase; }
.cm-card-text { font-size: 15px; color: var(--cm-muted); line-height: 1.8; }
.cm-card-meta { margin-top: auto; font-size: 13px; color: var(--cm-muted); display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.cm-card-more { font-weight: 700; color: var(--cm-pink-strong); }

/* マダム・スピンの note 最新記事（NOTE_LATEST_START〜END の区画をスクリプトで書きかえる） */
.cm-note { padding: 0 0 var(--cm-s5); }
.cm-note-lead { font-size: 14px; color: var(--cm-muted); margin: -12px 0 var(--cm-s2) !important; }
.cm-note-list { list-style: none; margin: 0 0 var(--cm-s3); padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cm-note-list a { display: flex; flex-direction: column; gap: 2px; height: 100%; box-sizing: border-box; background: var(--cm-card); border-radius: 16px; padding: 14px 18px; color: var(--cm-text); text-decoration: none; font-size: 15px; font-weight: 600; line-height: 1.7; border: 2px solid transparent; transition: border-color .2s; }
.cm-note-list a:hover { border-color: var(--cm-pink); }
.cm-note-list time { font-size: 12px; font-weight: 400; color: var(--cm-muted); }
.cm-note-more { display: inline-flex; align-items: center; min-height: 46px; padding: 0 24px; border-radius: 999px; background: var(--cm-card); border: 2px solid var(--cm-pink); color: var(--cm-pink-strong); font-size: 15px; font-weight: 700; text-decoration: none; }
.cm-note-more:hover { background: var(--cm-pink-soft); }

/* 教室を探す（日本地図つき） */
.cm-find { padding: 0 0 var(--cm-s5); }
.cm-find-box {
    display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: var(--cm-s4); align-items: center;
    background: var(--cm-card); border-radius: 32px; box-shadow: var(--cm-shadow);
    padding: var(--cm-s4); border: 3px solid var(--cm-teal-soft);
}
.cm-find-box img { width: 100%; height: auto; display: block; }
.cm-find-box h2 { font-size: 26px; margin: 0 0 8px; }
.cm-find-box p { color: var(--cm-muted); margin-bottom: var(--cm-s3) !important; }
.cm-find-prefs { list-style: none; padding: 0; margin: var(--cm-s2) 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cm-find-prefs a {
    display: inline-block; padding: 6px 14px; border-radius: 999px;
    background: var(--cm-teal-soft); font-size: 14px; color: var(--cm-forest); text-decoration: none; font-weight: 600;
}
.cm-find-prefs a:hover { background: var(--cm-teal); }

/* ---------- 記事と共通の小物 ---------- */
.cm-crumb { font-size: 13px; color: var(--cm-muted); padding: var(--cm-s3) 0 0; }
.cm-crumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.cm-crumb li + li::before { content: "›"; margin-right: 4px; }
.cm-crumb a { color: var(--cm-muted); }
.cm-pr-note { font-size: 12px; color: #7d6f63; margin-top: 10px !important; }
.cm-writer-note { font-size: 14px; font-weight: 700; color: var(--cm-forest); }

@media (max-width: 768px) {
    :root { --cm-gutter: 16px; }
    .cm { font-size: 16px; }
    .cm-hero { padding: var(--cm-s4) 0 var(--cm-s3); }
    .cm-hero-grid { grid-template-columns: 1fr; gap: var(--cm-s3); }
    .cm-hero .cm-slot { width: 180px; margin: 0 auto; order: -1; }
    .cm-title { font-size: 32px; }
    .cm-lead { font-size: 16px; }
    .cm-cards { grid-template-columns: 1fr; }
    .cm-note-list { grid-template-columns: 1fr; }
    .cm-find-box { grid-template-columns: 1fr; padding: var(--cm-s3); text-align: center; gap: var(--cm-s2); }
    .cm-find-box img { width: 140px; margin: 0 auto; }
    .cm-find-prefs { justify-content: center; }
    .cm-btn { width: 100%; }
}
