@charset "UTF-8";

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

  *基本設定

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

section .inner {
    padding: 100px 0;
    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;
    letter-spacing: 0.2em;
    text-align: center;
}

.top_title span {
    display: inline-block;
    margin-bottom: 30px;
    padding: 10px 0;
    background: linear-gradient(#937851, #937851 60%, #62b4a3 60%, #62b4a3);
    color: var(--main-color);
    font-family: var(--font-jp);
    font-size: 650%;
    line-height: 1;
    letter-spacing: 0.05em;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* 左寄せ */
.top_title.title_left {
    text-align: start;
}

.top_title.title_left span {
    margin-top: 5px;
}

/* ==============================================
  *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: 300%;
    }
}

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

  *メインビジュアル

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

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

.mvSlider::after {
    display: block;
    content: "";
    position: absolute;
    z-index: 2;
    right: 0;
    left: 0;
    bottom: 0;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    10% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

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

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

@keyframes hideTranslate {

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

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

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

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

.mvCatch p {
    font-size: 300%;
    /* text-shadow: 0 10px 10px rgba(0, 0, 0, 0.3); */
    font-family: var(--font-jp);
    color: #ffffff;
    line-height: 1.5;
}

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

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

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

.open_bnr {
    position: absolute;
    left: 0;
    bottom: 40px;
    width: 270px;
    height: 270px;
    border-radius: 50%;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    background: rgba(99, 83, 58, 0.45);
}

.open_bnr>* {
    color: #ffffff;
    font-size: 110%;
    line-height: 1.5;
    text-align: center;
    font-family: var(--font-jp);
    /* text-shadow: 0 5px 5px rgba(0, 0, 0, 0.15); */
}

.open_bnr .open_box {
    padding-bottom: 5px;
}

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

.open_bnr .open_text {
    font-size: 270%;
}

.open_bnr .r_txt {
    line-height: 1.75;
}

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

.nairakai_date {
    line-height: 1.65;
}

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

.sp_only {
    display: none;
}

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

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

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

    .mvCatch p {
        font-size: 130%;
        line-height: 1.75;
        text-align: center;
    }

    /* .mvContents {
        display: none;
    } */

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

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

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

    .open_bnr {
        left: auto;
        right: 20px;
        bottom: 30px;
        width: 200px;
        height: 200px;
    }

    .open_bnr .open_text {
        font-size: 160%;
    }

    .open_bnr>* {
        font-size: 100%;

    }
}

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

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

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

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

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

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

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

.clinic .news .top_title .eng {
    font-size: 400%;
    padding: 0;
    margin-bottom: 10px;
}

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

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

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

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

.clinic .info address>*::before {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    padding: 0 0 0 2px;
    background: var(--bg-beige);
    border-radius: 50%;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--main-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: 34px;
    line-height: 1;
    letter-spacing: 5px;
    font-family: var(--font-en);
    color: var(--sub-color);
}

.clinic .info address .tel::before {
    content: "\f3cd";
    background: var(--bg-green);
    color: var(--sub-color);
}

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

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

.clinic .info address .fax::before {
    content: "\f249";
    background: var(--bg-green);
    color: var(--sub-color);
}

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

.clinic .info .speciality {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 20px auto 0;
    font-family: var(--font-jp);
}

.clinic .info .speciality span {
    width: calc((100% / 2) - (20px / 2));
    background: var(--bg-gray);
    text-align: center;
    padding: 10px;
}

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

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

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

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

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

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

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

    .clinic .news .top_title .eng {
        font-size: 300%;
        margin-bottom: 0;
    }

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

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

    .clinic .info address .tel {
        padding: 5px 0 0 50px;
        font-size: 30px;
    }

    .clinic .info .speciality {
        gap: 10px;
    }

    .clinic .info .speciality span {
        width: calc((100% / 2) - (10px / 2));
    }

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

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

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

  *ピックアップ（パターン01）

