﻿/* -----------------------------------------------　all　---------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Sawarabi+Gothic&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500&family=Sawarabi+Gothic&display=swap');
/* -----------------------------　body------------------------------------- */
body{
    overflow: hidden;
}

body p{
    font-size:-webkit-calc(1rem + 0px)!important;
    font-size : calc(1rem + 0px)!important;
}

#intro p {
    font-size:-webkit-calc(1rem + 1px)!important;
    font-size : calc(1rem + 1px)!important;
}

.pagetop {
    z-index: 1;
}

.fa-comment:before  {
  font-family: "Font Awesome 5 Free"; /*←ココ！！！！！！！*/
  font-weight: 900;
  content: "\f075";
}
/** font **/
:root{
    --font-jp: 'Noto Sans JP', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif!important
    --font-en: 'Sawarabi Gothic', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif!important
}

body, .font_sans-serif, .font_Quick,.font_serif,.link_type2 .more{
    font-family: var(--font-jp)!important;
}
.font_en, a[href^="tel:"]{
    font-family: var(--font-en)!important;
}

.fa-phone:before {
    content: "\f095";
}

.fa, .fas {
    font-weight: 900;
}

/* color -----------------------------------------------------------------------------*/
:root {
    --color1: #eb7e3b;
    --color2: #fffaf5;
    --color3: #ef8b34;
    --color4: #fbba93;
    --color5: #fbf9e5;
    --color6: #f6aa08;
    --color7: #d1920a;
    --white: #ffffff;
    --black: #434343;
    --gray: #7d5d5d;
}

body,.txt_color_nomal,.hvr_txt_color_nomal:hover{color: var(--black);}
.txt_white,.hvr_txt_white:hover{color: var(--white);}
.txt_color1,.hvr_txt_color1:hover,.fa-comment:before{color: var(--color1);} /* メインカラー */
.txt_color2,.hvr_txt_color2:hover{color: var(--color2);} /* サブカラー */
.txt_color3,.hvr_txt_color3:hover{color: var(--color3);} /* アクセントカラー1 */
.txt_color4,.hvr_txt_color4:hover{color: var(--color4);} /* アクセントカラー2 */
.txt_color5,.hvr_txt_color5:hover{color: var(--color5);} /* アクセントカラー2 */
/* background-color */
.bg_white,.hvr_bg_white:hover{background-color: var(--white)} /* 白背景 */
.bg_black,.hvr_bg_black:hover{background-color: var(--black);} /* 黒背景 */
.bg_color1,.hvr_bg_color1:hover{background-color: var(--color1);} /* メインカラー */
.bg_color2,.hvr_bg_color2:hover{background-color: var(--color2);} /* サブカラー */
.bg_color3,.hvr_bg_color3:hover{background-color: var(--color3);} /* アクセントカラー1 */
.bg_color4,.hvr_bg_color4:hover{background-color: var(--color4);} /* アクセントカラー2 */
.bg_color5,.hvr_bg_color5:hover{background-color: var(--color5);} /* アクセントカラー2 */
.bg_color7,.hvr_bg_color7:hover {background-color: var(--color7);}
.bg_color_clear,.hvr_bg_color_clear:hover{background-color: transparent!important;}
/* border-color ※!important */
.border_white,.hvr_border_white:hover{border-color: var(--white);}
.hvr_border_black:hover{border-color: var(--black);}
.border_black{border-color: var(--gray);}
.border_color1,.hvr_border_color1:hover{border-color: var(--color1);}
.border_color2,.hvr_border_color2:hover{border-color: var(--color2);}
.border_color3,.hvr_border_color3:hover{border-color: var(--color3);}
.border_color4,.hvr_border_color4:hover{border-color: var(--color4);}
.border_color5,.hvr_border_color5:hover{border-color: var(--color5);}

.linkStyle{
    color: var(--color1);
    border-bottom:solid 1px;
}

.linkStyle:hover{
	color: var(--color3);
	opacity: 0.7;
	transition: all 0.5s;
}

