/* ============================================================
   style.css — nishikawa DR4® マットレス LP
   フォント : Gothic A1 (Google Fonts) 400 / 500 / 800
   カラー設計 :
     --color-cyan      #b2dfe3  薄シアン (バッジ背景)
     --color-cyan-dark #00b1bb  濃シアン (アクセントテキスト)
     --color-pink      #ee7890  ピンク  (アクセント)
     --color-beige     #f1edea  ベージュ (セクション背景)
     --color-gray-text #7b7b7b  本文テキスト
     --color-white     #ffffff
   ============================================================ */


/* ============================================================
   1. カスタムプロパティ (デザイントークン)
   ============================================================ */
:root {
  /* カラー */
  --color-cyan:       #b2dfe3;
  --color-cyan-dark:  #00b1bb;
  --color-pink:       #ee7890;
  --color-beige:      #f1edea;
  --color-gray-text:  #7b7b7b;
  --color-white:      #ffffff;

  /* フォント */
  --font-base: "Noto Sans JP", sans-serif;

  --font-size-ssss: clamp(8px, 2.600vw, 14px); /* 12px */
  --font-size-sss: clamp(10px, 3.200vw, 16px); /* 12px */
  --font-size-ss: clamp(12px, 3.733vw, 18px); /* 14px */
  --font-size-s: clamp(14px, 4.267vw, 22px); /* 16px */
  --font-size-r: clamp(16px, 4.800vw, 26px); /* 18px */
  --font-size-l: clamp(22px, 6.400vw, 28px); /* 24px */

  /* レイアウト */
  --inner-max-width: 1090px;
  --inner-padding:   clamp(16px, 4vw, 80px);

  /* セクション余白 */
  --section-gap: clamp(48px, 6vw, 100px);

  /* blob幅: 350px幅でも6文字×12px+余白が収まるよう下限96pxを確保 */
  --warry-size: clamp(96px, 16vw, 205px);
}


/* ============================================================
   2. リセット & ベース
   ============================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-weight: normal;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-gray-text);
  background: var(--color-white);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

p {
  margin: 0;
}

sub {
  line-height: 1em;
  vertical-align: bottom;
}


/* ============================================================
   3. 共通レイアウト
   ============================================================ */

.brsp{
  display: none;
}
.brtab{
  display: none;
}
.brpc{
  display: inherit !important;
}
.inner {
  max-width: var(--inner-max-width);
  margin-inline: auto;
  padding-inline: var(--inner-padding);
}

/* スクリーンリーダー専用 (視覚的に非表示の見出しなど) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* 共通見出しバッジ */
.section-heading {
  text-align: center;
  margin-bottom: 40px;
}
.heading-badge {
  display: inline-block;
  padding: 16px 48px;
  border-radius: 80px;
  font-size: var(--font-size-l);      
  font-weight: 500;
  white-space: nowrap;
}

.heading-badge--cyan {
  background: var(--color-cyan);
  color: var(--color-white);
}

/* 商品誘導バッジ: 固定CTA (.cta-products) と同色
   ※inline-flexにすると<sub>がflexアイテム化して®の位置が崩れるため
     inline-block(通常のテキストフロー)のまま色だけ変える */
.heading-badge--pink {
  background: var(--color-pink);
  color: var(--color-white);
  transition: opacity 0.2s;
}

.heading-badge--pink .cta-products-arrow {
  margin-left: 10px;
  vertical-align: middle;
}

/* バッジをリンクとして使う場合:
   バッジ幅ちょうどに縮めて中央配置 (領域外をクリック可能にしない) */
a.section-heading {
  display: block;
  width: fit-content;
  margin-inline: auto;
  text-decoration: none;
}

a.section-heading:hover .heading-badge--pink {
  opacity: 0.8;
}
/* テキストアクセント */
.text-accent {
  color: var(--color-cyan-dark);
  font-weight: 500;
}


/* ============================================================
   4. Section 1: Hero
   ============================================================ */
.sec-hero {
  width: 100%;
  height: 85vh;
  position: relative;
}
h1,
.worries {
  width: 100%;
  height: 85vh;
}
h1{
  position: absolute;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  font-size: clamp(16px, 7.0vw, 40px);
  letter-spacing: 0.1em;
}
h1 span{
  background-image: url(images/hero_illust.webp);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: auto clamp(16px, 90%, 200px);
  display: block;
  padding: clamp(16px, 4%, 30px) 20% clamp(16px, 10%, 95px);
  box-sizing: border-box;
  margin-top: clamp(-30px , -3% , -10px);
}
h1 img{
  width: clamp(120px, 18.0vw, 180px);
  padding-top: 10px;
}
.worries ul {
  position: relative;
  /* li は left/top の % でこのulを基準に配置されるため、
     ここに最大幅を設けるとblobの散らばる範囲がその中に収まる */
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  height: 85vh;
}

.worries ul li{
  position: absolute;
  /* left/top は blob の中心座標で指定し、translate で中央に合わせる */
  transform: translate(-50%, -50%);
  /* scale (ホバー拡大) は transform の translate より先に合成されるため、
     origin を左上にすると blob の中心を基準に拡大される */
  transform-origin: 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  /* blob幅(16vw)に連動させる: カンプ実測 約19px/1280px幅 */
  font-size: clamp(12px, 1.5vw, 19px);
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-align: center;
  width: var(--warry-size);
  height: 14vh;
}

/* blob全体をお悩み別パネルへのアンカーリンクにする */
.worries ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

