@charset "UTF-8";

.card_section {
  width: 100%;
  margin-block: 100px;

  /* 必要に応じてmin-heightを調整 */
}

.section_inner_card {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 50px;
  padding-inline: 10px;
  background-color: #cabb90;
  padding-block: 50px;
}
.section_title {
  position: relative;
  font-size: min(2.78vw, 40px);
  font-weight: bold;
  color: var(--text-color);
  text-align: left;
  margin-bottom: 50px;
  padding-left: 15px;
}
.section_title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background-color: var(--black--);
}

.section_subtitle {
  font-size: min(2.22vw, 32px);
  font-weight: bold;
  color: var(--text-color);
  text-align: left;
  margin-bottom: min(1.11vw, 16px);
  padding-left: 10px;
  margin-top: 30px;
}

/*---------------カードの詳細設定--------------------*/

/* 商品カード全体のラッパー */
.card_wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-bottom: 100px;
}

/*-----------------商品カード1----------------------*/
.product_card {
  position: relative;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 40px 20px 20px;
  max-width: 100%;
  width: min(950px, 100%);
  margin: 0 auto;
}

.card_header {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: #8b700f;
  color: #fff;
  padding: 8px 100px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  white-space: nowrap;
}

.card_content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.product_image {
  max-width: 350px;
  aspect-ratio: 768 / 450;
}

.card_text {
  width: 100%;
}

/* 商品タイトル */
.product_ttl {
  text-align: center;
}

.sub_ttl {
  font-size: min(1.2vw, 16px);
  font-family: "Noto Serif JP", serif;
  font-weight: bold;
  margin-bottom: 8px;
  color: var(--text-color);
}

.main_ttl {
  font-size: min(2vw, 28px);
  font-weight: bold;
  font-family: "Noto Serif JP", serif;
  margin-bottom: 16px;
  color: var(--text-color);
  padding-block: 10px;
  border-top: 2px solid var(--text-color);
  border-bottom: 2px solid var(--text-color);
}

.pd_sentence {
  font-size: min(1.2vw, 16px);
  line-height: 1.5;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--text-color);
}

