@charset "UTF-8";

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

  *基本設定

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

section .inner {
    padding: 120px 40px;
}

.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;
    font-family: var(--font-jp);
    font-weight: 700;
    /* 左寄せ */
}

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

.top_title h2 {
    font-size: 220%;
}

.top_title .eng {
    display: inline-block;
    color: var(--main-color);
    font-size: 220%;
    font-family: var(--font-en);
    letter-spacing: 4px;
    line-height: 1.35;
}

.top_title .eng::first-letter {
    color: var(--sub-color);
    font-size: 1.5em;
}

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

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

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

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

  *メインビジュアル

================================================================================================================================== */
.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%;
    font-family: var(--font-jp);
    color: var(--main-color);
    letter-spacing: 5px;
    line-height: 1.5;
}

.mvCatch small {
    display: inline-block;
    font-size: 60%;
    background: #ffffff;
    border-radius: 300px;
    padding: 10px 30px;
}

.mvCatch .en {
    font-family: var(--font-num);
    font-size: 220%;
}

.mvCatch .mega {
    font-size: 190%;
}

/* ----- コンテンツ ----- */
.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;
    top: 50px;
    right: 0;
    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: 45px 35px 10px;
    background: url(../images/eye.png) no-repeat top center / 100px, var(--main-color);
    border-radius: 50%;
    color: #ffffff;
    font-size: 110%;
    line-height: 1.5;
    text-align: center;
    font-family: var(--font-jp);
}

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

.open_bnr .open_text {
    margin: 0 0 10px;
    font-size: 230%;
}

.open_bnr .nairankai_tit {
    display: block;
    width: 100%;
    margin: 0 0 10px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 300px;
    color: var(--main-color);
    font-size: 90%;
    text-align: center;
}

.open_bnr .nairakai_date {
    font-size: 90%;
}

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

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

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

.mv_bnr>* {
    position: relative;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    width: 270px;
    height: 270px;
    background: url(../images/clinic_name.svg) no-repeat center / 73%, #114164;
    border-radius: 50%;
    letter-spacing: 2px;
}

.mv_bnr>*:nth-child(2) {
    background: url(../images/clinic_name.svg) no-repeat center / 73%, #cd9d47;
}

.mv_bnr>*:nth-child(3) {
    background: url(../images/clinic_name.svg) no-repeat center / 73%, var(--sub-purple);
}

.mv_bnr>*::after {
    content: "";
    position: absolute;
    bottom: 40px;
    left: 50%;
    display: block;
    width: 20px;
    height: 20px;
    background: #ffffff;
    -webkit-mask: url(../images/btn_arrow.svg) no-repeat center/cover;
    mask: url(../images/btn_arrow.svg) no-repeat center/cover;
    transform: translateX(-50%);
    transition: right 0.2s, background 0.2s;
}

.mv_bnr>*:hover::after {
    background: var(--sub-color);
}

.mv_bnr a {
    color: #ffffff;
    font-size: 130%;
    line-height: 1.5;
    text-align: center;
    font-family: var(--font-jp);
}

.mv_bnr small {
    display: block;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 15px;
    margin: 10px 0;
    border-radius: 30px;
}

.mv_bnr .num {
    font-size: 2rem;
    padding: 0 8px;
    font-family: var(--font-num);
}

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

.sp_only {
    display: none;
}

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

    /* ----- スライダーの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: 125%;
        line-height: 1.75;
    }

    .mvCatch .mega {
        font-size: 90%;
    }

    .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: 10px;
    }

    .open_bnr>* {
        width: 100%;
        height: auto;
        padding: 15px 20px;
        border-radius: 10px;
        background: url(../images/eye.png) no-repeat top right -20px / 100px, var(--main-color);
    }

    .mv_bnr {
        position: relative;
        left: 0;
        bottom: 0;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .mv_bnr>* {
        width: 100%;
        height: 15vh;
        border-radius: 10px;
    }

    .mv_bnr>*::after {
        bottom: 10px;
        left: auto;
        right: 10px;
        transform: none;
    }

    .mv_bnr a {
        font-size: 115%;
    }

    .mv_bnr small {
        padding: 7px 20px;
        border-radius: 10px;
        font-size: 100%;
        letter-spacing: 2px;
    }
}

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

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

==================================================================================================================================*/
.clinic_bg {
    position: relative;
    background: url(../images/clinic_bg01.png) no-repeat left bottom / 279px,
        url(../images/clinic_bg02.png) no-repeat right bottom / 284px;
}

.clinic_bg::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
    width: calc(100% - 100px);
    height: 100%;
    background: rgba(255, 255, 255, 0.65);
}


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

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

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

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

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

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

/* ----- 医院概要 ----- */
.clinic .info .inner {
    display: flex;
    gap: 40px;
    padding: 30px 40px 80px;
}

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

.clinic .info .logo {
    width: 60%;
    margin: 0 auto 20px;
}

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

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

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

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

.clinic .info address .location .zipcode {
    display: block;
}

