@charset "UTF-8";

@charset "UTF-8";


body:not(.edit_view) #mv .mv_text h2{
	animation: mvText 2s 1.5s both;
}
body:not(.edit_view) #mv_outer::before{
	animation: mvText 2s 2.2s both;
}

@-webkit-keyframes mvText {
 0% {
  opacity:0;
	filter: blur(4px);
 }
 100% {
  opacity:1;
	filter: blur(0px);

 }
}
@keyframes mvText {
 0% {
  opacity:0;
	filter: blur(4px);
 }
 100% {
  opacity:1;
	filter: blur(0px);

 }
}

/*診療科目*/

a[id^="link"]+div .inner_item_img {
    width: 40%;
    margin-right: 0;
}

a[id^="link"]+div .heading.block_header_4 {
    width: 60% !important;
    text-align: center;
}

a[id^="link"]+div .heading.block_header_4 .h {
    font-weight: 500 !important;
    color: var(--i_txt_color) !important;
    font-size: 1.8rem !important;
    display: inline-block;
    width: auto !important;
    margin: 0 auto;
    position: relative;
}

a[id^="link"]+div .inner_item_txt .heading:before {
    opacity: 1 !important;
    background: #fffcfa !important;
}

a[id^="link"]+div .wrapper_item {
    justify-content: center;
    width: calc(100% - 20px);
    margin: auto;
    padding-bottom: 1px;
}

a[id^="link"]+div .empty {
    display: none;
}

a[id^="link"]+div .heading.block_header_1 {
    margin-bottom: 50px;
}

a[id^="link"]+div>.content_wrapper:before,
#all+div>.content_wrapper:before {
    position: absolute;
    display: block;
    content: "";
    height: 100%;
    width: 90%;
    bottom: 0;
    left: 5%;
    background: url(/common/upload_data/toyohashi-machinaka-whccom/image/bg_ptn.jpg) repeat;
    pointer-events: none;
}

#link+div>.content_wrapper:before {
    height: calc(100% - 30px);
}

#link+div .wrapper_item {
    padding-bottom: 30px;
}

a[id^="link"]+div .inner_item {
    box-shadow: 2px 2px 10px rgba(35, 32, 31, 0.1);
}

a[id^="link"]+div .inner_item a+.inner_item_txt {
    margin-top: 0 !important;
}

#all+div>.content_wrapper {
    padding: 50px 0 80px;
}

@media screen and (max-width: 800px) {
    #link+div>.content_wrapper:before {
        height: calc(100% - 15px);
    }
}

@media screen and (max-width: 480px) {
    #link+div .wrapper_item {
        padding-bottom: 0;
    }
}

/*当院からのお願い*/

#r3+section:before {
    position: absolute;
    display: block;
    content: "";
    height: 80px;
    width: 100%;
    top: 0;
    left: 0;
    background: url(/common/upload_data/toyohashi-machinaka-whccom/image/bg_ptn.jpg) repeat;
    pointer-events: none;
}

#r3+section {
    overflow: visible;
}

#r3+section>.content_wrapper:before {
    position: absolute;
    display: block;
    content: "";
    background: url("/common/upload_data/toyohashi-machinaka-whccom/image/neko2.png") no-repeat bottom right;
    bottom: -30px;
    right: 30px;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#r3+section.dec1_1:not(.block_images_21)>.content_wrapper {
    background: #fffcfa;
    border: 1px dotted var(--i_txt_color);
}

#r3+section .heading.block_header_2 {
    margin-bottom: 5px;
}

#r3+section .heading.block_header_2 .h {
    padding: 0 20px;
}

#r3+section .heading.block_header_2 .h:before,
#r3+section .heading.block_header_2 .h:after {
    position: absolute;
    left: 0;
    top: 0.65em;
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--i_main_color);
    border-radius: 50px;
}

#r3+section .heading.block_header_2 .h:after {
    left: auto;
    right: 0;
}

@media screen and (min-width: 1081px) {
    #r3+section .inner_item_txt {
        width: 90%;
        margin-left: 0;
    }
}

@media screen and (max-width: 1080px) {
    #r3+section>.content_wrapper {
        padding-top: 35px;
        padding-bottom: 55px;
    }

    #r3+section>.content_wrapper:before {
        background-size: 90px;
        right: 10px;
        bottom: -45px;
    }
}

