@charset "UTF-8";

/* ---------------------
  - *基本設定
  - *タイトル
  - *メインビジュアル
  - *バナーエリア
  - *医院概要
  - *ご挨拶
  - *診療案内
  - *当院の特徴
  - *病状・病名から探す
  - *医療コラム
  - *無限スライダー
--------------------- */
/* ==================================================================================================================================

  *基本設定

================================================================================================================================== */
/* body {
    background: url(../images/body_bg.jpg) no-repeat top center / cover;
    background-attachment: fixed;
} */

.front {
    overflow: hidden;
}

section .inner {
    padding: 100px 3rem;
    max-width: 1500px;
}

.text>*:not(:last-child) {
    margin-bottom: 2em;
}

/* ----- パララックス ----- */
.parallax {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 500px;
}

/* 切り抜く範囲 */
.parallax_img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    display: block;
    width: 100%;
    height: 100%;
    clip-path: inset(0);
}

/* 固定する画像 */
.parallax_img::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ==============================================
  *SP 基本設定
============================================== */
@media screen and (max-width: 640px) {
    section .inner {
        padding: 70px 20px;
    }

    /* ----- パララックス ----- */
    .parallax {
        height: 300px;
    }
}

/* ==================================================================================================================================

  *タイトル

================================================================================================================================== */
.top_title {
    margin-bottom: 50px;
    line-height: 1.5;
    text-align: center;

    /* 左寄せ */
}

.top_title.title_left {
    text-align: start;
}

.top_title h2 {
    font-size: 180%;
    font-family: var(--font-jp);
}

.top_title .eng {
    display: inline-block;
    color: var(--main-color);
    background: linear-gradient(0deg, #2cd09d 0%, #159fc9 100%);
    background: -webkit-linear-gradient(0deg, #2cd09d 0%, #159fc9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 110px;
    letter-spacing: 6px;
    font-family: var(--font-eng);
}

/* ==============================================
  *SP タイトル
============================================== */
@media screen and (max-width: 640px) {
    .top_title {
        margin-bottom: 40px;
    }

    .top_title h2 {
        margin: 5px 0 0;
        font-size: 26px;
    }

    .top_title .eng {
        font-size: 30px;
        letter-spacing: 4px;
    }
}

/* ==================================================================================================================================

  *メインビジュアル

================================================================================================================================== */
.mainvisual {
    position: relative;
    z-index: 1;
    height: 960px;
    overflow: hidden;
}

.mvSlider {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
}

/* ----- スライダーのArrowボタン ----- */
.mvSlider .sliderBtn {
    position: absolute;
    top: 50%;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    padding: 3px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    transform: translateY(-50%);
}

.mvSlider .sliderBtn#mv_btnPrev {
    left: 20px;
}

.mvSlider .sliderBtn#mv_btnNext {
    right: 20px;
}

.mvSlider .sliderBtn span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: var(--main-color);
    border-radius: 50%;
    transition: background 0.2s;
}

.mvSlider .sliderBtn span:hover {
    background: var(--text-color);
}

.mvSlider .sliderBtn span::before {
    padding: 0 0 1px 0;
    font-family: "Font Awesome 5 Free";
    font-style: normal;
    font-weight: 900;
    color: #ffffff;
    font-size: 15px;
    transition: color 0.2s;
}

.mvSlider .sliderBtn#mv_btnPrev span::before {
    content: "\f053";
}

.mvSlider .sliderBtn#mv_btnNext span::before {
    content: "\f054";
}

/* 各スライダーのボタンは非表示に */
.mvSlider .splide__arrows {
    display: none;
}

/* ----- MVの画像 ----- */
.mvImg {
    width: 100%;
    height: 100%;
}

.mvImg .splide__track {
    width: 100%;
    height: 100%;
}

.mvImg .splide__slide {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.mvImg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* フェードの専用スタイル */
.fade .mvImg .splide__slide img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    height: calc(100% + 50px);
    pointer-events: none;
}

/* アニメーションを実行 */
.fade.move .mvImg .splide__slide img {
    animation: hideTranslate 8s ease-out forwards;
}

.fade.move .mvImg .splide__slide.is-active img {
    animation: showTranslate 8s ease-out forwards;
}

