/*
 * 全体設定
 */
body {
    width: 100%;
    max-width: 480px; 
    min-height: 100vh;
    margin: 0 auto; 
    /* Bebas Neue Regular を適用 */
    font-family: 'Bebas Neue', sans-serif;
    background-color: #ede1a4; 
    color: #333;
    overflow-x: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

/* -------------------- ヘッダー (赤色部分) -------------------- */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 20px;
    background-color: #e82828; 
    color: #fCD532;
    font-size: 2em;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    height: 60px;
}

.header-title {
    letter-spacing: 3px;
    font-size: 1.2em;
}

.icon-arrow, .icon-menu {
    font-size: 1.5em;
    cursor: pointer;
    line-height: 1; 
}
.icon-menu { font-size: 2em; line-height: 0.5; } 

/* -------------------- プロフィールエリア -------------------- */
.profile-area {
    display: flex;
    padding: 30px 25px 10px;
    align-items: center;
}

.profile-image {
    width: 70px;
    height: 70px;
    margin-right: 20px;
    background-image: url('icon.png'); /* 👈 ファイル名を指定 */
    background-size: cover;          /* 👈 要素全体を覆うように画像を拡大・縮小 */
    background-position: center;     /* 👈 画像を中央に配置 */
    background-repeat: no-repeat;    /* 👈 画像の繰り返しを防ぐ */
    border-radius: 5px;              /* 👈 画像のデザインに合わせて角を少し丸くする */
    overflow: hidden;                /* 👈 はみ出しを防ぐ */
}

.profile-info {
    flex-grow: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.user-details {
    font-size: 2.5em;
    font-weight: 900;
    color: #0c660c; 
    line-height: 1;
}

.location {
    font-size: 0.5em;
    color: #3D9140; 
    font-weight: bold;
    display: block;
    margin-top: 5px;
}
.location::before {
    margin-right: 5px;
}

.stats {
    display: flex;
    text-align: center;
    font-size: 2em;
    font-weight: 900;
    color: #0c660c; 
}

.stat-item {
    margin-left: 20px;
}

.stat-label {
    font-size: 0.6em;
    font-weight: normal;
    display: block;
    margin-top: -5px;
    color: #3D9140;
}

/* -------------------- I LIKE... エリア -------------------- */
.likes-area {
    padding: 20px 25px 20px;
}

.i-like-title {
    font-size: 2.5em;
    font-weight: 900;
    color: #e82828; 
    margin-bottom: 20px;
}

.likes-content {
    display: flex;
    margin-top: 20px;
    justify-content: space-between;
    height: 150px; /* タグエリアの高さを円形グラフィックに合わせる */
}

.circle-graphic {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-image: repeating-linear-gradient(
        -40deg,
        transparent,
        transparent 15px,
        #f4cd2a 15px,
        #f4cd2a 23px
    );
    
    transform: rotate(-10deg); 
    opacity: 0.8;

    margin-left: 15px;
    position: relative; /* 子要素（img）を絶対配置するための基準 */
    overflow: hidden;   /* 画像が円からはみ出さないようにクリップ */
}
.centered-burger-image {
    position: absolute; /* 親要素 .circle-graphic を基準に配置 */
    top: 50%;           /* 上から50%の位置 */
    left: 50%;          /* 左から50%の位置 */
    transform: translate(-50%, -50%); /* 自身のサイズを考慮して完全に中央へ */
    max-width: 100%;     /* 円の幅に合わせて最大幅を調整（少し小さめ） */
    max-height: 100%;    /* 円の高さに合わせて最大高さを調整 */
    border-radius: 50%; /* 画像を円形にクリップ */
    object-fit: cover;  /* 画像が要素を覆うように拡大・縮小 */
}

/* 赤いタグのFlexbox設定 */
.like-tags {
    display: flex;
    flex-direction: column;
   align-items: center;
    text-align: right;
    font-size: 2em;
    font-weight: bold;
    line-height: 1; /* Bebas Neueに合わせて行の高さを調整 */
    height: 100%; /* 親要素(likes-content)の高さに合わせる */
}

.tag-item {
    display: inline-block; /* タグ内の文字を中央に寄せるためにFlexboxを使用 */
    padding: 5px 10px;
    margin-bottom: 5px;
    
    color: #ede1a4;
    background-color: #e82828; 
    white-space: nowrap;
    width: auto; 
    height: auto;
    line-height: 0.8;
    text-align: center;
}

.tag-item.highlight {
   
    background-color: #e82828; 
}


/* -------------------- おすすめバーガーエリア -------------------- */
.recomend-title {
    font-size: 2.5em;
    font-weight: 900;
    color: #0c660c; 
    padding: 30px 25px 10px;
    margin-top: 50px;
}

.burger-recomends {
    display: flex;
    overflow-x: scroll; 
    padding: 10px 25px 0;
    gap: 15px;
    margin-bottom: 70px; 
}

.burger-card {
    min-width: 120px; 
    height: 180px;
    background-color: #8C785C; 
    position: relative;
    flex-shrink: 0; 
    overflow: hidden;
}
.burger-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 🔴 画像がカード全体を覆うように拡大・縮小 */
    z-index: 1; /* 🔴 チーズの下に画像を配置 (チーズの z-index より低く) */
}


/* -------------------- フッター (ナビゲーション) -------------------- */
.footer-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 480px; 
    height: 80px;
    background-color: #e82828; 
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-bottom: env(safe-area-inset-bottom);
}

.nav-icon {
    cursor: pointer;
    width: 25%;
    text-align: center;
    opacity: 0.7; /* アクティブでないアイコンの透過度を下げる */
    justify-content: center;
    align-items: center;
    height: 100%;
}

.nav-icon.active {
    opacity: 1.0; /* アクティブなアイコンを強調 */
}

.nav-image {
    height: 40px; /* 🔴 アイコンの高さを指定（適切なサイズに調整） */
    width: auto;
    object-fit: contain;
    margin-top: 15px; /* 微調整 */
}

.nav-burger-img {
    height: 40px; /* 🔴 他の nav-image と同じサイズに調整 */
    width: auto;
    object-fit: contain; 
    margin-top: 15px; /* 微調整 */
}