Open
Conversation
…lity) mFLOCSS v1.2 リファレンス実装の 0 ベース再構築。 LP 3 ページ(index, contact, thanks)の HTML + CSS 基盤層を構築。 - HTML: 全セマンティクス・アクセシビリティ要件準拠 - CSS 8 層: layer-order.css + property.css + 層別ディレクトリ - Tokens: OKLCH カラー、流体タイポグラフィ、構造変数、イージング - Theme: セマンティックトークン、light-dark() ダークモード - Foundation: reset/base/form 3 分割、:where() 詳細度ゼロ - Layout: l-section(3 段階余白)、l-inner、l-viewport、l-container - Utility: u-visually-hidden、u-hidden-pc/sp - AR 2 サイクル通過(採用 14 件修正済み、懸念点 0) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Phase をまたいで設計判断・AR 結果・修正履歴を蓄積する。 worker に毎回渡し、双方向で更新する。 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
9 Component + 12 Project + 2 Animation = 23 CSS ファイルを追加。 LP として視覚的に成立する状態を構築。 - Component: Portability Test 合格。Theme セマンティック変数のみ参照 - Project: セクション固有のレイアウト・装飾。3つの上書きパターン各1箇所以上 - Animation: 統合ガード(prefers-reduced-motion + scripting)適用 - @container クエリ: Features セクションで cqi 単位の実例 - :has() 必須マーク: p-contact で CSS のみの自動付与 - :user-invalid: 初期表示時のエラー回避 - AR 2 サイクル通過(採用 5 件修正済み、懸念点 0) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
ドロワー、スクロールアニメーション、Back to Top の JS 実装。 SVG ワイヤーフレーム画像 6 枚 + favicon + OGP。 README を要件定義準拠で作成。privacy ページ追加。 - JS: dialog showModal/close + inert、IntersectionObserver、stagger - c-skip-link → p-skip-link 分離(spec SHOULD NOT 準拠) - Thanks に Back to Top HTML 追加 - 全ページに p-skip-link クラス追加 - AR 1 サイクル(採用 2 件修正済み) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Critical: p-privacy.css の未定義カスタムプロパティ削除+ネスト構造統一 - Warning: 全 :hover に any-hover ガード追加(タッチデバイス対応) - Warning: privacy ページに OGP メタタグ追加 - Info: Hero に data-animate="scale-in" 追加(要件定義準拠) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- fade-in-slide-up/scale-in: transition → @Keyframes + animation に変更 animation-play-state: paused/running で is-visible と連携 - Back to Top: 不要な data-animate 属性を削除(4ファイル) - property.css: @Property --stagger-delay を追加(SHOULD準拠) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Collaborator
Author
ブラウザ確認結果(v1.2 AR 修正後)2026-03-27 実施。Animation 層の @Keyframes 統一後の動作確認。
スクリーンショット: /tmp/starter-pc-after-scroll.png, starter-sp-full.png, starter-dark-full.png, starter-hover-cta.png, starter-faq-open.png(ローカル) |
SVG data URI 内では CSS カスタムプロパティ・light-dark() が使えない ため、Foundation で prefers-color-scheme 対応する旨を明記。 spec §5.2 SHOULD の正当な逸脱として記録。 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- contact: お問い合わせ種別(select)とプラン(radio)に required 追加 - index: 「メニューを見る」→「選ばれる理由を見る」(#features 見出しと一致) - main.js: ドロワー内ページ遷移リンクのちらつき防止 (closeDrawer → close イベント後に遷移) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
ページ遷移リンクはそのまま遷移させる(新ページにドロワーは存在しない)。 アンカーリンク(#xxx)のみドロワーを閉じる。 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- showModal() → show() に変更(ヘッダーが top layer で隠れる問題を解消)
- ヘッダー z-index > ドロワー z-index でヘッダー常時表示
- ドロワーは inset-block: var(--header-size) 0 でヘッダー下から表示
- :root:has(dialog[open]) { overflow: hidden } でスクロールロック(CSS のみ)
- ドロワーヘッダー・閉じるボタンを削除(ヘッダーが常時見えるため不要)
- c-hamburger コンポーネント新規作成(CSS ☰ ↔ × アニメーション)
- ドロワー表示中はヘッダー背景を不透明化(透け防止)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
min-block-size + overflow-y: auto でスクロール可能に。 overscroll-behavior-block: contain で背面への伝播防止。 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Collaborator
Author
しゅんえいチェック指摘対応(ドロワー再設計)変更内容
確認済み
|
dialog 自体に overflow-y: auto を追加。 justify-content: center → nav の margin-block: auto に変更 (justify-content: center は溢れ時に上部が切れる問題がある)。 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
dialog自体は overflow: hidden にし、drawer-inner を唯一の スクロールコンテナに変更。Chromium の dialog スクロール問題を回避。 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
margin-block: auto → justify-content: safe center に変更。 ナビとCTAが一体で中央に表示される。溢れ時は先頭から表示。 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
inset-block/inset-inline で位置・サイズが確定するため、 inline-size, max-inline-size, block-size, max-block-size は不要。 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
tokens/structure.css に --z-back-to-top, --z-drawer, --z-header, --z-skip-link を定義。マジックナンバーを排除。 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
ブランド(brand-*): 差し替え対象 - brand-color.css(sage, terracotta) - brand-typography.css(font-family) - brand-structure.css(content幅, header高さ, section余白) グローバル: プロジェクト非依存 - color.css(neutral, white, black, error) - typography.css(weight, line-height, size) - space.css(8pxグリッド) - radius.css, shadow.css, z-index.css, ease.css Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
brand-* を統合し、カテゴリ別ファイルに CUSTOMIZE コメントで ブランド/グローバルを区別する方式に変更。 - color.css: ブランド(sage, terracotta)+ グローバル(neutral等) - typography.css: ブランド(font-family)+ グローバル(weight, size等) - structure.css: ブランド固有(content幅, header, section余白) - space/radius/shadow/z-index/ease: グローバルのみ error → red にリネーム(Tokens はセマンティックな名前を持たない) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
space, z-index, radius, shadow, ease に 「グローバル: プロジェクト非依存の汎用値」コメントを追加。 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
「--- グローバル ---」→「グローバル: プロジェクト非依存の汎用値」 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
ブランド: 「CUSTOMIZE: プロジェクトごとに変わる値」 グローバル: 「グローバル: プロジェクト非依存の普遍値」 (spec §5.1 の定義をそのまま使用) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
グローバル: 「プロジェクト非依存の普遍値」 →「多くのプロジェクトで共通して使える値」 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
line-height, font-size h1〜h3 はブランド(デザイン依存)。 font-weight, font-size body/small はグローバル。 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
フォントファミリー / 行間 / 見出しサイズ / ウェイト / 本文サイズ Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- l-section: container-type: inline-size + container-name: section (spec §5.4 SHOULD 準拠) - l-container: container-name: container を追加(MAY、明示性向上) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
theme/color.css と全 HTML の color-scheme meta に 「ダークモード不要なら light のみに」のカスタマイズポイントを明示。 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
scroll-padding-top → scroll-padding-block-start に変更し、 論理プロパティへの統一を図る。 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- @starting-style で開く瞬間の開始値を定義し、開閉両方にアニメーションを適用 - transition shorthand に allow-discrete を追加し display のトランジションを許可 - opacity も追加してフェードイン/アウトを組み合わせ - prefers-reduced-motion ガードを維持 - Firefox 128 では @starting-style / allow-discrete 非対応だがアニメーションなしで機能は正常(グレースフルデグラデーション) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- p-header__drawer → p-drawer として独立 Project コンポーネントに分離 - p-overlay → c-overlay として Component 層に移動(汎用オーバーレイ) - viewport.js 追加(--viewport-min 未満の端末でレイアウト縮小表示) - ドロワー: dialog を header 外に移動、show() + data-open + rAF 2段アニメーション - JS セレクタを全て data 属性ベースに統一 - overlay の色をトークン化(--color-overlay)、z-index を外部 API 化(--overlay-z) - 冗長コメント整理、CODING_GUIDE・README 更新
- AR C1 採用10件(spec リンク修正、z-header トークン使用、data-nav 削除、rAF race condition、CODING_GUIDE パス誤り、data-immediate 説明追加、CUSTOMIZE コメント統一、Back to Top 閾値コメント、closeDrawer inert タイミング) - scroll lock を foundation/base.css に移動(:modal + dialog[open]) - closeDrawer を getAnimations() + isAnimating フラグで堅牢化 - 対象ブラウザを Baseline Newly Available に変更 - safe center フォールバック削除(全対象ブラウザ対応済み) - 冗長コメント削除
- AR C2 採用修正(z-modal/toast CUSTOMIZE コメント、text-spacing-trim @supports 化、viewport.js パス修正、closeDrawer ガード追加、line-height base 移動、form.css トークン対応コメント、mflocss.dev リンク統合、main.js 空行修正) - PC 幅 resize 時のドロワー自動クローズ - overlay z-index を JS から CSS に移行 - 768px ブレークポイントに CUSTOMIZE コメント
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
「未対応ブラウザでは無視されるため」→「@supports ガードにより適用されないため」 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Variable → Token、Theme を追加し、8層アーキテクチャに準拠させた。 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
layer-order.css の @layer 定義と一致させる。 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Collaborator
Author
B-7 通読レビュー完了修正 3 件(
Phase B 完了。マージは Phase F で実施。 |
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
CSS Selectors Level 4 仕様で :where() の引数に擬似要素は配置不可。 現行 3 箇所は無効な CSS として解釈され、スタイルが未適用。 - reset/reset.css:110 :where(::placeholder) → ::placeholder - foundation/form.css:83 :where(::placeholder) → ::placeholder - foundation/base.css:36 :where(::selection) → ::selection 参照: https://drafts.csswg.org/selectors-4/#matches Closes #88 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
… none 冗長削除
mflocss/spec PR#63 で確定した以下の変更に波及対応:
1. §5.5 SHOULD NOT から overflow 関連を削除(書籍委譲)
2. §5.5 SHOULD NOT を「外部レイアウト影響プロパティの排除」と
「存在/不在制御の排除」の 2 つに分離
修正:
- c-accordion.css: 削除されたルール参照(overflow: hidden SHOULD NOT)
を削除し、意図(border-radius クリッピング)のみ残す
- c-overlay.css: position: fixed 逸脱コメントを新ルール名
「SHOULD NOT [外部レイアウト影響プロパティの排除]」に更新
- c-overlay.css: &[hidden] { display: none; } を削除
(Reset 層で処理済み + SHOULD NOT [存在/不在制御の排除] に抵触)
同質問題: mflocss/wordpress-starter #4, #5
spec: mflocss/spec#63
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
CSS イディオム(border-radius + overflow: hidden の角丸クリッピング)は 実装者に自明なため、mFLOCSS spec v1.0 のコメント原則 「コードで意図が得られないものだけにコメント」に従って削除。 教育的説明は mFLOCSS 書籍が担う。spec 逸脱の正当化など、 不自明な設計判断のみコメントに残す方針(c-overlay.css 参照)。 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
spec の章番号(§5.5, §7 等)を参照するのは spec の章構成変更に脆弱。 ルール名は安定 ID として運用する前提で、章番号のみ削除。 修正: - foundation/form.css:26 spec §7 → spec の - foundation/form.css:72 spec §7 → spec の - component/c-overlay.css:6 spec §5.5 → spec の 同質問題: 今日の wp-starter#4(削除された旧 spec ルール参照) 再発防止のための予防策。 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
wordpress-starter と構造を統一: - /thanks/ → /contact/thanks/ に移動 - フォーム送信先・canonical URL・Vite 入力パスを更新 - SVG use href のパス深度を修正(../ → ../../) - p-features.css 空コメント削除 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
mFLOCSS starter v1.0 リファレンス実装。spec v1.0 準拠 + AR 3サイクル + QA + 著者通読を経て完成。
spec v1.0 準拠
コード品質
ブラウザ互換
ドキュメント
デプロイ
Test plan
Generated with Claude Code