@charset "UTF-8";
/* ============================================================
   ブルーラジカル 追加セクション スタイル
   配色・トーンは木下歯科クリニック（暖色×クリーム×ドット地）に準拠
   Breakpoints: 1024px以下 / 599px以下
   ============================================================ */

.br-sec {
  --br-cream: #fffcf7;
  --br-cream-2: #f7efdd;
  --br-tan: #cfc09a;
  --br-accent: #d1b584;        /* メインアクセント（塗り・下線・装飾） */
  --br-accent-d: #c0a371;      /* ホバー・アイコン等 やや濃いめ */
  --br-accent-text: #d1b584;   /* 見出し・テキスト用（白地でも可読な濃さ） */
  --br-on-accent: #463f30;     /* 塗りの上にのせる文字色 */
  --br-green: #82bb4f;
  --br-text: #4c463d;
  --br-sub: #8c8473;
  --br-line: #ece1cb;
  --br-ph: #efe7d6;
  --br-white: #fff;
  --br-radius: 16px;
  --br-shadow: 0 10px 28px rgba(150, 122, 60, .10);

  box-sizing: border-box;
  padding: 84px 24px;
  color: var(--br-text);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  line-height: 1.9;
  letter-spacing: .02em;
}
.br-sec *,
.br-sec *::before,
.br-sec *::after { box-sizing: border-box; }

/* 背景の交互 */
.br-worries   { background: var(--br-white); }
.br-about     { background: var(--br-cream); }
.br-features  { background: var(--br-white); }

.br-flow      { background: #fff; }
.br-cases     { background: var(--br-white); }
.br-faq       { background: var(--br-cream); }

.br-inner { width: 100%; max-width: 1080px; margin: 0 auto; }
.br-inner--narrow { max-width: 820px; }

/* ===== 見出し共通 ===== */
.br-heading {
  margin: 0 0 48px;
  text-align: center;
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--br-accent-text);
}
.br-recommend .br-heading { 
color: #fff;
    text-shadow: 1px 1px 2px #9e988d;
}

/* .br-heading::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin: 18px auto 0;
  border-radius: 3px;
  background: currentColor;
  opacity: .8;
} */
.br-heading--left { text-align: left; }
.br-heading--left::after { margin-left: 0; margin-right: auto; }

/* 画像プレースホルダ共通 */
.br-media-ph,
.br-feature-ph,
.br-flow-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--br-ph);
  color: #c4b79a;
}
.br-media-ph::before,
.br-feature-ph::before,
.br-flow-ph::before {
  content: "";
  width: 40px; height: 32px;
  border: 2px solid currentColor; border-radius: 4px;
  background:
    radial-gradient(circle at 30% 38%, currentColor 3px, transparent 4px),
    linear-gradient(135deg, transparent 55%, currentColor 55% 66%, transparent 66%);
  background-repeat: no-repeat;
}

/* ============================================================
   このようなお悩みはありませんか？
   ============================================================ */
.br-worries-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 880px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 28px;
}
.br-worries-item {
  position: relative;
  padding: 16px 18px 16px 52px;
  background: var(--br-cream);
  border: 1px solid var(--br-line);
  border-radius: 12px;
  font-size: 16px;
}
.br-worries-item::before {
  content: "";
  position: absolute;
  left: 18px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--br-accent-text);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/16px no-repeat;
  background-color: var(--br-accent-text);
}

/* ============================================================
   ブルーラジカル治療とは？
   ============================================================ */
.br-about-grid {
    display: grid;
    grid-template-columns: 1.15fr 1.5fr;
    gap: 48px;
    align-items: flex-start;
}
.br-about-text { display: flex; flex-direction: column; gap: 16px; }
.br-lead { font-size: 17px; font-weight: 600; color: var(--br-accent-text); }
.br-body { font-size: 15.5px; color: var(--br-text); }
.br-about-media .br-media-ph {
  width: 100%; aspect-ratio: 4 / 3;
  border-radius: var(--br-radius);
}

/* ============================================================
   ブルーラジカルの特徴
   ============================================================ */
