@charset "UTF-8";

html {
  font-size:  62.5%;
  }

body {
    max-width: 1000px;
    height: auto;
    margin: auto;
    /* background-image: linear-gradient(#00c0dc,#fffac2); */
    line-height: 2;
}

img {
  max-width: 100%;
  height: auto;
}

a{
  text-decoration: none;
  color: black;
  font-weight: bold;
  font-size: 2.3rem;
}

a:hover{
  text-decoration: underline;
}

p {
    font-family: "Noto Sans JP";
    color: black; font-size: 2rem;
    padding: 0;
}

h1{
    font-family: 'Caveat', cursive;
    font-size: 3rem;
    color: black;
    margin-top: 0;
    margin-bottom: 0;
}

h2{
    font-family: 'Caveat', cursive;
    font-size: 2.5rem;
    color: black;
}

h3{
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    color: black;
}

h4{
  font-family: 'Caveat', cursive;
  font-size: 5rem;
  color: black;
  margin-top: 0%
  margin-bottom: 0%;
  line-height: 0;
}

.comment{
    text-align: center;
    line-height: 1.8;
}


.container {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr) ;
  margin-top: 3%;
  margin-bottom: 5%;
 }

.item {
  text-align: center;
  margin: 0,5%,0;
}

.containermenubar {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 3% 2%;
  line-height: 0;
}

.intro{
  margin: 0% 5% 0%;
}

.company.p{
  width: 70%;
  font-size: 2rem;
  align-items: center;

}

.header{
  text-align: center;
  margin: auto;
}


.banner{
  display: flex;

}

.slide{
  float: left;
  width: 60%;
  margin-left: 5%;
}

.slide-right{
  float: right;
  width: 30%;
  margin: 0 5%;
}

.master{
   margin-bottom: 10%;
   /* margin-right: 5%; */
}

.diary{
  /* width: 30%; */
  /* margin: 10% 10%; */
}

.copy{
    margin: 0 auto;
    width: 30%;
}

.catch{
  text-align: center;
  margin: 5% 10%;
}

.sns {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  margin-bottom: 0;
}

.service{
  text-align: center;
  margin: 0 10%;
}

.speech{
  /* display: flex;
  align-items: flex-start; */
  text-align: center;
  margin: 0 5%;
}

/* .sentence{
  width: 50%;
  text-align: left;
  display: block;
} */

/* .pic{
  width: 40%;
  text-align: center;
} */

.question{
  text-align: center;
  display: block;
  margin: 0 5%;
}

.sentence2{
  text-align: left;
  display: inline-block;
}

.address{
  text-align: right;
  margin-right: 5%;
}

.store{
  display: flex;
  justify-content: center;
  /* margin-bottom: 10%; */
}

.map{
  display: flex;
  justify-content: center;
}

.itembox2 {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);
  margin: 3% 13% 0%;
  justify-content: space-around;
}

.itembox3 {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
  margin: 3% 3% 0%;
}

.form{
  text-align: center;
  margin: 5% 0 10% 0;
}

.button{
  color: #FFFFFF;
  background-color: #026FFE;
  border-radius: 5px;
  border-color: transparent;
}

.thanks{
  text-align: center;
}

.img{
  width: 45%;
  margin: auto;
}

@media (max-width: 700px) {
  p{
    font-size: 1.5rem;
  }
  p2{
    font-size: 2.5rem;
  }
  a{
    text-decoration: none;
    color: black;
    font-weight: bold;
    font-size: 1.8rem;
  }
  h1{
    font-size: 2.5rem;
  }
  h2{
    font-size: 2rem;
  }

  .containermenubar {
    display: grid;
    gap: 5px;
    grid-template-columns: repeat(3, 1fr) ;
    justify-content:
  }

  .banner{
    display: flex;
    flex-direction: column;
  }

  .slide{
    margin: auto;
    width: 80%;
  }
  .slide-right{
    display: flex;
    width: 70%;
    /* margin: 15% 10% 0 20%; */
    margin: auto;
  }

  .master{
    margin-bottom: 0%;
    margin-right: 5%;
    margin-top: 48px;

  }

  .diary{
    margin-bottom: 0%;
    margin-left: 5%;
    margin-top: 48px;
  }

  .speech{
    display: flex;
    flex-direction: column;
    margin: 0 5%;
  }

  .sentence{
    width: 100%;
    display: block;
  }

  .pic{
    width: 100%;
    text-align: center;
  }

  .store{
    display: flex;
    justify-content: center;
    margin: 0 5%;
  }

  .map{
    display: flex;
    justify-content: center;
    margin: 0 5%;
  }

  .process{
    display: flex;
    flex-direction: column;
    margin: 3%;
  }
}