@charset "UTF-8";

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

body {
    font-family: var(--font-jp);
}

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

  *基本設定

================================================================================================================================== */
.front {
    overflow: hidden;
}

section .inner {
    padding: 100px 0;
    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: 200%;
}

.top_title .eng {
    display: inline-block;
    margin-bottom: 0;
    background: linear-gradient(#a49a8f 0% 45%, var(--main-color) 60% 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #a49a8f;
    font-size: 800%;
    font-family: var(--font-en2);
    line-height: 0.7;
}

/* ==============================================
  *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 {}
}

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

  *メインビジュアル

================================================================================================================================== */
.mainvisual {
    position: relative;
    z-index: 1;
    height: 100vh;
    max-height: 980px;
    padding: 30px 30px 0;
    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 {
    position: relative;
    width: 100%;
    height: 100%;
}

.mvImg::before,
.mvImg::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    z-index: 1;
}

.mvImg::before {
    top: 0;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0), rgb(83 74 46 / .3));
    border-radius: 20px;
}

.mvImg::after {
    bottom: -100px;
    height: 60%;
    background: url(../images/nami.svg) no-repeat center / cover;
    opacity: .3;
}

.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;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    border-radius: 20px;
}

/* アニメーションを実行 */
.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;
    top: 40%;
    left: 0;
    z-index: 3;
    width: 100%;
    transform: translateY(-50%);
}

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

.mvCatch p {
    font-size: 220%;
    filter: drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff);
}

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

.mvContents .inner {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    max-width: none;
    padding: 0 50px;
}

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

.mv_bnr {
    display: flex;
    justify-content: center;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    gap: 0 15px;
    bottom: 80px;
}

.mv_bnr>* {
    position: relative;
    background: linear-gradient(135deg, rgba(127, 104, 78, 0.8), rgba(127, 104, 78, 0.6));
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 10px 20px 40px;
    text-align: center;
    color: #ffffff;
    line-height: 1.45;
    border-radius: 8px;
    outline: 1px solid rgba(255, 255, 255, 0.5);
    outline-offset: -6px;
}

.mv_bnr a {
    color: #ffffff;
}

.mv_bnr>*:hover {
    background: linear-gradient(135deg, rgba(236, 117, 163, 0.8), rgba(241, 178, 181, 0.6));
}

.mv_bnr>*::before,
.mv_bnr>*::after {
    content: "";
    position: absolute;
    display: block;
    transition: right 0.2s, background 0.2s;
}

.mv_bnr>*::before {
    bottom: 18px;
    right: 15px;
    width: 9px;
    height: 9px;
    background: var(--main-color);
    border-radius: 50%;
    z-index: 1;
}

.mv_bnr>*:hover::before {
    right: 50px;
}

.mv_bnr>*::after {
    bottom: 22px;
    right: 23px;
    width: 40px;
    height: 1px;
    background: var(--line-color);
}

.mv_bnr>* em {
    font-style: normal;
    font-size: 160%;
    padding: 0 2px;
}

.mv_bnr>* em.num {
    font-family: var(--font-en1);
    padding: 0 5px;
    font-size: 300%;
    line-height: 1.2;
}

.mv_bnr .access_note {
    display: block;
    margin-top: 10px;
}

.mv_bnr .open_bnr {
    padding: 4px;
    background: linear-gradient(135deg, rgba(236, 117, 163, 0.9), rgba(241, 178, 181, 0.9));
    border-radius: 5px;
}

.mv_bnr .open_bnr>* {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    padding: 35px 30px 17px;
    background: linear-gradient(135deg, rgba(236, 117, 163, 0.9), rgba(241, 178, 181, 0.9));
    border-radius: 5px;
    color: #ffffff;
    font-size: 110%;
    line-height: 1.5;
    text-align: center;
}

.mv_bnr .open_bnr::before,
.mv_bnr .open_bnr::after {
    display: none;
}

.mv_bnr .open_bnr>*:hover {
    pointer-events: none;
}

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

.mv_bnr .open_bnr .date em.num {
    line-height: 0.5;
}

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

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

.open_bnr em.num {
    font-style: normal;
    font-family: var(--font-en1);
    padding: 0 5px;
    font-size: 170%;
    line-height: 0.8;
}

.open_bnr em.num_small {
    font-style: normal;
    font-family: var(--font-en1);
    font-size: 100%;
    line-height: 0.8;
}

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

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

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

