body {
    margin: 0;
    font-family: "Hiragino Kaku Gothic ProN", sans-serif;
    background: #f5efe6;
    color: #333;
}

/* header {
    background: linear-gradient(135deg, #3a2f2f, #5a3e3e);
    color: white;
    padding: 30px 10px;
    text-align: center;
} */

.header-inner {
    max-width: 1000px;
    margin: auto;
}

main {
    max-width: 1000px;
    margin: 30px auto;
    padding: 20px;

    background: rgba(51, 37, 24, 0.795);
    border-radius: 12px;}

.card {
    background: white;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: 0.2s;
}

.card-inner{
    display:flex;
    align-items:flex-start;
    gap:16px;
}

.card-icon img{
    width:200px;
    height:200px;
}

.card-content{
    display:flex;
    flex-direction:column;
}

.card h2 {
    margin-top: 0;
}

.date {
    font-size: 14px;
    color: #888;
}

.readmore {
    display: inline-block;
    margin-top: 10px;
    color: #b22222;
    font-weight: bold;
    text-decoration: none;
}

footer {
    text-align: center;
    padding: 30px;
    background: #eeeeee00;
}

/* スマホ最適化 */
@media (max-width: 768px) {

    .lang-switch {
        top: 10px;
        right: 12px;
        font-size: 11px;
    }

        body {
        background-attachment: scroll;
    }

    header {
        padding: 20px 10px;
    }

    header h1 {
        font-size: 22px;
    }

    .card {
        padding: 18px;
    }
}

.header-banner {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

body {
    margin: 0;
    font-family: "Hiragino Kaku Gothic ProN", sans-serif;
    color: #333;

    background-image: url("../images/background.png");
    background-size: cover;        /* 画面全体にフィット */
    background-position: center;   /* 中央基準 */
    background-attachment: fixed;  /* PCで固定背景 */
    background-repeat: no-repeat;
}

header {
    position: relative;
    padding: 20px 0;
    text-align: center;
}

/* バナーを基準にする */
.banner-wrapper {
    position: relative;
    display: inline-block; /* バナーサイズ基準 */
}

/* バナー */
.header-banner {
    display: block;
    max-width: 100%;
    height: auto;
}

/* 言語切替をバナー内に配置 */
.lang-switch {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 13px;
}

.lang-switch a {
    text-decoration: none;
    color: rgb(23, 88, 75);
    opacity: 0.85;
    transition: 0.2s;
}

.lang-switch a:hover {
    opacity: 1;
}

.lang-switch .active {
    font-weight: bold;
    opacity: 1;
}

.talk{
    display:flex;
    gap:14px;
    align-items:flex-start;
    margin-top:12px;
}

.talk-icon{
    width:100px;
    height:100px;
}

.talk-bunner{
    width: 50%;
    height: 50%;
    object-fit: cover;
}

.talk-balloon{
    background:#ffffff;
    border:2px solid #ddd;
    border-radius:12px;
    padding:12px 16px;
    position:relative;
    line-height:1.6;
}

.talk-balloon::after{
    content:"";
    position:absolute;
    left:-8px;
    top:16px;
    border-width:8px;
    border-style:solid;
    border-color:transparent #fff transparent transparent;
}


#pagination {
    text-align: center;
    margin: 30px 0;
}

#pagination button {

    margin: 0 5px;
    padding: 8px 14px;

    border: none;
    background: #eee;
    border-radius: 6px;
    cursor: pointer;
}

#pagination button.active {
    background: #b22222;
    color: white;
}