@charset "UTF-8";

/*---Reset---*/
body, h1, h2, h3, h4, h5, h6, p, address,
ul, ol, li, dl, dt, dd, img, form, table, tr, th, td {
	margin: 0;
	padding: 0;
	border: none;
	font-style: normal;
	font-weight: normal;
	font-size: 100%;
	text-align: left;
	list-style-type: none;
	border-collapse: collapse;
}

textarea { font-size: 100%; vertical-align:middle;}
hr { display: none; }
em{font-style: normal}
input{line-height:auto;vertical-align:middle;}
strong.more{color:#c30}
a{text-decoration: none;}

body {
	font-family:serif;
}

/*
 * header menu1
 */

header{
  display: flex;
  justify-content: space-around;
  padding-top: 20px;
}
.title{
  font-size: 30px;
}
h1{
  font-size: 40px;
}
.menu1{
  font-size: 2px;
}
td{
  padding-left: 18px;
  padding-top: 23px;
}
.me{
  border-bottom: 1px solid rgba(212, 211, 211, 0.7);
}

/*
 *  スライド部分
 */

 
.swiper-wrapper {
  /* wrapperのサイズを調整 */
  width: 100%;
  height: 300px !important;
  margin-top: 100px;
  padding-bottom: 210px;
}

.swiper-slide {
  /* スライドのサイズを調整、中身のテキスト配置調整、背景色 */
  color: #000000;
  width: 100%;
  height: 100%;
  text-align: center;
  line-height: 700px;
  text-align: center;
  border-radius: 30px;
  z-index: 999;
}

a {
  font-size: 30px;
  color: black;
  cursor: pointer;
}

.swiper-slide:nth-child(3n + 1) {
  background: url(../img/24155185_s.jpg);
  width: 50%;
}

.swiper-slide:nth-child(3n + 2) {
  background: url(../img/3.png);
}

.swiper-slide:nth-child(3n + 3) {
  background: url(../img/1.png);
}

.swiper-pagination-bullets {
  width: 100px;
}

.swiper-pagination-bullet {
  width: 12px !important;
  height: 12px !important;
  margin: 0 0 0 10px !important;
  background: #fff;
}

.swiper-pagination-bullet:first-child {
  margin: 0 !important;
}

.aaa {
  font-size: 13px;
  position: relative;
  top: -650px;
  text-align: center;
}

.bbb {
  font-size: 13px;
  position: relative;
  top: -1330px;
  text-align: center;
}

 /*
 *  背景部分
 */
 
.bg {
  animation: slide 3s ease-in-out infinite alternate;
  background-image: linear-gradient(-60deg, #43fadb 50%, #fffefe 50%);
  bottom: 0;
  left: -50%;
  opacity: 0.5;
  position: fixed;
  right: -50%;
  top: 0;
  z-index: -1;
}

.bg2 {
  animation-direction: alternate-reverse;
  animation-duration: 4s;
}

.bg3 {
  animation-duration: 5s;
}

@keyframes slide {
  0% {
    transform: translateX(-25%);
  }
  100% {
    transform: translateX(25%);
  }
}

/*
 *  fadein
 */

.fadein {
  opacity: 0;
  transform: translate(0,0);
  transition: all 1.5s;
}
.fadein.fadein-left {
  transform: translate(-30px,0);
}
.fadein.fadein-right {
  transform: translate(30px,0);
}
.fadein.scrollin {
  opacity: 1 !important;
  transform: translate(0,0) !important;
}

/*
 *  service
 */

.service{
  padding-top: 200px;
}
h2{
  text-align: center;
  font-size: 50px;
  padding-top: 20px;
  border-bottom: solid 1px rgba(0, 0, 0, 0.3);
}
.top > p{
  text-align: center;
  padding-top: 10px;
}

/*
 *  aboutus
 */

.aboutus{
  padding-top: 200px;
  margin-bottom: 170px;
}
.prof{
  margin: auto;
  margin-top: 50px;
}


/*
 *  contact
 */

.contact{
  background-color: white;
  z-index: 999;
  padding-top: 30px;
  padding-bottom: 100px;
}
form{
  text-align: center;
}
.c-table{
  margin: auto;
  margin-top: 20px;
  margin-bottom: 40px;
}
.ne{
  color: #c30;
}
.c-td{
  padding-left: 20px;
  padding-right: 20px;
}
input{
  border: solid 1px rgba(155, 153, 153, 0.7);
  border-radius: 3px;
}
textarea{
  border: solid 1px rgba(155, 153, 153, 0.7);
  border-radius: 3px;
}
.sub{
  height:50px;
  font-size:13px;
  background-color: black;
  color:white;
  border: none;
  padding: 0px 100px;
  border-radius: 5px;
}
.subsub{
  text-align:center;
}

/*
 * 住宅ローンページ
 */
.juutaku{
  margin: 0px 100px 0px 100px;
  position: relative;
  top: -100px;
}

.img19{
  width: 150px;
  height: 180px;
  position: relative;
  top: 80px;
  left: 70%;
}

.img18{
  width: 150px;
  height: 180px;
  position: relative;
  top: 0px;
  left: 40%;
}

.ttt{
  text-align: center;
  position: relative;
  top: -120px;
}

/*
 * マンションページ
 */
.manshon{
  margin: 0px 100px 0px 100px;
  position: relative;
  top: -100px;
}

.img20{
  width: 150px;
  height: 180px;
  position: relative;
  top: 95px;
  left: 70%;
}

.img16{
  width: 150px;
  height: 150px;
  position: relative;
  top: 0px;
  left: 40%;
}

.img21{
  width: 250px;
  height: 100px;
  position: relative;
  top: 0px;
  left: 30%;
  padding-top: 10px;
}

.img22{
  width: 180px;
  height: 150px;
  position: relative;
  top: 80px;
  left: 70%;
}
/*
 *  768pxより大きい
 */

@media screen and (min-width: 768px) {
  h2{
    margin-left: 300px;
    margin-right: 300px;
  }
  .menu2{
    display: none;
  }
  .kkk {
    display: flex;
    text-align: center;
    vertical-align: middle;
    justify-content: space-between;
  }
  
  .kkk p {
    margin: auto;
    padding-left: 20px;
  }
  
  .imgserv {
    width: 60%;
    height: 60%;
    border-radius: 20px;
  }

}

/*
 *  768pxより小さい
 */

@media screen and (max-width: 768px) {
  h2{
    margin: auto;
    margin-left: 70px;
    margin-right: 70px;
  }

  a {
    font-size: 20px;
    color: black;
    cursor: pointer;
  }

  .juutaku{
    margin: 0px 30px 0px 30px;
  }

  .img19{
    width: 150px;
    height: 180px;
    position: relative;
    top: 80px;
    left: 60%;
  }

  .manshon{
    margin: 0px 30px 0px 30px;
  }

  .img20{
    width: 120px;
    height: 150px;
    position: relative;
    top: 95px;
    left: 60%;
  }

  .kkk {
    text-align: center;
    vertical-align: middle;
  }
  
  .kkk p {
    margin: auto;
    padding-top: 20px;
  }
  
  .imgserv {
    width: 60%;
    height: 60%;
    border-radius: 20px;
  }
  
  .swiper-wrapper {
    /* wrapperのサイズを調整 */
    padding-bottom: 120px;
  }

  .aaa{
    display: none;
  }

  .swiper-slide {
    /* スライドのサイズを調整、中身のテキスト配置調整、背景色 */
    color: #000000;
    width: 500px;
    height: 100%;
    text-align: center;
    line-height: 700px;
    text-align: center;
    border-radius: 30px;
    z-index: 999;
  }

  /*
 *  header menu2
 */

  .menu1{
    display: none;
  }

  .menu2{
    z-index: 999;
  }

  .container {
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    top: 40%;
    left: 0;
    margin: 0 auto;
    font-family: "Roboto", sans-serif;
  }
  .container p {
    font-size: 20px;
  }
  .container a {
    display: inline-block;
    position: relative;
    text-align: center;
    color: #070707;
    text-decoration: none;
    font-size: 20px;
    overflow: hidden;
    top: 5px;
  }
  .container a:after {
    content: "";
    position: absolute;
    background: rgba(55, 207, 245, 0.4);
    height: 2px;
    width: 0%;
    transform: translateX(-50%);
    left: 50%;
    bottom: 0;
    transition: 0.35s ease;
  }
  .container a:hover:after, .container a:focus:after, .container a:active:after {
    width: 100%;
  }
  
  .button_container {
    position: fixed;
    top: 5%;
    right: 2%;
    height: 27px;
    width: 35px;
    cursor: pointer;
    z-index: 100;
    transition: opacity 0.25s ease;
  }
  .button_container:hover {
    opacity: 0.7;
  }
  .button_container.active .top {
    transform: translateY(11px) translateX(0) rotate(45deg);
  
  }
  .button_container.active .middle {
    opacity: 0;
    background: #FFF;
  }
  .button_container.active .bottom {
    transform: translateY(-11px) translateX(0) rotate(-45deg);
    
  }
  .button_container span {
    background: #070707;
    border: none;
    height: 5px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.35s ease;
    cursor: pointer;
  }
  .button_container span:nth-of-type(2) {
    top: 11px;
  }
  .button_container span:nth-of-type(3) {
    top: 22px;
  }
  
  /*
   *  メニューひらいた時の背景
   */
  .overlay {
    position: fixed;
    background: #4ffae6;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0.35s, height 0.35s;
    overflow: hidden;
  }
  .overlay.open {
    opacity: 0.9;
    visibility: visible;
    height: 100%;
  }
  .overlay.open li {
    -webkit-animation: fadeInRight 0.5s ease forwards;
            animation: fadeInRight 0.5s ease forwards;
    -webkit-animation-delay: 0.35s;
            animation-delay: 0.35s;
  }
  .overlay.open li:nth-of-type(2) {
    -webkit-animation-delay: 0.4s;
            animation-delay: 0.4s;
  }
  .overlay.open li:nth-of-type(3) {
    -webkit-animation-delay: 0.45s;
            animation-delay: 0.45s;
  }
  .overlay.open li:nth-of-type(4) {
    -webkit-animation-delay: 0.5s;
            animation-delay: 0.5s;
  }
  .overlay nav {
    position: relative;
    height: 70%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    font-family: "Vollkorn", serif;
    font-weight: 400;
    text-align: center;
  }
  .overlay ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-block;
    position: relative;
    height: 100%;
  }
  .overlay ul li {
    display: block;
    height: 25%;
    height: calc(100% / 4);
    min-height: 50px;
    position: relative;
    opacity: 0;
  }

  /*
   *  文字の色
   */
  .overlay ul li a {
    display: block;
    position: relative;
    color: black;
    text-decoration: none;
    overflow: hidden;
    text-align: center;
    font-size: 30px;
  }
  .overlay ul li a:hover:after, .overlay ul li a:focus:after, .overlay ul li a:active:after {
    width: 100%;
  }
  .overlay ul li a:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0%;
    transform: translateX(-50%);
    height: 3px;
    background: black;
    transition: 0.35s;
  }
  
  @-webkit-keyframes fadeInRight {
    0% {
      opacity: 0;
      left: 20%;
    }
    100% {
      opacity: 1;
      left: 0;
    }
  }
  
  @keyframes fadeInRight {
    0% {
      opacity: 0;
      left: 20%;
    }
    100% {
      opacity: 1;
      left: 0;
    }
  }
}