==================================================================================================================================*/
.pickup {
    position: relative;
    background: url(../images/pickup_tit_bg.jpg) no-repeat top center / 1920px;
    z-index: 0;
}

.pickup::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 370px;
    background: linear-gradient(rgba(51, 114, 95, 0.8), rgba(55, 50, 43, 0.8));
    z-index: -1;
}

.pickup .inner {
    width: 100%;
    max-width: none;
    padding: 120px 0 80px;
}

.pickup .top_title {
    padding: 0 max(3.5vw, 100px) 50px;
    margin-bottom: 0;
    display: flex;
    align-items: baseline;
    gap: 30px;
    color: #ffffff;
}

.pickup .top_title span {
    margin-bottom: 5px;
    background: linear-gradient(#c6e5d4, #c6e5d4 60%, #83d1c1 60%, #83d1c1);
    color: #ffffff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.pickup_item {
    display: flex;
    align-items: flex-end;
    width: 100%;
}

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

.pickup_inner {
    order: 2;
    width: calc(55%);
    height: fit-content;
    padding: 70px max(3.5vw, 80px) 80px;
    background: #ffffff;
    margin: 0 0 0 -70px;
    z-index: 2;
}

.pickup_title {
    position: relative;
    z-index: 2;
}

.pickup_title::before,
.pickup_title::after {
    position: absolute;
    content: '';
    bottom: 0;
    z-index: 0;
}

.pickup_title::before {
    width: 15%;
    right: -157px;
    border-bottom: 1px solid #ffffff;
}

.pickup_title::after {
    width: calc(100% + 390px);
    border-bottom: 1px solid var(--line-color);
    right: -100px;
}

.pickup_title h2,
.pickup_title h3 {
    background: none;
    font-size: 200%;
    line-height: 1.5;
    margin-bottom: 50px;
    padding-bottom: 30px;
    color: var(--text-color);
}

.pickup_title span {
    color: var(--main-color);
    font-family: var(--font-jp);
}

.pickup_link {
    display: flex;
    flex-flow: wrap;
    gap: 30px;
    margin-top: auto;
}

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

.pickup_link .pickup_btn a {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 50px;
    transition: 0.2s ease;
    font-family: var(--font-jp);
    border-bottom: 1px solid #dad9d9;
    color: var(--text-color);
    font-size: 110%;
}

.pickup_link .pickup_btn a::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 13px;
    height: 12px;
    background: var(--sub-color);
    -webkit-mask: url(../images/icon_arrow.svg) no-repeat center/cover;
    mask: url(../images/icon_arrow.svg) no-repeat center/cover;
    transition: 0.2s ease;
}

.pickup_link .pickup_btn a:hover {
    color: var(--sub-color);
}

.pickup_link .pickup_btn a:hover::after {
    -webkit-transform: rotateX(180deg);
    transform: rotateX(180deg);
}


.pickup_link .pickup_btn a[href="#"] {
    position: relative;
    pointer-events: none;
}

.pickup_link .pickup_btn a[href="#"]::before {
    content: "準備中";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    pointer-events: none;
}

/* 奇数 */
.pickup_item:nth-child(odd) {
    flex-flow: row-reverse;
}

.pickup_item:nth-child(odd) .pickup_inner {
    margin: 0 -70px 0 0;
}

/* 偶数 */

.pickup_item:nth-child(even) .pickup_title::before {
    right: auto;
    left: -174px;
}

.pickup_item:nth-child(even) .pickup_title::after {
    right: auto;
    left: -100px;
}


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

    .pickup .top_title {
        padding: 0 20px;
        margin-bottom: 30px;
        gap: 0;
        flex-flow: column;
    }

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

    .pickup_title h2,
    .pickup_title h3 {
        font-size: 145%;
        margin-bottom: 20px;
    }

    .pickup_item {
        display: block;
        flex-flow: column;
        width: 100%;
    }

    .pickup_img {
        z-index: -1;
        width: 90%;
    }

    .pickup_inner {
        width: 100%;
        margin: -70px auto !important;
        padding: 30px 20px 40px;
    }

    .pickup_link {
        min-height: auto;
        margin-top: 20px;
        gap: 10px;
    }

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

    .pickup_link .pickup_btn a {
        font-size: 90%;
    }

    /* 偶数 */
    .pickup_item:nth-child(even) {
        flex-flow: column;
    }

    .pickup_item:nth-child(even) .pickup_img {
        margin: 0 0 0 auto;
    }

    .pickup_item:nth-child(even) .pickup_inner {
        margin: -30px auto 0 0;
    }
}

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

  *ご挨拶

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

