@charset "UTF-8";
/*
 * Velmor ロゴガイドライン スタイル
 * build-logo-template.py により src/styles.css から自動生成。直接編集しないこと。
 */
/* =========================================================
   Velmor LMS — ロゴガイドライン
   明るく、信頼感のあるブランドガイドライン
   ========================================================= */

:root{
  /* 背景 */
  --bg-page:    #f6fbf9;
  --bg-card:    #ffffff;
  --bg-topbar:  rgba(255,255,255,.94);
  --bg-elev:    #eef8f5;   /* カード内のさらに一段上げた面 */
  --bg-soft:    #e8f8f2;

  /* ブランド */
  --brand:        #12a982;  /* Velmor ミント（アクセント） */
  --brand-strong: #087c67;  /* ホバー・強調 */
  --brand-glyph:  #8fe8c6;  /* ロゴグリフのミント */
  --navy:         #2e3a4d;  /* ロゴ円形マークのネイビー */

  /* テキスト */
  --text:       #1d2b36;
  --text-2:     #50616f;
  --text-3:     #74818a;

  /* 線 */
  --border:     #dcebe6;
  --border-2:   #c8ded6;

  /* 判定色 */
  --do:    #12a982;
  --dont:  #d95749;

  /* 形 */
  --radius:     8px;
  --radius-sm:  8px;

  /* レイアウト */
  --topbar-h:   60px;
  --sidebar-w:  260px;
  --content-max: 860px;

  /* フォント */
  --font-sans: "Inter","Noto Sans JP","Helvetica Neue",Arial,sans-serif;
  --font-mono: "JetBrains Mono","SFMono-Regular",ui-monospace,Menlo,monospace;
}

*{ box-sizing:border-box; }

html{ scroll-behavior:smooth; scroll-padding-top:calc(var(--topbar-h) + 24px); }

