@charset "UTF-8";

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

  *基本設定

================================================================================================================================== */
.front {
    overflow: hidden;
}
.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) {
    /* ----- パララックス ----- */
    .parallax {
        height: 300px;
    }
}

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

  *タイトル

================================================================================================================================== */
.top_title {
    margin-bottom: 60px;
    line-height: 1.5;
    text-align: center;
}
.top_title.title_left {
    text-align: start;
}
.top_title.title_left .eng {
    margin: 0 0 15px;
}
.top_title h2 {
    font-family: "fot-chiaro-std", sans-serif;
    font-weight: 700;
    font-size: 34px;
    letter-spacing: 0.1em;
    line-height: 1;
    color: #4e3022;
}
.top_title .eng {
    display: block;
    width: fit-content;
    width: -moz-fit-content;
    margin: 0 auto 15px;
    padding-bottom: 5px;
    font-family: "brandon-grotesque", sans-serif;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.1em;
    line-height: 1;
    color: #bc8f4e;
    background-image: linear-gradient(to right, #bc8f4e 0 3px, transparent 3px 6px);
    background-repeat: repeat-x;
    background-size: 6px 2px;
    background-position: left bottom;
}

/* ==============================================
  *SP タイトル
============================================== */
@media screen and (max-width: 640px) {
    .top_title {
        margin-bottom: 30px;
    }
    .top_title h2 {
        font-size: 24px;
    }
    .top_title .eng {
        margin: 0 auto 12px;
        font-size: 15px;
    }
    .top_title.title_left .eng {
        margin: 0 auto 12px;
    }
}

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

  *メインビジュアル

================================================================================================================================== */
.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: 40%;
    left: 0;
    z-index: 3;
    width: 100%;
    transform: translateY(-50%);
}
.mvCatch .inner {
    position: relative;
    z-index: 1;
}
.mvCatch p {
    padding: 50px 0;
    font-family: "fot-chiaro-std", sans-serif;
    font-weight: 700;
    font-size: 36px;
    letter-spacing: 0.1em;
    line-height: 2;
    color: #fff;
    text-align: center;
    filter: drop-shadow(0 0 5px #4e3022) drop-shadow(0 0 5px #4e3022) drop-shadow(0 0 30px #4e3022);
}
.mvCatch p span {
    display: block;
    font-size: 22px;
}

/* ----- コンテンツ ----- */
.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%;
}
.open_bnr {
    position: absolute;
    bottom: 50px;
    display: inline-block;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}
.open_bnr > * {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    width: 240px;
    height: 240px;
    padding: 35px 30px 15px;
    background: url("../images/mv_open_bg.png") no-repeat center / 196px auto, rgba(188, 143, 78, 0.9);
    border-radius: 50%;
    font-family: "fot-chiaro-std", sans-serif;
    font-weight: 700;
    font-size: 110%;
    line-height: 1.5;
    letter-spacing: 0.1em;
    text-align: center;
    color: #ffffff;
}
.open_bnr .date {
    margin-bottom: 14px;
    padding: 0 30px 10px;
    font-size: 110%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}
.open_bnr .open_text {
    margin: 0 0 10px;
    font-size: 180%;
}
.open_bnr .nairankai_tit {
    display: block;
    width: 100%;
    margin: 0 0 10px;
    padding: 5px 10px;
    background: #ffffff;
    border-radius: 300px;
    color: var(--main-color);
    font-size: 90%;
    text-align: center;
}

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

.mv_icon {
    position: absolute;
    right: 0;
    bottom: 50px;
    display: flex;
    align-items: baseline;
    gap: 20px;
}
.mv_icon li a {
    position: relative;
    top: 0;
    transition: 0.2s ease-in-out;
}
@media (hover: hover) and (pointer: fine) {
    .mv_icon li a:hover {
        top: -15px;
    }
}

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

