/*
 * MEOサポート事業 LP（固定ページテンプレート page-meo-lp.php）専用CSS。
 * サイト共通のTailwind（style.css / tailwind-generated.css）とは独立して読み込む。
 */

/* ─── Variables ─────────────────────────────── */
:root {
  --ink: #1C1B19;
  --ink-deep: #121110;
  --panel: #2A2724;
  --terracotta: #8C5A46;
  --terracotta-bright: #E08A5B;
  --cream: #F7F1E8;
  --white: #FFFFFF;
  --text-dark: #262421;
  --text-muted: #6B6259;
}

@media (prefers-reduced-motion: reduce) {
  .meolp-reveal, .sticky-cta { transition: none !important; }
}

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--text-dark);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3 { margin: 0; font-family: 'Noto Serif JP', serif; }
p { margin: 0; }

.meolp-container {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}

.meolp-section { padding: 56px 0; }
.meolp-title {
  font-size: clamp(21px, 5.5vw, 26px);
  font-weight: 700;
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.meolp-lead {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 24px;
}
.meolp-title--left { text-align: left; }

.meolp-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--terracotta);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.meolp-eyebrow::before { content: ""; width: 20px; height: 1px; background: var(--terracotta); flex-shrink: 0; }
.meolp-eyebrow--center { justify-content: center; }

/* ─── Buttons ───────────────────────────────── */
.btn-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  color: var(--white);
  font-weight: 700;
  font-size: 15.5px;
  padding: 17px 24px;
  border-radius: 12px;
  border: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease, filter 0.2s ease;
  line-height: 1.5;
}
.btn-line:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-line svg { flex-shrink: 0; }

/* LINEへの導線ボタン：グラデーション・グローは使わず、フラットな深緑で落ち着かせる */
.btn-line--strong {
  background: #06753C;
  box-shadow: 0 4px 10px rgba(0,0,0,0.16);
  font-size: 16px;
}
.btn-line--strong:hover {
  background: #056332;
  box-shadow: 0 8px 18px rgba(0,0,0,0.22);
  transform: translateY(-2px);
}
/* .meolp-reveal（スクロールイン演出）が付与されたボタンは、そちら側のtransition指定
   （opacity/transformのみ・0.6s）が優先されてホバー時の質感が変わってしまうため、
   ボタン用のtransitionをここで明示的に勝たせる */
.btn-line--strong.meolp-reveal {
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, filter 0.2s ease, opacity 0.6s ease;
}
/* さらに .meolp-reveal.is-visible 側の transform: translateY(0) と詳細度が同点になり、
   ホバー時も translateY(0) に引き戻されてしまうため、詳細度を上げて確実に勝たせる */
.btn-line--strong.meolp-reveal:hover {
  transform: translateY(-2px);
}

/* ─── 限定バッジ ────────────────────────────── */
.limit-badge {
  display: inline-block;
  background: rgba(140, 90, 70, 0.12);
  color: var(--terracotta);
  border: 1px solid rgba(140, 90, 70, 0.3);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 18px;
}

