@charset "utf-8";
.img-area {
  margin: 20px 0;
  text-align: center;
}

.img-area img {
  max-width: 700px;
}

.kvimg-area {
  margin: 20px 0;
  text-align: center;
}

/* ニキビの種類
---------------------------------------------- */
.acne .typelist-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  column-gap: 2%;
  row-gap: 10px;
  margin: 30px 0;
}

.acne .typelist-wrap .txt {
  margin: 0 18px;
}

@media screen and (max-width: 768px) {
  .acne .typelist-wrap {
    grid-template-columns: 1fr;
    grid-template-rows: max-content max-content 1fr auto;
    row-gap: 10px;
    margin: 20px 0;
  }

  .acne .typelist-wrap .txt {
    margin: 0 10px;
  }
}

/* ニキビの治療法
---------------------------------------------- */
.phase-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 3%;
  margin: 18px;
}

.phase-list .btn-ttl {
  max-width: 400px;
  margin: 0 auto 14px;
  padding: 6px 0;
  border-radius: 30px;
  background-color: #a06a5b;
  text-align: center;
  color: #fff;
  font-size: 16px;
}

.phase-list .problem-btn + .problem-btn {
  margin: 8px auto;
}

.phase-list .problem-btn {
  margin: 0 auto;
}

.phase-list .problem-btn p {
  font-size: 20px;
}

@media screen and (max-width: 768px) {
  .phase-list {
    grid-template-columns: 1fr;
    grid-template-rows: max-content max-content auto;
    row-gap: 1%;
    margin: 24px 0 44px;
  }

  .phase-list .btn-ttl {
    margin-bottom: 10px;
    font-size: 14px;
  }

  .problem-btn {
    padding: 13px 0;
  }

  .phase-list .problem-btn p {
    font-size: 16px;
  }
}

/* ニキビ内服・外用薬
---------------------------------------------- */
.acne-medicine .point .kvimg {
  max-width: 770px;
}

.acne-medicine .combination .banner {
  margin-top: 30px;
  text-align: center;
}

.acne-medicine .combination .banner img {
  max-width: 450px;
}

.txt-figcaption {
  margin-top: 10px;
  line-height: 1.6em;
  font-size: 12px;
}

/* テーブル共通設定
---------------------------------------------- */
table {
  background-color: #fff;
}

.table-block > table {
  width: 100% !important;
  max-width: 100%;
  border-collapse: collapse;
}

.table-block > table.has-fixed-layout {
  table-layout: fixed;
}

.table-block th,
.table-block td {
  padding: 0.8em 0.5em;
  border: 1px solid #c1c1c1;
  line-height: 1.6;
  vertical-align: middle;
  text-align: left;
  font-size: 12px !important;
}

.table-block th {
  background-color: #ded5be;
}

.label-gray,
.rttb-file,
.rttb-folder {
  background: #dbdbdb;
  color: #616161;
}
.label-ac,
.label-gray,
.label-main,
.rttb-file,
.rttb-folder {
  border-radius: 4px;
  display: inline-block;
  font-size: 0.9em;
  line-height: 1.2;
  margin: 2px;
  padding: 6px 8px;
}
.label-main {
  background: #aaaaaa;
  color: #fff;
}
.label-main.acne-white {
  background: #fff;
  color: #000;
  border: 1px solid #4e4d4d;
}
.label-main.acne-black {
  background: #4e4d4d;
}
.label-main.acne-red {
  background: #cc7171;
}
.label-main.acne-yellow {
  background: #c6ae73;
}
.label-main.acne-scar {
  background: #c2a5ce;
}

@media screen and (max-width: 768px) {
  .acne .table-block,
  .acne-medicine .table-block {
    margin: 20px 0 30px;
  }

  .table-block th,
  .table-block td {
    padding: 0.8em 0.4em;
    font-size: 10px !important;
  }
}

/* ==================================================
  acne 用テーブル
================================================== */
.acne .table-block {
  margin: 0 18px;
}

.acne-rows03 .th01 {
  width: 30%;
}
.acne-rows03 .td01 {
  width: 50%;
}
.acne-rows03 .td02 {
  width: 20%;
}

.acne-rows04 .th01 {
  width: 10%;
}
.acne-rows04 .th02 {
  width: 22%;
}
.acne-rows04 .td01 {
  width: 48%;
}
.acne-rows04 .td02 {
  width: 20%;
}

@media screen and (max-width: 768px) {
  .acne .table-block {
    margin: 0;
  }

  .acne-rows03 .th01 {
    width: 34%;
  }
  .acne-rows03 .td01 {
    width: 42%;
  }
  .acne-rows03 .td02 {
    width: 24%;
  }

  .acne-rows04 .th01 {
    width: 16%;
  }
  .acne-rows04 .th02 {
    width: 25%;
  }
  .acne-rows04 .td01 {
    width: 35%;
  }
  .acne-rows04 .td02 {
    width: 24%;
  }
}

/* ==================================================
  acne-medicine 用テーブル
================================================== */
.acne-medicine .table-block {
  margin: 20px 18px 40px;
}

.acne-medicine.medicine .table-block th {
  background-color: #e4e4e4;
}

.acne-medicine.medicine .table-block td {
  background-color: #fff;
}

.acne-medicine-cream-rows03 .th01,
.acne-medicine-cream-rows04 .th01 {
  width: 90px;
}
.acne-medicine-cream-rows03 .th02 {
  text-align: center;
}
.acne-medicine-cream-rows03 .th03 {
  text-align: center;
}

.acne-medicine-cream-rows05 .th01 {
  width: 60px;
}

@media screen and (max-width: 768px) {
  .acne-medicine .table-block {
    margin: 20px 0 40px;
  }

  .acne-medicine-cream-rows03 .th01,
  .acne-medicine-cream-rows04 .th01,
  .acne-medicine-cream-rows05 .th01 {
    width: 30px;
  }
}
