
:root{
  --bg:#F0D9A7;
  --ink:#1E3140;
  --ink-2:#2b4152;
  --label:#E8C37A;
  --accent:#0c2e44;
}
body {
  margin: 0;
  background:#FAEDCD; /* ←画像パスを指定 */
  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:22px;
  	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: blue!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-title（見出し）サイズ調整 */
@media screen and (max-width: 768px) {
  .case-title {
    font-size: 22px;   /* ← PCより小さめでちょうど良い */
    padding-left: 10px;
  }
}


.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:30px;
}

/* 右の画像 */
.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;
}

.aka{
	font-weight: bold;
	color: red;
}

/* フッター部分 */
.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: 25px;
  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: none;
    margin: 20px auto;
    width: 100%;
  }

  /* テーブル全体設定 */
  .comparison-table table {
    width: 100%;
    font-size: 13px;       /* ← 全体を小さめに */
    border-collapse: collapse;
    table-layout: fixed;   /* ← はみ出し防止 */
    word-wrap: break-word; /* ← 自動折返し */
  }

  /* セル（項目・内容） */
  .comparison-table th,
  .comparison-table td {
    padding: 8px 5px;
    line-height: 1.28;
    font-size: 13px;       /* ← 全体を13pxで統一 */
    white-space: normal;
  }

  /* OWLのハイライトセル（5万円） */
  .comparison-table td.highlight {
    background: #ffe8f1;
    color: #d6336c;
    font-size: 14px;       /* ← 重要なので少し大きめ */
    font-weight: bold;
    line-height: 1.2;
  }

  /* 補足文字（追加費用なし・調査員2名…など） */
  .comparison-table .moji3 {
    font-size: 11px;       /* ← 小さめで邪魔にならない */
    line-height: 1.05;
    display: block;
    margin-top: 2px;
    opacity: 0.9;
  }

  /* 見出し */
  .comparison-table h3.comparison-title {
    font-size: 19px;
    margin-bottom: 10px;
  }

  /* リード文 */
  .comparison-table p.comparison-lead {
    font-size: 13px;
    margin-bottom: 14px;
  }

  /* 注意書き */
  .comparison-note {
    font-size: 11px;
    margin-top: 8px;
  }

}




/*************出張相談のところ******************/
.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: 65px; /* ← 文字サイズを大きく */
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s;
}

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

/* 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;
}

/* ▼ PC・スマホ共通：完全縦並びでアイコンも中央寄せ */
.voice-card {
  display: flex;
  flex-direction: column;
  align-items: center;     /* ← PC時のアイコン中央寄せ（最重要） */
  gap: 15px;
  background-color: #fff;
  border: 2px solid #ccc;
  border-radius: 10px;
  padding: 25px 20px;
  line-height: 1.7;
  text-align: left;
}

.voice-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffbb00;
  background-color: #fff;
  margin-bottom: 10px;
}

.voice-comment {
  font-size: 1rem;
  line-height: 1.85;
  color: #333;
  margin-bottom: 5px;
  width: 100%;
  word-break: break-word;
  text-align: left;
}

.voice-name {
  font-size: 0.9rem;
  color: #777;
  width: 100%;
  text-align: right;
  margin-top: 12px;
}


/* ▼ スマホ最適化（見た目調整のみ） */
@media screen and (max-width: 768px) {

  .voice-card {
    padding: 22px 15px;
  }

  .voice-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 10px;
  }

  .voice-comment {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 15px;
  }

  .voice-name {
    font-size: 0.85rem;
    margin-top: 10px;
  }
}




/* お問い合わせフォームセクション */
.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;
  }
}

/* 立ち会いサポートラベルだけ（水色グラデver） */
.label.special-label {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #b6ecff, #79c9ff); /* ←やさしい水色〜空色のグラデーション */
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(121, 201, 255, 0.4);
  padding: 10px 15px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* hover時 */
.label.special-label:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 15px rgba(121, 201, 255, 0.6);
}

/* 光が流れるアニメーション */
.label.special-label::before {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 50%;
  height: 100%;
  background: rgba(255,255,255,0.5);
  transform: skewX(-25deg);
  transition: left 0.7s;
}
.label.special-label:hover::before {
  left: 130%;
}

/* 絵文字 */
.icon-emoji {
  font-size: 1.8em;
  margin-right: 12px;
  animation: bounce 1.5s infinite;
}

