@charset "utf-8";
/* CSS Document */

/* fukagawa-hp.or.jp
-----------------------------------------------------*/
#title {
    background-image: url("image/title_nursing.jpg");
}
#title::before {
    background: #31681e;
}
#title h1 {
    background-image: url("image/title_nursing_icon.png");
}
@media screen and (max-width: 640px) {
    #title {
        background-image: url("image/title_nursing_sp.jpg");
    }
}

.inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
}


#step .inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 50px 40px;
}

.step {
    /*width: 32%;
    max-width: 340px;
    margin-bottom: 50px;*/
    line-height: 1.5;
}
.step_num,
.step_tit {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    text-align: center;
}
.step_num,
.step_num::after {
    background: #90cfd1;
}
.step_num {
    position: relative;
    height: 160px;
    color: #fff;
    border-radius: 30px 30px 0px 0px;
}
.step_num::after {
    content: "";
    display: block;
    width: 50px;
    height: 28px;
    position: absolute;
    top: 150px;
    left: 50%;
    transform: translateX(-50%);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.step_num strong {
    display: block;
    font-size: 2.6em;
    font-weight: 500;
    line-height: 1;
}
.step_tit {
    height: 260px;
    padding-top: 30px;
    background: #f5f5f5;
    border-radius: 0px 0px 30px 30px;
}
.step_tit img {
    width: 40%;
    max-width: 116px;
}
.step_tit span {
    display: flex;
    align-items: center;
    height: 3em;
    margin-top: 1em;
}
p.step_phone {
    margin-top: 0.6em;
    font-weight: 700;
    line-height: 1.25;
}
.step_phone,
.step_phone a {
    color: #e93e3e;
}
.step_phone strong {
    display: block;
    margin-bottom: 0.2em;
    padding-left: 1.2em;
    background: url("image/main_call.svg") no-repeat left bottom / 0.8em auto;
	font-family: "Noto Serif JP", serif;
    font-size: 28px;
    font-weight: 700;
}
.step p span {
    display: inline-block;
    margin-left: 0.2em;
    margin-right: 0.2em;
    padding: 0 0.4em;
    border-radius: 4px;
    background: #90cfd1;
    color: #fff;
}
.step p.memo {
    margin-top: 0.4em;
    font-size: 0.875em;
}
@media screen and (max-width: 1180px) {
    #step .inner {
        grid-gap: clamp(1.25rem, -0.129rem + 4.41vw, 3.125rem) clamp(1.25rem, 0.331rem + 2.94vw, 2.5rem);
    }
    .step_num {
        font-size: clamp(0.75rem, 0.517rem + 0.99vw, 1.25rem);
    }
    .step_tit {
        font-size: clamp(0.875rem, 0.599rem + 0.88vw, 1.25rem);
    }
    .step_num {
        height: clamp(5rem, 2.436rem + 10.26vw, 10rem);
    }
    .step_num::after {
        width: clamp(1.875rem, 0.956rem + 2.94vw, 3.125rem);
        height: clamp(1.25rem, 0.882rem + 1.18vw, 1.75rem);
        top: clamp(4.688rem, 1.241rem + 11.03vw, 9.375rem);
    }
    .step_tit {
        height: clamp(8.125rem, 3.958rem + 16.67vw, 16.25rem);
        padding-top: clamp(0.625rem, -0.294rem + 2.94vw, 1.875rem);
    }
}
@media screen and (max-width: 800px) {
    .step_phone strong {
        font-size: clamp(1.25rem, 0.417rem + 2.67vw, 1.75rem);
    }
}
@media screen and (max-width: 700px) {
    .step_num {
        border-radius: 20px 20px 0px 0px;
    }
    .step_tit {
        border-radius: 0px 0px 20px 20px;
    }
    #step .inner {
        grid-template-columns: repeat(2, 1fr);
    }
    .step_tit img {
        max-width: 86px;
    }
    .step_tit span {
        margin-top: 0.2em;
        line-height: 1.4;
    }
}

.service_tit {
    display: flex;
    justify-content: flex-start;
    margin-top: 1em;
    font-size: 22px;
    line-height: 1.5;
    color: #3ea1a4;
    text-align: justify;
}
.service p {
    margin-top: 1em;
    text-align: justify;
}
.service p.memo {
    margin-top: 0.2em;
    font-size: 0.875em;
}
@media screen and (max-width: 1280px) {
    .service_tit {
        font-size: clamp(1.125rem, 0.708rem + 0.83vw, 1.375rem);
    }
}


@media screen and (min-width: 701px) {
    .lineList dd br {
        display: none;
    }
}

#corner_menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 100px;
}
#corner_menu li {
    width: 32%;
    max-width: 410px;
}
#corner_menu a {
    position: relative;
    display: flex;
    align-items: center;
    height: 5em;
    padding-left: 1.2em;
    border: 1px solid #d9d9d9;
    font-size: 22px;
    color: #20a7ac;
    text-decoration: none;
}
#corner_menu a::before,
#corner_menu a::after {
    position: absolute;
    top: 50%;
    right: 0.7em;    
    content: "";
    display: block;
    transform: translateY(-50%);
    width: 1.45em;
    height: 1.45em;
}
#corner_menu a::before {
    background: #57c0c4;
    border-radius: 50%;
}
#corner_menu a::after {
    background: url("image/arrow_w.svg") no-repeat center center / 0.625em auto;
}
@media (hover: hover) {
    #corner_menu a:hover {
        background: #57c0c4;
        color: #fff;
    }
    #corner_menu a:hover::before {
        background: #fff;
    }
    #corner_menu a:hover::after {
        background-image: url("image/arrow_g.svg");
    }
}
@media screen and (max-width: 1280px) {
    #corner_menu {
        margin-top: clamp(3.75rem, -0.417rem + 8.33vw, 6.25rem);
    }
    #corner_menu a {
        font-size: clamp(1rem, 0.375rem + 1.25vw, 1.375rem);
    }
}
@media screen and (max-width: 800px) {
    #corner_menu li {
        width: 49%;
        margin-bottom: 1em;
    }
    #corner_menu a {
        height: 4em;
    }
}
@media screen and (max-width: 560px) {
    #corner_menu li {
        width: 100%;
        max-width: 100%;
        margin-bottom: 0.6em;
    }
    #corner_menu a {
        height: 3.5em;
    }
}

