/*
 * AWS SAP学習リソース - cognito-pre-signup-trigger-guide 専用CSS
 * ページ固有のレイアウト・セクション・コンポーネントスタイル
 *
 * 自動生成日: 2026-01-11 18:19:00
 */

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
            min-height: 100vh;
            padding: 40px 20px;
            line-height: 1.8;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
        }
        
        /* ヘッダー */
        .header {
            background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ffcc02 100%);
            border-radius: 30px;
            padding: 50px;
            text-align: center;
            margin-bottom: 40px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
            position: relative;
            overflow: hidden;
        }
        
        .header::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
            animation: rotate 20s linear infinite;
        }
        
        @keyframes rotate {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
        
        .header h1 {
            font-size: 2.8em;
            color: white;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
            margin-bottom: 15px;
            position: relative;
            z-index: 1;
        }
        
        .header .subtitle {
            font-size: 1.3em;
            color: rgba(255,255,255,0.95);
            position: relative;
            z-index: 1;
        }
        
        .header .icon {
            font-size: 4em;
            margin-bottom: 20px;
            position: relative;
            z-index: 1;
        }
        
        /* セクション共通 */
        .section {
            background: white;
            border-radius: 25px;
            padding: 45px;
            margin-bottom: 35px;
            box-shadow: 0 15px 50px rgba(0,0,0,0.15);
        }
        
        .section-title {
            font-size: 1.9em;
            margin-bottom: 30px;
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .section-title .emoji {
            font-size: 1.3em;
        }
        
        /* たとえ話セクション */
        .analogy-section {
            background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
        }
        
        .analogy-section .section-title {
            color: #2e7d32;
        }
        
        .analogy-box {
            background: white;
            border-radius: 20px;
            padding: 35px;
            box-shadow: 0 8px 30px rgba(46, 125, 50, 0.15);
        }
        
        .analogy-title {
            font-size: 1.5em;
            color: #1b5e20;
            margin-bottom: 25px;
            text-align: center;
        }
        
        .analogy-comparison {
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            gap: 30px;
            align-items: center;
        }
        
        .analogy-item {
            background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
            border-radius: 15px;
            padding: 25px;
            text-align: center;
        }
        
        .analogy-item.aws {
            background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
        }
        
        .analogy-item .icon {
            font-size: 3.5em;
            margin-bottom: 15px;
        }
        
        .analogy-item h4 {
            font-size: 1.2em;
            color: #e65100;
            margin-bottom: 10px;
        }
        
        .analogy-arrow {
            font-size: 3em;
            color: #ff9800;
        }
        
        .analogy-detail {
            margin-top: 30px;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
        }
        
        .analogy-detail-card {
            background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
            border-radius: 12px;
            padding: 20px;
            border-left: 5px solid #1976d2;
        }
        
        .analogy-detail-card h5 {
            color: #1565c0;
            font-size: 1.1em;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        /* フロー図 */
        .flow-section {
            background: linear-gradient(135deg, #e1f5fe 0%, #b3e5fc 100%);
        }
        
        .flow-section .section-title {
            color: #0277bd;
        }
        
        .flow-container {
            display: flex;
            flex-direction: column;
            gap: 0;
            align-items: center;
        }
        
        .flow-step {
            display: flex;
            align-items: center;
            gap: 25px;
            width: 100%;
            max-width: 900px;
        }
        
        .flow-step.reverse {
            flex-direction: row-reverse;
        }
        
        .flow-number {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5em;
            font-weight: bold;
            color: white;
            flex-shrink: 0;
            box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
        }
        
        .flow-card {
            flex: 1;
            background: white;
            border-radius: 15px;
            padding: 25px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            position: relative;
        }
        
        .flow-card h4 {
            color: #0277bd;
            font-size: 1.2em;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .flow-arrow {
            text-align: center;
            font-size: 2.5em;
            color: #0288d1;
            padding: 10px 0;
        }
        
        .flow-highlight {
            background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
            border: 3px solid #ff9800;
            position: relative;
        }
        
        .flow-highlight::after {
            content: '⭐ ここがPre Sign-up!';
            position: absolute;
            top: -15px;
            right: 20px;
            background: #ff9800;
            color: white;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.85em;
            font-weight: bold;
        }
        
        /* ユースケース */
        .usecase-section {
            background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%);
        }
        
        .usecase-section .section-title {
            color: #c2185b;
        }
        
        .usecase-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
        }
        
        .usecase-card {
            background: white;
            border-radius: 20px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(194, 24, 91, 0.15);
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .usecase-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 50px rgba(194, 24, 91, 0.25);
        }
        
        .usecase-card .icon {
            font-size: 3em;
            margin-bottom: 15px;
        }
        
        .usecase-card h4 {
            color: #ad1457;
            font-size: 1.2em;
            margin-bottom: 12px;
        }
        
        .usecase-card p {
            color: #666;
            font-size: 0.95em;
            margin-bottom: 15px;
        }
        
        .usecase-example {
            background: #f3e5f5;
            border-radius: 10px;
            padding: 12px 15px;
            font-size: 0.9em;
            color: #7b1fa2;
        }
        
        /* イベント構造 */
        .event-section {
            background: linear-gradient(135deg, #ede7f6 0%, #d1c4e9 100%);
        }
        
        .event-section .section-title {
            color: #512da8;
        }
        
        .event-box {
            background: white;
            border-radius: 20px;
            padding: 30px;
            box-shadow: 0 8px 30px rgba(81, 45, 168, 0.15);
            margin-bottom: 25px;
        }
        
        .event-box h4 {
            color: #512da8;
            font-size: 1.3em;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .code-block {
            background: #1e1e1e;
            border-radius: 12px;
            padding: 25px;
            overflow-x: auto;
            font-family: 'Consolas', 'Monaco', monospace;
            font-size: 0.9em;
            line-height: 1.6;
        }
        
        .code-block pre {
            color: #d4d4d4;
            margin: 0;
        }
        
        .code-key { color: #9cdcfe; }
        .code-string { color: #ce9178; }
        .code-boolean { color: #569cd6; }
        .code-comment { color: #6a9955; }
        .code-number { color: #b5cea8; }
        
        .field-explanation {
            margin-top: 20px;
            display: grid;
            gap: 12px;
        }
        
        .field-item {
            display: flex;
            gap: 15px;
            padding: 12px 15px;
            background: #f5f3ff;
            border-radius: 10px;
            align-items: flex-start;
        }
        
        .field-name {
            background: #7c4dff;
            color: white;
            padding: 4px 12px;
            border-radius: 6px;
            font-family: monospace;
            font-size: 0.9em;
            flex-shrink: 0;
        }
        
        /* レスポンス */
        .response-section {
            background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
        }
        
        .response-section .section-title {
            color: #f57c00;
        }
        
        .response-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
        }
        
        .response-card {
            background: white;
            border-radius: 20px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(245, 124, 0, 0.15);
        }
        
        .response-card h4 {
            color: #e65100;
            font-size: 1.2em;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .response-option {
            background: #fff3e0;
            border-radius: 12px;
            padding: 15px;
            margin-top: 15px;
        }
        
        .response-option h5 {
            color: #ef6c00;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        /* 実装例 */
        .implementation-section {
            background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%);
        }
        
        .implementation-section .section-title {
            color: #00695c;
        }
        
        .impl-tabs {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }
        
        .impl-tab {
            background: white;
            border: none;
            padding: 12px 25px;
            border-radius: 10px;
            cursor: pointer;
            font-size: 1em;
            transition: all 0.3s;
            color: #00695c;
            font-weight: 600;
        }
        
        .impl-tab:hover, .impl-tab.active {
            background: #00897b;
            color: white;
        }
        
        .impl-content {
            display: none;
        }
        
        .impl-content.active {
            display: block;
        }
        
        .impl-box {
            background: white;
            border-radius: 20px;
            padding: 30px;
            box-shadow: 0 8px 30px rgba(0, 105, 92, 0.15);
        }
        
        .impl-description {
            background: #e0f7fa;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 20px;
            border-left: 5px solid #00acc1;
        }
        
        /* ベストプラクティス */
        .best-practice-section {
            background: linear-gradient(135deg, #e8eaf6 0%, #c5cae9 100%);
        }
        
        .best-practice-section .section-title {
            color: #303f9f;
        }
        
        .best-practice-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 25px;
        }
        
        .best-practice-card {
            background: white;
            border-radius: 20px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(48, 63, 159, 0.15);
        }
        
        .best-practice-card.do {
            border-top: 5px solid #4caf50;
        }
        
        .best-practice-card.dont {
            border-top: 5px solid #f44336;
        }
        
        .best-practice-card h4 {
            font-size: 1.3em;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .best-practice-card.do h4 {
            color: #2e7d32;
        }
        
        .best-practice-card.dont h4 {
            color: #c62828;
        }
        
        .best-practice-list {
            list-style: none;
        }
        
        .best-practice-list li {
            padding: 12px 0;
            border-bottom: 1px solid #eee;
            display: flex;
            align-items: flex-start;
            gap: 12px;
        }
        
        .best-practice-list li:last-child {
            border-bottom: none;
        }
        
        .best-practice-list .icon {
            flex-shrink: 0;
            font-size: 1.2em;
        }
        
        /* 比較表 */
        .comparison-section {
            background: linear-gradient(135deg, #efebe9 0%, #d7ccc8 100%);
        }
        
        .comparison-section .section-title {
            color: #5d4037;
        }
        
        .comparison-table {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(93, 64, 55, 0.15);
        }
        
        .comparison-table table {
            width: 100%;
            border-collapse: collapse;
        }
        
        .comparison-table th {
            background: linear-gradient(135deg, #8d6e63 0%, #6d4c41 100%);
            color: white;
            padding: 18px 15px;
            text-align: left;
            font-size: 1em;
        }
        
        .comparison-table td {
            padding: 16px 15px;
            border-bottom: 1px solid #eee;
            vertical-align: top;
        }
        
        .comparison-table tr:last-child td {
            border-bottom: none;
        }
        
        .comparison-table tr:hover td {
            background: #fafafa;
        }
        
        .trigger-badge {
            display: inline-block;
            padding: 4px 12px;
            border-radius: 6px;
            font-size: 0.85em;
            font-weight: 600;
        }
        
        .trigger-badge.pre-signup {
            background: #ff9800;
            color: white;
        }
        
        .trigger-badge.post-confirm {
            background: #4caf50;
            color: white;
        }
        
        .trigger-badge.pre-auth {
            background: #2196f3;
            color: white;
        }
        
        /* まとめ */
        .summary-section {
            background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ffcc02 100%);
            color: white;
        }
        
        .summary-section .section-title {
            color: white;
        }
        
        .summary-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 25px;
        }
        
        .summary-card {
            background: rgba(255,255,255,0.2);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 30px;
            text-align: center;
        }
        
        .summary-card .icon {
            font-size: 3em;
            margin-bottom: 15px;
        }
        
        .summary-card h4 {
            font-size: 1.2em;
            margin-bottom: 12px;
        }
        
        .key-point {
            background: rgba(255,255,255,0.15);
            border-radius: 15px;
            padding: 25px;
            margin-top: 30px;
            text-align: center;
        }
        
        .key-point h4 {
            font-size: 1.4em;
            margin-bottom: 15px;
        }
        
        /* レスポンシブ */
        @media (max-width: 768px) {
            .header h1 {
                font-size: 2em;
            }
            
            .section {
                padding: 30px 20px;
            }
            
            .analogy-comparison {
                grid-template-columns: 1fr;
            }
            
            .analogy-arrow {
                transform: rotate(90deg);
            }
            
            .flow-step:nth-child(n) {
                flex-direction: column;
                text-align: center;
            }
            
            .comparison-table {
                overflow-x: auto;
            }
        }
    
        
        

        

        

        

        

        

        

        /* 読書進捗インジケーター */
        

        

        

        /* トップに戻るボタン */
        

        

        

        

        /* Mobile responsive */
        @media (max-width: 768px) {
            

            

            

            

            
        }

    
        
        

        

        

        

        

        

        @media (max-width: 768px) {
            
        }