@charset "UTF-8";
@import "reset.css";

:root {
    font-size: 10px;
    --main-color: #1c79c1;
}

.pc_only {
    display: inherit;
}

.sp_only {
    display: none;
}

html {
    scroll-behavior: smooth;
}

a {
    color: #263432;
    text-decoration: none;
}

ul {
    list-style: none;
}

body {
    min-width: 1300px;
    font-family: 'BIZ UDPGothic', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, sans-serif;
    color: #263432;
    letter-spacing: 0.05em;
}

img {
    max-width: 100%;
}

header {
    width: 100%;
    min-width: 1300px;
}

header.flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header.flex .flex_item:first-child {
    margin-right: auto;
}

header h1 {
    width: 426px;
    min-width: 380px;
    padding-left: 38px;
}

header h1 a {
    font-size: 2.8rem;
    letter-spacing: 0.01em;
    color: var(--main-color);
}

.head_tel {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 28px;
    margin: 0 38px 18px 0;
}

.head_tel .head_tel-icon {
    height: 25px;
    fill: var(--main-color);
}

.head_tel a {
    color: var(--main-color);
}

nav ul {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-right: 24px;
}

nav ul li {
    margin-bottom: 8px;
    border-left: 2px solid var(--main-color);
}

nav ul li:first-child {
    border-left: none;
}

nav ul li a {
    display: block;
    width: 210px;
    font-size: 1.8rem;
    text-align: center;
}


header .head_contact a {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 18px;
    width: 286px;
    height: 118px;
    font-size: 2.2rem;
    font-weight: bold;
    color: #fff;
    background-color: var(--main-color);
}

header .head_contact a .contact-icon {
    fill: #fff;
}

.hamburger {
    display: none;
}

.main_visual {
    min-width: 1300px;
}

main {
    width: 100%;
    text-align: center;
}

h2 {
    width: 100%;
    margin-bottom: 46px;
}

h2 span {
    display: block;
    color: var(--main-color);
}