.br-feature-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.br-feature-card {
  position: relative;
  padding: 44px 26px 30px;
  background: var(--br-white);
  border: 1px solid var(--br-line);
  border-radius: var(--br-radius);
  box-shadow: var(--br-shadow);
  text-align: center;
}
.br-feature-num {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--br-accent); color: var(--br-on-accent);
  font-size: 15px; font-weight: 700; letter-spacing: .04em;
}
.br-feature-ph {
  width: 100%; aspect-ratio: 16 / 10;
  border-radius: 12px; margin-bottom: 20px;
}
.br-feature-title {
  margin: 0 0 12px; font-size: 18px; font-weight: 700; color: var(--br-text);
}
.br-feature-text { font-size: 14.5px; color: var(--br-sub); text-align: left; }

/* ============================================================
   こんな方におすすめです
   ============================================================ */
.br-recommend-list {
  list-style: none; margin: 0 0 36px; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.br-recommend-item {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px;
}
.br-recommend-icon {
  width: 96px; height: 96px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff; color: var(--br-accent-text);
  box-shadow: 0 8px 18px rgba(90, 72, 35, .2);
}
.br-recommend-text {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.7;
    text-shadow: 1px 1px 2px #858585;
}

.br-recommend-note {
  max-width: 760px; margin: 0 auto; text-align: center;
  font-size: 14.5px; line-height: 2; color: var(--br-text);
  background: #fff;
  font-weight: bold;
  border-radius: 12px; padding: 20px 24px;
}

/* ============================================================
   治療の流れ
   ============================================================ */
.br-flow-list {
  list-style: none; margin: 0; padding: 0; counter-reset: none;
  display: flex; flex-direction: column; gap: 28px;
}
.br-flow-item {
  position: relative;
  display: grid; grid-template-columns: 64px 260px 1fr; align-items: center; gap: 28px;
  background: var(--br-white);
  border: 1px solid var(--br-line); border-radius: var(--br-radius);
  padding: 26px 34px;
  box-shadow: var(--br-shadow);
}

.br-flow-item img{
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto !important;
    object-fit: cover;  
}


.br-flow-item:not(:last-child)::after {
  content: "";
  position: absolute; left: 50px; bottom: -18px;
  width: 14px; height: 14px;
  border-right: 2px solid var(--br-tan); border-bottom: 2px solid var(--br-tan);
  transform: rotate(45deg);
}
.br-flow-num {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--br-accent); color: #fff; font-size: 22px; font-weight: 700;
}
.br-flow-ph { width: 100%; aspect-ratio: 4 / 3; border-radius: 12px; }
.br-flow-title { margin: 0 0 6px; font-size: 18px; font-weight: 700; color: var(--br-text); }
.br-flow-text { font-size: 14.5px; color: var(--br-sub); }

/* ============================================================
   症例（横スクロール／下のスクロールバーで操作）
   ============================================================ */
.br-case-list {
  list-style: none; margin: 0 0 40px;
  padding: 6px 4px 18px;            /* バーとカードの間隔 */
  display: flex; gap: 28px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x proximity;    /* ゆるくスナップ。不要なら none に */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;            /* Firefox */
  scrollbar-color: var(--br-accent) var(--br-line);
}
/* スクロールバーの見た目（線）：Chrome / Safari / Edge */
.br-case-list::-webkit-scrollbar { height: 8px; }
.br-case-list::-webkit-scrollbar-track {
  background: var(--br-line); border-radius: 999px;
}
.br-case-list::-webkit-scrollbar-thumb {
  background: var(--br-accent); border-radius: 999px;
}
.br-case-list::-webkit-scrollbar-thumb:hover { background: var(--br-accent-d); }

.br-case-card {
  flex: 0 0 calc((100% - 28px) / 2);  /* PCで2枚表示。1枚=(100% - 28px)、3枚=/3 */
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--br-line); border-radius: var(--br-radius);
  overflow: hidden; box-shadow: var(--br-shadow);
}
.br-case-media { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--br-line); }

/* 症例画像（src 差し替えのみで運用。サイズ・比率はここで制御） */
.br-case-img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;       /* 縦横比。4 / 3 や 1 / 1 に変更可 */
  object-fit: cover;         /* 比率違いの画像でも枠に合わせて切り抜き */
  background: var(--br-ph);  /* 読み込み前の下地 */
}

