@charset "utf-8";

*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

/* ////////////////////////////////////////////
 *                 base & layout
 * //////////////////////////////////////////// */
html {
    overflow: auto;
}

/* Typography
------------------------------------------*/
body {
    font-size: 15px;
    line-height: 1.6;
    font-family: "Avenir", "Open Sans", "Helvetica Neue", "Helvetica", "Arial", "Verdana", "Roboto", "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    /*font-family: "メイリオ" ,"Meiryo", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;*/
    color: #413c3c;
    background-color: #fffff9;
}

@media screen and (max-width : 768px) {
    body {
        font-size: 13px;
    }
}

a {
    color: #413c3c;
    text-decoration: none;
}

a:hover,
a:focus {
    color: #413c3c;
    text-decoration: underline;
}

a,
a:hover {
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}

/* Layout
------------------------------------------*/
body {

    min-width: 1120px;
    overflow: hidden;
    text-align: center;
}

@media screen and (max-width : 768px) {
    body {
        min-width: initial;
        min-width: auto;
    }
}

/*---------------------------------------------------------------------
header
---------------------------------------------------------------------*/
#header {
    width: 100%;
    text-align: center;
    border-top: 5px solid #8bdbb8;

}

#header-inner {
    width: 1000px;
    height: 240px;
    margin: 0px auto;
    position: relative;
}

@media screen and (max-width : 768px) {
    #header-inner {
        width: 100%;
        height: auto;
        margin: 0px 0;
        position: relative;
    }
}

#header-description {
    position: absolute;
    left: 0;
    top: 10px;
    font-size: 12px;
    margin: 0;
    padding: 0;
}

@media screen and (max-width : 768px) {
    #header-description {
        position: relative;
        top: 5px;
        font-size: 10px;
    }
}

#header-logo {
    width: 100%;
    position: absolute;
    left: 0;
    top: 38px;
    tetx-align: center;
}

@media screen and (max-width : 768px) {
    #header-logo {
        width: 100%;
        position: relative;
        padding: 10px 0;
        top: 0;
        left: 0;
        tetx-align: center;
    }
}

#header-logo img {
    width: 240px;
}

@media screen and (max-width : 768px) {
    #header-logo img {
        width: 180px;
    }
}

#gnav {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 10px;
}

@media screen and (max-width : 768px) {
    #gnav {
        width: 100%;
        position: relative;
        left: 0;
        bottom: 0px;
    }
}

@media screen and (max-width : 599px) {
    #gnav {
        width: 100%;
        z-index: 9999;
    }
}

#gnav ul {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
}

@media screen and (max-width : 768px) {
    #gnav ul {
        -webkit-justify-content: space-between;
        justify-content: space-between;
    }
}

@media screen and (max-width : 599px) {
    #gnav ul {}
}

#gnav ul li {
    margin: 0 20px;
    font-size: 16px;
    letter-spacing: 0.2em;
}

@media screen and (max-width : 768px) {
    #gnav ul li {
        margin: 0 0px;
    }
}

@media screen and (max-width : 599px) {
    #gnav ul li {
        border-right: 1px solid #efefef;
    }
}

#gnav ul li img {
    width: 120px;
}

#gnav ul li:nth-of-type(3) {
    margin-left: auto;
}

#gnav ul li:nth-of-type(2) a,
#gnav ul li:nth-of-type(3) a {
    margin-top: -30px;
}

@media screen and (max-width : 768px) {
    #gnav ul li:nth-of-type(3) {
        margin-left: 0;
    }

    #gnav ul li:nth-of-type(2) a,
    #gnav ul li:nth-of-type(3) a {
        margin-top: 0px;
    }
}

#gnav ul li a {
    display: block;
}

#gnav ul li a:hover {
    text-decoration: none;
}

#gnav ul li img {
    display: block;
}

.header-tel {
    position: absolute;
    right: 130px;
    top: 15px;
}

.header-contact {
    position: absolute;
    right: 0;
    bottom: 0px;
}

/*---------------------------------------------------------------------
mainvisual
---------------------------------------------------------------------*/
#mainvisual {
    position: relative;
    text-align: center;
    padding-bottom: 50px;
}

@media screen and (max-width : 768px) {
    #mainvisual {
        padding-bottom: 10px;
        margin-top: 1em;
    }
}

