.row {
    align-items: center;
}

button, .button {
    background: inherit;
    border: none;
    border-radius: inherit;
    padding: inherit;
}

img.mw100 {
    width: revert-layer !important;;
    max-width: 100%;
}

li.P-box img {
    width: 100%;
}

.ttl-low-1 {
    color: #ae9373;
    background: url(../img/whitening/ttl-low1_bg.svg)no-repeat left 12px center / 20px, #f7f5f2;
}


.ttl-low-2 {
    text-align: center;
    border-bottom: 1px solid #455a83;
    border-top: 1px solid #455a83;
    line-height: 16px;
    color: #455a83;
    padding-left: 0;
    padding-right: 0;
}

.ttl-low-3 {
    border-top: 1px solid #ee8579;
    line-height: 20px;
    color: #ae9373;
    background: rgba(251, 242, 213, 1);
    text-align: center;
}

.ttl-low-4 {
    color: #ae9373;
    padding: 0 0 1em 0;
    text-align: center;
    line-height: 1.7;
}

.ttl-low-4::after {
    border-bottom: 1px dashed #796a55;
    display: block;
    content: "";
    width: 100%;
    height: 8px;
}

.ttl-low-5 {
    color: #fff;
    background: #56c9d0;
    padding: 8px 10px;
    text-align: center;
}

.w-menu {
    margin-top: 30px;
}

.w-menu nav {
    width: 100%;
    margin-bottom: 30px;
}

.white-medic nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.white-medic nav ul li {
    width: calc((100% - 2em) / 3);
    border: 1px solid #16b4be;
    height: 60px;
    line-height: 1.4;
    position: relative;
    text-align: center;
    margin-bottom: 1em;
    padding: 1em 0;
}

.white-medic nav ul a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #16b4be;
    display: flex;
    align-items: center;
    justify-content: center;
}

.white-medic nav ul a:hover {
    background: #16b4be;
    opacity: inherit;
    color: #fff;
}

.white-medic nav li a.active {
    background: #16b4be;
    opacity: inherit;
    color: #fff;
}

.white-medic-kinds table,
.white-medic-opale table {
    width: 100%;
    text-align: center;
    border-collapse: separate;
    border-spacing: 0.5em;
    font-size: var(--size-xs);
}

.white-medic-kinds table th,
.white-medic-opale table th {
    padding: 10px;
}

.white-medic-kinds table th.title span:first-child {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    white-space: pre;
}

.white-medic-kinds table th.title:first-child {
    background: #ffa500;
    min-width: 4em;
    text-align: center;
    vertical-align: middle;
}

.white-medic-opale table th.title:first-child {
    background: #ffa500;
}

.white-medic-kinds table th.title,
.white-medic-opale table th.title {
    background: #16b4be;
    color: #fff;
}

.white-medic-kinds table td.course:first-child,
.white-medic-opale table td.course:first-child {
    background: #e9b961;
    margin-top: 5px;
    color: #fff;
    min-width: 4em;
}

.white-medic-kinds table td.course span:first-child {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    white-space: pre;
}

.white-medic-kinds table td.course {
    background: #fbfbfb;
    padding: 10px;
    vertical-align: middle;
}

.white-medic-opale table td.course {
    background: #89c0cd;
    text-align: left;
    color: #fff;
    padding: 10px;
    vertical-align: top;
}

.white-medic-case table td.course {
    background: #f4e7f5;
}

.white-medic-case figure {
    text-align: center;
}

.white-medic-case figcaption {
    background: #007acc;
    padding: 5px 20px;
    color: #fff;
    display: inline-block;
    margin: 5px auto 0;
    max-width: 200px;
}

.white-medic-opale td p {
    text-indent: -4px;
    padding-left: 10px;
}

.staff-a {
    position: relative;
    margin-top: 130px;
    width: 100%;
}

.staff-a:before {
    display: block;
    content: url(../img/whitening/clinic.svg);
    width: 350px;
    position: absolute;
    top: -62px;
    left: 50%;
    margin: 0 auto;
    transform: translateY(-50%) translateX(-50%);
}

.staff-b {
    position: relative;
    margin-top: 130px;
    width: 100%;
    background: #d3d3d3;
}

.staff-c,
.staff-d {
    position: relative;
    margin-top: 130px;
    width: 100%;
    background: #78bfac;
}

