@charset "UTF-8";
/*
 * ==========================================================================
 * site.css — 相続診断士 原一浩（サイト固有CSS）
 * main.css（共通SCSSコンパイル）の後に読み込む。
 * 見た目は claude-design-output に合わせて調整。
 * ==========================================================================
 *
 * 追加クラス一覧（共通SCSS取り込み検討用）
 * ------------------------------------------------------------------
 * .hara-logo               - ヘッダーの丸ロゴ＋テキストロゴ
 * .hara-eyebrow            - 見出し上の英字ラベル（Mulish・アクセント緑）
 * .hara-sec-head           - 英字ラベル＋日本語タイトルのセクション見出し
 * .hara-btn (+ modifier)   - 丸みのあるピルボタン（primary/accent/ghost/full/sm/tel）
 * .hara-textlink           - 下線付きテキストリンク
 * .hara-cta                - 締めのお問い合わせCTA帯（緑グラデーション・全幅）
 * .hara-panel              - 白の角丸カードパネル（緑系ソフトシャドウ）
 * .hara-panel-green        - 緑グラデーションの角丸パネル
 * .hara-hero               - TOPメインビジュアル（写真コラージュ）
 * .hara-subhero            - 下層ページヒーロー（淡背景＋タイトル＋画像）
 * .hara-point              - POINT付き白カード（TOP 3特徴）
 * .hara-step               - 縦フロー（笑顔相続までの5ステップ）
 * .hara-blob               - ぼかし円の装飾
 * .hara-matrix             - 士業連携マトリクス表
 * .hara-blog / .hara-side  - ブログ一覧＋サイドバー
 * .hara-footer             - フッター（淡緑背景・3カラム）
 * .hara-fade               - スクロールフェードイン
 *
 * 共通SCSSに不足していたもの（5分類）
 * ------------------------------------------------------------------
 * ・構造不足：英字小ラベル(eyebrow)＋大きめ日本語見出しの構成
 *   （共通 heading は英字大＋日本語小で上下が逆のため site 側で定義）
 * ・装飾パターン不足：緑グラデーションの締めCTA帯／角丸パネル／ぼかし円
 * ・値の粒度不足：ピル型(999px)ボタンと丸ロゴのトンマナ調整
 */

:root {
  --green: #00682f;
  --green-2: #0a7d3a;
  --green-d: #123a24;
  --lime: #8ec31f;
  --lime-soft: #eaf3dc;
  --grey: #60747a;
  --base: #faf9f8;
  --cream: #f4f1ed;
  --ink: #2c3a33;
  --sub-ink: #3f5348;
  --line: #e4ddd0;
  --sh-soft: 0 8px 24px rgba(18, 58, 36, .07);
  --sh-card: 0 10px 28px rgba(18, 58, 36, .08);
}

/* --------------------------------------------------------------------------
 * ベース：見出しフォント・本文余白
 * ------------------------------------------------------------------------ */
/* 透明ヘッダーはコンテンツ上に重なるため body の余白は不要。
   各ページ先頭セクション（hero / subhero / breadcrumb）で上部余白を確保する。 */

/* 本文はデザインに合わせて Medium(500)。デザインの body font-weight:500 に統一 */
body { font-weight: 500; }

h1, h2, h3, h4, h5, h6,
.heading__ja,
.hara-sec-head__title {
  font-family: "Zen Maru Gothic", "Zen Kaku Gothic New", sans-serif;
  color: var(--green-d);
  line-height: 1.45;
}

.hara-narrow { max-width: 880px; width: 94%; margin-left: auto; margin-right: auto; }
.hara-mw-1000 { max-width: 1000px; width: 94%; margin-left: auto; margin-right: auto; }

