/* =========================================================
   あかり スライド・レイアウトカタログ（Web のページなので style.css のトークンと Web 書体で組む）
   見本は slides.html の実物を iframe で読み込み、scale で縮小して並べる。
   ========================================================= */

.sc { font-size: 15px; line-height: 1.7; }
.sc-header { height: 64px; border-bottom: 1px solid var(--line); }
.sc-header__inner { display: flex; align-items: center; gap: 16px; height: 100%; }
.sc-header__sub { color: var(--text-2); font-size: 14px; }
.sc-header nav { margin-left: auto; display: flex; gap: 24px; font-size: 14px; }

.sc-intro { padding: 64px 0 48px; }
.sc-intro h1 { font-size: 40px; line-height: 1.3; margin: 12px 0 20px; }
.sc-note { margin-top: 20px; max-width: 46em; padding-left: 16px; border-left: 1px solid var(--line); font-size: 14px; color: var(--text-2); }

.sc-sec { padding: 64px 0; border-top: 1px solid var(--line); }
.sc-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 32px; }
.sc-head h2 { font-size: 28px; line-height: 1.4; }

.spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.spec h3 { font-size: 16px; line-height: 1.5; margin-bottom: 8px; }
.spec li { position: relative; padding-left: 16px; font-size: 14px; color: var(--text-2); }
.spec li + li { margin-top: 4px; }
.spec li::before { content: ""; position: absolute; left: 0; top: .85em; width: 8px; height: 1px; background: var(--text-3); }
.spec strong { color: var(--text); font-weight: 500; }

.sc-table-wrap { margin-top: 24px; }
.sc-table-wrap .card__head { padding: var(--card-pad) var(--card-pad) 0; }
.sc-table-wrap .table th:first-child, .sc-table-wrap .table td:first-child { padding-left: var(--card-pad); }
.sc-table-wrap .table th:last-child, .sc-table-wrap .table td:last-child { padding-right: var(--card-pad); }

.layouts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px 32px; }
.layout { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.thumb {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg);
  transition: border-color var(--t-hover);
}
.thumb:hover { border-color: var(--accent); }
.thumb iframe { position: absolute; left: 0; top: 0; width: 1920px; height: 1124px; border: 0; transform-origin: 0 0; transform: scale(var(--k, .29)); pointer-events: none; }
.layout__head { display: flex; align-items: baseline; gap: 12px; }
.layout__no { font-family: var(--font-mono); font-size: 16px; color: var(--accent); }
.layout__head h3 { font-size: 20px; line-height: 1.5; }
.layout__use { color: var(--text-2); }
.memo { font-size: 13px; line-height: 1.6; color: var(--text-2); border-top: 1px solid var(--line); }
.memo div { display: grid; grid-template-columns: 5em 1fr; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.memo dt { color: var(--text); font-weight: 500; }
.memo dd { margin: 0; }
.memo .num { color: var(--text); }

.sc-footer { border-top: 1px solid var(--line); padding: 40px 0 64px; font-size: 13px; color: var(--text-2); }

@media (max-width: 1023px) { .layouts, .spec-grid { grid-template-columns: 1fr; } }
@media (max-width: 767px) {
  .sc-header nav { display: none; }
  .sc-intro h1 { font-size: 30px; }
  .sc-head h2 { font-size: 22px; }
}
