@charset "UTF-8";

/*共通部分*/
html{
  font-size: 100%;
}
body{
  font-family: verdana, "ヒラギノ丸ゴ ProN W4", "Hiragino Maru Gothic ProN", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", Sans-Serif;
  line-height: 1.7;
  color:#333;
}
a{
  text-decoration: none;
}
img{
  max-width: 100%;
  object-fit: cover;
}
*{
  margin: 0px;
}
.wrapper{
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1%;
}
a:hover{
  opacity: .7;
}


/*header*/
.header-head{
  background-image: url(../images/kv-back.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
header .header-head > img{
  width: 100%;
  height: 920px;
}
.header-head h2{
  text-align: center;
  color: #ff6600;
  font-size: 32px;
}

/*contents zone*/
#worries{
  background-image: url(../images/worries-back.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

}
#worries .wrapper{
  text-align: center;
}

#explanation{
  background-image: url(../images/explanation-back.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  text-align: center;
  padding-bottom: 20px;
}
#explanation .wrapper h1{
  text-align: center;
  margin: 4% auto 0;
}
#explanation .wrapper h1 img{
  width: 80%;
}
#explanation .wrapper{
  display: flex;
  align-items: flex-start;
  padding-bottom: 5px;
}
#explanation .wrapper >div{
  width: 372px;
  height: 490%;
  background-color: #fff;
  margin: 0 13px;
}
#explanation .wrapper >div img{
  width: 92px;
  height: 42%;
  margin: 18px 15px 7px;
}
#explanation .wrapper >div h3{
  width: 92%;
  font-size: 31px;
  color: #fff;
  margin: 0 auto;
  padding: 3px 0;
  text-align: center;
}
#explanation .wrapper >div p{
  margin: 10px 15px 0;
  font-size: 19px;
  font-family: verdana, "ヒラギノ丸ゴ ProN W4", "Hiragino Maru Gothic ProN", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", Sans-Serif;
  line-height: 25px;
  letter-spacing: -0.1em;
  text-align: left;
}

/*massage*/
#message{
  background-image: url(../images/voice-back.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
#massage{
  background-color: #ffffe0;
}
#massage .wrapper{
  display: flex;
}
#massage .wrapper h1{
  text-align: center;
}
#massage .wrapper h1 img{
  width: 80%;
}
#massage .wrapper div{
  width: 33%;
  padding-bottom: 8%;
}
#massage .wrapper img{
  width: 100%;
  margin: 4% auto 3%;
}
#massage .wrapper div p{
  margin: 0 1% 0 13%;
  font-family: verdana, "ヒラギノ丸ゴ ProN W4", "Hiragino Maru Gothic ProN", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", Sans-Serif;
  font-size: 17px;
}
.message_box{
  display: flex;
  width: 800px;
  margin: 0 auto;
}
.message_card{
  margin: 20px;
}


/*example*/
#example {
margin-bottom: 5%;
}
#example .wrapper >div{
  position: relative;
  display: block;
  margin: 0 auto;
}
#example .wrapper >div img:last-child{
  width: 55%;
  position: absolute;
  top: 75%;
  left: 37%;
}
#example h2 img{
  display: block;
  margin: 0 auto;
  }


/*philosophy*/
#philosophy {
  background-image: url(../images/philosophy-bgl.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
#philosophy .wrapper >div{
  position: relative;
}
#philosophy .wrapper >div img:last-child{
  width: 55%;
  position: absolute;
  top: 75%;
  left: 37%;
}

/*strengths*/
#strengths{
  background-color: #ffffe0;
}
#strengths .wrapper >div{
  position: relative;
}
#strengths .wrapper >div img:last-child{
  width: 55%;
  position: absolute;
  top: 75%;
  left: 37%;
}

/*infection*/
.title{
  text-align: center;
}
#infection ul{
  list-style: none;
  margin: 20px 0 30px;
}
#infection li{
  margin-left: 5%;
  font-family: verdana, "ヒラギノ丸ゴ ProN W4", "Hiragino Maru Gothic ProN", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", Sans-Serif;
  font-size: 18px;
}

