html{scroll-behavior: smooth;}
a,abbr,acronym,address,applet,article,aside,audio,b,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,span,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video {
    margin:0;
    padding:0;
    border:0;
    vertical-align:baseline;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
    word-wrap:break-word;
    font-family: Noto Sans JP, sans-serif;
    /*font-family: "Helvetica Neue", "Helvetica", "Arial", "Hiragino Kaku Gothic Pro","Hiragino Sans", "Meiryo", "Yu Gothic", sans-serif;*/
    -webkit-font-smoothing: antialiased;
    font-feature-settings: "palt";
    letter-spacing: 0.03em;
    line-height: 1.8em;
    font-size: clamp(14px, 2.5vw, 17px);
    text-align: justify;
    hyphens: auto;
    color: #2e2e2e;
}
small{line-height: 1.5em;}
bold{font-weight: bold}
input,textarea{-webkit-box-sizing:border-box;box-sizing:border-box;}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}
body {padding: 0;margin: 0;-webkit-text-size-adjust:100%}
ol,ul{list-style:none}
blockquote,q{quotes:none}
blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}
table{border-collapse:collapse;border-spacing:0}
a{text-decoration:none}
img{max-width: 100%;height:auto;border:0;vertical-align:bottom}

/*TELリンクPC版で非動作*/
@media (min-width: 890px) {
    a[href^="tel:"] {
        pointer-events: none;
        cursor: default;
        text-decoration: none;
    }
}
main {
    background: url(/assets/img/bg-marble-image.png) repeat center center;
    background-size: cover;
    position: relative;
    z-index: -2;
}
@media only screen and (max-width: 1280px) {
    main {
        background-size: contain;
    }
}
/*共通素材*/
.mask-image {
    -webkit-mask-image: url(/assets/img/bg-mask-image.png);
    mask-image: url(/assets/img/bg-mask-image.png);
    -webkit-mask-position: center;
    mask-position: center;
    mask-size: 100% 100%;
}
.mask-small {
    -webkit-mask-image: url(/assets/img/bg-mask-wh-small.png);
    mask-image: url(/assets/img/bg-mask-wh-small.png);
    -webkit-mask-position: center;
    mask-position: center;
    mask-size: 100% 100%;
}
.mask-middle {
    -webkit-mask-image: url(/assets/img/bg-mask-wh-middle.png);
    mask-image: url(/assets/img/bg-mask-wh-middle.png);
    -webkit-mask-position: center;
    mask-position: center;
    mask-size: 100% 100%;
}
.mask-big {
    -webkit-mask-image: url(/assets/img/bg-mask-wh-big.png);
    mask-image: url(/assets/img/bg-mask-wh-big.png);
    -webkit-mask-position: center;
    mask-position: center;
    mask-size: 100% 100%;
}
@media only screen and (max-width: 890px) {
    .mask-small,
    .mask-middle,
    .mask-big {
        -webkit-mask-image: url(/assets/img/bg-mask-wh-sp.png);
        mask-image: url(/assets/img/bg-mask-wh-sp.png);
        -webkit-mask-position: center;
        mask-position: center;
        mask-size: 100% 100%;
    }
}

/*スムーススクロール位置調整*/
#link01,#link02,#link03{padding-top: 45px;margin-top: -45px;}

/*コンテンツ内の見出し*/
h2 {
    font-size: clamp(18px,2.5vw,22px);
    color: #17288b;
    margin-bottom: 30px;
    line-height: 1.8em;
}
h3{
    font-size: clamp(15px,2.5vw,18px);
    width: 100%;
    text-align: left;
}
@media only screen and (max-width: 890px) {
    h2 {
        text-align: center;
        margin-bottom: 15px;
    }
}

/*コンテンツの幅と写真・テキストのレイアウト*/
.inner70,.inner50,.inner30,.inner00{
    width: 95%;
    max-width: 960px;
    /*max-width: 1280px;*/
    margin: 0 auto;
}
.inner70{padding: 40px;}
.inner50{padding: 20px;}
.inner30{padding: 0px;}
.inner00{padding: 0;}

@media only screen and (max-width: 890px) {
    .inner70{padding: 20px;}
    .inner50{padding: 10px;}
}

.w930{
    width: calc(100% - 30px);
    max-width: 930px !important;
    margin: auto;
}

/* テキスト右寄せ */
.right-text {
    text-align: right;
}

