@charset "utf-8";

#vdbanner{
width:0;
height:0;
}

.title {
  /* flexboxをここで使う */
  display: flex; /* flexを使うときに並べたいものの親にかける */
  flex-direction: column;
  /* 横並びの方向を縦に */
  align-items: center;
  /* 方向がcolumnの場合は、左右の中央 */
  margin-top: 60px;
}
/* concept.cssからコピーしてきたもの */
.title h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 32px;
  font-weight: bold;
}
.title p {
  font-size: 14px;
  margin-top: 15px;
}
/* コンテンツ全体を囲んでいるdiv */
.shop-contents {
  width: 1080px;
  max-width: 90%;
  /* 左右には必ず５％の隙間が確保でき、幅は最大１０８０ｐｘ */
  margin: 75px auto 0;
  /* marginのショートハンド　上　左右　下 */
  /* margin左右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;
  /* 目安は 1.5 ~ 2 */
  line-height: 30px;
}
.shop-item h2::after {
  /* before/after使うとき絶対いるやつ */
  content: "";
  /* before/afterは元々インラインなのでブロックに変換 */
  display: block;
  width: 36px;
  height: 3px;
  background-color: #000;
  margin-top: 20px;
}
/* アイテムをグリッドで並べる */
.item-list {
  /* アイテムを囲んでいる箱 */
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(auto-fit, 220px);
  /* 1つのグリッドの大きさは２２０ｐｘで1行に何列入るかは、自動的に設定される */
  column-gap: 50px; /* 列方向の隙間 */
  row-gap: 40px; /* 行方向の隙間 */
}
.item-list a {
  display: block;
  /* クリックエリアを全体に */
  transition: 0.2s;
  /* すべての変化する要素を0.2秒（ｓは秒 msは 1／1000秒)で滑らかな動きにする */
}
.item-list a:hover {
  /* マウスが乗った時の状態 */
  /* transform: scale(1.05); */
  /* 要素が１．０５倍になる
    scale:1.05;
    */
  scale: 1.05;
}

/* index.cssからコピー */
.item-list dl {
  margin-top: 20px;
}
.item-list dt {
  font-weight: bold;
}
.item-list dd {
  font-size: 13px;
  line-height: 20px;
  margin-top: 10px;
}
/* サイドバーのCSS */
.shop-menu {
  flex-shrink: 0;
  /* 縮まらない */
  margin-right: 60px;
}
.shop-menu-inner {
  /* スクロールしても上にとどまる */
  position: sticky;
  top: 30px;
  /* 上から30pxの位置に固定 */
  left: 0;
  right: 0;
}
.shop-menu-inner h2 {
  font-size: 18px;
  font-weight: bold;
}
.shop-menu-inner ul {
  list-style: disc;
  /* 黒丸を追加 */
  margin: 20px 0 0 20px;
}
.shop-menu-inner li {
  font-size: 14px;
  margin-top: 15px;
}

/* 詳細ページスタイル */
.item-area {
  display: flex;
  margin-top: 20px;
}
.item-area img {
  width: 50%;
  max-width: 380px;
  /* 親要素の５０％サイズなんですが、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: #f4dd64;
  display: inline-block;
  min-width: 180px;
  line-height: 48px;
  border-radius: 24px;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  text-align: center;
  margin-top: 35px;
}
.about-item a:hover {
  background-color: #d8b500;
}

.recommended {
  margin-top: 60px;
}
.footer {
  margin-top: 100px;
}

/* =========================
 レスポンシブ
========================= */
@media (max-width: 520px) {
  body {
    width: 100%;
  }
  .title h1 {
    font-size: 1.8rem;
  }
  .title p {
    font-size: 1rem;
    margin-top: 10px;
  }
  .shop-contents {
    width: 100%;
  }
  .shop-item {
    width: 70vw;
  }

  .shop-item h2 {
    font-size: 1rem;
  }
  .item-list {
    margin-top: 25px;
  }
  .item-group ul li{
    display: block;
  }
  .item-list a {
    transition: 0.2s;
  }
  .item-list a:hover {
    scale: 1.05;
  }

  /* index.cssからコピー */
  .item-list dl {
    margin-top: 20px;
  }
  .item-list dt {
    font-weight: bold;
  }
  .item-list dd {
    font-size: 0.8rem;
  }
  /* サイドバーのCSS */
  .shop-menu {
    margin: 8px auto;
  }
  .shop-menu-inner {
    position: sticky;
    top: 30px;
    left: 0;
    right: 0;
  }
  .shop-menu-inner h2 {
    font-size: 1rem;
  }
  .shop-menu-inner ul {
    width: 30vw;
    margin: 20px 0 0 10px;
  }
  .shop-menu-inner li {
    font-size: 0.7rem;
    margin-top: 15px;
  }

  /* 詳細ページスタイル */
  .item-area {
    display: flex;
    margin-top: 20px;
  }
  .item-area img {
    width: 50%;
    max-width: 380px;
    /* 親要素の５０％サイズなんですが、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: #f4dd64;
    display: inline-block;
    min-width: 100px;
    line-height: 48px;
    border-radius: 24px;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    text-align: center;
    margin-top: 35px;
  }
  .about-item a:hover {
    background-color: #d8b500;
  }

  .recommended {
    margin-top: 60px;
  }
  .footer {
    margin-top: 100px;
  }
}