.sp_only {
    display: none;
}

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

    .fade .mvImg .splide__slide img {
        border-radius: 10px;
    }

    /* ----- スライダーの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: 130%;
        line-height: 1.75;
        filter: drop-shadow(0 0 3px #ffffff) drop-shadow(0 0 3px #ffffff) drop-shadow(0 0 3px #ffffff);
    }

    .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: 10px;
        width: 100%;
    }

    .mv_bnr {
        flex-wrap: wrap;
        gap: 10px;
        position: relative;
        bottom: 0;
    }

    .mv_bnr>* {
        width: 100%;
        padding: 15px 3%;
    }

    .mv_bnr>*::after {
        width: 22px;
    }

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

    .mv_bnr>* em.num {
        font-size: 200%;
        line-height: 1;
    }

    .open_bnr {
        position: absolute;
        top: 390px;
        right: 20px;
        padding: 25px 10px 20px;
        background: linear-gradient(135deg, rgba(236, 117, 163, 0.9), rgba(241, 178, 181, 0.9));
        border-radius: 5px;
        outline: 1px solid rgba(255, 255, 255, 0.5);
        outline-offset: -6px;
        width: 180px;
        height: 160px;
        z-index: 1;
    }

    .open_bnr>* {
        display: flex;
        flex-flow: column;
        justify-content: center;
        align-items: center;
        color: #ffffff;
        font-size: 110%;
        line-height: 1.5;
        text-align: center;
    }

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

    .open_bnr .open_text {
        font-size: 190%;
		margin: 0;
    }

    .open_bnr .nairankai_tit {
        width: 90%;
        padding: 0px 10px;
        margin: 0 0 5px;
        font-size: 80%;
    }
	
	.open_bnr  .nairakai_date{
		font-size: 80%;
	}
}

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

  *バナーエリア

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

.top_banner .inner {
    padding: 100px 6rem 50px;
}

/* ----- 共通設定 ----- */
.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 .input .banner_slide {
    gap: 10px;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    border-radius: 7px;
}

.top_banner .input .banner_slide .slide_img {
    flex-shrink: 0;
    width: calc(32% - 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;
    border-radius: 7px 0 0 7px;
}

.top_banner .input .slide_inner {
    width: 100%;
    height: 100%;
    padding: 20px 20px 30px;
}

.top_banner .input .slide_title {
    margin: 0 auto 20px;
    padding: 0 0 15px;
    border-bottom: 1px solid var(--line-color);
    color: var(--title-color);
    font-size: 140%;
    line-height: 1.35;
}

.top_banner .input .slide_content {
    font-size: 110%;
    line-height: 1.45;
}

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

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

.banner_grid li>a::before,
.banner_grid li>a::after {
    content: "";
    position: absolute;
    display: block;
    transition: right 0.2s, background 0.2s;
}

.banner_grid li>a::before {
    bottom: 18px;
    right: 15px;
    width: 9px;
    height: 9px;
    background: var(--main-color);
    border-radius: 50%;
    z-index: 1;
}

.banner_grid li>a:hover::before {
    right: 50px;
}

.banner_grid li>a::after {
    bottom: 22px;
    right: 23px;
    width: 40px;
    height: 1px;
    background: var(--line-color);
}

/* ----- スライダーバナー ----- */
#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: rgba(255, 255, 255, 0.6);
    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: var(--sub-color);
    border-radius: 50%;
    font-size: 80%;
    transition: background 0.2s;
}

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

#bannerSlider .bannerSlider_arrow_prev {
    left: 0;
}

#bannerSlider .bannerSlider_arrow_next {
    right: 0;
}

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

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

#bannerSlider .bannerSlider_page.is-active {
    background: var(--sub-color2);
}

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

    /* ----- グリッドバナー ----- */
    .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;
        margin: 20px auto 0;
    }

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

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

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

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

.clinic::before,
.clinic::after {
    position: absolute;
    content: '';
    z-index: -1;
}

.clinic::before {
    bottom: -140px;
    right: -90px;
    width: 512px;
    height: 292px;
    background: url(../images/water_purple03.png) no-repeat center / cover;
    opacity: .7;
}

.clinic::after {
    top: 50px;
    left: -90px;
    width: 292px;
    height: 352px;
    background: url(../images/water_purple.png) no-repeat center / cover;
    transform: rotate(180deg);
}

