@charset "UTF-8";

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

  *基本設定

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

section .inner {
    padding: 100px 4%;
    max-width: 1400px;
}

.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;
    display: flex;
    gap: 20px;
    align-items: baseline;
}

.top_title.title_left h2 {
    position: relative;
    padding-left: 20px;
    z-index: 0;
}

.top_title.title_left h2::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    width: 1px;
    height: 15px;
    background: var(--main-color);
    transform: translate(100%, -50%) rotate(30deg);
}

.top_title.title_left h2 {
    font-size: 120%;
}

.top_title h2 {
    font-size: 160%;
}

.top_title .eng {
    display: inline-block;
    color: var(--main-color);
    font-size: 330%;
    font-family: var(--font-en);
    line-height: 1.15;
    letter-spacing: 3px;
}

/* ==============================================
  *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: 0;
    height: 840px;
    overflow: hidden;
}

.mainvisual::before {
    position: absolute;
    content: '';
    display: block;
    background: linear-gradient(#bff1ff, #f9fffb, rgba(255, 255, 255, 0.1));
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80%;
    z-index: -1;
}

.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%;
    padding: 0 50px 100px;
}

.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;
    pointer-events: none;
    border-radius: 30px;
}

/* アニメーションを実行 */
.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;
}

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

.open_bnr {
    position: absolute;
    left: 70px;
    bottom: 160px;
    display: inline-block;
    padding: 4px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    margin-left: 50px;
}

.open_bnr>* {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    width: 270px;
    height: 250px;
    padding: 15px;
    background: rgba(77, 165, 220, 0.8);
    border-radius: 30px;
    color: #ffffff;
    font-size: 110%;
    line-height: 1.5;
    text-align: center;
    font-family: var(--font-jp);
}

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

.open_bnr .date span,
.open_bnr .nairakai_date span {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    padding: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}

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

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

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

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

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

.sp_only {
    display: none;
}

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

    .mvImg {
        padding: 0;
    }

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

    /* ----- スライダーの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%;
    }

    .open_bnr {
        position: static;
        width: 100%;
        max-width: 350px;
        margin-left: 0;
        background: #8ac5e9;
    }

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

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

  *バナーエリア

================================================================================================================================== */
/* ----- 共通設定 ----- */
.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%;
    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: 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(--main-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(--main-color);
}

