@charset "UTF-8";

* {box-sizing: border-box;}

body {
	font-family: "ヒラギノ丸ゴ Pro W4","ヒラギノ丸ゴ Pro","Hiragino Maru Gothic Pro","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";
	font-weight: normal;
	font-size: 20px;
	line-height: 2;
	color: rgb(37, 37, 37);
  background-color: #fff;
  margin: 0;
  padding: 0;
  letter-spacing: 0.1em;
}

a{text-decoration: none;}

li{
  list-style: none;
}

main{
  max-width: 980px;
  width: 100%;
  margin:0 auto;
  text-align: center;
}

img{
   width: 100%;
   border: none;
   vertical-align: bottom;
}

.title img{
  width: 60px;
  height: 100%;
  margin: 100px 0 5px;
}

.title h2{
  font-size: 50px;
  line-height: 1;
  margin-bottom: 120px;
  color: rgb(77, 77, 77);
}

@media screen and (max-width: 980px){
  main{
    padding:0 5%;
  }
}

@media screen and (max-width: 767px){
  body{
    font-size: 12px;
  }

  main{
    padding:0 5%;
  }

  .pcOnly{
		display: none !important;
	}

  .title img{
    width: 30px;
    margin: 50px 0 0;
  }
  
  .title h2{
    font-size: 30px;
    margin-bottom: 70px;
  }
  
}


@media screen and (min-width: 768px){
	.spOnly{
		display: none !important;
	}
}






  /*------ヘッダー-----*/
header{
  height: 100px;
  margin: 0 auto;
  padding: 0 20px;
  background-color: #fff;
  max-width: 2000px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header img{
  width: 100px;
  height: 100%;
  transition : 0.2s;
}

header a :hover{opacity: 0.5;}



@media screen and (max-width: 767px){
  header{height: 70px;}
  header img{
    width: 80px;
  }
}


 /*------ナビ-----*/

  #menubar ul{
    margin: 70px 0 0;
    padding: 0;
    text-align: center;
  }

  #menubar li{
    font-size:20px;
    line-height: 6;
    border-bottom: 2px solid #fff;
  }
  #menubar ul > :first-child{border-top: 2px solid #fff;}

  #menubar li a {
    margin: 0;
    color:#fff;
    width: 100%;
  }


  .sp-menu #open{
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 60px;
    color: #856627;
    cursor: pointer;
  }

  .sp-menu #open.hide {
    display: none;
  }
  
  .overlay{
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: #856627;
    opacity: 0;
    pointer-events: none;
    transition: opacity .6s;
  }
  
  .overlay.show{
    opacity: 0.9;
    pointer-events: auto;
  }
  
  .overlay #close{
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 60px;
    color: #fff;
  }

  .cap{
    font-size: 10px;
    text-align: center;
    margin: 20px 0;
    color:#fff;
  }

.pc-menu{display: none;}



@media screen and (min-width:767px){

  .pc-menu {
    display: block;
    width: 55%;
  }

  .sp-menu {
    display: none;
  }


.pc-menu{
  padding:0;
  display: flex;
  justify-content: space-between;
}

.pc-menu a{
  width: 33%;
  border-radius: 10px;
  line-height: 4;
  font-weight: bold;
  text-align: center;
  font-size:16px;
  cursor: pointer;
  transition : 0.2s;
}

.cp{
  border: 2px solid #434343;
  color:#434343;
  background-color: #fff;
}
.cp:hover{
  background-color: rgb(235, 235, 235);
}

.sc{
  border: 2px solid #856627;
  background-color: #fff;
  color:#856627;
}
.sc:hover{
  background-color: #f7eed0;
}

.ct{
  border: 2px solid #856627;
  background-color: #856627;
  color:#fff;
}
.ct:hover{
  background-color: #543e13;
  border: 2px solid #543e13;
}



.tri-b::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin: 0 0.4em 0 0;
  border: 6px solid transparent;
  border-right: 0 solid transparent;
  border-left: 9px solid #000;
}

.tri-r::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin: 0 0.4em 0 0;
  border: 6px solid transparent;
  border-right: 0 solid transparent;
  border-left: 9px solid #856627;
}
}





  /*------メインビジュアル-----*/

  .mv{
    height: 550px;
    max-width: 2000px;
    margin: 0 auto;
    background: url(../img/mv-pc.png) no-repeat center center / cover;
  }



