@charset "UTF-8";
/* CSS Document */
.pc {
  display: none;
}
.smp {
  display: inherit;
}
.smp-left {
  text-align: left;
}
.flex-column {
  flex-direction: column;
}
.flex .col-2, .flex .col-3, .flex .col-4, .flex .col-5, .flex .col-6, .flex .col-7, .flex .col-8, .flex .col-9, .flex .col-10 {
  width: 100%;
}
.contents {
  width: inherit;
  margin: 0;
  padding: 0.5em;
  box-sizing: border-box;
}
header .contents {
  width: inherit;
  padding: 0;
}
header .contents .box {
  flex-direction: column;
  align-items: flex-start;
}
header .contents .box h1 {
  width: 60%;
  margin-left: 0.5em;
}
header .contents #gnav {
  flex-direction: column;
  align-items: flex-start;
  background-color: rgba(2, 152, 59, 1);
	    padding: 3em 0 1em 0;
  margin-top: 0;
  display: none;
    position: fixed;
    left: 0;
	top: 0;
    width: 100vw;
    height: 70vh;
	z-index: 100;

}
header .contents #gnav ul {
  padding: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
}
header .contents #gnav ul li {
  border-right: none;
  border-bottom: 1px solid #d2d2d2;
  padding: 0.5em 1em 0.5em 1em;
}
header .contents #gnav ul li a {
  color: #fff;
  display: block;
  background-image: url("../img/icon-smpnav.png");
  background-repeat: no-repeat;
  background-position: right center;
}
header .contents #gnav .btn {
  margin: 0 auto;
  width: 80%;
}
header .contents #gnav .btn a {
  width: 100%;
  padding: 0.7em 0;
  border-radius: 25px;
}
main {
  width: inherit;
}
#mainvis {
  background-image: url("../img/vis-smp.jpg");
  height: 50vh;
}
#mainvis .contents p.type1 {
  font-size: 1.7em;
}
#mainvis .contents p.type2 {
  font-size: 0.8em;
}
#kasai-index {
  padding-top: 0;
  background-image: none;
}
#kasai-index .contents {
  padding: 0.5em;
  border-radius: 0;
}
#kasai-index .contents h3.type1 {
  background-size: contain;
  height: 0;
  padding-top: calc(377 / 791 * 100%);
  /*calc(画像の高さ / 画像の幅 * widthの値)*/
}
#kasai-index .contents h2 {
  background-size: contain;
  height: 0;
  padding-top: calc(281 / 876 * 100%);
}
#kasai-index .contents .box {
  background-image: none;
  padding: 0.7em;
  height: auto;
  background-color: #fcf3f2;
}
#kasai-index .contents h3.type2, #kasai .contents h4.type2 {
  width: 10em;
  padding: 0.3em;
  font-size: 0.8em;
  margin: 4em 0 0 0;
}
#kasai-index .contents .btn a {
  font-size: 0.8em;
}
#message {
  padding: 3em 0;
  margin: 3em 0 5px 0;
}
#kasai .contents h3, #mansion .contents h3, #reform .contents h3, #company .contents h3, #privacy .whitebox-type3 h3, #contact .whitebox-type3 h3 {
  font-size: 1.5em;
  margin: 0 0 1em 0;
}
.whitebox {
  padding: 2em 0;
  margin: 3em 0;
}
.vis {
    background-position: top right -380px;
    color: #fff;
    box-sizing: border-box;
    background-repeat: no-repeat;
}
.vis h2 {
  font-size: 1.3em;
  background-size: 5%;
  padding: 0 0 0 1em;
}
.vis p {
  padding: 0 0 0 1.5em;
  margin: 0;
  font-size: 0.8em;
  text-shadow: 2px 2px 1px rgba(42, 42, 42, 0.3);
}
#kasai .box {
  padding-top: 1em;
}
#kasai .box h3 {
  background-size: contain;
  height: 0;
	padding-top: calc(137 / 872 * 100%);
}
#kasai .box h4 {
  background-size: contain;
  height: 0;
