@charset "utf-8";

/*body-------------------*/

body {
    font-family:
        'Oswald', 'Noto Sans JP',
        "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    color: #333;
}

.wrapper {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    background-color: #fff;
}

p {
    font-size: 0.9em;
    text-align: justify;
    margin-bottom: 15px;
    line-height: 1.8em;
    font-weight: 400;
}

#greeting .author_doc a {
    text-decoration: underline;
    color: #FF7700;
}

a {
    text-decoration: none;
    color: #fff;
}

.b {
    color: #FF7700;
    background-color: darkgoldenrod;
}

.orange {
    color: #FF7700;
}

/*firstview-------------------*/

.fv_area {
    height: 100vh;
    margin: 0 20px;
    box-sizing: border-box;
    position: relative;
}

/* Safari用のハックは、Chromeに適用されないようにする */
@supports (-webkit-touch-callout: none) {
    .fv_area {
        /* Safari用のハック */
        height: -webkit-fill-available;
    }
}

.fv_area .first_image {
    height: calc(var(--vh, 1vh) * 100 - 84px / 5 * 3);
    text-align: center;
    padding-top: calc(100vh / 12 * 2);
}

/*grobal_nav--------------------*/

.h_nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 72px;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 777;
}

h1 {
    font-size: 11px;
    color: #ff7700;
    position: fixed;
    top: 15px;
    left: 20px;
    z-index: 888;
}

.logo {
    position: fixed;
    top: 35px;
    left: 20px;
    z-index: 888;
}

.nav {
    position: fixed;
    top: 0;
    height: 100vh;
    width: 100%;
    left: -100%;
    background: rgba(255, 119, 0, .95);
    -webkit-transition: 0.8s;
    transition: 0.8s;
    z-index: 999;
}

.nav .nav_h1 {
    font-size: 11px;
    color: #fff;
    position: absolute;
    top: 15px;
    left: 20px;
}

.nav img {
    margin-top: 35px;
    margin-left: 20px;
}

ul {
    margin: 25px 30px;
    padding: 0;
}

ul img {
    margin-bottom: 30px;
}

li {
    height: 2.2em;
    line-height: 2.2em;
    list-style-type: none;
    font-size: 1.2em;
    letter-spacing: 0.05em;
    text-align: left;
}

.nav a {
    display: block;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

/*hamburger_menu--------------------*/

#target {
    width: 30px;
    height: 15px;
    position: fixed;
    top: 18px;
    right: 20px;
    cursor: pointer;
    display: block;
    -webkit-transition: 0.8s;
    transition: 0.8s;
    z-index: 999;
}

.target_inner {
    width: 30px;
    height: 15px;
    position: relative;
}

.target_inner_line {
    display: block;
    width: 30px;
    height: 3px;
    background: #FF7700;
    -webkit-transition: 0.8s;
    transition: 0.8s;
    position: absolute;
}

.target_inner_1 {
    top: 0;
}

.target_inner_2 {
    top: 8px;
}

.target_inner_3 {
    top: 16px;
}