.staff-b:before {
    display: block;
    content: url(../img/whitening/salon.svg);
    width: 200px;
    position: absolute;
    top: -57px;
    left: 50%;
    margin: 0 auto;
    transform: translateY(-50%) translateX(-50%);
}

.staff-c:before,
.staff-d:before {
    display: block;
    content: url(../img/whitening/opale/home_icon.svg);
    width: 200px;
    position: absolute;
    top: -57px;
    left: 50%;
    margin: 0 auto;
    transform: translateY(-50%) translateX(-50%);
    z-index: -1;
}

.staff-d:before {
    content: url(../img/whitening/opale/office_icon.svg);
}

.opale_ttl {
    position: relative;
    margin-top: 130px;
    width: 100%;
    height: 120px;
    background: url(../img/whitening/opale/opale_ttl_back.svg) no-repeat bottom;
    background-size: contain;
    color: #95451d;
    font-weight: bold;
    text-align: left;
    text-shadow: 1px 1px 0 #FFF, -1px -1px 0 #FFF, -1px 1px 0 #FFF, 1px -1px 0 #FFF, 0px 1px 0 #FFF, 0 -1px 0 #FFF, -1px 0 0 #FFF, 1px 0 0 #FFF;
    line-height: 1.4;
}

.opale_ttl:before {
    display: block;
    content: url(../img/whitening/opale/notice.svg);
    width: 150px;
    position: absolute;
    top: 14px;
    right: 0;
    margin: 0 auto;
    transform: translateY(-50%) translateX(-50%);
}

/* btn */
.btn,
a.btn,
button.btn {
    font-size: var(--size-md);
    line-height: 1.5;
    position: relative;
    display: inline-block;
    padding: 10px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    letter-spacing: 1px;
    color: #fff;
    border-radius: 5px;
    margin-bottom: initial;
    transition: opacity 0.3s ease;
}

button a.btn-border {
    border-radius: 0;
    background: #16b4be;
}

button a.btn-border.home {
    background: #ffa500;
}

button a.btn-border.dual {
    background: #dd6f9f;
}

button a.btn-border:hover {
    background: var(--color-notice);
}

.triangle {
    position: relative;
}

.triangle:after,
.staff-a.triangle:after,
.staff-b.triangle:after,
.staff-c.triangle:after,
.staff-d.triangle:after {
    display: block;
    content: "";
    position: absolute;
    left: 50%;
    bottom: -40px;
    height: calc(60px / 2);
    width: 60px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    transform: translateY(-50%) translateX(-50%);
}

.triangle:after,
.staff-c.triangle:after,
.staff-d.triangle:after {
    bottom: -45px;
    background: #d3d3d3;
}

.staff-a.triangle:after {
    background: #56c9d0;
}

.staff-b.triangle:after {
    background: #d3d3d3;
}

.staff-c.triangle:after,
.staff-d.triangle:after {
    background: #78bfac;
}

.white-medic table {
    width: 100%;
    border-collapse: separate;
}

.white-medic table th {
    display: block;
    background: #fff;
    width: 100%;
    padding: 5px 10px;
    vertical-align: middle;
    border: 2px solid #56c9d0;
}

.white-medic table.a th {
    border: 2px solid #56c9d0;
}

.white-medic table.b th {
    border: 2px solid #d3d3d3;
}

.white-medic table td {
    display: block;
    background: #e6f7f5;
    vertical-align: middle;
    padding: 10px 20px;
    margin-bottom: 10px;
}

.white-medic table.b td {
    background: #f5f5f5;
}

table.b td {
    display: flex;
    align-items: center;
}

.table-nocolor,
.table-nocolor2 {
    width: 100%;
    border-collapse: separate;
    border: none;
    border-spacing: 0.5em;
    font-size: var(--size-xs);
}

.table-nocolor th span,
.table-nocolor2 th span {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    white-space: pre;
}

.table-nocolor th,
.table-nocolor2 th {
    background: #16b4be;
    padding: 10px;
    width: inherit;
    border: none;
    color: #fff;
    min-width: 4em;
}


.table-nocolor td,
.table-nocolor2 td {
    text-align: center;
    padding: 5px;
    border: none;
    background: #f7f5eb;
}

dl.opale dt {
    color: #95451d;
    font-weight: bold;
}

li.P-box {
    margin-right: auto;
    margin-left: auto;
    padding-right: 10px;
    padding-left: 10px;
    margin-bottom: 10px;
    position: relative;
}

.P-p {
    margin-bottom: 5px;
}