/* ----- お知らせ ----- */
.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: 50px 6rem;
}

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

.clinic .news .top_title {
    margin: 0 0 30px;
}

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

/* ----- 医院概要 ----- */
.clinic .info {
    padding: 30px 6rem 60px;
}

.clinic .info .inner {
    display: flex;
    gap: 80px;
    padding: 90px 4rem 60px;
    background: #ffffff;
    border-radius: 30px;
    outline: 1px solid #f5d7dd;
    outline-offset: -8px;
    box-shadow: 0px 0px 20px 0px rgb(173 119 87 / 10%);
}

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

.clinic .logo img {
    max-width: 450px;
}

.illustmap img {
    border: 1px solid var(--line-color);
}

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

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

.clinic .info address .location {
    padding: 5px 0 5px 47px;
    margin-bottom: 10px;
}

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

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

.clinic .info address .tel {
    position: relative;
    z-index: 1;
    padding: 4px 0 3px 47px;
    font-size: 34px;
    letter-spacing: 4px;
    line-height: 1;
    font-family: var(--font-en1);
    color: #efa7aa;
}

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

.clinic .info address .fax {
    margin-top: 15px;
    padding: 5px 0 5px 50px;
    font-size: 30px;
    line-height: 1;
}

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

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

.clinic .info .speciality {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 20px auto 0;
    padding: 20px;
    background: var(--bg-color);
}

.clinic .info .speciality .title {
    flex-shrink: 0;
    width: fit-content;
    padding: 10px 30px;
    background: var(--main-color);
    color: #ffffff;
    text-align: center;
}

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

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

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

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

.clinic .info .googlemap iframe {
    width: 100%;
    height: 350px;
    border-radius: 10px;
    border: 1px solid var(--line-color) !important;
}

@media screen and (max-width: 640px) {
    .clinic::before {
        bottom: -80px;
        right: -220px;
    }

    .clinic::after {
        top: 0;
        left: -90px;
        width: 200px;
        height: 232px;
        opacity: .7;
    }

    .clinic .news .inner {
        flex-flow: column;
        gap: 0;
        padding: 60px 20px;
    }

    .clinic .info {
        padding: 0 0 70px;
    }

    .clinic .info .inner {
        flex-flow: column;
        padding: 50px 8%;
    }

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

    .clinic .logo img {
        max-width: 300px;
    }

    .clinic .info address .location {
        line-height: 1.45;
    }

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

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

    .clinic .news .btn01 {
        margin-top: 40px;
    }
}

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

  *ご挨拶

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

.greeting::before {
    position: absolute;
    content: '';
    left: 0;
    right: 0;
    top: 0;
    margin: 0 auto;
    width: calc(100% - 80px);
    height: 100%;
    background: url(../images/water_purple.png) no-repeat right top -100px / 500px,
        linear-gradient(rgba(255, 254, 252, 0.5), rgba(247, 235, 239, 0.1)),
        #ffffff;
    border-radius: 30px;
    z-index: -1;
    outline: 1px solid var(--line-color);
    outline-offset: -8px;
    box-shadow: 0px 0px 20px 0px rgb(173 119 87 / 10%);
}

.greeting .inner {
    padding: 120px 8rem 110px;
    max-width: 1700px;
}

.greeting .top_title h2 {
    font-size: 180%;
    margin-top: 6px;
}

.greeting .top_title .eng {
    font-size: 800%;
}

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

.greeting_flex {
    display: flex;
    justify-content: center;
    gap: 70px;
}

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

.greeting_left {
    flex-shrink: 0;
    width: 54%;
    padding-left: 40px;
}

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

.greeting_text h3 {
    color: var(--title-color);
    font-size: 230%;
    margin-bottom: 30px !important;
}

.greeting_text p {
    font-size: 16px;
    line-height: 1.85;
    letter-spacing: 0.09em;
}

.greeting_right {
    flex-shrink: 0;
    width: 45%;
}

.greeting_img {
    position: relative;
}

.greeting_img img {
    border-radius: 20px;
    width: 100%;
}