/* MVのアニメーション  */
@keyframes hideImg {
    0% {
        opacity: 1;
    }

    10% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes showTranslate {
    0% {
        transform: translate3d(0, 0px, 0);
    }

    100% {
        transform: translate3d(0, -30px, 0);
    }
}

@keyframes hideTranslate {

    /* 下降 */
    0% {
        transform: translate3d(0, -30px, 0);
    }

    100% {
        transform: translate3d(0, 0px, 0);
    }
}

/* ----- キャッチコピー ----- */
.mvCatch {
    position: absolute !important;
    bottom: -13%;
    left: 0;
    z-index: 3;
    width: 100%;
    transform: translateY(-50%);
    pointer-events: none;
}

.mvCatch .inner {
    position: relative;
    z-index: 1;
}

.mvCatch p {
    font-size: 90px;
    font-family: var(--font-eng);
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #ffffff;
    background: transparent;
    color: transparent;
    letter-spacing: 4px;
    line-height: 1.25;
    opacity: .75;
    /* text-shadow: 0 10px 10px rgba(55, 42, 7, 0.25); */
}

/* ----- コンテンツ ----- */
.mvContents {
    position: absolute !important;
    top: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.mvContents .inner {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.mvContents .splide__track {
    width: 100%;
    height: 100%;
}

.open_bnr {
    position: absolute;
    top: 250px;
    left: 0;
    display: inline-block;
    padding: 10px;
    background: rgba(143, 129, 92, 0.25);
    border-radius: 50%;
}

.open_bnr>* {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    width: 280px;
    height: 280px;
    padding: 35px;
    background: rgba(143, 129, 92, 0.35);
    border-radius: 50%;
    color: #ffffff;
    font-size: 110%;
    line-height: 1.5;
    text-align: center;
    font-family: var(--font-jp);
    text-shadow: 0 10px 10px rgba(55, 42, 7, 0.25);
}

.open_bnr .date {
    font-size: 150%;
}

.open_bnr .open_text {
    margin: 0 0 10px;
    font-size: 230%;
}

.open_bnr .nairankai_tit {
    display: block;
    width: 100%;
    margin: 0 0 10px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 300px;
    color: #a1947c;
    font-size: 90%;
    text-align: center;
}

.open_bnr .nairakai_date {
    font-size: 110%;
    white-space: nowrap;
}

/* サブカラー */
.open_bnr.subcolor>* {
    background: var(--sub-color);
}

.open_bnr.subcolor>* .nairankai_tit {
    color: var(--sub-color);
}

/* MVバナー */
.mv_bnr {
    /*display: none !important;*/
    position: absolute;
    right: 0;
    top: 30%;
    display: flex;
    flex-flow: column;
    align-items: center;
    gap: 12px;
    transition: transform 0.4s;
}

.mv_bnr>* {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 130px;
    height: 130px;
    background: url(../images/tit_logo_w.svg) no-repeat center /80%, linear-gradient(180deg, var(--main-color) 0%, var(--sub-color) 100%);
    border-radius: 50%;
    letter-spacing: 2px;
    color: #ffffff;
    font-size: 130%;
    line-height: 1.5;
    text-align: center;
    font-family: var(--font-jp);
    text-shadow: 0 10px 10px rgba(55, 42, 7, 0.25);
    box-shadow: 0 10px 10px rgba(55, 42, 7, 0.25);
}

.mv_bnr>*:nth-child(2) {
    background: url(../images/tit_logo_w.svg) no-repeat center / 80%,
        linear-gradient(0deg, #52b697 0%, #4fbe64 100%);
}

.mv_bnr>*:nth-child(1),
.mv_bnr>*:nth-child(2) {
    opacity: 0 !important;
}

@media screen and (max-width: 640px) {

    .mv_bnr>*:nth-child(1),
    .mv_bnr>*:nth-child(2) {
        display: none !important;
    }
}

.mv_bnr>*>a {
    color: unset;
}

.mv_bnr small {
    display: block;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 15px;
    margin: 10px 0;
    border-radius: 30px;
}

.mv_bnr .num {
    font-size: 2rem;
    padding: 0 8px;
    font-family: var(--font-num);
}

/* ----- RIBONバナー ----- */
.mv_ribon {
    position: absolute;
    bottom: 150px;
    left: 0;
}

.sp_only {
    display: none;
}

/* ==============================================
  *SP メインビジュアル
============================================== */
@media screen and (max-width: 640px) {
    .mainvisual {
        height: 400px;
    }

    /* ----- スライダーのArrowボタン ----- */
    .mvSlider .sliderBtn {
        top: 50%;
        width: 40px;
        height: 40px;
        padding: 2px;
        font-size: 12px;
    }

    .mvSlider .sliderBtn#mv_btnPrev {
        left: 10px;
    }

    .mvSlider .sliderBtn#mv_btnNext {
        right: 10px;
    }

    .mvSlider .sliderBtn span::before {
        font-size: 11px;
    }

    .mvCatch {
        top: auto;
        bottom: -20px;
        display: none;
    }

    .mvCatch.is-active {
        display: block;
    }

    .mvCatch p {
        font-size: 200%;
    }

    .mvContents {
        display: none;
    }

    .sp_only {
        display: block;
        background: none !important;
    }

    .sp_only .inner {
        padding: 0 20px;
    }

    .sp_only_contents {
        display: flex;
        flex-flow: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        width: 100%;
    }

    .open_bnr {
        position: static;
        width: 100%;
        max-width: 350px;
        border-radius: 13px;
        padding: 5px;
        z-index: 1;
    }

    .open_bnr>* {
        width: 100%;
        height: auto;
        padding: 15px 20px;
        border-radius: 10px;
    }

    .mv_bnr {
        position: relative;
        top: 0;
        left: 0;
        bottom: 0;
        gap: 30px;
        flex-flow: nowrap;
        z-index: 1;
    }

    .mv_bnr>* {
        font-size: 115%;
    }

    .mv_bnr small {
        padding: 7px 20px;
        border-radius: 10px;
        font-size: 100%;
        letter-spacing: 2px;
    }
}

/* ==================================================================================================================================

  *バナーエリア

================================================================================================================================== */
.top_banner {
    position: relative;
    z-index: 0;
}

.top_banner::before {
    position: absolute;
    content: "";
    background: url(../images/greeting_bg.png) no-repeat top left / cover;
    width: 22%;
    height: 400px;
    top: -80px;
    left: 0;
    opacity: .35;
}

.top_banner .inner {
    padding: 50px 3rem 0;
}

/* ----- 共通設定 ----- */
.top_banner .banner_slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: var(--text-color);
}

/* 画像のみのバナー */
.top_banner .onlyimg .banner_slide {
    height: fit-content;
    padding: 0;
}

.top_banner .onlyimg .banner_slide img {
    width: 100%;
    height: auto;
    transition: opacity 0.2s;
}

.top_banner .onlyimg a.banner_slide:hover img {
    opacity: 0.5;
}

.top_banner .onlyimg a[href="/"] {
    pointer-events: none;
}

/* インプットバナー */
.top_banner .input .banner_slide {
    gap: 10px;
    width: 100%;
    height: 100%;
    padding: 15px;
    background: var(--bg-color);
}

.top_banner .input .banner_slide .slide_img {
    flex-shrink: 0;
    width: calc(30% - 10px);
    height: 100%;
}

.top_banner .input a.banner_slide:hover {
    background: #f5f5f5;
}

.top_banner .input .slide_img {
    flex-shrink: 0;
    width: calc(30% - 10px);
    height: 100%;
}

.top_banner .input .banner_slide .slide_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top_banner .input .slide_inner {
    width: 100%;
    height: 100%;
    padding: 0 0 10px;
}

.top_banner .input .slide_title {
    margin: 0 auto 10px;
    padding: 5px;
    border-bottom: 1px solid var(--line-color);
    color: var(--main-color);
    font-size: 110%;
    line-height: 1.5;
}

.top_banner .input .slide_content {
    font-size: 90%;
}

/* ----- グリッドバナー ----- */
.banner_grid ul {
    display: flex;
    flex-flow: wrap;
    gap: 20px;
}

.banner_grid li {
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(33.3333333333% - 13.3333333333px);
}

/* ----- スライダーバナー ----- */
#bannerSlider .splide {
    position: relative;
    z-index: 1;
}

