@charset "UTF-8";

/*ヘッダーメニューー*/

body {
  margin: 0;
}
@media (min-width: 801px){
header.header01 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}
div.logo{
  width: 400px;
  height: 50px;
}
div.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.nav {
  width: 1250px;
  padding: 0;
  margin-left: 50px;
  margin-bottom: 50px;
  list-style-type: none;
  text-align: center;
}
.nav li {
  width: 20%;
  float: left;
  padding: 0;
  margin: 0;
  text-align: center;
}
.nav li a {
  width: auto;
  color: #0a0303;
  font-size: 20px;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-weight: bold;
  padding: 10px 0;
  text-decoration: none;
  display: block;
  background: #f8f4f4;
}
.nav li a:hover {
  background: #555;
  color: #ffffff;
}
#menu-btn,
.nav-hidden {
  display: none;
}
}
  /*スマホヘッダー
　----------*/
@media (max-width: 800px) {
 
  header.header02 {
    width: auto;
  }
    #menu-btn{
     display: block;
     width: 30px;
     height: 20px;
     position: fixed;
     top: 1rem;
     right: 1rem;
     z-index: 3;
    }
    #menu-btn span,
    #menu-btn span::before,
    #menu-btn span::after {
     content: "";
     height: 2px;
     width: 100%;
     border-radius: 3px;
     background: #0451eb;
     position: absolute;
     transition: 0.2s;
    }
    #menu-btn span {
     top: 0;
    }
    #menu-btn span::before {
     top: 8px;
    }
    #menu-btn span::after {
     top: 16px;
    }
    #nav-input:checked~#menu-btn span {
     top: 8px;
     transform: rotate(45deg);
    }
    #nav-input:checked~#menu-btn span::before {
     opacity: 0;
    }
    #nav-input:checked~#menu-btn span::after {
     top: 0;
     transform: rotate(-90deg);
    }
    div.logo {
     width: 50px;
     height: 20px;
    }
    nav.nav {
     width: 300px;
     height: 100vh;
     position: fixed;
     top: 0;
     right: -100%;
     z-index: 2;
     background: #3357f8;
     transition: 0.5s;
    }
    nav.nav ul.item {
     display: block;
     padding: 4rem 2rem;
    }
    nav.nav ul.item li.list {
     padding-left: 0;
     padding-bottom: 1.5rem;
    }
    nav.nav ul.item li.list a{
      color: #eee7e7;
      font-family: Georgia, 'Times New Roman', Times, serif;
    }
   
    header.header02 #nav-input:checked~nav.nav {
     right: 0;
    }
    input[type="checkbox"]{
      display: none;
    }
   }
  

/*first-v
-------------------------------*/
.first-view{
  margin-top: 100px;
    margin-left: 50px;
    margin-right: 50px;
    height: calc(100vh - 150px);
    background-image: url(../images/homepagemain.png);
    background-size: cover;
}
@media (max-width: 800px) {
  .first-view{
    margin-top: 50px;
    margin-left: 0;
    width: 100%;
    height: 80vh;
    background-image: url(../images/sumahomein.png);
    background-size: cover;
  }
}

.example1 {
  margin: 50px 500px 0 200px;
  margin-top: 30px;
  font-size: 30px;
  font-family: Georgia, 'Times New Roman', Times, serif;
}
@media(max-width:800px){
  .example1{
    margin: auto;
    margin-top: 20px;
    font-size: 20px;
  }
}

/*アイコン
----------------*/
.images-bar {
  text-align: center;
  margin-top: 50px;
  width: 100%;
}
@media(max-width:800px){
  .images-bar {
    display: none;
  }
}
/*スマホバー
--------------*/
@media(min-width:801px){
  .sumahoimages-bar{
  display: none;
  }
}
@media(max-width:800px){
  .sumahoimages-bar{
    text-align: center;
    margin-top: 20px;
    width: 100%;
  }
}
/*固定バー
-----------------*/
@media(min-width:801px) {
.floating-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  display: block;
}
.floating-banner img {
  width: 1366px;
  height: auto;
}
}
@media(max-width:800px) {
  .floating-banner {
    display: none;
  }
}

