body{
    margin: 0;
    font-family: sans-serif;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
    background-color: rgb(21, 141, 137);
}

.search-bar {
    flex: 1;
}

.search-form {
    position: relative;
    width: 60%;
    max-width: 600px;
}

.search-form input {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #fff;
    font-size: 16px;
    background-image: url('path/to/magnifying-glass-icon.png');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px 20px;
}

.search-form button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    cursor: pointer;
}

.search-form button img {
    width: 20px;
    height: 20px;
}

/* ヘッダーメニュー */
.menu-bar {
    position: relative;
    background-color: #256764;
    display: flex;
    justify-content: flex-end;
    padding: 10px;
}

.menu-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.menu-icon span {
    width: 30px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s linear;
    position: relative;
}

.menu-icon.open span:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
}

.menu-icon.open span:nth-child(2) {
    opacity: 0;
}

.menu-icon.open span:nth-child(3) {
    transform: rotate(-45deg);
    top: -10px;
}

.menu {
    display: none;
    flex-direction: column;
    background-color: #1c4e4c;
    position: absolute;
    top: 100%;
    right: 0; /* 右側に揃える */
    width: auto; /* 自動幅 */
    min-width: 300px; /* 最小幅を設定 */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: max-height 0.3s ease-out;
    overflow: hidden;
    max-height: 0;
    z-index: 1000;
}

.menu.open {
    display: flex;
    max-height: 500px; /* メニューの最大高さを設定 */
}

.menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu li {
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

.menu li a{
    color: #fff;
    text-decoration: none;
}

.menu li:last-child {
    border-bottom: none;
}

.header{
    background-color: #1ABAB4;
    color: #ffffff;
    text-align: center;
    padding: 10px;
    transition: transform 0.3s ease-out;
}

/* PC画面用のスタイル */
@media screen and (min-width: 1024px) {
    .menu {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        position: static;
        background-color: transparent;
        height: auto;
        max-height: none;
        box-shadow: none;
        overflow: visible;
    }

    .menu ul {
        display: flex;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .menu li {
        padding: 0 5px;
        margin: 0 5px;
        border-bottom: none;
    }

    .menu li a {
        color: #ededed;
        text-decoration: none;
        font-weight: bold;
    }

    .menu-icon {
        display: none;
    }

    .menu-bar {
        background-color: transparent;
    }
}

.header h2{
    margin: 0.5% auto;
    text-align: center;
}

/* 記事のコンテナ */
.post-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

/* 画像ラッパー */
.post-image-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* 記事画像 */
#post-image {
    width: 100%;
    height: auto;
    display: block;
}

/* タイトルと日付のオーバーレイ */
.post-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 15px;
    box-sizing: border-box;
}

/* 日付 */
.post-date {
    font-size: 14px;
    margin: 0;
}

/* タイトル */
.title-link{
    text-decoration: none;
}

.post-title {
    font-size: 20px;
    font-weight: bold;
    margin: 5px 0 0;
    color: #fff;
}

/* トップ画像下 */
.content {
    width: 100%;
    max-width: 1300px;
    margin: 3% auto;
    transition: transform 0.3s ease-out;
    display: flex;
}

.menu.open ~ .header,
.menu.open ~ .content {
    transform: translateY(200px);
}

.header h1{
    margin: 0;
}

.blog-screen{
    display: block;
    width: 70%;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    .content {
        display: block;
    }

    .blog-screen{
        width: 100%;
    }    
}

/* ブログ記事を横配置 */
#blog-lists {
    display: flex;
    flex-wrap: wrap;
    gap: 3%;
    align-content: flex-start;
    width: 98%;
    justify-content: center;
    margin: 0 0.5rem;
}

@media screen and (max-width: 768px) {
    #blog-lists {
        width: 95%;
    }
}

/* ブログ記事 */
.blog {
    background-color: #ffffff;
    text-align: center;
    width: 350px;
    height: 550px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
    margin: 1%;
}

.blog a{
    text-decoration: none;
    color: #333333;
}

.blog img{
    width: 350px;
}

.post-list__link img {
    width: 350px;
    height: 230px;
    object-fit: cover;
    display: block;
}

