@charset "utf-8";
/*
Theme Name: WP-Design Clinic
Theme URI:  https://wp-design.jp/
Description: クリニック向けテーマ
Author: Web Design CROSSROAD
Author URI: http://www.wdcro.com/
*/

/* Reset Styles */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-style: normal;
    font-weight: normal;
    font-size: 100%;
    vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}
html {
    overflow-y: scroll;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
    content: '';
    content: none;
}
input, textarea {
    margin: 0;
    padding: 0;
}
ol, ul {
    list-style: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
caption, th {
    text-align: left;
}
a:focus {
    outline: none;
}
.clearfix::after {
    content: "";
    display: block;
    clear: both;
}
.clear {
    clear: both;
}

/* Base Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", YuGothic, "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
    margin: 0 auto;
    text-align: center;
}
a {
    color: #0BA2BC;
    transition: 0.3s ease-in-out;
}
a:hover {
    color: #D43214;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}
figcaption {
    font-size: 0.8rem;
    color: #5F5F5F;
    text-align: center;
    line-height: 1.2rem;
}
a, a img {
    transition: 0.3s ease-in-out;
}
iframe {
    max-width: 100%;
}
.nowrap {
    white-space: nowrap;
}

/* Header */
header {
    width: 100%;
}

/* Top Menu Navigation */
nav#topMenu {
    width: 100%;
    height: 80px;
    position: relative;
    z-index: 9999;
}
#topMenu.fixed {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}
.drawer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
    height: 80px;
    padding: 0 1em;
}
#logo {
    width: 400px;
}
#logo a {
    text-decoration: none;
    font-weight: bold;
    color: #FFFFFF;
    font-size: 1.8rem;
}
@media screen and (max-width: 1200px) and (min-width: 800px) {
    #logo {
        width: 300px;
    }
}
@media screen and (max-width: 800px) {
    #logo {
        max-width: 70%;
    }
}
.navbar_toggle {
    z-index: 9999;
}
.navbar_toggle_icon {
    position: relative;
    display: block;
    height: 2px;
    width: 30px;
    background: #FFFFFF;
    transition: ease 0.5s;
}
.navbar_toggle_icon:nth-child(1) {
    top: 0;
}
.navbar_toggle_icon:nth-child(2) {
    margin: 8px 0;
}
.navbar_toggle_icon:nth-child(3) {
    top: 0;
}
.menu.open {
    transform: translateX(0);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.navbar_toggle.open .navbar_toggle_icon:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
}
.navbar_toggle.open .navbar_toggle_icon:nth-child(2) {
    transform: translateY(-50%);
    opacity: 0;
}
.navbar_toggle.open .navbar_toggle_icon:nth-child(3) {
    top: -10px;
    transform: rotate(-45deg);
}
.menu {
    transform: translateX(-100%);
    transition: ease 0.5s;
    z-index: 1000;
}
.menu ul li {
    border-top: 1px solid #FFFFFF;
}
.menu ul li a {
    padding: 2em;
    display: block;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 0.9rem;
}
@media screen and (min-width: 970px) {
    nav#topMenu {
        display: flex;
        flex-direction: row;
    }
    .navbar_toggle {
        display: none;
    }
    .menu {
        width: 100%;
        transform: translateX(0);
    }
    .menu ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        align-items: center;
    }
    .menu ul li {
        border-top: none;
        padding: 0;
    }
    .menu ul li a {
        padding: 0 2em;
        display: table-cell;
        height: 80px;
        vertical-align: middle;
        border-left: 1px solid #F3F3F3;
        color: #FFFFFF;
    }
    .menu ul li a:hover {
        text-decoration: none;
        color: #FFFFFF;
    }
    @media screen and (max-width: 1280px) and (min-width: 970px) {
        .menu ul li a {
            padding: 0 1em;
        }
    }
}

/* Breadcrumb */
#breadcrumbWrap {
    width: 100%;
    clear: both;
    padding-top: 20px;
}
.breadcrumbs {
    width: 1000px;
    margin: 0 auto;
    text-align: left;
    padding: 3px 0;
    font-size: 0.7em;
    color: #454545;
}
@media only screen and (max-width: 1000px) {
    .breadcrumbs {
        width: 96%;
        padding: 3px 2%;
    }
}
.breadcrumbs ul li {
    display: inline;
    margin: 0 7px 0 0;
}
.breadcrumbs a {
    color: #454545;
}
.breadcrumbs a:hover {
    color: #F76D10;
}

/* Main Content */
#wrap {
    width: 100%;
    line-height: 1.8;
}
.top-image {
    background-size: cover;
    background-position: center;
    height: 500px;
    display: table;
    width: 100%;
}
.top-image div {
    display: table-cell;
    vertical-align: middle;
}
.top-image div p {
    font-size: 2rem;
    color: #FFFFFF;
    font-weight: bold;
    display: inline-block;
    text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
    padding: 0.3em 1em;
}