.mainvisual-inner {
    width: 1000px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

@media screen and (max-width : 768px) {
    .mainvisual-inner {
        width: 100%;
        height: 100%;
        position: relative;
    }
}

.mainvisual-copy {
    position: absolute;
    left: 0;
    bottom: 0;
}

.mainvisual-copy img {
    width: 330px;
}

@media screen and (max-width : 768px) {
    .mainvisual-copy {
        position: relative;
        padding: 1em 0 0 0;
        left: 0;
        bottom: 0;
        text-align: center;
    }

    .mainvisual-copy img {
        width: 220px;
    }
}

.mainvisual-tel {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 246px;
    height: 261px;
    background-image: url(../images/top/mainvisual-tel.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding-top: 20px;
    font-size: 12px;
}

.mainvisual-tel img {
    width: 186px;
}

@media screen and (max-width : 768px) {
    .mainvisual-tel {
        display: none;
    }
}

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

    .film_roll_prev,
    .film_roll_next {
        display: none !important;

    }
}

/*---------------------------------------------------------------------
main
---------------------------------------------------------------------*/
#main-inner {
    width: 1000px;
    margin: 0px auto;
    position: relative;
}

@media screen and (max-width : 768px) {
    #main-inner {
        width: 100%;
        padding: 1em;
    }
}

.main-title {
    font-size: 30px;
    letter-spacing: 0.2em;
    text-align: center;
    margin: 20px 0;
}

@media screen and (max-width : 768px) {
    .main-title {
        font-size: 24px;
        letter-spacing: 0.2em;
        text-align: center;
        margin: 1em 0;
    }
}

.main-title span {
    display: block;
    font-size: 12px;
    color: #63ceb9;
}

.main-description {
    font-size: 20px;
}

/*---------------------------------------------------------------------
診療案内
---------------------------------------------------------------------*/
.main-service {
    width: 100%;
    margin: 30px 0 60px 0;

}

@media screen and (max-width : 768px) {
    .main-service {
        width: 100%;
        padding: 0 15px 1em 15px;
        margin: 0 0 0 0;

    }
}

.main-service-list li {
    text-align: center;
    font-size: 12px;
}

.main-service-list .icon {
    display: inline-block;
    background-color: #63cdae;
    color: #fff;
    width: 160px;
    height: 160px;
    border-radius: 100%;
    position: relative;
}

@media screen and (max-width : 768px) {
    .main-service-list .icon {
        width: 100px;
        height: 100px;
    }
}

@media screen and (max-width : 599px) {
    .main-service-list .icon {
        width: 85px;
        height: 85px;
    }
}

.main-service-list li:nth-of-type(2n) .icon {
    background-color: #8bdbb8;
}

/* 2つ目の要素に200msのdelayをかける */
.main-service-list li.fadein:nth-of-type(2) {
    -moz-transition-delay: 200ms;
    -webkit-transition-delay: 200ms;
    -o-transition-delay: 200ms;
    -ms-transition-delay: 200ms;
}

.main-service-list li.fadein:nth-of-type(3) {
    -moz-transition-delay: 400ms;
    -webkit-transition-delay: 400ms;
    -o-transition-delay: 400ms;
    -ms-transition-delay: 400ms;
}

.main-service-list li.fadein:nth-of-type(4) {
    -moz-transition-delay: 600ms;
    -webkit-transition-delay: 600ms;
    -o-transition-delay: 600ms;
    -ms-transition-delay: 600ms;
}

.main-service-list li.fadein:nth-of-type(5) {
    -moz-transition-delay: 800ms;
    -webkit-transition-delay: 800ms;
    -o-transition-delay: 800ms;
    -ms-transition-delay: 800ms;
}

.main-service-list .icon span {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 5px;
    background-color: #fff;
    color: #000;
    padding: 0.3em 0;
    border-radius: 30px;
    border: 1px solid #8bdbb8;
    font-size: 18px;
}

@media screen and (max-width : 768px) {
    .main-service-list .icon span {
        position: relative;
        font-size: 14px;
        padding: 0 0;
        bottom: 0px;
        background-color: transparent;
        border: 1px solid transparent;
    }
}

.main-service-list .icon span:before {
    content: '\f138';
    font-family: 'FontAwesome';
    padding-right: 5px;
    color: #8bdbb8;
}

