/* ================================
   引越し比較サイト 共通スタイル
   ================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

/* ── CSS変数 ── */
:root {
  --primary: #1565C0;
  --primary-light: #1E88E5;
  --primary-dark: #0D47A1;
  --accent: #FF6D00;
  --accent-light: #FF9100;
  --success: #2E7D32;
  --bg: #F5F7FA;
  --bg-white: #ffffff;
  --text-main: #212121;
  --text-sub: #555555;
  --text-light: #888888;
  --border: #E0E0E0;
  --rank1: #FFB300;
  --rank2: #9E9E9E;
  --rank3: #BF8A52;
  --shadow: 0 2px 12px rgba(0,0,0,0.10);
  --shadow-lg: 0 6px 24px rgba(0,0,0,0.14);
  --radius: 12px;
  --radius-sm: 8px;
}

/* ── リセット ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--bg);
  color: var(--text-main);
  line-height: 1.75;
  font-size: 15px;
}

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

a {
  color: var(--primary);
  text-decoration: none;
}

/* ── ヘッダー ── */
.site-header {
  background: var(--primary-dark);
  padding: 12px 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.header-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.site-logo {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  flex: 1;
}

.site-logo span {
  display: block;
  font-size: 11px;
  font-weight: 400;
  opacity: 0.8;
}

.affiliate-notice {
  display: block;
  font-size: 9px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

.header-cta {
  background: var(--accent);
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 20px;
  white-space: nowrap;
  transition: background 0.2s;
}

.header-cta:hover {
  background: var(--accent-light);
}

/* ── グローバルナビ ── */
.global-nav {
  background: var(--primary);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.global-nav ul {
  list-style: none;
  display: flex;
  max-width: 800px;
  margin: 0 auto;
  white-space: nowrap;
}

.global-nav li a {
  display: block;
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  font-weight: 500;
  padding: 10px 14px;
  transition: color 0.2s, background 0.2s;
}

.global-nav li a:hover,
.global-nav li a.active {
  color: #fff;
  background: rgba(255,255,255,0.15);
}

/* ── コンテナ ── */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ── セクション共通 ── */
.section {
  padding: 40px 0;
}

.section-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--primary-dark);
  border-left: 5px solid var(--accent);
  padding-left: 14px;
  margin-bottom: 24px;
  line-height: 1.4;
}

.section-title.center {
  border-left: none;
  text-align: center;
  padding-left: 0;
}

.section-title.center::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: var(--accent);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* ── ヒーローセクション ── */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  padding: 40px 16px 32px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/hero.png') center/cover no-repeat;
  opacity: 0.12;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.hero-label {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: clamp(22px, 5.5vw, 34px);
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 14px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-title em {
  color: var(--accent-light);
  font-style: normal;
}

.hero-sub {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-img {
  max-width: 280px;
  margin: 0 auto 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* ── CTAボタン ── */
.btn {
  display: inline-block;
  font-weight: 700;
  text-align: center;
  border-radius: 40px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff !important;
  padding: 16px 32px;
  font-size: 16px;
  box-shadow: 0 4px 14px rgba(255,109,0,0.4);
  letter-spacing: 0.03em;
  width: 100%;
  max-width: 400px;
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,109,0,0.5);
}

.btn-secondary {
  background: var(--primary);
  color: #fff !important;
  padding: 14px 28px;
  font-size: 14px;
  width: 100%;
  max-width: 360px;
}

.btn-secondary:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary) !important;
  padding: 12px 24px;
  font-size: 13px;
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff !important;
}

.btn-small {
  padding: 10px 20px;
  font-size: 13px;
}

/* ── 問題提起ボックス ── */
.worry-box {
  background: #FFF3E0;
  border: 2px solid #FFB300;
  border-radius: var(--radius);
  padding: 20px;
  margin: 24px 0;
}

.worry-box .worry-title {
  font-size: 13px;
  font-weight: 700;
  color: #E65100;
  margin-bottom: 12px;
}

.worry-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.worry-box ul li {
  font-size: 14px;
  color: var(--text-main);
  padding-left: 24px;
  position: relative;
  line-height: 1.6;
}

.worry-box ul li::before {
  content: '😰';
  position: absolute;
  left: 0;
  top: 0;
}

/* ── 解決提案カード ── */
.solution-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  border-left: 4px solid var(--primary-light);
  transition: transform 0.2s, box-shadow 0.2s;
}

.solution-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.solution-card .card-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  background: #E3F2FD;
  display: inline-block;
  padding: 2px 10px;
  border-radius: 10px;
  margin-bottom: 8px;
}

.solution-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.4;
}

.solution-card p {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ── ベネフィットセクション ── */
.benefit-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  transition: transform 0.2s;
}

.benefit-card:hover {
  transform: translateY(-3px);
}

.benefit-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.benefit-card-body {
  padding: 18px;
}

.benefit-card-body .tag {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 10px;
  margin-bottom: 8px;
}

.benefit-card-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
  color: var(--primary-dark);
}

.benefit-card-body p {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.75;
}