/* ==============================================
  *SP バナーエリア（追加コンテンツ）
============================================== */
@media screen and (max-width: 640px) {

    /* ----- グリッドバナー ----- */
    .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_info_wrap {
    position: relative;
}

.clinic_info_wrap::before,
.clinic_info_wrap::after {
    display: block;
    content: '';
    position: absolute;
}

.clinic_info_wrap::before {
    background: linear-gradient(#9eeaff, #cbf6d9);
    border-radius: 50%;
    left: 70px;
    top: 30px;
    width: 200px;
    height: 200px;
    filter: blur(60px);
    z-index: -1;
    opacity: .8;
}

.clinic_info_wrap::after {
    right: -50px;
    bottom: -100px;
    width: 430px;
    height: 460px;
    background: url(../images/cloud.png) center / cover no-repeat;
    z-index: 1;
}

.clinic {
    position: relative;
}

.clinic::before,
.clinic::after {
    display: block;
    content: '';
    z-index: 0;
}

.clinic::before {
    position: absolute;
    left: -20px;
    bottom: 270px;
    width: 380px;
    height: 256px;
    background: url(../images/cloud2.png) center / cover no-repeat;
}

.clinic::after {
    background: linear-gradient(rgb(14 150 207 / 10%), rgb(17 199 143 / 10%)), url(../images/clinic_bg.jpg) center / cover no-repeat;
    width: 100%;
    height: 600px;
}

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

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

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

.clinic .news .top_title {
    margin: 0 0 30px;
    text-align: left;
}

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

/* ----- 医院概要 ----- */
.clinic .info .inner {
    display: flex;
    gap: 70px;
    padding: 0 4% 120px;
}

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

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

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

.clinic .info address .location {
    padding: 10px 0 7px 70px;
}

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

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

.clinic .info address .tel {
    margin-top: 15px;
    padding: 10px 0 7px 70px;
    font-size: 33px;
    line-height: 1;
    letter-spacing: 5px;
    font-family: var(--font-en);
}

.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: 35px;
    margin: 30px auto 0;
    padding: 15px;
    border: 1px solid var(--line-color);
    border-radius: 10px;
    font-size: 16px;
}

.clinic .info .speciality .title {
    flex-shrink: 0;
    width: fit-content;
    padding: 10px 35px;
    background: var(--bg-color);
    color: var(--main-color);
    text-align: center;
    font-family: var(--font-jp);
}

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

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

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

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

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

.clinic .illustmap img {
    border-radius: 40px;
}

@media screen and (max-width: 640px) {
    .clinic_info_wrap::after {
        width: 280px;
        height: 310px;
    }

    .clinic::before {
        display: none;
    }

    .clinic::after {
        height: 300px;
    }

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

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

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

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

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

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

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

  *ご挨拶

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

.greeting_wrap::before {
    position: absolute;
    content: '';
    bottom: -10px;
    width: 100%;
    height: 20px;
    background: url(../images/wave.svg) repeat-x;
    transform: rotateX(180deg);
    z-index: 1;
}

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

.greeting::before,
.greeting::after {
    display: block;
    content: '';
    position: absolute;
    border-radius: 50%;
    width: 500px;
    height: 500px;
    filter: blur(80px);
    z-index: -1;
    opacity: .8;
}

.greeting::before {
    bottom: 250px;
    left: -60px;
    background: linear-gradient(#ecfbff, #b4e2ff);
}

.greeting::after {
    bottom: 420px;
    left: -190px;
    background: #cafcda;
}

.greeting .inner {
    position: relative;
    padding: 120px 4% 150px;
    max-width: 1600px;
    z-index: 0;
}

.greeting .inner::before,
.greeting .inner::after {
    display: block;
    content: '';
    position: absolute;
    border-radius: 50%;
    width: 300px;
    height: 300px;
    filter: blur(100px);
    z-index: -1;
}

.greeting .inner::before {
    top: 200px;
    right: -100px;
    background: linear-gradient(#c2f2ff, #9dd9ff);
}

.greeting .inner::after {
    top: 0;
    right: 90px;
    background: #cafcda;
}

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

.greeting .top_title {
    padding-left: 50px;
}

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

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

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

.greeting_left {
    flex-shrink: 0;
    width: 57%;
    padding-left: 50px;
    line-height: 1.75;
}

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

.greeting_right {
    margin-top: -200px;
}

.greeting_profile {
    margin-top: 40px;
    font-family: var(--font-jp);
    font-size: 130%;
    line-height: 1.45;
    text-align: center;
    color: var(--main-color);
}

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

.greeting_profile .name {
    margin-top: 5px;
    font-size: 140%;
}

.greeting_profile .name span {
    display: inline-block;
    padding: 0 10px;
    font-size: 80%;
}

.greeting_img {
    position: relative;
    padding: 0 10px 10px 0;
    z-index: 1;
}

.greeting_img::before {
    display: block;
    content: "";
    position: absolute;
    right: 60px;
    bottom: -10px;
    width: 120px;
    height: 80px;
    background: url(../images/logomark.png) no-repeat center / cover;
    z-index: 2;
}

.greeting_img span {
    margin: 0 auto;
    width: 75%;
    display: block;
    background: #ffffff;
    mask: url(../images/doctor_mask.svg) no-repeat center / 100%;
    -webkit-mask: url(../images/doctor_mask.svg) no-repeat center / 100%;
}

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

.top_doctors_bnr {
    text-align: left;
    margin-top: 30px;
}

.top_doctors_bnr a:hover {
    opacity: 0.8;
}

/* ==============================================
  *SP ご挨拶
============================================== */
@media screen and (max-width: 640px) {

    .greeting::before,
    .greeting::after {
        opacity: .5;
    }

    .greeting .inner {
        padding: 100px 5% 80px;
    }

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

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

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

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

    .greeting_right {
        margin-top: 0;
    }

    .greeting_img::before {
        right: 0;
        width: 120px;
        height: 78px;
    }

    .greeting_btn {
        margin-top: 40px;
    }
	
.greeting_img span {
    margin: 0 auto;
    width: 90%;
	max-width: 350px;
}
}

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

  *診療案内

================================================================================================================================== */
.medical_wrap {
    position: relative;
    background: linear-gradient(rgba(77, 165, 220, 0.6), rgba(163, 219, 241, 0.5)), url(../images/medical_bg.jpg) no-repeat center/cover !important;
    z-index: 0;
}

.medical_wrap::before {
    position: absolute;
    content: '';
    bottom: -10px;
    width: 100%;
    height: 20px;
    background: url(../images/wave.svg) repeat-x;
    z-index: 1;
}

.medical .top_title,
.medical .top_title span {
    color: #ffffff;
}

.medical .top_title .eng {
    font-size: 530%;
}

.medical .inner {
    padding: 100px 2% 40px;
    max-width: 1500px;
}

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

.medical_item {
    position: relative;
    z-index: 1;
    width: calc(25% - 15px);
    height: auto;
    border-radius: 40px;
    overflow: hidden;
    transition: transform 0.4s;
}

.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 {
    position: relative;
    z-index: 1;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 400px;
    padding: 50px 20px;
    background: #ffffff;
    text-align: center;
    transform: translateZ(0);
    border-radius: 40px;
}

.medical_inner::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    display: block;
    width: 50px;
    height: 50px;
    background: var(--sub-color1);
    border-radius: 39px 0 39px 0;
    color: #ffffff;
    transition: width 0.4s, height 0.4s;
    z-index: -2;
}

.medical_item:hover .medical_inner::before {
    width: 100%;
    height: 100%;
    border-radius: 40px;
    background: #f8fcf4;
}

.medical_inner::after {
    content: "\f061";
    position: absolute;
    right: 15px;
    bottom: 10px;
    font-family: "Font Awesome 5 Free";
    font-style: normal;
    font-weight: 900;
    color: #ffffff;
    transition: transform 0.4s;
    z-index: -1;
}

.medical_item:hover .medical_inner::after {
    transform: rotate(360deg);
}

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

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

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

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

.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 .inner {
        padding: 80px 5% 20px;
    }

    .medical_list {
        gap: 15px 10px;
    }

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

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

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

    .medical_inner::before {
        border-radius: 39px 0 29px 0;
    }

    .medical_icon {
        width: 65%;
    }

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

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

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

================================================================================================================================== */
.feature {
    position: relative;
    background: url(../images/bird.png) bottom 330px left / 1000px no-repeat,
        url(../images/cloud.png) bottom 330px right -220px / 430px no-repeat,
        url(../images/nami.png) bottom 90px center / 100% no-repeat,
        linear-gradient(#ffffff, #f3fdff, #c5f3ff);
    z-index: 0;
}

.feature::before {
    position: absolute;
    content: '';
    display: block;
    width: 100%;
    height: calc(40% - 100px);
    background: #ffffff;
    z-index: -1;
}

.feature .inner {
    max-width: 1700px;
    padding: 80px 4% 120px;
}

.feature .top_title {
    margin-bottom: 0;
}

.feature .top_title .eng {
    font-size: 600%;
}

.feature_list {
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    gap: 0 40px;
}

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

.feature_num {
    position: absolute;
    top: 85px;
    right: -10px;
    font-family: var(--font-en);
    font-size: 400%;
    writing-mode: vertical-rl;
    line-height: 1;
    color: var(--main-color);
    font-weight: 600;
    opacity: .4;
}

.feature_item:nth-child(odd) .feature_num {
    color: var(--sub-color1);
}

.feature_img {
    display: block;
    background: #ffffff;
    mask: url(../images/feature_mask.svg) no-repeat center / 100%;
    -webkit-mask: url(../images/feature_mask.svg) no-repeat center / 100%;
    z-index: 1;
}

.feature_inner {
    position: relative;
    display: flex;
    flex-flow: column;
    height: 100%;
    margin-top: -100px;
    padding: 75px 40px 50px;
    z-index: 0;
}

.feature_inner::before,
.feature_inner::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 1px solid var(--line-color);
}

.feature_inner::before {
    background: #70c0f2;
    border-radius: 20px;
    z-index: -2;
}

.feature_inner::after {
    background: #ffffff;
    border-radius: 50px;
    z-index: -1;
}

.feature_item:nth-child(odd) .feature_inner::before {
    background: #a8d67c;
}

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

.feature_title {
    display: flex;
    flex-flow: column;
    justify-content: center;
    min-height: 70px;
    border-bottom: 1px solid var(--line-color);
    padding: 0 0 20px;
    margin-bottom: 30px !important;
}

.feature_title h3 {
    color: var(--main-color);
    font-size: 190%;
    line-height: 1.5;
    text-align: center;
}

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

.feature_item .btn01 a {
    background: #ddf8ff;
    color: var(--main-color);
    border: 1px solid #ddf8ff;
}

.feature_item .btn01 a::after {
    background: var(--main-color);
    left: 35px;
}

/* ---- 横並びボタン ----- */
.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: 80px 5% 100px;
    }

    .feature .top_title .eng {
        font-size: 400%;
    }

    .feature_list {
        gap: 0;
    }

    .feature_item {
        width: 100%;
    }

    .feature_num {
        top: 95px;
        right: 0;
    }

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

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

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

  *病状、症状から探す

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

.search .tab_list {
    gap: 10px;
}

.search .tab_list .tab {
    padding: 15px 20px;
}

.search .panel {
    position: relative;
    z-index: 1;
    padding: 25px;
    background: var(--main-color);
}

.search_list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    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: center;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 60px;
    padding: 10px 45px 10px 30px;
    background: var(--bg-color);
    color: var(--text-color);
}

.search_list li a::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 19px;
    z-index: 2;
    display: block;
    width: 14px;
    height: 7px;
    background: #ffffff;
    -webkit-mask: url(../images/btn_arrow.png) no-repeat center/14px 7px;
    mask: url(../images/btn_arrow.png) no-repeat center/14px 7px;
    transform: translateY(-50%);
    transition: background 0.2s;
}

