html {
  scroll-behavior: smooth;
  -webkit-scroll-behavior: smooth;
  font-size: 62.5%;
  /*rem算出をしやすくするために*/
}

body {
  background-color: #000;
  color: #333;
  font-family: serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
  font-feature-settings: 'palt';
  -webkit-font-feature-settings: 'palt';
  color: var(--black);

  /* text-shadow: 2px 3px 3px rgba(252, 213, 188, 0.4); */
}

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

input,
button,
textarea,
select {
  -webkit-appearance: none;
  appearance: none;
}

img {
  width: 100%;
}

a {
  text-decoration: none;
}

ul,
ol {
  list-style-type: none;
  /* padding: 0; */
}

* {
  margin: 0;
  padding: 0;
}

.br_sp {
  display: block;
}

.br_pc {
  display: none;

}

@media (max-width: 768px) {
  .br_sp {
    display: none;

  }
}

@media (max-width: 768px) {
  .br_pc {
    display: block;

  }
}

.wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  justify-content: center;

}

.wrapper {
  position: relative;
  min-height: 100vh;
  /* padding-bottom: 100px; */
  background-color: #fff;
}

.kougei_wrapper {
  background-color: #fff;
}

/* ==================================
header
================================== */
header {
  width: 100%;
  padding: 5px;
  background-color: #150151;
}

.logo {
  background-color: #150151;
  text-align: center;
  margin: 0 auto;
}

header img {
  max-width: 80px;
  width: 100%;
}

/* overlay-styles.css */
.hamburger-overlay {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
  background-color: #150151;
  border-radius: 100vh;
}

.hamburger-overlay__line {
  position: absolute;
  left: 11px;
  width: 26px;
  height: 2px;
  background-color: #fff;
  transition: all .6s;
}

.hamburger-overlay__line:nth-of-type(1) {
  top: 14px;
}

.hamburger-overlay__line:nth-of-type(2) {
  top: 23px;
}

.hamburger-overlay__line:nth-of-type(3) {
  top: 32px;
}

.hamburger-overlay.active .hamburger-overlay__line {
  background-color: #fff;
}

.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(1) {
  transform: translateY(9px) rotate(-45deg);
}

.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(2) {
  opacity: 0;
}

.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(3) {
  transform: translateY(-9px) rotate(45deg);
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.95);
  visibility: hidden;
  opacity: 0;
  transition: all .6s;
  z-index: 900;
}

.nav-overlay.active {
  visibility: visible;
  opacity: 1;
}

.nav-overlay__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
}

.nav-overlay__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-overlay__item {
  opacity: 0;
  transform: translateY(20px);
  transition: all .6s;
}

.nav-overlay.active .nav-overlay__item {
  opacity: 1;
  transform: translateY(0);
}

.nav-overlay.active .nav-overlay__item:nth-child(1) {
  transition-delay: 0.1s;
}

.nav-overlay.active .nav-overlay__item:nth-child(2) {
  transition-delay: 0.2s;
}

.nav-overlay.active .nav-overlay__item:nth-child(3) {
  transition-delay: 0.3s;
}

.nav-overlay.active .nav-overlay__item:nth-child(4) {
  transition-delay: 0.4s;
}

.nav-overlay.active .nav-overlay__item:nth-child(5) {
  transition-delay: 0.4s;
}

.nav-overlay__link {
  display: inline-block;
  padding: 20px;
  color: #fff;
  font-size: 24px;
  text-decoration: none;
  transition: color .3s;
}

.nav-overlay__link:hover {
  color: #4a90e2;
}

/* ==================================
top
================================== */

.floating-banner_wrap {
  display: flex;
  flex-direction: column;
  position: fixed;
  z-index: 1;
  top: 60%;
  right: 0;
}

