@charset "UTF-8";

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

  *基本設定

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

.front::before {
    position: absolute;
    content: "";
    background: #f7f7f7;
    width: 500px;
    height: 100%;
    right: 0;
    top: 500px;
    z-index: -1;
}

section .inner {
    padding: 100px 4rem;
    max-width: 1400px;
}

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

/* ----- パララックス ----- */
.parallax {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 500px;
}

/* 切り抜く範囲 */
.parallax_img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    display: block;
    width: 100%;
    height: 100%;
    clip-path: inset(0);
}

/* 固定する画像 */
.parallax_img::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ==============================================
  *SP 基本設定
============================================== */
@media screen and (max-width: 640px) {
    .front::before {
        width: 35%;
        height: 100%;
    }

    section .inner {
        padding: 70px 20px;
    }

    /* ----- パララックス ----- */
    .parallax {
        height: 300px;
    }
}

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

  *タイトル

================================================================================================================================== */
.top_title {
    position: relative;
    margin-bottom: 50px;
    line-height: 1.5;
    text-align: center;

    /* 左寄せ */
}

.top_title::before {
    position: absolute;
    content: "";
    background: url(../images/circle.svg) no-repeat center / cover;
    width: 43px;
    height: 41px;
    top: -0;
    left: 0;
    right: 0;
    margin: auto;
}

.top_title.title_left {
    text-align: start;
}

.top_title.title_left::before {
    display: none;
}

.top_title.title_lef h2 {
    padding-top: 0;
}

.top_title h2 {
    padding-top: 55px;
    font-size: 220%;
}

.top_title .eng {
    display: inline-block;
    color: var(--sub-blue);
    font-size: 150%;
    font-family: var(--font-eng);
    line-height: 1;
    padding-top: 10px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-jp);
}

/* ==============================================
  *SP タイトル
============================================== */
@media screen and (max-width: 640px) {
    .top_title {
        margin-bottom: 40px;
    }

    .top_title h2 {
        margin: 5px 0 0;
        font-size: 26px;
    }

    .top_title .eng {
        font-size: 18px;
        padding-top: 5px;
    }
}

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

  *メインビジュアル

================================================================================================================================== */
.mainvisual {
    position: relative;
    z-index: 1;
    height: 850px;
    overflow: hidden;
    padding: 0 30px;
}

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

.mvSlider::before,
.mvSlider::after {
    display: block;
    content: "";
    position: absolute;
    z-index: 2;
    right: 0;
    left: 0;
    margin: 0 auto;
    width: 100%;
}

.mvSlider::before {
    top: 0;
    height: 30%;
    background: linear-gradient(rgba(229, 236, 238), transparent);
}

.mvSlider::after {
    bottom: 0;
    height: 100%;
    background: linear-gradient(transparent, rgba(43, 99, 163, 0.55));
}

/* ----- スライダーの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;
    left: 0;
    bottom: 0;
    z-index: 3;
    width: 100%;
    transform: translateY(-50%);
}

.mvCatch .inner {
    position: relative;
    z-index: 1;
    padding: 0 40px;
    max-width: unset;
}

.mvCatch p {
    font-size: 400%;
    color: #ffffff;
    font-family: var(--font-jp);
    padding: 0 40px;
}

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

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

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

.open_bnr {
    position: absolute;
    right: 50px;
    bottom: 80px;
    width: 270px;
    height: 270px;
    border-radius: 50%;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    background: rgba(2, 22, 46, 0.3);
    padding: 0 40px;
}

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

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

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

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

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

.open_bnr .nairankai_tit {
    display: block;
    width: 100%;
    margin: 0 0 15px;
    padding: 5px 10px;
    border-radius: 300px;
    color: #ffffff;
    font-size: 90%;
    text-align: center;
    border: 1px solid #ffffff;
}

.nairakai_date {
    line-height: 1.65;
}

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

.open_bnr.subcolor>* .nairankai_tit {
    color: var(--sub-color);
}

/* MVバナー */
.mv_bnr {
    position: absolute;
    left: 100px;
    bottom: 23%;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.4s;
}

