body {
width: 100%;
background-image: url(./images/bg_main.png);
background-repeat:repeat;
margin: 0;
font-family: sans-serif;
color: #333;
}

#contents {

      background-position: left top;
    background-repeat: repeat;
}

img {
  width: 100%;
}


.container img {
  width: 100%;
}

h2 {
  font-family: serif;
  margin-bottom: 50px !important;
  font-size: 30px;
}

.main {
  width: 100%;
  position: relative;
}

.main img {
  width: 100%
}

.main p {
  position: absolute;
  top: 16%;
  left: 13%;
  z-index: 999;
  color: #fff;
  font-weight: bold;
  font-size: 2.2vw;
  font-family: serif;
  line-height: 2em;
}

.main p span {
  font-size: 1.5vw
}

.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 10px; /* 余白 */
  margin: 70px auto;
  font-family: serif;
    align-items: stretch;


}

.menu p {
  width: 22%;
  border: 1px solid #c1beb9;
  padding: 10px;
  text-align: center;
  margin:0;
  display: -webkit-box;
display: -ms-flexbox;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
}


.menu a{
  text-decoration: none;
  color: #333
}

.menu a:hover {
  text-decoration: none;
  color: #333
}

.content01 {
  background-image: url('images/bk02.png');
  width: 100%;
  padding: 150px 0 0;
}

.col2 {
  display: flex;
  gap: 8%;
  flex-wrap: wrap;
  justify-content: center;
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
}

.col2-1 {
  width: 35%;
  margin-bottom: 135px;
}

.col2-1 img {
  padding-bottom: 20px;
  border-bottom: 1px solid #646464
}

.number {
  background-color: #646464;
  padding: 5px;
  color: #fff;
  width: 21px;
  text-align: center;
}

h3 {
  font-size: 24px;
  margin: 22px 0;
}

.anzen-text {
  font-size: 16px;
  line-height: 1.8em;
}

.content2 {
  padding: 100px 0;
  text-align: center;
}

.subtitle {
  font-weight: bold;
}

.onegai-list li{
  width: fit-content;
      margin: auto;
      line-height: 2em;
      font-size: 16px;
}
.content3 {
  width: 100%;
  background-image: url('images/foot.jpg');
      background-size: cover;
}

.content3 img {
  width: 100%
}

.aisatu {
  color: #fff;
  font-weight: bold;
  font-size: 2.2vw;
  font-family: serif;
  line-height: 1.8em;
  padding: 100px ;
}

.aisatu h2 {
  font-size: 30px;
  color: #fff;
}


.aisatu p {
  font-family: sans-serif;
  font-weight: normal;
  font-size: 16px
}

.footer_innew figure img {
  width: 300px;
}



@media (max-width: 500px) {
.main p {
  font-size: 16px;
  top: 8%;
  left: 6%;
  line-height: 1.5em
}

  .col2-1 {
    width: 100%;
  }

  .onegai-list {
    padding-right: 20px;
  }

  .aisatu {
    padding: 35px;
    line-height: 2.5em;
  }



}
