/* ローディング画面
================================================== */
#loading {
    width: 100vw;
    height: 100vh;
    transition: all 0.5s;
    background: #f8f3ef;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}
.spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}
.spinner > div {
    width: 8px;
    height: 8px;
    margin-left: 10px;
    margin-right: 10px;
    background-color: #ffba79;
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}
.spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}
.spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}
@-webkit-keyframes sk-bouncedelay {
    0%, 80%, 100% { -webkit-transform: scale(0.5) }
    40% { -webkit-transform: scale(1.0) }
}
@keyframes sk-bouncedelay {
    0%, 80%, 100% {
        opacity: 0;
        -webkit-transform: scale(0.5);
        transform: scale(0.5);
    } 40% {
        opacity: 1;
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}
.spinner .text {
    margin-left: 8px;
    margin-top: 20px;
    font-family: 'bebas';
    color: #ffba79;
    font-size: 10px;
    letter-spacing: 0.7em;
    text-align: center;
}
.loaded {
    opacity: 0;
    visibility: hidden;
}



/* スライダー
================================================== */
.slider_wrap {
    position: relative;
}
.layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}
.layer img {
    width: 100%;
}
@media only screen and (max-width: 767px) {
    .slider_wrap {
        overflow-x: hidden;
    }
    .layer {
        top: 10%;
        width: 150%;
        margin-left: -25%;
    }
}

.mainvisual img {
    width: 100%;
}
.mainvisual_SP {
    display: none;
}
@media only screen and (max-width: 767px) {
    .mainvisual {
        display: none;
    }
    .mainvisual_SP {
        display: block;
    }
    .mainvisual_SP img {
        width: 100%;
    }
}



/* 共通
================================================== */
h3 {
    color: #ffba79;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.5em;
    margin-bottom: 20px;
}
@media only screen and (max-width: 767px) {
    h3 {
        font-size: 18px;
        font-weight: bold;
        text-align: center;
        line-height: 1.2em;
        margin-bottom: 10px;
    }
}

.lead {
    font-size: 30px;
    font-weight: bold;
    line-height: 1.5em;
    margin-bottom: 20px;
}
@media only screen and (max-width: 767px) {
    .lead {
        font-size: 17px;
        line-height: 1.3em;
    }
}



/* メイン
================================================== */
#tp_main_icon {
    position: relative;
}
#tp_main_icon .tp_main_icon1 {
    position: absolute;
    bottom: -40px;
    left: 0;
}
#tp_main_bg {
    padding: 0 0;
    background: url(../img/tp_main_bg.png) 0 0 no-repeat;
}
#tp_main_bg h1 {
    color: #ff966b;
    font-size: 29px;
    line-height: 2.0em;
    font-weight: bold;
    margin-bottom: 30px;
}
#tp_main_bg h1 strong {
    background: linear-gradient(transparent 60%, #ffff70 60%);
}

.tp_main_info {
    padding: 80px 0 80px 30px;
    background:
        url(../img/dot1.png) 0 0 repeat,
        #ffdcb5;
    border-radius: 10px 0 0 10px;
    margin-right: calc(50% - 50vw);
    padding-right: calc(50vw - 50%);
}
.tp_main_info p {
    font-weight: bold;
    text-align: center;
}
.tp_main_info .tel {
    margin-top: 10px;
    font-size: 36px;
}
.tp_main_info .tel a {
    color: #555;
}
.tp_main_info .tel img {
    margin-right: 10px;
    vertical-align: middle;
}
.tp_main_info .address {
    line-height: 1.5em;
}
.tp_main_info table.hours {
    margin-top: 20px;
    width: 100%;
}
.tp_main_info table.hours tr {
    border-bottom: 1px solid #555;
}
.tp_main_info table.hours tr th {
    padding: 3px 5px;
    color: #555;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.5em;
    text-align: center;
}
.tp_main_info table.hours tr td {
    padding: 3px 5px;
    color: #555;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.5em;
    vertical-align: middle;
    text-align: center;
}
.tp_main_info table.hours tr td.time {
    color: #555;
    text-align: left;
}
.tp_main_info table.hours tr td.none {
    color: #555;
}
.tp_main_info .horiday {
    margin-top: 10px;
    text-align: right;
}
@media only screen and (max-width: 767px) {
    #tp_main_bg {
        background: url(../img/tp_main_bg.png) 0 20px no-repeat;
        background-size: 50%;
    }
    #tp_main_bg h1 {
        font-size: 19px;
        letter-spacing: -2px;
        text-align: center;
    }
    #tp_main_icon .tp_main_icon1 img {
        width: 80px;
    }
    #tp_main_icon .tp_main_icon1 {
        bottom: -30px;
    }
    #tp_main_bg {
        margin-top: 0;
        padding: 50px 0 0 0;
    }
    #tp_main_bg h2 {
        font-size: 28px;
    }
    .tp_main_img {
        background-size: 35%;
        background-position: right 20px;
    }
    .tp_main_info {
        margin-top: 30px;
        padding: 30px 30px 30px 30px;
        margin-right: 0;
        border-radius: 10px;
    }
    .tp_main_info .tel {
        font-size: 30px;
        text-align: center;
    }
    .tp_main_info .address {
        margin-top: 10px;
        text-align: center;
    }
    .tp_main_info table.hours {
        margin-top: 20px;
        width: 100%;
    }
    .tp_main_info table.hours tr th {
        padding: 3px 5px;
        font-size: 13px;
    }
    .tp_main_info table.hours tr td {
        padding: 3px 5px;
        font-size: 13px;
    }
    .tp_main_info .horiday {
        font-size: 13px;
    }
}



