@charset "UTF-8";

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

  *基本設定

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

section .inner {
    padding: 120px 0;
}

.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;
    letter-spacing: .25em;
    text-align: center;
    font-weight: 600;
    color: var(--main-color);
    /* 左寄せ */
}

.top_title.title_left {
    text-align: start;
    font-weight: 600;
}

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

.top_title .eng {
    display: inline-block;
    color: var(--sub-color);
    font-size: 150%;
    font-family: var(--font-eng);
    letter-spacing: .1em;
    font-weight: 600;
}

/* ==============================================
  *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: 18px;
    }
}

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

  *ヘッダー

======================================================================g============================================================ */
h1 {
    position: relative;
}

.header_logo_wrap {
    padding: 50px 0 0 70px;
}

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

  *メインビジュアル

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

.mainvisual {
    position: relative;
    z-index: 1;
    height: 800px;
    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;
    padding: 0 50px 0 25%;
}

/* フェードの専用スタイル */
.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;
    top: 75%;
    left: 0;
    z-index: 3;
    width: 100%;
    transform: translateY(-50%);
    padding-left: 50px;
}

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

.mvCatch span {
    display: block;
    background: #ffffff;
    width: fit-content;
    padding: 0 30px;
    border-radius: 5px;
    color: var(--main-color);
}

.mvCatch p {
    font-size: 250%;
    font-family: var(--font-jp);
    font-weight: 600;
    letter-spacing: .1em;
}

.sub_catch {
    font-size: 75%;
    margin-top: 10px;
}

/* ----- コンテンツ ----- */
.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: unset;
}

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

.open_bnr {
    position: absolute;
    right: 0;
    bottom: 120px;
    padding: 0px 120px 0px 0px;
}

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

.open_bnr .date {
    font-size: 110%;
    font-family: var(--font-eng);
}

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

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

/* サブカラー */
.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: 450px;
    }

    .mvImg img {
        padding: 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: 0;
        display: none;
        padding: 0;
    }

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

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

    .mvCatch p {
        font-size: 110%;
        line-height: 1.75;
    }

    .mvCatch span {
        border-radius: 0 5px 5px 0;
        padding: 10px;
    }

    .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;
        padding: 0;
        border-radius: 5px;
    }

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

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

  *バナーエリア

================================================================================================================================== */
.top_banner .inner {
    padding: 0 5% 170px;
    max-width: 1500px;
}

/* ----- 共通設定 ----- */
.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: 0;
    width: 100%;
    height: 100%;
    border-radius: 50px 5px 5px;
    background: #614545;
}

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

.top_banner .input a.banner_slide:hover {
    background: #ffffff;
    color: var(--main-color) !important;
}

.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: 47px 0 0 5px;
}

.top_banner .input .slide_inner {
    width: 100%;
    height: 100%;
    padding: 40px 25px 30px 27px;
    color: #ffffff;
}

.top_banner .input .slide_title {
    position: relative;
    margin: 0 auto 30px;
    padding-left: 30px;
    color: #ffffff;
    font-size: 120%;
    line-height: 1.5;
    letter-spacing: .12em;
    font-family: var(--font-jp);
    font-weight: 600;
}

.top_banner .input a.banner_slide:hover .slide_title,
.top_banner .input a.banner_slide:hover .slide_content {
    color: var(--main-color);
}

.top_banner .input .slide_title::after {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 20px;
    height: 20px;
    background: var(--sub-color);
    -webkit-mask: url(../images/arrow.svg) no-repeat center / cover;
    mask: url(../images/arrow.svg) no-repeat center / cover;
    transform: translateY(-50%);
    transition: right 0.2s, background 0.2s;
}

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

/* ----- グリッドバナー ----- */
.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) {
    .top_banner .inner {
        padding: 0 5% 70px;
    }

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

    .top_banner .input .slide_inner {
        padding: 30px 15px 40px 17px;
    }

    /* ----- スライダーバナー ----- */
    #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: 1;
}

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

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

.clinic .news .news_left {
    flex-shrink: 0;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
}

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

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

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

.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: 0;
    left: 0;
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    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 8px 50px;
}

.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 50px;
    font-size: 32px;
    letter-spacing: .12em;
    line-height: 1;
    font-family: var(--font-eng);
    font-weight: 600;
}

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

.clinic .info address .tel a {
    color: var(--sub-color);
}

.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;
    justify-content: space-between;
    gap: 10px;
    margin: 30px auto;
    font-family: var(--font-jp);
}

