@charset "utf-8";
/* ----------------------------------------------------------------------------
 * 調査種別のページ（/investigation/ と /investigation/<種別>/）
 * テンプレート「MILAE 静的デザイン」が、URL の最初の階層が investigation のページでだけ読み込む。
 * 見出し・パンくず・FAQ・料金プランの表は style.css・price.css の部品をそのまま使い、
 * ここでは調査種別のページだけで使う部品（p-inv-*）を定義する。
 * -------------------------------------------------------------------------- */

.p-inv {
  --inv-green: #55A86C;
  --inv-green-dark: #3E8B55;
  --inv-bg: #F4F8F1;
  --inv-border: #D9E8D0;
  --inv-text: #333;
  --inv-sub: #666;
  color: var(--inv-text);
}

.p-inv-sec {
  padding: 80px 0;
}
.p-inv-sec.-bg {
  background: var(--inv-bg);
}
.p-inv-sec .title {
  margin-bottom: 32px;
}
.p-inv-inner {
  width: 90%;
  max-width: 930px;
  margin: 0 auto;
}
.p-inv-text {
  font-size: 16px;
  line-height: 1.9;
}
.p-inv-text + .p-inv-text {
  margin-top: 1em;
}
.p-inv-text a,
.p-inv-links a,
.p-inv-note a,
.p-inv-table a {
  color: var(--inv-green-dark);
  text-decoration: underline;
}
@media screen and (max-width: 767px) {
  .p-inv-sec { padding: 56px 0; }
  .p-inv-text { font-size: 15px; }
}

/* 冒頭の要約（質問に一文で答える） */
.p-inv-lead {
  width: 90%;
  max-width: 930px;
  margin: 40px auto 0;
  background: #FFF;
  border: 2px solid var(--inv-green);
  border-radius: 20px;
  box-shadow: 10px 10px 30px rgba(197, 213, 183, .35);
  padding: 32px 36px;
}
.p-inv-lead__answer {
  font-size: 18px;
  line-height: 1.8;
  font-weight: bold;
}
.p-inv-lead__answer strong {
  color: var(--inv-green-dark);
}
@media screen and (max-width: 767px) {
  .p-inv-lead { padding: 22px 18px; margin-top: 24px; }
  .p-inv-lead__answer { font-size: 16px; }
}

/* 事実の表（料金・対応地域など） */
.p-inv-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.7;
}
.p-inv-table th,
.p-inv-table td {
  border-bottom: 1px solid var(--inv-border);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}
.p-inv-table th {
  width: 26%;
  background: var(--inv-bg);
  font-weight: bold;
  white-space: nowrap;
}
.p-inv-table tr:first-child th,
.p-inv-table tr:first-child td {
  border-top: 1px solid var(--inv-border);
}
@media screen and (max-width: 767px) {
  .p-inv-table th,
  .p-inv-table td { display: block; width: 100%; padding: 10px 12px; }
  .p-inv-table th { border-bottom: none; white-space: normal; }
  .p-inv-table tr:first-child td { border-top: none; }
}

/* こんなお悩み（チェックの一覧） */
.p-inv-worries {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.p-inv-worries li {
  background: #FFF;
  border: 1px solid var(--inv-border);
  border-radius: 12px;
  padding: 14px 16px 14px 46px;
  position: relative;
  font-size: 16px;
  line-height: 1.6;
}
.p-inv-worries li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 17px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--inv-green);
}
.p-inv-worries li::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 21px;
  width: 6px;
  height: 9px;
  border: solid #FFF;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
@media screen and (max-width: 767px) {
  .p-inv-worries { grid-template-columns: 1fr; gap: 10px; }
  .p-inv-worries li { font-size: 15px; }
}

/* カードの一覧（分かること・調査方法など） */
.p-inv-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.p-inv-cards.-three {
  grid-template-columns: repeat(3, 1fr);
}
.p-inv-card {
  background: #FFF;
  border-radius: 16px;
  border-top: 4px solid var(--inv-green);
  box-shadow: 6px 6px 20px rgba(197, 213, 183, .35);
  padding: 20px 22px;
}
.p-inv-card__ttl {
  font-size: 17px;
  font-weight: bold;
  margin-bottom: 8px;
  color: var(--inv-green-dark);
}
.p-inv-card__text {
  font-size: 15px;
  line-height: 1.8;
}
@media screen and (max-width: 767px) {
  .p-inv-cards,
  .p-inv-cards.-three { grid-template-columns: 1fr; }
}