.search_list li a:hover::before {
    background: var(--main-color);
}

/* 矢印の背景 */
.search_list li a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 15px;
    z-index: 1;
    display: block;
    width: 22px;
    height: 22px;
    background: var(--main-color);
    border: 1px solid var(--main-color);
    border-radius: 50%;
    transform: translateY(-50%);
    transition: background 0.2s;
}

.search_list li a:hover::after {
    background: #ffffff;
}

/* ----- 画像あり ----- */
.panel_flex.active {
    display: flex;
    flex-flow: wrap;
    gap: 20px;
}

.search_img {
    width: calc(50% - 10px);
    margin: 0 !important;
}

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

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

/* ==============================================
  *SP 病状、症状から探す
============================================== */
@media screen and (max-width: 640px) {
    .search .tab_list {
        flex-flow: column;
        gap: 7px;
        margin: 0 0 15px;
    }

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

    .search .panel {
        padding: 20px;
    }

    .search_list {
        gap: 10px;
    }

    .search_list li {
        width: 100%;
    }

    .search_list li a {
        min-height: auto;
        padding: 10px 40px;
    }

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

    .search_img {
        width: 100%;
    }

    .panel_flex .search_list {
        width: 100%;
    }

    .panel_flex .search_list li {
        width: 100%;
    }
}

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

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