/* ── ハウツー3か条 ── */
.tips-box {
  background: linear-gradient(135deg, #E8F5E9 0%, #F1F8E9 100%);
  border: 2px solid #A5D6A7;
  border-radius: var(--radius);
  padding: 24px 20px;
  margin: 24px 0;
}

.tips-box .tips-header {
  text-align: center;
  margin-bottom: 20px;
}

.tips-box .tips-header h2 {
  font-size: 18px;
  font-weight: 900;
  color: var(--success);
  line-height: 1.4;
}

.tip-item {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 12px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: 0 1px 6px rgba(0,0,0,0.07);
}

.tip-item:last-child {
  margin-bottom: 0;
}

.tip-num {
  background: var(--success);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tip-item h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-main);
}

.tip-item p {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.65;
}

/* ── CTAバナー ── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  color: #fff;
  margin: 32px 0;
}

.cta-banner h2 {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 10px;
  line-height: 1.4;
}

.cta-banner p {
  font-size: 13px;
  opacity: 0.9;
  margin-bottom: 20px;
  line-height: 1.7;
}

/* ── ランキング ── */
.rank-criteria {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}

.rank-criteria h2 {
  font-size: 18px;
  font-weight: 900;
  color: var(--primary-dark);
  text-align: center;
  margin-bottom: 18px;
  line-height: 1.4;
}

.criteria-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.criteria-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.criteria-icon {
  font-size: 28px;
  flex-shrink: 0;
  line-height: 1;
}

.criteria-item h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 3px;
  color: var(--primary-dark);
}

.criteria-item p {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.65;
}

.rank-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s;
}

.rank-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.rank-card.rank-1 {
  border-color: var(--rank1);
}

.rank-card.rank-2 {
  border-color: var(--rank2);
}

.rank-card.rank-3 {
  border-color: var(--rank3);
}

.rank-header {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.rank-1 .rank-header { background: linear-gradient(90deg, #FFF8E1, #FFF3CD); }
.rank-2 .rank-header { background: linear-gradient(90deg, #F5F5F5, #EEEEEE); }
.rank-3 .rank-header { background: linear-gradient(90deg, #FFF8F1, #FFF3E8); }

.rank-badge {
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.rank-1 .rank-badge { color: var(--rank1); }
.rank-2 .rank-badge { color: var(--rank2); }
.rank-3 .rank-badge { color: var(--rank3); }

.rank-badge small {
  font-size: 10px;
  letter-spacing: 0.05em;
}

.rank-name {
  font-size: 15px;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.35;
}

.rank-name small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--text-sub);
  margin-top: 2px;
}

.rank-body {
  padding: 16px 18px;
}

.rank-catch {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
  line-height: 1.5;
}

.rank-features {
  list-style: none;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rank-features li {
  font-size: 13px;
  color: var(--text-sub);
  padding-left: 22px;
  position: relative;
  line-height: 1.6;
}

.rank-features li::before {
  content: '✅';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 12px;
}

.rank-card .btn {
  margin: 0 auto;
  display: block;
}

/* ── 個別ページ（サービス詳細） ── */
.service-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1565C0 100%);
  color: #fff;
  padding: 28px 16px;
  text-align: center;
}

.service-hero .rank-tag {
  display: inline-block;
  background: var(--rank1);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.service-hero .rank-tag.silver { background: var(--rank2); }
.service-hero .rank-tag.bronze { background: var(--rank3); }

.service-hero h1 {
  font-size: clamp(20px, 5vw, 28px);
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 8px;
}

.service-hero .service-catch {
  font-size: 13px;
  opacity: 0.9;
  line-height: 1.7;
}

.point-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--primary-light);
}

.point-card .point-num {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  display: inline-block;
  padding: 3px 12px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.point-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
  line-height: 1.4;
}

.point-card p {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.75;
}

/* ── フロー図 ── */
.flow-steps {
  list-style: none;
  position: relative;
  margin: 20px 0;
}

.flow-steps::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.flow-steps li {
  padding-left: 50px;
  padding-bottom: 20px;
  position: relative;
}

.flow-steps li:last-child {
  padding-bottom: 0;
}

.flow-steps li::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  z-index: 1;
}

.flow-steps li h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  padding-top: 6px;
  color: var(--primary-dark);
}

.flow-steps li p {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.65;
}

/* ── ネガポジ ── */
.honest-box {
  background: #FFF3E0;
  border: 2px solid #FFCC02;
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 16px;
}

.honest-box .honest-label {
  font-size: 11px;
  font-weight: 700;
  color: #BF360C;
  margin-bottom: 6px;
}

.honest-box p {
  font-size: 13px;
  color: var(--text-main);
  line-height: 1.7;
}

.positive-box {
  background: #E8F5E9;
  border: 2px solid #A5D6A7;
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 16px;
}

.positive-box .positive-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--success);
  margin-bottom: 6px;
}

.positive-box p {
  font-size: 13px;
  color: var(--text-main);
  line-height: 1.7;
}

/* ── Q&Aアコーディオン ── */
.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.07);
  overflow: hidden;
}

.faq-q {
  padding: 16px 50px 16px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  position: relative;
  background: var(--bg-white);
  user-select: none;
  line-height: 1.5;
  transition: background 0.2s;
}

