/* ===== 全体のスタイル ===== */
body {
    font-family: "Helvetica Neue", Arial, sans-serif;
    background: url('../assets/images/background.jpeg') repeat; /* 背景画像を繰り返し表示 */
    background-size: 150px 150px; /* 背景画像のサイズ調整 */
    color: #665A58; /* 文字色を設定 */
    margin: 0;
    padding-top: 80px; /* ヘッダーの高さ分の余白を確保 */
    text-align: center; /* テキストを中央揃え */
}

/* ===== ヘッダー部分 ===== */
.header {
    position: fixed; /* ヘッダーを固定表示 */
    top: 0;
    width: 100%;
    background: #B3D1CF; /* 背景色を設定 */
    padding: 15px;
    color: #665A58; /* 文字色を設定 */
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    z-index: 1000; /* 他の要素より上に表示 */
}

/* ===== プロフィール背景画像とアイコンのスタイル ===== */
.profile-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: auto;
    text-align: left; /* 左寄せに変更 */
}

.profile-background {
    width: 100%;
    height: auto;
}

.profile-icon {
    position: absolute;
    top: 50%;
    left: 5%; /* 左側に配置 */
    transform: translateY(-50%);
    width: 120px; /* サイズを調整 */
    height: 120px;
    border-radius: 50%; /* 円形アイコンにする */
    background: url('../assets/icons/profile.jpeg') no-repeat center;
    background-size: cover;
}

/* ===== メインコンテンツのスタイル ===== */
.container {
    max-width: 800px; /* コンテンツの最大幅を設定 */
    margin: auto;
    padding: 30px;
    border-radius: 15px; /* 角丸デザインを適用 */
    text-align: center;
}

/* ===== SNSリンクのスタイル ===== */
.sns-links {
    margin: 20px 0;
    display: flex; /* フレックスボックスを使用 */
    justify-content: center; /* 水平方向の中央揃え */
    gap: 15px; /* アイコン間の余白調整 */
}

.sns-links a {
    display: flex; /* アイコンとテキストを横並び */
    align-items: center; /* 垂直方向の中央揃え */
    text-decoration: none; /* リンクの下線を除去 */
    font-weight: bold;
    color: #85623A; /* 文字色を設定 */
    font-size: 18px;
}

.sns-links img {
    width: 48px; /* アイコンサイズを設定 */
    height: auto; /* 縦横比を維持 */
    margin-right: 8px; /* テキストとの間に余白を追加 */
}

/* ===== ROOMアイコンのスタイル ===== */
.room-icon {
    margin-top: 20px;
    text-align: center;
}

.room-icon img {
    width: 250px; /* ROOMアイコンのサイズ調整 */
    height: auto; /* 縦横比を維持 */
    border-radius: 8px;
}

/* ===== タブメニューのスタイル ===== */
.tab-menu {
    display: flex;
    border-bottom: 2px solid #333;
    margin-bottom: 20px;
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1.2em;
    border-bottom: 3px solid transparent;
    margin-right: 20px;
}

.tab.active {
    border-bottom: 3px solid #333;
    font-weight: bold;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ===== 記事ボックスのスタイル ===== */
.article-box {
    background: white;
    border-radius: 20px;
    margin: 20px 0;
    padding: 20px;
    position: relative;
}

.tag {
    position: absolute;
    top: 0;
    right: 0;
    background: #554a46;
    color: white;
    padding: 5px 10px 5px 5px;
    border-bottom-left-radius: 10px;
    font-size: 0.9em;
    display: flex;
    align-items: center;
}

.tag img {
    height: 16px;
    margin-right: 5px;
}

/* ===== フッター部分 ===== */
footer {
    margin-top: 40px;
    padding: 20px;
    background: rgba(133, 98, 58, 0.9); /* フッターの背景色 */
    color: #fff; /* 文字色を白に設定 */
    text-align: center;
}