.greeting_profile {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    max-height: 190px;
    padding: 60px 50px 0;
    background: linear-gradient(rgba(255, 255, 255, 0), rgb(80 70 81 / 70%));
    color: #ffffff;
    line-height: 1.75;
    text-align: center;
    border-radius: 0 0 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: center;
	font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.greeting_profile .position {
    font-size: 130%;
}

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

.greeting_profile .name span {
    font-size: 60%;
    margin-right: 10px;
}

.greeting_btn {
    margin-top: 50px;
    text-align: right;
}

/* ==============================================
  *SP ご挨拶
============================================== */
@media screen and (max-width: 640px) {
    .greeting::before {
        width: calc(100% - 20px);
        background: url(../images/water_purple.png) no-repeat right -50px top -100px / 200px, linear-gradient(rgba(255, 254, 252, 0.5), rgba(247, 235, 239, 0.1)), #ffffff;
    }

    .greeting .inner {
        padding: 70px 2.5rem 50px;
    }

    .greeting .top_title .eng {
        font-size: 550%;
    }

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

    .greeting_left {
        width: 100%;
        padding-left: 0;
    }

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

    .greeting_text h3 {
        font-size: 190%;
        line-height: 1.45;
        margin-bottom: 20px !important;
    }

    .greeting_text p {
        font-size: 15px;
    }

    .greeting_right {
        width: 100%;
    }

    .greeting_profile {
        padding: 80px 20px 0;
    }

    .greeting_profile .position {
        font-size: 100%;
    }

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

    .greeting_btn {
        margin-top: 30px;
        text-align: center;
    }
}

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

  *診療案内

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

.medical::before {
    position: absolute;
    content: '';
    left: 0;
    right: 0;
    top: 0;
    margin: 0 auto;
    width: calc(100% - 80px);
    height: 100%;
    background: linear-gradient(rgba(105, 96, 72, 0.5), rgba(236, 117, 163, 0.1)), url(../images/medical_bg.jpg) no-repeat center/cover !important;
    border-radius: 30px;
    z-index: -1;
}

.medical .inner {
    padding: 100px 6rem 80px;
    max-width: 1800px;
}

.medical .top_title,
.medical .top_title .eng {
    color: #ffffff;
    background: linear-gradient(#ffffff 0% 45%, #ffffff 60% 100%);
    -webkit-background-clip: text;
}

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

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

.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: 350px;
    padding: 30px 30px 40px;
    background: rgba(255, 255, 255);
    text-align: center;
    border-radius: 20px;
    outline: 1px solid #f5d7dd;
    outline-offset: -8px;
    box-shadow: 0 3px 5px rgb(111 110 110 / 10%);
}

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

.medical_icon {
    position: relative;
    max-width: 200px;
    margin: 0 auto 15px !important;
    z-index: 0;
}

.medical_icon::before {
    position: absolute;
    content: '';
    bottom: 16px;
    left: 0;
    right: 0;
    margin: auto;
    width: 165px;
    height: 165px;
    background: #ffefdb;
    border-radius: 50%;
    z-index: -1;
}

.medical_title {
    margin-bottom: 40px !important;
}

.medical_title h3 {
    color: #736d66;
    font-size: 150%;

}

.medical_title_eng {
    margin-top: 5px;
    color: var(--sub-color);
    font-size: 12px;
    line-height: 1;
    letter-spacing: 1px;
    text-align: center;
    font-family: var(--font-en1);
}

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

.medical_btn span {
    position: relative;
    display: inline-block;
    padding: 7px 60px 7px 45px;
    font-family: "quicksand", sans-serif;
    letter-spacing: 3px;
    background: #ffffff;
    border: 1px solid #f66798;
    color: #f66798;
    font-size: 90%;
    letter-spacing: 0.15em;
    text-align: center;
    vertical-align: bottom;
    transition: background 0.2s, color 0.2s;
    border-radius: 50px;
}

.medical_btn span::before,
.medical_btn span::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    display: block;
    transition: right 0.2s, background 0.2s;
}

.medical_btn span::before {
    right: 20px;
    width: 8px;
    height: 8px;
    background: #fae4cd;
    border-radius: 50%;
    z-index: 1;
}

.medical_btn span::after {
    right: 25px;
    width: 25px;
    height: 1px;
    background: var(--main-color);
}

