@charset "UTF-8";

body {
  margin-right: auto;
  margin-left:  auto;
  max-width: 960px;
  padding-right: 10px;
  padding-left:  10px;

}

img{width:100%;}

section{
  padding-top: 10px;
  padding-bottom: 30px;
  text-align: center;
}

#logo {
  max-width:100%;
  display:block;
  margin:0 auto;
}

ul {
  list-style: none;
  padding-left: 0px;
}

nav{
 width: 100%;
 height: 70px;
 position: relative;
 background: #FFF;
  
}

.drawer{
 display: flex;
 flex-direction: row;
 align-items: center;
 justify-content: space-between;
 position: relative;
 height: 70px;
 padding: 0 1em;
}


/*ナビゲーション部分*/

.menu ul li a {
  display:block;
  font-weight:bold;
  padding: 2em;
  border-bottom: 1px dotted #CCC;
  color: #fff;
  text-decoration:none;
}


.menu ul li a:hover
{background-color:rgba(0,0,0,0.5);
color:#c0ad72;}


.menu{
  text-align:center;
  background-color: #69BE83;
  transition: .5s ease;/*滑らかに表示*/
  -webkit-transform: translateX(-105%);
  transform: translateX(-105%);/*左に隠しておく*/
}


/*OPEN時の動き*/
.menu.open {
 -webkit-transform: translateX(0%);
 transform: translateX(0%);/*中身を表示（右へスライド）*/

}

/*トグルボタンのスタイルを指定*/
.Toggle {
    display: block;
    position: relative; /* bodyに対しての絶対位置指定 */
    width: 32px;
    height: 42px;
    cursor: pointer;
    z-index:999;
  right:7px;
}
 
.Toggle span {
    display: block;
    position: absolute;
    width: 30px;
    border-bottom: solid 4px #333;
    -webkit-transition: .35s ease-in-out; /*変化の速度を指定*/
    -moz-transition: .35s ease-in-out;    /*変化の速度を指定*/
    transition: .35s ease-in-out;     /*変化の速度を指定*/
 
}
 
.Toggle span:nth-child(1) {
    top:5px;
}
 
.Toggle span:nth-child(2) {
    top: 18px;
}
 
.Toggle span:nth-child(3) {
    top: 32px;
}
 


.Toggle.active span:nth-child(1) {
    top: 18px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
 
/* 2番目と3番目のspanを45度に */
.Toggle.active span:nth-child(2),
.Toggle.active span:nth-child(3) {
    top: 18px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}


.top,.greeting{
  text-align: center;
  margin: 16px auto;
}

.letter-body-01, .letter-body-02{
  padding: 10px;
  text-align: left;
	display: inline-block;
  line-height: 2.0;
}

#service{
  text-align: center;
}

.service-desc p{
  padding: 10px;
  text-align: left;
  line-height: 2.0;
}

.service-desc h3{
  margin-top: 25px;
}

  /* FLEX BOX & FLEX ITEM */ 
.flex-container {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-flex-wrap: nowrap;
	-ms-flex-wrap: nowrap;
	flex-wrap: nowrap;
	-webkit-justify-content: flex-start;
	-ms-flex-pack: start;
	justify-content: flex-start;
	-webkit-align-items: stretch;
	-ms-flex-align: stretch;
	align-items: stretch;
}

.flex-greet {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-align-items: stretch;
	-ms-flex-align: stretch;
	align-items: stretch;
	-webkit-align-content: stretch;
	-ms-flex-line-pack: stretch;
	align-content: stretch;
}

.flex-i-greet{
  width: 100%;
  text-align: center;
}

.flex-service, .flex-perform, .flex-review, .flex-support, .flex-kitchen, .flex-entrance, .flex-living, .flex-garden, .flex-bath, .flex-toilet, .flex-ready{
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-align-items: stretch;
	-ms-flex-align: stretch;
	align-items: stretch;
	-webkit-align-content: stretch;
	-ms-flex-line-pack: stretch;
	align-content: stretch;
}

.flex-i-service,.flex-i-perform, .flex-i-review, .flex-i-support{
  width: 100%;
  text-align: center;
}

.flex-i-service{
  background-color: #e6f1cb;
}

.case-study-living {
  background: url(../images/case-living.jpg) no-repeat;
  background-size:cover;
}
.case-study-kitchen {
  background: url(../images/case-kitchen.jpg) no-repeat;
  background-size:cover;
}
.case-study-bedroom {
  background: url(../images/case-bedroom.jpg) no-repeat;
  background-size:cover;
}
.case-study-bath {
  background: url(../images/case-bath.jpg) no-repeat;
  background-size:cover;
}
.case-study-toilet {
  background: url(../images/case-toilet.jpg) no-repeat;
  background-size:cover;
}
.case-study-outerwall {
  background: url(../images/case-outerwall.jpg) no-repeat;
  background-size:cover;
}
.case-study-entrance {
  background: url(../images/case-entrance.jpg) no-repeat;
  background-size:cover;
}
.case-study-garden {
  background: url(../images/case-garden.jpg) no-repeat;
  background-size:cover;
}



h3.case-category {
  color: #fff;
  font-size:1rem;
  font-weight: normal;
  background: #69BE83;
  padding-top: 10px;
  opacity: 80%;
  height: 36px;
  width: 134px;
  position:relative;
  top: 44px;
}

.case-category:after {
	position: absolute;
	content: '';
	right: 0px;
	top: 0px;/*ボーダーサイズ分マイナス*/
	width: 0;
	height: 0;
	border: none;
	border-left: solid 23px transparent;/*bodyのカラーと同じ色に*/
	border-bottom: solid 36px #e6f1cb;
	z-index: 2;
}

.case-study-button {
  width: 140px;
  padding: 10px;
  margin-top: 80%;
  margin-bottom: 5%;
  background: #9A9532;
  color: #fff;
  font-size: 20px;
	display: -webkit-inline-flex;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
}

.case-study-button a {
  color: #fff;
  display: block;
  text-decoration: none;
}

.review-box{
  padding: 0.5em 1em;
  margin: 2em 0;
  color: #5d627b;
  background: white;
  border-top: solid 5px #69BE83;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}

.review-box p {
  margin: 0; 
  padding: 0;
}

.voice{
  text-align: left;
}

.byvoice{
  text-align: right;
}

/*大見出し*/
h1 {
  font-size: clamp(1rem, 1.25rem, 1.5rem);
  position: relative;
  display: inline-block;
  padding: 0 20px;
  z-index:-1;
}

h1:before, h1:after {
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 15px;
  height: 2px;
  border-top: solid 1px black;
  border-bottom: solid 1px black;
}

h1:before {
  left:0;
}

h1:after {
  right: 0;
}

/*小見出し*/
h2 {
  position: relative;
  color: #158b2b;
  font-size: 15px;
  padding: 10px 0;
  text-align: center;
  margin: 1.5em 0;
}

h2:before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  width: 150px;
  height: 58px;
  border-radius: 50%;
  border: 5px solid #a6ddb0;
  border-left-color: transparent;
  border-right-color: transparent;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

h4 {
  font-size: 1.2rem;
  position: relative;/*相対位置*/
  padding-left: 2.5em;/*アイコン分のスペース*/
  line-height: 2;/*行高*/
}

h4:before {
  content: url(../images/icon-customer-voice.jpg);
  vertical-align: middle;
  -webkit-transform: scale(0.8);
  transform: scale(0.8);
  position: absolute;/*絶対位置*/
  left: 0;/*アイコンの位置*/
  top: 0;/*アイコンの位置*/
}

.movedown{
  margin-top: 600px;
  transition:all 1.0s;
}

.flex-i-corp img {
  width:130px;
}


/* CONTENT PAGE
------------------------------------------------------------ */
section#kitchen, section#entrance, section#living, section#garden, section#bath, section#ready, section#toilet{
  margin-top: 0px;
}

.content-kitchen ul, .content-entrance ul, .content-living ul, .content-garden ul, .content-bath ul, .content-ready ul, .content-toilet ul{
  margin-top: 15px;
  padding: 0px;
  list-style: none;
}

.content-kitchen li, .content-entrance li, .content-living li, .content-garden li, .content-bath li, .content-ready li, .content-toilet li{
  float: left;
  position: relative;
}

.content-kitchen li span, .content-entrance li span, .content-living li span , .content-garden li span, .content-bath li span, .content-ready li span, .content-toilet li span{
  display: block;
  width: 80px;
  height: 80px;
  line-height: 80px;
  background: #69BE83;
  border-radius: 50%;
  text-align: center;
  color: #fff;
  font-size: 16px;
  position: absolute;
  top: -20px;
  right: -5px;
}


.content-kitchen img, .content-entrance img, .content-living img, .content-garden img, .content-bath img, .content-ready img, .content-toilet img {
  width:100%;
}

/* Footer
------------------------------------------------------------ */

.fotter-inner {
  margin: 0 auto;
  text-align: center;
}
.footer-name {
  font-size: 20px;
}

/* TOP NAVI
------------------------------------------------------------ */
#pagetop {
  position: fixed;
  bottom: 15px;
  right: 15px;
}
#pagetop a {
  display: block;
  background: #69BE83;
  color: #fff;
  width: 50px;
  padding: 10px 5px;
  text-align: center;
  text-decoration: none;
}