body#body {
    background: var(--white);
}

body, .more a::after, .cate_list li a::after, #page10 ul li a .title::after, #tel_contact > div > .d_inline_b > div p span {
    background: var(--white);
}

/*--------------------------------疑似要素にオブジェクト--------------------------------▼*/
.line1,#main_img,#main_img .slick,.main_img_wrap,#intro,#intro > div,#contents1_txt,#contents2,#contents2 > div,#contents2 h3,#contents2 .con_img_wrap{position: relative;}
/*リピートなし*/
.line1:after,#main_img .slick:before,#main_img .slick:after,.main_img_wrap:before,.obj,#intro:before,#intro:after,#intro h3:before,#intro > div:before,#contents1_txt:before, #contents1_txt:after,#contents2:before,#contents2:after,#contents2 > div:before,#contents2 h3:before,#page_title:before,#contents2 .con_img_wrap::before{
content: "";
display: block;
background-size: cover;
background-repeat: no-repeat;
position: absolute;
z-index: 1;
}
/*--------------------------------疑似要素にオブジェクト--------------------------------▲*/

div#main_img, #aisatsu, #aisatsu > div, #contents1 .contents_box, #contents2 .contents_box, #contents3 .contents_box,#contents4 .contents_box {
    border-radius: 5px;}

#main_img { max-width: 1500px; }



#main_img #main_img_border {
    top: 20px;
    height: calc(100% - 40px) !important;
}

/*--------スマートフォン--------*/
@media screen and (max-width: 667px){
#main_img #main_img_border {
    top: 10px;
    height: calc(100% - 20px) !important;
    width: calc(100% - 20px) !important;
    left: 10px;
}
}

/* ---------------------------------------------　TOP　---------------------------------------- */
.pc_sc_nav.sc {
    background-color: var(--white);
}

nav {
    background-color: var(--white) !important;
}

nav li a {
    border-color: var(--black) !important;
}

nav li a span {
    color: var(--black);
}

.caution{
    color: var(--color3);
}

.catch {
    content: "";
    width: 25vw;
    z-index: 8;
    left: 5%;
    bottom: 4%;
}

#main_img:before {
    top: 80%;
}

#main_img:before {
    background-image: url(./Dup/img/bg_01.png);
    background-size: 100%;
    width: 25vw;
    height: 25vw;
    top: 4%;
    right: -10%;
    z-index: 2;
}

#main_img:after {
    background-image: url(./Dup/img/bg_02.png);
    background-size: 100%;
    bottom: -10%;
    left: -13%;
    width: 25vw;
    height: 25vw;
    z-index: 2;
}

#intro {
    background-position: center center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-image: url(./Dup/img/bg_img-4.png);
    padding-bottom: 50px;
    padding: 0px 0 30px;
}

#intro .intro_title {
    font-size: 30px;
    width: 150px;
    height: 150px;
    top: 2px;
    background-color: #fff0;
    left: 50%;
    transform: translateX(-50%);
}

#intro, #contents2 {
    background: rgb(246,170,8);
    background: linear-gradient(338deg, rgba(246,170,8,1) 0%, rgba(238,112,2,1) 100%);
    /* background-image: url(./Dup/img/bg.jpg); */
    background-position: center center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

#intro h3 {
    font-size: 25px;
}

#intro span, #intro h3, #intro p {
    color: var(--color2);
}

#intro:after, #contents2:after, #page_title:before {
    background-image: url(./Dup/img/naminami_top.png);
    background-color: transparent;
    width: 100%;
    height: 40px;
    bottom: -1px;
    left: 0;
}

#intro:before{
    background-image: url(./Dup/img/naminami_bottom.png);
    width: 100%;
    height: 20px;
    top: -1px;
    left: 0;
}

/*#intro .intro_title,#intro h3,#intro p{color: var(--color3);}*/

/* ----------　contents1　▼　---------- */
#contents1_txt{
    position: relative;
    border: none;
}

