/*
Theme Name: Dogrunhomes Child
Template: dogrunhomes
Description: ドッグランホームズ専用カスタマイズ用子テーマ
Author: Akio Shimizu
Version: 1.0
*/



/* ================================================
   Google Fonts Overwrite
   ================================================ */

/* 全体の基本フォントを Noto Sans JP + Josefin Sans に変更 */
body,
input,
textarea,
select,
button {
  font-family: "Noto Sans JP", "Josefin Sans", sans-serif !important;
  font-weight: 400;
  line-height: 1.8;
}

/* 英語タイトル・ロゴ・見出し部分を Josefin Sans に */
h1, h2, h3, h4, h5, h6,
.logo_text,
.catch,
.rich_font,
.headline,
.en,
[lang="en"] {
  font-family: "Josefin Sans", "Noto Sans JP", sans-serif !important;
  font-weight: 600;
  letter-spacing: 0.03em;
}

h2 span {
  font-family: "Josefin Sans", sans-serif !important;
  font-optical-sizing: auto;
  font-weight: 350;
  font-style: italic;
  font-size: 0.8em;
  color:#00b200;
  display:block;
  margin-top: -40px;
  margin-bottom: 10px;
}

@media screen and (max-width: 767px) {
  h2 span {
    font-size: 1.0em;
    margin-top: 0px;
  }
}

/* 特に日本語テキスト部分を安定させたい場合 */
p, li, a {
  font-family: "Noto Sans JP", sans-serif !important;
  font-weight:400;
}

/* h2（左寄せ & アクセント統一） */
.drh-article h2,h2.form_h2 {
    text-align: left !important;
    position: relative;
    margin: 3em 0 1.2em !important;
    padding: 0.8em 1.2em 0.6em;
    font-size: clamp(20px, 2vw, 26px) !important;
    font-weight: 800 !important;
    color: #003300;
    background: linear-gradient(90deg, rgba(0, 178, 0, 0.12) 0%, rgba(0, 178, 0, 0) 100%);
    border-left: 5px solid #00b200;
    border-radius: 6px;
}
.drh-article h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #00b200, transparent);
  opacity: 0.25;
}

/* h3（肉球マーク削除・シンプル） */
.drh-article h3 {
  margin: 2em 0 0.8em;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 700;
  padding-left: 0;
  color: #005500;
}
.drh-article h3::before {
  content: none;
}

.drh-article p strong {
  font-size: 1.2em;
  color: #005500;
}

