@charset "utf-8";

main {
  width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.main h2, .main p, .main ul, tbody{
  font-family: "Google Sans Flex", sans-serif;
}

/* カートゾーンここから */
.list {
  display: flex;
  width: 400px;
  height: 40px;
  margin: 10px 0;
  justify-content: space-between;
  align-items: center;
}

.orders {
  display: flex;
  width: 300px;
  align-items: center;
  justify-content: space-between;
  font-family: "Google Sans Flex", sans-serif;
}

.orders button {
  height: 25px;
  background: #ffd0cc;
  border: 1px solid #f39f89;
  border-radius: 7px;
}

.minus_btn {
  width: 30px;
}

.orders input {
  width: 40px;
  height: 25px;
  text-align: center;
}

.plus_btn {
  width: 30px;
}

.in-cart {
  width: 300px;
  height: 30px;
  display: flex;
  justify-content: right;
}

button:hover {
  background-color: #f39f89;
}

.add-to-cart {
  width: 150px;
  background-color: #ffd0cc;
  border: 1px solid #f39f89;
  border-radius: 15px;
  text-align: center;
  cursor: pointer;
}

.add-to-cart:hover {
  background-color: #f39f89;
}

.in-cart {
  text-align: center;
}
/* カートゾーンここまで */

#contents {
  position: relative;
}
.goods-mono {
  width: 100%;
  height: 1400px;
}
#img-goods {
  margin: 30px 30px 40px 50px;
  float: left;
  width: 100%;
  height: 300px;
}
#img-goods img {
  width: 550px;
  height: 550px;
  object-fit: cover;
  margin: 20px 20px 20px 0;
}
#goods-gazou {
  display: flex;
}
#goods-gazou img {
  width: 123px;
  height: 123px;
}
#goods-syousai {
  position: absolute;
  max-width: 35%;
  right: 6%;
  top: 2%;
  align-items: flex-start;
}

#goods-syousai h2{
  margin-top: 30px;
  margin-bottom: 30px;
}

.syouhincode{
  margin: 15px 0;
}

.gaiyou-syouhintokutyou {
  font-size: 1rem;
  line-height: 1.7;
  margin-top: 30px;
  margin-bottom: 60px;
}

.ko {
  position: relative;
  height: 30px;
  margin: 10px 0;
}

#nedan {
  position: absolute;
}
#tani {
  position: absolute;
  left: 70%;
}

.pref {
  position: absolute;
  left: 50%;
  width: 60px;
  height: 150%;
  border-radius: 10px;
}

.gaiyou-naiyouryou-midashi {
  font-size: 1rem;
  margin: 16px 0;
}

/* .gaiyou-naiyouryou{
  font-size: 0.80rem;
  line-height: 1.5;
  margin-bottom: 20px;
} */

.gaiyou-seibun {
  font-size: 1rem;
  margin: 16px 0;
}

/* .gaiyou-seibun-midashi{
  font-size: 0.8rem;
  line-height: 1.5;
  margin-bottom: 2px;
  font-weight: bold;
} */

/* .gaiyou-seibun-naiyou{
  font-size: 0.8rem;
  line-height: 1.5;
  margin: 10px 0px 10px 0px;
} */

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  width: 35%;
  font-size: 0.8rem;
  line-height: 1.5;
  font-weight: normal;
  background-color: #f7f7cf;
}
td {
  font-size: 0.8rem;
  line-height: 1.5;
  padding: 10px 10px;
}

.goods-gaiyou {
  margin-bottom: 30px;
  font-size: 1.5rem;
}

.goods-gaiyou li {
  margin: 8px 0;
  
}

.code li{
  margin: 10px 0;
  font-size: 1rem;
}

.kakaku{
  margin-top: 6px;
  margin-bottom: 30px;
  font-size: 1.2rem;
}

#goods-button {
  margin: 30px 0;
  text-align: center;
}
.cart {
  display: inline-block;
  min-width: 400px;
  line-height: 2;
  font-size: 1.5rem;
  background-color: #f39f89;
  border-radius: 10px;
}
#goods-sonota {
  width: 1200px;
  margin: 0 auto;
}
#goods-sonota img {
  width: 200px;
  height: 200px;
}
#gazou-sonota {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  border-top: 3px solid #f39f89;
  margin-left: 55px;
  margin-right: 55px;
}
#gazou-sonota img {
  width: 350px;
  height: auto;
  margin: 40px 20px 40px 20px;
  border: 1px solid #000;
  border-radius: 12px;
}

/* #goods-gazou-1:hover{
  transform: scale(2.0);
}
#goods-gazou-2:hover{
  transform: scale(2.0);
}
#goods-gazou-3:hover{
  transform: scale(2.0);
}
#goods-gazou-4:hover{
  transform: scale(2.0);
} */

/* ポップアップのオーバーレイ */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  animation: fadein 0.3s ease;
}

.popup-overlay.active {
  display: flex;
}

@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ポップアップのコンテンツ */
.popup-content {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  animation: zoomin 0.3s ease;
}

@keyframes zoomin {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.popup-content img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 4px;
}

/* 閉じるボタン */
.close-button {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: rgb(235, 255, 202);
  font-size: 40px;
  cursor: pointer;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.close-button:hover {
  transform: scale(1.2);
}

/* ナビゲーションボタン */
.nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  color: rgb(235, 255, 202);
  font-size: 60px;
  width: 60px;
  height: 60px;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.nav-button:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

.nav-button.prev {
  left: 20px;
}

.nav-button.next {
  right: 20px;
}

/* 画像カウンター */
.image-counter {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 16px;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 8px 16px;
  border-radius: 20px;
}

footer {
  background-color: #ffd0cc;
}
