/* ===== 共通設定 ===== */

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #a8e6cf, #dcedc1);
    font-family: 'Arial', sans-serif;
    overflow: hidden;
}

/* ===== メニュー関連 ===== */

.menu-container {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1000;
}

.menu-button {
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    padding: 5px 10px;
    height: auto;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

.menu {
    display: none;
    position: absolute;
    top: 50px;
    left: 10px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 0;
    overflow: hidden;
    z-index: 9999;
}

.menu.active {
    display: block;
}

.menu-inner {
    width: 240px;
    padding: 10px;
}

.menu-item {
    padding: 12px 10px;
    border-bottom: 1px solid #eee;
    font-size: 18px;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item a {
    display: block;
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

.menu-item a:hover {
    background-color: #f2f2f2;
    color: #0073aa;
}

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

.share-buttons {
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 10px;
    z-index: 1000;
}

.share-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    color: white;
    font-size: 22px;
    text-decoration: none;
    transition: transform 0.3s;
}

.share-buttons a.twitter {
    background-color: #1DA1F2;
}

.share-buttons a.line {
    background-color: #06C755;
}

.share-buttons a:hover {
    transform: scale(1.2);
}

/* ===== コンテンツ中央寄せ ===== */

.container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
}

.instructions {
    font-size: 20px;
    color: #555;
    min-height: 40px;
    margin: 10px 0;
}

.circle {
    width: 160px;
    height: 160px;
    background-color: #f4a7b9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    font-weight: bold;
    margin: 30px 0;
    transition: transform 4s ease-in-out;
}

.timer {
    font-size: 18px;
    color: #777;
    margin-top: 10px;
    visibility: hidden;
}

.buttons {
    margin-top: 20px;
    display: flex;
    gap: 20px;
}

button {
    background-color: #ff758c;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 18px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background-color: #ff5266;
}

/* ===== フッター ===== */

.footer {
    position: fixed;
    bottom: 10px;
    width: 100%;
    text-align: center;
    font-size: 14px;
    color: #333;
}
