/* ==================================================
   手遅れブティック main.css
   完全版（横揺れ対策済み）
================================================== */


/* ======================
   基本リセット
====================== */

html,
body {
    margin: 0;
    padding: 0;
    background-color: #0b0b0b;
    font-family: "MS PGothic", monospace, sans-serif;
    color: #f0f0f0;
    line-height: 1.7;
    letter-spacing: 0.05em;
    overflow-x: hidden; /* 横スクロール防止 */
}


/* ======================
   タイトルのネオン演出
====================== */

.neon-title {
    color: #ff99cc;
    text-align: center;
    font-size: 2.2rem;
    margin: 40px 0 20px;
    text-shadow:
        0 0 5px #ff66cc,
        0 0 10px #ff66cc,
        0 0 20px #ff66cc;
}

.blink {
    animation: blink 2.2s infinite;
}

@keyframes blink {
    0%,
    50%,
    100% {
        opacity: 1;
    }
    25%,
    75% {
        opacity: 0.6;
    }
}


/* ======================
   intro box
====================== */

.intro-box {
    max-width: 720px;
    margin: 0 auto;
    background-color: rgba(20, 20, 20, 0.85);
    border-radius: 12px;
    padding: 24px 32px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
    text-align: center;
}

.intro-box p {
    max-width: 540px;
    margin: 0 auto 1.4em;
    font-size: 14.5px;
    color: #e8e8e8;
}


/* ======================
   更新履歴（スクロール＋整列）
====================== */

.update-log {
    margin-top: 28px;
    max-height: 180px;
    overflow-y: auto;

    font-family: "MS PGothic", monospace;
    font-size: 13px;
    color: #ccffff;

    background: rgba(0, 20, 20, 0.4);
    border: 1px solid #004444;
    border-radius: 6px;
    padding: 10px 16px;

    box-shadow: inset 0 0 6px rgba(0, 255, 255, 0.2);

    scrollbar-width: thin;
    scrollbar-color: #00cccc #111;
}

.update-log::-webkit-scrollbar {
    width: 6px;
}

.update-log::-webkit-scrollbar-thumb {
    background: #00cccc;
    border-radius: 4px;
}

.update-title {
    font-size: 1.1em;
    color: #66ffff;
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 0 0 4px #00cccc;
}

.update-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.update-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    align-items: baseline;
    border-bottom: 1px dotted rgba(0, 255, 255, 0.15);
    padding: 3px 0;
}

.update-item .date {
    color: #99ffee;
    font-family: "Courier New", monospace;
    text-align: right;
    padding-right: 8px;
    white-space: nowrap;
}

.update-item .desc {
    color: #e0ffff;
    text-shadow: 0 0 3px rgba(0, 255, 255, 0.3);
    word-break: break-word;
    overflow-wrap: break-word;
}


/* ======================
   手遅れノート
====================== */

.oteokure-notes {
    max-width: 720px;
    margin: 36px auto 0;
}

.notes-title {
    color: #ffccff;
    font-size: 1.2rem;
    text-align: center;
    border-bottom: 1px dashed #ff99ff;
    padding-bottom: 6px;
    margin-bottom: 16px;
}


/* ======================
   ノートカード
====================== */

.note-card {
    background-color: #111;
    border: none;
    border-radius: 6px;
    padding: 16px 20px;
    margin-bottom: 16px;
    width: 100%;
    box-sizing: border-box;
    color: #f0f0f0;
    box-shadow: 0 0 8px rgba(0, 255, 204, 0.2);
}

.note-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 16px rgba(0, 255, 204, 0.15);
}

.note-date {
    display: block;
    font-size: 12px;
    color: #00ffee;
    margin-bottom: 6px;
    font-family: "MS PGothic", monospace;
}

.note-text {
    font-size: 15px;
    line-height: 1.8;
    color: #e0e0e0;
    margin-bottom: 16px;
    text-align: justify;
    text-justify: inter-ideograph;
    white-space: pre-line;
}


/* ======================
   動画レスポンシブ
====================== */

.video-wrap {
    position: relative;
    width: 100%;
    max-width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 6px;
    margin: 12px 0 20px;
}

.video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}


/* ======================
   過去ログリンク
====================== */

.note-archive-link {
    text-align: center;
    margin-top: 12px;
}

.note-archive-link a {
    color: #00ffee;
    text-decoration: none;
}

.note-archive-link a:hover {
    text-decoration: underline;
}


/* ======================
   Fortuneボタン
====================== */

.fortunes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
    max-width: 100%;
}

.fortune-btn {
    width: 210px;
    text-align: center;
}


/* ======================
   PC表示（2列）
====================== */

@media screen and (min-width: 768px) {
    .fortunes {
        gap: 16px 32px;
        max-width: 720px;
        margin: 24px auto;
    }

    .fortunes .fortune-btn {
        flex: 0 0 calc(50% - 32px);
        box-sizing: border-box;
        width: auto !important;
        padding: 14px 20px;
        font-size: 15px;
    }
}


/* ======================
   リンク演出
====================== */

.intro-links {
    list-style: none;
    padding: 0;
    margin: 18px auto;
    text-align: center;
}

.intro-links li {
    display: inline-block;
    margin: 0 10px 6px;
}

.intro-links li a {
    color: #00ffcc;
    text-decoration: none;
    font-weight: bold;
    text-shadow:
        0 0 4px #00ffcc,
        0 0 8px #00ffee;
    transition:
        color 0.3s,
        transform 0.2s,
        text-shadow 0.2s;
}

.intro-links li a:hover {
    color: #ff99ff;
    text-shadow:
        0 0 6px #ff99ff,
        0 0 14px #ff66ff;
}


/* ======================
   画像
====================== */

.image-wrap {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.image-wrap img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}


/* ======================
   フッター
====================== */

footer {
    text-align: center;
    color: #777;
    font-size: 12px;
    margin: 40px 0 30px;
    line-height: 1.6;
}


/* ======================
   時計リンク
====================== */

a.clock-link {
    color: #ccffff;
    text-decoration: none;
    font-weight: bold;
}

a.clock-link:hover {
    color: #ffff99;
    text-shadow:
        0 0 4px #ffff99,
        0 0 8px #ccffff;
}
/* ======================
   6/1プロフ修正
====================== */

.profile-box{
    text-align:center;
    max-width:540px;
    margin:0 auto;
}
.widget {
    text-align:center;
}