@charset "UTF-8";

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

  *基本設定

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

/* ----- パララックス ----- */
.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) {
    .inner {
        padding: 0 5%;
    }
    
    /* ----- パララックス ----- */
    .parallax {
        height: 300px;
    }
}

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

  *タイトル

================================================================================================================================== */
.top_title {
    margin-bottom: 50px;
    text-align: center;
}
.top_title.title_left {
    text-align: start;
}
.top_title h2 {
    padding: 35px 0 0;
    font-family: "fot-chiaro-std", sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.4;
    letter-spacing: 0.1em;
    color: #3f2924;
    background: url("../images/top_tit_logo.png") no-repeat center top/41px auto;
}
.top_title .eng {
    display: inline-block;
    margin-top: 3px;
    font-family: zen-maru-gothic, sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 1;
    letter-spacing: 0.1em;
    color: #f1973f;
}

/* ==============================================
  *SP タイトル
============================================== */
@media screen and (max-width: 640px) {
    .front h1 {
        margin-bottom: 0;
        background-color: #fff;
    }
    .top_title {
        margin-bottom: 30px;
    }
    .top_title h2 {
        padding: 30px 0 0;
        font-size: 23px;
        line-height: 1.3;
        letter-spacing: 0.07em;
        background-size: 30px auto;
    }
    .top_title .eng {
        margin-top: 0;
        font-size: 16px;
    }
}

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

  *ボタン

================================================================================================================================== */
.top_btn a {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 14px 46px 14px 36px;
    background: var(--sub-color);
    border: 1px solid var(--sub-color);
    color: #ffffff;
    font-size: 95%;
    letter-spacing: 0.1em;
    line-height: 1.5;
    text-align: center;
    border-radius: 40px;
    transition: background 0.2s, color 0.2s;
}
.top_btn a:hover {
    background: #ffffff;
    color: var(--sub-color);
}
.top_btn a::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 15px;
    display: block;
    width: 14px;
    height: 7px;
    background: #ffffff;
    mask: url(../images/btn_arrow.png) no-repeat center / cover;
    -webkit-mask: url(../images/btn_arrow.png) no-repeat center / cover;
    transform: translateY(-50%);
    transition: right 0.2s, background 0.2s;
}
.top_btn a:hover::before {
    right: 12px;
    background: var(--sub-color);
}

/* ==============================================
  *SP タイトル
============================================== */
@media screen and (max-width: 640px) {
}

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

  *メインビジュアル

================================================================================================================================== */
.mainvisual {
    position: relative;
    z-index: 1;
    height: 800px;
    overflow: hidden;
}
.mvSlider {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
}

/* ----- スライダーのArrowボタン ----- */
.mvSlider .sliderBtn {
    position: absolute;
    top: 50%;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    padding: 3px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    transform: translateY(-50%);
}
.mvSlider .sliderBtn#mv_btnPrev {
    left: 20px;
}
.mvSlider .sliderBtn#mv_btnNext {
    right: 20px;
}
.mvSlider .sliderBtn span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: var(--main-color);
    border-radius: 50%;
    transition: background 0.2s;
}
.mvSlider .sliderBtn span:hover {
    background: var(--text-color);
}
.mvSlider .sliderBtn span::before {
    padding: 0 0 1px 0;
    font-family: "Font Awesome 5 Free";
    font-style: normal;
    font-weight: 900;
    color: #ffffff;
    font-size: 15px;
    transition: color 0.2s;
}
.mvSlider .sliderBtn#mv_btnPrev span::before {
    content: "\f053";
}
.mvSlider .sliderBtn#mv_btnNext span::before {
    content: "\f054";
}

/* 各スライダーのボタンは非表示に */
.mvSlider .splide__arrows {
    display: none;
}

/* ----- MVの画像 ----- */
.mvImg {
    width: 100%;
    height: 100%;
}
.mvImg .splide__track {
    width: 100%;
    height: 100%;
}
.mvImg .splide__slide {
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.mvImg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* フェードの専用スタイル */
.fade .mvImg .splide__slide img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    height: calc(100% + 50px);
    pointer-events: none;
}

/* アニメーションを実行 */
.fade.move .mvImg .splide__slide img {
    animation: hideTranslate 8s ease-out forwards;
}
.fade.move .mvImg .splide__slide.is-active img {
    animation: showTranslate 8s ease-out forwards;
}