/* ぼかしblob本体: テキストをぼかさないよう ::before に分離 */
.worries ul li::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--worry-color, gray);
  border-radius: clamp(28px, 4vw, 52px);
  filter: blur(clamp(12px, 2vw, 26px));
}

/* 半透明白の角丸シェイプを色の上・テキストの下に重ねてパステル調にする */
.worries ul li::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1; /* ::before と同値だが後出しの ::after が上に描画される */
  background: url(images/warry_bg.webp) center / 100% 100% no-repeat;
}

/* 12時の位置から時計回りに楕円配置
   x: 50% を軸に左右対称 (72/28, 89/11)
   y: 50% を軸に上下対称 (13/87, 18/82, 38/62) */
.worries ul li:nth-child(1){  /* ぐっすり眠りたい (12時) */
  --worry-color: #8cc7b1;
  left: 50%;
  top: 13%;
}
.worries ul li:nth-child(2){  /* 若々しくいたい (1時) */
  --worry-color: #71c2bd;
  left: 70%;
  top: 18%;
}
.worries ul li:nth-child(3){  /* 肌をキレイにしたい (2時) */
  --worry-color: #eda8bb;
  /* 狭い画面では右端からはみ出さない位置に留める */
  left: min(89%, calc(100% - var(--warry-size) / 2));
  top: 38%;
}
.worries ul li:nth-child(4){  /* 痩せ体質になりたい (4時) */
  --worry-color: #f4bc60;
  left: min(89%, calc(100% - var(--warry-size) / 2));
  top: 62%;
}
.worries ul li:nth-child(5){  /* スポーツをがんばりたい (5時) */
  --worry-color: #71c2bc;
  left: 70%;
  top: 82%;
}
.worries ul li:nth-child(6){  /* 血糖値が気になる (6時) */
  --worry-color: #bcd47e;
  left: 50%;
  top: 87%;
}
.worries ul li:nth-child(7){  /* 疲労回復したい (7時) */
  --worry-color: #dbd94e;
  left: 30%;
  top: 82%;
}
.worries ul li:nth-child(8){  /* 免疫力を高めたい (8時) */
  --worry-color: #fadf74;
  /* 狭い画面では左端からはみ出さない位置に留める */
  left: max(11%, calc(var(--warry-size) / 2));
  top: 62%;
}
.worries ul li:nth-child(9){  /* 更年期 (10時) */
  --worry-color: #efa38b;
  left: max(11%, calc(var(--warry-size) / 2));
  top: 38%;
}
.worries ul li:nth-child(10){ /* ストレスケアしたい (11時) */
  --worry-color: #cad968;
  left: 30%;
  top: 18%;
}

/* 500px以下: blob最小幅(96px)に対して中心間隔が不足するため
   1時・5時・7時・11時の列を外側に広げて重なりを防ぐ */
@media (max-width: 500px) {
  .worries ul li:nth-child(2),
  .worries ul li:nth-child(5) {
    left: 78%;
  }
  .worries ul li:nth-child(7),
  .worries ul li:nth-child(10) {
    left: 22%;
  }
}

/* 1200px以上: 画面幅が1200pxのときの配置で固定する。
   ul は max-width で止まるが、vw基準の値はさらに伸び続けるため、
   1200px時点の実寸 (16vw=192px / 1.5vw=18px / 4vw=48px / 2vw=24px) に固定する */
@media (min-width: 1200px) {
  :root {
    --warry-size: 192px;
  }
  .worries ul li {
    font-size: 18px;
  }
  .worries ul li::before {
    border-radius: 48px;
    filter: blur(24px);
  }
}


/* ============================================================
   5. Section 2: リード文
   ============================================================ */
.sec-lead {
  padding-top: 5%;
  text-align: center;
}

.lead-text {
  display: inline-block;
  text-align: center;
  font-size: var(--font-size-l);
  color: var(--color-gray-text);
  padding-bottom: 8px;
  border-bottom: 3px solid var(--color-cyan);
}


/* ============================================================
   6. Section 3: DR4構造とは
   ============================================================ */
.sec-dr4 {
  padding-block: var(--section-gap);
}

.dr4-layout {
  background-image: url(images/mattress.webp);
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 75% auto;
  padding: 5% 0 28%;
}
.dr4-layout p{
  padding-left: 60%;
  font-size: clamp(10px , 2.2vw , 22px);
}



.dr4-desc-text {
  font-size: 1.5rem; /* 24px */
  color: var(--color-gray-text);
  line-height: 1.8;
}


/* ============================================================
   7. Section 4: ３つの特徴
   ============================================================ */

/* 「３つの特徴」ラベル */
.features-label {
  font-size: var(--font-size-l);
  font-weight: 500;
  color: var(--color-pink);
  text-align: center;
  margin-bottom: 16px;
}

/* ベージュ背景カード */
.features-bg {
  background: var(--color-beige);
  border-radius: 40px;
  padding: clamp(24px, 3vw, 48px);
  margin-bottom: 8%;
}