#bannerSlider .splide__inner {
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

/* スライドの設定  */
#bannerSlider .splide__slide {
    display: flex;
    align-items: center;
    min-height: 200px;
}

/* スライダーのArrowボタン */
#bannerSlider .bannerSlider_arrow {
    position: absolute;
    top: 50%;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    padding: 3px;
    background: linear-gradient(0deg, rgba(24, 141, 162, 0.7) 0%, rgba(80, 189, 108, 0.7) 100%);
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    transform: translateY(-50%);
}

#bannerSlider .bannerSlider_arrow i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0 0 1px 0;
    background: linear-gradient(0deg, rgba(24, 141, 162, 0.5) 0%, rgba(80, 189, 108, 0.5) 100%);
    border-radius: 50%;
    font-size: 80%;
    transition: background 0.2s;
}

#bannerSlider .bannerSlider_arrow:hover i {
    background: var(--main-color);
}

#bannerSlider .bannerSlider_arrow_prev {
    left: 0;
}

#bannerSlider .bannerSlider_arrow_next {
    right: 0;
}

/* ページネーション */
#bannerSlider .bannerSlider_pagination {
    z-index: 1;
    display: flex;
    gap: 15px;
    margin: 0 auto;
}

#bannerSlider .bannerSlider_page {
    width: 10px;
    height: 10px;
    background-color: #e8e8e8;
    border-radius: 50%;
    transition: background 0.2s;
}

