@charset "utf-8";


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


body {
    font-family: "Noto Serif JP", sans-serif; 
    font-size: 1em;
    color: #333333;
    line-height:1.8em;
    background-color: #37352a;
    background-image: url(img/back_dot.png);
    }


a{text-decoration: none;}
a:link {color: #333333;} 
a:visited{color: #333333;}
a:hover{color: #51004a;}
a:active{color: #6f0066;}


/*書きます*/
#container{
    margin: 0 auto;
    width: 390px;
    height: 844px;
   /* background-image: url(img/back.png);*/
   background-color: #EAEAEA;
    text-align: left;
  }

/*ここからヘッダー*/
  #header{
    display:flex;
    justify-content: space-between;
    width: 100%;
    max-width :390px;
  height: 50px;
  position: fixed;
  top:0;
  z-index:2;
  
  background-color: #000;

  box-shadow: 0 5px 20px 0 rgba(0, 0, 0, .5);
  }

  #username{
    color:#ffffff;
    font-family: "Arial",sans-serif;
    position:absolute;
    
    left:20px;
    top:-10px
  }
  .size{
    font-size:0.7em; 
  }

  #hamberger{
    color:#ffffff;
    position:absolute;
    right:20px;
    top: -15px;
  }
/*ここまでがヘッダー*/

/*ここからメイン*/
/*ここからプロフィール*/
#main{
        width:390px;
        height:794px;
    position:relative;
    top:50px;
    z-index:1;
}
#userinfo_sleepscore{
    display:flex;
    justify-content: space-between;
}

#userinfo{
    display:block;
}

#main_userinfo{
    position:relative;
    display:flex;
    top:20px;
    left:12px;
    background-color: #ECB83E;
    width:95px;
    height:95px;
    border-radius: 15px ;
}
img{
    margin:1px 1px 1px 1px;
}

#follower{
    margin: 25px 10px 0 20px;
}
#follower_number{
    font-family: "Noto Sans JP", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;

    text-align: center;
    margin: 0 0 -20px 0;
    font-size: 20px;
}
#follower_text{ 
    font-family: "Roboto", serif;
    font-weight: 300;
    font-style: normal;
    text-align: center;
    font-size: 12px;
}

#following{
    margin: 25px 10px 0 10px;
}
#following_number{
    font-family: "Noto Sans JP", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;

    text-align: center;
    margin: 0 0 -20px 0;
    font-size: 20px;
}
#following_text{
    font-family: "Roboto", serif;
    font-weight: 300;
    font-style: normal;
    text-align: center;
    text-align: center;
    font-size: 12px;
}
.username{
    position:relative;
    left:12px;
    padding:0 0 0 0;

    font-family: "Roboto", serif;
  font-weight: 700;
  font-style: normal;
  font-size: 15px;
}
.targetbedtime{
    position:relative;
    left:12px;
    margin:-35px 0 0 0;

    font-family: "Roboto", serif;
    font-weight: 300;
    font-style: normal;
    font-size: 15px;
}
.targetbedtime span{
    font-weight: bold;
}

.pie {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;

	width: 110px;
	height: 110px;

        font-family: "Rubik", sans-serif;
        font-optical-sizing: auto;
        font-weight: 500;
        font-style: normal;
	font-size: 40px;

    margin:20px 12px 10px 10px;
}

/*
.pie::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 95px;
	height: 95px;
	border: 2px solid #524f4f;
	border-radius: 50%;
	z-index: -2;
}
*/

.pie::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	height: 100%;
	background-image: radial-gradient(#EAEAEA 60%, transparent 65%), conic-gradient(#3E9EEC 0% 88%, transparent 60% 100%);
	border-radius: 50%;
	z-index: -1;
}
#sleepscore_text{
    display: block;

    font-family: "Roboto", serif;
    font-weight:  500;
    font-style: normal;

    margin-block-start: -7px;
    margin-block-end: 1em;
    margin-inline-start: 20px;
    margin-inline-end: 20px;
}
/*ここまでプロフィール*/
/*ここからタグ*/
#tags{
    display:flex;
}
#tag1{
    position:relative;
    text-align: center;
    line-height : 15px;
    margin:-5px 0px 5px 0px;

    left: 12px;
    width: 90px;
    height: 18px;

    color:#cdcdcd;
    background-color: #000;
    font-size: 12px;
}
#tag2{
    position:relative;
    text-align: center;
    line-height : 15px;
    margin:-5px 0px 5px 10px;

    left: 12px;
    width: 65px;
    height: 18px;

    color:#cdcdcd;
    background-color: #000;
    font-size: 12px;
}
/*ここまでタグ*/
/*ここからフォロー＆メッセージ*/
#followandmessage{
    display:flex;
    justify-content: space-between;
    margin-top:5px;
}
#follow{
    position:relative;
    text-align: center;
    line-height : 5px;

    left: 12px;
    width: 235px;
    height: 30px;
    
    outline-color: #C1AC7B;
    outline-style: solid;
    outline-width: 1px;
    background-color: #ECB83E;
    border-radius: 5px;
}
#follow_text{
    color:#000;

        font-family: "Noto Sans JP", serif;
        font-optical-sizing: auto;
        font-weight: 500;
        font-style: normal;
    font-weight: bold;
    font-size: 12px;
}

