@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: #3656a7;
     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: #190af0;
     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;
  height: calc(100vh - 150px);
  background-image: url(../images/mizumoremain.png);
  background-size: cover;
}
@media (max-width: 800px) {
.first-view{
  width: 105%;
  height: 80vh;
  background-image: url(../images/sumahomizumore.png);
  background-size: cover;
}
}
/*アイコン
----------------*/
.images-bar {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
  width: 100%;
}
@media(max-width:800px){
  .images-bar {
    display: none;
  }
}

/*固定バー
-----------------*/
@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;
    }
  }
/*スマホバー
--------------*/
@media(min-width:801px){
  .sumahoimages-bar{
  display: none;
  }
}
@media(max-width:800px){
  .sumahoimages-bar{
    text-align: center;
    margin-top: 20px;
    width: 100%;
  }
}


/*タイル
--------*/
.grid {
    display: grid;
    gap: 2rem 1.5rem;
    grid-template-columns: repeat(4,1fr);
    text-align: center;
    margin-top: 100px;
    margin-left: 100px;
    margin-right: 100px; 
}
.item img {
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 16px;
    width: 200px;
}
.item  h1{
  margin-top: 50px;
  font-size: 20px;
  font-family: Georgia, 'Times New Roman', Times, serif;
}
@media(max-width:800px){
  .example{
    font-size: 20px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    text-align: center;
    margin-top: 30px;
  }
  .grid{
    display: grid;
    gap: 3rem 2rem;
    grid-template-columns: repeat(1,4fr);
    text-align: center;
  }
  .item-h1{
    font-size: 40px;
    font-family: Georgia, 'Times New Roman', Times, serif;
  }
  .item p{
    font-size: 20px;
    font-family: Georgia, 'Times New Roman', Times, serif;
  }
}


/*当社のいいところ
--------------*/

.tousyanoiitokoro{
  background-color: #555;
}
.example2{
  margin: 50px 200px 0 200px;
  color: #ffffff;
  font-size: 50px;
  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;
  margin-bottom: 20px;
}
.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: 40px;
}
.item-list2 dd {
  color: #fff;
  font-size: 20px;
}
}
/*修理以来の流れ
----------*/
@media(min-width:801px){
  .example3 {
    margin: 50px 50px 50px 50px;
  }
  .item-area {
      margin-top: 20px;
      margin-left: 100px;
      display: flex;
  }
  .item-area img {
    width: 200px;
  }
  .item-h{
    font-size: 30px;
    font-family: Georgia, 'Times New Roman', Times, serif;
  }
  .item-text{
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
  }
}
 @media(max-width:800px){
  .example3 {
    margin: 50px 50px 50px 30px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 40px;
  }
  .item-area {
      margin-top: 20px;
      display: flex;
  }
  .item-area img {
    width: 200px;
    height: 200px;
  }
  .item-h{
    font-size: 20px;
    font-family: Georgia, 'Times New Roman', Times, serif;
  }
  .item-text{
    font-size: 15px;
    margin-top: 15px;
    margin-bottom: 20px;
    font-family: Arial, Helvetica, sans-serif;
  }
}
/*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;
}
}
/*ボトムメニュー
  -----------------*/

  @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; 
    }
   }