#bannerSlider .bannerSlider_page.is-active {
    background: var(--main-color);
}

/* ==============================================
  *SP バナーエリア（追加コンテンツ）
============================================== */
@media screen and (max-width: 640px) {
    .top_banner .inner {
        padding: 0 20px;
    }

    /* ----- グリッドバナー ----- */
    .banner_grid li {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    /* ----- スライダーバナー ----- */
    #bannerSlider .splide__inner {
        position: relative;
        z-index: 1;
        padding: 0 15px;
    }

    /* スライダーのArrowボタン */
    #bannerSlider .bannerSlider_arrow {
        width: 40px;
        height: 40px;
    }

    #bannerSlider .bannerSlider_arrow i {
        padding: 0 0 1px 0;
    }

    /* ページネーション */
    #bannerSlider .bannerSlider_pagination {
        gap: 12px;
    }

    #bannerSlider .bannerSlider_page {
        width: 8px;
        height: 8px;
    }
}

/*==================================================================================================================================

  *医院概要（パターン02）

==================================================================================================================================*/
.clinic {
    position: relative;
    z-index: 1;
}

/* ----- お知らせ ----- */
.clinic .news {
    position: relative;
    z-index: 1;
}

.clinic .news .inner {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
    padding: 100px 3rem 50px;
}

.clinic .news .news_left {
    flex-shrink: 0;
}

.clinic .news .top_title {
    position: relative;
    margin: 0 0 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.clinic .news .top_title::before {
    position: absolute;
    content: "";
    top: -36px;
    left: 30px;
    background: url(../images/news_tit_bg.png) no-repeat center / cover;
    width: 54px;
    height: 42px;
}

.clinic .news .top_title .eng,
.clinic .news .top_title h2 {
    writing-mode: vertical-rl;
}

.clinic .news .top_title .eng {
    font-size: 200%;
    letter-spacing: 1px;
}

.clinic .news .top_title h2 {
    font-size: 130%;
}

.clinic .news .btn01 {
    margin-top: 30px;
    text-align: center;
}

.clinic .news .btn01 a {
    font-family: var(--font-eng);
}

/* ----- 医院概要 ----- */
.clinic .info .inner {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 30px 3rem 100px;
}

.clinic .info .inner>* {
    width: calc(50% - 20px);
}

.clinic .info address>* {
    position: relative;
    z-index: 1;
    min-height: 40px;
}

.clinic .info address>*::before {
    position: absolute;
    top: 4px;
    left: 0;
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    padding: 0 0 0 2px;
    background: var(--main-color);
    border-radius: 50%;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #ffffff;
    font-size: 16px;
}

.clinic .info address .location {
    padding: 5px 0 5px 40px;
}

.clinic .info address .location::before {
    content: "\f3c5";
}

.clinic .info address .location .zipcode {
    margin-right: 10px;
}

.clinic .info address .tel {
    margin-top: 15px;
    padding: 3px 0 7px 40px;
    font-size: 30px;
    font-family: var(--font-eng);
    line-height: 1;
    letter-spacing: 4px;
}

.clinic .info address .tel::before {
    content: "\f3cd";
}

.clinic .info address .fax {
    margin-top: 15px;
    padding: 3px 0 7px 40px;
    font-size: 30px;
    font-family: var(--font-eng);
    line-height: 1;
    letter-spacing: 4px;
}

.clinic .info address .fax::before {
    content: "\f249";
}

.clinic .info address .note {
    margin-top: 20px;
    padding-left: 12px;
    font-size: 90%;
}

.clinic .info .speciality {
    position: relative;
    display: flex;
    align-items: center;
    gap: 37px;
    margin: 30px auto 0;
    padding: 30px 30px 30px 90px;
    background: var(--bg-color);
    font-family: var(--font-jp);
    border-radius: 15px;
}

.clinic .info .speciality::before,
.clinic .info .speciality::after {
    position: absolute;
    display: block;
    content: "";
    top: 50%;
    transform: translateY(-50%);
}

.clinic .info .speciality::before {
    width: 55px;
    height: 55px;
    background: #ffffff;
    border-radius: 50%;
    left: 20px;
}

.clinic .info .speciality::after {
    left: 30px;
    width: 33px;
    height: 33px;
    background: var(--main-color);
    -webkit-mask: url(../images/neuro_icon.svg) no-repeat center/cover;
    mask: url(../images/neuro_icon.svg) no-repeat center/cover;
}

.clinic .info .speciality .title {
    position: relative;
    flex-shrink: 0;
    width: fit-content;
    text-align: center;
}

.clinic .info .speciality .title::after {
    position: absolute;
    display: block;
    content: "";
    width: 5px;
    height: 5px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--main-color);
    right: -20px;
    top: 0;
    bottom: 0;
    margin-top: auto;
    margin-bottom: auto;
}