.clinic .info .speciality span {
    padding: 2px 20px;
    border-radius: 30px;
    min-width: 183px;
    text-align: center;
    border: solid 1px var(--main-color);
    color: #ffffff;
    background: var(--main-color);
}

.clinic .info .speciality span:nth-child(3) {
    color: var(--main-color);
    background: var(--bg2-color);
}

.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: center;
}

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

@media screen and (max-width: 640px) {
    .clinic .news .top_title {
        display: flex;
        align-items: center;
        gap: 30px;
        padding: 0 0 20px;
    }

    .clinic .news .top_title h2 {
        margin: 0;
    }

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

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

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

    .clinic .info .speciality {
        gap: 5px;
        padding: 0;
    }

    .clinic .info .speciality span {
        min-width: 100px;
        padding: 2px 6%;
    }

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

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

  *ご挨拶

================================================================================================================================== */
.greeting_section_img {
    display: block;
    position: relative;
    width: 90%;
    height: 620px;
    background: url(../images/greeting_section_img.jpg) no-repeat center / 100%;
    /* background-attachment: fixed; */
    margin: 0 auto 0 30px;
    border-radius: 10px 10px 200px;
}

.greeting_section_catch {
    position: absolute;
    right: -160px;
    bottom: 180px;
    font-family: var(--font-eng);
    font-size: 200%;
    letter-spacing: .12em;
    font-weight: 700;
    color: #d4bab3;
}

.greeting_section_catch span {
    display: block;
    background: #ffffff;
    padding: 10px 120px 10px 60px;
    border-radius: 5px 0 0 5px;
}

.greeting_section_catch .sub_catch {
    font-size: 60%;
    margin-top: 5px;
}

.greeting {
    position: relative;
}

.greeting::before {
    content: '';
    position: absolute;
    top: 160px;
    right: -80px;
    background: url(../images/greeting_right.jpg) no-repeat center / 100%;
    width: 300px;
    height: 300px;
    border-radius: 20px 0 0 130px;
    background-size: cover;
}

.greeting .top_title {
    writing-mode: vertical-rl;
    margin-top: -40px;
    margin-bottom: 0 !important;
}

.greeting h2 {
    font-size: 250%;
    padding: 0 0 0 7px;
}

.greeting .top_title .eng {
    letter-spacing: .1em;
}

.greeting .inner {
    position: relative;
    padding: 160px 3%;
}

.greeting .inner::before {
    position: absolute;
    bottom: -120px;
    right: 60px;
    content: '';
    background: url(../images/frog01.png) no-repeat;
    background-size: cover;
    width: 235px;
    height: 340px;
    z-index: 1;
}

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

.greeting_flex {}

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

.greeting_inner {
    width: calc(66% - 10px);
    margin: 0 auto 0 60px;
    background: #ffffff;
    padding: 70px;
    border-radius: 100px 20px 20px 20px;
}

.greeting_left {
    flex-shrink: 0;
}

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

.greeting_text h3 {
    position: relative;
    font-size: 170%;
    line-height: 1.65;
    margin-bottom: 40px !important;
    padding: 0 0 40px;
    font-weight: 600;
    color: var(--main-color);
    text-align: center;
    border-bottom: 2px solid #d4bfba;
}

.greeting_text h3::before,
.greeting_text h3::after {
    position: absolute;
    bottom: -3px;
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--main-color);
}

.greeting_text h3::before {
    left: -13px;
}

.greeting_text h3::after {
    right: -13px;
}

.greeting_text p {
    padding: 0 30px;
}

.greeting_profile {
    padding: 20px;
    background: var(--main-color);
    color: #ffffff;
    line-height: 1.75;
    text-align: center;
}

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

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

