@charset "UTF-8";

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

  *基本設定

================================================================================================================================== */
.front {
    overflow: hidden;
    background-color: #f9f7f3;
}
section .inner {
}
.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: 0 5%;
    }
    
    /* ----- パララックス ----- */
    .parallax {
        height: 300px;
    }
}

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

  *タイトル

================================================================================================================================== */
.top_title {
    margin-bottom: 50px;
    line-height: 1.5;
    text-align: center;
}
.top_title.title_left {
    text-align: start;
}
.top_title h2 {
    font-family: "fot-tsukuardgothic-std", sans-serif;
    font-weight: 600;
    font-size: 22px;
    letter-spacing: 0.1em;
    line-height: 1.4;
    color: var(--sub-color);
}
.top_title .eng {
    display: block;
    font-family: "cormorant-infant", sans-serif;
    font-weight: 400;
    font-size: 90px;
    letter-spacing: 0.05em;
    line-height: 1;
    color: var(--sub-color);
}

/* ==============================================
  *SP タイトル
============================================== */
@media screen and (max-width: 640px) {
    h1 {
        margin: 0 auto 0;
        background: #fff;
    }
    .top_title {
        margin-bottom: 30px;
    }
    .top_title h2 {
        font-size: 17px;
    }
    .top_title .eng {
        margin-bottom: 2px;
        font-size: 46px;
    }
}

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

  *ボタン

================================================================================================================================== */
.top_btn > * {
    position: relative;
    display: inline-block;
    padding: 17px 50px 16px 35px;
    background: var(--bg-color02);
    color: var(--sub-color);
    font-size: 100%;
    letter-spacing: 0.085em;
    line-height: 1.4;
    text-align: center;
    vertical-align: bottom;
    border-radius: 30px;
    transition: background 0.2s, color 0.2s;
}
.top_btn > *:hover {
    background: var(--sub-color);
    color: #fff;
}
.top_btn > *::after {
    position: absolute;
    top: 50%;
    right: 20px;
    display: block;
    width: 14px;
    height: 7px;
    background: var(--sub-color);
    -webkit-mask: url(../images/btn_arrow.png) no-repeat center/cover;
    mask: url(../images/btn_arrow.png) no-repeat center/cover;
    transform: translateY(-50%);
    transition: right 0.3s, background 0.3s;
    content: "";
}
.top_btn > *:hover::after {
    right: 12px;
    background: #fff;
}


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

  *メインビジュアル

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

/* フェードの専用スタイル */
.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: 48%;
    left: 0;
    z-index: 3;
    width: 100%;
    transform: translateY(-50%);
}
.mvCatch .inner {
    position: relative;
    z-index: 1;
}
.mvCatch p {
    font-family: "fot-tsukuardgothic-std", sans-serif;
    font-weight: 700;
    text-align: center;
    filter: drop-shadow(0 0 5px #faf6f2) drop-shadow(0 0 10px #faf6f2) drop-shadow(0 0 5px #faf6f2) drop-shadow(0 0 15px #faf6f2) drop-shadow(0 0 25px #faf6f2);
}
.mvCatch p.main_catch {
    padding: 15px 0 15px;
    font-size: 34px;
    letter-spacing: 0.15em;
}
.mvCatch p.sub_catch {
    padding: 0 0 40px;
    font-size: 24px;
    line-height: 1.8;
    letter-spacing: 0.2em;
}

/* ----- コンテンツ ----- */
.mvContents {
    position: absolute !important;
    top: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
}
.mvContents .inner {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
}
.mvContents .splide__track {
    width: 100%;
    height: 100%;
}
.mv_icon {
    position: absolute;
    left: 0;
    bottom: 60px;
    display: flex;
    gap: 30px;
}
.mv_icon li {
    width: 200px;
}

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

/* ==============================================
  *SP メインビジュアル
============================================== */
@media screen and (max-width: 640px) {
    .mainvisual {
        height: 400px;
    }
    
    /* ----- スライダーの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: 32%;
        display: none;
    }
    .mvCatch.is-active {
        display: block;
    }
    .mvCatch p {
        filter: drop-shadow(0 0 5px #faf6f2) drop-shadow(0 0 7px #faf6f2) drop-shadow(0 0 10px #faf6f2) drop-shadow(0 0 15px #faf6f2);
    }
    .mvCatch p.main_catch {
        padding: 15px 0 10px;
        font-size: 20px;
        letter-spacing: 0.1em;
    }
    .mvCatch p.sub_catch {
        padding: 0 0 20px;
        font-size: 16px;
        line-height: 1.4;
        letter-spacing: 0.1em;
        text-align: left;
    }
    .mv_icon {
        bottom: 30px;
        justify-content: center;
        gap: 4vw;
        width: 100%;
    }
    .mv_icon li {
        width: 38vw;
        max-width: 160px;
    }
    .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;
    }
    .open_bnr > * {
        width: 100%;
        height: auto;
        padding: 15px 20px;
        border-radius: 0;
    }
}

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

  *バナーエリア

================================================================================================================================== */
.top_banner {
    background: url("../images/slide_bna_bg.png") repeat left top;
}
.top_banner .inner {
    padding: 70px 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(--sub-color);
}
#bannerSlider .bannerSlider_arrow_prev {
    left: 0;
}
#bannerSlider .bannerSlider_arrow_next {
    right: 0;
}

