/* teamページ */

/* -----------------------------------------------
参加団体の紹介
----------------------------------------------- */
.team-teams .section-title {
    padding: 0 15vw;
    margin: 0vw auto;
}

.team-teams .section-container {
    width: 100%;
    padding: 0;
    margin: 0vw 5vw 0vw 0vw;
}
/*-------------------------------
 国のタイトルのレイアウト 
 -------------------------------*/
 /* .country h3{
    position: relative;
    display: flex;
    margin: 0 25vw;
    width: 50vw;
    text-align: center;
    justify-content: center;
} */
.country {
    display: inline-block;
    position: relative;
    padding: 15px 30px;
    margin: 10px 0px 5px 25px;
    /* width: 25vw; */
    font-size: 150%;/*フォントサイズ*/
    color: #FFF;/*フォントカラー*/
    background: #a6d3c8;/*リボンの色*/
    /* border-color: #040303; */
    text-align: center;
}

.country:before {
    position: absolute;
    content: '';
    top: 100%;
    left: 0;
    border: none;
    border-bottom: solid 15px transparent;
    border-right: solid 20px rgb(149, 158, 155);/*折り返し部分*/
}
#japan .country{
    color: #ffffff;
    background-color: #f09199;
}
#japan .country:before {
    border-right: solid 20px rgb(188, 0, 45);/*折り返し部分*/
}
#egypt .country{
    color: #c09300;
    background-color: #000;
}
#egypt .country:before {
    border-right: solid 20px rgb(206, 17, 38);/*折り返し部分*/
}
#mexico .country{
    color: #ffffff;
    background-color: #006847;
}
#mexico .country:before {
    border-right: solid 20px rgb(206, 17, 38);/*折り返し部分*/
}
#usa .country{
    color: #ffffff;
    background-color: #3c3b6e;
}
#usa .country:before {
    border-right: solid 20px rgb(178, 34, 52);/*折り返し部分*/
}


.teams-container {
    padding: 0;
    width: 100%;
    display: flex;
    column-gap: 3%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.teams-container .card-content{
    width: 460px;
    column-gap: 3%;
    text-align: center;
    margin-bottom: 10vw;
    display: inline-block;
    align-items: center;
}
.domestic {
    height: 800px;
}
.overseas {
    height: 150px;
}
.overseas .card-content{
    height: 100px;
}

/*-------------------------------
 チームごとのレイアウト 
 -------------------------------*/
.card-content h3{
    font-size: 170%;
    margin-top: 24px;
    font-stretch: 20px;
}
.card-content p{
    margin-top: 8px;
    font-size: 16px;
    text-align: center;
}
.card-content img{
    max-width: 100%;
    margin-top: 3vw;
    border-radius: 1%;
    vertical-align: bottom;
}
/* 縦長画像のサイズ調整 */
.height-long img{
    width: 350px;
}

/* アワードタグ */
.award-tag {
    font-size: 65%;
    border-radius: 5px;
    color: #F7F5ED;
    display: inline-block;
    margin: 10px 0px 0px 0px;
    padding: 5px 7px;
}
.over-all{
    background-color: #cd4c4c;
}
.best-mission{
    background-color: #3abb72;
}
.technical-system{
    background-color: #4798d2;
}
.accuracy{
    background-color: #e6a13a;
}
.unisec{
    background-color: #9a67d8;
}

@media (max-width: 768px) {
    .team-teams .flex-container{
        display: flex;
        justify-content: flex-start;
    }
    .team-teams .section-title {
        padding: 0vw;
        margin: 0vw auto;
    }
    
    .team-teams .section-container {
        width: 100%;
        padding: 0 5vw;
    }
    /*-------------------------------
     チームごとのレイアウト 
     -------------------------------*/
    .teams-container{
        flex-direction: column; /*クラス内の並びを縦方向に*/
        row-gap: 20vw; /*要素の行方向の感覚 */
    }
    .teams-container .card-content {
        width: 100vw;
        height: 100%;
    }
    .teams-container .card-content h3{
        font-size: 150%;
    }
}