/*水回り修理
-------------------*/
.feature {
  display: flex;
  justify-content: space-between;
  width: 800px;
  max-width: 90%;
  margin-top: 75px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 75px;
}
.feature img {
  width: 360px;
}
.feature-text{
  max-width: 500px;
  margin-right: 40px;
}
.reverse{
  flex-direction: row-reverse;
}
.reverse .feature-text {
  margin-left: 40px;
  margin-right: 0;
}
.feature-text h1 {
  font-size: 22px;
  font-weight: bold;
  line-height: 30px;
}
.feature-text h1::after{
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background-color: #000000;
  margin-top: 20px;
}
.feature-text p {
  font-size: 15px;
  line-height: 28px;
  margin-top: 25px;
}
@media(max-width:800px) {
  .feature {
    display: block;
  }
}
/*当社のいいところ
--------------*/

.tousyanoiitokoro{
  background-color: #616060;
}
.example2{
  margin: 50px 200px 0 200px;
  font-size: 50px;
  color: #fffdfd;
  font-family: Georgia, 'Times New Roman', Times, serif;
}
ul{list-style: none;}
.item-list2 {
    width: 930px;
    max-width: 90%;
    margin-top: 75px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 100px;
    display: grid;
    grid-template-columns: repeat(auto-fit, 240px);
    column-gap: 95px;
    row-gap: 70px;
    justify-content: center;
  }
  .item-list2 dl {
    margin-top: 20px;
    color: #ffffff;
  }
  
  .item-list2 dt {
    font-weight: bold;
    color: #ffffff;
  }
  
  .item-list2 dd {
    font-size: 13px;
    line-height: 20px;
    margin-top: 10px;
    color: #ffffff;
  }
  
  .item-list2 li {
    position: relative;
  }
@media(max-width:800px){
.example2 {
  margin: auto;
  margin-top: 70px;
  font-size: 40px;
  color: #ffffff;
  font-family: Georgia, 'Times New Roman', Times, serif;
}
.tousyanoiitokoro{
  background-image: none;
  background-color:#020080;
  width: auto;
  height: auto;
}
.center img{
  width: 300px;
}
.item-list2 {
  width: auto;
  margin-left: 10px;
  margin-right: 50px;
  display: grid;
  row-gap: 50px;
  justify-content: center;
}
.item-list2 dl {
  margin-top: 20px;
}
.item-list2 dt {
  color: #fff;
  font-size: 30px;
}
.item-list2 dd {
  color: #fff;
  font-size: 20px;
}
}

/*お客様の声
------------*/
.example3 {
  margin: 50px 500px 0 200px;
  margin-top: 30px;
  font-size: 40px;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.feature3 {
  display: flex;
  justify-content: space-between;
  width: 800px;
  max-width: 90%;
  margin-top: 75px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 75px;
}
.feature3 img {
  width: 200px;
}
.feature-text{
  max-width: 500px;
  margin-right: 40px;
}

.feature4 {
  display: flex;
  justify-content: space-between;
  width: 800px;
  max-width: 90%;
  margin-top: 75px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 75px;
}
.feature4 img {
  width: 360px;
}
.feature-text{
  max-width: 500px;
  margin-right: 40px;
}

  /*ボトムメニュー
  -----------------*/
@media (max-width:800px) {
  .botommenu {
    position: fixed;
    left: 0;
    bottom: 0;
    background: white;
    width: 100%;
    display: table;
    table-layout: fixed;
    padding: 5px;
    list-style: none;
    text-align: center;
  }
  .botommenu a span {
    display: block;
    font-size: 4px;
  }
  .botommenu li {
    display: table-cell;
  }
 }
 @media (min-width:801px){
  .botommenu {
   display: none; 
  }
 }

/*スライド
-----------*/
  .slider {
    width: auto;
    height: auto;
    display: flex;
    gap: 15px;
    overflow-x: auto;
    border: 5px solid #c0c0c0;
  }
  .slide img{
    width: 350px;
    height: 350px;
  }
  p {
    margin-top: 0;
    margin-bottom: 0;
    text-align: center;
  }
/*footer
-------------*/

@media(min-width: 801px){
  .footer {
    margin-bottom: 150px;
    background-color: #93e3f3;
  }
}
@media(max-width: 800px){
.footer{
  width: 100%;
  margin-bottom: 40px;
  background-color: #93e3f3;
  color: #ffffff;
}
.footer-logo{
  display: block;
  width: 80px;
}
.footer-tel{
  font-size: 30px;
  font-family: Georgia, 'Times New Roman', Times, serif;
}
.footer-time{
  font-size: 23px;
  font-family: Georgia, 'Times New Roman', Times, serif;
}
}

  



