@charset "utf-8";


/*基本設定-----------------------------------------*/

html, body { 
  margin: 0px;
  padding: 0px;
 }

/* ページ内全体の文字の設定と背景の設定 */
body {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center; 


    font-family: "Noto Serif JP", serif; 
    font-size: 1em;
    color: #ffffff;
    line-height:1.8em;
    background-color: #322A00;

    
    
    }

/* ページ内全体のリンクの文字色 */
a{text-decoration: none;}
a:link {color: #ffffff;} 

#container{

   position: relative;

   background-color: rgb(251, 251, 251);
   margin: 0 auto;
   width: 100%;
   max-width :430px;
   background-image: url(back.png);
   background-size: contain;
   text-align: center;


   
}


#top{

   


   position: fixed;
   top: 0;
   left: 50%;
  transform: translateX(-50%); /* 中央寄せ */
   
   width: 100%;
   max-width: 430px;
   height: 50px;

   background-size:cover;
   z-index: 10; 
   
  

   display: flex;
   flex-direction: column; /* ←中身を上から順に並べる */
   align-items: center; /* 横方向中央寄せは維持 */
   justify-content: flex-start;

  background-color: rgba(255, 255, 255, 0.6); /* 半透明背景 */
  
  background-size: cover;
  background-position: center;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;   /* 縦方向中央（バーの中で） */

  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  

  
}

.status-icon {
  
  height: 40px;
  
  
  
}

.status-text {
  position: absolute;
  left: 20px; /* IDの位置設定 */
  font-size: 14px;
  color: #ffffff;
  margin-top: -40px;
}

.content {
  margin-top: 80px; /* ヘッダー分の余白 */
  padding: 20px;
  height: 2000px;
  background: linear-gradient(to bottom, #fafafa, #ddd);
}


#keyvisual{
   width: 100%;
   height: 120vh;
   background-image: url(back.png);
   background-size:cover;
  
   
  
  
  
}


#profile-box {
  width: 95%;/* アイコン移動 */
   padding: 20px 30px;
  max-width: 800px;
  margin: 70px auto 0; /* ヘッダーの下に少し余白 */
   padding: 20px 30px;
  box-sizing: border-box;
}

/* 上部の大きいボックス */
.profile-top {
  display: flex;
  align-items: center;
  gap: 10px; /* アイコンとテキストの間の隙間 */
}

/* アイコン画像大きさ調整 */
.profile-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover; /* 画像を丸くトリミング */
  border: 3px solid #ffffff;
}

.profile-i/* 泡の画像大きさ調整 */
{
  left: 30px;
  width: 40px;
  height: 60px;
  padding-bottom: 120px;
}

/* 名前と自己紹介 */
.profile-info {
  flex: 1;
}

.profile-name {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 10px 0;
  color: #ffffff;
}

.profile-bio {
  font-size: 13px;
  line-height: 1.6;
  color: #fbfbfb;
  margin: 0;
}

.profile-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: -px;/* フォローボタンと文の距離 */
  padding-top: 10px;
  margin:-30px 7% 0;
}

/* 左側（フォロー・フォロワー） */
.follow-info {
  left: 20px;
  display: flex;
  
  gap: 10px; /* ボックス間の隙間 */
}

.follow-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.follow-label {
  font-size: 13px;
  color: #ffffff;
  margin: 0;
}

.follow-number {
  font-size: 18px;
  font-weight: bold;
  margin: 4px 0 0 0;
  color: #ffffff;
}

/* 右側（フォローボタンとメッセージ） */
.action-buttons {
  
  display: flex;
  gap: 15px;
  
}

.action-btn {
  padding: 8px 10px;
  border: none;
  border-radius: 20px;/* フォローボタンエッジ */
  cursor: pointer;
  font-size: 11px;/* フォローボタンサイズ */
  transition: 0.2s ease;
}

/* フォローするボタン */
.follow-btn {
  background-color: #007bff;
  color: #fff;
}

.follow-btn:hover {
  background-color: #0056b3;
}

/* メッセージボタン */
.message-btn {
  background-color: #e9e9e9;
  color: #333;
}

.message-btn:hover {
  background-color: #d0d0d0;
}


.post-gallery {
  width: 90%;/* 投稿全体の大きさ */
  max-width: 800px;
  margin: 60px auto;/* フォローボタン */
  display: flex;
  flex-direction: column;
  gap: 15px; /* 行の間隔 */
}

/* 各行の設定 */
.row {
  display: flex;
  justify-content: center;
  gap: 15px; /* 写真の間の隙間 */
}

/* 縦長の写真（横に2枚並ぶ） */
.post-vertical {
  width: calc(50% - 7.5px); /* gap分を引いて均等配置 */
  aspect-ratio: 3 / 4; /* 縦長比率 */
  object-fit: cover;
  border-radius: 10px;
}

/* 横長の写真（2枚分の幅） */
.post-horizontal {
  width: 100%;
  aspect-ratio: 16 / 9; /* 横長比率 */
  object-fit: cover;
  border-radius: 10px;
}







.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 65px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  background-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 20;
  backdrop-filter: blur(6px); 
}

.nav-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-icon:hover {
  transform: scale(1.1);
  opacity: 0.8;
}











