:root{
  --bg:#F0D9A7;
  --ink:#1E3140;
  --ink-2:#2b4152;
  --label:#E8C37A;
  --accent:#0c2e44;
}
body {
  margin: 0;
  background: url('../images/background.jpg') center top no-repeat; /* ←画像パスを指定 */
  background-size: cover; /* 画面サイズに合わせて拡大縮小 */
  background-attachment: fixed; /* スクロールしても固定したい場合 */
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.7;
 padding-top: 70px; /* ←これを追加（ナビバーの高さ分） */
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease; /* なめらかな色変化 */
}

a:hover {
  color: #8c8c8c; /* 上品でやわらかいグレー */
}


.wrap{max-width:1080px;margin:0 auto;padding:24px 20px}
header{text-align:center;padding:14px 0 6px;}
header 

.slogan{
	font-size:32px;
  	color: #1b2b36; /* 深いネイビー */
  	letter-spacing: 1px;
  	text-shadow:
    -2px 0px 1px #fff,
     2px 0px 1px #fff,
     0px -2px 1px #fff,
     0px  2px 1px #fff,
     1.5px 1.5px 2px rgba(0,0,0,0.4); /* 少しの黒影で渋く */
}


.hero-owl{aspect-ratio:3/4;background:url('../images/owl-poster.png') center/contain no-repeat;}
.hero-copy{padding:0 10px 8px}
.since{position:absolute; right:10px; top:4px; font-weight:700; color:var(--ink-2)}

.arch {
  font-family: "DM Serif Display", serif;
  font-size: clamp(42px, 6vw, 80px);
  text-align: center;
  color: #1b2b36; /* 深いネイビー */
  letter-spacing: 1px;
  text-shadow:
    -2px 0px 1px #fff,
     2px 0px 1px #fff,
     0px -2px 1px #fff,
     0px  2px 1px #fff,
     1.5px 1.5px 2px rgba(0,0,0,0.4); /* 少しの黒影で渋く */
}


.labels{
	display:grid;
	gap:12px;
	margin:380px 0 100px 0;
}
.label{background:var(--label);
		border-radius:20px;
		padding:40px 20px;
		display:flex;
		align-items:center;
		gap:12px;
		}
.label i{font-size:22px;width:26px;text-align:center}

.label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 16px;
  background: var(--label);
  border-radius: 10px;
  transition: background 0.3s ease;
}

/* アイコン */
.label i {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 4px;
  width: auto; /* ← 固定幅を解除！ */
  min-width: 1em; /* ← バランスをとるための最小幅だけ指定 */
  text-align: left; /* ← アイコンも左揃え */
}

/* テキスト部分を確実に左寄せ */
.label-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* ← 左寄せに重要！ */
  text-align: left;
}

.label-text .moji1 {
  font-size: 3rem;
  font-weight: 900;
  color: var(--ink-2);
  line-height: 1.4;
}

.label-text .moji2 {
  font-size:1.35rem;
  color: #333;
  margin-top: 4px;
  line-height: 1.6;
}
/* aタグ全体をブロック化してクリック・ホバー範囲を拡大 */
.labels a {
  display: block;
  text-decoration: none;
  color: inherit; /* 通常状態は文字色そのまま */
}

/* label自体をホバー時に変化させる */
.labels a:hover .label {
  background: #e6e6e6; /* ← 背景をグレーに */
  transition: background 0.3s ease;
}

/* 文字色をグレーに変化 */
.labels a:hover .moji1,
.labels a:hover .moji2 {
  color: #555;
  transition: color 0.3s ease;
}

/* label本体 */
.label {
  background: var(--label);
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* ▼ 全体のリンク色を青に */
.labels a,
.labels a * {
  color: #007bff !important;
  text-decoration: none !important; /* いったん下線OFF */
}

/* ▼ 下線を出すのは .moji1 の中だけ */
.labels .moji1 {
  text-decoration: underline !important;
}

/* ▼ hover時は濃い青に */
.labels a:hover,
.labels a:hover * {
  color: #0056b3 !important;
}


/* アイコン */
.label i {
  font-size: 26px;
  flex-shrink: 0;
  margin-top: 5px;
}

/* テキスト部分 */
.label-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.moji1 {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--ink-2);
}