.mv_bnr>* {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 130px;
    height: 130px;
    background: rgba(100, 181, 230, 0.7);
    border-radius: 50%;
    letter-spacing: 2px;
    color: #ffffff !important;
    font-size: 120%;
    line-height: 1.5;
    text-align: center;
    font-family: var(--font-jp);
    text-shadow: 0 10px 10px rgba(10, 7, 55, 0.25);
    transition: background 0.2s, color 0.2s;
}

.mv_bnr>*::after {
    position: absolute;
    bottom: 12px;
    content: "\f078";
    display: block;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 12px;
    text-align: center;
}

.mv_bnr>*:hover::after {
    bottom: 10px;
}

.mv_bnr>*:first-child::after {
    display: none;
}

.mv_bnr>*:nth-child(2) {
    background: rgba(77, 137, 179, 0.7);
}

.mv_bnr>*:nth-child(3) {
    background: rgba(32, 66, 106, 0.7);
}

.mv_bnr a {
    color: #ffffff !important;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

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

.sp_only {
    display: none;
}

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

    /* ----- スライダーの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 .inner {
        padding: 0;
    }

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

    .mvCatch p {
        font-size: 200%;
        line-height: 1.75;
		padding: 0 25px;
    }

    .mvContents {
        display: none;
    }

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

    .sp_only .inner {
        padding: 0 20px 80px;
    }

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

    .open_bnr {
        position: static;
        width: 100%;
        max-width: 350px;
        height: auto;
        border-radius: 0;
        padding: 20px;
    }

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

    .mv_bnr {
        position: static;
        flex-flow: column;
        width: 100%;
    }

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

    .mv_bnr>*::after {
        position: absolute;
        top: 50%;
        right: 10px;
        content: "\f105";
        transform: translateY(-50%);
    }
}

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

  *バナーエリア

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

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

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

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

/* インプットバナー */
.top_banner .input .banner_slide {
    gap: 10px;
    width: 100%;
    height: 100%;
    padding: 15px;
    background: var(--bg-color);
}

.top_banner .input .banner_slide .slide_img {
    flex-shrink: 0;
    width: calc(30% - 10px);
    height: 100%;
}

.top_banner .input a.banner_slide:hover {
    background: #f5f5f5;
}

.top_banner .input .slide_img {
    flex-shrink: 0;
    width: calc(30% - 10px);
    height: 100%;
}

.top_banner .input .banner_slide .slide_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top_banner .input .slide_inner {
    width: 100%;
    height: 100%;
    padding: 0 0 10px;
}

.top_banner .input .slide_title {
    margin: 0 auto 10px;
    padding: 5px;
    border-bottom: 1px solid var(--line-color);
    color: var(--main-color);
    font-size: 110%;
    line-height: 1.5;
}

.top_banner .input .slide_content {
    font-size: 90%;
}

/* ----- グリッドバナー ----- */
.banner_grid ul {
    display: flex;
    flex-flow: wrap;
    gap: 20px;
}

.banner_grid li {
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(33.3333333333% - 13.3333333333px);
}

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

#bannerSlider .splide__inner {
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

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

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

#bannerSlider .bannerSlider_arrow i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0 0 1px 0;
    background: var(--main-color);
    border-radius: 50%;
    font-size: 80%;
    transition: background 0.2s;
}

#bannerSlider .bannerSlider_arrow:hover i {
    background: var(--text-color);
}

#bannerSlider .bannerSlider_arrow_prev {
    left: 0;
}

#bannerSlider .bannerSlider_arrow_next {
    right: 0;
}

/* ページネーション */
#bannerSlider .bannerSlider_pagination {
    z-index: 1;
    display: flex;
    gap: 15px;
    margin: 30px auto 0;
}

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

#bannerSlider .bannerSlider_page.is-active {
    background: var(--main-color);
}