/* MVのアニメーション  */
@keyframes hideImg {
    0% {
        opacity: 1;
    }
    10% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}
@keyframes showTranslate {
    0% {
        transform: translate3d(0, 0px, 0);
    }
    100% {
        transform: translate3d(0, -30px, 0);
    }
}
@keyframes hideTranslate {
    /* 下降 */
    0% {
        transform: translate3d(0, -30px, 0);
    }
    100% {
        transform: translate3d(0, 0px, 0);
    }
}

/* ----- キャッチコピー ----- */
.mvCatch {
    position: absolute !important;
    top: 40%;
    left: 0;
    z-index: 3;
    width: 100%;
    transform: translateY(-50%);
}
.mvCatch .inner {
    position: relative;
    z-index: 1;
}
.mvCatch p {
    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;
    border-radius: 50%;
}
.open_bnr > * {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    width: 280px;
    height: 280px;
    padding: 15px;
    border-radius: 50%;
    color: #ffffff;
    font-family: "zen-maru-gothic", sans-serif;
    font-weight: 700;
    font-size: 110%;
    line-height: 1.5;
    text-align: center;
    background-image: linear-gradient(45deg, rgba(255, 133, 0, 0.8) 0%, rgba(251, 184, 0, 0.8) 100%);
}
.open_bnr .date {
    font-size: 110%;
}
.open_bnr .open_text {
    margin: 0 0 10px;
    font-size: 180%;
    letter-spacing: 0.1em;
}
.open_bnr .nairankai_tit {
    display: block;
    width: 100%;
    margin: 0 0 10px;
    padding: 5px 10px;
    background: #a5c977;
    border-radius: 300px;
    color: #fff;
    font-size: 90%;
    text-align: center;
}

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

/* アイコン */
.mv_icon {
    position: absolute;
    left: 310px;
    bottom: 50px;
    display: flex;
    gap: 20px;
}
.mv_icon li {
    width: 180px;
}
.mv_icon li a {
    opacity: 1;
    transition: 0.3s ease-in-out;
}
@media (hover: hover) and (pointer: fine) {
    .mv_icon li a:hover {
        opacity: 0.6;
    }
}

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

/* ==============================================
  *SP メインビジュアル
============================================== */
@media screen and (max-width: 640px) {
    .mainvisual {
        height: 360px;
    }
    
    /* ----- スライダーのArrowボタン ----- */
    .mvSlider .sliderBtn {
        top: 50%;
        width: 40px;
        height: 40px;
        padding: 2px;
        font-size: 12px;
    }
    .mvSlider .sliderBtn#mv_btnPrev {
        left: 10px;
    }
    .mvSlider .sliderBtn#mv_btnNext {
        right: 10px;
    }
    .mvSlider .sliderBtn span::before {
        font-size: 11px;
    }
    .mvCatch {
        top: 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 .open_bnr {
        display: none;
    }
    .mv_icon {
        left: 0;
        bottom: 20px;
        justify-content: center;
        gap: 2vw;
        width: 100%;
    }
    .mv_icon li {
        width: 30vw;
    }
    .sp_only {
        display: block;
        background: url(../images/top_bna_bg.png) repeat left top;
    }
    .sp_only .inner {
        padding: 30px 5% 0;
    }
    .sp_only_contents {
        display: flex;
        flex-flow: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: 100%;
    }
    .sp_only_contents .mv_icon {
        display: none;
    }
    .open_bnr {
        position: static;
        width: 100%;
        max-width: 350px;
        border-radius: 0;
    }
    .open_bnr > * {
        width: 100%;
        height: auto;
        padding: 15px 20px;
        border-radius: 20px;
    }
}

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

  *バナーエリア