.main-service-list .icon img {
    width: 100px;
    padding-top: 15px;
}

@media screen and (max-width : 768px) {
    .main-service-list .icon img {
        max-width: 100%;
        padding: 10px;
    }
}

/*---------------------------------------------------------------------
おしらせ
---------------------------------------------------------------------*/
.main-news {
    width: 48%;
    float: left;

}

@media screen and (max-width : 768px) {
    .main-news {
        width: 100%;
        float: none;
        margin: 0 0 1em 0;

    }
}

.main-news-inner {
    height: 350px;
    overflow-y: scroll;
}

/*
@media screen and (max-width : 768px) {
    .main-news-inner {
        height: 250px;

    }
}

@media screen and (max-width : 599px) {
    .main-news-inner {
        height: auto;
        overflow-y: auto;

    }
}
*/

.main-news-inner::-webkit-scrollbar {
    width: 10px;
}

/*バーの太さ*/
.main-news-inner::-webkit-scrollbar-track {
    background: #dddddd;
}

/*バーの背景色*/
.main-news-inner::-webkit-scrollbar-thumb {
    background: #8bdbb8;
}

/*バーの色*/

.main-news-once {
    text-align: left;
    border-bottom: 1px dotted #ececec;
    padding: 10px;
    margin: 10px;

}

.main-news-once.news-archive {
    padding: 40px 20px;
    font-size: 17px;

}

@media screen and (max-width : 768px) {
    .main-news-once.news-archive {
        font-size: 13px;
        padding: 20px;

    }
}

.main-news-once-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.main-news-once-title .date {
    background-color: #f8e835;
    display: inline-block;
    border-radius: 20px;
    padding: 0.3em 1em;
    margin-right: 10px;
    font-size: 14px;
}

@media screen and (max-width : 768px) {
    .main-news-once-title {
        font-size: 14px;
    }

    .main-news-once-title .date {
        font-size: 11px;
    }
}

/*---------------------------------------------------------------------
ごあいさつ
---------------------------------------------------------------------*/
.main-message {
    width: 48%;
    float: right;
    text-align: left;

}

@media screen and (max-width : 768px) {
    .main-message {
        width: 100%;
        float: none;
        margin: 0 0 1em 0;

    }
}

.main-message-slide {
    width: 100%;
    background-color: #fff3ba;
    border-radius: 10px;
    padding: 10px 40px;
    position: relative;
    text-align: center;
}

.main-message-slide:before {
    content: "";
    position: absolute;
    top: 0;
    left: 10px;
    width: 10px;
    height: 100%;
    background-image: url(../images/top/main-message-slide-bg.png);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;

}

.main-message-slide:after {
    content: "";
    position: absolute;
    top: 0;
    right: 10px;
    width: 10px;
    height: 100%;
    background-image: url(../images/top/main-message-slide-bg.png);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;

}

.main-message-inner {
    padding: 10px;
}

/*---------------------------------------------------------------------
cta
---------------------------------------------------------------------*/
#cta {}

@media screen and (max-width : 768px) {
    #cta {
        margin: 1em;
    }
}

#cta-inner {
    width: 1000px;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid #63cdae;
    margin: 60px auto 0 auto;
    background-image: url(../images/common/cta-bg.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #fff;
    background-size: cover;
    position: relative;
    padding: 2em;
    border-radius: 13px;

}

@media screen and (max-width : 768px) {
    #cta-inner {
        width: 100%;
        background-image: none;
        margin: 0px auto 0 auto;
    }
}

#cta-inner:after {
    content: "";
    display: block;
    clear: both;

}

.cta-title {
    font-size: 26px;
    margin: 0 0 20px 0;
}

@media screen and (max-width : 768px) {
    .cta-title {
        font-size: 20px;
    }
}

.cta-txt {
    width: 60%;
    text-align: left;
    float: left;
    font-size: 16px;
}

@media screen and (max-width : 768px) {
    .cta-txt {
        width: 100%;
        font-size: 13px;
    }
}

.cta-tel {
    display: inline-block;
    background-color: #8bdbb8;
    font-size: 18px;
    color: #fff;
    border-radius: 20px;
    padding: 0.3em 1em;
    margin-top: 20px;
}

/*---------------------------------------------------------------------
footer
---------------------------------------------------------------------*/
#footer {
    background-color: #fff9da;
    padding: 50px 0;
    margin-top: 60px;
}