/* ==============================================
  *SP バナーエリア（追加コンテンツ）
============================================== */
@media screen and (max-width: 640px) {

    /* ----- グリッドバナー ----- */
    .banner_grid li {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

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

    /* スライダーのArrowボタン */
    #bannerSlider .bannerSlider_arrow {
        width: 40px;
        height: 40px;
    }

    #bannerSlider .bannerSlider_arrow i {
        padding: 0 0 1px 0;
    }

    /* ページネーション */
    #bannerSlider .bannerSlider_pagination {
        gap: 12px;
        margin: 20px auto 0;
    }

    #bannerSlider .bannerSlider_page {
        width: 8px;
        height: 8px;
    }
}

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

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

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

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

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

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

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

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

/* ----- 医院概要 ----- */
.clinic .info .logo {
    width: 80%;
    margin-bottom: 30px;
}

.clinic .info .inner {
    display: flex;
    gap: 50px;
    padding: 30px 3rem 100px;
}

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

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

.clinic .info address>*::before {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    padding: 0 0 0 2px;
    background: var(--bg-blue);
    border-radius: 50%;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--main-color);
    font-size: 16px;
}

.clinic .info address .location {
    padding: 5px 0 5px 50px;
}

.clinic .info address .location::before {
    content: "\f3c5";
}

.clinic .info address .location .zipcode {
    margin-right: 10px;
}

.clinic .info address .tel {
    margin-top: 22px;
    padding: 3px 0 7px 50px;
    font-size: 30px;
    line-height: 1;
    letter-spacing: 4px;
    font-family: var(--font-eng);
    color: var(--main-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;
}

.clinic .info address .fax::before {
    content: "\f249";
}

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

.clinic .info .speciality {
    position: relative;
    display: flex;
    align-items: center;
    gap: 37px;
    margin: 30px auto 0;
    padding-left: 50px;
    font-family: var(--font-jp);
}

.clinic .info .speciality::before {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 30px;
    height: 1px;
    background: var(--main-color);
}

.clinic .info .speciality .title {
    position: relative;
    flex-shrink: 0;
    width: fit-content;
    text-align: center;
}

.clinic .info .speciality .title::after {
    position: absolute;
    display: block;
    content: "";
    width: 5px;
    height: 5px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--main-color);
    right: -20px;
    top: 0;
    bottom: 0;
    margin-top: auto;
    margin-bottom: auto;
}

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

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

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

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

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

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

    .clinic .info .inner {
        flex-flow: column;
        padding: 50px 20px 70px;
        background: #ffffff;
    }

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

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

    .clinic .info .speciality {
        flex-flow: column;
        gap: 10px;
        padding: 10px;
        border: 1px solid var(--main-color);
    }

    .clinic .info .speciality::before {
        display: none;
    }

    .clinic .info .speciality .title {
        width: 100%;
        border-bottom: 1px solid var(--line-color);
        padding-bottom: 10px;
    }

    .clinic .info .speciality .title::after {
        display: none;
    }
}

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

  *ご挨拶

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

.greeting::before {
    position: absolute;
    content: "";
    background: url(../images/marble.jpg) no-repeat center / cover;
    width: 70%;
    height: 65%;
    left: 0;
    bottom: 90px;
    opacity: 0.7;
}

.greeting .inner {
    max-width: 1600px;
    padding: 100px 4rem 150px;
}

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

.greeting .top_title h2 {
    position: relative;
    font-size: 24px;
    padding: 0 0 0 55px;
}

.greeting .top_title h2::before {
    position: absolute;
    content: "";
    background: var(--main-color);
    width: 40px;
    height: 1px;
    top: -0;
    left: 0;
    bottom: 0;
    margin: auto;
}

.greeting .top_title span {
    color: var(--sub-beige);
    font-size: 100px;
    letter-spacing: 8px;
    padding: 0 0 10px;
    opacity: 0.75;
}

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

