@charset "utf-8";

body section {
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, sans-serif;
}
.inner{
	padding:0px;
	margin:0 auto 5em;
}
.textarea .flex {
    margin: 15px 0;
}
#primary .summary a.listening {
    display: block;
    width: 100%;
    text-align: center;
    color: #fff;
    padding: 1em .5em;
    margin: 6px auto;
    font-size: 1.05em;
    border-radius: 5px;
    background: #67b73d
}
#primary .summary a.listening::before {
    content: "";
    background: url(../img/icon_music.svg) no-repeat left center;
    background-size: 24px auto;
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
    margin-bottom: 2px
}
#primary .summary a.otherbtn {
    display: block;
    width: 100%;
    text-align: center;
    color: #fff;
    padding: .3em .5em 0.1em;
    margin: 6px auto;
    font-size: .95em;
    border-radius: 5px;
    background: #67b73d
}
#primary .summary a.otherbtn small {
    font-size: 75%;
    display: inline-block;
    vertical-align: center;
}

#primary .summary a.otherbtn::before {
    content: "";
    background: url(../img/icon_pdf.svg) no-repeat left center;
    background-size: 26px auto;
    width: 25px;
    height: 36px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
    margin-bottom: 3px;
}

#wbpoint {
	width:100%;
    margin-bottom: 20px;
    padding: 20px 15px 15px;
    display: block!important;
    background: #fc86a8;
    border-radius: 6px;
}
ul#wbpoint li {
    background: 0 0!important;
    border-radius: 0!important;
    margin-bottom: 20px;
    padding: 0 0 6px!important;
    width: auto!important;
    text-align: left!important;
    display: block!important;
    font-size: 18px!important;
    line-height: 1.5em;
    letter-spacing: 1px;
    color: #fff!important;
    font-weight: 700;
    border-bottom: 1px #fff dashed
}
ul#wbpoint li:last-child {
    margin-bottom: 0
}
ul#wbpoint li .wpmark {
    width: 80px;
    height: 30px;
    display: inline-block;
    vertical-align: top;
    margin-right: 10px;
}
.wp01 {
    background: url(../img/point01.svg) left top no-repeat;
    background-size: 80% auto;
}
.wp02 {
    background: url(../img/point02.svg) left top no-repeat;
    background-size: 80% auto;
}
.wp03 {
    background: url(../img/point03.svg) left top no-repeat;
    background-size: 80% auto;
}
ul#wbpoint li .wbtext {
    width: -webkit-calc(100% - 90px);
    width: -moz-calc(100% - 90px);
    width: calc(100% - 90px);
    display: inline-block;
    vertical-align: top;
    /* margin-top: 10px; */
    box-sizing: border-box;
}
ul#wbpoint li .wbtext strong {
    margin-right: 5px
}
ul#wbpoint li .wbtext small {
    display: block;
    font-size: 70%;
    line-height: 1.4em;
}

.wbblock:last-child {
    margin-bottom: 0
}



#primary .elements .sttitle {
    font-size:2rem; 
    line-height:1.5rem; 
	padding:2em 0 0.5em;
	text-align: center;
	margin: 0 auto;
}

#primary .elements .wbmovie h2{
	font-size:1.8em;
	padding:1.5em 0 1em;
	text-align: center;
	margin: 0 auto;
}

#stem .elements .wbpublication h2{
	font-size:1.8em;
	padding:4em 0 1em;
	text-align: center;
	margin: 0 auto;
}