#contents1_txt:before {
    width: 120px;
    height: 100px;
    background-image: url(./Dup/img/reaf1.png);
    top: -20px;
    left: -10px;
}

#contents1_txt:after {
    width: 130px;
    height: 110px;
    background-image: url(./Dup/img/reaf2.png);
    bottom: -30px;
    right: -30px;
}

#contents1 .con1_box:before{
    background-image: url(./Dup/img/obj3.png);
    width: 292px;
    height: 63px;
    top: 13px;
    left: 50%;
    -ms-transform: translate(-50%,0);
    -webkit-transform: translate(-50%,0);
    transform: translate(-50%,0);
}

#contents1 #contents1_txt h3 {
    font-size: 30px;
    border-bottom: solid 2px var(--color4);
    color: var(--color3);
    padding-bottom: 10px;
    position: relative;
}

#contents1_txt p {
    line-height: 1.7;
    font-size: 18px !important;
}

/* ----------　contents1 ▲　---------- */

/* ----------　contents2　▼　---------- */
#contents2 h3 span {
    position: absolute;
    font-size: 35px;
    margin-left: 0;
    transform: translateX(-50%);
    left: 50%;;
    padding-bottom: -9px;
    border-bottom: 11px dotted var(--color1);
}

#contents2 h3 {
    font-size: 30px;
    color: var(--white);
    font-weight: bold;
    padding-left: 20px;
    /*background-image: url(./Dup/img/pin3.png);*/
    /*background-size: 40px;*/
    /*background-repeat: no-repeat;*/
    /*background-position: top left;*/
}

#contents2 h3::first-letter {
    font-size: 40px;
    margin-right: 3px;
}

#contents2 p {
    color: var(--color2);
    font-size: 18px !important;
    line-height: 1.7;
    /* margin-top: 120px; */
}

#contents2 figure {
    transform: translateY(-100px);
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

#contents2 .con_img_wrap::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    transform: rotate(5deg);
    top: -40px;
    left: 0;
    background-color: var(--color3);
}
/* ----------　contents2 ▲　---------- */
#contact_bar {
    background: var(--color2);
}

footer {
    background-color: var(--white) !important;
}

.mail p {
    border-radius: 50px;
}

.tel a {
    color: var(--black);
}

/* ----------　fix_banner　---------- */
.fix_bnr {
    position: fixed;
    bottom: 90px;
    z-index: 99;
}

.fix_bnr a {
    width: 70px;
    line-height: 70px;
    padding-top: 20px;
    padding-bottom: 20px;
    border-radius: 10px 0 0 10px;
    border: 3px solid #fff;
    border-right: 0;
}

#copyright {
    background: rgb(246,170,8);
    background: linear-gradient(353deg, rgba(246,170,8,1) 0%, rgba(238,112,2,1) 100%);
}

#page_title, footer {
    background-image: url(./Dup/img/ftr_img.png);
    background-repeat: repeat-x;
    background-position: bottom;
    background-size: 21%;
    padding-bottom: 40px;
}

/* -------------------　下層　----------------- */

/* ----------　訪問介護とは▼　---------- */
.link_type2 .cate_box a {
    color: #fff;
}

.link_type2 .cate_box a:before, .link_type2 .cate_box a:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 1;
}

.link_type2 .cate_box a:after {
    top: 100%;
    background-color: var(--color3);
    background: linear-gradient(338deg, rgba(246,170,8,1) 0%, rgba(238,112,2,1) 100%);
    transition: 0.5s;
    z-index: 3;
}

.link_type2 .cate_box a:hover:after {
    top: 0;
}

.link_type2 .cate_box .txt_wrap {
    z-index: 2;
}

.link_type2 .more {
	letter-spacing: 3px;
    box-sizing: border-box;
	opacity: 0;
	transition: opacity .8s;
	z-index: 4;
}

.link_type2 .cate_box a:hover .more {
    opacity: 1;
}

/* ----------　訪問介護とは▲　---------- */

