@charset "UTF-8";
:root {
    --orange: #ff921a;
    --brown: #774617;
    --cream: #fff7e2;
    --gray: #62544b;
    --rail: 13.8vw;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    color: var(--brown);
    font-weight: 600;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--orange);
}

button,a {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,button:focus-visible {
    outline: 3px solid #a54b00;
    outline-offset: 5px;
}

button {
    font: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.care-layout {
    display: flex;
    overflow: hidden;
}

.side-nav {
    flex: 0 0 var(--rail);
    background: var(--orange);
    position: relative;
    padding: 25vw 0 0 3.3vw;
    font-size: 1.1vw;
}

.side-nav nav {
    display: flex;
    flex-direction: column;
    gap: 1vw;
}

.side-nav a:first-child {
    color: white;
}

.side-nav a:hover {
    text-decoration: underline;
    color: white;
}

.side-nav .side-bottom {
    position: absolute;
    bottom: 11.5vw;
    left: 3.3vw;
}

.side-bottom a:first-child {
    color: #b8752c;
}

.side-bottom a:last-child {
    color: white;
}

.care-main {
    width: calc(100% - var(--rail));
    min-width: 0;
}

.hero {
    height: 36vw;
    position: relative;
}

.breadcrumb-nav {
    position: relative;
    z-index: 2;
    margin-left: 8.5vw;
    padding-top: 1.3vw;
    font-size: .85vw;
    color: #b4987e;
}

.breadcrumb-nav>span:last-child {
    color: #e7956f;
}

.hero-copy {
    position: relative;
    z-index: 2;
    padding: 9.3vw 0 0 4vw;
    max-width: 53vw;
}

.hero h1 {
    font-size: 2.8vw;
    font-weight: 700;
    letter-spacing: -.05em;
    margin: 0 0 2.8vw;
}

.hero h1 small {
    font-size: 1.4vw;
    letter-spacing: 0;
}

.hero-copy p {
    font-size: 1.03vw;
    line-height: 2;
    font-weight: 700;
}

.hero-photo {
    position: absolute;
    right: -3.5vw;
    top: -12.5vw;
    width: 45vw;
    height: 45vw;
    border: 10px solid #ffc453;
    border-radius: 50%;
    box-shadow: 0 0 0 3px #fba23e,0 0 45px 26px #f9e9cf;
    overflow: hidden;
    outline: 1px solid #fa935b;
    outline-offset: 10px;
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 53% center;
}

.services {
    padding: 0 2.4vw 0 3.5vw;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    gap: 1.7vw;
    margin-bottom: 4.6vw;
    white-space: nowrap;
}

.section-heading p {
    font-size: 1.2vw;
    color: #b49a81;
    margin: 0 0 .6vw .3vw;
}

.section-heading h2 {
    font-size: 1.9vw;
    line-height: 1.6;
    font-weight: 700;
    margin: 0;
}

.section-heading h2>span {
    background: var(--orange);
    color: white;
    padding: .3vw 1.2vw;
}

.section-heading small {
    font-size: 1.45vw;
}

.heading-icon {
    width: 4vw;
    height: 4vw;
    object-fit: contain;
    flex-shrink: 0;
}

.stripe {
    height: 11px;
    flex: 1;
    background: repeating-linear-gradient(130deg,transparent 0 5px,#ffb400 5px 7px,transparent 7px 12px);
    margin-bottom: .7vw;
    min-width: 20px;
}

.service-grid {
    --bs-gutter-x: 2.6vw;
    --bs-gutter-y: 2.5vw;
}

.service-group {
    position: relative;
    background: var(--cream);
    padding: 1.65vw 2.5vw 1.1vw;
}

.service-group h3 {
    position: absolute;
    top: -1.1vw;
    left: 2vw;
    font-size: 1.2vw;
    font-weight: 700;
    line-height: 1.5;
    background: #fff;
    color: var(--orange);
    border-bottom: 3px solid var(--orange);
    padding: 0 .7vw .2vw;
    margin: 0;
}

.service-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    border: 0;
    background: none;
    color: var(--brown);
    text-align: left;
    font-weight: 700;
    font-size: 1.6vw;
    padding: .45vw 0;
    line-height: 1.5;
    transition: color .2s;
}

.service-link::after {
    content: '›';
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brown);
    color: #fff;
    border-radius: 50%;
    width: 1.55vw;
    height: 1.55vw;
    flex-shrink: 0;
    font-size: 1.5vw;
    font-weight: 400;
    line-height: 1;
}

.service-link:hover,.service-link.featured {
    color: var(--orange);
}

.service-link:hover::after,.service-link.featured::after {
    background: var(--orange);
}

.service-link.featured::after {
    width: 2.25vw;
    height: 2.25vw;
    font-size: 2.1vw;
}

.long-name {
    font-size: 1.5vw;
    letter-spacing: -.06em;
}

.home-services {
    margin-top: 8.8vw;
}

.stay {
    margin-top: 3.1vw;
}

.wide-group {
    margin-top: 5.3vw;
}

.procedure {
    padding: 9.4vw 8vw 5.3vw;
}

.procedure > a {
    position: relative;
    width: 100%;
    min-height: 12vw;
    border: 10px solid #ffd15d;
    background: white;
    color: var(--brown);
    font-size: 3vw;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4.5vw;
    padding: 2vw;
}

.procedure > a:hover {
    background: #fffbef;
}

.procedure img {
    position: absolute;
    left: -5.7vw;
    bottom: -4.1vw;
    width: 9.7vw;
}

.external-arrow {
    background: var(--orange);
    color: #fff;
    font-size: 3.5vw;
    border-radius: 5px;
    width: 4.1vw;
    height: 4.1vw;
    line-height: 1;
}

.contact {
    min-height: 59vw;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
}

.contact-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 63vw;
    margin-top: 1vw;
}

