@charset "utf-8";

/* ------------------------------------------ */

/* HOME CSS */

/* ------------------------------------------ */

/* Key Visual Section
------------------------------------------ */
.sec-kv {
    padding-top: var(--mp160);
}

.sec-kv .img {
    width: 100%;
    aspect-ratio: 36/15;
    overflow: hidden;
    border-radius: 20px;
}

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

.sec-kv .is-kv {
    position: relative;
    line-height: 1;
}

.sec-kv .img-area {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: min(20.97%, 302px);
    min-width: 160px;
}

@media (width <= 991px) {
    .sec-kv .img {
        height: 315px;
        aspect-ratio: initial;
    }
}

@media (width <= 767px) {
    .sec-kv {
        padding-top: 14rem;
    }
}

/* Important Section
------------------------------------------ */
.sec-important {
    background-color: var(--crm);
}

.sec-important .news {
    gap: var(--mp20) 4vw;
}

.sec-important .imp-title {
    width: calc(var(--f-sz22) * 7);
}

.sec-important .content {
    flex: 1;
}

.sec-important .post a {
    position: relative;
    column-gap: 20px;
    padding: 17px 50px 17px 40px;
    background-color: #fff;
    border-radius: 5px;
}

.sec-important .post:not(:last-child) {
    margin-bottom: 10px;
}

.sec-important .date {
    padding-top: 4px;
    color: #b3b3b3;
}

.sec-important .title {
    flex: 1;
}

@media (width <= 767px) {
    .sec-important .content {
        flex: initial;
    }
}

@media (width <= 480px) {
    .sec-important .post a {
        flex-flow: column;
        padding: 17px 30px 17px 20px;
    }
}

/* Hours Section
------------------------------------------ */
.sec-hours {
    width: min(53.33%, 720px);
}

.tb-hours {
    width: 100%;
}

.tb-hours th,
.tb-hours td {
    text-align: center;
}

.tb-hours th {
    padding: 10px;
    font-size: var(--f-sz14);
    font-weight: normal;
    line-height: 1.4;
    color: var(--wht);
    background-color: #74bcb6;
}

.tb-hours th:not(:last-child) {
    border-right: 1px solid #fff;
}

.tb-hours th:first-child {
    border-radius: 10px 0 0;
}

.tb-hours th:last-child {
    border-radius: 0 10px 0 0;
}

.tb-hours tr:not(:first-child) {
    border-bottom: 1px solid rgb(0 0 0 / 10%);
}

.tb-hours td {
    padding: 10px;
}