/* 3カードのグリッド */
.features-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* 各カード */
.feature-card {
  background: var(--color-white);
  border: 3px solid var(--color-pink);
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature-card-header {
  padding: 24px 16px 16px;
  text-align: center;
}

.feature-card-name {
  font-size: var(--font-size-l);
  font-weight: 500;
  color: var(--color-pink);
  margin-bottom: 4px;
}

.feature-card-sub {
  font-size: var(--font-size-ss);
  color: var(--color-gray-text);
}

.feature-card-img {
  margin-top: auto;
  border-radius: 0 0 26px 26px;
  overflow: hidden;
}

.feature-card-img img {
  width: 100%;
  min-height: 120px;
  object-fit: cover;
}

/* DR4特徴のサブ見出し */
.dr4-feature-heading {
    text-align: center;
    margin-bottom: 60px;
}
.dr4-feature-heading span{
    display: inline-block;
    font-size: var(--font-size-l);
    color: var(--color-gray-text);
    padding-bottom: 8px;
    border-bottom: 3px solid var(--color-pink);
}

/* 特徴詳細 行レイアウト */
.feature-detail {
  display: flex;
  align-items: flex-start;
  gap: clamp(24px, 4vw, 64px);
  margin-bottom: clamp(48px, 6vw, 96px);
}


/* 特徴番号 */
.feature-num {
  font-size: var(--font-size-l);
  font-weight: 500;
  color: var(--color-gray-text);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-image: radial-gradient(closest-side, #ee7890 40%, transparent);
  color: var(--color-white);
  font-size: 2rem;
  font-weight: 500;
  flex-shrink: 0;
}

.feature-detail-text {
  flex: 1 1 0;
}

.feature-detail-body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-gray-text);
}

.feature-detail-image {
  flex: 0 0 auto;
  max-width: 50%;
  position: relative;
}

.feature-detail-image img {
  width: 100%;
}
#feature-2 .feature-detail-image img,
#feature-3 .feature-detail-image img {
  width: 60%;
}

.feature-image-note {
  font-size: 0.875rem;
  color: var(--color-gray-text);
  margin-top: 8px;
}

.feature-image-note small {
  font-size: 0.75rem;
}


/* ============================================================
   8. Section 5: 体圧分布比較
   ============================================================ */
.sec-pressure {
  padding-block: calc(var(--section-gap) * 2);
    overflow: hidden;
}

/* ベージュ背景 */
.pressure-bg {
  background: var(--color-beige);
  border-radius: 40px;
  padding: clamp(32px, 4vw, 64px) clamp(24px, 3vw, 48px);
}

.pressure-title {
    text-align: center;
    margin-bottom: 20px;
}
.pressure-title span{
    display: inline-block;
    font-size: var(--font-size-l);
    color: var(--color-pink);
    padding-bottom: 8px;
    font-weight: 500;
}

/* 白い内側カード */
.pressure-card {
  background: var(--color-white);
  border-radius: 40px;
  padding: clamp(24px, 3vw, 48px);
  position: relative;
}

.pressure-subtitle {
  font-size: var(--font-size-s);
  color: var(--color-gray-text);
  margin-bottom: 12px;
  text-align: center;
}

.pressure-subtitle small {
  font-size: 1rem;
}

.pressure-note {
  font-size: 0.75rem;
  color: var(--color-gray-text);
  text-align: right;
  margin-top: 4px;
}

/* ピンク補足テキスト */
.pressure-callout {
  position: absolute;
  right: -10%;
  bottom: 15px;
  font-size: var(--font-size-ssss);
  font-weight: 500;
  color: var(--color-white);
  background-image: radial-gradient(closest-side, #ee7890 60%, transparent);
  border-radius: 8px;
  padding: 36px 48px;
  margin-top: 24px;
  text-align: center;
}


/* ============================================================
   9. Section 6: お悩み別 改善方法
   ============================================================ */
.sec-concerns {
  padding-bottom: 6%;
}

/* 研究機関注記 */
.research-note {
  background: var(--color-white);
  padding: 16px 24px;
  max-width: 460px;
  margin-block: -16px 16px;
  position: relative;
}

.research-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-gray-text);
  font-size: 1rem;
  text-decoration: none;
  border-bottom: 1px solid var(--color-gray-text);
  padding-bottom: 2px;
  width: fit-content;
  margin-bottom: 8px;
}

.research-link:hover {
  opacity: 0.7;
}

.research-link-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--color-gray-text);
  color: var(--color-white);
  font-size: 0.5rem;
  transform: rotate(-90deg);
  flex-shrink: 0;
}

.research-institution {
  font-size: 0.75rem;
  color: var(--color-gray-text);
  line-height: 1.6;
}


/* ------------------------------------------------------------
   お悩み別パネル（コード実装版）
   カラーテーマはパネルごとに --concern-glow を切り替える
------------------------------------------------------------ */
.concern-panel {
  --concern-glow: #a9d4bf; /* デフォルト: 緑 (ぐっすり眠りたい) */
  padding-top: var(--section-gap);
  margin-bottom: 6%;
}

