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

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

.rogo-nv {
  height: 40px;
}

body {
  font-family: 'Segoe UI','SF Pro','Yu Mincho','Hiragino Mincho ProN W6',sans-serif;
}

/*.bg-hero {
  background-color: rgba(197, 255, 159, 0.8);
  position: relative;
  height: 250px;
  font-family: 'Druk','Impact',sans-serif;
}

.bg-hero2 {
  background-image: url(https://static.igem.wiki/teams/5702/img/home/header2.webp);
  background-size: cover;
  background-position: center;
  position: relative;
  height: 400px;
  font-family: 'Druk','Impact',sans-serif;
}*/

.bg-hero {
  background-color: rgba(197, 255, 159, 0.8);
  position: relative;
  height: 250px;
  width: 100%;/*auto→100%*/
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}


.bg-hero2 {
  background-image: url(https://static.igem.wiki/teams/5702/img/home/header2.webp);
  background-size: cover;
  background-position: center;
  position: relative;
  height: 400px;
}

.bg-white{
  background-color: #fff;
}

.bg-hai {
  background-color: rgb(245,245,245);
}

.bg-green {
  background-color: #b7ca4d;
}

.bg-kuro {
  background-color: #5f5f5f;
}


/*.Ti-name {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  background-color: transparent;*/ /* none → transparent */
 /* white-space: nowrap;*/ /* ← これを追加！ */
/*}*/

.Ti-name {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  background-color: transparent;
  white-space: nowrap;
  }


.Ti-name2 {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  font-weight: bold;
}

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

.yohaku {
  height: 32px;
}

.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;
}

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

.idou {
  height: 50px;
}

.rl-yohaku {
  padding-left: 100px;
  padding-right: 100px;
}

.hr-gr {
  height: 4px;
  background-color: #76a263;
}

.hr-or {
  height: 4px;
  background-color: orange;
}

.hr-bl {
  height: 4px;
  background-color: black;
}

.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;
}

.list-maru {
  list-style-type: circle;
}

.list-dot {
  list-style-type: disc;
}

.list-hoshi {
  list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-star" viewBox="0 0 16 16"><path d="M2.866 14.85c-.078.444.36.791.746.593l4.39-2.256 4.389 2.256c.386.198.824-.149.746-.592l-.83-4.73 3.522-3.356c.33-.314.16-.888-.282-.95l-4.898-.696L8.465.792a.513.513 0 0 0-.927 0L5.354 5.12l-4.898.696c-.441.062-.612.636-.283.95l3.523 3.356-.83 4.73zm4.905-2.767-3.686 1.894.694-3.957a.56.56 0 0 0-.163-.505L1.71 6.745l4.052-.576a.53.53 0 0 0 .393-.288L8 2.223l1.847 3.658a.53.53 0 0 0 .393.288l4.052.575-2.906 2.77a.56.56 0 0 0-.163.506l.694 3.957-3.686-1.894a.5.5 0 0 0-.461 0z"/></svg>');
}

.un-or {
  text-decoration-line: underline;
  text-decoration-color: orange;
}

.un-aq {
  text-decoration-line: underline;
  text-decoration-color: aqua;
}

.to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  color: orange;
  opacity: 0.5;
}

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

.topp {
  color: orange !important;
  font-size: 16px !important;
}

/*home*/
#Home p {
  font-size: 24px;
}

.big-text {
  font-size: 40px !important;   /* 文字大きさ調整 */
  line-height: 1.6 !important;    /* 行間も少し広げると見やすい */
}

.spaced-text {
  margin-top: 40px;    /* 上に余白 */
  margin-bottom: 60px; /* 下に余白 */
}

#Home h3 {
  font-size: 32px;
  font-weight: bold;
}

.color-gr {
  color: #76a263;
}

.kakomi-hk {
  position: relative;
  width: 300px;
  height: 580px;
}

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

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

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

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

#hyouji-hk p {
  font-size: 36px;
}

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

/*Human-practice*/
/*
#road-hp {
  background-image: url(https://static.igem.wiki/teams/5702/img/human-practices/boom-20250930-170216-0003-2.webp);
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
}
*/

/*#Human-practices h3 {
  font-size: 20px;
}


#Human-practices h4 {
  font-size: 20px;
}

#Human-practices p {
  font-size: 16px;
}*/

