@charset "UTF-8";
/********************************************************************************

page-top.css　トップページcss

********************************************************************************/

/*============================================================
 common調整
*============================================================*/
/* フッター前余白
---------------------------------------- */
#page-top #main-contents {
    padding-bottom: 60px;
}

/* セクション間余白
---------------------------------------- */
#page-top #main-contents {
    --section-space: 120px;
    --element-space: 0;
}

/*============================================================
 メインビジュアル
*============================================================*/
#page-top #mainvisual {
    height: 720px;
    align-content: center;
    background-image: url(../images/top/mainvisual-bg.jpg);
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: cover;
    margin-bottom: 102px;
}
#page-top #mainvisual .inner {
    --mainvisual-padding: 48px;
    max-width: 1280px;
    height: 100%;
    padding: 0 var(--mainvisual-padding);
    position: relative;
}
#page-top #mainvisual .logo {
    margin-bottom: 40px;
}
#page-top #mainvisual .site-catch {
    width: fit-content;
    font-weight: 900;
    font-size: clamp(32px, 6.35vw, 64px);
    line-height: 150%;
    letter-spacing: 0.08em;
    color: #FF8E05;
    position: absolute;
    left: var(--mainvisual-padding);
    bottom: -14px;
}
#page-top #mainvisual .layout {
    width: fit-content;
    position: absolute;
    right: var(--mainvisual-padding);
    bottom: 40px;
    z-index: 10;
}
#page-top #mainvisual .access {
    width: max-content;
    padding: 8px 32px;
    background-color: #fff;
    border-radius: 16px 16px 0 0;
    margin: 0 auto;

    font-weight: 500;
    line-height: 160%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    font-size: clamp(16px, 1.99vw, 20px);
    line-height: 150%;
    color: var(--common-color-accent);
}
#page-top #mainvisual .access::before {
    display: block;
    content: "🚃";
    line-height: 100%;
}
#page-top #mainvisual .block-hours  {
    padding: 20px;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.12);
}

/*============================================================
 ページ内共通
*============================================================*/
#page-top .section {
}
#page-top .sec-title {
    font-weight: 700;
    font-size: 36px;
    line-height: 150%;
    text-align: center;
}

/*============================================================
 セクション まず自分が受けたい治療を
*============================================================*/
#page-top #sec-intro {
    position: relative;
    overflow-x: clip;
    margin-bottom: 88px;
}
#page-top #sec-intro::before {
    display: block;
    content: "";
    width: 292px;
    height: 350px;
    background-image: url(../images/common/logo-symbol.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.3;
    position: absolute;
    top: -184px;
    left: calc(50% + 300px);
    z-index: -1;
}
#page-top #sec-intro .inner {
    position: relative;
}
#page-top #sec-intro .sec-title {
    margin-bottom: 32px;
}
#page-top #sec-intro .sec-lead {
    max-width: 800px;
    margin: 0 auto 56px auto;
}
#page-top #sec-intro .sec-lead span {
    border-radius: 100px;
    background-color: var(--common-color-background1);
    font-weight: 700;
    color: var(--common-color-accent);
}
#page-top #sec-intro .director {
    max-width: 936px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 56px;
}
#page-top #sec-intro .director .image {
    flex: 1;
}
#page-top #sec-intro .director .info {
    width: 384px;
}
#page-top #sec-intro .director .info .title {
    font-weight: 700;
    font-size: 18px;
    line-height: 140%;
    color: var(--common-color-accent);
    margin-bottom: 4px;
}
#page-top #sec-intro .director .info .name {
    font-weight: 700;
    font-size: 28px;
    line-height: 150%;
    margin-bottom: 24px;
}
#page-top #sec-intro .director .info .lead {
    font-size: 14px;
    line-height: 160%;
}

