@charset "utf-8";
.box {
  margin-top: 20px;
}

@media only screen and (max-width: 639px) {
  #titlearea .titlearea-inner {
    background: url(../img/licence/visual_img.png) no-repeat center bottom;
    background-size: auto 88%;
  }

  .wrapper {
    padding: 16px;
  }

  .titlearea .wrapper h1 img {
    height: 125px;
  }

  h2 {
    margin-bottom: 15px;
    text-align: center;
  }

  .lead {
    margin-bottom: 30px;
    line-height: 180%;
    font-size: 16px;
    text-align: left;
  }

  .answer {
    position: relative;
  }

  .answer .illust {
    position: inherit;
    text-align: center;
  }

  .arrow_box {
    position: relative;
    border: solid 8px #A1D9F5;
    padding: 16px;
    background: #ffffff;
    float: none;
  }

  .arrow_box:after, .arrow_box:before {
    bottom: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
  }

  .arrow_box:after {
    border-color: rgba(255, 255, 255, 0);
    border-bottom-color: #FFFFFF;
    border-width: 20px;
    margin-left: -20px;
  }

  .arrow_box:before {
    border-color: rgba(161, 217, 245, 0);
    border-bottom-color: #A1D9F5;
    border-width: 31px;
    margin-left: -31px;
  }

  .arrow_box h3 {
    margin-bottom: 10px;
    text-align: center;
  }

  .answer .ribbon {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 50px;
  }

  .box {
    float: none;
    width: 100%;
    margin-bottom: 30px;
  }

  .box h3 {
    border: solid 8px #A1D9F5;
    margin-bottom: 10px;
  }

  .box h3 img {
    width: 100%;
    height: auto;
  }

  .box li {
    float: left;
    width: 50%;
    font-size: 14px;
    margin-top: 3px;
  }

  .box li span {
    font-size: 10px;
  }

  .box li a {
    background: url(../img/licence/icon_arrow.png) no-repeat left center;
    padding-left: 15px;
  }

  .check {
    border: solid 5px #A1D9F5;
    padding: 16px;
    margin-top: 30px;
  }

  .check p {
    margin-top: 10px;
  }

  .check ul {
    margin-top: 10px;
  }

  .check li {
    float: left;
    width: 50%;
  }

  #localnav {
    display: block;
    background: #F8F8F8;
    padding: 12px 16px 6px 16px;
    margin-bottom: 32px;
  }
  #localnav li {
    display: block;
    line-height: 1.8;
    margin-bottom: 6px;
  }
  #localnav li a {
    background: url(../img/common/sp/icon_pagelink.png) no-repeat 0 1px;
    background-size: 14px auto;
    padding-left: 20px;
  }
}
@media print, screen and (min-width: 640px) {
  #localnav {
    display: block;
    padding: 16px;
    margin-top: -48px;
  }
  #localnav li {
    display: inline-block;
    line-height: 1.4;
    float: right;
  }
  #localnav .bdleft {
    border-left: 1px solid #ccc;
  }
  #localnav a {
    display: block;
    background: url(../img/licence/icon_arrow.png) no-repeat 8px center;
    padding: 16px 15px 16px 21px;
    border: solid  #ccc;
    border-width: 0 1px 1px 0;
  }

  #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;
  }

  .titlearea {
    background: url(../img/licence/bg.jpg) no-repeat center center;
    height: 400px;
  }

  .titlearea .wrapper h1 {
    padding-top: 20px;
  }

  h2 {
    margin-bottom: 20px;
  }

  .lead {
    margin-bottom: 30px;
    line-height: 180%;
    font-size: 20px;
  }

  .answer {
    position: relative;
    margin-bottom: 32px;
  }

  .answer .illust {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
  }

  .arrow_box {
    position: relative;
    border: solid 10px #A1D9F5;
    padding: 30px;
    background: #ffffff;
    float: none;
  }

  .arrow_box:after, .arrow_box:before {
    bottom: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
  }

  .arrow_box:after {
    border-color: rgba(255, 255, 255, 0);
    border-bottom-color: #FFFFFF;
    border-width: 20px;
    margin-left: -20px;
  }

  .arrow_box:before {
    border-color: rgba(161, 217, 245, 0);
    border-bottom-color: #A1D9F5;
    border-width: 31px;
    margin-left: -31px;
  }

  .arrow_box h3 {
    margin-bottom: 10px;
  }

  .answer .ribbon {
    position: absolute;
    top: -8px;
    left: -8px;
  }

  .typearea {
    margin-right: -30px;
  }

  .box {
    width: 330px;
    float: left;
    padding-right: 29px;
  }

  .box h3 img {
    border: solid 8px #A1D9F5;
    width: 314px;
  }

  .box li {
    float: left;
    width: 50%;
    font-size: 14px;
    margin-top: 3px;
  }

  .box li span {
    font-size: 10px;
  }

  .box li a {
    background: url(../img/licence/icon_arrow.png) no-repeat left center;
    padding-left: 15px;
  }

  .check {
    border: solid 8px #A1D9F5;
    padding: 30px;
    margin-top: 30px;
  }

  .check p {
    margin-top: 10px;
    float: left;
    font-size: 14px;
    width: 40%;
  }

  .check ul {
    margin-top: 10px;
    float: right;
    width: 60%;
  }

  .check li {
    float: left;
    width: 25%;
  }
}