==================================================================================================================================*/
#columnSlider {
    position: relative;
}

#columnSlider::before {
    position: absolute;
    content: '';
    top: -15px;
    width: 100%;
    height: 20px;
    background: url(../images/wave.svg) repeat-x;
}

#columnSlider::after {
    position: absolute;
    content: '';
    display: block;
    left: 0;
    bottom: 0;
    width: 40%;
    height: calc(75% - 100px);
    background: linear-gradient(rgb(14 150 207 / 10%), rgb(17 199 143 / 10%)), url(../images/column_bg.jpg) center / cover no-repeat;
    z-index: -1;
}

#columnSlider .inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 130px;
    max-width: none;
    margin: 0 auto;
    padding: 100px 2% 140px 7%;
}

#columnSlider .top_title {
    flex-shrink: 0;
    text-align: left;
}

#columnSlider .top_title .eng {
    font-size: 500%;
}

/* ----- コラムスライダー設定 ----- */
#columnSlider .splide {
    width: 100%;
    padding-top: 95px;
    overflow: hidden;
}

#columnSlider .splide__list {
    align-items: flex-start;
    width: 100%;
}

/* スライダーのArrowボタン */
#columnSlider .splide__arrow {
    position: absolute;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(#bff1ff, #f9fffb, rgb(216 250 239));
    border: 1px solid #ffffff;
    color: var(--main-color);
    cursor: pointer;
    overflow: hidden;
    transform: translateZ(0);
    transition: background 0.2s, color 0.2s;
    border-radius: 50%;
}

