@charset "UTF-8";

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

  *基本設定

================================================================================================================================== */
.front {
    background: url("../images/top_info_bg.jpg") no-repeat center top 800px/auto auto, #fafafb;
    overflow: hidden;
}
@media screen and (min-width: 1920px) {
    .front {
        background: url("../images/top_info_bg.jpg") no-repeat center top 800px/100% 1214px, #fafafb;
    }
}
.text > *:not(:last-child) {
    margin-bottom: 2em;
}

/* ----- トップボタン ----- */
.top_btn > * {
    position: relative;
    display: inline-block;
    padding: 12px 55px 12px 35px;
    border: 1px solid var(--main-color);
    font-size: 100%;
    letter-spacing: 0.15em;
    text-align: center;
    vertical-align: bottom;
    color: var(--main-color);
    background: transparent;
    transition: background 0.2s, color 0.2s;
}
.top_btn > *:hover {
    color: #ffffff;
    background: var(--main-color);
}
.top_btn > *::after {
    position: absolute;
    top: 50%;
    right: 20px;
    display: block;
    width: 17px;
    height: 15px;
    background: url(../images/top_btn_arrow.png) no-repeat center/contain;
    transform: translateY(-50%);
    transition: right 0.2s, background 0.2s;
    content: "";
}
.top_btn > *:hover::after {
    right: 12px;
    background-image:  url(../images/top_btn_arrow_on.png);
}

/* ----- パララックス ----- */
.parallax {
    position: relative;
    z-index: 1;
    width: 100%;
    min-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%;
    background: url("../images/top_parallax_bg_dmy.jpg") no-repeat center/cover;
}

/* ==============================================
  *SP 基本設定
============================================== */
@media screen and (max-width: 640px) {
    /* ----- パララックス ----- */
    .parallax {
    }
}

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

  *タイトル

================================================================================================================================== */
.top_title {
    position: relative;
    margin-bottom: 50px;
    padding: 113px 0 0;
    line-height: 1.5;
    text-align: center;
    color: var(--main-color);
}
.top_title::before {
    position: absolute;
    left: 50%;
    top: 0;
    width: 1px;
    height: 100px;
    background-color: #aaa;
    content: "";
}
.top_title.title_left {
    text-align: start;
}
.top_title h2 {
    font-family: "zen-old-mincho", sans-serif;
    font-weight: 400;
    font-size: 20px;
    letter-spacing: 0.1em;
    line-height: 1.4;
}
.top_title .eng {
    display: block;
    margin-bottom: 5px;
    font-size: 60px;
    font-family: "optima-lt-pro", sans-serif;
    font-weight: 400;
    letter-spacing: 0.1em;
    line-height: 1;
}

/* ==============================================
  *SP タイトル
============================================== */
@media screen and (max-width: 640px) {
    h1 {
        margin: 0 auto 30px;
    }
    .top_title {
        margin-bottom: 30px;
        padding: 68px 0 0;
    }
    .top_title::before {
        height: 60px;
    }
    .top_title h2 {
        font-size: 17px;
    }
    .top_title .eng {
        margin-bottom: 8px;
        font-size: 38px;
    }
}

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

  *メインビジュアル

================================================================================================================================== */
.mainvisual {
    position: relative;
    z-index: 2;
    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 {
    font-size: 220%;
    filter: drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff);
}

/* ----- コンテンツ ----- */
.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;
    padding: 4px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
}
.open_bnr > * {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    width: 280px;
    height: 280px;
    padding: 15px;
    background: var(--main-color);
    border-radius: 50%;
    color: #ffffff;
    font-size: 110%;
    line-height: 1.5;
    text-align: center;
}
.open_bnr .date {
    font-size: 110%;
}
.open_bnr .open_text {
    margin: 0 0 10px;
    font-size: 180%;
}
.open_bnr .nairankai_tit {
    display: block;
    width: 100%;
    margin: 0 0 10px;
    padding: 5px 10px;
    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);
}

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

