@charset "utf-8";

/* -------------------------------------------
  ブログページ (/blog/index.html)
------------------------------------------- */

/* ページ全体のレイアウト調整 */

#blog-content{
    padding-top :80px;
}



#blog-content .container {
    max-width: 1100px; /* ブログ記事が読みやすい幅に調整 */
    padding-top: 80px; /* ヘッダーとの重なりを避ける */
    /* border: 2px dashed #f7a6c1; */
    padding: 30px ;
    margin: 0 auto;
    text-align: center;
}



 h2 {
    font-family: 'nikumaru' , sans-serif;
    font-size: 36px;
    font-weight: 600;
    letter-spacing: 0.4rem;
    color: #ff8182;
    margin-bottom: 1rem;
    text-align: center;
}

#blog-content p.text-center {
    margin-bottom: 10px;
    text-align: center;
}

#blog-content .container .link{
    margin-bottom: 30px;
}

/* 各ブログ記事を囲むコンテナのスタイル */
.blog-post-item {
    background-color: Rgb(250,250,250,0.3);
    border: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 40px; /* 各記事コンテナ間の余白 */
    box-shadow: none;
}


.blog-post-item h2{
    /* border: 1px solid red; */

    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 0.4rem;
    color: #F79A70;
    margin-bottom: 1rem;
    text-align: center;
}

/* 公開日 */
.post-date {
    font-size: 0.9em;
    color: #888;
    margin-bottom: 1.5em;
}


/* 記事内の画像はコンテナの幅に収まるように調整 */
.post-description img {
    max-width: 100%; /* コンテナからはみ出さないように最大幅を100%に制限 */
    height: auto;
}






.blog-post-item {
    border: 5px double #ffc800;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.blog-post-item h3 {
    /* border: 1px solid red; */
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.blog-post-item h3 a {
    text-decoration: none;
    color: #006881;
    font-weight: bold;
    opacity: color .3s transform .3s;
}

.blog-post-item h3 a:hover{
    color: #50d2d5;
    transform: translateY(-4px);
}

.blog-post-item .post-date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
}

.blog-post-item .post-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}

.blog-post-item img {
    max-width: 100%;
    height: auto;
    margin-top: 10px;
    border-radius: 8px;
}

#pagination {
    text-align: center;
    margin-top: 20px;
}

#pagination button {
    background-color: #ff8182; 
    border: none;
    color: white;
    padding: 8px 16px;
    margin-left: 8px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#pagination button:hover:not(:disabled) {
    background-color: #ffb6c1; 
}

#pagination button:disabled {
    background-color: #ffcfd8;
    color: #fff6f9;
    cursor: default;
    box-shadow: none;
}




@media screen and (max-width: 768px) {


    #blog-content .container {
    max-width: 1100px; /* ブログ記事が読みやすい幅に調整 */
    padding-top: 80px; /* ヘッダーとの重なりを避ける */
    /* border: 2px dashed #f7a6c1; */
    padding: 10px ;
    margin: 0 auto;
    text-align: center;
}

    h2{
        font-size: 24px;
    }

    .blog-post-item h3 {
    /* border: 1px solid red; */
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.blog-post-item h2{
    /* border: 1px solid red; */

    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0.4rem;
    color: #F79A70;
    margin-bottom: 1rem;
    text-align: center;
}

.blog-post-item .post-description {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
}

}