.floating-banner,
.floating-banner1 {
  transform: translateY(-50%);
  background-color: #2d1575;
  color: white;
  padding: 15px 40px 15px 30px;
  font-size: 18px;
  width: 60px;
  /* バナー幅 */
  height: auto;
  /* 高さを自動調整 */
  writing-mode: vertical-rl;
  /* 縦書き */
  display: flex;
  align-items: center;
  /* 縦方向中央揃え */
  justify-content: center;
  /* 横方向中央揃え */
  white-space: nowrap;
  /* テキストが折り返さないように */
  border-radius: 15px 0 0 15px;
}


.floating-banner a,
.floating-banner1 a {
  color: #fff;
}

.floating-banner a::before {
  font-family: "Font Awesome 6 Free";
  /*←ココ！！！！！！！*/
  font-weight: 900;
  content: "\f07a";
  padding-bottom: 5px;
}

.floating-banner1 a::before {
  content: '';
  display: inline-block;
  width: 1em;
  height: 1em;
  background-image: url('../img/instagram-brands.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  margin-bottom: 5px;

}

.floating-banner1 img {
  max-width: 80px;
  width: 100%;
  height: auto;
}

@media screen and (max-width:768px) {
  .floating-banner_wrap {
    display: none;
  }

}

.top_pc img {
  max-height: 800px;
  height: 100%;
}

.top_pc {
  display: block;
}

.top_sp {
  display: none;
}

@media (max-width: 768px) {
  .top_pc {
    display: none;
  }

  .top_sp {
    display: block;
  }
}

/* ==================================
バナー
================================== */
.visual {
  max-width: 1000px;
  width: 100%;
  text-align: center;
  margin: 100px auto 40px auto;
  padding: 5px;
}

.visual_txt {
  margin: 30px;
}

.visual h6 {
  font-size: 20px;
  letter-spacing: 0.12em;
}

.visual h4 {
  font-size: 30px;
  letter-spacing: 0.12em;
}

.visual p {
  margin-top: 20px;
  font-size: 18px;
}

@media (max-width: 768px) {
  .visual_txt {
    margin: 30px;
  }

  .visual h6 {
    font-size: 20px;
    letter-spacing: 0.12em;
  }

  .visual h4 {
    font-size: 25px;
    letter-spacing: 0.12em;
  }

  .visual p {
    margin-top: 15px;
    font-size: 15px;
    text-align: left;
  }
}

.reveal-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}

.reveal-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #150151, #c1c6f0);
  border-radius: 3px;
  transition: width 520ms cubic-bezier(.22, .9, .33, 1);
  will-change: width;
}

.reveal-underline.is-visible::after {
  width: 100%;
}

.reveal-underline.center::after {
  left: 50%;
  transform: translateX(-50%);
  width: 0;
}

.reveal-underline.center.is-visible::after {
  width: 60%;
}

.bunner {
  margin: 100px auto;
  text-align: center;
  max-width: 1000px;
}

.bunner-inner a img {
  width: 80%;
  padding: 0 10px;
  margin: 0 auto;
}


.bunner-sp {
  display: none;
}


@media (max-width: 768px) {
  .bunner {
    margin: 30px auto;
    text-align: center;
  }

.bunner-inner a img {
  width: 100%;
  padding: 0 10px;
  margin: 0 auto;
}

  .bunner-pc {
    display: none;
  }

  .bunner-sp {
    display: block;
  }

}

/* ==================================
富山の伝統工芸
================================== */
.tym_dentoukougei {
  background-color: #fff;
  color: #000;
  text-align: center;
  padding: 100px 0;
  max-width: 2000px;
  width: 100%;
  margin: 0 auto;
  max-width: 1000px;
  width: 100%;
}

.tym_dentoukougei h1 {
  font-size: 30px;
}

.densan {
  margin: 50px auto 10px auto;
}

.densan h2 {
  font-size: 28px;
}

.densan p {
  font-size: 18px;
}

