body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff; /* 背景色を白に */
    color: #202124; /* Googleのテキスト色 */
    line-height: 1.5;
}
.content-container {
    display: flex;
}
.content-menu {
    width: 250px; /* ← ここを広げる */
    min-width: 250px; /* ← ここを広げる */
    height: 100vh;
    overflow-y: auto;
    position: sticky;
    top: 0;
    background-color: #f8f9fa;
    padding: 15px;
    transition: transform 0.3s ease-in-out;
	font-size: 14px; /* ← 文字を小さくする（お好みで調整） */
}

.content-main {
    flex-grow: 1;
    padding: 20px;
    margin-left: 25px;
    overflow-y: auto;
}
/* モバイル対応 */
@media (max-width: 768px) {
    .content-container {
        flex-direction: column;
    }
    .content-menu {
        position: fixed;
        left: -220px;
        width: 200px;
        height: 100%;
        background-color: #fff;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
        transition: left 0.3s ease-in-out;
    }
    .content-menu.open {
        left: 0;
    }
    .menu-toggle {
        display: block;
        position: fixed;
        top: 15px;
        left: 15px;
        background-color: #1A73E8;
        color: white;
        padding: 10px;
        border-radius: 4px;
        cursor: pointer;
        z-index: 1000;
    }
}

.content-main p {
    margin-bottom: 10px;
}
h1, h2, h3 {
    color: #202124;
}
a {
    color: #1A73E8; /* Googleのリンク色 */
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    overflow: hidden;
}
nav {
    padding: 10px 0;
    text-align: center;
}
nav a {
    color: #202124;
    margin: 0 15px;
}
nav a:hover {
    text-decoration: underline;
}
.content {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); /* Google風の影 */
}
.comment {
    border-top: 1px solid #eee;
    padding-top: 10px;
    margin-bottom: 10px;
}
.comment p {
    margin: 5px 0;
}
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
form button {
    background-color: #1A73E8;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
form button:hover {
    background-color: #185ABC;
}
.content-menu ul li a.active {
    font-weight: bold; /* 太字にする */
    background-color: yellow; /* 黄色の背景 */
    color: #1A73E8; /* 文字色を黒にして読みやすく */
    padding: 2px 5px; /* ちょっと余白をつけて綺麗に */
    border-radius: 4px; /* 角を少し丸めて柔らかい印象に */
}
.admin-menu {
    margin-top: 20px;
}
.admin-menu a {
    background-color: #34A853;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    margin-right: 10px;
}
.admin-menu a:hover {
    background-color: #298243;
}
/* レスポンシブデザイン */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }
}
.search-results {
    margin-top: 20px;
}
.search-result-group {
    margin-bottom: 20px;
}
.search-result-group h2 {
    font-size: 1.2em;
    margin-bottom: 10px;
}
.search-result-group ul {
    list-style-type: none;
    padding-left: 0;
}
.search-result-group li {
    margin-bottom: 5px;
}
/* カード全体のレイアウト */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* レスポンシブ対応 */
    gap: 20px;
    padding: 20px;
}

/* 各カード */
.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s ease-in-out;
}
.card:hover {
    transform: translateY(-5px);
}

/* カードの画像 */
.card img {
    width: 100%;
    height: 150px; /* 固定サイズ */
    object-fit: cover; /* 画像をトリミングして崩れないように */
}

/* テキスト部分 */
.card-content {
    padding: 15px;
}
.card-content h3 {
    margin: 0;
    font-size: 1.2em;
}
.card-content a {
    text-decoration: none;
    color: #1A73E8; /* Google風のリンクカラー */
    font-weight: bold;
}
.card-content p {
    margin: 10px 0 0;
    font-size: 0.9em;
    color: #555;
}
#snackbar {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
    font-size: 17px;
}
#snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}
@-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}
@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}
@-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}
@keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}