.moji2 {
  font-size: 0.95rem;
  color: #333;
  margin-top: 4px;
}




/* スマホ表示で少し調整 */
@media (max-width: 768px) {
  .label {
    flex-direction: row;
    align-items: flex-start;
  }

  .label i {
    font-size: 22px;
    width: 24px;
  }

  .label-text {
    flex-direction: column;
  }

  .label-text .moji1 {
    font-size: 1.2rem; /* スマホでも見やすく */
  }

  .label-text .moji2 {
    font-size: 0.9rem;
    margin-top: 4px;
    display: block;
  }
}


/* スマホ表示（768px以下）で文字の改行や間隔を調整 */
@media (max-width: 768px) {
  .label {
    flex-direction: row;
    align-items: flex-start;
  }

  .label i {
    font-size: 20px;
    width: 22px;
  }

  .label-text {
    flex-direction: column;
  }

  .label-text .moji1 {
    font-size: 1.1rem;
  }

  .label-text .moji2 {
    font-size: 0.85rem;
    margin-top: 4px;
    display: block; /* 確実に下の行に */
  }
}


.contact{
	margin-top:14px;
	display:grid;
	gap:6px;
	font-weight:800;
	color: #1b2b36; /* 深いネイビー */
  letter-spacing: 1px;
  text-shadow:
    -2px 0px 1px #fff,
     2px 0px 1px #fff,
     0px -2px 1px #fff,
     0px  2px 1px #fff,
     1.5px 1.5px 2px rgba(0,0,0,0.4); /* 少しの黒影で渋く */
}
.btns{gap:10px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border:2px solid var(--accent);color:var(--accent);text-decoration:none;font-weight:900;border-radius:10px;}
.btn:hover{background:var(--accent);color:#fff}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 2px solid #fff; /* ← 枠線だけ白 */
  color: inherit;          /* ← 現在の文字色を維持 */
  background: transparent; /* ← 背景透明 */
  text-decoration: none;
  font-weight: 900;
  border-radius: 10px;
  transition: all 0.3s ease;
}

/* ホバー時（探偵っぽく渋く） */
.btn:hover {
  background: rgba(255, 255, 255, 0.1); /* ← 少しだけ白く光る感じ */
  color: inherit;                       /* ← 文字色は変えない */
  border-color: #ccc;                   /* ← 枠線がやや淡く変化 */
}




.cta-band h2{margin:0;font-family:"DM Serif Display", serif;font-size:clamp(36px,5vw,64px);}

footer{background:var(--ink);color:var(--bg);padding:32px 20px;text-align:center;}
footer .footer-inner{max-width:1080px;margin:0 auto 100px auto;}
footer h3{font-family:"DM Serif Display", serif;font-size:32px;margin-bottom:12px;}
footer p, footer a{color:var(--bg);font-size:14px;line-height:1.6;text-decoration:none;}
footer a:hover{text-decoration:underline;}
.footer-inner a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-inner a:hover {
  color: #999; /* 渋めのグレーに変化 */
}


.license{margin-top:10px;font-size:12px;color:#e8dcb5;}

@media screen and (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-owl {
    order: 2;
  }

  .hero-copy {
    order: 1;
    text-align: center;
  }
}


.center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
}

/* ====== 基本レイアウト ====== */
.wrap {
  width: 100%;
  max-width: 1000px; /* ←ここで幅を1000pxに固定 */
  margin: 0 auto;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center; /* 中央寄せ */
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}

/* ====== ヒーローエリア ====== */
.hero {
  display: grid;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.hero-copy {
  text-align: center;
}

.hero-owl {
  aspect-ratio: 3 / 4;
  background: url('../images/owl-poster.png') center/contain no-repeat;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

/* ====== レスポンシブ対応（スマホ） ====== */
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-owl {
    order: 2;
    margin-top: 20px;
  }

  .hero-copy {
    order: 1;
  }

  .wrap {
    padding: 20px 14px;
  }

  .cta-band h2 {
    font-size: 36px;
  }

  footer {
    font-size: 14px;
    padding: 20px 10px;
  }
}

/* ====== ナビゲーションバー ====== */
.navbar {
  width: 100%;
  background: var(--ink);
  color: var(--bg);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
}

.nav-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  box-sizing: border-box;
}

