/* layout */
body {
  padding-top: 70px;
}

.left-aligned { 
  margin-left: auto;
}

.rogo-nv {
  height: 45px;
}

.bg-hero {
  background-color: rgba(197, 255, 159, 0.8);
  position: relative;
  height: 250px;
}

.Ti-name {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  color: rgb(122,82,42);
  background-color: rgba(255,255,255,0.4);
}

.haikei-gr {
  background:linear-gradient(to bottom,rgb(197,255,159)0%,rgb(237,255,167)100%);
}

.yohaku {
  height: 48px;
}

.chuoh-tate {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.chuoh-yoko {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.kintoh-yoko {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}

.hidari-yoko {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}

.idou {
  height: 70px;
}

.saido-menu {
  background-image: url(https://static.igem.wiki/teams/5702/img/education/goal/yellow-shikaku.webp);
  width: 288px;
  padding: 0 8px;
}

.saido-menu a {
  font-size: 24px;
}

.saido-menu li {
  color: rgb(196,144,96);
}

.si-ank {
  color: rgb(122,82,42);
  text-decoration: none;
}

.si-ank:hover {
  color: green;
  text-decoration: underline;
}

.to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  color: rgb(122,82,42);
  opacity: 0.5;
}

.to-top :hover {
  opacity: 1;
}

/*home*/
.kakomi-hk {
  position: relative;
  width: 300px;
  height: 520px;
}

#fruit {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background-color: greenyellow;
  opacity: 0;
}

#hakari {
  position: absolute;
  top: 140px;
  left: 50%;
  transform: translateX(-50%);
  width: 350px;
  overflow: hidden;
}

#hari {
  position: absolute;
  top: 368px;
  left: 88px;
  width: 120px;
  border-radius: 50%;
}

#hk-btn {
  width: 300px;
  height: 200px;
  border-radius: 30%;
  font-size: 48px;
  font-weight: bold;
  padding: 24px;
}

#hk-holder p {
  font-size: 32px;
  text-align: center;
}

#number {
  width: 225px;
}

#tons {
  width: 75px;
}

/*education*/
#Education {
  font-family: 'chalkduster','impact',sans-serif;
}

#Education h2 {
  color: rgb(122,82,42);
}

#Education h4 {
  color: rgb(122,82,42);
}

#Education p {
  color: rgb(122,82,42);
}

.prag-ed {
  border: 5px solid rgb(122,82,42);
}

#cycle-hl {
  position: relative;
}

#cycle-kt-ed {
  width: 100%;
  border-radius: 50%;
  /*transform: translateX(-50%);*/
  transform: rotate(0deg);
  transition: transform 2s;
}

#cycle-kt-ed:hover {
  transform: rotate(360deg);
}

#apple1-ed-af {
  width: 40%;
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
}

#apple2-ed-af {
  width: 40%;
  position: absolute;
  bottom: 0px;
  left: 0px;
}

#apple3-ed-af {
  width: 40%;
  position: absolute;
  bottom: 0px;
  right: 0px;
}

.tl-hyoh-bg {
  background-color: white;
  width: 90%;
  height: 100%;
}

.tl-ank {
  color: black;
  text-decoration: none;
}

.tl-ank:hover {
  color: green;
  text-decoration: underline;
}

.tl-pic-hyoh {
  border-radius: 50%;
  width: 100%;
}

.tl-pic-data {
  width: 20%;
}

.tl-gen {
  background-image: url(https://static.igem.wiki/teams/5702/img/education/hukidashi/4tai1.webp);
  background-size: cover;
  padding-left: 32px;
}

.card {
  margin-top: 24px;
}

.tl-ap {
  width: 80%;
}

/*member*/
.photo-me {
  width: 200px;
  height: 200px;
}

.name-me {
  font-size: 24px;
  color: darkgreen;
  text-align: center;
  font-weight: bold;
  margin-bottom: 0px;
}

.job-me {
  font-size: 16px;
  text-align: center;
  margin-bottom: 4px;
}

.sonota-me {
  font-size: 12px;
  text-align: center;
  margin-bottom: 4px;
}

.fruit-me {
  font-size: 16px;
  color: darkgreen;
  text-align: center;
  margin-bottom: 8px;
}

/* CALLOUT */
.bd-callout { padding:1.25rem; margin-top:1.25rem; margin-bottom:1.25rem; border:1px solid #e9ecef; border-left-width:.25rem; border-radius:.25rem }
.bd-callout h4 { margin-bottom: 1.25rem }
.bd-callout p:last-child { margin-bottom:0 }
.bd-callout code { border-radius:.25rem }
.bd-callout+.bd-callout { margin-top:-.25rem }
.bd-callout-info { border-left-color:#5bc0de }
.bd-callout-warning { border-left-color:#f0ad4e }
.bd-callout-danger { border-left-color:#d9534f }

/* footer */
footer a { color: blue; font-weight: bold; text-decoration: none; }
footer a:hover { color: blue; text-decoration: underline; }
footer p { font-size: 16px;}

.footer {
  background-color: rgba(237, 255, 167, 0.8);
}

.sp-rogo {
  width: 120px;
  margin: 16px;
  mix-blend-mode: multiply;
}

.hutta-rogo:hover {
  color: green;
}

.eda-fu {
  opacity: 0.6;
  mix-blend-mode: multiply;
}

.sns {
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
}

.kiyaku {
  position: absolute;
  bottom: 0px;
}

@media screen and (min-width:768px){
  /*layout*/
  .kintoh {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
  }

  .saido-narabi {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
  }

  .kotei-top {
    position: sticky;
    top: 70px;
  }

  .chuoh {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  /*education*/
  .tl-pic-sen-hyoh {
    font-size: 24px;
  }

  /*#cycle-hl {
    width: 50%;
  }*/

  /*footer*/
  .futta- {
    position: relative;
    height: 150px;
  }
}

@media screen and (max-width:767px){
  /*layout*/
  .kintoh {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
  }

  .saido-narabi {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
  }

  .chuoh {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  /*home*/
  .kakomi-hk {
    margin-bottom: 12px;
  }

  /*education*/
  .tl-pic-sen-hyoh {
    font-size: 16px;
  }

  /*#cycle-hl {
    width: 66.67%;
  }*/

  /*footer*/
  .futta- {
    position: relative;
    height: 250px;
  }
}

@media screen and (min-width:992px){
  #hyouji-hk {
    width: 520px;
  }
}

@media screen and (max-width:991px){
  #hyouji-hk {
    width: 360px;
  }
}