.grid_img {
    display: grid;
    gap: 20px;
    grid-template-columns: 2fr 1fr;
    margin: 0 80px auto 0;
    grid-template-areas: "img01 img02";
}

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

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

.greeting .inner {
    padding: 130px 5rem 100px;
    max-width: 1700px;
}

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

.greeting .top_title .eng {
    margin-bottom: 0;
}

.greeting .top_title h2 {
    padding-left: 10px;
    font-size: 150%;
    color: #419a88;
}

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

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

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

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

.greeting_text h3 {
    position: relative;
    font-size: 170%;
    color: #549387;
    padding-left: 70px;
}

.greeting_text h3::after {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 45px;
    height: 1px;
    background: #c3c3c3;
}

.greeting_img {
    position: relative;
}

.greeting_img::after {
    display: block;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    right: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.4));
    z-index: 0;
}

.greeting_profile {
    position: absolute;
    bottom: 0;
    padding: 40px;
    width: 100%;
    color: #ffffff;
    line-height: 1.75;
    text-align: center;
    font-family: var(--font-jp);
    z-index: 1;
}

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

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

.greeting_profile .name span {
    font-size: 80%;
    margin-right: 20px;
}

.greeting_btn {
    margin-top: 50px;
}

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

    .grid_img li {
        height: 180px;
    }

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

    .greeting .top_title {
        margin-bottom: 20px;
    }

    .greeting .top_title h2 {
        padding-left: 0;
        margin: 0;
        color: var(--text-color);
    }

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

    .greeting_left {
        width: 100%;
    }

    .greeting_text h3 {
        padding: 0;
        font-size: 145%;
        line-height: 1.5;
    }

    .greeting_text h3::after {
        display: none;
    }

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

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

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

  *診療案内

================================================================================================================================== */
.medical_bg {
    position: relative;
    background: url(../images/medical_bg.jpg) no-repeat bottom center / 1920px;
    z-index: 0;
}

.medical_bg::before {
    position: absolute;
    content: "";
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1282px;
    background: rgba(35, 39, 38, 0.85);
    z-index: -1;
}

.medical .inner {
    width: 100%;
    max-width: 1700px;
    padding: 0 5rem 120px;
}