/* ==============================================
  *SP メインビジュアル
============================================== */
@media screen and (max-width: 640px) {
    .mainvisual {
        height: 360px;
    }
    
    /* ----- スライダーの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: 45%;
        display: none;
    }
    .mvCatch .inner {
        padding: 0 10px;
    }
    .mvCatch.is-active {
        display: block;
    }
    .mvCatch p {
        font-size: 130%;
        line-height: 1.75;
    }
    .mvCatch p span {
        margin-bottom: 8px;
        font-size: 16px;
        letter-spacing: 0;
    }
    .mvContents {
        display: none;
    }
    .sp_only {
        display: block;
        background: none !important;
    }
    .sp_only .inner {
        padding: 0 5%;
    }
    .sp_only_contents {
        display: flex;
        flex-flow: column;
        justify-content: center;
        align-items: center;
        gap: 16px;
        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;
    }
    .mv_icon {
        position: relative;
        right: auto;
        bottom: auto;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 3vw;
    }
    .mv_icon li {
        width: 28vw;
    }
    .mv_icon li:last-of-type {
        width: 40vw;
    }
}

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

  *バナーエリア

================================================================================================================================== */
/* ----- 共通設定 ----- */
.top_banner .inner {
    padding: 100px 0 80px;
}
.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: 15px 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: 40px 0 50px;
    }
    
    /* ----- グリッドバナー ----- */
    .banner_grid li {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    /* ----- スライダーバナー ----- */
    #bannerSlider .splide__slide {
        min-height: initial;
    }
    #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;
    }
}

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

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

================================================================================================================================== */
.clinic {
    background: url("../images/top_bg_paper.jpg") repeat top center;
}
.clinic .inner {
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    gap: 80px;
    padding: 80px 0;
}
.clinic .inner > * {
    width: calc(50% - 40px);
}

/* ----- お知らせ ----- */
.clinic .news .top_title {
    margin-bottom: 20px;
}
.clinic .news .top_title h2 {
    font-size: 30px;
}
.clinic .news .btn01 {
    margin-top: 30px;
    text-align: center;
}

/* ----- 医院概要 ----- */
.clinic .info .office_hour .table_wrap {
    background: #ffffff;
}
.clinic .info .office_hour .title {
    background: #ffffff;
}
.clinic .info .speciality {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 20px auto 0;
    background: #ffffff;
}
.clinic .info .speciality .title {
    flex-shrink: 0;
    width: fit-content;
    padding: 14px 50px;
    background: var(--main-color);
    color: #ffffff;
    text-align: center;
}
.clinic .info address {
    margin-top: 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(--main-color);
    border-radius: 50%;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #ffffff;
    font-size: 16px;
    opacity: 0.7;
}
.clinic .info address .location {
    padding: 5px 0 5px 50px;
}
.clinic .info address .location::before {
    content: "\f3c5";
}
.clinic .info address .location span {
    display: inline-block;
    margin-right: 10px;
}
.clinic .info address .tel {
    margin-top: 10px;
    padding: 5px 0 5px 50px;
    font-family: "fot-chiaro-std", sans-serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 1;
}
.clinic .info address .tel::before {
    content: "\f3cd";
}
.clinic .info address .fax {
    margin-top: 10px;
    padding: 9px 0 9px 50px;
    line-height: 1;
}
.clinic .info address .fax p {
    font-family: "fot-chiaro-std", sans-serif;
    font-weight: 700;
    font-size: 24px;
}
.clinic .info address .fax::before {
    content: "\f249";
}
.clinic .info address .note {
    margin-top: 20px;
    padding-left: 12px;
    font-size: 90%;
}
.clinic .info .list_access {
    margin-top: 5px;
}
.clinic .info .btn01 {
    margin-top: 30px;
    text-align: center;
}

@media screen and (max-width: 640px) {
    .clinic .inner {
        gap: 50px;
        padding: 50px 5%;
    }
    .clinic .inner > * {
        width: 100%;
    }
    .clinic .news .top_title {
        text-align: center;
    }
    
    /* ----- 医院概要 ----- */
    .clinic .info address .location {
        padding: 0 0 0 50px;
        line-height: 1.8;
    }
    .clinic .info address .tel {
        padding: 7px 0 5px 50px;
        font-size: 28px;
    }
    .clinic .info .speciality {
        flex-flow: column;
        gap: 10px;
        padding: 15px;
    }
    .clinic .info .speciality .title {
        width: 100%;
        padding: 8px 20px;
    }
    .clinic .info address .fax p {
        font-size: 20px;
    }
    .clinic .info .list_access {
        margin-top: 10px;
    }
}

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

  *ご挨拶