.contact h2 {
    font-size: 1.8vw;
    display: flex;
    align-items: center;
    gap: 2.7vw;
    margin-bottom: 2.3vw;
}

.contact h2::before,.contact h2::after {
    content: '';
    height: 2px;
    background: #8a7b73;
    flex: 1;
}

.contact p {
    font-size: 1.35vw;
    color: #333;
    margin-bottom: .6vw;
}

.phone {
    font-size: 5.4vw;
    letter-spacing: .02em;
    font-weight: 600;
    line-height: 1.6;
    white-space: nowrap;
}

.phone small {
    font-size: 2.6vw;
    letter-spacing: 0;
}

.contact .hours {
    background: #5e4d42;
    color: #fff;
    width: max-content;
    padding: .4vw 4.5vw;
    margin: 1.3vw auto 0;
    font-size: 1.7vw;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    width: 28vw;
    height: 28vw;
}

.bubble::after {
    content: '';
    position: absolute;
    inset: -1vw 1vw 0 -1vw;
    border: 1px solid;
    border-radius: 50%;
}

.bubble-peach {
    background: #fff1e2;
    right: -3vw;
    top: 4.5vw;
}

.bubble-peach::after {
    border-color: #ffbc82;
}

.bubble-pink {
    background: #fff4f8;
    left: -15vw;
    bottom: -2vw;
    width: 39vw;
    height: 39vw;
}

.bubble-pink::after {
    border-color: #ffb6d8;
    inset: -2.5vw -.5vw 1vw -1vw;
}

.bubble-green {
    background: #f2f8e6;
    right: 16.5vw;
    bottom: 4vw;
    width: 26vw;
    height: 26vw;
}

.bubble-green::after {
    border-color: #9ed686;
    inset: 1vw 1.5vw -1vw -1.5vw;
}

.modal-content {
    border: 0;
    border-top: 6px solid var(--orange);
}

.modal-body {
    line-height: 1.9;
}

.modal-phone {
    font-size: 1.8rem;
    color: var(--brown);
}