/* パネルごとのカラーテーマ */
.concern-panel--green       { --concern-glow: #a9d4bf; } /* 01 ぐっすり眠りたい */
.concern-panel--teal        { --concern-glow: #71c2bc; } /* 02 若々しく / 05 スポーツ */
.concern-panel--pink        { --concern-glow: #efa7bb; } /* 03 肌をキレイに */
.concern-panel--orange      { --concern-glow: #f3bc60; } /* 04 痩せ体質 */
.concern-panel--amber       { --concern-glow: #f6ce79; } /* 06 血糖値 */
.concern-panel--yellowgreen { --concern-glow: #dedc4a; } /* 07 疲労回復 */
.concern-panel--yellow      { --concern-glow: #fadf74; } /* 08 免疫力 */
.concern-panel--coral       { --concern-glow: #f0a48c; } /* 09 更年期 */
.concern-panel--lime        { --concern-glow: #cad867; } /* 10 ストレスケア */

/* --- アコーディオン: headline より下 (band + footer) を開閉 ---
   トグルボタンは .concern-acc の直後に置き、開いた中身の下に表示する */
.concern-acc-toggle-wrap {
  text-align: center;
}

.is-open + .concern-acc-toggle-wrap {
  margin-top: clamp(16px, 2.5vw, 32px);
}
.concern-acc-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 36px;
  border: none;
  border-radius: 999px;
  background: var(--concern-glow);
  color: var(--color-white);
  font-family: inherit;
  font-size: var(--font-size-ss);
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.3s;
}
.concern-acc-toggle:hover {
  opacity: 0.8;
}

/* 開閉アイコン: 下向き山形、開いたら上向きに回転 */
.concern-acc-icon {
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.35s ease;
}

.concern-acc-toggle[aria-expanded="true"] .concern-acc-icon {
  transform: translateY(2px) rotate(225deg);
}

/* grid-template-rows 0fr→1fr で高さをアニメーション */
.concern-acc {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s ease;
}

.concern-acc.is-open {
  grid-template-rows: 1fr;
}

.concern-acc-inner {
  overflow: hidden;
  min-height: 0;
}

@media (prefers-reduced-motion: reduce) {
  .concern-acc {
    transition: none;
  }
}

/* --- 見出し: 思考吹き出し風バッジ --- */
.concern-title {
  margin: 0 0 clamp(24px, 4vw, 48px);
}

.concern-title-badge {
  position: relative;
  display: inline-block;
  min-width: min(360px, 75%);
  padding: clamp(14px, 3.0vw, 24px) clamp(18px, 3.0vw, 36px);
  border-radius: 20px;
  background: var(--concern-glow);
  box-shadow: 0 0 38px 20px var(--concern-glow);
  color: var(--color-white);
  font-size: var(--font-size-l);
  font-weight: 500;
  text-align: center;
}

/* 思考吹き出しのトレイル (点2つ) */
.concern-title-badge::before,
.concern-title-badge::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
}
.concern-panel--green .concern-title-badge::before,
.concern-panel--green .concern-title-badge::after      { background: #a9d4bf; } /* 01 ぐっすり眠りたい */

.concern-panel--teal .concern-title-badge::before,
.concern-panel--teal .concern-title-badge::after        { background: #71c2bc; } /* 02 若々しく / 05 スポーツ */

.concern-panel--pink .concern-title-badge::before,
.concern-panel--pink .concern-title-badge::after        { background: #efa7bb; } /* 03 肌をキレイに */

.concern-panel--orange .concern-title-badge::before,
.concern-panel--orange .concern-title-badge::after      { background: #f3bc60; } /* 04 痩せ体質 */

.concern-panel--amber .concern-title-badge::before,
.concern-panel--amber .concern-title-badge::after       { background: #f6ce79; } /* 06 血糖値 */

.concern-panel--yellowgreen .concern-title-badge::before ,
.concern-panel--yellowgreen .concern-title-badge::after  { background: #dedc4a; } /* 07 疲労回復 */

.concern-panel--yellow .concern-title-badge::before,
.concern-panel--yellow .concern-title-badge::after       { background: #fadf74; } /* 08 免疫力 */

.concern-panel--coral .concern-title-badge::before,
.concern-panel--coral .concern-title-badge::after       { background: #f0a48c; } /* 09 更年期 */

.concern-panel--lime .concern-title-badge::before,
.concern-panel--lime .concern-title-badge::after      { background: #cad867; } /* 10 ストレスケア */
.concern-title-badge::before {
  width: clamp(20px, 2.6vw, 34px);
  height: clamp(20px, 2.6vw, 34px);
  right: clamp(-48px, -3.5vw, -30px);
  bottom: 10px;
}

.concern-title-badge::after {
  width: clamp(12px, 1.6vw, 20px);
  height: clamp(12px, 1.6vw, 20px);
  right: clamp(-78px, -6vw, -50px);
  bottom: -14px;
}

/* --- リード文 + 大見出し --- */
.concern-copy {
  text-align: center;
  margin-bottom: clamp(24px, 3.5vw, 40px);
}

.concern-lead {
  display: inline-block;
  font-size: var(--font-size-s);
  color: var(--color-gray-text);
  margin-bottom: 8px;
}

/* リード文の下線部分 (「〜眠ることで」まで) */
.concern-lead-u {
  display: inline-block;
  border-bottom: 2px solid var(--color-pink);
  padding-bottom: 0.1em;
}

.concern-headline {
  font-size: var(--font-size-r);
  color: var(--color-gray-text);
  line-height: 1.5;
}

.concern-headline-accent {
  color: var(--color-pink);
  font-weight: 500;
  font-size: 1.15em;
}

/* --- ベージュ帯: 図版 + 結果テキスト --- */
.concern-band {
  background: var(--color-beige);
  /* padding:0 clamp(24px, 3.5vw, 48px); */
  padding: 0;
}

.concern-band-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 36px);
}

.concern-figure {
  flex: 1 1 58%;
  margin: 0;
}
#concern-01 .concern-figure {flex: 1 1 65%;}
#concern-02 .concern-figure {flex: 1 1 55%;}
#concern-03 .concern-figure {flex: 1 1 40%;}
#concern-04 .concern-figure {flex: 1 1 40%;}
#concern-05 .concern-figure {flex: 1 1 45%;}
#concern-06 .concern-figure {flex: 1 1 50%;}
#concern-07 .concern-figure {flex: 1 1 50%;}
#concern-08 .concern-figure {flex: 1 1 70%;}
#concern-09 .concern-figure {flex: 1 1 40%;}
.concern-figure img {
  width: 100%;
  padding: 30px 0;
}
#concern-01 .concern-figure img,
#concern-08 .concern-figure img{
  padding: 0;
}
#concern-05 .concern-figure img{
  padding: 30px 0 0;
  margin-bottom: -10px;
}
.concern-results {
  flex: 1 1 38%;
  display: flex;
  flex-direction: column;
  gap:0 clamp(24px, 3vw, 48px);
  padding: 20px 0;
}

.concern-result {
  border-left: 2px solid #b5b0ab;
  padding-left: clamp(16px, 2vw, 28px);
}

.concern-result p {
  font-size: var(--font-size-s);
  color: var(--color-gray-text);
  line-height: 1.8;
}

.concern-accent {
  color: var(--color-pink);
  font-weight: 500;
}

/* 定義見出し (「〜とは？」「〜の結果」) */
.concern-def-title {
  font-size: var(--font-size-r);
  font-weight: 500;
  color: var(--color-gray-text);
  border-left: 2px solid #b5b0ab;
  padding-left: clamp(16px, 2vw, 28px);
  margin-bottom: clamp(16px, 2.5vw, 32px);
}

.concern-def-title small {
  font-size: 0.6em;
}

/* 定義見出しの補足 (※〜) */
.concern-def-note {
  font-size: 0.6875rem;
  color: var(--color-gray-text);
  text-align: right;
  margin: -12px 0 16px;
}

/* 箇条書き (▶) */
.concern-bullets {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.8vw, 24px);
}

.concern-bullets li {
  position: relative;
  padding-left: 1.1em;
  font-size: var(--font-size-ss);
  color: var(--color-gray-text);
  line-height: 1.7;
}

.concern-bullets li::before {
  content: "▶";
  position: absolute;
  left: 0;
  top: 0.15em;
  color: var(--color-pink);
  font-size: 0.75em;
}

/* 改善項目タグ (更年期パネル) */
.concern-tags {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px 6px;
}

.concern-tags li {
  background: var(--color-pink);
  color: var(--color-white);
  font-size: var(--font-size-ssss);
  text-align: center;
  border-radius: 10px;
  padding: 8px 12px;
}

/* 2カラム帯 (ストレスケアパネル) */
.concern-band-inner--duo {
  align-items: stretch;
}

.concern-duo {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  padding-block: clamp(24px, 3vw, 40px);
}

.concern-duo .concern-figure {
  flex: none;
  width: min(310px, 85%);
  margin-inline: auto;
  margin-bottom: clamp(16px, 2vw, 28px);
}

/* 出典 */
.concern-source {
  position: absolute;
  right: var(--inner-padding);
  bottom: 0;
  font-size: 0.6875rem; /* 11px */
  color: #a8a29c;
}

/* --- フッター: 研究注記 + 補足吹き出し --- */
.concern-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
    gap: clamp(24px, 2vw, 36px);
  padding-top: clamp(24px, 3vw, 40px);
}

/* パネル内では research-note のオーバーレイ用スタイルを解除 */
.concern-panel .research-note {
  background: transparent;
  padding: 0;
  margin: 0;
  max-width: none;
  flex-shrink: 0;
}

/* 補足吹き出し (シアン) */
.concern-bubble {
  position: relative;
  z-index: 1;
}
.concern-bubble::before,
.concern-bubble::after{
  content: "";
  display: block;
  position: absolute;
    top: -58px;
    left: 15%;
    padding-left: 85px;
    padding-top: 70px;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: center center;
}
.concern-bubble::before{
  background-image: url(images/worry_baloon02.webp);
  z-index: -1;
}
.concern-bubble::after{
  background-image: url(images/worry_baloon03.webp);
  z-index: 2;
}
.concern-bubble p {
  flex: 0 1 620px;
  background: var(--color-white);
  border: 3px solid #cdeef0;
  border-radius: 32px;
  padding: clamp(16px, 2.5vw, 28px) clamp(20px, 3vw, 40px);
  box-shadow: 0 0 20px rgba(178, 223, 227, 0.5);
  font-size: var(--font-size-sss);
  color: var(--color-cyan-dark);
  font-weight: 500;
  text-align: center;
}

/* 吹き出し+注記のラッパー (更年期パネル) */
.concern-bubble-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.concern-bubble-col .concern-bubble {
  flex: none;
}

.concern-bubble-note {
  font-size: 0.6875rem;
  color: #a8a29c;
  text-align: right;
}

/* research-link の矢印 (▶) */
.research-link-circle::before,
.product-link-arrow::before {
  content: "▼";
}


/* ============================================================
   10. Section 7: 商品一覧
   ============================================================ */
.sec-products {
  padding-block: var(--section-gap);
}

/* 商品リスト */
.product-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 65%;
  margin-left: auto;
  margin-right: auto;
}

/* 各商品行 */
.product-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 40px;
  border-bottom: 1px solid #ececec;
    position: relative;
}

.product-info {
  flex: 0 0 auto;
  min-width: 220px;
  align-self: flex-start;
  margin-right: -30%;
    position: relative;
    z-index: 2;
}

.product-name {
  font-size: 1.875rem; /* 30px */
  color: var(--color-gray-text);
  margin-bottom: 16px;
  white-space: nowrap;
}

/* 「商品を見る」リンク */
.product-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
  color: var(--color-pink);
  text-decoration: none;
  border-bottom: 2px solid var(--color-pink);
  padding-bottom: 2px;
}

.product-link:hover {
  opacity: 0.7;
}

.product-link-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--color-pink);
  color: var(--color-white);
  font-size: 0.5rem;
  transform: rotate(-90deg);
  flex-shrink: 0;
}

/* 商品画像 */
.product-image {
  flex: 0 0 auto;
  max-width: 70%;
}

.product-image img {
  width: 100%;
  height: auto;
  padding-top: 20%;
}


/* ============================================================
   11. フッター (眠育フォトコンテストサイトと共通の見た目)
   ============================================================ */
footer {
  padding: 24px 32px;
  border-top: 1px solid var(--color-beige);
}

.footer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
}

.footer-logos img {
  width: clamp(100px, 40%, 200px);
}

/* トップへ戻るボタン (nishikawa1566.com と同仕様:
   右端固定・半透明白・スクロールでフェード表示) */
.pagetop {
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 75px;
  height: 60px;
  background: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}

.pagetop.is-visible {
  opacity: 1;
  visibility: visible;
}

.pagetop:hover {
  opacity: 0.7;
}

/* 上向き山形アイコン (アクセントのピンク) */
.pagetop-arrow {
  width: 14px;
  height: 14px;
  margin-top: 6px;
  border-top: 3px solid var(--color-pink);
  border-right: 3px solid var(--color-pink);
  transform: rotate(-45deg);
}

.pagetop-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--color-gray-text);
}

/* 商品一覧への固定CTA (画面下部中央・お悩み別セクションで表示)
   ※flexにすると<sub>®がflexアイテム化して位置が崩れるため、
     通常のテキストフローのまま組む (バッジと同方式)。
     position:fixed の要素は内容幅に縮むので width 指定も不要 */
.cta-products {
  position: fixed;
  left: 50%;
  bottom: 16px;
  translate: -50% 0;
  z-index: 90;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--color-pink);
  color: var(--color-white);
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}

.cta-products.is-visible {
  opacity: 1;
  visibility: visible;
}

.cta-products:hover {
  opacity: 0.8;
}

/* 下向き矢印 (商品リンクの円形矢印と同じ形状言語・色反転) */
.cta-products-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--color-white);
  margin-left: 10px;
}