.wbmovie h2 span {
    background: url(../img/icon_movie.svg) left center no-repeat;
    background-size: 40px auto;
    display: inline-block;
    padding: 10px 0 10px 55px;
	font-weight:900!important;
}
.wbpublication h2 span {
    background: url(../img/icon_publication.svg) left center no-repeat;
    background-size: 40px auto;
    display: inline-block;
    padding: 10px 0 10px 55px
}
.publicationOuter {
    width: 65%;
    margin: 0 auto 15px;
    display: table;
    text-align: center;
}
.publicationOuter img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 600px;
    box-shadow: 0 0 1px 1px #eee;
}
.publicationOuter:hover a {
    opacity: 1!important
}
.pdflink {
    width: 16em;
    text-align: center;
    color: #fff;
    margin: 0 auto;
    font-size: 1.05em
}
.pdflink a {
    color: #fff;
    display: block;
    border-radius: 5px
}
.pdflink span {
    display: inline-block;
    background: url(../img/icon_pdf.svg) no-repeat left center;
    background-size: 40px auto;
    padding: 1em .5em 1em 42px
}
#stem .pdflink a {
    background-color: #67b73d
}
#stem .ohanashi .pdflink a {
    background-color: #ed64a9
}
#stem .kagaku .pdflink a {
    background-color: #ff964b
}
#stem a.listening,
#stem a.otherbtn {
    background-color: #67b73d
}
#stem .ohanashi a.listening,
#stem .ohanashi a.otherbtn {
    background-color: #ed64a9
}
#stem .kagaku a.listening,
#stem .kagaku a.otherbtn {
    background-color: #ff964b
}
.youtubeOuter {
    width: 65%;
    margin: 0 auto;
    position: relative;
    border-radius: 6px;
    box-sizing: border-box;
    box-shadow: 0 0 1px 1px #eee
}
#stem .youtubeOuter {
    border: 12px #ed64a9 solid;
    border-bottom: 30px #ed64a9 solid
}
#stem .ohanashi .youtubeOuter {
    border: 12px #ed64a9 solid;
    border-bottom: 30px #ed64a9 solid
}
#stem .kagaku .youtubeOuter {
    border: 12px #ff964b solid;
    border-bottom: 30px #ff964b solid
}
.youtubeInner {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    box-sizing: border-box
}
.youtubeInner::before {
    content: 'STEM';
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: -22px;
    margin: auto;
    font-size: 13px;
    line-height: 1em;
    color: #fff;
    font-weight: 700;
    width: 6em;
    text-align: center
}
.youtubeInner iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%!important;
    height: 100%!important
}


#primary .elements {
	background:none;
}



@media screen and (max-width:414px) {
    #primary .summary a.listening {
        margin: 5px auto;
    }
    #primary .summary a.otherbtn {
        margin: 5px auto;
        font-size: .95em;
    }
    #primary .summary a.otherbtn::before {
        background: url(../img/icon_pdf.svg) no-repeat left center;
        background-size: 32px auto;
        width: 32px;
        height: 32px;
        margin-right: 2px;
    }
    #primary .summary a.otherbtn small {
        display: block;
        line-height: 1.4em;
        margin-bottom: 0.6em;
        font-size: 80%;
    }
    #wbpoint {
        margin-bottom: 15px;
        padding: 8px 10px 10px
    }
    ul#wbpoint li {
        font-size: 14px!important
    }
    ul#wbpoint li .wpmark {
        width: 60px;
        height: 25px;
    }
    ul#wbpoint li .wbtext {
        width: -webkit-calc(100% - 70px);
        width: -moz-calc(100% - 70px);
        width: calc(100% - 70px);
        margin-top: 5px
    }
    .wbblock h2 {
        text-align: left!important;
        margin: 0px!important
    }
    .youtubeOuter {
        width: auto;
        margin: 0 auto;
        border: 8px #fff solid;
        border-bottom: 20px #fff solid
    }
    #stem .youtubeOuter {
        border: 8px #ed64a9 solid;
        border-bottom: 20px #ed64a9 solid
    }
    #stem .ohanashi .youtubeOuter {
        border: 8px #ed64a9 solid;
        border-bottom: 20px #ed64a9 solid
    }
    #stem .kagaku .youtubeOuter {
        border: 8px #ff964b solid;
        border-bottom: 20px #ff964b solid
    }
    .youtubeInner::before {
        bottom: -16px;
        font-size: 10px
    }
    .publicationOuter {
        width: auto;
        margin: 0 auto 15px
    }
    .publicationOuter img {
        max-height: 50vh;
    }
    .wbmovie h2 span {
        background: url(../img/icon_movie.svg) left top no-repeat;
        background-size: 30px auto;
        padding: 5px 0 5px 48px;
    }
    .wbpublication h2 span {
        background: url(../img/icon_publication.svg) left top no-repeat;
        background-size: 30px auto;
        display: inline-block;
        padding: 0px 0 5px 48px;
    }

#primary .elements .wbmovie h2{
		font-size: 1.5em;
	   font-weight:900;
	}

#primary .elements .sttitle {
    font-size:1.3rem; 
	padding:2em 0 0.5em;
}

}

