@media (max-width: 1020px) and (min-width: 768px) { #css {width:98%;margin:0 1%;} }

.textbox a:hover img {
    opacity: 0.7;
    filter: alpha(opacity=70);
    -ms-filter: "alpha(opacity=70)";
  }


.main {
    position:  relative;        /* 要素の配置方法をと子要素の起点を指定 */
    text-align: center;
    padding:  50px;             /* 余白指定 */
    height: 100%;              /* 高さ指定 */
    border-radius: 8px;
    border: solid 2px rgb(255, 251, 3);
    background-color: rgb(255, 251, 3);
    top: 0;                  /* 上からの表示位置 */
    bottom: 200px;
    width: 830px;               /* 幅指定 */
}

.ribbon {
    display: inline-block;
    width: 700px;
    position: relative;
    height: 80px;
    vertical-align: middle;
    text-align: center;
    box-sizing: border-box;
}
.ribbon {
    box-sizing: border-box;
    height: 80px;
    margin: 30px auto;
    position: relative;
    text-align: center;
    vertical-align: middle;
    width: 830px;
}
.ribbon:before, .ribbon:after {
    border-color: #ee67a6;
    border-style: solid;
    bottom: -10px;
    content: '';
    position: absolute;
    width: 0;
    z-index: -2;
}
.ribbon:before {
    border-left-color: transparent;
    border-width: 40px 30px 40px 30px;
    left: -50px;
}
.ribbon:after {
    border-right-color: transparent;
    border-width: 40px 30px 40px 30px;
    right: -50px;
}
.ribbon2 {
    background: #e72580;
    color: #fff;
    padding: 10px 20px;
    font-size: 25px;
    line-height: 30px;
    font-weight: bold;
    position: relative;
}
.ribbon2:before, .ribbon2:after {
    border: none;
    border-bottom: solid 10px transparent;
    content: '';
    position: absolute;
    top: 100%;
}
.ribbon2:before {
    left: 0;
    border-right: solid 10px #a61346;
}
.ribbon2:after {
    right: 0;
    border-left: solid 10px #a61346;
}

.textbox {
    position: relative;
    text-align:left;
    padding: 2em;
    border : solid 1px rgb(255, 255, 255);
    background-color: rgb(255, 255, 255);
    border-radius: 8px;
    font-weight: lighter;
    font-size: 16px;
    line-height: 20px;
}

ul {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    height: 100%;
    background-color: rgb(255, 255, 255);
}

.caption{
    position: relative;
    padding: .3em;
    font-size: 20px;
    font-weight: bold;
}
.caption:after {
    content: "";
    display: block;
    height: 4px;
    background: linear-gradient(to right, rgb(255, 251, 3), transparent);
}

.caption2{
    font-size: 18px;
    font-weight: bold;
}

.list-box {
    display: table;
  }
  .list-img,
  .list-text {
    display: table-cell;
    vertical-align: middle;
  }

table {
    width:700px;
    border-collapse: collapse;
	border: 3px solid #c0c0c0;
}

th,td {
    width:100px;
    font-weight: bold;
    border: 2px solid #c0c0c0;
    line-height: 2;
    text-align: center;
    font-size: 20px;
}

td image {
    margin: 10px;
}


.p_a {    
    color: #fff;
    background: #e66565;
    font-weight: bold;
    font-size: 22px;
    line-height: 2;
}

.p_b {    
    color: #fff;
    background: #3daaf3;
    font-weight: bold;
    font-size: 22px;
	line-height: 2;
}