.cta-products-arrow::before {
  content: "▶︎";
  color: var(--color-pink);
  font-size: 0.5rem;
}

/* 640px以下: 中央のCTAと右端のPAGE TOPが同じ高さで衝突するため、
   PAGE TOPをCTAの上に退避させる (CTAは最下部に残す) */
@media (max-width: 640px) {
  .pagetop {
    bottom: 72px;
  }
}

/* 400px以下: CTA自体が画面幅を超えないよう縮小
   ※gap指定はflexアイテム化した<sub>®の前後にも空きを作るため使わず、
     矢印の間隔はmargin-leftで確保する */
@media (max-width: 400px) {
  .cta-products {
    font-size: 11px;
    padding: 12px 16px;
    max-width: calc(100vw - 24px);
  }

  .cta-products-arrow {
    margin-left: 8px;
    width: 17px;
    height: 17px;
  }
}


/* ============================================================
   12. レスポンシブ — タブレット (max-width: 900px)
   ============================================================ */
@media (max-width: 900px) {
.brsp{
  display: none !important;
}
.brtab{
  display: inherit !important;
}
.brpc{
  display: none !important;
}
  .heading-badge {
    font-size: 1.5rem;
    padding: 10px 24px;
  }

  /* DR4 レイアウト縦積み */
  .dr4-layout {
    flex-direction: column;
  }

.pressure-callout {
    right: -13%;
}
.pressure-card img{
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

  /* 特徴詳細 */
  .feature-detail,
  .feature-detail--reverse {
    flex-direction: column;
  }

  .feature-detail-image {
    max-width: 100%;
  }
  .feature-detail-image img{
    margin-left: auto;
    margin-right: auto;
  }
  /* お悩み別パネル */
  .concern-band {
      margin-bottom: -6%;
  }
  .concern-band-inner {
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 32px;
  }

  .concern-band-inner--duo .concern-duo {
    padding-block: 0;
  }
  .concern-figure img {
      width: 60%;
      margin-left: auto;
      margin-right: auto;
      padding: 30px 0 0;
  }

    .concern-bubble-col {
      width: 100%;
  }
  .concern-tags {
    grid-template-columns: repeat(2, 1fr);
  }

  .concern-footer {
    flex-direction: column-reverse;
  }

  .concern-bubble {
    flex-basis: auto;
    width: 100%;
    margin-top: 48px; /* 羊の逃げ */
  }

  /* 商品行 */
  .product-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-name {
    white-space: normal;
  }

  .product-image {
    max-width: 100%;
    width: 100%;
  }
  .product-image img{
    padding-top: 0;
  }

}


/* ============================================================
   13. レスポンシブ — モバイル (max-width: 600px)
   ============================================================ */
@media (max-width: 600px) {
h1 span {
        background-size: auto clamp(16px, 94%, 200px);
        padding: clamp(0px, 2%, 12px) 20% clamp(16px, 16%, 75px);
  }
.brsp{
  display: inherit !important;
}
.brtab{
  display: none !important;
}
.brpc{
  display: none !important;
}
/* 2列並びにすると縦に伸びるため、85vh固定を解除して内容の高さに合わせる */
.sec-hero {
  height: auto;
  padding-bottom: 8%;
}
.sec-hero h1{
  display: block;
  padding-top: 5%;
  margin-bottom: 5%;
  height: auto;
  position: relative;
}
h1 img{
  margin-left: auto;
  margin-right: auto;
}
.sec-hero .worries{
  height: auto;
}
/* 楕円配置をやめ、2つずつの横並び (2カラム) にする */
.sec-hero .worries ul{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* ぼかし用に広げた ::before の箱がはみ出して横スクロールが出るのを防ぐ。
       クリップ位置は padding box なので、padding をぼかしの広がり(約30px)
       より大きくとり、blobの外周が切れないようにする */
    overflow: hidden;
    padding: 40px;
    /* ※gapを変えたら下の width の引き算も必ず合わせること */
    gap: 12px;
}
.sec-hero .worries ul li{
    position: relative;
    left: auto;
    top: auto;
    /* 2列 = 50% から gap(12px) の半分を引く */
    width: calc(50% - 6px);
    height: auto;
    transform: none;
    transform-origin: 50% 50%;
    aspect-ratio: 3 / 1;
}
  .heading-badge {
  font-size: var(--font-size-r);
    padding: 8px 16px;
    white-space: normal;
    text-align: center;
  }

  /* 商品誘導バッジは1行を維持: 文字サイズとpaddingを縮めて収める */
  .heading-badge--pink {
    white-space: nowrap;
    font-size: clamp(12px, 4vw, 18px);
    padding: 10px 14px;
    max-width: calc(100vw - 2 * var(--inner-padding));
  }

  .heading-badge--pink .cta-products-arrow {
    margin-left: 6px;
    width: 17px;
    height: 17px;
  }

  .lead-text {
    font-size: 1.125rem;
  }
.dr4-layout {
    background-position: center top;
    background-size: 85% auto;
    padding: 50% 0 0;
}
.dr4-layout p {
    padding:0 15%;
    font-size: var( --font-size-sss);
}
  .dr4-desc-text {
    font-size: 1.125rem;
  }
.features-bg {
    padding:8vw 14vw;
}
  .features-label {
    font-size: 1.5rem;
  }

    .features-cards {
        grid-template-columns: 1fr;
    }
  .feature-card-name {
    font-size: 1.5rem;
  }

  .feature-card-sub {
    font-size: 1.125rem;
  }

#feature-2 .feature-detail-image img,
#feature-3 .feature-detail-image img {
    width: 100%;
}

.pressure-title span{
    font-size: var(--font-size-r);
}
.pressure-callout {
  right: -10%;
  bottom: -50%;
}
.pressure-note{
  text-align:left;
}
  .concern-lead {
    font-size: var(--font-size-ss);
}
.concern-headline {
    font-size: var(--font-size-s);
}

  .concern-title-badge {
      min-width: min(240px, 55%);
      font-size: var(--font-size-r);
      margin-bottom: 2%;
      box-shadow: 0 0 7vw 3vw var(--concern-glow);
  }
  .concern-figure img {
      width: 80%;
  }

#concern-01 .concern-figure img,
#concern-07 .concern-figure img,
#concern-08 .concern-figure img{
      width: 100%;
}
#concern-07 .concern-figure img{
      width: 100%;
}
  .concern-results{
    padding: 0;
  }
  .concern-bubble p {
    text-align: left;
  }
  .product-name {
    font-size: 1.25rem;
  }

  .product-link {
    font-size: 1.125rem;
  }

  footer {
    padding: 20px 16px;
  }

}


