@charset "utf-8";


.title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 60px;
}

.title h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 32px;
  font-weight: bold;
}

.title p {
  font-size: 14px;
  margin-top: 15px;
}
main {
  padding-top: 120px;
}
/* エリア全体の幅と配置を指定する */
.shop-contents {
  padding-top: 50px;
  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 {
  /* フレックスアイテムに拡張機能。多分、justify-contentでspace-between使っているから？
  メインコンテンツの幅を指定する,ブラウザの幅に応じてエリアが拡大する〜この場合、幅が左に広がる */
  flex-grow: 1;
  max-width: 765px;
}

.shop-item-top h2 {
  font-size: 22px;
  font-weight: bold;
  line-height: 30px;
}

.shop-item-top h2::after {
  content:'';
  /* 擬似要素はデフォルトではインライン要素なのでblock指定 */
  display: block;
  width: 70px;
  height: 3px;
  background-color: #000000;
  margin-top: 20px;
}
.item-group h2 {
  font-size: 22px;
  font-weight: bold;
  line-height: 30px;
}

.item-group h2::after {
  content:'';
  /* 擬似要素はデフォルトではインライン要素なのでblock指定 */
  display: block;
  width: 210px;
  height: 3px;
  background-color: #000000;
  margin-top: 20px;
}

.item-list {
  margin-top: 25px;
  /* グリッドの準備 */
  display: grid;
  grid-template-columns: repeat(auto-fit, 220px);
  column-gap: 50px;
  row-gap: 40px;
}

/* a要素全体をリンクエリアにする */
.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;
}

.shop-menu-inner {
  /* スクロールしても上部に留まるようにする、position fixedでも可
  sticky要素は通常のフローの中にあり、指定したtop位置にスクロールされるまではそのまま表示され、スクロール位置に達すると固定されます。 */
  position: sticky;
  top: 120px;
  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: #f4dd64;
  /* a要素はデフォルトではインライン要素なので幅設定ができないため、inline-blockに変更 */
  display: inline-block;
  min-width: 180px;
  /* 高さ調整〜heightだとテキストが上下中央にならないので、line-heightにする */
  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;
}

.wrapper {
  max-width: 1000px;
  width: 100%;
  margin: 40px auto;
  display: flex;
  justify-content: space-around;
}

.about {
  display: flex;
  flex-direction: column;
  margin-bottom: 60px;
}

.main-visual {
  width: 100%;
  margin-right: 40px;
}

.main-visual img {
  width: 100%;
  height: auto;
}

.explanation {
  width: 100%;
  margin-bottom: 70px;
}

h2 {
  font-size: 18px;
  margin: 20px 0;
}

.about p {
  margin: 20px 0;
  line-height: 1.5;
}

footer p {
  text-align: center;
  margin: 10px auto;
}

.select {
  margin-bottom: 20px;
  width: 100%;
}
.select td {
  border-top: 1px solid black;
}

.select th, .select td {
  border-right: 1px solid black;
  font-size: 15px;
  text-align: center;
  padding: 20px 30px;
}
.select th:last-child, .select td:last-child {
  border-right: none;
}

.custom-select {
  position: relative;
  display: inline-block;
  width: 100px; /* セレクトボックスの幅を調整 */
}

.custom-select select {
  width: 100%;
  padding: 5px;
  border: 1px solid black;
  border-radius: 5px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: white;
  padding-right: 30px; /* 三角括弧のための余白を設定 */
}

.custom-select::after {
  content: "▼"; /* 三角括弧を追加 */
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  pointer-events: none; /* 三角括弧がクリックされないように */
  font-size: 12px;
  color: black;
}

.buy-button { 
  display: flex;
  justify-content: center;
  border: 2px solid #000;
  background-color: #f0f0f0;
  color: #000;
  padding: 10px;
  cursor: pointer;
  margin: 50px auto;
  text-align: center;
}

.size {
  margin-bottom: 20px;
  border-collapse: collapse;
  width: 100%;
}
.size td {
  border: 1px solid black;
}

.size th {
  background-color: #f0f0f0;
}

.size th, .size td {
  border: 1px solid black;
  font-size: 15px;
  text-align: center;
  padding: 20px 30px;
}
.footer {
  margin-top: 100px;
}
.social-icons {
  display: flex; /* 横並びにする */
  justify-content: center; /* 中央に配置 */
  margin: 60px 10px 0; /* 上下のマージンを追加 */
  gap: 30px;
}

.social-icons a {
  margin: 0 10px; /* アイコンの間にスペースを追加 */
  color: inherit; /* テキストの色を継承 */
  font-size: 24px; /* アイコンのサイズを設定 */
  text-decoration: none; /* 下線を消す */
}

.social-icons a:hover {
  color: gray; /* ホバー時の色を変更 */
}

@media (max-width: 800px) {
  .wrapper {
    flex-direction: column-reverse;
    width: 95%;
  }
  .site-menu ul {
    /* PC版は横並びなので項目が画面からはみ出してしまうため、横並びを解除する */
    display: block;
    text-align: center;
  }
  /* 子要素の横並びを解除 */
  .shop-contents {
    display: block;
  /* 全体の幅と余白を調整する */
    max-width: 100%;
    margin-top: 40px;
  }

  .shop-item {
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
  }
  .shop-item-top {
    margin: 10px 20px;
  }
  .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-list {
    display: block;
  }
  .item-list li {
    margin-bottom: 30px;
  }
  .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;
  }
  .size th, .size td {
    padding: 20px 20px;
  }
}
@media (max-width:450px) {

} 