@charset "utf-8";
h1{
  background: url(../images/circle.webp) no-repeat center;
  background-position: calc(50% - 185px) calc(50% + 5px);
  background-size: 96px auto;
}
h2{
  font-size: 30px;
  text-align: center;
  padding: 0;
  margin: 0;
  }
  p{
    text-align: left;
  }


.text{
  text-align: center;
  margin-bottom: 100px;
}

.tizu {
  position: relative;
  width: 100%;
  max-width: 1400px;
  aspect-ratio: 16 / 9;/* 背景の縦横比を維持 */
  margin: 0 auto;
  background: url(../images/tizu.webp) no-repeat center center;
  background-size: contain;
  background-color: #fff;
}


/* 各市町ピン */
.point {
  width: 30%;
  position: absolute;
  display: flex;
  align-items: center;/* 画像とテキストの垂直位置を揃える */
  gap: 15%;/* アイコンとテキストの間隔 */
  transform: translate(-50%, -50%);/* 中心で配置 */
}

.photo {
  width: 50%;
  height: auto;
}
.point a{
  width: 35%;
}
.point p {
  margin-top: 5px;
  background-color: #fff;
  border: 3px solid #A5B698;
  border-radius: 25px;
  padding: 5px 16px;
  font-size: 18px;
  text-align: center;
  transition: background-color .5s ease, color .5s ease;
}
.point a:hover p{
  background: none;
  background-color: #A5B698;
  color: #fff;
}

/* 各市町の位置指定（% は親要素 .tizu に対する比率） */
.taka {
  top: 25%;
  left: 29%;
}
.kasai {
  top: 60%;
  left: 23%;
}
.ono {
  top: 81%;
  left: 32%;
}
.nishiwaki {
  top: 36%;
  left: 68%;
}
.kato {
  top: 55%;
  left: 71%;
}
.miki {
  top: 79%;
  left: 71%;
}
.s_photo{
  display: none;
}

.kitaharima{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.kitaharima img{
  width: 100%;
}
.miryoku{
  width: 50%;
  text-align: center;
}
.area{
  width: 70%;
  margin: 0 auto;
}
.area_p{
  width: 80%;
  margin: 0 auto;
  margin-top: 100px;
}

.product{
  width: 30%;
}
.product_p{
  margin-top: 70px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-evenly
}

@media screen and (max-width: 900px) {
  h1{
  background-position: calc(50% - 125px) calc(50% + 10px);
  background-size: 64px auto;
  }
  h2{
    font-size: 24px;
  }
  p{
    text-align: left;
    margin-top: 10px;
  }
.text{
  width: 60%;
  margin: 0 auto;
  font-size: 16px;
  margin-bottom: 40px;
  margin-top: 40px;
  text-align: left;
  } 
  br.responsive-br{
    display: none;
  }
  .point p {
    border: 2px solid #A5B698;
    padding: 0 5px;
    font-size: 16px;
  }
  .product_p {
    display: block;
  }
  .product{
    margin: 0 auto;
    padding-bottom: 10px;
  }
  .miryoku{
    margin: 0 auto;
  }
  .product_p{
    margin-bottom: 80px;
  }
  .product_p:last-child{
    margin-bottom: 0;
  }
  .area_p{
    margin-top: 80px;
  }
}/* max-width: 900px */


@media screen and (max-width: 640px) {

h1{
  background-position: calc(50% - 125px) calc(50% + 10px);
  background-size: 64px auto;
}
p{
  text-align: left;
  margin-top: 10px;
}
.text{
  width: 80%;
  margin: 0 auto;
  margin-top: 40px;
  text-align: left;
  font-size: 14px;
  margin-bottom: 40px;
}
.tizu img{
    display: none;
  }
.point a{
  width: 80%;
}
.point p {
  padding: 0;
  font-size: 14px;
  border: none;
  }
.tizu .taka_p{
  background-image: url(../images/taka_botan.webp);
  background-size: cover;
}
.tizu .kasai_p{
  background-image: url(../images/kasai_botan.webp);
  background-size: cover;
}
.tizu .ono_p{
  background-image: url(../images/ono_botan.webp);
  background-size: cover;
}
.tizu .nishiwaki_p{
  background-image: url(../images/nishiwaki_botan.webp);
  background-size: cover;
}
.tizu .kato_p{
  background-image: url(../images/kato_botan.webp);
  background-size: cover;
}
.tizu .miki_p{
  background-image: url(../images/miki_botan.webp);
  background-size: cover;
}

.s_photo{
  display: flex; 
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.s_photo .photo{
  width: 23%;
  margin: 10px 0;
}
.miryoku{
  width: 80%;
}
}
/* max-width: 640px */




