body {
  background-color: #e3e3e3;
  margin: 0;
  padding: 0;
}

/* メインコンテナのスタイル */
.main-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem 2rem;
}

@media (min-width: 769px) {
  .main-container {
    padding: 1.5rem 1.5rem 2rem;
  }
}

/* コンテンツエリアのスタイル */
.content-wrapper {
  background-color: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  padding: 1.5rem;
  max-width: 64rem;
  width: 100%;
  border: 2px solid #f3f4f6;
  position: relative;
}

@media (min-width: 769px) {
  .content-wrapper {
    padding: 2.5rem;
  }
}

h1.text-3xl {
  text-align: center;
  margin: 0 auto 20px;
  font-size: 1.2rem;
  font-weight: 500;
}
@media (min-width: 769px) {
    h1.text-3xl {
    font-size: 1.7rem;
  }
}
.section-title {
  font-size: 1rem;
  line-height: 1.75rem;
  font-weight: 500;
  color: #1f2937;
  border-left: 4px solid #9ca3af;
  padding-left: 1rem;
  margin-bottom: 10px;
  margin-top: 40px;
}
@media (min-width: 769px) {
  .section-title {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}

.section-description {
  font-size: 0.75rem;
  line-height: 1.25rem;
  color: #4b5563;
  margin-bottom: 1rem;
}

@media (min-width: 769px) {
  .section-description {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}

/* 選択肢のグリッドレイアウト */
.grid-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 769px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 選択肢のラベルスタイル */
.option-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.2rem 0.5rem;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  border: 2px solid #e5e7eb;
  background-color: #ffffff;
  flex-direction: column; /* ボタンとリンクを縦に並べる */
  align-items: stretch;
  position: relative;
}
@media (min-width: 769px) {
  .option-label {
    padding: 1rem;
  }
}

.option-label:hover {
  background-color: #f9fafb;
}

/* 選択された時のスタイル */
.option-label.is-checked {
  background-color: #e5e7eb;
  border-color: #9ca3af;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.option-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.option-text-wrapper {
  flex: 1 1 0%;
  display: flex;
  flex-direction: column;
}

.option-text {
  font-size: 0.75rem;
  line-height: 1.5rem;
  font-weight: 500;
  color: #1f2937;
}

@media (min-width: 769px) {
  .option-text {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}

.option-description {
  font-size: 0.65rem;
  line-height: 1rem;
  color: #6b7280;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

@media (min-width: 769px) {
  .option-description {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
}

.option-price-wrapper {
  flex-shrink: 0;
  text-align: right;
  margin-left: 1rem;
}

.option-price {
  font-size: 0.75rem;
  line-height: 1.25rem;
  color: #6b7280;
}

@media (min-width: 769px) {
  .option-price {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}
.font-bold.text-lg.mb-2 {
  margin-top: 20px;
}
.space-y-4 .font-bold {
  font-weight: 500;
  display: block;
}
/* 施術詳細リンクのスタイル */
.detail-link-wrapper {
  width: 100%;
  text-align: left; /* リンクを左寄せに変更 */
  opacity: 1; /* 常に表示するように変更 */
  transition: opacity 0.2s ease-in-out;
}
/* ホバー時の表示スタイルを削除 */
.detail-link {
  font-size: 0.65rem; /* 小さめの文字サイズ */
  color: #ac8261;
  text-decoration: none;
  transition: color 0.2s;
}
.detail-link:hover {
  color: #ff880e;
}

.hidden {
  display: none;
}

/* 注意書きのスタイル */
.disclaimer-text {
  margin-top: 3rem;
  text-align: center;
  padding-bottom: 5rem;
}

.disclaimer-text p {
  font-size: 0.75rem;
  line-height: 1rem;
  color: #9ca3af;
}

/* 合計料金バーのスタイル */
#price-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 -4px 6px -1px rgb(0 0 0 / 0.1), 0 -2px 4px -2px rgb(0 0 0 / 0.1);
  padding: 1rem 1.5rem;
  z-index: 50;
  border-top: 2px solid #e5e7eb;
  transform: translateY(0%);
  border-radius: 0px 50px 0px 0px;
}

#price-bar .price-bar-content {
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#price-bar .price-label {
  font-size: 0.75rem;
  line-height: 1.75rem;
  font-weight: 600;
  color: #1f2937;
}
#price-bar .price-label span.price_under {
  color: #a35d00;
  display: inline-block;
  font-size: 0.55rem;
}
#price-bar .price-label span {
  font-size: 0.65rem;
}
#price-bar .price-label span.price-text_pc {
  font-size: 0.55rem;
}
@media (max-width: 768px) {
  #price-bar .price-label span {
    display: block;
  }
  #price-bar .price-label span.price-text_pc {
    display: none;
  }
  #price-bar span.price-text_sp {
    font-size: 0.65rem;
    line-height: 1rem;
    font-weight: 600;
    color: #1f2937;
    display: block;
    width: 90%;
    margin: 10px auto 20px;
  }
  #price-bar span.price_under {
    color: #a35d00;
    display: inline-block;
    font-size: 0.65rem;
  }
}
@media (min-width: 769px) {
  #price-bar .price-label {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
  #price-bar .price-label span {
    font-size: 0.85rem;
    line-height: 1.5rem;
    display: block;
  }
  #price-bar .price-label span.price-text_pc {
    font-size: 0.75rem;
    line-height: 1.1rem;
    margin-top: 10px;
    font-weight: 500;
  }
  #price-bar .price-label span.price_under {
    font-size: 0.75rem;
    line-height: 1.1rem;
  }
  #price-bar span.price-text_sp {
    display: none;
  }
}

#price-bar .total-price-display {
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 800;
  color: #1f2937;
  letter-spacing: 0.05em;
}

@media (min-width: 769px) {
  #price-bar .total-price-display {
    font-size: 3rem;
    line-height: 1;
  }
}

@media (min-width: 768px) {
  #price-bar {
    width: 50%;
    left: 0;
    right: auto;
  }
}
@media (max-width: 768px) {
  #price-bar {
    bottom: 172px !important;
    border-radius: 50px 50px 0px 0px;
    padding: 0px;
  }
  #price-bar .price-label {
    font-size: 1.1rem;
    line-height: 1.2rem;
  }
  #price-bar .total-price-display {
    font-size: 1rem;
  }
  #price-bar .price-bar-content {
    margin: 15px 20px;
  }
}
