@charset "utf-8";
* {
  margin: 0;
  padding: 0;
}
body {
  font-family: sans-serif;
  text-align: center;
  background: #ededed;
}img {
    max-width: 100%;
}
/* ===== カード ===== */
.card {
  display: inline-block;
  width: 260px;
  padding: 20px;
  margin: 15px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: .2s;
    box-sizing: border-box;
}
.card:hover { transform: translateY(-5px); }
.card img { max-width: 100%; }
/* 選択状態 */
.selected {
  background: #7fc6be;
  color: #fff;
  transform: scale(0.96);
}
/* ===== ステップ ===== */
.step {
  opacity: 0;
  transform: translateY(30px);
  transition: .4s;
}
.step + .step {
  margin-top: 40px;
}
.step.show {
  opacity: 1;
  transform: translateY(0);
}
.hidden { display: none; }
/* ===== モーダル ===== */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0);
  justify-content: center;
  align-items: center;
  transition: .3s;
  z-index: 999;
}
.modal.show {
  background: rgba(0,0,0,0.5);
}
.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  width: 700px;
  max-width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  transform: scale(0.8);
  opacity: 0;
  transition: .3s;
  position: relative;
}
.modal.show .modal-content {
  transform: scale(1);
  opacity: 1;
}
/* 閉じる */
.close {
  position: absolute;
  right: 18px;
  top: 12px;
  font-size: 22px;
  cursor: pointer;
}
/* ===== モーダル：タグ ===== */
.modal-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.modal-tag {
  background: #fff;
  border: 1px solid #aaa;
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 13px;
  color: #333;
}
/* ===== モーダル：タイトル ===== */
.modal-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
}
/* ===== 商品カード ===== */
.product-card {
  display: flex;
  gap: 16px;
  padding: 16px;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 16px;
  text-align: left;
}
.product-card:last-child {
  margin-bottom: 0;
}
.product-img img {
  width: 140px;
  height: 140px;
  object-fit: contain;
}
.product-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.product-name {
  font-size: 16px;
  font-weight: bold;
}
.product-desc {
  font-size: 13px;
  color: #555;
}
.product-btn {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid #333;
  border-radius: 20px;
  font-size: 13px;
  text-decoration: none;
  color: #333;
  width: fit-content;
}
.product-btn:hover {
  background: #333;
  color: #fff;
}
/*---------------------------------------------------------------------------*/
.sp_parts { display: none; }
@media only screen and (max-width: 767px) {
  .pc_parts { display: none ; }
  .sp_parts { display: block ; }
  .product-card {
    flex-direction: column;
    align-items: center;
  }
  .product-info {
    text-align: center;
    align-items: center;
  }
}
header {
  margin: 0 auto;
  padding: 10px 100px;
}
header h1 {
  width: 123px;
}
#q2Cards .card,
#q3Cards .card {
  width: 300px;
    padding: 0;
/*    background: none;*/
}
img#q2SubImgPc {
    margin: 0 auto;
}
@media only screen and (max-width: 767px) {
  header {
    padding: 10px;
  }
  header h1 {
    width: 25%;
  }
  .card {
      width: 43%;
      margin: 10px;
      padding: 10px;
  }
}

p#q2Note {
    color: #415974;
    font-weight: 600;
    font-size: 15px;
    margin: 40px 0 20px;
}

@media only screen and (max-width: 767px) {
  p#q2Note {
      margin: 20px 0 10px;
      font-size: 3.2vw;
      line-height: 1.7;
  }
}