/* ページネーション */
#bannerSlider .bannerSlider_pagination {
    z-index: 1;
    display: flex;
    gap: 15px;
    margin: 20px 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: 30px 0 40px;
    }
    
    /* ----- グリッドバナー ----- */
    .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_prev {
        left: 10px;
    }
    #bannerSlider .bannerSlider_arrow_next {
        right: 10px;
    }
    #bannerSlider .bannerSlider_arrow {
        width: 40px;
        height: 40px;
    }
    #bannerSlider .bannerSlider_arrow i {
        padding: 0 0 1px 0;
    }
    
    /* ページネーション */
    #bannerSlider .bannerSlider_pagination {
        gap: 12px;
        margin: 12px 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;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 80px;
    padding: 80px 0 80px;
}
.clinic .news .news_left {
    flex-shrink: 0;
}
.clinic .news .top_title {
    margin: 0 0 30px;
    text-align: left;
}
.clinic .news .top_title .eng {
    margin-bottom: 8px;
    font-size: 60px;
}
.clinic .news .top_btn {
    margin-top: 50px;
}
.clinic .news .top_btn > * {
    background-color: #fff;
}
.clinic .news .top_btn > *:hover {
    background: var(--sub-color);
}

/* ----- 医院概要 ----- */
.clinic .info {
    position: relative;
    padding: 0 0 50px;
    background: linear-gradient(180deg,rgba(249, 247, 243, 1) 50%, rgba(255, 255, 255, 1) 50%);
}
.clinic .info::before,
.clinic .info::after {
    position: absolute;
    width: calc(50vw + 600px);
    height: calc(100% - 50px);
    content: "";
}
.clinic .info::before {
    left: 0;
    bottom: 0;
    border-radius: 0 80px 80px 0;
    background: url("../images/top_info_bg.jpg") repeat left top;
}
.clinic .info::after {
    right: 0;
    top: 0;
    border-radius: 80px 0 0 80px;
    background-color: #fff;
}
.clinic .info .inner {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 50px;
    padding: 60px 0px 60px 50px;
}
.clinic .info .inner > * {
    width: calc(50% - 25px);
}
.clinic .info address > * {
    position: relative;
    z-index: 1;
}
.clinic .info address > *::before {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 20px;
    color: var(--sub-color);
}
.clinic .info address .location {
    padding: 0 0 0 25px;
}
.clinic .info address .location::before {
    content: "\f3c5";
}
.clinic .info address .location .zipcode {
    margin-right: 10px;
}
.clinic .info address .tel {
    margin-top: 15px;
    padding: 0 0 0 27px;
    font-family: "cormorant-infant", sans-serif;
    font-weight: 400;
    font-size: 38px;
    line-height: 1;
    letter-spacing: 0.15em;
    color: var(--main-color);
}
.clinic .info address .tel a {
    color: var(--sub-color);
}
.clinic .info address .tel::before {
    content: "\f3cd";
}
.clinic .info address .fax {
    margin-top: 15px;
    padding: 5px 0 5px 50px;
    font-size: 30px;
    line-height: 1;
	 color: var(--sub-color);
}
.clinic .info address .fax::before {
    content: "\f249";
}
.clinic .info address .note {
    margin-top: 20px;
    padding-left: 12px;
    font-size: 90%;
}
.clinic .info .speciality {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 26px auto 0;
    padding: 15px;
    border-radius: 10px;
    background: var(--bg-color02);
}
.clinic .info .speciality .title {
    flex-shrink: 0;
    width: fit-content;
    padding: 14px 30px;
    background: var(--sub-color);
    color: #ffffff;
    text-align: center;
    line-height: 1;
    border-radius: 6px;
}
.clinic .info .office_hour:first-child {
    margin-top: 30px;
}
.clinic .info .list_access {
    margin-top: 10px;
}
.clinic .info .calendar_text {
    margin-top: 20px;
}
.clinic .info .top_btn {
    margin-top: 20px;
    text-align: center;
}
.clinic .info .googlemap iframe {
    height: 330px;
    border-radius: 20px;
}

