@charset "UTF-8";

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

  *基本設定

================================================================================================================================== */
.front {
    overflow: hidden;
    background: #f4f3ef;
}

section .inner {
    padding: 100px 50px;
    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.title_left .eng {
    font-size: 500%;
    letter-spacing: 8px;
    line-height: 1;
    color: #d2cdb7;
}

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

.top_title .eng {
    display: inline-block;
    color: var(--btn-color);
    font-size: 150%;
    font-family: var(--font-en);
    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 {
        font-size: 18px;
    }
}

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

  *メインビジュアル

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

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

.mvSlider::before,
.mvSlider::after {
    display: block;
    content: "";
    position: absolute;
    z-index: 2;
    right: 0;
    width: calc(100% - 80px);
}

.mvSlider::before {
    top: 0;
    height: 180px;
    background: linear-gradient(rgba(255, 255, 255), rgba(255, 255, 255), transparent);
}

.mvSlider::after {
    bottom: 0;
    height: 55%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.2));
    border-radius: 0 0 0 80px;
}

/* ----- スライダーの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%;
    padding-left: 80px;
}

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

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

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

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

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

.mvCatch .inner {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: none;
}

.catch_box {
    padding-left: 170px;
}

.mvCatch p {
    font-size: 160%;
    writing-mode: vertical-rl;
    font-family: var(--font-jp);
    text-shadow: 0 0 3px #fff, 0 0 3px #fff;
}

/* ----- コンテンツ ----- */
.mvContents {
    position: absolute !important;
    top: 0;
    z-index: 3;
    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;
    top: 250px;
    right: 50px;
    display: inline-block;
    padding: 4px;
    background: rgba(246, 144, 28, 0.8);
    border-radius: 50%;
}

.open_bnr>* {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    width: 220px;
    height: 220px;
    padding: 30px 20px 25px;
    border-radius: 50%;
    background: url(../images/ore_bg.jpg) no-repeat center / cover;
    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 .open_text {
    margin: 0 0 10px;
    font-size: 180%;
}

.open_bnr .nairankai_tit {
    display: block;
    width: 100%;
    margin: 0 0 10px;
    padding: 5px 10px;
    border: 1px solid #ffffff;
    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: 600px;
    }

    .mvImg {
        padding-left: 0;
    }

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

    .mvSlider::before,
    .mvSlider::after {
        width: 100%;
        border-radius: 0;
    }

    .mvSlider::after {
        background: linear-gradient(transparent, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.7));
    }

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

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

    .catch_box {
        padding-left: 0;
    }

    .mvCatch p {
        font-size: 109%;
        line-height: 1.75;
        writing-mode: lr;
    }

    .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;
        border-radius: 0;
        z-index: 2;
    }

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

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

  *バナーエリア

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

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

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

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

/* インプットバナー */
.top_banner .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 {
    position: relative;
    z-index: 0;
}

.clinic::before {
    position: absolute;
    content: "";
    top: -180px;
    left: 0;
    background: url(../images/water_ore03.png) no-repeat top / cover;
    width: 610px;
    height: 513px;
    z-index: -1;
}

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

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

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

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

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

.clinic .news .btn01>* {
    background: none;
    border: none;
    border-bottom: 1px solid var(--btn-color);
    color: var(--btn-color);
    border-radius: 0px;
}

.clinic .news .btn01>*::before {
    background: rgb(228 224 206);
}

.clinic .news .btn01>*::after {
    background: var(--btn-color);
}

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

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

.clinic .info .logo {
    text-align: center;
    margin-bottom: 30px;
}

.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: 40px;
    height: 40px;
    padding: 0 0 0 2px;
    background: #e4e0ce;
    border-radius: 50%;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--btn-color);
    font-size: 16px;
}

.clinic .info address .location {
    padding: 5px 0 5px 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: 30px;
    line-height: 1;
    letter-spacing: 3px;
    font-family: var(--font-en);
}

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

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

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

.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: 10px;
    margin: 30px auto 0;
}

.clinic .info .speciality>span {
    width: 33%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    border-radius: 20px;
}

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

.clinic .info .speciality>span:nth-child(2) {
    background: var(--sub-color);
}

.clinic .info .speciality>span:nth-child(3) {
    background: var(--sub-color2);
}

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

.clinic .info .illustmap {
    margin-bottom: 30px;
}

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

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

@media screen and (max-width: 640px) {
    .clinic::before {
        top: 30px;
    }

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

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

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

    .clinic .info .logo {
        width: 80%;
        margin: 0 auto 30px;
    }

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

    .clinic .info .speciality>span {
        width: 100%;
    }
}

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

  *ご挨拶

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

.greeting::before,
.greeting::after {
    position: absolute;
    content: "";
    left: 0;
    z-index: -1;
}