.target_inner span:nth-of-type(3)::after {
    content: "Menu";
    /*3つ目の要素のafterにMenu表示を指定*/
    position: absolute;
    top: 5px;
    left: 1px;
    color: #ff7700;
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* hamburger_menu_moving --------------------*/

.fadein {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
}

.linea,
.lineb,
.linec {
    background: #ffffff;
}

.linea {
    -webkit-transform: rotate(225deg);
    transform: rotate(225deg);
    top: 13px;
}

.lineb {
    opacity: 0;
}

.linec {
    -webkit-transform: rotate(-225deg);
    transform: rotate(-225deg);
    top: 13px;
}

.linec::after {
    display: none;
}


/*news--------------------*/

.news {
    position: absolute;
    bottom: 84px;
    left: 0;
    width: 99%;
    padding: 30px;
    border-top: 1px solid #CCC;
    box-sizing: border-box;
}

.news_cate {
    font-size: 0.9em;
    color: #FF7700;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 10px;
}

.news_cate img {
    display: inline-block;
    float: left;
    margin-right: 10px;
}

.news_date {
    font-size: 12px;
    color: #CCCCCC;
    text-align: right;
    float: right;
    display: inline-block;
    margin-bottom: 10px;
}

.news_text {
    clear: both;
    text-align: justify;
    width: auto;
    font-size: 0.9em;
    line-height: 1.5em;
}


.news mark {
    font-size: 0.75em;
}

/*bottom fixed button--------------------*/

.b_b {
    width: 100%;
    height: 84px;
    background: #FF7700;
    position: fixed;
    bottom: 0;
    z-index: 999;
    white-space: nowrap;
}

.b_b_area {
    width: 100%;
    max-width: 768px;
    margin: 0 auto;
}

.b_b_a_box {
    display: inline-block;
    width: calc(100% / 3);
    height: 84px;
    box-sizing: border-box;
    text-align: center;
    padding: 15px;
}

.b_b_a_box p {
    font-size: 0.9em;
    font-weight: 500;
    text-align: center;
    margin-bottom: 0;
    line-height: 0;
    margin-top: 10px;
}

/*section--------------------*/

section {
    padding: 20px;
}

h2 {
    font-size: 1.5em;
    font-weight: 700;
    color: #FF7700;
    text-align: center;
    letter-spacing: 0.05em;
    margin-top: 90px;
    margin-bottom: 60px;
}

h3 {
    font-size: 1.2em;
    font-weight: 700;
    color: #FF7700;
    text-align: center;
    margin-bottom: 20px;
}

#disease h3 {
    width: 100%;
    height: 45px;
    line-height: 45px;
    background-color: #EEEEEE;
    border-radius: 100px;
    font-size: 1em;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 8px;
}

.nado {
    font-size: 1em;
    font-weight: bold;
    color: #333;
    text-align: right;
    margin-bottom: 40px;
}

/*こんな悩みはありませんか？*/

.fst_dis_box {
    width: 100%;
    box-sizing: border-box;
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 10px;
}

.fst_dis_box img {
    margin-top: 20px;
}

.fst_mini {
    display: inline;
    font-size: 0.75em;
}

.fst_com_box {
    text-align: center;
    margin-bottom: 40px;
}

.fst_com_box img {
    margin-bottom: 10px;
}

/*ごあいさつ*/

#greeting {
    background-color: #FFE7D2;
    padding-bottom: 50px;
    font-size: 1em;
}

#greeting img {
    text-align: center;
    border-radius: 15px;
    margin-bottom: 40px;
}

#greeting p {
    line-height: 2.2em;
    margin-bottom: 20px;
}

#greeting .author {
    text-align: right;
    font-weight: 700;
    margin-top: 30px;
    font-size: 1em;
    letter-spacing: 0.1em;
    color: #FF7700;
}

#greeting .author_doc {
    text-align: right;
    font-size: 0.8em;
    line-height: 1.6em;
}

/*対応疾患*/

/*診療の流れ*/

.flow_box {
    margin-bottom: 30px;
}

.flow_x {
    width: 100%;
    height: 40px;
    border-radius: 100px;
    background-color: #FFE7D2;
    box-sizing: border-box;
    margin-bottom: 15px;
}

.flow_n {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 100px;
    background-color: #FF7700;
    line-height: 40px;
    text-align: center;
    font-size: 1em;
    font-family: 'Oswald';
    font-weight: 400;
    color: #FFF;
    margin-right: 10px;
}

.flow_t {
    display: inline-block;
    font-size: 1em;
    height: 40px;
    line-height: 40px;
    font-weight: 700;
}

.floe_box b {
    font-size: 0.8em
}

/*診療時間*/

table.date {
    width: 100%;
    margin-bottom: 30px;
    font-weight: 500;
}

table.date td {
    margin: 10px;
    padding: 5px;
    height: 3em;
    text-align: center;
    box-sizing: border-box;
}

.d_top {
    border-bottom: 2px solid #FF7700;

}

.d_bottom {
    font-family: 'Oswald';
    font-weight: 400;
    border-bottom: 1px solid #333;
}

table.date_text {
    width: 100%;
    margin-bottom: 30px;
    font-size: 0.9em;
}