/* ぴょこぴょこ */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ─── 大人気！立ち会いサポートプランの文字サイズ統一 ─── */
.special-label .moji1 {
  color: #003d66;
  font-weight: 900;
  font-size: 3rem;  /* ← 他と完全一致！ */
  line-height: 1.4;
}

.special-label .moji2 {
  color: #064b73;
  font-size: 1.35rem; /* ← 他と完全一致！ */
  line-height: 1.6;
  margin-top: 4px;
  display: block;
}
/* ▼ スマホ表示時：special-label の文字サイズ統一 */
@media screen and (max-width: 768px) {
  .special-label .moji1 {
    font-size: 1.2rem !important; /* ← 他のmoji1 と完全一致 */
    line-height: 1.4;
  }

  .special-label .moji2 {
    font-size: 0.9rem !important; /* ← 他のmoji2 と完全一致 */
    line-height: 1.5;
  }

  .special-label .icon-emoji {
    font-size: 1.4rem; /* 絵文字も少し小さめに統一 */
  }
}
/******文字の指定*********/
.moji3{
	font-size: 12px;
}
.highlight {
  line-height: 1.1; /* 行間を狭く */
  padding-top: 2px;
  padding-bottom: 2px;
}

.highlight .moji3 {
  display: block;
  margin-top: 0;   /* 上の余白をゼロに */
  line-height: 1.1;
}

/* サイトマップページ */
.sitemap {
  padding: 40px 20px;
  background-color: #f7f7f7;
}

.sitemap-title {
  text-align: center;
  margin-bottom: 30px;
}