#road-hp {
  background-image: url(https://static.igem.wiki/teams/5702/img/human-practices/boom-20250930-170216-0003-2.webp);
  background-size: 70%;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  height: 270px;
}

#ro-fru {
  position: absolute;
  left: -7%;
  top: 50%;
  transform: translateY(-64%);
  width: 30%;
}

#cl-fru {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-65%);
  width: 30%;
}

#po-ap0 {
  position: absolute;
  top: 50%;
  left: 11%;
  width: 20%;
  transform: translateY(10%);
}

#po-ap1 {
  position: absolute;
  top: 50%;
  left: 23%;
  width: 20%;
  transform: translateY(-140%);
}

#po-ap2 {
  position: absolute;
  top: 50%;
  left: 33%;
  width: 20%;
  transform: translateY(40%);
}

#po-ap3 {
  position: absolute;
  top: 50%;
  left: 59%;
  width: 20%;
  transform: translateY(-140%);
}

#po-ap4 {
  position: absolute;
  top: 50%;
  left: 69%;
  width: 20%;
  transform: translateY(40%);
}

#po-ap5 {
  position: absolute;
  top: 50%;
  left: 77%;
  width: 20%;
  transform: translateY(-105%);
}  

.AR-cirl:hover {
  width: 120%;
  transform: translateX(-15%) translateY(-15%);
  transition: 0.2s;
}

.AR-cirr:hover {
  width: 120%;
  transform: translateX(15%) translateY(15%);
  transition: 0.2s;
}

.AR-cirlb:hover {
  width: 120%;
  transform: translateX(-15%) translateY(15%);
  transition: 0.2s;
}

.AR-cirrt:hover {
  width: 120%;
  transform: translateX(15%) translateY(-15%);
  transition: 0.2s;
}

.prag-hp {
  border: 4px solid #dae89b;
  margin-top: 30px;
  margin-bottom: 25px;
  padding: 10px;
}

.int-card {
  border: 4px solid brown;
}

.int-card h4 {
  font-size: 24px !important;
}

.int-card p {
  font-size: 16px !important;
}

.colla-card {
  border: 4px solid aqua;
  padding: 8px;
}

.colla-card h4 {
  font-size: 30px;
}

/*education*/
/*
#Education {
  font-family: 'Druk','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: 3px solid rgb(122,82,42);
}

.prag-ed p {
  color: gray !important;
  font-size: 16px;
}

.prag-ed li {
  color: gray;
}

.prag-ed h4 {
  color: gray !important;
  font-size: 30px;
  margin-top: 20px;
}

.prag-ed h5 {
  color: gray;
  font-size: 16px;
  font-weight: 400;
}

#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 {
  width: 90%;
  height: 100%;
}

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

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

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

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

.card {
  margin-top: 24px;
}

.card h4 {
  font-size: 24px;
}

.card p {
  font-size: 20px;
}

.tl-ap {
  width: 80%;
}

.tl-ap:hover {
  width: 100%;
}

/*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);
}
*/

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

.splogo-hl {
  background-color: rgba(255,255,255,0.6);
}

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

.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: 85px;
  }

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

  /*human-practices*/ 
  .int-card-prag h4 {
    width: 40%;
  }
  
  .int-card-prag p {
    width: 60%;
  }

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

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

  /*footer*/
  .footer {
    background: linear-gradient(300deg, #76a263 0%,#76a263 55%, #5f5f5f 55%, #5f5f5f 100%);
  }

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

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

  .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;
  }

  .int-card-prag h4 {
    width: 100%;
  }
  
  .int-card-prag p {
    width: 100%;
  }

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

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

  /*footer*/
  .footer {
    background: linear-gradient(180deg, #5f5f5f 0%, #5f5f5f 52%, #76a263 52%, #76a263 100%);
  }

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

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

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

@media screen and (min-width:576px){
  .Ti-name2 h1 {
    font-size: 90px;
  }

  .Ti-name2 p {
    font-size: 70px;
  }

  #Education .alert p {
    font-size: 24px;
  }
}

@media screen and (max-width:575px){
  .Ti-name2 h1 {
    font-size: 70px;
  }

  .Ti-name2 p {
    font-size: 50px;
  }

  #Education .alert p {
    font-size: 8px;
  }
}