@media screen and (max-width: 640px) {
    .clinic .news .top_title .eng {
        margin-bottom: 8px;
        font-size: 40px;
    }
    .clinic .news .inner {
        flex-flow: column;
        gap: 0;
        padding: 40px 5% 50px;
    }
    .clinic .news .news_left {
        width: 100%;
    }
    .clinic .news .top_title h2 {
        margin: 0 0 0;
        font-size: 16px;
    }
    .clinic .news .top_title {
        margin: 0 0 24px;
        text-align: center;
    }
    .clinic .news .top_title .eng {
        margin-bottom: 4px;
        font-size: 40px;
    }
    .clinic .news .top_btn {
        width: 100%;
        margin-top: 30px;
        text-align: center;
    }
    .clinic .info {
        padding: 0 0 30px;
    }
    .clinic .info::before {
        width: 95%;
        height: calc(100% - 30px);
        border-radius: 0 30px 30px 0;
    }
    .clinic .info::after {
        width: 95%;
        height: calc(100% - 30px);
        border-radius: 30px 0 0 30px;
    }
    .clinic .info .inner {
        width: 95%;
        flex-flow: column;
        gap: 30px;
        margin-left: 5%;
        padding: 40px 5% 40px;
    }
    .clinic .info .inner > * {
        width: 100%;
    }
    .clinic .info address .location {
        line-height: 1.5;
    }
    .clinic .info address .location::before {
        top: 16px;
    }
    .clinic .info address .tel::before {
        top: 19px;
    }
    .clinic .info address .tel {
        margin-top: 10px;
        font-size: 30px;
    }
    .clinic .info .speciality {
        flex-flow: column;
        gap: 10px;
        margin: 18px auto 0;
        padding: 10px;
    }
    .clinic .info .speciality .title {
        width: 100%;
        padding: 10px 30px;
    }
}

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

  *ご挨拶

