@charset "UTF-8";

.widget_shop01 .map {
    display: none;
}

/* 以下から追記 */
main {
    background: none;
    z-index: 8;
}

#medical_t+div {
    margin-top: -330px;
    margin-bottom: 28px;
}

#medical_t+div>.content_wrapper {
    background: var(--i_bg_color);
    padding: 20px;
    margin-right: 0;
}

#medical_t+div table {
    font-size: 1.35rem;
}

#medical_t+div tr:not(:first-of-type) th {
    font-size: 1.6rem;
}

#medical_t+div .heading.block_header_5 .h {
    font-size: 1.45rem;
}

@media screen and (max-width:900px) {
    #medical_t+div>.content_wrapper {
        width: 90%;
    }

    #medical_t+div {
        margin-top: -50px;
        margin-bottom: 0;
    }

    #medical_t+div td,
    #medical_t+div th {
        padding: 0;
    }

    #medical_t+div tr:not(:first-of-type) th {
        font-size: 1.45rem;
    }

    #medical_t+div .heading.block_header_5 .h {
        font-size: 1.3rem;
        line-height: 1.5;
        display: inline-block;
    }
}

/* コラム横並び */

.fl {
    display: flex;
    justify-content: center;
    padding-top: 80px;
    max-width: 1200px;
    margin-inline: auto;
}

.fl .block_news_1 .content_wrapper {
    display: flex;
    flex-direction: column;
    max-width: 1500px;
    margin: 0 auto;
    width: 100%;
    gap: 30px;
    box-sizing: border-box;
}

.fl .block_news_1 ul {
    order: 4;
    height: 200px;
    overflow-y: scroll;
    min-width: auto;
}

.fl .block_news_1 .contents_btn01 {
    order: 3;
    width: auto;
    padding-top: 0;
}

.fl .block_news_1:not(.add_design3):not(.add_design4):not(.add_design12) ul li:nth-of-type(1),
.fl .block_news_1 ul>li {
    border: none !important;
}

.fl .block_news_1 li a>p::before {
    content: "";
    display: block;
    position: absolute;
    height: 5px;
    width: 10px;
    border: none;
    background: var(--i_txt_color);
    transform: rotate(0deg);
    top: calc(50% - 3px);
    left: 5px;
    clip-path: polygon(100% 50%, 0 0, 0 100%);
}

.fl .block_news_1 li a>* {
    padding-left: 30px;
}

.fl .block_news_1 li a>p {
    color: #EE86A1;
}

.fl .block_news_1 li a {
    flex-direction: column;
    align-items: baseline;
}

.fl .contents_btn01 a {
    border: 2px solid #98c0c5;
    background: #98c0c5;
}

.fl .heading.block_header_1,
.fl .heading+.add_text {
    margin-bottom: 0;
}

@media screen and (max-width:900px) {
    .fl {
        flex-direction: column;
        padding-top: 65px;
    }

    .fl .block_news_1 ul {
        margin: auto;
    }

    .fl #col+div {
        padding-bottom: 50px;
    }
}

/* 悩みに合わせた治療のご提案 */

a[id^="item"]+.composite_box01 .inner_item_img img {
    width: auto !important;
    height: auto !important;
}

a[id^="item"]+.composite_box01 .inner_item {
    margin: 0 !important;
}

a[id^="item"]+.composite_box01 .wrapper_item {
    gap: 15px 0;
}

@media screen and (min-width:701px) {
    #item+div .heading.block_header_6 {
        margin-bottom: 50px;
    }

    a[id^="item"]+.composite_box01 .wrapper_item {
        flex-wrap: nowrap;
    }
}

@media screen and (max-width:700px) {
    a[id^="item"]+.composite_box01 .inner_item_img img {
        max-width: 80px;
    }
}

/*  初めての方へ */

#first+section>.content_wrapper {
    background: var(--i_sub2_color);
    width: calc(100% - 20px);
    padding: 40px 20px;
}

#first+section .wrapper_item {
    background: var(--i_bg_color);
    padding: 20px !important;
    box-sizing: border-box;
}

#fox+section>.content_wrapper::before {
    position: absolute;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    right: 10px;
    background: url("/common/upload_data/sakaigawa-dentalcom/image/illust-fox.png") no-repeat top right / 13vw;
    pointer-events: none;
}

@media screen and (max-width:800px) {
    #fox+section>.content_wrapper::before {
        top: 0;
        background-size: 140px;
    }
}

/* ボタン色調整 */
#first+section .contents_btn01 a,
#about+div+div.contents_btn01 a {
    border: 2px solid #4e8074;
    background: #4e8074;
}

#hd3+section .contents_btn01 a {
    border: 2px solid #de7c66;
    background: #de7c66;
}

#view+section+div.contents_btn01 a {
    border: 2px solid #6675ab;
    background: #6675ab;
}



/*--MV下パーツ調整--*/
#medical_t+div>.content_wrapper {
    height: 200px;
    background: #ffffff9c;
}
#medical_t+div {
    margin-top: -200px;
}
#medical_t+div .outer {
    background: var(--i_bg_color);
    padding: 10px 5px;
}
#medical_t+div .heading.block_header_5 {
    display: none;
}
#medical_t+div tr:not(:first-of-type) td {
    color: #ffc6a9;
}
#medical_t+div>.content_wrapper {
    justify-content: center;
}
#medical_t+div td,
#medical_t+div tr:not(:first-of-type) th {
    font-size: 1.4rem;
}
@media screen and (max-width: 900px) {
    #medical_t+div>.content_wrapper {
        height: 140px;
    }
    #medical_t+div {
        margin-top: -50px;
    }
    #medical_t+div td,
    #medical_t+div tr:not(:first-of-type) th {
        font-size: 1.3rem;
    }
}
@media screen and (max-width:400px) {
    #medical_t+div>.content_wrapper {
        width: 100%;
        padding:20px 10px;
    }
}

/*--ブログ・コラムパーツ調整--*/
.fl .block_news_1 .contents_btn01 {
    order: 4;
}

/*--歯科予防・治療を通して、健やかな人生をサポートパーツ背景調整--*/
#hd_2_bg + section{
    background-image: linear-gradient(0deg, rgba(244, 242, 230, 1) 25%, rgba(255, 255, 255, 1));
}

/*--悩みに合わせた治療のご提案--*/
a[id^="item"]+.composite_box01 .inner_item_img img {
    max-height: 109px;
}

/*悩みに合わせた治療のご提案 不具合修正*/

main#main>#item2+div.composite_box01 {
    width: 100%;
    max-width: none;
}

#item2+div .wrapper_item {
    justify-content: space-between;
}

#item2+div .inner_item.empty {
    display: none;
}