/* =========================================================
   お知らせ（最新情報）ページのスタイルとアコーディオン
   ========================================================= */

/* 1. 全体の箱のデザイン */
.fs-p-news-page {
    background-color: #ffffff;
    border: 1px solid #d4c6b5;
    max-width: 900px;
    width: 100%;
    padding: 60px 40px;
    margin: 100px auto 80px;
    box-shadow: 0 4px 15px rgba(94, 76, 65, 0.1);
    position: relative;
    box-sizing: border-box;
}

/* 内側の二重線 */
.fs-p-news-page::before {
    content: ""; position: absolute; top: 5px; right: 5px; bottom: 5px; left: 5px;
    border: 1px solid #d4c6b5; pointer-events: none; z-index: 10;
}

/* 2. タイトルのデザイン */
.fs-p-news-header {
    text-align: center; margin-bottom: 40px; position: relative; z-index: 20;
}
.fs-p-news-title {
    font-size: 1.8rem; color: #5e4c41; letter-spacing: 0.1em; margin: 0 0 5px 0; font-weight: normal;
}
.fs-p-news-subtitle {
    font-size: 0.8rem; color: #a89a8d; font-family: "Times New Roman", serif; letter-spacing: 0.2em;
}

/* 3. お知らせリストの枠線 */
.fs-p-news-list {
    list-style: none; padding: 0; margin: 0;
    border-top: 1px solid #d4c6b5; position: relative; z-index: 20;
}
.fs-p-news-item {
    border-bottom: 1px solid #d4c6b5; position: relative;
}

/* 4. クリックできる見出し部分（アコーディオンボタン） */
.fs-p-news-toggle {
    display: flex; align-items: center; width: 100%; background: transparent;
    border: none; padding: 20px 10px; cursor: pointer; text-align: left;
    transition: background-color 0.3s;
}
.fs-p-news-toggle:hover {
    background-color: #fcfaf5; /* マウスを乗せるとふんわり色が変わる */
}

/* 日付とタイトルのテキスト */
.fs-p-news-date {
    font-family: "Times New Roman", serif; font-size: 16px; color: #8c7b70;
    width: 120px; flex-shrink: 0; letter-spacing: 0.05em;
}
.fs-p-news-heading {
    flex: 1; font-size: 16px; font-weight: bold; color: #5e4c41; line-height: 1.5; padding-right: 20px;
}

/* 右側の開閉アイコン（＋と－） */
.fs-p-news-icon {
    position: relative; width: 14px; height: 14px; flex-shrink: 0;
}
.fs-p-news-icon::before, .fs-p-news-icon::after {
    content: ""; position: absolute; background-color: #5e4c41; transition: transform 0.3s ease, opacity 0.3s ease;
}
/* ＋の横線 */
.fs-p-news-icon::before { top: 6px; left: 0; width: 14px; height: 2px; }
/* ＋の縦線 */
.fs-p-news-icon::after { top: 0; left: 6px; width: 2px; height: 14px; }
/* 開いた時は縦線を消して「－」にする */
.fs-p-news-toggle[aria-expanded="true"] .fs-p-news-icon::after {
    transform: rotate(90deg); opacity: 0;
}

/* 5. 詳細テキストエリア（滑らかな開閉アニメーション） */
.fs-p-news-content {
    display: grid;
    grid-template-rows: 0fr; /* 閉じた状態 */
    transition: grid-template-rows 0.3s ease;
    background-color: #fcfaf5;
}
.fs-p-news-toggle[aria-expanded="true"] + .fs-p-news-content {
    grid-template-rows: 1fr; /* 開いた状態 */
}
.fs-p-news-content-inner {
    overflow: hidden;
}
.fs-p-news-content-inner p {
    padding: 25px 20px; margin: 0; color: #5e4c41; line-height: 1.8;
    font-size: 15px; border-top: 1px dashed #d4c6b5;
}

/* 6. スマホ表示（レスポンシブ対応） */
@media screen and (max-width: 600px) {
    .fs-p-news-page { padding: 40px 15px; margin: 80px auto 40px; }
    .fs-p-news-toggle {
        flex-direction: column; align-items: flex-start; gap: 8px; padding: 15px 10px;
    }
    .fs-p-news-date { width: auto; font-size: 15px; }
    .fs-p-news-heading { font-size: 16px; padding-right: 25px; width: 100%; box-sizing: border-box; }
    .fs-p-news-icon { position: absolute; right: 15px; top: 40px; }
    .fs-p-news-content-inner p { padding: 20px 15px; }
}

/* =========================================================
   お知らせページ：トップページに戻るボタン（枠外）
   ========================================================= */

.fs-p-news-button-container {
    text-align: center;
    margin-top: -30px; /* 箱との距離を少し縮める */
    margin-bottom: 120px; /* フッターとの間隔をしっかり取る */
    position: relative;
    z-index: 20;
}

.fs-p-news-button {
    display: inline-block;
    background-color: #5e4c41;
    color: #ffffff;
    border: 1px solid #5e4c41;
    padding: 15px 60px;
    font-family: inherit;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    min-width: 300px;
    box-sizing: border-box;
    border-radius: 2px;
}

/* マウスホバーで白背景・茶色文字に反転 */
.fs-p-news-button:hover {
    background-color: #ffffff;
    color: #5e4c41;
}

/* スマホ表示時のボタン幅調整 */
@media screen and (max-width: 600px) {
    .fs-p-news-button-container {
        margin-top: 0;
        margin-bottom: 80px;
        padding: 0 15px; /* スマホ時は左右に少し余白を持たせる */
    }
    .fs-p-news-button {
        width: 100%; /* スマホでは押しやすいように横幅いっぱいに */
        min-width: auto;
    }
}