@charset "UTF-8";

/* ===== Base ===== */
body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", YuGothic,
               Meiryo, "Noto Sans JP", "Noto Sans CJK JP", sans-serif;
  color: #333;
  background: #fff;
  overflow-x: clip;
}

/* ===== Header ===== */
.site-header {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #e9e9e9;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.header-inner {
  width: 1200px;
  margin: 0 auto;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --- Logo --- */
.header-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.header-logo img {
  height: 74px;
  width: auto;
  display: block;
}

/* --- CTA buttons --- */
.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-cta a {
  display: inline-flex;
  line-height: 0;
  transition: opacity 0.2s ease;
}

.header-cta a:hover {
  opacity: 0.85;
}

.header-cta img {
  height: 58px;
  width: auto;
  display: block;
}

/* ===== First View (Main Visual) ===== */
.fv {
  width: 100%;
  background: #fff;
}

.fv-inner {
  width: 100%;
  margin: 0 auto;
  line-height: 0;
}

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

/* ===== Worries section（このようなお悩みありませんか？） ===== */
.worries {
  width: 100%;
}

/* 見出し（白背景） */
.worries-head {
  background: #ffffff;
  text-align: center;
  padding: 56px 0 36px;
}

.worries-head picture img {
  width: 720px;
  height: auto;
  display: inline-block;
}

/* 水色ブロック（画面幅いっぱい・下向き三角つき） */
.worries-teal {
  position: relative;
  background: #eaf8f9;
  padding: 50px 0 72px;
}

.worries-teal::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -38px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-top: 38px solid #eaf8f9;
}

/* 白カード */
.worries-card {
  position: relative;
  width: 900px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  padding: 34px 48px;
}

/* チェックリスト */
.worries-list {
  width: 100%;
  list-style: none;
}

.worries-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 22px;
  font-weight: 700;
  color: #555555;
  letter-spacing: 0.02em;
  padding: 17px 2px;
  border-bottom: 1px solid #e0edee;
}

.worries-list li .check {
  flex: 0 0 auto;
  width: 30px;
  height: auto;
  display: block;
}

/* 女性写真（カード右下に重ねて配置） */
.worries-photo {
  position: absolute;
  right: 40px;
  bottom: 30px;
}

.worries-photo img {
  width: 290px;
  height: auto;
  display: block;
}

/* ===== 相談誘導セクション（お気軽にご相談ください） ===== */
.cta-lead {
  background: #ffffff;
}

.cta-lead-inner {
  width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 56px 0;
}

.cta-lead-text {
  flex: 1;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.55;
}

.cta-lead-text .lead-1 {
  font-size: 40px;
  color: #fbb03b;
}

.cta-lead-text .lead-2 {
  font-size: 40px;
  color: #595757;
}

.cta-lead-text .lead-2 .slash {
  margin: 0 0.35em;
  font-weight: 700;
}

.cta-lead-photo {
  flex: 0 0 auto;
}

.cta-lead-photo img {
  width: 320px;
  height: auto;
  display: block;
  border: 6px solid #ffffff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.22);
}

/* ===== 交通事故後の流れ ===== */
.flow {
  background: #fffaef url("../images/bg-accident-flow.webp") top center / cover no-repeat;
}

.flow-inner {
  width: 1000px;
  margin: 0 auto;
  padding: 52px 0 60px;
}

/* 見出し */
.flow-head {
  text-align: center;
  margin-bottom: 36px;
}

.flow-head img {
  width: 62px;
  height: auto;
  display: inline-block;
  margin-bottom: 8px;
}

.flow-head h2 {
  font-size: 40px;
  font-weight: 700;
  color: #595757;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.8);
}

/* ステップ一覧 */
.flow-steps {
  list-style: none;
}

/* カード間の黄色い下向き矢印 */
.flow-step:not(:last-child) {
  margin-bottom: 0;
}

.flow-step:not(:last-child)::after {
  content: "";
  display: block;
  width: 82px;
  height: 30px;
  margin: 16px auto;
  background: url("../images/flow-arrow.webp") center / contain no-repeat;
}