================================================================================================================================== */
.greeting {
    position: relative;
    padding: 80px 0 270px;
    background: url("../images/top_bg_grid.png") repeat;
}
.greeting::before,
.greeting::after {
    position: absolute;
    content: "";
}
.greeting::before {
    right: 0;
    top: 0;
    width: calc(50% - 400px);
    height: 100%;
    background-color: #fff;
}
.greeting::after {
    left: calc(50% - 420px);
    bottom: 300px;
    width: 900px;
    height: 896px;
    background: url("../images/top_doctor_bg_logo.svg") no-repeat center/contain;
}
.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%;
}
.greeting_text > *:not(:last-child) {
    margin-bottom: 1em;
}
.greeting_text h3 {
    font-family: "fot-chiaro-std", sans-serif;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 0.1em;
    line-height: 1.6;
    color: #c39b63;
}
.greeting_profile {
    padding: 20px;
    background: #d2bd98;
    color: #ffffff;
    font-family: "fot-chiaro-std", sans-serif;
    font-weight: 700;
    letter-spacing: 0.15em;
    line-height: 1.75;
    text-align: center;
}
.greeting_profile .position {
    font-size: 130%;
}
.greeting_profile .name {
    font-size: 150%;
}
.greeting_profile .name span {
    margin-right: 30px;
    font-size: 80%;
}
.greeting_btn {
    margin-top: 30px;
    text-align: center;
}

/* パララックス */
.parallax_greeting {
    z-index: 1;
    width: calc(50% + 600px);
    height: 460px;
    margin: -180px 0 0 auto;
    overflow: hidden;
}
.parallax_greeting .parallax_img::before {
    display: block;
    background: url(../images/top_parallax_01_dmy.jpg) no-repeat center / cover;
	background: url(../images/top_parallax_01.jpg) no-repeat center / cover;
    overflow: hidden;
    content: "";
}

/* ==============================================
  *SP ご挨拶
============================================== */
@media screen and (max-width: 640px) {
    .greeting {
        padding: 50px 0 190px;
    }
    .greeting::after {
        left: calc(50% - 55vw);
        bottom: 45%;
        width: 110vw;
        height: 110vw;
    }
    .greeting::before {
        width: 100%;
        height: 300px;
    }
    .greeting_flex {
        flex-flow: column-reverse;
        gap: 25px;
    }
    .greeting_right {
        width: 90%;
        margin: 0 auto;
    }
    .greeting_left {
        width: 100%;
    }
    .greeting_text h3 {
        margin-bottom: 15px !important;
        font-size: 19px;
        letter-spacing: 0.05em;
    }
    .greeting_profile {
        padding: 16px 0;
        line-height: 1.55;
    }
    .greeting_profile .position {
        font-size: 120%;
    }
    .greeting_profile .name {
        font-size: 140%;
    }
    .greeting_btn {
        margin-top: 40px;
    }
    .parallax_greeting {
        width: 90%;
        height: 260px;
        margin: -130px 0 0 auto;
    }
}


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

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

==================================================================================================================================*/
.feature {
    margin-top: -280px;
    padding: 350px 0 140px;
    background: url("../images/top_bg_paper.jpg") repeat;
}
.feature_list {
    display: flex;
    flex-flow: wrap;
    gap: 70px 30px;
}
.feature_item {
    display: flex;
    height: auto;
    width: 100%;
    margin-top: 50px;
}
.feature_img {
    width: 500px;
    flex-shrink: 0;
    margin-top: -50px;
}
.feature_inner {
    position: relative;
    z-index: 2;
    width: calc(100% + 50px);
    height: 100%;
    min-height: 360px;
    margin: 0 0 0 -50px;
}
.feature_inner::before {
    position: absolute;
    left: 0;
    top: 0;
    transform: rotate(2.39deg);
    width: 100%;
    height: 100%;
    background-color: #d6c3a2;
    opacity: 0.5;
    content: "";
}
.feature_inner::after {
    position: absolute;
    left: -36px;
    top: -36px;
    width: 193px;
    height: 154px;
    background-repeat: no-repeat;
    background-position: left top;
    background-size: contain;
    content: "";
}
.feature_item:nth-of-type(1) .feature_inner::after {
    background-image: url("../images/top_feature_no01.png");
}
.feature_item:nth-of-type(2) .feature_inner::after {
    background-image: url("../images/top_feature_no02.png");
}
.feature_item:nth-of-type(3) .feature_inner::after {
    background-image: url("../images/top_feature_no03.png");
}
.feature_item:nth-of-type(4) .feature_inner::after {
    background-image: url("../images/top_feature_no04.png");
}
.feature_inner > *:not(:last-child) {
    margin-bottom: 30px;
}
.feature_inner_bg {
    position: relative;
    display: flex;
    flex-flow: column;    
    height: 100%;
    padding: 70px 70px 50px 80px;
    background: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0px 0px 40px rgba(78, 48, 34, 0.07));
}
.feature_title {
    display: flex;
    flex-flow: column;
    margin-bottom: 16px !important;
}
.feature_title h3 {
    font-family: "fot-chiaro-std", sans-serif;
    font-weight: 700;
    font-size: 23px;
    letter-spacing: 0.1em;
    line-height: 1.6;
    color: #4e3022;
}
.feature_item p {
    margin-bottom: 20px;
}
.feature_item .btn01 {
    margin-top: auto;
    text-align: right;
}
.feature_item .btn01 > * {
    padding: 10px 40px 10px 30px;
    font-size: 95%;
}
.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;
}

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