.price_wrapper {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.limit_p {
  font-size: 10px;
  color: var(--text-color);
  font-weight: normal;
  margin-bottom: 20px;
}

.price {
  font-size: min(2.7vw, 38px) !important;
  font-weight: bold;
  color: var(--text-color) !important;
}

.tax {
  font-size: 10px;
  color: var(--text-color);
}

/*カートに入れると詳細を見るのセット*/
.cart_set_detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
/* カートに入れるボタン */
.btn_cart_v1 {
  display: inline-block;
  padding-block: 10px;
  padding-inline: min(5.6vw, 80px);
  max-width: 100%;
  width: min(300px, 100%); /*サイズ変更時に調整*/
  background-color: #ff0000;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-size: min(1.05vw, 15px);
  font-weight: bold;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

/*
.btn_cart_v1:hover {
  background-color: #ff4c3b;
  transform: translateY(-3px);
}*/ /*ホバー効果無効*/

/* 詳細リンクボタン */
.btn_detail {
  display: inline-block;
  color: #333;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  padding-bottom: 4px;
  border-bottom: 2px solid #333;
  position: relative;
  padding-inline: 30px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.btn_detail::after {
  content: "";
  position: absolute;
  right: 15%;
  top: 40%;
  width: 8px; /*矢印の大きさ調整*/
  height: 8px; /*矢印の大きさ調整*/
  border-top: 2px solid #333; /*矢印の太さと色調整*/
  border-right: 2px solid #333; /*矢印の太さと色調整*/
  transform: translateY(-50%) rotate(45deg);
  transition: right 0.3s ease, border-color 0.3s ease;
}

/*.btn_detail:hover {
  color: #e74c3c;
  border-bottom-color: #e74c3c;
}

.btn_detail:hover::after {
  right: -4px;
  border-color: #e74c3c;
}*/ /*ホバー効果無効*/

/*注意書き等のテキスト*/
.pr_detail_text {
  width: min(950px, 100%);
  margin-top: 10px;
  margin-inline: auto;
  font-size: 10px;
  color: var(--text-color);
  text-align: left;
}

@media screen and (max-width: 768px) {
  .product_image {
    width: min(32.55208333333333vw, 250px);
    aspect-ratio: 768 / 450;
  }
  /* 商品タイトル */
  .sub_ttl {
    font-size: min(1.5625vw, 12px);
  }
  .main_ttl {
    font-size: min(1.953125vw, 15px);
  }
  .pd_sentence {
    font-size: min(1.5625vw, 12px);
  }
  /*-----------------価格部分----------------------*/
  .price_wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
  }
  .limit_p {
    font-size: 10px;
    color: var(--text-color);
    font-weight: normal;
    margin-bottom: 10px;
  }
  .price {
    font-size: min(2.604166666666667vw, 20px) !important;
  }
  .tax {
    font-size: 10px;
    color: var(--text-color);
  }
  /*カートに入れると詳細を見るのセット*/
  .cart_set_detail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  /* カートに入れるボタン */
  .btn_cart_v1 {
    padding-block: 10px;
    padding-inline: min(5.208333333333334vw, 40px);
    max-width: 100%;
    width: min(200px, 100%); /*サイズ変更時に調整*/
    font-size: min(1.8229166666666667vw, 14px);
  }
}

@media screen and (max-width: 580px) {
  .card_content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }
  .card_header {
    padding-inline: min(13.793103448275861vw, 80px);
    font-size: min(3.4482758620689653vw, 20px);
  }
  .product_image {
    width: min(43.103448275862064vw, 250px);
    aspect-ratio: 768 / 450;
  }
  /* 商品タイトル */
  .sub_ttl {
    font-size: min(2.586206896551724vw, 15px);
  }
  .main_ttl {
    font-size: min(3.103448275862069vw, 18px);
  }
  .pd_sentence {
    font-size: min(2.413793103448276vw, 14px);
  }
  .limit_p {
    font-size: 10px;
    color: var(--text-color);
    font-weight: normal;
    margin-bottom: 10px;
  }
  .price_limit {
    text-align: center;
  }
  .price {
    font-size: min(5.172413793103448vw, 30px) !important;
  }
  .tax {
    font-size: 10px;
    color: var(--text-color);
  }
  /*カートに入れると詳細を見るのセット*/
  .cart_set_detail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  /* カートに入れるボタン */
  .btn_cart_v1 {
    padding-block: 10px;
    padding-inline: min(6.896551724137931vw, 40px);
    max-width: 100%;
    width: min(51.724137931034484vw, 300px); /*サイズ変更時に調整*/
    font-size: min(2.586206896551724vw, 15px);
  }
  /* 詳細リンクボタン */
  .btn_detail {
    font-size: min(2.0689655172413794vw, 12px);
  }

  .btn_detail::after {
    width: min(2.0689655172413794vw, 8px); /*矢印の大きさ調整*/
    height: min(2.0689655172413794vw, 8px); /*矢印の大きさ調整*/
  }
}

/*---------------カード系の3stepバージョン--------------------*/
.steps_cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 950px;
  margin: 0 auto;
}

/* gridの使い方*/
/*repeat(auto-fit, minmax(200px, 1fr)) は、コンテナ幅いっぱいに「最小 200px、最大 1fr（余白を均等に分配）」のカードを並べる指定です。
幅に余裕があると列数が増え、狭くなると自動で列数が減り、200px を切りそうになると折り返します。
auto-fit は「余ったトラックを畳んで詰める」動作で、空きスペースがあればカードが広がります。auto-fill にすると空のトラックを保持するので見た目が少し変わります。
gap で列/行の余白、max-width や padding で外側余白を調整すると横スクロールを防ぎやすいです。*/