.greeting_btn_flex {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.greeting_btn {
    text-align: center;
}

.greeting_btn:nth-child(2) a {
    background: var(--main-color);
    border: 1px solid var(--main-color);
}

.greeting_btn:nth-child(2) a:hover {
    background: #ffffff;
    border: 1px solid var(--sub-color);
}

/* ==============================================
  *SP ご挨拶
============================================== */
@media screen and (max-width: 640px) {
    .greeting_section_img {
        width: 95%;
        height: 300px;
        background: url(../images/greeting_section_img.jpg) no-repeat center / 150%;
        margin: 0;
        border-radius: 10px 10px 90px;
    }

    .greeting_section_catch {
        right: -130px;
        bottom: 40px;
        font-size: 90%;
    }

    .greeting_section_catch span {
        padding: 10px 130px 10px 20px;
    }

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

    .greeting .inner::before {
        bottom: -40px;
        right: 40px;
        width: 115px;
        height: 166px;
        z-index: 0;
    }

    .greeting_box {
        display: block;
    }

    .greeting .top_title {
        margin: 0 0 40px !important;
        writing-mode: initial;
    }

    .greeting .top_title h2 {
        font-size: 150%;
        padding: 0;
    }

    .greeting_inner {
        width: 100%;
        margin: 0 auto;
        padding: 50px 10%;
        border-radius: 20px;
    }

    .greeting_text h3 {
        font-size: 140%;
        text-align: left;
    }

    .greeting_text p {
        padding: 0;
    }

    .greeting_btn_flex {
        display: block;
    }

    .greeting_btn {
        margin-top: 20px;
    }
}

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

  *診療案内

================================================================================================================================== */
.medical {
    border-radius: 20px;
    margin: 20px 30px 0;
    background-color: var(--main-color);
    background-image: radial-gradient(circle, #967973 1.5px, transparent 1.5px),
        radial-gradient(circle, #7d6e6b 1.5px, transparent 1.5px),
        radial-gradient(circle, #ad9995 1.5px, transparent 1.5px),
        radial-gradient(circle, #967973 1.5px, transparent 1.5px);
    background-position: 0 0, 8px 0, 4px 8px, 12px 8px;
    background-size: 16px 16px;
}

.medical .inner {
    padding: 100px 5%;
    display: flex;
    justify-content: space-between;
    max-width: 1500px;
}

.medical .top_title {
    color: #ffffff;
    text-align: left;
}

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

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

.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 {
    position: relative;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 30px 20px 70px;
    background: #ffffff;
    text-align: center;
    border-radius: 10px;
}

.medical_inner::after {
    content: "";
    position: absolute;
    bottom: 30px;
    left: 50%;
    display: block;
    width: 20px;
    height: 20px;
    background: var(--sub-color);
    -webkit-mask: url(../images/arrow.svg) no-repeat center / cover;
    mask: url(../images/arrow.svg) no-repeat center / cover;
    transform: translateX(-50%);
    transition: right 0.2s, background 0.2s
}

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

.medical_icon {
    max-width: 120px;
    margin: 0 auto 10px !important;
    padding: 10px;
    border-radius: 50%;
    background: #f7f0ef;
}

.medical_title h3 {
    color: var(--main-color);
    font-size: 140%;
    font-weight: 600;
}

.medical_title_eng {
    position: absolute;
    top: 12px;
    left: 10px;
    color: var(--sub-color);
    font-family: var(--font-eng);
    font-size: 10px;
    text-align: center;
    writing-mode: vertical-rl;
    margin: 0 !important;
}

.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 {
        margin: 10px 5% 0;
    }

    .medical .inner {
        display: block;
        padding: 40px 5% 20px;
    }

    .medical .top_title {
        text-align: center;
    }

    .medical_list {
        gap: 15px 10px;
        width: 100%;
    }

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

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

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

    .medical_icon {
        width: 50%;
    }
}

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

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

==================================================================================================================================*/
.feature {
    position: relative;
    background: #f7f0ef;
    border-radius: 20px;
    margin: 0 30px;
    z-index: 0;
}

.feature::before {
    content: '';
    position: absolute;
    top: -134px;
    left: 160px;
    background: url(../images/frog03.png) no-repeat;
    background-size: cover;
    width: 207px;
    height: 164px;
    opacity: .9;
}

.feature .top_title {
    position: relative;
    padding-top: 50px;
    margin-bottom: 60px;
}

.feature .top_title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    background: url(../images/tit_logo.svg) no-repeat;
    background-size: cover;
    width: 30px;
    height: 30px;
    transform: translateX(-50%);
}

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

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

.feature .inner {
    padding: 80px 3% 160px;
    max-width: 1500px;
}

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

.feature_item {
    width: calc(50% - 70px);
}

.feature_item:nth-child(even) {
    margin-top: 70px;
}

.feature_img {
    position: relative;
    padding: 0 0 0 100px;
    flex-shrink: 0;
    z-index: 0;
}

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

.feature_img::before {
    content: '';
    position: absolute;
    left: 85px;
    bottom: -17px;
    background-color: #f7f0ef;
    background-image: radial-gradient(circle, #ad8880 1px, transparent 1px), radial-gradient(circle, #7d544b 1px, transparent 1px), radial-gradient(circle, #7d544b 1px, transparent 1px), radial-gradient(circle, #ad8880 1px, transparent 1px);
    background-position: 0 0, 8px 0, 4px 8px, 12px 8px;
    background-size: 16px 16px;
    width: calc(100% - 90px);
    height: 100%;
    border-radius: 20px;
    z-index: -1
}

.feature_num {
    position: absolute;
    top: -40px;
    left: 0;
    margin: 0 !important;
    display: flex;
    flex-flow: column;
    align-items: center;
    gap: 20px;
    font-family: var(--font-eng);
    font-weight: 600;
    letter-spacing: .1em;
    color: var(--main-color);
    z-index: 1;
}

.feature_num .num {
    font-size: 120px;
    line-height: 90px;
}

.feature_num .eng {
    writing-mode: vertical-rl;
    font-size: 120%;
}

.feature_inner {
    position: relative;
    padding: 50px 5% 0;
    z-index: 2;
}

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

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

.feature_title h3 {
    position: relative;
    color: var(--main-color);
    text-align: center;
    font-size: 200%;
    line-height: 1.75;
    font-weight: 600;
    border-bottom: 2px solid #d4bfba;
    padding: 10px 20px 30px;
}

.feature_title h3::before,
.feature_title h3::after {
    position: absolute;
    bottom: -3px;
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--main-color);
}

.feature_title h3::before {
    left: -13px;
}

.feature_title h3::after {
    right: -13px;
}

.feature_inner p {
    padding: 0 30px;
}

.feature_item .btn01 {
    text-align: right;
}

.feature_item .btn01>* {
    padding: 8px 55px 8px 35px;
    font-size: 80%;
}

.btnflex_feature {
    display: flex;
    align-items: center;
    flex-flow: wrap;
    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 {
        padding-bottom: 0;
        margin: 7px 5%;
    }

    .feature::before {
        top: -77px;
        left: 20px;
        width: 120px;
        height: 95px;
    }

    .feature .inner {
        padding: 50px 5% 80px;
    }

    .feature_list {
        gap: 100px;
    }

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

    .feature_num {
        gap: 0;
    }

    .feature_num .num {
        font-size: 90px;
    }

    .feature_num .eng {
        padding-right: 50px;
    }

    .feature_img {
        width: 100%;
        margin: 0;
        padding: 0 0 0 40px;
    }

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

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

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

    .feature_title h3 {
        padding: 20px 0 30px;
        text-align: left;
        line-height: 1.5;
        font-size: 150%;
    }

    .feature_inner p {
        padding: 0;
    }

    .feature_item .btn01 {
        text-align: center;
    }

    /* 左右 */
    .feature_item:nth-child(even) {
        margin-top: 0;
    }

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

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

  *病状、症状から探す

================================================================================================================================== */
.search {}

.search .top_title {
    position: relative;
    padding-top: 50px;
    margin-bottom: 60px;
}

.search .top_title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    background: url(../images/tit_logo.svg) no-repeat;
    background-size: cover;
    width: 30px;
    height: 30px;
    transform: translateX(-50%);
}

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

.search .top_title .eng {
    font-size: 100%;
}

.search .inner {
    position: relative;
    z-index: 0;
    padding: 60px 5% 80px;
    max-width: 1500px;
}

.search .inner::before {
    content: '';
    position: absolute;
    top: 110px;
    right: 150px;
    background: url(../images/frog05.png) no-repeat;
    background-size: cover;
    width: 200px;
    height: 120px;
    opacity: .8;
}

.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: 105%;
    background: no-repeat;
    align-items: flex-start;
    flex: 0;
    color: var(--sub-color);
    padding: 10px 10px 18px 30px;
    border-bottom: 2px solid #d4bfba;
}

.search .tab_list li.active {
    color: var(--main-color);
    background: none;
}

.search .tab_list li.active::before {
    content: '';
    position: absolute;
    top: 46%;
    left: 10px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    transform: translateY(-50%);
    background: var(--main-color);
}

.search .panel_wrap {
    width: 80%;
}

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

.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: flex-start;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 80px;
    padding: 10px 45px 10px 30px;
    background: #ffffff;
    color: var(--main-color);
    border-radius: 10px;
    font-family: var(--font-jp);
}

.search_list li a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 15px;
    display: block;
    width: 20px;
    height: 20px;
    background: var(--sub-color);
    -webkit-mask: url(../images/arrow.svg) no-repeat center / cover;
    mask: url(../images/arrow.svg) no-repeat center / cover;
    transform: translateY(-50%);
    transition: background 0.2s;
    z-index: 1;
}

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