.greeting_flex {
    display: flex;
    gap: 80px;
}

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

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

.greeting_text {
    position: relative;
}

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

.greeting_right {
    position: relative;
    margin-top: -120px;
}

.greeting_catch h3 {
    position: absolute;
    top: -120px;
    right: 30px;
    font-size: 180%;
    margin-bottom: 0 !important;
    padding: 20px 10px 10px;
    color: var(--title-color);
    writing-mode: vertical-rl;
    background: #ffffff;
    z-index: 1;
}

.greeting_img {
    position: relative;
}

.greeting_img::before {
    position: absolute;
    content: "";
    top: -40px;
    left: -30px;
    background: linear-gradient(rgba(151, 151, 151, 0.3), rgba(89, 125, 159, 0.4)), url(../images/marble_b.jpg) no-repeat center / cover;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.greeting_profile {
    position: relative;
    padding: 30px 0;
    color: var(--title-color);
    line-height: 1.85;
    text-align: center;
    font-family: var(--font-jp);
}

.greeting_profile::before {
    position: absolute;
    content: "";
    bottom: 40px;
    left: 50px;
    width: 1px;
    height: calc(100% + 50px);
    background: var(--main-color);
}

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

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

.greeting_profile .name span {
    font-size: 60%;
    margin-right: 10px;
}

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

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

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

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

    .greeting .top_title span {
        font-size: 50px;
        letter-spacing: 5px;
    }

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

    .greeting_left {
        width: 100%;
    }

    .greeting_right {
        margin-top: 0;
    }

    .greeting_catch h3 {
        top: -100px;
        right: 10px;
        font-size: 120%;
    }

    .greeting_img img {
        height: 300px;
        object-fit: cover;
    }

    .greeting_profile {
        margin: 30px 0 0;
    }

    .greeting_profile::before {
        bottom: 0;
        left: 20px;
    }

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

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

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

  *診療案内

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

.medical::before {
    position: absolute;
    content: "";
    background: url(../images/marble.jpg) no-repeat center / cover;
    width: 80%;
    height: 470px;
    left: 0;
    bottom: 100px;
    z-index: -1;
}

.medical .inner {
    padding: 100px 3rem 250px;
    max-width: 1600px;
}

.medical .tab_list {
    gap: 20px;
    width: calc(90% - 100px);
    margin: 0 auto;
}

.medical .tab_list .tab {
    padding: 25px 20px;
}

.medical .panel {
    position: relative;
    padding: 50px 3rem 60px;
    background: #ffffff;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
    border-top: 5px solid var(--main-color);
    z-index: 1;
}

.medical_list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    height: fit-content;
}

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

/* ----- リンクボタン ----- */
.medical_list li a {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 80px;
    padding: 20px 65px 20px 30px;
    color: var(--title-color);
    font-family: var(--font-jp);
    font-size: 110%;
    line-height: 1.35;
    border: 1px solid var(--main-color);
}

.medical_list li a:hover {
    background: var(--bg-blue);
}

.medical_list li a::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 23px;
    z-index: 2;
    display: block;
    width: 14px;
    height: 7px;
    background: var(--main-color);
    -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;
}

.medical_list li a:hover::before {
    background: #ffffff;
}

/* 矢印の背景 */
.medical_list li a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 15px;
    z-index: 1;
    display: block;
    width: 30px;
    height: 30px;
    background: var(--bg-blue);
    border-radius: 50%;
    transform: translateY(-50%);
    transition: background 0.2s;
}

.medical_list li a:hover::after {
    background: var(--main-color);
}

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

.medical_img {
    width: calc(50% - 10px);
    margin: 0 !important;
}

.panel_flex .medical_list {
    width: calc(50% - 10px);
}

.panel_flex .medical_list li {
    width: calc(50% - 10px);
}

