@charset "UTF-8";
section{
width: 90%;
max-width: 970px;
height: auto;
padding: 80px 0;
overflow: hidden;
margin: 0 auto;
}
h2{
text-align: center;
font-size: 20px;
color: #202020;
letter-spacing: 0.01em;
line-height: 1.1em;
}
h3{
font-size: 18px;
line-height:1.38em;
color: #B45124;
}

.participating-nation__wrapper{
width: 100%;
max-width: 780px;
height: auto;
margin: 0 auto;
}
.participating-nation__wrapper h2{
margin: 55px 0 22px 0;
letter-spacing: 0.01em;
font-size: 16px;
line-height: 1.375em;
}
.participating-nation__wrapper h2 span{font-size: 12px;display: block;}
.participating-nation__title{
text-align: center;
font-size: 16px;
font-weight: 700;
letter-spacing: 0.01em;
line-height: 1.375em;
}
.participating-nation__title span{
font-size: 12px;
line-height: 1.83em;
display: block;
}
#participating-nation dl{
width: 100%;
height: auto;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
#participating-nation dl dt{
width: 406px;
height: auto;
position: relative;
}
.participating-nation__title{
width: 214px;
height: 45px;
line-height: 38px;
color: #fff;
background-image: url(../images/my-hometown/country_title.png);
background-position: center;
background-repeat: no-repeat;
background-size: contain;
text-align: center;
font-size: 14px;
font-weight: 700;
margin: 0 auto;
}
.participating-nation__list{
width: 100%;
height: auto;
position: relative;
margin-top: 40px;
}
.country_back{width: 100%;display: block;}
.flag{
position: absolute;
width: 30px;
height: auto;
}
.flag_bangladesh{top:62px;left: 118px;}
.flag_india{top: 70px;left: 55px;}
.flag_japan{top: 59px;right:16px;}
.flag_myanmar {top: 80px;left: 157px;}
.flag img {width:30px;height: auto;display: block;}
.flag_philippines{bottom: 147px;right: 126px;}

/* モーダル */
.open-modal {border: none;cursor: pointer;background-color: transparent;}
.open-modal:hover{opacity: 0.8;}
.modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
z-index: 10000;
}
.modal-content {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 90%;
max-width: 500px;
height: 90vh;
overflow: hidden;
padding-bottom: 45px;
}
.close-modal{
width: 50px;
height: 50px;
font-size: 40px;
float: right;
cursor: pointer;
background-color: #222;
color: #fff;
text-align: center;
line-height: 50px;
}
.modal__wrapper{
background-color: white;
overflow-x: hidden;
overflow-y: scroll;
clear: both;
width: 100%;
height: 100%;
padding: 45px;
}
.modal-content h3{
width: 100%;
height: auto;
text-align: center;
font-size: 28px;
color: #202020;
}
.modal-content h3:before{
width: 100%;
display: block;
font-size: 14px;
font-weight: 700;
letter-spacing: 0.2em;
color: #ED9B10;
margin-bottom: 5px;
}
.modal__wrapper .cap{width: 100%;text-align: center;font-size: 12px;}
.modal__list{
width: 100%;
height: auto;
display: flex;
flex-wrap: wrap;
gap: 45px 5%;
margin-top: 30px;
}
.modal__item{width: auto;height: auto;}
.modal__image{
border-radius: 10px;
width: 150px;
height: auto;
display: inline-block;
margin-bottom: 10px;
margin-top:20px;
}
.modal__name{
font-size: 14px;
font-weight: 700;
text-align: left;
}
.modal__name:before{content: "■";display: inline-block;margin-right: 5px;}
.modal__school{
font-size: 14px;
font-weight: 700;
color: #B34F27;
text-align: left;
}
.modal__ul {margin-top: 10px;width: 100%;}
.modal__ul li{
font-size: 14px;
font-weight: 400;
text-align: left;
}
.modal__ul li:before{content: "・";display: inline-block;margin-right: 5px;}

/*国別の指定*/
#modal_japan .modal-content{width: 90%;max-width: 980px;}
#modal_japan .modal__item{width: 30%;text-align: left;}
#modal_bangladesh .modal-content h3:before{content: "BANGLADESH";}
#modal_india .modal-content h3:before{content: "INDIA";}
#modal_japan .modal-content h3:before{content: "JAPAN";}
#modal_myanmar .modal-content h3:before{content: "MYANMAR";}
#modal_philippines .modal-content h3:before{content: "PHILIPPINES";}