/* ----- 画像あり ----- */
.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 .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: column;
        gap: 7px;
        margin: 0 0 15px;
    }

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

    .search .panel_wrap {
        width: 100%;
    }

    .search_list {
        gap: 10px;
    }

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

    .search_list li a {}

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

    .search_img {
        width: 100%;
    }

    .panel_flex .search_list {
        width: 100%;
    }

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

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

  *ピックアップ（パターン02） - 追加コンテンツ

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

.pickup .inner {
    padding: 50px 5% 100px;
    width: 100%;
    max-width: 1500px;
}

.pickup_list {
    display: flex;
    flex-flow: wrap;
    justify-content: space-between;
}

.pickup_item {
    position: relative;
    width: calc(50% - 30px);
}

.pickup_inner {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    height: auto;
}

.pickup_title_eng {
    position: absolute;
    top: -40px;
    left: 0;
    font-family: var(--font-eng);
    font-weight: 600;
    letter-spacing: .2em;
    color: #ffffff;
    background: var(--main-color);
    padding: 5px 50px;
    border-radius: 5px 14px 0 0;
}

.pickup_title {
    position: absolute;
    bottom: 40px;
    left: -20px;
    border-radius: 10px;
    font-family: var(--font-jp);
    font-weight: 600;
    color: var(--main-color);
    z-index: 2;
}

