/*
Theme Name: irodori
*/

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: 24px;
    font-weight: bold;
    color: #333;
}

h3 {
    font-size: 20px;
    font-weight: bold;
    border-bottom: 1px solid #999;
    padding-bottom: 5px;
}

h4 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

p {
    margin-bottom: 0;
}

li {
    list-style: none;
}

footer {
    padding-top: 50px;
    padding-bottom: 70px;
}
@media (min-width: 768px) {
    h2 {
        font-size: 28px;
    }

    footer {
        padding-top: 120px;
        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: #8BA895;
}
.reserve ul li.tel a {
    background-color: #4A4E54;
}
.reserve ul li.web a {
    background-color: #D1907B;
}

.bg-flower {
    background-image: url("http://irodoriclinic.cutegirl.jp/wordpress/wp-content/uploads/2026/02/bg-flawer.jpg");
    background-color: rgba(255, 255, 255, 0.7);
    background-blend-mode: lighten;
    background-size: cover;
    background-position: center top;
}

@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;
    }

    .bg-flower {
        background-position: center -220px;
    }
}

/* -----------------------------------------------------------
    TOP
----------------------------------------------------------- */
#top h2 {
    text-align: center;
}

.main-visual {
    padding: 80px 0;
}
.main-visual h1 {
    margin-bottom: 50px;
}
.main-visual p {
    margin-bottom: 50px;
}
.main-visual ul {
    display: flex;
    gap: 20px;
    padding-left: 0;
}
.main-visual ul li a {
    display: block;
}
.main-visual ul li:nth-child(1) a {
    background-color: rgb(0, 0, 0);
    border-radius: 25px;
    color: #fff;
    padding: 16px 30px;
}
.main-visual ul li:nth-child(2) a {
    background-color: rgb(255, 255, 255);
    border: 1px solid #000;
    border-radius: 25px;
    padding: 16px 30px;
}

.carousel-item img {
    width: auto;
    height: 100%;
}

.slider {
    margin-bottom: 70px;
}

.current_month {
    margin-bottom: 70px;
}

.next_month {
    margin-bottom: 70px;
}

.business_hours {
    margin-bottom: 70px;
}

.clinic-blog {
    margin-bottom: 70px;
}

.banner {
    margin-bottom: 70px;
}

.img_callender,
.img_business_hours {
    text-align: center;
}
figure figcaption {
    text-align: left;
    margin-top: 0.5em;
}

.img_banner {
    text-align: center;
}

/* -----------------------------------------------------------
    access page
----------------------------------------------------------- */
.access dl dd  {
    margin-bottom: 30px;
}

/* -----------------------------------------------------------
    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;
    }
}

/* -----------------------------------------------------------
    blog
----------------------------------------------------------- */
article {
    padding-bottom: 3em;
    border-bottom: 1px solid #ddd;
}
.edit-area {
    margin-top: 2em;
}