.tb-hours td i {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.tb-hours td i::before {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    content: "";
    transform: translate(-50%, -50%);
}

.tb-hours td .true::before {
    width: 10px;
    height: 10px;
    background-color: var(--gry-dark);
    border-radius: 50%;
}

.tb-hours td .none::before {
    width: 12px;
    height: 1px;
    background-color: var(--gry);
}

@media (width <= 640px) {
    .outer:has(table) {
        overflow-x: auto;
    }

    .tb-hours {
        width: 530px;
    }
}

.sec-hours .contact {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 35px;
    border: 1px solid rgb(0 0 0 / 20%);
    border-radius: 10px;
}

.sec-hours .title {
    padding-right: 30px;
}

.sec-hours .tel-num-time {
    position: relative;
    padding-left: 30px;
}

.sec-hours .tel-num-time::before {
    position: absolute;
    top: 0;
    left: -0.5px;
    display: block;
    width: 1px;
    height: 100%;
    content: "";
    background-color: rgb(0 0 0 / 10%);
}

@media (width <= 480px) {
    .sec-hours .contact {
        flex-flow: column;
        padding: 18px 20px;
    }

    .sec-hours .title {
        padding: 0 0 10px;
    }

    .sec-hours .tel-num-time {
        padding: 11px 0 0;
        text-align: center;
    }

    .sec-hours .tel-num-time::before {
        left: 0;
        width: 100%;
        height: 1px;
    }
}

/* New Patient Section
------------------------------------------ */
.sec-newpatient {
    width: min(42.22%, 570px);
    background-color: #f0f0ed;
    border-radius: 10px;
}

.sec-newpatient .is-block {
    padding: 36px 40px;
}

.sec-newpatient .check-list {
    margin: 0 min(7%, 38px);
}

.sec-newpatient .check-list li {
    position: relative;
    padding-left: 20px;
}

.sec-newpatient .check-list li:not(:last-child) {
    margin-bottom: 7px;
}

.sec-newpatient .check-list li::before {
    position: absolute;
    top: 8px;
    left: 0;
    display: block;
    width: 14px;
    height: 12px;
    content: "";
    background-image: url("../img/common/i-cheack.svg");
    background-repeat: no-repeat;
    background-size: contain;
}

.sec-newpatient .bookingapp {
    gap: 20px;
}

.sec-newpatient .digisma {
    width: 49.98%;
}

.sec-newpatient .digisma a {
    flex-wrap: nowrap;
    gap: 5px;
    align-items: center;
    width: 100%;
    padding: 15px min(9.166%, 22px);
    background-color: var(--wht);
    border-radius: 10px;
}

.sec-newpatient .digisma .mark {
    width: 50px;
}

.sec-newpatient .digisma + .txt {
    flex: 1;
}

.sec-newpatient .digisma + .txt .ext_link {
    color: var(--grn);
    text-decoration: underline;
}

.sec-newpatient .digisma + .txt .ext_link::after {
    margin: 0 4px;
}

@media (width <= 1350px) {
    .sec-newpatient .check-list {
        margin: 0;
    }

    .sec-newpatient .digisma {
        width: 240px;
    }

    .sec-newpatient .digisma + .txt {
        flex: initial;
    }
}

@media (width <= 991px) {
    .hours-newpatient {
        gap: var(--mp50);
    }

    .sec-hours {
        width: 100%;
    }

    .sec-newpatient {
        width: 100%;
    }

    .sec-newpatient .digisma {
        width: min(49.98%, 240px);
    }

    .sec-newpatient .digisma + .txt {
        flex: 1;
    }
}

@media (width <= 767px) {
    .sec-newpatient .digisma {
        width: 240px;
    }

    .sec-newpatient .digisma + .txt {
        flex: initial;
    }
}

@media (width <= 480px) {
    .sec-newpatient .is-block {
        padding: 18px 20px;
    }
}

/* Department Section
------------------------------------------ */
.sec-department .img-area {
    margin-bottom: calc(var(--mp60) * -1);
}

.sec-department .img-wrap {
    aspect-ratio: 5/2;
    overflow: hidden;
    border-radius: 10px;
}

.sec-department .txt-block {
    background-color: var(--wht);
    border-radius: 20px;
}

.sec-department .txt-area {
    align-items: end;
    width: 81%;
    margin: auto;
}

.sec-department .txt-area .btnarea {
    margin-top: var(--mp30);
}

.sec-department .title .sub {
    margin-left: 15px;
}

@media (width <= 1024px) {
    .sec-department .txt-area {
        width: 90%;
    }
}

@media (width <= 767px) {
    .sec-department .title .sub {
        display: block;
        margin: 5px 0 0;
    }

    .sec-department .txt-area .btnarea {
        width: 100%;
    }
}

@media (width <= 480px) {
    .sec-department .title .sub {
        font-size: 1.6rem;
    }

    .sec-department .txt-block {
        padding-bottom: 3rem;
    }
}

/* Overview Section
------------------------------------------ */
.sec-overview {
    position: relative;
}

.sec-overview .is-block {
    align-items: end;
}

.sec-overview .img-area {
    position: relative;
    width: min(54.166%, 650px);
}

.sec-overview .txt-area {
    width: min(39.583%, 475px);
    padding: 26px 0 calc(var(--mp60) + 26px);
}

.sec-overview .img-inner {
    position: relative;
    top: calc(var(--mp60) * -1);
    gap: 10px;
    width: 100%;
}

.sec-overview .img-wrap {
    flex: 1;
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: 10px;
}

.sec-overview .wht-block {
    margin-top: var(--mp60);
    background-color: var(--wht);
    border-radius: 20px;
}

@media (width <= 1350px) {
    .sec-overview .txt-area {
        padding: 26px 0 var(--mp60);
    }

    .sec-overview .txt-area .txt {
        padding-bottom: var(--mp30);
    }
}

@media (width <= 1024px) {
    .sec-overview .img-area {
        width: 100%;
        margin-bottom: calc(var(--mp60) * -1);
    }

    .sec-overview .txt-area {
        width: 100%;
    }

    .sec-overview .img-wrap {
        aspect-ratio: 1/1;
    }
}

@media (width <= 480px) {
    .sec-overview .txt-area {
        padding-bottom: 3rem;
    }
}

/* News Section
------------------------------------------ */
.sec-news {
    background-color: var(--wht);
}

.sec-news .sec-ttl {
    width: 180px;
}

.sec-news .news-list {
    width: calc(100% - 220px);
}

.sec-news .sbox-news {
    position: relative;
}

.sec-news .sbox-news:not(:last-child) {
    margin-bottom: 12px;
}

.sec-news .news-block {
    position: relative;
}

.sec-news .btnarea {
    position: absolute;
    bottom: 0;
    left: 0;
}

.sec-news .sbox-news .btn {
    display: block;
    padding: 18px 50px 18px 30px;
    background-color: #f7f7f7;
    border-radius: 5px;
}

.sec-news .title {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    white-space: nowrap;
}

.sec-news .date-cat {
    gap: 11px;
    align-items: start;
    margin-bottom: 7px;
}

.sec-news .date {
    color: #b3b3b3;
}

@media (width <= 767px) {
    .sec-news .sec-ttl {
        margin-bottom: var(--mp15);
    }

    .sec-news .news-list {
        width: 100%;
        margin-bottom: var(--mp30);
    }

    .sec-news .btnarea {
        position: initial;
    }

    .sec-news .btnarea .btn {
        width: 300px;
    }
}

/* Access Section
------------------------------------------ */
.sec-access .access-ttl {
    gap: 10px 20px;
    align-items: center;
    justify-content: space-between;
}

.sec-access .access-ttl .to-gmap a {
    padding: 6px 25px;
    border-radius: 10px;
}

.sec-access .gm-block {
    width: 100%;
    height: 496px;
    overflow: hidden;
    border-radius: 20px;
}

.sec-access .gm-block iframe {
    width: 100%;
    height: 100%;
}

.sec-access .guid-area .related {
    position: relative;
    width: 60%;
    padding-right: var(--mp60);
}

.sec-access .guid-area .related::after {
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    content: "";
    background: rgb(0 0 0 / 10%);
}

.sec-access .guid-area .rehab {
    overflow: hidden;
    background-color: var(--wht);
    border-radius: 10px;
}

.sec-access .guid-area .rehab a {
    position: relative;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    border: 1px solid rgb(0 0 0 / 5%);
    border-radius: 10px;
}

.sec-access .guid-area .rehab .img-area {
    width: 23%;
}

.sec-access .guid-area .rehab .img-area .of-wrap {
    aspect-ratio: 2/3;
}

.sec-access .guid-area .rehab .txt-area {
    flex: 1;
    padding: 0 10%;
}

.sec-access .guid-area .recruit {
    width: 40%;
    padding-left: var(--mp60);
}

.sec-access .guid-area .recruit ul {
    box-sizing: border-box;
    background-color: var(--wht);
    border: 1px solid rgb(0 0 0 / 5%);
    border-radius: 10px;
}

.sec-access .guid-area .recruit ul li {
    position: relative;
}

.sec-access .guid-area .recruit ul li a {
    display: block;
    padding: 15px 0 15px 40px;
}

.sec-access .guid-area .recruit ul li + li {
    position: relative;
}

.sec-access .guid-area .recruit ul li + li::before {
    position: absolute;
    top: 0;
    left: 50%;
    width: 90%;
    height: 1px;
    content: "";
    background-color: rgb(0 0 0 / 10%);
    transform: translateX(-50%);
}

.sec-access .guid-area .arrow02 {
    right: 50px;
}

@media (width >= 768px) {
    .sec-access .guid-area a:hover .arrow02 {
        right: 45px;
    }
}

@media (width <= 1024px) {
    .sec-access .guid-area .related {
        width: 50%;
        padding-right: var(--mp50);
    }

    .sec-access .guid-area .rehab a {
        flex-direction: column;
        align-items: flex-start;
    }

    .sec-access .guid-area .rehab .img-area {
        width: 100%;
    }

    .sec-access .guid-area .rehab .img-area .of-wrap {
        aspect-ratio: 3/1;
    }

    .sec-access .guid-area .rehab .txt-area {
        position: relative;
        padding: 5% 17% 5% 5%;
    }

    .sec-access .guid-area .recruit {
        width: 50%;
        padding-left: var(--mp50);
    }
}

@media (width <= 767px) {
    .sec-access .gm-block {
        height: 400px;
    }

    .sec-access .guid-area {
        flex-direction: column;
    }

    .sec-access .guid-area .related {
        width: 100%;
        padding-right: 0;
        padding-bottom: var(--mp50);
    }

    .sec-access .guid-area .related::after {
        top: 100%;
        width: 100%;
        height: 1px;
    }

    .sec-access .guid-area .rehab a {
        flex-direction: row;
        align-items: center;
    }

    .sec-access .guid-area .rehab .img-area {
        width: 23%;
    }

    .sec-access .guid-area .rehab .img-area .of-wrap {
        aspect-ratio: 2 / 3;
    }

    .sec-access .guid-area .recruit {
        width: 100%;
        padding: 0;
        padding-top: var(--mp50);
    }
}

@media (width <= 480px) {
    .sec-access .guid-area .rehab .img-area {
        width: 27%;
    }
}

/* side-sticky
------------------------------------------ */
.side-sticky .bookingapp {
}