/*フォーマットコンテンツ*/
ul.contents{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    position: relative;
}
ul.contents li.text {
    width: calc(65% - 30px);
    padding: 30px 0 30px 30px;
}
ul.contents li.image {
    width: calc(35%);
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
ul.contents li.image img {
    object-fit: cover;
    object-position: center center;
    overflow: visible;
}
ul.contents li.text.w100 ,
ul.contents li.image.w100 {
    width: 100%;
}
ul.contents li.text.w100 {
    padding: 30px; 
}
@media only screen and (max-width: 890px) {
    ul.contents li.text,
    ul.contents li.text.w100 {
        width: 100%;
        padding: 20px 10px;
    }
    ul.contents li.image {
        width: 100%;
    }
}

/*イラストの配置用CSS*/
section img.illust-right{
    position: absolute;
    right: calc(50% - 500px);
    bottom: -10px;
    height: 55%;
    width: auto;
    transition: 0.4s;
}
@media only screen and (max-width: 1080px) {
    section img.illust-right{
        right: 3px;
        height: 160px;
    }
}
@media only screen and (max-width: 890px) {
    .contents .text {
        width: 100%;
        max-width: 100%;
    }
    .contents .image{
        width: 100%;
        max-width: 100%;
    }
    .order01{order: 1 !important;}
    .order02{order: 2 !important;}
    .order03{order: 3 !important;}
}

/*飾り*/
/*訪問介護とは？*/
ul.contents.line:before {
    content: "";
    position: absolute;
    top: 35px;
    left: 0;
    right: 0;
    margin: auto;
    width: calc(100% - 40px);
    height: 4px;
    background: url(/assets/img/line.png) no-repeat center center;
    background-size: cover;
    z-index: -1;
}
/*ご利用料金*/
h2 img.illust-right {
    position: absolute;
    right: -8px;
    top: -8px;
    width: auto;
    height: 145px;
}
.triangle:before {
    content: "\025b6";
    color: orange;
    margin-right: 3px;
}
@media only screen and (max-width: 890px) {
    h2 img.illust-right {
        top: 10px;
        height: auto;
        max-height: 78px;
    }    
}
/*事業所概要*/
.companyBox .inner50 {
    padding-bottom: 300px;
}
.companyBox:after {
    content: "";
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    width: 90%;
    height: 280px;
    background: url(/assets/img/illust03.png) no-repeat center;
    background-size: contain;
    margin: -20px auto auto -40px;
}
@media only screen and (max-width: 890px) {
    .companyBox .inner50 {
        padding-bottom: 180px;
    }
    .companyBox:before {
        content: "";
        position: absolute;
        bottom: 65px;
        left: 0;
        width: 45%;
        height: 220px;
        background: url(/assets/img/illust03-1-sp.png) no-repeat left;
        background-size: contain;
        margin: 0 auto;
        z-index: 1;
    }
    .companyBox:after {
        width: 83%;
        height: 215px;
        right: 0;
        bottom: -15px;
        left: auto;
        background: url(/assets/img/illust03-sp.png) no-repeat right;
        background-size: contain;
        margin: 0 auto;
        z-index: 2;
    }
}
/*事業所概要*/
ul.table {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
ul.table li.th{
    width: 20%;
    font-weight: bold;
}
ul.table li.td{
    width: 80%;
}
@media only screen and (max-width: 890px) {
    ul.table li.th,
    ul.table li.td{
        width: 100%;
    }
}

/*はみ出した時に非表示*/
.hidden{overflow: hidden;}
/*カラー*/
.white {background: rgba(255,255,255,0.8);}
@media only screen and (max-width: 890px) {
    .white {background: rgba(255,255,255,0.9);}
}
/*位置座標指定用*/
.relative{position: relative;}
/*レイアウト関連*/
.center{text-align: center !important;}
/*マージン・パディング*/
.mt0{margin-top: 0px}
.mt10{margin-top: 10px}
.mt15{margin-top: 15px}
.mt20{margin-top: 20px}
.mt30{margin-top: 30px}
.mt50{margin-top: 50px}
.mt70{margin-top: 70px}
.mb0{margin-bottom: 0px}
.mb10{margin-bottom: 10px}
.mb15{margin-bottom: 15px}
.mb30{margin-bottom: 30px}
.mb50{margin-bottom: 50px}
.mb70{margin-bottom: 70px}

.m-auto{margin: auto}

.mx20{margin-right: 20px;margin-left: 20px;}
.mx30{margin-right: 30px;margin-left: 30px;}

.pt0{padding-top: 0px}
.pt15{padding-top: 15px}
.pt20{padding-top: 20px}
.pt30{padding-top: 30px}
.pt50{padding-top: 50px}
.pt70{padding-top: 70px}
.pb0{padding-bottom: 0px}
.pb10{padding-bottom: 10px}
.pb15{padding-bottom: 15px}
.pb20{padding-bottom: 20px}
.pb30{padding-bottom: 30px}
.pb50{padding-bottom: 50px}
.pb70{padding-bottom: 70px}

.px20{padding-right: 20px;padding-left: 20px;}
.px30{padding-right: 30px;padding-left: 30px;}
.px50{padding-right: 50px;padding-left: 50px;}

@media only screen and (max-width: 890px) {
    .mt50{margin-top: 30px}
    .mt70{margin-top: 50px}
    .mb50{margin-bottom: 30px}
    .mb70{margin-bottom: 50px}

    .mx20{
        margin-left: 20px;
        margin-right: 20px;
    }

    .pt50{padding-top: 30px}
    .pt70{padding-top: 50px}
    .pb50{padding-bottom: 30px}
    .pb70{padding-bottom: 50px}

    .px20{
        padding-left: 20px;
        padding-right: 20px;
    }
    .px50{
        padding-right: 30px;
        padding-left: 30px;
    }
}

/*表示・非表示*/
/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important; }
.sp { display: none !important; }
 
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 890px) {
    .pc { display: none !important; }
    .sp { display: block !important; }
}