#columnSlider .splide__arrow:hover {
    background: #ffffff;
    color: var(--main-color);
    border: 1px solid var(--main-color);
}

#columnSlider .splide__arrow span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    transition: background 0.2s;
}

#columnSlider .splide__arrow span::before {
    font-family: "Font Awesome 5 Free";
    font-style: normal;
    font-weight: 900;
}

#columnSlider .splide__arrow--prev {
    right: 70px;
}

#columnSlider .splide__arrow--prev span::before {
    content: "\f060";
}

#columnSlider .splide__arrow--next {
    right: 0;
}

#columnSlider .splide__arrow--next span::before {
    content: "\f061";
}

#columnSlider .splide__slide {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 200px;
    background: #fff;
    padding: 30px 30px 50px;
    z-index: 0;
    border: 1px solid var(--line-color);
    border-radius: 22px;
}

#columnSlider .splide__slide::before,
#columnSlider .splide__slide::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
}

#columnSlider .splide__slide::before {
    background: #70c0f2;
    border-radius: 20px;
    z-index: -2;
}

#columnSlider .splide__slide::after {
    background: #ffffff;
    border-radius: 50px;
    z-index: -1;
}

#columnSlider .splide__slide:nth-child(odd)::before {
    background: #a8d67c;
}


/* ----- ページネーション ----- */
#columnSlider .splide__pagination {
    position: absolute;
    top: 22px;
    right: 160px;
    z-index: 1;
    display: flex;
    gap: 15px;
}

#columnSlider .columnSlider-page {
    width: 10px;
    height: 10px;
    background-color: #d4d4d4;
    border-radius: 50%;
    transition: background 0.2s;
}

#columnSlider .columnSlider-page.is-active {
    background: var(--main-color);
}

/* ----- コラム個別 ----- */
#columnSlider .column_item a {
    width: 100%;
}

#columnSlider .column_item_thum {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    margin: 0 0 15px;
    overflow: hidden;
}

#columnSlider .column_item_thum img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
    aspect-ratio: 13 / 9;
    border-radius: 20px;
}

#columnSlider .column_item a:hover .column_item_thum img {
    transform: scale(1.1);
}

#columnSlider .column_item:first-child .column_item_thum::before {
    content: "New";
    position: absolute;
    top: -1px;
    left: -1px;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-self: center;
    width: 90px;
    height: 90px;
    padding: 10px 35px 0 0;
    background: var(--sub-color2);
    color: #ffffff;
    font-size: 16px;
    letter-spacing: 0.075em;
    opacity: 0.9;
    clip-path: polygon(0 0, 0% 90%, 100% 0);
    border-radius: 20px 0 0 0;
    font-family: var(--font-en);
}

