@charset "UTF-8";
/* ==========================================================
   杏法務事務所様 下層ページ共通（2026-011）
   ヘッダー・パンくず・見出し帯・最後の相談・フッターなど、下層ページ全部で使う見た目。
   ページごとの見た目は lower/<ページ>.css。セクションごとに並べている（下の目次）
   ========================================================== */

/* 目次
   1. 共通（色・文字・ボタンなど、複数のセクションで使うもの）
   2. ヘッダー・SPの開閉メニュー（ロゴ・メニュー・ハンバーガー）
   3. パンくず
   4. 見出し帯（ページ名）
   5. 本文まわり（ページごとの見た目は lower/<ページ>.css）
   6. 最後の相談ボタン
   7. フッター
   8. SPの画面下の追従ボタン
*/

/* ==========================================================
   1. 共通（色・文字・ボタンなど、複数のセクションで使うもの）
   ========================================================== */
:root { --orange: #F46A00; --orange-soft: #FEEED7; --green: #0DBC0D; --cream: #F8F6F3; --marker: #F8F98E; --ink: #333; --sub: #777; --line: #E6E0D8; }
* { box-sizing: border-box; }
html { scroll-padding-top: 68px; }
body { margin: 0px; font-family: "Hiragino Sans", "Noto Sans JP", sans-serif; color: var(--ink); background: rgb(255, 255, 255); line-height: 1.75; font-size: 15px; }
.wrap { max-width: 1080px; margin: 0px auto; padding: 0px 16px; }
section { padding: 64px 0px; position: relative; }
h2 { font-size: 24px; margin: 0px 0px 32px; text-align: center; }
.card { background: rgb(255, 255, 255); border-radius: 12px; padding: 20px; box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 10px; }
.more { display: inline-block; margin-top: 20px; color: var(--orange); font-weight: 700; font-size: 14px; }
.illust { background: var(--orange-soft); border-radius: 50%; display: grid; place-items: center; color: var(--orange); font-size: 11px; font-weight: 700; text-align: center; position: relative; }
.btn { display: inline-block; background: var(--green); color: rgb(255, 255, 255); padding: 16px 40px; border-radius: 999px; font-weight: 700; text-decoration: none; box-shadow: rgb(10, 146, 10) 0px 4px 0px; }
.btn small { display: block; font-size: 11px; font-weight: 500; }
.switcher[hidden] { display: none !important; }
.switcher { position: fixed; top: 84px; right: 12px; z-index: 50; background: rgb(255, 255, 255); border: 2px solid rgb(51, 51, 51); border-radius: 8px; padding: 8px; font-size: 12px; box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px; }
.switcher .sw-toggle { margin: 0px; border: 0px; padding: 2px 4px; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
.switcher.is-closed .sw-body { display: none; }
.switcher button { display: block; width: 100%; margin-top: 4px; padding: 6px 8px; border: 1px solid rgb(51, 51, 51); background: rgb(255, 255, 255); border-radius: 4px; cursor: pointer; font-size: 12px; text-align: left; }
.switcher button[aria-pressed="true"] { background: rgb(51, 51, 51); color: rgb(255, 255, 255); }
nav { display: flex; align-items: center; gap: 18px; font-size: 13px; }
nav a { text-decoration: none; color: inherit; }
.cta-band .btn { font-size: 18px; padding: 18px 48px; }
.switcher .desc { display: none; margin: 8px 0px 0px; max-width: 180px; font-size: 11px; line-height: 1.6; color: rgb(85, 85, 85); }
body.pA .desc.dA, body.pB .desc.dB, body.pC .desc.dC, body.sX .desc.dX, body.sY .desc.dY { display: block; }
.switcher .sw-ttl { margin: 12px 0px 0px; padding-top: 10px; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(221, 221, 221); font-weight: 700; }
.steps { list-style: none; margin: 0px auto; padding: 0px; max-width: 720px; position: relative; display: grid; gap: 12px; }
.steps::before { content: ""; position: absolute; left: 27px; top: 24px; bottom: 24px; width: 2px; background: rgb(245, 185, 138); }
/* 9stepの縦線：段が上から順に出るのに合わせて、上から下へ伸ばす（最初から出ていると串のように見えるため）
   段が「ふわっと出る」状態のときだけ（JSが動かないときは最初から線を出す） */
.steps:has(> .fade)::before { transform: scaleY(0); transform-origin: top; transition: transform 1.2s ease-out; }
.steps.is-in::before { transform: scaleY(1); }
@media (prefers-reduced-motion: reduce) {
  .steps:has(> .fade)::before { transform: none; opacity: 0; transition: opacity 0.6s; }
  .steps.is-in::before { opacity: 1; }
}
div.post .thumb { height: 140px; border-radius: 10px; background: var(--orange-soft); display: grid; place-items: center; color: var(--orange); font-size: 12px; margin-bottom: 10px; }
div.post .cat { font-size: 11px; color: var(--orange); font-weight: 700; }
div.post p { font-size: 14px; font-weight: 700; margin: 4px 0px 0px; }
@media (max-width: 1023px) {
  nav { display: none; }
  .fv .wrap, .g2, .g3 { grid-template-columns: 1fr; }
  .cta-band .btn { font-size: 17px; padding: 16px 28px; }
  h2 { font-size: 20px; }
  section { padding: 48px 0px; }
  .switcher { top: auto; bottom: 84px; right: 8px; }
  .btn { padding: 14px 28px; }
}
.drawer[hidden] { display: none; }
body.is-menu-open { overflow: hidden; }
:root { --orange: #F46A00; --orange-dark: #C95500; --orange-mid: #F9A65C; --orange-soft: #FEEED7; --green: #0DBC0D; --green-dark: #0A920A; --cream: #FFF8EF; --line: #EFE4D6; --ink: #3A3330; --sub: #7A706A; --marker: #FFE9A8; --blue: #5C7C99; }
body { font-family: "Noto Sans JP", sans-serif; color: var(--ink); line-height: 1.8; }
section { padding: 96px 0px; }
h2 { font-size: 30px; font-weight: 500; letter-spacing: 0.04em; line-height: 1.5; margin-bottom: 44px; }
.card { border-radius: 20px; border: 1px solid var(--line); box-shadow: rgba(150, 90, 30, 0.07) 0px 6px 20px; }
.more { border: 2px solid var(--orange); border-radius: 999px; padding: 8px 26px; text-decoration: none; }
.illust { background: rgb(255, 255, 255); border: 2px dashed var(--orange-mid); color: var(--orange-mid); }
.btn { font-weight: 700; padding: 13px 32px; box-shadow: 0 5px 0 var(--green-dark); }
.fv-cta .btn, .cta-band .btn { font-size: 21px; padding: 20px 32px 13px; }
.fv-cta .btn::after, .cta-band .btn::after { content: "›"; margin-left: 12px; font-size: 24px; line-height: 1; }
html { scroll-padding-top: 72px; }
.logo-old { display: none; height: 48px; width: auto; }
nav { font-size: 14px; font-weight: 500; gap: 22px; }
@media (max-width: 1023px) {
  section { padding: 64px 0px; }
  h2 { font-size: min(22px, -1.939394px + 6.060606vw); letter-spacing: 0.02em; margin-bottom: 32px; white-space: nowrap; }
  html { scroll-padding-top: 60px; }
  .logo-old { height: 38px; }
  .fv-cta .btn, .cta-band .btn { font-size: 18px; padding: 19px 24px 12px; }
}
.fv-cta .btn, .cta-band .btn { box-shadow: inset 0 0 0 2px rgba(255,255,255,.9), 0 5px 0 var(--green-dark); }
.fv-cta .btn, .cta-band .btn { font-size: 24px; padding: 22px 34px 14px; }
@media (max-width: 1023px) {
  .fv-cta .btn, .cta-band .btn { font-size: 20px; padding: 20px 24px 13px; }
}
@media (max-width: 360px) {
  .fv-cta .btn, .cta-band .btn { font-size: 17.5px; padding-left: 18px; padding-right: 18px; }
}
.fv-cta .btn::after, .cta-band .btn::after { content: ""; display: inline-block; width: 1.05em; height: 1.05em; margin-left: 12px; vertical-align: -0.15em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23fff'/%3E%3Cpath d='M9.5 7.2 L16.8 12 L9.5 16.8 Z' fill='%230DBC0D'/%3E%3C/svg%3E") center center / contain no-repeat; }
.fv-cta .btn, .cta-band .btn { white-space: nowrap; }
@media (max-width: 1023px) {
  .fv-cta .btn::after, .cta-band .btn::after { margin-left: 8px; }
  .cta-band .btn { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 360px) {
  .fv-cta .btn, .cta-band .btn { font-size: 16.5px; padding-left: 16px; padding-right: 16px; }
}
.fv-cta .btn, .cta-band .btn { box-shadow: 0 5px 0 var(--green-dark); padding-top: 23px; padding-bottom: 23px; line-height: 1.2; }
@media (max-width: 1023px) {
  .fv-cta .btn, .cta-band .btn { padding-top: 20.5px; padding-bottom: 21.5px; }
}
@media (max-width: 360px) {
  .fv-cta .btn, .cta-band .btn { padding-top: 18px; padding-bottom: 22px; }
}
.fv-cta .btn.btn-fv::after { content: none; }
.fv-cta .btn { padding-top: 14px !important; padding-bottom: 16px !important; }
@media (max-width: 1023px) {
  .fv-cta .btn { padding-top: 11px !important; padding-bottom: 13px !important; }
}
.voice .v-thumb, div.post .thumb { overflow: hidden; padding: 0px; background: rgb(243, 238, 232); }
.voice .v-thumb img, div.post .thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
div.post .thumb { height: auto; aspect-ratio: 16 / 9; }
div.post { background: rgb(255, 255, 255); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: rgba(150, 90, 30, 0.06) 0px 4px 14px; }
div.post .thumb { border-radius: 0px !important; margin: 0px !important; }
div.post .cat { display: inline-block; margin: 12px 16px 0px; background: var(--orange-soft); padding: 1px 10px; border-radius: 999px; color: var(--orange-dark) !important; }
div.post p { line-height: 1.6; margin: 6px 16px 16px !important; }
@keyframes indflow { 
  100% { transform: translateX(-50%); }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .wrap { max-width: 640px; }
}
.worry, .card.reason, .card.voice, .step .t, .faq details, div.post, .pickups .pickup, .others .card.other, #price .price-card { box-shadow: none !important; }
:root { --yellow-soft: #FFF8DC; }
body.bgA #price.bg-yellow, body.bgB #price.bg-yellow { background: var(--yellow-soft) !important; }
body { --yellow-soft: #FFF5CF; }
section h2, section h2 * { font-weight: 700 !important; }
header nav a[aria-current="page"] { color: var(--orange, #EE7A1F); }
.post-cta .btn, main .form .btn { background: linear-gradient(135deg, rgb(60, 214, 60) 0%, rgb(13, 188, 13) 55%, rgb(10, 167, 10) 100%) !important; }
.post-cta .btn, main .form .btn { background: linear-gradient(135deg, rgb(69, 218, 69) 0%, rgb(34, 201, 34) 50%, rgb(13, 188, 13) 100%) !important; }
.post-cta .btn, main .form .btn { background: linear-gradient(135deg, rgb(34, 201, 34) 0%, rgb(18, 192, 18) 50%, rgb(13, 188, 13) 100%) !important; }
.post-cta .btn, main .form .btn { text-shadow: rgba(0, 90, 0, 0.25) 0px 1px 2px; }
@media (max-width: 1023px) {
  /* 状態で付くクラスの見た目（ページを開いた瞬間には無いため、自動の整理で消えたものを戻している） */
  .sp-fixed.is-hidden { transform: translateY(100%); opacity: 0; pointer-events: none; }
}
.faq details[open] summary::after { content: "−"; }

/* ==========================================================
   2. ヘッダー・SPの開閉メニュー（ロゴ・メニュー・ハンバーガー）
   ========================================================== */
header { position: sticky; top: 0px; z-index: 40; background: rgb(255, 255, 255); box-shadow: 0 1px 0 var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; }
.logo i { width: 28px; height: 28px; border-radius: 50%; background: var(--orange); display: inline-block; }
nav a.btn { color: rgb(255, 255, 255); }
nav .btn { padding: 8px 18px; font-size: 12px; box-shadow: none; }
.hamburger { display: none; width: 30px; height: 22px; border-top: 3px solid var(--orange); border-bottom: 3px solid var(--orange); position: relative; }
.hamburger::after { content: ""; position: absolute; left: 0px; right: 0px; top: 6.5px; border-top: 3px solid var(--orange); }
@media (max-width: 1023px) {
  .hamburger { display: block; }
}
.hamburger { background: none; padding: 0px; cursor: pointer; border-left-width: 0px; border-left-style: none; border-left-color: currentcolor; border-right-width: 0px; border-right-style: none; border-right-color: currentcolor; }
.hamburger[aria-expanded="true"] { border-color: transparent; }
.hamburger[aria-expanded="true"]::before, .hamburger[aria-expanded="true"]::after { content: ""; position: absolute; left: 0px; right: 0px; top: 8px; border-top: 3px solid var(--orange); transform: rotate(45deg); }
.hamburger[aria-expanded="true"]::after { transform: rotate(-45deg); }
.drawer { position: fixed; inset: 68px 0px 0px; z-index: 50; background: rgb(255, 255, 255); overflow: auto; padding: 8px 24px 40px; }
.drawer nav { display: block !important; }
.drawer a { display: block; padding: 16px 4px; border-bottom: 1px solid var(--line); font-weight: 700; text-decoration: none; color: var(--ink); }
.drawer a::after { content: "›"; float: right; color: var(--orange); }
.drawer .btn { margin-top: 24px; text-align: center; color: rgb(255, 255, 255); border: 0px; }
.drawer .btn::after { content: none; }
@media (min-width: 1024px) {
  .drawer { display: none !important; }
}
nav .btn { box-shadow: 0 3px 0 var(--green-dark); padding: 9px 20px; font-size: 13px; }
header .wrap { height: 72px; }
.logo-new { display: flex; align-items: center; gap: 8px; white-space: nowrap; color: var(--ink); }
.logo-icon { width: 40px; height: 40px; }
.logo-txt { display: flex; flex-direction: column; line-height: 1.1; font-family: "Zen Kaku Gothic New", sans-serif; font-weight: 500; }
.logo-txt small { display: block; font-size: 10px; letter-spacing: 0.45em; color: var(--sub); font-weight: 500; }
.logo-txt > span { font-size: 19px; letter-spacing: 0.14em; font-weight: 500; }
.logo-txt .or { color: var(--orange); }
@media (max-width: 1023px) {
  header .wrap { height: 60px; }
  .drawer { top: 60px; }
  .logo-icon { width: 32px; height: 32px; }
  .logo-txt small { font-size: 9px; }
  .logo-txt > span { font-size: 15.5px; }
}
.logo-txt small { font-size: 12px !important; }
.logo-txt > span { font-size: 23px !important; }
@media (max-width: 1023px) {
  .logo-txt small { font-size: 10.5px !important; }
  .logo-txt > span { font-size: 18px !important; }
}
.logo-txt small.maru { display: flex; gap: 3px; margin-bottom: 3px; letter-spacing: 0px !important; }
.logo-txt small.maru i { font-style: normal; display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: var(--orange-soft); color: var(--orange-dark); font-size: 11px; line-height: 1; }
@media (max-width: 1023px) {
  .logo-txt small.maru { gap: 2px; margin-bottom: 2px; }
  .logo-txt small.maru i { width: 16px; height: 16px; font-size: 9.5px; }
}
.logo-txt small.maru i { padding-bottom: 1.5px; box-sizing: border-box; }
.logo-txt small.maru { margin-bottom: 0px !important; padding-bottom: 0px !important; border: 0px !important; }
.logo-txt > span { line-height: 1.05; margin-top: 1px; }
@media (max-width: 1023px) {
  .logo-txt small.maru i { padding-bottom: 1px; }
}
body.lg2 .logo-txt small.maru i { color: var(--ink); }
header .btn, .drawer .btn { background: linear-gradient(135deg, rgb(60, 214, 60) 0%, rgb(13, 188, 13) 55%, rgb(10, 167, 10) 100%) !important; }
header .btn, .drawer .btn { background: linear-gradient(135deg, rgb(69, 218, 69) 0%, rgb(34, 201, 34) 50%, rgb(13, 188, 13) 100%) !important; }
header .btn, .drawer .btn { background: linear-gradient(135deg, rgb(34, 201, 34) 0%, rgb(18, 192, 18) 50%, rgb(13, 188, 13) 100%) !important; }
header .btn, .drawer .btn { text-shadow: rgba(0, 90, 0, 0.25) 0px 1px 2px; }
header .logo { text-decoration: none; color: inherit; }

/* ==========================================================
   3. パンくず
   ========================================================== */
.breadcrumb { font-size: 13px; color: rgb(138, 129, 120); padding: 14px 0px 0px; }
.breadcrumb ol { list-style: none; margin: 0px; padding: 0px; display: flex; flex-wrap: wrap; gap: 4px 0px; }
.breadcrumb li + li::before { content: "›"; margin: 0px 8px; color: rgb(201, 185, 168); }
.breadcrumb a { color: inherit; }
nav.breadcrumb { display: block !important; }
.breadcrumb { padding: 12px 0px !important; }
@media (max-width: 1023px) {
  .breadcrumb { font-size: 12px; }
}

/* ==========================================================
   4. 見出し帯（ページ名）
   ========================================================== */
.en { display: block; text-align: center; color: var(--orange); font-size: 12px; font-weight: 700; letter-spacing: 0.15em; padding-left: 0.15em; }
.en { font-size: 12px; letter-spacing: 0.2em; padding-left: 0.2em; margin-bottom: 6px; }
.en { display: none !important; }
.page-head { position: relative; overflow: hidden; background: var(--orange-soft, #FFF1E3); text-align: center; padding: 56px 16px 52px; }
.page-head .en { display: block; }
.page-head h1 { margin: 4px 0px 0px; font-size: 34px; font-weight: 700; letter-spacing: 0.06em; }
.page-head::before, .page-head::after { content: ""; position: absolute; border-radius: 50%; background: rgb(255, 255, 255); opacity: 0.55; }
.page-head::before { width: 220px; height: 220px; left: -70px; top: -90px; }
.page-head::after { width: 150px; height: 150px; right: -40px; bottom: -70px; }
@media (max-width: 1023px) {
  .page-head { padding: 40px 16px 36px; }
  .page-head h1 { font-size: 26px; }
}
.page-head { background: rgb(255, 248, 239) !important; }
.page-head::before, .page-head::after { display: none; }
.page-head > * { position: relative; z-index: 1; }
.page-head .ph-c { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; }
.ph-c.c1 { width: 170px; height: 170px; left: 6%; bottom: -80px; background: rgb(253, 235, 218); }
.ph-c.c2 { width: 150px; height: 150px; left: calc(6% + 100px); bottom: -110px; background: repeating-linear-gradient(-45deg, rgb(251, 199, 151) 0px, rgb(251, 199, 151) 6px, transparent 6px, transparent 13px); opacity: 0.8; }
.ph-c.c3 { width: 150px; height: 150px; right: 8%; top: -70px; background: rgb(205, 235, 245); }
.ph-c.c4 { width: 130px; height: 130px; right: calc(8% - 60px); bottom: -80px; background: repeating-linear-gradient(-45deg, rgb(244, 168, 160) 0px, rgb(244, 168, 160) 6px, transparent 6px, transparent 13px); opacity: 0.75; }
@media (max-width: 1023px) {
  .ph-c.c1 { width: 90px; height: 90px; left: -20px; bottom: -40px; }
  .ph-c.c2 { width: 80px; height: 80px; left: 40px; bottom: -55px; }
  .ph-c.c3 { width: 80px; height: 80px; right: -20px; top: -30px; }
  .ph-c.c4 { width: 64px; height: 64px; right: 40px; bottom: -36px; }
}
.ph-c.c1 { width: 170px; height: 170px; inset: -90px auto auto 4%; background: rgb(253, 235, 218); }
.ph-c.c2 { width: 120px; height: 120px; inset: -50px auto auto calc(4% + 130px); background: repeating-linear-gradient(-45deg, rgb(251, 199, 151) 0px, rgb(251, 199, 151) 6px, transparent 6px, transparent 13px); opacity: 0.8; }
.ph-c.c3 { width: 170px; height: 170px; inset: auto 4% -90px auto; background: rgb(253, 235, 218); }
.ph-c.c4 { width: 120px; height: 120px; inset: auto calc(4% + 130px) -50px auto; background: repeating-linear-gradient(-45deg, rgb(251, 199, 151) 0px, rgb(251, 199, 151) 6px, transparent 6px, transparent 13px); opacity: 0.8; }
@media (max-width: 1023px) {
  .ph-c.c1 { width: 90px; height: 90px; left: -24px; top: -44px; }
  .ph-c.c2 { width: 60px; height: 60px; left: 50px; top: -22px; }
  .ph-c.c3 { width: 90px; height: 90px; right: -24px; bottom: -44px; }
  .ph-c.c4 { width: 60px; height: 60px; right: 50px; bottom: -22px; }
}
.ph-c.c1 { width: 150px; height: 150px; left: 7%; top: -70px; background: repeating-linear-gradient(-45deg, rgb(251, 199, 151) 0px, rgb(251, 199, 151) 6px, transparent 6px, transparent 13px); opacity: 0.8; }
.ph-c.c2 { width: 64px; height: 64px; left: calc(7% + 150px); top: 28px; background: rgb(253, 235, 218); opacity: 1; }
.ph-c.c3 { width: 200px; height: 200px; right: 2%; bottom: -120px; background: rgb(253, 235, 218); }
.ph-c.c4 { width: 90px; height: 90px; right: calc(2% + 170px); bottom: -30px; background: repeating-linear-gradient(45deg, rgb(251, 199, 151) 0px, rgb(251, 199, 151) 5px, transparent 5px, transparent 11px); opacity: 0.7; }
@media (max-width: 1023px) {
  .ph-c.c1 { width: 80px; height: 80px; left: -16px; top: -36px; }
  .ph-c.c2 { width: 30px; height: 30px; left: 66px; top: 14px; }
  .ph-c.c3 { width: 110px; height: 110px; right: -36px; bottom: -60px; }
  .ph-c.c4 { width: 48px; height: 48px; right: 62px; bottom: -14px; }
}
.ph-c.c2 { width: 110px; height: 110px; left: calc(7% + 150px); top: 18px; background: radial-gradient(circle, rgb(251, 199, 151) 2.6px, transparent 3.1px) 0px 0px / 14px 14px; opacity: 0.9; }
@media (max-width: 1023px) {
  .ph-c.c2 { width: 56px; height: 56px; left: 68px; top: 8px; background-size: 10px 10px; background-image: radial-gradient(circle, rgb(251, 199, 151) 2px, transparent 2.5px); }
  .ph-c.c2 { width: 50px; height: 50px; left: 62px; top: -4px; }
}
.ph-c.c2 { width: 120px; height: 120px; left: calc(7% + 150px); top: 16px; background: none; border: 6px dotted rgb(251, 199, 151); box-sizing: border-box; opacity: 1; }
@media (max-width: 1023px) {
  .ph-c.c2 { width: 60px; height: 60px; left: 60px; top: -8px; border-width: 4px; background: none; }
}
.page-head .ph-c { border: 0px; background: none; opacity: 1; box-sizing: border-box; }
.ph-c.c1 { width: 180px; height: 180px; left: 5%; top: -80px; background: rgb(253, 235, 218); }
.ph-c.c2 { width: 110px; height: 110px; left: calc(5% + 150px); top: 20px; background: repeating-linear-gradient(-45deg, rgb(251, 199, 151) 0px, rgb(251, 199, 151) 6px, transparent 6px, transparent 13px); opacity: 0.8; }
.ph-c.c4 { width: 180px; height: 180px; inset: auto calc(3% + 90px) -100px auto; background: rgb(253, 235, 218); }
.ph-c.c3 { width: 110px; height: 110px; inset: auto 3% -30px auto; border: 6px dotted rgb(251, 199, 151); }
@media (max-width: 1023px) {
  .ph-c.c1 { width: 90px; height: 90px; left: -24px; top: -40px; }
  .ph-c.c2 { width: 54px; height: 54px; left: 52px; top: -6px; }
  .ph-c.c4 { width: 90px; height: 90px; right: 36px; bottom: -50px; }
  .ph-c.c3 { width: 54px; height: 54px; right: -10px; bottom: -12px; border-width: 4px; }
}
.ph-c.c3 { bottom: 24px; }
@media (max-width: 1023px) {
  .ph-c.c3 { right: 8px; bottom: 14px; }
}
.ph-c.c1 { top: -40px; }
.ph-c.c2 { top: -34px; }
@media (max-width: 1023px) {
  .ph-c.c1 { top: -22px; }
  .ph-c.c2 { top: -20px; }
}
.page-head .ph-c.c3 { z-index: 1; }
.ph-c.c4 { right: calc(3% + 50px); }
.ph-c.c3 { bottom: 30px; }
@media (max-width: 1023px) {
  .ph-c.c4 { right: 36px; }
  .ph-c.c3 { bottom: 14px; }
}
.ph-c.c4 { right: calc(3% + 40px); bottom: -90px; }
.ph-c.c3 { bottom: 6px; }
@media (max-width: 1023px) {
  .ph-c.c4 { right: 22px; bottom: -48px; }
  .ph-c.c3 { right: 6px; bottom: 4px; }
}
.page-head { background: linear-gradient(rgb(255, 252, 248) 0%, rgb(253, 240, 225) 100%) !important; }
.page-head { background: linear-gradient(115deg, rgb(255, 250, 244) 0%, rgb(254, 243, 231) 100%) !important; }
@media (max-width: 1023px) {
  .ph-c.c2 { background: repeating-linear-gradient(-45deg, rgb(251, 199, 151) 0px, rgb(251, 199, 151) 4px, transparent 4px, transparent 9px); }
  .ph-c.c4 { right: 4px; }
  .ph-c.c3 { right: -12px; }
}
.page-head .ph-c.c1, .page-head .ph-c.c4 { opacity: 0.6; }
.page-head .ph-c.c2 { opacity: 0.5; }
.page-head .ph-c.c3 { opacity: 0.55; }

/* ==========================================================
   5. 本文まわり（ページごとの見た目は lower/<ページ>.css）
   ========================================================== */
.greeting { display: grid; grid-template-columns: 420px 1fr; gap: 32px; align-items: center; }
.greeting .photo { width: 100%; aspect-ratio: 3 / 2; border-radius: 16px; background: rgb(232, 226, 218); display: grid; place-items: center; color: rgb(138, 129, 120); font-size: 12px; font-weight: 700; text-align: center; padding: 10px; }
@media (max-width: 1023px) {
  .greeting { grid-template-columns: 1fr; }
  .greeting .photo { width: 100%; }
}
.greeting .photo { overflow: hidden; padding: 0px; background: rgb(243, 238, 232); }
.greeting .photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.greeting .photo { box-shadow: 12px 12px 0 var(--orange-soft); border-radius: 20px !important; }
.greeting p:first-child { color: var(--ink); }
@media (max-width: 1023px) {
  .greeting .photo { box-shadow: 8px 8px 0 var(--orange-soft); }
}
section.bg-yellow { background: var(--yellow-soft) !important; }
.about-msg .greeting { align-items: start; }
.about-msg .name { font-weight: 700; font-size: 20px; margin: 0px 0px 18px; color: var(--ink); }
.about-msg .name small { font-size: 14px; font-weight: 500; margin-left: 4px; }
.about-msg .greeting p:not(.name) { line-height: 2; margin: 0px 0px 1.2em; }
.office { background: rgb(255, 255, 255); border-radius: 20px; padding: 16px 40px; max-width: 820px; margin: 32px auto 0px; }
.office dl { margin: 0px; }
.office dl > div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 20px 0px; border-bottom-width: 1px; border-bottom-style: dashed; border-bottom-color: rgb(242, 201, 162); }
.office dl > div:last-child { border-bottom-width: 0px; border-bottom-style: none; border-bottom-color: currentcolor; }
.office dt { font-weight: 700; color: var(--orange, #EE7A1F); }
.office dd { margin: 0px; line-height: 1.8; }
.office dd small { font-size: 12px; color: rgb(138, 129, 120); }
@media (max-width: 1023px) {
  .about-msg .name { font-size: 18px; }
  .office { padding: 8px 20px; }
  .office dl > div { grid-template-columns: 1fr; gap: 4px; padding: 16px 0px; }
}
@media (min-width: 1024px) {
  .greeting { grid-template-columns: 350px 1fr !important; }
}
@media (max-width: 1023px) {
  .greeting .photo { width: 85% !important; margin-left: auto !important; margin-right: auto !important; }
}
@media (min-width: 1024px) {
  .greeting { gap: 56px !important; }
}
/* WordPressの画像ブロックの調整（トップの top.css と同じ考え方）
   画像ブロックは画像の外にもう1枚枠(figure)を作り、ブラウザの初期の余白（左右40px）が付くため、それを消して画像を枠いっぱいにする。
   強さ0（:where）にして、デザイン側の指定が勝つようにしている */
:where(main figure.wp-block-image) { margin: 0px; }
:where(main figure.wp-block-image) > img { display: block; width: 100%; height: 100%; object-fit: inherit; object-position: inherit; }
/* 写真・アイコンの枠の中の画像ブロックは、枠(.photo / .ic)いっぱいに重ねる */
main :is(.photo, .ic) { position: relative; }
main :is(.photo, .ic) > figure.wp-block-image { position: absolute; inset: 0px; }

/* ==========================================================
   6. 最後の相談ボタン
   ========================================================== */
.sp-only { display: none; }
.btn-fv { position: relative; margin-top: 16px; padding-top: 22px; }
.btn-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: rgb(255, 255, 255); color: var(--green); border: 2px solid var(--green); border-radius: 999px; padding: 1px 14px; font-size: 12px; font-weight: 700; white-space: nowrap; line-height: 1.6; }
.closing .btn { font-size: 18px; padding: 18px 48px; }
.closing { background: var(--orange); color: rgb(255, 255, 255); text-align: center; }
.closing h2 { color: rgb(255, 255, 255); }
.closing p { margin: 8px 0px 24px; }
@media (max-width: 1023px) {
  .sp-only { display: inline; }
  .closing .btn { font-size: 17px; padding: 16px 28px; }
}
.btn-fv { padding-top: 20px; }
.closing .btn { font-size: 21px; padding: 20px 32px 13px; }
.closing .btn::after { content: "›"; margin-left: 12px; font-size: 24px; line-height: 1; }
.closing h2 { font-weight: 700; }
@media (max-width: 1023px) {
  .closing .btn { font-size: 18px; padding: 19px 24px 12px; }
}
.btn-badge { border: 0px; font-size: 14px; padding: 2px 16px; top: -15px; line-height: 1.5; box-shadow: rgba(0, 0, 0, 0.08) 0px 2px 6px; }
.btn-badge em { font-style: normal; font-size: 1.5em; line-height: 1; margin: 0px 1px; vertical-align: -1px; }
.btn-badge em.em2 { font-size: 1.2em; margin: 0px; vertical-align: 0px; }
.closing .btn { box-shadow: inset 0 0 0 2px rgba(255,255,255,.9), 0 5px 0 var(--green-dark); }
.closing .btn { font-size: 24px; padding: 22px 34px 14px; }
@media (max-width: 1023px) {
  .btn-badge { font-size: 12.5px; padding: 1px 14px; top: -13px; }
  .closing .btn { font-size: 20px; padding: 20px 24px 13px; }
}
@media (max-width: 360px) {
  .closing .btn { font-size: 17.5px; padding-left: 18px; padding-right: 18px; }
}
.closing .btn::after { content: ""; display: inline-block; width: 1.05em; height: 1.05em; margin-left: 12px; vertical-align: -0.15em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23fff'/%3E%3Cpath d='M9.5 7.2 L16.8 12 L9.5 16.8 Z' fill='%230DBC0D'/%3E%3C/svg%3E") center center / contain no-repeat; }
.closing .btn { white-space: nowrap; }
@media (max-width: 1023px) {
  .closing .btn::after { margin-left: 8px; }
  .closing .btn { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 360px) {
  .closing .btn { font-size: 16.5px; padding-left: 16px; padding-right: 16px; }
}
.closing .btn { box-shadow: 0 5px 0 var(--green-dark); padding-top: 23px; padding-bottom: 23px; line-height: 1.2; }
@media (max-width: 1023px) {
  .closing .btn { padding-top: 20.5px; padding-bottom: 21.5px; }
}
@media (max-width: 360px) {
  .closing .btn { padding-top: 18px; padding-bottom: 22px; }
}
.btn-fv { display: inline-flex; flex-direction: column; align-items: center; margin-top: 0px !important; }
.btn-fv .btn-badge { position: static; transform: none; background: none; box-shadow: none; border: 0px; color: rgb(255, 255, 255); padding: 0px; margin: 0px 0px 2px; font-size: 14px; line-height: 1.3; opacity: 0.95; }
.btn-fv .btn-main { display: flex; align-items: center; }
.closing .btn.btn-fv::after { content: none; }
.btn-fv .btn-main::after { content: ""; display: inline-block; width: 1.05em; height: 1.05em; margin-left: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23fff'/%3E%3Cpath d='M9.5 7.2 L16.8 12 L9.5 16.8 Z' fill='%230DBC0D'/%3E%3C/svg%3E") center center / contain no-repeat; }
.closing .btn { padding-top: 14px !important; padding-bottom: 16px !important; }
@media (max-width: 1023px) {
  .btn-fv .btn-badge { font-size: 12.5px; }
  .btn-fv .btn-main::after { margin-left: 8px; }
  .closing .btn { padding-top: 11px !important; padding-bottom: 13px !important; }
}
.btn-fv { position: relative; padding-right: 68px !important; padding-left: 40px !important; }
.btn-fv .btn-main::after { content: none; }
.btn-fv::after { position: absolute; right: 22px; top: 50%; width: 30px; height: 30px; margin: -15px 0px 0px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23fff'/%3E%3Cpath d='M9.5 7.2 L16.8 12 L9.5 16.8 Z' fill='%230DBC0D'/%3E%3C/svg%3E") center center / contain no-repeat; content: "" !important; }
.btn-fv .hl { color: rgb(255, 240, 160); }
.btn-fv .btn-main small { font-size: 0.8em; margin-left: 2px; }
@media (max-width: 1023px) {
  .btn-fv { padding-right: 52px !important; padding-left: 26px !important; }
  .btn-fv::after { right: 16px; width: 24px; height: 24px; margin-top: -12px; }
}
@media (max-width: 360px) {
  .btn-fv { padding-right: 44px !important; padding-left: 18px !important; }
  .btn-fv::after { right: 12px; width: 22px; height: 22px; margin-top: -11px; }
}
.btn-fv .btn-badge .bk { margin: 0px 0.35em; font-weight: 700; }
.closing { background: linear-gradient(rgb(251, 139, 44) 0%, rgb(238, 95, 0) 100%) !important; }
.closing .btn { box-shadow: inset 0 0 0 2px #fff, 0 5px 0 var(--green-dark) !important; }
.btn-fv, .closing .btn { background: linear-gradient(135deg, rgb(60, 214, 60) 0%, rgb(13, 188, 13) 55%, rgb(10, 167, 10) 100%) !important; }
.btn-fv, .closing .btn { background: linear-gradient(135deg, rgb(69, 218, 69) 0%, rgb(34, 201, 34) 50%, rgb(13, 188, 13) 100%) !important; }
html body .closing { background: rgb(243, 119, 24) !important; }
.btn-fv, .closing .btn { background: linear-gradient(135deg, rgb(34, 201, 34) 0%, rgb(18, 192, 18) 50%, rgb(13, 188, 13) 100%) !important; }
.btn-fv, .closing .btn { text-shadow: rgba(0, 90, 0, 0.25) 0px 1px 2px; }

/* ==========================================================
   7. フッター
   ========================================================== */
footer a { text-decoration: none; }
footer { background: rgb(58, 53, 50); color: rgb(238, 238, 238); padding: 32px 0px 100px; font-size: 13px; }
footer a { color: rgb(238, 238, 238); margin-right: 14px; }
footer .copy { margin: 20px 0px 0px; font-size: 11px; color: rgb(187, 187, 187); }
footer { background: var(--ink); }
@media (max-width: 1023px) {
  footer .foot-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0px 16px; margin: 4px 0px 16px; }
  footer .foot-nav a { display: block; padding: 10px 0px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgba(255, 255, 255, 0.12); white-space: nowrap; font-size: 13px; margin: 0px !important; }
}
/* フッターの事務所名・住所（デザインでは style="" で指定していたもの） */
footer .foot-name { margin: 0px 0px 8px; font-weight: 700; }
footer .foot-addr { margin: 0px 0px 16px; }

/* ==========================================================
   8. SPの画面下の追従ボタン
   ========================================================== */
.sp-fixed { display: none; }
@media (max-width: 1023px) {
  .sp-fixed { display: block; position: fixed; left: 0px; right: 0px; bottom: 0px; z-index: 45; background: rgba(255, 255, 255, 0.95); padding: 10px 16px; box-shadow: rgba(0, 0, 0, 0.08) 0px -2px 8px; transition: transform 0.3s, opacity 0.3s; }
  .sp-fixed .btn { display: block; text-align: center; }
}
body.is-menu-open .sp-fixed { display: none !important; }
.sp-fixed { padding: 8px 16px calc(8px + env(safe-area-inset-bottom)) !important; }
.sp-fixed .btn-fix { position: relative; align-items: center; justify-content: center; height: 50px; font-size: 16px; line-height: 1; white-space: nowrap; display: flex !important; padding: 0px 48px 0px 24px !important; box-shadow: 0 4px 0 var(--green-dark) !important; }
.sp-fixed .btn-fix .hl { color: rgb(255, 240, 160); }
.sp-fixed .btn-fix small { font-size: 0.8em; margin-left: 2px; }
.sp-fixed .btn-fix::after { position: absolute; right: 16px; top: 50%; width: 24px; height: 24px; margin-top: -12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23fff'/%3E%3Cpath d='M9.5 7.2 L16.8 12 L9.5 16.8 Z' fill='%230DBC0D'/%3E%3C/svg%3E") center center / contain no-repeat; content: "" !important; }
.fxsq .sp-fixed { padding: 0 0 calc(env(safe-area-inset-bottom) * .4) !important; background: var(--green) !important; box-shadow: rgba(0, 0, 0, 0.12) 0px -2px 10px !important; }
.fxsq .sp-fixed .btn-fix { height: 56px; border-radius: 0px !important; box-shadow: none !important; }
.sp-fixed .btn-fix { background: linear-gradient(135deg, rgb(60, 214, 60) 0%, rgb(13, 188, 13) 55%, rgb(10, 167, 10) 100%) !important; }
.sp-fixed .btn-fix { background: linear-gradient(135deg, rgb(69, 218, 69) 0%, rgb(34, 201, 34) 50%, rgb(13, 188, 13) 100%) !important; }
.fxsq .sp-fixed { background: linear-gradient(135deg, rgb(69, 218, 69) 0%, rgb(34, 201, 34) 50%, rgb(13, 188, 13) 100%) !important; }
.fxsq .sp-fixed .btn-fix { background: none !important; box-shadow: none !important; }
.sp-fixed .btn-fix { background: linear-gradient(135deg, rgb(34, 201, 34) 0%, rgb(18, 192, 18) 50%, rgb(13, 188, 13) 100%) !important; }
.fxsq .sp-fixed { background: linear-gradient(135deg, rgb(34, 201, 34) 0%, rgb(18, 192, 18) 50%, rgb(13, 188, 13) 100%) !important; }
.sp-fixed .btn-fix { text-shadow: rgba(0, 90, 0, 0.25) 0px 1px 2px; }


/* SPメニューの開閉アニメーション（site.js で .is-open を付け外し）
   ・メニュー全体：上から少し下りながらふわっと出る（0.3秒）
   ・リンク：上から順に0.04秒ずつずらして出る
   ・ハンバーガー：3本線 → ×に回転しながら変わる
   ・「視差効果を減らす」設定の端末では、移動なしのフェードだけ */
.drawer { opacity: 0; transform: translateY(-8px); transition: opacity .3s ease, transform .3s ease; }
.drawer.is-open { opacity: 1; transform: none; }
.drawer nav > a { opacity: 0; transform: translateY(-6px); transition: opacity .3s ease, transform .3s ease; }
.drawer.is-open nav > a { opacity: 1; transform: none; }
.drawer.is-open nav > a:nth-child(2) { transition-delay: .04s; }
.drawer.is-open nav > a:nth-child(3) { transition-delay: .08s; }
.drawer.is-open nav > a:nth-child(4) { transition-delay: .12s; }
.drawer.is-open nav > a:nth-child(5) { transition-delay: .16s; }
.drawer.is-open nav > a:nth-child(6) { transition-delay: .2s; }
.drawer.is-open nav > a:nth-child(n+7) { transition-delay: .24s; }
.hamburger { transition: border-color .2s ease; }
.hamburger::before, .hamburger::after { transition: transform .3s ease, top .3s ease; }
.hamburger::before { content: ""; position: absolute; left: 0; right: 0; top: 6.5px; border-top: 3px solid transparent; }
.hamburger[aria-expanded="true"]::before { border-top-color: var(--orange); }
@media (prefers-reduced-motion: reduce) {
  .drawer, .drawer nav > a { transform: none !important; }
  .hamburger::before, .hamburger::after { transition: none; }
}

/* 追従ボタン：ページを開いた直後は動かさずに出す（site.js が最初だけ .no-anim を付ける） */
.sp-fixed.no-anim { transition: none !important; }

/* ヘッダーは「スクロールに合わせて固定（sticky）」ではなく「画面に貼りつけ（fixed）」にする。
   iPhoneのSafariで、リンクを押してから次のページが出るまでの一瞬、stickyのヘッダーが消えてページが上にずれるため。
   fixedは場所を取らないので、その分（ヘッダーの高さ：SP・タブレット60px／PC72px）を本文の上にあけておく */
header { position: fixed; left: 0; right: 0; top: 0; }
body { padding-top: 72px; }
@media (max-width: 1023px) { body { padding-top: 60px; } }
/* ログイン中（上に管理バーが出るとき）は、管理バーの下に貼りつける */
body.admin-bar header { top: 32px; }
@media (max-width: 782px) { body.admin-bar header { top: 46px; } }
@media (max-width: 600px) { body.admin-bar header { top: 0; } }

