@charset "UTF-8";

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

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

  *基本設定

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

section .inner {
    max-width: 1400px;
    padding: 140px 40px;
    margin: 0 auto;
}

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

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

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

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

/* ==============================================
  *SP 基本設定
============================================== */
@media screen and (max-width: 640px) {
    section .inner {
        padding: 70px 20px;
    }

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

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

  *タイトル

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

.top_title_left {
    text-align: left;
}

.top_title h2 {
    font-size: 165%;
    letter-spacing: .2em;
}

/* 左揃え */
.top_title_left h2 {
    position: relative;
    padding-left: 35px;
}

.top_title_left h2::before {
    position: absolute;
    content: "";
    top: 50%;
    left: 2px;
    width: 22px;
    height: 1px;
    background: #989898;
}

.top_title .eng {
    display: inline-block;
    color: var(--main-color);
    font-size: 500%;
    letter-spacing: 0.05em;
    line-height: 1.4;
    text-transform: uppercase;
    font-family: var(--font-en);
    font-weight: 400;
    font-style: normal;
}

@media screen and (min-width: 741px) {
    .top_title_left.top_title_small {
        display: flex;
        gap: 7px;
        align-items: center;
        margin-bottom: 0;
    }

    .top_title_left.top_title_small .eng {
        font-size: 300%;
        line-height: 1;
    }

    .top_title_left.top_title_small h2 {
        font-size: 120%;
    }
}

/* 縦書き*/
.top_title_tb {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    text-align: left;
}

.top_title_tb h2,
.top_title_tb .eng {
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
}

.top_title_tb .eng {
    position: relative;
    color: var(--sub-color);
    top: -6px;
    line-height: 1;
    text-box: trim-both cap alphabetic;
}

.top_title_tb h2 span {
    position: relative;
    padding-top: 32px;
    font-size: 90%;
}

.top_title_tb h2 span::before {
    position: absolute;
    content: "";
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 20px;
    background: var(--line-color);
}

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

    .top_title h2 {
        margin: 0;
        padding-left: 25px;
        font-size: min(4.1vw, 18px);
        letter-spacing: .1em;
    }

    .top_title .eng {
        font-size: 320%;
    }

    .top_title_left h2::before {
        width: 15px;
    }

    .top_title_tb {
        display: block;
    }

    .top_title_tb h2,
    .top_title_tb .eng {
        writing-mode: inherit;
    }

    .top_title_tb .eng {
        top: 0;
        text-box: inherit;
        line-height: 1.4;
    }

    .top_title_tb h2 {
        padding-left: 0;
    }

    .top_title_tb h2 span {
        padding: 0 0 0 20px;
        font-size: 100%;
    }

    .top_title_tb h2 span::before {
        top: 50%;
        left: 4px;
        transform: translate(0, -50%);
        width: 10px;
        height: 1px;
    }
}

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

  *メインビジュアル

================================================================================================================================== */
.mainvisual {
    position: relative;
    z-index: 1;
    height: 100vh;
    max-height: 920px;
    padding: 50px 50px 0;
    overflow: hidden;
}

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

/* スクロール */
.mv_scroll {
    position: absolute;
    bottom: 14px;
    left: 21px;
    z-index: 10;
    display: flex;
    justify-self: center;
    align-items: center;
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
}

.mv_scroll_text {
    font-size: 14px;
    letter-spacing: 0.08em;
    line-height: 1;
    color: var(--text-color);
    text-box: trim-both cap alphabetic;
    font-family: var(--font-en);
    font-weight: 400;
    font-style: normal;
}

.mv_scroll_arrow {
    display: block;
    width: 1px;
    height: 30px;
    background: var(--line-color);
    position: relative;
    animation: scrollDown 1.5s infinite;
}