/* ==============================================
  *SP メインビジュアル
============================================== */
@media screen and (max-width: 640px) {
    .mainvisual {
        height: 350px;
    }
    
    /* ----- スライダーのArrowボタン ----- */
    .mvSlider .sliderBtn {
        top: 50%;
        width: 40px;
        height: 40px;
        padding: 2px;
        font-size: 12px;
    }
    .mvSlider .sliderBtn#mv_btnPrev {
        left: 10px;
    }
    .mvSlider .sliderBtn#mv_btnNext {
        right: 10px;
    }
    .mvSlider .sliderBtn span::before {
        font-size: 11px;
    }
    .mvCatch {
        top: auto;
        bottom: 20px;
        display: none;
    }
    .mvCatch.is-active {
        display: block;
    }
    .mvCatch p {
        font-size: 130%;
        line-height: 1.75;
        filter: drop-shadow(0 0 3px #ffffff) drop-shadow(0 0 3px #ffffff) drop-shadow(0 0 3px #ffffff);
    }
    .mvContents {
        display: none;
    }
    .sp_only {
        display: block;
        background: none !important;
    }
    .sp_only .inner {
        padding: 0 20px;
    }
    .sp_only_contents {
        display: flex;
        flex-flow: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: 100%;
    }
    .open_bnr {
        position: static;
        width: 100%;
        max-width: 350px;
        border-radius: 0;
    }
    .open_bnr > * {
        width: 100%;
        height: auto;
        padding: 15px 20px;
        border-radius: 0;
    }
}

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

  *バナーエリア

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

/* 画像のみのバナー */
.top_banner .onlyimg .banner_slide {
    height: fit-content;
    padding: 0;
}
.top_banner .onlyimg .banner_slide img {
    width: 100%;
    height: auto;
    transition: opacity 0.2s;
}
.top_banner .onlyimg a.banner_slide:hover img {
    opacity: 0.5;
}

/* インプットバナー */
.top_banner .input .banner_slide {
    gap: 10px;
    width: 100%;
    height: 100%;
    padding: 15px;
    background: var(--bg-color);
}
.top_banner .input .banner_slide .slide_img {
    flex-shrink: 0;
    width: calc(30% - 10px);
    height: 100%;
}
.top_banner .input a.banner_slide:hover {
    background: #f5f5f5;
}
.top_banner .input .slide_img {
    flex-shrink: 0;
    width: calc(30% - 10px);
    height: 100%;
}
.top_banner .input .banner_slide .slide_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.top_banner .input .slide_inner {
    width: 100%;
    height: 100%;
    padding: 0 0 10px;
}
.top_banner .input .slide_title {
    margin: 0 auto 10px;
    padding: 5px;
    border-bottom: 1px solid var(--line-color);
    color: var(--main-color);
    font-size: 110%;
    line-height: 1.5;
}
.top_banner .input .slide_content {
    font-size: 90%;
}

/* ----- グリッドバナー ----- */
.banner_grid ul {
    display: flex;
    flex-flow: wrap;
    gap: 20px;
}
.banner_grid li {
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(33.3333333333% - 13.3333333333px);
}

/* ----- スライダーバナー ----- */
#bannerSlider .splide {
    position: relative;
    z-index: 1;
}
#bannerSlider .splide__inner {
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

/* スライドの設定  */
#bannerSlider .splide__slide {
    display: flex;
    align-items: center;
    min-height: 200px;
}

/* スライダーのArrowボタン */
#bannerSlider .bannerSlider_arrow {
    position: absolute;
    top: 50%;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    padding: 3px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    transform: translateY(-50%);
}
#bannerSlider .bannerSlider_arrow i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0 0 1px 0;
    background: var(--main-color);
    border-radius: 50%;
    font-size: 80%;
    transition: background 0.2s;
}
#bannerSlider .bannerSlider_arrow:hover i {
    background: var(--text-color);
}
#bannerSlider .bannerSlider_arrow_prev {
    left: 0;
}
#bannerSlider .bannerSlider_arrow_next {
    right: 0;
}

/* ページネーション */
#bannerSlider .bannerSlider_pagination {
    z-index: 1;
    display: flex;
    gap: 15px;
    margin: 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: 0 0 0;
    }
    
    /* ----- グリッドバナー ----- */
    .banner_grid li {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    /* ----- スライダーバナー ----- */
    #bannerSlider .splide__inner {
        position: relative;
        z-index: 1;
        padding: 0 15px;
    }
    #bannerSlider .splide__slide {
        min-height: initial;
    }
    
    /* スライダーのArrowボタン */
    #bannerSlider .bannerSlider_arrow {
        width: 40px;
        height: 40px;
    }
    #bannerSlider .bannerSlider_arrow i {
        padding: 0 0 1px 0;
    }
    
    /* ページネーション */
    #bannerSlider .bannerSlider_pagination {
        gap: 12px;
        margin: 20px auto 0;
    }
    #bannerSlider .bannerSlider_page {
        width: 8px;
        height: 8px;
    }
}

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

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

