/* pc, tablet, ipad portrait */
@media only screen and (max-width: 960px){
  div.container{
    min-height: 680px;
    background-position: right 70%;
    background-size: auto 85%;
  }
  #header {
    padding-left: 0px;
    padding-top: 0px;
    height: 220px;
  }
  h1 {
    padding-left: 20px;
    padding-top: 20px;
  }
  #menu ul{
    margin: 0 0 0 50px;
  }
  div.mascotanime{
    height: 280px; width: auto;
    top: 316px;
  }
  div.mascotanime img{
    height: 280px; width: auto;
  }
  #footermenu{
    width: 100%;
    margin-top: -15px;
    padding-left: 5px;
  }
  #footermenu li{
    margin-right: 8px;
    font-size: 95%;
    background-position: 2px -1px;
  }
}
/* landscape M */
@media only screen and (max-device-width: 767px) and (orientation:landscape){
  div.container{
    min-height: 680px;
    background-position: right 70%;
    background-size: auto 85%;
  }
  #header {
    padding-left: 0px;
    padding-top: 0px;
    height: 190px;
  }
  h1 {
    padding-left: 10px;
    padding-top: 10px;
  }
  #main {
    width: 100%;
    height: 200px;
  }
  #menu ul{
    margin: 0 0 0 34px;
  }
  #menu li{
    margin-top: 10px;
  }
  div.mascotanime{
    /*height: 280px; width: auto;*/
    top: 315px;
  }
  div.mascotanime img{
    /*height: 280px; width: auto;*/
  }
  #footermenu{
    width: 70%;
    margin: -210px 0 0 130px;
    text-align: left;
  }
  #footermenu li{
    font-size: 100%;
    display: block;
    margin: 15px 0 0 15px;
    background-position: 2px 0;
  }
  address{
    margin-top: 45px;
  }
  .copyright{
    font-size: 80%;
  }
  .pc{
    display: none;
  }
  .nopc{
    display: block;
  }
}
/* landscape S */
@media only screen and (max-device-width: 639px) and (orientation:landscape){
  div.container{
    min-height: 650px;
    background-position: right 80%;
    background-size: auto 70%;
  }
  #header {
    height: 140px;
  }
  #header img{
    max-width: 400px;
    height: auto;
  }
  h1 {
    padding-left: 0px;
    padding-top: 0px;
  }
  #main {
    padding-left: 0;
  }
  #menu ul{
    margin: 0 0 0 15px;
  }
  div.mascotanime{
    /*height: 280px; width: auto;*/
    top: 294px;
    display: block;
  }
  div.mascotanime img{
    /*height: 280px; width: auto;*/
  }
  #footermenu{
    width: 75%;
    margin: -192px 0 0 120px;
  }
  address{
    margin-top: 35px;
    font-size: 90%;
    /*text-align: left;*/
    margin-left: 0.5em;
    line-height: 1.5em;
    /*word-break: break-all;*/
  }
  address span.br{
    display: inline-block;
  }
}
/* nexus 7 */
@media only screen and (min-device-width: 960px) and (max-device-width: 960px) and (orientation:landscape){
  div.container{
    min-height: 560px;
    background-position: right 0%;
    background-size: auto 95%;
  }
  div.mascotanime{
    height: 280px; width: auto;
    top: 206px;
  }
  div.mascotanime img{
    height: 280px; width: auto;
  }
  .pc{
    display: none;
  }
  .nopc{
    display: block;
  }
}
@media only screen and (min-device-width: 600px) and (max-device-width: 767px){
  .pc{
    display: none;
  }
  .nopc{
    display: block;
  }
}
@media only screen and (min-device-width: 600px) and (max-device-width: 767px) and (orientation:portrait){
  div.container{
    min-height: 800px;
    background-position: right 89%;
    background-size: auto 60%;
  }
  #header {
    height: 140px;
  }
  #header img{
    max-width: 400px;
    height: auto;
  }
  h1 {
    padding-left: 0px;
    padding-top: 0px;
  }
  #main {
    width: 100%;
    height: 200px;
    padding: 15px 0 0 20px;
  }
  #menu ul{
    margin: 20px 0;
  }
  #menu li{
    margin-top: 10px;
  }
  div.mascotanime{
    /*height: 280px; width: auto;*/
    top: 444px;
    display: block;
  }
  div.mascotanime img{
    /*height: 280px; width: auto;*/
  }
  #footer{
    height: 80px;
  }
  #footermenu{
    width: 100%;
    margin: -165px 0 0 0;
    text-align: left;
  }
  #footermenu li{
    display: block;
    margin: 10px 0 0 125px;
    font-size: 100%;
  }
  address{
    font-size: 90%;
    text-align: left;
    margin: 45px 8px 5px;
  }
  address span.br{
    display: inline-block;
  }
  .copyright{
    margin: 0 10px 15px;
    text-align: left;
    font-size: 80%;
  }
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation:portrait){
  /*div.container{
    min-height: 680px;
    background-position: right 70%;
    background-size: auto 85%;
  }
  #header {
    padding-left: 0px;
    padding-top: 0px;
    height: 220px;
  }
  h1 {
    padding-left: 20px;
    padding-top: 20px;
  }
  #main {
    padding-left: 50px;
  }
  div.mascotanime{
    height: 280px; width: auto;
    top: 316px;
  }
  div.mascotanime img{
    height: 280px; width: auto;
  }
  #footermenu{
    width: 100%;
    margin-top: -10px;
    padding-left: 5px;
  }
  #footermenu li{
    margin-right: 8px;
    font-size: 95%;
    background-position: 2px -1px;
  }*/
}
/* Devices */
@media only screen and (max-device-width: 599px) and (orientation:portrait){
  div.container{
    min-height: 680px;
    background-position: right 85%;
    background-size: auto 70%;
  }
  #header {
    height: 140px;
  }
  #header img{
    max-width: 400px;
    height: auto;
  }
  h1 {
    padding-left: 0px;
    padding-top: 0px;
  }
  #main {
    width: 100%;
    height: 200px;
    padding: 15px 0 0 20px;
  }
  #menu ul{
    margin: 20px 0;
  }
  #menu li{
    margin-top: 10px;
  }
  div.mascotanime{
    /*height: 280px; width: auto;*/
    top: 329px;
    display: block;
  }
  div.mascotanime img{
    /*height: 280px; width: auto;*/
  }
  #footer{
    height: 80px;
  }
  #footermenu{
    width: 100%;
    margin: -165px 0 0 0;
    text-align: left;
  }
  #footermenu li{
    display: block;
    margin: 10px 0 0 125px;
    font-size: 100%;
  }
  address{
    font-size: 90%;
    text-align: left;
    margin: 45px 8px 5px;
  }
  address span.br{
    display: inline-block;
  }
  .copyright{
    margin: 0 10px 15px;
    text-align: left;
    font-size: 80%;
  }
  .pc{
    display: none;
  }
  .nopc{
    display: block;
  }
}
/* M Devices, phones */
@media only screen and (max-device-width: 479px) and (orientation:portrait){
  div.container{
    min-height: 680px;
    background-position: right 82%;
    background-size: auto 60%;
  }
  #header {
    height: 130px;
  }
  #header img{
    max-width: 100%;
    height: auto;
  }
  #main{
    padding-left: 0;
  }
  #menu ul{
    margin: 15px 10px;
  }
  #mene li{
    margin: 10px 0 0 0;
  }
  div.mascotanime{
    height: 200px; width: auto;
    left: 10px;
    top: 393px;
  }
  div.mascotanime img{
    height: 200px; width: auto;
  }
  #footermenu{
    width: 100%;
    margin: -185px 0 0 10px;
    text-align: left;
    margin-bottom: 12px;
  }
  #footermenu li{
    display: block;
    margin: 10px 0 0 65px;
    font-size: 100%;
  }
  address{
    font-size: 85%;
    margin: 35px 8px 5px;
  }
  .copyright{
    font-size: 70%;
  }
  .nopc br{
    display: block;
  }
}
/* S Devices, Phones */
@media only screen and (max-device-width: 359px) and (orientation:portrait){
  div.container{
    min-height: 600px;
    background-position: right 80%;
    background-size: auto 50%;
  }
  #header {
    height: 100px;
  }
  #menu img{
    max-width: 300px;
    height: auto;
  }
  div.mascotanime{
    top: 316px;
  }
  address{
    font-size: 78%;
    margin: 30px 8px 5px;
  }
  #footermenu{
    width: 100%;
    margin: -160px 0 0 0;
    text-align: left;
    margin-bottom: 15px;
  }
  #footermenu li{
    margin: 10px 0 3px 70px;
    font-size: 80%;
  }
}