.date_text th {
    vertical-align: top;
    padding: 5px 0;
    color: #FF7700;
    width: 40px;
}

.date_text td {
    padding: 2px 0;
    height: 1em;
    box-sizing: border-box;
    padding-left: 10px;
}

/*アクセス*/

.train {
    color: #FF7700;
    position: relative;
}

.train p {
    font-size: 1em;
    font-weight: 700;
    line-height: 1.5em;
    position: absolute;
    top: 7px;
    left: 70px;
}

.train img {
    float: left;
    margin-bottom: 15px;
}

address {
    clear: both;
    font-size: 0.9em;
}

iframe {
    margin-top: 20px;
    margin-bottom: 10px;
}

.mini {
    font-size: 0.8em;
    margin-bottom: 80px;
}

h5 {
    height: 50px;
    border-radius: 100px;
    text-align: center;
    line-height: 50px;
    color: #FF7700;
    font-size: 1em;
    font-weight: bold;
    background-color: #FFE7D2;
}

.way_box {
    width: 100%;
    padding: 20px 10px;
    box-sizing: border-box;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.way_n {
    display: inline-block;
    color: #FF7700;
}

.arrow {
    display: block;
    margin: 0 auto;
    margin-top: 10px;
    padding-bottom: 10px;
}

.arrow:last-child {
    margin-bottom: 0;
}

/*院内の様子*/

.int_photo {
    margin-bottom: 90px;
}

.int_photo p {
    font-size: 0.8em;
    margin-top: 15px;
    margin-bottom: 5px;
}

/*footer--------------------*/

footer {
    background-color: #FFE7D2;
    margin-top: 30px;
    padding-bottom: 110px;

}

footer img.footer_logo {
    display: block;
    margin: 0 auto;
    padding-top: 70px;
    padding-bottom: 50px;
}

table.ftr_data {
    width: 100%;
    font-size: 0.9em;
    box-sizing: border-box;
    table-layout: fixed;
}

.ftr_data th,
.ftr_data td {
    vertical-align: top;
    padding: 10px 20px 10px 20px;
    height: 3em;
    box-sizing: border-box;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

.ftr_data th {
    vertical-align: top;
    font-weight: bold;
    color: #FF7700;
    width: 70px;
}


small {
    display: block;
    text-align: center;
    font-size: 0.5em;
    margin-top: 25px;
    color: #FF7700;
}


/*#informatin おしらせページ--------------------*/
.info {
    width: auto;
    height: 90px;
    padding: 20px;
    border-top: 1px solid #CCC;
}

.info_cate {
    font-size: 0.9em;
    color: #FF7700;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 10px;
}

.info_cate img {
    display: inline-block;
    float: left;
    margin-right: 10px;
}

.info_date {
    font-size: 12px;
    color: #CCCCCC;
    text-align: right;
    float: right;
    display: inline-block;
    margin-bottom: 10px;
}

.info_text {
    clear: both;
    text-align: justify;
    font-size: 0.9em;
    color: #333;
    line-height: 1.5em;
}

.info_tab {
    padding: 20px;
}

a.page-numbers {
    color: #ff7700;
}

span.page-numbers.current {
    color: #333;
}



@media screen and (min-width: 768px) {

    .fst_2 {
        max-width: 980px;
        margin: 0 auto;
    }

    .fst_com_box,
    .feature_box,
    .greeting_box,
    .disease_box,
    .flow_box,
    .opentime_box,
    .access_box,
    .interior_box {
        max-width: 768px;
        margin: 0 auto;
    }

    .fst_dis_box {
        display: inline-block;
        width: 49%;
    }

    .fst_com_box h3 {
        float: right;
        width: 47%;
        text-align: left;
    }

    .fst_com_box img {
        float: left;
        width: 50%;
    }

    .fst_com_box {
        margin-bottom: 50px;
    }

    .fst_com_box p {
        float: right;
        width: 47%;
    }

    .way_box_in p {
        width: 47%;
        float: left;
    }

    .way_box_in img {
        width: 50%;
        float: right;
    }

    .arrow {
        clear: both;
    }
}
