@charset "utf-8";

   /* カラー・フォント・サイズの管理 */
:root {
  --color-primary:      #005e32;   /* メイン：ディープグリーン（見出し・ナビ・ボタン） */
  --color-primary-mid:  #005e32;   /* メイン共用（ボタン・任意バッジ） */
  --color-primary-light:#6cbb5a;   /* サブ：リーフグリーン（ホバー・サービスタイトル） */
  --color-accent:       #b8f0c8;   /* アクセント：ミントグリーン（飾り線・ボーダー） */
  --color-bg-light:     #e0f5e8;   /* サブより薄い緑（見出し背景・メインビジュアルテキスト） */
  --color-bg-header:    #f0f7f2;   /* ベース：ホワイトグリーン（ヘッダー・フッター・背景） */
  --color-text:         #333;
  --color-text-sub:     #444;
  --font-main: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Noto Serif JP", "游明朝", YuMincho, serif;
  --max-width: 1100px;
  --radius: 4px;
  --transition: 0.3s ease;
}

/*  基本設定 */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  line-height: 1.8;
}

h2, b, strong {
  font-weight: 700;
}

.wrapper {
  background-color: #fff;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

/*  ヘッダー */
header {
  background-color: var(--color-bg-header);
  width: 100%;
  box-sizing: border-box;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 img {
  height: 70px;
  width: auto;
  max-width: 100%;
  display: block;
}

.header-contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 2px;
}

.tel-block {
  display: block;
  text-decoration: none;
  color: var(--color-text);
  line-height: 1.2;
}

.tel-caption {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-sub);
  margin-bottom: 0;
}

.tel-number {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 2.08rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.tel-icon {
  height: 26px;
  width: auto;
  flex-shrink: 0;
}

.mail-block {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 4px 14px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.mail-block:hover {
  background-color: var(--color-bg-light);
}

.mail-icon {
  height: 1em;
  width: auto;
  flex-shrink: 0;
}

/*  グローバルナビ */
.global {
  background-color: #f8f8f8;
  border-top: 1px solid #fff;
  border-bottom: 2px solid #ddd;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  position: relative;
  z-index: 100;
}

.global ul {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
}

.global > ul > li {
  position: relative;
}

/* 縦区切り線 */
.global > ul > li::after {
  content: "";
  position: absolute;
  right: 0; top: 20%;
  height: 60%; width: 1px;
  background-color: #ccc;
}
.global > ul > li:first-child::before {
  content: "";
  position: absolute;
  left: 0; top: 20%;
  height: 60%; width: 1px;
  background-color: #ccc;
}

.global li a {
  display: block;
  padding: 12px 25px;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 400;
  font-size: 14px;
  transition: all var(--transition);
}

.global li a:hover {
  background-color: #e0f5e8;
  color: var(--color-primary-mid);
}

/* 下向き矢印 */
.arrow {
  display: inline-block;
  width: 6px; height: 6px;
  border-right: 1px solid var(--color-text);
  border-bottom: 1px solid var(--color-text);
  transform: rotate(45deg);
  margin-left: 8px;
  margin-bottom: 3px;
}

/* ドロップダウン */
.dropdown {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 100%; left: 0;
  background-color: #fff;
  width: 250px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  padding: 0; margin: 0;
  transition: all 0.2s ease;
  z-index: 1000;
}

.global > ul > li:hover  .dropdown,
.global > ul > li.is-open .dropdown {   /* タッチデバイス用クラス */
  visibility: visible;
  opacity: 1;
}

.dropdown li {
  width: 100%;
  border-bottom: 1px solid #eee;
}

.dropdown li::after,
.dropdown li::before {
  display: none;
}

.dropdown li a {
  padding: 12px 20px;
  font-size: 13px;
}

/*  レイアウト（2カラム） */
.container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  padding: 0 20px;
}

main {
  flex: 1;
  padding: 20px 40px 80px;
  min-width: 0;
}

/* メインビジュアル */
.visual_img_container {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  margin-bottom: 30px;
}

.visual_img {
  width: 100%;
  height: auto;
  display: block;
}

.visual_text {
  padding: 20px;
  background: var(--color-bg-light);
  color: var(--color-primary);
  box-sizing: border-box;
  line-height: 1.6;
  font-size: 0.95rem;
}

.visual_text p {
  font-weight: bold;
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
  margin: 0;
}

.visual_text-emphasis {
  font-size: 1.3em;
}

.text-orange {
  color: #e8720c;
}

.text-green {
  color: var(--color-primary-light);
}

/* トップページの挨拶セクション */
section.greeting {
  margin-top: 40px;
}

section.greeting h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-primary);
  border-left: 5px solid var(--color-accent);
  padding-left: 15px;
  margin-bottom: 25px;
}