/* カード */
.flow-card {
  display: flex;
  align-items: center;
  gap: 26px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(120, 100, 60, 0.12);
  padding: 24px 30px;
}

.flow-card .step-badge {
  flex: 0 0 auto;
}

.flow-card .step-badge img {
  width: 58px;
  height: auto;
  display: block;
}

.flow-card .step-body {
  flex: 1 1 auto;
  min-width: 0;
}

.flow-card .step-title {
  font-size: 28px;
  font-weight: 700;
  color: #3f3a37;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.flow-card .step-desc {
  font-size: 18px;
  font-weight: 500;
  color: #6b6560;
  line-height: 1.65;
  margin-top: 10px;
}

.flow-card .step-photo {
  flex: 0 0 auto;
}

.flow-card .step-photo img {
  width: 192px;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* 下部の注意書き */
.flow-note {
  margin-top: 44px;
  text-align: left;
}

.flow-note-head {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 8px;
  padding: 12px 26px;
  font-size: 20px;
  font-weight: 700;
  color: #595757;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.flow-note-head img {
  width: 26px;
  height: auto;
  display: block;
}

.flow-note-body {
  margin-top: 18px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
  color: #595757;
}

/* ===== こうゆうクリニックでご相談いただけること ===== */
.consult {
  position: relative;
  background: #ffffff;
  overflow: hidden;
}

/* 下部に敷く待合室写真 */
.consult::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 340px;
  background: url("../images/bg-consult.webp") center / cover no-repeat;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 24%, rgba(0, 0, 0, 1) 76%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 24%, rgba(0, 0, 0, 1) 76%, rgba(0, 0, 0, 0) 100%);
}

.consult-inner {
  position: relative;
  z-index: 1;
  width: 1000px;
  margin: 0 auto;
  padding: 54px 0 0;
}

/* 見出し */
.consult-head {
  text-align: center;
  margin-bottom: 40px;
}

.consult-head img {
  width: 64px;
  height: auto;
  display: inline-block;
  margin-bottom: 10px;
}

.consult-head h2 {
  font-size: 40px;
  font-weight: 700;
  color: #595757;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.8);
}

/* 3カード（画像化） */
.consult-cards {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 24px;
  padding-bottom: 80px;
}

.consult-card-img {
  flex: 1 1 0;
  line-height: 0;
}

.consult-card-img picture {
  display: block;
}

.consult-card-img img {
  width: 100%;
  height: auto;
  display: block;
}

.consult-card {
  position: relative;
  flex: 1 1 0;
  background: #ffffff;
  border: 1px solid #e4e4e4;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  padding: 30px 22px 24px;
}

/* 青いタブ（濃い青のオフセット影付き） */
.card-tab {
  position: absolute;
  top: -18px;
  left: 16px;
  display: inline-block;
  background: #29b7fa;
  color: #ffffff;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 22px;
  border-radius: 4px;
  box-shadow: 8px 8px 0 #1591d6;
}

.card-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  margin-bottom: 18px;
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  color: #3f3a37;
  text-align: center;
  margin-bottom: 14px;
}

.card-desc {
  font-size: 15px;
  font-weight: 500;
  color: #555555;
  line-height: 1.75;
}

/* 弁護士バッジ（手続きカードの右上に重ねる） */
.consult-card .badge-lawyer {
  position: absolute;
  top: -54px;
  right: -22px;
  width: 132px;
  height: auto;
  z-index: 2;
}

/* 下帯コピー（半透明の白帯＋濃いグレー文字） */
.consult-band {
  position: relative;
  z-index: 1;
  padding: 36px 0;
}

.consult-band p {
  background: rgba(255, 255, 255, 0.8);
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  color: #3f3a37;
  letter-spacing: 0.04em;
  padding: 22px 0;
}

/* ===== CTAボタン行（電話・Web予約） ===== */
.cta-buttons {
  background: #ffffff;
  padding: 50px 0;
}

.cta-btns-inner {
  width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 24px;
}