/* ----------　関連会社の施設紹介▼　---------- */
.link_type3{padding-bottom: 50px;}
.link_type3 .link_img1 {z-index: 1;}
.link_type3 .cate_box a:hover .link_img1 img {transform: translate(-50%, -50%) scale(1.05,1.05);}
.link_type3 .link_title1 {
    left: 1px;
    bottom: 1px;
    width: calc(100% - 2px);
    box-sizing: border-box;
}
.link_type3 .cate_box a .link_title1 {transition-timing-function: cubic-bezier(.78,.09,.27,1.36);}
.link_type3 .cate_box a:hover .link_title1 {bottom: -47px;}
	
/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){	
.link_type3{padding-bottom: 0;}
}
/* ----------　関連会社の施設紹介とは▲　---------- */

.link_type1 .link_top .link_title {
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
    padding-top: 50px!important;
    margin-bottom: 30px;
    color: #474521;
    font-weight: normal;
    background-image: url("../dup/img/link_type1_icon.png");
    background-size: 50px;
    background-position: top center;
    background-repeat: no-repeat;
}
.link_type1 .link_top .link_title{
    font-size: 20px;
    margin-bottom: 20px;
}
.link_type1 .link_top a{
	padding-top: 40px;
	padding-bottom: 40px;
}
.link_type1 .link_top a:hover{
    background-color: #ededeb;
}
.link_type1 .link_top a:hover .link_img1{
    transform: translate(-50%, -50%) scale(1.1,1.1);
    opacity: 0.1;
}
@media screen and (max-width: 667px){
.link_type1 .link_top .link_title{
    font-size: 15px;
}
}

/* ----------　BLOG CMSアレンジ▼　---------- */
.topcms_news_type2 .cate_box {
	width: 46.33333%!important;
	margin-right: 1.5%;
	margin-left: 1.5%;
	cursor: pointer;
	border-bottom: 1px solid #ddd;
	margin-bottom: 30px;
	box-shadow: 0 6px 12px rgb(0 0 0 / 0);
	/* padding: 20px; */
	/* border-radius: 20px; */
	/* background-color: #f5f5f5; */
}
.topcms_news_type2 .cate_box:hover {
	transform: translateY(-5px);
}
.topcms_news_type2 .cate_box .box_item {
	cursor: pointer;
}
.topcms_news_type2 .txt_height {
	height: 5em
}
.topcms_news_type2 .box_img1 {
	border-radius: 10px;
}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
.topcms_news_type2 .cate_box {width: 100%!important;}
.topcms_news_type2 .txt_height {height: 3em}
}
/* ----------　BLOG CMSアレンジ▲　---------- */

/* ----------　ご依頼の流れ ▼　---------- */

/* ----------　ご依頼の流れ ▲　---------- */

/* ----------　お客様の声 ▼　---------- */



/* ----------　お客様の声 ▲　---------- */

/* ----------　会社情報　---------- */

/* ----------　お問い合わせ　---------- */


/* ----------　プライバシーポリシー ---------- */
/*#page10 ul li a .title{*/
/*    font-size: 18px;*/
/*}*/

.privacy_box h3 {
    font-size: 20px;
}

/* ----------　サイトマップ　---------- */

/*#page10 ul li {*/
/*    margin: 0 30px 100px;*/
/*    width: 28% !important;*/
/*}*/

@media all and (-ms-high-contrast: none){
  .sample{

  }
}



/*-------------------------------------------------------タブレット-------------------------------------------------------*/
@media screen and (max-width: 768px){
#main_img {
    max-width: 90% !important;
    max-height: 47vh;
    height: 47vh;}
    
#main_img:before,#main_img:after{
    display: none;
}

#intro:before {
    height: 10px;
    top: -1px;
    left: 0;
}

#intro:after, #contents2:after, #page_title:before {
    width: 100%;
    height: 10px;
    bottom: -1px;
    left: 0;
}

sub:before{display:none;}

.catch {
    width: 45vw;
    left: 10%;
    bottom: 18%;
}

h1#logo img {width: 280px;}

.header {padding: 20px 10px;}