/* ==============================================
  *SP 病状、症状から探す
============================================== */
@media screen and (max-width: 640px) {
    .medical::before {
        bottom: 40px;
    }

    .medical .inner {
        padding: 70px 5px 100px;
    }

    .medical .tab_list {
        flex-flow: inherit;
        gap: 7px;
        width: 100%;
    }

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

    .medical .panel {
        padding: 20px;
    }

    .medical_list {
        gap: 10px;
    }

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

    .medical_list li a {
        min-height: auto;
        padding: 20px 40px 20px 13px;
        font-size: 95%;
    }

    .medical_list li a::before {
        right: 18px;
    }

    .medical_list li a::after {
        right: 10px;
        width: 20px;
        height: 20px;
    }

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

    .medical_img {
        width: 100%;
    }

    .panel_flex .medical_list {
        width: 100%;
    }

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

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

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

================================================================================================================================== */
.feature {
    position: relative;
    background: #ffffff;
}

.feature .inner {
    padding: 0 4rem 100px;
    max-width: 1600px;
}

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

.feature .top_title span {
    color: var(--sub-beige);
    font-size: 24px;
}

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

.feature_item {
    display: flex;
    flex-flow: column;
    width: calc(33.3333333333% - 54px);
    height: auto;
    z-index: 0;
}

.feature_num {
    position: relative;
    color: #ffffff;
    margin: 0 0 0 !important;
    font-family: var(--font-jp);
    line-height: 1.5;
    padding-left: 20px;
    /* text-shadow: 0 5px 5px rgba(10, 7, 55, 0.25); */
}

.feature_num::before {
    position: absolute;
    content: "";
    top: 0;
    bottom: -10px;
    left: -30px;
    width: 40px;
    height: 1px;
    margin: auto;
    background: #ffffff;
    z-index: -1;
}

.feature_num span {
    color: #ffffff;
    font-size: 300%;
    font-family: var(--font-eng);
}

.feature_img {
    position: relative;
    box-shadow: -5px -5px 5px rgba(74, 74, 74, 0.1);
}

.feature_img::before {
    position: absolute;
    content: "";
    top: -75px;
    left: -30px;
    background: linear-gradient(rgba(151, 151, 151, 0.3), rgba(89, 125, 159, 0.4)), url(../images/marble_b.jpg) no-repeat center / cover;
    width: 100%;
    height: calc(100% + 30px);
    z-index: -2;
}

.feature_img img {
    height: 300px;
    object-fit: cover;
}

.feature_inner {
    display: flex;
    flex-flow: column;
    height: 100%;
    background: #ffffff;
}

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

.feature_title {
    position: relative;
    display: flex;
    flex-flow: column;
    justify-content: center;
    min-height: 140px;
    margin-bottom: 40px !important;
    padding: 25px 0 30px;
    border-bottom: 1px solid var(--main-color);
}

.feature_title::before {
    position: absolute;
    content: "";
    bottom: -20px;
    left: 0;
    right: 0;
    margin: auto;
    width: 1px;
    height: 30px;
    background: var(--main-color);
}

.feature_title h3 {
    color: #96822f;
    font-size: 140%;
    line-height: 1.5;
    letter-spacing: 3px;
    text-align: center;
}

.feature_title h3::first-letter {
    font-size: 1.5em;
}

.feature_item p {
    line-height: 1.85;
}

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

.feature_item .btn01>* {
    border: none;
}

/* ---- 横並びボタン ----- */
.btnflex_feature {
    display: flex;
    flex-flow: wrap;
    align-items: center;
    gap: 5px;
    margin-top: auto;
}

.btnflex_feature .btn01 {
    width: calc(50% - 2.5px);
}

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

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

    .feature .top_title h2 {
        font-size: 26px;
        margin: 0;
    }

    .feature_list {
        gap: 50px;
    }

    .feature_item {
        width: 100%;
    }

    .feature_img img {
        height: 200px;
    }

    .feature_title {
        min-height: auto;
    }

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

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

  *お悩みから探す

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

.grid_img {
    display: grid;
    gap: 70px;
    grid-template-columns: 1fr 2fr;
    margin: 0 6rem 0 3rem;
    grid-template-areas:
        "img01 img02";
}

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

.grid_img li:nth-child(2) picture img {
    margin-top: 60px;
}

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

.search {
    position: relative;
}

.search .inner {
    padding: 150px 5rem 70px;
    max-width: 1600px;
}

.search .top_title {
    position: relative;
}

.search .top_title h2 {
    font-size: 300%;
}

.search .top_title span {
    color: var(--sub-beige);
    font-size: 24px;
}

.search_list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

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

.search_item::before,
.search_item::after {
    display: block;
    position: absolute;
    content: "";
    z-index: 0;
    top: 50%;
    transform: translateY(-50%);
}

.search_item::before {
    right: 10px;
    background: var(--bg-blue);
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.search_item::after {
    right: 18px;
    width: 14px;
    height: 7px;
    background: var(--main-color);
    -webkit-mask: url(../images/btn_arrow.png) no-repeat center / cover;
    mask: url(../images/btn_arrow.png) no-repeat center / cover;
    transition: right 0.2s, background 0.2s;
}

.search_item:hover {
    color: var(--main-color);
}

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

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

.search_inner {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 30px 50px 30px 30px;
    color: var(--title-color);
    text-align: left;
    border: 1px solid var(--main-color);
    background: rgba(255, 255, 255, 0.6);
}

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

.search_inner:hover {
    background: var(--bg-blue);
}

.search_title h3 {
    color: var(--main-color);
    font-size: 110%;
    line-height: 1.35;
    font-family: var(--font-jp);
}

/* ==============================================
  *SP 診療案内
============================================== */
@media screen and (max-width: 640px) {
    .grid_img {
        gap: 20px;
        margin: 0 2rem 0 0;
    }

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

    .grid_img li:nth-child(2) picture img {
        margin-top: 40px;
    }

    .search {
        flex-flow: column;
    }

    .search .inner {
        padding: 40px 20px 70px;
    }

    .search .top_title h2 {
        font-size: 26px;
        margin: 35px 0 0;
    }

    .search_list {
        gap: 15px 10px;
    }

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

    .search_item::before {
        right: 10px;
        width: 20px;
        height: 20px;
    }

    .search_item::after {
        right: 18px;
    }

    .search_item:hover {
        transform: translateY(-5px);
    }

    .search_inner {
        min-height: auto;
        padding: 20px 40px 20px 13px;
    }

    .search_title h3 {
        font-size: 100%;
    }
}

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

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

==================================================================================================================================*/
#columnSlider {}

#columnSlider .inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 130px;
    width: 90%;
    max-width: 1520px;
    margin: 0 auto;
    padding: 100px 50px;
}

#columnSlider .top_title {
    flex-shrink: 0;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

#columnSlider .top_title h2 {
    writing-mode: vertical-rl;
}