/* ============================================================
   スクロールフェードイン (script.js が viewport 進入時に .visible を付与)
   transform は .worries li などで使用中のため、
   合成可能な個別プロパティ translate を使う
   ============================================================ */
.js-fade-in {
  opacity: 0;
  translate: 0 32px;
  transition:
    opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
    translate 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.js-fade-in.visible {
  opacity: 1;
  translate: 0 0;
}

/* ヒーローblob: 12時から時計回りに順番にふわっと表示
   scale はアンカーリンクのホバー演出用 (delay は常に 0 にする) */
.worries ul li.js-fade-in {
  transition:
    opacity 1.3s cubic-bezier(0.22, 0.61, 0.36, 1),
    translate 1.3s cubic-bezier(0.22, 0.61, 0.36, 1),
    scale 0.35s ease;
}
.worries ul li.js-fade-in:nth-child(2)  { transition-delay: 0.08s, 0.08s, 0s; }
.worries ul li.js-fade-in:nth-child(3)  { transition-delay: 0.16s, 0.16s, 0s; }
.worries ul li.js-fade-in:nth-child(4)  { transition-delay: 0.24s, 0.24s, 0s; }
.worries ul li.js-fade-in:nth-child(5)  { transition-delay: 0.32s, 0.32s, 0s; }
.worries ul li.js-fade-in:nth-child(6)  { transition-delay: 0.40s, 0.40s, 0s; }
.worries ul li.js-fade-in:nth-child(7)  { transition-delay: 0.48s, 0.48s, 0s; }
.worries ul li.js-fade-in:nth-child(8)  { transition-delay: 0.56s, 0.56s, 0s; }
.worries ul li.js-fade-in:nth-child(9)  { transition-delay: 0.64s, 0.64s, 0s; }
.worries ul li.js-fade-in:nth-child(10) { transition-delay: 0.72s, 0.72s, 0s; }

/* ホバー/フォーカスで blob がふわっと拡大 */
.worries ul li:hover,
.worries ul li:has(a:focus-visible) {
  scale: 1.08;
}

/* スマホ (600px以下) のフェードイン
   li 自身には opacity / translate をかけない。値が付くと li が独立した
   描画グループになり、z-index:-1 の ::before(ぼかし) が li の矩形で
   打ち切られて「途切れ」て見えるため (iOS Safariで顕著)。
   代わりに中身の3レイヤー (ぼかし / 白シェイプ / テキスト) を個別にフェードさせる。
   ※上の定義より後に置くこと (同一詳細度は後勝ちのため) */
@media (max-width: 600px) {
  .worries ul li.js-fade-in {
    opacity: 1;
    translate: none;
    transition: none;
  }

  /* ぼかしを持つ ::before の対策 (2段構え)
     (1) opacity を使わず背景色のアルファでフェードする
     (2) それでも箱の縁で切られる環境があるため、箱自体を 48px 外側へ広げ、
         色は内側(padding box)だけに描く。これで切られる位置が
         ぼかしの見える範囲より外になり、途切れが見えなくなる。
         border-radius は広げた分を足して、内側の角丸を元のまま保つ。 */
  .worries ul li.js-fade-in::before {
    opacity: 1;
    inset: -48px;
    border: 48px solid transparent;
    background-clip: padding-box;
    border-radius: calc(clamp(28px, 4vw, 52px) + 48px);
    background-color: transparent;
    transition: background-color 1.3s cubic-bezier(0.22, 0.61, 0.36, 1);
    transition-delay: var(--fade-delay, 0s);
  }
  .worries ul li.js-fade-in.visible::before {
    background-color: var(--worry-color, gray);
  }

  /* 白シェイプとテキストはぼかしを持たないので opacity でよい */
  .worries ul li.js-fade-in::after,
  .worries ul li.js-fade-in > a {
    opacity: 0;
    transition: opacity 1.3s cubic-bezier(0.22, 0.61, 0.36, 1);
    transition-delay: var(--fade-delay, 0s);
  }

  .worries ul li.js-fade-in.visible::after,
  .worries ul li.js-fade-in.visible > a {
    opacity: 1;
  }

  /* 12時から時計回りに順番に表示 (PC版と同じ0.08s刻み) */
  .worries ul li:nth-child(2)  { --fade-delay: 0.08s; }
  .worries ul li:nth-child(3)  { --fade-delay: 0.16s; }
  .worries ul li:nth-child(4)  { --fade-delay: 0.24s; }
  .worries ul li:nth-child(5)  { --fade-delay: 0.32s; }
  .worries ul li:nth-child(6)  { --fade-delay: 0.40s; }
  .worries ul li:nth-child(7)  { --fade-delay: 0.48s; }
  .worries ul li:nth-child(8)  { --fade-delay: 0.56s; }
  .worries ul li:nth-child(9)  { --fade-delay: 0.64s; }
  .worries ul li:nth-child(10) { --fade-delay: 0.72s; }

  /* タップで貼り付く :hover を避けるため拡大は無効のまま */
  .worries ul li:hover,
  .worries ul li:has(a:focus-visible) {
    scale: none;
  }
}

/* お悩みパネル: 帯とフッターを見出しより一拍遅らせる */
.concern-band.js-fade-in   { transition-delay: 0.15s; }
.concern-footer.js-fade-in { transition-delay: 0.3s; }

/* OSの視差効果軽減設定を尊重して即時表示 */
@media (prefers-reduced-motion: reduce) {
  .js-fade-in {
    transition: none;
    opacity: 1;
    translate: none;
  }
}


/* ============================================================
   お悩み別アンカーリンク (.concern-nav)
   ※不要になったら、このセクションと index.html の
     <nav class="concern-nav"> ブロックをまとめて削除
   ============================================================ */
.concern-nav {
  margin-top: clamp(16px, 2.5vw, 28px);
}

.concern-nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
}

