#license-wrap {
  display: table;
}

#license {
  border-bottom: 1px solid #999;
  padding: 0 0 20px 0;
  display: table-cell;
  font-size: 1.4em;
  line-height: 1.4;
  width: 740px;
}
@media screen and (max-width:640px) {
#license {
  border-bottom: 3px solid #333;
  margin-bottom: 1px;
}
}

#license h2 {
  background: #0051B1;
  color: #FFF;
  font-size: 1.2em;
  font-weight: normal;
  padding: 7px 8px;
}

#license h3 {
  background: none repeat scroll 0 0 #666;
  color: #FFF;
  font-size: 1.2em;
  font-weight: normal;
  margin: 25px 0 15px;
  padding: 2px 8px;
}

#license h2 + h3 {
  margin-top: 1px;
}

#license h4 {
  border-left: 10px solid #0051B1;
  color: #333333;
  font-weight: bold;
  margin: 25px 0 10px;
  padding: 2px 8px;
}
@media screen and (max-width:640px) {
#license h4 {
  margin: 25px 10px 10px;
}
}

#license a {
  color: #0066FF;
}

#license p {
  line-height: 1.6;
  margin: 15px 10px;
}

#license .pr-text {
  font-weight: bold;
}

#license .caution-text {
  color: #FF0000;
}

#license .memo {
  background-color: #FAECED;
  padding: 5px;
  margin: 10px;
}

#license .caution-memo {
  color: #FF0000;
  padding: 5px;
  margin: 10px;
  border: 1px solid #FF0000;
}

#license .memo-mark {
  font-weight: bold;
}

#license .number {
  background-color: #a5434e;
  color: #fff;
  display: inline;
  font-weight: bold;
  padding: 0 10px;
  margin-right: 8px;
}

#license ul,
#license ol {
  padding-left: 23px;
  margin: 15px 5px;
}

#license ul > li {
  list-style-type: disc;
}

#license ol > li {
  list-style-type: decimal;
}

#license li {
  margin-bottom: 10px;
}

#license .comment,
#license .comment-num {
  margin: 10px;
}

#license .comment-in {
  margin: 5px;
}

#license .comment dd,
#license .comment-in dd {
  padding-left: 20px;
  margin: -1.4em 0px 10px 0px;
}

#license .comment-num dd {
  padding-left: 20px;
  margin: -1.4em 0px 10px 18px;
}

#license .license-link-btn,
#license .license-link-btn2 {
  margin: 15px auto 20px;
  width: 420px;
}

#license .license-link-btn a,
#license .license-link-btn2 a {
  color: #FFF;
  display: block;
  font-size: 1.6em;
  line-height: 1.4em;
  padding: 10px 15px;
  text-align: center;
  text-decoration: none;
}

#license .license-link-btn a {
  background: url(/resource/img/icon/white-bold-arrow_x1.png) no-repeat right center #0051B1;
}
#license .license-link-btn2 a {
  background: url(/resource/img/icon/white-bold-arrow_x1.png) no-repeat right center #FF9900;
}

@media screen and (max-width:768px) {
#license .license-link-btn,
#license .license-link-btn2 {
  padding: 0px 5px;
  width: auto;
}
}

#license .img-box1-big {
  display: table;
  margin: 15px auto;
  table-layout: fixed;
  width: 80%;
}

#license .img-box1 {
  display: table;
  margin: 15px auto;
  table-layout: fixed;
  width: 40%;
}

#license .img-box2 {
  display: table;
  margin: 15px auto;
  table-layout: fixed;
  width: 80%;
}

#license .img-box-item {
  display: table-cell;
  text-align:center;
}

#license .img-box-item img {
  width: 70%;
}

#license .img-box-item figcaption {
  font-size: 1.4em;
  margin: 5px 0;
  width: 100%;
}
@media screen and (max-width:768px) {
#license .img-box1 {
  width: 50%;
}
#license .img-box2 {
  display: table;
  margin: 10px auto;
  table-layout: fixed;
  width: 90%;
}
}