/* 目次（方眼ノート風） */
.drh-toc {
  position: relative;
  padding: 1.5em 1.8em;
  margin: 2em 0 3em;
  border: 2px solid #00b200;
  border-radius: 10px;
  background-color: #fff;
  background-image:
    linear-gradient(0deg, rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.drh-toc summary {
  font-weight: 800;
  font-size: 1.1em;
  color: #004400;
  cursor: pointer;
  margin-bottom: 0.8em;
  display: flex;
  align-items: center;
  gap: 0.4em;
}

/* ノートアイコンだけ残す */
.drh-toc summary::before {
  content: "▼";
  font-size: 1.2em;
}

/* 目次リスト */
.drh-toc__list {
  list-style: decimal;
  margin: 0;
  padding-left: 1.6em;
}
.drh-toc__list li {
  margin: 0.4em 0;
}
.drh-toc__list li::before {
  content: none;
}
.drh-toc__list li::marker {
  color: #00b200;
  font-weight: 700;
}
.drh-toc a {
  color: #003300;
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: all 0.2s ease;
}
.drh-toc a:hover {
  color: #00b200;
  border-bottom-color: #00b200;
}

/* 共通設定 */
.drh-article ul,
.drh-article ol {
  margin: 1.6em 0 1.6em 1.2em;
  padding-left: 0;
  line-height: 1.8;
  color: #222;
}

/* ---------- unordered list (ul) ---------- */
.drh-article ul {
  list-style: none;
  border-left: 3px solid rgba(0,178,0,0.25);
  padding-left: 1.2em;
}
.drh-article ul li {
  position: relative;
  margin: 0.5em 0;
  padding-left: 1.2em;
}
.drh-article ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.6em;
  height: 0.6em;
  background: #00b200;
  border-radius: 4px;
  box-shadow: 0 0 0 2px rgba(0,178,0,0.15);
}

/* ---------- ordered list (ol) ---------- */
.drh-article ol {
  counter-reset: number;
  list-style: none;
  padding-left: 0;
}
.drh-article ol li {
  counter-increment: number;
  position: relative;
  margin: 0.7em 0 0.7em 2em;
  padding-left: 1em;
  line-height: 1.3;
  margin-bottom: 28px;
}
.drh-article ol li p {
  margin-top: 20px;
  line-height: 2.6;
}
.drh-article ol li::before {
  content: counter(number);
  position: absolute;
  left: -2em;
  top: 0.05em;
  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
  background: #00b200;
  color: #fff;
  font-weight: 700;
  font-size: 0.85em;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 3px rgba(0,178,0,0.15);
}

/* ---------- nested lists (入れ子対応) ---------- */
.drh-article ul ul,
.drh-article ol ol {
  margin: 0.5em 0 0.5em 1.4em;
  border-left: none;
}
.drh-article ul ul li::before {
  background: rgba(0,178,0,0.5);
  box-shadow: none;
}
.drh-article ol ol li::before {
  background: rgba(0,178,0,0.5);
  box-shadow: none;
}

/* ---------- モバイル調整 ---------- */
@media (max-width: 560px) {
  .drh-article ul,
  .drh-article ol {
    margin-left: 0.8em;
  }
  .drh-article ol li {
    margin-left: 1.8em;
  }
}

/* =========================
   CTA Component (rev.3)
   ========================= */
.drh-ctaBox{
  --drh-cta-accent:#00b200;
  --drh-cta-accent-dark:#009000;
  --drh-cta-ink:#083a08;
  border-radius:16px;
  background:#ffffff;
  border:2px solid var(--drh-cta-accent);
  box-shadow:0 6px 18px rgba(0,178,0,0.15);
  overflow:hidden;
  transition:transform .15s ease, box-shadow .2s ease;
  margin-top: 50px;
}

.drh-ctaBox__link{
  display:grid;
  grid-template-columns:52px 1fr auto;
  gap:16px;
  align-items:center;
  padding:22px 24px;
  text-decoration:none;
  border-radius:inherit;
  transition:background .25s ease, transform .15s ease;
}
.drh-ctaBox__link:hover{
  background:#f9fff9;
  transform:translateY(-2px);
  box-shadow:0 8px 28px rgba(0,0,0,0.12);
}

.drh-ctaBox__icon{
  width:52px;height:52px;
  display:grid;place-items:center;
  background:#eaffea;
  color:var(--drh-cta-accent);
  border-radius:14px;
}

.drh-ctaBox__content{display:flex;flex-direction:column;gap:6px;}
.drh-ctaBox__label{
  font-weight:800;
  color:var(--drh-cta-ink);
  font-size:clamp(16px,1.8vw,21px);
  line-height:1.4;
}
.drh-ctaBox__sub{
  color:#3b5a3b;
  font-size:14px;
}

/* ボタン部分：全面グリーン＋白文字で主役 */
.drh-ctaBox__cta{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:13px 18px;
  border-radius:9999px;
  font-weight:800;
  font-size:15px;
  color:#fff;
  background:linear-gradient(135deg, var(--drh-cta-accent), var(--drh-cta-accent-dark));
  box-shadow:0 3px 10px rgba(0,178,0,0.35);
  transition:background .2s ease, transform .15s ease;
}
.drh-ctaBox__cta svg{
  transform:translateY(2px);
  stroke:#fff;
}
.drh-ctaBox__link:hover .drh-ctaBox__cta{
  background:linear-gradient(135deg, #00d000, #00a800);
  transform:translateY(1px);
}

.drh-ctaBox__link:hover,
.drh-ctaBox__link:focus,
.drh-ctaBox__link:active{
  text-decoration:none !important;
}

.drh-ctaBox__link:focus-visible{
  outline:3px solid rgba(0,178,0,.4);
  outline-offset:4px;
  border-radius:inherit;
}

/* スマホ調整 */
@media (max-width: 768px){

  .drh-ctaBox__link {
    display: flex;
    flex-direction: column;
    align-items: center; /* ←全体を中央寄せ */
    justify-content: center;
    text-align: center;
    gap: 14px;
    padding: 20px 16px 24px;
  }

  /* アイコン＋テキストを縦中央揃え */
  .drh-ctaBox__content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
  }

  /* アイコンを中央位置に調整 */
  .drh-ctaBox__icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #eaffea;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto; /* ←左右の余白を均等に */
    flex-shrink: 0;
  }

  /* テキスト部分の幅バランスを安定させる */
  .drh-ctaBox__label {
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
    max-width: 90%;
    margin: 0 auto;
    word-break: keep-all;
  }

  /* ボタンを下に独立配置 */
  .drh-ctaBox__cta {
    justify-content: center;
    width: 100%;
    padding: 14px 0;
    font-size: 15px;
    border-radius: 9999px;
  }

  .drh-ctaBox__sub {
    display: none;
  }
}