.greeting::before {
    top: -50px;
    background: url(../images/water_ore03.png) no-repeat center / cover;
    width: 610px;
    height: 513px;
}

.greeting::after {
    top: -180px;
    background: url(../images/water_ore02.png) no-repeat center / cover;
    width: 1920px;
    height: 804px;
    opacity: 0.5;
    pointer-events: none;
}

.greeting .inner {
    position: relative;
    max-width: none;
    padding: 0 0 150px;
}

.greeting .inner::after {
    position: absolute;
    content: "";
    right: -90px;
    bottom: 180px;
    background: url(../images/logo_bg.svg) no-repeat center / cover;
    width: 605px;
    height: 494px;
    z-index: -1;
}

.greeting .top_title.title_left {
    padding: 30px 80px 50px;
    margin: 0 auto;
    max-width: none;
    display: flex;
    align-items: baseline;
    gap: 20px;
}

.greeting .top_title h2 {
    font-size: 130%;
    color: var(--btn-color);
}

.greeting_box .top_title.title_left .eng {
    color: #ffffff;
    font-size: 670%;
}

.greeting_catch {
    position: relative;
    display: flex;
    gap: 100px;
    padding: 0 0 100px 80px;
    text-shadow: 0 0 10px #ffffff, 0 0 10px #ffffff, 0 0 10px #ffffff, 0 0 10px #ffffff, 0 0 10px #ffffff;
    font-family: var(--font-jp);
}

.greeting_catch h3 {
    font-size: 190%;
    line-height: 1.55;
    margin-bottom: 40px !important;
}

.greeting_catch .text {
    width: 100%;
}

.greeting_catch .text p {
    font-size: 120%;
}

.greeting_catch .greeting_section {
    margin-top: -180px;
    width: 80%;
}

.greeting_catch .greeting_section img {
    width: 100%;
    height: 440px;
    object-fit: cover;
}

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

.greeting_flex {
    display: flex;
    align-items: center;
    gap: 80px;
    padding: 0 50px;
}

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

.greeting_left {
    max-width: 600px;
}

.greeting_img {
    position: relative;
    margin-top: -50px;
    z-index: 0;
}

.greeting_img img {
    border-radius: 20px 80px 20px 20px;
}

.greeting_img::after {
    position: absolute;
    content: "";
    bottom: 0;
    width: 100%;
    height: 55%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.2));
    border-radius: 0 0 20px 20px;
}

.greeting_profile {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: #ffffff;
    line-height: 1.75;
    text-align: left;
    font-family: var(--font-jp);
    z-index: 1;
}

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

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

.greeting_profile .name span {
    font-size: 70%;
    margin-right: 12px;
}

.greeting_btn {
    margin-top: 20px;
    text-align: left;
}

.greeting_right {
    max-width: 600px;
    font-family: var(--font-jp);
}

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

/* ==============================================
  *SP ご挨拶
============================================== */
@media screen and (max-width: 640px) {
    .greeting .inner {
        padding: 0 0 60px;
    }

    .greeting .inner::after {
        right: -10px;
        bottom: -10px;
        width: 315px;
        height: 254px;
    }

    .greeting .top_title.title_left {
        flex-flow: column;
        padding: 30px 20px 50px;
        gap: 0;
    }

    .greeting_box .top_title.title_left .eng {
        color: #ffffff;
        letter-spacing: 4px;
        font-size: 300%;
    }

    .greeting .top_title h2 {
        writing-mode: lr;
        margin-top: 0;
    }

    .greeting_catch {
        flex-flow: column;
        padding: 0 20px 30px 20px;
        gap: 0;
    }

    .greeting_catch .greeting_section {
        margin: 30px auto 0;
    }

    .greeting_catch .greeting_section img {
        height: 200px;
    }

    .greeting_flex {
        flex-flow: wrap;
        gap: 25px;
        padding: 0 20px;
    }

    .greeting_left {
        width: 100%;
    }

    .greeting_img {
        margin-top: 0;
    }

    .greeting_img::after {
        display: none;
    }

    .greeting_profile {
        position: relative;
        left: 0;
        right: 0;
        bottom: auto;
        margin: 30px auto 0;
        color: var(--btn-color);
        padding: 0 20px;
        text-align: center;
    }

    .greeting_btn {
        margin-top: 40px;
        text-align: center;
        padding: 0 20px;
    }

    .greeting_btn>* {
        width: 100%;
    }

    .greeting_catch .text p {
        font-size: 110%;
    }
}

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

  *診療案内

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

.medical::before {
    position: absolute;
    content: "";
    top: 300px;
    right: 0;
    background: url(../images/water_ore03.png) no-repeat top / cover;
    width: 610px;
    height: 513px;
    transform: rotateY(180deg);
}

.medical::after {
    position: absolute;
    content: "";
    bottom: 0;
    left: 0;
    background: #eceae3;
    width: 55%;
    height: 62%;
    z-index: -1;
}