@keyframes scrollDown {
    0% {
        opacity: 0;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(10px);
    }

    100% {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* ----- スライダーの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 {
    position: relative;
    width: 100%;
    height: 100%;
}

.mvImg::before {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    width: 100%;
    height: 100%;
    background: linear-gradient(rgb(0 0 0 / .5), rgb(83 74 46 / .2));
    z-index: 1;
}

.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;
    bottom: 15%;
    left: 5%;
    z-index: 3;
    width: 100%;
}

.mvCatch .inner {
    position: relative;
    max-width: unset;
    padding-left: 50px;
    padding-right: 50px;
    z-index: 1;
}

.mvCatch p {
    display: block;
    font-size: 180%;
    line-height: 2;
    letter-spacing: .1em;
    color: #fff;
    filter: drop-shadow(0 0 5px #4c403e);
}

/* ----- コンテンツ ----- */
.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: 480px;
        padding: 48px 0 0;
    }

    /* スクロール */
    .mv_scroll {
        bottom: 20px;
        left: 15px;
    }

    .mv_scroll_text {
        font-size: 12px;
        color: #fff;
    }

    .mv_scroll_arrow {
        background: #fff;
    }

    /* ----- スライダーの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 {
        left: 0;
        transform: translateY(0);
    }

    .mvCatch .inner {
        padding-left: 15px;
        padding-right: 15px;
    }

    .mvCatch p {
        font-size: min(3.3vw, 14px);
        line-height: 1.8;
        text-align: left;
    }

    .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 .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_prev span::before {
    content: "\f104";
}

#bannerSlider .bannerSlider_arrow_next {
    right: 0;
}

#bannerSlider .bannerSlider_arrow_next span::before {
    content: "\f105";
}

/* ページネーション */
#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;
    }
}

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

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

================================================================================================================================== */
.clinic .inner {
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    gap: 100px;
}

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

.news_title_wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

/* ----- お知らせ ----- */
.clinic .news .top_title h2 {
    font-size: 180%;
}

.clinic .news .btn01 {
    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: 20px;
    margin: 20px auto 0;
    padding: 20px;
    background: #ffffff;
}

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

.clinic .info address {
    margin-top: 30px;
}

.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;
}

.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: 15px;
    padding: 5px 0 5px 50px;
    font-size: 35px;
    line-height: 1;
    font-family: var(--font-en);
    font-weight: 400;
    font-style: normal;
}

.clinic .info address .tel::before {
    content: "\f3cd";
}

.clinic .info address .fax {
    margin-top: 15px;
    padding: 5px 0 5px 50px;
    line-height: 1;
}

.clinic .info address .fax p {
    font-size: 30px;
}

.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: 20px;
    text-align: center;
}

@media screen and (max-width: 640px) {
    .clinic .inner {
        padding: 30px 20px 70px;
        gap: 50px;
    }

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

    .clinic .news .top_title {
        margin-bottom: 0;
    }

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

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

    /* ----- 医院概要 ----- */
    .clinic .info .speciality {
        flex-flow: column;
        gap: 10px;
        padding: 15px;
    }

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

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

  *ご挨拶

================================================================================================================================== */
.section_img {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 650px;
    padding: 0 0 120px;
}

.section_img::before,
.section_img::after {
    content: '';
    position: absolute;
    top: 0;
    height: 650px;
}

.section_img::before {
    left: 0;
    width: calc(30% - 10px);
    background: url(../images/message_bg_r.jpg) no-repeat bottom center / cover;
}

.section_img::after {
    right: 0;
    width: calc(70% - 10px);
    background: url(../images/message_bg.jpg) no-repeat bottom center / cover;
}


.greeting {
    position: relative;
    background: url(../images/doctor_bg.jpg) no-repeat top 200px left / 1150px;
    z-index: 1;
}

.greeting .inner {
    position: relative;
    padding: 120px 40px 110px;
}

.greeting_box {
    z-index: 1;
}

.greeting_flex {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: end;
}

.greeting_flex::before {
    position: absolute;
    bottom: 20px;
    left: -60px;
    content: "";
    width: 430px;
    height: 430px;
    background: url(../images/doctor_bg_02.jpg) no-repeat center/cover;
    z-index: -1;
}

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

.greeting .top_title .eng {
    font-size: 800%;
}

.greeting_text_box {
    position: relative;
    width: 70%;
    flex-shrink: 0;
    padding: 80px 0 50px 90px;
    background: #fff;
    z-index: 1;
}

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

.greeting_text h3 {
    letter-spacing: 0.1em;
    margin-bottom: 18px !important;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--line-color);
    font-size: 150%;
}

