@charset "utf-8";
/* CSS Document */

/*共通*/

body {
    font-family: 'source-han-sans-japanese',sans-serif;
    font-weight: 300;
    font-style: normal;
}
h1, p, ul, h2 {
	color: #434343;
}

/*ヘッダー*/
header {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 100;
	width: 100%;
	background-color: rgba(255,255,255,1);
}
.nohero header {
	position: static;
	border-bottom: solid 1px #ddd;
}



/*ヘッダーA:　家族の家ロゴ*/
.headA {
	display: inline-block;
	line-height: 80px;
	padding-left: 10px;
	padding-right: 5px;
/*	background-color: #5d9ab2;*/
	color: #fff;
	font-family: 'Montserrat', sans-serif;
/*	font-size: 100px;*/
	text-decoration: none;
}
.headA img {
        width: 200px;
        height: auto;
        margin-bottom: 8px;
}


/*ヘッダーC：　ナビゲーションメニュー*/

.headC ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.headC a {
	display: block;
	padding: 15px;
	color: inherit;
	font-size: 16px;
    font-weight: bold;
	text-decoration: none;
}








/*main*/
.fixed {
    position: fixed;
}

main {
    padding-top: 80px;
}

/*スマホ画面*/

@media (max-width: 767px) {
	header .container-small {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
    .headA img {
        width: 150px;
        height: auto;
        margin-bottom: 16px;
        margin-left: 10px;
    }
    .change-border01__inner {
        display: block;
    }
    .headC_navi a:hover {
        background: #fff;
    }
    .change-border01__inner:hover {
        color: #3f9a51;
	}
    .headB {
        display: flex;
    }
    .headB_icon ol{
        display: flex;
        font-size: 25px;
        margin-top: 10px;
    }
    .headB_icon li {
        margin-right: 15px;
    }
    .headB_icon li:last-child {
    }
}
@media(max-width: 767px) {
	#sp_btn {
		display: block;
		position: relative;
		margin-right: 2rem;
        margin-top: 10px;
		width: 30px;
		height: 30px;
		cursor: pointer;
	}
	#sp_btn span {
		display: block;
		width: 100%;
		height: 3px;
		position: absolute;
		z-index: 10;
        background: #000;
	}
	#sp_btn span:nth-child(1) {
		top: 0;
		left: 0;
	}
	#sp_btn span:nth-child(2) {
		top: 50%;
		left: 0;
		transform: translateY(-50%);
	}
	#sp_btn span:nth-child(3) {
		bottom: 0;
		left: 0;
	}
	.headC {
		width: 100vw;
		height: 100vh;
		position: fixed;
		top: 80px;
		right: 0;
		background: rgba(63,154,81,0.9);
		transform: translate(100vw);
		transition: 0.5s ease all;
        text-align: center;
/*        color: #fff;*/
        }
    .headC span {
        color: #fff;
    }
    .nav_list_bottom {
        display: block;
        font-size:14px;
    }
    .nav_list_top {
        font-size: 26px;
    }
	.headC.open {
		transform: translate(0);
	}
	.headC_navi {
		display: block;
		height: auto;
		margin-top: 30vh;
	}
	.headC li {
		transform: translate(50px);
		opacity: 0;
	}
	.headC.open li:nth-child(1) {
		transition: 0.8s ease all 0.5s;
	}
	.headC.open li:nth-child(2) {
		transition: 0.8s ease all 0.8s;
	}
	.headC.open li:nth-child(3) {
		transition: 0.8s ease all 1.1s;
	}
	.headC.open li:nth-child(4) {
		transition: 0.8s ease all 1.4s;
	}
    .headC.open li:nth-child(5) {
        transition: 0.8s ease all 1.7s;
	}
	.headC.open li {
		transform: translate(0);
		opacity: 1;
	}
    #sp_btn,
    #sp_btn span {
      transition: all .4s;
      box-sizing: border-box;
    }
     #sp_btn.active span:nth-of-type(1) {
      -webkit-transform: translateY(14px) rotate(-45deg);
      transform: translateY(14px) rotate(-45deg);
      width: 35px;
    }
    #sp_btn.active span:nth-of-type(2) {
      opacity: 0;
    }
    #sp_btn.active span:nth-of-type(3) {
      -webkit-transform: translateY(-14px) rotate(45deg);
      transform: translateY(-14px) rotate(45deg);
        width: 35px;
    }

}