.clinic .info .office_hour:first-child {
    margin-top: 30px;
}

.clinic .info .list_access {
    margin-top: 15px;
}

.clinic .info .calendar_text {
    margin-top: 20px;
}

.clinic .info .btn01 {
    margin-top: 30px;
    text-align: center;
}

.clinic .info .btn01 a {
    font-family: var(--font-eng);
}

.clinic .info .googlemap iframe {
    width: 100%;
    height: 350px;
}

.illustmap img {
    width: 100%;
}

@media screen and (max-width: 640px) {
    .clinic .news .inner {
        flex-flow: column;
        gap: 0;
        padding: 60px 20px;
    }

    .clinic .news .top_title {
        flex-direction: row;
    }

    .clinic .news .top_title::before {
        top: -26px;
        left: -60px;
    }

    .clinic .news .top_title .eng,
    .clinic .news .top_title h2 {
        writing-mode: lr;
    }

    .clinic .info .inner {
        flex-flow: column;
        padding: 0 20px 70px;
        gap: 30px;
    }

    .clinic .info .inner>* {
        width: 100%;
    }

    .clinic .info .speciality {
        flex-flow: column;
        gap: 0;
        padding: 10px;
    }

    .clinic .info .speciality .title {
        width: 100%;
    }

    .clinic .info .speciality .title::after {
        display: none;
    }
}

/* ==================================================================================================================================

  *ご挨拶

================================================================================================================================== */
.section_img_greeting {
    position: relative;
    z-index: 2;
}

.grid_img {
    display: grid;
    gap: 30px;
    grid-template-columns: 3fr 2fr 1fr;
    margin: 0 auto 0 50px;
    grid-template-areas: "img01 img02 img03";
}

.grid_img li {
    height: fit-content;
    height: 550px;
}

.grid_img li:nth-child(2) picture img {
    margin-top: 80px;
}

.grid_img li:nth-child(3) picture img {
    border-radius: 50px 0 0 50px;
}

.grid_img li picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50px;
}

.greeting {
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.greeting::before {
    position: absolute;
    content: "";
    background: url(../images/greeting_bg.png) no-repeat top left / cover;
    width: 30%;
    height: 430px;
    top: -10px;
    right: 0;
    opacity: .6;
}

.greeting::after {
    position: absolute;
    content: "";
    background: url(../images/leaf_bg02.png) no-repeat top left / cover;
    width: 221px;
    height: 122px;
    bottom: 0;
    right: 110px;
    z-index: 1;
}

.greeting .inner {
    padding: 200px 5rem 300px;
}

.greeting_box {
    position: relative;
    z-index: 1;
}

.greeting .top_title {
    position: relative;
    padding-left: 30px;
}

.greeting .top_title::before {
    position: absolute;
    content: "";
    top: 30px;
    left: -15px;
    background: url(../images/news_tit_bg.png) no-repeat center / cover;
    width: 54px;
    height: 42px;
}

.greeting .top_title h2 {
    padding-left: 10px;
}

.greeting_flex {
    display: flex;
    gap: 80px;
}

.greeting_box:not(:last-child) {
    margin-bottom: 70px;
}

.greeting_left {
    flex-shrink: 0;
    width: 48%;
}

.greeting_text>*:not(:last-child) {
    margin-bottom: 2em;
}

.greeting_img {
    position: relative;
    margin-top: -200px;
    border-radius: 40px;
    overflow: hidden;
    z-index: 0;
}

.greeting_img::after {
    display: block;
    content: "";
    position: absolute;
    width: 100%;
    height: 40%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.3));
    right: 0;
    bottom: 0;
}

.greeting_profile {
    padding-top: 40px;
    line-height: 1.75;
    letter-spacing: 3px;
    text-align: center;
    font-family: var(--font-jp);
    color: var(--main-color);
}

.greeting_profile .position {
    font-size: 130%;
    margin-bottom: 5px;
}

.greeting_profile .name {
    font-size: 230%;
}

.greeting_profile .name span {
    font-size: 55%;
    margin-right: 25px;
    padding: 6px 25px 5px 27px;
    background: var(--main-color);
    color: #ffffff;
    border-radius: 20px;
}

.greeting_btn {
    < !-->position: absolute;
    <-->right: 30px;
    bottom: 30px;
    text-align: center;
    z-index: 2;
}

