@charset "utf-8";

/* =========================================================
共通
============================================================ */
.miyagisakeModal {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 11;
  position: fixed;
  left: 0;
  height: 100%;
}

.miyagisakeModal .miyagisakeModalOverlay {
  background: rgba(0, 0, 0, .5);
  height: 100%;
}

.miyagisakeModal .miyagisakeModalContent {
  background-color: #fff;
  left: 50%;
  margin: auto;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  z-index: 2;
  max-height: 90%;
  overflow-y: auto;
}

.miyagisakeModal .miyagisakeModalContentWrap {
  max-height: 90%;
  overflow-y: auto;

}


/*スクロールバー*/
.miyagisakeModal .miyagisakeModalContent::-webkit-scrollbar {
  width: 5px;
}

/*スクロールバーの背景色・角丸指定*/
.miyagisakeModal .miyagisakeModalContent::-webkit-scrollbar-track {
  background-color: #efefef;
}

/*スクロールバーの色・角丸指定*/
.miyagisakeModal .miyagisakeModalContent::-webkit-scrollbar-thumb {
  background: #ccc;
}

.miyagisakeModal .miyagisakeModalHeader {
  background: #efefef;
  padding: 20px 0;
  text-align: center;
  width: 100%;
  margin-top: -22px;
}

.miyagisakeModal .miyagisakeModalTtl {
  font-size: 20px;
  font-weight: bold;
  margin: 5px 0;
  text-align: center;
}

.miyagisakeModal .miyagisakeModalBody {
  box-sizing: border-box;
  padding: 1.3em;
}

.miyagisakeModal .miyagisakeModalClose {
  cursor: pointer;
  display: block;
  position: sticky;
  top: 5px;
  left: calc(100% - 25px);
  width: 22px;
  height: 22px;
}
 
.miyagisakeModal .miyagisakeModalClose::before,
.miyagisakeModal .miyagisakeModalClose::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 22px;
  background: #000;
}
 
.miyagisakeModal .miyagisakeModalClose::before {
  transform: translate(-50%,-50%) rotate(45deg);
}
 
.miyagisakeModal .miyagisakeModalClose::after {
  transform: translate(-50%,-50%) rotate(-45deg);
}

.miyagisakeModal .breweryHead {
  border: 1px solid #678e37;
  font-size: 16px;
  margin-bottom: 10px;
}

.miyagisakeModal .breweryHeadText {
  padding: 10px;
  display: block;
  color: #678e37;
  text-align: center;
}

.miyagisakeModal .brewerySection:not(:last-child) {
  margin-bottom: 20px;
}

.miyagisakeModal .breweryList {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  font-size: 14px;
  gap: 10px 5px;
}

.miyagisakeModal .breweryItem a {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.miyagisakeModal .breweryItem span {
  display: block;
  text-align: center;
  line-height: 1.4;
}

.miyagisakeModal .itemImage {
  max-height: 120px;
  margin-bottom: 2px;
}

.modalFixBody {
  overflow: hidden;
  height: 100vh;
  width: 100vw; 
}

@media screen and (max-width: 767px) {
  .miyagisakeModal .miyagisakeModalContent {
    width: 90%;
  }

  .miyagisakeModal .breweryHeadText {
    padding: 5px 0;
    font-size: 15px;
}
}

/* svg */ 
g.miyagisakeCity,
path.miyagisakeCity {
  cursor: pointer;
  pointer-events:all;
  transition: fill .2s ease-in-out;
  fill: rgb(255 255 255 / 0);
  -webkit-tap-highlight-color: transparent;
}
@media screen and (max-width: 767px) {
  g.miyagisakeCity,
  path.miyagisakeCity {
    fill: rgb(103 142 55 / 40%);
    stroke: #3c5d11;
    stroke-width: 5px;
    stroke-miterlimit: 10;
  }
}

g.miyagisakeCity:hover,
path.miyagisakeCity:hover {
  fill: #678e37;
  fill: rgb(103 142 55 / 40%);
}

@media screen and (max-width: 767px) {
  g.miyagisakeCity:hover,
  path.miyagisakeCity:hover {
    fill: rgb(103 142 55 / 20%);
  }
}
/* svg */ 