.nav-logo {
  color: var(--bg);
  font-weight: 800;
  text-decoration: none;
  font-family: "DM Serif Display", serif;
  font-size: 20px;
}

/* メニューリスト */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: var(--bg);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #ccc; /* ホバーで灰色に変化 */
}

/* ハンバーガーメニュー（スマホ用） */
.menu-icon {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

.menu-toggle {
  display: none;
}

@media (max-width: 860px) {
  .menu-icon {
    display: block;
    color: var(--bg);
  }

  .nav-menu {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 20px 0;
    display: none;
  }

  /* チェックON時に表示 */
  .menu-toggle:checked + .menu-icon + .nav-menu {
    display: flex;
  }
}

/* スマホ表示でh1とその下の記事の余白を詰める */
@media (max-width: 768px) {
  .hero {
    padding-top: 10px; /* ← 余白を最小限に */
  }

  .hero-copy {
    margin-top: 0;
    padding-top: 0;
  }

  .hero-copy h1 {
    margin-bottom: 10px; /* ← h1と次のブロックの距離を調整 */
  }

  .labels {
    margin-top: 0; /* ← トラブル調査部分の上余白を削除 */
  }
}




/* ▼ トラブル調査の事例セクション */
.case-section {
  background: rgba(255, 255, 255, 0.95);
  padding: 50px 30px;
  margin: 40px 0;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  text-align: left;
}

.case-title {
  font-size: 34px;
  font-weight: 900;
  color: #222;
  margin-bottom: 16px;
  border-left: 8px solid #0c2e44;
  padding-left: 12px;
}

.case-lead {
  font-size: 16px;
  margin-bottom: 24px;
  color: #333;
}

/* ✅ 各トラブル事例カード */
.case-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: #fff;
  border: 2px solid #ccc; /* ← 枠線追加 */
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 28px;
  gap: 20px;
  transition: 0.3s;
  box-shadow: none; /* ← 影なし */
}

/* 左の文章 */
.case-text {
  flex: 1;
  color: #333;
  text-align: left;
}

.case-item h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #0c2e44;
}

.case-item p {
  font-size: 15px;
  line-height: 1.7;
  color: #222;
  margin-bottom: 6px;
}

/* 右の画像 */
.case-img {
  width: 250px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
}

.case-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* スマホ時は縦並び */
@media (max-width: 768px) {
  .case-item {
    flex-direction: column;
  }
  .case-img {
    width: 100%;
    margin-top: 10px;
  }
}
/* ▼ 最後のフッター部分（文章＋画像） */
.case-footer {
  display: flex;
  align-items: center;
  justify-content: center; /* 全体を中央配置 */
  gap: 20px;
  margin-top: 40px;
}

/* 文章部分 */
.case-footer .case-lead {
  font-size: 1.2rem;
  font-weight: 600;
  color: #222;
  margin: 0;
}

/* フクロウ画像 */
.case-footer .case-owl {
  width: 80px;
  height: auto;
}

/* スマホ表示時は縦並び */
@media (max-width: 768px) {
  .case-footer {
    flex-direction: column;
    text-align: center;
  }
  .case-footer .case-owl {
    width: 100px;
    margin-top: 15px;
  }
}



/* ▼ 料金プランセクション */
.price-section {
  background: #f8f9fa;
  padding: 60px 30px;
  text-align: center;
  border-radius: 12px;
  margin: 60px 0;
}

.price-title {
  font-size: 34px;
  font-weight: 900;
  color: #0c2e44;
  margin-bottom: 10px;
}

.price-lead {
  font-size: 16px;
  color: #333;
  margin-bottom: 40px;
}

/* カードを横並び（スマホでは縦） */
.price-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}

.price-card {
  background: #fff;
  border: 2px solid #E8C37A;
  border-radius: 12px;
  width: 230px;
  padding: 25px 15px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}


/* 文字デザイン */
.price-card h3 {
  font-size: 20px;
  color: #0c2e44;
  margin-bottom: 10px;
}

