/*
Theme Name: ginza-akademia-clinic
*/

body {
    font-family: 'Noto Serif JP', serif;
    position: relative;
}

header {
    width: 100%;
}

a {
    text-decoration: none;
    transition: all 0.15s ease !important;
}
a:hover {
    opacity: 0.7;
}

h2 {
    font-size: 28px;
    font-weight: bold;
    color: #9acbd1;
}

h3 {
    font-size: 20px;
    font-weight: bold;
    border-bottom: 2px solid #9acbd1;
    padding-bottom: 5px;
}

p {
    margin-bottom: 0;
}

li {
    list-style: none;
}

footer {
    padding-bottom: 100px;
}
@media (min-width: 768px) {
    footer {
        padding-bottom: 150px;
    }
}

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

.btn_blank {
    display: block;
    color: #fff;
    background-color: #9acbd1;
    font-weight: bold;
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
    text-align: center;
    width: auto;
    max-width: none;
    margin: auto;
}

.txt_red {
    color: #dc3545;
    font-weight: bold;
}

.ib {
    display: inline-block;
}

/* -----------------------------------------------------------
    footer fixed buttons
----------------------------------------------------------- */
.reserve {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: rgba(247, 247, 247, 0.7);
    
}
.reserve ul {
    display: flex;
    margin-bottom: 0;
    padding: 0;
}
.reserve ul li {
    width: calc(100% / 3);
}
.reserve ul li a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    padding: 10px 0;
}
.reserve ul li.online a {
    background-color: #2B3A67;
}
.reserve ul li.tel a {
    background-color: #f7b2b2;
}
.reserve ul li.web a {
    background-color: #9acbd1;
}

@media (min-width: 768px) {
    .reserve {
        padding: 20px;
    }
    .reserve ul {
        gap: 2%;
        justify-content: center;
    }
    .reserve ul li {
        width: 360px;
        max-width: 32%;
    }
    .reserve ul li a {
        font-size: 18px;
        padding: 20px 0;
    }
}
/* -----------------------------------------------------------
    TOP
----------------------------------------------------------- */
.clinic-departments .card .card-body{
    display: flex;
    flex-direction: column;
    height: 100%;
}
.clinic-departments .card .card-body .card-text {
    margin-top: 1rem;
}
.clinic-departments .card a{
    display: block;
    background-color: #9acbd1;
    color: #fff;
    margin: auto auto 0 !important;
}

/* -----------------------------------------------------------
    TOP - business calendar
----------------------------------------------------------- */
.business-calendar .table-responsive {
    overflow-x: auto;
}
.business-calendar table th,
.business-calendar table td {
    width: 12.5%;
    min-width: 100px;
}

/* -----------------------------------------------------------
    cosmetic page
----------------------------------------------------------- */
.cosmetic-dermatology-section table {
    width: 100%;
}
.cosmetic-dermatology-section table td.price {
    text-align: right;
    word-break: keep-all;
}

/* -----------------------------------------------------------
    Remote page
----------------------------------------------------------- */
.remote table {
    width: 100%;
}
.remote table td:last-of-type {
    text-align: right;
    word-break: keep-all;
}
.remote + footer + .reserve ul li {
    width: 100%;
}
.remote + footer + .reserve ul li a {
    font-size: 16px;
    padding: 15px 0;
}

@media (min-width: 768px) {
    .remote + footer + .reserve ul li {
        width: 90%;
        max-width: 960px;
    }
    .remote + footer + .reserve ul li a {
        font-size: 18px;
        padding: 20px 0;
    }
}