.medical .top_title span {
    margin-bottom: 0;
    background: linear-gradient(#c6e5d4, #c6e5d4 60%, #83d1c1 60%, #83d1c1);
    color: #ffffff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.medical_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.medical_item {
    background: url(../images/body_bg.jpg) no-repeat top right -200px / cover;
    padding: 40px 20px 20px;
}

.medical_inner {
    display: flex;
    flex-flow: column;
    justify-content: center;
    height: auto;
}

.medical_title {
    z-index: 2;
    width: 100%;
    text-align: center;
}

.medical_title h2,
.medical_title h3 {
    background: none;
    font-size: 180%;
    color: #357065;
}

.medical_title span {
    font-size: 80%;
    font-family: var(--font-jp);
    color: var(--main-color);
}

.medical_img {
    position: relative;
    width: 100%;
    height: 400px;
}

.medical_img::after {
    display: block;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    right: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    background: rgba(26, 56, 50, 0.7);
    z-index: 0;
}

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

.medical_icon {
    margin: 0 auto 15px;
    width: 150px;
    height: 150px;
    padding: 25px;
    background: linear-gradient(rgb(106 200 181), rgb(151 210 211));
    border-radius: 50%;
    z-index: 1;
}

.medical_icon img {
    filter: brightness(0) invert(1);
}

.medical_link {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.medical_link .medical_btn {
    width: calc((100% / 2) - (12px / 2));
}

.medical_link .medical_btn a {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 80px;
    color: var(--text-color);
    font-size: 105%;
    font-family: var(--font-jp);
    line-height: 1.35;
    display: flex;
    align-items: center;
    padding: 14px 20px;
    background: rgba(33, 150, 126, 0.1);
    z-index: 1;
    transition: background 0.2s, color 0.2s;
}

.medical_link .medical_btn a:hover {
    background: var(--bg-gray);
    color: var(--text-color);
}

/* 矢印 */
.medical_link .medical_btn a::before {
    content: "";
    position: absolute;
    right: 3px;
    bottom: 3px;
    display: block;
    width: 10px;
    height: 10px;
    background: #b6dad4;
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
    z-index: 2;
}

.medical_link .medical_btn a:hover::before {
    background: var(--sub-color);
    transition: background 0.2s;
}

/*==============================================
  *SP　ピックアップ（追加コンテンツ）
==============================================*/
@media screen and (max-width:640px) {
    .medical_bg {
        background: url(../images/medical_bg_sp.jpg) no-repeat bottom center / 100%;
    }

    .medical_bg::before {
        height: 85%;
    }

    .medical .inner {
        padding: 0 10px 60px;
    }

    .medical .top_title {
        margin: 0 auto 30px;
        padding: 0 20px;
    }

    .medical .top_title h2 {
        font-size: 150%;
    }

    .medical_list {
        grid-template-columns: repeat(1, 1fr);
    }

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

    .medical_icon {
        width: 130px;
        height: 130px;
    }

    .medical_title h2,
    .medical_title h3 {
        font-size: 155%;
    }

    .medical_title::before {
        bottom: -20px;
        width: 25px;
        height: 20px;
    }

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

    .medical_link {
        min-height: auto;
        margin-top: 20px;
        gap: 10px;
    }

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

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

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

==================================================================================================================================*/
.feature .inner {
    padding: 140px 50px 120px;
}

.feature .top_title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px;
    background: rgb(61 126 113 / 10%);
    padding: 50px 0;
    margin-bottom: 80px;
}

.feature .top_title .eng {
    position: relative;
    margin: 0;
    font-size: 480%;
}

.feature .top_title .eng::after {
    position: absolute;
    content: "";
    right: -50px;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 1px;
    height: 95px;
    background: #c3c3c3;
}

.feature .top_title h2 .green1 {
    color: #62b4a3;
    font-style: normal;
}

.feature .top_title h2 .green2 {
    color: #62b4a3;
    font-size: 1.35em;
    font-style: normal;
    margin: 0 10px;
}

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

.feature_item {
    position: relative;
    display: flex;
    height: auto;
    width: 100%;
    margin-top: 50px;
    counter-increment: number 1;
}

.feature_item::after {
    position: absolute;
    content: "";
    bottom: -70px;
    left: -320px;
    width: calc(100% - 350px);
    height: 100%;
    background: url(../images/marble.jpg) no-repeat center / cover;
    z-index: -1;
    opacity: .65;
}

.feature_img {
    position: relative;
    width: 600px;
    height: 100%;
    flex-shrink: 0;
    margin-top: -50px;
}

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

.feature_img::before {
    position: absolute;
    content: "";
    left: 30px;
    bottom: -50px;
    content: '0' counter(number);
    font-family: var(--font-en);
    font-size: 140px;
    line-height: 140px;
    color: #ffffff;
    text-shadow: 0 5px 10px rgb(141 153 169 / 40%);
    z-index: 1;
}

.feature_img::after {
    display: block;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    right: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    background: linear-gradient(transparent, rgba(17, 78, 65, 0.4));
    z-index: 0;
}

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

.feature_inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-flow: column;
    width: 100%;
    height: 100%;
    margin: 0 0 0 -50px;
    padding: 50px 70px 80px;
    background: #fff;
}

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

.feature_title {
    position: relative;
    display: flex;
    flex-flow: column;
    margin-bottom: 40px !important;
    padding-bottom: 30px;
    /* border-bottom: solid 1px #c3c3c3; */
    z-index: 2;
}

.feature_title::before,
.feature_title::after {
    position: absolute;
    content: '';
    bottom: 0;
    z-index: 0;
}

.feature_title::before {
    width: 25%;
    left: -170px;
    border-bottom: 1px solid #ffffff;
}

.feature_title::after {
    width: calc(100% + 440px);
    border-bottom: 1px solid var(--line-color);
    left: -70px;
}

.feature_title h3 {
    color: var(--text-color);
    font-size: 200%;
    line-height: 1.75;
}

.feature_title h3 {
    color: var(--text-color);
    font-size: 200%;
    line-height: 1.75;
}

.feature_num {
    margin: 0 0 5px !important;
    font-size: 120%;
    font-family: var(--font-jp);
    color: var(--main-color);
}

.feature_num span {
    font-size: 130%;
    font-family: var(--font-en);
}

.feature_item .btnflex {
    gap: 20px;
}

.feature_item .btn01 {
    width: calc((100% / 2) - (20px / 2));
}

.feature_item .btn01>* {
    width: 100%;
    line-height: 1.4;
    min-height: 72px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

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

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

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

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

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

.feature_item:nth-child(even) .feature_title::before {
    left: auto;
    right: -170px;
}

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

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

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

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

    .feature .top_title {
        flex-flow: column;
        padding: 30px 20px;
        margin-bottom: 20px;
        gap: 30px;
        text-align: center;
    }

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

    .feature .top_title .eng::after {
        display: none;
    }

    .feature .top_title h2 {
        margin: 0;
    }

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

    .feature .top_title h2 .green2 {
        font-size: inherit;
        margin: 0;
    }

    .feature_list {
        gap: 40px;
    }

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

    .feature_img {
        width: 100%;
        height: 200px;
        margin: 0;
    }

    .feature_img::before {
        left: 20px;
        bottom: 10px;
        font-size: 70px;
        line-height: 70px;
    }

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

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

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

    .feature_item .btnflex {
        gap: 10px;
    }

    .feature_item .btn01 {
        width: calc((100% / 2) - (10px / 2));
    }

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

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

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

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

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

  *病状、症状から探す

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

.search .inner {
    padding: 80px 50px 100px;
}

.search .top_title .eng {
    font-size: 400%;
    padding: 0;
    margin-bottom: 10px;
}

.search .tab_list {
    gap: 10px;
}

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

.search .panel {
    position: relative;
    z-index: 1;
    padding: 10px 25px 25px;
    background: #ffffff;
    border: 1px solid var(--line-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;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 90px;
    transition: 0.2s ease;
    font-family: var(--font-jp);
    border-bottom: 1px solid #dad9d9;
    color: var(--text-color);
    font-size: 110%;
    line-height: 1.45;
    padding: 0 50px 0 20px;
}

.search_list li a::after {
    content: "";
    position: absolute;
    top: 0;
    right: 20px;
    bottom: 0;
    margin: auto;
    width: 13px;
    height: 12px;
    background: #dacab6;
    -webkit-mask: url(../images/icon_arrow.svg) no-repeat center/cover;
    mask: url(../images/icon_arrow.svg) no-repeat center/cover;
    transition: 0.2s ease;
}

.search_list li a:hover::after {
    -webkit-transform: rotateX(180deg);
    transform: rotateX(180deg);
}

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

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

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

.panel_flex .search_list {
    width: 100%;
}

.panel_flex .search_list li {
    width: calc(25% - 15px);
}

/* ==============================================
  *SP 病状、症状から探す
============================================== */
@media screen and (max-width: 640px) {
    .search .inner {
        padding: 60px 10px 40px;
    }

    .search .top_title .eng {
        font-size: 300%;
        margin-bottom: 0;
    }

    .search .top_title h2 {
        font-size: 20px;
    }

    .search .tab_list {
        flex-flow: inherit;
        gap: 7px;
        margin: 0 0 15px;
    }

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

    .search .panel {
        padding: 20px;
    }

    .search_list {
        gap: 10px;
    }

    .search_list li {
        width: 100%;
    }

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

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

    .search_img {
        width: 100%;
    }

    .search_img img {
        height: 170px;
    }

    .panel_flex .search_list {
        width: 100%;
    }

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

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

  *医療コラム（パターン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%;
    }
}

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

  *バナーエリア（下部）

==================================================================================================================================*/
#bannerSlider {
    background: none;
}

#bannerSlider .inner {
    max-width: none;
    padding: 20px 0 0;
}