/* 全チップ同一サイズ (最長ラベル「スポーツをがんばりたい」基準) */
.concern-nav-list li {
  width: clamp(150px, 17vw, 176px);
}

/* ヒーローblob・見出しバッジと同トーン:
   パステル背景 × 白文字 × ピル型 */
.concern-nav-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-size: clamp(11px, 1.1vw, 13px);
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--color-white);
  text-decoration: none;
  background: var(--nav-color, var(--color-cyan));
  border-radius: 999px;
  padding: 10px 8px;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.concern-nav-list a:hover {
  opacity: 0.7;
}

/* チップの背景色を各パネルのテーマ色と揃える */
.concern-nav-list li:nth-child(1)  a { --nav-color: #8cc7b1; }
.concern-nav-list li:nth-child(2)  a { --nav-color: #71c2bd; }
.concern-nav-list li:nth-child(3)  a { --nav-color: #eda8bb; }
.concern-nav-list li:nth-child(4)  a { --nav-color: #f4bc60; }
.concern-nav-list li:nth-child(5)  a { --nav-color: #71c2bc; }
.concern-nav-list li:nth-child(6)  a { --nav-color: #bcd47e; }
.concern-nav-list li:nth-child(7)  a { --nav-color: #dbd94e; }
.concern-nav-list li:nth-child(8)  a { --nav-color: #fadf74; }
.concern-nav-list li:nth-child(9)  a { --nav-color: #efa38b; }
.concern-nav-list li:nth-child(10) a { --nav-color: #cad968; }