@media (min-width:1921px) {
    body {
        max-width: 2400px;
        margin: auto;
    }

}

@media (max-width:991.98px) {
    .hero-copy p {
        font-size: 12px;
    }

    .hero-copy {
        max-width: 52vw;
    }

    .desktop-break {
        display: none;
    }

    .breadcrumb-nav {
        font-size: 10px;
        margin-left: 13vw;
    }

    .section-heading small {
        font-size: 1.55vw;
    }

    .side-nav {
        font-size: 12px;
        padding-left: 2vw;
    }

    .side-nav .side-bottom {
        left: 2vw;
    }

    .service-link {
        font-size: 1.65vw;
    }

    .service-group h3 {
        font-size: 1.35vw;
    }

}

@media (max-width:767.98px) {
    html {
        scroll-padding-top: 20px;
    }

    .side-nav {
        display: none;
    }

    .care-main {
        width: 100%;
    }

    .hero {
        height: auto;
        padding-bottom: 35px;
        display: flex;
        flex-direction: column;
    }

    .breadcrumb-nav {
        padding: 70px 20px 0;
        margin: 0;
    }

    .hero-photo {
        position: relative;
        top: auto;
        right: auto;
        align-self: flex-end;
        margin: -20px -55px 0 0;
        width: 290px;
        height: 290px;
        border-width: 6px;
        box-shadow: 0 0 0 2px #fba23e,0 0 24px 12px #f9e9cf;
        outline-offset: 6px;
    }

    .hero-copy {
        padding: 25px 24px 0;
        max-width: none;
    }

    .hero h1 {
        font-size: 29px;
        margin-bottom: 20px;
    }

    .hero h1 small {
        font-size: 16px;
    }

    .hero-copy p {
        font-size: 13px;
        line-height: 2;
        margin-bottom: 0;
    }

    .services {
        padding: 0 22px;
    }

    .section-heading {
        gap: 12px;
        margin-bottom: 35px;
        white-space: normal;
    }

    .section-heading p {
        font-size: 12px;
        margin-bottom: 9px;
    }

    .section-heading h2 {
        font-size: 20px;
        line-height: 1.9;
    }

    .section-heading h2>span {
        padding: 5px 10px;
    }

    .section-heading small {
        display: block;
        font-size: 15px;
        margin-top: 3px;
    }

    .heading-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 4px;
    }

    .stripe {
        margin-bottom: 20px;
    }

    .service-grid {
        --bs-gutter-y: 32px;
        --bs-gutter-x: 24px;
    }

    .service-group {
        padding: 23px 18px 13px;
    }

    .service-group h3 {
        font-size: 13px;
        top: -12px;
        left: 14px;
        padding: 0 6px 3px;
        max-width: calc(100% - 28px);
    }

    .service-link,.service-link.long-name {
        font-size: 15px;
        letter-spacing: 0;
        padding: 8px 0;
        line-height: 1.7;
    }

    .service-link::after {
        width: 18px;
        height: 18px;
        font-size: 20px;
    }

    .service-link.featured::after {
        width: 23px;
        height: 23px;
        font-size: 25px;
    }

    .home-services {
        margin-top: 55px;
    }

    .stay {
        margin-top: 34px;
    }

    .wide-group {
        margin-top: 32px;
    }

    .procedure {
        padding: 60px 9px 40px;
    }

    .procedure > a {
        min-height: 100px;
        border-width: 6px;
        font-size: 20px;
        padding: 22px 10px;
        gap: 15px;
    }

    .procedure img {
        width: 57px;
        left: -25px;
        bottom: -28px;
    }

    .external-arrow {
        font-size: 28px;
        width: 32px;
        height: 32px;
        flex-shrink: 0;
    }

    .contact {
        min-height: 420px;
    }

    .contact-inner {
        width: calc(100% - 40px);
        margin: 0;
    }

    .contact h2 {
        font-size: 18px;
        gap: 20px;
        margin-bottom: 25px;
    }

    .contact p {
        font-size: 12px;
    }

    .phone {
        font-size: clamp(27px,7.8vw,48px);
        letter-spacing: 0;
        line-height: 2;
    }

    .phone small {
        font-size: 16px;
    }

    .contact .hours {
        font-size: 14px;
        padding: 7px 25px;
        margin-top: 10px;
    }

    .bubble-peach {
        width: 160px;
        height: 160px;
        right: -55px;
        top: 10px;
    }

    .bubble-pink {
        width: 230px;
        height: 230px;
        left: -150px;
        bottom: -30px;
    }

    .bubble-green {
        width: 170px;
        height: 170px;
        right: 20px;
        bottom: 15px;
    }

    .modal-title {
        line-height: 1.7;
    }

}