@media screen and (max-width: 767px){
  .mv{
    height: 250px;
    width: 100%;
  }
}






/*------TOP-----*/
.ok{margin-top: -50px;}  









/*------コンセプト-----*/
h3{
  font-size: 35px;
  margin: 0;
  line-height: 1.5;
  color: #40b15d;
}

.strenge{color: #f29500;}

.support{
  height: 400px;
  width: 100%;
  margin: 100px auto 20px;
  padding: 30px 0;
  background: url(../img/support.png) no-repeat center center / cover;
  text-align: left;
}
.relax{
  height: 400px;
  width: 100%;
  margin: 0 auto 100px;
  padding: 30px 0;
  background: url(../img/relax.png) no-repeat center center / cover;
  text-align: left;
}

.content p{
  font-size: 16px;
}

.tri::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin: 0 0.4em 0 0;
  border: 6px solid transparent;
  border-right: 0 solid transparent;
  border-left: 9px solid #000;
}

h5{
  font-size: 20px;
  margin: 10px 0 0;
  line-height: 1.4;
}

.news{margin-top: 100px;}

@media screen and (max-width: 767px){
  h3{
    font-size: 24px;
    margin: 20px 0 35px;
  }

  .support, .relax{
    height: 300px;
    padding: 20px 0px;
    margin: 10px auto;
  }

  .relax{margin-bottom: 30px;}
  .support{margin: 30px 0 0;}

  .content p{font-size: 10px;}
  
  h5{font-size: 14px;}

  .news{margin-top: 40px;}
}





/*------流れ-----*/
.flow-title{
  width: 50%;
  font-size: 40px;
  color:#fff;
  background-color: #856627;
  border-radius: 50px;
  text-align: center;
  line-height: 2;
}
.title-border {
  margin: 200px auto 50px;
  display: flex;
  align-items: center;
}

.title-border:before,
.title-border:after {
    content: "";
    height: 4px;
    flex-grow: 1;
    background-color: #856627;
}


.flow, .money{
  max-width: 750px;
  margin: 50px 0 0;
}