==================================================================================================================================*/
.clinic {
    position: relative;
    z-index: 1;
    margin-bottom: 60px;
}

/* ----- お知らせ ----- */
.clinic .news {
    position: relative;
    z-index: 1;
}
.clinic .news .top_title {
    text-align: left;
}
.clinic .news .top_title h2 {
    font-size: 18px;
}
.clinic .news .top_title .eng {
    margin-bottom: 18px;
    font-size: 50px;
}
.clinic .news .inner {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
    padding: 100px 0 70px;
}
.clinic .news .news_left {
    flex-shrink: 0;
}
.clinic .news .top_title {
    padding: 0 0 0;
}
.clinic .news .top_title::before {
    display: none;
}

/* ----- 医院概要 ----- */
.clinic .info .inner {
    display: flex;
    gap: 40px;
    padding: 40px 40px 40px;
    border: 1px solid rgba(147, 126, 82, 0.5);
    background-color: rgba(255, 255, 255, 0.5);
}
.clinic .info .inner > * {
    width: calc(50% - 20px);
}
.clinic .info address > * {
    position: relative;
    z-index: 1;
}
.clinic .info address > *::before {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: inline-block;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--main-color);
    font-size: 26px;
    line-height: 1;
}
.clinic .info address .location {
    padding: 0 0 0 32px;
}
.clinic .info address .location::before {
    content: "\f3c5";
}
.clinic .info address .location .zipcode {
    margin-right: 10px;
}
.clinic .info address .tel {
    margin-top: 20px;
    padding: 0 0 0 32px;
    font-family: "optima-lt-pro", sans-serif;
    font-weight: 400;
    font-size: 30px;
    line-height: 1;
    letter-spacing: 0.1em;
}
.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;
}
.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: 30px auto 0;
    padding: 14px 20px;
    background: var(--bg-color);
}
.clinic .info .speciality .title {
    flex-shrink: 0;
    width: fit-content;
    padding: 10px 30px;
    line-height: 1.5;
    background: var(--main-color);
    color: #ffffff;
    text-align: center;
}
.clinic .info .office_hour:first-child {
    margin-top: 30px;
}
.clinic .info .list_access {
    margin-top: 5px;
}
.clinic .info .calendar_text {
    margin-top: 20px;
}
.clinic .info .top_btn {
    margin-top: 20px;
    text-align: center;
}
.clinic .info .googlemap iframe {
    height: 350px;
}

@media screen and (max-width: 640px) {
    .clinic {
        padding: 0 5%;
        margin-bottom: 50px;
    }
    .clinic .news .inner {
        flex-flow: column;
        gap: 0;
        padding: 30px 0;
    }
    .clinic .news .top_title {
        margin: 0 0 20px;
        text-align: center;
    }
    .clinic .news .top_title h2 {
        font-size: 16px;
    }
    .clinic .news .top_title .eng {
        margin-bottom: 7px;
        font-size: 36px;
    }
    .clinic .news .top_btn {
        margin-top: 20px;
    }
    .clinic .info .inner {
        flex-flow: column;
        padding: 20px 4% 30px;
        gap: 24px;
    }
    .clinic .info .inner > * {
        width: 100%;
    }
    .clinic .info address > *::before {
        top: 6px;
        transform: translateY(0);
        font-size: 20px;
    }
    .clinic .info address .location {
        padding: 0 0 0 26px;
        line-height: 1.7;
    }
    .clinic .info address .tel {
        margin-top: 10px;
        padding: 0 0 0 26px;
    }
    .clinic .info .speciality {
        flex-flow: column;
        gap: 10px;
        margin: 16px auto 0;
        padding: 10px;
        line-height: 1.6;
    }
    .clinic .info .speciality .title {
        width: 100%;
    }
    .clinic .info .googlemap iframe {
        height: 300px;
    }
}

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

  *ご挨拶