/* 流れ（番号付きの手順） */
.p-inv-steps {
  counter-reset: inv-step;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.p-inv-steps li {
  counter-increment: inv-step;
  background: #FFF;
  border-radius: 14px;
  padding: 16px 20px 16px 76px;
  position: relative;
  min-height: 60px;
  box-shadow: 6px 6px 20px rgba(197, 213, 183, .3);
}
.p-inv-steps li::before {
  content: counter(inv-step, decimal-leading-zero);
  font-family: var(--font-en);
  position: absolute;
  left: 18px;
  top: 14px;
  font-size: 26px;
  font-weight: 600;
  color: var(--inv-green);
}
.p-inv-steps__ttl {
  font-weight: bold;
  font-size: 16px;
}
.p-inv-steps__text {
  font-size: 15px;
  line-height: 1.7;
  margin-top: 4px;
}

/* 注意（法律上できないこと） */
.p-inv-note {
  background: #FFF;
  border: 2px solid #E3B7B7;
  border-radius: 16px;
  padding: 24px 28px;
}
.p-inv-note__ttl {
  font-weight: bold;
  font-size: 17px;
  color: #B54848;
  margin-bottom: 10px;
}
.p-inv-note ul,
.p-inv-note ul li {
  list-style: disc outside;
  padding-left: 1.4em;
  font-size: 15px;
  line-height: 1.8;
}
.p-inv-note li + li {
  margin-top: 6px;
}
@media screen and (max-width: 767px) {
  .p-inv-note { padding: 18px; }
}

/* 関連ページへのリンク */
.p-inv-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
  font-size: 15px;
  line-height: 1.7;
}
.p-inv-links li {
  padding-left: 1.1em;
  position: relative;
}
.p-inv-links li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--inv-green);
  font-weight: bold;
}
@media screen and (max-width: 767px) {
  .p-inv-links { grid-template-columns: 1fr; }
}

/* 調査項目一覧（/investigation/）のカード */
.p-inv-menu {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.p-inv-menu a,
.p-inv-menu a:link,
.p-inv-menu a:visited {
  display: block;
  height: 100%;
  background: #FFF;
  border-radius: 16px;
  border: 2px solid var(--inv-border);
  padding: 20px 22px;
  color: var(--inv-text);
  transition: border-color .2s, box-shadow .2s;
}
.p-inv-menu a:hover {
  border-color: var(--inv-green);
  box-shadow: 6px 6px 20px rgba(197, 213, 183, .45);
}
.p-inv-menu__ttl {
  font-size: 18px;
  font-weight: bold;
  color: var(--inv-green-dark);
}
.p-inv-menu__text {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 6px;
}
.p-inv-menu__group {
  font-size: 18px;
  font-weight: bold;
  margin: 36px 0 14px;
  padding-left: 12px;
  border-left: 5px solid var(--inv-green);
}
.p-inv-menu__group:first-child {
  margin-top: 0;
}
@media screen and (max-width: 767px) {
  .p-inv-menu { grid-template-columns: 1fr; }
}

/* 問い合わせの導線 */
.p-inv-cta {
  background: var(--inv-green);
  color: #FFF;
  border-radius: 20px;
  padding: 32px 28px;
  text-align: center;
  width: 90%;
  max-width: 930px;
  margin: 0 auto;
}
.p-inv-cta__ttl {
  font-size: 22px;
  font-weight: bold;
}
.p-inv-cta__text {
  font-size: 15px;
  line-height: 1.7;
  margin-top: 8px;
}
.p-inv-cta__btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.p-inv-cta .p-inv-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 14px 22px;
  border-radius: 40px;
  background: #FFF;
  color: var(--inv-green-dark);
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}
.p-inv-cta .p-inv-cta__btn.-tel {
  font-family: var(--font-en);
  font-size: 20px;
}
.p-inv-cta .p-inv-cta__btn.-line {
  background: #06C755;
  color: #FFF;
}
.p-inv-cta__btn img {
  width: 22px;
  margin-right: 8px;
}
@media screen and (max-width: 767px) {
  .p-inv-cta { padding: 24px 16px; }
  .p-inv-cta__ttl { font-size: 18px; }
  .p-inv-cta .p-inv-cta__btn { min-width: 0; width: 100%; }
}
.p-inv-steps + .p-inv-text,
.p-inv-cards + .p-inv-text,
.p-inv-worries + .p-inv-text,
.p-inv-table + .p-inv-text,
.p-inv-links + .p-inv-text {
  margin-top: 20px;
}
.p-inv-text + .p-inv-cards,
.p-inv-text + .p-inv-links,
.p-inv-text + .p-inv-table {
  margin-top: 20px;
}
.p-inv-sub {
  font-size: 18px;
  font-weight: bold;
  margin: 32px 0 14px;
  padding-left: 12px;
  border-left: 5px solid var(--inv-green);
}