body{
  margin:0;
  background:var(--bg-page);
  color:var(--text);
  font-family:var(--font-sans);
  font-size:15px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

.mono{ font-family:var(--font-mono); }
.muted{ color:var(--text-2); }

a{ color:inherit; }

/* =========================================================
   トップバー
   ========================================================= */
.topbar{
  position:sticky; top:0; z-index:50;
  height:var(--topbar-h);
  display:flex; align-items:center; gap:24px;
  padding:0 28px;
  background:var(--bg-topbar);
  backdrop-filter:blur(16px);
  border-bottom:1px solid var(--border);
  box-shadow:0 1px 16px rgba(24,59,45,.06);
}
.topbar__brand{ display:flex; align-items:center; flex:none; }
.topbar__logo{ height:26px; width:auto; display:block; }
.topbar__nav{
  margin-left:auto; display:flex; align-items:center; gap:26px;
}
.topbar__link{
  color:var(--text-2); text-decoration:none; font-size:14px; font-weight:500;
  transition:color .15s ease;
}
.topbar__link:hover{ color:var(--text); }
.topbar__link--active{ color:var(--text); }

/* =========================================================
   ボタン（pill）
   ========================================================= */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  border-radius:999px; font-weight:600; text-decoration:none; cursor:pointer;
  border:1px solid transparent; white-space:nowrap; line-height:1;
  transition:background .15s ease, color .15s ease, border-color .15s ease, transform .05s ease;
}
.btn--sm{ font-size:13px; padding:8px 16px; }
.btn--primary{ background:var(--brand); color:#0a1f17; }
.btn--primary:hover{ background:var(--brand-strong); color:#ffffff; }
.btn--primary:active{ transform:translateY(1px); }
.btn--ghost{ background:transparent; color:var(--text); border-color:var(--border-2); }
.btn--ghost:hover{ border-color:var(--text-3); }
.btn--disabled{ color:var(--text-3); border-color:var(--border); cursor:not-allowed; }
.btn--disabled:hover{ border-color:var(--border); }

/* =========================================================
   レイアウト（サイドバー + 本文）
   ========================================================= */
.layout{
  display:flex; align-items:flex-start;
  max-width:1240px; margin:0 auto;
}

/* --- サイドバー --- */
.sidebar{
  position:sticky;
  top:var(--topbar-h);
  align-self:flex-start;
  width:var(--sidebar-w); flex:none;
  height:calc(100vh - var(--topbar-h));
  overflow-y:auto;
  padding:28px 18px;
  border-right:1px solid var(--border);
  background:rgba(246,251,249,.72);
}
.sidebar__label{
  font-size:11px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--text-3); margin:0 0 14px; padding:0 10px;
}
.sidebar__nav{ display:flex; flex-direction:column; gap:2px; }
.sidebar__item{
  display:block; padding:9px 12px; font-size:14px; text-decoration:none;
  color:var(--text-2); border-radius:var(--radius-sm);
  border-left:3px solid transparent;
  transition:color .15s ease, background .15s ease, border-color .15s ease;
}
.sidebar__item:hover{ color:var(--text); background:#ecf8f4; }
.sidebar__item.is-active{
  color:var(--text); background:#e8f8f2;
  border-left-color:var(--brand);
}

/* --- 本文 --- */
.content{
  flex:1; min-width:0;
  padding:48px 56px 120px;
}
.section{ max-width:var(--content-max); }
.section + .section{ margin-top:0; }

/* 区切り線 */
.divider{
  max-width:var(--content-max);
  height:0; border:none; border-top:1px solid var(--border);
  margin:48px 0;
}

/* =========================================================
   ヒーロー
   ========================================================= */
.eyebrow{
  display:inline-block; font-size:11px; letter-spacing:.16em; text-transform:uppercase;
  color:var(--brand); margin-bottom:14px;
}
.hero__title{
  font-size:46px; font-weight:800; letter-spacing:0; line-height:1.1;
  margin:0 0 20px;
}
.hero__lead{
  font-size:16px; line-height:1.8; color:var(--text-2); max-width:640px; margin:0;
}

/* =========================================================
   セクション見出し
   ========================================================= */
.sec-head{
  display:flex; align-items:center; gap:14px; margin:0 0 22px;
}
.sec-head__num{
  font-size:13px; color:var(--brand); font-weight:500;
}
.sec-head__title{
  font-size:26px; font-weight:700; letter-spacing:0; margin:0;
}
.sec-head__tag{
  margin-left:auto; font-size:10px; letter-spacing:.12em; text-transform:uppercase;
  color:var(--text-3); border:1px solid var(--border-2); border-radius:5px;
  padding:3px 8px;
  background:#ffffff;
}

/* =========================================================
   トンマナ
   ========================================================= */
.tone-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.tone-card{
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:20px;
  box-shadow:0 10px 28px rgba(24,59,45,.06);
}
.tone-card__label{
  margin:0 0 10px;
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--brand);
}
.tone-card__title{
  margin:0 0 8px;
  font-size:18px;
  line-height:1.4;
}
.tone-card__text{
  margin:0;
  color:var(--text-2);
  font-size:14px;
  line-height:1.75;
}

/* =========================================================
   ロゴマーク（CSS再現・再配色可能）
   ネイビー円形 + ミントのグリッドグリフ
   ========================================================= */
.logo-mark{
  --m:64px;
  width:var(--m); height:var(--m); border-radius:50%;
  background:var(--navy);
  display:inline-flex; align-items:center; justify-content:center;
  flex:none;
}
.logo-mark--sm{ --m:52px; }
.logo-mark--md{ --m:64px; }
.logo-mark--lg{ --m:96px; }

/* グリフ：2列×3行ベースのバー構成で Velmor マークを近似 */
.logo-mark__glyph{
  position:relative;
  width:calc(var(--m) * .46);
  height:calc(var(--m) * .46);
}
.logo-mark__glyph::before,
.logo-mark__glyph::after{
  content:""; position:absolute; background:var(--brand-glyph);
  border-radius:2px;
}
/* 左列：細く背の高いバー2本を表現 → ::before を左列、::after を右列に */
.logo-mark__glyph::before{
  left:0; top:0; width:38%; height:100%;
  box-shadow:
    0 0 0 0 transparent;
  background:
    linear-gradient(var(--brand-glyph) 0 0) top    / 100% 30% no-repeat,
    linear-gradient(var(--brand-glyph) 0 0) bottom / 100% 62% no-repeat;
}
.logo-mark__glyph::after{
  right:0; top:0; width:38%; height:100%;
  background:
    linear-gradient(var(--brand-glyph) 0 0) top    / 100% 62% no-repeat,
    linear-gradient(var(--brand-glyph) 0 0) bottom / 100% 30% no-repeat;
}

/* バリアント別の配色 */
.logo-mark--ondark{ background:#1c1c1c; box-shadow:inset 0 0 0 1px var(--border-2); }
.logo-mark--mono{ background:#4a4f57; }
.logo-mark--mono .logo-mark__glyph::before,
.logo-mark--mono .logo-mark__glyph::after{ background:#cdd1d6; }
.logo-mark--reverse{ background:#ffffff; }
.logo-mark--reverse .logo-mark__glyph::before,
.logo-mark--reverse .logo-mark__glyph::after{ background:var(--navy); }
/* NG例：色を変更（再配色） */
.logo-mark--recolor{ background:#7a3fb5; }
.logo-mark--recolor .logo-mark__glyph::before,
.logo-mark--recolor .logo-mark__glyph::after{ background:#ffd34d; }
/* NG例：写真の上 */
.logo-mark--onphoto{ background:var(--navy); }

/* =========================================================
   01 基本ルール（callout）
   ========================================================= */
.callout{
  background:var(--bg-card);
  border:1px solid var(--border);
  border-left:4px solid var(--brand);
  border-radius:var(--radius);
  padding:22px 24px;
  box-shadow:0 10px 28px rgba(24,59,45,.06);
}
.callout__label{
  font-size:11px; letter-spacing:.12em; text-transform:uppercase;
  color:var(--text-3); margin:0 0 14px;
}
.checklist{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:14px; }
.checklist li{
  display:flex; align-items:flex-start; gap:12px;
  font-size:15px; line-height:1.5; color:var(--text);
}
.checklist__box{
  width:18px; height:18px; flex:none; margin-top:3px;
  border:2px solid var(--brand); border-radius:5px; position:relative;
}
.checklist__box::after{
  content:"✓"; position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  font-size:12px; color:var(--brand); line-height:1;
}

/* =========================================================
   03 グリッドルール
   ========================================================= */
.grid-rule{
  display:flex;
  flex-direction:column;
  gap:18px;
}
.grid-rule__figure{
  margin:0;
  padding:20px;
  background:#ffffff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:0 10px 28px rgba(24,59,45,.06);
  overflow-x:auto;
}
.grid-rule__figure img{
  display:block;
  width:100%;
  min-width:640px;
  height:auto;
}
.grid-rule__body{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(240px,320px);
  gap:20px;
  align-items:start;
}
.grid-rule__body p{
  margin:0;
  color:var(--text-2);
}
.grid-rule__body b{
  color:var(--text);
  font-weight:700;
}
.rule-list{
  margin:0;
  padding:0;
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.rule-list li{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
}
.rule-list__key{
  min-width:48px;
  color:var(--brand);
  font-weight:700;
}

/* =========================================================
   04 Do / Don't
   ========================================================= */
.dodont-stack{
  display:flex;
  flex-direction:column;
  gap:34px;
}
.dodont-rule__head{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:12px;
  align-items:start;
  margin-bottom:14px;
}
.dodont-rule__num{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
  border-radius:50%;
  background:var(--bg-soft);
  color:var(--brand);
  font-size:12px;
  font-weight:700;
}
.dodont-rule__title{
  margin:0 0 4px;
  font-size:19px;
  line-height:1.4;
}
.dodont-rule__text{
  margin:0;
  color:var(--text-2);
  font-size:14px;
}
.dodont-pair{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.dd-card{
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:13px;
  box-shadow:0 10px 28px rgba(24,59,45,.05);
}
.dd-card--do{ border-top:3px solid var(--do); }
.dd-card--dont{ border-top:3px solid var(--dont); }
.dd-card__preview{
  min-height:140px;
  border-radius:var(--radius-sm);
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  overflow:hidden;
  padding:22px;
}
.dd-card__preview--light{ background:#f0faf6; }
.dd-card__preview--photo{
  background:
    linear-gradient(135deg, rgba(255,255,255,.1), rgba(255,255,255,.02)),
    repeating-linear-gradient(45deg,#8fb1c0 0 14px,#6f91a0 14px 28px);
}
.dd-card__preview--space{ background:#f0faf6; }
.dd-card__preview--tight{
  justify-content:flex-start;
  align-items:flex-start;
  padding:8px;
}
.brand-logo{
  display:block;
  width:72%;
  max-width:260px;
  height:auto;
  position:relative;
  z-index:1;
}
.brand-logo--md{ width:64%; max-width:220px; }
.brand-logo--lg{ width:82%; max-width:300px; }
.brand-logo--clear-space{
  width:100%;
  max-width:340px;
}
.brand-logo--on-noisy{
  filter:saturate(.8) contrast(.9);
  opacity:.9;
}
.brand-logo--recolor{
  filter:hue-rotate(210deg) saturate(1.6) contrast(.95);
}
.brand-logo--distorted{
  transform:scaleX(.72) scaleY(1.14) rotate(-4deg);
}
.space-guide{
  position:absolute;
  width:78%;
  max-width:300px;
  height:86px;
  border:2px dashed rgba(46,58,77,.38);
  border-radius:6px;
  pointer-events:none;
}
.space-guide--logo{
  height:104px;
}
.tight-label{
  position:absolute;
  right:8px;
  bottom:8px;
  color:#d95749;
  font-size:24px;
  font-weight:700;
}
.dd-card__foot{ display:flex; align-items:flex-start; gap:10px; }
.dd-badge{
  width:24px; height:24px; flex:none; border-radius:50%;
  display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:700;
  border:2px solid currentColor;
  margin-top:1px;
}
.dd-badge--do{ color:var(--do); }
.dd-badge--dont{ color:var(--dont); }
.dd-card__text{ font-size:14px; line-height:1.55; color:var(--text-2); }
.dd-card__text b{ color:var(--text); font-weight:700; }
.dd-card__note{
  margin:0;
  color:var(--text-3);
  font-size:13px;
  line-height:1.65;
}

/* =========================================================
   03 承認済みバリエーション
   ========================================================= */
.variants{
  display:grid; grid-template-columns:repeat(4,1fr); gap:14px;
}
.variant{ margin:0; }
.variant__preview{
  min-height:176px; border-radius:var(--radius-sm);
  display:flex; align-items:center; justify-content:center;
  border:1px solid var(--border);
  padding:14px;
}
.variant__preview--light{ background:#f0faf6; border-color:transparent; }
.variant__preview--dark{ background:#0e0e0e; }
.variant__preview--brand{ background:var(--brand); border-color:transparent; }
.variant__preview--navy{ background:var(--navy); border-color:transparent; }
.variant__image{
  display:block;
  width:auto;
  max-width:100%;
  max-height:148px;
  object-fit:contain;
}
.variant__cap{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-top:10px;
  color:var(--text-3);
}
.variant__name{
  display:block;
  text-align:center;
  font-size:11px;
  letter-spacing:.08em;
}
.variant__colors{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.color-chip{
  display:flex;
  align-items:center;
  gap:6px;
  min-width:0;
  font-size:10px;
  line-height:1.35;
  color:var(--text-2);
}
.color-chip__swatch{
  width:14px;
  height:14px;
  flex:none;
  border-radius:4px;
  border:1px solid rgba(46,58,77,.18);
}
.color-chip__swatch--navy{ background:#2e3a4d; }
.color-chip__swatch--mint{ background:#8fe8c6; }
.color-chip__swatch--dark{ background:#1c1c1c; }
.color-chip__swatch--black{ background:#000000; }
.color-chip__swatch--gray{ background:#4a4f57; }
.color-chip__swatch--lightgray{ background:#cdd1d6; }
.color-chip__swatch--white{ background:#ffffff; }
.color-chip .mono{
  overflow-wrap:anywhere;
}

/* =========================================================
   04 余白の規定（clear space）
   ========================================================= */
.clearspace-wrap{
  display:flex; gap:40px; align-items:center; flex-wrap:wrap;
}
.clearspace{
  position:relative; display:inline-flex; align-items:center; justify-content:center;
  padding:56px; background:var(--bg-card); border-radius:var(--radius);
  border:1px solid var(--border);
  box-shadow:0 10px 28px rgba(24,59,45,.06);
}
.clearspace__bound{
  position:absolute; inset:48px; border:2px dashed var(--brand); border-radius:6px;
  opacity:.7;
}
.clearspace__label{
  position:absolute; font-family:var(--font-mono); font-size:11px; color:var(--brand);
}
.clearspace__label--top{ top:24px; left:50%; transform:translateX(-50%); }
.clearspace__label--bottom{ bottom:24px; left:50%; transform:translateX(-50%); }
.clearspace__label--left{ left:18px; top:50%; transform:translateY(-50%); }
.clearspace__label--right{ right:18px; top:50%; transform:translateY(-50%); }
.clearspace__desc{ flex:1; min-width:240px; }
.clearspace__desc p{ margin:0 0 12px; font-size:15px; }
.clearspace__desc p:last-child{ margin-bottom:0; font-size:14px; }
.clearspace__desc b{ color:var(--brand); font-weight:600; }

/* =========================================================
   05 ダウンロード
   ========================================================= */
.downloads{ display:flex; flex-direction:column; gap:12px; }
.dl-card{
  display:flex; align-items:center; gap:16px;
  background:var(--bg-card); border:1px solid var(--border);
  border-radius:var(--radius); padding:16px 18px;
  box-shadow:0 10px 28px rgba(24,59,45,.05);
}
.dl-card__icon{
  width:48px; height:48px; flex:none; border-radius:var(--radius-sm);
  background:var(--bg-elev); border:1px solid var(--border-2);
  display:flex; align-items:center; justify-content:center;
  font-size:11px; letter-spacing:.06em; color:var(--text-2);
}
.dl-card__meta{ flex:1; min-width:0; }
.dl-card__name{ margin:0; font-size:14px; color:var(--text); }
.dl-card__spec{ margin:3px 0 0; font-size:12px; color:var(--text-3); }
.dl-note{ margin:16px 0 0; font-size:13px; }

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width:980px){
  .sidebar{ display:none; }
  .content{ padding:36px 28px 96px; }
  .hero__title{ font-size:38px; }
  .tone-grid{ grid-template-columns:1fr; }
  .grid-rule__body{ grid-template-columns:1fr; }
}

@media (max-width:640px){
  .topbar{ padding:0 18px; gap:14px; }
  .topbar__nav{ gap:16px; }
  .topbar__link{ display:none; }
  .topbar__link--active{ display:none; }
  .content{ padding:28px 18px 80px; }
  .hero__title{ font-size:30px; }
  .hero__lead{ font-size:15px; }
  .dodont-pair{ grid-template-columns:1fr; }
  .variants{ grid-template-columns:repeat(2,1fr); }
  .sec-head__tag{ display:none; }
  .clearspace-wrap{ gap:24px; }
}