.greeting_profile_box {
    margin-top: 3rem;
    display: flex;
    align-items: center;
    gap: 80px;
}

.greeting_profile {
    line-height: 1.75;
}

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

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

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

.greeting_btn {
    text-align: center;
}

.greeting_btn a {
    font-family: var(--font-en);
}

.greeting_img_box {
    position: relative;
    margin: 0 0 0 auto;
}

.greeting_img {
    position: relative;
    max-width: 1050px;
}

.greeting_img::before {
    position: absolute;
    content: "";
    bottom: -25px;
    left: -80px;
    width: 18%;
    height: auto;
    aspect-ratio: 7 / 9;
    background: url(../images/official_character.png) no-repeat center/cover;
}

.greeting_message {
    position: absolute;
    top: 0;
    left: 0;
}

.top_message {
    display: flex;
    flex-direction: row-reverse;
    gap: 20px;
}

.top_message span {
    display: block;
    width: fit-content;
    height: fit-content;
    background: rgb(255 255 255 / .9);
    padding: 26px 16px;
    font-size: 140%;
    letter-spacing: .13em;
    line-height: 1.8;
    white-space: nowrap;
    box-shadow: 0 0 10px rgb(0 0 0 / .05);
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
}

.top_message>p span:nth-of-type(2) {
    margin: 24px 12px 0 0;
}

/* ==============================================
  *SP ご挨拶
============================================== */
@media screen and (max-width: 640px) {
    .section_img {
        min-height: 250px;
    }

    .section_img::before,
    .section_img::after {
        height: 250px;
    }

    .greeting {
        background: url(../images/doctor_bg.jpg) no-repeat top 130px left / 550px;
    }

    .greeting .inner {
        padding: 100px 20px 300px;
    }

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

    .greeting .top_title .eng {
        font-size: 320%;
    }

    .greeting_flex {
        justify-content: center;
    }

    .greeting_flex::before {
        bottom: -230px;
        left: 0;
        width: 100%;
        height: 235px;
    }

    .greeting_text h3 {
        font-size: 130%;
    }

    .greeting_profile {
        text-align: center;
    }

    .greeting_btn {
        margin-top: 40px;
    }

    .greeting_message {
        top: -20px;
        right: -10px;
        z-index: 1;
    }

    .greeting_message>p span:nth-of-type(2) {
        margin: 10px 8px 0 0;
    }

    .top_message {
        gap: 0;
    }

    .top_message span {
        padding: 10px;
        font-size: min(3vw, 15px);
        white-space: unset;
    }

    .greeting_text_box {
        width: 100%;
        padding: 30px;
    }

    .greeting_img::before {
        bottom: -15px;
        left: 0;
    }

    .greeting_img::after {
        bottom: -12px;
        left: 10px;
        width: 80px;
        transform: translate(0);
    }

    .greeting_profile_box {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0;
    }
}

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

  *診療案内

================================================================================================================================== */
.medical {
    position: relative;
    background: linear-gradient(rgb(0 0 0 / .8), rgb(83 74 46 / .5)), url(../images/medical_bg.jpg) no-repeat center/cover !important;
    z-index: 0;
}

.medical:before {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgb(83 142 171 / .7);
    clip-path: polygon(0 0, 0% 120%, 80% 0);
    content: "";
    z-index: -1;
}

.medical .top_title {
    color: #ffffff;
}