/* ─── Hero（手紙の罫線をあしらった白背景） ───────── */
.hero {
  background-color: var(--cream);
  background-image: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 32px,
    rgba(140, 90, 70, 0.10) 33px
  );
  padding: 40px 0 28px;
}
.hero-heading {
  font-size: clamp(22px, 6vw, 27px);
  line-height: 1.7;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.hero-heading .emph {
  font-weight: 900;
  font-size: 1.06em;
}
.hero-benefit {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 8px;
}

/* ヒーローからボタンを外した分、視線を下（次のセクション）へ誘導する控えめなサイン */
.hero-scroll-cue {
  display: flex;
  justify-content: center;
  margin-top: 28px;
  color: var(--terracotta);
  opacity: 0.6;
  animation: hero-scroll-bounce 3s ease-in-out infinite;
}
.hero-scroll-cue svg { width: 28px; height: 28px; }
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-cue { animation: none; }
}
@keyframes hero-scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}
/* ─── チェックリスト ───────────────────────── */
.checklist-section { background: var(--white); border-bottom: 1px solid #EFE9DF; }
.checklist { list-style: none; margin: 0 0 20px; padding: 0; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #EFE9DF;
  font-size: 15px;
  line-height: 1.8;
}
.checklist li:last-child { border-bottom: none; }
.checklist li strong { font-weight: 700; color: var(--terracotta); }
.checklist li .checkbox-empty {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 2px solid #C9BEA8;
  border-radius: 4px;
  margin-top: 5px;
  background: var(--white);
}
.checklist-note {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.8;
}

/* ─── もし、これが"当たり前"になったら ───────── */
/* 診断(不安)→納得(レポート)の間に、唯一「期待」を抱かせる一拍。
   情報量を落とし、行ごとに大きな余白を取ってスクロールに合わせてゆっくり現れることで、
   他の情報セクションより意図的にゆったり読ませる */
.vision-section {
  background: var(--cream);
}
.vision-heading {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(21px, 5.5vw, 26px);
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 36px;
}
.vision-line {
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 2;
  color: var(--text-muted);
}
.vision-line:last-child { margin-bottom: 0; }

/* ─── 無料診断レポートの中身 ───────────────── */
.report-section { background: var(--white); }

/* レポート表紙＋中身ページを、灰色の台紙に載せて立体的に配置（輪郭は罫線で確保） */
.report-mock-stack {
  position: relative;
  max-width: 310px;
  margin: 0 auto 32px;
  padding: 50px 34px 34px 18px;
  background: #EFEAE0;
  border-radius: 16px;
}
.report-mock-page {
  position: absolute;
  top: 36px;
  right: 16px;
  width: 80%;
  aspect-ratio: 3 / 4.2;
  background: var(--white);
  border: 1.5px solid #C9BEA8;
  border-radius: 2px;
  padding: 20px 18px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.10);
  transform: rotate(5deg);
  z-index: 1;
}
.report-mock-page__label {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.report-mock-page__chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 64px;
  margin-bottom: 18px;
}
.report-mock-page__chart span {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--terracotta-bright), var(--terracotta));
}
.report-mock-page__mosaic { display: flex; flex-direction: column; gap: 8px; }
.report-mock-page__mosaic span {
  display: block;
  height: 9px;
  border-radius: 3px;
  background-image: repeating-linear-gradient(45deg, #DAD3C4 0, #DAD3C4 3px, #C9C1AE 3px, #C9C1AE 6px);
}

/* レポート表紙モック（縦長カード） */
.report-mock {
  position: relative;
  z-index: 2;
  transform: rotate(-3deg);
  max-width: 250px;
  margin: 0;
  background: var(--white);
  border: 1.5px solid #C9BEA8;
  border-radius: 2px;
  padding: 28px 24px;
  aspect-ratio: 3 / 4.2;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 22px rgba(0,0,0,0.16);
}
.report-mock__tag {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--terracotta);
  font-weight: 700;
  margin-bottom: 8px;
}
.report-mock__meta { font-size: 11px; color: var(--text-muted); margin-bottom: 16px; }
.report-mock__rule { width: 28px; height: 2px; background: var(--terracotta-bright); margin-bottom: 16px; }
.report-mock__title {
  font-family: 'Noto Serif JP', serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: auto;
}
.report-mock__bars { display: flex; flex-direction: column; gap: 6px; margin: 18px 0; }
.report-mock__bars span { display: block; height: 3px; border-radius: 2px; background: #EAE3D8; }
.report-mock__bars span:nth-child(2) { width: 70%; }
.report-mock__bars span:nth-child(3) { width: 45%; }
.report-mock__by { font-size: 10.5px; color: var(--text-muted); }

/* 番号付きリスト（レポートの中身4項目） */
.report-list { display: flex; flex-direction: column; gap: 12px; }
.report-list-item {
  border: 1px solid #EAE3D8;
  border-radius: 12px;
  padding: 18px 20px;
}
.report-list-item__head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}
.report-list-item__num {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--terracotta);
  flex-shrink: 0;
}
.report-list-item__title { font-size: 14.5px; font-weight: 700; color: var(--text-dark); line-height: 1.6; }
.report-list-item__desc { font-size: 13px; color: var(--text-muted); line-height: 1.8; }