@media screen and (max-width: 640px) {
    .feature {
        margin-top: -130px;
        padding: 180px 0 60px;
    }
    .feature_list {
        gap: 30px;
    }
    .feature_item {
        flex-flow: column;
        width: 100%;
        margin: 0;
    }
    .feature_img {
        width: 100%;
        margin: 0;
    }
    .feature_inner {
        width: 100%;
        min-height: auto;
        margin: 0;
    }
    .feature_inner::after {
        left: -22px;
        top: -20px;
        width: 110px;
        height: 88px;
    }
    .feature_inner_bg {
        padding: 40px 20px 30px;
    }
    .feature_title {
        margin-bottom: 15px !important;
        min-height: auto;
    }
    .feature_title h3 {
        font-size: 19px;
        letter-spacing: 0.08em;
    }
    .feature_item .btn01 {
        text-align: center;
    }
    
    /* 左右 */
    .feature_item:nth-child(even) {
        flex-flow: column;
    }
    .feature_item:nth-child(even) .feature_inner {
        margin: 0 auto;
    }
    
    /* 横並び */
    .btnflex_feature .btn01 {
        width: 100%;
    }
}

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

  *病状、症状から探す

================================================================================================================================== */
.search {
    position: relative;
    padding: 100px 0 140px;
    background: url("../images/top_search_bg.png") repeat center;
}
.search .tab_list {
    gap: 10px;
}
.search .tab_list .tab {
    padding: 12px 20px;
    font-family: "fot-chiaro-std", sans-serif;
    font-weight: 700;
    border-radius: 10px 10px 0 0;
}
.search .panel {
    position: relative;
    z-index: 1;
    padding: 25px;
    background: #dbc6a1;
}
.search_list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    height: fit-content;
}
.search_list li {
    width: calc(33.3333333333% - 13.3333333333px);
    height: auto;
}

/* ----- リンクボタン ----- */
.search_list li a {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 60px;
    padding: 10px 20px 10px 42px;
    background: rgba(255, 255, 255, 1);
    color: var(--text-color);
}
.search_list li a:hover {
    background: rgba(255, 255, 255, 0.5);
}
.search_list li a::before {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 14px;
    display: block;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--main-color);
    opacity: 0.5;
    transform: translateY(-50%);
    transition: color 0.2s;
    content: "\f002";
}

/* リンク先準備中（クリック不可） （リンク先#の場合）*/
.search_list li a[href="#"]{
  pointer-events: none;
  position:relative;
}
.search_list li a[href="#"]:after{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  position: absolute;
  top:0;
  left: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  content: "準備中";        
}

/* ----- 画像あり ----- */
.panel_flex.active {
    display: flex;
    flex-flow: wrap;
    gap: 20px;
}
.search_img {
    width: calc(50% - 10px);
    margin: 0 !important;
}
.panel_flex .search_list {
    width: calc(50% - 10px);
}
.panel_flex .search_list li {
    width: calc(50% - 10px);
}

/* ==============================================
  *SP 病状、症状から探す
============================================== */
@media screen and (max-width: 640px) {
    .search {
        padding: 50px 0 60px;
    }
    .search .tab_list {
        flex-flow: column;
        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;
    }
    .search_list {
        gap: 10px;
    }
    .search_list li {
        width: 100%;
    }
    .search_list li a {
        min-height: auto;
        padding: 10px 30px 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%;
    }
}

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

  *診療案内

================================================================================================================================== */
.medical {
    position: relative;
    padding: 80px 0 140px;
}

/* パララックス */
.parallax_medical {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.parallax_medical .parallax_img::before {
    display: block;
    background: url(../images/top_parallax_02_dmy.jpg) no-repeat center / cover;
	background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.0)), url(../images/top_parallax_02.jpg) no-repeat center / cover;
    overflow: hidden;
    content: "";
}