.medical .top_title span {
    color: #fff;
    opacity: 0.6;
    font-size: 800%;
}

.medical_list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.medical_item {
    position: relative;
    z-index: 1;
    width: calc(20% - 12px);
    height: auto;
}

.medical_inner:hover {
    /* transform: translateY(-10px); */
    background: rgba(60, 110, 134, 0.7);
}

.medical_img {
    position: absolute;
    z-index: 0;
    width: 100%;
    height: 100%;
    max-height: 450px;
    overflow: hidden;
    transition: background 0.4s;
}

.medical_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.medical_inner {
    position: relative;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 240px;
    padding: 30px 20px 40px;
    background: rgba(0, 0, 0, 0.75);
    text-align: center;
    border: 1px solid #9cb4c0;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.25);
}

.medical_inner::before {
    content: "";
    position: absolute;
    right: 7px;
    bottom: 7px;
    z-index: 2;
    display: block;
    width: 15px;
    height: 15px;
    clip-path: polygon(100% 0px, 0% 100%, 100% 100%);
    background: rgba(255, 255, 255, 0.4);
    transition: background 0.4s, width 0.4s, height 0.4s;
}

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

.medical_icon {
    max-width: 100px;
    margin: 0 auto 15px !important;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    padding: 10px;
}

.medical_title h3 {
    color: #fff;
    font-size: 155%;
    letter-spacing: .2em;
}

.medical_title_eng {
    position: absolute;
    top: 10px;
    left: 10px;
    color: #9cb4c0;
    font-size: 10px;
    line-height: 1;
    letter-spacing: 2px;
    text-align: center;
    font-family: var(--font-en);
    writing-mode: vertical-rl;
}

.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);
}

.medical_item:hover .medical_title_eng {
    color: #ffffff;
}

/* ----- 先頭2つの設定----- */
.medical_item:nth-of-type(-n + 1) {
    width: 100%;
    min-height: 350px;
}

.medical_item:nth-of-type(-n + 1) .medical_inner {
    padding: 20px 20px 40px;
}

.medical_item:nth-of-type(-n + 1) .medical_icon {
    max-width: 100px;
    margin: 0 auto 5px !important;
}

.medical_item:nth-of-type(-n + 1) .medical_title h3 {
    font-size: 200%;
}

.medical_item:nth-of-type(-n + 1) .medical_title .medical_title_eng {
    position: relative;
    writing-mode: initial;
    top: 0;
    left: 0;
    padding-top: 15px;
}

/* ==============================================
  *SP 診療案内
============================================== */
@media screen and (max-width: 640px) {
    .medical {
        background: linear-gradient(rgb(0 0 0 / .8), rgb(83 74 46 / .5)), url(../images/medical_bg.jpg) no-repeat center/cover !important;
    }

    .medical .top_title span {
        font-size: 320%;
    }

    .medical_list {
        gap: 15px 10px;
    }

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

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

    .medical_inner {
        min-height: auto;
        padding: 20px 10px;
    }

    .medical_icon {
        width: 50%;
    }

    .medical_title h3 {
        font-size: 110%;
    }

    /* ----- 先頭2つの設定----- */
    .medical_item:nth-of-type(-n + 1) {
        width: calc(50% - 5px);
        min-height: auto;
	    box-shadow: 0 0 5px rgb(255 255 255 / .8), 0 0 5px rgb(255 255 255 / .8), 0 0 5px rgb(255 255 255 / .8), 0 0 10px rgb(255 255 255 / .8), 0 0 10px rgb(255 255 255 / .8), 0 0 10px rgb(255 255 255 / .8);
    }

    .medical_item:nth-of-type(-n + 1) .medical_inner {
		min-height: auto;
        padding: 20px 10px;
    }
    .medical_item:nth-of-type(-n + 1) .medical_icon {
        width: 50%;
    }

    .medical_item:nth-of-type(-n + 1) .medical_title h3 {
        font-size: 110%;
    }
	.medical_item:nth-of-type(-n + 1) .medical_title .medical_title_eng {
    	position: absolute;
    	top: 10px;
    	left: 10px;
		padding-top: 0;
    	color: #9cb4c0;
    	font-size: 10px;
    	line-height: 1;
    	letter-spacing: 2px;
    	text-align: center;
    	font-family: var(--font-en);
    	writing-mode: vertical-rl;
	}
}

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

  *ピックアップ（パターン01） 胃カメラ検査 

