/* 全体の設定 */
main h1{
    font-size: 30px;
    color:dodgerblue;
}
main h2{
    font-size: 28px;
    color:darkorange;
}
main p{
    font-size: 22px;
    color: black;
}

/* 紹介文 */
#introduction {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    margin-bottom: 70px;
    background-color:antiquewhite;
    border-radius: 20px;
}

#intro-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

#intro-image img {
    width: 30%;
    padding: 8px;
    border-radius: 20px;
    object-fit: cover;
}

#intro-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    width: 100%;
}

#intro-text h1 {
    font-family: "Yusei Magic", sans-serif;
    font-size: 40px;
    margin: 0;
}

#intro-text p {
    font-size: 24px;
    margin: 24px;
}

/* 活動内容 */
#activities>#container {
    display: flex;
    justify-content: space-around;
    margin: 0;
    padding: 0;
}

#activities>p {
    margin: 40px 30px;
    padding: 0;
}

/* 活動内容の各ボックス */
.activity {
    display: flex;
    flex-direction: column;
    border: 3px solid rgba(33, 144, 255, 0.5);
    border-radius: 10px;
    margin: 80px 0;
    width: 28%;
    list-style: none;
}

.activity h2 {
    font-size: 30px;
    text-align: center;
    position: relative;
    top: -25px;
    width: 60%;
    margin: 0 auto;
    background-color: white;
}

.activity>.intro {
    flex-grow: 1;
}

.activity p {
    font-size: 20px;
    padding: 0 20px;
    margin: 0;
}

.activity a {
    display: block;
    text-align: center;
    font-size: 20px;    
    color: white;
    background-color: dodgerblue;
    padding: 10px 0;
    width: 60%;
    margin: 26px auto;
    border-radius: 10px;
    text-decoration: none;
}

.activity a:hover {
    background-color: rgb(88, 166, 244);
}

/*インスタグラム,Twitter*/
#sns {
    display: flex;
    flex-direction: column;
    margin: 125px 0;
    
}

#sns>#container {
    display: flex;
    justify-content: center;
    flex-direction: row;
    margin: 40px 0;
    padding: 0;
}

.field {
    display: flex;  /*横並び*/
    align-items: top; /*上に揃える*/
    justify-content: center; /*横並びの要素（文字列）を中央寄せに揃える*/
    margin:0 40px; /*画面の中央揃え*/
    padding: 16px; /*要素の内側の余白*/
    min-width: 400px;/*要素の最小幅*/
    width: 600px;
    height: auto; /*要素の高さ*/
    overflow: scroll; /*ボックスからはみ出してはいけない*/
    scrollbar-width: none;
    border-radius: 20px;
    background-color:beige;
}

.instagram {
    display: flex;
    justify-content: center;
    width: 90%;
}

.twitter {
    display: flex;
    justify-content: center;
    width: 90%;
}