================================================================================================================================== */
.greeting {
    position: relative;
    margin-bottom: 90px;
}
.greeting::before {
    position: absolute;
    left: calc(50% - 1244px);
    top: -336px;
    width: 1178px;
    height: 587px;
    background: url("../images/top_bg_stone.jpg") no-repeat center;
    content: "";
}
.greeting .top_title {
    padding: 93px 0 0;
}
.greeting .top_title::before {
    height: 80px;
}
.greeting_box {
    position: relative;
    z-index: 1;
}
.greeting_flex {
    display: flex;
    gap: 70px;
}
.greeting_box:not(:last-child) {
    margin-bottom: 70px;
}
.greeting_left {
    flex-shrink: 0;
    width: 690px;
}
.greeting_text > *:not(:last-child) {
    margin-bottom: 2em;
}
.greeting_profile {
    position: relative;
/*     width: 70%; */
	width: 85%;
    padding: 20px;
    margin: -40px auto 0;
    font-family: "zen-old-mincho", sans-serif;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.75;
    letter-spacing: 0.1em;
    text-align: center;
    background: rgba(147, 126, 82, 0.88);
}
.greeting_profile::before {
    position: absolute;
    top: -20px;
    left: 50%;
    width: 1px;
    height: 40px;
    background-color: #fff;
    content: "";
}
.greeting_profile .position {
/*     font-size: 120%; */
	font-size: 100%;
}
.greeting_profile .name {
    font-size: 140%;
}
.greeting_profile .name span {
    margin-right: 20px;
    font-size: 80%;
}
.greeting_right {
    position: relative;
}
.greeting_right::before {
    position: absolute;
    top: -60px;
    left: 180px;
    width: 778px;
    height: 500px;
    background: url("../images/top_bg_stone.jpg") no-repeat center;
    content: "";
}
.greeting_img {
    position: relative;
}
.greeting_btn {
    margin-top: 50px;
    text-align: left;
}

/* ==============================================
  *SP ご挨拶
============================================== */
@media screen and (max-width: 640px) {
    .greeting {
        margin-bottom: 40px;
    }
    .greeting::before {
        left: calc(50% - 1226px);
    }
    .greeting .top_title {
        z-index: 1;
        padding: 43px 0 0;
    }
    .greeting .top_title::before {
        height: 40px;
    }
    .greeting_flex {
        flex-flow: column-reverse;
        gap: 20px;
    }
    .greeting_left {
        width: 100%;
    }
    .greeting_text > *:not(:last-child) {
        margin-bottom: 1em;
    }
    .greeting_right::before {
        top: -20px;
        left: calc(50% + 50px);
        height: 100%;
        background-size: contain;
    }
    .greeting_profile {
        width: 80%;
        line-height: 1.6;
        padding: 20px 10px;
    }
    .greeting_profile .position {
        font-size: 110%;
    }
    .greeting_profile .name {
        font-size: 130%;
    }
    .greeting_btn {
        margin-top: 30px;
        text-align: center;
    }
}

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

  *診療案内

================================================================================================================================== */
.medical {
    background: url("../images/top_parallax_bg_dmy.jpg") no-repeat center/cover;
}
.medical .inner {
    width: 100%;
    padding: 1px 0 140px;
}
.medical .top_title {
    margin-top: -40px;
    color: #fff;
}
.medical_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px 15px;
}
.medical_item {
    position: relative;
    z-index: 1;
    width: calc(20% - 12px);
    height: auto;
}
.medical_item:hover {
    transform: translateY(-10px);
}
.medical_img {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: -1;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    transition: background 0.2s;
}
.medical_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.medical_inner {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 270px;
    padding: 25px 20px 20px;
    background: rgba(49, 36, 27, 0.45);
    text-align: center;
}
.medical_inner > *:not(:last-child) {
    margin-bottom: 15px;
}
.medical_icon {
    width: 90%;
    max-width: 160px;
    margin: 0 auto 15px !important;
}
.medical_title h3 {
    font-family: "zen-old-mincho", sans-serif;
    font-weight: 400;
    letter-spacing: 0.12em;
    line-height: 1.4;
    font-size: 20px;
    color: #fff;
}
.medical_title_eng {
    margin-top: 6px;
    font-family: "optima-lt-pro", sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: #fff;
    letter-spacing: 0.12em;
    line-height: 1;
    text-align: center;
}
.medical_text {
    color: var(--text-color);
}
.medical_btn {
    margin-top: 18px;
}
.medical_btn span {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin: 0 auto;
    padding: 7px 40px 7px 15px;
    background: var(--main-color);
    border: 1px solid var(--main-color);
    color: #ffffff;
    letter-spacing: 1px;
    font-size: 14px;
    text-align: center;
    transition: padding 0.2s, color 0.2s, background 0.2s;
}
.medical_item:hover .medical_btn span {
    background: transparent;
    border: 1px solid #fff;
}
.medical_btn span::after {
    position: absolute;
    top: 50%;
    right: 16px;
    display: inline-block;
    width: 14px;
    height: 12px;
    background: url("../images/top_btn_arrow_small_on.png") no-repeat center/contain;
    transform: translateY(-50%);
    content: "";
}
.medical_item:hover .medical_btn span::after {
    right: 10px;
}

