@charset "utf-8";
@media only screen and (max-width: 639px) {
  .m_wid_70 {
    width: 70% !important;
  }

  .m_wid_80 {
    width: 80% !important;
  }

  .m_wid_90 {
    width: 90% !important;
  }

  .block {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}
#titlearea .titlearea-inner {
  background: url(../img/licence/visual_img.png) no-repeat center bottom;
  background-size: auto 88%;
}

#main .lead {
  line-height: 180%;
  width: 390px;
  float: right;
}
#main .lead2 {
  font-weight: bold;
  line-height: 180%;
  margin-bottom: 10px;
}
#main .box {
  margin-bottom: 50px;
}
#main .mainimage {
  margin-bottom: 30px;
}
#main table {
  border-collapse: collapse;
  border: solid 1px #D5DEDE;
  margin-bottom: 30px;
  line-height: 140%;
  font-size: 14px;
}
#main table th {
  border: solid 1px #D5DEDE;
  background: #CBEBF6;
  text-align: center;
  padding: 10px;
  font-weight: bold;
  color: #33a1c8;
}
#main table td {
  border: solid 1px #D5DEDE;
  padding: 10px;
  text-align: left;
}
#main table td span {
  font-size: 12px;
  line-height: 120%;
}
#main table .age {
  text-align: center;
  width: 31%;
}
#main table .age2 {
  width: 23.25%;
}
#main .need {
  border: 10px solid #A1D9F5;
  padding: 30px;
  margin-bottom: 50px;
}
#main .need dl {
  margin-top: 10px;
}
#main .need dt {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
}
#main .need dd {
  font-size: 14px;
  padding-bottom: 10px;
  margin-bottom: 15px;
  border-bottom: solid 1px #D5DEDE;
}
#main .banner {
  margin: 30px 0;
  text-align: center;
}
#main .testbox {
  border: 1px solid #D5DEDE;
  padding: 30px;
  margin-bottom: 50px;
}
#main .testbox h3 {
  padding-bottom: 10px;
  margin-bottom: 15px;
  border-bottom: solid 1px #D5DEDE;
  font-weight: bold;
}
#main .testbox p {
  font-size: 14px;
}

@media only screen and (max-width: 639px) {
  #main .lead {
    line-height: 160%;
    width: auto;
    float: none;
    margin: 0 16px 16px 16px;
  }
  #main .titlearea {
    background: url(../img/licence/bg.jpg) repeat-x center center;
    -moz-background-size: auto 100%;
    background-size: auto 100%;
    height: 150px;
  }
  #main .wrapper {
    padding: 16px;
  }
  #main .titlearea .wrapper h1 img {
    height: 125px;
  }
  #main #page {
    width: 100%;
  }
  #main #main {
    padding: 16px;
    float: none;
  }
  #main .need {
    border: 5px solid #A1D9F5;
    padding: 16px;
    margin-bottom: 30px;
  }
  #main #main .box img {
    margin-bottom: 20px;
  }
  #main #main .check {
    border: solid 5px #A1D9F5;
    padding: 16px;
  }
  #main #main .check p {
    margin-top: 10px;
  }
  #main #main ul {
    margin-top: 10px;
  }
  #main #main li {
    float: left;
    width: 50%;
  }
  #main h2 {
    margin-bottom: 15px;
  }
  #main .box img {
    width: 100%;
    height: auto;
  }
  #main table th, #main td {
    font-size: 12px;
    padding: 8px;
  }
  #main .testbox {
    border: 1px solid #D5DEDE;
    padding: 16px;
    margin-bottom: 30px;
  }
  #main .testbox h3 {
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: solid 1px #D5DEDE;
    font-weight: bold;
  }
}
@media print, screen and (min-width: 640px) {
  #titlearea h1 {
    background: url(../img/licence/visual_title.jpg) no-repeat 0 0;
  }
  #titlearea .titlearea-inner {
    background: url(../img/licence/visual_img.png) no-repeat right bottom;
  }

  #main .titlearea {
    background: url(../img/licence/bg.jpg) no-repeat center center;
    height: 400px;
  }
  #main .titlearea .wrapper h1 {
    padding-top: 20px;
  }
  #main #main .box img {
    float: left;
  }
  #main #main .box .right {
    float: right;
    width: 390px;
  }
  #main #main .check {
    border: solid 8px #A1D9F5;
    padding: 30px;
  }
  #main #main .check p {
    margin-top: 10px;
  }
  #main #main ul {
    margin-top: 10px;
  }
  #main #main li {
    float: left;
    width: 25%;
  }
  #main h2 {
    margin-bottom: 20px;
  }
}
