/* [DESCRIPTION] ニュースの最新のお知らせを表示している部分 */
.headline {
    font-size: 1.5em;
    font-weight: bold;
    padding-top: .5em;
    padding-bottom: .5em;
    padding-left: 2em;
    margin-bottom: 2em;
    position: relative;
    color: #1977cc;
}
.headline:before {
    position: absolute;
    font-family: "Font Awesome 5 Free";
    content: "\f0a1";
    font-weight: 900;
    font-size: 20px;
    top: 50%;
    left: 0;
    padding-right: 2em;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    color: #1977cc;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

/* テーブルデザインに関するCSS */
table {
    border-collapse: collapse;
    width: 100%;
}
th,
td {
    padding: 8px;
    border: solid 1px #a5d1f1;
}
th {
    background-color: #d0ebfd;
}
@media only screen and (max-width: 500px) {
    .mobile-blocky tr,
    .mobile-blocky th,
    .mobile-blocky td {
        display: block;
        border: none;
    }
    .mobile-blocky {
        border: solid 2px #a5d1f1;
        border-top: none;
    }
    .mobile-blocky th {
        border-top: solid 2px #a5d1f1;
    }
    .mobile-blocky td {
        border-top: dashed 1px #a5d1f1;
    }
}

/* [DESCRIPTION] 美容商品の紹介を行う項目 */
/* 命名に__を使用しているので直したい */
.item {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}
.item:hover .item__text {
    opacity: 1;
}
.item__img {
    width: 100%;
    height: 100%;
}
.item__text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-align: center;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.6);
    transition: 0.3s ease-in-out;
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.item__text p {
    line-height: 1.8;
}
.cont-img {
    width: auto;
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-right: auto;
    margin-left: auto;
}
@media screen and (max-width:640px) {
    .cont-img {
        width: auto;
        width: 100%;
        height: 350px;
        object-fit: cover;
        margin-right: auto;
        margin-left: auto;
    }
}

/* [DESCRIPTION] テーブルデザインの表示の最大幅を設定 */
.max-width-table {
    max-width: 650px;
}

/* [DESCRIPTION] テーブルを中央に配置 */
.table-center {
    margin: 0 auto;
}

/* [DESCRIPTION] リスト表示のため */
ol {
  counter-reset:number;
  list-style-type: none!important;
  padding: 0.3em 0.8em;
  border: solid 2px #d0ebfd;
}
ol li {
  border-bottom: dashed 1px #d0ebfd;
  position: relative;
  padding: 0.5em 0.5em 0.5em 40px;
  line-height: 1.5em;
}
ol li:before{
  position: absolute;
  counter-increment: number;
  content: counter(number);
  display:inline-block;
  background: #a5d1f1;
  color: white;
  font-family: 'Avenir','Arial Black','Arial',sans-serif;
  font-weight:bold;
  font-size: 15px;
  border-radius: 50%;
  left: 0;
  width: 25px;
  height: 25px;
  line-height: 25px;
  text-align: center;
  /*以下 上下中央寄せのため*/
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
ol li:last-of-type {
  border-bottom: none;
}
