@charset "UTF-8";
/* =========================================================
   bandai-yachiyo-theme メインスタイル（自己完結型）
   万代八千代司法書士事務所（代表 司法書士 増田貴瞭／新潟市中央区）
   配色：緑 #2f855a（ブランド主役）× 白 #ffffff
         構造帯＝深い森グリーン #1c3d2e（紺の役割）／差し色に茶 #94714a
   ※「渋くなりすぎないように」との要望に合わせ、明るめの緑＋余白広めで親しみやすく。
   ======================================================= */

:root {
	--navy: #1c3d2e;         /* 濃色帯・見出し・フッター・表ヘッダ（深い森グリーン＝紺の役割） */
	--navy-d: #142c21;       /* さらに濃い帯（フッター・グラデ端） */
	--navy-l: #35604a;       /* 明るめの深緑（ヒーロー帯グラデ端） */
	--accent: #2f855a;       /* ブランド主役色＝緑（CTA・アイコン・ボーダー・強調） */
	--accent-d: #276749;     /* 緑 ダーク（ホバー） */
	--accent-l: #8fd0ac;     /* 緑 ライト（濃色背景上の強調テキスト） */
	--brown: #94714a;        /* 差し色＝茶（英字ラベル・アイキャッチの温かみ） */
	--brown-l: #c8a878;      /* 茶 ライト（濃色背景上） */
	--red: #c0392b;          /* フォーム必須・エラーの注意色 */
	--ink: #26302b;          /* 本文（深いグリーングレー） */
	--gray: #5f6b64;         /* 補助テキスト */
	--line: #e2eae4;         /* 区切り線・枠 */
	--bg: #ffffff;
	--bg-alt: #f2f8f4;       /* 薄色セクション背景（緑由来のごく淡いグリーン） */
	--bg-soft: #e2efe7;
	--maxw: 1120px;
	--radius: 10px;
	--shadow: 0 10px 30px rgba(28,61,46,.12);
	--shadow-sm: 0 4px 14px rgba(28,61,46,.09);
	--serif: "Noto Serif JP", serif;
	--sans: "Noto Sans JP", sans-serif;
}

