/* 森亮公認会計士・税理士事務所 サイト共通スタイル */
:root {
	--fc-green: #029676; --fc-green-dark: #017A60; --fc-green-deep: #016E57;
	--fc-blue: #0989B1; --fc-blue-dark: #07708F; --fc-navy: #00102E;
	--fc-text: #303133; --fc-muted: #5B6470; --fc-tint: #F3F8F6; --fc-tint-strong: #E6F4F0;
	--fc-line: #E3ECE9; --fc-radius: 10px; --fc-line-green: #06C755;
	--fc-heading: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif; font-size: 16px; line-height: 1.9; color: var(--fc-text); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--fc-blue-dark); }
a:hover { color: var(--fc-green-dark); }
h1, h2, h3, h4, h5, h6 { font-family: var(--fc-heading); color: var(--fc-navy); line-height: 1.45; font-weight: 700; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--fc-navy); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.content { max-width: 820px; }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
.grid-5 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* ---------- ボタン ---------- */
.btn, .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 14px 26px; border-radius: 6px; background: var(--fc-green-dark); color: #fff; font-family: var(--fc-heading); font-weight: 700; font-size: 15px; line-height: 1.4; text-decoration: none; border: 2px solid transparent; transition: transform .25s ease, background-color .2s ease, color .2s ease; }
.btn:hover, .wp-block-button__link:hover { background: var(--fc-navy); color: #fff; transform: translateY(-3px); }
.btn-ghost { background: transparent; border: 1px solid #fff; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--fc-navy); }
.btn-white { background: #fff; color: var(--fc-navy); }
.btn-white:hover { background: var(--fc-navy); color: #fff; }
.btn-tel { background: var(--fc-green); }
.btn-line-solid { background: var(--fc-line-green); }
.btn-line-solid:hover { background: #05a847; }
.btn-line { background: #fff; color: #06A04A; border: 1px solid var(--fc-line-green); }
.btn-line:hover { background: var(--fc-line-green); color: #fff; }
.btn-block { width: 100%; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.wp-block-button__link[href^="tel:"] { background: var(--fc-green); }
.wp-block-button__link[href*="line.me"] { background: var(--fc-line-green); }
.wp-block-button__link[href*="calendar.app.google"] { background: var(--fc-blue); }
.wp-block-button__link[href*="calendar.app.google"]:hover { background: var(--fc-blue-dark); }

/* ---------- ヘッダー ---------- */
.fc-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--fc-line); backdrop-filter: blur(6px); }
.fc-header__inner { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.fc-logo img { display: block; width: 230px; height: auto; }
.fc-nav { margin-left: auto; }
.fc-nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.fc-nav li { position: relative; }
.fc-nav a { display: block; padding: 10px 10px; color: var(--fc-text); text-decoration: none; font-family: var(--fc-heading); font-weight: 500; font-size: 15px; white-space: nowrap; }
.fc-nav a:hover { color: var(--fc-green); }
.fc-nav .sub { display: none; position: absolute; top: 100%; left: 0; min-width: 260px; list-style: none; margin: 0; padding: 8px 0; background: #fff; border: 1px solid var(--fc-line); border-radius: var(--fc-radius); box-shadow: 0 12px 28px rgba(0,16,46,.10); }
.fc-nav .sub a { font-weight: 500; font-size: 14px; padding: 8px 18px; }
.fc-nav .has-sub:hover > .sub, .fc-nav .has-sub:focus-within > .sub { display: block; }
.sub-toggle { display: none; }
.fc-header__actions { display: flex; align-items: center; gap: 10px; }
.fc-header__actions .btn { padding: 11px 20px; font-size: 15px; }
.fc-tel { display: inline-flex; align-items: center; gap: 6px; font-family: var(--fc-heading); font-weight: 700; font-size: 18px; color: var(--fc-navy); text-decoration: none; white-space: nowrap; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.menu-btn span:first-child, .menu-btn span:first-child::before, .menu-btn span:first-child::after { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--fc-navy); content: ""; transition: transform .2s; }
.menu-btn span:first-child { top: 21px; }
.menu-btn span:first-child::before { left: 0; top: -7px; }
.menu-btn span:first-child::after { left: 0; top: 7px; }
.menu-btn[aria-expanded="true"] span:first-child { background: transparent; }
.menu-btn[aria-expanded="true"] span:first-child::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:first-child::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1360px) { .fc-header__actions .fc-tel { display: none; } }
@media (max-width: 1180px) {
	.menu-btn { display: block; order: 3; margin-left: 0; }
	.fc-header__actions { margin-left: auto; }
	.fc-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--fc-line); max-height: calc(100vh - 72px); overflow-y: auto; }
	.fc-nav.is-open { display: block; }
	.fc-nav > ul { flex-direction: column; padding: 8px 20px 20px; }
	.fc-nav li { border-bottom: 1px solid var(--fc-line); }
	.fc-nav .sub { position: static; display: none; box-shadow: none; border: 0; padding: 0 0 8px 12px; }
	.fc-nav .has-sub:hover > .sub { display: none; }
	.fc-nav .has-sub.is-open > .sub { display: block; }
	.sub-toggle { display: block; position: absolute; right: 0; top: 4px; width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; }
	.sub-toggle::after { content: ""; position: absolute; left: 15px; top: 13px; width: 9px; height: 9px; border-right: 2px solid var(--fc-navy); border-bottom: 2px solid var(--fc-navy); transform: rotate(45deg); }
	.has-sub.is-open > .sub-toggle::after { transform: translateY(4px) rotate(-135deg); }
}
@media (max-width: 640px) {
	.fc-logo img { width: 170px; }
	.fc-header__actions .btn:not(.btn-line) { display: none; }
	.fc-header__inner { gap: 8px; }
}

/* ---------- セクション ---------- */
.fc-section { padding: 80px 0; }
.fc-section.tint { background: var(--fc-tint); }
.fc-eyebrow { margin: 0; color: var(--fc-blue-dark); font-family: var(--fc-heading); font-weight: 700; letter-spacing: .14em; font-size: 14px; }
.fc-section-title { margin: 4px 0 20px; font-size: clamp(24px, 3vw, 31px); color: var(--fc-green); }
.fc-lead { max-width: 820px; margin: 0 0 32px; }
.fc-more { margin: 24px 0 0; }
.fc-more a { font-family: var(--fc-heading); font-weight: 700; color: var(--fc-green-dark); text-decoration: none; }
.fc-more a::after { content: " →"; }

/* ---------- ヒーロー ---------- */
.fc-hero { position: relative; color: #fff; background: linear-gradient(100deg, rgba(0,16,46,.82) 0%, rgba(0,16,46,.62) 45%, rgba(0,16,46,.18) 100%), var(--hero) center/cover no-repeat; padding: 110px 0 100px; }
.fc-hero__body { max-width: 1180px; }
.fc-hero__body > * { max-width: 760px; }
.fc-hero__h1 { margin: 0 0 12px; color: #fff; font-size: clamp(17px, 1.7vw, 20.5px); font-weight: 700; letter-spacing: .04em; }
.fc-hero__tagline { margin: 0 0 18px; font-family: var(--fc-heading); font-weight: 700; font-size: clamp(36px, 6vw, 68px); line-height: 1.1; letter-spacing: .01em; }
.fc-hero__tagline span { color: #3FD2A9; }
.fc-hero__lead { margin: 0 0 14px; font-family: var(--fc-heading); font-weight: 700; font-size: clamp(18px, 2vw, 22px); line-height: 1.6; }
.fc-hero__text { margin: 0 0 28px; opacity: .92; }
.fc-hero__badges { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 28px 0 0; padding: 0; font-size: 14px; }
.fc-hero__badges li { display: flex; align-items: center; gap: 8px; }
.fc-hero__badges svg { color: #3FD2A9; flex: none; }

/* ---------- カード ---------- */
.fc-card { background: #fff; border: 1px solid var(--fc-line); border-radius: var(--fc-radius); padding: 26px; display: flex; flex-direction: column; }
.fc-card > * { margin: 0; }
.fc-card > * + * { margin-top: 10px; }
.fc-card h3 { font-size: 20px; color: var(--fc-blue); }
.fc-card p { font-size: 15px; }
.fc-card .fc-more { margin-top: auto; padding-top: 14px; }
.fc-card--media { padding: 0 0 24px; overflow: hidden; }
.fc-card--media > *:not(.fc-card__media) { padding-inline: 24px; }
.fc-card__media { display: block; aspect-ratio: 16/9; overflow: hidden; margin-bottom: 8px; }
.fc-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fc-feature__label { font-family: var(--fc-heading); font-weight: 700; color: var(--fc-navy); font-size: 15px; }
.fc-card .fc-feature__num { font-family: var(--fc-heading); font-weight: 700; color: var(--fc-green); font-size: 44px; line-height: 1.1; }
.fc-feature__num small { font-size: 18px; margin-left: 2px; }
.fc-feature__text { font-size: 14px !important; color: var(--fc-muted); }
.fc-price__amount { font-size: 15px; }
.fc-card .fc-price__amount strong { font-family: var(--fc-heading); color: var(--fc-navy); font-weight: 900; font-size: 30px; }
.fc-price__note { font-size: 13px !important; color: var(--fc-muted); }
.fc-price .fc-card p:last-child { margin-top: auto; padding-top: 12px; }
.fc-footnote { font-size: 13px; color: var(--fc-muted); margin-top: 20px; }
.fc-about { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .fc-about { grid-template-columns: 1fr; } }
.fc-office { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .fc-office { grid-template-columns: 1fr; } }
.fc-dl { display: grid; grid-template-columns: 8em 1fr; margin: 0; border-top: 1px solid var(--fc-line); }
.fc-dl dt, .fc-dl dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--fc-line); }
.fc-dl dt { font-family: var(--fc-heading); font-weight: 700; color: var(--fc-navy); }
@media (max-width: 600px) { .fc-dl { grid-template-columns: 1fr; } .fc-dl dt { border-bottom: 0; padding-bottom: 0; } }
.fc-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; border-radius: var(--fc-radius); }

/* ---------- 記事カード ---------- */
.fc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.fc-post-card { background: #fff; border: 1px solid var(--fc-line); border-radius: var(--fc-radius); overflow: hidden; display: flex; flex-direction: column; }
.fc-post-card > *:not(.fc-post-card__img) { margin: 0; padding-inline: 20px; }
.fc-post-card__img { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--fc-tint); }
.fc-post-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fc-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 16px 0 6px; font-size: 13px; color: var(--fc-muted); }
.fc-post-card .fc-post-meta { padding-top: 16px; margin: 0; }
.fc-tag { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--fc-tint-strong); color: var(--fc-green-deep); font-size: 12px; font-weight: 700; text-decoration: none; }
.fc-post-card__title { font-size: 17px; margin: 8px 0 !important; }
.fc-post-card__title a { color: var(--fc-navy); text-decoration: none; }
.fc-post-card__title a:hover { color: var(--fc-green); }
.fc-post-card__excerpt { font-size: 14px; color: var(--fc-muted); padding-bottom: 20px !important; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 下層ページ ---------- */
.crumbs { font-size: 13px; color: var(--fc-muted); padding: 14px 0 0; }
.crumbs a { color: var(--fc-muted); }
.fc-page-head { padding: 28px 0 0; }
.fc-page-head h1 { margin: 0; font-size: clamp(26px, 3vw, 31px); color: var(--fc-navy); }
.fc-entry { padding: 32px 0 72px; }
.fc-entry.content, .content.fc-entry { max-width: 860px; }
.content h2 { margin: 56px 0 18px; padding: 0 0 10px; font-size: clamp(21px, 2.4vw, 26px); color: var(--fc-navy); border-bottom: 3px solid var(--fc-green); }
.content h3 { margin: 36px 0 12px; font-size: 20px; color: var(--fc-blue); }
.content h4 { margin: 28px 0 8px; font-size: 17px; color: var(--fc-blue-dark); }
.content > :first-child { margin-top: 0; }
.content ul, .content ol { padding-left: 1.4em; }
.content li + li { margin-top: 4px; }
.content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.wp-block-table { margin: 24px 0; overflow-x: auto; }
.content th, .content td { padding: 10px 12px; border: 1px solid var(--fc-line); text-align: left; vertical-align: top; }
.content thead th, .content th { background: var(--fc-tint-strong); color: var(--fc-navy); font-family: var(--fc-heading); }
.content details { border: 1px solid var(--fc-line); border-radius: var(--fc-radius); margin: 12px 0; padding: 0 18px; background: #fff; }
.content details summary { cursor: pointer; padding: 14px 0; font-family: var(--fc-heading); font-weight: 700; color: var(--fc-navy); }
.content details[open] summary { border-bottom: 1px solid var(--fc-line); margin-bottom: 10px; }
.wp-block-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin: 24px 0; }
.wp-block-column { background: var(--fc-tint); border-radius: var(--fc-radius); padding: 4px 22px; }
.fc-404 { padding: 80px 0; text-align: center; }

/* ---------- 記事 ---------- */
.fc-single { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; padding: 32px 0 72px; }
@media (max-width: 1000px) { .fc-single { grid-template-columns: 1fr; } }
.fc-single__title { margin: 8px 0 18px; font-size: clamp(24px, 3vw, 32px); }
.fc-byline { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; font-size: 14px; }
.fc-byline strong { display: block; color: var(--fc-navy); }
.fc-byline span { color: var(--fc-muted); }
.fc-avatar { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--fc-green); color: #fff; font-family: var(--fc-heading); font-weight: 700; }
.fc-post-hero { margin: 0 0 32px; }
.fc-post-hero img { width: 100%; border-radius: var(--fc-radius); display: block; }
.fc-post-body { max-width: none; }
.fc-disclaimer { margin-top: 32px; font-size: 14px; color: var(--fc-muted); }
.fc-author { display: flex; gap: 18px; margin-top: 48px; padding: 28px; background: var(--fc-tint); border-radius: var(--fc-radius); }
.fc-author .fc-avatar { width: 64px; height: 64px; font-size: 22px; }
.fc-author__name { font-family: var(--fc-heading); font-weight: 700; color: var(--fc-navy); font-size: 18px; }
.fc-author__role { font-size: 13px; color: var(--fc-muted); }
.fc-author p { font-size: 14px; margin: 8px 0 0; }
.fc-sidebar > * + * { margin-top: 24px; }
.fc-sidebar { align-self: start; position: sticky; top: 96px; }
@media (max-width: 1000px) { .fc-sidebar { position: static; } }
.fc-side-cta { background: var(--fc-navy); color: #fff; border-radius: var(--fc-radius); padding: 28px; }
.fc-side-cta h2 { color: #fff; font-size: 20px; margin: 0 0 8px; }
.fc-side-cta p { font-size: 14px; margin: 0 0 12px; }
.fc-side-cta .fc-tel { color: #fff; justify-content: center; width: 100%; }
.fc-side-box { border: 1px solid var(--fc-line); border-radius: var(--fc-radius); padding: 20px; }
.fc-side-box h2 { font-size: 16px; margin: 0 0 8px; }
.fc-side-box ul { margin: 0; padding-left: 1.2em; font-size: 14px; }

/* ---------- CTA・フッター ---------- */
.fc-cta { background: var(--fc-navy); color: #fff; }
.fc-cta__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .fc-cta__inner { grid-template-columns: 1fr; } }
.fc-cta h2 { color: #fff; font-size: 30px; margin: 0 0 14px; }
.fc-cta p { margin: 0 0 22px; }
.fc-cta__media { display: block; border-radius: var(--fc-radius); overflow: hidden; transition: transform .25s; }
.fc-cta__media:hover { transform: translateY(-4px); }
.fc-cta__media img { display: block; width: 100%; }
.fc-footer { background: #fff; color: var(--fc-muted); padding: 40px 0 24px; font-size: 14px; border-top: 1px solid var(--fc-line); }
.fc-footer a { color: var(--fc-muted); text-decoration: none; }
.fc-footer a:hover { text-decoration: underline; color: var(--fc-green-dark); }
.fc-footer .fc-logo img { width: 220px; }
.fc-footer__cols { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
@media (max-width: 860px) { .fc-footer__cols { grid-template-columns: 1fr; } }
.fc-footer__nav { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 20px; }
.fc-footer__copy { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--fc-line); font-size: 13px; }

/* ---------- 画面右下の相談ボタン ---------- */
.fc-float { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.fc-float a { display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; color: #fff; box-shadow: 0 6px 18px rgba(0,16,46,.25); transition: transform .2s; }
.fc-float a:hover { transform: scale(1.06); color: #fff; }
.fc-float__tel { background: var(--fc-green); }
.fc-float__line { background: var(--fc-line-green); }
.fc-float__book { background: var(--fc-blue); }
.fsim { display: grid; grid-template-columns: minmax(260px, 1fr) 2fr; gap: 24px; }
@media (max-width: 860px) { .fsim { grid-template-columns: 1fr; } }
.fsim__form {
	background: var(--fc-tint); border-radius: var(--fc-radius); padding: 28px;
	display: flex; flex-direction: column; gap: 18px; align-self: start;
}
.fsim__field { display: flex; flex-direction: column; gap: 6px; }
.fsim__field label { font-family: var(--fc-heading); font-weight: 700; font-size: 15px; color: var(--fc-navy); }
.fsim__field input {
	font-size: 18px; padding: 12px 14px; border: 1px solid #B9CCC6; border-radius: 6px;
	background: #fff; color: var(--fc-text); width: 100%; box-sizing: border-box;
}
.fsim__cap { margin: 0; font-size: 14px; color: var(--fc-text); }
.fsim__cap strong { color: var(--fc-navy); }
.fsim__results { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-self: start; }
@media (max-width: 600px) { .fsim__results { grid-template-columns: 1fr; } }
.fsim__col { border: 1px solid var(--fc-line); border-radius: var(--fc-radius); padding: 22px; background: #fff; }
.fsim__col--corp { border: 2px solid var(--fc-green); }
.fsim__heading { margin: 0 !important; font-size: 18px !important; color: var(--fc-navy) !important; }
.fsim__note { margin: 2px 0 12px; font-size: 13px; color: var(--fc-muted); }
.fsim ul { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.fsim li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px dotted #C9D6D1; }
.fsim li span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.fsim__total { margin: 12px 0 0; text-align: right; font-family: var(--fc-heading); font-weight: 700; font-size: 22px; color: var(--fc-navy); }
.fsim__compare {
	grid-column: 1 / -1; margin: 0; text-align: center;
	background: var(--fc-tint-strong); color: var(--fc-navy);
	font-family: var(--fc-heading); font-weight: 700; font-size: clamp(18px, 2.4vw, 24px);
	border-radius: var(--fc-radius); padding: 16px;
}
.fsim__disclaimer { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--fc-muted); }
.fsim__action { grid-column: 1 / -1; margin: 0; text-align: center; }
.fsim__button {
	display: inline-block; background: var(--fc-green-dark); color: #fff; text-decoration: none;
	font-family: var(--fc-heading); font-weight: 700; padding: 14px 28px; border-radius: 6px;
}
.fsim__button:hover { background: var(--fc-navy); color: #fff; }

/* ---------- 手順 ---------- */
.fc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; counter-reset: fcstep; }
.fc-steps li { border: 1px solid var(--fc-line); border-radius: var(--fc-radius); padding: 24px; counter-increment: fcstep; }
.fc-steps li::before { content: "STEP " counter(fcstep); display: block; font-family: var(--fc-heading); font-weight: 700; color: var(--fc-blue-dark); font-size: 14px; }
.fc-steps strong { display: block; font-family: var(--fc-heading); color: var(--fc-navy); font-size: 18px; margin: 4px 0 8px; }
.fc-steps p { margin: 0; font-size: 15px; }

/* ---------- 404 ---------- */
.fc-404 { padding-block: 96px; text-align: center; }

/* ---------- 画像つき案内カード ---------- */
.fc-imgcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 40px; }
.fc-imgcards--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.fc-imgcard {
	display: flex; flex-direction: column; background: #fff; border: 1px solid var(--fc-line);
	border-radius: var(--fc-radius); overflow: hidden; text-decoration: none; color: var(--fc-text);
	transition: transform .25s ease, box-shadow .25s ease;
}
.fc-imgcard:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,16,46,.10); color: var(--fc-text); }
.fc-imgcard__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--fc-tint); }
.fc-imgcard__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.fc-imgcard:hover .fc-imgcard__img img { transform: scale(1.04); }
.fc-imgcard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; line-height: 1.7; }
.fc-imgcard__body strong { font-family: var(--fc-heading); color: var(--fc-navy); font-size: 17px; }
.fc-imgcard__body strong::after { content: " →"; color: var(--fc-green-dark); }
.fc-imgcard__body span { font-size: 14px; color: var(--fc-muted); }

.fc-card--media { padding: 0 !important; overflow: hidden; display: flex; flex-direction: column; }
.fc-card--media > *:not(.fc-card__media) { padding-inline: 24px; }
.fc-card--media > .wp-block-buttons { padding-bottom: 24px; margin-top: auto !important; }
.fc-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; margin: 0 !important; }
.fc-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fc-card--media h3 { margin-top: 20px !important; }

.fc-cta__media { display: block; border-radius: var(--fc-radius); overflow: hidden; line-height: 0; transition: transform .25s ease; }
.fc-cta__media:hover { transform: translateY(-4px); }
.fc-cta__media img { width: 100%; height: auto; }

.fc-about { gap: 40px; align-items: center; margin-top: 8px; }
.fc-video { margin: 0; }
.fc-video iframe { border-radius: var(--fc-radius); }
.fc-video figcaption { font-size: 13px; color: var(--fc-muted); text-align: center; }

/* ---------- 表示演出 ---------- */
.fc-motion .fc-reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.fc-motion .fc-reveal.is-visible { opacity: 1; transform: none; }
.fc-motion .fc-hero .fc-reveal { transform: none; }
@media (prefers-reduced-motion: reduce) {
	.fc-reveal { opacity: 1 !important; transform: none !important; }
	.wp-block-button__link:hover, .fc-imgcard:hover, .fc-cta__media:hover { transform: none; }
}

@media (max-width: 480px) {
	.fc-header .fc-btn-line { display: none; }
}

.fc-video__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--fc-radius); overflow: hidden; background: #000; }
.fc-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fc-video figcaption { margin-top: 8px; }
@media (min-width: 1080px) {
	.fc-header__inner { flex-wrap: nowrap !important; }
	.fc-nav .wp-block-navigation__container { gap: 6px 18px; flex-wrap: nowrap; }
	.fc-nav .wp-block-navigation-item__content { white-space: nowrap; }
}

/* ---------- 司法書士法人との連携 ---------- */
.fc-partner { margin-block: 24px; }
.fc-partner__roles { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: stretch; }
@media (max-width: 720px) { .fc-partner__roles { grid-template-columns: 1fr; } .fc-partner__plus { justify-self: center; } }
.fc-partner__role { border: 1px solid var(--fc-line); border-radius: var(--fc-radius); padding: 22px 24px; background: #fff; }
.fc-partner__role--us { border: 2px solid var(--fc-green); }
.fc-partner__label { display: inline-block; font-size: 13px; font-weight: 700; color: var(--fc-green-deep); background: var(--fc-tint-strong); border-radius: 999px; padding: 2px 12px; }
.fc-partner__role strong { display: block; font-family: var(--fc-heading); color: var(--fc-navy); font-size: 17px; margin: 8px 0 6px; }
.fc-partner__role ul { margin: 0; padding-left: 1.2em; font-size: 15px; }
.fc-partner__plus { align-self: center; font-family: var(--fc-heading); font-weight: 700; font-size: 28px; color: var(--fc-green); }
.fc-partner__info { font-size: 14px; color: var(--fc-muted); margin-top: 12px; }

/* ---------- 記事内FAQ ---------- */

/* ---------- ナビのサブメニュー ---------- */
.fc-nav .wp-block-navigation__submenu-container {
	border: 1px solid var(--fc-line) !important; border-radius: 8px; padding: 6px 0;
	box-shadow: 0 10px 24px rgba(0,16,46,.10); min-width: 220px !important;
}
.fc-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 8px 18px !important; font-size: 14px; }
.fc-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--fc-tint); }
.fc-nav .is-menu-open .wp-block-navigation__submenu-container { box-shadow: none; border: 0 !important; padding-left: 12px; }

.fc-header__actions .wp-block-buttons { flex-wrap: nowrap; }
.fc-header__actions .wp-block-button__link { white-space: nowrap; }
.fc-nav .wp-block-navigation__submenu-container { min-width: 260px !important; }
.fc-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { white-space: nowrap; }

/* ---------- 記事カードの画像 ---------- */
.fc-post-card { overflow: hidden; display: flex; flex-direction: column; }
.fc-post-card > .fc-post-card__img { margin: -24px -24px 6px !important; aspect-ratio: 16 / 9; overflow: hidden; background: var(--fc-tint); }
.fc-post-card__img a { display: block; width: 100%; height: 100%; }
.fc-post-card__img img { width: 100%; height: 100% !important; object-fit: cover; display: block; transition: transform .5s ease; }
.fc-post-card:hover .fc-post-card__img img { transform: scale(1.04); }
.fc-noimg {
	display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px;
	width: 100%; height: 100%; text-align: center;
	background: linear-gradient(135deg, var(--fc-green) 0%, var(--fc-blue) 100%); color: #fff;
}
.fc-noimg__cat { font-family: var(--fc-heading); font-weight: 700; font-size: 22px; letter-spacing: .04em; }
.fc-noimg__brand { font-size: 12px; opacity: .9; }

/* ---------- 業務案内の案内カード（4枚） ---------- */
.fc-imgcards--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
@media (min-width: 1080px) { .fc-imgcards--4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 相談導線のボタン色 ---------- */
.fc-cta .wp-block-button.fc-btn-tel .wp-block-button__link { background: #029676 !important; color: #fff !important; }
.fc-cta .wp-block-button.fc-btn-tel .wp-block-button__link:hover { background: #017A60 !important; }
.fc-cta .wp-block-button.fc-btn-line-solid .wp-block-button__link { background: #06C755 !important; color: #fff !important; }
.fc-cta .wp-block-button.fc-btn-line-solid .wp-block-button__link:hover { background: #05A847 !important; }

/* ---------- 関連記事 ---------- */
.fc-related { margin-top: 48px; border-top: 3px solid var(--fc-green); padding-top: 20px; }
.fc-related__title { font-size: 20px !important; margin: 0 0 12px !important; border: 0 !important; padding: 0 !important; color: var(--fc-navy); }
.fc-related__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fc-related__list a { display: block; padding: 14px 18px; border: 1px solid var(--fc-line); border-radius: var(--fc-radius); text-decoration: none; color: var(--fc-navy); font-family: var(--fc-heading); font-weight: 700; font-size: 15px; line-height: 1.6; }
.fc-related__list a::after { content: " →"; color: var(--fc-green-dark); }
.fc-related__list a:hover { background: var(--fc-tint); }

/* ---------- 旧サイトから移したページの部品 ---------- */
.content h5 { margin: 24px 0 8px; font-size: 17px; color: var(--fc-navy); }
.content h6 { margin: 18px 0 6px; font-size: 15px; color: var(--fc-blue-dark); }
.content hr { border: 0; border-top: 1px solid var(--fc-line); margin: 40px 0; }
.content img { border-radius: var(--fc-radius); }
.content .fc-img { margin: 24px 0; }
.content .fc-img img { display: block; margin-inline: auto; }
.content .fc-counters { margin: 28px 0; }
.content .fc-counters .fc-card { padding: 20px; text-align: center; }
.content .fc-counters .fc-feature__num { font-size: 38px; }
.content .fc-box { border: 1px solid var(--fc-line); border-radius: var(--fc-radius); padding: 18px 22px; margin: 14px 0; }
.content .fc-box h3 { margin: 0 0 6px; }
.content .fc-box p { margin: 0; }
.content .fc-video, .content .fc-map { margin: 28px 0; }
.content .fc-map iframe { min-height: 320px; }
.content .wp-block-button__link { color: #fff; }
.content .fc-cards { margin: 24px 0; }

/* ---------- 料金の見積り・要件チェック ---------- */
.fest { margin: 8px 0 48px; padding: 28px; border: 2px solid var(--fc-green); border-radius: var(--fc-radius); background: #fff; }
.content .fest__title { margin: 0 0 18px; padding: 0; border: 0; font-size: 22px; color: var(--fc-green); }
.fest fieldset { border: 0; margin: 0 0 18px; padding: 0; }
.fest legend { font-family: var(--fc-heading); font-weight: 700; color: var(--fc-navy); margin-bottom: 8px; padding: 0; }
.fest label { display: inline-flex; align-items: center; gap: 4px; margin: 0 14px 8px 0; padding: 8px 12px; border: 1px solid var(--fc-line); border-radius: 6px; cursor: pointer; font-size: 15px; line-height: 1.5; }
.fest label:has(input:checked) { border-color: var(--fc-green); background: var(--fc-tint-strong); }
.fest select { font-size: 15px; padding: 8px 10px; border: 1px solid var(--fc-line); border-radius: 6px; }
.fest__desc { margin: 0 0 8px; font-size: 13px; color: var(--fc-muted); }
.fest__answer { margin: 10px 0 20px; padding: 18px 22px; background: var(--fc-tint); border-left: 4px solid var(--fc-green); border-radius: 6px; }
.fest__answer-title { font-family: var(--fc-heading); font-weight: 700; color: var(--fc-green-dark); font-size: 18px; margin: 0 0 8px; }
.fest__results { margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--fc-line); }
.fest__results-title { font-family: var(--fc-heading); font-weight: 700; color: var(--fc-navy); margin: 0 0 8px; }
.fest__field--calculation { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 8px 0; border-bottom: 1px dotted #C9D6D1; }
.fest__field--calculation small { flex-basis: 100%; color: var(--fc-muted); font-size: 12px; }
.fest__calc-value { font-variant-numeric: tabular-nums; font-weight: 700; }
.fest__total .fest__calc-label, .fest__total .fest__calc-value { font-family: var(--fc-heading); font-size: 20px; color: var(--fc-navy); }
.fest__note { margin: 14px 0 0; font-size: 13px; color: var(--fc-muted); }
.fest [hidden] { display: none !important; }
.fc-page-head .wrap { max-width: 860px; }
.fest__cta { margin-top: 22px; padding: 20px 22px; background: var(--fc-tint); border-radius: var(--fc-radius); }
.fest__cta-title { margin: 0 0 6px; font-family: var(--fc-heading); font-weight: 700; color: var(--fc-green-dark); font-size: 18px; }
.fest__cta-text { margin: 0; font-size: 14px; }
.fest__cta .wp-block-buttons { margin: 14px 0 0; }

/* Elementorで作っていたページの見出し（旧サイトと同じ色） */
.content .fc-el h2 { color: var(--fc-green); border: 0; padding: 0; font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; }
.content .fc-el h3 { color: var(--fc-blue); font-size: clamp(20px, 2.3vw, 26px); font-weight: 600; }
.content .fc-el h4 { color: var(--fc-navy); font-size: 20px; font-weight: 600; }
.content .fc-el .fest__title { color: var(--fc-green); }
.content .fc-band { margin: 32px calc(50% - 50vw); padding: 24px calc(50vw - 50%); }
.content .fc-band > :first-child { margin-top: 0; }
html, body { overflow-x: clip; }
.fest__hint { margin: 8px 0 10px; font-size: 13px; color: var(--fc-muted); }
.fest__show { border: 0; cursor: pointer; font-size: 16px; }
.fest__show:disabled { background: #B8C4C0; cursor: not-allowed; transform: none; }

/* ---------- 分野（カテゴリー）まわり ---------- */
.fc-cluster { margin-top: 40px; padding: 22px 24px; border: 2px solid var(--fc-green); border-radius: var(--fc-radius); }
.fc-cluster__title { font-size: 20px; margin: 0 0 6px; color: var(--fc-green); }
.fc-cluster__lead { margin: 0 0 12px; font-size: 14px; }
.fc-cluster__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.fc-cluster__list a { display: block; padding: 12px 16px; background: var(--fc-tint); border-radius: 6px; text-decoration: none; color: var(--fc-navy); font-family: var(--fc-heading); font-weight: 700; font-size: 15px; }
.fc-cluster__list a::after { content: " →"; color: var(--fc-green-dark); }
.fc-cluster__list a:hover { background: var(--fc-tint-strong); }
.fc-cluster-posts { margin: 48px 0 0; }
.fc-cluster-posts > h2 { color: var(--fc-green); border: 0; padding: 0; }
.fc-catnav ul { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fc-catnav a { display: inline-block; padding: 8px 16px; border: 1px solid var(--fc-green); border-radius: 999px; color: var(--fc-green-dark); text-decoration: none; font-family: var(--fc-heading); font-weight: 700; font-size: 14px; }
.fc-catnav a:hover { background: var(--fc-tint-strong); }
.fc-answer { margin: 0 0 28px; padding: 18px 22px; background: var(--fc-tint); border-left: 4px solid var(--fc-green); border-radius: 6px; }
.fc-answer > :first-child { margin-top: 0; }
.fc-answer > :last-child { margin-bottom: 0; }
.fc-sources { font-size: 14px; }
.fc-sources li { word-break: break-all; }

/* Googleマップの口コミ（/api/reviews） */
.fc-reviews { max-width: 980px; }
.fc-reviews__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.fc-reviews__summary { margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fc-reviews__rating { font-size: 32px; font-weight: 700; color: var(--fc-green); line-height: 1; }
.fc-reviews__stars { color: #f5a623; letter-spacing: 1px; }
.fc-reviews__count { color: #5e5e5e; font-size: 14px; }
.fc-reviews__attr { margin: 0; font-family: Roboto, Arial, sans-serif; font-weight: 400; font-size: 14px; color: #5e5e5e; }
.fc-reviews__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.fc-reviews__item { background: #fff; border: 1px solid var(--fc-line); border-radius: var(--fc-radius); padding: 20px; display: flex; flex-direction: column; }
.fc-reviews__author { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.fc-reviews__author img { border-radius: 50%; flex: none; }
.fc-reviews__name { font-weight: 700; }
.fc-reviews__meta { font-size: 13px; color: #5e5e5e; display: flex; gap: 8px; }
.fc-reviews__text { white-space: pre-line; margin: 0 0 10px; font-size: 15px; flex: 1; }
.fc-reviews__foot { margin: 0; font-size: 13px; color: #5e5e5e; }
.fc-reviews__note { font-size: 13px; color: #5e5e5e; margin: 16px 0 0; display: none; }
.fc-reviews.is-loaded .fc-reviews__note { display: block; }