================================================================================================================================== */
/* ----- 共通設定 ----- */
.top_banner {
    position: relative;
    z-index: 1;
    padding: 80px 0 80px;
    background: url(../images/top_bna_bg.png) repeat left top;
}
.top_banner::after {
    position: absolute;
    right: calc(50% - 976px);
    bottom: -526px;
    width: 976px;
    height: 763px;
    background: url(../images/top_info_deco01.png) no-repeat left top;
    content: "";
}
@media screen and (min-width: 1920px) {
    .top_banner::after {
        right: 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%;
    box-sizing: border-box;
    padding: 15px;
    border-radius: 8px;
    border: 2px solid #fbb800;
    background: #fff;
}
.top_banner .input .banner_slide .slide_img {
    flex-shrink: 0;
    width: calc(30% - 10px);
    height: 100%;
}
.top_banner .input a.banner_slide:hover {
    background: #fef9ec;
}
.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;
    border-radius: 5px;
}
.top_banner .input .slide_inner {
    width: 100%;
    height: 100%;
    padding: 0 0 10px;
}
.top_banner .input .slide_title {
    margin: 0 auto 10px;
    padding: 5px;
    font-family: "fot-chiaro-std", sans-serif;
    font-weight: 700;
    font-size: 118%;
    line-height: 1.5;
    color: var(--main-color);
    border-bottom: 2px dashed var(--main-color);
}
.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: #dadada;
    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 {
        padding: 40px 0 40px;
    }
    
    /* ----- グリッドバナー ----- */
    .banner_grid li {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    /* ----- スライダーバナー ----- */
    #bannerSlider .splide__inner {
        position: relative;
        z-index: 1;
        padding: 0 15px;
    }
    
    /* スライダーのArrowボタン */
    #bannerSlider .bannerSlider_arrow {
        width: 40px;
        height: 40px;
    }
    #bannerSlider .bannerSlider_arrow i {
        padding: 0 0 1px 0;
    }
    
    /* ページネーション */
    #bannerSlider .bannerSlider_pagination {
        gap: 12px;
        margin: 12px auto 0;
    }
    #bannerSlider .bannerSlider_page {
        width: 8px;
        height: 8px;
    }
}

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

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

==================================================================================================================================*/
.clinic {
    position: relative;
    background-color: #FCF8F3;
}
.clinic::after {
    position: absolute;
    left: calc(50% - 960px);
    bottom: -200px;
    width: 650px;
    height: 648px;
    background: url(../images/top_info_deco02.png) no-repeat left top;
    content: "";
}
@media screen and (min-width: 1920px) {
    .clinic::after {
        left: 0;
    }
}

/* ----- お知らせ ----- */
.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: 60px 0 80px;
}
.clinic .news .news_left {
    flex-shrink: 0;
}
.clinic .news .top_title {
    margin: 0 0 50px;
}
.clinic .news .top_title h2 {
    padding: 35px 0 0;
    font-size: 36px;
}
.clinic .news .top_title .eng {
    margin-top: 0;
    font-size: 20px;
}
.clinic .news .top_btn {
    margin-top: 50px;
    text-align: center;
}

/* ----- 医院概要 ----- */
.clinic .info .inner {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 40px;
    padding: 0 0 120px;
}
.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: -1px;
    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 .zipcode {
    margin-right: 10px;
}
.clinic .info address .tel {
    margin-top: 18px;
    padding: 3px 0 7px 50px;
    font-family: "fot-chiaro-std", sans-serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 1;
}
.clinic .info address .tel::before {
    content: "\f3cd";
}
.clinic .info address .fax {
    margin-top: 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: 20px;
    margin: 25px auto 0;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
}
.clinic .info .speciality::before {
	content: "";
    display: block;
    position: absolute;
    top: -95px;
    right: 22px;
    width: 75px;
    aspect-ratio: 199 / 296;
    background: url(../images/kirin.png) no-repeat center / contain;
}
.clinic .info .speciality .title {
    flex-shrink: 0;
    width: fit-content;
    padding: 10px 30px;
    line-height: 1.6;
    background: var(--main-color);
    color: #ffffff;
    text-align: center;
    border-radius: 6px;
}
.clinic .info .office_hour:first-child {
    margin-top: 30px;
}
.clinic .info .list_access {
    display: flex;
    flex-wrap: wrap;
    gap: 0 14px;
    margin-top: 5px;
}
.clinic .info .list_access li {
    width: calc(50% - 7px);
}
.clinic .info .calendar_text {
    margin-top: 20px;
}
.clinic .info .top_btn {
    margin-top: 20px;
    text-align: center;
}
.clinic .info .googlemap iframe {
    height: 340px;
    border-radius: 20px;
}