/* ========================================
   Dog Run Homes – Form (rev.2)
   ======================================== */

.drh-form {
  position: relative;
  background-color: #fff;
  background-image: linear-gradient(0deg, rgba(0,0,0,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  border: 2px solid #00b200;
  border-radius: 12px;
  padding: 2.5em 2em;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  margin: 0 auto 4em;
  max-width:800px;
}

.drh-form__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

/* 上部説明 */
.drh-form__desc {
  font-size: 16px;
  color: #333;
  line-height: 1.8;
  margin-bottom: 1em;
}

/* 各入力ブロック */
.drh-form__row {
  display: flex;
  flex-direction: column;
  gap: 0.4em; /* ラベルと入力欄の隙間最小化 */
  margin: 0;
}

/* ラベル */
.drh-form__label {
  font-weight: 700;
  color: #083a08;
  font-size: 18px;
  margin: 0;
}

.drh-required {
  background: #00b200;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px;
  padding: 2px 6px;
  margin-left: 6px;
}

/* 入力欄 */
.drh-form input[type="text"],
.drh-form input[type="email"],
.drh-form input[type="tel"],
.drh-form textarea {
  width: 100%;
  background: #f9fff9;
  border: 1px solid #cdeac3;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 16px;
  line-height: 1.5;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  color: #333;
}

.drh-form textarea {
  min-height: 140px;
  resize: vertical;
}

.drh-form input:focus,
.drh-form textarea:focus {
  outline: none;
  border-color: #00b200;
  box-shadow: 0 0 0 3px rgba(0,178,0,0.15);
  background: #ffffff;
}

/* 送信ボタン */
.drh-form__submit {
  text-align: center;
  margin-top: 1.5em;
}

.drh-form__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 80px;
  letter-spacing: 2px;
  font-weight: 800;
  font-size: 26px;
  color: #fff;
  background: linear-gradient(135deg, #00b200, #009600);
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: all .2s ease;
  box-shadow: 0 4px 16px rgba(0,178,0,0.3);
  width: 100%;
  text-decoration: none;
}

.drh-form__btn:hover {
  background: linear-gradient(135deg, #00c800, #00a000);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(0,178,0,0.35);
}

/* =====================================================
   CF7ボタンが真っ白になる対策（input[type=submit]対応）
   ===================================================== */

/* 通常状態 */
input[type="submit"].drh-form__btn {
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(135deg, #00b200, #009600);
  color: #fff;
  border: none;
  border-radius: 9999px;
  box-shadow: 0 4px 16px rgba(0,178,0,0.3);
  cursor: pointer;
  transition: all .2s ease;
}

/* hover時 */
input[type="submit"].drh-form__btn:hover {
  background: linear-gradient(135deg, #00c800, #00a000);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(0,178,0,0.35);
}

/* disabled状態でも色を保つ（真っ白化防止） */
input[type="submit"].drh-form__btn:disabled,
input[type="submit"].drh-form__btn[disabled] {
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(135deg, #00b200, #009600) !important;
  color: #fff !important;
  opacity: 1 !important;
  filter: none !important;
  -webkit-filter: none !important;
  box-shadow: 0 4px 16px rgba(0,178,0,0.3) !important;
  cursor: not-allowed;
}

/* エラーメッセージ */
.wpcf7-not-valid-tip {
  color: #d60000;
  font-size: 13px;
  margin-top: 4px;
}

.wpcf7-response-output {
  margin-top: 1.5em;
  padding: 1em;
  border-radius: 8px;
  font-weight: 700;
}

.wpcf7-mail-sent-ok {
  background: #eaffea;
  color: #005500;
  border: 1px solid #00b200;
}

.wpcf7-validation-errors {
  background: #fff7f7;
  color: #a80000;
  border: 1px solid #ffbcbc;
}

/* モバイル対応 */
@media (max-width: 560px) {
  .drh-form { padding: 1.8em 1.2em; }
  .drh-form__btn { width: 100%; font-size: 15px; }
}



/* ==============================
   共通セクション
============================== */
.drh-table-section {
  margin: 4em auto;
  max-width: 1030px;
  background: #fff;
  font-family: "Noto Sans JP", sans-serif;
}

/* ==============================
   スクロールヒント（スマホのみ表示）
============================== */
.drh-scroll-hint {
  display: none;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.8em;
  position: relative;
}


.scroll-hint-icon-wrap {
  z-index: 100000 !important;
}

.drh-scroll-hint span {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

.drh-scroll-hint span::before {
  content: "👆";
  display: inline-block;
  font-size: 1.2rem;
  animation: drh-hint-move 1.6s infinite ease-in-out;
  position: relative;
  top: 2px;
}

@keyframes drh-hint-move {
  0%, 100% { transform: translateX(0); opacity: 0.8; }
  50% { transform: translateX(6px); opacity: 1; }
}

/* スマホ時のみヒントを表示 */
@media screen and (max-width: 1030px) {
  .drh-scroll-hint {
    display: block;
  }
}

/* ==============================
   テーブル本体
============================== */
.drh-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.drh-compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 0.95rem;
  word-break: break-word;
  border: none !important;
}

/* 共通セル */
.drh-compare-table th,
.drh-compare-table td {
  border: 1px solid #e0e0e0;
  padding: 1.1em 0.9em;
  line-height: 1.7;
  vertical-align: top;
  white-space: normal;
}

/* 各列の幅（合計1030px基準） */
.drh-compare-table th.col-item,
.drh-compare-table td.col-item { width: 20%; }
.drh-compare-table th:nth-child(2),
.drh-compare-table td:nth-child(2) { width: 26%; }
.drh-compare-table th:nth-child(3),
.drh-compare-table td:nth-child(3) { width: 26%; }
.drh-compare-table th:nth-child(4),
.drh-compare-table td:nth-child(4) { width: 28%; }
.drh-compare-table td.col-item {
  background: #f5f5f5;
  font-weight: bold;
}

/* ヘッダー */
.drh-compare-table thead th {
  background: #f5f5f5;
  font-weight: 700;
  color: #333;
  text-align: center;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.drh-compare-table thead th.col-item {
  background: none;
  border: 0 !important;
}


/* 項目列（背景で見出し感） */
.col-item {
  background: #f3f3f3; /* 少し濃いグレーで区分 */
  font-weight: 600;
  color: #444;
  text-align: left;
  border-right: 1px solid #ddd;
}

/* ドッグランホームズ列 */
.highlight-col {
  background: #eaffea;
  border-left: 3px solid #00b200;
  border-right: 3px solid #00b200;
  font-weight: 600;
  color: #111;
  text-align: left;
  box-shadow: 0 0 10px rgba(0,178,0,0.12);
  position: relative;
  z-index: 2;
}

/* ドッグランホームズのヘッダー */
.drh-compare-table thead .highlight-col {
  background: #00b200;
  color: #fff;
  font-weight: 700;
  border-left: 3px solid #00b200;
  border-right: 3px solid #00b200;
  position: relative;
  top: 0px;
  padding-bottom: 0.9em;
  box-shadow: 0 2px 8px rgba(0,178,0,0.25);
  z-index: 3;
}

/* 偶数行の背景色（項目・強調列以外） */
.drh-compare-table tbody tr:nth-child(even)
td:not(.highlight-col):not(.col-item) {
  background: #fafafa;
}

/* ==============================
   方眼ノート風 結論テキスト
============================== */
.drh-conclusion-text {
  margin-top: 2.5em;
  padding: 1.8em;
  font-size: 1.05rem;
  line-height: 1.9;
  color: #333;
  text-align: left;
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.05) 1px, transparent 1px);
  background-size: 16px 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

/* ==============================
   スマホ時（横スクロールON）
============================== */
@media screen and (max-width: 1030px) {
  .drh-table-scroll {
    overflow-x: scroll;
  }
  .drh-compare-table {
    min-width: 900px;
  }
}




/* =====================================
   ▼ 以下、ドッグランホームズ専用カスタマイズ
   ===================================== */

/* ドッグランカード */
.dogrun-card {
  display: block;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 24px;
}
.dogrun-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}
.dogrun-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.dogrun-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  padding: 12px 16px 4px;
  color: #333;
}
.dogrun-card__address {
  font-size: 0.9rem;
  padding: 0 16px 12px;
  color: #777;
}


/*---------------------------------
  ドッグラン投稿ページ専用CSS
---------------------------------*/

/* 見出し（section-title） */
.single-dogrun .section-title,
.dogrun-article .section-title {
  text-align: left !important;
  position: relative;
  margin: 3em 0 1.2em !important;
  padding: 0.8em 1.2em 0.6em;
  font-size: clamp(20px, 2vw, 26px) !important;
  font-weight: 800 !important;
  color: #003300;
  background: linear-gradient(90deg, rgba(0, 178, 0, 0.12) 0%, rgba(0, 178, 0, 0) 100%);
  border-left: 5px solid #00b200;
  border-radius: 6px;
}

.single-dogrun .section-title::after,
.dogrun-article .section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #00b200, transparent);
  opacity: 0.25;
}

/* 段落 */
.single-dogrun .post_content p {
  line-height: 1.8;
  margin-bottom: 1em;
}

/* リスト */
.single-dogrun .post_content ul {
  list-style: disc;
  margin-left: 1.5em;
  margin-bottom: 1em;
}

/* Google Map & Street View */
.single-dogrun #map,
.single-dogrun #streetview {
  width: 100%;
  height: 360px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 2em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* ============================================
   記事タイトル（h2.entry-title）→ 方眼ノート風背景
   ============================================ */
.single-dogrun .title_area {
  position: relative;
  padding: 2.2em 1.5em 1.8em;
  border-radius: 10px;
  background-color: #fff;
  background-image:
    linear-gradient(0deg, rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  border: 2px solid rgba(0, 178, 0, 0.3);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  margin: 1.5em 0 2em;
}

/* タイトル文字（例：「◯◯ドッグランの情報」） */
.single-dogrun .title.entry-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: #003300;
  text-align: center;
  letter-spacing: 0.02em;
  margin: 0;
}

/* タイトル下スペース調整 */
.single-dogrun #single_post_header.no_image {
  margin-bottom: 0;
}

/* ----------------------------------
   レスポンシブ調整
---------------------------------- */
@media screen and (max-width: 768px) {
  .single-dogrun .section-title {
    font-size: 1.1rem;
  }
  .single-dogrun .title.entry-title {
    font-size: 1.6rem;
  }
  .single-dogrun .title_area {
    padding: 1.6em 1.2em;
  }
}


/*---------------------------------
  タクソノミー一覧ページ
---------------------------------*/

.taxonomy-dogrun .taxonomy-header {
  text-align: center;
  margin-bottom: 2.5em;
}

.taxonomy-dogrun .taxonomy-title {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  color: #003300;
  margin-bottom: 0.4em;
}

.taxonomy-dogrun .taxonomy-desc {
  color: #444;
  line-height: 1.8;
  max-width: 720px;
  margin: 0 auto;
}

.dogrun-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 2em;
}

.dogrun-card {
  display: block;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
}
.dogrun-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}
.dogrun-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.dogrun-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  padding: 12px 16px 4px;
  color: #333;
}
.dogrun-card__address {
  font-size: 0.9rem;
  padding: 0 16px 12px;
  color: #777;
}