.price-amount {
  font-size: 28px;
  font-weight: 900;
  color: #000;
  margin-bottom: 8px;
}

.price-note {
  font-size: 14px;
  color: #555;
}

/* フッター部分 */
.price-footer {
  margin-top: 40px;
  font-size: 14px;
  color: #333;
}

.price-footer .no-extra {
  font-weight: 900;
  color: #b7282e; /* 赤系で強調 */
  margin-top: 10px;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .price-card {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
}
/* ▼ 料金表全体：左揃え */
.price-list {
  display: flex;
  justify-content: flex-start; /* ← 左揃えに */
  flex-wrap: wrap; /* 折り返し対応 */
  gap: 25px;
  align-items: flex-start; /* 高さを揃える */
}

/* ▼ 各料金カード */
.price-card {
  background: #fff;
  border: 2px solid #E8C37A;
  border-radius: 12px;
  width: 230px;
  padding: 25px 15px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
}

/* ▼ スマホでは中央に変更 */
@media (max-width: 768px) {
  .price-list {
    justify-content: center;
  }
}

/* ▼ 依頼型サプライズ専用・ゴールドスタイル料金ブロック */
.gold-style {
  background: #fff;
  text-align: center;
  padding: 80px 20px;
  border-radius: 20px;
  position: relative;
  z-index: 1;
}

/* 背景にやわらかい影 */
.shadow-bg {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.gold-style .price-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.gold-style .price-lead {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 50px;
  line-height: 1.7;
}

.gold-style .price-box {
  background: #fff;
  border: 3px solid #d4af37; /* ゴールド枠 */
  border-radius: 20px;
  display: inline-block;
  padding: 50px 80px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.gold-style .price-box:hover {
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
  transform: translateY(-4px);
}

.gold-style .price-main {
  font-size: 3.2rem;
  font-weight: bold;
  color: #222;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.gold-style .price-sub {
  font-size: 1rem;
  color: #666;
}

.gold-style .price-footer {
  margin-top: 40px;
  font-size: 0.95rem;
  color: #777;
  line-height: 1.6;
}

/* -----------------------------------------------------
   他社比較テーブル（そのまま縮小・全体表示タイプ）
----------------------------------------------------- */
.comparison-table {
  width: 100%;
  margin: 40px auto;
  text-align: center;
  overflow: hidden;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ccc;
  font-size: 16px;
  background: #fff;
}

.comparison-table thead {
  background: #444;
  color: #fff;
}

.comparison-table th,
.comparison-table td {
  border: 1px solid #ddd;
  padding: 12px 10px;
}

.comparison-table td.highlight {
  background: #ffe8f1;
  font-weight: bold;
  color: #d6336c;
}

.comparison-table h3.comparison-title {
  font-size: 24px;
  margin-bottom: 15px;
  text-align: center;
}

.comparison-table p.comparison-lead {
  text-align: center;
  margin-bottom: 25px;
  color: #555;
}

.comparison-note {
  font-size: 13px;
  color: #777;
  margin-top: 10px;
  text-align: center;
}

/* ▼ スマホ用：表全体を縮小表示にする */
@media screen and (max-width: 768px) {
  .comparison-table {
    transform: scale(0.85); /* ← 全体を縮小 */
    transform-origin: top center; /* 中央を基準に縮小 */
  }

  .comparison-table table {
    font-size: 13px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 8px 6px;
  }

  .comparison-table h3.comparison-title {
    font-size: 20px;
  }

  .comparison-table p.comparison-lead {
    font-size: 14px;
  }
}



/*************出張相談のところ******************/
.consult-area {
  background: rgba(100, 100, 100, 0.4); /* 薄いグレー（半透明） */
  color: #fff; /* 白文字 */
  text-align: left; /* 左詰 */
  padding: 20px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}

/* すべての文字に黒縁をつける */
.consult-area p {
  text-shadow:
    -1px -1px 2px #000,
     1px -1px 2px #000,
    -1px  1px 2px #000,
     1px  1px 2px #000; /* 外側に黒縁風の影 */
  margin: 0;
}

/* 見出し */
.consult-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

/* サブ見出し */
.consult-sub {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

/* 注意文 */
.consult-note {
  font-size: 15px;
  font-weight: 500;
}

.consult-area {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: rgba(100, 100, 100, 0.4);
  color: #fff;
  text-align: left;
  padding: 20px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}

/* テキスト部分 */
.consult-text p {
  text-shadow:
    -1px -1px 2px #000,
     1px -1px 2px #000,
    -1px  1px 2px #000,
     1px  1px 2px #000;
  margin: 0;
}

.consult-title {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

.consult-sub {
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 4px;
}

.consult-note {
  font-size: 20px;
  font-weight: 500;
  opacity: 0.95;
}

/* 画像部分 */
.consult-img img {
  max-width: 180px;       /* ← 適度な大きさ */
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .consult-area {
    flex-direction: column;
    align-items: flex-start;
  }

  .consult-img img {
    max-width: 100%;
    margin-top: 10px;
  }
}

/*************出張相談のところここまで******************/


/*************提携機関のところ******************/
.partners {
  background: #fff;
  color: #000;
  text-align: left;             /* ← 左寄せ */
  padding: 14px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  justify-content: flex-start;  /* ← 左に寄せる */
  align-items: baseline;
  gap: 20px;                    /* 文字の間隔 */
  flex-wrap: wrap;              /* スマホで折り返し対応 */
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.partner-title {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 2px;
}

.partner-sub {
  font-size: 24px;
  font-weight: 500;
  margin: 0 auto;
}

/*************提携機関のところここまで******************/

/*************固定フッターのところ******************/
.fixed-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: #fff;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
  z-index: 9999;
}

/* 高さ1.5倍・文字サイズ拡大 */
.footer-btn {
  flex: 1;
  text-align: center;
  padding: 22px 0; /* 高さ1.5倍 */
  color: #fff;
  font-size: 35px; /* ← 文字サイズを大きく */
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s;
}

.footer-btn i {
  margin-right: 10px;
  font-size: 38px; /* アイコンもバランス良く拡大 */
}

/* LINEボタン */
.line-btn {
  background-color: #06C755; /* LINE公式カラー */
}

.line-btn:hover {
  background-color: #0ad164;
}

/* 電話ボタン */
.call-btn {
  background-color: #ff66a3; /* ピンク系 */
}

.call-btn:hover {
  background-color: #ff7bbd;
}

/* スマホ表示時に最適化 */
@media (max-width: 768px) {
  .footer-btn {
    font-size: 28px; /* スマホでも少し大きめ */
    padding: 20px 0;
  }

  .footer-btn i {
    font-size: 30px;
  }
}


/*************固定フッターのところここまで******************/

/* --------------------------------------------------
   吹き出しイメージ（レスポンシブ対応）
-------------------------------------------------- */
.hukidashi-wrapper {
  text-align: center;
  margin: 40px 0;
}

.hukidashi-img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 8px;
}

/* スマホ表示で余白を少し調整 */
@media screen and (max-width: 768px) {
  .hukidashi-wrapper {
    margin: 20px 0;
  }
}


/* ---------------------------
   HOMEに戻るボタン（スマホ専用）
---------------------------- */

/* デフォルトは非表示（PC） */
.back-to-home {
  display: none;
}

/* スマホサイズ時のみ表示 */
@media screen and (max-width: 768px) {
  .back-to-home {
    display: block;
    position: fixed;
    bottom: 120px; /* 固定フッターに被らない高さ */
    right: 15px;
    background: #ffbb00;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 30px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    font-size: 13px;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .back-to-home.show {
    opacity: 1;
    pointer-events: auto;
  }
  .back-to-home:hover {
    background: #ff9900;
    transform: translateY(-3px);
  }
}


/* ---------------------------
   お客様の声セクション（枠＋顔アイコン付き）
---------------------------- */
.voice-section {
  background-color: #fff;
  padding: 60px 20px;
  margin-bottom: 80px;
}

.voice-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.voice-lead {
  font-size: 1rem;
  color: #666;
  margin-bottom: 40px;
}

.voice-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.voice-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: #fff;
  border: 2px solid #ccc;
  border-radius: 10px;
  padding: 10px 18px;
  box-shadow: none;
  line-height: 1.6;
  position: relative; /* ← 右下固定のため追加 */
}

.voice-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  margin-right: 15px;
  border: 2px solid #ffbb00;
  background-color: #fff;
}

.voice-comment {
  flex: 1;
  font-size: 1rem;
  color: #333;
  line-height: 1.9;
  margin-bottom: 15px;
  position: relative;
  text-align: left;
  padding-right: 120px; /* ← 名前が被らないように右に余白を確保 */
}

.voice-comment::before {
  content: "“";
  font-size: 2rem;
  color: #ffbb00;
  position: absolute;
  left: -15px;
  top: -10px;
}

.voice-name {
  position: absolute;
  bottom: 10px;
  right: 18px;
  font-size: 0.9rem;
  color: #777;
  font-style: italic;
  text-align: right;
}

/* ▼ スマホ表示専用・お客様の声最適化 */
@media screen and (max-width: 768px) {
  .voice-section {
    padding: 15px 0;
  }

  .voice-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
  }

  .voice-card {
    width: 100%;
    max-width: 95%;
    padding: 20px 15px 28px; /* 🔹下に余裕を持たせる */
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .voice-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
  }

  .voice-comment {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #333;
    text-align: justify;
    word-break: break-word;
    width: 100%;
    max-width: none;
    padding: 0;
    box-sizing: border-box;
    margin-bottom: 30px; /* 🔹名前との間隔をしっかり確保 */
  }

  .voice-name {
    font-size: 0.9rem;
    color: #555;
    text-align: right;
    width: 100%;
    margin-top: 10px; /* 🔹さらに微調整で余白追加 */
  }

  /* セクション下との重なり防止 */
  .voice-section + * {
    margin-top: 60px !important;
  }
}



/* お問い合わせフォームセクション */
.contact-form-section {
  background-color: #fff;
  padding: 60px 20px;
  text-align: center;
  margin: 60px auto;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  max-width: 700px;
}

.contact-form-title {
  font-size: 1.8rem;
  color: #333;
  font-weight: 700;
  margin-bottom: 10px;
}

.contact-form-lead {
  color: #666;
  font-size: 1rem;
  margin-bottom: 30px;
  line-height: 1.7;
}

/* フォーム本体 */
.contact-form {
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  font-weight: 600;
  color: #333;
  display: block;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1.5px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Noto Sans JP', sans-serif;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #ffbb00;
  box-shadow: 0 0 4px rgba(255,187,0,0.3);
}

.submit-btn {
  width: 100%;
  padding: 12px 0;
  background-color: #ffbb00;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.submit-btn:hover {
  background-color: #ffaa00;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .contact-form-section {
    padding: 40px 15px;
  }

  .contact-form-title {
    font-size: 1.6rem;
  }
}

