@media (max-width: 350px) {
  html, body {
    font-size: 9px;
  }
}

a {
  transition: all 0.3s;
}
a:hover {
  cursor: pointer;
  opacity: 0.7;
}

.p-hanshin {
  padding-top: 8.8rem;
}
@media screen and (max-width: 767px) {
  .p-hanshin {
    padding-top: 14.5rem;
  }
}

.p-hanshin-top__inner {
  background-image: url(../images/hanshin/top-bg.jpg);
  background-size: cover;
  background-position: top center;
  background-repeat: repeat-y;
  padding-top: 5.5rem;
  padding-bottom: 8.8rem;
}
@supports (background-image: url(../images/hanshin/top-bg.webp)) {
  .p-hanshin-top__inner {
    background-image: url(../images/hanshin/top-bg.webp);
  }
}
@media screen and (max-width: 767px) {
  .p-hanshin-top__inner {
    padding-top: 2rem;
    padding-bottom: 4rem;
  }
}
.p-hanshin-top__contents {
  width: 90%;
  max-width: 96rem;
  margin-inline: auto;
  position: relative;
  background: #fff;
  padding-top: 7.4rem;
  padding-bottom: 6.4rem;
  padding-inline: 6.4rem;
  border-radius: 10px;
}
@media screen and (max-width: 767px) {
  .p-hanshin-top__contents {
    padding-top: 4rem;
    padding-bottom: 4rem;
    padding-inline: 2rem;
  }
}
.p-hanshin-top__contents:before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  height: 1.2rem;
  background: #FE641C;
}
@media screen and (max-width: 767px) {
  .p-hanshin-top__contents:before {
    height: 0.6rem;
  }
}
.p-hanshin-top__title {
  color: #FE641C;
  font-size: 4rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.4rem;
}
@media screen and (max-width: 767px) {
  .p-hanshin-top__title {
    font-size: 2.4rem;
    margin-bottom: 1rem;
  }
}
.p-hanshin-top__tagline {
  color: #FE641C;
  font-size: 2.4rem;
  line-height: 1.4166666667;
  text-align: center;
  font-weight: 700;
  margin-bottom: 5.6rem;
}
@media screen and (max-width: 767px) {
  .p-hanshin-top__tagline {
    font-size: 1.6rem;
    margin-bottom: 3.2rem;
  }
}
.p-hanshin-top__text {
  font-family: "Noto Serif JP", serif;
  font-size: 1.6rem;
  line-height: 1.4375;
}
@media screen and (max-width: 767px) {
  .p-hanshin-top__text {
    font-size: 1.4rem;
    line-height: 1.5;
  }
}
.p-hanshin-top__book-image {
  width: 35rem;
  margin-inline: auto;
  margin-top: 8.8rem;
  margin-bottom: 4.2rem;
}
@media screen and (max-width: 767px) {
  .p-hanshin-top__book-image {
    width: 100%;
    margin-top: 4rem;
    margin-bottom: 2rem;
  }
}
.p-hanshin-top__book-title {
  font-size: 2.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.9rem;
}
@media screen and (max-width: 767px) {
  .p-hanshin-top__book-title {
    font-size: 2rem;
    margin-bottom: 1.6rem;
  }
}
.p-hanshin-top__book-title span {
  font-size: 2.2rem;
  margin-left: 0.4rem;
}
@media screen and (max-width: 767px) {
  .p-hanshin-top__book-title span {
    font-size: 1.6rem;
    display: block;
    margin-top: 0.4rem;
  }
}
.p-hanshin-top__book-text {
  font-family: "Noto Serif JP", serif;
  font-size: 1.6rem;
  line-height: 1.4375;
  margin-bottom: 1.7rem;
}
@media screen and (max-width: 767px) {
  .p-hanshin-top__book-text {
    font-size: 1.4rem;
    line-height: 1.5;
  }
}
.p-hanshin-top__book-source {
  width: fit-content;
  margin-inline: auto 0;
  text-align: right;
}
.p-hanshin-top__book-source-text {
  font-size: 1.4rem;
  margin-bottom: 0.7rem;
  color: #666666;
}
@media screen and (max-width: 767px) {
  .p-hanshin-top__book-source-text {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
  }
}
.p-hanshin-top__book-source-link {
  font-size: 1.4rem;
  font-weight: 700;
}
@media screen and (max-width: 767px) {
  .p-hanshin-top__book-source-link {
    font-size: 1.3rem;
  }
}
.p-hanshin-top__banner-links {
  margin-top: 5.4rem;
  width: 51.2rem;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media screen and (max-width: 767px) {
  .p-hanshin-top__banner-links {
    grid-template-columns: 1fr;
    width: 75%;
    gap: 1.6rem;
    margin-top: 3.2rem;
  }
}

.p-hanshin-shops__container {
  padding-top: 11.6rem;
  max-width: 80.2rem;
  margin-inline: auto;
}
@media (max-width: 950px) {
  .p-hanshin-shops__container {
    width: 80vw;
  }
}
@media (max-width: 850px) {
  .p-hanshin-shops__container {
    width: 90vw;
  }
}
@media screen and (max-width: 767px) {
  .p-hanshin-shops__container {
    width: 90%;
    padding-top: 2rem;
  }
}
.p-hanshin-shops__title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 2.9rem;
}
@media screen and (max-width: 767px) {
  .p-hanshin-shops__title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    padding-left: 0.8rem;
  }
}
.p-hanshin-shops .shop-list-sec {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px #ccc solid;
}
.p-hanshin-shops .shop-list {
  width: 100%;
  border: none;
  column-gap: 2rem;
  row-gap: 2rem;
}
@media screen and (max-width: 767px) {
  .p-hanshin-shops .shop-list {
    row-gap: 0.8rem;
  }
}
.p-hanshin-shops .shop-list .card {
  width: 100%;
  border-radius: 5px;
  box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.16);
}

footer.footer {
  background: #f5f5f5;
  position: relative;
  border: none;
}

@media screen and (max-width: 767px) {
  .p-hanshin-shop-photo .gallery-container {
    padding-top: 8rem;
  }
}

/*# sourceMappingURL=hanshin.css.map */
