body {
    font-family: 'Hiragino Kaku Gothic Pro', Meiryo, sans-serif;
    background-color: #a2252d;
    color: white;
}
a{
    text-decoration: none;
}
.center{
    text-align: center;
    margin: 0 auto;
    width: 100%;
    max-width: 800px;
}
.center img{
    width: 100%;
    height: auto;
}
.container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.main-content {
    width: 70%;
    margin-right: 30px;
}

.sidebar {
    width: 30%;
}

.page-title {
    margin-bottom: 20px;
    font-size: 26px;
    color: #ffffff;
}

.blog-post {
    display: flex;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.thumbnail {
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px 0 0 8px;
}

.blog-info {
    padding: 15px;
}

.blog-info .title {
    font-size: 18px;
    margin: 0 0 10px;
}

.blog-info .excerpt {
    font-size: 14px;
    color: #555;
}

.blog-info .meta {
    font-size: 12px;
    color: #999;
}

.sidebar .search-box {
    margin-bottom: 20px;
    display: flex;
}

.sidebar .search-box input {
    flex: 1;
    padding: 8px;
    border-radius: 4px 0 0 4px;
    border: 1px solid #ccc;
}

.sidebar .search-box button {
    padding: 8px 12px;
    background-color: #a30000;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.sidebar .widget {
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.sidebar .widget h3 {
    margin-top: 0;
    font-size: 26px;
    color: #a30000;
}

.sidebar .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.sidebar .widget ul li a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

.sidebar .widget ul li a:hover {
    color: #a30000;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .main-content, .sidebar {
        width: 100%;
        margin-right: 0;
    }

    .blog-post {
        flex-direction: column;
    }

    .thumbnail {
        width: 100%;
        aspect-ratio: 1 / 1; /* ← 正方形にする！ */
        border-radius: 8px;
    }
}

.blog-entry {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    border-bottom: 1px solid #eee;
    font-family: Arial, sans-serif;
    background: white;
    margin: 0.5em auto;
    border-radius: 15px;
}

.thumbnail {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
}

.blog-content {
    flex: 1;
}

.blog-title {
    font-size: 16px;
    color: #551A1A;
    font-weight: bold;
    margin: 0 0 8px;
    line-height: 1.4;
}

.blog-date {
    font-size: 13px;
    color: #aa0000;
}

@media (max-width: 600px) {
    .blog-entry {
        flex-direction: column;
    }

    .thumbnail {
        width: 100%;
        height: auto;
        margin: 0 0 10px;
    }

    .blog-title {
        font-size: 15px;
    }
}
.widget span{
    font-size: 11px;
    color: #797979;
    margin-bottom: 1em;
}
.widget p{
    color: black;
}

.fgg{
    margin: 1em auto -3em auto;
    max-width: 200px;
    width: 100%;
    text-align: center;
}
.fgg img{
    width: 80%;
    height: auto;
    margin: 0.5em auto;
    text-align: center;
}
.centerd{
    max-width: 100px;
    margin: 1em auto;
}
.centerd img{
    width: 100%;
    height: auto;
}

.thumbnail2 {
    width: 100%;
    aspect-ratio: 1 / 1; /* ← 正方形にする！ */
    object-fit: cover;
    border-radius: 8px;
}
.fre{
    display: flex;
    max-width: 1200px;
    margin: 1em auto;
}
.fre a{
    width: 31%;
    margin: 1%;
    height: auto;
}
.fre p{
    white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: white;
}
@media (max-width: 768px) {
    .fre {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
    }
    .fre a {
      flex: 0 0 auto;
      width: 70%;
    }
  }



  
.fgfa{
    margin: 1em auto;
    text-align: left;
    font-size: 15px;
    color: white;
    line-height: 23px;
    width: 95%;
    max-width: 450px;
}


.ffa{
    max-width: 800px;
    margin: 1em auto;
}
.slider{
    max-width: 1200px;
    width: 100%;
    height: auto;
    margin: 1em auto;
}

.faaga{
    text-align: end;
    width: 98%;
    max-width: 1200px;
    color: white;
    margin: 6px auto;
    padding: 0 1%;
}
.slider a {
    position: relative;
    margin: 0.2%;
}

.fgagaa {
    position: absolute;
    bottom: -16px;
    left: 0px;
    color: white;
    font-size: 9px;
    font-weight: bold;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 5px;
}

.po {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 30px; /* 画像サイズ調整 */
    height: auto;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.8); /* 背景を少し白くする */
    padding: 3px;
}
img.m-w{
    width: 100%;
    height: auto;
}
.root--t9Wjj {
    position: absolute;
    top: 6px;
    left: 4px;
    background: rgb(106, 215, 17);
    width: 58px;
    color: white;
    font-size: 10px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.root--t9Wjj span{
    margin-right: 1em;
    font-size: 7px;
}