.greeting_btn a {
    border: 1px solid #ffffff;
    color: #ffffff;
    font-family: var(--font-jp);
    padding: 12px 50px 12px 35px;
    margin-top: 20px;
}

.greeting_btn a::after {
    background: #ffffff;
}

.dr_bnr_wrap  {
	display:flex;
	align-items:center;
	/*justify-content:space-between;*/
	justify-content:center;
	flex-wrap:wrap;
    gap: 30px;
    margin-top: 30px;
	.bnr {
		border-radius:25px;
		border:2px solid var(--main-color);
		overflow:hidden;
/* 		width: calc(50% - 15px); */
		a {
			img {
					width:100%;
			}
		}

	}
}
.dr_bnr_wrap .bnr a:hover {
	opacity:.5;
	transition:.3s;
}

/* ==============================================
  *SP ご挨拶
============================================== */
@media screen and (max-width: 640px) {
    .grid_img {
        gap: 20px;
    }

    .grid_img li {
        height: fit-content;
        height: 200px;
    }

    .grid_img li:nth-child(2) picture img {
        margin-top: 40px;
    }

    .grid_img li picture img {
        border-radius: 30px;
    }

    .grid_img li:nth-child(3) picture img {
        border-radius: 30px 0 0 30px;
    }

    .greeting::after {
        width: 110px;
        height: 62px;
        right: 0;
    }

    .greeting .inner {
        padding: 70px 20px 200px;
    }

    .greeting_flex {
        flex-flow: column-reverse;
        gap: 25px;
    }

    .greeting_left {
        width: 100%;
    }

    .greeting_img {
        margin-top: 0;
        border-radius: 30px;
    }

    .greeting_btn {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 40px;
    }
}

/* ==================================================================================================================================

  *診療案内

================================================================================================================================== */
.medical {
    position: relative;
    background: url(../images/medical_bg.jpg) no-repeat top left / cover;
}

.medical::before {
    position: absolute;
    content: "";
    background: url(../images/nami_medical.svg) no-repeat top center / cover;
    width: 100%;
    height: 300px;
    top: -230px;
    right: 0;
    z-index: -1;
}

.medical .inner {
    padding: 100px 3rem 200px;
}

.medical .top_title .eng {
    line-height: 1.25;
}

.medical_list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.medical_item {
    position: relative;
    z-index: 1;
    width: calc(25% - 15px);
    height: auto;
}

.medical_item:hover {
    transform: translateY(-10px);
}

.medical_img {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: -1;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    transition: background 0.2s;
}

.medical_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.medical_inner {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 300px;
    padding: 30px 20px 40px;
    background: rgba(255, 255, 255, 0.75);
    text-align: center;
    border-radius: 20px;
    outline: 1px solid #d2eae3;
    outline-offset: -6px;
    box-shadow: 0 5px 10px rgb(94 119 121 / 10%);
}

.medical_inner>*:not(:last-child) {
    margin-bottom: 15px;
}

.medical_icon {
    max-width: 110px;
    margin: 0 auto 15px !important;
    background: var(--bg-green);
    border-radius: 50%;
    padding: 20px;
}

.medical_title h3 {
    color: var(--text-color);
    font-size: 150%;
    font-family: var(--font-jp);
}

.medical_title_eng {
    margin-top: 5px;
    color: var(--main-color);
    font-size: 20px;
    line-height: 1;
    letter-spacing: 1px;
    text-align: center;
    font-family: var(--font-eng2);
    color: #c2baab;
}

.medical_text {
    color: var(--text-color);
}

.medical_btn span {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin: 0 auto;
    padding: 7px 25px 7px 15px;
    background: var(--main-color);
    border: 1px solid var(--main-color);
    color: #ffffff;
    letter-spacing: 1px;
    text-align: center;
    transition: padding 0.2s, color 0.2s, background 0.2s;
}

.medical_btn span::after {
    content: "\f105";
    position: absolute;
    top: 50%;
    right: 10px;
    display: inline-block;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 10px;
    transform: translateY(-50%);
}

.medical_item:hover .medical_btn span {
    background: #ffffff;
    color: var(--main-color);
}

/* ==============================================
  *SP 診療案内
============================================== */
@media screen and (max-width: 640px) {
    .medical {}

    .medical::before {
        width: 100%;
        height: 150px;
        top: -100px;
    }

    .medical .inner {
        padding: 30px 20px 60px;
    }

    .medical_list {
        gap: 15px 10px;
    }

    .medical_item {
        width: calc(50% - 5px);
    }

    .medical_item:hover {
        transform: translateY(-5px);
    }

    .medical_inner {
        min-height: auto;
        padding: 20px 10px;
    }

    .medical_icon {
        width: 50%;
        padding: 10px;
    }

    .medical_title h3 {
        font-size: 110%;
    }

    .medical_title_eng {
        font-size: 12px;
    }
}