.step_card {
  position: relative;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/*ステップバッジの画像バージョン*/
.step_badge {
  position: absolute;
  top: -25px;
  left: 20px;
  width: 50px;
  height: 50px;
}

.badge_img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* ステップバッジのテキストとcssバージョン */
/*.step_badge {
  position: absolute;
  top: -14px;
  left: 20px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #8b700f;
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}*/

.nm_card_image {
  width: 100%;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  object-fit: cover;
  object-position: center;
}

/* ステップカードのテキスト部分 */
.nm_card_text {
  padding: 24px 20px 20px;
}
.step_title {
  margin: 10px 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

.step_body {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

@media screen and (max-width: 768px) {
  .steps_cards {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
  }
}

@media screen and (max-width: 580px) {
  .steps_cards {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

/*---------------インターセクション--------------------*/

.inter_section {
  width: 100vw;
  margin-left: calc(50% - 50vw); /* 横幅を画面いっぱいにする（フルブリード）*/
  margin-right: calc(50% - 50vw); /* 横幅を画面いっぱいにする（フルブリード）*/
  background-color: var(--white--);
  box-sizing: border-box;
}

.is_text_1 {
  font-size: min(2.5vw, 36px);
  font-weight: bold;
  font-family: "Noto Serif JP", serif;
  color: var(--text-color);
  text-align: center;
  padding-inline: clamp(20px, 6vw, 150px);
  padding-block: clamp(60px, 12vw, 100px);
}

@media screen and (max-width: 768px) {
  .is_text_1 {
    font-size: min(4.557291666666666vw, 35px);
  }
}

/*----------------料金プランカード（1）--------------------*/

.pricing_grid_1 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing_card {
  position: relative;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 24px 20px 20px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing_card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.pricing_card.featured {
  border: 2px solid #f15b2a;
  box-shadow: 0 14px 36px rgba(241, 91, 42, 0.16);
}

.plan_badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #f15b2a;
  color: #fff;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
}

.plan_name {
  margin: 10px 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

.plan_price {
  margin: 0 0 14px;
  font-size: 28px;
  font-weight: 800;
  color: #111;
}

.plan_price span {
  font-size: 14px;
  font-weight: 600;
  color: #555;
  margin-left: 4px;
}

.plan_features {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}
.plan_features li + li {
  margin-top: 6px;
}

.plan_cta {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid #d0d0d0;
  color: #333;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
}

.plan_cta:hover {
  background: #f5f5f5;
  border-color: #c0c0c0;
}

.plan_cta.primary {
  background: #f15b2a;
  border-color: #f15b2a;
  color: #fff;
}
.plan_cta.primary:hover {
  background: #d44f24;
  border-color: #d44f24;
}

@media screen and (max-width: 768px) {
  .pricing_grid_1 {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    width: 100%;
  }

  .plan_price {
    font-size: min(3.2552083333333335vw, 25px);
  }
}

@media screen and (max-width: 580px) {
  .pricing_grid_1 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .plan_price {
    font-size: 14px;
  }
}

/* ---------------料金プランカード（1）ここまで--------------------*/

/* ---------------料金プランカード（2）--------------------*/
.pricing_grid_2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  max-width: 1000px;
  margin: 0 auto;
  margin-block: 100px;
}
.pricing_col {
  background: #f7f7f7;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}
.pricing_col.featured {
  transform: translateY(-30px);
  border: 2px solid #f15b2a;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}
.price_head {
  text-align: center;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  padding: 16px 10px;
}
.head_light {
  background: #f1c40f;
}
.head_std {
  background: #f39c12;
}
.head_pro {
  background: #e91e63;
}

.price_body {
  padding: 18px 14px 20px;
  text-align: center;
}
.price_month,
.price_year {
  margin: 0 0 12px;
  color: #555;
  font-size: 13px;
  line-height: 1.4;
}
.price_month span,
.price_year span {
  display: block;
  color: #f39c12;
  font-size: 26px;
  font-weight: 800;
}
.price_year span {
  color: #f39c12;
}
.price_year small {
  display: block;
  font-size: 11px;
  color: #888;
  margin-top: 2px;
}

.price_specs {
  list-style: none;
  padding: 0;
  margin: 10px 0 16px;
  color: #333;
  font-size: 13px;
  line-height: 1.6;
}
.price_specs li + li {
  margin-top: 6px;
}
.price_specs strong {
  font-size: 15px;
  margin-left: 4px;
}

.price_note {
  color: #fff;
  border-radius: 6px;
  padding: 10px 10px 12px;
  text-align: left;
  font-size: 13px;
}
.note_head {
  background: #1abc9c;
  text-align: center;
}
.price_note ul {
  padding: 10px 16px;
  margin: 0;
  background: #eeecec;
  color: #333;
}
.price_note li + li {
  margin-top: 4px;
}

@media screen and (max-width: 768px) {
  .pricing_grid_2 {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    width: 100%;
  }
}

@media screen and (max-width: 580px) {
  .pricing_grid_2 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .pricing_col.featured {
    transform: translateY(0px);
  }
}

/* ---------------料金プランカード（2）ここまで--------------------*/

/* ---------------料金プランカード（3）--------------------*/
.pricing_grid_3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin: 0 auto;
  max-width: 1000px;
  align-items: center;
}

/* カード本体 */
.pricing-item {
  display: flex;
  flex-direction: column;
  background: #f5f5f5;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  min-height: 620px; /* ベース高さを揃える */
}

/* 中央だけ強調：余白を増やし、影を強くする（位置は動かさない） */
.pricing-item.featured {
  background: #fff7f2;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
  height: 750px;
}
.pricing-item.featured .pi-body {
  padding-bottom: 48px; /* 下だけ余白を増やして“背を高く”見せる */
}

/* ヒーロー部（高さを揃える） */
.pi-hero {
  height: 200px;
  padding: 28px 18px;
  color: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  text-align: center;
}
.pi-hero::after {
  /* 上部の画像オーバーレイをぼかし兼ねて暗く */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.45));
}
.pi-hero > * {
  position: relative;
  z-index: 1;
}

.pi-price {
  font-size: 32px;
  font-weight: 800;
}
.pi-price small {
  font-size: 14px;
  font-weight: 600;
}
.pi-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.pi-meta {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ヒーロー背景色 */
.hero-green {
  background: #0f8d3c;
  background-image: url(../images/plan.png);
  background-size: cover;
  background-position: center;
}
.hero-red {
  background: #c93527;
  height: 265px; /*真ん中だけ高さがあるように*/
  background-image: url(../images/plan.png);
  background-size: cover;
  background-position: center;
}
.hero-blue {
  background: #145a8a;
  background-image: url(../images/plan.png);
  background-size: cover;
  background-position: center;
}
/* 各ヒーロー色でマスクを上書き */
.hero-green::after {
  background: linear-gradient(
      180deg,
      rgba(15, 141, 60, 0.45),
      rgba(15, 141, 60, 0.65)
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.32));
}
.hero-red::after {
  background: linear-gradient(
      180deg,
      rgba(201, 53, 39, 0.45),
      rgba(201, 53, 39, 0.65)
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.32));
}
.hero-blue::after {
  background: linear-gradient(
      180deg,
      rgba(20, 90, 138, 0.45),
      rgba(20, 90, 138, 0.65)
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.32));
}

/* 本文 */
.pi-body {
  flex: 1;
  background: #ffffff;
  padding: 24px 20px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  position: relative;
}

.pi-body::before {
  content: "";
  display: block;
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background-image: url(../images/triangle.png);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

/* リスト */
.pi-list {
  list-style: none;
  padding-inline: 50px;
  margin: 0 0 24px;
  color: #444;
  font-size: 14px;
  line-height: 1.6;
}
.pi-list li {
  padding-block: 10px;
}
.pi-list li + li {
  border-top: 1px solid #ddd;
}
.pi-list .ok {
  color: #222;
}
.pi-list .ok::before {
  content: "✔";
  color: #1c9c59;
  margin-right: 8px;
}
.pi-list .ng {
  color: #c0392b;
  opacity: 0.7;
}
.pi-list .ng::before {
  content: "✖";
  color: #c0392b;
  margin-right: 8px;
}

/* CTA */
.pi-cta {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 24px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  border: none;
  text-align: center;
  font-size: 16px;
}
.btn-green {
  background: #0f8d3c;
}
.btn-red {
  background: #c93527;
}
.btn-blue {
  background: #145a8a;
}
.pi-cta:hover {
  filter: brightness(0.9);
}

@media screen and (max-width: 768px) {
  .pricing_grid_3 {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    width: 100%;
  }
  /* リスト */
  .pi-list {
    padding-inline: 10px;
  }
}

@media screen and (max-width: 580px) {
  .pricing_grid_3 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .pricing-item.featured {
    height: auto; /*autoに戻す*/
  }
  .hero-red {
    height: auto; /*autoに戻す*/
  }
  .pi-price {
    font-size: min(5.172413793103448vw, 30px);
    font-weight: 800;
  }
  .pi-price small {
    font-size: min(2.413793103448276vw, 14px);
    font-weight: 600;
  }
  .pi-title {
    font-size: min(4.482758620689655vw, 26px);
    font-weight: 700;
    letter-spacing: 0.5px;
  }
  .pi-meta {
    font-size: min(2.0689655172413794vw, 12px);
  }
  .pi-cta {
    font-size: min(2.7586206896551726vw, 16px);
  }
}

/*---------------三角形の画像--------------------*/
.triangle_image {
  text-align: center;
  margin-top: 100px; /* 必要に応じて調整 */
}
@media screen and (max-width: 580px) {
  .triangle_image {
    margin-top: 50px; /* スマホ時の調整 */
  }
}

/*-----------------商品カード2----------------------*/
.product_card_v2 {
  position: relative;
  background-image: url(../images/bg_card.png);
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 8px;
  padding: 90px 20px 20px;
  max-width: 100%;
  width: min(950px, 100%);
  margin: 0 auto;
}

.product_card_v2::before {
  content: "";
  position: absolute;
  top: 0px;
  left: 50%; /*中央寄せ*/
  transform: translateX(-50%); /*中央寄せ*/
  width: 250px;
  aspect-ratio: 327 / 83;
  z-index: 0;
  background-image: url(../images/bg_tr.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.card_header_v2 {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: #8b700f;
  color: #fff;
  padding: 8px 100px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  white-space: nowrap;
}

.card_content_v2 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.product_image_v2 {
  max-width: 350px;
  aspect-ratio: 768 / 450;
}

.card_text_v2 {
  width: 100%;
}

/* 商品タイトル */
.product_ttl_v2 {
  text-align: center;
}

.sub_ttl_v2 {
  font-size: min(1.2vw, 16px);
  font-family: "Noto Serif JP", serif;
  font-weight: bold;
  margin-bottom: 8px;
  color: var(--text-color);
}

.main_ttl_v2 {
  font-size: min(2vw, 28px);
  font-weight: bold;
  font-family: "Noto Serif JP", serif;
  margin-bottom: 16px;
  color: var(--text-color);
  padding-block: 10px;
  border-top: 2px solid var(--text-color);
  border-bottom: 2px solid var(--text-color);
}

.pd_sentence_v2 {
  font-size: min(1.2vw, 16px);
  line-height: 1.5;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--text-color);
}

.price_wrapper_v2 {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.limit_p_v2 {
  font-size: 10px;
  color: var(--text-color);
  font-weight: normal;
  margin-bottom: 20px;
}

.price_v2 {
  font-size: min(2.7vw, 38px) !important;
  font-weight: bold;
  color: var(--text-color) !important;
}

.tax_v2 {
  font-size: 10px;
  color: var(--text-color);
}

/*カートに入れると詳細を見るのセット*/
.cart_set_detail_v2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
/* カートに入れるボタン */
.btn_cart_v2 {
  display: inline-block;
  padding-block: 10px;
  padding-inline: min(5.6vw, 80px);
  max-width: 100%;
  width: min(300px, 100%); /*サイズ変更時に調整*/
  background-color: #ff0000;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-size: min(1.05vw, 15px);
  font-weight: bold;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

/*
.btn_cart_v1:hover {
  background-color: #ff4c3b;
  transform: translateY(-3px);
}*/ /*ホバー効果無効*/

/* 詳細リンクボタン */
.btn_detail {
  display: inline-block;
  color: #333;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  padding-bottom: 4px;
  border-bottom: 2px solid #333;
  position: relative;
  padding-inline: 30px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.btn_detail::after {
  content: "";
  position: absolute;
  right: 15%;
  top: 40%;
  width: 8px; /*矢印の大きさ調整*/
  height: 8px; /*矢印の大きさ調整*/
  border-top: 2px solid #333; /*矢印の太さと色調整*/
  border-right: 2px solid #333; /*矢印の太さと色調整*/
  transform: translateY(-50%) rotate(45deg);
  transition: right 0.3s ease, border-color 0.3s ease;
}

/*.btn_detail:hover {
  color: #e74c3c;
  border-bottom-color: #e74c3c;
}

.btn_detail:hover::after {
  right: -4px;
  border-color: #e74c3c;
}*/ /*ホバー効果無効*/

/*注意書き等のテキスト*/
.pr_detail_text {
  width: min(950px, 100%);
  margin-top: 10px;
  margin-inline: auto;
  font-size: 10px;
  color: var(--text-color);
  text-align: left;
}

@media screen and (max-width: 768px) {
  .product_image_v2 {
    width: min(32.55208333333333vw, 250px);
    aspect-ratio: 768 / 450;
  }
  /* 商品タイトル */
  .sub_ttl_v2 {
    font-size: min(1.5625vw, 12px);
  }
  .main_ttl_v2 {
    font-size: min(1.953125vw, 15px);
  }
  .pd_sentence_v2 {
    font-size: min(1.5625vw, 12px);
  }
  /*-----------------価格部分----------------------*/
  .price_wrapper_v2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
  }
  .limit_p {
    font-size: 10px;
    color: var(--text-color);
    font-weight: normal;
    margin-bottom: 10px;
  }
  .price {
    font-size: min(2.604166666666667vw, 20px) !important;
  }
  .tax {
    font-size: 10px;
    color: var(--text-color);
  }
  /*カートに入れると詳細を見るのセット*/
  .cart_set_detail_v2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  /* カートに入れるボタン */
  .btn_cart_v1 {
    padding-block: 10px;
    padding-inline: min(5.208333333333334vw, 40px);
    max-width: 100%;
    width: min(200px, 100%); /*サイズ変更時に調整*/
    font-size: min(1.8229166666666667vw, 14px);
  }
}

@media screen and (max-width: 580px) {
  .card_content_v2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }
  .product_card_v2::before {
    width: min(55.55555555555556vw, 250px);
  }
  .product_image_v2 {
    width: min(43.103448275862064vw, 250px);
    aspect-ratio: 768 / 450;
  }
  /* 商品タイトル */
  .sub_ttl_v2 {
    font-size: min(2.586206896551724vw, 15px);
  }
  .main_ttl_v2 {
    font-size: min(3.103448275862069vw, 18px);
  }
  .pd_sentence_v2 {
    font-size: min(2.413793103448276vw, 14px);
  }
  .limit_p {
    font-size: 10px;
    color: var(--text-color);
    font-weight: normal;
    margin-bottom: 10px;
  }
  .price_limit {
    text-align: center;
  }
  .price {
    font-size: min(5.172413793103448vw, 30px) !important;
  }
  .tax {
    font-size: 10px;
    color: var(--text-color);
  }
  /*カートに入れると詳細を見るのセット*/
  .cart_set_detail_v2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  /* カートに入れるボタン */
  .btn_cart_v1 {
    padding-block: 10px;
    padding-inline: min(6.896551724137931vw, 40px);
    max-width: 100%;
    width: min(51.724137931034484vw, 300px); /*サイズ変更時に調整*/
    font-size: min(2.586206896551724vw, 15px);
  }
  /* 詳細リンクボタン */
  .btn_detail {
    font-size: min(2.0689655172413794vw, 12px);
  }

  .btn_detail::after {
    width: min(2.0689655172413794vw, 8px); /*矢印の大きさ調整*/
    height: min(2.0689655172413794vw, 8px); /*矢印の大きさ調整*/
  }
}