.faq-q::before {
  content: 'Q';
  position: absolute;
  left: -2px;
  top: 0;
  bottom: 0;
  width: 36px;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-q {
  padding-left: 48px;
}

.faq-q::after {
  content: '+';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--primary);
  line-height: 1;
  transition: transform 0.2s;
}

.faq-item.open .faq-q::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-q:hover {
  background: #F5F7FA;
}

.faq-a {
  display: none;
  padding: 14px 16px 14px 48px;
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.75;
  border-top: 1px solid var(--border);
  position: relative;
  background: #FAFBFC;
}

.faq-a::before {
  content: 'A';
  position: absolute;
  left: -2px;
  top: 0;
  bottom: 0;
  width: 36px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-item.open .faq-a {
  display: block;
}

/* ── Tips記事（お役立ちコンテンツ） ── */
.toc-box {
  background: var(--bg-white);
  border: 2px solid var(--primary-light);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 28px;
}

.toc-box h2 {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.toc-box ol {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.toc-box ol li a {
  font-size: 13px;
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  line-height: 1.5;
}

.article-heading {
  font-size: 18px;
  font-weight: 900;
  color: var(--primary-dark);
  border-bottom: 3px solid var(--accent);
  padding-bottom: 10px;
  margin: 40px 0 16px;
  line-height: 1.4;
  scroll-margin-top: 70px;
}

.article-heading:first-of-type {
  margin-top: 0;
}

.conclusion-box {
  background: #E3F2FD;
  border-left: 5px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 16px;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.55;
}

.detail-text {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.8;
  margin-bottom: 12px;
}

/* ── SNSシェアボタン（左フロート） ── */
.share-buttons {
  display: none; /* スマホでは非表示 */
}

/* モバイル：画面下部フローティング（float-ctaの上） */
.float-share {
  display: flex;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 56px; /* float-cta の高さ分上にずらす */
  z-index: 85;
  flex-direction: row;
  gap: 0;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 16px;
  box-shadow: 0 -1px 8px rgba(0,0,0,0.1);
}

.float-share-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-light);
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  letter-spacing: 0.05em;
  margin-right: 10px;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff !important;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  margin: 0 5px;
}

.share-btn:hover {
  opacity: 0.9;
  transform: scale(1.1);
}

.share-btn.line { background: #00B900; }
.share-btn.twitter { background: #000000; }
.share-btn.facebook { background: #1877F2; }

.share-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ── フッター ── */
.site-footer {
  background: #1A1A2E;
  color: rgba(255,255,255,0.7);
  padding: 32px 16px 16px;
  margin-top: 40px;
}

.footer-inner {
  max-width: 800px;
  margin: 0 auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 24px;
  list-style: none;
}

.footer-nav li a {
  color: rgba(255,255,255,0.65);
  font-size: 12px;
  transition: color 0.2s;
}

.footer-nav li a:hover {
  color: #fff;
}

.footer-note {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
  margin-bottom: 16px;
}

.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

/* ── ラベル・バッジなど ── */
.label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 10px;
}

.label-free { background: #E8F5E9; color: var(--success); }
.label-phone { background: #FDE8E8; color: #C62828; }
.label-online { background: #E3F2FD; color: var(--primary-dark); }
.label-cashback { background: #FFF8E1; color: #F57F17; }

.label-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

/* ── スムーススクロール補助 ── */
.back-to-top {
  position: fixed;
  bottom: 80px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 50;
  font-size: 18px;
  box-shadow: var(--shadow);
  text-decoration: none;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ── フローティングCTA（スマホ） ── */
.float-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--accent);
  padding: 12px 16px;
  z-index: 90;
  box-shadow: 0 -3px 12px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.float-cta a {
  color: #fff !important;
  font-size: 15px;
  font-weight: 900;
  text-align: center;
  line-height: 1.3;
}

.float-cta a small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  opacity: 0.85;
}

/* ── ユーティリティ ── */
.text-center { text-align: center; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.pb-80 { padding-bottom: 120px; } /* フロートCTA + シェアボタン分 */

/* ── アニメーション ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
  animation: fadeInUp 0.5s ease both;
}

/* ── メディアクエリ（タブレット以上） ── */
@media (min-width: 600px) {
  body { font-size: 16px; }

  .hero-title { font-size: 32px; }

  .benefit-card img { height: 220px; }

  /* PC用：左サイドフローティングに切り替え */
  .float-share {
    display: flex;
    position: fixed;
    left: 12px;
    top: 50%;
    right: auto;
    bottom: auto;
    transform: translateY(-50%);
    flex-direction: column;
    gap: 8px;
    align-items: center;
    justify-content: center;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    box-shadow: none;
  }

  .float-share-label {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 0.1em;
    margin-right: 0;
    margin-bottom: 4px;
  }

  .share-btn {
    width: 42px;
    height: 42px;
    margin: 0;
  }

  .share-btn svg {
    width: 20px;
    height: 20px;
  }

  .btn-primary { font-size: 18px; }

  .float-cta { display: none; }

  .back-to-top { bottom: 24px; }
}