#columnSlider .top_title h2::before,
#columnSlider .top_title h2::after {
    display: none;
}

/* ----- コラムスライダー設定 ----- */
#columnSlider .splide {
    width: 100%;
    padding-top: 75px;
    overflow: hidden;
}

#columnSlider .splide__list {
    align-items: flex-start;
    width: 100%;
}

/* スライダーのArrowボタン */
#columnSlider .splide__arrow {
    position: absolute;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 45px;
    background: var(--main-color);
    border: 1px solid var(--main-color);
    color: #ffffff;
    cursor: pointer;
    overflow: hidden;
    transform: translateZ(0);
    transition: background 0.2s, color 0.2s;
}

#columnSlider .splide__arrow:hover {
    background: #ffffff;
    color: var(--main-color);
}

#columnSlider .splide__arrow span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    transition: background 0.2s;
}

#columnSlider .splide__arrow span::before {
    font-family: "Font Awesome 5 Free";
    font-style: normal;
    font-weight: 900;
}

#columnSlider .splide__arrow--prev {
    right: 70px;
}

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

#columnSlider .splide__arrow--next {
    right: 0;
}

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

#columnSlider .splide__slide {
    display: flex;
    align-items: center;
    min-height: 200px;
}

/* ----- ページネーション ----- */
#columnSlider .splide__pagination {
    position: absolute;
    top: 17px;
    right: 190px;
    z-index: 1;
    display: flex;
    gap: 15px;
}

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