padding-top: calc(372 / 787 * 100%);
}
#kasai .flow ol li {
  padding: 2.5em 0.5em 1em 0.5em;
  height: 20%;
  box-sizing: border-box;
  background-size: 25%;
}
#kasai .flow ol li:before {
  left: calc(50vw - 13px);
}
#kasai #work h4 {
  background-size: contain;
  height: 0;
	padding-top: calc(178 / 713 * 100%);
}
#kasai #work h5 {
  font-size: 0.8em;
}
#kasai #work .btn a {
  width: 13em;
}
#kasai #voice .items {
  width: 100%;
  flex-direction: column;
}
#kasai #voice .item {
  width: 100%;
  flex-direction: column;
}
.whitebox-type2 {
  width: inherit;
  margin: 0 0.5em;
  padding: 0.5em;
}
.whitebox-type2 h3.type2 {
  font-size: 1.3em;
  width: 85%;
  margin: 1em auto;
	    text-shadow: 1px 1px 1px rgba(42, 42, 42, 0.2);
}
.box-bg {
  padding-top: 3em;
}
#mansion .flow {
  padding-bottom: 2.3em;
}
#mansion .flow ol li {
  padding: 2.5em 0.5em 1em 0.5em;
  height: 20%;
  box-sizing: border-box;
  background-size: 25%;
}
#mansion .flow ol li:before {
  left: calc(50vw - 13px);
}
#mansion .flow ol li.type1 {
  background-image: url("../img/smp/step1.png");
  height: inherit;
}
#mansion .flow ol li.type2 {
  background-image: url("../img/smp/step2.png");
  height: inherit;
}
#mansion .flow ol li.type3 {
  height: inherit;
}
#mansion .flow ol li.type4 {
  background-image: url("../img/smp/step4.png");
  height: inherit;
}
#mansion .flow ol li.type5 {
  background-image: url("../img/smp/step5.png");
  height: inherit;
}
#mansion .flow .mawarikomi {
  float: none;
  width: 90%;
  height: auto;
}
#reform .reformbox {
  padding-bottom: 2em;
}
#reform .whitebox .contents .box {
  background-size: 150% auto;
  background-position: 90% top;
  padding: 4em 0.5em;
}
#reform .whitebox .contents .box h4.type2 {
  background-image: none;
  font-size: 1.5em;
  padding: 1em 0 0 0;
  margin: 1em 0 0 0;
}
#reform .contents .box {
  background-size: 150% auto;
  background-position: 90% top;
  padding: 5em 0.5em 2em;
}
#reform .contents .box .items {
  flex-direction: column;
}
#reform .contents .box .item {
  width: inherit;
}
#company .about {
  padding: 3em 0;
}
#company .contents table {
  width: 100%;
}
#company .contents table th {
  width: 35%;
  padding-left: 0;
}
#company .contents table th, #company .contents table td {
  display: block;
  padding: 0.5em;
}
.whitebox-type3 {
  width: inherit;
  padding: 2em 0.5em;
  margin: 2.5em 0.5em;
}
#contact .whitebox-type3 table {
  width: 100%;
}
#contact .whitebox-type3 table th, #contact .whitebox-type3 table td {
  display: block;
  padding: 0.5em;
}
#contact .whitebox-type3 table th {
  width: inherit;
  padding: 0.5em 0 0 0;
}
#contact .whitebox-type3 table td {
  width: inherit;
  padding-left: 0em;
}
#contact .whitebox-type3 table #submit {
  width: 100%;
  margin: 1em 0 0 0;
}
#privacy, #contact {
  padding-bottom: 1.3em;
}
footer {
  padding: 0 0 2em 0;
  background-size: inherit;
}
footer .contents ul li {
  width: 100%;
}

footer .contents .btn a {
  width: 90%;
	    margin: 1em auto;
    padding: 1em 0;
    border-radius: 30px;

}
footer .contents .address {
  flex-direction: column;
  align-items: flex-start;
  margin: 1em 0 2em 0;
}
#smp-btn {
	display: block;
  background-image: url("../img/smpnav-open.png");
  background-repeat: no-repeat;
  width: 55px;
  height: 55px;
  position: fixed;
  top: 0.5em;
    right: 0.5em;
  margin: 0;
	text-indent: -9999px;
		z-index: 101;

}
#smp-btn.close {
  background-image: url("../img/smpnav-close.png");
}