.archives-list-entry-content{
    padding: 10px;
}

@media screen and (max-width: 768px) {
    .blog {
        width: 100%;
        height: 30%;
        display: flex;
        flex-direction: row;
        text-align: left;
    }

    .blog a{
        display: flex;
        flex-wrap: wrap;
        padding: 2%;
    }
}

/* ブログタイトル */
.entry-title{
    text-align: left;
    padding-left: 0.5rem;
    font-size: 1.2rem;
    margin-top: 0.5rem;
    margin-bottom: 0.7rem;
}

/* ブログ投稿日 */
.byline{
    text-align: left;
    padding-left: 10px;
    padding-bottom: 10px;
}

.time__date {
    font-size: 0.9em;
    color: #666;
}

/* ブログ説明文 */
.description {
    margin-top: 10px;
    color: #333;
    text-align: left;
    padding-left: 10px;
    padding-bottom: 10px;
    font-size: 0.9rem;
}

/* ページネーション */
#pagination {
    text-align: center;
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

#page-numbers {
    display: flex;
}

#page-numbers button{
    color: #59d7d2;
    border: 1px solid #59d7d2;
    border-radius: 1px;
    background-color: #fff;
    width: 32px;
    height: 32px;
    margin: 0 5px;
    cursor: pointer;
}

#page-numbers span{
    color: #59d7d2;
    border: 1px solid #59d7d2;
    border-radius: 1px;
    background-color: #fff;
    width: 32px;
    height: 32px;
    margin: 0 5px;
}

.page-number.active {
    font-weight: bold;
    text-decoration: underline;
}

#prev-page-button {
    margin: 0 5px;
    cursor: pointer;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #59d7d2;
    border-radius: 1px;
    color: #59d7d2;
    width: 32px;
    height: 32px;
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    background-color: #fff;
}

#prev-page-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

#next-page-button {
    margin: 0 5px;
    cursor: pointer;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #59d7d2;
    border-radius: 1px;
    color: #59d7d2;
    width: 32px;
    height: 32px;
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    background-color: #fff;
}

#next-page-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.sidebar{
    width: 30%;
}

@media screen and (max-width: 768px) {
    .sidebar {
        width: 100%;
    }
}

/* ゴロ合わせ集 */
.content-goroawase h4{
    background-color: #1ABAB4;
    color: #ffffff;
    margin-top: 0px;
    padding: 10px;
    border: 5px double #ffffff;
    box-sizing: border-box;
}

.content-goroawase img{
    width: 100%;
}

.content-goroawase p{
    padding: 10px;
    margin: 0;
}

.uketoru-text{
    color: #ff0000;
    font-weight: bold;
}

/* カテゴリー */
.categories h4{
    background-color: #1ABAB4;
    color: #ffffff;
    padding: 10px;
    border: 5px double #ffffff;
    box-sizing: border-box;
}

.categories a{
    text-decoration: none;
    color: #000;
}

.categories-list{
    padding: 10px;
    border-bottom: 1px solid #999;
}

.categories-list-bottom{
    padding: 10px;
}

/* アコーディオンメニュー */
.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.toggle-button {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-left: 10px;
}
.accordion-content a {
  display: block;
  padding: 4px 0;
}

/* 公式ラインはこちら */
.banner h4{
    background-color: #1ABAB4;
    color: #ffffff;
    padding: 10px;
    border: 5px double #ffffff;
    box-sizing: border-box;
}

.banner img{
    width: 100%;
}

/* フッター */
.inner-footer{
    text-align: center;
    color: #fff;
    background-color: #323944;
    padding-top: 10px;
    padding-bottom: 10px;
}

.inner-footer a{
    color: #fff;
}

.inner-footer p{
    font-size: 15px;
}

/* 追従ボタンのスタイル */
.floating-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.floating-button a {
    display: block;
    padding: 15px 15px;
    background-color: #5c5c5ccb;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
    text-align: center;
}

.floating-button a::before {
    content: "く";
    display: inline-block;
    transform: rotate(90deg); 
    margin-right: 5px; 
}