/* モバイル調整 */
@media screen and (max-width: 768px) {
  .dogrun-grid {
    grid-template-columns: 1fr;
  }
}


/*---------------------------------
  よくある質問
---------------------------------*/
.drh-faq {
  max-width: 900px;
  margin: 0 auto;
  padding: 0px 20px;
}
.drh-faq__title {
  font-size: 2rem;
  text-align: center;
  font-weight: 700;
  margin-bottom: 40px;
  color: #222;
}
.drh-faq__item {
  border-bottom: 1px solid #ddd;
  margin: 0; /* 質問間の余白ゼロ */
  overflow: hidden;
}
.drh-faq__question {
  width: 100%;
  text-align: left;
  background: #f6f6f6;
  border: none;
  padding: 18px 20px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: background 0.3s;
}
.drh-faq__question:hover {
  background: #e8f6e8;
}
.drh-faq__question::after {
  content: '+';
  position: absolute;
  right: 20px;
  font-size: 1.4rem;
  color: #00b200;
  transition: transform 0.3s;
}
.drh-faq__item.active .drh-faq__question::after {
  content: '−';
  transform: rotate(180deg);
}
.drh-faq__answer {
  max-height: 0;
  overflow: hidden;
  background: #fff;
  transition: max-height 0.4s ease;
  padding: 0 20px;
}
.drh-faq__item.active .drh-faq__answer {
  padding: 20px;
}
.drh-faq__list {
  margin: 12px 0 16px 0;
  padding: 0;
  list-style: none !important; /* ・削除 */
}
.drh-faq__list li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 22px;
}
.drh-faq__list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #00b200;
  font-weight: bold;
}
.drh-faq__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 6px;
  font-size: 0.95rem;
  text-decoration: none;
  color: #fff !important;
  background: #00b200;
  border: 1px solid #00b200;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn:hover {
  background: #009000 !important;
  color: #fff !important;
  text-decoration: none !important;
}
.btn.btn--ghost {
  background: #fff;
  color: #00b200 !important;
  border: 1px solid #00b200;
}
.btn.btn--ghost:hover {
  background: #00b200;
  color: #fff !important;
  text-decoration: none;
}