#columnSlider .columnSlider-page.is-active {
    background: #c5c5c5;
}

/* ----- コラム個別 ----- */
#columnSlider .column_item a {
    width: 100%;
    background: #ffffff;
    padding: 20px 20px 30px;
}

#columnSlider .column_item_thum {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    margin: 0 0 20px;
    overflow: hidden;
}

#columnSlider .column_item_thum img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;

    aspect-ratio: 13 / 9;
}

#columnSlider .column_item a:hover .column_item_thum img {
    transform: scale(1.1);
}

#columnSlider .column_item:first-child .column_item_thum::before {
    content: "New";
    position: absolute;
    top: -1px;
    left: -1px;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-self: center;
    width: 90px;
    height: 90px;
    padding: 10px 35px 0 0;
    background: var(--sub-beige);
    color: #ffffff;
    font-size: 16px;
    letter-spacing: 0.075em;
    opacity: 0.9;
    clip-path: polygon(0 0, 0% 100%, 100% 0);
    font-family: var(--font-eng);
}

#columnSlider .column_info {
    display: flex;
    align-items: center;
    flex-flow: wrap;
    gap: 15px;
    margin: 0 0 15px;
    padding: 0 20px;
    color: #747474;
    font-size: 90%;
}

#columnSlider .column_date {
    flex-shrink: 0;
    line-height: 1;
    font-family: var(--font-jp);
    color: #67809c;
}

#columnSlider .column_info ul {
    display: flex;
    flex-flow: wrap;
    gap: 5px;
}

#columnSlider .column_info ul li {
    min-width: 80px;
    padding: 2px 10px;
    color: var(--main-color);
    border: 1px solid var(--main-color);
    font-size: 90%;
    text-align: center;
}

#columnSlider .column_title {
    color: var(--text-color);
    font-size: 105%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s;
    font-family: var(--font-jp);
    padding: 0 20px;
}

#columnSlider .column_item a:hover .column_title {
    color: var(--main-color);
}

/*==============================================
  *SP　医療コラム
==============================================*/
@media screen and (max-width: 640px) {
    #columnSlider .inner {
        flex-flow: column;
        gap: 0;
        width: 100%;
        margin: 0 auto;
        padding: 70px 20px 0;
    }

    #columnSlider .top_title {
        margin: 0 auto 50px;
		gap: 0;
    }
	
	#columnSlider .top_title::before{
		top: -45px;
	}

    #columnSlider .top_title .eng {
        padding-top: 5px;
    }
	
    #columnSlider .top_title h2 {
        padding-top: 0;
        writing-mode: inherit;
    }

    #columnSlider .splide {
        margin-right: -40px;
    }

    #columnSlider .splide__arrow {
        width: 50px;
        height: 40px;
    }

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

    #columnSlider .splide__arrow--prev {
        right: 80px;
    }

    #columnSlider .splide__pagination {
        top: 13px;
        right: auto;
        left: 0;
        justify-content: flex-end;
        gap: 13px;
        transform: translate(0);
    }

    #columnSlider .columnSlider-page {
        width: 8px;
        height: 8px;
    }

    #columnSlider .splide__slide:first-child .column_item_thum::before {
        width: 80px;
        height: 80px;
        padding: 13px 25px 0 0;
    }

    #columnSlider .column_item a {
        padding: 10px 10px 30px;
    }
}

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

  *無限スライダー

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

#infinitySlider .splide__list {
    gap: 50px;
}

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

#infinitySlider .splide__slide:nth-child(odd) img {
    margin-top: 30px;
}

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