.medical .top_title {
    position: relative;
    z-index: 1;
}
.medical .top_title h2 {
    color: #ffffff;
}
.medical .top_title span {
    color: #ffffff;
    background-image: linear-gradient(to right, #fff 0 3px, transparent 3px 6px);
}
.medical_list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px 18px;
}
.medical_item {
    position: relative;
    z-index: 1;
    width: calc(25% - 14px);
    height: auto;
    overflow: hidden;
}
.medical_item:hover {
    transform: translateY(-10px);
}
.medical_item::before {
    position: absolute;
    right: -44px;
    bottom: -46px;
    box-sizing: border-box;
    width: 94px;
    height: 94px;
    padding: 19px 0 0 21px;
    border-radius: 100%;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 22px;
    line-height: 1;
    color: var(--mein-color);
    content: "\2b";
    background-color: #fff;
}
.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: 260px;
    padding: 30px 20px 40px;
    background: rgba(222, 199, 159, 0.95);
    text-align: center;
}
.medical_inner > *:not(:last-child) {
    margin-bottom: 15px;
}
.medical_icon {
    width: 70%;
    max-width: 110px;
    margin: 0 auto 10px !important;
}
.medical_title h3 {
    font-family: "fot-chiaro-std", sans-serif;
    font-weight: 700;
    font-size: 19px;
    letter-spacing: 0;
    line-height: 1.5;
    color: #fff;
    filter: drop-shadow(0px 0px 15px rgba(188, 143, 78, 1));
}
.medical_title_eng {
    margin-top: 5px;
    font-family: "brandon-grotesque", sans-serif;
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0.1em;
    text-align: center;
    color: var(--main-color);
}
.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 + 3) {
    width: calc((100% - 36px) / 3);
    min-height: 300px;
}
.medical_item:nth-of-type(-n + 3) .medical_inner {
    padding: 20px 20px 40px;
}
.medical_item:nth-of-type(-n + 3) .medical_icon {
    max-width: 140px;
    margin: 0 auto 8px !important;
}
.medical_item:nth-of-type(-n + 3) .medical_title h3 {
    font-size: 24px;
    letter-spacing: 0.1em;
}

/* ==============================================
  *SP 診療案内
============================================== */
@media screen and (max-width: 640px) {
    .medical {
        padding: 50px 0 60px;
    }
    .medical_list {
        gap: 12px 10px;
    }
    .medical_item,
    .medical_item:nth-of-type(-n + 3) {
        width: calc(50% - 5px);
        min-height: initial;
    }
    .medical_item::before {
        right: -32px;
        bottom: -32px;
        width: 60px;
        height: 60px;
        padding: 12px 0 0 13px;
        font-size: 13px;
    }
    .medical_item:hover {
        transform: translateY(-5px);
    }
    .medical_inner,
    .medical_item:nth-of-type(-n + 3) .medical_inner {
        min-height: auto;
        padding: 20px 10px;
    }
    .medical_icon,
    .medical_item:nth-of-type(-n + 3) .medical_icon {
        width: 50%;
    }
    .medical_title h3,
    .medical_item:nth-of-type(-n + 3) .medical_title h3 {
        font-size: 110%;
        letter-spacing: 0;
    }
    .medical_title_eng {
        margin-top: 4px;
        font-size: 11px;
        letter-spacing: 0.02em;
    }
}

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

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

================================================================================================================================== */
.column {
    padding: 80px 0 100px;
}
.column_list {
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    gap: 50px 25px;
    padding: 40px;
    background: var(--bg-color);
}
.column_box {
    width: calc(25% - 18.75px);
}
.column_box dt a {
    display: block;
    padding: 10px 10px;
    background: var(--main-color);
    color: #ffffff;
    font-family: "fot-chiaro-std", sans-serif;
    font-weight: 700;
    font-size: 110%;
    text-align: center;
}
.column_box dd {
    padding: 15px 10px;
    border-bottom: 1px dashed #d6c3a2;
    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 {
        padding: 50px 0 60px;
    }
    .column_list {
        gap: 40px;
        padding: 30px 8%;
    }
    .column_box {
        width: 100%;
    }
}

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

  *無限スライダー

================================================================================================================================== */
#infinitySlider {
    padding: 80px 10px 40px;
    background: var(--bg-color);
}
#infinitySlider .splide__list {
    gap: 25px;
}
#infinitySlider .splide__slide {
    width: 400px !important;
}

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

.flexbox02 div iframe {
	width:100%;
	height:auto;
	aspect-ratio:16/9;
}
