/* ============================
   Root Variables for Unified Theme
============================ */
:root {
  --color-main: #de9652;       /* メインオレンジ */
  --color-sub: #f2e7da;        /* サブベージュ背景 */
  --color-text: #4a3c2f;       /* 濃ブラウン系テキスト */
  --color-accent: #d95f4d;     /* アクセント（赤系） */
  --color-bg: #fffaf5;         /* 優しい背景 */
  --color-border: #e7dcd4;     /* 罫線・区切り線 */
  --color-star: #f2c94c;       /* 評価用の黄色 */
  --color-btn-green: #62ce8a;  /* ボタン用グリーン */
  --color-cta-bg: linear-gradient(45deg, #ffe1c2, #f9d4a2);
  --color-cta-text: #b24f1f;
  --color-footer-bg: #4a3822;  /* フッター背景 */
}

/* ============================
   Base Reset + Layout
============================ */
body {
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg);
  font-size: 0.95rem;
  line-height: 1.8;
}

html {
  scroll-behavior: smooth;
}

ul {
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem;
  box-sizing: border-box;
}

.box {
  margin: 2rem auto;
}

/* ============================
   Typography
============================ */
h1, h2, h3 {
  color: var(--color-text);
  line-height: 1.4;
}

mark {
  background-color: #fff8d6;
  padding: 0 0.2em;
  font-weight: bold;
  color: var(--color-accent);
}

.editor-box h3,
.recommend-box h4,
.faq-item h3::before {
  color: var(--color-main);
}

/* ----------------------------
   上部ナビゲーションバー
---------------------------- */
.top-bar {
  background-color: #fff;
  border-bottom: 1px solid var(--color-border);
  top: 0;
  z-index: 999;
  padding: 0.5rem 1rem;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

/* ロゴ */
.top-bar .logo img {
  height: 34px;
  width: auto;
  display: block;
}

/* ナビゲーション */
.nav-menu ul {
  display: flex;
  gap: 1.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  font-size: 0.85rem;
  color: var(--color-text);
  font-weight: bold;
  text-decoration: none;
  transition: opacity 0.2s;
}

.nav-menu li a:hover {
  opacity: 0.7;
}

/* ----------------------------
   ヘッダー部分
---------------------------- */
.header {
  width: 100%;
  background-color: #ffefe4;
}

.header-inner {
  width: 100%;
}

.header-inner img {
  width: 100%;
  height: auto;
  display: block;
}

/* PC用 */
@media screen and (min-width: 768px) {
  .header {
    display: flex;
    justify-content: center;
  }

  .header-inner {
    max-width: 900px;
  }
}

/* PC表示調整 */
@media (min-width: 768px) {
  .hero-text {
    left: 4%;
    top: 50%;
    transform: translateY(-50%);
    padding: 2rem;
    max-width: 70%;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1.5rem;
  }
}

.fv-genistein {
  text-align: center;
  margin-bottom: 2rem;
}

.fv-genistein picture img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 850px;
}

.fv-cta-wrapper {
  margin-top: 1rem;
  padding: 2rem 0;
}

.cta-button.sparkle {
  display: inline-block;
  background: #d95f4d;
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(217, 95, 77, 0.3);
  transition: 0.3s ease;
}

.cta-button.sparkle:hover {
  box-shadow: 0 0 15px rgba(217, 95, 77, 0.6), 0 0 40px rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
}


/* ============================
   Sections & Content
============================ */
.section {
  margin: 3rem 0;
}

.pr-intro p {
  font-size: 1rem;
  line-height: 1.8;
    margin-bottom: 1rem;
}

.pr-note {
  background-color: var(--color-sub);
  margin: 1rem 0;
  border-left: 3px solid var(--color-border);
  font-size: 0.8rem;
}

.editor-box {
  border: 1px solid var(--color-border);
  padding: 0.8rem 1rem;
  margin-top: 1rem;
  background-color: #ffffff;
  font-size: 0.85rem;
}

.editor-box h3 {
  font-size: 0.95rem;
  margin: 0 0 0.4rem;
  color: var(--color-main);
}

.eq-main-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-text);
  border-left: 6px solid var(--color-main);
  padding-left: 12px;
  margin-bottom: 0.5em;
}

.eq-sub-title {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-text);
  padding-left: 1.2em;
  position: relative;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.eq-sub-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.5em;
  height: 0.5em;
  background-color: var(--color-main);
  border-radius: 50%;
}