.br-case-body { padding: 26px 26px 28px; }
.br-case-tag {
  display: inline-block; margin-bottom: 12px;
  font-size: 13px; font-weight: 700; color: #fff;
  background: var(--br-accent); border-radius: 999px; padding: 4px 14px;
}
.br-case-desc { display: block; font-size: 15px; color: var(--br-text); margin-bottom: 16px; }
.br-case-meta { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; }
.br-case-meta dt {
  font-size: 12.5px; font-weight: 700; color: var(--br-accent-text); white-space: nowrap;
}
.br-case-meta dd { margin: 0; font-size: 13px; color: var(--br-sub); }

/* 症例：Before / After ラベル */
.br-case-media {
  position: relative;
}
.br-case-media::before,
.br-case-media::after {
  position: absolute;
  top: 10px;
  z-index: 1;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(76, 70, 61, .78);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.6;
  pointer-events: none;
  backdrop-filter: blur(2px);
}
.br-case-media::before {
  content: "治療前";
  left: 10px;
}
.br-case-media::after {
  content: "治療後";
  left: calc(50% + 11px);   /* gap:2px の右カラム先頭 + 余白10px */
  background: var(--br-accent);
  color: var(--br-on-accent);
}

@media (max-width: 599px) {
  .br-case-media::before,
  .br-case-media::after { top: 8px; font-size: 11px; padding: 3px 10px; }
  .br-case-media::before { left: 8px; }
  .br-case-media::after  { left: calc(50% + 9px); }
}

/* ボタン */
.br-cases-action { text-align: center; }
.br-btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-width: 240px; justify-content: center;
  padding: 15px 30px; border-radius: 999px;
  background: var(--br-accent); color: #fff;
  font-size: 15px; font-weight: 700; text-decoration: none;
  box-shadow: 0 8px 18px rgba(160, 130, 70, .26);
  transition: background .2s, transform .2s;
}
.br-btn:hover { background: var(--br-accent-d); transform: translateY(-2px); }
.br-btn-arrow { font-size: 18px; line-height: 1; }

/* ============================================================
   よくある質問
   ============================================================ */