@media screen and (max-width: 640px) {
    .clinic .news .top_title {
        margin: 0 0 24px;
    }
    .clinic .news .top_title h2 {
        padding: 30px 0 0;
        font-size: 23px;
    }
    .clinic .news .top_title .eng {
        font-size: 16px;
    }
    .clinic .news .inner {
        flex-flow: column;
        gap: 0;
        padding: 30px 5% 40px;
    }
    .clinic .news .top_btn {
        margin-top: 25px;
    }
    .clinic .info .inner {
        flex-flow: column;
        gap: 25px;
        padding: 0 5% 45px;
    }
    .clinic .info .inner > * {
        width: 100%;
    }
    .clinic .info address .location {
        padding: 0 0 0 50px;
        line-height: 1.8;
    }
    .clinic .info address .tel {
        margin-top: 12px;
        padding: 6px 0 0 50px;
        font-size: 28px;
    }
    .clinic .info .speciality {
        flex-flow: column;
        gap: 10px;
        margin: 20px auto 0;
        padding: 10px 15px;
        line-height: 1.7;
    }
    .clinic .info .speciality .title {
        width: 100%;
    }
    .clinic .info .list_access {
        display: block;
    }
    .clinic .info .list_access li {
        width: 100%;
    }
}

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

  *ご挨拶

================================================================================================================================== */
.greeting {
    position: relative;
    padding: 90px 0 5px;
    background: url("../images/top_doctor_bg_logo.png") no-repeat center bottom/715px auto;
}
.greeting::after {
    position: absolute;
    right: calc(50% - 960px);
    bottom: -45px;
    width: 666px;
    height: 549px;
    background: url("../images/top_greeting_bg_tree.png") no-repeat left top;
    content: "";
}
@media screen and (min-width: 1920px) {
    .greeting::after {
        right: 0;
    }
}
.greeting h2 {
    padding: 0 0 0;
    background: none;
}
.greeting_box {
    position: relative;
    z-index: 1;
}
.greeting_flex {
    display: flex;
    gap: 50px;
}
.greeting_box:not(:last-child) {
    margin-bottom: 70px;
}
.greeting_img{
	position: relative;
	z-index: 1;
}
.greeting_img::before{
	content: "";
	position: absolute;
	top: -87px;
	left: 50px;
	z-index: 2;
	display: block;
	width: calc(168px * 0.6);
	height: calc(150px * 0.6);
	background: url(../images/red-panda-01.svg) no-repeat center / cover;
}
.greeting_img img {
    border-radius: 20px;
}
.greeting_left {
    flex-shrink: 0;
    width: 60%;
}
.greeting_text > p:not(:last-child) {
    margin-bottom: 1em;
}
.greeting_text > p {
    font-size: 105%;
    line-height: 2.4;
}
.greeting_text h3 {
    margin-bottom: 20px;
    font-family: zen-maru-gothic, sans-serif;
    font-weight: 500;
    font-size: 146%;
    letter-spacing: 0.12em;
    line-height: 1.8;
    color: #8fbb55;
}
.greeting_profile {
    margin-top: 35px;
    font-family: zen-maru-gothic, sans-serif;
    font-weight: 500;
    line-height: 1.75;
    letter-spacing: 0.12em;
}
.greeting_profile .position {
    font-size: 130%;
}
.greeting_profile .name {
    font-size: 150%;
}
.greeting_profile .name span {
    margin-right: 20px;
    font-size: 80%;
}
.greeting_btn {
    margin-top: 30px;
}

/* ==============================================
  *SP ご挨拶
============================================== */
@media screen and (max-width: 640px) {
    .greeting {
        padding: 40px 0 5px;
    }
    .greeting_flex {
        flex-flow: column-reverse;
        gap: 18px;
    }
    .greeting_img {
        width: 88%;
        margin: 0 auto;
    }
	.greeting_img::before{
        top: -50px;
        left: auto;
        right: -30px;
        width: calc(168px * 0.4);
        height: calc(150px * 0.4);
        transform: rotate(15deg);
	}
    .greeting_left {
        width: 100%;
    }
    .greeting_text h3 {
        margin-bottom: 12px;
        font-size: 124%;
    }
    .greeting_profile .position {
        font-size: 118%;
        letter-spacing: 0.02em;
    }
    .greeting_profile {
        margin-top: 15px;
    }
    .greeting_profile .name {
        font-size: 140%;
    }
    .greeting_btn {
        margin-top: 25px;
        text-align: center;
    }
}

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

  *ピックアップ（パターン01） - 追加コンテンツ