@media screen and (max-width : 768px) {
    #footer {
        padding: 2em 1em 1em 1em;
        margin-top: 1em;

    }
}

#footer-inner {
    width: 1000px;
    margin: 0px auto;
    position: relative;
}

@media screen and (max-width : 768px) {
    #footer-inner {
        width: 100%;
    }
}

#footer-menu {
    background-color: #fff;
    padding: 15px 5px;
    text-align: center;
}

@media screen and (max-width : 768px) {
    #footer-menu {
        padding: 0px 0px;
    }
}

.footer-nav li {
    display: inline-block;
    margin: 0 2em;
}

@media screen and (max-width : 768px) {
    .footer-nav li {
        display: block;
        padding: 1em;
        margin: 0 0;
        text-align: left;
        border-bottom: 1px solid #ececec;
    }
}

.footer-nav li:before {
    content: '\f138';
    font-family: 'FontAwesome';
    padding-right: 5px;
    color: #ffb946;
}

#footer-cpr {
    background-color: #8bdbb8;
    padding: 10px 5px;
    text-align: center;
    font-size: 10px;
    color: #fff;
}

@media screen and (max-width : 768px) {
    #footer-cpr {
        margin-bottom: 80px;
    }
}

#footer-inner:after {
    content: "";
    display: block;
    clear: both;
}

#footer-left {
    width: 48%;
    float: left;
    text-align: left;
}

@media screen and (max-width : 768px) {
    #footer-left {
        width: 100%;
        float: none;
    }
}

.footer-logo-area {}

@media screen and (max-width : 768px) {
    .footer-logo-area {
        text-align: center;

    }
}

.footer-logo {
    margin-bottom: 10px;
    float: left;
}

.footer-logo img {
    width: 293px;

}

@media screen and (max-width : 768px) {
    .footer-logo {
        width: 100%;
        margin-bottom: 0px;
        text-align: center;
    }
}

.footer-logo-side {
    display: inline-block;
    background-color: #63cdae;
    color: #fff;
    border-radius: 20px;
    padding: 0.3em 1em;
    margin-top: 10px;
    margin-left: 10px;
}

.footer-address {
    margin: 10px 0;
}

.footer-address-sp {
    display: none;
}

.footer-address-sp:before {
    content: '\f138';
    font-family: 'FontAwesome';
    padding-right: 5px;
    color: #ffb946;
}

.footer-address span {
    font-size: 13px;
}

@media screen and (max-width : 768px) {
    .footer-address {
        text-align: center;
    }

    .footer-address-sp {
        text-align: center;
        display: block;

    }

    .footer-address span {
        display: block;
        font-size: 11px;
    }
}

.footer-tel {
    margin: 10px 0;
    display: flex;
    align-items: center;
}

@media screen and (max-width : 768px) {
    .footer-tel {
        display: block;
    }
}

.footer-tel p:not([class]) {
    display: flex;
}


.footer-tel-img {
    float: left;
    margin: 0 10px 0 0;

}

.footer-tel-img img {
    width: 266px;

}

@media screen and (max-width : 768px) {
    .footer-tel-img {
        float: none;
        text-align: center;
        width: 100%;
        margin: 0 0 1em 0;

    }
}

.sp-footer-tel-attention {
    display: none;
    padding: 0.8em;
    margin: 10px 0;
    background-color: #fff;
    border: 1px solid #ccc;
    font-size: 11px;
}

@media screen and (max-width : 768px) {
    .sp-footer-tel-attention {
        display: block;
    }
}

.footer-time {
    font-size: 14px;
}

@media screen and (max-width : 768px) {
    .footer-time p {
        width: 50%;
        display: inline-block;
        margin: 0;
        float: left;
    }
}

.footer-time .ttl {
    background-color: #63cdae;
    display: inline-block;
    color: #fff;
    font-size: 11px;
    padding: 0.1em 1em;
    margin: 0 5px 2px 0;
}

.footer-time .ttl span {
    width;
    : 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

#footer-right {
    width: 48%;
    float: right;
    position: relative;
    z-index: 1;
}

@media screen and (max-width : 768px) {
    #footer-right {
        display: none;
        width: 100%;
        float: none;
    }

    #home #footer-right {
        display: block;
    }
}

