/* ==========================================
   Cocoon標準フッターを非表示
========================================== */

#footer,
.footer,
.footer-container,
#footer-container {
    display: none !important;
}


/* ==========================================
   フッター全体
========================================== */

.hm-footer,
.hm-footer * {
    box-sizing: border-box;
}

.hm-footer {
    position: relative;
    overflow: hidden;

    width: 100%;
    min-height: 800px;

    color: #fff;
    background:
        url("https://homma-taro-clinic.jp/column/wp-content/themes/cocoon-child-master/assets/images/ft_main_bg.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    font-family:
        "Noto Sans JP",
        "Yu Gothic",
        "Hiragino Kaku Gothic ProN",
        sans-serif;
	margin-top: 1.8em;
}


/*
 * 背景画像URLが本家と異なる場合は、
 * 上の url(...) だけ差し替えてください。
 *
 * 背景画像が読み込めない場合でも、
 * オレンジ背景だけでレイアウトは崩れません。
 */

.hm-footer__shade {
    position: absolute;
    inset: 0;

    background: rgba(235, 135, 18, 0.12);

    pointer-events: none;
}

.hm-footer__inner {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 545px minmax(0, 1fr);
    gap: 108px;

    width: min(1440px, calc(100% - 104px));

    margin: 0 auto;
    padding: 99px 0 70px;
}


/* ==========================================
   左カラム
========================================== */

.hm-footer__left {
    width: 100%;
}


/* ロゴ */

.hm-footer__brand {
    display: flex;
    align-items: center;

    gap: 10px;

    margin: 0 0 12px;
}

.hm-footer__brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 50px;
    height: 50px;

    border: 1px solid rgba(255,255,255,.95);
    border-radius: 50%;

    color: #fff;

    font-family: serif;
    font-size: 18px;
}

.hm-footer__brand-name {
    color: #fff;

    font-size: 30px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: .02em;
}

.hm-footer__logo {
    width: 100%;
    max-width: 361px;
}
/* 住所 */

.hm-footer__address {
    margin: 14px 0 36px;
    color: #fff;
    font-size: 16px;
    letter-spacing: .05em;
}


/* ==========================================
   Google Map
========================================== */

.hm-footer__map {
    overflow: hidden;

    width: 100%;
    height: 220px;

    margin-bottom: 20px;

    background: #fff;
}

.hm-footer__map iframe {
    display: block;

    width: 100%;
    height: 100%;

    border: 0;
}


/* ==========================================
   診療時間
========================================== */

.hm-footer__schedule-wrap {
    overflow: hidden;

    width: 100%;

    border-radius: 11px;

    background: #fff;
}

.hm-footer__schedule {
    width: 100%;

    margin: 0;

    border: 0;
    border-collapse: collapse;

    background: #fff;

    color: #7a3e2b;

    table-layout: fixed;
}

.hm-footer__schedule th,
.hm-footer__schedule td {
    padding: 0;

    border: 0;

    text-align: center;
    vertical-align: middle;
}

.hm-footer__schedule thead {
    background: #793f2c;

    color: #fff;
}

.hm-footer__schedule thead th {
    height: 60px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    background: #723a27;
}

.hm-footer__schedule thead th:first-child {
    width: 170px;
}

.hm-footer__schedule tbody tr {
    height: 80px;
}

.hm-footer__schedule tbody tr + tr {
    border-top: 1px solid #ddd;
}

.hm-footer__schedule tbody th {
    padding-left: 20px;
    text-align: center;
	line-height: 1.3;
}

.hm-footer__schedule tbody th strong {
    display: block;

    font-size: 16px;
    font-weight: 500;
    letter-spacing: .08em;
}

.hm-footer__schedule tbody th small {
    display: block;

    margin-top: 3px;

    font-size: 11px;
    font-weight: 500;
}

.hm-footer__schedule tbody td {
    color: #8b4a32;

    font-size: 17px;
}

.hm-footer__schedule .hm-dot,
.hm-footer__schedule .hm-circle {
    color: #ec8310;

    font-size: 20px;
    font-weight: 700;
}


/* 休診・注記 */

.hm-footer__closed,
.hm-footer__note {
    margin: 0;

    color: #fff;

    font-size: 13px;
    font-weight: 500;
    line-height: 1.8;
}

.hm-footer__closed {
    margin-top: 12px;
}


/* ==========================================
   右カラム
========================================== */

.hm-footer__right {
    padding-top: 0;
}

.hm-footer__section h2 {
    margin: 0 0 28px;

    color: #fff;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 31px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: .05em;
}

.hm-footer__clinic-grid,
.hm-footer__menu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    column-gap: 78px;
    row-gap: 0;
}

.hm-footer__section a {
    display: block;

    padding: 10px 0;

    color: #fff !important;
    text-decoration: none !important;

    font-size: 15px;
    line-height: 1.5;

    transition: opacity .2s;
}