/* CONTACT FORM
------------------------------------------------------------ */
#contact{
  padding:10px 0 10px;
}

.contact-text{
  margin:45px auto;
}

.mail-message-area{
  width:100%;
  padding:0 15px;
}

.mail-message{
  width: 100%;
  background:rgba(255,255,255, 0.8) !important;
  -webkit-transition: all 0.7s;
  -moz-transition: all 0.7s;
  transition: all 0.7s;
  margin:0 auto;
  border-radius: 0;
}

.not-visible-message{
  height:0px;
  opacity: 0;
}

.visible-message{
  height:auto;
  opacity: 1;
  margin:25px auto 0;
}

/* Input Styles */

.form{
  width: 100%;
  padding: 15px;
  background:#f8f8f8;
  border:1px solid rgba(0, 0, 0, 0.075);
  margin-bottom:25px;
  color:#727272 !important;
  font-size:13px;
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.form:hover{
  border:1px solid #69BE83;
}

.form:focus{
  color: white;
  outline: none;
  border:1px solid #69BE83;
}

.textarea{
  height: 200px;
  max-height: 200px;
  max-width: 100%;
}
/* Generic Button Styles */

.button{
  padding:8px 12px;
  background:#0A5175;
  display: block;
  width:120px;
  margin:10px 0 0px 0;
  border-radius:3px;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
  text-align:center;
  font-size:0.8em;
  box-shadow: 0px 1px 4px rgba(0,0,0, 0.10);
  -moz-box-shadow: 0px 1px 4px rgba(0,0,0, 0.10);
  -webkit-box-shadow: 0px 1px 4px rgba(0,0,0, 0.10);
}

.button:hover{
  background:#69BE83;
  color:white;
}

/* Send Button Styles */

.form-btn{
  width:180px;
  display: block;
  height: auto;
  padding:15px;
  color:#fff;
  background:#69BE83;
  border:none;
  border-radius:3px;
  outline: none;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
  margin:auto;
  box-shadow: 0px 1px 4px rgba(0,0,0, 0.10);
  -moz-box-shadow: 0px 1px 4px rgba(0,0,0, 0.10);
  -webkit-box-shadow: 0px 1px 4px rgba(0,0,0, 0.10);
}

.form-btn:hover{
  background:#111;
  color: white;
  border:none;
}

.form-btn:active{
  opacity: 0.9;
}

center{
margin-top:330px;
}

input {
  position: relative;
  z-index: 9999;
}

input.btn-info{
  margin-top: 10px;
  margin-bottom: 10px;
}

#formWrap h4{
  text-align: left;
}