.medical_item:hover .medical_btn span::before {
    right: 50px;
}

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

    .medical .inner {
        padding: 50px 10px 70px;
    }

    .medical_list {
        gap: 15px 10px;
    }

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

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

    .medical_inner {
        min-height: auto;
        padding: 30px 10px 35px;
        border-radius: 15px;
        outline: 1px solid #f5d7dd;
        outline-offset: -5px;
    }

    .medical_icon {
        width: 100%;
        max-width: 90px;
    }

    .medical_icon::before {
        bottom: 5px;
        width: 90px;
        height: 90px;
    }

    .medical_title {
        margin-bottom: 20px !important;
    }

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

    .medical_btn span {
        padding: 7px 50px 7px 25px;
        font-size: 80%;
        letter-spacing: 0.05em;
    }

    .medical_btn span::before {
        right: 10px;
    }

    .medical_btn span::after {
        right: 15px;
        width: 20px;
    }
}

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

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

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

.feature .top_title {
    margin-bottom: 100px;
}

.feature .inner {
    padding: 40px 3rem 150px;
    max-width: 1800px;
}

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

.feature_item {
    position: relative;
    display: flex;
    flex-flow: column;
    width: calc(33.3333333333% - 20px);
    height: auto;
}

.feature_num {
    position: absolute;
    top: -80px;
    right: -20px;
    margin: 0 0 0 !important;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    min-width: 184px;
    width: 184px;
    aspect-ratio: 368 / 352;
    font-family: "quicksand", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 40px;
    letter-spacing: 0.1em;
    line-height: 1;
    background: url(../images/water_pink.png) left center / 100% auto no-repeat;
    z-index: 2;
}

.feature_item:nth-child(odd) .feature_num {
    background: url(../images/water_ore.png) left center / 100% auto no-repeat;
}

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

.feature_img {
    position: relative;
    width: calc(100% - 60px);
    margin: 0 auto;
    text-align: center;
    z-index: 1;
}

.feature_img img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    outline: 1px solid #f5d7dd;
    outline-offset: -8px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}

.feature_inner {
    display: flex;
    flex-flow: column;
    height: 100%;
    padding: 100px 2rem 50px;
    background: var(--bg-color);
    border-radius: 30px;
    margin-top: -70px;
    z-index: 0;
    outline: 1px solid #ffffff;
    outline-offset: -8px;
    box-shadow: 0px 0px 20px 0px rgb(173 119 87 / 10%);
}

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

.feature_inner p {
    font-size: 17px;
    line-height: 1.75;
    padding: 0 20px;
}

.feature_title {
    display: flex;
    flex-flow: column;
    justify-content: center;
    min-height: 120px;
    margin-bottom: 40px !important;
    letter-spacing: 0.2em;
    line-height: 1.7;
    padding-bottom: 35px;
    background: url(../images/line.svg) left bottom repeat-x;
}

.feature_title h3 {
    color: #968c7f;
    font-size: 160%;
    line-height: 1.5;
    letter-spacing: 1px;
    text-align: center;
}

.feature_title h3 span {
    color: var(--title-color);
}

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

.feature_item .btn01 a {
    padding: 10px 105px 10px 35px;
    font-family: "quicksand", sans-serif;
    letter-spacing: 3px;
}

/* ---- 横並びボタン ----- */
.btnflex_feature {
    display: flex;
    flex-flow: wrap;
    align-items: center;
    gap: 5px;
    margin-top: auto;
}

.btnflex_feature .btn01 {
    width: calc(50% - 2.5px);
}

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

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

    .feature .top_title {
        margin-bottom: 30px;
    }

    .feature_list {
        gap: 30px;
    }

    .feature_item {
        width: 100%;
    }

    .feature_img {
        width: calc(100% - 40px);
    }

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

    .feature_num {
        top: -40px;
    }

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

    .feature_inner p {
        font-size: 15px;
        padding: 0 10px;
    }

    /* ---- 横並びボタン ----- */
    .btnflex_feature .btn01 {
        width: 100%;
    }
}

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

  *病状、症状から探す

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

.search::before {
    position: absolute;
    content: '';
    left: 0;
    bottom: 130px;
    width: 253px;
    height: 550px;
    background: url(../images/water_purple02.png) no-repeat center / cover;
    z-index: -1;
    transform: rotate(180deg);
}

.search .inner {
    position: relative;
    z-index: 0;
    padding: 100px 6rem 150px;
}

.search .tab_wrap {
    display: flex;
    gap: 40px;
}

.search .tab_list {
    flex-flow: column;
    gap: 10px;
    width: 25%;
}

.search .tab_list .tab {
    position: relative;
    width: auto;
    font-size: 120%;
    background: no-repeat;
    align-items: flex-start;
    flex: 0;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(127, 104, 78, 0.8), rgba(127, 104, 78, 0.6));
    padding: 20px 20px 20px 50px;
}