==================================================================================================================================*/
.pickup {
    background: url(../images/marble.jpg) no-repeat bottom/ 1920px;
}

.pickup .inner {
    width: 100%;
    max-width: 1500px;
    padding: 120px 50px;
}

.pickup .inner {
    width: 100%;
}

.pickup .top_title {
    width: fit-content;
    margin: 0 auto 70px;
}

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

.pickup_item {
    position: relative;
    display: flex;
    flex-flow: column;
    width: calc(50% - 25px);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}

.pickup_inner {
    height: 100%;
    padding: 60px 50px;
    background: #ffffff;
}

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

.pickup_img::before {
    position: absolute;
    bottom: -30px;
    right: 40px;
    content: '';
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.pickup_item:nth-child(1) .pickup_img::before {
    background: url(../images/endscope_illust01.jpg) no-repeat center/cover;
}

.pickup_item:nth-child(2) .pickup_img::before {
    background: url(../images/endscope_illust02.jpg) no-repeat center/cover;
}

.pickup_img::after {
    background: linear-gradient(to left, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.6));
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    content: '';
    z-index: 0;
}

.pickup_title {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: fit-content;
    margin: 0 auto 15px;
    padding: 40px 30px;
    line-height: 1.75;
    letter-spacing: 0.25em;
    writing-mode: vertical-rl;
}

.pickup_title h2,
.pickup_title h3 {
    color: #ffffff;
    font-size: 200%;
}

.pickup_title>* span {
    display: block;
    margin-top: 20px;
    font-size: 70%;
}

.pickup_title .eng {
    color: #b5d5e5;
    font-size: 10px;
    line-height: 1;
    letter-spacing: 2px;
    font-family: var(--font-en);
}

.pickup_text {
    min-height: 180px;
    margin: 0 0 30px;
}

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

.pickup_link .pickup_btn {
    width: calc(50% - 10px);
    height: fit-content;
    margin: 0 auto;
}

.pickup_link .pickup_btn a {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    padding: 12px 20px;
    color: #616d73;
    border: 1px solid #616d73;
    font-size: 110%;
    letter-spacing: 0.15em;
    text-align: center;
    transition: background 0.2s, color 0.2s;
}

.pickup_link .pickup_btn a:hover {
    background: #616d73;
    color: #fff;
}

/*==============================================
    *SP　ピックアップ（追加コンテンツ）
  ==============================================*/
@media screen and (max-width:640px) {

    .pickup .inner {
        padding: 50px 20px 80px;
    }

    .pickup .top_title {
        margin: 0 auto 50px;
        padding: 25px 30px 0;
    }

    .pickup .top_title h2 {
        padding-left: 0;
    }

    .pickup .top_title span {
        font-size: 250%;
    }

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

    .pickup_item {
        width: 100%;
    }

    .pickup_img::before,
    .pickup_img::after {
        width: 120px;
        height: 120px;
    }

    .pickup_title {
        position: relative;
        top: auto;
        bottom: 0;
        margin: 0;
        padding: 10px 0 30px;
        font-size: 120%;
        writing-mode: horizontal-tb;
		width: 100%;
    }

    .pickup_title h2,
    .pickup_title h3 {
        color: var(--main-color);
        line-height: 1.75;
        letter-spacing: 0.07em;
    }

    .pickup_title>* span {
        margin: 0 auto;
		font-size: 65%;
    }

    .pickup_inner {
        max-width: none;
        min-height: auto;
        margin: 0 !important;
        padding: 25px 30px 50px;
    }

    .pickup_text {
        margin: 0 0 50px;
    }

    .pickup_link {
        gap: 10px;
    }

    .pickup_link .pickup_btn {
        max-width: 95%;
        width: 100%;
    }

    .pickup_link .pickup_btn a {
        padding: 8px 20px;
        font-size: 100%;
    }
}

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

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