#message{
    position:relative;
    text-align: center;
    line-height : 5px;

   margin: 0 12px 0 0;
    width: 120px;
    height: 30px;
    
    outline-color: #CDCDCD;
    outline-style: solid;
    outline-width: 1px;
    background-color: #D9D9D9;
    border-radius: 5px;
}
#message_text{
    color:#000;

        font-family: "Noto Sans JP", serif;
        font-optical-sizing: auto;
        font-weight: 500;
        font-style: normal;
    font-weight: bold;
    font-size: 12px;
}
/*ここまでフォロー＆メッセージ*/
/*ここからタブ*/
.tab {
    max-width: 390px;
    margin: 0 auto;
  }
  /* タブメニュー */
  .tab__menu {
    display: flex;
    align-items: flex-end; /* メニューを下揃え&高さを調整 */
    justify-content: center;
    min-height: 40px; /* メニュー切替時にタブがズレないように */
    padding: 0;
    margin: 20px 0 0 0;
  }

  .tab__menu-item {
    list-style: none;
 
    width: 100px;
    padding: 1px 1px; /* メニューに高さを付ける */
    text-align: center;
    margin-right: 6px;
    background-color: #EAEAEA;

    transition: all .3s; /* アニメーション */
  }
  .tab__menu-item img{
    width:22px;
    height:22px;
  }
  
  #tab__menu-item_rect{
    width:100px;
    height:4px;
    margin:0 0 2px 0;
    background-color: #000;
    border-radius: 2px;
  }

  /* タブパネル */
