section {
    position: relative;
    width: 100%;
    min-width: 200px;
    height: 360px;
    min-height: 360px;
    scroll-snap-align: start;
}
section > div {
    position: absolute;
    left: 50%;
    top: 50%;
}
.scrollsnap{
    scroll-snap-type: y mandatory;
}

div#sns{margin: 5px;}
p.ref > a { font-family: 'Space Mono', sans-serif; font-size: 13.5pt; }
footer { text-align: center;}
/******
 * 日本国旗
 ******/
#japanese-flag {
    background: #E9E9E9;
}
#japanese-flag div {
    width: 180px;
    height: 120px;
    margin-top: -110px;
    margin-left: -90px;
    background: white;
    box-shadow: 5px 5px 5px 0 #666666;
}
#japanese-flag div:before {
    content: '';
    width: 72px;
    height: 72px;
    display: block;
    position: absolute;
    left: 50%;
    top :50%;
    margin-left: -36px;
    margin-top: -36px;
    background: red;
    border:none;
    border-radius: 50%;
}
#japanese-flag div:after {
    content: '';
    width: 5px;
    height: 100px;
    display: block;
    position: absolute;
    left: 0;
    top :120px;
    background-image: linear-gradient(to right, #222222, #CCCCCC, #222222, #222222);
    box-shadow: 5px 5px 5px 0 #666666;
}

/******
 * ダンボー
 ******/
#danboard {
    background: linear-gradient(to bottom, #DAFEDE, #96E5A5);
}
#danboard div {
    width: 255px;
    height: 165px;
    background: rgb(228, 197, 151);
    margin-top: -82.5px;
    margin-left: -127.5px;
}
#danboard div:before{
    content: '';
    /*font-family: 'Alegreya Sans', sans-serif;*/
    font-weight: 800;
    display: block;
    position: relative;
    width: 30px;
    height: 30px;
    background: rgb(167, 112, 71);
    border: none;
    border-radius: 50%;
    left: 70px;
    top: 50px;
    box-shadow: 95px 0 0 rgb(167, 112, 71);
}
#danboard div:after {
    content: '';
    display: block;
    position: relative;
    width: 0;
    height: 0;
    /*background: rgb(167, 112, 71);*/
    border-top: solid 25px transparent;
    border-left: solid 22.5px rgb(228, 197, 151);
    border-right: solid 22.5px rgb(228, 197, 151);
    border-bottom: solid 25px rgb(167, 112, 71);
    left: 50%;
    margin-left: -17.25px;
    top: 55px;
}
/******
 * ベイマックス
 ******/
#baymax {
    background-color: #CC052B;
}
#baymax div {
    width: 270px;
    height: 180px;
    margin-top: -90px;
    margin-left: -135px;
    background-color: white;
    background-image: radial-gradient(#FFFFFF, #FFFFFF, #C0C0C0);
    border-radius: 45%;
    box-shadow: 2px 2px 0px #999999, 2px 2px 5px white;
}
#baymax div:before {
    content: '';
    display: block;
    position: relative;
    width: 36px;
    height: 36px;
    left: 60px;
    top: 55px;
    background-color: black;
    border: none;
    border-radius: 50%;
    box-shadow: 120px 0 0 black;
}
#baymax div:after {
    content: '';
    display: block;
    position: relative;
    width: 85px;
    height: 3px;
    background-color: black;
    left: 96px;
    top: 36px;
}
/******
 * Twitter ホームアイコン
 ******/
#twHome {
    background-color: #FFFFFF;
    perspective: 300px;
}
#twHome div {
    width: 140px;
    height: 130px;
    margin-left: -70px;
    margin-top: -35px;
    background-color: #1DA1F2;
    transform: rotateX(-30deg);
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}
#twHome div:after {
    content: '';
    display: block;
    width: 3px;
    position: relative;
    top: -115px;
    left: -34px;
    border-bottom: 55px solid #1DA1F2;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
}
#twHome div:before {
    content: '';
    display:block;
    position: relative;
    top: 3px;
    left: 46px;
    width: 50px;
    height:60px;
    background-color: #FFFFFF;
    border-radius: 50%;
}
/******
 * Twitter モーメントアイコン: not implemented
 ******/
#twMoment {
    background-color: #FFFFFF;
    /*perspective: 300px;*/
}
#twMoment div {
    width: 60px;
    height: 90px;
    margin-left: -20px;
    margin-top: -35px;
    background-color: #1DA1F2;
    transform: skewX(-10deg);
}
#twMoment div:after {
    content: '';
    display: block;
    position: relative;
    top: 38px;
    left: 20px;
    border-bottom: 60px solid transparent;
    border-top: 60px solid #1DA1F2;
    border-left: 35px solid #1DA1F2;;
    border-right: 35px solid transparent;
}
#twMoment div:before {
}