/* ▼ モバイル調整（768px以下） */
@media (max-width: 768px){
  .drh-faq { padding: 40px 16px; }
  .drh-faq__title { font-size: 1.6rem; margin-bottom: 30px; }
  .drh-faq__question { font-size: 1rem; padding: 16px; }
  .drh-faq__btns {
    flex-direction: column;
    align-items: stretch;
  }
  .btn {
    width: 100%;
    text-align: center;
    font-size: 1rem;
  }
}



/*---------------------------------
  施工事例紹介
---------------------------------*/
.drh-case{max-width:900px;margin:0 auto;padding:60px 20px}
.drh-case__title{font-size:1.8rem;line-height:1.5;font-weight:800;margin:0 0 18px;color:#222}
.drh-case__meta{background:#f7f7f7;border:1px solid #eee;border-radius:10px;padding:16px 16px 12px;margin-bottom:28px;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.meta__label{display:inline-block;min-width:70px;font-weight:700;color:#555;margin-right:8px}
.meta__value{color:#222}
.meta__tags{grid-column:1/-1;margin-top:6px;display:flex;flex-wrap:wrap;gap:8px}
.tag{font-size:.85rem;border:1px solid #00b200;color:#00b200;border-radius:999px;padding:4px 10px;background:#fff}
.drh-case__section{margin:26px 0}
.drh-case__section h2{font-size:1.2rem;margin:0 0 10px;color:#0b3d0b;font-weight:800}
.drh-case__section p{line-height:1.9;margin:0}
.drh-case__cta{margin-top:28px;display:flex;gap:12px;flex-wrap:wrap}
.btn{display:inline-block;padding:12px 18px;border-radius:8px;background:#00b200;color:#fff;text-decoration:none;border:1px solid #00b200;transition:.25s;font-weight:700}
.btn:hover{background:#009000;color:#fff;text-decoration:none}
.btn--ghost{background:#fff;color:#00b200}
.btn--ghost:hover{background:#00b200;color:#fff}
.drh-case__pager{margin-top:32px;display:flex;justify-content:space-between;gap:12px}
.drh-case__pager a{color:#00b200;text-decoration:none;border-bottom:1px solid rgba(0,178,0,.3);padding-bottom:2px}
.drh-case__pager a:hover{border-bottom-color:transparent}
@media (max-width:768px){
  .drh-case{padding:40px 16px}
  .drh-case__meta{grid-template-columns:1fr;gap:8px}
  .drh-case__title{font-size:1.5rem}
  .drh-case__cta{flex-direction:column}
  .btn{width:100%;text-align:center}
}