#contact{
  margin-bottom: 100px;
  margin-top: 132px;
}
#contact .title{
  margin-bottom: 63px;
}
#contact p{
  font-family: verdana, "ヒラギノ丸ゴ ProN W4", "Hiragino Maru Gothic ProN", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", Sans-Serif;
  font-size: 18px;
}
form{
  margin-top: 20px;
}
form div{
  padding: 12px 0;
  position: relative;
  border-top: .7px solid #333;
}
form div p{
  display: inline-block;
  margin-left: 45%;
}
form div:nth-child(2n){
  background-color: #f4f4f4;
}
.text-contant{
  border-bottom: .7px solid #333;
  padding-bottom: 135px;
}
label{
  font-family: verdana, "ヒラギノ丸ゴ ProN W4", "Hiragino Maru Gothic ProN", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", Sans-Serif;
  font-size: 18px;
}
form span{
  font-family: verdana, "ヒラギノ丸ゴ ProN W4", "Hiragino Maru Gothic ProN", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", Sans-Serif;
  background-color: #ff6600;
  color: #fff;
  padding: 7px 13px;
  border-radius: 5px;
  letter-spacing: 0.25em;
  font-size: 16px;
  margin-right: 15px;
}
input[type="text"],input[type="tel"],input[type="email"]{
  border: solid 0.7px #333;
  position: absolute;
  left: 28%;
  width: 35%;
  font-size: 21px;
}
textarea{
  position: absolute;
  left: 28%;
  width: 55%;
  border: solid 0.7px #333;
  line-height: 14px;
  font-size: 21px;
  resize: none;
}
#contact section{
  text-align: center;
  margin-top: 38px;
}

.btn{
  background-image: url();
  background-color: #fff;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  object-fit: cover;
  width: 80%;
  height: 80px;
  border: 0;
}
input[tyoe="submit"]:hover{
    opacity: .7;
}

/*visit*/
.visit-wrapper img{
display: block;
margin: 0 auto 80px;
}

#vimeo{
  width: 60%;
  margin: 20px auto;
}

/*footer*/
footer{
    text-align: center;
    font-size: 21px;
    font-family: verdana, "ヒラギノ丸ゴ ProN W4", "Hiragino Maru Gothic ProN", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", Sans-Serif;
    background-color: #00ac34;
    color: #fff;
    padding: 20px;
}
footer p:first-child{
    border-bottom: 1px solid #fff;
    display: inline-block;
    margin-bottom: 15px;
}
footer a{
    color:#fff
}

.sp{
  display: none;
}
#footer_btn {
	display: block;
	width: 100%;
	position: fixed;
	left: 0px;
	bottom: 0px;
	z-index: 9999;
	text-align: center;
	padding: 0 auto;
}

#footer_btn img {
	max-width: 100%;
}
.active{
  transform: translate(0);
}
@media(max-width:1160px){
.wrapper{
  max-width: 950px;
}
  /*header*/
header .header-head >img{
  height: 750px;
}
nav ul  li a{
  font-size: 14px;
}
#explanation .wrapper div p{
  font-size: 16px;
  line-height: 22px;
}
}

@media(max-width:900px){
.wrapper{
  max-width:700px;
}
/*header*/
header .header-head >img{
  height:auto;
}
nav{
  padding:15px 0;
        }
        nav ul li{
            padding:0 2% 0 0;
        }
        nav ul li a{
            font-size:10px;
        }
        #explanation .wrapper div p{
            font-size:16px;
            line-height:22px;
        }
        #explanation .wrapper{
            flex-direction:column;
            align-items:center;
        }
        #explanation .wrapper >div{
            width:93%;
            height:auto;
            display:flex;
            margin-bottom:10px;
        }
        #explanation .wrapper >div img{
            width:42%;
            height:auto;
        }
        #explanation .wrapper p{
            padding:0 0 10px 0;
        }
        #explanation .wrapper h3{
            margin:12px auto 0 !important;
        }
        #explanation .wrapper >div h3{
            font-size:16px;
            padding:2px 0;
        }
        #explanation .wrapper >div p{
          margin:10px 10px 5px 5px;
        }

        #massage img{
          height:auto;
        }

        input[type="text"],input[type="tel"],input[type="email"]{
          position: absolute;
          left:40%;
        }
        form div{
          flex-direction:column;
        }
        textarea{
          position: absolute;
          left:40%;
        }
}

@media(max-width:700px){
/*header*/
header .header-head >img{
  height: 400px;
}
nav ul li{
  padding: 6px 10px;
}
nav ul li a{
  font-size: 10px;
}

#explanation .wrapper div p{
  font-size: 16px;
  line-height: 22px;
}