#columnSlider .column_info {
    display: flex;
    flex-flow: wrap;
    gap: 15px;
    margin: 0 0 20px;
    color: #747474;
    font-size: 90%;
    font-family: var(--font-jp);
}

#columnSlider .column_date {
    flex-shrink: 0;
    color: #a3a3a3;
}

#columnSlider .column_info ul {
    display: flex;
    flex-flow: wrap;
    gap: 5px;
}

#columnSlider .column_info ul li {
    min-width: 80px;
    padding: 2px 10px;
    background: #ddf8ff;
    color: var(--main-color);
    font-size: 90%;
    text-align: center;
    border-radius: 30px;
}

#columnSlider .column_title {
    color: var(--main-color);
    font-size: 140%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s;
    font-family: var(--font-jp);
    padding: 0 5%;
}

#columnSlider .column_item a:hover .column_title {
    color: var(--main-color);
}

/*==============================================
  *SP　医療コラム
==============================================*/
@media screen and (max-width: 640px) {
    #columnSlider::after {
        width: 35%;
        height: calc(40% - 30px);
    }

    #columnSlider .inner {
        flex-flow: column;
        gap: 0;
        width: 100%;
        margin: 0 auto;
        padding: 70px 20px;
    }

    #columnSlider .top_title {
        margin: 0 auto 50px;
    }

    #columnSlider .splide {
        margin-right: -40px;
    }

    #columnSlider .splide__arrow {
        width: 50px;
        height: 40px;
    }

    #columnSlider .splide__arrow--next {
        right: 0;
    }

    #columnSlider .splide__arrow--prev {
        right: 60px;
    }

    #columnSlider .splide__pagination {
        top: 13px;
        right: auto;
        left: 0;
        justify-content: flex-end;
        gap: 13px;
        transform: translate(0);
    }

    #columnSlider .columnSlider-page {
        width: 8px;
        height: 8px;
    }

    #columnSlider .splide__slide:first-child .column_item_thum::before {
        width: 80px;
        height: 80px;
        padding: 13px 25px 0 0;
    }
}

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

  *お悩みの部位から探す - 追加コンテンツ

==================================================================================================================================*/
.body-parts .inner {
    padding: 0 2% 150px;
    max-width: 1500px;
}

.body-parts_bg {
    position: relative;
    background: #ffffff;
    padding: 100px 5% 80px;
    border-radius: 40px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 90px;
}

.body-parts_bg::before {
    position: absolute;
    content: '';
    bottom: -20px;
    left: 50px;
    width: 262px;
    height: 350px;
    background: url(../images/body_parts_person.png) no-repeat center / cover;
}

.body-parts_bg .top_title {
    position: relative;
    text-align: left;
    z-index: 0;
}

.body-parts_bg .top_title::before,
.body-parts_bg .top_title::after {
    display: block;
    content: '';
    position: absolute;
    filter: blur(50px);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    opacity: 0.4;
    z-index: -1;
}

.body-parts_bg .top_title::before {
    bottom: -60px;
    left: 50px;
    background: var(--sub-color1);
}

.body-parts_bg .top_title::after {
    bottom: -160px;
    left: 100px;
    background: var(--main-color);
}

.body-parts_bg .top_title h2 span {
    color: var(--sub-color1);
}

.body-parts_bg .top_title .eng {
    font-size: 400%;
}

.body-parts_wrap {
    position: relative;
    width: 100%;
    max-width: 850px;
    z-index: 1;
}

/* ----- 体の画像 ----- */
.body-parts_img {
    max-width: 250px;
    margin: 0 auto;
}

/* ----- 各部位の共通設定 ----- */
.body_parts_list>li {
    position: absolute;
    display: block;
}

/* ----- 各部位の位置 ----- */
#body-parts1 {
    top: 0;
    left: 0;
}

#body-parts1 .body_parts_title::before {
    top: 65%;
    right: -280px;
    width: 290px;
}

#body-parts2 {
    top: 0;
    right: 0;
}

#body-parts2 .body_parts_title::before {
    top: 75%;
    left: -252px;
    width: 265px;
    transform: rotate(350deg);
}