/* ─── 貴院の調査結果（個別URL時のみ表示・ヒーロー内に配置） ───────── */
.survey-date {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--terracotta);
  letter-spacing: 0.04em;
  margin-top: 28px;
  margin-bottom: 12px;
}
/* 日付は補足情報なので、下の注意書きと同じ控えめな書式にする */
.survey-date__time {
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--text-muted);
}
.survey-box {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: 0 8px 24px rgba(23,20,16,0.06);
}
.survey-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(140, 90, 70, 0.12);
}
.survey-row:last-child { border-bottom: none; }
.survey-row__label { font-size: 13.5px; color: var(--text-muted); }
.survey-row__value { font-size: 14.5px; font-weight: 700; color: var(--text-dark); white-space: nowrap; }
.survey-row__value--rank { font-size: 20px; color: var(--terracotta-bright); }
/* 全角の開き鉤括弧は字面の左側に半角分の空きを含むため、他の行より字下げして見える。左へぶら下げて揃える */
.survey-row__open { margin-left: -0.5em; }
.survey-box:has(+ .survey-note) { margin-bottom: 12px; }
.survey-note {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--text-muted);
  padding-left: 1em;
  text-indent: -1em;
  margin-bottom: 32px;
}

/* ─── なぜ無料なのか ───────────────────────── */
.why-section { background: var(--cream); }
.why-text {
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* ─── 医療広告ガイドラインについて ───────────── */
.guideline-section { background: var(--white); border-bottom: 1px solid #EFE9DF; }
.guideline-box {
  background: var(--cream);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 20px 0;
}
.guideline-box__date {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.guideline-box__text {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--text-muted);
}
.guideline-example {
  background: rgba(224, 138, 91, 0.08);
  border-left: 4px solid var(--terracotta-bright);
  border-radius: 0 10px 10px 0;
  padding: 16px 18px;
  margin: 20px 0;
}
.guideline-example__label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--terracotta);
  margin-bottom: 8px;
}
.guideline-example__text {
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--text-dark);
}
.guideline-text {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.guideline-text:last-child { margin-bottom: 0; }
.guideline-highlight {
  font-weight: 700;
  color: var(--terracotta);
}

/* ─── お申込みの流れ ───────────────────────── */
.steps-section { background: var(--white); border-bottom: 1px solid #EFE9DF; }
.apply-steps { list-style: none; margin: 0; padding: 0; }
.apply-steps li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #EFE9DF;
}
.apply-steps li:last-child { border-bottom: none; }
.apply-steps__num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 14px;
}
.apply-steps__title { font-size: 15px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; line-height: 1.7; }
.apply-steps__desc { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* ─── よくあるご質問 ───────────────────────── */
.faq-section { background: var(--white); }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid #EFE9DF; }
.faq-item:first-child { border-top: 1px solid #EFE9DF; }
.faq-item summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .q-mark { color: var(--terracotta); font-weight: 700; margin-right: 8px; }
.faq-item summary .toggle-icon {
  flex-shrink: 0;
  width: 20px;
  text-align: center;
  font-size: 18px;
  font-weight: 400;
  color: var(--terracotta);
}
.faq-item summary .toggle-icon::before { content: "+"; }
.faq-item[open] summary .toggle-icon::before { content: "\2212"; }
.faq-item p {
  display: flex;
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--text-muted);
  padding: 0 0 18px;
}
.faq-item p .a-mark { flex-shrink: 0; color: var(--terracotta); font-weight: 700; }

/* ─── About Us ─────────────────────────────── */
.about-section { background: var(--cream); }
.about-photo {
  border: 6px solid var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(0,0,0,0.14);
  margin: 0 auto 24px;
  aspect-ratio: 1 / 1;
  max-width: 60%;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 陰影が強い写真を少し明るく・柔らかい印象に補正 */
  filter: brightness(1.08) contrast(0.94) saturate(0.96);
}
.about-byline { margin-bottom: 20px; }
.about-byline__name { font-size: 15px; font-weight: 700; color: var(--text-dark); margin-bottom: 2px; }
.about-byline__title { font-size: 12.5px; color: var(--text-muted); }
.about-byline__company-link {
  color: var(--terracotta);
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 2px;
}
.about-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--terracotta);
  margin-bottom: 12px;
}
.about-eyebrow::before { content: ""; width: 20px; height: 1px; background: var(--terracotta); }
.about-heading {
  font-size: clamp(21px, 6vw, 26px);
  line-height: 1.5;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 18px;
}
.about-text { font-size: 14px; line-height: 2; color: var(--text-muted); margin-bottom: 16px; }
.about-text:last-child { margin-bottom: 0; }