/* ==============================================
    index
============================================== */
#index {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
#index div {
    width: 32%;
    max-width: 410px;
}
#index div a {
    position: relative;
    display: block;
    height: 100%;
    padding: 20px 15px 80px;
    text-decoration: none;    
}
#index .image {
    width: 100%;
    margin-bottom: 1.3em;
    overflow: hidden;
}
#index .image img {
    width: 100%;
}
#index img {
    transition: .4s;
}
#index strong {
    display: block;
    font-size: 22px;
    color: #3ea1a4;
}
#index .text {
    line-height: 2;
    color: #2a2c2d;
}
#index .link {
    position: absolute;
    bottom: 24px;
    right: 15px;
    padding-right: 47px;
    background: url("image/arrow_w.svg") no-repeat right 9px center / 14px auto;
}
#index .link::before {
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -16px;
    content: "";
    display: block;
    width: 32px;
    height: 32px;
    border-radius: 16px;
    background: #57c0c4;
    z-index: -1;
    transition: .4s;
}
@media (hover: hover) {
    #index div a:hover {
        box-shadow: 0px 16px 20px rgba(0, 0, 0, 0.2);
    }
    #index a:hover img {
        transform: scale(1.05,1.05);
    }
    #index a:hover .link::before {
        transform: scale(1.2,1.2);
    }
}
@media screen and (max-width: 1280px) {
    #index strong {
        font-size: clamp(1.188rem, 0.875rem + 0.63vw, 1.375rem);
    }
}
@media screen and (max-width: 800px) {
    #index {
        width: 100%;
        max-width: 410px;
        margin: 0 auto;
    }
    #index div {
        width: 100%;
        margin-bottom: 20px;
    }
    #index div a {
        padding-bottom: 4em;
    }
    #index div p {
        font-size: 14px;
    }
    #index div p.text {
        margin-top: 1em;
    }
}

/* ==============================================
    homecare
============================================== */
#homecare #service .inner {
    max-width: 1190px;
}
#homecare .service,
#homecare .service_image img {
    max-width: 260px;
}
#homecare .service {
    width: 22%;
    margin-top: 30px;
}
#homecare .service_image {
    text-align: center;
}
#homecare .service_image img {
    width: 100%;
}
@media screen and (min-width: 801px) {
    #homecare .service:nth-child(2) .service_tit {
        min-height: 3em;
    }
}
@media screen and (max-width: 800px) {
    #homecare .service {
        width: 47%;
        max-width: 400px;
        margin-top: clamp(1.25rem, 5vw, 2.5rem);
    }
    #homecare .service_image img {
        max-width: 200px;
    }
}

/* ==============================================
    dayservice / rehabilitation
============================================== */
#dayservice .inner::after,
#rehabilitation .inner::after {
    content: "";
    display: block;
}
#dayservice .service,
#dayservice .inner::after,
#rehabilitation .service,
#rehabilitation .inner::after {
    width: 31%;
    max-width: 330px;
}
#dayservice .service,
#rehabilitation .service {
    margin-top: 40px;
    margin-bottom: 40px;
}
#dayservice .service_tit,
#rehabilitation .service_tit {
    margin-top: 0;
}

#dayservice #guide .lineList,
#rehabilitation #guide .lineList {
    margin-top: 50px;
}
#dayservice #guide .lineList dt,
#rehabilitation #guide .lineList dt {
    white-space: nowrap;
}
@media screen and (max-width: 800px) {
    #dayservice .service,
    #dayservice .inner::after,
    #rehabilitation .service,
    #rehabilitation .inner::after {
        width: 48%;
        max-width: 500px;
    }
    #dayservice .service,
    #rehabilitation .service {
        margin-top: 0;
        margin-bottom: 30px;
    }
}
@media screen and (max-width: 500px) {
    #dayservice .service,
    #rehabilitation .service {
        width: 100%;
    }
}

#dayservice #items p {
    margin: 2em 0 1.2em;
    color: #e93e3e;
}
#dayservice #life ol {
	list-style: none;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}
#dayservice #life li {
	position: relative;
	counter-increment: cnt;
    margin-bottom: 0.4em;
    padding: 1.6em 1em 1.6em 155px;
    background: #f5f5f5;
    font-size: 18px;
}
#dayservice #life li + li {
    margin-top: 1.3em;
}
#dayservice #life li::before,
#dayservice #life li::after {
	position: absolute;
	top: 0;
    background: #eb9797;
}
#dayservice #life li::before {
	content: counter(cnt);
	left: 0;
	display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
	width: 130px;
    height: 100%;
    color: #fff;
    font-size: 2em;
}
#dayservice #life li::after {
    content: "";
    display: block;
    width: 4%;
    height: 17%;
    top: 99%;
    left: 54px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}
#dayservice #life li:last-of-type::after {
    content: none;
}
@media screen and (max-width: 800px) {
    #dayservice #life li {
        padding: 1.4em 1em 1.4em 120px;
        font-size: clamp(0.75rem, 0.375rem + 1.5vw, 1.125rem);
    }
    #dayservice #life li::before {
        width: 96px;
    }
    #dayservice #life li::after {
        left: calc(48px - 2%);
    }
}