.cta-btns-inner a {
  display: inline-flex;
  line-height: 0;
  transition: opacity 0.2s ease;
}

.cta-btns-inner a:hover {
  opacity: 0.85;
}

.cta-btns-inner img {
  width: 300px;
  height: auto;
  display: block;
}

/* ===== 費用・保険について ===== */
.cost {
  background: #fdfdf2 url("../images/bg-cost.webp") center / cover no-repeat;
}

.cost-inner {
  width: 1000px;
  margin: 0 auto;
  padding: 52px 0 60px;
}

.cost-head {
  text-align: center;
  margin-bottom: 36px;
}

.cost-head h2 {
  font-size: 40px;
  font-weight: 700;
  color: #595757;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.8);
}

.cost-cards {
  display: flex;
  justify-content: center;
  gap: 26px;
}

.cost-card {
  flex: 1 1 0;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  padding: 16px 16px 22px;
}

.cost-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  margin-bottom: 16px;
}

.cost-card p {
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  line-height: 1.7;
  color: #4d4a47;
}

/* ===== ご相談しやすい環境を整えています ===== */
.env {
  background: #ffffff;
  padding-bottom: 30px;
}

.env-head {
  text-align: center;
  padding: 50px 0 14px;
}

.env-head img {
  width: 56px;
  height: auto;
  display: inline-block;
  margin-bottom: 8px;
}

.env-head h2 {
  font-size: 40px;
  font-weight: 700;
  color: #595757;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.8);
}

/* 横帯（薄い水色） */
.env-row {
  background: #eaf8f9;
  margin-top: 52px;
}

.env-row-inner {
  width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 44px;
  min-height: 150px;
  padding: 20px 0;
}

.env-row.reverse .env-row-inner {
  flex-direction: row-reverse;
}

.env-text {
  flex: 1 1 auto;
  min-width: 0;
}