h4.P-flow {
    font-size: 18px;
    line-height: 1.4;
    margin-left: -10px;
    margin-bottom: 10px;
    text-align: center;
    text-indent: -8px;
}

h4.P-flow {
    position: relative;
}

h4.P-flow:before {
    padding-left: 15px;
    display: inline-block;
    content: "";
    width: 16px;
    height: 12px;
    background: url(../img/whitening/check.svg) no-repeat center;
}

li.P-box:before {
    top: -22px;
    left: -18px;
    width: 56px;
    height: 56px;
    padding: 0 13px 2px 0;
    font-size: 14px;
}

ol.fpoint {
    /*counter-reset: number;*/
    list-style: none;
    display: flex;
    flex-direction: column;

}

li.P-box:before {
    content: "オフィス";
    position: absolute;
    z-index: 3;
    top: 5px;
    left: 5px;
    width: 70px;
    height: 70px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: center;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: center;
    padding: 2px 2px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    text-align: center;
    /* letter-spacing: .1em; */
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

li.P-box.ho:before {
    background: #ffa500;
    content: "ホーム";
}

li.P-box.of:before {
    background: #16b4be;
}

li.P-box.no:before {
    display: none;
    content: "";
}

ol.fpoint.plus {
    position: relative;
}

ol.fpoint.plus:before {
    display: block;
    width: 60px;
    height: 92px;
    content: url(../img/whitening/plus.svg);
    position: absolute;
    top: -118%;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    z-index: 9999;
}

blockquote {
    position: relative;
    border: 4px solid #8BC0B8;
    border-radius: 10px;
    padding: 47px;
}

blockquote:before {
    position: absolute;
    content: '“';
    font-size: 60px;
    color: #8BC0B8;
    top: 10px;
    left: 20px;
}

blockquote:after {
    position: absolute;
    content: '”';
    font-size: 60px;
    color: #8BC0B8;
    right: 20px;
    bottom: 10px;
}

blockquote cite {
    display: block;
    font-size: 14px;
    text-align: right;
    color: #666;
    padding-right: 20px;
}

@media (577px <= width) {
    .row {
    align-items: flex-start;
}
ol.fpoint {
    flex-direction: row;
}
}


@media only screen and (769px <= width) {
    .white-medic nav ul {
        display: flex;
        gap: 1em;
        justify-content: center;
    }

    .white-medic nav ul li {
        width: calc((100% - 6em) / 4);
        margin-bottom: 0;
    }

    .white-medic table th,
    .white-medic table td {}

    .white-medic table.a td,
    .white-medic table.b td {
        height: 110px;
    }

    .white-medic table.a tr:first-child>td,
    .white-medic table.b tr:first-child>td {
        height: 250px;
    }

    .white-medic table.a tr:last-child>td,
    .white-medic table.b tr:last-child>td {
        height: 280px;
    }

    .white-medic-kinds table,
    .white-medic-opale table {}

    .white-medic-kinds table th.title span:first-child,
    .white-medic-opale table th.title span:first-child {
        -ms-writing-mode: lr-tb;
        writing-mode: horizontal-tb;
        text-align: center;
    }

    .white-medic-kinds table td.course span:first-child,
    .white-medic-opale table td.course span:first-child {
        -ms-writing-mode: lr-tb;
        writing-mode: horizontal-tb;
    }

    .table-nocolor th,
    .table-nocolor2 th,
    .table-nocolor td {}

    .table-nocolor th span,
    .table-nocolor2 th span {
        width: 30%;
        -ms-writing-mode: lr-tb;
        writing-mode: horizontal-tb;
    }

    ol.fpoint {
        flex-direction: row;
        justify-content: space-between;
        padding: 20px;
        list-style: none;

    }

    .P-p {
        margin-bottom: 10px;
    }

    li.P-box:before {
        top: -22px;
        left: 0;
        width: 56px;
        height: 56px;
        padding: 0 13px 2px 0;
        font-size: 14px;
    }

    li.P-box:before {
        width: 70px;
        height: 70px;
        top: -10px;
        left: 0;
        padding: 5px;
    }

    blockquote {
        padding: 60px;
    }
}

@media only screen and (820px <= width) and (width: <=1280px) {
    .white-medic nav ul li {}

    .white-medic nav ul li br.sp {
        display: block !important;
    }
}

@media only screen and (1281px <= width) {
    .w-menu nav {
        margin: -30px auto 30px;
}
}