/*当院のご案内*/

#inf+section .heading.block_header_2 .h {
    padding: 0;
    font-size: 3.6rem !important;
    line-height: 1.4;
    letter-spacing: 0.3rem;
    font-weight: 400;
    margin-bottom: 0;
}

#inf+section .heading.block_header_2 .h:before {
    display: none;
}

#inf+section .heading.block_header_2 p {
    font-size: 1.7rem !important;
    font-weight: 500;
    letter-spacing: 0.2rem;
    color: var(--i_main_color);
}

@media screen and (min-width: 901px) {
    #inf+section .inner_item_txt {
        padding-left: 5%;
    }
}

@media screen and (max-width: 900px) {
    #inf+section .inner_item_txt {
        padding: 0 20px !important;
    }

    #inf+section .heading.block_header_2 .h {
        font-size: 2.3rem !important;
        letter-spacing: 0.2rem;
    }

    #inf+section .heading.block_header_2 p {
        font-size: 1.5rem !important;
    }
}

/*初めての方へ*/

#ab2+section .contents_btn01 a {
    text-align: center;
    border: 1px solid var(--i_btn_color);
    border-radius: 5px;
    min-width: 300px;
    padding: 20px 0 20px 40px !important;
}

#ab2+section .contents_btn01 a:before {
    width: 45px;
    height: 45px;
    top: calc(50% - 22.5px);
    left: 40px;
    background: url("/common/upload_data/toyohashi-machinaka-whccom/image/r.png") no-repeat center / contain;
}

#ab2+section .contents_btn01 a:after {
    display: none;
}

#ab2+section .contents_btn01 a span {
    font-size: 1.8rem;
    padding: 0;
}

#ab2+section .contents_btn01 a:hover {
    background: var(--i_btn_color);
    color: var(--i_bg_color) !important;
    opacity: 0.8;
}

#ab2+section .inner_item_txt>p span {
    padding: 0 22px;
    display: inline-block;
    position: relative;
}

#ab2+section>.content_wrapper {
    width: calc(100% - 40px);
    padding-bottom: 40px;
}

#ab2+section>.content_wrapper:before {
    position: absolute;
    display: block;
    content: "";
    width: 100%;
    height: calc(100% - 20px);
    border: 1px solid var(--i_txt_color);
    border-top: none;
    bottom: 0;
    left: 0;
    pointer-events: none;
}

#ab2+section .heading.block_header_1:before,
#ab2+section .heading.block_header_1:after {
    position: absolute;
    display: block;
    content: "";
    width: calc(50% - 180px);
    height: 1px;
    background: var(--i_txt_color);
    top: 20px;
    left: 0;
    pointer-events: none;
}

#ab2+section .heading.block_header_1:after {
    left: auto;
    right: 0;
}

@media screen and (min-width: 901px) {
    #ab2+section .inner_item_txt {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: column;
        padding: 0 5%;
    }
    
	#ab2+section .inner_item_txt .contents_btn01 {
		text-align: right;
	}
}

@media screen and (max-width: 800px) {

    #ab2+section .heading.block_header_1:before,
    #ab2+section .heading.block_header_1:after {
        width: calc(50% - 100px);
    }

    #ab2+section .contents_btn01 a {
        min-width: 220px;
        padding: 12px 0 12px 40px !important;
    }

    #ab2+section .contents_btn01 a:before {
        width: 30px;
        height: 30px;
        top: calc(50% - 15px);
        left: 30px;
    }
}

@media screen and (max-width: 900px) {
    #ab2+section .inner_item_txt {
        padding: 0 20px !important;
    }
}

/*診療日のご案内*/

#gd+div::before {
    position: absolute;
    display: block;
    content: "";
    width: 80%;
    height: 60%;
    left: 10%;
    bottom: 0;
    background: var(--i_sub2_color);
    pointer-events: none;
}

#gd+div>.content_wrapper {
    padding: 0 20px;
}

@media screen and (min-width: 901px) {
    #gd+div .heading.block_header_1 {
        margin-bottom: 45px;
    }
}

@media screen and (max-width: 1400px) {
    #gd+div::before {
        width: 100%;
        left: 0;
    }
}