@charset "UTF-8";

/* ============================================================
   カスタム共通スタイル
   ============================================================ */
:root {
  /* 1. ブランド＆メインカラー */
  --primary-color: #0066bb;
  --primary-hover: #3fa9f5;
  --button-hover-bg: #1b5e20; /* ボタン・トップ戻るのホバー色 */
  --to-top-bg: #0066bb;       /* トップ戻るボタンの背景色 */

  /* 2. 背景色 */
  --bg-white: #ffffff;
  --bg-light: #cadff4;
  --bg-accent: #cadff4;
  --bg-hero-end: #f8faf9;     /* ヒーローグラデーションの終点 */
  --bg-placeholder: #cadff4;  /* 画像プレースホルダー */

  /* 3. テキスト色 */
  --text-dark: #111111;       /* 強調・見出し用 */
  --text-color: #111111;      /* 既存の見出しクラス用定義 */
  --text-muted: #666666;      /* 補足・リード文用 */
  --text-light: #999999;      /* コピーライト用 */

  /* 4. その他 */
  --border-color: #e2e8f0;
  --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* ============================================================
   スムーススクロール
   ============================================================ */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; 
}

/* ============================================================
   ボタン共通
   ============================================================ */
.button, button, input[type="button"], input[type="submit"] {
  display: inline-block;
  background-color: var(--primary-color); /* 緑のベタ塗り */
  color: var(--bg-white);
  padding: 0.8rem 2rem;       /* 上下と左右の十分な余白 */
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;         /* 角丸 */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 薄い影 */
  transition: all 0.3s ease;  /* 変化を滑らかにする */
}

.button:hover, button:hover {
  background-color: var(--button-hover-bg); /* 濃い緑に */
  transform: translateY(-1px); /* 上に浮き上がらせる */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

/* 枠線ボタン */
.button.button.btn-outline {
  background-color: transparent;
  color: var(--primary-color) !important;
  border: 1.5px solid var(--primary-color); 
  box-shadow: none;
}
.button.button.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--bg-white) !important;
}

/* ユニバーサルデザイン用基本余白・共通見出し */
section.container {
  padding-top: 0rem;
  padding-bottom: 0rem;
  margin-top: 0;
  margin-bottom: 0;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;

  font-size: 1.6rem;
  font-weight: 600;
  color: #12385a;
  font-family:
    "Noto Serif JP",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;
  letter-spacing: 0.15em;

  margin-bottom: 1rem;
}

/* 見出し両脇の線（中央から外側にフェードアウト） */
.section-title::before,
.section-title::after {
  content: "";
  flex: 1 1 60px;
  max-width: 60px;
  height: 1px;
}