.clinic .info address .tel {
    margin-top: 15px;
    padding: 0 0 0 50px;
    font-size: 34px;
    line-height: 1;
    letter-spacing: 4px;
    font-family: var(--font-num);
    color: var(--main-color);
}

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

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

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

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

.clinic .info .speciality {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 20px auto 0;
    padding: 8px;
    background: var(--bg-beige);
    font-family: var(--font-jp);
    border-radius: 5px;
    color: #908357;
}

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

.clinic .info .speciality .title::after {
    position: absolute;
    content: "";
    top: 50%;
    right: 0;
    width: 1px;
    height: 33px;
    background: var(--line-color);
    transform: translateY(-50%);
}

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

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

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

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

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

.clinic .info .illustmap img {
    border-radius: 10px;
}

@media screen and (max-width: 640px) {
    .clinic_bg {
        position: relative;
        background: url(../images/clinic_bg01.png) no-repeat left top / 140px,
            url(../images/clinic_bg02.png) no-repeat right bottom / 74px;
    }

    .clinic_bg::before {
        width: 100%;
    }

    .clinic .news .inner {
        flex-flow: column;
        gap: 0;
        padding: 60px 20px;
    }

    .clinic .info .inner {
        flex-flow: column;
        padding: 0 20px 70px;
    }

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

    .clinic .info .speciality {
        flex-flow: column;
        gap: 10px;
        padding: 10px;
    }

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

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

  *ご挨拶

================================================================================================================================== */
.greeting {
    position: relative;
    background: url(../images/greeting_bg01.png) no-repeat left top / 563px, url(../images/greeting_bg02.png) no-repeat right top / 631px, #e0e7f1;
}

.greeting::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
    c height: 100%;
    background: rgba(255, 255, 255, 0.65);
}

.greeting .top_title {
    position: relative;
}

.greeting .top_title::before {
    content: "";
    position: absolute;
    bottom: 10px;
    left: 50%;
    display: block;
    width: 640px;
    height: 30px;
    background: #ffffff;
    -webkit-mask: url(../images/line.svg) no-repeat center / cover;
    mask: url(../images/line.svg) no-repeat center / cover;
    transform: translateX(-50%);
    z-index: -1;
}

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

.greeting_flex {
    display: flex;
    align-items: center;
    gap: 50px;
}

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

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