/* ─── CTA：GET YOUR REPORT（LINE ＋ フォーム） ───── */
.get-report { background: var(--white); }
.get-report__inner { text-align: center; }
.get-report__heading {
  font-size: clamp(19px, 5.5vw, 23px);
  line-height: 1.6;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
}
.get-report__micro { font-size: 12px; color: var(--text-muted); margin: 10px 0 20px; }

/* ─── フォームモーダル（LINEを使わない方向けの申込） ───── */
.form-modal {
  border: none;
  border-radius: 16px;
  padding: 28px 24px;
  max-width: 420px;
  width: calc(100% - 48px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.28);
}
.form-modal::backdrop { background: rgba(0,0,0,0.55); }
.form-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
}
.form-modal__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 18px;
}

.cta-form { text-align: left; }

/* Contact Form 7 の既定マークアップをデザインに合わせて上書き */
.cta-form .wpcf7-form p { margin: 0 0 16px; }
.cta-form .wpcf7-form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.cta-form .wpcf7-form input[type="text"],
.cta-form .wpcf7-form input[type="email"] {
  width: 100%;
  border: 1px solid #DDD4C5;
  border-radius: 10px;
  padding: 13px 14px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--white);
}
.cta-form .wpcf7-form input[type="text"]::placeholder,
.cta-form .wpcf7-form input[type="email"]::placeholder { color: #B7AD9C; }
.cta-form .wpcf7-form input:focus { outline: 2px solid var(--terracotta-bright); outline-offset: 1px; }

/* reCAPTCHAの浮遊バッジを非表示（フォーム内に代替の表示文言を掲載する前提） */
.grecaptcha-badge { visibility: hidden !important; }

.cta-form .wpcf7-form .recaptcha-note {
  font-size: 10.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 14px !important;
}
.cta-form .wpcf7-form .recaptcha-note a {
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cta-form .wpcf7-form .consent-note {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0 0 14px !important;
}
.cta-form .wpcf7-form .consent-note a {
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cta-form .wpcf7-form input[type="submit"] {
  width: 100%;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 15.5px;
  padding: 17px 24px;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(160deg, #33312D 0%, var(--ink) 55%, var(--ink-deep) 100%);
  box-shadow: 0 10px 22px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.12);
  transition: filter 0.2s ease, transform 0.2s ease;
}
.cta-form .wpcf7-form input[type="submit"]:hover { filter: brightness(1.08); transform: translateY(-1px); }

.cta-form .wpcf7-response-output {
  margin: 14px 0 0;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  border: 1px solid #DDD4C5;
}
.cta-form .wpcf7-not-valid-tip { color: #C0392B; font-size: 12px; margin-top: 4px; }

.cta-form__note { font-size: 11.5px; color: var(--text-muted); line-height: 1.8; margin-top: 14px; }

/* ─── Footer ───────────────────────────────── */
.site-footer {
  background: var(--ink-deep);
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.footer-info { margin-bottom: 6px; }
.footer-info__name { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.85); margin-bottom: 6px; }
.footer-info__line { font-size: 11.5px; color: rgba(255,255,255,0.55); line-height: 1.8; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 18px;
  width: 100%;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-copy { font-size: 11px; letter-spacing: 0.02em; color: rgba(255,255,255,0.45); }
.footer-nav { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.footer-nav a { font-size: 11.5px; color: rgba(255,255,255,0.5); }
.footer-nav a:hover { color: var(--white); }

/* ─── 追従CTA（常時固定・0.2〜0.3秒でシームレスに切り替え） ─── */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
  background: rgba(247, 241, 232, 0.96);
  backdrop-filter: blur(6px);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.10);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.sticky-cta.is-hidden {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}
.sticky-cta__row,
.get-report__row {
  display: flex;
  gap: 10px;
}
.sticky-cta__line, .sticky-cta__form,
.get-report__line, .get-report__form { flex: 1; }
.sticky-cta__row .btn-line,
.sticky-cta__row .btn-outline,
.get-report__row .btn-line,
.get-report__row .btn-outline {
  padding: 14px 10px;
  font-size: 14px;
}

/* ─── メールで受け取る ─────────────────────── */
/* LINEボタンと優劣をつけず、同格の選択肢として見えるよう、塗り・影・ホバーの質感を完全に揃える
   （「LINEへの抵抗感 → 控えめな代替ボタンに気づかず離脱」を避ける意図。class名はbtn-outlineのまま） */
.btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--terracotta-bright);
  color: var(--white);
  font-weight: 700;
  border-radius: 12px;
  border: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.16);
  cursor: pointer;
  font-family: inherit;
  line-height: 1.5;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}
.btn-outline:hover {
  filter: brightness(1.1);
  box-shadow: 0 8px 18px rgba(0,0,0,0.22);
  transform: translateY(-2px);
}
.btn-outline.meolp-reveal { transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, filter 0.2s ease, opacity 0.6s ease; }
.btn-outline.meolp-reveal:hover { transform: translateY(-2px); }

/* ─── Scroll reveal ────────────────────────── */
.meolp-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.meolp-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── デスクトップ幅の余白調整 ─────────────── */
@media (min-width: 700px) {
  .meolp-container { max-width: 680px; }
  .meolp-section { padding: 72px 0; }
}

/* スマホ専用要素の既定値（PC/タブレットでは常にこの状態＝非表示・追加の改行なし） */
.sp-br { display: none; }
.sp-only { display: none; }
.pc-tablet-only { display: inline; }

/* ─── スマホ幅専用の微調整（700px未満のみ・PC/タブレットには一切影響しない） ─── */
@media (max-width: 699px) {

  /* ① 会社紹介見出し：「、」の後ろで改行 */
  .sp-br { display: block; }

  /* ② フッター住所：全角スペースの版を隠し、半角スペースの版だけ表示 */
  .pc-tablet-only { display: none; }
  .sp-only { display: inline; }

  /* ③ ヒーロー見出し：既存の<br>で分けた2行それぞれの内部で
     再度折り返さないよう、1行あたり16文字（左右パディング24px×2）を
     基準に収まる文字サイズへ動的に縮小する */
  .hero-heading__line {
    display: inline-block;
    white-space: nowrap;
    font-size: clamp(15px, calc((100vw - 48px) / 16), 22px);
  }

  /* ④ THE OUTCOME見出し：「、」の後ろの<br>以外で折り返さないよう、
     長い方の行（"選ばれ続ける動物病院"へ ≒13文字）が収まるサイズへ縮小する */
  .vision-heading__line {
    display: inline-block;
    white-space: nowrap;
    font-size: clamp(15px, calc((100vw - 48px) / 13), 21px);
  }

  /* ⑤ 調査結果の見出し：医院名の行（中央揃え）と日付の行（右揃え）に分ける */
  .survey-date__title {
    display: block;
    text-align: center;
  }
  .survey-date__time {
    display: block;
    text-align: right;
  }
}
