@charset "utf-8";

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

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

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

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

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

/* ニキビ治療改修用css */
.acne p, .acne li, .acne th, .acne td {
	font-family: "Noto Sans JP", sans-serif;
	font-size: 17px!important;
	line-height: 1.83;
}
.acne p {
	margin-bottom: 2em;
}
.acne .fs-14 {
	font-size: 14px;
}
.acne .fs-17 {
	font-size: 17px;
}
.acne p a {
	text-decoration: underline;
}
.acne strong {
	font-weight: bold;
}
.acne.treatment .ttl-h2 {
	margin-bottom: 2em;
}
.acne.treatment .ttl-h3 {
	margin: 30px 0 10px 0px;
}
.acne h4 {
	border-bottom: 2px solid;
    padding-bottom: 4px;
	margin: 1.5em 0 .5em;
	font-size: 17px;
	font-weight: bold;
}
.acne .phase-list .problem-btn p {
	margin-bottom: 0;
}
.acne.treatment .btn {
	display: block;
	margin: 0 auto;
}
.acne.treatment .doctor-recommend .doctor-img {
	top: 50%;
	transform: translateY(-50%);
}
.acne figure.size-full {
	max-width: 420px;
	margin: 0 auto 2em;
}
.acne figure.size-full.size-420 {
	max-width: 420px!important;
}
.acne .wp-block-flexible-table {
	box-sizing: border-box;
}
.acne .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table.has-fixed-layout {
	table-layout: fixed;
}
.acne .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
}
.acne .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table tr th {
	background-color: #f0f0f1;
}
.acne .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table tr th, .acne .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table tr td {
    padding: 0.5em;
    border-width: 1px;
    border-style: solid;
    border-color: #000000;
	font-size: 12px!important;
    text-align: left;
	line-height: 1.83;
    vertical-align: middle;
}
.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: .9em;
    line-height: 1.2;
    margin: 2px;
    padding: 6px 8px;
}
.label-main {
	background: #AAAAAA;
	color: #fff;
}
.label-main.acne-white {
	background: #fff;
	color: #000;
}
.label-main.acne-black {
	background: #4e4d4d;
}
.label-main.acne-red {
	background: #F97D7D;
}
.label-main.acne-yellow {
	background: #FBD54B;
}
.label-main.acne-scar {
	background: #E5A7FB;
}
.acne .wp-block-list {
	list-style: none;
    margin: 0 0 2em;
    padding: .5em .5em .5em 3em;
}
.acne .wp-block-list li {
	padding: .3em 0;
    position: relative;
}
.acne .wp-block-list li::before {
	content: '';
	display: inline-block;
	position: absolute;
	background: rgb(160, 105, 91);
	border-radius: 50%;
    height: 13px;
    left: -24px;
    top: 11px;
    width: 13px;
}
.acne .timeline {
    counter-reset: tsnc-timeline;
    list-style: none;
    margin-bottom: 2em;
    padding: 0;
}
.acne .process-step {
	border-bottom: 1px dashed #ddd;
    margin-bottom: 1em;
    padding-bottom: 1em;
    position: relative;
}
.acne .process-label {
	background: rgb(160, 105, 91);
	color: #fff;
    display: inline-block;
    font-size: 14px;
    text-align: center;
    width: 60px;
	line-height: 1.83;
}
.acne .process-step :last-child {
    margin-bottom: 0;
}
.acne .process-label-num:before {
    content: counter(tsnc-timeline);
    counter-increment: tsnc-timeline;
}
.acne .process-title {
    font-weight: 700;
    margin: 8px 0;
}
.acne .wp-block-image {
    margin: 0 0 2em;
}
.acne .typelist-wrap img {
	width: 523px;
}
.acne .is-layout-flex {
	justify-content: center;
	gap: 50px;
}
.acne .wp-block-group figure {
	margin: 0;
}
@media screen and (max-width: 768px) {
	.acne p, .acne li {
		font-size: 12px!important;
	}
	.acne th, .acne td {
		font-size: 9px!important;
	}
	.acne.treatment .doctor-recommend .doctor-img {
		transform: none;
	}
	.acne .typelist-wrap img {
		width: 100%;
	}
	.label-ac, .label-gray, .label-main, .rttb-file, .rttb-folder {
		font-size: .9em;
		padding: 4px 3px;
	}
	.acne .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table tr th, .acne .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table tr td {
		font-size: 9px!important;
	}
}