/* 青グラデーションのタブ＋アイコン */
.env-tab-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.env-tab {
  display: inline-block;
  background: #ffffff;
  color: #3a9fe0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 7px 24px;
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.env-tab-row .env-icon {
  width: 50px;
  height: auto;
  display: block;
}

.env-desc {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 500;
  color: #4d4a47;
  line-height: 1.7;
}

/* 写真（帯から少しはみ出す） */
.env-photo {
  flex: 0 0 auto;
}

.env-photo img {
  width: 430px;
  height: auto;
  display: block;
  border-radius: 10px;
  margin: -40px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* ===== リハビリ先は、あなたに合った通い方を選べます ===== */
.rehab {
  background: #ffffff;
  padding: 54px 0 60px;
}

.rehab-inner {
  width: 1000px;
  margin: 0 auto;
}

.rehab-head {
  text-align: center;
  margin-bottom: 36px;
}

.rehab-head h2 {
  font-size: 40px;
  font-weight: 700;
  color: #3f3a37;
  letter-spacing: 0.03em;
}

.rehab-cards {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.rehab-card {
  flex: 1 1 0;
  background: #ffffff;
  border: 4px solid #29b7fa;
  border-radius: 16px;
  padding: 28px 30px 32px;
}

.rehab-card.is-orange {
  border-color: #fbb03b;
}

.rehab-logo {
  text-align: center;
}

.rehab-logo img {
  height: 44px;
  width: auto;
  display: inline-block;
}

.rehab-logo img[src*="logo-rehappy"] {
  height: 68px;
}

.rehab-catch {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: #3f3a37;
  margin: 16px 0 18px;
  white-space: nowrap;
}

.rehab-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 24px;
}

.rehab-info {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

/* 複数行（診療時間など）はラベルを上揃え */
.rehab-info.is-top {
  align-items: flex-start;
}

.rehab-info.is-top .rehab-label {
  margin-top: 2px;
}

.rehab-label {
  flex: 0 0 auto;
  min-width: 84px;
  text-align: center;
  background: #29b7fa;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 5px;
  white-space: nowrap;
}

.rehab-detail {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  color: #4d4a47;
}

.rehab-foot {
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  color: #3f3a37;
  margin-top: 34px;
}

/* ===== よくあるご質問（アコーディオン） ===== */
.faq {
  background: #fffff9;
  padding: 52px 0 60px;
}

.faq-inner {
  width: 1000px;
  margin: 0 auto;
}

.faq-head {
  text-align: center;
  margin-bottom: 32px;
}

.faq-head h2 {
  font-size: 30px;
  font-weight: 700;
  color: #3f3a37;
  letter-spacing: 0.04em;
}

.faq-item {
  margin-bottom: 14px;
}

.faq-q {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 1px solid #f0f0ec;
  border-radius: 10px;
  padding: 15px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.faq-q::-webkit-details-marker {
  display: none;
}

.faq-q::marker {
  content: "";
}

.faq-qmark {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 5px;
  background: #29b7fa;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-qtext {
  flex: 1 1 auto;
  font-size: 16px;
  font-weight: 700;
  color: #3f3a37;
}

.faq-q::after {
  content: "";
  flex: 0 0 auto;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 8px solid #aab0b5;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-q::after {
  transform: rotate(180deg);
}

.faq-a {
  padding: 18px 22px 6px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.85;
  color: #4d4a47;
}

/* ===== 理事長・院長ごあいさつ ===== */
.greeting {
  background: #ffffff;
  padding: 52px 0 60px;
}

.greeting-inner {
  width: 1000px;
  margin: 0 auto;
}

.greeting-head {
  text-align: center;
  margin-bottom: 32px;
}

.greeting-head img {
  width: 52px;
  height: auto;
  display: inline-block;
  margin-bottom: 10px;
}

.greeting-head h2 {
  font-size: 34px;
  font-weight: 700;
  color: #595757;
  letter-spacing: 0.04em;
}

.greeting-body {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.greeting-photo {
  flex: 0 0 auto;
}

.greeting-photo img {
  width: 350px;
  height: auto;
  display: block;
}

.greeting-text {
  flex: 1 1 auto;
  min-width: 0;
}

.greeting-text p {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  color: #3f3a37;
  margin-bottom: 1.1em;
  text-align: justify;
  text-justify: inter-character;
}

.greeting-text p:last-child {
  margin-bottom: 0;
}

.greeting-sign {
  text-align: right;
  margin-top: 28px;
}

.greeting-sign img {
  height: 38px;
  width: auto;
  display: inline-block;
}

.greeting-sign p {
  font-size: 16px;
  font-weight: 500;
  color: #3f3a37;
  margin-top: 8px;
}

/* ===== アクセス・診療時間 ===== */
.access {
  background: #fffff9;
  padding: 52px 0 60px;
}

.access-head {
  text-align: center;
  margin-bottom: 36px;
}

.access-head img {
  width: 52px;
  height: auto;
  display: inline-block;
  margin-bottom: 10px;
}

.access-head h2 {
  font-size: 32px;
  font-weight: 700;
  color: #3f3a37;
  letter-spacing: 0.04em;
}

.access-inner {
  width: 1000px;
  margin: 0 auto;
}

.access-block {
  display: flex;
  align-items: stretch;
  gap: 40px;
  margin-bottom: 72px;
}

.access-block:last-child {
  margin-bottom: 0;
}

.access-left {
  flex: 0 0 480px;
}

.access-logo img {
  height: 46px;
  width: auto;
  display: block;
  margin-bottom: 18px;
}

.access-logo img[src*="logo-rehappy"] {
  height: 74px;
}

.access-info {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.access-label {
  flex: 0 0 auto;
  min-width: 78px;
  text-align: center;
  background: #29b7fa;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 5px;
  white-space: nowrap;
  margin-top: 2px;
}

.access-detail {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  color: #4d4a47;
  white-space: nowrap;
}

/* 診療時間テーブル */
.access-table {
  border-collapse: collapse;
  width: 100%;
  max-width: 440px;
  margin: 6px 0 10px;
  font-size: 15px;
  background: #ffffff;
}

.access-table th,
.access-table td {
  border: 1px solid #dcdee0;
  padding: 8px 0;
  text-align: center;
  color: #555555;
}

.access-table thead th,
.access-table tbody th {
  background: #ffffff;
  font-weight: 700;
}

.access-table tbody th {
  width: 64px;
}

.access-table .off {
  color: #fbb03b;
  font-weight: 700;
}

.access-table .star {
  color: #fbb03b;
  font-weight: 700;
}

.access-note {
  font-size: 14px;
  color: #6b6560;
  margin-top: 4px;
}

/* 地図 */
.access-map {
  flex: 1 1 auto;
  display: flex;
}

.access-map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 6px;
}

/* ===== 締めビジュアル＋CTA ===== */
.closing-hero {
  line-height: 0;
}

.closing-hero img {
  display: block;
  width: 100%;
  height: auto;
}

.closing-cta {
  background: #eaf8f9;
  text-align: center;
  padding: 42px 0 50px;
}

.closing-cta h2 {
  font-size: 28px;
  font-weight: 700;
  color: #3d8fbf;
  letter-spacing: 0.04em;
  margin-bottom: 26px;
}

.closing-btns {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.closing-btns a {
  display: inline-flex;
  line-height: 0;
  transition: opacity 0.2s ease;
}

.closing-btns a:hover {
  opacity: 0.85;
}

.closing-btns img {
  width: 300px;
  height: auto;
  display: block;
}

/* ===== フッター ===== */
.site-footer {
  background: #ffffff;
  border-top: 1px solid #ececec;
  padding: 24px 0;
}

.footer-inner {
  width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-logo img {
  height: 50px;
  width: auto;
  display: block;
}

.footer-copy {
  font-size: 12px;
  color: #888888;
  text-align: right;
}

/* ===== セクション見出しの文字色を統一（#534741） ===== */
.worries-head h2,
.flow-head h2,
.consult-head h2,
.cost-head h2,
.env-head h2,
.rehab-head h2,
.faq-head h2,
.greeting-head h2,
.access-head h2 {
  color: #534741;
}

/* ===== レスポンシブ画像（picture） ===== */
.fv-inner picture,
.worries-head picture,
.closing-hero picture {
  display: block;
}

/* SP専用の改行（PCでは無効） */
.sp-br { display: none; }
/* PC専用要素（SPでは非表示） */
.pc-only { display: inline; }
/* SP専用のお悩みアイコン（PCでは非表示） */
.worries-icon-sp { display: none; }
/* スマホ用フローティングCTA（PCでは非表示） */
.sp-fixed-cta { display: none; }

/* ============================================================
   スマホ版（768px以下）
   ============================================================ */
@media (max-width: 768px) {

  /* --- 共通：固定幅コンテナを流体に --- */
  .header-inner,
  .cta-lead-inner,
  .flow-inner,
  .consult-inner,
  .cost-inner,
  .access-inner,
  .greeting-inner,
  .rehab-inner,
  .faq-inner,
  .cta-btns-inner,
  .footer-inner {
    width: 100%;
  }

  /* --- ヘッダー（スマホはボタンなし・ロゴのみ） --- */
  .header-inner {
    height: auto;
    padding: 10px 14px;
  }
  .header-logo img { height: 56px; }
  .header-cta { display: none; }

  /* フローティングCTA（画面下固定） */
  body { padding-bottom: 78px; }
  .sp-fixed-cta {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    gap: 6px;
    padding: 5px 6px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
  }
  .sp-fixed-cta a {
    flex: 1 1 0;
    display: block;
    line-height: 0;
  }
  .sp-fixed-cta img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* --- FV --- */
  .fv-inner img { width: 100%; }

  /* --- お悩み --- */
  .worries-head { padding: 22px 16px 18px; }
  .worries-icon-sp { display: block; width: 56px; height: auto; margin: 0 auto 8px; }
  .worries-head picture img { width: 70%; max-width: 300px; display: block; margin-left: auto; margin-right: auto; }
  .worries-teal { padding: 26px 0 50px; }
  .worries-card {
    width: 88%;
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
  }
  .worries-photo {
    position: static;
    right: auto;
    bottom: auto;
    order: -1;
    margin-bottom: 18px;
  }
  .worries-photo img { width: 85%; margin-left: auto; margin-right: auto; }
  .worries-list li {
    font-size: 16px;
    padding: 13px 2px;
    align-items: flex-start;
    line-height: 1.5;
  }
  .worries-list li .check { width: 26px; margin-top: 2px; }

  /* --- 相談誘導 --- */
  .cta-lead-inner {
    flex-direction: column;
    gap: 18px;
    padding: 48px 12px 34px;
  }
  .cta-lead-text .lead-1,
  .cta-lead-text .lead-2 { font-size: 21px; white-space: nowrap; }
  .cta-lead-photo img { width: 100%; max-width: 440px; }

  /* --- 交通事故後の流れ --- */
  .flow-inner { padding: 34px 14px 36px; }
  .flow-head h2 { font-size: 26px; }
  .flow-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "badge title"
      "photo photo"
      "desc  desc";
    column-gap: 12px;
    row-gap: 22px;
    align-items: center;
    padding: 30px 25px;
  }
  .flow-card .step-body { display: contents; }
  .flow-card .step-badge { grid-area: badge; }
  .flow-card .step-badge img { width: 50px; }
  .flow-card .step-title { grid-area: title; font-size: 24px; line-height: 1.35; }
  /* STEP01は2行が収まるよう縮小 */
  .flow-step:first-child .step-title { font-size: 16px; }
  .flow-card .step-photo { grid-area: photo; }
  .flow-card .step-photo img { width: 100%; }
  .flow-card .step-desc { grid-area: desc; font-size: 16px; line-height: 1.6; margin-top: 0; }
  .flow-card .step-desc br { display: none; }
  .flow-step:not(:last-child)::after { margin: 12px auto; }
  .flow-note-head { font-size: 15px; padding: 10px 16px; }
  .flow-note-body { font-size: 14px; padding: 0 10px; }

  /* --- ご相談いただけること --- */
  .consult-inner { padding: 40px 16px 0; }
  .consult-head { margin-bottom: 18px; }
  .consult-head h2 { font-size: 24px; line-height: 1.3; }
  .sp-br { display: inline; }
  .consult-cards {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-bottom: 34px;
  }
  .consult-card-img { flex: 0 0 auto; width: 92%; }
  .consult::before { height: 220px; }
  .consult-band { margin-top: -16px; }
  .consult-band p { font-size: 22px; padding: 16px 14px; }

  /* --- CTAボタン（Web予約を上に） --- */
  .cta-buttons { padding: 30px 16px; }
  .cta-btns-inner {
    flex-direction: column-reverse;
    align-items: center;
    gap: 14px;
  }
  .cta-btns-inner img { width: 260px; }

  /* --- 費用・保険 --- */
  .cost-inner { padding: 36px 16px 44px; }
  .cost-head { margin-bottom: 20px; }
  .cost-head h2 { font-size: 26px; }
  .cost-cards { flex-direction: column; gap: 22px; }
  .cost-card { padding: 14px 14px 20px; }
  .cost-card p { font-size: 17px; }

  /* --- ご相談しやすい環境 --- */
  .env { padding-bottom: 8px; }
  .env-head { padding: 36px 16px 4px; }
  .env-head h2 { font-size: 24px; line-height: 1.25; }
  .env-row { margin-top: 30px; }
  .env-head + .env-row { margin-top: 16px; }
  .env-row-inner,
  .env-row.reverse .env-row-inner {
    width: 100%;
    flex-direction: column;
    gap: 18px;
    padding: 22px 15px;
    min-height: 0;
  }
  /* タブを白い横長ボックス（青タイトル＋右にアイコン）に：左右15pxインセット */
  .env-tab-row {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 16px 20px;
    justify-content: space-between;
    gap: 12px;
  }
  .env-tab {
    flex: 1 1 auto;
    background: none;
    box-shadow: none;
    padding: 0;
    font-size: 27px;
    line-height: 1.3;
    color: #3a9fe0;
  }
  .env-tab-row .env-icon { flex: 0 0 auto; width: 48px; }
  .env-desc { font-size: 16px; margin-top: 16px; }
  /* 写真は左右54pxインセット（15pxパディング＋39pxマージン） */
  .env-photo { margin: 0 39px; }
  .env-photo img { width: 100%; margin: 0; }

  /* --- リハビリ比較 --- */
  .rehab-inner { padding: 8px 16px 24px; }
  .rehab-head { margin-bottom: 20px; }
  .rehab-head h2 { font-size: 22px; white-space: nowrap; }
  .rehab-cards { flex-direction: column; gap: 28px; }
  .rehab-card { padding: 24px 18px 26px; }
  .rehab-logo img { height: 38px; }
  .rehab-logo img[src*="logo-rehappy"] { height: 58px; }
  .rehab-catch { font-size: 16px; }
  .rehab-info { gap: 8px; }
  .rehab-label { min-width: 56px; font-size: 14px; padding: 4px 8px; }
  .rehab-detail { font-size: 14px; }
  .rehab-foot { font-size: 16px; margin-top: 28px; text-align: left; }

  /* --- よくあるご質問 --- */
  .faq { padding: 24px 16px 44px; }
  .faq-head h2 { font-size: 24px; }
  .faq-q { padding: 13px 16px; gap: 12px; }
  .faq-qtext { font-size: 15px; }
  .faq-a { font-size: 14px; padding: 16px 16px 6px; }

  /* --- 院長あいさつ --- */
  .greeting { padding: 40px 16px 44px; }
  .greeting-head h2 { font-size: 26px; }
  .greeting-body {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  .greeting-photo img { width: 100%; max-width: 360px; }
  .greeting-text p { font-size: 15px; line-height: 1.85; }
  .greeting-sign { text-align: right; }

  /* --- アクセス・診療時間 --- */
  .access { padding: 40px 16px 44px; }
  .access-head h2 { font-size: 26px; }
  .access-block,
  .access-block:last-child {
    flex-direction: column;
    gap: 18px;
    margin-bottom: 44px;
  }
  .access-left { flex: 1 1 auto; width: 100%; }
  .access-logo img { height: 38px; }
  .access-logo img[src*="logo-rehappy"] { height: 58px; }
  .access-info { gap: 8px; }
  .access-label { min-width: 60px; font-size: 13px; padding: 4px 8px; }
  .access-detail { font-size: 14px; }
  .access-table { max-width: none; font-size: 14px; }
  .access-map iframe { min-height: 240px; }

  /* --- 締め＋フッター --- */
  .closing-cta { padding: 32px 16px 38px; }
  .closing-cta h2 { font-size: 22px; margin-bottom: 18px; white-space: nowrap; }
  .closing-btns {
    flex-direction: column-reverse;
    align-items: center;
    gap: 14px;
  }
  .closing-btns img { width: 260px; }
  .site-footer { padding: 20px 16px; }
  .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
  }
  .footer-logo img { height: 52px; }
  .footer-copy { font-size: 12px; text-align: center; color: #534741; }

  /* スマホの見出しは27pxで統一（ご相談いただけること=24px、リハビリ=22px） */
  .flow-head h2,
  .cost-head h2,
  .env-head h2,
  .faq-head h2,
  .greeting-head h2,
  .access-head h2 { font-size: 27px; }

  /* SP個別調整 */
  .pc-only { display: none; }
  .greeting-sign img { height: 30px; }
}

/* ===== CVボタンのホバー（はっきり変化） ===== */
.header-cta a,
.cta-btns-inner a,
.closing-btns a,
.sp-fixed-cta a {
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.header-cta a:hover,
.cta-btns-inner a:hover,
.closing-btns a:hover,
.sp-fixed-cta a:hover {
  opacity: 1;
  filter: brightness(1.18) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}