/*==================================================================================================================================

  *当院の特徴（パターン02）

==================================================================================================================================*/
.feature {
    position: relative;
}

.feature::before,
.feature::after {
    position: absolute;
    content: "";
}

.feature::before {
    background: url(../images/nami.png) no-repeat top left / cover;
    width: 100%;
    height: 410px;
    top: -180px;
    right: 0;
    z-index: -1;
    opacity: .5;
}

.feature::after {
    background: url(../images/leaf_bg.png) no-repeat top left / cover;
    width: 440px;
    height: 283px;
    top: -300px;
    left: -30px;
    z-index: 1;
}

.feature .inner {
    padding: 60px 5rem 140px;
}

.feature .top_title .eng {
    line-height: 1.25;
}

.feature_list {
    display: flex;
    flex-flow: wrap;
    gap: 70px 30px;
}

.feature_item {
    display: flex;
    align-items: center;
    height: auto;
    width: 100%;
    counter-increment: number 1;
}

.feature_img {
    position: relative;
    width: 600px;
    flex-shrink: 0;
    z-index: 0;
}

.feature_img::before {
    position: absolute;
    content: "";
    background: url(../images/greeting_bg.png) no-repeat top left / cover;
    width: 100%;
    height: 100%;
    top: -90px;
    left: -300px;
    z-index: -1;
    transform: rotateX(180deg);
}

.feature_img::after {
    position: absolute;
    content: "";
    left: 40px;
    top: -40px;
    content: '0' counter(number);
    font-family: var(--font-eng);
    font-style: italic;
    font-size: 140px;
    line-height: 120px;
    color: #ffffff;
    text-shadow: 0 5px 10px rgb(94 119 121 / 40%);
    z-index: 1;
}

.feature_img img {
    border-radius: 50px;
}

.feature_inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-flow: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 50px 0 50px 6rem;
}

.feature_inner>* {
    font-size: 16px;
}

.feature_inner>*:not(:last-child) {
    margin-bottom: 40px;
}

.feature_title {
    position: relative;
    display: flex;
    flex-flow: column;
    margin-bottom: 40px !important;
}

.feature_title::before {
    position: absolute;
    content: "";
    bottom: 0;
    left: 0;
    width: 20%;
    height: 1px;
    background: var(--main-color);
}

.feature_title h3 {
    font-size: 180%;
    line-height: 1.45;
    font-family: var(--font-jp);
    padding-bottom: 30px;
    color: var(--main-color);
}

.feature_num {
    margin: 0 0 5px !important;
    line-height: 1.35;
    font-size: 170%;
    font-family: var(--font-eng2);
}

.feature_num span {
    font-size: 130%;
}

.feature_item .btn01 {
    margin-top: 30px;
    text-align: right;
}

.btnflex_feature {
    display: flex;
    align-items: center;
    flex-flow: wrap;
    gap: 5px;
    margin-top: auto;
}

/* 左右 */
.feature_item:nth-child(even) {
    flex-flow: row-reverse;
}

.feature_item:nth-child(even) .feature_inner {
    padding: 50px 6rem 50px 0;
}

.feature_item:nth-child(even) .feature_img::before {
    left: auto;
    right: -300px;
    transform: rotateX(0deg);
}

.feature_item:nth-child(even) .feature_img::after {
    right: 40px;
    left: auto;
}

/* ボタン横並び */
.btnflex_feature .btn01 {
    width: calc(50% - 2.5px);
}

.btnflex_feature .btn01>* {
    width: 100%;
}

