/* --- Basic Settings --- */
body {
    background-color: #f8fafc;
    color: #1e293b;
    margin: 0;
    padding: 0;
}

/* --- Jimdo System Variables Handling --- */
.jimdo-system-vars {
    display: none !important;
    visibility: hidden;
}

/* --- Mameshiba Animation --- */
.mameshiba-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* --- Table Design --- */
.table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    border: 1px solid #e2e8f0;
    padding: 14px;
    text-align: center;
}

th {
    background-color: #f1f5f9;
    font-weight: 700;
}

/* --- Navigation --- */
#navigation ul {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    flex-wrap: wrap;
}

#navigation li {
    list-style: none;
}

#navigation a {
    color: #0f766e;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.875rem;
}

/* --- PHONE ICON FIX (CRITICAL) --- */
/* 電話アイコンが巨大化する問題を強制的に修正 */
.phone-btn svg {
    width: 24px !important;
    height: 24px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    margin-right: 8px !important;
}

.phone-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    max-width: 100%;
}

/* 重複表示対策：Jimdoエディタ側のコンテンツが空でない場合、余白を調整 */
#content:empty {
    display: none;
}