@charset "utf-8";

body {
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 12px;
  line-height: 120%;
  color: #666666;
  background-image: url(https://www.ennichi.org/images/index_back.jpg);
  background-repeat: no-repeat;
  background-position: center top;
}
a {
  color: #FF6666;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
p {
  margin: 0px;
  padding: 0px;
}
h1 {
  text-indent: -9999px;
}
h2 {
  font-size: 14px;
  color: #FF6666;
  margin-bottom: 5px;
}
ul.list li {
  color: #999999;
}
.clr {
  clear: both;
}
.hid {
  display: none;
}

#container {
  max-width: 710px;
  min-width:300px;
  #width: 710px;
  margin:0 auto;
}

#wrapper {
  margin: 0px;
  padding: 0px;
}
header {
  padding: 0px;
  height: 550px;
  margin:20px 0px 15px;
}
#main {
  height: auto;
  margin: 0px 0px 15px;
  overflow:hidden;
  zoom:1;
}
#main .left {
  float: left;
  width: 50%;
}
#main .right {
  float: right;
  width: 50%;
}
.box, .box2 {
  margin:2px 7px 10px;
  text-align: justify;
  text-justify:inter-ideograph;
}
.box2 {
  text-align:center;
}
ul.entrance li.enter a {
  height: 80px;
  width: 340px;  
  background-image: url(https://www.ennichi.org/images/enter_button.gif);
  background-repeat: no-repeat;
  background-position: 0px 0px;
  float: left;
}
ul.entrance li.enter a:hover {
  background-position: 0px -80px;
}
ul.entrance li.leave {
  text-align: right;
  float: left;
  height: auto;
  width: 340px;
  margin-top: 5px;
}
footer {
  height: 30px;
  margin-bottom: 15px;
  text-align: center;
}

@media screen and (max-width:719px) {
  body {
    background-image: url(https://www.ennichi.org/images/index_back.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size:215% auto;
    position:relative;
  }
  body:before {
    content:"";
    display: block;
    padding-top:87.5%;
  }
  header{
    height:auto;
    position: absolute;
    left: 0;
    top: 0;
  }
  #main .left, #main .right {
    float:none;
    width:100%;
  }    
  ul.entrance {
    display:inline-block;
    margin:auto;
  }
}
@media screen and (max-width:359px) {
  ul.entrance li.enter a {
    background-size:100% auto;
    width:100%;
    height:auto;
    position:relative;
    margin-bottom:10px;
  }
  .entrance li.enter a:before {
    content:"";
    display: block;
    padding-top:23.5%;
  }
  .entrance li.enter a{
    position: absolute;
    left: 0;
    top: 0;
  }
  ul.entrance li.leave {
    width:100%;
  }
}