.recommend-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin: 2rem 0;
}

.recommend-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  text-align: center;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.recommend-card p {
  font-size: 1rem;
  font-weight: bold;
  color: var(--color-text);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.recommend-icon-bottom {
  width: 100px;
  height:100px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto;
}

.section p,
.pr-intro p,
.product-description > p,
.faq-item p,
.review-text {
  font-size: 1rem;
  line-height: 2;
  color: var(--color-text);
}

.section-image {
  margin: 2rem 0;
}

.section-image img {
  width: 100%;
  max-width: 850px;
  height: auto;
}

.choose-image img {
  width: 80%;
  max-width: 650px;
  margin: auto;
}

/* ============================
   Checklists
============================ */
.checklist {
  list-style: none;
  padding-left: 0;
  margin: 1.5rem 0;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

.checklist i {
  color: var(--color-main);
  font-size: 1.2rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.checklist strong {
  color: var(--color-text);
  font-size: 1.05rem;
}

.checklist div {
  max-width: 100%;
}

/* ============================
   Comparison Table
============================ */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-wrapper::before {
  content: "← 表は横にスクロールできます →";
  display: block;
  font-size: 0.75rem;
  color: #999;
  text-align: center;
  margin-bottom: 0.5rem;
}

.comparison-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 850px;
  table-layout: fixed;
  background: #fff;
}

.comparison-table th,
.comparison-table td {
  border: 1px solid var(--color-border);
  padding: 1rem 0.5rem;
  text-align: center;
  vertical-align: middle;
  font-size: 0.9rem;
  height: 120px;
  word-break: break-word;
  box-sizing: border-box;
  width: 140px;
}

.comparison-table th:nth-child(1),
.comparison-table td:nth-child(1) {
  width: 160px;
}

.product-cell span {
  font-weight: bold;
  text-align: center;
}

.comparison-table th {
  background-color: var(--color-sub);
  font-weight: bold;
}

.sticky-col {
  position: sticky;
  left: 0;
  background: #fff;
  z-index: 2;
  min-width: 160px;
  max-width: 160px;
  border: 1px solid var(--color-border);
}

.product-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.product-cell img {
  max-width: 80px;
  height: auto;
  margin-bottom: 0.5rem;
  border-radius: 6px;
}

.icon-with-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.4;
  height: 100%;
}

.icon {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.2rem;
}

/* 各記号に色を付ける */
.icon-double-circle { color: var(--color-accent); }
.icon-circle { color: var(--color-main); }
.icon-triangle { color: #4a90e2; }
.icon-cross { color: #444; }
.icon-hyphen { color: #999; }
.icon-star { color: var(--color-star); }

.icon-label {
  font-size: 0.85rem;
  color: var(--color-text);
  text-align: center;
  line-height: 1.3;
}

/* ============================
   Product Boxes
============================ */
.product-box {
  background: #fffdfc;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.product-title {
  background-color: var(--color-main);
  font-size: 1.5rem;
  font-weight: bold;
  padding: 1rem 0.8rem;
  margin: 0;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: #fff;
  letter-spacing: 1px;
}

span.product-brand {
  display: block;
  font-size: 1rem;
  margin: 0;
  font-weight: normal;
  line-height: 1.2;
  margin-left: 1rem;
}

.product-image img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 1rem;
}

/* 総合評価全体ブロック */
.product-rating {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.rating-score {
  display: inline-block;
  font-weight: bold;
  font-size: 1.3em;
  color: var(--color-accent);
  border-radius: 20px;
  margin-bottom: 0.6rem;
}

.rating-score .star {
  color: var(--color-star);
  font-size: 1.2rem;
  vertical-align: middle;
}

.rating-breakdown {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--color-text);
}

.rating-breakdown li {
  font-weight: bold;
  margin-right: 1rem;
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 1rem;
}

.rating-breakdown li + li::before {
  content: "｜";
  position: absolute;
  left: 0;
  color: var(--color-border);
}

.rating-value {
  color: var(--color-star);
  margin-left: 0.3rem;
}

.product-description > p {
  line-height: 1.5rem;
  margin-bottom: 1rem;
}

/* ============================
   Product Buttons
============================ */
.product-buttons-vertical {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  margin: 6px 0;
}

.btn-detail, .btn-cart {
  display: inline-block;
  font-size: 0.6rem;
  padding: 0.4rem;
  border-radius: 30px;
  text-align: center;
  text-decoration: none;
  width: 100px;
  transition: background-color 0.3s;
  font-weight: bold;
}

.btn-detail::after,
.btn-cart::after {
  content: '＞';
  font-size: 0.85em;
  vertical-align: middle;
  margin-left: 6px;
}

.btn-detail:hover,
.btn-cart:hover {
  opacity: 0.6;
}

.btn-detail {
  background-color: var(--color-main);
  color: #fff;
}

.btn-cart {
  background-color: var(--color-accent);
  color: #fff;
}

/* ============================
   Recommend Box
============================ */
.recommend-box {
  background-color: var(--color-bg);
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
  border-radius: 6px;
  border-left: 5px solid var(--color-accent);
}

.recommend-box h4 {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--color-accent);
  margin-bottom: 0.8rem;
  border-left: 5px solid var(--color-accent);
  padding-left: 0.8rem;
}

.recommend-box ul {
  padding-left: 1.2rem;
  margin: 0;
}

.recommend-box ul li {
  list-style: disc;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

/* ============================
   Product Specifications
============================ */
.product-spec {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.product-spec th,
.product-spec td {
  border: 1px solid var(--color-border);
  padding: 0.75rem 1rem;
  vertical-align: top;
}

.product-spec th {
  background-color: var(--color-sub);
  font-weight: bold;
  text-align: left;
  width: 40%;
  color: var(--color-text);
}

.product-spec td {
  color: var(--color-text);
  line-height: 1.6;
}

/* ============================
   Review Box
============================ */
.biouses-review-box {
  font-family: 'Yu Gothic UI', 'Helvetica Neue', sans-serif;
  border-left: 5px solid var(--color-accent);
  background: var(--color-bg);
  padding: 1.5rem;
  border-radius: 12px;
  margin: 2rem 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.biouses-review-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.biouses-review-header img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-right: 0.8rem;
}

.biouses-review-info .biouses-review-name {
  font-weight: bold;
  font-size: 1rem;
  margin: 0;
}

.biouses-review-info .biouses-review-title {
  font-size: 0.85rem;
  color: #999;
  margin: 0;
}

.biouses-review-text {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.7;
}

.biouses-highlight {
  background: linear-gradient(transparent 70%, #fff0aa 70%);
  font-weight: bold;
}

/* ============================
   CTA Boxes & Buttons
============================ */
.cta-box {
  text-align: center;
  margin-top: 2rem;
  padding: 1rem 1.2rem;
}

.cta-box .cta-lead {
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.cta-box .cta-button {
  display: inline-block;
  background: var(--color-btn-green);
  color: #ffffff;
  font-weight: bold;
  font-size: 1rem;
  padding: 0.8rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--color-border);
  transition: background 0.2s ease, box-shadow 0.2s ease;
  width: 90%;
  max-width: 320px;
}

.cta-box .cta-button:hover {
  background: #e5e5e5;
  color: var(--color-text);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* 特別なキレイデ用CTAボタン */
.cta-box.kireide {
  text-align: center;
  margin: 2rem auto;
  max-width: 100%;
  padding: 1rem 1.2rem;
}

.cta-box.kireide .cta-lead {
  font-size: 0.9rem;
  font-weight: bold;
  color: var(--color-accent);
  margin-bottom: 0.6rem;
}

.cta-button.sparkle {
  display: inline-block;
  background: linear-gradient(90deg, #f39800 0%, #f6c445 100%);
  color: #fff;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 14px 28px;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(255, 195, 60, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button.sparkle:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(217, 95, 77, 0.5), 0 0 40px rgba(255, 255, 255, 0.4);
}

.cta-button.sparkle::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.7), transparent);
  transform: skewX(-20deg);
  animation: sparkleMove 2.5s infinite;
  pointer-events: none;
}

@keyframes sparkleMove {
  0% { left: -75%; }
  100% { left: 125%; }
}
/* ============================
   FAQ Section
============================ */
.faq-section {
  background-color: var(--color-sub);
  padding: 2rem 1.2rem;
  border-top: 1px solid var(--color-border);
  margin-top: 3rem;
}

.faq-item + .faq-item {
  margin-top: 1.5rem;
}

.faq-item h3 {
  font-size: 1.05rem;
  font-weight: bold;
  color: var(--color-text);
  margin-bottom: 0.4rem;
  position: relative;
  padding-left: 1.4rem;
}

.faq-item h3::before {
  content: "Q.";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
  color: var(--color-accent);
}

.faq-item p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text);
  background: #fff;
  padding: 0.8rem 1rem;
  border-left: 4px solid var(--color-border);
  border-radius: 6px;
}

/* ============================
   Table of Contents
============================ */
.toc-box {
  background-color: var(--color-bg);
  border: 1px solid var(--color-main);
  border-radius: 6px;
  padding: 20px;
  margin-top: 10px;
}

.toc-box h2 {
  background-color: var(--color-main);
  color: #fff;
  padding: 10px;
  margin: -20px -20px 10px -20px;
  font-size: 1.1rem;
  border-radius: 6px 6px 0 0;
  text-align: center;
}

.toc-box ol {
  list-style: decimal;
  padding-left: 1.5em;
  color: var(--color-main);
}

.toc-box ul {
  list-style: disc;
  padding-left: 1.5em;
}

.toc-box li {
  margin: 0.4em 0;
  font-size: 0.95rem;
}

.toc-box a {
  color: var(--color-main);
  text-decoration: none;
  font-weight: 500;
}

.toc-box a:hover {
  text-decoration: underline;
}

.toc-toggle {
  display: inline-block;
  background-color: var(--color-border);
  color: var(--color-text);
  padding: 6px 10px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 0.85rem;
  cursor: pointer;
  margin-bottom: 8px;
  transition: background-color 0.2s;
}

.toc-toggle:hover {
  background-color: var(--color-sub);
  color: var(--color-text);
}

.toc-content {
  display: block;
}

/* ============================
   Operator Link Box
============================ */
.operator-link-box {
  background-color: var(--color-sub);
  border-left: 5px solid var(--color-main);
  padding: 1rem 1.2rem;
  margin: 2rem auto 2.5rem;
  font-size: 0.9rem;
  max-width: 800px;
  line-height: 1.6;
  color: var(--color-text);
}

.operator-link-box a {
  color: var(--color-main);
  font-weight: bold;
  text-decoration: underline;
  transition: color 0.2s;
}

.operator-link-box a:hover {
  color: var(--color-accent);
}

/* ============================
   Footer
============================ */
.site-footer {
  background-color: var(--color-footer-bg);
  color: #fff;
  font-size: 0.8rem;
  padding: 1.5rem 1rem;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav li a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-nav li a:hover {
  opacity: 0.7;
}

.footer-copy {
  font-size: 0.75rem;
  color: #fff;
  text-align: center;
}

/* ============================
   Responsive Design
============================ */
@media (max-width: 768px) {
  .nav-menu ul {
    gap: 0.8rem;
  }

  .nav-menu li a {
    font-size: 0.8rem;
  }

  .top-bar .logo img {
    height: 28px;
  }

  .comparison-table {
    font-size: 0.8rem;
  }

  .product-cell img {
    max-width: 60px;
  }

  .sticky-col {
    min-width: 120px;
    max-width: 120px;
  }

  .comparison-table th,
  .comparison-table td {
    height: 100px;
    padding: 0.8rem 0.4rem;
  }

  .cta-button.sparkle {
    font-size: 1rem;
    padding: 0.8rem 1.8rem;
    width: 90%;
    max-width: 320px;
  }

  .table-wrapper::after {
    content: "スクロールできます →";
    font-size: 0.75rem;
    color: #999;
    position: sticky;
    bottom: 0;
    right: 0;
    background: var(--color-bg);
    padding: 0.3rem 0.5rem;
    text-align: right;
    display: block;
  }

  .faq-section h2 {
    font-size: 1.2rem;
  }

  .faq-item h3 {
    font-size: 1rem;
  }

  .faq-item p {
    font-size: 0.9rem;
  }
}

@media (min-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  .section h2 {
    font-size: 1.6rem;
  }

  .section p,
  .product-description > p,
  .faq-item p,
  .review-text {
    font-size: 1rem;
    line-height: 1.8;
  }

  .rating-breakdown,
  .recommend-box ul li,
  .product-spec td,
  .product-spec th {
    font-size: 0.95rem;
  }

  .cta-button,
  .cta-box .cta-lead {
    font-size: 1rem;
  }

  .faq-item h3 {
    font-size: 1.05rem;
  }
}