@charset "utf-8";
/* CSS Document */
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
        }

        .container {
            max-width: 95%;
            margin: 0 auto;
            padding: 20px;
        }

        h1 {
            font-size: 24px;
            margin-bottom: 20px;
        }

        h2 {
            font-size: 20px;
            margin-bottom: 5px;
        }

/* Add the following CSS to your stylesheet or in a <style> tag in the head of your HTML */

.flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background-color: #E9FFF7; /* Light gray background color */
    padding: 15px; /* Add padding for spacing */
    border-radius: 8px; /* Add rounded corners */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Add a subtle box shadow */
}

.fixed-post {
    width: 40%;
    margin: 10px;
    box-sizing: border-box;
}

@media screen and (max-width: 768px) {
    .fixed-post {
        width: 100%;
        margin: 10px 0;
    }
}

.post-box {
    width: 100%;
    margin: 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    padding: 5px;
}

.new-post{
    width: 100%;
    margin: 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    padding: 5px;
}
.new-post img{
    max-width: calc(40% - 10px);
    height: auto;
}

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

ul li {
    display: inline-block;
    vertical-align: top;
    width: 30%;
    margin: 1%;
}

@media screen and (max-width: 768px) {
    .post-box,
    ul li {
        width: 100%;
        margin: 10px 0;
    }
}

img {
    max-width: 100%;
    height: auto;
}

p {
    margin-bottom: 10px;
}

a {
    text-decoration: none;
}


/* メニューのスタイル */
        .navigation {
            position: fixed;
            top: 0;
            right: -250px; /* 初期状態では右に隠れている状態 */
            width: 250px;
            height: 100vh;
            background-color: #FEE8E8;
            transition: right 0.3s;
            z-index: 9999;
			padding-left: 20px;
        }

        .navigation.open {
            right: 0; /* スライドアウトされた状態 */
        }

        .navigation p {
            margin: 5px;
            font-size: 12px;
        }
.navigation ul {
    padding: 0;
    list-style: none;
}

.navigation ul li {
    margin-bottom: 5px;
	width: 100%;
}

.navigation ul li a {
    display: block;
    padding: 3px;
    text-decoration: none;
    color: #333;
    background-color: #f8f8f8;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 12px;
}

.navigation ul li a:hover {
    background-color: #ccc;
}
		
/* よく見られる投稿のスタイル */
.popular-posts {
    margin-top: 5px;
}

.popular-posts h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.popular-posts ul {
    padding: 0;
    list-style: none;
}

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

.popular-posts ul li a {
    display: block;
    text-decoration: none;
    color: #333;
}

.popular-posts ul li a:hover {
    text-decoration: underline;
}
        .menu-toggle {
            position: fixed;
            top: 10px;
            right: 20px;
            width: 40px;
            height: 40px;
            background-color: #333;
            color: #fff;
            text-align: center;
            line-height: 40px;
            border-radius: 50%;
            cursor: pointer;
            z-index: 99999;
        }

        .menu-toggle.open {
            background-color: #ccc;
        }

        .back-to-top {
            display: none;
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 40px;
            height: 40px;
            background-color: #333;
            color: #fff;
            text-align: center;
            line-height: 40px;
            border-radius: 50%;
            cursor: pointer;
        }

        .back-to-top.show {
            display: block;
            animation: fadeIn 0.3s;
        }

        @keyframes fadeIn {
            0% { opacity: 0; transform: translateY(20px); }
            100% { opacity: 1; transform: translateY(0); }
        }

        footer {
            margin-top: 20px;
            font-size: 12px;
            color: #777;
        }
		
		/* SNS ボタンのスタイル */
        .fixed-sns-buttons {
            position: fixed;
            bottom: 20px;
            left: 20px;
            z-index: 9999;
        }
        
        .fixed-sns-buttons a {
            display: inline-block;
            margin-left: 10px;
        }
/*H1見出し*/
h1 {
    padding:5px 10px;  /*内側の余白*/
    border-bottom:2px dashed #a61919;  /*下線の太さ 種類 色*/
}
	
.icon-text-container {
  display: flex;
  align-items: center; /* 垂直方向の中央揃え */
}

.icon {
 display: inline-block;
 width: 48px;
 height:48px;
 background: url("../img/favicon.ico") no-repeat;
 border-radius: 10px;
}
.icon-text-container i {
  margin-right: 10px; /* アイコンとテキストの間隔 */
}
.icon-text-container h1 {
  margin: 0; /* デフォルトのマージンをリセット */
  text-align: left; /* テキストを右寄せ */
  flex-grow: 1; /* 残りのスペースを埋める */
  display: flex;
  align-items: center; /* 垂直方向の中央揃え */
  justify-content: left; /* 水平方向の中央揃え */
}

.accordion-container {
  margin-bottom: 20px;
}

.accordion-container h3 {
  cursor: pointer;
}

.accordion-content {
  display: none;
  padding: 10px;
  background-color: #f0f0f0;
}
.accordion-container ul {
  list-style-type: none;
  padding: 0;
}

.accordion-container li {
  margin-bottom: 10px;
  display: inline-block;
  font-size: 12px;
  /* 他のスタイルを追加 */
}	