==================================================================================================================================*/
.pickup {
    padding: 60px 0 140px;
    background: url("../images/top_pickup_bg02.png") repeat-x left top/auto auto, url("../images/top_pickup_bg01.jpg") no-repeat center bottom/auto auto;
}
@media screen and (min-width: 1920px) {
    .pickup {
        background-size: 100% 1345px;
    }
}
.pickup .inner {
    width: 100%;
}
.pickup_list {
    display: flex;
    flex-flow: wrap;
    gap: 60px;
}
.pickup_item {
    display: flex;
    align-items: center;
    width: 100%;
}
.pickup_img {
    position: relative;
    z-index: 1;
    width: 630px;
    height: fit-content;
}
.pickup_img img {
    border-radius: 20px;
}
.pickup_inner {
    position: relative;
    z-index: 2;
    width: 640px;
    margin: 0 0 0 -70px;
    padding: 40px 50px 60px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.65);
    box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.08);
}
.pickup_title {
    position: relative;
    z-index: 2;
    margin: 0 auto 15px;
    text-align: center;
}
.pickup_title h2, .pickup_title h3 {
    background: none;
    font-size: 200%;
}
.pickup_title h3 {
    padding-bottom: 27px;
    font-family: "fot-chiaro-std", sans-serif;
    font-weight: 700;
    font-size: 26px;
    letter-spacing: 0.1em;
    line-height: 1.4;
    color: #3f2924;
    background: url("../images/top_pickup_tit_deco.png") no-repeat center bottom/auto 10px;
}
.pickup_title h3::before {
    display: block;
    width: 100%;
    height: 68px;
    margin-bottom: 13px;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: auto 100%;
    content: "";
}
.pickup_item:nth-of-type(1) .pickup_title h3::before {
    background-image: url("../images/top_pickup_no01.png");
}
.pickup_item:nth-of-type(2) .pickup_title h3::before {
    background-image: url("../images/top_pickup_no02.png");
}
.pickup_title span {
    color: var(--main-color);
}
.pickup_text {
    margin: 30px 0;
    color: #3f2924;
}
.pickup_text p {
    line-height: 2.25;
}
.pickup_link {
    display: flex;
    flex-flow: wrap;
    gap: 10px;
    margin-top: auto;
}
.pickup_link .top_btn {
    width: 100%;
    text-align: center;
}
.pickup_link .pickup_btn {
    width: calc((100% / 2) - (10px / 2));
    height: fit-content;
}
.pickup_link .pickup_btn a {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    padding: 10px 35px;
    background: var(--main-color);
    border: 1px solid var(--main-color);
    color: #ffffff;
    font-size: 95%;
    letter-spacing: 0.15em;
    text-align: center;
    transition: background 0.2s, color 0.2s;
}
.pickup_link .pickup_btn a:hover {
    background: #ffffff;
    color: var(--main-color);
}
.pickup_link .pickup_btn a::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 15px;
    display: block;
    width: 14px;
    height: 7px;
    background: #ffffff;
    mask: url(../images/btn_arrow.png) no-repeat center / cover;
    -webkit-mask: url(../images/btn_arrow.png) no-repeat center / cover;
    transform: translateY(-50%);
    transition: right 0.2s, background 0.2s;
}
.pickup_link .pickup_btn a:hover::before {
    right: 12px;
    background: var(--main-color);
}

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

/*==============================================
  *SP　ピックアップ（追加コンテンツ）
==============================================*/
@media screen and (max-width:640px) {
    .pickup {
        padding: 50px 0 50px;
    }
    .pickup_list {
        width: calc(100%);
    }
    .pickup_title h2, .pickup_title h3 {
        padding-bottom: 20px;
        font-size: 20px;
    }
    .pickup_title h3::before {
        height: 46px;
        margin-bottom: 6px;
    }
    .pickup_item {
        flex-flow: column;
        width: 100%;
    }
    .pickup_img {
        width: calc(100% - 20px);
        margin: 0 auto 0 0;
    }
    .pickup_inner {
        width: 100%;
        width: calc(100% - 20px);
        margin: -30px 0 0 auto;
        padding: 30px 20px;
    }
    .pickup_text {
        margin: 15px 0;
    }
    .pickup_link {
        min-height: auto;
    }
    .pickup_link .pickup_btn {
        width: 100%;
    }
    
    /* 偶数 */
    .pickup_item:nth-child(even) {
        flex-flow: column;
    }
    .pickup_item:nth-child(even) .pickup_img {
        margin: 0 0 0 auto;
    }
    .pickup_item:nth-child(even) .pickup_inner {
        margin: -30px auto 0 0;
    }
}

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

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