/* 送信完了ページ */
.thanks-wrapper {
  background: #fff;
  border-radius: 12px;
  padding: 60px 30px;
  max-width: 700px;
  margin: 80px auto;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.thanks-icon {
  font-size: 3.5rem;
  color: #ffbb00;
  margin-bottom: 20px;
}

.thanks-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.thanks-message {
  font-size: 1rem;
  color: #555;
  line-height: 1.9;
  margin-bottom: 40px;
}

.thanks-message .note {
  font-size: 0.9rem;
  color: #888;
}

.thanks-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.thanks-buttons .btn {
  background-color: #ffbb00;
  color: #fff;
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s;
}

.thanks-buttons .btn:hover {
  background-color: #ffaa00;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .thanks-wrapper {
    padding: 40px 20px;
    margin: 60px 15px;
  }

  .thanks-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

/************お問い合わせ表示欄のCSS******************/
.contact i {
  color: #555;
  margin-right: 5px;
}

.contact .social {
  margin-top: 5px;
}

.contact a:hover i.fa-line {
  color: #06C755; /* LINEグリーン */
}

.contact a:hover i.fa-instagram {
  color: #E1306C; /* Instagramピンク */
}

/************スローガンの読み仮名CSS******************/
.slogan ruby {
  font-size: 1.2em; /* 全体の文字サイズ */
}


/* ▼ MENUブロック全体の位置を少し下へ */
.menu-box {
  display: flex;
  justify-content: center;
  margin: 1.5em 0 0.8em; /* 上1.5emで全体を少し下げ、下0.8emで適度な空き */
}

/* ▼ MENUタイトル見た目（そのままでOKなら触らなくていい） */
.menu-title {
  background: linear-gradient(145deg, #ffffff, #f3f3f3);
  border: 2px solid #007bff;
  color: #007bff;
  font-size: 1.6em;
  font-weight: 800;
  padding: 0.45em 1.1em;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
  letter-spacing: 0.08em;
  font-family: "DM Serif Display", "Noto Sans JP", serif;
  transition: all 0.3s ease;
}

/* ▼ ラベル群との間を自然に */
.labels {
  margin-top: 0.7em; /* ←ここで距離を戻す。0.5〜1.0emの間で微調整OK */
}

/* ▼ スマホでは少し詰めめで */
@media screen and (max-width: 768px) {
  .menu-box {
    margin: 1.2em 0 0.6em; /* 全体をやや下げ＋少し余裕を持たせる */
  }
  .labels {
    margin-top: 0.5em;
  }
}
.menu-section {
  margin-top: 2em; /* ← ページ全体は崩さず、少し下げるだけ */
}
/* ▼ MENU見出し（黒文字＋金枠・ラベル幅に完全フィット） */
.menu-title {
  background: linear-gradient(145deg, #ffffff, #f3f3f3);
  border: 2px solid #E8C37A;       /* ゴールド枠 */
  color: #000;                     /* 黒文字 */
  font-size: 1.6em;
  font-weight: 800;
  padding: 0.5em 1.2em;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
  letter-spacing: 0.08em;
  font-family: "DM Serif Display", "Noto Sans JP", serif;
  transition: all 0.3s ease;

  /* ▼ ラベルと同じぐらいに幅拡大 */
  width: 98%;          /* ← さらに広げる（両サイドに余白ほぼなし） */
  max-width: 880px;    /* ← ラベルの想定最大幅に近づける */
  margin: 0 auto;
  display: block;
}
/* スマホ調整（画面に合わせて100%フィット） */
@media screen and (max-width: 768px) {
  .menu-title {
    width: 98%;
    font-size: 1.3em;
    padding: 0.45em 1em;
  }
}



/* ▼ 他社比較テーブル全体 ばんくん専用に指定*/
.comparison-table {
  max-width: 100%;
  overflow-x: auto; /* ← iPhoneで表がはみ出てもスクロール可 */
  -webkit-overflow-scrolling: touch; /* ← スクロールをなめらかに */
  margin: 2em auto;
  padding: 1em;
  box-sizing: border-box;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* ▼ タイトル */
.comparison-title {
  text-align: center;
  font-weight: 800;
  font-size: 1.5em;
  margin-bottom: 0.3em;
}

.comparison-lead {
  text-align: center;
  color: #444;
  margin-bottom: 1.2em;
}

/* ▼ テーブル */
.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed; /* ← iPhoneで列幅を一定に保つ！ */
  word-break: break-word;
  background-color: #fff;
}

/* ▼ ヘッダー行 */
.comparison-table th {
  background: #E8C37A;  /* ← ブランドゴールド */
  color: #000;
  padding: 0.8em;
  font-weight: 700;
  text-align: center;
  border: 1px solid #ccc;
}

/* ▼ データセル */
.comparison-table td {
  padding: 0.8em;
  text-align: center;
  border: 1px solid #ccc;
  vertical-align: middle;
  background: #fafafa;
  color: #333;
}

/* ▼ OWL探偵事務局 強調セル */
.comparison-table .highlight {
  background: #fff7e2;  /* 柔らかい金系背景 */
  font-weight: 700;
  color: #000;
}

/* ▼ 注意書き */
.comparison-note {
  text-align: center;
  font-size: 0.9em;
  color: #777;
  margin-top: 1em;
}

/* ▼ スマホ対応 */
@media screen and (max-width: 768px) {
  .comparison-table table {
    font-size: 0.9em;
  }
  .comparison-table th, .comparison-table td {
    padding: 0.6em;
  }
}
