@charset "utf-8";

@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");
.taite-title{
    padding-top: 5%;
}
.taite-title p{
  font-size: larger;
  padding: 10px ;
  background-color: antiquewhite;
  border:solid 4px #022d46 ;
  border-radius: 30%;

}
.form{
    margin:5% 2% ;

}
@media(max-width:500px){
    .form a{
        font-size: 10px;
    }
    .form p{
        font-size: smaller;
    }
   
}
#section1 {
    max-width: 90%;
    width: 1000px;
    margin: auto;
    z-index: 1;

}

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

}



.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;
    align-items: stretch;
    margin-top:5rem;
    
}

.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:52vw;
    margin:5% auto;
}

.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;
    width: 90%;
    max-width: 400px;
    margin-bottom: 15vw;
    margin-right:10px;
}

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

.kyoku-photo1 img{
    width:80%;

    margin:auto;
    display:block;
    margin-top:-5%;
    margin-bottom:10px;
}



.medical-labos-title-covid {
    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 {
    display: flex;
    text-align: left;
    margin-left: 0;
    width: fit-content;
    border-bottom: 6px solid #022d46;
    /* 下線の上の隙間↓ */
    padding-bottom: 10px;
    /* 下線の下の隙間 */
    margin-bottom: 10px;
    margin-top: 20px;
    height: 1.8rem;
    margin-left: auto;
    margin-right: auto;
}

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

}

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

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

}

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

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

.btn1 {
    text-align: center;
	font-size: 0.8rem;	/*文字サイズを120%に*/
    margin-top:1%;
}
.btn1 a {
	display: inline-block;text-decoration: none;
    background-color:#e4a7da;	/*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
	color: #fff;	/*文字色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
	border-radius: 100px;	/*角を丸くする指定*/
	padding: 0.5em 2em;		/*上下、左右へのボタン内の余白*/
}

.btn2 {
    text-align: center;
	font-size: 0.8rem;	/*文字サイズを120%に*/
    margin-top:1%;
    margin-bottom:10px;
}
.btn2 a {
	display: inline-block;text-decoration: none;
    background-color:#fc995b;	/*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
	color: #fff;	/*文字色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
	border-radius: 100px;	/*角を丸くする指定*/
	padding: 0.5em 2em;		/*上下、左右へのボタン内の余白*/
}

/*矢印アイコン*/
.arrow1::after {
	display: inline-block;
	font-family: "Font Awesome 6 Free";	/*Font Awesomeを使う指定*/
	font-weight: bold;
    content: "\f061";		/*アイコンのコード*/
	padding-left: 0.5em;	/*アイコンとテキストとの間のスペース*/
	transition: 0.3s;
}
.arrow1:hover::after {
	transform: translateX(0.2em);	/*マウスオン時に少しだけ移動する*/
}

.syoukaibun{
    width:95%;
    margin:0 auto;
    margin-top:5%;
    margin-bottom:20%;
    line-height:27px;
}

.syoukaibun a{
    display:inline-block;
}

.danraku{
    margin-bottom:20px;
}

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

.meado{
    display:inline-block;
}



.meado img{
    height:20px;
    margin-top:20px;

}


.me-ru{
    display:inline-block;
    margin-top:-2px;
}

.lab-name {
    background-color: #d2efff;
    width: 60%;
    height: 15%;
    font-size:20px;
    text-align:center;
    line-height:400%;
    border-radius: 9999px;
    border: 3px solid #022d46;
    transform: translate(-5%, -50%);
}

.lab-name1 {
    background-color: #d2efff;
    width: 45vw;
    max-width:200px;
    line-height:10vh;
    font-size:20px;
    text-align:center;
    line-height:350%;
    border-radius: 9999px;
    border: 3px solid #022d46;
    transform: translate(-5%, -50%);
}


@media  screen and (max-width:440px){
    .lab-name{
        font-size:16px;
    }
}

 .lab-table-item1:nth-child(4n) {
    border: 4px solid #e1340e;
}

.lab-table-item1:nth-child(4n+1) {
    border: 4px solid #088100;
}

.lab-table-item1:nth-child(4n+2) {
    border: 4px solid #57035e;
}

.lab-table-item1:nth-child(4n+3) {
    border: 4px solid #f4d41f;
}