@media (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }

    *,*::before,*::after {
        transition: none!important;
    }

}

body.care-page {
    line-height: 1.5;
    letter-spacing: normal;
}

.care-page #services,
.care-page #procedure,
.care-page #contact {
    scroll-margin-top: max(0px, calc(17.4vw - 80px));
}

@media (max-width: 991.98px) {
    .care-page #services,
    .care-page #procedure,
    .care-page #contact {
        scroll-margin-top: 60px;
    }

}

@media (max-width: 767.98px) {
    .care-page #services,
    .care-page #procedure,
    .care-page #contact {
        scroll-margin-top: 132px;
    }

}

/* 福祉送迎サービス超寿：障がい福祉ページと同じ白い角丸パネル。 */
.transport-service-modal .modal-dialog {
    max-width: 650px;
    margin: 24px auto;
    padding: 0 12px;
}

.transport-service-modal .modal-content {
    position: relative;
    padding: 24px 20px;
    border: 0;
    border-radius: 0;
    background: var(--orange);
    color: var(--brown);
}

.transport-service-modal h2 {
    margin: 0 12px 20px;
    padding-right: 12px;
    color: #fff;
    font-size: clamp(18px, 3.6vw, 25px);
    font-weight: 700;
    line-height: 1.5;
}

.transport-service-close {
    position: absolute;
    top: 0;
    right: 3px;
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 28px;
    line-height: 1;
}

.transport-service-panel {
    padding: 34px 28px 26px;
    border-radius: 22px;
    background: #fff;
}

.transport-service-introduction {
    display: grid;
    grid-template-columns: 56% minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    margin: 0 0 28px;
}

.transport-service-photo {
    display: block;
    width: 100%;
    aspect-ratio: 264 / 213;
    object-fit: cover;
}

.transport-service-copy h3 {
    margin: 12px 0 20px;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
}

.transport-service-copy p {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.5;
}

.transport-service-details {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.transport-service-details > div {
    display: grid;
    grid-template-columns: 115px minmax(0, 1fr);
}

.transport-service-details dt {
    margin: 0;
    padding: 4px 12px 12px 8px;
    border-right: 2px solid var(--brown);
    font-weight: 500;
}

.transport-service-details dd {
    margin: 0;
    padding: 4px 0 12px 20px;
    overflow-wrap: anywhere;
}

.transport-service-details > div:last-child dt,
.transport-service-details > div:last-child dd {
    padding-bottom: 0;
}

.transport-service-details a {
    color: inherit;
    text-decoration: none;
    letter-spacing: .06em;
}

@media (max-width: 575.98px) {
    .transport-service-modal .modal-content {
        padding: 26px 14px 18px;
    }

    .transport-service-panel {
        padding: 22px 18px;
    }

    .transport-service-introduction {
        grid-template-columns: 1fr;
    }

    .transport-service-photo {
        max-width: 360px;
        margin: auto;
    }

    .transport-service-details > div {
        grid-template-columns: 100px minmax(0, 1fr);
    }

    .transport-service-details dt {
        padding-left: 0;
    }

    .transport-service-details dd {
        padding-left: 12px;
    }
}
