@charset "utf-8";

.title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 60px;
  text-shadow: 0px 6px 12px #241c1c;
}

.title h1 {
  font-size: 32px;
  font-weight: bold;
}

.title p {
  font-size: 18px;
  margin-top: 15px;
}

.shop {
  width: 1080px;
  max-width: 90%;
  margin-top: 75px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-between;

}

.shop-contents {
  width: 1080px;
  max-width: 90%;
  margin-top: 75px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
}

.shop-item {
  flex-grow: 1;
  max-width: 765px;
}

.shop-item h2 {
  font-size: 22px;
  font-weight: bold;
  line-height: 30px;
}

.sidebar {
  flex-shrink: 0;
  margin-right: 60px;
  width: 200px;
  background-color: #f0f0f0;
  padding: 20px;
  box-sizing: border-box;
}

.sidebar h2 {
  margin-top: 0;
  margin-bottom: 15px;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar li {
  margin-bottom: 10px;
}

.sidebar a {
  text-decoration: none;
  color: #333;
}

.item-container {
  width: 930px;
  max-width: 90%;
   margin-top: 75px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, 240px);
  column-gap: 95px;
  row-gap: 70px;
  justify-content: space-around;
}

.item-container a {
  display: block;
  transition-duration: 0.2s;
}

.item {
  width: 300px;
  border: 1px solid #ccc;
  padding: 15px;
  box-sizing: border-box;
  text-align: center;
}

.item-container  a:hover {
  transform: scale(1.05);
}

.item img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.item-name {
  font-size: 20px;
  margin-bottom: 5px;
}

.item-kana {
  font-size: 10px;
  color: #777;
  margin-bottom: 10px;
}

.item-description {
  font-size: 15px;
  text-align: left;
  margin-bottom: 10px;
}

.recommended p {
  font-size: 11px;
}

.item-price {
  font-size: 16px;
  font-weight: bold;
}

.item-list {
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(auto-fit, 220px);
  column-gap: 50px;
  row-gap: 40px;
}

.item-list a {
  display: block;
  transition-duration: 0.2s;
}

.item-list a:hover {
  transform: scale(1.05);
}

.item-list dl {
  margin-top: 20px;
}

.item-list dt {
  font-weight: bold;
}

.item-list dd {
  font-size: 13px;
  line-height: 20px;
  margin-top: 10px;
}

.shop-menu {
  flex-shrink: 0;
  margin-right: 60px;
  /* position: relative; */
}

.shop-menu-inner {
  position: sticky;
  top: 30px;
  left: 0;
  right: 0;
}

.shop-menu-inner h2 {
  font-size: 18px;
  font-weight: bold;
}

.shop-menu-inner ul {
  list-style-type: disc;
  margin-top: 20px;
  margin-left: 20px;
}

.shop-menu-inner li {
  font-size: 14px;
  margin-top: 15px;
}

.item-area {
  margin-top: 20px;
  display: flex;
}

.item-area img {
  width: 50%;
  max-width: 380px;
}

.about-item {
  margin-left: 30px;
}

.about-item .item-text {
  font-size: 14px;
  line-height: 26px;
}

.about-item .item-price {
  font-weight: bold;
  margin-top: 20px;
}

.about-item a {
  background-color: #b7d0ff;
  display: inline-block;
  min-width: 180px;
  line-height: 40px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  margin-top: 35px;
}

.about-item a:hover {
  background-color: #8596b8;
}

.quantity-selector {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.quantity-selector label {
  margin-right: 10px;
}

.quantity-selector input[type="number"] {
  width: 60px;
  padding: 5px;
  text-align: center;
}

.gift-wrapping-selector {
  display: flex;
  align-items: center;
  margin-top: 10px;
  /* 数量指定欄との間隔を調整 */
}

.gift-wrapping-selector label {
  display: flex;
  align-items: center;
}

.gift-wrapping-selector input[type="checkbox"] {
  margin-right: 5px;
}

.recommended {
  margin-top: 60px;
}

.footer {
  margin-top: 100px;
}

@media (max-width: 768px) {
  .shop-contents {
    display: block;
    max-width: 100%;
    margin-top: 60px;
  }

  .shop-item {
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
  }

  .item-container {
    flex-direction: column;
    align-items: center;
    padding: 10px;
  }


  .item-list {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 35px;
  }

  .shop-menu {
    background-color: #f8f8f8;
    padding-top: 50px;
    padding-bottom: 50px;
    margin-top: 60px;
    margin-right: 0;
  }

  .shop-menu-inner {
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
  }

  .item-area {
    display: block;
  }

  .item-area img {
    width: 100%;
    max-width: 100%;
  }

  .about-item {
    margin-top: 20px;
    margin-left: 0;
  }

  .about-item a {
    width: 100%;
  }

  .footer {
    margin-top: 0;
  }
}