@media (max-width: 768px) {
  .tym_dentoukougei h1 {
    font-size: 25px;
  }

  .densan {
    margin-top: 30px;
  }

  .densan h2 {
    font-size: 23px;
  }

  .densan p {
    font-size: 15px;
  }
}

.craft1-title {
  position: relative;
  display: inline-block;
  font-size: 1.8rem;
  text-align: center;
  font-weight: bold;
  letter-spacing: 0.05em;
}

.craft1-title::before,
.craft1-title::after {
  content: "●";
  font-size: 0.6em;
  color: #dd6503;
  margin: 0 0.5em;
  vertical-align: middle;
}

.craft1-btns {
  display: grid;
  justify-self: center;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px 100px;
  max-width: 1200px;
  margin: 20px auto 0 auto;
}

.craft1-btn {
  background: #fff;
  border: 2px solid #dd6503;
  color: #dd6503;
  padding: 1rem;
  font-size: 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.craft1-btn:hover {
  background: #dd6503;
  color: #fff;
}

@media (max-width: 768px) {
  .craft1-btns {
    padding: 10px;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .craft1-btns button {
    max-width: 600px;
    width: 100%;
    font-size: 17px;
  }
}


.craft2-title {
  position: relative;
  display: inline-block;
  font-size: 1.8rem;
  text-align: center;
  font-weight: bold;
  letter-spacing: 0.05em;
}

.craft2-title::before,
.craft2-title::after {
  content: "●";
  font-size: 0.6em;
  color: #035818;
  margin: 0 0.5em;
  vertical-align: middle;
}

.craft2-btns {
  display: grid;
  justify-self: center;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px 100px;
  max-width: 1200px;
  margin: 20px auto 0 auto;
  justify-content: center;
}

.craft2-btn {
  background: #fff;
  border: 2px solid #035818;
  color: #035818;
  padding: 1rem;
  font-size: 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.craft2-btn:hover {
  background: #035818;
  color: #fff;
}

@media (max-width: 768px) {
  .craft2-btns {
    padding: 10px;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .craft2-btns button {
    max-width: 600px;
    width: 100%;
    font-size: 17px;
  }
}


/* ========== ポップアップ全体 ========== */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  animation: fadeIn 0.3s ease;
}

/* ポップアップ中身 */
.popup-content {
  background: #fff;
  border-radius: 15px;
  max-width: 800px;
  width: 90%;
  padding: 2em;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
  position: relative;
}

/* 中身のレイアウト（2カラム） */
.popup-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px;
}

.popup-text1,
.popup-text2 {
  flex: 1;
  text-align: left;
}

.popup-text1 h3 {
  font-size: 25px;
  margin-bottom: 1rem;
  color: #dd6503;
}

.popup-text2 h3 {
  font-size: 25px;
  margin-bottom: 1rem;
  color: #035818;
}

.popup-text1,
.popup-text2 p {
  font-size: 18px;
  line-height: 1.7;
}

.popup-img img {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* スマホでは縦並びにする */
@media (max-width: 768px) {
  .popup-inner {
    flex-direction: column;
  }

  .popup-text1,
  .popup-text2 h3 {
    font-size: 23px;
  }

  .popup-text1,
  .popup-text2 p {
    font-size: 15px;
    text-align: left;
  }

  .popup-img img {
    max-width: 100%;
  }
}

/* 閉じるボタン */
.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: #555;
  transition: 0.3s;
}

.close-btn:hover {
  color: #000;
}

/* アニメーション */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ==================================
イベント
================================== */
#event {
  margin-top: 200px;
  text-align: center;
  background-color: #fff;
}

.event_inner {
  margin: 50px auto 100px;
}

.naiyou {
  margin: 50px auto;
  display: flex;
  max-width: 1000px;
  gap: 50px;
}

article {
  gap: 20px;
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 5px;
  box-sizing: border-box;
  box-shadow: 0 0 5px #999;
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  align-items: center;

  position: relative;
}

article figure {
  margin: 0 auto;
  max-width: 300px;

}

article figure img {
  max-width: 100%;
  vertical-align: top;
}

.info_a {
  color: black;
}

.text_content {
  margin-top: 15px;
  font-size: 15px;
  display: inline-block;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: .5em;
}

@media screen and (max-width:765px) {
  .naiyou {
    display: block;
  }

  article {
    max-width: 300px;
    width: 100%;
    flex-direction: column;
    gap: 1em;
    margin: 20px auto;

  }

  article figure {
    margin: 0 auto;
  }

  article figure img {
    vertical-align: top;
  }

  article h4 {
    margin-bottom: 10px;
  }
}



.news_item1 {
  background: #ffcc99;
  border-radius: 5px;
  width: 6em;
  text-align: center;
  padding: 0 10px;
  margin-left: 20px;
}

.btn_1 {
  display: grid;
  justify-content: end;
}

.moreLinkText {
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.moreLinkText:hover .lineArrow {
  border-bottom: 1px solid #ff4500;
  border-right: 1px solid #ff4500;
}

.moreLinkText:hover {
  color: #ff4500;
}

.lineArrow {
  width: 150px;
  height: 15px;
  border-bottom: 1px solid #000;
  border-right: 1px solid #000;
  transform: skew(45deg);
  margin: -10px 0 0 -25px;
}

.a_col {
  color: black;
}

.a_col:hover {
  color: #ff4500;
}

/* ==================================
フッター
================================== */

footer {
  background-color: #150151;
  color: #fff;
  text-align: center;
  /* position: absolute;
  width: 100%; */
}

.footer_txt {
  padding: 20px;
}

.footer_txt p {
  font-size: 14px;
  line-height: 1.5em;
}

footer h4 {
  font-size: 15px;
  margin-bottom: 0.5em;
}

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

  .footer_txt p {
    font-size: 10px;
    line-height: 2em;
  }

  footer h4 {
    font-size: 12px;
    margin-bottom: 1em;
  }

}

.footer_img img {
  max-width: 80px;
  width: 100%;
}

/* ==================================
富山の伝統工芸ー詳細ページ
================================== */
.title {
  text-align: center;
  padding-top: 50px;
}

.shosai {
  padding: 15px;
  max-width: 800px;
  width: 100%;
  margin: 20px auto;
  font-size: medium;
  display: flex;
}


.shosai p {
  margin-top: 10px;
}

.shosai_txt {
  text-align: left;

}

.shosai_img {
  max-width: 300px;
  width: 100%;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .shosai {
    display: block;
  }

  .shosai_txt {
    text-align: center;

  }

  .br_pc {
    display: block;
  }

}

.back_top {
  margin: 10px;
  text-align: center;
}

a.btn_12 {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  text-align: center;
  text-decoration: none;
  width: 120px;
  margin: auto;
  padding: 1rem 4rem 1rem 3rem;
  font-weight: bold;
  background: #000;
  color: #fff;
  border-radius: 100vh;
  position: relative;
  transition: 0.5s;
}

a.btn_12::before {
  content: '';
  width: 7px;
  height: 7px;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(45deg);
}

a.btn_12:hover {
  background: #6e6e6e;
  color: #fff;
}

/* ==================================
富山の伝統工芸品購入
================================== */

.kogeihin_wrapper {
  padding: 10px;
  background-color: #fff;
  margin: 0 auto;
}


.kogeihin_title {
  padding-top: 80px;
  margin: 0 auto;
  text-align: center;
  font-size: 20px;

}

.txt_s {
  font-size: 12px;
}

.kogeihin {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  font-size: 20px;
}

a.btn--brack {
  padding: 5px 20px;
  max-width: 180px;
  width: 100%;
  font-size: clamp(20px, 2.5vw, 25px);
  text-align: center;
}

a.btn--brack {
  color: #000;
  border: #000 1px solid;
}

a.btn--brack:hover {
  color: #fff;
  background: #000;
  border: #000 1px solid;
}

@media (max-width: 768px) {
  a.btn--brack {
    padding: 5px 20px;
    max-width: 150px;
    width: 100%;
    font-size: clamp(20px, 2.5vw, 25px);
    text-align: center;
  }
}

.kogeihin_subtitle {
  margin: 20px auto;
  color: #150151;
  padding: 0.5em 0;
  border-top: solid 3px #150151;
  border-bottom: solid 3px #150151;
  font-size: 30px;
  text-align: center;
}



.pagetop {
  height: 50px;
  width: 50px;
  position: fixed;
  right: 30px;
  bottom: 30px;
  background: #fff;
  border: solid 2px #150151;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.pagetop__arrow {
  height: 10px;
  width: 10px;
  border-top: 3px solid #000;
  border-right: 3px solid #000;
  transform: translateY(20%) rotate(-45deg);
}

/* ==================================
富山の伝統工芸品購入　
================================== */
.kensaku {
  display: flex;
  justify-content: space-around;
  margin: 5px auto;
  align-items: center;
}

@media (max-width: 600px) {
  .kensaku {
    display: block;
  }
}

.button001 a {
  background: #150151;
  border-radius: 3px;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 1em auto;
  max-width: 280px;
  padding: 10px 25px;
  color: #fff;
  transition: 0.3s ease-in-out;
  font-weight: 500;
}

.button001 a:hover {
  background: #fff;
  color: #150151;
  border: 1px solid #150151;
}

.button001 a:hover:after {
  border-color: #FFF;
}

.button001_active a {
  background: #fff;
  border: #150151 1px solid;
  border-radius: 3px;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  max-width: 280px;
  padding: 10px 25px;
  color: #150151;
  transition: 0.3s ease-in-out;
  font-weight: 500;
}

.kougeihin_flex {
  margin: 0px auto;
  padding: 30px 0px;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.tabs {
  display: flex;
  margin-bottom: 10px;
}

.tab {
  padding: 10px 15px;
  border: 1px solid #fff;
  border-bottom: none;
  cursor: pointer;
  background-color: #150151;
  margin-right: 2px;
  border-radius: 5px;
  color: #fff;
}

.tab.active {
  background-color: #fff;
  font-weight: bold;
  border: #150151 solid 1px;
  color: #150151;
  max-height: 1000px;
}

.tab-content {
  padding: 20px;
  display: none;
  background-color: #fff;
}

.tab-content.active {
  display: block;
}

@media (max-width: 600px) {
  .tabs {
    flex-direction: column;
    border-bottom: none;
  }

  .tab {
    margin-right: 0;
    margin-bottom: 2px;
    border-radius: 5px;
  }
}

.tab-content-wrapper {
  display: flex;
  flex-direction: column;
  /* 中身は縦並び */
  gap: 20px;
  /* 各ショップの間隔 */
}

.fair_shop-cont {
  max-width: 1000px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.shop-cont_item {
  max-width: 1000px;
  width: 100%;
  margin: 40px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background-color: #fff;
  border-radius: 10px;
  padding: 1em;
}

.shop-cont_txt {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1em;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  min-width: 200px;
}

.shop-cont_item h4 {
  max-width: 500px;
  width: 100%;
  font-size: clamp(18px, 1.375vw, 22px);
  font-weight: normal;
  text-align: left;
  padding: 0 0 10px 10px;
  border-bottom: 1px solid #150151;
  line-height: 1em;
}

.shop-cont_item h4 span {
  font-size: 14px;
}

.shop-cont_item ul.shop_information {
  font-size: clamp(16px, 1.125vw, 18px);
  text-align: left;
  padding: 0 1em;
}

.shop-cont_item ul li {
  line-height: 1.5em;
  padding-bottom: 1.5em;
}

.shop-cont_item ul.shop_information li.adress::before {
  content: '\f3c5';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  padding: 0 7px 0 0
}

.shop-cont_item ul.shop_information li.tel::before {
  content: '\f095';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  padding: 0 7px 0 0
}

.shop-cont_txt {
  padding-bottom: 25px;
}

.shop-cont_txt a {
  font-size: 20px;
  background-color: #150151;
  color: #fff;
  max-width: 150px;
  width: 100%;
  margin: 0 auto 15px auto;
  padding: .5em;
  border-radius: 10px;
}

.shop-cont_txt a:hover {
  opacity: .5;
}

.shop-cont_img {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 450px;
  border-radius: 10px;
}

.shop-cont_img p {
  text-align: center;
  font-size: 14px;
  padding-top: 5px;
}

@media screen and (max-width:765px) {
  .fair_shop-cont {
    gap: 150px;
  }

  .shop-cont_item {
    display: block;
    flex-direction: column;
    align-items: flex-start;
    background-color: none;
    border-radius: 0;
    padding: 0;
    box-shadow: 7px 7px 5px rgba(211, 211, 211, 0.767);

  }

  .shop-cont_item ul.shop_information {
    padding: 0 1.5em;
  }
}

.tab-contents-wrapper {
  min-height: 300px;
  /* 最大でもフッターが見えない高さ */
}

.gallery {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.gallery img {
  width: 100%;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  border-radius: 10px;
}

.controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 10px;
}

.controls button {
  background: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  padding: 8px;
  font-size: 18px;
}

.controls button:hover {
  background: rgba(255, 255, 255, 1);
}

.shop-cont_img.single img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
}

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

  /* ===== スライド画像部分 ===== */
  .shop-cont_img {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1em;
  }

  .gallery {
    display: flex;
    transition: transform 0.5s ease;
    width: calc(100% * var(--img-count));
    /* 画像枚数分の幅 */
  }

  .gallery img {
    width: 100%;
    flex-shrink: 0;
    display: block;
    object-fit: contain;
    border-radius: 10px;
  }

  .shop-cont_txt {
    max-width: 100%;
    padding: 0 1em;
    text-align: left;
  }

  .shop-cont_item {
    flex-direction: column;
  }
}

/* ==================================
ショップ一覧　
================================== */

.banner {
  display: block;
  width: 100%;
  max-width: 800px;
  margin: 30px auto;
  cursor: pointer;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  padding: 10px;
}

.banner:hover {
  transform: scale(1.03);
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  width: 90%;
  max-width: 700px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  position: relative;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
  color: #666;
  transition: 0.2s;
}

.close-btn:hover {
  color: #000;
}

.modal-content h2 {
  font-size: 18px;
  margin-top: 0;
  text-align: center;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
}

.shop-list {
  margin-top: 20px;
  display: grid;
  gap: 16px;
}

.shop-item {
  margin-top: 15px;
  background: #fafafa;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

/* 1行目：店名＋期間 */
.shop-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  border-bottom: 1px solid #150151;
}

.shop-name {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.shop-period {
  font-size: 14px;
  color: #777;
  display: flex;
  align-items: center;
  gap: 6px;
}

.shop-period i {
  color: #666;
}

/* 2行目：住所 */
.shop-address {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #555;
  margin: 4px 0;
}

/* 3行目：電話＋SNS */
.shop-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 4px;
}

.shop-tel {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #555;
  font-size: 14px;
}

/* SNSリンク（右寄せ・少し大きめ） */
.sns-links {
  display: flex;
  gap: 14px;
}

.sns-links a {
  color: #555;
  text-decoration: none;
  font-size: 25px;
  transition: 0.2s;
}

.sns-links a:hover {
  color: #000;
  transform: scale(1.1);
}

@media (max-width: 600px) {
  .shop-period {
    margin-top: -10px;
    font-size: 13px;
  }

  .shop-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .sns-links {
    margin-left: auto;
  }
}