/* ----- 先頭2つの設定----- */
.medical_item:nth-of-type(-n + 2) {
    width: calc(50% - 10px);
}
.medical_item:nth-of-type(-n + 2) .medical_inner {
    flex-flow: row;
    justify-content: flex-start;
    gap: 50px;
    padding: 30px 40px;
    min-height: initial;
    text-align: left;
}
.medical_item:nth-of-type(-n + 2) .medical_icon {
    max-width: 220px;
    margin: 0 0 0 !important;
}
.medical_item:nth-of-type(-n + 2) .medical_title h3 {
    font-size: 32px;
}
.medical_item:nth-of-type(-n + 2) .medical_title_eng {
    margin-top: 14px;
    font-size: 16px;
    text-align: left;
}
.medical_item:nth-of-type(-n + 2) .medical_btn {
    margin-top: 30px;
}

/* ==============================================
  *SP 診療案内
============================================== */
@media screen and (max-width: 640px) {
    .medical .inner {
        padding: 1px 5% 60px;
    }
    .medical .top_title {
        margin-top: -30px;
    }
    .medical_list {
        gap: 12px 10px;
    }
    .medical_item {
        width: calc(50% - 5px);
    }
    .medical_item:hover {
        transform: translateY(-5px);
    }
    .medical_inner {
        min-height: auto;
        padding: 20px 10px;
    }
    .medical_icon {
        width: 70%;
        margin: 0 auto 12px !important;
    }
    .medical_title h3 {
        font-size: 110%;
        letter-spacing: 0.04em;
    }
    .medical_title_eng {
        font-size: 11px;
        letter-spacing: 0.05em;
    }
    
    /* ----- 先頭2つの設定----- */
    .medical_item:nth-of-type(-n + 2) {
        width: 100%;
        min-height: auto;
    }
    .medical_item:nth-of-type(-n + 2) .medical_inner {
        gap: 20px;
        padding: 15px 20px 20px;
    }
    .medical_item:nth-of-type(-n + 2) .medical_icon {
        width: 40%;
    }
    .medical_item:nth-of-type(-n + 2) .medical_title h3 {
        font-size: 140%;
    }
    .medical_item:nth-of-type(-n + 2) .medical_title_eng {
        margin-top: 10px;
        font-size: 13px;
    }
    .medical_btn span {
        padding: 7px 26px 7px 10px;
        letter-spacing: 0;
        font-size: 13px;
    }
    .medical_btn span::after {
        right: 7px;
        width: 12px;
    }
}

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

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

