@charset "utf-8";
/* CSS Document */

/* fukagawa-hp.or.jp
-----------------------------------------------------*/
main {
    max-width: 1520px;
}
@media screen and (max-width: 1600px) and (min-width: 1051px) {
    main {
        width: calc(100% - 80px);
    }
}

/* ==============================================
    main-visual
============================================== */
#main-visual {
    position: relative;
    max-height: 100dvh;
    overflow: hidden;
    color: #fff;
    margin-bottom: 120px;
}
#main-visual img {
    width: 100vw;
    height: 100dvh;
    object-fit: cover;
}
#main-visual #message {
    position: absolute;
    top: 57%;
    left: 40px;
    font-size: 22px;
    text-align: left;
    text-shadow: 0px 3px 6px rgba(0, 0, 0, 0.25);
}
#main-visual #message strong {
    display: block;
    margin-bottom: 0.6em;
    font-size: 2.9em;
    font-weight: 700;
}
@media screen and (min-width: 1601px) {
    #main-visual img {
        width: 100%;
    }
}
@media screen and (max-width: 1600px) {
    #main-visual #message {
        font-size: clamp(0.75rem, 0.542rem + 0.83vw, 1.375rem);
    }
    #main-visual #message strong {
        font-size: clamp(2.313rem, 1.75rem + 2.25vw, 4rem);
    }
}
@media screen and (max-width: 1000px) {
    #main-visual {
        margin-bottom: 12vw;
    }
}
@media screen and (max-width: 600px) {
    #main-visual #message {
        top: 75%;
        left: 10px;
    }
    #main-visual #message strong {
        margin-bottom: 0.4em;
    }
}
@media screen and (max-width: 400px) {
    #main-visual #message strong {
        /*font-size: 11.5vw;*/
    }
}

/* ==============================================
    entrance
============================================== */
#entrance {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 3em;
    border-right: 1px solid #90cfd1;
}
#entrance li {
    list-style: none;
    border-left: 1px solid #90cfd1;
}
#entrance li a {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    height: 295px;
    padding: 50px 50px 55px;
    background: no-repeat right 40px bottom 50px;
    font-size: 22px;
    color: #2a2c2d;
    font-weight: 700;
    text-decoration: none;
}
#entrance li a img {
    margin-left: 2px;
}
#entrance li:nth-of-type(1) a { background-image: url("image/top_hospitalization_arrow.png"); }
#entrance li:nth-of-type(2) a { background-image: url("image/top_outpatient_arrow.png"); }
#entrance li:nth-of-type(3) a { background-image: url("image/top_nursing_arrow.png"); }
#entrance li:nth-of-type(4) a { background-image: url("image/top_corporation_arrow.png"); }
@media (hover: hover) {
    #entrance li:nth-of-type(1) a:hover { background-color: #fdf4f4; }
    #entrance li:nth-of-type(2) a:hover { background-color: #eff9fd; }
    #entrance li:nth-of-type(3) a:hover { background-color: #f2f7f0; }
    #entrance li:nth-of-type(4) a:hover { background-color: #f6f7fc; }
}
@media screen and (max-width: 1600px) {
    #entrance li a {
        padding-left: 13%;
        padding-right: 13%;
        background-position: right 10.5% bottom 50px;
    }
}
@media screen and (max-width: 1200px) {
    #entrance li a {
        height: clamp(15rem, 8.125rem + 13.75vw, 18.438rem);
        font-size: clamp(1rem, 0.25rem + 1.5vw, 1.375rem);
        background-size: clamp(1.375rem, 0.125rem + 2.5vw, 2rem) auto;
    }
    #entrance li a img {
        width: auto;
        height: clamp(4rem, 0.625rem + 6.75vw, 5.688rem);
    }
}
@media screen and (max-width: 900px) {
    #entrance li a {
        justify-content: flex-start;
        align-items: center;
        padding-top: 30px;
        background-position: right 18px bottom 20px;
    }
    #entrance li a img {
        margin-bottom: 25px;
    }
}
@media screen and (max-width: 640px) {
    #entrance {
        grid-template-columns: repeat(2, 1fr);
        margin-left: -20px;
        margin-right: -20px;
    }
    #entrance {
        border-right: none;
    }
    #entrance li {
        border-left: none;
    }
    #entrance li:nth-of-type(1),
    #entrance li:nth-of-type(2) {
        border-bottom: 1px solid #90cfd1;
    }
    #entrance li:nth-of-type(1),
    #entrance li:nth-of-type(3) {
        border-right: 1px solid #90cfd1;
    }
}

/* ==============================================
    information
============================================== */
.slider {
    max-width: 1300px;
    margin: 0 auto;
}
.slider .slick-list {
    overflow: visible !important;
}
.slider .slick-slide img {
    display: block;
    width: 100%;
}
.slider .slick-list {
    margin: 0 -8px;
}
.slider .slick-slide {
    margin: 0 8px;
}
.slider .entry a {
    width: auto;
}
.slider .entry a img {
    aspect-ratio: 315 / 290;
}
@media screen and (max-width: 1100px) {
    .slider .entry_date,
    .slider .title {
        margin-left: 0.1em;
        margin-right: 0.1em;
    }
    .slider .entry_date [class^="cat"] {
        width: 7em;
    }
    .slider .entry_date .date {
        margin-left: 0.4em;
    }
}
@media screen and (max-width: 700px) {
    .slider .entry a {
        padding-bottom: 2em;
    }
}