#top_contents:before, #top_contents:after, #info_map:before {
    min-width: auto;
    height: 7vw;}
    

#page07 .box_wrap .box h3 span {
    letter-spacing: 0px!important;
    font-size: 15px;
}

#page07 .box_wrap .box h3 span{padding: 5px 15px;}

/*#page10 ul li {*/
/*    width: 46% !important;*/
/*}*/

footer{padding: 50px 70px;}

footer h3{letter-spacing: 0em;}


}

/*-------------------------------------------------------スマホ-------------------------------------------------------*/
@media screen and (max-width: 667px){

h1#logo img {width: 200px;}

#top_contents:before, #top_contents:after, #info_map:before {
    height: 10vw;
    top: -1%;}
    
.sub2:after {
    top: -4%;
    width: 18vw;
    height: 23vw;}
    
#fakeloader .fl {
    max-width: 450px!important;
    width: 60%!important;}

#intro h3 {
    letter-spacing: -1px;
    font-size: 18px;
}

#main_img {
    max-width: 100% !important;
    max-height: 35vh;
    height: 47vh;
}

#video video {
    width: auto !important;
    height: 35vh !important;}

.catch {
    width: 48vw;
    left: 8%;
    bottom: 16%;
}

#top_cms .cate_title {
    letter-spacing: 0;
    font-size: 18px;
}

#top_cms .top_cms_box .top_cms_title p {
    color: var(--color1);
}

#top_cms .top_cms_box .top_cms_title p span{
    opacity: 0.82;
}

#contents1 .con1_box:before {
    top: -27px;
}

#contents1 .slick_sp {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-content: center;
    flex-wrap: nowrap;
}

#contents1 figure {
    z-index: 1;
    display: inline-block;
    margin: 10px 10px;
    height: 203px !important;
    /*width: 300px;*/
    padding: 1px;
}

#contents1 #contents1_txt h3 {
    font-size: 19px;
    letter-spacing: 0px;
}

#contents2 h3 {
    font-size: 19px;
    padding: 0;
    text-align: center;
}

#contents2 h3 span {
    margin-top: 23px;
    letter-spacing: -1px;
    font-size: 18px;
}

#contents2 figure {
    transform: translateY(26px);
}

.fix_bnr {
    bottom: 60px;
}

.fix_bnr a {
    width: 50px;
    line-height: 50px;
    border-radius: 5px 0 0 5px;
    border: 1px solid #fff;
}

footer h3 {
    width: 82%!important;
}

.v_type2 h3.box_title {letter-spacing: 2px;}

figure#logo2 img {max-width: 260px;}

div#main_img::after {
    width: 101%;
    bottom: 9%;}

#main_img:before {
    top: 51%;
    left: 51%;
    background-size: 84%;}

main#page10 span {padding: 0;}

div#main_img::after {
    width: 102%;
    bottom: 14%;
    background-image: url(./Dup/img/item03.png);
    background-size: 150%;
}

#page_title, footer {
    background-image: url(./Dup/img/ftr_img.png);
    background-repeat: repeat-x;
    background-position: bottom;
    background-size: 351px;
    padding-bottom: 0px;
}

/*#page10 ul li {*/
/*    width: 100% !important;*/
/*}*/

#page10 ul li a .title{
    font-size: 14px;
}

#page_title.active h2, #page_title.active p {
    letter-spacing: 0;
    font-size: 21px;
}

.box_wrap .box h3 span{
    font-size: 13px!important;
}

.privacy_box h3 {
    letter-spacing: 0;
}

/*#intro, #contents1 #contents1_txt{padding: 30px 0;}*/

#contents1 #contents1_txt {
    box-shadow: 0 0 15px rgba(0,0,0,0);
}

#contact_bar a {
    letter-spacing: 0;
    font-size: 18px;
}

#copyright {
    font-size: 15px;
    padding: 30px 20px 40px 20px;
}

}

div#main_img_border {
    display: none;
}

@media screen and (max-width: 768px){
#main_img {
    max-width: 100% !important;
}
}