section.greeting p {
  margin-bottom: 20px;
  text-align: justify;
}

/* サイドメニュー：お問合せCTAカード */
.side-menu {
  width: 280px;
  flex-shrink: 0;
}

.side-cta {
  position: sticky;
  top: 20px;
  background-color: var(--color-bg-light);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}

.side-cta-badge {
  display: inline-block;
  background-color: #c00;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.side-cta-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.5;
}

.side-cta-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--color-text);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.side-cta-tel-icon {
  height: 22px;
  width: auto;
  flex-shrink: 0;
}

.side-cta-hours {
  font-size: 0.8rem;
  color: var(--color-text-sub);
  margin-bottom: 18px;
}

/* 姉妹サイト（多摩エリア相続・遺言相談室）バナー */
.sister-promo {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px dashed #d9cfc5;
}

.sister-promo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid #e5d9cd;
  border-radius: 0;
  padding: 10px 12px;
  transition: var(--transition);
}

.sister-promo-link:hover {
  border-color: #f0813a;
  box-shadow: 0 6px 16px rgba(240, 129, 58, 0.15);
}

.sister-promo-area {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 52px;
  padding: 8px 4px;
  background-color: #f0813a;
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  line-height: 1.3;
  text-align: center;
  border-radius: 0;
}

.sister-promo-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.3;
  min-width: 0;
}

.sister-promo-text strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  line-height: 1.2;
  color: #6b1f10;
  white-space: nowrap;
}

.sister-promo-text small {
  font-size: 0.72rem;
  font-weight: 700;
  color: #6e5b4d;
  letter-spacing: 0.02em;
}

.sister-promo--mobile-slot {
  display: none;
}

.side-cta-btn {
  display: block;
  background-color: var(--color-primary-mid);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 14px 0;
  border-radius: var(--radius);
  transition: var(--transition);
}

.side-cta-btn:hover { background-color: #3a9b5c; }

/* フッター */
footer {
  background-color: var(--color-bg-header);
  padding: 40px 0;
  width: 100%;
  box-sizing: border-box;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-info { flex: 1; }
.footer-info h2 { font-size: 18px; }
.footer-info img { height: 50px; width: auto; margin: 2px 0; }

.local { flex: 1; }
.local ul { list-style: none; text-align: right; }
.local li a {
  text-decoration: none;
  color: var(--color-text);
  font-size: 0.9rem;
}

footer small {
  width: 100%;
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #ccc;
  display: block;
}

   /*  お問合せフォーム */
.contact-form { margin-top: 40px; }

.contact-form h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-primary);
  border-left: 5px solid var(--color-accent);
  padding-left: 15px;
  margin-bottom: 20px;
}

.form-desc { margin-bottom: 30px; font-size: 0.95rem; }

.form-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
}

.form-table th,
.form-table td {
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.form-table th {
  width: 30%;
  background-color: #fcfcfc;
  text-align: left;
  vertical-align: middle;
  font-weight: 700;
  font-size: 14px;
}

.required,
.optional {
  float: right;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
  line-height: 1.6;
}

.required {
  background-color: #ff5a5a;
  color: #fff;
}

.optional {
  background-color: var(--color-primary-mid);
  color: #fff;
}

.form-table input[type="text"],
.form-table input[type="email"],
.form-table input[type="tel"],
.form-table select,
.form-table textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  box-sizing: border-box;
}

.form-table textarea { resize: vertical; }