================================================================================================================================== */
.top_center_img {
    width: 100%;
    height: 500px;
    overflow: hidden;
}
.top_center_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.greeting {
    position: relative;
    margin: -56px 0 170px;
    padding: 66px 0 80px;
}
.greeting::before, 
.greeting::after {
    position: absolute;
    height: 100%;
    content: "";
}
.greeting::after {
    left: 0;
    top: 0;
    width: calc(50vw + 440px);
    border-radius: 0 80px 80px 0;
    background-color: #fff;
}
.greeting::before {
    right: 0;
    top: 56px;
    width: calc(50vw + 600px);
    border-radius: 80px 0 0 80px;
    background: url("../images/top_greeting_bg_logo.png") no-repeat left 730px bottom -10px, url(../images/top_info_bg.jpg) repeat left top;
}
.greeting_box {
    position: relative;
    z-index: 1;
}
.greeting_flex {
    display: flex;
    gap: 50px;
}
.greeting_box:not(:last-child) {
    margin-bottom: 70px;
}
.greeting_left {
    flex-shrink: 0;
    width: 60%;
	width: 65%;
}
.greeting_text h3 {
    margin-bottom: 30px;
    font-family: "fot-tsukuardgothic-std", sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 1.65;
    letter-spacing: 0.1em;
    color: #937e6b;
}
.greeting_text p {
    line-height: 2.4;
    letter-spacing: 0.12em;
}
.greeting_text > p:not(:last-child) {
    margin-bottom: 1em;
}
.greeting_img img {
    border-radius: 20px;
}
.greeting_profile {
    position: relative;
    margin: -60px 50px 0;
    padding: 24px 20px;
    color: #ffffff;
    font-family: "fot-tsukuardgothic-std", sans-serif;
    font-weight: 600;
    line-height: 1.7;
    text-align: center;
    background: rgba(122, 106, 85, 0.9);
    border-radius: 15px;
}
.greeting_profile .position {
    font-size: 130%;
}
.greeting_profile .name {
    font-size: 150%;
}
.greeting_profile .name span {
    margin-right: 20px;
    font-size: 80%;
}
.greeting_btn {
    margin-top: 50px;
}

/* ==============================================
  *SP ご挨拶
============================================== */
@media screen and (max-width: 640px) {
    .top_center_img {
        height: 54vw;
    }
    .greeting {
        position: relative;
        margin: -25px 0 120px;
        padding: 40px 0 45px;
    }
    .greeting::before {
        top: 25px;
        width: 95%;
        height: calc(100% + 50px);
        border-radius: 30px 0 0 30px;
        background-size: 320px auto, auto auto;
        background-position: left 70px bottom -10px, left top;
    }
    .greeting::after {
        width: 95%;
        border-radius: 0 30px 30px 0;
    }
    .greeting .inner {
        width: 95%;
        margin-right: 5%;
    }
    .greeting_text h3 {
        margin-bottom: 22px;
        font-size: 18px;
        line-height: 1.8;
        letter-spacing: 0.1em;
    }
    .greeting_text p {
        line-height: 2.2;
        letter-spacing: 0.1em;
    }
    .greeting_text > p:not(:last-child) {
        margin-bottom: 0.8em;
    }
    .greeting_flex {
        flex-flow: column-reverse;
        gap: 25px;
    }
    .greeting_left {
        width: 100%;
    }
    .greeting_btn {
        margin-top: 25px;
        text-align: center;
    }
	.greeting_img img {
		width:80%;
		display:block;
		margin-inline:auto;
	}
}

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

  *診療案内