==================================================================================================================================*/
.feature {
    background: url("../images/top_feature_bg.jpg") no-repeat center bottom/auto auto, #fafafb;
}
@media screen and (min-width: 1920px) {
    .feature {
        background: url("../images/top_feature_bg.jpg") no-repeat center bottom/100% 1150px, #fafafb;
    }
}
.feature .top_title {
    z-index: 1;
    margin-top: -40px;
}
.feature .inner {
    padding: 1px 0 140px;
}
.feature_list {
    display: flex;
    flex-flow: wrap;
    gap: 60px 30px;
}
.feature_item {
    display: flex;
    align-items: flex-start;
    height: auto;
    width: 100%;
    margin-top: 50px;
}
.feature_img {
    position: relative;
    z-index: 3;
    width: 560px;
    flex-shrink: 0;
    margin-top: -30px;
}
.feature_img::before,
.feature_img::after {
    position: absolute;
    width: 100%;
    height: 100%;
    content: "";
}
.feature_img::before {
    top: -30px;
    left: -30px;
    background: url("../images/top_bg_stone2.jpg") no-repeat center;
}
.feature_img::after {
    right: -15px;
    bottom: -15px;
    box-sizing: border-box;
    border: 1px solid var(--main-color);
    opacity: 0.5;
}
.feature_img img {
    position: relative;
}
.feature_inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-flow: column;
    width: calc(100% + 100px);
    height: 100%;
    min-height: 360px;
    margin: 0 0 0 -100px;
    border: 14px solid #f8f4ec;
    padding: 25px 50px 50px 136px;
    background: #fff;
}
.feature_inner > *:not(:last-child) {
    margin-bottom: 30px;
}
.feature_inner > p {
    letter-spacing: 0.1em;
}
.feature_title {
    display: flex;
    flex-flow: column;
    margin-bottom: 16px !important;
}
.feature_title h3 {
    font-family: "zen-old-mincho", sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.5;
    letter-spacing: 0.1em;
    color: var(--main-color);
}
.feature_num {
    width: fit-content;
    width: -moz-fit-content;
    margin: 0 0 16px -60px !important;
    padding: 5px 40px 5px 30px;
    font-family: "optima-lt-pro", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1;
    letter-spacing: 0.1em;
    color: #fff;
    background-color: var(--main-color);
    clip-path: polygon(100% 0, calc(100% - 14px) 50%, 100% 100%, 0 100%, 0 0);
}
.feature_num span {
    font-size: 30px;
}
.feature_item .top_btn {
    text-align: right;
}
.feature_item .top_btn > * {
    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 {
    padding: 25px 136px 50px 50px;
    margin: 0 -100px 0 0;
}
.feature_item:nth-child(even) .feature_img::before {
    left: auto;
    right: -30px;
}
.feature_item:nth-child(even) .feature_img::after {
    right: auto;
    left: -15px;
}

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

@media screen and (max-width: 640px) {
    .feature {
        padding-bottom: 0;
    }
    .feature .inner {
        padding: 1px 5% 60px;
    }
    .feature .top_title {
        margin-top: -30px;
    }
    .feature_list {
        gap: 40px;
    }
    .feature_item {
        flex-flow: column;
        width: 100%;
        margin: 0;
    }
    .feature_img {
        width: 100%;
        margin: 0;
    }
    .feature_img::before {
        top: -14px;
        left: -10px;
    }
    .feature_img::after {
        right: -8px;
        bottom: -8px;
    }
    .feature_inner {
        width: 100%;
        min-height: auto;
        margin: 0;
        padding: 16px 20px 20px;
        border: 10px solid #f8f4ec;
    }
    .feature_inner > *:not(:last-child) {
        margin-bottom: 20px;
    }
    .feature_title {
        margin-bottom: 10px !important;
        min-height: auto;
    }
    .feature_num {
        margin: 0 0 16px -30px !important;
        padding: 5px 26px 5px 18px;
        font-size: 16px;
    }
    .feature_num span {
        font-size: 24px;
    }
    .feature_title h3 {
        font-size: 19px;
    }
    
    /* 左右 */
    .feature_item:nth-child(even) {
        flex-flow: column;
    }
    .feature_item:nth-child(even) .feature_inner {
        margin: 0 auto;
        padding: 16px 20px 20px;
    }
    .feature_item:nth-child(even) .feature_img::before {
        right: -10px;
    }
    .feature_item:nth-child(even) .feature_img::after {
        left: -8px;
    }
    
    /* 横並び */
    .btnflex_feature .btn01 {
        width: 100%;
    }
}

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

  *症状から探す（パターン01） - 追加コンテンツ

==================================================================================================================================*/
.search {
    background: url("../images/top_parallax_bg_dmy.jpg") no-repeat center/cover;
}
.search .top_title {
    margin-top: -40px;
    color: #fff;
}
.search .inner {
    width: 100%;
    padding: 1px 0 140px;
}
.search_list {
    display: flex;
    flex-flow: wrap;
    gap: 50px;
}
.search_item {
    display: flex;
    align-items: center;
    width: 100%;
}
.search_img {
    position: relative;
    z-index: 3;
    width: 580px;
    height: fit-content;
}
.search_inner {
    position: relative;
    z-index: 2;
    width: 960px;
    margin: 0 0 0 -340px;
    padding: 67px 50px 67px 380px;
    background: rgba(49, 36, 27, 0.45);
}
.search_title {
    position: relative;
    z-index: 2;
    margin: 0 auto 15px;
    text-align: center;
}
.search_title h2, .search_title h3 {
    background: none;
    font-size: 200%;
}
.search_title span {
    color: var(--main-color);
}
.search_text {
    margin: 30px 0;
}
.search_link {
    display: flex;
    flex-flow: wrap;
    gap: 10px 16px;
    margin-top: auto;
}
.search_link .search_btn {
    width: calc((100% / 2) - (16px / 2));
    height: fit-content;
}
.search_link .search_btn a {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    padding: 10px 45px 10px 20px;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.5);
    color: #ffffff;
    font-size: 95%;
    letter-spacing: 0.1em;
    text-align: left;
    opacity: 1;
    transition: 0.2s ease-in-out;
}
.search_link .search_btn a:hover {
    opacity: 0.5;
}
.search_link .search_btn a::before {
    position: absolute;
    top: 50%;
    right: 18px;
    display: block;
    width: 14px;
    height: 12px;
    background: url(../images/top_btn_arrow_small_on.png) no-repeat center / cover;
    transform: translateY(-50%);
    transition: right 0.2s, background 0.2s;
    content: "";
}
.search_link .search_btn a:hover::before {
    right: 12px;
}

