@media screen and (max-width: 1140px){
  #header.flex{
    height: auto;
    overflow: visible;
  }
  #postername h1 {
    font-size: 4.5rem;
  }
  #postername h1:before {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 767px){
/* common
-------------------- */
  header {
    margin: 2.5% auto 0;
    padding: 0 2.5%;
  }
  article {
    margin: 0 auto;
    padding: 0 2.5% 10%;
  }
  h2>br,
  h3>br {
    display: inline;
  }
  #titlelogo {
    font-size: 6.4rem;
    line-height: 1.0;
    margin: 0 0 20px;
    padding: 10px 0;
  }
  #titlelogo>br {
    display: inline;
  }
  .flex {
    flex-direction: column;
  }
  .section {
    margin: 0 auto 7%;
  }
  #bnrvote {
    background: #294f3d url(../img/text_fuchu.png) no-repeat 50% 15%;
    background-size: 80%;
  }
  #bnrvote>div:first-child {
    text-align: center;
    width: 100%;
    margin-left: 0;
    padding: 40px 40px 0;
    box-sizing: border-box;
  }
  #bnrvote>div:nth-child(2) {
    position: relative;
    left: 0;
    right: 0;
    bottom: 0;
  }
  #bnrvote>div:nth-child(2)>img {
    height: 200px;
    width: auto;
  }
  .textbox,
  .photobox {
    width: 100%;
  }
  .marker_yellow {
    display: block;
    text-align: center;
    padding: 5%;
    background: -webkit-linear-gradient(transparent 0%, #f5e559 0%);
    background: -o-linear-gradient(transparent 0%, #f5e559 0%);
    background: linear-gradient(transparent 0%, #f5e559 0%);
  }
  .marker_green {
    display: block;
    text-align: center;
    padding: 5%;
    background: -webkit-linear-gradient(transparent 0%, #d3eadf 0%);
    background: -o-linear-gradient(transparent 0%, #d3eadf 0%);
    background: linear-gradient(transparent 0%, #d3eadf 0%);
  }
  .marker_purple {
    display: block;
    text-align: center;
    padding: 5%;
    background: -webkit-linear-gradient(transparent 0%, #e6cae0 0%);
    background: -o-linear-gradient(transparent 0%, #e6cae0 0%);
    background: linear-gradient(transparent 0%, #e6cae0 0%);
  }
  #snsbtn .sns {
    font-size: 2.4rem;
    line-height: 2.4rem;
    width: auto;
    height: auto;
    margin: 4px 0;
    padding: 4%;
  }
  #mainNavigation {
    display: none;
  }
  #proposal04-2 .section .textbox {
    padding-bottom: 0;
  }
  #proposal04-2 .section .textbox+.textbox {
    padding-top: 0;
    padding-bottom: 40px;
  }
  #proposal04-2 .section .textbox ol {
    margin-top: 0;
  }
  .obisection {
    padding-bottom: 4%;
  }
  .obisection h2 {
    font-size: 2.4rem;
    padding: 10px 40px;
  }
  .obi_cap {
    position: relative;
    top: auto;
    right: auto;
    margin: 0 4%;
    padding: 5px 20px;
    border-radius: 0;
  }




  /* after */
  #poster {
    width: 100%;
    padding: 20px;
  }
  #postername {
    width: 100%;
  }
  #postername h1 {
    font-size: 3.0rem;
    margin-top: 5%;
  }
  #postername h1:before {
    font-size: 1.6rem;
  }
  .votebox {
    margin: 6% 0;
  }
  .votebox>.section {
    padding: 4% 8.7719298245614%;
    overflow: visible;
  }
  .votebox .ele_illust {
    text-align: right;
    position: relative;
    bottom: auto;
    right: auto;
  }
  .votebox .fig {
    margin: 6% 0;
  }
  .votebox .box .leftbox2,
  .votebox .box .rightbox2 {
    width: 100%;
  }
  .votebox .box .leftbox2 {
    padding-right: 0;
  }
  .votebox .box .rightbox2 {
    padding-left: 0;
  }

  .votebox .bdrbox .textbox {
    padding: 4%;
  }
  .votebox .profileimg {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    text-align: left;
  }
  .votebox .profiletxt {
    min-height: 0;
    padding-left: 0;
  }
  .movie-wrap {
     position: relative;
     padding-bottom: 56.25%; /*アスペクト比 16:9の場合の縦幅*/
     height: 0;
     overflow: hidden;
  }
  .movie-wrap iframe {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
  }



}


@media screen and (max-width: 480px){
  .textbox {
    padding: 6%;
  }
  h2 {
    font-size: 3.2rem;
  }
  .txtbig {
    font-size: 2.6rem;
  }
  #header {
    padding: 10% 5%;
    height: auto;
    min-height: 100px;
  }
  #mainvisual {
    position: relative;
    width: 100%;
    top: auto;
    left: auto;
    transform: none;
    -webkit- transform: none;
  }
  #titlelogo {
    margin: 0 0 10px;
  }

  #subtitle {
    display: block;
    font-size: 2.1rem;
    padding: 10px 5px;
  }
  #mainname {
    position: relative;
    width: 100%;
    margin-top: 40px;
    top: auto;
    left: auto;
    transform: none;
    -webkit- transform: none;
  }
  #mainname h3 {
    font-size: 3.4rem;
  }
  #proposal01 {
    margin-top: 4%;
  }
  #proposal03 h2 img {
    width: 50%;
    height: auto;
  }

  .pp {
  background: none;
  background-color: #006068;
  margin-top: 40px;
  padding: 20px 7.5%;
  }
  .bigbtn {
    font-size: 1.8rem;
    padding: 4%;
    border-radius: 16px;
  }
  .bigbtn:after {
    position: relative;
    top: auto;
    right: auto;
    display: block;
    font-size: 2.4rem;
    height: auto;
    margin-top: 3%;
    padding: 3%;
  }
  #action {
      margin-bottom: 7%;
  }
  .btnblock {
    margin: 5% 0;
  }
  #copyright {
    text-align: left;
    padding: 10px 20px;
  }
  .footerlink {
    margin-right: 30px;
  }
  .footerlink .sns {
     margin-left: 0;
    margin-right: 10px;
  }
  #backto {
    bottom: 0px;
  }
  #backto a {
    font-size: 1.8rem;
    line-height: 1.8rem;
    width: 40px;
    height: 40px;
    padding-top: 10px;
  }

}