/*フッター*/

/*フッタ-A：　サイト情報*/
footer {
	color: #000;
	background-color: #3f9a51;
}
footer .container {
	padding: 20px 20px 0 20px;
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;	
}

/*ロゴ・所在地　全て右寄せ*/
.footA {
	margin-bottom: 10px;
}
.footA h2 {
    text-align: right;
    margin-bottom: 20px;
}
.footA p {
	font-size: 18px;
    color: #000;
    text-align: right;
    margin-bottom: 20px;
/*文字　白白白*/
    color: #fff;
}
.footA img {
	margin-top: 0;
    width: 150px;
    height: auto;
}

.footA a {
	color: inherit;
}
footer small{
    display: block;
    text-align: center;
    padding-bottom: 20px;
/*文字　白白白*/
    color: #fff;
}





/*header インスタ他icon小さくして崩れ防止*/
@media(max-width:384px){
    #sp_btn {
        width: 20px;
        height: 20px;

        margin-right: 1rem;
        margin-top: 10px;
    }
    .no_icon {
        display: none;
    }
    .headB_icon ol{
        font-size: 18px;
    }
         #sp_btn.active span:nth-of-type(1) {
      -webkit-transform: translateY(9px) rotate(-45deg);
      transform: translateY(9px) rotate(-45deg);
      width: 30px;
    }
        #sp_btn.active span:nth-of-type(3) {
      -webkit-transform: translateY(-9px) rotate(45deg);
      transform: translateY(-9px) rotate(45deg);
        width: 30px;
    }    
}




/*PC画面　ナビ表示*/
@media (min-width: 768px) {
	.headC ul {
		display: flex;
	}
	header .container {
		display: flex;
		align-items: center;
		justify-content: space-between;
		max-width: 1000px;
		margin-left: auto;
		margin-right: auto;
	}
    .nav_list_bottom {
        display: none;
    }
}



/*ヘッダーB:　PC画面トグルボタン非表示*/

@media (min-width: 768px) {
	#sp_btn{
		display: none;
	}
    .headB_icon{
        display:none;
    }
	.headC {
		display: block!important;
	}
}
.button {
	border: 1px solid transparent;
	padding: 15px 20px;
	position: relative;
}


@media(min-width: 768px){
	/* header-animation */
	.change-border01::after,
	.change-border01::before,
	.change-border01__inner::after,
	.change-border01__inner::before {
		background-color: #3f9a51;
		content: '';
		display: block;
		position: absolute;
		z-index: 10;
		transition: all .5s ease;
		-webkit-transition: all .5s ease;
	}
	/* left-top */
	.change-border01::after {
		height: 2px;
		left: -2px;
		top: -2px;
		width: 0px;
	}
	/* right-bottom */
	.change-border01::before {
		bottom: -2px;
		height: 2px;
		right: -2px;
		width: 0px;
	}
	/* left-bottom */
	.change-border01__inner::after {
		bottom: -2px;
		height: 0px;
		left: -2px;
		width: 2px;
	}
	/* right-bottom */
	.change-border01__inner::before {
		height: 0px;
		right: -2px;
		top: -2px;
		width: 2px;
	}
	/* hover */
	.change-border01:hover {
		color: #3f9a51;
	}

	.change-border01:hover::after,
	.change-border01:hover::before {
	  width: 100%;
	  width: calc(100% + 2px);
	}
	.change-border01:hover .change-border01__inner::after,
	.change-border01:hover .change-border01__inner::before {
	  height: 100%;
	  height: calc(100% + 2px);
	}
}


/*PC版・フッター　ロゴ・所在地中央寄せ*/
@media (min-width:768px){
    .footA h2 {
        text-align: center;
    }
    .footA p {
        text-align: center;
        margin-bottom: 30px;
    }
    .footA p br {
        display: none;
    }
}



/*PC版　フッター　ロゴ・所在地を左右に分けるなら↓*/
/*
.footA {
    margin-bottom: 10px;
    text-align: right;
    display: flex;
    justify-content: space-between;
    max-width: 900px;
    margin: 0 auto 10px;
}
*/