.sitemap-title h1 {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.sitemap-title p {
  font-size: 16px;
  color: #777;
}

.category {
  margin-bottom: 30px;
}

.category h2 {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
}

.category ul {
  list-style-type: none;
  padding: 0;
}

.category ul li {
  font-size: 18px;
  margin-bottom: 8px;
}

.category ul li a {
  color: #007bff;
  text-decoration: none;
}

.category ul li a:hover {
  text-decoration: underline;
}

/* フッター */
footer {
  background-color: #333;
  color: white;
  padding: 20px;
  margin-top: 50px;
}

footer h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

footer p {
  font-size: 14px;
  line-height: 1.6;
}

footer a {
  color: #fff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.license {
  margin-top: 20px;
  font-size: 12px;
  text-align: center;
}

/* ナビゲーション */
.navbar {
  background-color: #333;
  color: white;
  padding: 15px;
}

.navbar .nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .nav-menu {
  list-style-type: none;
  padding: 0;
}

.navbar .nav-menu li {
  display: inline-block;
  margin-left: 20px;
}

.navbar .nav-menu a {
  color: white;
  text-decoration: none;
}

.navbar .nav-menu a:hover {
  text-decoration: underline;
}

.slogan {
  text-align: center;
  font-size: 24px;
  color: #007bff;
  margin-top: 20px;
}

/* ▼ 会社概要セクション */
.company-section {
  position: relative;
  padding: 60px 20px;
  margin-top: 50px;
  border-radius: 20px;
  overflow: hidden;
}

/* 背景の薄い画像 → かなり薄くするかOFFでもOK */
.company-bg {
  background-image: url("images/syucchousoudan.png");
  background-size: cover;
  background-position: center;
  opacity: 0.08; /* ←読みにくい原因なので大幅に薄くした */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.company-title {
  position: relative;
  z-index: 2;
  font-size: 32px;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 900;
  color: #333;
  letter-spacing: 0.05em;
}

/* ▼ 背景白カード風にして可読性UP */
.company-content {
  position: relative;
  z-index: 3;
  background: #ffffff; /* ★完全白背景で読みやすい */
  padding: 35px 25px;
  border-radius: 20px;
  box-shadow: 0px 6px 25px rgba(0,0,0,0.15); /* ★ふんわり影で高級感 */
  border: 1px solid rgba(0,0,0,0.05);
}

.company-subtitle {
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: 700;
  color: #444;
}

.company-text {
  line-height: 1.9;
  margin-bottom: 25px;
  font-size: 16px;
  color: #333;
}

/* ▼ テーブル */
.company-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 15px;
}

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

.company-table th {
  width: 35%;
  background: rgba(0,0,0,0.05);
  font-weight: 700;
  color: #333;
}

.company-table td {
  background: rgba(255,255,255,0.95);
}
/* ▼ 会社概要タイトル（より見やすく強調） */
.company-title {
  position: relative;
  z-index: 5;
  font-size: 34px;              /* ←大きく */
  text-align: center;
  margin-bottom: 35px;
  font-weight: 900;
  color: #222;                   /* ←濃い文字色に変更 */
  letter-spacing: 0.08em;

  /* ★ 背景白の帯を入れて超読みやすくする */
  display: inline-block;
  padding: 10px 25px;
  background: rgba(255,255,255,0.92);  
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border: 1px solid rgba(0,0,0,0.05);
}
/* ▼ 代表挨拶の文章を左寄せに固定 */
.company-text {
  text-align: left !important;
}
/* ▼ テーブル内の文字を左寄せ */
.company-table th,
.company-table td {
  text-align: left !important;
}

/****テキスト左へ******/
.left{
	text-align: left;
}

/* ▼ 料金比較のところの文言に対しての指定。ピンクの枠（柔らかいボックスデザイン） */
.comparison-note.left {
  background: rgba(255, 182, 193, 0.25); /* 淡いピンク */
  border: 2px solid rgba(255, 105, 180, 0.4); /* 少し濃いピンク線 */
  padding: 15px 18px;
  border-radius: 12px; /* 丸角 */
  margin-top: 15px;
  line-height: 1.8;
  color: #444; /* 文字は読みやすい濃さに */
  box-shadow: 0 4px 12px rgba(255, 182, 193, 0.3); /* ピンクの柔らか影 */
}

/* お得なクーポンセクション */
.coupon-section {
  margin-top: 50px;
  text-align: center;
  padding: 0 20px;
}

.coupon-lead {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 25px;
  color: var(--ink);
	text-align: left;
}

.coupon-img-wrap {
  max-width: 615px;
  margin: 0 auto 25px auto;
}

.coupon-img {
  width: 100%;
  height: auto;
  max-width: 615px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.coupon-note {
  font-size: 0.95rem;
  color: var(--ink);
  margin-top: 10px;
  line-height: 1.7;
}
/* クーポンセクション専用・背景白ボックス */
.coupon-bg {
  background: #ffffff;
  padding: 25px 20px;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.12);
  margin: 40px auto;
  max-width: 900px; /* お好みで調整OK */
}
/* ▼ LINEブラウザでの自動ズーム禁止 */
html, body {
  -webkit-text-size-adjust: 100% !important;
  text-size-adjust: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}

/* ▼ お問い合わせブロック内のリンクだけ下線を表示 */
.contact a {
  text-decoration: underline !important;
}

/* ▼ アイコン（LINE/Instagram/メール/電話）は下線を消す */
.contact a i {
  text-decoration: none !important;
}

/* ▼ ホバー時も下線維持 */
.contact a:hover {
  opacity: 0.8;
  text-decoration: underline !important;
}
/* ▼ ハンバーガーメニュー内の項目を左寄せ */
.nav-menu {
  text-align: left !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
}

.nav-menu li {
  width: 100%;
  text-align: left;
}

.nav-menu a {
  display: block;
  padding-left: 10px; /* ← 少し左に寄せる余白 */
}


/* ---------------------------------------------------
   ブログレイアウト
--------------------------------------------------- */
.blog-wrapper {
  display: flex;
  gap: 30px;
  margin: 40px auto;
  max-width: 1100px;
  padding: 0 20px;
}

/* 左：メイン記事 */
.blog-main {
  flex: 2;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.blog-main img {
  width: 100%;
  border-radius: 10px;
}

.blog-title {
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: 700;
  color: var(--ink);
}

.blog-post-title {
  font-size: 20px;
  margin: 20px 0 10px;
  font-weight: 700;
}

.blog-date {
  color: #666;
  margin-bottom: 15px;
  font-size: 14px;
}

.blog-content p {
  margin-bottom: 15px;
  line-height: 1.8;
}

/* ▼ サイドバー（横並び版） */
.blog-sidebar {
  flex: 1;
  background: #fff;
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  height: fit-content;
  font-size: 14px; /* ← 全体を少し小さく */
}

.sidebar-title {
  font-size: 16px; /* ← 小さめ */
  font-weight: 700;
  margin-bottom: 15px;
}

.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-list li {
  margin-bottom: 12px;
  line-height: 1.4;
}

.side-link {
  color: var(--ink);
  text-decoration: none;
  display: inline-block;
}

.side-link:hover {
  text-decoration: underline;
}

.side-date {
  font-size: 12px;
  color: #777;
}
/* ▼ サイドバーを全て左寄せに統一 */
.blog-sidebar {
  text-align: left;      /* ← 全体を左寄せ */
}

.sidebar-list li,
.side-link,
.side-date {
  text-align: left;      /* ← 念のため個別にも指定 */
}

.side-link {
  display: block;        /* ← 左寄せを確実に反映 */
}
/* ▼ 過去の投稿の見出しだけ中央寄せ */
.sidebar-title {
  text-align: center;
}


/* ---------------------------------------------------
   スマホ対応
--------------------------------------------------- */
@media (max-width: 768px) {
  .blog-wrapper {
    flex-direction: column;
  }
  .blog-sidebar {
    margin-top: 20px;
  }
}

/* ============================================
   ★ 出張相談・提携機関・CONTACT を完全修正 ★
   今ある全部より強い指定
============================================ */

/* ▼ 出張相談（幅がおかしい対策） */
.consult-area {
  max-width: 960px !important;
  margin: 40px auto !important;
  width: 100% !important;
  padding: 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  box-sizing: border-box !important;
}

/* 出張相談の画像サイズ制御 */
.consult-area .consult-img img {
  max-width: 160px !important;
  height: auto !important;
  display: block !important;
}

/* スマホ */
@media (max-width: 768px) {
  .consult-area {
    flex-direction: column !important;
    text-align: left !important;
  }
  .consult-area .consult-img img {
    max-width: 100% !important;
    margin-top: 10px !important;
  }
}


/* ▼ 提携機関（白帯が横に広がりすぎ対策） */
.partners {
  max-width: 960px !important;
  margin: 40px auto !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 20px !important;
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 30px !important;
  border-radius: 10px !important;
  background: #fff !important;
}

.partner-title {
  margin-right: 10px !important;
}


/* ▼ CONTACT（横幅MAX暴走を止める） */
.contact {
  max-width: 960px !important;
  margin: 40px auto !important;
  width: 100% !important;
  padding: 20px !important;
  box-sizing: border-box !important;
  text-align: left !important;
}

.contact div,
.contact a {
  word-break: break-word !important;
}

/* ▼ CONTACT（中央寄せ維持 + 幅暴走防止） */
.contact {
  max-width: 960px !important;
  margin: 40px auto !important;
  width: 100% !important;
  padding: 20px !important;
  box-sizing: border-box !important;

  text-align: center !important;   /* ← 中央寄せに戻す */
}

/* 中のテキストは中央のまま */
.contact div,
.contact a {
  word-break: break-word !important;
  text-align: center !important;   /* ← 左寄り防止 */
}

/* 電話番号などのアイコン行も中央寄せ */
.contact .social,
.contact i {
  text-align: center !important;
  margin: 0 auto !important;
}

/* スマホのときだけ お問い合わせ＆LINEボタンを横並びに */
@media (max-width: 768px) {
  .btns {
    display: flex;           /* 横並びにする */
    gap: 10px;
    justify-content: center;
    flex-wrap: nowrap;       /* 折り返さない */
  }

  .btns .btn {
    justify-content: center; /* 文字を中央寄せ */
  }
}
.cta-btn{
  display: inline-flex;
  align-items: center;
  background: #6dbb3a;
  color: #fff;
  padding: 15px 25px 15px 40px;
  border-radius: 30px;
  font-size: 18px;
  text-decoration: none;
  font-weight: bold;
  position: relative;
}

.cta-btn .tag{
  position: absolute;
  left: -40px;
  background: #e8435a;
  color:#fff;
  padding: 8px 12px;
  font-size: 12px;
  border-radius: 5px;
  transform: skewX(-20deg);
}

.cta-btn .tag::after{
  content:"";
  position:absolute;
  right:-12px;
  top:50%;
  transform: translateY(-50%);
  border-top:10px solid transparent;
  border-bottom:10px solid transparent;
  border-left:12px solid #e8435a;
}

/* ▼ 紹介クーポンだけ上の余白を揃える */
.intro-coupon-img {
  padding-top: 20px; /* ← カード内の画像の上に余白追加 */
  display: block;
  margin: 0 auto;
}


  /* 年月ヘッダー */
.month-header {
  font-weight: bold;
  margin-top: 12px;
  padding: 8px 0 4px;
  border-top: 1px solid #ccc;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}

.month-header .arrow {
  transition: transform 0.2s ease;
  display: inline-block;
}

.month-contents {
  display: none; /* 初期は折りたたみ */
  margin-left: 18px;
  padding-left: 4px;
  border-left: 2px solid #eee;
}

/****トップ画像のCSS***/
.top-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px; /* 角丸にしたくなければ消してOK */
}
/* ==========================
   こんなご家庭におすすめ
========================== */
.recommend-section {
  margin: 50px auto 40px;
  max-width: 960px;
}

.recommend-title {
  font-size: 1.6rem;
  text-align: left;
  margin-bottom: 18px;
}

.recommend-box {
  background: #fff7c8;
  border-radius: 16px;
  padding: 20px 24px;
  border: 2px solid #f3c96b;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  position: relative;
  display: block;
}

/* ▼ 見出し（黄色） */
.recommend-tag {
  display: inline-block;
  font-size: 25px;
  font-weight: 700;
  color: #b07200;
  background: #ffe9a0;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 12px;
  text-align: center;
}

.recommend-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  text-align: left;
}

.recommend-list li {
  position: relative;
  padding-left: 1.6em;
  margin: 20px 0;
  line-height: 1.7;
}

.recommend-list li::before {
  position: absolute;
  left: 0;
  top: 0;
  color: #e08b00;
  font-weight: 700;
}

/* スマホ調整 */
@media screen and (max-width: 600px) {
  .recommend-section {
    margin: 40px 0 30px;
    padding: 0 12px;
  }
  .recommend-box {
    padding: 16px 14px;
  }
}

/* ==========================
   安心設計セクション
========================== */
.safety-section {
  margin: 40px auto 30px;
  max-width: 960px;
}

/* ▼ 見出しを青系に変更し、サイズも recommend-tag と統一 */
.safety-title {
  display: inline-block;
  font-size: 25px;
  font-weight: 700;
  color: #245a8d;
  background: #d9ecff;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 12px;
  text-align: center;
}

.safety-box {
  background: #f3f9ff;
  border-radius: 16px;
  padding: 20px 24px;
  border: 2px solid #b8d3ff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.safety-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  text-align: left;
}

.safety-list li {
  position: relative;
  padding-left: 1.8em;
  margin:20px 0;
  line-height: 1.8;
}

.safety-list li::before {
  position: absolute;
  left: 0;
  top: 0.05em;
}

.safety-note {
  font-size: 0.95rem;
  color: #345;
  margin-top: 8px;
}
/* 安心設計の文字色を青に */
.price-title.safety-title.blue {
  color: #245a8d;  /* おすすめの深めの青 */
}

/* スマホ調整 */
@media screen and (max-width: 600px) {
  .safety-section {
    padding: 0 12px;
    margin: 30px 0 20px;
  }
  .safety-box {
    padding: 16px 14px;
  }
}

/* スマホだけ改行 */
.sp-only {
  display: none;
}
@media screen and (max-width: 600px) {
  .sp-only {
    display: inline;
  }
}

/* ==========================
 list と image を横並びに
========================== */
.recommend-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

/* 左カラム */
.recommend-list {
  flex: 1.4;
}

/* 右カラム（画像） */
.recommend-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.recommend-img {
  max-width: 100%;
  border-radius: 10px;
}

/* スマホ表示：縦並び */
@media screen and (max-width: 600px) {
  .recommend-row {
    flex-direction: column;
  }
  .recommend-right {
    margin-top: 10px;
  }
}
/* はじめてのおつかいの内訳欄のスタイル（専用クラス） */
.price-detail {
  text-align: left; /* 全体は左寄せ */
}

.price-detail-title {
  display: block;
  text-align: center; /* (内訳)だけ中央寄せ */
  font-weight: 700;
  margin: 40px 0 0 0;
}
@media screen and (max-width: 600px) {
  .recommend-tag,
  .safety-title {
    font-size: 18px;
    padding: 4px 10px; /* 小さくした文字に合わせて余白も調整 */
  }
.price-title.safety-title.blue {
 font-size: 18px;
}
}