input[type="text"],input[type="tel"],input[type="email"]{
  position: absolute;
  left: 40%;
}
form div{
  flex-direction: column;
}
textarea{
  position: absolute;
  left: 40%;
}
#example h1{
  width: 80%;
  font-size: 28px;
}
#infection ul{
  padding-left: 0%;
}
}

@media(max-width:600px){
  .pc{
    display: none;
  }
  .sp{
    display: block;
  }
  #example p br{
    display: none;
  }
  #example p{
    padding: 0 5%;
    text-align: left;
    font-size: 16px;
  }
  nav{
    padding: 14px 0;
  }
  .a{
    width: 80% ;
  }
  header  .header-head >img{
    height: auto;
    width: 100%;
  }
  #worries img{
    width: 100%;
  }


  .message .wrapper img{
    width: 50%;
  }
  #massage img{
    height: auto;
  }
  #massage .wrapper div{
    display: flex;
  }
  #massage .wrapper{
    flex-direction: column;
    align-items: center;
  }
  #massage .wrapper>img{
    width: 60%;
  }
  #massage .wrapper div> img{
    width: 45%;
    margin-right: 5%;
  }
  #massage .wrapper div {
    width: 90%;
}
#massage .wrapper div p {
  font-size: 15px;
  margin:10px 0 0;
}


  .message .sp{
    padding: 0 5% 5%;
    width: 90%;
  }
  .message .wrapper div p{
    font-size: 15px;
    line-height: 18px;
  }

  #infection li{
    margin-right: 5%;
    font-size: 16px;
  }
  form div{
    padding: 12px 0 50px 10px;
  }
  input[type="text"],input[type="tel"],input[type="email"]{
    top: 50px;
    left: 10px;
    width: 80%;
  }
  textarea{
    top: 50px;
    left: 10px;
    width: 80%;
  }
  .text-contact{
    padding-bottom: 180px;
  }
  form div p{
    display: inline;
    margin-left: 0;
    font-size: 14px !important;
  }
  .btn{
    width: 80%;
  }
  .title img{
    width: 80%;

  }
}

@media(max-width:520px){
  nav ul{
    justify-content: space-between;
  }
  nav ul li{
    padding: 0 8px;
  }
  nav ul li a {
    font-size: 8px;
}
header  .header-head >img{
  height: auto;
}
#massage .wrapper div p {
  font-size: 13px;
}
.message .wrapper div p{
  font-size: 10px;
  line-height: 18px;
}
#example h1{
  font-size: 20px;
  margin: 60px auto 20px;
}
#contact .title img{
  width: 50%;
}
footer p{
  font-size: 16px;
}
}


@media(max-width:420px){
  .pc{
    display: none;
  }
  .sp{
    display: block;
  }
  nav {
    padding: 9px 0 4px 0;
  }
  nav ul li{
    padding: 0 3px;

  }
  #massage{
    margin: 0;
    padding: 0;
  }
  #massage .wrapper div p {
    font-size: 10px;
  }
  #massage .wrapper>img{
    width: 100%;
    padding: 0;
    margin: 0;
  }
  form div p{
    font-size: 10px !important;
  }
  footer p{
    font-size: 12px;
  }
  #worries .wrapper{
    padding-bottom: 10%;
  }
  #example .wrapper h2 img{
    width: 90%;
  }
  #example{
    margin-bottom: 7%;
  }
  #example p{
    margin-bottom: 60px;
  }
  #infection .title img{
    width: 90%;
  }
  #contact .title{
    margin-bottom: 10px;
  }
  #contact {
    margin-top: 70px;
  }
  .message .wrapper h1 img{
    width: 90%;
  }
  .message .wrapper div:nth-child(1){
    height: 180px;
  }
  .message .wrapper div:nth-child(2){
    height: 145px;
  }
  .message .wrapper div:nth-child(3){
    height: 220px;
  }
  .message .wrapper div:nth-child(1) img{
    height: 155px;
  }
  .message .wrapper div:nth-child(2) img{
    height: 120px;
  }
  .message .wrapper div:nth-child(3) img{
    height: 195px;
  }
#vimeo{
  width: 90%;
  margin: 10px auto;
}
.visit-wrapper .pc{
  display: none;
}
.visit-wrapper .sp{
  display: block;
  margin: 0 auto 20px;
}
.message_box{
  display: block;
  width: 100%;
}
}

@media(max-width:350px){
  .message .wrapper div:nth-child(3){
    height: 240px;
  }
  .message .wrapper div:nth-child(3) img{
    height: 205px;
  }
}