.section-title::before {
  background: linear-gradient(to right, transparent, #4a6fa5 95%);
}

.section-title::after {
  background: linear-gradient(to left, transparent, #4a6fa5 95%);
}

/* 所属弁護士プロフィールなど、左寄せで使っている箇所は装飾なしに戻す */
.section-title.text-left {
  display: block;
  text-align: left;
  font-size: 1.2rem;
}
.section-title.text-left::before,
.section-title.text-left::after {
  content: none;
}

.section-lead {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

/* ============================================================
   ヘッダー（Header）
   ============================================================ */
.header {
  padding-top: 1rem;
  padding-bottom: 1rem;
  position: sticky; /* 固定 */
  top: 0;
  background-color: var(--bg-white);
  box-shadow: 0px 10px 10px -6px rgba(213, 213, 213, 0.3);
  z-index: 10;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.header__logo-link {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
}
.header__logo-link:hover {
  text-decoration: none;
}

.header__toggle-input {
  display: none;
}

.nav-menu ul li .button.header__cta-btn {
  background-color: var(--primary-color);
  color: var(--bg-white);
  box-shadow: none;
}
/* スマホ表示のボタン調整 */
@media (max-width: 1024px) {
  .nav-menu ul li .button.header__cta-btn {
    display: block;
    width: calc(100% - 40px); /* 左右に20pxずつの隙間（余白）を作る */
    margin: 1rem auto 1rem;    /* 上との間隔を空けボタンを中央に寄せる */
    text-align: center;
    padding: 0.8rem 0;        /* 左右の余白をリセットして幅を安定させる */
  }
}

/* ============================================================
   1. ファーストビュー（Hero）
   ============================================================ */
.hero {
	padding: 10rem 0;
	background-image: url(img/mainimg.jpg); /* メインビジュアルの画像URL */
	background-size: cover;
	background-position: center center;
	margin-bottom: 5rem;
}

.hero__body {
  max-width: 1000px;
  margin: 0 auto;
}

.hero__title {
	text-align:left;
	font-size: 2.5rem;
	margin-bottom: 1.5rem;
	color: #0066bb;
	font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
	font-weight: bolder;
}

.hero__lead {
		text-align:left;
	font-size: 1rem;
	color: #000
	margin-bottom: 2.5rem;
	line-height: 1.8;
	font-family:"ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
	font-weight: bolder;
	padding-bottom:20px;

}

.hero__actions .button {
	text-align:left;
  background-color: var(--primary-color);
  color: var(--bg-white);
}

@media (max-width: 768px) {
  .hero {
    padding: 4rem 0;
  }
  .hero__title {
    font-size: 1.7rem;
  }
  .hero__lead {
    font-size: 1rem;
  }
}

/* ============================================================
   2 & 3 & 4. コンポーネント: カード（Card）& 特徴ボックス
   ============================================================ */
.card,
.feature-box {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 2rem 1.5rem;
  height: 100%;
  box-shadow: var(--card-shadow);
}

.card__icon-wrapper {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.card__title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.card__text {
  font-size: 1rem;
  color: var(--text-muted);
}

/* 実績用プレースホルダー画像 */
.card__image-placeholder {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.1rem;
  margin-top: -2rem;
  margin-left: -1.5rem;
  margin-right: -1.5rem;
  margin-bottom: 1.5rem;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  letter-spacing: 0.05em;
  overflow: hidden;
}

.card__image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   2. 特徴・強み（Features）
   ============================================================ */
.features {
  padding: 4rem 2rem;
}

.feature-box__icon {
  font-size: 2rem;
  margin: 0.75rem;
}

.feature-box__icon img {
  max-width: 100%;
  height: auto;
}

.feature-box__title {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.feature-box__text {
  font-size: 1rem;
  color: var(--text-muted);
}

/* ============================================================
   5. 代表者名・事業者名（Profile）
   ============================================================ */
.profile__inner {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 3rem 2rem;
  box-shadow: var(--card-shadow);
  margin-bottom: 3rem;
}

.profile__avatar-placeholder {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.profile__avatar-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile__name {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.profile__text {
  font-size: 1rem;
  color: var(--text-muted);
}

/* ============================================================
   6. 料金プラン（Pricing）
   ============================================================ */
.price-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 2.5rem 1.5rem;
  position: relative;
  height: 100%;
  box-shadow: var(--card-shadow);
}

/* おすすめデザイン */
.price-card--featured {
  border: 1px solid var(--bg-placeholder); /* 目立たせる場合は色を変える */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); /* 影を少し深くして立体感で引き立てる */
}

@media (max-width: 768px) {
  .price-card--featured {
    margin: 1.5rem 0;
  }
}

/* おすすめバッジの設定 */
.price-card__badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 3px 14px;
  font-size: 0.8rem; /* 文字を小さくして上品に */
  font-weight: bold;
  letter-spacing: 0.05em; /* 文字の間隔を少し広げる */
  border-radius: 4px; /* 角丸 */
}

.price-card__plan {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.price-card__amount {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.price-card__detail {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.price-card__actions .button {
  width: 100%;
  background-color: var(--primary-color);
  color: var(--bg-white);
}

.pricing__note {
  font-size: 1rem;
  color: var(--text-muted);
  padding: 1rem;
}

/* ============================================================
   7. よくある質問（FAQ）
   ============================================================ */
.faq-list {
  max-width: 980px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-light);
  border-radius: 6px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-item__question {
  padding: 1.25rem 1.5rem;
  padding-right: 3rem;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  list-style: none; 
}

.faq-item__question::-webkit-details-marker {
  display: none; 
}

.faq-item__question::after {
  content: "＋";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
}

.faq-item[open] .faq-item__question::after {
  content: "ー";
}

.faq-item__answer {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--text-muted);
  font-size: 1rem;
  border-top: 1px solid rgba(0,0,0,0.03);
}

/* ============================================================
   8. お問い合わせ（Contact：電話・メールカード）
   ============================================================ */
.contact__inner {
  background-color: var(--bg-accent);
  border-radius: 8px;
  padding: 4rem 2rem;
}

.contact__methods {
  max-width: 900px;
  margin: 0 auto;
}

.contact-method-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2.5rem 1.5rem;
  height: 100%;
  box-shadow: var(--card-shadow);
  text-align: center;
}

.contact-method-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-method-card__title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.contact-method-card__text {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.contact-method-card__link {
  display: inline-block;
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
  margin-bottom: 0.5rem;
}
.contact-method-card__link:hover {
  text-decoration: underline;
}

.contact-method-card__btn {
  background-color: var(--primary-color);
  color: var(--bg-white);
  width: 100%;
  max-width: 260px;
}

.contact-method-card__note,
.contact-method-card__address {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================================
   フッター（Footer）
   ============================================================ */
.footer {
  padding-bottom: 2.5rem;
  padding-top:3rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer__logo {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary-color);
}

.footer__nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__nav a {
  color: var(--text-muted);
  font-size: 1.1rem;
  text-decoration: none;
}

.footer__nav a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.footer__copyright {
  font-size: 1rem;
  color: var(--text-light);
}

.footer hr {
  border-top: 1px solid var(--text-light);
}

/* トップへ戻るボタンの基本スタイル */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  background-color: var(--to-top-bg);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 100;
  
  display: flex;
  align-items: center;
  justify-content: center;
  
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

/* CSSで作る綺麗な山型の矢印 */
.to-top::after {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 3px solid var(--bg-white);  /* 矢印の太さ */
  border-left: 3px solid var(--bg-white); /* 矢印の太さ */
  transform: rotate(45deg); /* 斜めに回転させて山型にする */
  margin-top: 4px; /* 視覚的な中央揃えの微調整 */
}

/* 表示用クラス */
.to-top.is-show {
  opacity: 1;
  visibility: visible;
}

/* ホバー時の動き */
.to-top:hover {
  background-color: var(--button-hover-bg);
  transform: translateY(-2px);
}

/*追加01囲いリスト*/

/* 全体コンテナ（外枠ボックス） */
.custom-checklist-container {
	background-color: #f5f7fa; /* 温かみのあるオフホワイト */
	border: 1px solid #dcd7ce;  /* うっすらとしたグレー系の枠線 */
	border-radius: 12px;
	max-width: 800px;
	box-sizing: border-box;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03); /* 微小なシャドウ */
	margin-top: 30px;
	margin-right: auto;
	margin-bottom: 6rem;
	margin-left: auto;
	padding-top: 24px;
	padding-right: 30px;
	padding-bottom: 24px;
	padding-left: 30px;
}

/* リスト全体の初期化 */
.custom-checklist {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 各リスト項目 */
.custom-checklist-item {
  display: flex;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #d5d0c8; /* 区切り線 */
  margin: 0 !important;
  line-height: 1.6;
}

/* 最後の項目は下線を消す */
.custom-checklist-item:last-child {
  border-bottom: none;
}

/* チェックボックスアイコン（SVG背景で再現） */
.custom-checklist-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-right: 14px;
  background-color: #0066bb; /* 青 */
  border-radius: 3px;        /* 若干の角丸 */
  position: relative;
  /* 白いチェックマークSVG */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 13px;
}

/* テキスト部分 */
.custom-checklist-text {
  font-size: 16px;
  color: #444444;
}

/* 強調文字（赤系） */
.custom-checklist-text .highlight {
  color: #da44530;
  font-weight: bold;
}

/* --------------------------------------------------
   レスポンシブ対応（スマホ向け）
   -------------------------------------------------- */
@media screen and (max-width: 768px) {
  .custom-checklist-container {
    padding: 16px 18px;
    border-radius: 8px;
    margin: 20px 15px; /* スマホ時の左右余白 */
  }

  .custom-checklist-item {
    padding: 12px 0;
    align-items: flex-start; /* テキストが複数行になってもアイコン位置を上揃えに */
  }

  .custom-checklist-icon {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    margin-top: 3px; /* テキストとの行揃え調整 */
    background-size: 11px;
  }

  .custom-checklist-text {
    font-size: 14px;
    line-height: 1.5;
  }
}

/*追加02フルカラム*/

.custom-fullwidth-section {
  /* 画面幅全体に広げるトリック（親要素に幅指定があってもブレイクアウト可能） */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  
  /* 画像の背景色（深みのあるネイビー） */
  background-color: #0066bb;
  color: #ffffff;
  
  /* 上下の余白 */
  padding: 50px 20px;
  box-sizing: border-box;
  margin-bottom:5rem;
}

/* テキストを中央寄せで読みやすい幅に収めるインナー領域 */
.custom-fullwidth-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

/* 大見出し */
.custom-fullwidth-title {
  font-size: 24px;
  font-weight: bold;
  line-height: 1.5;
  margin: 0 0 16px 0;
  color: #ffffff !important; /* テキスト色維持 */
  letter-spacing: 0.03em;
}

/* 本文テキスト */
.custom-fullwidth-text {
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 6px 0;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.02em;
}

/* 最後の段落の余白を消去 */
.custom-fullwidth-text:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------
   レスポンシブ対応（スマホ向け）
   -------------------------------------------------- */
@media screen and (max-width: 768px) {
  .custom-fullwidth-section {
    padding: 35px 15px;
  }

  .custom-fullwidth-title {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .custom-fullwidth-text {
    font-size: 14px;
    line-height: 1.6;
  }
}
.text01 {
	font-weight: bold;
	color: #F63;
	padding-right: auto;
	padding-left: auto;
	padding-top: 5em;
	padding-bottom: 1em;
}

/*追加02　取扱業務*/
/* ==================================================
   Custom Plan Card Grid (2-Column Layout)
   ================================================== */

/* 2カラムレイアウト用グリッドコンテナ */
.custom-plan-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;                  /* カード間の左右・上下余白 */
  max-width: 1000px;          /* 全体の最大幅（適宜調整してください） */
  margin: 0 auto;
  box-sizing: border-box;
}

/* 個々のプランカード */
.custom-plan-card {
  flex: 1 1 calc(50% - 12px); /* 2カラム表示（隙間gap分を計算） */
  box-sizing: border-box;
  background-color: #fcf9f5;  /* 画像の背景色（薄いベージュ系） */
  border: 1px solid #dcd7ce;   /* 周囲の枠線 */
  border-radius: 20px;         /* 大きめの角丸 */
  padding: 30px 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

/* ヘッダーエリア（アイコン + タイトル） */
.custom-plan-header {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

/* 紺色の丸型アイコン領域 */
.custom-plan-icon {
  width: 70px;
  height: 70px;
  min-width: 70px;
  background-color: #1e3a60; /* テーマのネイビー色 */
  border-radius: 50%;         /* 正円にする */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 13px;
  font-weight: bold;
  text-align: center;
  line-height: 1.2;
  margin-right: 18px;
}

.custom-plan-icon img {
  width: 60%;
  height: auto;
  object-fit: contain;
}

/* タイトルグループ */
.custom-plan-title-group {
  display: flex;
  flex-direction: column;
}

/* メインタイトル (例: 民事関連) */
.custom-plan-main-title {
  font-size: 22px !important;
  font-weight: bold !important;
  color: #1e3a60 !important;  /* 紺色 */
  margin: 0 0 4px 0 !important;
  padding: 0 !important;
  border: none !important;
  line-height: 1.3 !important;
}

/* サブタイトル */
.custom-plan-sub-title {
  font-size: 14px;
  color: #555555;
  margin: 0;
  line-height: 1.4;
}

/* セクション小見出し（【個人生活の問題】など） */
.custom-plan-section-title {
  font-size: 15px !important;
  font-weight: bold !important;
  color: #2c3e50 !important;
  margin: 20px 0 8px 0 !important;
  padding: 0 0 6px 0 !important;
  border-bottom: 1px solid #c8c3ba !important; /* 下線 */
  text-align: left !important; 
}

.custom-plan-body > .custom-plan-section-title:first-child {
  margin-top: 0 !important;
}

/* 箇条書きリスト */
.custom-plan-list {
list-style: none !important;
  margin: 0 0 16px 0 !important;
  padding: 0 0 0 8px !important;
  text-align: left !important; 
}

.custom-plan-list li {
font-size: 14px;
  color: #444444;
  line-height: 1.7;
  position: relative;
  padding-left: 14px;
  margin-bottom: 4px;
  text-align: left !important;}

/* リストの先頭ドット（■の代わりに「▪」） */
.custom-plan-list li::before {
  content: "▪";
  position: absolute;
  left: 0;
  top: -1px;
  color: #555555;
  font-size: 14px;
}

/* --------------------------------------------------
   レスポンシブ対応 (スマホ表示: 1カラム)
   -------------------------------------------------- */
@media screen and (max-width: 768px) {
  .custom-plan-grid {
    gap: 20px;
    padding: 0 10px;
  }

  /* スマホでは横幅100%（1カラム）にする */
  .custom-plan-card {
    flex: 1 1 100%;
    padding: 20px 18px;
    border-radius: 16px;
  }

  .custom-plan-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    font-size: 11px;
    margin-right: 14px;
  }

  .custom-plan-main-title {
    font-size: 19px !important;
  }

  .custom-plan-sub-title {
    font-size: 13px;
  }

  .custom-plan-section-title {
    font-size: 14px !important;
  }

  .custom-plan-list li {
    font-size: 13px;
  }
}

/* ==================================================
   1. ベース：フルカラムセクション 
   ================================================== */

.custom-fullwidth-section {
  /* 画面幅全幅表示の指定 */
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  
  /* 背景色・縦余白 */
  background-color: #1e3a60; /* 深みのある紺色 */
  padding: 50px 20px;
  box-sizing: border-box;
}

/* インナー（カード群を中央寄せで読みやすい幅に収める） */
.custom-fullwidth-inner {
  max-width: 1000px;
  margin: 0 auto;
  box-sizing: border-box;
}


/* ==================================================
   2. 内部コンテンツ：3カラム ＋ 1カラム
   ================================================== */

/* --- 上段：3カラムグリッド --- */
.custom-flow-grid {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

/* 3カラムの各カード */
.custom-flow-card {
  flex: 1;
  background-color: #fcf9f5; /* 温かみのあるオフホワイト */
  border-radius: 12px;        /* 角丸 */
  padding: 24px 16px;
  text-align: center;
  box-sizing: border-box;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* 番号・タイトル (1.電話法律相談) */
.custom-flow-card-num {
  font-size: 16px !important;
  font-weight: bold !important;
  color: #555555 !important;
  margin: 0 0 12px 0 !important;
  padding: 0 !important;
  border: none !important;
  line-height: 1.3 !important;
  text-align: center !important;
}

/* メイン強調テキスト (【無料】常時受付 など) */
.custom-flow-card-main {
  font-size: 19px;
  font-weight: bold;
  color: #2c3e50;
  margin: 0 0 10px 0;
  line-height: 1.4;
  text-align: center !important;
}

/* オレンジ文字指定 */
.custom-flow-card-main.orange {
  color: #e36020;
}

/* サブテキスト */
.custom-flow-card-sub {
  font-size: 13px;
  color: #666666;
  margin: 0;
  line-height: 1.4;
  text-align: center !important;
}


/* --- 下段：1カラムカード --- */
.custom-flow-bottom-card {
  background-color: #fcf9f5;
  border-radius: 12px;
  padding: 24px 28px;
  box-sizing: border-box;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);

}

/* 見出し (▼費用に関する安心の基本姿勢) */
.custom-flow-bottom-title {
  font-size: 16px !important;
  font-weight: bold !important;
  color: #2c3e50 !important;
  margin: 0 0 12px 0 !important;
  padding: 0 !important;
  border: none !important;
  text-align: left !important;
  
}
h3.fee-policy-heading {
    margin-top: 50px !important;
}
.fee-policy-heading {
    padding-top: 50px !important;
}

/* 本文テキスト */
.custom-flow-bottom-text {
  font-size: 14px;
  color: #fff;
  line-height: 1.8;
  margin: 0;
  text-align: left !important;
}


/* ==================================================
   3. レスポンシブ対応 (スマホ表示)
   ================================================== */
@media screen and (max-width: 768px) {
  .custom-fullwidth-section {
    padding: 35px 15px;
  }

  /* 上段の3カラムを縦並び（1カラム）に */
  .custom-flow-grid {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
  }

  .custom-flow-card {
    padding: 20px 15px;
  }

  .custom-flow-card-num {
    font-size: 15px !important;
    margin-bottom: 8px !important;
  }

  .custom-flow-card-main {
    font-size: 17px;
    margin-bottom: 6px;
  }

  .custom-flow-bottom-card {
    padding: 20px 18px;
  }

  .custom-flow-bottom-title {
    font-size: 15px !important;
  }

  .custom-flow-bottom-text {
    font-size: 13px;
    line-height: 1.6;
  }
}

/*追加*/


.text_or {
	font-weight: bold;
	color: #F30;
}

/*トップ追加*/

/* ------------------------------------
   佐和法律事務所 ヘッダーロゴ
------------------------------------------ */

.header__logo-link.sawa-header-logo {
    display: inline-flex !important;
    align-items: center !important;

    width: 210px !important;
    max-width: 210px !important;
    height: 48px !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: visible !important;

    text-decoration: none !important;
    line-height: 1 !important;
}


/* ------------------------------------------
   天秤マーク
------------------------------------------ */

.header__logo-link.sawa-header-logo .sawa-logo-mark {
    display: block !important;

    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;

    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;

    flex: 0 0 34px !important;

    margin: 0 9px 0 0 !important;
    padding: 0 !important;

    color: #005bac !important;

    line-height: 0 !important;
}


/* SVG */
.header__logo-link.sawa-header-logo
.sawa-logo-mark svg {
    display: block !important;

    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;

    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: visible !important;
}


/* ------------------------------------------
   文字全体
------------------------------------------ */

.header__logo-link.sawa-header-logo .sawa-logo-copy {
    display: flex !important;

    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;

    width: 167px !important;
    height: 34px !important;

    margin: 0 !important;
    padding: 0 !important;

    line-height: 1 !important;
}


/* ------------------------------------------
   佐和法律事務所
------------------------------------------ */

.header__logo-link.sawa-header-logo .sawa-logo-name {
    display: block !important;

    width: 167px !important;
    height: 20px !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #12385a !important;

    font-family:
        "Noto Serif JP",
        "Yu Mincho",
        "Hiragino Mincho ProN",
        serif !important;

    font-size: 25px !important;
    font-weight: 600 !important;

    letter-spacing: 0.08em !important;

    line-height: 20px !important;

    white-space: nowrap !important;
}


/* ------------------------------------------
   SAWA LAW OFFICE
------------------------------------------ */

.header__logo-link.sawa-header-logo .sawa-logo-en {
    display: block !important;

    width: 167px !important;
    height: 9px !important;

    margin: 9px 0 0 1px !important;
    padding: 0 !important;

    color: #005bac !important;

    font-family:
        Arial,
        Helvetica,
        sans-serif !important;

    font-size: 9px !important;
    font-weight: 500 !important;

    letter-spacing: 0.19em !important;

    line-height: 9px !important;

    white-space: nowrap !important;
}


/* ------------------------------------------
   ホバー
------------------------------------------ */

.header__logo-link.sawa-header-logo:hover {
    text-decoration: none !important;
}

.header__logo-link.sawa-header-logo:hover
.sawa-logo-mark {
    color: #c8a15a !important;
}

.header__logo-link.sawa-header-logo:hover
.sawa-logo-name {
    color: #005bac !important;
}


/* ==================================================
   スマートフォン
================================================== */

@media screen and (max-width: 600px) {

    .header__logo-link.sawa-header-logo {
        width: 170px !important;
        max-width: 170px !important;
        height: 38px !important;
    }


    .header__logo-link.sawa-header-logo
    .sawa-logo-mark {

        width: 27px !important;
        min-width: 27px !important;
        max-width: 27px !important;

        height: 27px !important;
        min-height: 27px !important;
        max-height: 27px !important;

        flex-basis: 27px !important;

        margin-right: 7px !important;
    }


    .header__logo-link.sawa-header-logo
    .sawa-logo-mark svg {

        width: 27px !important;
        min-width: 27px !important;
        max-width: 27px !important;

        height: 27px !important;
        min-height: 27px !important;
        max-height: 27px !important;
    }


    .header__logo-link.sawa-header-logo
    .sawa-logo-copy {

        width: 136px !important;
        height: 29px !important;
    }


    .header__logo-link.sawa-header-logo
    .sawa-logo-name {

        width: 136px !important;
        height: 17px !important;

        font-size: 14px !important;
        line-height: 17px !important;

        letter-spacing: 0.05em !important;
    }


    .header__logo-link.sawa-header-logo
    .sawa-logo-en {

        width: 136px !important;
        height: 7px !important;

        margin-top: 2px !important;

        font-size: 5px !important;
        line-height: 7px !important;

        letter-spacing: 0.16em !important;
    }

}