================================================================================================================================== */
.feature {
    position: relative;
    background: url(../images/feature_bg.jpg) no-repeat top right/1700px,
        url(../images/marble.jpg) no-repeat bottom/ 1920px, var(--bg-color);
    z-index: 0;
}

.feature:before {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgb(83 142 171 / .1);
    clip-path: polygon(0 0, 0% 8.3%, 13.5% 0);
    content: "";
    z-index: -1;
}

.feature::after {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgb(83 142 171 / .2);
    clip-path: polygon(50% 100%, 100% 100%, 100% 66%);
    content: "";
    z-index: -1;
}

.feature .inner {
    max-width: 1500px;
}

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

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

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

.feature_item {
    display: flex;
    height: auto;
    width: 100%;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}

.feature_img {
    position: relative;
    width: 45%;
    flex-shrink: 0;
}

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

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

.feature_item:nth-child(1) .feature_inner {
    padding: 50px 50px 50px 70px;
}

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

.feature_inner p {
    font-size: 16px !important;
}

.feature_title {
    position: relative;
    display: flex;
    flex-flow: column;
    margin-bottom: 40px !important;
    padding: 10px 20px 40px;
    border-bottom: 1px solid #616d73;
}

.feature_item:nth-child(4) .feature_title h3 {
    line-height: 0.9;
}

.feature_title h3 {
    color: #60573c;
    font-size: 140%;
    line-height: 1.75;
    letter-spacing: .1em;
    text-align: center;
}

.feature_title h3 span {
    color: var(--sub-color);
    font-size: 200%;
    letter-spacing: .1em;
    padding: 0 5px;
}

.feature_title h3 .num {
    font-family: var(--font-en);
    font-size: 400%;
}

.feature_num {
    position: absolute;
    opacity: 0.1;
    line-height: 150px;
    left: 0;
    bottom: 0;
    font-size: 140px;
    font-family: var(--font-en);
    font-style: italic;
    color: var(--main-color);
}

.feature_item .btnflex {
    margin: 0 auto;
}

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

.feature_item .btn01>* {
    background: none;
    padding: 10px 25px !important;
    color: #616d73;
    border: 1px solid #616d73;
}

.feature_item .btn01>*:hover {
    background: var(--sub-color);
    border: 1px solid var(--sub-color);
    color: #fff;
}

.feature_item .btn01>*::before,
.feature_item .btn01>*::after {
    display: none;
}

.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: 80px 70px 50px 50px;
}


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

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

@media screen and (max-width: 640px) {
    .feature {
        padding-bottom: 0;
        background: url(../images/feature_bg.jpg) no-repeat top right/550px,
            url(../images/marble.jpg) no-repeat bottom/ cover,
            var(--bg-color);
    }

    .feature:before {
        clip-path: polygon(0 0, 0% 5.3%, 13.5% 0);
    }

    .feature .top_title {
        margin-bottom: 30px;
    }

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

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

    .feature_list {
        gap: 40px;
    }

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

    .feature_img {
        width: 100%;
        margin: 0;
    }

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

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

    .feature_title h3 {
        text-align: left;
		font-size: 120%;
    }

    .feature_num {
        line-height: 130px;
        font-size: 100px;
    }

    .feature_item .btn01 {
        text-align: center;
        width: 100%;
    }

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

    /* 左右 */
    .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;
    background: linear-gradient(rgb(0 0 0 / .8), rgb(83 74 46 / .5)),
        url(../images/medical_bg.jpg) no-repeat center/cover !important;
    z-index: 0;
}