/* Article */
article {
    width: 96%;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    padding: 1px 0 50px 0;
}
@media only screen and (max-width: 1000px) {
    article {
        width: 100%;
    }
}
h1 {
    font-size: 2.4em;
    margin: 60px 3%;
    font-weight: bold;
}
@media only screen and (max-width: 1000px) {
    h1 {
        margin: 30px 3%;
        font-size: 1.6em;
    }
}
@media only screen and (max-width: 620px) {
    h1 {
        font-size: 1.4em;
    }
}
.post {
    padding: 0px 3%;
}
.post h1 {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
h2 {
    font-size: 1.8em;
    margin: 30px auto;
    clear: both;
    color: #FFFFFF;
    padding: 0 0.5em;
}
@media only screen and (max-width: 620px) {
    h2 {
        font-size: 1.4em;
    }
}
h2.homeh2 {
    margin: 30px 3%;
}
.post h3 {
    font-size: 1.6em;
    margin: 20px 0;
    font-weight: bold;
}
@media only screen and (max-width: 620px) {
    .post h3 {
        font-size: 1.2em;
    }
}
.post h4 {
    font-size: 1.4em;
    line-height: 1.2;
    margin: 30px 0;
    padding: 0 0.7em;
    font-weight: bold;
}
@media only screen and (max-width: 620px) {
    .post h4 {
        font-size: 1.2em;
    }
}
.post h5 {
    font-size: 1.4em;
    margin: 20px 0;
    font-weight: bold;
}
@media only screen and (max-width: 620px) {
    .post h5 {
        font-size: 1.2em;
    }
}
.post h6 {
    font-size: 1.2em;
    margin: 20px 0;
    font-weight: bold;
}
@media only screen and (max-width: 620px) {
    .post h6 {
        font-size: 1em;
    }
}
.post p {
    margin: 30px auto;
}
.postExcerpt {
    padding: 12px 0;
    clear: both;
}
.postDate {
    font-size: 0.9em;
    font-style: italic;
    float: right;
    color: #96875D;
}
@media only screen and (max-width: 620px) {
    .postDate {
        font-size: 1.1em;
    }
}
.post-categories {
    float: left;
    font-size: 0.9rem;
}
.single .postDate, .single .post-categories {
    float: none;
    text-align: right;
}
.post-categories span {
    padding: 5px 10px;
}
.post-categories span a {
    text-decoration: none;
    color: #FFFFFF;
    margin-right: 3px;
}

/* Lists */
article .post ul {
    margin: 0 0 30px 0;
}
article .post ul li {
    list-style-type: square;
    margin: 0.5em 0 0.5em 2em;
}
@media only screen and (max-width: 700px) {
    article .post ul {
        margin: 0 0 10px 0;
    }
}
article .post ol {
    margin: 0 0 30px 0;
}
article .post ol li {
    list-style-type: decimal;
    margin: 0.5em 0;
}
@media only screen and (max-width: 700px) {
    article .post ol {
        margin: 0 0 10px 0;
    }
    article .post ol li {
        margin: 0.5em;
    }
}

/* Tables */
.post table {
    margin: 0 0 30px 0;
    width: 100%;
}
.post table td {
    padding: 10px 20px;
    border: 1px solid #575757;
}
.post table td:nth-child(1) {
    font-weight: bold;
    background: #EFEFEF;
}
.post .hours table td {
	border: 3px solid #FFFFFF;
	padding: 0 10px;
	text-align: center;
}
.post .hours table tr:nth-child(1) td {
	color: #FFFFFF;
	font-weight: bold;
	padding: 10px;
}
.post .hours table tr:nth-child(1) td:nth-child(1) {
	background: #FFFFFF;
}
.post .hours table tr:not(:first-child) td:not(:first-child) {
	font-size: 2em;
}
/* Forms */
table.formTable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 8px;
    border: none;
}
table.formTable td:nth-child(1) {
    white-space: nowrap;
    text-align: right;
    vertical-align: top;
    background: #F1F1F1;
}
table.formTable textarea, table.formTable input {
    padding: 0.3em;
    font-family: inherit;
}
.wpcf7-list-item {
    display: block !important;
    margin-left: 1.5em;
    text-indent: -1em;
}
table.formTable br.address {
    display: block;
    content: "";
    margin: 5px 0;
}
@media only screen and (max-width: 1000px) {
    table.formTable td:nth-child(1) {
        white-space: normal;
        text-align: left;
    }
}
@media only screen and (max-width: 620px) {
    table.formTable td {
        display: block;
        text-align: left;
    }
    table.formTable td textarea {
        width: 100%;
    }
}
.hissu {
    font-size: 0.8em;
    padding: 3px 10px 4px 10px;
    margin: 0 0 0 1em;
    color: #FFF;
    background: #B51E21;
    border-radius: 5px;
    white-space: nowrap;
}
.wpcf7 span.wpcf7-not-valid-tip {
    font-size: 0.8em;
    font-weight: bold;
    color: #C00;
}
.wpcf7 .wpcf7-not-valid {
    background-color: #FDC3C3;
}
.wpcf7-submit {
    font-size: 1.2em;
    min-width: 100%;
    padding: 12px;
    background: #FFDE1F;
    color: #000000;
}
.wpcf7 form .wpcf7-response-output {
    margin: 2em 0.5em 1em;
    padding: 10px 20px !important;
    border: none !important;
}
.wpcf7 form.init .wpcf7-response-output {
    display: none;
}
.wpcf7 form.sent .wpcf7-response-output {
    background: #46b450; /* Green */
    color: #FFFFFF;
}
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    background: #E50D0D;
    color: #FFFFFF;
}

