@charset "UTF-8";

/*------むし歯の進行------*/
a#flow+div .inner_item_img {
    position: relative;
}
#flow+div .inner_item_img:before {
    width: 0;
    height: 0;
    border-style: solid;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid var(--i_txt_color);
    border-right: 0;
    position: absolute;
    content: "";
    top: calc(50% - 5px);
    left: -10px;
}
@media screen and (max-width: 768px) {
    a#flow+div .inner_item {
        display: flex;
        flex-direction: row;
        align-items: center;
        position: relative;
    }
    #flow+div .inner_item:before {
        left: calc(50% - 5px);
        border-right: 10px solid transparent;
        border-left: 10px solid transparent;
        border-top: 10px solid var(--i_txt_color);
        border-bottom: 0;
        position: absolute;
        content: "";
        width: 0;
        height: 0;
        border-style: solid;
        bottom: -20px;
    }
    #flow+div .inner_item_img:before {
        display: none;
    }
    a#flow+div .inner_item a {
        width: 40%;
    }
}
/*------むし歯の治療法------*/
.inner_item_txt ul li.list_item {
    list-style: none;
    margin-bottom: 2rem;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    padding: 1.5rem 2rem;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    background-color: var(--i_sub2_color);
    line-height: 1.3;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
span.zen {
    display: inline-block;
    width: 50px;
    margin-right: 3rem;
    padding-left: 1rem;
    border-left: 4px solid var(--i_sub_color);
    font-size: 22px;
    font-size: 2.2rem;
    font-weight: 600;
}
@media screen and (max-width: 768px) {
    .inner_item_txt ul li.list_item {
        display: flex;
       flex-direction: column;
        align-items: flex-start;
    }
}
/*------画像＋テキストの画像なし用------*/
a#nonimage+section .inner_item_img a {
    display: none;
}
/*------歯科材料種類テーブル------*/
.table table {
    overflow: hidden;
    width: 100%;
    border: 1px solid var(--i_sub_color);
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    border-spacing: 0;
    border-collapse: unset;
}
.table table th {
    width: 20%;
    background-color: var(--i_sub2_color);
    text-align: center;
}
.table table th {
    padding: 1rem 2rem;
    border-right: 1px solid var(--i_sub_color);
    border-bottom: 1px solid var(--i_sub_color);
    vertical-align: middle;
}
.table table td {
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--i_sub_color);
    vertical-align: middle;
}
.table table tr:last-child th,
.table table tr:last-child td {
    border-bottom: none;
}
.table table tr:last-child th {
    border-radius: 0 0 0 10px;
}
.table table tr:last-child td {
    border-radius: 0 0 10px 0;
}
.table table tr:first-child td {
    border-radius: 0 10px 0 0;
}
.table table tr:first-child th {
    border-radius: 10px 0 0 0;
}
@media screen and (max-width: 768px) {
    .table table,
    .table table tbody,
    .table table tr,
    .table table th,
    .table table td {
        display: block;
        width: 100%;
    }
    .table table {
        border-bottom: none;
    }
    .table table th {
        border-right: none;
    }
    .table table tr {
        border-bottom: 1px solid var(--i_sub_color);
    }
    .table table td {
        border-bottom: none;
    }
    .table table th,
    .table table td {
        box-sizing: border-box;
    }
    .table table tr:last-child th {
        border-bottom: 1px solid var(--i_sub_color);
    }
    .table table tr:first-child th,
    .table table tr:first-child td,
    .table table tr:last-child th,
    .table table tr:last-child td {
        border-radius: 0;
    }
}