#bannerSlider .splide {
    position: relative;
    z-index: 1;
    margin-bottom: 50px;
}

/* #bottomSlider .splide__slide:nth-child(odd) {
  margin-top: 50px;
} */

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

#bannerSlider .splide__arrow span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    transition: background 0.2s;
    border-radius: 50%;
}

#bannerSlider .splide__arrow:hover span {
    background: var(--text-color);
}

#bannerSlider .splide__arrow span::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-style: normal;
    color: #ffffff;
    font-size: 14px;
    transition: color 0.2s;
}

#bannerSlider .splide__arrow--prev {
    left: 20px;
}

#bannerSlider .splide__arrow--prev span::before {
    content: "\f104";
}

#bannerSlider .splide__arrow--next {
    right: 20px;
}

#bannerSlider .splide__arrow--next span::before {
    content: "\f105";
}

#bannerSlider .slide_inner {
    position: relative;
    display: block;
    z-index: 1;
    color: var(--text-color);
}

#bannerSlider .slide_img {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

#bannerSlider .slide_img::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(51, 114, 95, 0.35), rgba(0, 0, 0, 0.5));
    transition: opacity 0.4s;
}

#bannerSlider .slide_img img {
    transition: transform 0.4s;
}

#bannerSlider .slide_title {
    position: absolute;
    z-index: 2;
    right: 0;
    left: 0;
    bottom: 40px;
    margin: auto;
    padding: 10px;
    color: #ffffff;
    font-size: 150%;
    text-align: center;
    transition: color 0.2s;
    font-family: var(--font-jp);
    line-height: 1.65;
}