.search::before {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgb(46 90 111 / .7);
    clip-path: polygon(50% 0%, 100% 0, 100% 100%, 0 100%, 0 110%);
    content: "";
    z-index: -1;
}

.search .inner {
    max-width: 1500px;
}

section .inner_search {
    display: flex;
    align-items: flex-start;
    gap: 80px;
}

.search .top_title,
.search .top_title .eng {
    writing-mode: vertical-rl;
    color: #fff;
}

.search .tab_list {
    gap: 10px;
}

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

.search .panel {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255);
    padding: 30px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 10px;
}

.search_list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    height: fit-content;
}

.search .tab_list .tab {
    position: relative;
    padding: 18px 20px;
    letter-spacing: 0.1em;
}

.search .tab_list .tab.active {
    background: var(--sub-color);
}

.search .tab.active::after {
    position: absolute;
    content: "";
    z-index: 2;
    bottom: -17px;
    left: 50%;
    display: block;
    width: 30px;
    height: auto;
    aspect-ratio: 5 / 3;
    background: var(--sub-color);
    clip-path: polygon(50% 100%, 0px 0px, 100% 0px);
    transform: translateX(-50%);
}

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

/* ----- リンクボタン ----- */
.search_list li a {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 74px;
    padding: 16px 20px 14px;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 10px;
    backdrop-filter: blur(10px);
    color: var(--text-color);
    line-height: 1.6;
    border: 1px solid #a7beca;
	font-size: 115%;
}

.search_list li a:hover {
    background: rgb(83 142 171 / .9);
    color: #fff;
}

.search_list li a::before {
    position: absolute;
    content: "";
    z-index: 1;
    bottom: 5px;
    right: 5px;
    display: block;
    width: 10px;
    height: auto;
    aspect-ratio: 1 / 1;
    background: var(--sub-color);
    clip-path: polygon(100% 0px, 0% 100%, 100% 100%);
}

.search_list li a:hover::before {
    background: #fff;
}

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

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

.panel_flex .search_list {
    width: calc(100% - 10px);
}

.panel_flex .search_list li {
    width: calc(33.3333% - 6.66667px);
}