/* 診療案内
================================================== */
#tp_informaiton_bg {
    margin-top: 100px;
    padding: 80px 0 100px 0;
    background:
        url(../img/bird_bg.png) right 5% top 20px no-repeat,
        url(../img/dot1.png) 0 0 repeat,
        #a0d9f4;
}
#tp_informaiton_bg .btn {
    text-align: center;
    position: relative;
    z-index: 1;
}
.photo_fix {
    margin-top: -30px;
    position: relative;
    z-index: 0;
}
@media only screen and (max-width: 767px) {
    #tp_informaiton_bg {
        margin-top: 80px;
        background:
           url(../img/bird_bg.png) no-repeat right 5% top 20px / 40%,
            url(../img/dot1.png) 0 0 repeat,
           #a0d9f4;
    }
}



/* 連携
================================================== */
#tp_alignment_bg {
    padding: 100px 0;
}
#tp_alignment_bg .lead {
    color: #ff966b;
    font-size: 38px;
    text-align: center;
}
@media only screen and (max-width: 767px) {
    #tp_alignment_bg {
        padding: 50px 0;
    }
    #tp_alignment_bg .lead {
        font-size: 20px;
    }
}



/* お知らせ
================================================== */
#tp_news_bg {
    padding: 100px 0;
    background:
        url(../img/flower_bg.png) left 5% bottom 20px no-repeat,
        url(../img/dot1.png) 0 0 repeat,
        #d9f1dc;
}
#tp_news_bg h2 {
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
}
@media only screen and (max-width: 767px) {
    #tp_news_bg h2 {
        font-size: 20px;
    }
}

#tp_news {
    padding: 50px;
    background: #fff;
    border-radius: 10px;
    box-sizing: border-box;
}
.tp_news_wrap {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #ccc;
}
.tp_news_wrap.bb_none {
    border-bottom: none;
}
a:hover .tp_news_wrap {
    background: #f0f0f0;
}
.tp_news_wrap .cat {
    width: 14%;
    padding: 3px 0;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    background: #666;
    border-radius: 20px;
}
.tp_news_wrap .date {
    width: calc(14% - 20px);
    margin-left: 20px;
    font-weight: bold;
}
.tp_news_wrap .title {
    width: 72%;
    font-weight: bold;
}
@media only screen and (max-width: 767px) {
    #tp_news_bg {
        padding: 50px 0;
    }
    #tp_news {
        padding: 20px;
    }
    .tp_news_wrap {
        display: block;
        padding: 10px;
    }
    .tp_news_wrap .cat {
        width: 100%;
    }
    .tp_news_wrap .date {
        width: 100%;
        margin-left: 0;
    }
    .tp_news_wrap .title {
        width: 100%;
    }
}


/* アクセス
================================================== */
#tp_access_bg {
    padding: 100px 0;
    background: url(../img/dot_bg.png) 0 0 repeat;
}
@media only screen and (max-width: 767px) {
    #tp_access_bg {
        padding: 50px 0;
    }
}