/* PC
------------------------------------*/
@media screen and (min-width: 960px) {
  header::after{
    display:none;
  } 

  .Toggle{
    display: none;
  }

  .menu{
    width: 100%;
    background-color: #69BE83;
    margin-top:0;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }

  .menu ul{
    height: 70px;
    display: flex;
    flex-wrap: wrap;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
  }
  .menu ul li a{
  padding: 0 1em;
  border-bottom: none;
  }

  .menu ul li a:hover
  {
    background-color:transparent;
  }

  /* FLEX ITEM */ 
  .flex-i-greet{
    width: 50%;
    text-align: center;
  }
  .flex-i-service,.flex-i-perform,.flex-i-review{
    width: 33.3%;
    text-align: center;
  }

  .flex-i-kitchen, .flex-i-entrance, .flex-i-living1, .flex-i-garden, .flex-i-bath, .flex-i-toilet, .flex-i-ready{
    width: 100%;
    text-align: center;
  }

  .flex-i-support{
    width: 66.6%;
    text-align: center;
  }

  .flex-i-service img, .flex-i-greet img{
    display: block;
    height: auto;
    max-width: 100%;
  }

  /*大見出し*/
  h1 {
    font-size: 2.5rem;
  }
  
  h4.error{
    margin-top: 40px;
  }



  .content-kitchen li:last-child,.content-entrance li:last-child,.content-living li:last-child, .content-garden li:last-child, .content-bath li:last-child, .content-toilet li:last-child, .content-ready li:last-child{
    margin-left: 50px;
  }

  .content-kitchen li:last-child::before, .content-entrance li:last-child::before, .content-living li:last-child::before, .content-garden li:last-child::before, .content-bath li:last-child::before, .content-toilet li:last-child::before, .content-ready li:last-child::before{
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -30px;
    margin: auto;
    box-sizing: border-box;
    width: 15px;
    height: 15px;
    border: 15px solid transparent;
    border-left: 15px solid #69BE83;
  }

  .content-kitchen img, .content-entrance img, .content-living img, .content-garden img, .content-bath img, .content-toilet img, .content-ready img{
    max-width: 430px;
  }
  

  /* CONTENT PAGE
------------------------------------------------------------ */
 section#kitchen,section#entrance,section#living,section#garden,section#bath,section#ready{
  margin-top: 20px;
 }

}

@media screen and (max-width: 320px) {
  #logo {
    max-width:80%;
    display:block;
    margin:0 auto;
    margin-left: 0px;
  }
}
