@charset "utf-8";

@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");


#section1 {
    width: 90%;
    z-index: 1;
    margin-right:5%;
    margin-left:5%;
    margin-bottom: 7%;
    position:relative;
}


.section1_department_serect {
    background-color: #022d46;
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    margin-top: 5px;
    cursor:default;

}
.logosetumei{
    font-size: 90%;
}
@media screen and (max-width:700px){
    .logosetumei{
        font-size:85%;
    }
}
.section1_department_serect p {
    color: #ffffff;
    font-size: xx-large;
}

.lab-table {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: 8rem;
}

.medical-labos-title-long {
    display: flex;
    text-align: left;
    margin-left: 0;
    width: fit-content;
    border-bottom: 6px solid #022d46;
    /* 下線の上の隙間↓ */
    padding-bottom: 10px;
    /* 下線の下の隙間 */
    margin-bottom: 50px;
    margin-top: 20px;
    position: absolute;
    transform: translateY(-250%);
    top: 0;
    height: 1.8rem;
    font-size:
}


.medical-labos-title-long img {
    /* 医学科講座　の大きさに合わせる */
    height: 3rem;
    transform: translateY(-20%);                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
}

.medical-labos-title-long h2 {
    font-size: xx-large;
    color: #022d46;
    height: fit-content;
}

@media screen and (max-width:400px){
    .medical-labos-title-long h2{
        font-size:5vw;
    }
}

@keyframes fadeIn {
	0% {opacity: 0;transform: scale(0.8);}
	100% {opacity: 1;transform: scale(1);}
}

.te-ma1{
	font-size:20px;
    opacity:0;
	animation:fadeIn 1s 0s forwards;
}

.te-ma2{
	font-size:20px;
    opacity:0;
	animation:fadeIn 1s 2s forwards;
}

.te-ma3{
	font-size:20px;
    opacity:0;
	animation:fadeIn 1s 4s forwards;
}

.te-ma4{
	font-size:20px;
    opacity:0;
	animation:fadeIn 1s 6s forwards;
}

.te-ma5{
	font-size:20px;
    opacity:0;
	animation:fadeIn 1s 8s forwards;
}

.te-ma6{
	font-size:20px;
    opacity:0;
	animation:fadeIn 1s 10s forwards;
}

.te-ma7{
	font-size:20px;
    opacity:0;
	animation:fadeIn 1s 12s forwards;
}

.lab-table-item {
    background-image: url(https://www.med.kagawa-u.ac.jp/~gakusei/gakusai/46th/sakai_images/lab_introduction/puzzle.png);
    background-size: contain;
    border: 4px solid #022d46;
    padding:5px 10px;
    width:50vw;
    margin:0 auto;
    margin-bottom:5%;
}

.lab-table-item1 {
    background-image: url(https://www.med.kagawa-u.ac.jp/~gakusei/gakusai/46th/sakai_images/lab_introduction/puzzle.png);
    background-size: contain;
    border: 4px solid #022d46;
    padding:5px 10px;
    width:50vw;
    margin:0 auto;
    margin-bottom:5%;
}

.lab-table-item2 {
    background-size: contain;
    padding:5px 10px;
    width:50vw;
    margin:0 auto;
    margin-top:5%;
    margin-bottom:5%;
}

.lab-table-item3 {
    background-image: url(https://www.med.kagawa-u.ac.jp/~gakusei/gakusai/46th/sakai_images/lab_introduction/puzzle.png);
    background-size: contain;
    border: 4px solid #022d46;
    padding:5px 10px;
    width:30vw;
    margin:0 auto;
    margin-top:5%;
    margin-bottom:5%;
}

.wakunasi-photo img{
    width:50vw;
}

.kyoku-photo img{
    display:block;
    width:50vw;
    margin-right:auto;
    margin-left:auto;
}

.kyoku-photo1 img{
    display:block;
    width:30vw;
    margin-right:auto;
    margin-left:auto;
}

.syoukaibun{
    width:95%;
    margin:0 auto;
    margin-top:3%;
    margin-bottom:10%;
    line-height:30px;
    padding-top:2%;
}

.syoukaibun1{
    width:80%;
    margin:0 auto;
    margin-top:10%;
    margin-bottom:10%;
    line-height:30px;
    padding-top:2%;
}


.syoukaibun5{
    width:95%;
    margin:0 auto;
    margin-top:10%;
    margin-bottom:10%;
    line-height:30px;
    padding-top:2%;
}

.logos-photo{
    width:70%;
    margin:0 auto;
}

.logos-photo img{
    width:100%;
    margin:0 auto;
    margin-top:15vw;
}

.daimei-photo{
    width:70%;
    margin:0 auto;
}

.daimei-photo img{
    width:100%;
    margin:0 auto;
    margin-top:0vw;
}

@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400&display=swap');
* {
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
.scroll_down {
  position: relative;
  width: 100%;
  height: 40vh;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  opacity:0;
  animation:fadeIn 1s 14s forwards;
}

.scroll_down:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80%;
  background: linear-gradient(180deg,rgba(#000, 0) 0, rgba(#000, .8) 80%, rgba(#000, .8) 100%);
  }

.scroll_down a {
  display: inline-block;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  width: 13px;
  padding: 10px 10px 110px;
  color: #000;
  font-size: 14px;
  font-family: 'Josefin Sans', sans-serif;
  line-height: 1;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  writing-mode: vertical-lr;
  transition: .2s;
  overflow: hidden;
  margin: auto;
}

.scroll_down a:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 2px;
  height: 100px;
  background: #ddd;
}

.scroll_down a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 2px;
  height: 100px;
  background: #000;
}

.scroll_down a:hover {
  opacity: .5;
}

.star1{
    position:absolute;
    top:400px;
    right:30px;
    opacity:0;
    animation:fadeIn 1s 12.2s forwards;
}
.star1 img{
    width:50px;
}

.star2{
    position:absolute;
    top:350px;
    right:40px;
    opacity:0;
    animation:fadeIn 1s 12.4s forwards;
}
.star2 img{
    width:70px;
}

.star3{
    position:absolute;
    top:280px;
    right:40px;
    opacity:0;
    animation:fadeIn 1s 12.6s forwards;
}
.star3 img{
    width:90px;
}

.star4{
    position:absolute;
    top:200px;
    right:10px;
    opacity:0;
    animation:fadeIn 1s 12.8s forwards;
}
.star4 img{
    width:110px;
}

@keyframes rotation{
    0%{ transform:rotate(0);}
    100%{ transform:rotate(360deg); }
  }

.star5{
    position:absolute;
    top:100px;
    right:30px;
    opacity:0;
    animation:fadeIn 1s 13s forwards;
    
}
.star5 img{
    width:150px;
}

#type01 a:after {
  animation: sdl01 1.5s cubic-bezier(1, 0, 0, 1) infinite;
}

@keyframes sdl01 {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}


.danraku{
    margin-bottom:20px;
}

.danraku1{
    margin-bottom:20px;
}

.danraku1 p{
    margin-bottom:30px;
}

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

.syoukaibun1 p{
    font-size:22px;
    text-align: left;

}

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


@media screen and (min-width:400px) {
    .lab-table-item1 {
        width:50vw;
        margin-top: 2%;
    margin-bottom:2%;
}
.lab-table-item2 {
        float:left;
        width:50vw;
    margin-right:5%;
    margin-bottom:5%;
}
    .wakunasi-photo img{
        width:50vw;
    }

    .lab-table-item3 {
        float:left;
    margin-right:5%;
    margin-bottom:5%;
}
    .syoukaibun1{
        width:60%;
    }
     
}