================================================================================================================================== */
.feature {
    position: relative;
    padding: 80px 0 140px;
    background: linear-gradient(180deg,rgba(255, 255, 255, 1) 145px, rgba(252, 248, 243, 1) 145px);
}
.feature .top_title {
    position: relative;
	width: fit-content;
	margin: 0 auto 50px;
}
.feature .top_title::before {
	content: "";
	position: absolute;
    top: -27px;
    left: 71px;
	z-index: 2;
	display: block;
	width: calc(207px * 0.5);
	height: calc(150px * 0.5);
	background: url(../images/red-panda-02.svg) no-repeat center / cover;
}
.feature::before,
.feature::after {
    position: absolute;
    background-repeat: no-repeat;
    background-position: left top;
    background-size: contain;
    content: "";
}
.feature::before {
    top: 0;
    right: calc(50% - 960px);
    width: 824px;
    height: 618px;
    background-image: url("../images/top_feature_bg_deco01.png");
}
.feature::after {
    bottom: 123px;
    left: calc(50% - 960px);
    width: 813px;
    height: 700px;
    background-image: url("../images/top_feature_bg_deco02.png");
}
@media screen and (min-width: 1920px) {
    .feature::before {
        right: 0;
    }
    .feature::after {
        left: 0;
    }
}
.feature_list {
    position: relative;
    z-index: 1;
    display: flex;
    flex-flow: wrap;
    gap: 50px 30px;
}
.feature_item {
    position: relative;
    display: flex;
    flex-flow: column;
    width: 380px;
    height: auto;
}
.feature_num {
    position: absolute;
    z-index: 3;
    top: -38px;
    left: 20px;
    font-family: "zen-maru-gothic", sans-serif;
    font-weight: 700;
    font-size: 80px;
    line-height: 1;
    letter-spacing: 0;
    color: #3f2924;
    opacity: 0.35;
}
.feature_img {
    position: relative;
    z-index: 1;
    padding: 10px;
    border-radius: 15px;
    background: url("../images/top_feature_img_deco01.png") no-repeat left top, url("../images/top_feature_img_deco02.png") no-repeat right top, url("../images/top_feature_img_deco01.png") no-repeat right bottom, url("../images/top_feature_img_deco03.png") no-repeat left bottom;
}
.feature_img img {
    border-radius: 12px;
}
.feature_inner {
    display: flex;
    flex-flow: column;
    height: 100%;
    margin-top: -10px;
    padding: 35px 25px 40px;
    border-radius: 0 0 40px 40px;
    background: #ffffff;
}
.feature_inner > *:not(:last-child) {
    margin-bottom: 30px;
}
.feature_title {
    display: flex;
    flex-flow: column;
    justify-content: center;
    margin-bottom: 15px !important;
}
.feature_title h3 {
    font-family: "fot-chiaro-std", sans-serif;
    font-weight: 700;
    font-size: 23px;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-align: center;
    color: #3f2924;
}
.feature_item .top_btn {
    margin-top: auto;
    text-align: center;
}

/* ---- 横並びボタン ----- */
.btnflex_feature {
    display: flex;
    flex-flow: wrap;
    align-items: center;
    gap: 5px;
    margin-top: auto;
}
.btnflex_feature .btn01 {
    width: calc(50% - 2.5px);
}
.btnflex_feature .btn01 > * {
    width: 100%;
}

@media screen and (max-width: 640px) {
    .feature {
        padding: 40px 0 50px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 1) 85px, rgba(252, 248, 243, 1) 85px);
    }
    .feature::before {
        right: auto;
        left: 100px;
        width: 412px;
        height: 309px;
    }
    .feature::after {
        left: auto;
        right: 70px;
        width: 406px;
        height: 350px;
    }
	.feature .top_title::before {
		top: -10px;
        left: 30px;
		width: calc(207px * 0.3);
		height: calc(150px * 0.3);
	}
    .feature_list {
        gap: 40px;
    }
    .feature_item {
        width: 100%;
    }
    .feature_num {
        top: -34px;
        font-size: 70px;
    }
    .feature_inner {
        padding: 25px 18px 30px;
    }
    .feature_inner > *:not(:last-child) {
        margin-bottom: 20px;
    }
    .feature_title {
        min-height: auto;
        margin-bottom: 10px !important;
    }
    .feature_title h3 {
        font-size: 20px;
    }
    
    /* ---- 横並びボタン ----- */
    .btnflex_feature .btn01 {
        width: 100%;
    }
}

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

  *病状、症状から探す