.hm-footer__section a:hover {
    opacity: .65;
}


/* MENU */

.hm-footer__section--menu {
    margin-top: 70px;
}

.hm-footer__menu-grid {
    max-width: 670px;
}


/* ==========================================
   TOPへ戻る
========================================== */

.hm-footer__totop {
    position: absolute;
    right: 24px;
    bottom: 30px;
    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 70px;
    height: 70px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #fff;

    color: #7b3b26;

    font-family: Georgia, serif;
    font-size: 32px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;

    transition:
        transform .2s,
        opacity .2s;
}

.hm-footer__totop:hover {
    transform: translateY(-3px);
    opacity: .9;
}


/* ==========================================
   Copyright
========================================== */

.hm-footer-copy {
    padding: 30px 0 33px 0;
    background: #e06b00;
    color: #FFF;
    text-align: center;
    font-size: 12px;
}


/* ==========================================
   1200px以下
========================================== */

@media (max-width: 1200px) {

    .hm-footer__inner {
        grid-template-columns: 470px minmax(0, 1fr);
        gap: 55px;

        width: min(1100px, calc(100% - 50px));
    }

    .hm-footer__brand-name {
        font-size: 27px;
    }

    .hm-footer__clinic-grid,
    .hm-footer__menu-grid {
        column-gap: 38px;
    }

}


/* ==========================================
   900px以下
========================================== */

@media (max-width: 900px) {

    .hm-footer {
        min-height: 0;

        background-position: center;
    }

    .hm-footer__inner {
        display: block;

        width: calc(100% - 40px);

        padding: 40px 0 80px;
    }

    .hm-footer__right {
        margin-top: 55px;
    }

    .hm-footer__section--menu {
        margin-top: 50px;
    }

    .hm-footer__totop {
        right: 18px;
        bottom: 20px;

        width: 58px;
        height: 58px;

        font-size: 27px;
    }

}


/* ==========================================
   600px以下
========================================== */

@media (max-width: 600px) {

    .hm-footer__inner {
        width: calc(100% - 30px);

        padding-top: 30px;
    }

    .hm-footer__brand {
        gap: 8px;
    }

    .hm-footer__brand-mark {
        width: 42px;
        height: 42px;

        font-size: 15px;
    }

    .hm-footer__brand-name {
        font-size: 23px;
    }

    .hm-footer__address {
        margin: 12px 0 25px;
        font-size: 13px;
        line-height: 1.7;
    }

    .hm-footer__map {
        height: 190px;
    }

    .hm-footer__schedule-wrap {
        border-radius: 8px;
    }

    .hm-footer__schedule thead th {
        height: 52px;

        font-size: 13px;
    }

    .hm-footer__schedule tbody tr {
        height: 78px;
    }

    .hm-footer__schedule tbody th strong {
        font-size: 14px;
    }

    .hm-footer__schedule tbody td {
        font-size: 15px;
    }

    .hm-footer__closed,
    .hm-footer__note {
        font-size: 11px;
    }

    .hm-footer__section h2 {
        margin-bottom: 18px;

        font-size: 28px;
    }

    .hm-footer__clinic-grid,
    .hm-footer__menu-grid {
        grid-template-columns: 1fr;

        column-gap: 0;
    }

    .hm-footer__section a {
        padding: 9px 0;

        border-bottom: 1px solid rgba(255,255,255,.18);

        font-size: 14px;
    }

    .hm-footer__totop {
        width: 52px;
        height: 52px;
    }

	   .hm-footer__schedule-wrap {
        overflow: visible;
        width: 100%;
    }

    .hm-footer__schedule {
        width: 100%;
        min-width: 0;
        table-layout: fixed;
    }

    .hm-footer__schedule thead th {
        height: 46px;
        padding: 4px 2px;
        font-size: 14px;
    }

    .hm-footer__schedule thead th:first-child {
        width: 34%;
    }

    .hm-footer__schedule tbody tr {
        height: 66px;
    }

    .hm-footer__schedule tbody th {
        padding: 5px 4px;
    }

    .hm-footer__schedule tbody th strong {
        font-size: 14px;
        letter-spacing: 0;
        white-space: nowrap;
    }

    .hm-footer__schedule tbody th small {
        margin-top: 2px;
        font-size: 10px;
        white-space: nowrap;
    }

    .hm-footer__schedule tbody td {
        padding: 2px 0;
        font-size: 12px;
    }

    .hm-footer__schedule .hm-dot,
    .hm-footer__schedule .hm-circle {
        font-size: 15px;
    }
	.hm-footer__right {
    display: none;
}
	.hm-footer__brand {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.hm-footer__logo {
    margin: 0 auto;
}

.hm-footer__address {
    text-align: center;
}
}