#body-parts3 {
    top: 170px;
    left: 0;
}

#body-parts3 .body_parts_title::before {
    top: 50%;
    right: -250px;
    width: 260px;
}

#body-parts4 {
    top: 170px;
    right: 0;
}

#body-parts4 .body_parts_title::before {
    top: 50%;
    left: -272px;
    width: 280px;
}

#body-parts5 {
    top: 340px;
    left: 0;
}

#body-parts5 .body_parts_title::before {
    top: 0;
    right: -290px;
    width: 320px;
    transform: rotate(345deg);
}

#body-parts6 {
    top: 340px;
    right: 0;
}

#body-parts6 .body_parts_title::before {
    top: 30%;
    left: -170px;
    width: 180px;
    transform: rotate(10deg);
}

#body-parts7 {
    top: 510px;
    left: 0;
}

#body-parts7 .body_parts_title::before {
    top: 0;
    right: -255px;
    width: 270px;
    transform: rotate(-16deg);
}

#body-parts8 {
    top: 510px;
    right: 0;
}

#body-parts8 .body_parts_title::before {
    top: 60%;
    left: -280px;
    width: 290px;
    transform: rotate(-10deg);
}

/* ----- 各部位のタイトル ----- */
.body_parts_title {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 130px;
    height: 130px;
    margin: 0 auto;
    padding: 5px 10px;
    border-radius: 50%;
    color: var(--main-color);
    font-family: var(--font-jp);
    font-size: 150%;
    line-height: 1.5;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(#bff1ff, #f9fffb, rgb(216 250 239));
}

.body_parts_title:hover {
    background: var(--sub-color1);
    color: #ffffff;
}

.body_parts_title::before {
    content: "";
    position: absolute;
    display: block;
    height: 1px;
    background: var(--line-color);
    z-index: -1;
}

/* -----　部位ごとの病状・病名　----- */
.body-parts_search {
    margin: 10px 0 0;
}

.body-parts_search li {
    line-height: 1.5;
}

.body-parts_search li:not(:last-child) {
    margin-bottom: 5px;
}

.body-parts_search li a {
    font-size: 95%;
}

/*==============================================
  *SP　お悩みの部位から探す（追加コンテンツ）
==============================================*/
@media screen and (max-width: 640px) {
    .body-parts_bg {
        display: block;
        padding: 50px 5% 80px;
    }

    .body-parts_bg::before {
        bottom: -90px;
        left: 0;
        width: 112px;
        height: 150px;
    }

    .body-parts .inner {
        padding: 0 4% 80px;
    }

    .body-parts_bg .top_title {
        text-align: center;
    }

    .body-parts_bg .top_title .eng {
        font-size: 270%;
    }

    .body-parts_wrap {
        max-width: 450px;
        margin: 0 auto;
    }

    .body-parts_img {
        width: 45%;
    }

    /* ----- 各部位の共通設定 ----- */
    .body_parts_list>li {
        padding: 8px;
    }

    /* ----- 各部位の位置 ----- */
    #body-parts1 {
        top: 0;
        left: 0;
    }

    #body-parts2 {
        top: 0;
        right: 0;
    }

    #body-parts3 {
        top: 25%;
        left: 0;
    }

    #body-parts4 {
        top: 25%;
        right: 0;
    }

    #body-parts5 {
        top: 50%;
        left: 0;
    }

    #body-parts6 {
        top: 50%;
        right: 0;
    }

    #body-parts7 {
        top: 75%;
        left: 0;
    }

    #body-parts8 {
        top: 75%;
        right: 0;
    }

    /* ----- 各部位のタイトル ----- */
    .body_parts_title {
        padding: 10px 15px;
        font-size: 120%;
        width: 90px;
        height: 90px;
    }

    .body_parts_title::before {
        display: none;
    }

    /* -----　部位ごとの病状・病名　----- */
    .body-parts_search {
        display: none;
    }
}

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

  *無限スライダー

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

#infinitySlider .splide__list {
    gap: 30px;
}

#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;
    }
}