#map_canvas {
    width: 100%;
    height: 350px;
    position: relative;
    z-index: 1;
}

.map-more {
    display: inline-block;
    width: 80px;
    height: 80px;
    padding-top: 10px;
    background-color: #ffb946;
    color: #fff;
    line-height: 1.2;
    border-radius: 80px;
    position: absolute;
    right: 0;
    top: -10px;
    z-index: 2;
    font-size: 12px;
}

.map-more i {
    font-size: 30px;

}

.map-more:hover {
    text-decoration: none;
    color: #fff;
    background-color: #ffa20a;

}

.schedule {
    width: 100%;
    border-top: 1px solid #63cdae;
    border-right: 1px solid #63cdae;
}

.schedule th {
    width: 12%;
}

.schedule th.time {
    width: 16%;
}

@media screen and (min-width: 900px) {

    .schedule .mini {
        font-size: 12px;
    }
}

.schedule th {
    padding: 1em;
    border-left: 1px solid #63cdae;
    border-bottom: 1px solid #63cdae;
    text-align: center;
    background-color: #8bdbb8;
}

.schedule td {
    padding: 1em 0;
    border-left: 1px solid #63cdae;
    border-bottom: 1px solid #63cdae;
    text-align: center;
    background-color: #fff;
}

@media screen and (max-width : 768px) {
    .schedule {
        margin-bottom: 1em;
    }

    .schedule th,
    .schedule td {
        padding: 0.2em;
        margin-bottom: 1em;
    }
}

.schedule td i {
    font-size: 20px;

}


/*---------------------------------------------------------------------
スマホ　電話をかける
---------------------------------------------------------------------*/
#sp-call {
    display: none;
}

@media screen and (max-width : 1024px) {
    #sp-call {
        width: 100%;
        display: block;
        text-align: center;
        position: fixed;
        bottom: 10px;
        z-index: 9999;
    }
}

#sp-call a {
    display: inline-block;
    position: relative;
    padding: 0.3em 1em 0.3em 1em;
    background-color: #ffb946;
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: #fff;
    border-radius: 40px;
    font-size: 18px;
}

#sp-call a:hover {
    text-decoration: none;
}

#sp-call a:before {
    content: '\f2a0';
    font-family: 'FontAwesome';
    font-size: 20px;
    margin-right: 10px;
}

/*---------------------------------------------------------------------
pagenation
---------------------------------------------------------------------*/
.pagenation {
    text-align: center;
    padding-top: 10px;
}

.pagenation-inner {
    font-size: 17px;
}

.pagenation-inner:after {
    clear: both;
    content: "";
    display: block;
}

.pagenation-inner a {
    color: #ffb946;

}

.pagenation-inner a:hover {
    text-decoration: underline;

}

.pagenation-inner .left {
    width: 50%;
    text-align: center;
    padding: 0 1em;

}

.pagenation-inner .left:before {
    content: '\f100';
    font-family: 'FontAwesome';
    padding-right: 0.5em;

}

.pagenation-inner .right {
    width: 50%;
    text-align: center;
    padding: 0 1em;

}

.pagenation-inner .right:after {
    content: '\f101';
    font-family: 'FontAwesome';
    padding-left: 0.5em;

}

@media screen and (max-width : 768px) {
    .pagenation-inner a {
        color: #413c3c;

    }

    .pagenation-inner {
        font-size: 13px;
    }

    .pagenation-inner a:hover {
        text-decoration: none;

    }

    .pagenation-inner {
        width: 100%;
    }

    .pagenation-inner .left {}

    .pagenation-inner .left,
    .pagenation-inner .right {
        padding: 0.6em 1em;
        text-align: center;
        border: 1px solid #ccc;
        background-color: #fff;

    }
}

/*---------------------------------------------------------------------
pageTop
---------------------------------------------------------------------*/


#pageTop {
    position: fixed;
    bottom: 40px;
    right: 20px;
    z-index: 99999;
}

@media screen and (max-width: 768px) {
    #pageTop {
        display: none;
    }
}

#pageTop a {
    display: block;
    z-index: 999;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background-color: rgba(255, 185, 70, 0.8);
    /*background-color: rgba(0,26,113,0.95);*/
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    font-size: 18px;
}

#pageTop a:hover {
    text-decoration: none;
    background-color: rgba(255, 185, 70, 0.5);
}