================================================================================================================================== */
.search {
    position: relative;
    padding: 80px 0 120px;
}
.search::before,
.search::after {
    position: absolute;
    background-repeat: no-repeat;
    background-position: left top;
    background-size: contain;
    content: "";
}
.search::before {
    top: -60px;
    left: calc(50% - 960px);
    width: 718px;
    height: 622px;
    background-image: url("../images/top_search_bg_deco01.png");
}
.search::after {
    bottom: -66px;
    right: calc(50% - 960px);
    width: 727px;
    height: 692px;
    background-image: url("../images/top_search_bg_deco02.png");
}
@media screen and (min-width: 1920px) {
    .search::before {
        left: 0;
    }
    .search::after {
        right: 0;
    }
}
.search .top_title {
    background: url("../images/top_search_bg_bird.png") no-repeat right calc(50% - 360px) top/123px auto;
}
.search .tab_wrap {
    position: relative;
    z-index: 1;
}
.search .tab_list {
    gap: 10px;
}
.search .tab_list .tab {
    padding: 15px 20px;
}
.search .panel {
    position: relative;
    z-index: 1;
    padding: 40px 30px;
    background: #f7c175;
}
.search_list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 20px;
    height: fit-content;
}
.search_list li {
	position: relative;
    width: calc(33.3333333333% - 13.3333333333px);
    height: auto;
}

.search_list li:has(a[href="#"])::before {
    content: "準備中";
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
	border-radius: 8px;
    color: #ffffff;
    transform: translate(-50%, -50%);
}
/* ----- リンクボタン ----- */
.search_list li a {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 60px;
    line-height: 1.5;
    letter-spacing: 0;
    color: #3f2924;
    padding: 10px 45px 10px 15px;
    border-radius: 8px;
    background: #fff;
}
.search_list li a::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 19px;
    z-index: 2;
    display: block;
    width: 14px;
    height: 7px;
    background: #ffffff;
    -webkit-mask: url(../images/btn_arrow.png) no-repeat center/14px 7px;
    mask: url(../images/btn_arrow.png) no-repeat center/14px 7px;
    transform: translateY(-50%);
    transition: background 0.2s;
}
.search_list li a:hover::before {
    background: var(--main-color);
}

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



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

/* ==============================================
  *SP 病状、症状から探す
============================================== */
@media screen and (max-width: 640px) {
    .search {
        padding: 40px 0 50px;
    }
    .search .tab_list {
        flex-flow: row wrap-reverse;
        gap: 5px 4px;
        margin: 0 0 10px;
    }
    .search .tab_list .tab {
        flex: initial;
        width: calc(50% - 2px);
        min-height: auto;
        padding: 14px 10px !important;
        font-size: 100%;
        transform: translate(0, 0) !important;
    }
    .search .panel {
        padding: 20px;
    }
    .search_list {
        gap: 8px;
    }
    .search_list li {
        width: 100%;
    }
    .search_list li a {
        min-height: auto;
        padding: 15px 40px;
    }
    
    /* ----- 画像あり ----- */
    .search .panel_flex.active {
        gap: 20px;
    }
    .search_img {
        width: 100%;
    }
    .panel_flex .search_list {
        width: 100%;
    }
    .panel_flex .search_list li {
        width: 100%;
    }
}


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

  *診療案内