/* リンクの場合 */
#bannerSlider a.slide_inner:hover .slide_img::before {
    opacity: 0;
}

#bannerSlider a.slide_inner:hover .slide_img::after {
    opacity: 1;
}

#bannerSlider a.slide_inner:hover .slide_img img {
    transform: scale(1.1);
}

/* ----- ページネーション ----- */
#bannerSlider .splide__pagination {
    position: absolute;
    z-index: 1;
    bottom: -50px;
    left: 50%;
    display: flex;
    gap: 15px;
    transform: translateX(-50%);
}

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

#bannerSlider .bannerSlider-page.is-active {
    background: #aeaaaa;
}

#bannerSlider .btn01 {
    padding-top: 60px;
    text-align: center;
}

/*==============================================
  *SP　 設備紹介スライダー（追加コンテンツ）
==============================================*/
@media screen and (max-width: 640px) {
    #bannerSlider .inner {
        padding: 0;
    }

    #bannerSlider .splide__slide {
        width: 300px !important;
    }

    #bannerSlider .splide {
        margin-bottom: 30px;
    }

    #bannerSlider .slide_title {
        bottom: 0;
        padding: 10px;
        font-size: 17px;
    }

    #bannerSlider .splide__arrow {
        width: 35px;
        height: 35px;
    }

    #bannerSlider .splide__arrow--prev {
        left: 15px;
    }

    #bannerSlider .splide__arrow--next {
        right: 15px;
    }

    #bannerSlider .splide__arrow span::before {
        font-size: 16px;
    }
}

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

  *無限スライダー

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

#infinitySlider .splide__list {
    gap: 10px;
}

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

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