.medical_section {
    padding: 0 140px 0 50px;
    margin: auto;
    max-width: 1800px;
}

.medical_section img {
    position: relative;
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.medical .inner {
    padding: 150px 50px;
}

.medical .top_title {
    display: flex;
    align-items: baseline;
    gap: 20px;
}

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

.medical .top_title h2 {
    font-size: 120%;
    color: var(--btn-color);
}

.medical_list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 1100px;
    margin: auto;
}

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

.medical_item::before,
.medical_item::after {
    display: block;
    content: "";
    position: absolute;
}

.medical_item::before {
    right: 0;
    bottom: 0;
    width: 45px;
    height: 40px;
    background: #f4f3ef;
    border-radius: 50% 0 10px;
}

.medical_item::after {
    right: 13px;
    bottom: 15px;
    width: 14px;
    height: 7px;
    background: var(--btn-color);
    -webkit-mask: url(../images/btn_arrow.png) no-repeat center/cover;
    mask: url(../images/btn_arrow.png) no-repeat center/cover;
}

.medical_item:hover::before {
    background: var(--main-color);
}

.medical_item:hover::after {
    background: #ffffff;
}

.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: 230px;
    background: rgba(255, 255, 255);
    text-align: center;
    border-radius: 0 0 20px 0;
    box-shadow: 0 3px 15px rgba(90, 74, 55, 0.1);
}

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

.medical_icon {
    width: 70%;
    max-width: 95px;
    padding: 20px;
    margin: 0 auto 15px !important;
    border-radius: 50%;
    background: url(../images/ore_bg.jpg) no-repeat center / cover;
}

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

.medical_title_eng {
    color: var(--btn-color);
    font-size: 14px;
    line-height: 1;
    letter-spacing: 1px;
    text-align: center;
    font-family: var(--font-en);
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    position: absolute;
    top: 15px;
    left: 20px;
}

.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);
}

/* ----- 先頭2つの設定----- */
.medical_item:nth-of-type(-n + 2) {
    width: calc(50% - 5px);
    min-height: 300px;
}

.medical_item:nth-of-type(-n + 2) .medical_inner {
    padding: 0;
}

.medical_item:nth-of-type(-n + 2) .medical_icon {
    max-width: 150px;
    padding: 25px;
    background: url(../images/blue_bg.jpg) no-repeat center / cover;
}

.medical_item:nth-of-type(-n + 2) .medical_title h3 {
    font-size: 160%;
}

/* ==============================================
  *SP 診療案内
============================================== */
@media screen and (max-width: 640px) {
    .medical_section {
        padding: 80px 50px 0 20px;
    }

    .medical_section img {
        height: 200px;
    }

    .medical::before {
        top: 230px;
        width: 230px;
        height: 233px;
    }

    .medical .inner {
        padding: 50px 20px;
    }

    .medical .top_title.title_left {
        flex-flow: column;
        gap: 0;
    }

    .medical .top_title.title_left .eng {
        letter-spacing: 4px;
        font-size: 300%;
    }

    .medical .top_title h2 {
        writing-mode: lr;
        margin-top: 0;
    }

    .medical_list {
        gap: 15px 10px;
    }

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

    .medical_icon {
        width: 50%;
    }

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

    .medical_title_eng {
        font-size: 12px;
        top: 15px;
        left: 9px;
    }

    /* ----- 先頭2つの設定----- */
    .medical_item:nth-of-type(-n + 2) {
        width: 100%;
    }

    .medical_item:nth-of-type(-n + 2) .medical_icon {
        width: 30%;
    }

    .medical_item:nth-of-type(-n + 2) .medical_title h3 {
        font-size: 140%;
    }
}

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

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

================================================================================================================================== */
.feature {
    position: relative;
    background: var(--bg-color);
    z-index: 0;
}

.feature::before,
.feature::after {
    position: absolute;
    content: "";
    left: 0;
    z-index: -1;
}

.feature::before {
    top: 180px;
    background: url(../images/water_ore03.png) no-repeat center / cover;
    width: 610px;
    height: 513px;
}

.feature::after {
    bottom: 0;
    background: url(../images/water_ore02.png) no-repeat center / cover;
    width: 1920px;
    height: 804px;
}

.feature .inner {
    padding: 100px 50px 150px;
}

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

.feature_item {
    position: relative;
    display: flex;
    flex-flow: column;
    width: calc(33.3333333333% - 20px);
    height: auto;
    counter-increment: number 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(90, 74, 55, 0.1);
}

.feature_num {
    margin: 0 0 0 !important;
    font-size: 150%;
}

.feature_num span {
    color: var(--main-color);
    font-size: 140%;
}

.feature_img {
    position: relative;
}