/* ==============================================
  *SP 病状、症状から探す
============================================== */
@media screen and (max-width: 640px) {

    .search .top_title,
    .search .top_title .eng {
        writing-mode: inherit;
    }

    section .inner_search {
        flex-wrap: wrap;
        gap: 0;
    }

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

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

    .search .tab.active::after {
        display: none;
    }


    .search .panel {
        padding: 20px;
    }

    .search_list {
        gap: 10px;
    }

    .search_list li {
        width: 100%;
    }

    .search_list li a {
        min-height: auto;
        padding: 12px;
        font-size: 90%;
    }

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

    .search_img {
        width: 100%;
        height: 100%;
    }

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

    .panel_flex .search_list {
        width: 100%;
    }

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

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

  *予約・お問い合わせについて

================================================================================================================================== */
.contact {
    position: relative;
    z-index: 1;
    background: linear-gradient(rgb(0 0 0 / .8), rgb(83 74 46 / .5)),
        url(../images/medical_bg.jpg) no-repeat center/cover !important;
}

.contact::before {
    content: "";
    position: absolute;
    top: 0;
    display: block;
    width: 100%;
    height: 60%;
    background: rgb(83 142 171 / .7);
    z-index: -1;
}

.contact .inner {
    max-width: 1400px;
    padding: 100px 50px 120px;
}

.contact .top_title {
    margin: 0 0 60px;
}

.contact .top_title span {
    display: inline-block;
    font-size: 500%;
    letter-spacing: 0.05em;
    line-height: 1.4;
    text-transform: uppercase;
    font-family: var(--font-en);
    font-weight: 400;
    font-style: normal;
    color: #ffffff;
}

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

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

.contact_item {
    width: calc((100% / 2) - (30px / 2));
    height: auto;
}

.contact_item .contact_inner {
    display: flex;
    flex-flow: column;
    height: 100%;
    padding: 50px;
    background: rgba(0, 0, 0, 0.7);
    text-align: center;
    border: 1px solid #9cb4c0;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.25);
}

.contact_icon {
    max-width: 120px;
    margin: 0 auto 20px;
    padding: 10px;
    border-radius: 50%;
    background: rgba(143, 143, 143, 0.3);
}

.contact_title {
    margin: 0 0 30px;
    padding: 0 0 30px;
    font-size: 190%;
	letter-spacing: .1em;
    text-align: center;
    color: #ffffff;
    border-bottom: 1px solid #fff;
}

.contact_title h3 span {
    font-size: 65%;
    display: block;
}

.contact_text {
    margin: 0 auto 50px;
    padding: 0 36px;
    color: #ffffff;
    text-align: left;
    font-size: 95%;
}

.contact_text .contact_tel {
    color: #ffffff;
    font-family: var(--font-type);
    font-size: 32px;
}

.contact_text .contact_tel a {
    color: inherit;
}

.contact_btn {
    margin: auto 0 0;
    text-align: center;
}

.contact_btn>* {
    position: relative;
    z-index: 1;
    display: block;
    width: 90%;
    margin: 0 auto;
    padding: 15px 20px;
    border: 1px solid #ffffff;
    color: #ffffff;
    font-family: var(--font-type);
    font-size: 105%;
    text-align: center;
    transition: background 0.2s, color 0.2s;
}

.contact_btn>*:hover {
    background: #ffffff;
    color: var(--text-color);
}

.contact_btn>*::before {
    position: absolute;
    content: "";
    top: 50%;
    right: 22px;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #fff;
    transition: 0.2s;
}

.contact_btn>*::after {
    position: absolute;
    content: "";
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    width: 30px;
    height: 1px;
    background: #fff;
    transition: 0.2s;
}

.contact_btn>*:hover::before {
    background: #fff;
    transform: translate(5px, -50%);
}

.contact_btn>*:hover::after {
    width: 35px;
    background: #fff;
}

/*==============================================
  *SP 　お問い合わせ
  ==============================================*/
@media screen and (max-width: 640px) {
	.contact {
      background: linear-gradient(rgb(0 0 0 / .8), rgb(83 74 46 / .5)),
        url(../images/medical_bg_sp.jpg) no-repeat center/cover !important;
    }

    .contact .inner {
        padding: 70px 20px 80px;
    }

    .contact .top_title {
        margin: 0 0 50px;
		font-size: 170%;
    }

    .contact .top_title h2 {
        padding-left: 0;
    }

    .contact .top_title span {
        margin: 0 0 5px;
        font-size: 190%;
    }

    .contact_list {
        gap: 20px;
    }

    .contact_item {
        width: 100%;
    }

    .contact_item .contact_inner {
        padding: 30px 20px 35px;
    }

    .contact_icon {
        width: 50%;
        margin: 0 auto 20px;
    }
}

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

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

================================================================================================================================== */
.column {
    background: var(--bg-color);
}

.column_list {
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    gap: 50px 25px;
    padding: 30px;
    background: #ffffff;
}

.column_box {
    width: calc(25% - 18.75px);
}

.column_box dt a {
    display: block;
    padding: 15px 10px;
    background: var(--main-color);
    color: #ffffff;
    font-size: 110%;
    text-align: center;
}

.column_box dd {
    padding: 15px 10px;
    border-bottom: 1px dashed var(--line-color);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.column_box dd a {
    color: var(--text-color);
}

.column_box dd a:hover {
    color: var(--main-color);
}

/* ==============================================
  *SP 医療コラム
============================================== */
@media screen and (max-width: 640px) {
    .column_list {
        gap: 40px;
    }

    .column_box {
        width: 100%;
    }
}

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

  *無限スライダー

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

#infinitySlider .splide__list {
    gap: 10px;
}

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

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