/* セクション間の縦リズム（デザイン踏襲：margin-topで一定間隔） */
.hara-block { margin-top: clamp(80px, 10vw, 140px); }
.hara-block--sm { margin-top: clamp(48px, 6vw, 80px); }   /* ヒーロー直後など詰め気味 */
.hara-block--news { position: relative; background: #eef3e5; padding: clamp(48px, 6vw, 80px) 0; }
/* 上辺だけゆるやかな山形アーチに */
.hara-block--news::before {
  content: ""; position: absolute; left: 0; width: 100%;
  height: clamp(30px, 5vw, 70px);
  top: 0; transform: translateY(-99%);
  background-repeat: no-repeat; background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath d='M0,70 Q720,-10 1440,70 Z' fill='%23eef3e5'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hara-block--last { margin-bottom: clamp(80px, 10vw, 140px); } /* CTA帯の直前 */

/* --------------------------------------------------------------------------
 * ヘッダー：透明ヘッダー + 白い角丸ピルナビ（デザイン踏襲）
 * ------------------------------------------------------------------------ */
.hara-header { position: absolute; top: 0; left: 0; right: 0; z-index: 50; }
.hara-header__inner {
  /* 左辺を vw 基準の 3vw に固定 → ヒーローのキャッチ左辺（同じ vw 基準）と厳密に一致
     （% だとスクロールバー幅分ズレるため vw に統一） */
  width: 94vw; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 74px; padding-top: 18px;
}

.hara-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.hara-logo img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }
.hara-logo__text { display: flex; flex-direction: column; line-height: 1.25; }
.hara-logo__name {
  font-family: "Zen Maru Gothic", sans-serif; font-weight: 700;
  font-size: 1.7rem; color: var(--green-d); white-space: nowrap;
}
.hara-logo__sub { font-size: 1.1rem; color: var(--grey); letter-spacing: .04em; }

/* 白い角丸ピル：ナビ + 電話 + CTA */
.hara-navpill {
  display: flex; align-items: center; gap: clamp(14px, 1.8vw, 26px);
  background: #fff; border-radius: 999px;
  padding: 9px 10px 9px clamp(18px, 2.2vw, 30px);
  box-shadow: 0 6px 22px rgba(18, 58, 36, .10);
}
.hara-nav { display: flex; align-items: center; gap: clamp(12px, 1.5vw, 24px); }
.hara-nav__link {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 1.5rem; font-weight: 500; color: #243b30;
  white-space: nowrap; text-decoration: none; transition: color .2s;
}
.hara-nav__link:hover { color: var(--lime); opacity: 1; }
.hara-nav__link.is-current { color: var(--green); font-weight: 700; }
.hara-navpill__tel {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Mulish", sans-serif; font-weight: 700; font-size: 1.7rem;
  color: var(--green); white-space: nowrap; text-decoration: none;
}
.hara-navpill__tel:hover { opacity: .7; }
.hara-navpill__cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--lime); color: var(--green-d);
  font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 1.4rem;
  padding: 12px 22px; border-radius: 999px; white-space: nowrap; text-decoration: none;
  transition: background-color .25s, color .25s;
}
.hara-navpill__cta i { font-size: .85em; }
.hara-navpill__cta:hover { background: var(--green); color: #fff; opacity: 1; }

@media (max-width: 1100px) {
  .hara-header__inner { height: 60px; padding-top: 12px; }
  .hara-logo img { width: 40px; height: 40px; }
  .hara-logo__name { font-size: 1.5rem; }
  .hara-logo__sub { font-size: 1rem; }
  .hara-navpill { display: none; }
}

/* ハンバーガー：緑の丸ボタン（headerの外・固定・スクロールしても常時アクセス可） */
.nav-toggle {
  top: 14px; right: 14px;
  width: 48px; height: 48px;
  background: var(--green);
  backdrop-filter: none;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 104, 47, .3);
}
.nav-toggle__line { background: #fff; width: 20px; }
.nav-toggle__line:nth-child(1) { top: 16px; }
.nav-toggle__line:nth-child(2) { top: 23px; }
.nav-toggle__line:nth-child(3) { top: 30px; }
.nav-toggle.is-active .nav-toggle__line:nth-child(1),
.nav-toggle.is-active .nav-toggle__line:nth-child(3) { top: 23px; background: #fff; }

/* --------------------------------------------------------------------------
 * 見出し：eyebrow + section head
 * ------------------------------------------------------------------------ */
.hara-eyebrow {
  display: block;
  font-family: "Mulish", sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--lime);
}
.hara-eyebrow--light { color: #c9ec7a; }

.hara-sec-head { margin-bottom: 26px; }
.hara-sec-head--center { text-align: center; }
.hara-sec-head__title {
  font-size: clamp(2.2rem, 3vw, 3rem);
  font-weight: 700;
  margin-top: 8px;
}
.hara-sec-head__desc { color: var(--grey); font-size: 1.4rem; margin-top: 10px; }
.hara-sec-head--bar .hara-sec-head__title {
  border-left: 5px solid var(--lime);
  padding-left: 16px;
}

/* --------------------------------------------------------------------------
 * ボタン
 * ------------------------------------------------------------------------ */
.hara-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.3;
  padding: 15px 30px;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .25s ease, background-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.hara-btn i { font-size: .9em; }
.hara-btn:hover { transform: translateY(-2px); opacity: 1; }

.hara-btn--primary {
  background: var(--green); color: #fff;
  box-shadow: 0 8px 20px rgba(0, 104, 47, .26);
}
.hara-btn--primary:hover { background: var(--green-2); color: #fff; }

.hara-btn--accent { background: var(--lime); color: var(--green-d); }
.hara-btn--accent:hover { background: #7cb50f; color: var(--green-d); }

.hara-btn--ghost { background: #fff; color: var(--green); border-color: #cfe0b8; }
.hara-btn--ghost:hover { background: var(--lime-soft); color: var(--green); }

.hara-btn--full { width: 100%; max-width: 100%; }
.hara-btn--sm { font-size: 1.4rem; padding: 12px 24px; }
.hara-btn--tel { font-family: "Mulish", sans-serif; font-size: 1.7rem; }

.hara-textlink {
  display: inline-block;
  color: var(--green);
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  border-bottom: 2px solid var(--lime);
  padding-bottom: 3px;
  text-decoration: none;
  transition: color .2s ease;
}
.hara-textlink:hover { color: var(--lime); opacity: 1; }

/* --------------------------------------------------------------------------
 * 装飾：ぼかし円 / パネル
 * ------------------------------------------------------------------------ */
.hara-blob {
  position: absolute;
  border-radius: 50%;
  background: var(--lime);
  opacity: .16;
  pointer-events: none;
  z-index: 0;
}

.hara-panel {
  background: #fff;
  border-radius: var(--radius-lg, 24px);
  box-shadow: var(--sh-card);
  padding: clamp(28px, 3.5vw, 44px);
}

.hara-panel-green {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  border-radius: 28px;
  padding: clamp(32px, 4vw, 52px);
  color: #fff;
}
.hara-panel-green > * { position: relative; z-index: 1; }
.hara-panel-green h2, .hara-panel-green h3 { color: #fff; }

/* --------------------------------------------------------------------------
 * TOP メインビジュアル（写真コラージュ）
 * ------------------------------------------------------------------------ */
.hara-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f4f1ed 0%, #faf9f8 100%);
  padding: clamp(104px, 11vw, 150px) 0 clamp(56px, 7vw, 100px);
}
/* 左上あしらい背景 */
.hara-hero::before {
  content: ""; position: absolute; z-index: 0;
  top: 0; left: 0;
  width: clamp(240px, 60vw, 860px); max-width: 860px; aspect-ratio: 617.16 / 379.31;
  background: url("https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/28428/mv_asirai_right_top.svg") no-repeat top left / contain;
  opacity: .7;
  pointer-events: none;
}
.hara-hero__inner {
  position: relative;
  z-index: 1;
  width: min(1200px, 94vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
/* コピーは左端寄り・画像は右端いっぱいまで伸ばす（デザイン踏襲の右フルブリード） */
.hara-hero__copy { position: relative; margin-left: calc(3vw - (100vw - min(1200px, 94vw)) / 2); }
/* キャッチ右側のあしらい */
.hara-hero__copy::after {
  content: ""; position: absolute; z-index: 0;
  top: -20%; right: 0%;
  width: clamp(90px, 14vw, 220px); aspect-ratio: 184.72 / 264.3;
  background: url("https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/28428/mv_asirai_1.svg") no-repeat top right / contain;
  pointer-events: none;
}
.hara-hero__copy .hara-eyebrow { margin-bottom: 14px; }
.hara-hero__title {
  font-size: clamp(3rem, 4.6vw, 5.2rem);
  line-height: 1.35;
  letter-spacing: .01em;
  margin-bottom: 20px;
}
.hara-hero__title .is-lime { color: var(--green); }
.hara-hero__lead { font-size: clamp(1.5rem, 1.7vw, 1.8rem); color: var(--sub-ink); max-width: 34em; }
.hara-hero__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hara-hero__media { position: relative; margin-right: calc((min(1200px, 94vw) - 100vw) / 2); }
.hara-hero__media .hara-blob { inset: -14px -14px auto auto; width: 140px; height: 140px; }
.hara-hero__photo-main {
  position: relative; z-index: 1;
  border-radius: 36px 0 0 36px;
  overflow: hidden; aspect-ratio: 4 / 3.2;
  box-shadow: 0 20px 50px rgba(18, 58, 36, .12);
}
.hara-hero__photo-main img { width: 100%; height: 100%; object-fit: cover; }
.hara-hero__photo-sub {
  position: absolute; z-index: 2;
  left: clamp(-40px, -6vw, -20px); bottom: clamp(-40px, -5vw, -24px);
  width: clamp(150px, 38%, 240px); aspect-ratio: 3 / 3.4;
  border-radius: 22px; overflow: hidden;
  box-shadow: 0 16px 40px rgba(18, 58, 36, .22);
  border: 5px solid var(--base);
}
.hara-hero__photo-sub img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 896px) {
  .hara-hero__inner { grid-template-columns: 1fr; }
  .hara-hero__copy { margin-left: 0; }
  .hara-hero__media { margin-top: 30px; margin-right: calc((94vw - 100vw) / 2); }
}

/* --------------------------------------------------------------------------
 * 下層ページヒーロー
 * ------------------------------------------------------------------------ */
.hara-subhero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f4f1ed, #faf9f8);
  padding: clamp(104px, 12vw, 150px) 0 clamp(36px, 4vw, 60px);
  text-align: center;
}
/* 左上あしらい背景（TOPヒーローと共通） */
.hara-subhero::before {
  content: ""; position: absolute; z-index: 0;
  top: 0; left: 0;
  width: clamp(240px, 60vw, 860px); max-width: 860px; aspect-ratio: 617.16 / 379.31;
  background: url("https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/28428/mv_asirai_right_top.svg") no-repeat top left / contain;
  opacity: .7;
  pointer-events: none;
}
.hara-subhero > .container { position: relative; z-index: 1; }
.hara-subhero__title { font-size: clamp(2.6rem, 4vw, 4.2rem); margin: 12px 0 8px; }
.hara-subhero__lead { color: var(--grey); font-size: 1.45rem; }
.hara-subhero__img {
  margin-top: clamp(20px, 3vw, 34px);
  border-radius: 24px; overflow: hidden;
  height: clamp(220px, 30vw, 380px);
}
.hara-subhero__img img { width: 100%; height: 100%; object-fit: cover; }

/* --------------------------------------------------------------------------
 * TOP ごあいさつ（写真コラージュ + テキスト）
 * ------------------------------------------------------------------------ */
/* 右端から幅70%・高さ100%の背景帯 */
.hara-block--greet { position: relative; }
.hara-block--greet::before {
  content: ""; position: absolute; z-index: 0;
  top: 10%; right: 0; width: 62%; height: 80%;
  background: #e9e3db;
  border-radius: 600px 0 0 600px;
}
.hara-block--greet > .hara-greet { position: relative; z-index: 1; }
.hara-greet {
  width: min(1200px, 94vw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px); align-items: center;
}
/* 左の写真コラージュを左端いっぱいまで伸ばす（ヒーロー右ブリードと対のデザイン） */
.hara-greet__media { position: relative; margin-left: calc((min(1200px, 94vw) - 100vw) / 2); }
.hara-greet__media .hara-blob { inset: auto auto -16px -16px; width: 120px; height: 120px; opacity: .14; }
.hara-greet__stack { position: relative; z-index: 1; display: grid; gap: 20px; }
.hara-greet__row { display: flex; align-items: flex-start; gap: 20px; width: 90%; }
.hara-greet__ph { border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; flex: 1; }
.hara-greet__ph img { width: 100%; height: 100%; object-fit: cover; }
.hara-greet__ph--down { margin-top: 26px; }
.hara-greet__wide { width: 64%; margin-left: 20%; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; }
.hara-greet__wide img { width: 100%; height: 100%; object-fit: cover; }
.hara-greet__float {
  position: absolute; z-index: 2; right: clamp(0px, 3vw, 30px); bottom: clamp(-30px, -4vw, -18px);
  width: clamp(120px, 34%, 170px); aspect-ratio: 3 / 3.2; border-radius: 16px; overflow: hidden;
  border: 5px solid var(--base); box-shadow: 0 12px 30px rgba(18, 58, 36, .18);
}
.hara-greet__float img { width: 100%; height: 100%; object-fit: cover; }
.hara-greet__body p { font-size: 1.6rem; line-height: 1.95; color: var(--sub-ink); }
@media (max-width: 896px) {
  .hara-greet { grid-template-columns: 1fr; }
  .hara-greet__media { margin-bottom: 20px; margin-left: calc((94vw - 100vw) / 2); }
}

/* --------------------------------------------------------------------------
 * POINT カード（TOP 3特徴）
 * ------------------------------------------------------------------------ */
.hara-point {
  position: relative;
  background: #fff;
  border-radius: 32px 8px 32px 8px;
  padding: 30px 40px;
  box-shadow: var(--sh-soft);
  height: 100%;
}
.hara-point__label { font-family: "Mulish", sans-serif; font-weight: 700; font-size: 1.1rem; letter-spacing: .16em; color: var(--lime); }
.hara-point__no { position: absolute; left: 0px; top: -20px; width: 56px; height: auto; }
.hara-point__title { font-size: 2rem; margin: 10px 0 8px; }
.hara-point__text { font-size: 1.45rem; color: var(--sub-ink); line-height: 1.8; }

/* --------------------------------------------------------------------------
 * TOP お知らせ・セミナー 白ボックス（デザイン踏襲：余白・角丸・ソフト緑シャドウ）
 * ------------------------------------------------------------------------ */
.news-list--boxed {
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(18, 58, 36, .06);
  padding: 20px 40px;      /* 白背景の内側余白（左右広め） */
}
.news-list--boxed .news-list__item { border-bottom-color: #f0ece3; }
.news-list--boxed .news-list__link { padding: 18px 4px; gap: 14px; }
.news-list--boxed .news-list__link:hover { background: transparent; }
.news-list--boxed .news-list__link:hover .news-list__title { color: var(--green); }
.news-list--boxed .news-list__date { color: var(--grey); min-width: 92px; font-size: 1.3rem; }
.news-list--boxed .news-list__cat,
.news-list--boxed .news-list__cat--accent,
.news-list--boxed .news-list__cat--sub {
  background: var(--lime-soft); color: var(--green);
  border-radius: 999px; padding: 4px 12px; min-width: 0;
  font-size: 1.1rem; font-weight: 700;
}
.news-list--boxed .news-list__title { font-weight: 500; color: #2c3a33; }
@media (max-width: 639px) {
  .news-list--boxed { padding: 8px 18px; }
}

/* --------------------------------------------------------------------------
 * FAQ（よくあるご質問）— デザイン踏襲：独立した白カード＋薄緑Qバッジ＋ソフト影
 * ------------------------------------------------------------------------ */
.accordion--qa {
  border: none;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(18, 58, 36, .05);
  overflow: hidden;
  margin-bottom: 12px;
}
.accordion--qa:first-child { border-top: none; }
.accordion--qa:last-child { margin-bottom: 0; }
.accordion--qa .accordion__head {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  color: #243b30;
}
.accordion--qa .accordion__head::before {   /* Qバッジ：薄緑背景＋緑文字 */
  background: var(--lime-soft);
  color: var(--green);
  width: 30px; height: 30px;
  font-size: 1.4rem;
}
.accordion--qa .accordion__head::after {     /* ＋/− アイコン：ライム */
  color: var(--lime);
  font-size: 2rem;
}
.accordion--qa .accordion__body {
  color: #4a5c52;
  padding: 12px 22px 22px 55px;   /* 開いた回答の上に余白を確保 */
}
.accordion--qa .accordion__body::before { content: none; }  /* Aバッジは非表示（デザインに合わせる） */

/* --------------------------------------------------------------------------
 * ステップ（縦フロー）
 * ------------------------------------------------------------------------ */
.hara-step { display: flex; flex-direction: column; gap: 20px; }
.hara-step__item { display: flex; gap: clamp(16px, 2.5vw, 28px); align-items: stretch; }
.hara-step__no {
  flex-shrink: 0; width: 70px;
  display: flex; flex-direction: column; align-items: center;
  position: relative;
}
.hara-step__no-inner { text-align: center; background: var(--base); padding-bottom: 8px; position: relative; z-index: 1; }
.hara-step__no-en { display: block; font-family: "Mulish", sans-serif; font-weight: 700; font-size: 1.1rem; letter-spacing: .14em; color: var(--lime); }
.hara-step__no-num { display: block; font-family: "Mulish", sans-serif; font-weight: 700; font-size: 3.8rem; color: var(--green); line-height: 1; }
.hara-step__line { flex: 1; width: 2px; background: #cfe0b8; margin-bottom: -20px; }
.hara-step__body { flex: 1; background: #fff; border-radius: 24px; padding: clamp(20px, 2.5vw, 30px); box-shadow: var(--sh-soft); }
.hara-step__body h3 { font-size: 2rem; margin-bottom: 6px; }
.hara-step__body p { font-size: 1.45rem; color: var(--sub-ink); }

/* --------------------------------------------------------------------------
 * 統計カード（About「お金持ちだけの問題?」）
 * ------------------------------------------------------------------------ */
.hara-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin: 34px 0 30px; }
.hara-stat { background: rgba(255, 255, 255, .1); border-radius: 20px; padding: 24px; text-align: center; }
.hara-stat__num { font-family: "Mulish", sans-serif; font-weight: 700; font-size: 4rem; color: #c9ec7a; line-height: 1; }
.hara-stat__num small { font-size: .55em; }
.hara-stat__text { font-size: 1.3rem; color: #e2f2e2; margin-top: 8px; line-height: 1.7; }
.hara-panel-green__closing { font-size: 1.55rem; color: #eaf5ea; text-align: center; max-width: 40em; margin: 0 auto; }

/* 代表挨拶（左に本文・右に代表写真＋署名 / SPは 写真→本文→署名 の縦並び） */
.hara-message {
  display: grid;
  grid-template-columns: 1fr clamp(200px, 30%, 270px);
  grid-template-rows: auto 1fr;
  column-gap: clamp(24px, 4vw, 44px);
}
.hara-message__photo {
  grid-column: 2; grid-row: 1;
  border-radius: 20px; overflow: hidden;
  box-shadow: var(--sh-soft);
}
.hara-message__photo img { width: 100%; height: auto; display: block; }
.hara-message__body { grid-column: 1; grid-row: 1 / span 2; }
.hara-message__sign { grid-column: 2; grid-row: 2; align-self: start; }
@media (max-width: 896px) {
  .hara-message { grid-template-columns: 1fr; grid-template-rows: none; }
  .hara-message__photo {
    grid-column: 1; grid-row: auto;
    width: min(220px, 60%); margin: 0 auto 24px;
  }
  .hara-message__body,
  .hara-message__sign { grid-column: 1; grid-row: auto; }
}

/* 代表挨拶 署名 / インナーボックス */
.hara-signature { text-align: right; margin-top: 20px; }
.hara-signature__role { font-size: 1.2rem; color: var(--grey); }
.hara-signature__name { font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 2.2rem; color: var(--green-d); }
.hara-innerbox { margin-top: 26px; padding: 24px; background: var(--cream); border-radius: 20px; }
.hara-innerbox h3 { font-size: 1.8rem; color: var(--green); margin-bottom: 10px; }
.hara-innerbox p { font-size: 1.5rem; color: var(--sub-ink); line-height: 1.9; }

/* 理念 / ミッション */
.hara-value { border-radius: 26px; padding: 32px; height: 100%; }
.hara-value--green { background: linear-gradient(135deg, var(--green), var(--green-2)); color: #fff; }
.hara-value--white { background: #fff; box-shadow: var(--sh-soft); }
.hara-value__en { font-family: "Mulish", sans-serif; font-weight: 700; font-size: 1.2rem; letter-spacing: .16em; }
.hara-value--green .hara-value__en { color: #c9ec7a; }
.hara-value--white .hara-value__en { color: var(--lime); }
.hara-value h3 { font-size: 2rem; margin: 10px 0 12px; }
.hara-value--green h3 { color: #fff; }
.hara-value--white h3 { color: var(--green); }
.hara-value--green .hara-value__lead { font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 2.2rem; line-height: 1.6; }
.hara-value--white p { font-size: 1.5rem; color: var(--sub-ink); line-height: 1.9; }

/* 事務所概要テーブル（白カード内の行） */
.hara-overview { background: #fff; border-radius: 24px; padding: 8px 26px; box-shadow: var(--sh-soft); }
.hara-overview__row { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 16px 4px; border-bottom: 1px solid #f0ece3; }
.hara-overview__row:last-child { border-bottom: none; }
.hara-overview__k { min-width: 130px; font-family: "Zen Maru Gothic", sans-serif; font-weight: 500; font-size: 1.4rem; color: var(--green); }
.hara-overview__v { flex: 1; min-width: 200px; font-size: 1.45rem; color: var(--sub-ink); }

/* 汎用パネル内テキスト */
.hara-lead-text { font-size: 1.6rem; color: var(--sub-ink); line-height: 1.95; }
.hara-lead-text + .hara-lead-text { margin-top: 16px; }

/* --------------------------------------------------------------------------
 * 士業連携マトリクス表
 * ------------------------------------------------------------------------ */
.hara-matrix { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 1.35rem; }
.hara-matrix th, .hara-matrix td { padding: 13px 10px; }
.hara-matrix thead th { background: var(--lime-soft); color: var(--green-d); font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; }
.hara-matrix thead th:first-child { text-align: left; border-radius: 12px 0 0 0; }
.hara-matrix tbody tr { border-bottom: 1px solid #f0ece3; }
.hara-matrix tbody th { text-align: left; font-weight: 700; color: var(--green); white-space: nowrap; }
.hara-matrix tbody td { text-align: center; color: var(--sub-ink); }
.hara-risk-legend { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; justify-content: center; align-items: center; }
.hara-risk-legend__label { font-size: 1.25rem; color: var(--grey); }
.hara-risk-legend__item { font-size: 1.25rem; background: var(--cream); padding: 5px 12px; border-radius: 999px; color: var(--sub-ink); }
.hara-risk-legend__item strong { color: var(--green); }

/* FAQ アコーディオン内テキスト */
.hara-note-box { background: var(--cream); border-radius: 20px; padding: 24px; text-align: center; }
.hara-note-box h3 { font-size: 1.7rem; color: var(--green); margin-bottom: 8px; }
.hara-note-box p { font-size: 1.45rem; color: var(--sub-ink); }

/* --------------------------------------------------------------------------
 * ブログ一覧 + サイドバー
 * ------------------------------------------------------------------------ */
.hara-blog { display: block; }   /* サイドバー無し・記事グリッドを全幅で使用 */
.hara-blog__cats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.hara-blog__cat { font-size: 1.3rem; font-weight: 700; padding: 8px 16px; border-radius: 999px; background: #fff; color: var(--green); box-shadow: 0 4px 12px rgba(18, 58, 36, .05); text-decoration: none; transition: background-color .2s; }
.hara-blog__cat:hover { background: var(--lime-soft); }
.hara-blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 896px) { .hara-blog__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .hara-blog__grid { grid-template-columns: 1fr; } }
.hara-article {
  display: block; text-align: left; background: #fff;
  border-radius: 22px; overflow: hidden;
  box-shadow: 0 8px 22px rgba(18, 58, 36, .06);
  color: var(--ink); text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease;
}
.hara-article:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(18, 58, 36, .12); opacity: 1; }
.hara-article__thumb { height: 190px; background: linear-gradient(135deg, #e9f0da, #dfeae4); display: flex; align-items: center; justify-content: center; overflow: hidden; }
@media (max-width: 639px) { .hara-article__thumb { height: 200px; } }
.hara-article__thumb img { width: 100%; height: 100%; object-fit: cover; }
.hara-article__thumb i { font-size: 3rem; color: var(--lime); }
.hara-article__body { padding: 18px 20px; }
.hara-article__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.hara-tag { font-size: 1.05rem; font-weight: 700; color: var(--green); background: var(--lime-soft); padding: 3px 10px; border-radius: 999px; }
.hara-date { font-family: "Mulish", sans-serif; font-size: 1.2rem; color: var(--grey); }
.hara-article__title { font-size: 1.6rem; line-height: 1.6; }

.hara-side { display: flex; flex-direction: column; gap: 20px; }
.hara-side__box { background: #fff; border-radius: 22px; padding: 24px; box-shadow: 0 8px 22px rgba(18, 58, 36, .06); }
.hara-side__title { font-size: 1.5rem; color: var(--green); border-bottom: 2px solid var(--lime); padding-bottom: 8px; margin-bottom: 14px; }
.hara-side__list { display: flex; flex-direction: column; gap: 10px; }
.hara-side__list a { font-size: 1.4rem; color: var(--sub-ink); text-decoration: none; display: flex; justify-content: space-between; }
.hara-side__list a:hover { color: var(--green); }
.hara-side__recent a { display: block; text-decoration: none; }
.hara-side__recent a + a { margin-top: 14px; }
.hara-side__recent .hara-date { display: block; }
.hara-side__recent span.t { display: block; font-size: 1.35rem; color: var(--ink); line-height: 1.6; }

@media (max-width: 896px) {
  .hara-blog { grid-template-columns: 1fr; }
}

/* CMS ページネーション（<%page_link%> 出力）— デザインの角丸ページャー風（暫定） */
.hara-pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.hara-pager a,
.hara-pager span,
.hara-pager strong {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px; border-radius: 12px;
  font-family: "Mulish", sans-serif; font-weight: 700; text-decoration: none;
}
.hara-pager a { background: #fff; color: var(--sub-ink); box-shadow: 0 4px 12px rgba(18, 58, 36, .05); }
.hara-pager a:hover { background: var(--lime-soft); color: var(--green); }
.hara-pager .current,
.hara-pager strong,
.hara-pager a.current { background: var(--green); color: #fff; }

/* --------------------------------------------------------------------------
 * 記事詳細
 * ------------------------------------------------------------------------ */
.hara-entry__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.hara-entry__title { font-size: clamp(2.4rem, 3.4vw, 3.6rem); line-height: 1.5; margin-bottom: 24px; }
.hara-entry__hero { border-radius: 26px; overflow: hidden; aspect-ratio: 16 / 8; margin-bottom: 32px; }
.hara-entry__hero img { width: 100%; height: 100%; object-fit: cover; }
.hara-entry__body { font-size: 1.6rem; color: var(--sub-ink); line-height: 2.05; }
/* CMS埋め込み先spanをブロック化（本文HTML内のp/h2等が正しく流れるように） */
#cms-blog-entry-detail-2-area { display: block; }
.hara-entry__body img { max-width: 100%; height: auto; border-radius: 12px; }
.hara-entry__body h2 { font-size: 2.2rem; margin: 32px 0 14px; }
.hara-entry__body p { margin-bottom: 18px; }
.hara-entry__disclaimer { margin-top: 28px; padding: 18px 20px; background: var(--cream); border-radius: 16px; font-size: 1.3rem; color: var(--grey); }

/* --------------------------------------------------------------------------
 * お問い合わせフォーム
 * ------------------------------------------------------------------------ */
.hara-form-grid { display: grid; grid-template-columns: minmax(280px, 320px) 1fr; gap: clamp(24px, 3vw, 40px); align-items: start; }
.hara-form-side { display: flex; flex-direction: column; gap: 18px; }
.hara-form__label { display: block; }
.hara-form__label > span { display: block; font-family: "Zen Maru Gothic", sans-serif; font-weight: 500; font-size: 1.4rem; margin-bottom: 6px; color: var(--green-d); }
.hara-form__req { color: var(--lime); font-size: 1.2rem; margin-left: 4px; }
.hara-form__pref { background: var(--cream); border-radius: 18px; padding: 20px; }
.hara-form__pref-title { display: block; font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 1.45rem; color: var(--green); margin-bottom: 4px; }
.hara-form__pref-note { display: block; font-size: 1.2rem; color: var(--grey); margin-bottom: 14px; }
.hara-form__pref-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.hara-form__pref-row:last-child { margin-bottom: 0; }
.hara-form__pref-row span { min-width: 64px; font-size: 1.35rem; font-weight: 700; color: var(--green-d); }
.hara-form__errors { background: #fdeaea; border-radius: 14px; padding: 14px 18px; margin-bottom: 18px; font-size: 1.35rem; color: #a12b2b; }
.hara-formbox { display: flex; flex-direction: column; gap: 18px; }

/* お問い合わせ：上段(電話+アクセス) / 下段(フォーム全幅) */
.hara-contact { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 36px); }
.hara-contact__top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); align-items: stretch; }
.hara-contact__tel { display: flex; flex-direction: column; justify-content: center; }
.hara-contact__map { height: 220px; margin-top: 14px; }
@media (max-width: 639px) { .hara-contact__top { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
 * CMSフォーム（cms_ajax 出力）を現行デザインに寄せる（暫定・実出力で微調整）
 * ------------------------------------------------------------------------ */
#cms-contact-1-1-area input[type="text"],
#cms-contact-1-1-area input[type="email"],
#cms-contact-1-1-area input[type="tel"],
#cms-contact-1-1-area input[type="number"],
#cms-contact-1-1-area input[type="date"],
#cms-contact-1-1-area input[type="time"],
#cms-contact-1-1-area input[type="datetime-local"],
#cms-contact-1-1-area select,
#cms-contact-1-1-area textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #e4ddd0;
  border-radius: 14px;
  background: #faf9f8;
  font-family: inherit;
  font-size: 1.5rem;
  color: var(--ink);
  box-sizing: border-box;
}
#cms-contact-1-1-area textarea { min-height: 140px; resize: vertical; }
#cms-contact-1-1-area input:focus,
#cms-contact-1-1-area select:focus,
#cms-contact-1-1-area textarea:focus { outline: none; border-color: var(--green); }

/* ラベル */
#cms-contact-1-1-area th,
#cms-contact-1-1-area label,
#cms-contact-1-1-area dt {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  color: var(--green-d);
}

/* テーブル/dl レイアウトを縦積み（ラベル上・入力下）に */
#cms-contact-1-1-area table { width: 100%; border-collapse: collapse; }
#cms-contact-1-1-area table th,
#cms-contact-1-1-area table td { display: block; width: 100%; text-align: left; padding: 0; border: none; }
#cms-contact-1-1-area table th { margin: 16px 0 6px; }
#cms-contact-1-1-area table tr:first-child th { margin-top: 0; }

/* ラジオ/チェックは緑アクセント */
#cms-contact-1-1-area input[type="radio"],
#cms-contact-1-1-area input[type="checkbox"] { accent-color: var(--green); width: auto; }

/* 送信ボタン（現行の hara-btn--accent 相当のピル） */
#cms-contact-1-1-area button[type="submit"],
#cms-contact-1-1-area input[type="submit"],
#cms-contact-1-1-area input[type="button"],
#cms-contact-1-1-area .btn-submit {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; max-width: 100%;
  margin-top: 8px;
  background: var(--lime); color: var(--green-d);
  font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 1.7rem;
  border: none; border-radius: 999px; padding: 16px; cursor: pointer;
  box-shadow: 0 8px 20px rgba(142, 195, 31, .3);
  transition: background-color .25s ease, color .25s ease, transform .25s ease;
}
#cms-contact-1-1-area button[type="submit"]:hover,
#cms-contact-1-1-area input[type="submit"]:hover,
#cms-contact-1-1-area input[type="button"]:hover { background: var(--green); color: #fff; }

/* --------------------------------------------------------------------------
 * お問い合わせCTA帯（締め・全幅）
 * ------------------------------------------------------------------------ */
.hara-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-2) 100%);
}
.hara-cta::before {
  content: "";
  position: absolute; top: -40px; right: -30px;
  width: 220px; height: 220px; border-radius: 50%;
  background: var(--lime); opacity: .18;
}
.hara-cta__inner {
  position: relative; z-index: 1;
  padding: clamp(44px, 5vw, 72px) 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: clamp(24px, 4vw, 48px);
}
.hara-cta__lead { flex: 1; min-width: 280px; }
.hara-cta__title { color: #fff; font-size: clamp(2rem, 2.6vw, 2.7rem); line-height: 1.5; margin-top: 6px; }
.hara-cta__desc { color: #d8ecd8; margin-top: 14px; max-width: 32em; font-size: 1.55rem; }
.hara-cta__btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* --------------------------------------------------------------------------
 * フッター
 * ------------------------------------------------------------------------ */
.hara-footer__body { background: #eef3e5; padding: clamp(44px, 5vw, 60px) 0 26px; }
.hara-footer__logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; text-decoration: none; }
.hara-footer__logo img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; background: #fff; }
.hara-footer__logo span { font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 1.6rem; color: var(--green-d); }
.hara-footer__info { font-size: 1.35rem; line-height: 1.9; color: var(--sub-ink); margin-top: 10px; }
.hara-footer__note { font-size: 1.2rem; color: #6a7d6a; margin-top: 12px; }
.hara-footer__title { color: var(--green-d); font-size: 1.5rem; margin-bottom: 14px; }
.hara-footer__nav { display: flex; flex-direction: column; gap: 10px; }
.hara-footer__nav a { font-size: 1.4rem; color: var(--sub-ink); text-decoration: none; }
.hara-footer__nav a:hover { color: var(--green); }
.hara-footer__map { height: 150px; border-radius: 18px; }
.hara-footer__bottom { background: #e2ecd6; padding: 18px 0; text-align: center; }
.hara-footer__bottom .footer-bottom__copyright { color: #57694f; }

/* --------------------------------------------------------------------------
 * スクロールフェードイン
 * ------------------------------------------------------------------------ */
.hara-fade { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.hara-fade.is-inview { opacity: 1; transform: none; }

/* SP: 固定バー分の余白 & page-top位置調整 */
@media (max-width: 896px) {
  .page-top { bottom: 74px; }
  .hara-cta__btns .hara-btn { width: 100%; }
}
