/* ===================================
   FV
   =================================== */
#kv.acne__fv {
    background-image: url(../img/acne_acne_scar_treatment/bg_kv.jpg);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: clamp(30px, calc(100 / 1440 * 100vw), 100px) 0;
}
#lpWrap #kv.acne__fv h2 {
    display: block !important;
    position: relative !important;
    font-family: var(--font-ZenMaruGothic);
    font-size: min(38 / 768 * 100vw, 64px);
    font-weight: 700;
    color: #6c3030;
    line-height: 1.5;
    z-index: 1;
    left: 0;
    right: 0;
    bottom: 10%;
    margin: auto;
}
#lpWrap #kv.acne__fv h2::after {
    position: absolute;
    width: 80%;
    content: "";
    left: 0;
    right: 0;
    bottom: -12%;
    margin: auto;
    border-bottom: 10px dotted #e17373;
}
@media screen and (max-width: 768px) {
    #lpWrap #kv.acne__fv h2::after {
        border-bottom-width: 5px;
    }
}

/* ===================================
   CTA
   =================================== */
.acne__cta {
    background: linear-gradient(90deg, #FFEAEA, #FFD3D3);
}
.acne__cta .lp-cta {
    transform: translateY(-30px);
    padding: 0;
}
@media screen and (min-width: 769px) {
    .acne__cta {
        padding-bottom: 30px;
    }
}

/* ===================================
   お悩み
   =================================== */
#lpWrap .acne__trouble #co02Wrap {
    background: url(../img/acne_acne_scar_treatment/acne_trouble-bg.webp) no-repeat center top / cover;
    aspect-ratio: auto;
    max-width: 100%;
    width: 100%;
    padding: 60px 0;
    margin: 0;
}
#lpWrap .acne__trouble #co02Wrap .acne__trouble-items {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    row-gap: 50px;
    list-style: none;
    padding: 0 40px;
    margin: 0;
    position: static;
    max-width: unset;
    min-width: 700px;
    top: auto;
    left: auto;
    transform: none;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}
.acne__trouble-item:nth-child(1) { grid-column: 1 / 3; }
.acne__trouble-item:nth-child(2) { grid-column: 3 / 5; }
.acne__trouble-item:nth-child(3) { grid-column: 5 / 7; }
.acne__trouble-item:nth-child(4) { grid-column: 2 / 4; }
.acne__trouble-item:nth-child(5) { grid-column: 4 / 6; }
#lpWrap .acne__trouble #co02Wrap .acne__trouble-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    margin: 0;
    padding: 0;
    border-radius: 0;
    width: auto;
    min-width: 0;
    height: auto;
    line-height: 1.6;
}
.acne__trouble-title {
    position: relative;
    isolation: isolate;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
    padding: 18px 28px;
}
.acne__trouble-title::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 110%;
    aspect-ratio: 474 / 210;
    background-image: url(../img/acne_acne_scar_treatment/acne_trouble-textbg.webp);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: -1;
    pointer-events: none;
}
.acne__em {
    color: #E17373;
}
.acne__trouble-img {
    width: 180px;
    height: 180px;
    position: relative;
    z-index: 1;
}
.acne__trouble-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
@media screen and (max-width: 767px) {
    #lpWrap .acne__trouble #co02Wrap {
        background-image: url(../img/acne_acne_scar_treatment/acne_trouble-bg_sp.webp);
        background-position: bottom center;
        background-size: cover;
        padding: 40px 0;
        width: 100%;
    }
    #lpWrap .acne__trouble #co02Wrap .acne__trouble-items {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 30px;
        padding: 0 20px;
        font-size: 14px;
        min-width: unset;
    }
    .acne__trouble-item:nth-child(1),
    .acne__trouble-item:nth-child(2),
    .acne__trouble-item:nth-child(3),
    .acne__trouble-item:nth-child(4) {
        grid-column: auto;
    }
    .acne__trouble-item:nth-child(5) {
        grid-column: 1 / 3;
        width: 50%;
        margin: 0 auto;
    }
    .acne__trouble-title {
        font-size: 14px;
        padding: 14px 18px;
    }
    .acne__trouble-img {
        width: 150px;
        height: 150px;
    }
}

/* ===================================
   ニキビ・ニキビ跡の種類
   =================================== */