/*============================================================
 セクション 診療案内
*============================================================*/
#page-top #sec-clinic-menu {
    position: relative;
    margin-bottom: 64px;
}
#page-top #sec-clinic-menu::before {
    display: block;
    content: "";
    width: 100%;
    height: auto;
    aspect-ratio: 1280 / 180;
    background-image: url(../images/top/clinic-menu-bg-before.svg);
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: 100% auto;
}
#page-top #sec-clinic-menu::after {
    display: block;
    content: "";
    width: 100%;
    height: auto;
    aspect-ratio: 1280 / 180;
    background-image: url(../images/top/clinic-menu-bg-after.svg);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100% auto;
}
#page-top #sec-clinic-menu .layout {
    background-color: var(--common-color-background1);
}
/* #page-top #sec-clinic-menu::before {
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    background-color: var(--common-color-background1);
    border-radius: 0 240px 80px 0;
    position: absolute;
    top: 0;
    right: 8.125vw;
    z-index: -1;
} */
#page-top #sec-clinic-menu .sec-title {
    margin-bottom: 48px;
}

/*============================================================
 セクション 院内イメージ
*============================================================*/
#page-top #sec-gallery {
    margin-bottom: 120px;
}
#page-top #sec-gallery .sec-title {
    margin-bottom: 48px;
}
/* 仮 */
#page-top #sec-gallery .gallery {
    padding: 16px;
}
#page-top #sec-gallery .gallery .image {
    text-align: center;
    /* background-color: #D9D9D9; */
    /* border-radius: 16px; */
}

/*============================================================
 セクション ブログ
*============================================================*/
#page-top #sec-blog {
    margin-bottom: 120px;
}
#page-top #sec-blog .logo {
    text-align: center;
    margin-bottom: 4px;
}
#page-top #sec-blog .sec-title {
    margin-bottom: 48px;
}
#page-top #sec-blog .block-card {
    margin-bottom: 48px;
}

/*============================================================
 セクション 診療カレンダー
*============================================================*/
#page-top #sec-calendar {
}
#page-top #sec-calendar .sec-title {
    margin-bottom: 32px;
}
#page-top #sec-calendar .layout {
}
#page-top #sec-calendar .layout .calendars {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}
#page-top #sec-calendar .layout .calendars .calendar {
    flex: 1;
}
#page-top #sec-calendar table.xo-month .month-header {
    margin: 0 0 16px 0;
}
#page-top #sec-calendar .calendar table.xo-month .month-header>span {
    font-weight: 700;
    font-size: 18px;
    line-height: 150%;
    color: var(--common-color-accent);
}
#page-top #sec-calendar table.xo-month>thead th {
    background-color: var(--common-color-background1);
}

/*_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
 Tablet
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/*/
@media screen and (max-width: 1007px) {
    /*============================================================
     メインビジュアル
    *============================================================*/
    #page-top #mainvisual {
    }
    #page-top #mainvisual .layout {
        bottom: 0;
    }

    /*============================================================
     ページ内共通
    *============================================================*/
    #page-top .section {
    }
    #page-top .sec-title {
        font-size: 24px;
    }

    /*============================================================
     セクション まず自分が受けたい治療を
    *============================================================*/
    #page-top #sec-intro::before {
        left: unset;
        right: -88px;
    }
    #page-top #sec-intro .director .info .title {
        font-size: 16px;
    }
    #page-top #sec-intro .director .info .name {
        font-size: 22px;
    }


}



/*_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
 SP
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/*/
@media screen and (max-width: 767px) {
    /*============================================================
     メインビジュアル
    *============================================================*/
    #page-top #mainvisual {
        height: 680px;
    }
    #page-top #mainvisual .inner {
        --mainvisual-padding: 24px;
    }
    #page-top #mainvisual .site-catch {
        position: static;
        padding-top: 48px;
        font-size: 48px;
    }
    #page-top #mainvisual .block-hours {
        max-width: min(456px, calc(100vw - 48px));
    }
    .block-hours .clinic-hours img {
        width: 100%;
    }

    /*============================================================
     セクション 診療カレンダー
    *============================================================*/
    #page-top #sec-calendar .layout .calendars {
        flex-direction: column;
    }

}