.pickup_title span {
    background: #ffffff;
    display: block;
    margin-bottom: 6px;
    width: fit-content;
    padding: 5px 30px;
    border-radius: 5px;
    color: var(--main-color);
}

.pickup_title h2,
.pickup_title h3 {
    background: none;
    font-size: 160%;
}

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

.pickup_img img {
    border-radius: 0 20px 20px 20px;
}

.pickup_text {
    margin: 50px 7% 70px;
}

.pickup_link {
    display: flex;
    flex-flow: wrap;
    gap: 10px;
    height: 100%;
    margin-top: 50px;
}

.pickup_link .pickup_btn {
    width: calc((100% / 2) - (10px / 2));
    height: fit-content;
}

.pickup_link .pickup_btn a {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    padding: 10px 35px;
    background: var(--main-color);
    border: 1px solid var(--main-color);
    color: #ffffff;
    font-family: var(--font-jp);
    font-size: 95%;
    letter-spacing: 0.15em;
    transition: background 0.2s, color 0.2s;
    border-radius: 30px;
}

.pickup_link .pickup_btn a:hover {
    background: #ffffff;
    color: var(--main-color);
}

.pickup_link .pickup_btn a::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 15px;
    display: block;
    width: 20px;
    height: 20px;
    background: #ffffff;
    -webkit-mask: url(../images/arrow.svg) no-repeat center / cover;
    mask: url(../images/arrow.svg) no-repeat center / cover;
    transform: translateY(-50%);
    transition: right 0.2s, background 0.2s;
}

.pickup_link .pickup_btn a:hover::before {
    background: var(--main-color);
}

/* 偶数 */
.pickup_item:nth-child(even) .pickup_title_eng {
    background: var(--sub-color);
}

.pickup_item:nth-child(2) .pickup_link .pickup_btn a {
    background: var(--sub-color);
    border: 1px solid var(--sub-color);
}

.pickup_item:nth-child(even) .pickup_link .pickup_btn a:hover {
    background: #ffffff;
    color: var(--sub-color);
}

.pickup_item:nth-child(even) .pickup_link .pickup_btn a:hover::before {
    background: var(--sub-color);
}

/*==============================================
  *SP　ピックアップ（追加コンテンツ）
==============================================*/
@media screen and (max-width:640px) {
    .pickup .inner {
        padding: 30px 0 0;
    }

    .pickup .top_title {
        margin: 0 auto 50px;
        padding: 0 20px;
    }

    .pickup_title h2,
    .pickup_title h3 {
        font-size: 130%;
    }

    .pickup_title_eng {
        top: -37px;
    }

    .pickup_list {
        width: calc(100%);
    }

    .pickup_item {
        width: 100%;
        padding: 50px 20px !important;
    }

    .pickup_title {
        bottom: 10px;
        left: -20px;
    }

    .pickup_inner {
        max-width: none;
        min-height: auto;
        margin: 0 !important;
    }

    .pickup_text {
        margin: 30px 7% 0;
    }

    .pickup_link {
        min-height: auto;
        margin-top: 30px;
    }

    .pickup_link .pickup_btn {
        width: 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 0 10px;
}

#infinitySlider .splide__list {
    gap: 20px;
}

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

#infinitySlider .splide__slide:nth-child(odd) {
    margin-top: 30px;
}

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

/* ==============================================
  *SP 無限スライダー
============================================== */
@media screen and (max-width: 640px) {
    #infinitySlider {
        padding: 50px 10px;
    }

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