|
|
| 1行目: |
1行目: |
| <html> | | <templatestyles src="エリア/styles.css" /> |
| <style>
| |
| /* ========================================
| |
| エリアページ全体
| |
| ======================================== */
| |
| .area-page {
| |
| max-width: 1200px;
| |
| margin: 0 auto;
| |
| padding: 20px;
| |
| }
| |
| | |
| /* ========================================
| |
| エリアヘッダー
| |
| ======================================== */
| |
| .area-header {
| |
| text-align: center;
| |
| padding: 2em 0 3em;
| |
| border-bottom: 2px solid #f59e0b;
| |
| margin-bottom: 3em;
| |
| }
| |
| | |
| .area-header h1 {
| |
| font-size: 32px;
| |
| font-weight: 700;
| |
| color: #111827;
| |
| margin: 0 0 16px 0;
| |
| }
| |
| | |
| .area-header .area-tagline {
| |
| font-size: 16px;
| |
| color: #6b7280;
| |
| line-height: 1.6;
| |
| }
| |
| | |
| /* ========================================
| |
| カテゴリーカードグリッド
| |
| ======================================== */
| |
| .category-cards {
| |
| display: grid;
| |
| grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
| |
| gap: 20px;
| |
| margin: 3em 0;
| |
| }
| |
| | |
| .category-card-item {
| |
| display: flex;
| |
| flex-direction: column;
| |
| align-items: center;
| |
| text-align: center;
| |
| padding: 28px 20px;
| |
| background: #fff;
| |
| border: 2px solid #e5e7eb;
| |
| border-radius: 16px;
| |
| box-shadow: 0 2px 8px rgba(0,0,0,0.06);
| |
| gap: 12px;
| |
| transition: all 0.3s ease;
| |
| position: relative;
| |
| }
| |
| | |
| .category-card-item:not(.disabled):hover {
| |
| border-color: #f59e0b;
| |
| box-shadow: 0 4px 16px rgba(245, 158, 11, 0.15);
| |
| transform: translateY(-4px);
| |
| }
| |
| | |
| .category-card-item.disabled {
| |
| opacity: 0.5;
| |
| cursor: not-allowed;
| |
| }
| |
| | |
| .category-card-item .card-icon {
| |
| font-size: 40px;
| |
| line-height: 1;
| |
| filter: brightness(1.1);
| |
| }
| |
| | |
| .category-card-item .card-content {
| |
| display: flex;
| |
| flex-direction: column;
| |
| gap: 8px;
| |
| width: 100%;
| |
| }
| |
| | |
| .category-card-item .card-title {
| |
| font-size: 18px;
| |
| font-weight: 700;
| |
| color: #111827;
| |
| line-height: 1.3;
| |
| display: block;
| |
| }
| |
| | |
| /* Wikiリンクのスタイル調整 */
| |
| .category-card-item .card-title a {
| |
| color: #111827;
| |
| text-decoration: none;
| |
| font-weight: 700;
| |
| display: block;
| |
| padding: 8px;
| |
| margin: -8px;
| |
| border-radius: 8px;
| |
| transition: all 0.2s ease;
| |
| }
| |
| | |
| .category-card-item .card-title a:hover {
| |
| color: #d97706;
| |
| background: rgba(245, 158, 11, 0.1);
| |
| }
| |
| | |
| /* カード全体をクリック可能にする擬似要素 */
| |
| .category-card-item:not(.disabled) .card-title a::before {
| |
| content: '';
| |
| position: absolute;
| |
| top: 0;
| |
| left: 0;
| |
| right: 0;
| |
| bottom: 0;
| |
| z-index: 1;
| |
| }
| |
| | |
| .category-card-item .card-status {
| |
| font-size: 12px;
| |
| color: #9ca3af;
| |
| background: #f3f4f6;
| |
| padding: 4px 12px;
| |
| border-radius: 12px;
| |
| display: inline-block;
| |
| }
| |
| | |
| /* ========================================
| |
| セクション共通
| |
| ======================================== */
| |
| .area-section {
| |
| margin: 3em 0;
| |
| padding: 2em;
| |
| background: #fff;
| |
| border-radius: 16px;
| |
| border: 1px solid #e5e7eb;
| |
| }
| |
| | |
| .area-section h2 {
| |
| font-size: 24px;
| |
| font-weight: 700;
| |
| color: #111827;
| |
| margin: 0 0 1em 0;
| |
| padding-bottom: 12px;
| |
| border-bottom: 2px solid #f59e0b;
| |
| }
| |
| | |
| .area-section p {
| |
| line-height: 1.8;
| |
| color: #374151;
| |
| margin: 0.8em 0;
| |
| }
| |
| | |
| .area-section ul {
| |
| list-style: none;
| |
| padding: 0;
| |
| margin: 1em 0;
| |
| }
| |
| | |
| .area-section ul li {
| |
| padding: 8px 0 8px 24px;
| |
| position: relative;
| |
| line-height: 1.6;
| |
| color: #374151;
| |
| }
| |
| | |
| .area-section ul li::before {
| |
| content: '•';
| |
| position: absolute;
| |
| left: 8px;
| |
| color: #f59e0b;
| |
| font-weight: bold;
| |
| }
| |
| | |
| /* ========================================
| |
| 関連項目
| |
| ======================================== */
| |
| .related-items {
| |
| display: flex;
| |
| gap: 12px;
| |
| flex-wrap: wrap;
| |
| margin: 1em 0;
| |
| }
| |
| | |
| .related-items a {
| |
| display: inline-block;
| |
| padding: 8px 16px;
| |
| background: #f9fafb;
| |
| border: 1px solid #e5e7eb;
| |
| border-radius: 8px;
| |
| color: #374151;
| |
| text-decoration: none;
| |
| font-size: 14px;
| |
| transition: all 0.2s ease;
| |
| }
| |
| | |
| .related-items a:hover {
| |
| background: #fef3c7;
| |
| border-color: #f59e0b;
| |
| color: #d97706;
| |
| }
| |
| | |
| /* ========================================
| |
| ダークモード
| |
| ======================================== */
| |
| .skin-theme-clientpref-night .area-header h1,
| |
| .skin-theme-clientpref-night .area-section h2 {
| |
| color: #f9fafb;
| |
| }
| |
| | |
| .skin-theme-clientpref-night .area-header {
| |
| border-bottom-color: #f59e0b;
| |
| }
| |
| | |
| .skin-theme-clientpref-night .area-header .area-tagline,
| |
| .skin-theme-clientpref-night .area-section p,
| |
| .skin-theme-clientpref-night .area-section ul li {
| |
| color: #d1d5db;
| |
| }
| |
| | |
| .skin-theme-clientpref-night .category-card-item {
| |
| background: #1e1e1e;
| |
| border-color: #3a3a3a;
| |
| }
| |
| | |
| .skin-theme-clientpref-night .category-card-item .card-title,
| |
| .skin-theme-clientpref-night .category-card-item .card-title a {
| |
| color: #f9fafb;
| |
| }
| |
| | |
| .skin-theme-clientpref-night .category-card-item .card-status {
| |
| background: #374151;
| |
| color: #9ca3af;
| |
| }
| |
| | |
| .skin-theme-clientpref-night .category-card-item:not(.disabled):hover {
| |
| border-color: #f59e0b;
| |
| background: #2a2a2a;
| |
| }
| |
| | |
| .skin-theme-clientpref-night .category-card-item .card-title a:hover {
| |
| color: #fbbf24;
| |
| background: rgba(245, 158, 11, 0.15);
| |
| }
| |
| | |
| .skin-theme-clientpref-night .area-section {
| |
| background: #1e1e1e;
| |
| border-color: #3a3a3a;
| |
| }
| |
| | |
| .skin-theme-clientpref-night .related-items a {
| |
| background: #2a2a2a;
| |
| border-color: #3a3a3a;
| |
| color: #e5e7eb;
| |
| }
| |
| | |
| .skin-theme-clientpref-night .related-items a:hover {
| |
| background: #374151;
| |
| border-color: #f59e0b;
| |
| color: #fbbf24;
| |
| }
| |
| | |
| /* ========================================
| |
| ダークモード(自動)
| |
| ======================================== */
| |
| @media (prefers-color-scheme: dark) {
| |
| .skin-theme-clientpref-os .area-header h1,
| |
| .skin-theme-clientpref-os .area-section h2 {
| |
| color: #f9fafb;
| |
| }
| |
| | |
| .skin-theme-clientpref-os .area-header {
| |
| border-bottom-color: #f59e0b;
| |
| }
| |
| | |
| .skin-theme-clientpref-os .area-header .area-tagline,
| |
| .skin-theme-clientpref-os .area-section p,
| |
| .skin-theme-clientpref-os .area-section ul li {
| |
| color: #d1d5db;
| |
| }
| |
| | |
| .skin-theme-clientpref-os .category-card-item {
| |
| background: #1e1e1e;
| |
| border-color: #3a3a3a;
| |
| }
| |
| | |
| .skin-theme-clientpref-os .category-card-item .card-title,
| |
| .skin-theme-clientpref-os .category-card-item .card-title a {
| |
| color: #f9fafb;
| |
| }
| |
| | |
| .skin-theme-clientpref-os .category-card-item .card-status {
| |
| background: #374151;
| |
| color: #9ca3af;
| |
| }
| |
| | |
| .skin-theme-clientpref-os .category-card-item:not(.disabled):hover {
| |
| border-color: #f59e0b;
| |
| background: #2a2a2a;
| |
| }
| |
| | |
| .skin-theme-clientpref-os .category-card-item .card-title a:hover {
| |
| color: #fbbf24;
| |
| background: rgba(245, 158, 11, 0.15);
| |
| }
| |
| | |
| .skin-theme-clientpref-os .area-section {
| |
| background: #1e1e1e;
| |
| border-color: #3a3a3a;
| |
| }
| |
| | |
| .skin-theme-clientpref-os .related-items a {
| |
| background: #2a2a2a;
| |
| border-color: #3a3a3a;
| |
| color: #e5e7eb;
| |
| }
| |
| | |
| .skin-theme-clientpref-os .related-items a:hover {
| |
| background: #374151;
| |
| border-color: #f59e0b;
| |
| color: #fbbf24;
| |
| }
| |
| }
| |
| | |
| /* ========================================
| |
| レスポンシブ
| |
| ======================================== */
| |
| @media (max-width: 768px) {
| |
| .area-page {
| |
| padding: 16px;
| |
| }
| |
| | |
| .area-header {
| |
| padding: 1.5em 0 2em;
| |
| margin-bottom: 2em;
| |
| }
| |
| | |
| .area-header h1 {
| |
| font-size: 26px;
| |
| }
| |
| | |
| .area-header .area-tagline {
| |
| font-size: 14px;
| |
| }
| |
| | |
| .category-cards {
| |
| grid-template-columns: 1fr;
| |
| gap: 16px;
| |
| margin: 2em 0;
| |
| }
| |
| | |
| .category-card-item {
| |
| padding: 24px 20px;
| |
| }
| |
| | |
| .category-card-item .card-icon {
| |
| font-size: 36px;
| |
| }
| |
| | |
| .category-card-item .card-title,
| |
| .category-card-item .card-title a {
| |
| font-size: 16px;
| |
| }
| |
| | |
| .area-section {
| |
| padding: 1.5em;
| |
| margin: 2em 0;
| |
| }
| |
| | |
| .area-section h2 {
| |
| font-size: 20px;
| |
| }
| |
| }
| |
| </style>
| |
| </html>
| |
| | |
| <div class="area-page"> | | <div class="area-page"> |
| <!-- エリアヘッダー --> | | <!-- エリアヘッダー --> |