.greeting_right {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.greeting_right::before {
    position: absolute;
    content: '';
    background: url(../images/m_character.png) no-repeat top center / contain;
    width: 150px;
    height: 100px;
    bottom: 100px;
    right: 10px;
}

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

.greeting_left h3 {
    font-family: var(--font-jp);
    color: var(--sub-purple);
    font-size: 110%;
}

.greeting_left h3 strong {
    display: block;
    margin-bottom: 20px;
    font-size: 2em;
    color: var(--main-color);
}

.greeting_left p {
    font-size: 16px;
    letter-spacing: 0.1em;
    margin-bottom: 28px;
    line-height: 2.1;
}

.greeting_profile {
    padding: 20px;
    background: var(--main-color);
    color: #ffffff;
    line-height: 1.75;
    text-align: center;
    font-family: var(--font-jp);
}

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

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

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

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

/* ==============================================
  *SP ご挨拶
============================================== */
@media screen and (max-width: 640px) {
    .greeting {
        background: url(../images/greeting_bg01.png) no-repeat left top / 170px,
            url(../images/greeting_bg02.png) no-repeat right top / 150px,
            #e0e7f1;
    }

    .greeting::before {
        display: none;
    }

    .greeting .top_title::before {
        width: 240px;
        height: 20px;
    }

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

    .greeting_left {
        width: 100%;
    }

    .greeting_left h3 strong {
        font-size: 1.5em;
    }

    .greeting_btn {
        margin-top: 40px;
    }
}

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

  *診療案内

================================================================================================================================== */
.medical {
    position: relative;
    background: #eee9da;
    background: url(../images/greeting_bg01.png) no-repeat left top / 502px, url(../images/clinic_bg02.png) no-repeat right bottom / 284px, #eee9da;
}

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

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

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

.medical_img {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: -1;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    transition: background 0.2s;
}

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

.medical_inner {
    position: relative;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 30px 30px 70px;
    background: rgba(255, 255, 255, 1);
    text-align: center;
    border-radius: 10px;
}

.medical_inner::before,
.medical_inner::after {
    content: "";
    position: absolute;
}

.medical_inner::before {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20%;
    background: var(--bg-purple);
    border-radius: 0 0 10px 10px;
}

.medical_inner::after {
    bottom: 25px;
    left: 50%;
    display: block;
    width: 20px;
    height: 20px;
    background: var(--sub-purple);
    -webkit-mask: url(../images/btn_arrow.svg) no-repeat center/cover;
    mask: url(../images/btn_arrow.svg) no-repeat center/cover;
    transform: translateX(-50%);
    transition: right 0.2s, background 0.2s;
}

.medical_inner:hover::before {
    background: var(--bg-beige);
}

.medical_inner:hover::after {
    background: var(--sub-color);
}

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

.medical_icon {
    max-width: 250px;
    margin: 0 auto 15px !important;
}

.medical_title h3 {
    color: var(--main-color);
    font-size: 170%;
    font-family: var(--font-jp);
}

.medical_title_eng {
    margin: 5px 0 30px;
    color: var(--sub-color);
    font-size: 12px;
    line-height: 1;
    letter-spacing: 1px;
    text-align: center;
    font-family: var(--font-en);
}

.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 {
        background: url(../images/greeting_bg01.png) no-repeat left -100px top / 372px, url(../images/clinic_bg02.png) no-repeat right bottom / 104px, #eee9da;
    }

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

    .medical_inner::after {
        bottom: 15px;
    }

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

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

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

==================================================================================================================================*/
.feature {
    position: relative;
    background: var(--bg-beige);
    background-image: radial-gradient(#e7d295 6%, transparent 6%), radial-gradient(#ccd6e4 6%, transparent 6%);
    background-position: 0 0, 12px 12px;
    background-size: 24px 24px;
}

.feature::before,
.feature::after {
    position: absolute;
    content: '';
}

.feature::before {
    background: url(../images/feature_bg01.png) no-repeat top center / contain;
    top: 0;
    left: 0;
    width: 560px;
    height: 400px;
}

.feature::after {
    background: url(../images/feature_bg02.png) no-repeat top center / contain;
    top: 70px;
    right: 0;
    width: 230px;
    height: 200px;
}

.feature .inner {
    padding: 120px 0 150px;
}

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

.feature_item {
    position: relative;
    display: flex;
    height: auto;
    width: 100%;
    margin-top: 50px;
    counter-increment: number 1;
}

.feature_item::before {
    position: absolute;
    content: '';
    background: url(../images/characters.svg) no-repeat top center / contain;
    width: 200px;
    height: 49px;
    right: 0;
    top: -48px;
}

.feature_img {
    position: relative;
    width: 550px;
    flex-shrink: 0;
    margin-top: -50px;
}

.feature_img::before,
.feature_img::after {
    position: absolute;
    content: '';
}

.feature_img::before {
    background: url(../images/num_bg.svg) no-repeat top center / contain;
    width: 130px;
    height: 130px;
    bottom: 0;
    left: 30px;
}

.feature_img::after {
    left: 66px;
    bottom: 22px;
    content: '0' counter(number);
    font-family: var(--font-num);
    font-size: 50px;
    line-height: 50px;
    color: #ffffff;
    z-index: 1;
}

.feature_img img {
    border-radius: 20px;
}

.feature_inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-flow: column;
    width: 100%;
    height: 100%;
    min-height: 400px;
    margin: 0 0 0 -50px;
    padding: 50px;
    background: #fff;
    border-radius: 20px;
}

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

.feature_inner p {
    font-size: 17px;
    letter-spacing: 0.1em;
    line-height: 1.9;
}

.feature_title {
    display: flex;
    flex-flow: column;
    margin-bottom: 20px !important;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--main-color);
}

.feature_title h3 {
    color: var(--main-color);
    font-size: 190%;
    line-height: 1.75;
    font-family: var(--font-jp);
}

.feature_num {
    width: fit-content;
    margin: 0 0 15px !important;
    font-size: 100%;
    font-family: var(--font-num);
    letter-spacing: 2px;
    border-radius: 40px;
    background: var(--bg-beige);
    padding: 0 30px;
    color: var(--sub-color);
}

.feature_num span {
    font-size: 110%;
}

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

.feature_item .btn01>* {
    padding: 10px 40px 10px 30px;
    font-size: 95%;
    background: var(--main-color);
    border: 1px solid var(--main-color);
}

.feature_item .btn01>*:hover {
    color: var(--main-color);
    background: #ffffff;
}

.btnflex_feature {
    display: flex;
    align-items: center;
    flex-flow: wrap;
    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-bottom: 0;
    }

    .feature::before {
        width: 240px;
        height: 170px;
    }

    .feature::after {
        top: 50px;
        width: 110px;
        height: 100px;
    }

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

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

    .feature_title h3 {
        line-height: 1.45;
    }

    .feature_list {
        gap: 90px;
    }

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

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

    .feature_img::before {
        width: 100px;
        height: 100px;
        bottom: auto;
        left: 30px;
        left: 15px;
        top: 15px;
    }

    .feature_img::after {
        top: 60px;
        left: 42px;
        bottom: auto;
        font-size: 40px;
        line-height: 40px;
    }

    .feature_img img {
        border-radius: 10px 10px 0 0;
    }

    .feature_inner {
        width: 100%;
        min-height: auto;
        padding: 30px 20px;
        margin: 0;
        border-radius: 0 0 10px 10px;
    }

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

    .feature_item .btn01 {
        text-align: center;
    }

    /* 横並び */
    .btnflex_feature .btn01 {
        width: 100%;
    }
}