================================================================================================================================== */
.medical {
    position: relative;
    padding: 75px 0 90px;
    background: url("../images/top_medical_bg.jpg") no-repeat center/cover;
}
.medical::before {
    position: absolute;
    top: 30px;
    left: 50%;
    height: calc(100% - 60px);
    width: calc(100% - 80px);
    min-width: 1300px;
    transform: translateX(-50%);
    background-color: #877666;
    opacity: 0.75;
    content: "";
}
.medical .inner {
    position: relative;
}
.medical .top_title h2 {
    color: #fff;
}
.medical .top_title .eng {
    color: #fff;
   /* opacity: 0.5; */
}
.medical_list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px 15px;
}
.medical_item {
    position: relative;
    z-index: 1;
    width: calc(20% - 12px);
    height: auto;
}
.medical_item:hover {
    opacity: 0.7;
    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 {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 230px;
    padding: 30px 10px 30px;
    text-align: center;
    background: rgb(255 255 254 / 90%);
    border-radius: 10px;
}
.medical_inner > *:not(:last-child) {
    margin-bottom: 15px;
}
.medical_icon {
    width: 70%;
    max-width: 110px;
    margin: 0 auto 12px !important;
}
.medical_title h3 {
    font-family: "fot-tsukuardgothic-std", sans-serif;
    font-weight: 600;
    font-size: 19px;
    line-height: 1.3;
    letter-spacing: 0.05em;
    color: var(--sub-color);
}
.medical_title_eng {
    margin-top: 10px;
    font-family: "cormorant-infant", sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: var(--sub-color);
    line-height: 1;
    letter-spacing: 0.05em;
    text-align: center;
}
.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 {
        padding: 40px 0 50px;
    }
    .medical::before {
        top: 20px;
        left: 2%;
        height: calc(100% - 40px);
        width: 96%;
        min-width: initial;
        transform: translateX(0);
    }
    .medical_list {
        gap: 15px 10px;
    }
    .medical_item {
        width: calc(50% - 5px);
    }
    .medical_item:hover {
        transform: translateY(-5px);
    }
    .medical_inner {
        min-height: auto;
        padding: 20px 10px;
    }
    .medical_icon {
        width: 50%;
    }
    .medical_title h3 {
        font-size: 110%;
    }
}

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

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

================================================================================================================================== */
.feature {
    padding: 75px 0 140px;
    background: url("../images/top_future_bg.jpg") no-repeat center bottom /auto auto, #fff;
}
@media screen and (min-width: 1920px) {
    .feature {
        background-size: 100% 806px;
    }
}
.feature_list {
    display: flex;
    justify-content: center;
    flex-flow: wrap;
    gap: 40px 60px;
    padding: 0 40px;
}
.feature_item {
    display: flex;
    flex-flow: column;
    width: calc(50% - 30px);
    height: auto;
    padding: 19px 19px 30px 19px;
    box-sizing: border-box;
    border: 1px solid #ede5d9;
    border-radius: 30px;
    background-color: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 0 55px rgba(0, 0, 0, 0.07));
}
.feature_img {
    position: relative;
    margin-bottom: 25px;
}
.feature_img img {
    border-radius: 20px;
}
.feature_num {
    position: absolute;
    right: 9px;
    bottom: -35px;
    font-family: "cormorant-infant", sans-serif;
    font-weight: 400;
    font-size: 120px;
    letter-spacing: 0.05em;
    line-height: 1;
    color: var(--sub-color);
    opacity: 0.7;
}
.feature_inner {
    display: flex;
    flex-flow: column;
    height: 100%;
    padding: 0 15px 0;
}
.feature_inner > *:not(:last-child) {
    margin-bottom: 30px;
}
.feature_title {
    display: flex;
    flex-flow: column;
    justify-content: center;
    min-height: 60px;
    margin-bottom: 15px !important;
}
.feature_title h3 {
    font-family: "fot-tsukuardgothic-std", sans-serif;
    font-weight: 600;
    font-size: 24px;
    letter-spacing: 0.05em;
    line-height: 1.5;
    text-align: center;
    color: var(--sub-color);
}
.feature_item .top_btn {
    margin-top: auto;
    text-align: center;
}

/* ---- 横並びボタン ----- */
.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 {
        padding: 40px 0 60px;
    }
    .feature_list {
        gap: 20px;
        padding: 0 0;
    }
    .feature_item {
        width: 100%;
    }
    .feature_inner {
        padding: 0 0 0;
    }
    .feature_num {
        right: 5px;
        bottom: -28px;
        font-size: 70px;
    }
    .feature_title {
        min-height: auto;
        margin-bottom: 12px !important;
    }
    .feature_title h3 {
        font-size: 18px;
        letter-spacing: 0.05em;
    }
    .feature_inner > *:not(:last-child) {
        margin-bottom: 20px;
    }
    .feature_item .top_btn > * {
        padding: 17px 45px 16px 20px;
        letter-spacing: 0;
        text-align: left;
    }
    
    /* ---- 横並びボタン ----- */
    .btnflex_feature .btn01 {
        width: 100%;
    }
}

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

  *病状、症状から探す

