        /* 基本のリセット */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Arial', sans-serif;
            color: #333;
            background-color: #f4f4f4;
            line-height: 1.6;
        }
        
.header {
            background-color: #333;
            color: #fff;
            padding: 20px 0;
            text-align: center;
}

.header h1 {
            font-size: 2rem;
            font-weight: normal;
}

        nav {
            margin-top: 15px;
        }

        nav a {
            color: #fff;
            margin: 0 15px;
            text-decoration: none;
            font-size: 1.1rem;
        }

        nav a:hover {
            border-bottom: 2px solid #fff;
        }

        .hero {
            background-image: url('https://pan-kashi-note.com/images/pan-kashi-note_top.jpg');
            background-size: cover;
            background-position: center;
            height: 40vh;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #fff;
        }

        .hero h1 {
            color: #fff;
            font-size: 2rem;
            text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
        }

        .container {
            display: flex;
            max-width: 1000px;
            margin: 40px auto;
            padding: 0 20px;
        }

        .sidebar {
    background-color: #fff;
    padding: 20px;
    margin-right: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-family: 'Arial', sans-serif;
    color: #333;
}
.sidebar-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #444;
    border-bottom: 2px solid #007BFF;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.menu-section {
    margin-bottom: 30px;
}
.menu-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #007BFF;
}

.menu-list {
    list-style-type: none;
    padding-left: 0;
}

.menu-list li {
    margin-bottom: 10px;
}

.menu-list li a {
    text-decoration: none;
    color: #555;
    font-size: 1.1rem;
    display: block;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.menu-list li a:hover {
    background-color: #007BFF;
    color: #fff;
}

.menu-list li a:active {
    background-color: #0056b3;
}

.menu-list li a[target="_blank"]::after {
    content: ' ↗';
    font-size: 0.9rem;
    color: #007BFF;
}
        .sidebar h3 {
            font-size: 1.5rem;
            margin-bottom: 15px;
        }

        .sidebar ul {
            list-style-type: none;
            padding-left: 0;
        }

        .sidebar ul li {
            margin-bottom: 10px;
        }

        .sidebar ul li a {
            text-decoration: none;
            color: #333;
            font-size: 1.1rem;
        }

        .sidebar ul li a:hover {
            color: #007BFF;
        }

        .content {
            flex: 2;
            background-color: #fff;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .content h2 {
            font-size: 2rem;
            margin-bottom: 20px;
        }

        .content p {
            font-size: 1.2rem;
            line-height: 1.8;
            color: #666;
        }

        .latest-post {
            background-color: #fff;
            border: 2px solid #e0e0e0;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            padding: 20px;
            margin: 20px 0;
            border-radius: 10px;
            transition: transform 0.3s ease;
        }

        .latest-post:hover {
            transform: translateY(-5px);
        }
        
        /* 最新の投稿セクション */
.latest-post {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.latest-post p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #333;
}

/* 記事一覧のヘッダー */
.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.post-summary, .post-category {
    font-size: 1em;
    color: #555;
}

.pagination {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.pagination a {
    color: #007bff;
    text-decoration: none;
}

.pagination a:hover {
    text-decoration: underline;
}

/* 記事のリスト */
.post-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.post-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.post-image {
    /*width: 80px;
    height: 80px;*/
    border-radius: 8px;
    object-fit: cover;
}

.post-content {
    max-width: calc(100% - 100px);
}

.post-title {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
    text-decoration: none;
}

.post-title:hover {
    color: #007bff;
}

.post-category {
    font-size: 0.9em;
    color: #888;
    margin-bottom: 10px;
}

.post-excerpt {
    font-size: 1em;
    color: #666;
}

/* 横線（区切り） */
hr {
    border: 0;
    height: 1px;
    background-color: #ddd;
    margin: 20px 0;
}

        footer {
            background-color: #333;
            color: #fff;
            text-align: center;
            padding: 20px;
            position: relative;
            bottom: 0;
            width: 100%;
        }

        footer p {
            margin: 0;
            font-size: 0.9rem;
        }
/*-------------------------------------------------------- PC向けのスタイル ------------------------------------------------------------------------------------*/
@media screen and (min-width: 950px) {
.sp_mode_only {
     display: none;
}

}


/*-------------------------------------------------------- スマホ向けのスタイル ------------------------------------------------------------------------------------*/
@media screen and (max-width:950px) {
.pc_mode_only {
     display: none;
}
/*---------- ここからスマホ用メニュー ----------*/
/* ヘッダーの全体スタイル */
header {
  padding: 5px 35px 0px 5px;
  margin-top: 12px;
  display: block;
  position: relative; /* 相対配置で要素を制御 */
}

/* ハンバーガーメニューの表示部分 */
#nav-open {
  display: inline-block;
  width: auto;
  position: absolute;
  right: 15px; /* 右端に配置 */
  top: 0;
  cursor: pointer;
}

/* ハンバーガーメニューの3本線 */
.hamburger-menu {
  display: inline-block;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
}

.hamburger-menu span,
.hamburger-menu span:before,
.hamburger-menu span:after {
  position: absolute;
  height: 4px; /* 線の太さ */
  width: 30px; /* 線の長さ */
  border-radius: 3px; /* 角を少し丸く */
  background: #555;
  display: block;
  content: '';
}

.hamburger-menu span {
  top: 0; /* 一番上の線 */
}

.hamburger-menu span:before {
  top: 10px; /* 真ん中の線 */
}

.hamburger-menu span:after {
  top: 20px; /* 一番下の線 */
}

/* メニューが展開されたときに背景をカバー */
#nav-close {
  display: none; /* 初期状態では非表示 */
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  transition: 0.3s ease-in-out;
}

#nav-input:checked ~ #nav-close {
  display: block;
  opacity: 0.5;
}

/* メニューコンテンツのスライド表示 */
#nav-content {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 9999;
  width: 90%;
  max-width: 308px;
  height: 100%;
  background: #fff;
  transition: 0.3s ease-in-out;
  transform: translateX(105%);
  box-shadow: 6px 0 25px rgba(0, 0, 0, 0.15);
  text-align: left;
  overflow-x: auto;
}

#nav-input:checked ~ #nav-content {
  transform: translateX(0%); /* メニュー表示（右からスライド） */
}

/* チェックボックスは非表示 */
.nav-unshown {
  display: none;
}

/* 閉じるマークのデザイン */
#close-mark {
  display: flex;
  justify-content: center; /* 横方向の中央揃え */
  align-items: center;     /* 縦方向の中央揃え */
  width: 100%;             /* 幅を100%に */
  height: 50px;            /* 高さを指定して、中央揃えが機能するように */
  background-color: skyblue; /* 背景色を水色に */
  cursor: pointer;
}

#close-mark b {
  font-size: 28pt;
  color: #fff; /* テキストの色を白にして、背景とコントラストを持たせる */
}



/*---------- ここまでスマホ用メニュー ----------*/

}