@media screen and (max-width: 640px) {
    .feature {
        padding-bottom: 0;
    }

    .feature::before {
        height: 120px;
    }

    .feature::after {
        width: 280px;
        height: 173px;
        top: -190px;
        left: -80px;
    }

    .feature .inner {
        padding: 30px 20px 60px;
    }

    .feature_list {
        gap: 40px;
    }

    .feature_item {
        flex-flow: column;
        width: 100%;
        margin: 0;
    }

    .feature_img {
        width: 100%;
        margin: 0;
    }

    .feature_img::before {
        top: -60px;
    }

    .feature_img::after {
        left: 20px;
        top: -40px;
        font-size: 90px;
        line-height: 90px;
    }

    .feature_img img {
        border-radius: 20px;
    }

    .feature_inner {
        width: 100%;
        min-height: auto;
        padding: 30px 10px;
        margin: 0;
    }

    .feature_title {
        margin-bottom: 15px !important;
        min-height: auto;
    }

    .feature_title h3 {
        font-size: 135%;
    }

    .feature_item .btn01 {
        text-align: center;
        margin-top: 0;
    }

    .greeting_btn a {
        border: none;
        background: linear-gradient(135deg, var(--main-color) 0%, var(--sub-color) 100%);
        margin-top: 0;
    }

    /* 左右 */
    .feature_item:nth-child(even) {
        flex-flow: column;
    }

    .feature_item:nth-child(even) .feature_inner {
        margin: 0 auto;
        padding: 30px 10px;
    }

    .feature_item:nth-child(even) .feature_img::before {
        right: -200px;
    }

    .feature_item:nth-child(even) .feature_img::after {
        right: 20px;
    }

    /* 横並び */
    .btnflex_feature .btn01 {
        width: 100%;
    }
}

/* ==================================================================================================================================

  *お悩みから探す

================================================================================================================================== */
.search {
    position: relative;
    display: flex;
}

.img_search_bg {
    width: auto;
    height: 100%;
}

.img_search_bg img {
    width: 800px;
    height: 600px;
    object-fit: cover;
    border-radius: 0 50px 50px 0;
}

.search .inner {
    padding: 0 4rem 70px 5rem;
    max-width: none;
}

.search .top_title span {
    color: var(--main-color);
    font-size: 70px;
}

.search_list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.search_item {
    position: relative;
    z-index: 1;
    width: calc(33% - 10px);
    height: auto;
}

.search_item::before,
.search_item::after {
    display: block;
    position: absolute;
    content: "";
    z-index: 0;
}

.search_item::before {
    bottom: 10px;
    right: 10px;
    background: #ffffff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.search_item::after {
    right: 22px;
    width: 23px;
    height: 8px;
    background: var(--main-color);
    -webkit-mask: url(../images/arrow.svg) no-repeat center / cover;
    mask: url(../images/arrow.svg) no-repeat center / cover;
    transition: right 0.2s, background 0.2s;
    bottom: 20px;
}

.search_item:hover {
    color: var(--main-color);
}

.search_item:hover::after {
    right: 12px;
}

.search_inner {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 30px;
    background: linear-gradient(140deg, #e6f1f4 0%, #def4e3 100% 100%);
    text-align: left;
    border-radius: 15px;
}

.search_inner>*:not(:last-child) {
    margin-bottom: 15px;
}

.search_title h3 {
    color: var(--text-color);
    font-size: 110%;
    line-height: 1.35;
    font-family: var(--font-jp);
}

/* ==============================================
  *SP 診療案内
============================================== */
@media screen and (max-width: 640px) {
    .img_search_bg img {
        width: 100%;
        height: 200px;
        border-radius: 0;
    }

    .search {
        flex-flow: column;
    }

    .search .inner {
        padding: 40px 20px 70px;
    }

    .search .top_title span {
        font-size: 30px;
    }

    .search_list {
        gap: 15px 10px;
    }

    .search_item {
        width: calc(50% - 5px);
    }

    .search_item:hover {
        transform: translateY(-5px);
    }

    .search_inner {
        min-height: auto;
        padding: 20px 50px 20px 13px;
    }

    .search_title h3 {
        font-size: 100%;
    }
}

/* ==================================================================================================================================

  *医療コラム（パターン01）

================================================================================================================================== */
.column {
    background: var(--bg-color);
}

.column_list {
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    gap: 50px 25px;
    padding: 30px;
    background: #ffffff;
}

.column_box {
    width: calc(25% - 18.75px);
}

.column_box dt a {
    display: block;
    padding: 15px 10px;
    background: var(--main-color);
    color: #ffffff;
    font-size: 110%;
    text-align: center;
}

.column_box dd {
    padding: 15px 10px;
    border-bottom: 1px dashed var(--line-color);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.column_box dd a {
    color: var(--text-color);
}

.column_box dd a:hover {
    color: var(--main-color);
}

/* ==============================================
  *SP 医療コラム
============================================== */
@media screen and (max-width: 640px) {
    .column_list {
        gap: 40px;
    }

    .column_box {
        width: 100%;
    }
}

/* ==================================================================================================================================

  *無限スライダー

================================================================================================================================== */
#infinitySlider {
    padding: 0;
}

#infinitySlider .splide__list {
    gap: 0;
}

#infinitySlider .splide__slide {
    width: 400px !important;
}

/* ==============================================
  *SP 無限スライダー
============================================== */
@media screen and (max-width: 640px) {
    #infinitySlider .splide__slide {
        width: 250px !important;
    }
}