.search .tab_list li.active {
    background: linear-gradient(135deg, rgba(236, 117, 163), rgba(241, 178, 181));
    outline: 1px solid #ffc3cf;
    outline-offset: -5px;
}

.search .tab_list li.active::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 30px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    transform: translateY(-50%);
    background: #ffffff;
}

.search .panel_wrap {
    width: 80%;
}

.search .panel {
    position: relative;
    z-index: 1;
    padding: 0;
    background: none;
}

.search_list {
    display: flex;
    flex-wrap: wrap;
    gap: 0px 21px;
    height: fit-content;
}

.search_list li {
    width: calc(33.3333333333% - 13.3333333333px);
    height: auto;
}

/* ----- リンクボタン ----- */
.search_list li a {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 80px;
    padding: 10px 80px 10px 30px;
    color: var(--title-color);
    font-family: var(--font-jp);
    font-size: 110%;
    line-height: 1.55;
    border-bottom: 1px solid var(--line-color);
}

.search_list li a::before,
.search_list li a::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    display: block;
    transition: right 0.2s, background 0.2s;
}

.search_list li a::before {
    right: 20px;
    width: 8px;
    height: 8px;
    background: #fae4cd;
    border-radius: 50%;
    z-index: 1;
}

.search_list li a::after {
    right: 25px;
    width: 30px;
    height: 1px;
    background: var(--main-color);
}

.search_list li a:hover::before {
    right: 50px;
}

/* ----- 画像あり ----- */
.panel_flex.active {
    display: flex;
    flex-direction: column-reverse;
    gap: 20px;
}

.search_img {
    width: 100%;
    margin: 0 !important;
}

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

.panel_flex .search_list {
    width: 100%;
}

.panel_flex .search_list li {
    width: calc(33.3333333333% - 14.3333333333px);
}

/* ==============================================
  *SP 病状、症状から探す
============================================== */
@media screen and (max-width: 640px) {
    .search::before {
        top: -10px;
        bottom: 0;
        width: 76px;
        height: 160px;
    }

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

    .search .inner::before {
        top: auto;
        bottom: -80px;
        right: 20px;
        width: 160px;
        height: 96px;
    }

    .search .tab_wrap {
        display: block;
        gap: 20px;
    }

    .search .tab_list {
        width: 100%;
        flex-flow: wrap;
        gap: 7px;
        margin: 0 0 15px;
    }

    .search .tab_list .tab {
        width: 50%;
        min-height: auto;
        font-size: 120%;
        transform: translate(0, 0) !important;
        padding: 15px 10px 15px 33px;
        flex: 1;
    }

    .search .panel_wrap {
        width: 100%;
    }

    .search_list {
        gap: 10px;
    }

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

    .search_list li a::before {
        right: 10px;
    }

    .search_list li a::after {
        right: 15px;
        width: 20px;
    }

    .search .tab_list li.active::before {
        left: 15px;
    }

    .search_list li a {
        min-height: 40px;
        font-size: 100%;
        padding: 10px 50px 10px 10px;
    }

    /* ----- 画像あり ----- */
    .search .panel_flex.active {
        gap: 20px;
    }

    .search_img {
        width: 100%;
    }

    .panel_flex .search_list {
        width: 100%;
    }

    .panel_flex .search_list li {
        width: calc(50% - 5px);
    }
}

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

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

================================================================================================================================== */
.column .inner {
    padding: 100px 6rem 150px;
}

.column .top_title {}

.column_list {
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    gap: 50px 25px;
}

.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;
    border-radius: 50px;
}

.column_box dd {
    position: relative;
    padding: 12px 10px 12px 35px;
    border-bottom: 1px solid var(--line-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.column_box dd::before {
    position: absolute;
    display: block;
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--sub-color);
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
}

.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 .inner {
        padding: 70px 20px 50px;
    }

    .column_list {
        gap: 40px;
    }

    .column_box {
        width: 100%;
    }

    .column_box dt a {
        padding: 10px;
    }
}

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

  *無限スライダー

================================================================================================================================== */
#infinitySlider {
    padding: 10px;
}

#infinitySlider .splide__list {
    gap: 10px;
}

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

#infinitySlider .splide__slide img {
    border-radius: 20px;
}

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