@charset "UTF-8";
/* CSS Document */
/* --- 既存のスタイル --- */
        body {
            background-color: #1a1a1a;
            color: #e0e0e0;
            font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 0px 20px 40px ;
            margin: 0;
        }
        #header {
            width: 324px;
        }
        #header img{
            width:100%;
        }
        #card-container {
            width: 250px;
            height: 430px;
            perspective: 1000px;
            margin-bottom: 30px;
        }
        #card {
            width: 100%;
            height: auto;
            border-radius: 12px;
            box-shadow: 0 0 20px rgba(0,0,0,0.5);
            transition: transform 0.6s, opacity 1s;
            opacity: 1;
        }
        .reversed { transform: rotate(180deg); }
        .fade-out { opacity: 0; }

        #btn {
            padding: 15px 40px;
            font-size: 1.1em;
            background-color: #d4a017;
            color: #1a1a1a;
            border: none;
            border-radius: 30px;
            cursor: pointer;
            font-weight: bold;
            box-shadow: 0 4px 15px rgba(212, 160, 23, 0.3);
            transition: 0.3s;
            z-index: 10;
        }
        #btn:hover { background-color: #f3c137; transform: translateY(-2px); }

        .comment-wrap {
            max-width: 500px;
            margin-top: 30px;
            text-align: center;
            opacity: 0;
            transition: opacity 1s;
        }
        .comment-wrap.visible { opacity: 1; }
        .card-name { font-size: 1.5em; color: #f3c137; margin-bottom: 10px; }
        .meaning { font-weight: bold; margin-bottom: 15px; line-height: 1.6; }
        .advice {
            font-size: 0.95em;
            line-height: 1.8;
            color: #ccc;
            text-align: left;
            background: rgba(255,255,255,0.05);
            padding: 15px;
            border-radius: 10px;
        }

        /* --- 新規追加：履歴エリアのスタイル --- */
        #history-area {
            width: 100%;
            max-width: 500px;
            margin-top: 60px;
            border-top: 1px solid #333;
            padding-top: 30px;
        }
        .history-title {
            font-size: 1.2em;
            color: #d4a017;
            margin-bottom: 20px;
            text-align: center;
            letter-spacing: 0.1em;
        }
        .history-list {
            list-style: none;
            padding: 0;
        }
        .history-item {
            background: rgba(255, 255, 255, 0.03);
            margin-bottom: 10px;
            padding: 12px 20px;
            border-radius: 8px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.9em;
            animation: fadeIn 0.5s ease forwards;
        }
        .history-date { color: #888; font-size: 0.8em; }
        .history-card-name { color: #e0e0e0; }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

/* --- シェアボタン --- */

    #share-btn-x {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    color: #d4a017;
    border: 1px solid #d4a017;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85em;
    transition: all 0.3s;
}
    #share-btn-x::before{
        content: '';/*何も入れない*/
         display: inline-block;
        width: 16px;/*画像の幅*/
        height: 16px;/*画像の高さ*/
        background-image: url(../img/xlogo-white.png);
        background-size: contain;
        vertical-align: middle;
        background-repeat: no-repeat;
    }



#share-btn-x:hover {
    background-color: rgba(212, 160, 23, 0.1);
    transform: scale(1.05);
}

        /* --- コンセプト・ガイドのスタイル --- */
#guide-area {
    width: 100%;
    max-width: 500px;
    margin-top: 60px;
    margin-bottom: 80px; /* 下に余白を作る */
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px dashed #444; /* 控えめな囲み枠 */
}

.guide-title {
    font-size: 1.1em;
    color: #d4a017;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 0.15em;
}

.guide-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guide-list li {
    font-size: 0.85em;
    line-height: 1.8;
    color: #aaa;
    margin-bottom: 15px;
    position: relative;
    padding-left: 1.5em;
}

/* 箇条書きのドットを小さな光（ランタン）のように表現 */
.guide-list li::before {
    content: "●";
    color: #d4a017;
    font-size: 0.6em;
    position: absolute;
    left: 0;
    top: 0.1em;
    opacity: 0.7;
}

.guide-list li:last-child {
    margin-bottom: 0;
}

.copyright{
    font-size:small;
}