@charset "utf-8";

/* ==========================================================================
   1. リセット ＆ 全体共通レイアウト（専用ラッパー内でのスコープ化）
   ========================================================================== */
.recoverypro-scope *, 
.recoverypro-scope *::before, 
.recoverypro-scope *::after {
  box-sizing: border-box !important;
}

.recoverypro-scope {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  color: #333333;
  margin: 0;
  padding: 0;
}

/* ★全要素のフォントサイズを「13px」に完全強制統一（スコープ内限定） */
.recoverypro-scope,
.recoverypro-scope p, 
.recoverypro-scope li, 
.recoverypro-scope div, 
.recoverypro-scope span, 
.recoverypro-scope td, 
.recoverypro-scope th, 
.recoverypro-scope summary, 
.recoverypro-scope a {
  font-size: 13px !important;
  line-height: 1.8;
  color: #333333;
}

.recoverypro-scope p {
  margin-top: 0;
  margin-bottom: 12px;
}

/* 枠組みベース */
.recoverypro-scope .apparel-container,
.recoverypro-scope .feature-text-block,
.recoverypro-scope .support-section,
.recoverypro-scope .accordion-item {
  width: 100% !important;
  max-width: 600px !important;
  margin: 30px auto !important;
  padding: 0 !important;
  background-color: #ffffff;
}