/* Pagination */
.pagination {
    text-align: center;
    clear: both;
    padding: 20px 0;
    position: relative;
    font-size: 0.9em;
    background: none;
    margin: 10px 0 20px;
    vertical-align: middle;
}
.pagination span, .pagination a {
    display: inline-block;
    margin: 2px 2px 2px 0;
    padding: 5px 10px;
    text-decoration: none;
    width: auto;
    color: #FFF;
    background: #444;
}
.pagination a:hover {
    color: #FFF;
    background: #C00;
}
.pagination .current {
    background: #666;
    color: #FFF;
}

/* Catch Section */
.catch {
    margin: 0 3%;
    padding: 20px 0;
    border-bottom: 1px dotted #AEAEAE;
}
.catch .catch-left {
    float: left;
    width: 30%;
}
@media only screen and (max-width: 620px) {
    .catch .catch-left {
        width: 100%;
    }
    .catch .catch-left img {
        width: 100%;
    }
}
.catch .catch-right {
    float: right;
    width: 65%;
}
@media only screen and (max-width: 620px) {
    .catch .catch-right {
        width: 100%;
    }
}
.catch h2, .catch h3 {
    margin: 0 auto 10px auto;
    padding: 0;
    text-align: left;
    font-size: 1.4rem;
    background: #FFFFFF;
}
@media only screen and (max-width: 620px) {
    .catch h2, .catch h3 {
        font-size: 1.2rem;
        margin-top: 15px;
    }
}
.catch p {
    margin: 0;
}
.catch .blog-date {
    padding: 0;
    font-weight: bold;
    margin: 0;
    text-align: right;
}
.catch p.no-image {
    width: 100%;
}
@media only screen and (max-width: 620px) {
    .catch p {
        width: 100%;
        float: none;
    }
}

/* Footer */
footer {
    width: 100%;
    clear: both;
}
#footerWrap {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    clear: both;
    padding: 80px 0;
}
@media only screen and (max-width: 1060px) {
    #footerWrap {
        width: 94%;
        margin: 0 3%;
    }
}
#footerWrap1 {
    width: 25%;
    float: left;
    text-align: left;
}
#footerWrap1 ul li {
    margin-bottom: 0.5em;
}
#footerWrap1 ul li a {
    color: #FFFFFF;
    padding: 7px 1em;
    text-decoration: none;
    white-space: nowrap;
}
#footerWrap1 ul li a:hover {
    text-decoration: underline;
}
#footerWrap2 {
    width: 35%;
    margin-left: 2.5%;
    float: left;
    text-align: left;
}
#footerWrap3 {
    width: 35%;
    margin-left: 2.5%;
    float: left;
    text-align: left;
}
#footerWrap1 h3, #footerWrap2 h3, #footerWrap3 h3 {
    font-size: 1.4rem;
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 0.7em;
}
#footerWrap2 p {
    color: #FFFFFF;
    font-size: 0.9em;
    padding: 15px 0;
}
#footerWrap p.credit {
    margin: 30px 0;
    padding: 30px 15px;
    font-size: 0.8em;
    color: #FFFFFF;
}
#footerWrap p a {
    color: #FFFFFF;
}
@media only screen and (max-width: 800px) {
    #footerWrap1, #footerWrap2, #footerWrap3 {
        width: 97%;
        margin-bottom: 30px;
        margin-left: 3%;
    }
}
.snsarea {
    clear: both;
    padding-top: 30px;
}
.snsarea img {
    margin: 0 7px;
}

/* Bottom Menu */
#bottomMenu {
    width: 100%;
    position: fixed;
    bottom: 0;
    z-index: 99;
    background: rgba(0, 0, 0, 0.60);
}
#bottomMenu nav {
    max-width: 1000px;
    margin: 0 auto;
}
@media only screen and (max-width: 1010px) {
    #bottomMenu nav {
        margin: 0 1%;
    }
}
#bottomMenu ul li {
    display: inline;
}
#bottomMenu ul li a {
    box-sizing: border-box;
    float: left;
    margin: 10px 0;
    height: 60px;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    line-height: 60px;
}
#bottomMenu ul li a span {
    font-size: 1.2em;
    margin-right: 0.2em;
    vertical-align: middle;
}
.bottomMenuTel a {
    width: 49%;
    font-size: 2rem;
    border: 1px solid #FFFFFF;
    display: block;
}
.bottomMenuInquiry a {
    width: 49%;
    font-size: 1.6rem;
    border: 1px solid #FFFFFF;
    display: block;
    margin-left: 2% !important;
}
@media only screen and (max-width: 800px) {
    .bottomMenuTel a {
        font-size: 1.2rem;
    }
    .bottomMenuInquiry a {
        font-size: 1.2rem;
    }
}