/* ---------- リセット・基本 ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--sans);
	color: var(--ink);
	background: var(--bg);
	line-height: 1.85;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: .25s; }
a:hover { color: var(--accent); }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.5; margin: 0; font-weight: 600; }
.container { width: 92%; max-width: var(--maxw); margin: 0 auto; }
.icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- ボタン ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	gap: .5em; padding: 14px 28px; border-radius: var(--radius);
	font-weight: 700; font-size: 15px; text-align: center;
	transition: .25s; cursor: pointer; line-height: 1.4;
	-webkit-appearance: none; appearance: none; border: none; font-family: var(--sans);
}
.btn-cta { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(47,133,90,.30); }
.btn-cta:hover { background: var(--accent-d); color: #fff; transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-d); color: #fff; transform: translateY(-2px); }
.btn-outline { border: 1.5px solid var(--navy); color: var(--navy); background: #fff; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { border: 1.5px solid #fff; color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-lg { padding: 17px 34px; font-size: 16px; }

/* ---------- 画像プレースホルダ（後から差し替え用） ---------- */
.img-ph {
	position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 10px; background: repeating-linear-gradient(45deg,#eef4f0,#eef4f0 14px,#e6efe9 14px,#e6efe9 28px);
	border: 1px dashed #a9c4b5; border-radius: var(--radius); color: #7d9689;
	font-size: 13px; font-weight: 700; text-align: center; padding: 16px; overflow: hidden;
}
.img-ph-icon { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #a9c4b5; position: relative; }
.img-ph-icon::before { content: ""; position: absolute; inset: 0; margin: auto; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #a9c4b5; top: -4px; left: 8px; }
.img-ph-icon::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: 6px; height: 9px; background: #a9c4b5; clip-path: polygon(0 100%, 35% 30%, 60% 70%, 80% 45%, 100% 100%); }
.img-ph-label { line-height: 1.5; }
.img-ph-16x9 { aspect-ratio: 16/9; }
.img-ph-4x3  { aspect-ratio: 4/3; }
.img-ph-1x1  { aspect-ratio: 1/1; }
.img-ph-3x4  { aspect-ratio: 3/4; }
.img-ph-wide { aspect-ratio: 21/9; }
/* 実写真フレーム（object-fitで枠に合わせてトリミング） */
.photo-frame { overflow: hidden; border-radius: var(--radius); background: var(--bg-alt); }
.photo-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.attorney-feature .photo-frame img, .attorney-profile .photo-frame img { object-position: center center; }
.photo-frame-16x9 { aspect-ratio: 16/9; }
.photo-frame-4x3  { aspect-ratio: 4/3; }
.photo-frame-1x1  { aspect-ratio: 1/1; }
.photo-frame-3x4  { aspect-ratio: 3/4; }

/* ---------- ヘッダー ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(28,61,46,.10); }
.header-inner { display: flex; align-items: stretch; gap: 22px; min-height: 82px; width: 96%; max-width: 1360px; margin: 0 auto; }
.site-brand { display: flex; align-items: center; }
.brand-link { display: flex; flex-direction: column; line-height: 1.2; }
.brand-en { font-size: 10px; color: var(--brown); letter-spacing: .12em; font-weight: 700; text-transform: uppercase; }
.brand-name { font-family: var(--serif); font-size: 21px; font-weight: 700; color: var(--navy); letter-spacing: .02em; }
.brand-kana { font-size: 10px; color: var(--gray); letter-spacing: .1em; }
.global-nav { margin-left: auto; display: flex; align-items: center; }
.global-nav-list { display: flex; gap: 22px; }
.global-nav-list a { font-size: 14.5px; font-weight: 500; color: var(--navy); position: relative; padding: 8px 0; }
.global-nav-list a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--accent); transition: .25s; }
.global-nav-list a:hover::after { width: 100%; }
.header-tel { display: flex; align-items: center; }
.header-tel-link { display: flex; align-items: center; gap: 9px; color: var(--navy); }
.header-tel-ico { width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; }
.header-tel-body { display: flex; flex-direction: column; line-height: 1.15; }
.header-tel-num { font-family: var(--serif); font-size: 22px; font-weight: 700; letter-spacing: .01em; }
.header-tel-note { font-size: 11px; color: var(--gray); }
.header-contact-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; background: var(--accent); color: #fff; width: 92px; font-size: 12px; font-weight: 700; transition: .25s; }
.header-contact-btn:hover { background: var(--accent-d); color: #fff; }

/* ハンバーガー */
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; align-self: center; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: .3s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* SPナビ */
.sp-nav { position: fixed; inset: 0; z-index: 90; background: var(--navy); color: #fff; padding: 96px 8% 40px; overflow-y: auto; }
.sp-nav-list { display: flex; flex-direction: column; }
.sp-nav-list a { display: block; color: #fff; font-size: 18px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.sp-nav-cta { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }

/* ---------- セクション共通 ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; margin-bottom: 48px; }
.section-eyebrow { color: var(--brown); font-family: var(--serif); letter-spacing: .25em; font-size: 13px; font-weight: 600; margin: 0 0 10px; text-transform: uppercase; }
.section-title { font-size: 30px; color: var(--navy); }
.section-title .em { color: var(--accent); }
.section-title-bar { display: block; width: 40px; height: 3px; background: var(--accent); border-radius: 2px; margin: 16px auto 0; }
.section-desc { margin-top: 14px; color: var(--gray); }
.section-action { text-align: center; margin-top: 40px; }

/* ---------- ページヘッダー（濃緑＋和柄ドット装飾） ---------- */
.page-hero { position: relative; background: linear-gradient(120deg, var(--navy-d), var(--navy-l)); color: #fff; padding: 70px 0; text-align: center; overflow: hidden; }
.page-hero-deco { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); width: 170px; height: 170px; opacity: .5;
	background-image: radial-gradient(rgba(255,255,255,.18) 2px, transparent 2px);
	background-size: 20px 20px; }
.page-hero-inner { position: relative; z-index: 1; }
.page-hero-en { display: block; font-family: var(--serif); letter-spacing: .2em; font-size: 12px; color: var(--accent-l); margin-bottom: 8px; text-transform: uppercase; }
.page-hero-title { position: relative; z-index: 1; font-size: 32px; letter-spacing: .04em; }

/* =========================================================
   FV（ヒーロー：写真＋緑オーバーレイ＋コピー自動生成）
   ======================================================= */
.hero { position: relative; min-height: clamp(480px, 74vh, 720px); display: flex; align-items: center; overflow: hidden; background: var(--navy-d); }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: 66% center; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background:
	linear-gradient(to right, rgba(20,44,33,.86) 0%, rgba(20,44,33,.66) 42%, rgba(20,44,33,.28) 72%, rgba(20,44,33,.12) 100%); }
.hero-inner { position: relative; z-index: 3; color: #fff; padding: 72px 0; }
.hero-eyebrow { font-family: var(--serif); letter-spacing: .14em; font-size: 14px; color: var(--accent-l); font-weight: 600; margin: 0 0 18px; }
.hero-title { font-family: var(--serif); font-size: clamp(26px, 4.2vw, 44px); line-height: 1.6; color: #fff; font-weight: 700; margin: 0 0 22px; text-shadow: 0 2px 20px rgba(0,0,0,.3); max-width: 17em; }
.hero-title .em { color: var(--accent-l); }
.hero-lead { font-size: clamp(15px, 2.1vw, 18px); line-height: 1.95; color: #eef4f0; margin: 0 0 34px; max-width: 540px; }
/* FVリード文内の業務ワード＝各取扱業務へジャンプする強調リンク */
.hero-lead-link { color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent-l); text-decoration-thickness: 2px; text-underline-offset: 5px; padding: 0 .12em; transition: color .2s, background .2s; }
.hero-lead-link:hover, .hero-lead-link:focus-visible { color: var(--navy); background: var(--accent-l); border-radius: 4px; text-decoration-color: transparent; outline: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 30px; }
.hero-btn { display: inline-flex; align-items: center; gap: 12px; padding: 16px 30px; border-radius: var(--radius); font-weight: 700; font-size: 16px; transition: .25s; }
.hero-btn .icon { flex: none; }
.hero-btn-txt { display: flex; flex-direction: column; line-height: 1.25; text-align: left; }
.hero-btn-txt small { font-size: 12.5px; font-weight: 600; opacity: .92; }
.hero-btn-tel { background: #fff; color: var(--navy); box-shadow: var(--shadow); }
.hero-btn-tel:hover { color: var(--accent-d); transform: translateY(-2px); }
/* メール・LINE相談CTA＝緑背景に埋もれないよう、補色系のオレンジで強調 */
.hero-btn-mail { background: #f07d1a; color: #fff; box-shadow: 0 8px 22px rgba(240,125,26,.5); }
.hero-btn-mail:hover { background: #db6a0c; color: #fff; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(240,125,26,.6); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-tags li { border: 1px solid rgba(255,255,255,.5); border-radius: 999px; padding: 6px 18px; font-size: 13.5px; font-weight: 600; color: #fff; }
/* タブレット・スマホ：上部＝写真＋見出し（人物の左に重ねる）／下部＝緑パネルに本文・CTA */
@media (max-width: 980px) {
	.hero { display: block; min-height: 0; background: var(--navy-d); position: relative; --hero-img-h: clamp(300px, 66vw, 440px); }
	/* 上部の写真（背景として敷く） */
	.hero-bg { position: absolute; top: 0; left: 0; right: 0; height: var(--hero-img-h); background-position: 82% center; }
	/* 写真左側のスクリム（見出しの可読性確保） */
	.hero-overlay { display: block; position: absolute; top: 0; left: 0; right: 0; height: var(--hero-img-h); z-index: 1; background: linear-gradient(100deg, rgba(20,44,33,.9) 0%, rgba(20,44,33,.66) 38%, rgba(20,44,33,.22) 64%, transparent 86%); }
	.hero-inner { position: relative; z-index: 3; padding: 0; }
	/* 見出し＝写真の上・左寄せ・縦中央。人物の顔にかからないよう幅を制限 */
	.hero-head { height: var(--hero-img-h); display: flex; flex-direction: column; justify-content: center; max-width: 62%; }
	.hero-head .hero-eyebrow { margin: 0 0 10px; font-size: 11.5px; letter-spacing: .08em; }
	.hero-head .hero-title { max-width: none; margin: 0; font-size: clamp(13px, 3.5vw, 24px); line-height: 1.55; }
	/* 下部＝緑パネル（説明文・ボタン・タグ） */
	.hero-body { padding: 28px 0 36px; }
	.hero-body .hero-lead { max-width: none; }
	.hero-actions { flex-direction: column; align-items: stretch; max-width: 440px; }
	.hero-btn { justify-content: center; }
	.hero-btn-txt { text-align: center; }
}

/* ---------- お悩み（チェックリスト） ---------- */
.worries-box { max-width: 900px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 30px 36px; }
.worries-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; }
.worries-list li { position: relative; padding-left: 30px; font-weight: 500; color: var(--navy); }
.worries-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border: 2px solid var(--accent); border-radius: 3px; }
.worries-list li::after { content: ""; position: absolute; left: 5px; top: 7px; width: 9px; height: 5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.worries-arrow { text-align: center; margin: 26px 0 0; }
.worries-arrow p { display: inline-block; margin: 0; font-size: 18px; font-weight: 700; color: var(--navy); }
.worries-arrow .em { color: var(--accent); }
.worries-arrow::before { content: "▼"; display: block; color: var(--accent); margin-bottom: 14px; }

/* ---------- 代表メッセージ（想い） ---------- */
.message-wrap { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: center; max-width: 1000px; margin: 0 auto; }
.message-title { font-family: var(--serif); font-size: clamp(20px, 3vw, 27px); line-height: 1.6; color: var(--navy); margin: 0 0 24px; }
.message-body p { margin: 0 0 16px; font-size: 15px; }
.message-sign { margin-top: 24px; font-size: 14px; color: var(--gray); }
.message-sign strong { font-family: var(--serif); font-size: 19px; color: var(--navy); font-weight: 600; margin-left: 6px; }
.message-photo .photo-frame { box-shadow: var(--shadow); }
@media (max-width: 860px) {
	.message-wrap { grid-template-columns: 1fr; gap: 30px; }
	.message-photo { max-width: 380px; margin: 0 auto; }
}

/* ---------- 選ばれる理由（画像＋番号） ---------- */
.reasons-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(324px, 1fr)); gap: 26px; }
.reason-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.reason-card .img-ph { border: 0; border-bottom: 1px dashed #a9c4b5; border-radius: 0; }
.reason-card .photo-frame { border-radius: 0; }
.reason-card.no-photo .reason-body { padding-top: 40px; }
.reason-body { padding: 26px 18px 28px; position: relative; }
.reason-no { font-family: var(--serif); font-size: 13px; font-weight: 700; color: #fff; background: var(--accent); padding: 3px 12px; border-radius: 3px; position: absolute; top: -14px; left: 24px; }
.reason-card.no-photo .reason-no { top: 18px; }
.reason-title { color: var(--navy); font-size: 16px; letter-spacing: -.02em; margin: 8px 0 12px; line-height: 1.5; }
.reason-text { color: var(--gray); font-size: 14px; margin: 0; }

/* ---------- 取扱業務（アイコンナビ＋大セクション） ---------- */
html { scroll-behavior: smooth; }
.focus-section, #contact-form, #soudan-methods, #access { scroll-margin-top: 92px; }
/* テキスト内の強調（例：24時間）※下線なし・色＋太字のみ */
.txt-hl { color: var(--accent-d); font-weight: 700; }
.focus-nav { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; }
.focus-nav-item { display: flex; flex-direction: column; align-items: center; gap: 12px; height: 100%; padding: 26px 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--navy); text-align: center; transition: .25s; }
.focus-nav-item:hover { border-color: var(--accent); background: var(--accent); color: #fff; transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.focus-nav-ico { width: 62px; height: 62px; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--accent); border-radius: 50%; color: var(--accent); transition: .25s; }
.focus-nav-item:hover .focus-nav-ico { border-color: #fff; color: #fff; }
.focus-nav-label { font-size: 15px; font-weight: 700; line-height: 1.4; }
.focus-nav-price { font-size: 12px; color: var(--brown); font-weight: 700; }
.focus-nav-item:hover .focus-nav-price { color: #fff; }
/* 大セクション（アイコン＋本文＋対応内容＋相談CTA） */
.focus-grid { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.focus-emblem { display: flex; flex-direction: column; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 36px 24px; text-align: center; }
.focus-emblem-ico { width: 88px; height: 88px; border-radius: 50%; background: var(--bg-alt); border: 2px solid var(--accent); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.focus-emblem-label { font-family: var(--serif); font-size: 20px; color: var(--navy); font-weight: 700; }
.focus-emblem-target { font-size: 12.5px; color: var(--gray); }
.focus-emblem-price { margin-top: 4px; font-size: 13px; color: var(--brown); font-weight: 700; border-top: 1px dashed var(--line); padding-top: 12px; width: 100%; }
.focus-emblem-price strong { display: block; font-family: var(--serif); font-size: 20px; color: var(--accent-d); }
.focus-title { font-family: var(--serif); font-size: 25px; line-height: 1.5; color: var(--navy); margin: 0 0 20px; padding-bottom: 16px; border-bottom: 2px solid var(--accent); }
.focus-para { font-size: 15px; line-height: 1.95; margin: 0 0 16px; }
.focus-items { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; }
.focus-items li { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-size: 13.5px; font-weight: 500; color: var(--navy); }
/* 相談CTA（電話＝緑／メール＝緑アウトライン／LINE＝LINE緑） */
.consult-cta { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.consult-cta-head { font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--navy); text-align: center; margin: 0 0 16px; }
.consult-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.cbtn { flex: 1 1 0; min-width: 150px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 15px 16px; border-radius: var(--radius); font-weight: 700; font-size: 15px; line-height: 1.25; border: 2px solid transparent; transition: .25s; }
.cbtn .icon { flex: none; }
.cbtn-txt { display: flex; flex-direction: column; }
.cbtn-txt small { font-size: 12px; font-weight: 600; opacity: .92; }
.cbtn-tel { background: var(--accent); color: #fff; }
.cbtn-tel:hover { background: var(--accent-d); color: #fff; }
.cbtn-mail { background: #fff; color: var(--accent-d); border-color: var(--accent); }
.cbtn-mail:hover { background: var(--accent); color: #fff; }
.cbtn-line { background: #06c755; color: #fff; }
.cbtn-line:hover { background: #05b34c; color: #fff; }
@media (max-width: 980px) {
	.focus-nav { grid-template-columns: repeat(3, 1fr); }
	.focus-grid { grid-template-columns: 1fr; gap: 26px; }
	.focus-emblem { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; text-align: left; max-width: 100%; }
	.focus-emblem-price { width: auto; border-top: 0; border-left: 1px dashed var(--line); padding: 0 0 0 18px; margin-left: auto; }
}
@media (max-width: 600px) {
	.focus-nav { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.focus-nav-item { padding: 18px 8px; }
	.focus-nav-ico { width: 52px; height: 52px; }
	.focus-nav-label { font-size: 13.5px; }
	.consult-btns { flex-direction: column; }
	.cbtn { width: 100%; flex: none; }
}

/* ---------- 代表紹介（トップ・写真） ---------- */
.attorney-feature { display: grid; grid-template-columns: 340px 1fr; gap: 44px; align-items: center; max-width: 980px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 36px 44px; }
.attorney-feature .img-ph { min-height: 320px; }
.attorney-feature-role { display: inline-block; background: var(--bg-alt); color: var(--accent-d); font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 999px; margin-bottom: 12px; }
.attorney-feature-name { font-family: var(--serif); font-size: 26px; color: var(--navy); margin: 0 0 4px; }
.attorney-feature-name small { font-size: 14px; color: var(--gray); font-weight: 400; margin-left: 8px; }
.attorney-feature-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.attorney-feature-tags li { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: 12.5px; color: var(--navy); font-weight: 500; }
.attorney-feature-text { font-size: 14.5px; margin: 0 0 22px; }

/* ---------- お客様の声（一言カード） ---------- */
.voices-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; max-width: 960px; margin: 0 auto; }
.voice-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 30px 26px; text-align: center; position: relative; }
.voice-card::before { content: "“"; font-family: var(--serif); font-size: 54px; line-height: 1; color: var(--bg-soft); display: block; margin-bottom: 6px; }
.voice-text { font-family: var(--serif); font-size: 17px; color: var(--navy); font-weight: 600; margin: 0; line-height: 1.6; }

/* ---------- 経営理念（2カード） ---------- */
.philosophy-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 1000px; margin: 0 auto; }
.philo-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 34px 32px; }
.philo-head { font-family: var(--serif); font-size: 20px; color: var(--navy); line-height: 1.55; margin: 0 0 16px; }
.philo-text { font-size: 14.5px; color: var(--gray); margin: 0; }
@media (max-width: 760px) { .philosophy-cards { grid-template-columns: 1fr; } }

/* ---------- 流れ（タイムライン円） ---------- */
.flow-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; position: relative; }
.flow-step { position: relative; text-align: center; padding: 0 18px; }
.flow-step::before { content: ""; position: absolute; top: 18px; left: 50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.flow-step:last-child::before { display: none; }
.flow-dot { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 700; color: var(--accent-d); }
.flow-step-title { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.flow-step-text { font-size: 13.5px; color: var(--gray); margin: 0; text-align: left; }
.flow-step.is-goal .flow-dot { background: var(--accent); border-color: var(--accent); color: #fff; }
.flow-step.is-goal .flow-step-title { color: var(--accent-d); }
.flow-intro { text-align: center; margin: 0 auto 40px; max-width: 720px; color: var(--gray); }
.flow-intro .em { color: var(--navy); font-weight: 700; }
@media (max-width: 640px) {
	.flow-steps { grid-template-columns: 1fr; gap: 22px; }
	.flow-step::before { display: none; }
	.flow-step-text { text-align: center; }
}

/* ---------- 強み（事務所情報） ---------- */
.strengths-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.strength-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px; box-shadow: var(--shadow-sm); position: relative; }
.strength-no { font-family: var(--serif); font-size: 38px; color: var(--bg-soft); font-weight: 700; position: absolute; top: 18px; right: 22px; }
.strength-title { color: var(--navy); font-size: 18px; margin-bottom: 14px; padding-top: 6px; border-left: 3px solid var(--accent); padding-left: 12px; }
.strength-text { font-size: 14px; color: var(--gray); margin: 0; }

/* ---------- 概要テーブル・アクセス ---------- */
.info-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); }
.info-table th, .info-table td { text-align: left; padding: 16px 22px; border-bottom: 1px solid var(--line); font-size: 14.5px; vertical-align: top; }
.info-table th { background: var(--navy); color: #fff; font-weight: 700; width: 30%; white-space: nowrap; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.info-table td a { color: var(--accent-d); }
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.access-info { margin: 0; }
.access-info > div { display: grid; grid-template-columns: 100px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.access-info dt { color: var(--navy); font-weight: 700; font-size: 14px; }
.access-info dd { margin: 0; color: var(--ink); font-size: 14.5px; }
.access-map iframe { border-radius: var(--radius); box-shadow: var(--shadow-sm); display: block; }

/* ---------- 料金 ---------- */
.fee-intro { max-width: 900px; margin: 0 auto 40px; text-align: center; color: var(--gray); }
.fee-block { max-width: 900px; margin: 0 auto 40px; }
.fee-block-title { font-family: var(--serif); font-size: 20px; color: var(--navy); margin: 0 0 16px; display: flex; align-items: center; gap: 12px; }
.fee-block-title::before { content: ""; width: 6px; height: 22px; background: var(--accent); border-radius: 3px; }
.fee-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); }
.fee-table th, .fee-table td { text-align: left; padding: 18px 24px; border-bottom: 1px solid var(--line); vertical-align: top; }
.fee-table th { background: var(--bg-alt); color: var(--navy); font-weight: 700; width: 30%; font-size: 15px; }
.fee-table td { font-size: 14.5px; }
.fee-table td .fee-price { font-family: var(--serif); font-weight: 700; color: var(--accent-d); font-size: 19px; display: block; }
.fee-table td .fee-sub { color: var(--gray); font-size: 13px; }
.fee-table tr:last-child th, .fee-table tr:last-child td { border-bottom: 0; }
.fee-notes { max-width: 900px; margin: 24px auto 0; background: var(--bg-alt); border-radius: var(--radius); padding: 22px 26px; }
.fee-notes li { position: relative; padding-left: 22px; font-size: 14px; color: var(--gray); margin-bottom: 10px; }
.fee-notes li:last-child { margin-bottom: 0; }
.fee-notes li::before { content: "※"; position: absolute; left: 0; color: var(--accent-d); font-weight: 700; }

/* ---------- お問い合わせ（相談方法カード＋フォーム） ---------- */
.contact-ways { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
/* 相談方法4種（電話・メール・LINE・来所） */
.contact-ways.contact-ways-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .contact-ways.contact-ways-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .contact-ways.contact-ways-4 { grid-template-columns: 1fr; } }
.contact-way-ico-line { background: #06c755 !important; }
.btn-line { background: #06c755; color: #fff; }
.btn-line:hover { background: #05b34c; color: #fff; transform: translateY(-2px); }
.contact-way { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 36px 26px; text-align: center; }
.contact-way-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.contact-way-ico .icon { width: 28px; height: 28px; }
.contact-way-title { font-size: 19px; color: var(--navy); margin-bottom: 12px; }
.contact-way-text { font-size: 14px; color: var(--gray); margin: 0 0 18px; }
.contact-way-tel { font-family: var(--serif); font-size: 24px; font-weight: 700; color: var(--navy); }
.contact-way-note { font-size: 12.5px; color: var(--gray); margin: 16px 0 0; }
.contact-form-area { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 40px; box-shadow: var(--shadow-sm); }
.form-pending-note { font-size: 13px; color: var(--accent-d); background: #eef7f1; border: 1px solid #bfe0cd; border-radius: 6px; padding: 12px 16px; margin: 0 0 24px; }
.form-row { margin-bottom: 22px; }
.form-row label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 8px; font-size: 14.5px; }
.form-row .req { background: var(--red); color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 3px; margin-left: 8px; }
.form-row .opt { background: var(--bg-soft); color: var(--gray); font-size: 11px; padding: 2px 8px; border-radius: 3px; margin-left: 8px; }
.form-row input, .form-row select, .form-row textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 6px; font-family: inherit; font-size: 15px; background: #fdfefd; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47,133,90,.12); }
.form-consent { background: var(--bg-alt); border-radius: 8px; padding: 16px 20px; margin-bottom: 8px; font-size: 13.5px; color: var(--gray); }
.form-consent a { color: var(--accent-d); text-decoration: underline; }
.form-submit { text-align: center; margin-top: 28px; }
.static-form .btn[disabled] { opacity: .6; cursor: not-allowed; }

/* Contact Form 7 */
.contact-form-area .wpcf7-form-control-wrap { display: block; }
.contact-form-area input.wpcf7-form-control:not(.wpcf7-submit),
.contact-form-area select.wpcf7-form-control,
.contact-form-area textarea.wpcf7-form-control { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 6px; font-family: inherit; font-size: 15px; background: #fdfefd; }
.contact-form-area input.wpcf7-submit { width: auto; }
.contact-form-area input.wpcf7-submit.btn-cta { background: var(--accent); color: #fff; border: 0; border-radius: var(--radius); padding: 16px 40px; font-weight: 700; }
.js-other-row { display: none; }
.wpcf7-not-valid-tip { color: var(--red); font-size: 13px; margin-top: 6px; font-weight: 700; }
.wpcf7-response-output { border-radius: 8px; padding: 14px 18px !important; margin: 20px 0 0 !important; font-size: 14px; }
.wpcf7-form.sent .wpcf7-response-output { border: 1px solid #a9d6c0 !important; background: #f0f9f5; color: #1e7a52; }

/* ---------- 代表紹介ページ ---------- */
.attorney-profile { display: grid; grid-template-columns: 320px 1fr; gap: 44px; align-items: start; max-width: 980px; margin: 0 auto 50px; }
.attorney-profile .img-ph, .attorney-profile .photo-frame { min-height: 400px; position: sticky; top: 110px; }
.profile-block { margin-bottom: 40px; }
.profile-block:last-child { margin-bottom: 0; }
.block-title { font-size: 21px; color: var(--navy); border-bottom: 2px solid var(--navy); padding-bottom: 10px; margin-bottom: 20px; }
.greeting-full p { margin: 0 0 18px; }
.greeting-name { font-family: var(--serif); font-size: 20px; color: var(--navy); font-weight: 600; }
.career-list { margin: 0; }
.career-row { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.career-row dt { color: var(--brown); font-weight: 700; font-size: 14px; }
.career-row dd { margin: 0; font-size: 15px; }
.fields-list { display: flex; flex-wrap: wrap; gap: 10px; }
.fields-list li { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; font-size: 14px; font-weight: 500; color: var(--navy); }

/* ---------- FAQ（アコーディオン） ---------- */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-q { display: flex; gap: 12px; align-items: flex-start; width: 100%; text-align: left; background: #fff; border: 0; cursor: pointer; padding: 20px 24px; font-family: var(--sans); font-size: 16px; font-weight: 700; color: var(--navy); line-height: 1.6; }
.faq-q::before { content: "Q"; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--serif); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.faq-q .faq-mark { margin-left: auto; flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.faq-q .faq-mark::before, .faq-q .faq-mark::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; }
.faq-q .faq-mark::before { left: 0; top: 10px; width: 22px; height: 2px; }
.faq-q .faq-mark::after { left: 10px; top: 0; width: 2px; height: 22px; transition: .3s; }
.faq-item.is-open .faq-mark::after { transform: rotate(90deg); opacity: 0; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a-body { display: flex; gap: 12px; align-items: flex-start; padding: 0 24px 22px; color: var(--ink); font-size: 14.5px; }
.faq-a-body::before { content: "A"; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--serif); display: flex; align-items: center; justify-content: center; font-size: 15px; }

/* ---------- 末尾CTA ---------- */
.cta-section { background: linear-gradient(120deg, var(--navy-d), var(--navy-l)); color: #fff; padding: 70px 0; }
.cta-inner { text-align: center; }
.cta-title { font-size: 30px; margin-bottom: 18px; }
.cta-text { margin: 0 0 28px; color: #dcece4; }
.cta-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 30px; max-width: 760px; margin: 0 auto; position: relative; box-shadow: var(--shadow); }
.cta-card-tag { display: inline-block; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 4px; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.cta-actions { display: flex; gap: 20px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.cta-tel { display: flex; align-items: center; gap: 10px; color: var(--navy); }
.cta-tel-ico { width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; }
.cta-tel-body { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.cta-tel-num { font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--navy); }
.cta-tel-note { font-size: 12px; color: var(--gray); }
.cta-form-btn { white-space: nowrap; }
@media (max-width: 600px) { .cta-actions { flex-direction: column; } }

/* ---------- フッター ---------- */
.site-footer { background: var(--navy-d); color: #bcd0c5; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; padding: 56px 0 40px; flex-wrap: wrap; }
.footer-name { font-family: var(--serif); font-size: 22px; color: #fff; margin: 0 0 4px; }
.footer-en { font-size: 11px; letter-spacing: .1em; color: var(--brown-l); margin: 0 0 14px; }
.footer-meta { font-size: 13px; line-height: 1.8; margin: 0; }
.footer-nav { display: flex; gap: 56px; }
.footer-nav-list li { margin-bottom: 12px; }
.footer-nav-list a { color: #bcd0c5; font-size: 14px; position: relative; padding-left: 14px; }
.footer-nav-list a::before { content: "›"; position: absolute; left: 0; color: var(--accent-l); }
.footer-nav-list a:hover { color: #fff; }
.footer-note { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; }
.footer-disclaimer { font-size: 12px; color: #93a89b; margin: 0 0 6px; }
.copyright { font-size: 12.5px; color: #93a89b; margin: 0; }

/* ---------- SP固定CTAバー ---------- */
.sp-fixed-cta { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; }
.sp-fixed-cta a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 6px; color: #fff; font-weight: 700; font-size: 15px; }
.sp-fixed-tel { background: var(--navy); }
.sp-fixed-mail { background: var(--accent); }
.sp-fixed-txt { display: flex; flex-direction: column; line-height: 1.2; }
.sp-fixed-txt small { font-size: 10px; font-weight: 500; opacity: .9; }

/* ---------- 出現アニメーション ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 汎用ページ・お知らせ ---------- */
.page-section { padding: 72px 0; }
.narrow { max-width: 880px; margin: 0 auto; }
.policy { color: var(--ink); line-height: 1.9; }
.policy-lead { margin-bottom: 34px; }
.policy-title { font-family: var(--serif); font-size: 20px; color: var(--navy); margin: 36px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.policy p { margin: 0 0 14px; }
.policy-list { margin: 0 0 14px; padding-left: 1.4em; list-style: disc; }
.policy-list li { margin-bottom: 6px; }
.policy-date { margin-top: 34px; color: var(--gray); font-size: 14px; text-align: right; }
.wp-content h2 { font-size: 22px; color: var(--navy); margin: 32px 0 14px; }
.wp-content p { margin: 0 0 16px; }
.wp-content a { color: var(--accent-d); text-decoration: underline; }

.news-list { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.news-item { border-bottom: 1px solid var(--line); }
.news-link { display: flex; align-items: baseline; gap: 24px; padding: 20px 8px; transition: .2s; }
.news-link:hover { background: var(--bg-alt); }
.news-date { font-family: var(--serif); color: var(--brown); font-weight: 700; font-size: 14px; flex: none; width: 96px; }
.news-title { color: var(--ink); font-size: 15.5px; font-weight: 500; }
.news-link:hover .news-title { color: var(--accent-d); }
.news-single-head { border-bottom: 2px solid var(--accent); padding-bottom: 20px; margin-bottom: 28px; }
.news-single-date { font-family: var(--serif); color: var(--brown); font-weight: 700; font-size: 14px; margin-right: 12px; }
.news-single-title { font-size: clamp(22px, 3.4vw, 30px); color: var(--navy); line-height: 1.5; margin: 14px 0 0; }
.news-single-body { color: var(--ink); line-height: 1.95; }
.news-single-body p { margin: 0 0 18px; }
.news-single-nav { text-align: center; margin-top: 44px; }
@media (max-width: 600px) {
	.news-link { flex-direction: column; gap: 4px; }
	.news-date { width: auto; }
}

/* =========================================================
   レスポンシブ
   ======================================================= */
@media (max-width: 1080px) {
	.global-nav-list { gap: 15px; }
	.global-nav-list a { font-size: 13.5px; }
	.header-tel-num { font-size: 20px; }
}
@media (max-width: 980px) {
	.global-nav, .header-tel { display: none; }
	.header-contact-btn { display: none; }
	.nav-toggle { display: flex; margin-left: auto; }
	.header-inner { min-height: 64px; }
	.strengths-grid, .voices-grid { grid-template-columns: 1fr 1fr; }
	.access-grid { grid-template-columns: 1fr; }
	.attorney-feature { grid-template-columns: 1fr; }
	.attorney-profile { grid-template-columns: 1fr; }
	.attorney-profile .img-ph, .attorney-profile .photo-frame { position: static; max-width: 320px; }
}
@media (max-width: 760px) {
	.contact-ways { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	body { font-size: 15px; padding-bottom: 60px; }
	.section { padding: 56px 0; }
	.section-title { font-size: 24px; }
	.page-hero-title { font-size: 25px; }
	.worries-list { grid-template-columns: 1fr; }
	.strengths-grid, .voices-grid { grid-template-columns: 1fr; }
	.worries-box, .contact-form-area { padding: 24px 20px; }
	.footer-inner { flex-direction: column; gap: 28px; }
	.footer-nav { gap: 36px; }
	.sp-fixed-cta { display: flex; }
	.fee-table th { width: 38%; }
	.info-table th { width: 36%; }
	.attorney-feature { padding: 28px 22px; }
}