#lpWrap .acne__type .wrap {
    padding-bottom: 100px;
}
.acne__type .typeAcne {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
}
.acne__type-desc {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    text-align: center;
    margin: 8px 0;
}
.acne__cause-label {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    color: #E17373;
    text-align: center;
    margin: 12px 0 4px;
}
.acne__cause-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    text-align: center;
}
#lpWrap .acne__type .acneRecommendation {
    border: 2px solid #E17373;
    border-radius: 5px;
    color: #E17373;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    text-align: center;
    padding: 8px 20px;
    margin: 8px auto;
    display: block;
    height: auto;
    line-height: 1.4;
}
#lpWrap .acne__type .acneRecommendationBo {
    color: #E17373;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    text-align: center;
}

/* ===================================
   メッセージ
   =================================== */
.acne__message {
    background-color: #F6E3E3;
}
.acne__message .wrapAll > p {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto 60px;
    padding: 0 40px;
    line-height: 1.8;
    font-size: min(calc(14 / 768 * 100vw), 18px);
}
#lpWrap .acne__message #co03Flex {
    align-items: center;
    justify-content: space-between;
}
.acne__message-hana {
    width: min(calc(180 / 768 * 100vw), 240px);
    flex-shrink: 0;
}
#lpWrap .acne__message #co03Photo {
    width: 75%;
}
#lpWrap .acne__message #co03Photo img {
    width: 100%;
    height: auto;
    display: block;
}
@media screen and (min-width: 769px) {
    #lpWrap .acne__message .wrapAll {
    padding-bottom: 60px;
    }
}
@media screen and (max-width: 767px) {
    .acne__message-hana {
        display: none;
    }
    .acne__message .wrapAll > p {
        padding: 0 20px;
        margin-bottom: 30px;
        font-size: 14px;
    }
    #lpWrap .acne__message #co03Photo {
        width: 100%;
        transform: translateX(6%);
        margin-bottom: 0;
    }
}

/* ===================================
   お悩み別おすすめ治療
   =================================== */
.acne__treatment {
    padding: 0 15px;
}
.acne__worry-table {
    width: 100%;
    max-width: 1200px;
    border-collapse: collapse;
    margin: 40px auto 60px;
    background-color: #fff;
}
.acne__worry-table th,
.acne__worry-table td {
    border: 1px solid #9D9D9D;
    padding: 30px 40px;
    font-size: clamp(18px, calc(30 / 1440 * 100vw), 30px);
    text-align: center;
    font-weight: 700;
}
.acne__worry-table thead th {
    background-color: #FAE7E8;
    color: #E17373;
}
.acne__worry-table tbody td:first-child {
    width: 32%;
    font-weight: 700;
}
.acne__sep {
    display: inline-block;
    width: 0;
    height: clamp(20px, calc(50 / 1440 * 100vw), 50px);
    border-left: 1px solid #9D9D9D;
    transform: rotate(20deg);
    margin: 0 clamp(12px, calc(20 / 1440 * 100vw), 20px);
    vertical-align: middle;
}
@media screen and (max-width: 767px) {
    .acne__worry-table {
        width: 90%;
    }
    .acne__worry-table th,
    .acne__worry-table td {
        padding: 14px 16px;
        font-size: 13px;
    }
}
#lpWrap .acne__thought #co03Flex {
    justify-content: flex-end;
}
#lpWrap .acneThoughtWrap {
    width: min(100%, 1200px);
}
#lpWrap .acneThoughtFlex {
    width: 100%;
}

/* ===================================
   治療方法（自費診療）
   =================================== */
