/* ======== タワレコ風 メッセージコンテナ (グラデーションなし) ======== */
#shared-message-title {
    font-size: 4em;
    font-family: 'Luckiest Guy', 'Arial Black', 'Impact', sans-serif;
    font-weight: 900;
    color: var(--tawareco-red); /* 赤 */
    letter-spacing: 4px; /* より強調 */
    text-transform: uppercase;
    /* タワレコ風のツートンカラーの影 */
    text-shadow: 
        4px 4px 0px var(--tawareco-yellow), /* 黄色/金 */
        8px 8px 0px var(--tawareco-black); /* 黒 */
    padding-bottom: 10px;
    margin-top: 40px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    z-index: 1;
    letter-spacing: 0.15em;
}

.message-container {
    display: flex;
    flex-wrap: wrap;
    margin: 20px auto;
    justify-content: center;
    padding: 50px 40px; /* パディングを増やす */
    /* 背景グラデーションを削除し、シンプルな白の単色に */
    background: var(--tawareco-white);
    /* シンプルな黒の太いボーダー */
    border: 5px solid var(--tawareco-black);
    /* シンプルな影に変更 */
    box-shadow: 
        10px 10px 0px var(--tawareco-yellow), /* 黄色/金 */
        0 15px 35px rgba(0, 0, 0, 0.2);
    position: relative;
    max-width: 750px; /* 最大幅を調整 */
    width: 90%;
    box-sizing: border-box;
}


/* 糸の縫い目を表現 */
.message-container {
    position: relative;
}

.message-container::before {
    content: '';
    position: absolute;
    top: 10px; /* 枠線から少し内側 */
    left: 10px; /* 枠線から少し内側 */
    right: 10px; /* 枠線から少し内側 */
    bottom: 10px; /* 枠線から少し内側 */
    border: 2px dashed #666; /* ダッシュのボーダーで縫い目を表現 */
    pointer-events: none; /* クリックイベントをブロックしないように */
    z-index: 2; /* コンテンツの上に表示 */
}


.message-panel {
    position: relative;
    z-index: 1;
    width: 100%;
}

.message-text {
    font-size: 1.15em;
    line-height: 1.8;
    text-align: center;
    max-width: 100%;
    position: relative;
    z-index: 1;
    color: var(--text-color);
    letter-spacing: 0.1em;
    font-weight: 400;
    font-family: "Yusei Magic", sans-serif;
}

.message-date {
    font-size: 1.2em;
    color: var(--tawareco-red); /* 赤 */
    background-color: var(--tawareco-yellow); /* 黄色/金 */
    padding: 10px 25px; /* パディングを調整 */
    display: inline-block;
    margin-block-start: 25px;
    margin-block-end: 15px;
    width: fit-content;
    font-family: 'Yusei Magic', sans-serif;
    font-weight: 900;
    /* ボーダーをシンプルに */
    border: 3px solid var(--tawareco-black);
    border-radius: 4px;
    position: relative;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 2px 2px 0px var(--tawareco-black);
}


/* ======== モバイル調整 ======== */
@media (max-width: 600px) {
    .message-container {
        margin: 20px auto;
        padding: 30px 30px;
        border-width: 4px;
    }
    

    .message-text {
        font-size: 1rem;
        line-height: 1.7;
    }

    #shared-message-title {
        font-size: 3rem;
        margin: 20px 0 20px 0;
    }

    .message-date {
        font-size: 1rem;
        padding: 8px 18px;
        border-width: 2px;
    }
}