================================================================================================================================== */
.search {
    position: relative;
    padding: 70px 0 120px;
    background: url("../images/top_search_bg.png") repeat left top;
}
.search::before {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 480px;
    background-color: var(--bg-color03);
    content: "";
}
.search .inner {
    position: relative;
}
.search .top_title .eng {
    margin-bottom: 10px;
}
.search .tab_list {
    gap: 10px;
}
.search .tab_list .tab {
    padding: 15px 20px;
}
.search .panel {
    position: relative;
    z-index: 1;
    padding: 25px;
    border-radius: 0 0 25px 25px;
    background: var(--main-color);
}
.search_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px 14px;
    height: fit-content;
}
.search_list li {
    width: calc(33.3333333333% - 13.3333333333px);
    height: auto;
}

/* ----- リンクボタン ----- */
.search_list li a {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 60px;
    padding: 10px 45px 10px 30px;
    color: var(--text-color);
    background: #ffffff;
    border-radius: 8px;
}
.search_list li a::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 19px;
    z-index: 2;
    display: block;
    width: 14px;
    height: 7px;
    background: #ffffff;
    -webkit-mask: url(../images/btn_arrow.png) no-repeat center/14px 7px;
    mask: url(../images/btn_arrow.png) no-repeat center/14px 7px;
    transform: translateY(-50%);
    transition: background 0.2s;
}
.search_list li a:hover::before {
    background: var(--sub-color);
}

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

/* ----- 画像あり ----- */
.panel_flex.active {
    display: flex;
    flex-flow: wrap;
    gap: 20px;
}
.search_img {
    width: calc(50% - 10px);
    margin: 0 !important;
}
.search_img img {
    border-radius: 20px;
}
.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 {
        padding: 30px 0 50px;
    }
    .search .tab_list {
        flex-flow: nowrap;
        gap: 7px;
        margin: 0 0 10px;
    }
    .search .tab_list .tab {
        width: 100%;
        min-height: auto;
        padding: 10px !important;
        font-size: 120%;
        transform: translate(0, 0) !important;
    }
    .search .panel {
        padding: 20px;
        border-radius: 25px 25px 25px 25px;
    }
    .search_list {
        gap: 10px;
    }
    .search_list li {
        width: 100%;
    }
    .search_list li a {
        min-height: auto;
        padding: 10px 40px;
    }
    
    /* ----- 画像あり ----- */
    .search .panel_flex.active {
        gap: 20px;
    }
    .search_img {
        width: 100%;
    }
    .panel_flex .search_list {
        width: 100%;
    }
    .panel_flex .search_list li {
        width: 100%;
    }
}

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

  *医療コラム（パターン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: 10px 10px 120px;
    background: linear-gradient(180deg,rgba(249, 247, 243, 1) 40%, rgba(255, 255, 255, 1) 40%);
}
#infinitySlider .splide__list {
    gap: 40px;
}
#infinitySlider .splide__slide {
    width: 400px !important;
}
#infinitySlider .splide__slide:nth-of-type(even) {
    margin-top: 40px;
}
#infinitySlider .splide__slide img {
    border-radius: 15px;
}

/* ==============================================
  *SP 無限スライダー
============================================== */
@media screen and (max-width: 640px) {
    #infinitySlider {
        padding: 10px 10px 50px;
    }
    #infinitySlider .splide__list {
        gap: 10px;
    }
    #infinitySlider .splide__slide {
        width: 220px !important;
    }
    #infinitySlider .splide__slide:nth-of-type(even) {
        margin-top: 15px;
    }
}