.acne__howto {
    padding: 0 15px;
}
.acne__howto-wrap + .acne__howto-wrap {
    margin-top: 40px;
}
#lpWrap .acne__howto-wrap {
    font-family: var(--font-ZenMaruGothic);
    max-width: 1200px;
    font-weight: 700;
    text-align: justify;
    margin: 0 auto;
}
#lpWrap .acne__howto-wrap h3,
#lpWrap .acne__howto-wrap h4,
#lpWrap .acne__howto-wrap h5,
.acne__howto-table__header {
    font-size: clamp(20px, calc(24 / 1440 * 100vw), 24px);
    text-align: center;
    font-weight: 700;
}
.acne__howto-sub {
    max-width: 852px;
    margin: 0 auto 30px;
}
#lpWrap .acne__howto-wrap h3 {
    color: #e17373;
    margin-bottom: 30px;
    border: 2px solid #e17373;
    border-radius: 5px;
}
#lpWrap .acne__howto-wrap h4 {
    color: #e17373;
    margin: clamp(20px, calc(40 / 1440 * 100vw), 40px) 0 clamp(10px, calc(20 / 1440 * 100vw), 20px);
}
@media screen and (max-width: 767px) {
    #lpWrap .acne__howto-wrap {
        width: 90%;
        font-size: 14px;
    }
    #lpWrap .acne__howto-wrap h3 {
        margin-bottom: 20px;
    }

}
.acne__howto-table {
    border: 1px solid;
    overflow: hidden;
    max-width: 1080px;
    border-radius: 6px;
    margin: 0 auto;
}
.acne__howto-table:has(.acne__howto-table__cols.col-2) {
    max-width: 720px;
}
.acne__howto-table__header {
    color: #fff;
}
.acne__howto-table__cols {
    display: grid;
    background: #fff;
}
.acne__howto-table__cols.col-3 { grid-template-columns: repeat(3, 1fr); }
.acne__howto-table__cols.col-2 { grid-template-columns: repeat(2, 1fr); }
.acne__howto-table__col {
    padding: 15px;
}
.acne__howto-table__col + .acne__howto-table__col {
    border-left: 1px solid;
}
.acne__howto-table__title {
    font-size: clamp(16px, calc(22 / 1440 * 100vw), 22px);
    font-weight: 700;
    text-align: center;
}
.acne__howto-table__desc {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 10px;
}
.acne__howto-table__dl {
    border: 1px solid;
    margin-bottom: 16px;
    font-size: 13px;
    letter-spacing: 0;
    border-radius: 5px;
    overflow: hidden;
}
.acne__howto-table__row {
    display: flex;
}
.acne__howto-table__row + .acne__howto-table__row {
    border-top: 1px solid;
}
.acne__howto-table__row dt {
    width: 70px;
    flex-shrink: 0;
    padding: 5px;
    font-weight: 700;
    font-size: 12px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.acne__howto-table__row dd {
    flex: 1;
    padding: 5px;
    border-left: 1px solid;
    display: flex;
    align-items: center;
}
.acne__howto-table__note {
    font-size: 13px;
    text-align: center;
    line-height: 1.8;
}
.acne__howto-table--clinic { border-color: #E17373; }
.acne__howto-table--clinic .acne__howto-table__header { background: #E17373; }
.acne__howto-table--clinic .acne__howto-table__col + .acne__howto-table__col { border-left-color: #E17373; }
.acne__howto-table--clinic .acne__howto-table__title { color: #E17373; }
.acne__howto-table--clinic .acne__howto-table__dl { border-color: #DAC7C7; }
.acne__howto-table--clinic .acne__howto-table__row + .acne__howto-table__row { border-top-color: #DAC7C7; }
.acne__howto-table--clinic .acne__howto-table__row dt { background: #FDF6F5; }
.acne__howto-table--clinic .acne__howto-table__row dd { border-left-color: #DAC7C7; }
.acne__howto-table--homecare { border-color: #7F9DEF; }
.acne__howto-table--homecare .acne__howto-table__header { background: #1C2A50; }
.acne__howto-table--homecare .acne__howto-table__col + .acne__howto-table__col { border-left-color: #7F9DEF; }
.acne__howto-table--homecare .acne__howto-table__title { color: #1C2A50; }
.acne__howto-table--homecare .acne__howto-table__dl { border-color: #7F9DEF; }
.acne__howto-table--homecare .acne__howto-table__row + .acne__howto-table__row { border-top-color: #7F9DEF; }
.acne__howto-table--homecare .acne__howto-table__row dt { background: #F1F5FF; }
.acne__howto-table--homecare .acne__howto-table__row dd { border-left-color: #7F9DEF; }
.acne__howto-arrow {
    width: clamp(15px, calc(40 / 1440 * 100vw), 40px);
    height: clamp(15px, calc(40 / 1440 * 100vw), 40px);
    background-color: #7A6328;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    margin: clamp(12px, calc(24 / 1440 * 100vw), 24px) auto;
}
@media screen and (max-width: 767px) {
    .acne__howto-table__cols { grid-template-columns: 1fr !important; }
    .acne__howto-table__col + .acne__howto-table__col { border-left: none; border-top: 1px solid; }
    .acne__howto-table--clinic .acne__howto-table__col + .acne__howto-table__col { border-top-color: #E17373; }
    .acne__howto-table--homecare .acne__howto-table__col + .acne__howto-table__col { border-top-color: #7F9DEF; }
}

#lpWrap .acne__faq .wrap {
    padding: 0;
}