.form-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.btn-submit, .btn-back {
  display: block;
  width: 200px;
  padding: 15px 0;
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-submit {
  background-color: var(--color-primary-mid);
  color: #fff;
}
.btn-submit:hover { background-color: #3a9b5c; }

.btn-back { background-color: #eee; color: var(--color-text); }
.btn-back:hover { background-color: #ddd; }

/* デイジー司法書士事務所概要 */
.office-overview { margin-top: 40px; }

.office-overview h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-primary);
  border-left: 5px solid var(--color-accent);
  padding-left: 15px;
  margin-bottom: 30px;
}

.overview-table {
  width: 100%;
  margin-bottom: 40px;
  border-top: 2px solid var(--color-primary);
}

.overview-table dl {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid #eee;
}

.overview-table dt {
  width: 30%;
  background-color: #f9f9f9;
  padding: 20px;
  font-weight: 700;
  font-size: 14px;
  color: var(--color-primary);
  border-bottom: 1px solid #eee;
  box-sizing: border-box;
}

.overview-table dd {
  width: 70%;
  padding: 20px;
  background-color: #fff;
  border-bottom: 1px solid #eee;
  box-sizing: border-box;
  font-size: 15px;
}

.overview-table dd a {
  color: #005e32;
  text-decoration: underline;
}
.overview-table dd a:hover { text-decoration: none; }

.map-container {
  width: 100%;
  height: auto;
  border: 1px solid #ccc;
  padding: 10px;
  background-color: #fff;
  box-sizing: border-box;
  border-radius: var(--radius);
}
.map-container iframe { vertical-align: bottom; }

.map-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--color-primary-mid);
  text-decoration: underline;
  font-size: 0.9rem;
}
.map-link:hover { text-decoration: none; }

   /*  取扱業務一覧ページ */
.works-page,
.price-page { padding-bottom: 100px; }

.works-intro,
.price-intro-container { margin-bottom: 60px; }

/* 取扱業務・料金表ページのh2：飾り線つき */
.works-page h2,
.price-page h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-primary);
  border-left: 5px solid var(--color-accent);
  padding-left: 15px;
  margin-bottom: 25px;
}

/* 取扱業務のh3（「取扱業務の一覧」）：明朝・縦線なし */
.works-page h3 {
  font-family: var(--font-serif);
  color: var(--color-primary);
  margin-top: 40px;
  margin-bottom: 30px;
  font-size: 1.2rem;
  padding: 0;
  background: none;
  border-left: none;
}

/* 料金表のh3（「相続・遺言」等）：明朝・縦線なし */
.price-section h3 {
  font-family: var(--font-serif);
  color: var(--color-primary);
  margin-top: 60px;
  margin-bottom: 30px;
  font-size: 1.2rem;
  padding: 0;
  background: none;
  border-left: none;
}

.works-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 40px 20px;
  margin-bottom: 20px;
}

.work-item {
  width: calc((100% - 40px) / 3);
  background-color: #fff;
  border: 1px solid #eee;
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
  border-radius: 6px;
  box-sizing: border-box;
}

.work-item a { text-decoration: none; display: block; }

.work-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.work-item span {
  display: block;
  padding: 18px 15px;
  color: var(--color-text);
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  line-height: 1.4;
  background-color: #fff;
}

.work-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.work-item:hover span { color: #005e32; }

   /*  料金表ページ */
.price-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-primary);
  border-left: 5px solid var(--color-accent);
  padding-left: 15px;
  margin-bottom: 40px;
}

.price-main-img { flex: 0 0 45%; margin-bottom: 24px; }
.price-main-img img { width: 100%; height: auto; border-radius: var(--radius); }

.consultation-fee  { font-size: 1.2rem; font-weight: bold; margin-bottom: 10px; }
.consultation-free { font-size: 1.2rem; color: #c00; font-weight: bold; margin-bottom: 5px; }
.consultation-note { font-size: 0.95rem; }

.table-wrapper { overflow-x: auto; margin-bottom: 40px; }

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.price-table th,
.price-table td {
  border: 1px solid #ddd;
  padding: 15px;
  text-align: left;
  line-height: 1.5;
  font-size: 14px;
}

.price-table th {
  background-color: #f9f9f9;
  font-weight: bold;
  text-align: center;
}

.work-title { font-weight: bold; background-color: #fff; width: 220px; white-space: nowrap; }
.fee-cell   { text-align: right; font-weight: bold; white-space: nowrap; width: 200px; }

.price-footer-notes {
  background-color: #f9f9f9;
  padding: 30px;
  font-size: 0.85rem;
  line-height: 1.8;
  border-radius: var(--radius);
}

/*  サービス詳細ページ */
.service-detail .service-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-primary-light);
  background-color: var(--color-bg-light);
  padding: 15px;
  text-align: center;
  margin-bottom: 40px;
  border-radius: var(--radius);
}