#participating-nation dl dd{
width: 45%;
height: auto;
display: flex;
flex-wrap: wrap;
justify-content: center;
align-content: center;
gap: 0 20px;
}
#participating-nation dl dd h3{
width: 100%;
text-align: center;
font-size: 20px;
color: #202020;
}
.participating-nation__school,.participating-nation__member{
width: auto;
height: auto;
position: relative;
font-size: 40px;
font-weight: 700;
z-index: 1;
line-height: initial;
text-align: center;
padding: 0 5px;
}
.participating-nation__school span{display: inline-block;font-size: 18px;}
.participating-nation__school:after,.participating-nation__member:after{
content: "";
width: 100%;
height:20px;
position: absolute;
bottom:0;
left: 0;
z-index:-1;
}
.participating-nation__school:after{background-color: #F6CD86;}
.participating-nation__member:after{background-color: #BBC879;}
.participating-nation__cap{
width: 100%;
text-align: center;
font-size: 14px;
font-weight: 700;
margin-top: 14px;
}
.participating-nation__cap span{font-size: 12px;display: block;}

#about{padding:0;}
.about__wrapper{padding-top: 30px;}
.about__wrapper h3{margin-bottom: 10px;}

#blogs{padding:0 0 80px 0;background-color: #fff;}
#blogs h2{margin-bottom: 12px;}
.youtube_channel{
width:90%;
height: auto;
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
gap: 0 8%;
margin: 0 auto;
}
.youtube_channel dt{width:52%;text-align: center;}
.youtube_channel dt p{
text-align: left;
font-size: 14px;
font-weight: 700;
line-height: 1.78em;
margin-bottom: 12px;
}
.youtube_channel dd{width:40%;height: auto;}
.youtube_channel dd img{
border-radius: 10px;
width: 100%;
height:auto;
display: block;
}

#join_support {width: 100%;max-width: inherit;}
#join_support h2{margin-bottom: 30px;}
#join_support h2:before {
content: "JOIN & SUPPORT";
display: block;
font-size: 14px;
font-weight: 700;
letter-spacing: 0.2em;
color: #ED9B10;
margin-bottom: 5px;
line-height: 1em;
}
.join_support__content{
width: 90%;
max-width: 980px;
height: auto;
margin: 0 auto;
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0 5%;
}
.join_support__content:first-of-type{margin-bottom: 50px;}
.join_support__content img{
width: 35%;
height: auto;
display: block;
border-radius: 10px;
}
.join_support__content div{width: 60%;height: auto;}
.join_support__content .btn{margin-top: 14px;}

@media only screen and (max-width: 950px) {
#participating-nation dl {justify-content: center;}
#participating-nation dl dt{width: 335px;}
.participating-nation__list {margin-top: 20px;}
.flag_bangladesh{top:38px;left:98px;}
.flag_india{top:47px;left:44px;}
.flag_japan{top:40px;right:17px;}
.flag_myanmar{top:56px;left:138px;}
.flag_philippines{bottom:123px;right: 100px;}
#participating-nation dl dd {width: 100%;}
.join_support__content img {width: auto;max-width: 320px;}
.join_support__content .btn {
margin: 14px auto 0 auto;
width: 100%;
max-width: 300px;
display: block;
}
.join_support__content img {margin-bottom: 20px;}
.join_support__content {justify-content: center;}
}

@media only screen and (max-width: 600px) {
.modal-content h3 {font-size: 20px;}
#modal_japan .modal__item {
width: 100%;
text-align: center;
max-width: 300px;
}
#modal_japan .modal__item {margin: 0 auto;}
.modal__list{
justify-content: center;
flex-direction: column;
justify-content: center;
}
.modal__item {width: 100%;text-align: center;}
.modal__item p, .modal__ul li {text-align: left;}
.youtube_channel{
width: 100%;
margin-top: 30px;
gap: 20px;
flex-direction: column;
}
.youtube_channel dt {
width:100%;
text-align: center;
order:2;
}
.youtube_channel dd {width: 100%;order:1;}
.youtube_channel dd img{
width: 100%;
max-width: 320px;
margin: 0 auto;
}
.join_support__content{justify-content: center;gap:12px 0;}
.join_support__content div{text-align: center;width: 100%;}
.join_support__content div p{text-align: left;}
.join_support__content div a p{text-align: center;}
.join_support__content img {margin-bottom: 0px;}
}