.slick-next,
.slick-next:before {
    width: 56px;
    height: 92px;
	z-index: 10;
}
.slick-next {
	margin-top: -46px;
    right: calc(calc(100vw - 100%)/-2);
}
.slick-next:before {
	content: "";
	display: inline-block;
	background-image: url("image/slider_btn.png");
    background-size: contain;
	background-position: 0 0;
	background-repeat: no-repeat;
	transition: .4s;
}

.slick-prev {
    display: none;
}


#information .right a {
    position: relative;
    padding-right: 47px;
    background: url("image/arrow_w.svg") no-repeat right 9px center / 14px auto;
    text-decoration: none;
}
#information .right a::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) {
    #information .right a:hover::before {
        transform: scale(1.1,1.1);
    }
}


/* ==============================================
    corporation
============================================== */
#about {
    margin: 0 auto 70px;
}
#about img {
    width: 537px;
}
#about strong {
    display: inline-block;
    margin-left: 1em;
    font-size: 34px;
    font-weight: 300;
}
@media screen and (max-width: 1300px) {
    #about img {
        width: 40vw;
    }
    #about strong {
        font-size: clamp(1.75rem, 0.5rem + 2vw, 2.125rem);
    }
}
@media screen and (min-width: 851px) {
    #about {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        max-width: 1240px;
    }
    #about strong {
        margin-left: 1em;
    }
}
@media screen and (max-width: 850px) {
    #about {
        text-align: center;
    }
    #about img {
        min-width: 300px;
    }
    #about strong {
        margin: 1em auto 0;
        text-align: left;
    }
}

#corporation .inner {
    width: 100%;
    max-width: 1030px;
    margin: 0 auto;
}
#corporation dt {
    margin-bottom: 0.7em;
    font-size: 22px;
    color: #57c0c4;
}
#corporation dd {
    text-align: justify;
}
@media screen and (max-width: 1000px) {
    #corporation dt {
        font-size: clamp(1.125rem, 0.125rem + 2vw, 1.375rem);
    }
}
@media screen and (min-width: 701px) {
    #corporation .inner {
        display: flex;
        justify-content: space-between;
    }
    #corporation dl {
        width: 30%;
        max-width: 290px;
    }
}
@media screen and (max-width: 700px) {
    #corporation dl + dl {
        margin-top: 2em;
    }
}


/* ==============================================
    recruit
============================================== */
#recruit {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 120px 0 60px;
}
#recruit::before {
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -50vw;
    content: "";
    display: block;
    width: 100vw;
    height: 100%;
    background: #fff3f3;
    z-index: -1;
}
#recruit div {
    width: calc(100% - 830px);
}
#recruit strong {
    display: block;
    margin-top: 90px;
    margin-bottom: 45px;
    font-size: 36px;
    font-weight: 300;
}
#recruit p {
    width: 100%;
    max-width: 600px;
}
#recruit .btn_large {
    max-width: 473px;
    margin-top: 130px;
}
#recruit .btn_large a {
    padding-right: 2em;
}
#recruit .btn_large a::after {
    position: absolute;
    content: "";
    display: block;
    right: 15px;
    bottom: 0;
    width: 208px;
    height: 138px;
    background: url("image/top_recruit_btn.png") no-repeat right bottom;
}
@media (hover: hover) {
    #recruit .btn_large a:hover::after {
        background-position: right bottom -2px;
    }
}

#recruit span {
    margin-left: -40px;
}
@media screen and (max-width: 1510px) {
    #recruit span img {
        width: 56.49vw;
    }
    #recruit div {
        width: calc(43.5vw - 57px);
    }
}
@media screen and (max-width: 1340px) {
    #recruit {
        padding-top: clamp(3.75rem, -7.279rem + 17.65vw, 7.5rem);
    }
    #recruit strong {
        display: block;
        margin-top: clamp(2.5rem, -6.691rem + 14.71vw, 5.625rem);
        margin-bottom: clamp(1.563rem, -2.114rem + 5.88vw, 2.813rem);
        font-size: clamp(1.75rem, 0.279rem + 2.35vw, 2.25rem);
    }
    #recruit .btn_large {
        margin-top: clamp(4.375rem, -6.654rem + 17.65vw, 8.125rem);
    }
}
@media screen and (max-width: 1080px) {
    #recruit .btn_large a {
        padding-right: 3em;
    }
    #recruit .btn_large a::after {
        right: 0;
    }
}
@media screen and (max-width: 1050px) {
    #recruit span {
        margin-left: -20px;
    }
    #recruit div {
        width: calc(43.5vw - 37px);
    }
}
@media screen and (max-width: 870px) {
    #recruit {
        flex-direction: column;
        padding-top: 25px;
    }
    #recruit .sp {
        display: block;
    }
    #recruit .pc {
        display: none;
    }
    #recruit span img {
        width: 100%;
        max-width: 490px;
    }
    #recruit div {
        width: 100%;
    }
    #recruit .btn_large {
        margin-left: auto;
        margin-right: auto;
    }
}
@media screen and (max-width: 500px) {
    #recruit span {
        margin-left: -10px;
    }
}
@media screen and (max-width: 450px) {
    #recruit span {
        margin-bottom: 20px;
    }
}
@media screen and (max-width: 430px) {
    #recruit .btn_large a {
        padding-right: 4em;
    }
    #recruit .btn_large a::after {
        right: -10px;
    }
}


/* ==============================================
    information
============================================== */