.service-detail .service-content {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
}

.service-detail .service-main-img { margin-bottom: 40px; }

.service-detail .service-main-img img {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: inline-block;
}

.service-detail .service-text {
  text-align: left;
  line-height: 1.8;
  font-size: 1.05rem;
  color: var(--color-text);
}
.service-detail .service-text p { margin-bottom: 1.5em; }

   /*  その他の取扱業務 */
.service-detail .office-overview {
  clear: both;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 2px solid var(--color-bg-light);
}

.service-detail .office-overview h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--color-primary);
  border-left: 4px solid var(--color-accent);
  padding-left: 12px;
  margin-bottom: 20px;
}

.related-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2%;
  margin-top: 20px;
}

.related-item {
  width: 23.5%;
  margin-bottom: 20px;
  text-align: center;
}

.related-item a { text-decoration: none; display: block; }
.related-item img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--radius); }
.related-item span { display: block; padding: 8px 4px; font-size: 13px; color: var(--color-text); font-weight: 700; }
.related-item:hover span { color: var(--color-primary-mid); }

   /*  司法書士紹介ページ */
.introduce-profile { max-width: 900px; }

.introduce-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--color-primary);
  border-left: 5px solid var(--color-accent);
  padding-left: 15px;
  margin-bottom: 30px;
}

.profile-header {
  background-color: var(--color-bg-light);
  padding: 30px;
  border-radius: var(--radius);
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.profile-photo {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
  border: 4px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.profile-header-text { flex: 1; }

.profile-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.profile-name span {
  font-family: var(--font-main);
  font-size: 1rem;
  color: var(--color-text-sub);
  margin-left: 12px;
  font-weight: 400;
}

.profile-lead {
  font-size: 0.95rem;
  color: var(--color-text-sub);
  line-height: 1.7;
}

.profile-details {
  display: flex;
  gap: 40px;
}

.profile-section {
  flex: 1;
  background-color: #f9f9f9;
  padding: 24px;
  border-radius: var(--radius);
}

.profile-section h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--color-primary-mid);
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-accent);
}

.profile-section ul {
  list-style: none;
  padding: 0;
}

.profile-section li {
  padding: 8px 0 8px 20px;
  position: relative;
  font-size: 14px;
  border-bottom: 1px solid #eee;
  color: var(--color-text-sub);
}

.profile-section li:last-child { border-bottom: none; }

.profile-section li::before {
  content: "▶";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 9px;
  color: var(--color-primary-light);
}

   /*  ハンバーガーボタン */
.mobile-menu-btn {
  display: none;
  position: fixed;
  top: 15px; right: 15px;
  width: 45px; height: 45px;
  background: var(--color-primary);
  border: none;
  border-radius: var(--radius);
  z-index: 10000;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 25px; height: 2px;
  background: #fff;
  margin: 6px auto;
  transition: var(--transition);
}

/* アクティブ時（×ボタン） */
.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ページトップボタン */
#page-top {
  position: fixed;
  right: 20px; bottom: 20px;
  display: none;
  z-index: 100;
}

#page-top a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px; height: 50px;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  transition: var(--transition);
}

.page-top-icon {
  width: 22px;
  height: 22px;
}

#page-top a:hover {
  background: #3a9b5c;
  transform: translateY(-3px);
}

   /*  レスポンシブ（950px以下） */