.tab__panel {
    margin:0 auto;
    width: 365px;
    height: 395px;
   }
   
   .tab__panel-box {
    background-color: #000;
     min-height: 395px; /* テキスト量が多くなっても対応できるように */
     padding: 5px 20px;
     border-radius: 30px;
     background-color: #000;
   }
   #info_calendar{
    display:flex;
   }

   #d_w_m{
    display: flex;
   }
   #day{
    position:relative;
    text-align: center;
    line-height : 12px;

   margin: 15px 5px 0 5px;
    width: 80px;
    height: 15px;

    background-color: #D9D9D9;
    border-radius: 2px;

    color:#000;
    font-family: "Noto Sans JP", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size:10px;
   }
   #week{
    position:relative;
    text-align: center;
    line-height : 12px;

   margin: 15px 0px 0 5px;
    width: 80px;
    height: 15px;

    background-color: #433F3F;
    border-radius: 2px;

    color:#EAEAEA;
    font-family: "Noto Sans JP", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size:10px;
   }
   #month{
    position:relative;
    text-align: center;
    line-height : 12px;

   margin: 15px 5px 0 5px;
    width: 80px;
    height: 15px;

    background-color: #433F3F;
    border-radius: 2px;

    color:#EAEAEA;
    font-family: "Noto Sans JP", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size:10px;
   }
   #measurementday{
    position:relative;
    color: #CDCDCD;
    margin: 10px 5px -5px 5px;

    font-family: "Noto Sans JP", serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size:10px;
   }
   #measurementday span{
    font-weight: 900;
    color:#EAEAEA;
   }

   #calendar{
    position: relative;
    justify-content: space-between;
   }

   #circle{
    position:absolute;
    margin:15px 0px 0 15px;
    width: 40px;
    height: 40px;
    background-color: #433F3F;
    border-radius: 50%;
   }
   #calendar img{
    position:absolute;
    margin:25px 0px 0 25px;
   }
   #hr{
    border:none;
    margin:5px 5px 0 5px;
    height: 0.3px;
   }
   .tab__panel-text{
    color:#EAEAEA;
   }

   #graph{
    margin: 20px 0 0 0;
   }

   #youso{
    display: flex;
    justify-content: space-between;
    margin: 10px 0 0 0;
   }
   #maru_netuku1{
    margin:0 0 10px 0;
    width: 15px;
    height: 20px;
    background-color: #ECB83E;
    border-radius: 4px;

   }
   #maru_netuku2{
    margin:0 0 10px 0;
    width: 15px;
    height: 20px;
    background-color: #AED36D;
    border-radius: 4px;
   }
   #maru_netuku3{
    width: 15px;
    height: 20px;
    background-color: #3E9EEC;
    border-radius: 4px;
   }
   #yousotime{
    margin:0 0 0 -10px;
   }
   #youso_netuku{
    display: flex;
    justify-content: space-between;

    position:relative;
    text-align: center;
    line-height : 20px;

    margin:0 0 10px 0;
    width: 300px;
    height: 20px;
    background-color: #ECB83E;
    border-radius: 4px;
   }
   .netuku{
    margin: 0 0 0 10px;
    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size:10px;
    color: #000;
   }
   #netukutime{
    margin: 0 10px 0 0;
    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size:12px;

    color: #000;
   }
   #netukutime span{
    font-weight: 800;
   }

   #youso_asai{
    display: flex;
    justify-content: space-between;

    position:relative;
    text-align: center;
    line-height : 20px;

    margin:0 0 10px 0;
    width: 300px;
    height: 20px;
    background-color: #AED36D;
    border-radius: 4px;
   }
   .asai{
    margin: 0 0 0 10px;
    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size:10px;
    color: #000;
   }
   #asaitime{
    margin: 0 10px 0 0;
    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size:12px;

    color: #000;
   }
   #asaitime span{
    font-weight: 800;
   }

   #youso_hukai{
    display: flex;
    justify-content: space-between;

    position:relative;
    text-align: center;
    line-height : 20px;

    width: 300px;
    height: 20px;
    background-color: #3E9EEC;
    border-radius: 4px;
   }
   .hukai{
    margin: 0 0 0 10px;
    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size:10px;
    color: #000;
   }
   #hukaitime{
    margin: 0 10px 0 0;
    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size:12px;

    color: #000;
   }
   #hukaitime span{
    font-weight: 800;
   }

   
/*ここからフッター*/
#footer{
  position: fixed;
  width: 100%;
  max-width :390px;
  height: 85px;
  bottom:0px;
  z-index:2;

  background-color: #000;
}

#footermenu{
    display:flex;
    justify-content: space-between;
}

ul{
    margin:0 20px 5px 20px;
    padding:15px;
}
.footer_menu1{
    position: relative;
    width:20px;
    margin:0px 10px 0px 20px;
}
.footer_menu1 img{
    position: relative;
    width: 25px;
    height: 25px;
}

#home{
    position: absolute;
    font-family: "Roboto", serif;
    font-weight:  200;
    font-style: normal;
    font-size:12px;
    color:#A2A2A2;
   margin:-10px 0 0 -3px;
}

.footer_menu2{
    position: relative;
    width:20px;
    margin:0px 10px 0px 10px;
}
.footer_menu2 img{
    position: relative;
    width: 25px;
    height: 25px;
}
#sleep{
    position: absolute;
    font-family: "Roboto", serif;
    font-weight:  200;
    font-style: normal;
    font-size:12px;
    color:#A2A2A2;
   margin:-10px 0 0 -2px;
}

.footer_menu3{
    position: relative;
    width:20px;
    margin:0px 10px 0px 10px;

}
.footer_menu3 img{
    position: relative;
    width: 25px;
    height: 25px;
}
#search{
    position: absolute;
    font-family: "Roboto", serif;
    font-weight:  200;
    font-style: normal;
    font-size:12px;
    color:#A2A2A2;
   margin:-10px 0 0 -3px;
}

.footer_menu4{
    position: relative;
    width:20px;
    margin:0px 25px 0px 10px;

}

.footer_menu4 img{

    position: absolute;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    z-index: 2;
}
#menu4_rect{
    position: relative;

background-color: #ECB83E;
width: 30px;
height: 30px;
border-radius: 10px;
}

#profile{
    position: absolute;
    font-family: "Roboto", serif;
    font-weight:  400;
    font-style: normal;
    font-size:12px;
    color:#EAEAEA;
   margin:26px 0 0 -2px;
}