.feature_img::before {
    position: absolute;
    right: 25px;
    bottom: 20px;
    content: '0' counter(number);
    font-family: var(--font-en);
    font-size: 70px;
    line-height: 70px;
    color: #ffffff;
    z-index: 1;
}

.feature_img::after {
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.2))
}

.feature_inner {
    display: flex;
    flex-flow: column;
    height: 100%;
    padding: 25px 40px 35px;
    background: #ffffff;
}

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

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

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

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

.feature_item .btn01>* {
    width: 100%;
    border-radius: 0 0 10px 10px;
    padding: 25px 65px 25px 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: 60px 20px 80px;
    }

    .feature_list {
        gap: 30px;
    }

    .feature_item {
        width: 100%;
    }

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

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

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

  *病状、症状から探す

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

.search::after {
    position: absolute;
    content: "";
    bottom: -120px;
    right: 0;
    background: #ffffff;
    width: 85%;
    height: 70%;
    z-index: -1;
}

.search .inner {
    padding: 130px 50px 120px;
}

.search .tab_wrap {
    display: flex;
    justify-content: center;
    gap: 40px;
}

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

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

.search .panel_wrap {
    width: 80%;
}

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

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

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

/* ----- リンクボタン ----- */
.search_list li a {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 80px;
    padding: 10px 55px 10px 20px;
    background: #f4f3ef;
    color: var(--text-color);
    font-family: var(--font-jp);
    line-height: 1.35;
    border-radius: 0 0 20px 0;
}

.search_list li a::before,
.search_list li a::after {
    display: block;
    content: "";
    position: absolute;
}

.search_list li a::before {
    right: 0;
    bottom: 0;
    width: 35px;
    height: 30px;
    background: #ffffff;
    border-radius: 50% 0 10px;
}

.search_list li a::after {
    right: 10px;
    bottom: 11px;
    width: 14px;
    height: 7px;
    background: var(--btn-color);
    -webkit-mask: url(../images/btn_arrow.png) no-repeat center/cover;
    mask: url(../images/btn_arrow.png) no-repeat center/cover;
}

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

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

/* ----- 画像あり ----- */
.panel_flex.active {
    display: flex;
    flex-flow: column;
    gap: 20px;
    padding: 0;
    background: none;
}

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

.search_img img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}


.panel_flex .search_list {
    width: 100%;
}

.panel_flex .search_list li {
    width: calc(33% - 4.3333333333px);
}

/* ==============================================
  *SP 病状、症状から探す
============================================== */
@media screen and (max-width: 640px) {
    .search::after {
        bottom: 0;
        right: 0;
        width: 100%;
        height: 82%;
    }

    .search .inner {
        padding: 60px 20px;
    }

    .search .tab_wrap {
        flex-flow: column;
        gap: 10px;
    }

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

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

    .search .panel_wrap {
        width: 100%;
    }

    .search .panel {}

    .search_list {
        gap: 10px;
    }

    .search_list li {
        width: 100%;
    }

    .search_list li a {
        min-height: 50px;
    }

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

    .search_img {
        width: 100%;
    }

    .search_img img {
        height: 190px;
    }

    .panel_flex .search_list {
        width: 100%;
    }

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

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

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

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

.column::after {
    position: absolute;
    content: "";
    left: 0;
    bottom: -120px;
    background: url(../images/water_ore02.png) no-repeat center / cover;
    width: 1920px;
    height: 804px;
    z-index: -1;
}

.column .inner {
    padding: 80px 50px 140px;
}

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

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

.column_box {
    width: calc(25% - 11.75px);
    background: #ffffff;
    box-shadow: 0 3px 15px rgba(90, 74, 55, 0.1);
}

.column_box dt a {
    display: block;
    padding: 20px 10px;
    background: url(../images/blue_bg.jpg) no-repeat center / cover;
    color: #ffffff;
    font-size: 110%;
    text-align: center;
}

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

.column_box dd::before,
.column_box dd::after {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: right 0.2s, background 0.2s;
}

.column_box dd::before {
    right: 10px;
    width: 30px;
    height: 30px;
    background: #f4f3ef;
    border-radius: 50%;
}

.column_box dd::after {
    right: 19px;
    width: 14px;
    height: 7px;
    background: var(--btn-color);
    -webkit-mask: url(../images/btn_arrow.png) no-repeat center/cover;
    mask: url(../images/btn_arrow.png) no-repeat center/cover;
}

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

.column_box dd:hover::after {
    background: #ffffff;
}

.column_box dd:last-child {
    border-bottom: none;
}

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

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

/* ==============================================
  *SP 医療コラム
============================================== */
@media screen and (max-width: 640px) {
    .column .inner {
        padding: 70px 20px 80px;
    }

    .column_list {
        gap: 20px;
    }

    .column_box {
        width: 100%;
    }
}

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

  *無限スライダー

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

#infinitySlider .splide__list {
    gap: 40px;
}

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

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

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