@charset "utf-8";


/*基本設定-----------------------------------------*/
/* 隙間なく表示させるおまじない */
html, body { 
  margin: 0px;
  padding: 0px;
 }

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


    font-family: "筑紫B丸ゴシック"; 
    font-size: 1em;
    color: #333333;
    line-height:1.8em;
    background-color: #322A00;

    
    
    }

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







#container{

   position: relative;

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


   
}


#top{

   


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

   background-image: url(top01.png);
  
   background-size:cover;
   z-index: 10; 
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);

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

   z-index: 200;


}

.profile-block {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 90%;
  margin-top: 20px; /* ←ヘッダー内の余白調整 */
  margin-bottom: 70px;
  
}

.profile-icon {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover; /* 画像を丸の中でトリミング */
  margin-right: 15px;
  border: 2px solid rgb(68, 30, 30); /* ふち色 */
  box-shadow: 0 0 6px rgba(0,0,0,0.3);
}

/* 右のテキスト部分 */
.profile-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.username {
  font-size: 2em;
  margin: 0;
  color: rgb(46, 13, 13);
}

.bio {
  font-size: 0.9em;
  margin: 4px 0 0 0;
  color: rgb(46, 13, 13);
}



.profiletext{
  
  font-size: 0.9em;
  font: rgb(255, 255, 255);
  display: flex;
  justify-content: flex-end; 
  margin-top: 8px;
}

.profiletext button {
  background-color: rgb(105, 158, 105); /* ✅背景なし */
  color: white; 
  
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.9em;
  cursor: pointer;
  transition: 0.3s;
}

.profiletext button:hover {
  background-color: rgb(8, 43, 8);
 
}

.follow-block {
  display: flex;
  justify-content: space-around; /* 左右に均等配置 */
  align-items: center;
  width: 90%;
  margin-top: -50px;
  margin-bottom: 60px;
  border-radius: 12px;
  padding: 3px 0;
}

.follow-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px; /* 数字と文字の間隔を少し狭める */
}

.follow-number {
  font-size: 1em;
  font-weight: bold;
  color: rgb(46, 13, 13);
}

.follow-label {
  font-size: 0.9em;
  color: rgb(89, 58, 58);
}

.status-block {
  display: flex;
 
  align-items: center;
  justify-content: center;
  margin-top: -85px; /* フォローブロックとの間隔 */
  gap: 10px; /* アイコンと文字の間隔 */
}

.status-icon {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 40%;
  
}

.status-text {
  font-size: 1.2em;
  font-weight: bold;
  color: rgb(46, 13, 13);
}

#keyvisual{

  position: relative;
  width: 100%;
  
  overflow: hidden;
   
   
   background-size:cover;
   display: flex;
   align-items: center;  /* ← 中央に配置 */
  justify-content: center; 
  z-index: 20;
 
  
  
}


.sunrise {
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle at center, #ffdb70, #ff7b00, transparent 70%);
  z-index: 1;
  animation: rise 6s ease-in-out forwards;
}

@keyframes rise {
  0% { bottom: -30%; opacity: 0.3; }
  100% { bottom: 12%; opacity: 1; }
}


.overlay {
   position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
   
   
   background-size:cover;
   display: flex;
   align-items: center;  /* ← 中央に配置 */
  justify-content: center; 
  

  
 
  top: 0;
  left: 0;
 
  background: url('back110.png');
  
  
  z-index: 2;
}

/* タイトル文字 */
.titlebox {
  position: absolute;
  bottom: 15%;
  
  width: 100%;
  text-align: center;
  font-size: 15px;
  color: rgb(70, 57, 57);
  
  z-index: 3;
}

.titletime{
  position: absolute;
  bottom: 2%;
  
  width: 100%;
  text-align: center;
  font-size: 25px;
  color: rgb(255, 255, 255);
  
  z-index: 3;

}


#boxtext{
  width: 100%;
   height: 100vh;
   background-image: url(back002.png);
   background-size:cover;
   display: flex;
   align-items: flex-end;

    height: auto; /* ← 固定ではなく自動で伸びるように */
    overflow-y: auto;

    z-index: 100;

}


.posts-section {

   display: flex;
  flex-direction: column; /* ← これが重要！縦方向に並べる */
  align-items: center; /* 中央寄せしたい場合 */
  padding-bottom: 5px;


  position: relative;
  width: 90%;
  max-width: 430px;
  margin: 0 auto;
  
  padding-left: 30px; /* ← 全体を右にずらす */
  min-height: 100vh; 
}

/* 左の縦線 */
.timeline {
  position: absolute;
  left: 20px;
  top: 0;
  width: 10px;
  height: 100%;
  background-color: rgba(46, 13, 13, 0.6);
  z-index: 105;

  border-radius: 10px;
}


.timeline-icons {
  position: absolute;
  left: 5px; /* ← 線の位置に合わせて微調整 */
  top: 80px;  /* ← 一番上のアイコンの位置 */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 200px; /* ← アイコンの間隔（調整ポイント） */
  z-index: 106; /* 線より上に表示 */
}

.timeline-icon {
  transform: rotate(180deg);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  
  
}



/* 数字とボックスのペア */
.post-block {
  
  align-items: center;
  gap: 10px;
  margin: 20px 0; /* 各投稿の間隔 */
  position: relative;
  z-index: 101;
}

/* 数字 */
.number {
  text-align: left;
  display: block;
  margin-left: 0;
  font-size: 2em;
  color: rgb(46, 13, 13);
  
}

/* ボックス */
.post-box {
  background-color: #f4f1e8;
  border-radius: 10px;
  padding: 10px;
  width: 260px;
  height: 100px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  color: rgb(46, 13, 13);
  font-size: 0.95em;
  text-align: left;
}




.post-content {
  display: flex;
  align-items: center;
  gap: 15px;
  height: 100%;
}

/* 左の写真（小さい四角） */
.post-image {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  object-fit: cover;
}

.post-text-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px; /* 各ペアの上下間隔 */
  

}

.main-text {
  font-size: 1em;
  color: rgb(46, 13, 13);
  margin: 0;
  line-height: 1.5; /* ← ここが行間！ */
  margin-bottom: 10px; 
}


.icon-text-pair {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -1px 0;
}


/* アイコン */
.post-icon {
  width: 24px;
  height: 24px;
}

/* テキスト */
.post-text {
  font-size: 0.9em;
  color: rgb(46, 13, 13);
  text-align: center;
  line-height: 0.3; /* ← ここが行間！ */
}






.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.9);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 200;
  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;
}