@media screen and (max-width: 767px){
  .flow-title{
    width: 70%;
    font-size: 20px;
  }

.title-border {
  margin: 80px auto 0;
}

  .flow, .money{
    margin: 20px 0;
  }
}







  /*------老人ホーム紹介-----*/
  section{margin-bottom: 150px;}

  .name{
    background-color: #856627;
    border-radius: 10px;
    padding: 15px 20px;
    color: #fff;
    text-align: left;
    font-size: 25px;
  }

  .home-box{
    display: flex;
    justify-content: space-between;
    margin: 20px 0 20px;
  }

  .home-box img{
    max-width: 500px;
    height: 350px;
  }

  .about{width: 48%;}

  .about table{
    margin: 0;
    font-size: 14px;
  }
  
  .about th {
    width: 8em;
    background-color: #f7eed0;
    vertical-align: middle;
  }

  .icon ul{
    padding: 0;
    font-size: 14px;
    font-weight: bold;
    display: table;
    border-collapse: separate;
    border-spacing: 5px 0;
  }

  .icon ul li{
    width: 60px;
    height: 60px;
    background-color: #856627;
    border-radius: 5px;
    line-height: 1.5;
    color: #fff;
    letter-spacing: 0;
    display: table-cell;
    vertical-align: middle;
  }

  .icon ul .not{background-color: #bdbdbd;}

  .text{
    margin-top: 10px 0 0;
    text-align: left;
  }



  @media screen and (max-width: 980px){
    .home-box img{max-width:40%;}
    .about{width: 58%;}
    .about table{font-size: 12px;}
    .about tr, .about td {line-height: 0.8;}
    .icon ul li{
      width: 52px;
      height: 52px;
      font-size: 12px;
    }
  }



  @media screen and (max-width: 767px){
    section{margin-bottom: 80px;}

    .name{
      font-size: 18px;
      margin: 0;
  }
    .home-box img{max-width:100%;}
    .home-box{
      display: block;
      margin: 20px 0 20px;
    }
    .about{width: 100%;}
    .about th { width: 100%;}
    .about tr, .about td {
      line-height: 0.5;
      text-align: center;
    }
    .icon ul li{
      width: 40px;
      height: 40px;
      font-size: 10px;
    }

  }




/*------VR-----*/

.vr-list{
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.vr{
  width: 50%;
  height: 300px;
}

@media screen and (max-width: 767px){
  .vr-list{display: block;}
  .vr{
    width: 100%;
    height: 200px;
  }
}







/*------お問い合わせ-----*/
table {
	width: 100%;
  margin-top: 100px;
	font-size: 16px;
	line-height: 1.5;
	border-left: 1px solid #9b9b9b;
	border-bottom: 1px solid #9b9b9b;	
}

tr {
	width: 100%;
}

th, td {
	border-top: 1px solid #9b9b9b;
	border-right: 1px solid #9b9b9b;
	padding: 1em;
  box-sizing: border-box;
  font-weight: normal;
}

th {
	width: 30%;
	background-color: #f7eed0;
	vertical-align: middle;
}

td {
	background-color: #fff;
  text-align: left;
}

input[type='text'], textarea {
	min-width: 97%;
	padding: 0.5em;
	font-size: 16px;
	background-color: #f5f5f5;
	border: 1px solid #9b9b9b;
	border-radius: 5px;
}

textarea {
  min-width: 97%;
	min-height: 120px;
	line-height: 1.5;
}

.submit-btn {
	font-size: 15px;
	background-color: #856627;
	text-align: center;
	color: #fff;
	height: 60px;
	line-height: 60px;
	display: block;
	width: 230px;
	margin: 40px auto;
	border-radius: 10px;
	border: none;
	cursor: pointer;
  transition: .3s;
}

.submit-btn:hover {
	background-color: #523b0d;
}

span{color:#AD3232;}


.check {
  font-size: 14px;
  text-align: center;
  margin: 50px auto;
}


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

  table{
		margin: 30px 0;
	}

  th, td {
		display: block;
		width: 100%;
		font-size: 13px;
		padding: 1.2em 0.8em;
	}

	.submit-btn {
		font-size: 18px;
		height: 60px;
		line-height: 40px;
		width: 100%;
	}
	
}




/*--------------サンクス--------------*/

.border{
border-bottom: 3px solid #856627;
margin: 0 0 100px;
}

.border_box{
padding: 30px;
box-sizing: border-box;
margin: 100px 0;
border: 1px solid #000;
}

.back{
display: block;
width: 250px;
line-height: 70px;
background-color: #856627;
margin: 50px auto 0;
font-weight: bold;
font-size: 20px;
color: #fff;
transition: .4s;
text-align: center;
}

.back:hover{
background-color: #513b0f;
}

@media screen and (max-width: 767px){
  .border_box{
    margin: 50px 0 80px;
    }
}





/*------プライバシーポリシー------*/







/*------フッター-----*/
footer{
    background-color: #856627;
    text-align: center;
    padding: 60px 0 20px;
    margin-top: 150px;
    color: #fff;
}

footer img{
  width: 200px;
}

h4{
  font-size: 40px;
  margin: 30px auto 0;
  line-height: 1.4;
  font-weight: lighter;
}
footer p{
  margin: 0 0 60px 0;
}

footer ul{
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
}

footer ul li{
  padding: 0 20px;
  line-height: 1;
  border-right: 1px solid #ffffff;
}

footer ul li a{color:#ffffff;}

footer ul > :first-child{
  padding: 0 20px 0 0;
}

footer ul > :last-child{
  padding: 0 0 0 20px;
  border: none;
}

@media screen and (max-width: 767px){
  footer{
    padding: 30px 10px;
    margin-top: 50px;
  }
  footer img{width: 80px;}
  h4{
    font-size: 20px;
    margin-top: 10px;
  }
  footer p{margin-bottom: 30px;}
  footer ul{font-size: 10px;}

}

@media screen and (max-width:400px){
  footer nav ul li a{font-size:14px;}
}

    


/*--------------pageTop--------------*/

  @media screen and (max-width: 767px){
    #page_top{
      width: 80px;
      height: 80px;
      margin-bottom: 20px;
      position: fixed;
      right: 0;
      bottom: 0;
      opacity: 0.6;
    }
    #page_top a{
      width: 80px;
      height: 80px;
      text-decoration: none;
    }
    #page_top a::before{
      font-family: 'Font Awesome 5 Free';
      font-weight: 900;
      content: '\f139';
      font-size: 50px;
      color: rgb(65, 120, 55);
    }
  
  }