/* テキストを囲む中身ブロック */
.recoverypro-scope .content-inner {
  padding-left: 5px !important;
  padding-right: 5px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* ==========================================================================
   2. 見出し（design-h3 / text-bold）
   ========================================================================== */
.recoverypro-scope .design-h3 {
  text-align: center;
  font-size: 18px !important;
  font-weight: bold;
  color: #1a1a1a;
  letter-spacing: 0.1em;
  margin: 0 0 12px 0;
  padding: 0 15px 8px 15px !important;
  border-bottom: 1px solid #e0e0e0;
  width: 100%;
}

.recoverypro-scope .design-h3 .en-title {
  display: block;
  text-align: center;
  font-family: "Times New Roman", "Georgia", serif;
  font-size: 11px !important;
  font-weight: normal;
  color: #999999;
  letter-spacing: 0.25em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.recoverypro-scope .text-bold {
  font-size: 13px !important;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 6px;
  color: #1a1a1a;
  display: block;
}

.recoverypro-scope .text-marker {
  font-weight: bold;
  background: linear-gradient(transparent 70%, #e2ede8 70%);
  padding: 0 2px;
}

.recoverypro-scope .medical-note-box {
  background-color: #f9f9f9;
  border-left: 4px solid #7bae37;
  padding: 18px 20px;
  margin: 25px 0;
  font-size: 13px !important;
}

/* ==========================================================================
   3. 箇条書き（・）
   ========================================================================== */
.recoverypro-scope .bullet-list {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 0 15px 0 !important;
  width: 100% !important;
}

.recoverypro-scope .bullet-list li {
  position: relative;
  padding-left: 1.2em !important;
  margin-bottom: 6px;
  text-align: left;
  font-size: 13px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.recoverypro-scope .bullet-list li::before {
  content: "\30FB";
  position: absolute;
  left: 0;
  top: 0;
}

/* ==========================================================================
   4. ラインナップ・タブ・テーブル（レイアウト修正版）
   ========================================================================== */
.recoverypro-scope .tab-image-wrapper {
  text-align: center;
  background-color: #ffffff;
  padding-bottom: 15px;
  overflow: hidden;
}

.recoverypro-scope .tab-image-wrapper img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.recoverypro-scope .tab-group {
  display: flex;
  gap: 4px;
  position: relative;
  z-index: 2;
}

.recoverypro-scope .tab-btn {
  flex: 1;
  padding: 12px 4px;
  font-weight: bold;
  font-size: 13px !important;
  border: 1px solid #dcdcdc;
  border-bottom: none;
  cursor: pointer;
  background-color: #f5f5f5;
  color: #666666;
}

.recoverypro-scope .tab-btn.active {
  background-color: #e2ede8;
  color: #333333;
  border: 1px solid #c2d5cd;
  border-bottom: none;
}

.recoverypro-scope .content-box {
  border: 1px solid #c2d5cd;
  position: relative;
  z-index: 1;
  background-color: #ffffff;
}

.recoverypro-scope .tab-panel { display: none; }
.recoverypro-scope .tab-panel.active { display: block; }

.recoverypro-scope .table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.recoverypro-scope .size-table {
  width: 100%;
  border-collapse: collapse;
}

/* ★ヘッダー（見出し）：背景色と中央揃えを共通指定 */
.recoverypro-scope .size-table th {
  background-color: #e2ede8;
  color: #333333;
  padding: 12px 10px !important;
  font-weight: bold;
  text-align: center !important;
  font-size: 13px !important;
  border-right: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
}

/* 左側：カラー名列 */
.recoverypro-scope .size-table th:first-child,
.recoverypro-scope .size-table td.color-name {
  background-color: #e2ede8;
  color: #333333;
  padding: 12px 10px !important;
  font-weight: bold;
  text-align: center !important;
  border-right: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
  white-space: nowrap !important;
  width: 33.333% !important;
  font-size: 13px !important;
}

/* 右側：展開サイズ列 */
.recoverypro-scope .size-table td.size-links {
  width: auto !important;
  padding: 12px 20px !important;
  border-bottom: 1px solid #eff5f2;
  text-align: justify !important;
  text-align-last: justify !important;
}

.recoverypro-scope .size-links a,
.recoverypro-scope .size-links span,
.recoverypro-scope .size-links span.disabled-link {
  font-weight: bold;
  font-size: 15px !important;
}

.recoverypro-scope .size-links a { 
  color: #1e7fcb; 
  text-decoration: underline;
}

.recoverypro-scope .size-links span.disabled-link {
  color: #d2d2d2;
  text-decoration: none;
  font-weight: normal;
}

/* ==========================================================================
   5. アコーディオン
   ========================================================================== */
.recoverypro-scope .accordion-item summary {
  list-style: none;
  cursor: pointer;
  outline: none;
  position: relative;
  border-bottom: 1px solid #dcdcdc;
  padding-bottom: 10px;
  text-align: center;
}

.recoverypro-scope .accordion-item summary::-webkit-details-marker { display: none; }

.recoverypro-scope .accordion-item summary::after {
  content: "+";
  position: absolute;
  right: 15px;
  bottom: 15px;
  font-family: Arial, sans-serif;
  font-size: 24px !important;
  color: #8c8c8c;
}

.recoverypro-scope .accordion-item[open] summary::after { content: "\2212"; }

.recoverypro-scope .accordion-item summary .design-h3 {
  margin: 0;
  border-bottom: none;
  padding-bottom: 0 !important;
}

.recoverypro-scope .accordion-content {
  padding: 20px 0;
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   6. お問い合わせ・ボタン・注記
   ========================================================================== */
.recoverypro-scope .support-phone {
  font-size: 18px !important;
  font-weight: bold;
  color: #1a1a1a;
  text-decoration: none;
  display: inline-block;
  margin: 4px 0;
}

.recoverypro-scope .text-link-container {
  text-align: center;
  margin: 30px auto;
}

.recoverypro-scope .brand-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #333333;
  font-size: 13px !important;
  font-weight: bold;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid #7bae37;
}

.recoverypro-scope .brand-text-link::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-top: 2px solid #7bae37;
  border-right: 2px solid #7bae37;
  transform: rotate(45deg);
  margin-top: -2px;
}

.recoverypro-scope .note-screen-color, 
.recoverypro-scope .note-text {
  font-size: 11px !important;
  color: #666666;
  margin-top: 15px;
  line-height: 1.6;
}

/* ==========================================================================
   7. スマホ（SP）レスポンシブ
   ========================================================================== */
@media screen and (max-width: 767px) {
  .recoverypro-scope .accordion-item summary .design-h3 {
    padding-left: 35px !important;
    padding-right: 35px !important;
  }
  
  .recoverypro-scope .tab-btn, 
  .recoverypro-scope .size-table th {
    padding: 10px 2px;
    font-size: 12px !important;
  }
  
  .recoverypro-scope .size-table td.color-name {
    padding: 10px 4px !important;
    font-size: 12px !important;
  }
  
  .recoverypro-scope .support-phone {
    color: #1e7fcb;
    text-decoration: underline;
  }

  .recoverypro-scope .content-inner {
    word-break: break-all;
  }
}

/* ==========================================================================
   CMSのスライダー・矢印の干渉を強引にリセット＆修正
   ========================================================================== */
.recoverypro-scope .tab-image-wrapper,
.recoverypro-scope .tab-image-wrapper * {
  box-sizing: border-box !important;
}

.recoverypro-scope .tab-image-wrapper {
  position: relative !important;
  overflow: hidden !important;
}

.recoverypro-scope .tab-image-wrapper .slick-prev,
.recoverypro-scope .tab-image-wrapper .slick-next,
.recoverypro-scope .tab-image-wrapper button[class*="prev"],
.recoverypro-scope .tab-image-wrapper button[class*="next"] {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 10 !important;
  background-color: rgba(0, 0, 0, 0.5) !important;
  color: #ffffff !important;
  border: none !important;
  width: 36px !important;
  height: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
}

.recoverypro-scope .tab-image-wrapper .slick-prev,
.recoverypro-scope .tab-image-wrapper button[class*="prev"] {
  left: 10px !important;
  right: auto !important;
}

.recoverypro-scope .tab-image-wrapper .slick-next,
.recoverypro-scope .tab-image-wrapper button[class*="next"] {
  right: 10px !important;
  left: auto !important;
}


/* ==========================================================================
   【完全対策版】CMSの #book-appendix 内部の h2 及び直下要素の強制リセット
   ========================================================================== */
.recoverypro-scope #book-appendix h2 {
    font-size: 13px !important;
    font-weight: normal !important;
    color: #333333 !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 0 15px 0 !important;
    text-align: left !important;
    line-height: 1.8 !important;
}

.recoverypro-scope #book-appendix h2 > div {
    background-color: #e0e7ff !important;
    border: 4px double #185494 !important;
    padding: 20px !important;
    text-align: center !important;
    margin-bottom: 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: block !important;
}

.recoverypro-scope #book-appendix h2 > div span {
    font-weight: bold !important;
    color: #061b5d !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    display: block !important;
}