.br-faq-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.br-faq {
  background: var(--br-white);
  border: 1px solid var(--br-line); border-radius: 12px; overflow: hidden;
}
.br-faq-q {
  display: flex; align-items: center; gap: 14px;
  list-style: none; cursor: pointer;
  padding: 20px 56px 20px 20px; position: relative;
  font-size: 16px; font-weight: 600; color: var(--br-text);
}
.br-faq-q::-webkit-details-marker { display: none; }
.br-faq-mark {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--br-accent); color: #fff; font-weight: 700; font-size: 14px;
}
.br-faq-mark--a { background: var(--br-green); color: #fff; }
.br-faq-q::after {
  content: ""; position: absolute; right: 22px; top: 50%;
  width: 11px; height: 11px;
  border-right: 2px solid var(--br-accent-text); border-bottom: 2px solid var(--br-accent-text);
  transform: translateY(-70%) rotate(45deg); transition: transform .25s;
}
.br-faq[open] .br-faq-q::after { transform: translateY(-30%) rotate(225deg); }
.br-faq-a {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 4px 20px 22px; font-size: 14.5px; color: var(--br-sub); line-height: 1.9;
}
/* .br-faq-atext { padding-top: 4px; } */


/* 改行制御 */
.br-sp-br { display: none; }

/* ============================================================
   1024px 以下
   ============================================================ */
@media (max-width: 1024px) {
  .br-sec { padding: 64px 24px; }
  .br-heading { margin-bottom: 40px; }

  .br-about-grid { grid-template-columns: 1fr; gap: 28px; }
  .br-about-media { max-width: 520px; margin: 0 auto; width: 100%; }

  .br-feature-list { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .br-feature-card { padding: 40px 18px 26px; }

  .br-recommend-list { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .br-recommend-icon { width: 84px; height: 84px; }

  .br-flow-item { grid-template-columns: 56px 200px 1fr; gap: 22px; padding: 22px 24px; }

  /* 症例：隣を少し見せる */
  .br-case-card { flex-basis: calc((100% - 28px) / 1.6); }
}

/* ============================================================
   599px 以下
   ============================================================ */
@media (max-width: 599px) {
  .br-sec { padding: 52px 18px; line-height: 1.85; }
  .br-heading { font-size: 22px; margin-bottom: 32px; }
  .br-sp-br { display: inline; }

  /* お悩み：1列 */
  .br-worries-list { grid-template-columns: 1fr; gap: 12px; }
  .br-worries-item { font-size: 15px; padding: 14px 16px 14px 48px; }

  /* とは：縦並び */
  .br-lead { font-size: 16px; }
  .br-body { font-size: 14.5px; }

  /* 特徴：1列 */
  .br-feature-list { grid-template-columns: 1fr; gap: 36px; }
  .br-feature-card { padding: 42px 22px 26px; }
  .br-feature-text { text-align: center; }

  /* おすすめ：1列 */
  .br-recommend-list { grid-template-columns: 1fr; gap: 22px; }
  .br-recommend-item { flex-direction: row; justify-content: flex-start; text-align: left; gap: 16px; }
  .br-recommend-icon { width: 64px; height: 64px; flex: 0 0 64px; }
  .br-recommend-icon svg { width: 28px; height: 28px; }
  .br-recommend-text br { display: none; }
  .br-recommend-note { font-size: 13.5px; padding: 18px 16px; line-height: 1.9; }
  .br-recommend-note .br-pc-br { display: none; }

  /* 流れ：縦積み */
  .br-flow-item {
    grid-template-columns: 1fr; gap: 14px; padding: 22px 18px;
    text-align: center;
  }
  .br-flow-num { margin: 0 auto; width: 46px; height: 46px; font-size: 19px; }
  .br-flow-ph { max-width: 420px; margin: 0 auto; aspect-ratio: 4 / 3; }
  .br-flow-text { text-align: left; }
  .br-flow-item:not(:last-child)::after { left: 50%; transform: translateX(-50%) rotate(45deg); }

  /* 症例：1枚＋隣ちら見せ */
  .br-case-list { gap: 16px; }
  .br-case-card { flex-basis: 86%; }
  .br-btn { min-width: 0; width: 100%; }

  /* FAQ */
  .br-faq-q { font-size: 15px; padding: 16px 48px 16px 16px; gap: 12px; }
  .br-faq-a { padding: 2px 16px 18px; }
}

/* モーション配慮 */
@media (prefers-reduced-motion: reduce) {
  .br-btn, .br-faq-q::after { transition: none; }
  .br-case-list { scroll-behavior: auto; }
}

.main_visual .subcopy{
    position: absolute;
    left: 50%;
    bottom: 20%;
    text-align: center;
    z-index: 2;
    text-shadow: 1px 1px 3px #333333;
    font-weight: bold;
    color: #fff;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    font-size: 24px;  
}

.pc-block{
  display: block;
}

@media screen and (max-width:1024px) {
.main_visual .subcopy {
    bottom: 10%;
    width: 100%;
} 
}

@media screen and (max-width:599px) {
.pc-block{
  display: none;
}

.main_visual .subcopy {
    bottom: 5%;
    font-size: 14px;
}

}

/* ============================================================
   症例：リスク・副作用
   ============================================================ */
.br-risk {
    margin: 0 auto 40px;
    padding: 24px 28px 26px;
    border: 1px solid var(--br-line);
    border-radius: 12px;
    text-align: left;
}
.br-risk-title {
  display: block;
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--br-accent-text);
}
.br-risk-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.br-risk-item {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--br-sub);
}
.br-risk-item::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--br-tan);
}

@media (max-width: 1024px) {
  .br-risk { margin-bottom: 32px; padding: 22px 22px 24px; }
}

@media (max-width: 599px) {
  .br-risk { margin-bottom: 28px; padding: 18px 16px 20px; border-radius: 10px; }
  .br-risk-title { font-size: 14px; margin-bottom: 12px; }
  .br-risk-item { font-size: 12.5px; padding-left: 16px; line-height: 1.8; }
  .br-risk-item::before { left: 2px; width: 5px; height: 5px; }
}