================================================================================================================================== */
.medical {
    position: relative;
    padding: 80px 0 120px;
    background: url("../images/top_medical_bg_dmy.jpg") no-repeat center/cover;
}
.medical::before {
    position: absolute;
    left: 50%;
    top: 30px;
    transform: translateX(-50%);
    width: calc(100% - 80px);
    min-width: 1280px;
    height: calc(100% - 60px);
    background-color: #fff;
    opacity: 0.7;
    content: "";
}
.medical .top_title {
    position: relative;
    margin-bottom: 30px;
}
.medical_list {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 48px;
}
.medical_item {
    position: relative;
    z-index: 1;
    width: calc(25% - 36px);
    height: auto;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.medical_list .medical_item:nth-of-type(1),
.medical_list .medical_item:nth-of-type(8),
.medical_list .medical_item:nth-of-type(10) {
    background-image: url("../images/top_medical_bg_o.png");
}
.medical_list .medical_item:nth-of-type(2),
.medical_list .medical_item:nth-of-type(7),
.medical_list .medical_item:nth-of-type(9) {
    background-image: url("../images/top_medical_bg_p.png");
}
.medical_list .medical_item:nth-of-type(3),
.medical_list .medical_item:nth-of-type(6),
.medical_list .medical_item:nth-of-type(12) {
    background-image: url("../images/top_medical_bg_g.png");
}
.medical_list .medical_item:nth-of-type(4),
.medical_list .medical_item:nth-of-type(5),
.medical_list .medical_item:nth-of-type(11) {
    background-image: url("../images/top_medical_bg_y.png");
}
.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;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 260px;
    padding: 20px 20px 20px;
    text-align: center;
}
.medical_inner > *:not(:last-child) {
    margin-bottom: 15px;
}
.medical_icon {
    width: 70%;
    max-width: 110px;
    margin: 0 auto 8px !important;
}
.medical_title h3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    font-family: "fot-chiaro-std", sans-serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.05em;
    line-height: 1.4;
    color: #fff;
}
.medical_list .medical_item:nth-of-type(1) h3,
.medical_list .medical_item:nth-of-type(8) h3,
.medical_list .medical_item:nth-of-type(10) h3 {
    filter: drop-shadow(0 0 5px #f98701) drop-shadow(0 0 15px #f98701);
}
.medical_list .medical_item:nth-of-type(2) h3,
.medical_list .medical_item:nth-of-type(7) h3,
.medical_list .medical_item:nth-of-type(9) h3 {
    filter: drop-shadow(0 0 5px #ea5872) drop-shadow(0 0 15px #ea5872);
}
.medical_list .medical_item:nth-of-type(3) h3,
.medical_list .medical_item:nth-of-type(6) h3,
.medical_list .medical_item:nth-of-type(12) h3 {
    filter: drop-shadow(0 0 5px #63a809) drop-shadow(0 0 15px #63a809);
}
.medical_list .medical_item:nth-of-type(4) h3,
.medical_list .medical_item:nth-of-type(5) h3,
.medical_list .medical_item:nth-of-type(11) h3 {
    filter: drop-shadow(0 0 5px #dba000) drop-shadow(0 0 15px #dba000);
}
.medical_title_eng {
    margin-top: 4px;
    font-family: zen-maru-gothic, sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0.05em;
    text-align: center;
    color: #fff;
}
.medical_text {
    color: var(--text-color);
}
.medical_btn span {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin: 0 auto;
    padding: 7px 25px 7px 15px;
    background: var(--main-color);
    border: 1px solid var(--main-color);
    color: #ffffff;
    letter-spacing: 1px;
    text-align: center;
    transition: padding 0.2s, color 0.2s, background 0.2s;
}
.medical_btn span::after {
    content: "\f105";
    position: absolute;
    top: 50%;
    right: 10px;
    display: inline-block;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 10px;
    transform: translateY(-50%);
}
.medical_item:hover .medical_btn span {
    background: #ffffff;
    color: var(--main-color);
}

/* ==============================================
  *SP 診療案内
============================================== */
@media screen and (max-width: 640px) {
    .medical {
        padding: 50px 0 60px;
    }
    .medical::before {
        top: 20px;
        width: calc(100% - 16px);
        min-width: initial;
        height: calc(100% - 40px);
    }
    .medical .top_title {
        margin-bottom: 10px;
    }
    .medical_list {
        gap: 15px 10px;
        justify-content: center;
    }
    .medical_item {
        width: calc(50% - 5px);
    }
    .medical_item:hover {
        transform: translateY(-5px);
    }
    .medical_inner {
        min-height: 41.36vw;
        padding: 14px 10px;
    }
    .medical_icon {
        width: 14vw;
    }
    .medical_title h3 {
        font-size: 110%;
        min-height: initial;
    }
    .medical_title_eng {
        font-size: 11px;
    }
}

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

  *医療コラム（パターン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;
  }
}