h2 > .ja {
    font-size: 3.2em;
    font-weight: bold;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

h2 > .en {
    font-size: 2.2rem;
    font-weight: 500;
    position: relative;
    display: inline-block;
    padding: 0 75px;
}

h2 > .en:before,
h2 > .en:after {
    content: "";
    position: absolute;
    top: 50%;
    display: inline-block;
    width: 60px;
    height: 1px;
    background-color: var(--main-color);
}

h2 > .en:before {
    left: 0;
}

h2 > .en:after {
    right: 0;
}

section {
    padding: 78px 0;
}

.about p {
    font-size: 2.2rem;
    line-height: 1.727;
}

.about p span {
    font-weight: bold;
}

.about p:first-of-type {
    margin-bottom: 46px;
}

/* SP */
@media screen and (max-width: 768px) {
    .pc_only {
        display: none;
    }

    .sp_only {
        display: inherit;
    }
    img {
        vertical-align: middle;
    }

    body {
        min-width: initial;
        padding-bottom: calc(64px + env(safe-area-inset-bottom));
    }

    header {
        width: initial;
        min-width: initial;
    }

    header.flex {
        padding: 0;
    }

    header h1 {
        width: 70%;
        min-width: initial;
        height: 48px;
        padding: 8px;
        position: relative;
        z-index: 1001;
    }

    header h1 a {
        display: block;
    }

    header h1 a img {
        height: 48px;
    }

    nav {
        width: 90%;
        margin: 0 auto;
    }
    nav ul li {
        border: none;
    }
    .menu nav ul li a {
        width: auto;
    }

    .hamburger {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 1001;
        display: block;
        width: 64px;
        height: 64px;
        padding: 0;
        border: none;
        box-sizing: border-box;
        background-color: var(--main-color);
        cursor: pointer;
    }


    /* -------------------------
    三本線
    ------------------------- */

    .hamburger span {
        position: absolute;
        left: 50%;
        display: block;
        width: 30px;
        height: 2px;
        margin: 0;
        background: #fff;
        transform-origin: center center;
        transition:
            transform 0.3s ease,
            opacity 0.3s ease;
    }


    /* 通常時の3本線 */

    .hamburger span:nth-child(1) {
        top: 21px;
        transform: translateX(-50%);
    }

    .hamburger span:nth-child(2) {
        top: 28px;
        transform: translateX(-50%);
    }

    .hamburger span:nth-child(3) {
        top: 35px;
        transform: translateX(-50%);
    }


    /* -------------------------
    MENU
    ------------------------- */

    .hamburger::after {
        content: "MENU";
        position: absolute;
        left: 50%;
        bottom: 10px;
        transform: translateX(-50%);
        color: #fff;
        font-size: 9px;
        font-weight: 400;
        line-height: 1;
        letter-spacing: 0.05em;
    }


    /* -------------------------
    CLOSE
    ------------------------- */

    .hamburger.is-open span:nth-child(1) {
        top: 28px;
        transform: translateX(-50%) rotate(45deg);
    }

    .hamburger.is-open span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.is-open span:nth-child(3) {
        top: 28px;
        transform: translateX(-50%) rotate(-45deg);
    }

    .hamburger.is-open::after {
        content: "CLOSE";
    }



    /* 電話番号 */
    .head_tel {
        display: none;
    }


    /* ナビゲーション */

    /* -------------------------
    メニュー
    ------------------------- */

    .menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        padding: 100px 0 0 0;
        background: #fff;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }


    /* メニューを開いた状態 */

    .menu.is-open {
        transform: translateX(0);
    }

    .menu nav ul {
        display: block;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .menu nav li {
        border-bottom: 1px solid #ddd;
    }

    .menu nav a {
        display: block;
        padding: 18px 0;
        color: #333;
        text-decoration: none;
    }
    


    .head_contact {
        display: none;
    }

    .main_visual {
        min-width: initial;
    }

    h2 > .ja {
        font-size: 2.4em;
        line-height: 1.583;
        margin-bottom: 16px;
    }

    h2 > .en {
        font-size: 1.6rem;
    }

    .about {
        width: 100%;
    }
    .about p {
        font-size: 1.8rem;
        line-height: 1.727;
        padding: 0 24px;
    }
}



/* 訪問看護でできること */
.service {
    background-color: #eaf5f3;
}

.service_box {
    width: 1300px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 40px;
    margin: 0 auto;
}

.service_contents {
    width: 600px;
    height: 420px;
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 16px;
    margin: 0 25px;
    border: 4px solid var(--main-color);
}

.service_contents:last-of-type {
    width: calc(100% - 50px);
    height: auto;
    flex: none;
    padding: 23px 0;
}

.service_image {
    margin: 20px auto;
}

.service_image img {
    height: 196px;
    width: auto;
    object-fit: cover;
}

.service_text {
    height: 146px;
    font-size: 1.6rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    column-gap: 64px;
    margin-left: 40px;
}

.service_contents:last-of-type .service_text {
    height: auto;
}

.service_text-title {
    font-size: 2.4rem;
    font-weight: bold;
    text-align: left;
    line-height: 1.25;
    color: var(--main-color);
}

.service_text-title span {
    font-size: 2rem;
}

.service_text ul {
    list-style-type: disc;
    text-align: left;
    line-height: 1.444;
}

.service_text p {
    font-size: 1.8rem;
    line-height: 1.556;
    text-align: left;
}

@media screen and (max-width: 768px) {
    .service_box {
        width: 100%;
    }

    .service_contents {
        width: 90%;
        height: auto;
        margin: 0 auto;
    }
    .service_contents:last-of-type {
        width: 90%;
        height: auto;
        margin: 0 auto;
        padding: 24px;
    }

    .service_text {
        height: auto;
        flex-direction: column;
        margin-left: 0;
        margin-bottom: 20px;
    }

    .service_text-title {
        font-size: 2rem;
    }

    .service_text p {
        font-size: 1.6rem;
        line-height: 1.556;
        text-align: left;
    }
}


/* ながよし訪問看護ステーションの特徴 */
.feature_wrap {
    margin: 0 auto;
    padding-left: 60px;
}
.feature_box {
    width: clac(100% - 60px);
    max-width: 1300px;
    height: 260px;
    margin: 0 auto 70px;
    border-radius: 16px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.feature_box:before,
.feature_box:after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    background-size: cover;
}

.feature_box:before {
    left: 0;
    z-index: -2;
    background-image: url(../images/feature-cover.png);
}

.feature_box:after {
    right: 0;
    z-index: -4;
    background-position: center right;
    border-radius: 16px;
}

.feature_01:after {
    background-image: url(../images/feature01.png);
}
.feature_02:after {
    background-position-y: 60%;
    background-image: url(../images/feature02.png);
}
.feature_03:after {
    background-image: url(../images/feature03.png);
}
.feature_04:after {
    background-position-y: 60%;
    background-image: url(../images/feature04.png);
}

.feature_no {
    width: 120px;
    height: 120px;
    position: absolute;
    left: 0;
    transform: translateX(-50%);
    background-color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.feature_no::before {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    border: 1px solid #fff;
    border-radius: 50%;
}

.feature_no p {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 4.8rem;
    font-weight: 400;
    color: var(--main-color);
    margin: 0;
}

.feature_text {
    padding-left: 148px;
}

.feature_text h3 {
    font-size: 2.4rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 32px;
    text-align: left;
}

.feature_text p {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.778;
    color: #fff;
    text-align: left;
}

@media screen and (max-width: 768px) {
    .feature_wrap {
        width: 100%;
        padding-left: 0;
    }
    .feature_box {
        width: 90%;
        height: 340px;
        align-items: flex-start;
    }
    .feature_box:before {
        border-radius: 16px 16px 0 0;
        background-size: cover;
        background-repeat: no-repeat;
        background-image: url(../images/feature-cover-sp.png);
    }
    .feature_01:after {
        background-image: url(../images/feature-sp_01.png);
    }
    .feature_02:after {
        background-image: url(../images/feature-sp_02.png);
    }
    .feature_03:after {
        background-image: url(../images/feature-sp_03.png);
    }
    .feature_04:after {
        background-image: url(../images/feature-sp_04.png);
    }
    .feature_no {
        width: 40px;
        height: 40px;
        top: 40px;
        left: 10px;
        transform: initial;
    }
    .feature_no::before {
        width: 50px;
        height: 50px;
    }
    .feature_no p {
        font-size: 2.4rem;
    }

    .feature_text {
        padding: 48px 24px 0 64px;
    }
    .feature_text h3 {
        font-size: 1.8rem;
    }

    .feature_text p {
        font-size: 1.6rem;
    }
}

/* ご利用までの流れ */
.flow {
    background-color: #f5f8f7;
}

.flow_box {
    width: 1300px;
    margin: 0 auto;
}

.flow_box ul li {
    height: 188px;
    margin-bottom: 80px;
    position: relative;
}

.flow_box ul li:after {
    content: "";
    position: absolute;
    width: 120px;
    height: 30px;
    left: 50%;
    bottom: -55px;
    transform: translateX(-50%);
    background-color: var(--main-color);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.flow_box ul li:last-child {
    margin-bottom: 0;
}

.flow_box ul li:last-child::after {
    display: none;
}

.flow_contents {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    column-gap: 72px;
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 16px;
    border: 4px solid var(--main-color);
}

.flow_text {
    text-align: left;
}

.flow_text h3 {
    font-size: 24px;
    color: var(--main-color);
    margin-bottom: 24px;
}

.flow_image img {
    border-radius: 12px 0  0 12px;
    vertical-align: middle;
}

.flow_text p {
    font-size: 20px;
    line-height: 1.9;
}

@media screen and (max-width: 768px) {
    .flow_box {
        width: 90%;
    }

    .flow_box ul li {
        height: auto;
    }

    .flow_contents {
        flex-direction: column;
        row-gap: 24px;
    }

    .flow_image img {
        border-radius: 12px 12px 0 0;
    }

    .flow_text {
        padding: 0 16px 18px 16px;
    }
    .flow_text h3 {
        font-size: 1.8rem;
    }
    .flow_text p {
        font-size: 1.6rem;
    }
}


/* ご利用対象・訪問地域 */

.area {
    background-color: #eaf2f8;
}

.area_text {
    width: 1300px;
    margin: 0 auto;
}

.area_text p {
    font-size: 1.8rem;
    line-height: 1.556;
}

@media screen and (max-width: 768px) {
    .area_text {
        width: 90%;
    }

    .area_text p {
        font-size: 1.6rem;
    }

}


/* 重要事項説明書 */

.important_wrap {
    width: 1300px;
    max-width: 1300px;
    margin: 0 auto;
}

.important table {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 1px;
    background-color: var(--main-color);
}

.important table th {
    height: 100px;
    font-size: 2.4rem;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    color: #fff;
}

.important table th span {
    font-size: 1.6rem;
}

.important table td {
    font-size: 2.4rem;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    background-color: #fff;
}

.important table td a:before {
    content: url(../images/pdf-icon.jpg);
    padding-right: 12px;
}

@media screen and (max-width: 768px) {
    .important_wrap {
        width: 100%;
    }

    .important table {
        width: 90%;
        margin: 0 auto;
    }

    .important table tr th,
    .important table tr td {
        display: block;
    }

    .important table tr th {
        height: auto;
        font-size: 2rem;
        padding: 24px 0;
    }

    .important table td {
        font-size: 1.8rem;
        padding: 24px 0;
    }
}


/* お問い合わせ・アクセス */
.contact {
    background-color: #eaf5f3;
}

.contact_box {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    column-gap: 40px;
}

.contact_contents {
    width: calc(600px - 8px);
    border-radius: 16px;
    border: 4px solid var(--main-color);
    padding: 23px 0 46px;
    background-color: #fff;
}

.contact_contents table {
    width: 90%;
    table-layout: auto;
    margin: 0 auto;
}

.contact_contents table tr {
    border-bottom: 1px solid var(--main-color);
}

.contact_contents table tr th {
    font-size: 1.8rem;
    font-weight: 500;
    vertical-align: middle;
    color: var(--main-color);
}

.contact_contents table tr td {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.625;
    text-align: left;
    padding: 19px 0 13px;
}

.contact_contents table tr:last-child td {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    column-gap: 18px;
}

.contact_contents table tr:last-child td a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background-color: var(--main-color);
}

.contact_contents table tr td:last-child a span {
    fill: #fff;
    display: grid;
    place-items: center;
}

.access_contents {
    width: 600px;
    height: 544px;
}

.access_contents iframe {
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 768px) {
    .contact_box {
        flex-direction: column;
    }

    .contact_contents {
        width: 90%;
        margin: 0 auto 48px;
    }

    .contact_contents table {
        table-layout: fixed;
    }

    .contact_contents table tr th {
        width: 40%;
    }

    .access_contents {
        width: 90%;
        margin: 0 auto;
    }
}

footer {
    width: 100%;
}

.copyright {
    font-size: 1.5rem;
    text-align: center;
    padding: 16px;
    color: #fff;
    background-color: var(--main-color);
}

.sp_fixed_footer {
    display: none;
}

@media screen and (max-width: 768px) {

    .sp_fixed_footer {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1001;
        display: flex;
        width: 100%;
        min-height: 64px;
        padding-bottom: env(safe-area-inset-bottom);
        background-color: #fff;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }

    .sp_fixed_footer-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        color: #fff;
        font-size: 1.2rem;
        line-height: 1.2;
        background-color: var(--main-color);
        border-right: 1px solid rgba(255, 255, 255, 0.5);
    }

    .sp_fixed_footer-item:last-child {
        border-right: none;
    }

    .sp_fixed_footer-icon {
        margin-bottom: 4px;
        font-size: 2rem;
        line-height: 1;
        fill: #fff;
    }

}