@media (max-width: 950px) {
  /* ヘッダー */
  .header-inner {
    padding: 10px 15px;
    padding-right: 60px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  header h1 img {
    height: auto;
    width: min(260px, 70vw);
  }
  .header-contact {
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
    gap: 8px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid #ddd;
  }
  .tel-number {
    font-size: 1.69rem;
  }
  .tel-icon {
    height: 22px;
    width: auto;
  }

  /* レイアウト */
  .container {
    display: block;
    padding: 0;
    overflow: hidden;
  }
  .side-menu { display: none; }
  main { width: 100%; padding: 20px; }

  /* 姉妹サイトバナー：スマホではメイン下部に表示 */
  .sister-promo--mobile-slot {
    display: block;
    margin: 30px 0 0;
  }

  /* メインビジュアル */
  .visual_img_container { flex-direction: column; }
  body:not(.index) .visual_img_container { display: none; }

  /* ハンバーガー表示 */
  .mobile-menu-btn { display: block; }

  /* グローバルナビ：全画面スライド */
  nav.global {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255,255,255,0.98);
    z-index: 9999;
    padding-top: 80px;
    overflow-y: auto;
  }
  nav.global ul {
    flex-direction: column;
    align-items: center;
  }
  nav.global > ul > li {
    width: 80%;
    border-bottom: 1px solid #eee;
  }
  nav.global > ul > li::after,
  nav.global > ul > li::before { display: none; }
  nav.global ul li a {
    display: block;
    padding: 20px;
    font-size: 1.1rem;
    color: var(--color-text);
    text-align: center;
  }

  /* ドロップダウン（スマホ：開閉切替） */
  .dropdown {
    visibility: visible;
    opacity: 1;
    position: static;
    width: 100%;
    box-shadow: none;
    display: none;
    background-color: var(--color-bg-light);
  }
  .global > ul > li.is-open .dropdown { display: flex; }

  /* 取扱業務グリッド：2列 */
  .work-item { width: calc((100% - 20px) / 2); }

  /* サービス詳細 */
  .service-detail .service-content {
    width: 100%; max-width: 100%;
    padding: 0 10px;
    margin: 0 auto 40px;
  }
  .service-detail .service-main-img img { max-width: 100%; width: 100%; }
  .service-detail .service-text { font-size: 1rem; line-height: 1.7; }
  .service-detail .service-title { margin: 0 10px 30px; font-size: 1.3rem; }

  /* 関連カード：2列 */
  .related-item { width: 48%; }

  /* 司法書士紹介 */
  .profile-header { flex-direction: column; align-items: center; text-align: center; gap: 20px; }
  .profile-header-text { text-align: center; }
  .profile-details { flex-direction: column; gap: 20px; }
  .introduce-title { text-align: center; font-size: 1.4rem; }
}

/* 550px以下 */
@media (max-width: 550px) {
  .work-item    { width: 100%; }
  .related-item { width: 48%; }
}

   /* PCサイズでメインビジュアル重ね表示（950px以上） */
@media (min-width: 950px) {
  .visual_img_container { display: block; }
  .visual_text {
    position: absolute;
    top: 50%; left: 5%;
    transform: translateY(-50%);
    width: 50%;
    background: none;
    text-align: left;
  }
  .visual_text p {
    text-align: left;
    font-size: 1.1rem;
    text-shadow:
      0 0 6px #fff,
      0 0 12px #fff,
      0 0 18px #fff;
  }
}

   /*  パンくずリスト */
.breadcrumb {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 20px;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.breadcrumb a {
  color: var(--color-primary-mid);
  text-decoration: none;
}

.breadcrumb a:hover { text-decoration: underline; }

.breadcrumb span { margin: 0 6px; color: #bbb; }

   /* ドロップダウン開閉ボタン（矢印のみ） */
.dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* PC：矢印ボタンは非表示（ホバーで動くため不要） */
@media (min-width: 951px) {
  .dropdown-toggle { display: none; }
}

/* スマホ：矢印ボタンのみ表示 */
@media (max-width: 950px) {
  .dropdown-toggle {
    position: absolute;
    right: 0; top: 0;
    height: 100%;
    width: 50px;
    border-left: 1px solid #eee;
  }
  .dropdown-toggle .arrow {
    display: inline-block;
  }
  /* is-open時は矢印を上向きに */
  .has-child.is-open .dropdown-toggle .arrow {
    transform: rotate(-135deg);
    margin-top: 4px;
  }
}
