/* 全体のスタイル */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #2c3e50;
    color: #ecf0f1;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
}

/* タイトル */
h1 {
    font-size: 2rem;
    color: #1abc9c;
    text-align: center;
    margin-bottom: 20px;
}

/* 日付入力フォーム */
label {
    font-size: 1.1rem;
    margin-right: 10px;
}

input[type="date"] {
    padding: 10px;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #16a085;
    margin-bottom: 20px;
    background-color: #34495e;
    color: #ecf0f1;
    transition: background-color 0.3s ease;
}

input[type="date"]:focus {
    background-color: #1abc9c;
    outline: none;
}

/* 結果表示 */
#selectedDates {
    font-size: 1.2rem;
    margin-top: 20px;
    text-align: center;
    margin-bottom: 30px;
}

#selectedDates span {
    font-weight: bold;
}

/* 結果セクション */
#results p {
    font-size: 1.1rem;
    background-color: #34495e;
    padding: 15px;
    border-radius: 5px;
    margin: 10px 0;
    width: 80%;
    text-align: center;
    transition: background-color 0.3s ease;
}

#results p:hover {
    background-color: #1abc9c;
}

/* ボタン（もしあれば） */
button {
    padding: 15px 30px;
    font-size: 1rem;
    background-color: #1abc9c;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #16a085;
}

/* メディアクエリ（レスポンシブ対応） */
@media (max-width: 768px) {
    body {
        font-size: 1rem;
    }

    h1 {
        font-size: 1.6rem;
    }

    input[type="date"], button {
        width: 100%;
        margin-top: 10px;
    }

    #results p {
        font-size: 1rem;
    }
}

#results {
    width: 90%;
    margin-top: 30px;
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #34495e;
    padding: 10px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-size: 1.1rem;
}

.result-row > div {
    flex: 1;
    text-align: center;
    color: #ecf0f1;
}

.result-row .label {
    font-weight: bold;
    color: #1abc9c;
}
.date-summary {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 20px;
    padding: 15px 20px;
    background-color: #34495e;
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 30px;
    color: #ecf0f1;
    width: 90%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    text-align: center;
}

.date-summary .item {
    white-space: nowrap;
}

/* スマホ表示向けのメディアクエリ */
@media (max-width: 600px) {
    .date-summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .date-summary .item {
        width: 100%;
        text-align: left;
    }
}
#fixed-footer {
    position: fixed;
    bottom: 10px;
    right: 15px;
    color: #d6d6d6;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.9rem;
}

#fixed-footer:hover {
    opacity: 1;
}
/* ハンバーガーメニュー基礎 */
.hamburger-menu {
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1100;
}

.hamburger-icon {
    font-size: 24px;
    cursor: pointer;
    color: #fff;
    background: #2c3e50;
    padding: 10px 14px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.hamburger-icon:hover {
    background: #34495e;
}

/* メニュー本体 */
.menu {
    display: none;
    position: absolute;
    top: 50px;
    left: 0;
    background-color: #2c3e50;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    padding: 10px 0;
    width: 180px;
}

.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu ul li a {
    display: block;
    padding: 10px 16px;
    text-decoration: none;
    color: #ecf0f1;
    transition: background 0.2s;
}

.menu ul li a:hover {
    background-color: #34495e;
}

#X_link{
    color: #acf5ff;
}
#X_link:hover{
    color: #ff7474;
}
.centered-container {
    text-align: center; /* テキストを中央寄せ */
    font-size: 1.5em; /* フォントサイズを倍に */
}

/* YouTube埋め込み用スタイル */
#myyoutube {
    width: 90%;
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: #34495e;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    text-align: center;
}

#myyoutube iframe {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 8px;
}