/* 偶数 */
.search_item:nth-child(even) {
    flex-flow: row-reverse;
}
.search_item:nth-child(even) .search_inner {
    margin: 0 -70px 0 0;
}

/*==============================================
  *SP　ピックアップ（追加コンテンツ）
==============================================*/
@media screen and (max-width:640px) {
    .search .inner {
        padding: 1px 0 60px;
    }
    .search .top_title {
        margin-top: -30px;
    }
    .search_list {
        width: calc(100%);
    }
    .search_title h2, .search_title h3 {
        font-size: 160%;
    }
    .search_item {
        flex-flow: column;
        width: 100%;
    }
    .search_img {
        width: calc(100% - 20px);
        margin: 0 auto 0 0;
    }
    .search_inner {
        width: calc(100% - 20px);
        margin: -30px 0 0 auto;
        padding: 30px 20px;
    }
    .search_link {
        gap: 5px 16px;
        min-height: auto;
        margin-top: 12px;
    }
    .search_link .search_btn {
        width: 100%;
    }
    
    /* 偶数 */
    .search_item:nth-child(even) {
        flex-flow: column;
    }
    .search_item:nth-child(even) .search_img {
        margin: 0 0 0 auto;
    }
    .search_item:nth-child(even) .search_inner {
        margin: -30px auto 0 0;
    }
}

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

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

================================================================================================================================== */
.column {
    background-color: #fafafb;
}
.column .inner {
    padding: 1px 0 120px;
}
.column .top_title {
    z-index: 1;
    margin-top: -40px;
    margin-bottom: 40px;
}
.column_list {
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    gap: 50px 25px;
    padding: 30px;
    background: #fff;
    box-shadow: 0px 0px 50px 0px rgba(0, 0, 0, 0.05);
}
.column_box {
    width: calc(25% - 18.75px);
}
.column_box dt a {
    display: block;
    padding: 12px 10px;
    background: var(--main-color);
    color: #ffffff;
    font-family: "zen-old-mincho", sans-serif;
    font-weight: 400;
    font-size: 110%;
    text-align: center;
}
.column_box dd a {
    display: block;
    padding: 15px 10px;
    border-bottom: 1px dotted var(--line-color);
    text-align: center;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.column_box dd a:hover {
    color: var(--main-color);
    background-color: var(--bg-color);
}

/* ==============================================
  *SP 医療コラム
============================================== */
@media screen and (max-width: 640px) {
    .column .inner {
        padding: 1px 5% 50px;
    }
    .column .top_title {
        margin-top: -30px;
        margin-bottom: 20px;
    }
    .column_list {
        gap: 30px;
        padding: 20px 30px;
    }
    .column_box {
        width: 100%;
    }
    .column_box dt a {
        line-height: 1.4;
    }
    .column_box dd a {
        line-height: 1.5;
    }
}

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

  *無限スライダー

================================================================================================================================== */
#infinitySlider {
    margin-bottom: 90px;
    padding: 10px;
}
#infinitySlider .splide__list {
    gap: 30px;
}
#infinitySlider .splide__slide {
    width: 350px !important;
}
#infinitySlider .splide__slide:nth-of-type(even) {
    margin-top: 60px;
}

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