@charset "utf-8";
main {
  flex-wrap: wrap;
}

aside {
  width: 100vw;
  margin: 0;
}

@media screen and (min-width: 766px) {
  article {
      width: 95vw;
      max-width: none;
  }

  .aside-my-profile {
      display: flex;
      align-items: center;
  }
}
#nps-wrapper {
  width: 100%;
}

#nps-container {
  background: var(--bg2-color);
  padding: 2px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position:relative;
  top:0;
}
.nps-bar {
  /* background:var(--bg1-color); */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.nps-icon {
  text-align: center;
  width: 35px;
  height: 30px;
  position: relative;
  cursor: pointer;
}

.nps-icon img {
  width: 20px;
  height: 20px;
  margin: 5px 0;
  overflow: hidden;
  transition: 0.2s;
  /* filter:invert(1); */
  /* filter:invert(var(--img-gray)); */
}

.nps-icon:hover {
  background: var(--bg2-hover);
}
.nps-icon:hover img{
  transform:scale(1.2);
}
.nps-icon:hover::after {
  content: "";
  font-size: 12px;
  background: var(--bg1-color);
  position: absolute;
  top: 27px;
  right: 0;
  width: 80px;
  z-index: 100;
}
#nps-num:hover::after{content:"学生番号"}
#nps-ex:hover::after{content:"課題";width:40px}
#nps-mark-i:hover::after{content:"お気に入り";}
#nps-fav:hover::after{content:"お気に入り一覧";width:70px}
#nps-res-i:hover::after {content: "レスポンシブ"}
#nps-ld-i:hover::after {content: "ライトモードダークモード"}
#nps-crel-i:hover::after {content: "更新"}
#nps-rel-i:hover::after {content: "iframe内更新";}
#nps-back-i:hover::after {content: "戻る";width: 40px}
#nps-forward-i:hover::after {content: "進む";width: 40px}
#nps-cp-i:hover::after {content: "コピー"}
#nps-new-i:hover::after {content: "新しいタブで開く"}

.nps-bar p {
  font-size: 20px;
  padding: 0;
  font-weight: bold;
}

#nps-year {
  position: relative;
  min-width: 115.5px;
}

#nps-year-t{
  font-size: 18px;
  line-height: 30px;
  margin: 0 5px;
  color: black;
  transition:0.2s;
}

#nps-year-set {
  position: absolute;
  width: 100%;
  top: 0;
  display: flex;
}

.nps-year-set-i {
  width: 50%;
  height: 30px;
  background: var(--bg0-color);
  text-align: center;
  opacity: 0;
  transition: 0.3s;
  cursor: pointer;
}

.nps-year-set-i img {
  width: 20px;
  margin: 5px 0;
  filter: invert(var(--img-gray));
}

.nps-year-set-i:hover {
  /* opacity:0.8; */
  opacity: var(--bg2-opac);
}


#nps-num {
  display: flex;
  flex-wrap: wrap;
  min-width: 165px;
}
#nps-num:hover img{
  transform: none;
}

#nps-num-box {
  width: 35px;
  font-size: 20px;
  height: 30px;
  -moz-appearance: textfield;
  border: none;
  font-weight: bold;
  background: var(--bg0-color);
}

#nps-num-box::-webkit-outer-spin-button,
#nps-num-box::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.nps-num-set {
  display: flex;
  height: 30px;
  align-items: center;
}

.nps-num-set-i {
  height: 30px;
  text-align: center;
  align-items: center;
  background: var(--bg1-color);
}

#nps-num-set-10, /* num-set の画像 */
#nps-num-set10 {width: 20px}
#nps-num-set-1,
#nps-num-set1 {width: 45px}

.nps-num-set-i img {
  width: 16px;
  margin: 7px 0;
  filter: invert(var(--img-gray));

}

.nps-num-set-i:hover {
  opacity: 0.5;
}



#nps-ex {
  width:70px;
}

#nps-ex-sel {
  border: none;
  font-size: 17px;
  height: 25px;
  margin: 2.5px;
  color:black;
  /* background: var(--bg0-color); */
  background:none;
}
/* #nps-fav{
  tran
} */
#nps-fav:hover #nps-fav-manu{
  transform:scale(1.2);
}

#nps-fav-manu {
  height: 100%;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition:0.2s;
}
#nps-fav{
  z-index: 100;
}

#nps-fav-manu span,
#nps-fav-manu span::before,
#nps-fav-manu span::after {
  line-height: 100%;
  background: black;
  display: block;
  content: "";
  width: 18px;
  height: 2px;
  position: absolute;
  transition:0.3s;
}

#nps-fav-manu span::before {
  bottom: 5px;
}
#nps-fav-manu span::after {
  top: 5px;
}
.nps-fav-manu-rotate span::before{
  
  transform: translate(-0,5px) rotate(-90deg);
  
}
.nps-fav-manu-rotate span{
  transform: translate(0) rotate(135deg);
  
}
.nps-fav-manu-rotate span::after{
  transform: translate(0,-5px);
}
#nps-fav:hover{
  background:var(--bg2-hover);
  cursor:pointer;
}




#nps-url-box {
  width: 50vw;
  /* width:370px; */
  min-width:300px;
  max-width: 370px;
  border: none;
  background: var(--bg0-color);
}
#nps-iframe-box{
  width:100%;
  text-align: center ;
}
#nps-iframe{
  transition:0.2s;
}
#nps-fav-container{
  position:absolute;
  top:30px;
  min-width:300px;
  max-width:calc(100% - 20px);
  margin:10px;
  background: var(--bg1-color);
  z-index: 100;
  display:flex;
  flex-wrap: wrap;
  justify-content: center;
}
.nps-fav-container-outer{
  position:absolute;
  display:none;
  background:var(--bg2-color);
  width:100%;
  height:100%;

}
.nps-fav-contents{
  cursor:pointer;
}
.nps-fav-contents p{
  font-size:14px;
  line-height:20px;
  padding:10px;
}
.nps-fav-contents:hover{
  background:var(--bg0-color);
}
.nps-fav-year{
  width:100%;
  cursor:default;
}
.nps-fav-year p{
  line-height: 15px;
  padding:0 10px;
}
.nps-fav-year:hover{
  background:none;
}
#nps-fav-outer{
  display:none;
  position:fixed;
  top:0;
  left:0;
  width:100vw;
  height:100vh;
  background:var(--bg0-color);
  opacity:var(--bg2-opac);
  z-index: 50;
}
