/*
Theme Name: 融資と資金調達の基礎知識 2026
Description: ワンカラム・スマホ対応。焦茶×藍青。会社変更手続きドットコムの kh2026 を土台に作成（クラス名の gk- はそのまま）。融資の情報提供サイト。w-e-uc Issue #4
Version: 1.0
*/

:root {
	--gk-ink: #2b2420;
	--gk-sub: #6a5f58;
	--gk-green: #5a3d2e;       /* 焦茶（こげちゃ）：落ち着き・堅実（変数名は土台のテーマのまま） */
	--gk-green-dark: #3e2a1f;
	--gk-green-soft: #f4eee9;
	--gk-accent: #2d5e9e;      /* 藍青（あいあお）：リンク・ボタン。ほかのサイトと重ならない色 */
	--gk-accent-dark: #224a7d;
	--gk-accent-soft: #e8eef7;
	--gk-bg: #faf7f4;
	--gk-line: #e6ddd5;
	--gk-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
	--gk-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	--gk-w: 1080px;
	--gk-w-narrow: 820px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; color: var(--gk-ink); background: #fff; font-family: var(--gk-sans); font-size: 16px; line-height: 1.9; letter-spacing: .02em; }
img { max-width: 100%; height: auto; }
a { color: var(--gk-green); }
a:hover { color: var(--gk-accent-dark); }
.gk-wrap { width: 100%; max-width: var(--gk-w); margin: 0 auto; padding: 0 20px; }
.gk-wrap--narrow { max-width: var(--gk-w-narrow); }
.gk-sp { display: none; }
.gk-skip { position: absolute; left: -9999px; }
.gk-skip:focus { left: 8px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; }

/* ---------- ボタン ---------- */
.gk-btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-height: 52px; padding: 10px 26px; border-radius: 999px; font-weight: 700; text-decoration: none; line-height: 1.3; transition: background .15s, color .15s; }
.gk-btn--main { background: var(--gk-accent); color: #fff; }
.gk-btn--main:hover { background: var(--gk-accent-dark); color: #fff; }
.gk-btn--ghost { border: 2px solid var(--gk-green); color: var(--gk-green); background: #fff; }
.gk-btn--ghost:hover { background: var(--gk-green); color: #fff; }
.gk-btn--tel { background: var(--gk-green); color: #fff; font-size: 22px; letter-spacing: .04em; }
.gk-btn--tel:hover { background: var(--gk-green-dark); color: #fff; }
.gk-btn--line { border: 2px solid #fff; color: #fff; }
.gk-btn--line:hover { background: #fff; color: var(--gk-green-dark); }
.gk-btn__sub { font-size: 12px; font-weight: 500; letter-spacing: 0; }
.gk-btn--sm { min-height: 40px; padding: 6px 18px; font-size: 14px; }

/* ---------- ヘッダー ---------- */
.gk-header { background: #fff; border-bottom: 1px solid var(--gk-line); position: relative; z-index: 20; }
.gk-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.gk-logo { margin: 0; font-size: inherit; }
.gk-logo a { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--gk-ink); }
.gk-logo__mark { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; background: var(--gk-green); color: #fff; font-family: var(--gk-serif); font-size: 24px; font-weight: 700; }
.gk-logo__text { display: flex; flex-direction: column; line-height: 1.35; }
.gk-logo__name { font-family: var(--gk-serif); font-size: 24px; font-weight: 700; color: var(--gk-green-dark); letter-spacing: .03em; }
.gk-logo__sub { font-size: 12px; color: var(--gk-sub); }
.gk-header__contact { display: flex; align-items: center; gap: 16px; }
.gk-header__tel { display: flex; flex-direction: column; text-decoration: none; color: var(--gk-green-dark); font-size: 24px; font-weight: 800; line-height: 1.2; letter-spacing: .04em; }
.gk-header__tellabel { font-size: 11px; font-weight: 500; color: var(--gk-sub); letter-spacing: 0; }
.gk-menu-btn { display: none; }
.gk-nav { background: var(--gk-green); }
.gk-nav ul { display: flex; flex-wrap: wrap; justify-content: center; list-style: none; margin: 0 auto; padding-top: 0; padding-bottom: 0; }
.gk-nav li a { display: block; padding: 12px 16px; color: #fff; text-decoration: none; font-size: 14.5px; font-weight: 500; }
.gk-nav li a:hover { background: var(--gk-green-dark); color: #fff; }
.gk-nav .gk-nav__order a { background: var(--gk-accent); font-weight: 700; }
.gk-nav .gk-nav__order a:hover { background: var(--gk-accent-dark); }

.gk-crumb { background: var(--gk-bg); font-size: 13px; color: var(--gk-sub); }
.gk-crumb .gk-wrap { padding-top: 8px; padding-bottom: 8px; }
.gk-crumb a { color: var(--gk-sub); }
.gk-crumb__sep { margin: 0 8px; }

/* ---------- トップ：ヒーロー ---------- */
.gk-hero {
	background:
		radial-gradient(circle at 90% 15%, rgba(90, 61, 46, .08) 0 200px, transparent 201px),
		radial-gradient(circle at 75% 95%, rgba(45, 94, 158, .07) 0 150px, transparent 151px),
		linear-gradient(180deg, var(--gk-bg) 0%, #fff 90%);
}
.gk-hero__inner { padding-top: 56px; padding-bottom: 60px; }
.gk-hero__area { display: inline-block; margin: 0 0 14px; padding: 4px 14px; border-radius: 999px; background: var(--gk-green); color: #fff; font-size: 13px; font-weight: 700; }
.gk-hero__title { margin: 0 0 18px; font-family: var(--gk-serif); font-size: clamp(24px, 4vw, 40px); font-weight: 700; line-height: 1.5; color: var(--gk-green-dark); }
.gk-hero__lead { max-width: 680px; margin: 0 0 26px; color: var(--gk-ink); }
.gk-hero__price { display: inline-block; margin: 0 0 26px; padding: 16px 26px; border: 2px solid var(--gk-accent); border-radius: 12px; background: #fff; }
.gk-hero__price p { margin: 0; }
.gk-hero__price-label { font-size: 13px; font-weight: 700; color: var(--gk-accent-dark); }
.gk-hero__price-num { font-size: 40px; font-weight: 800; color: var(--gk-accent-dark); line-height: 1.3; letter-spacing: .02em; }
.gk-hero__price-num span { font-size: 16px; font-weight: 700; margin-left: 4px; }
.gk-hero__price-note { font-size: 13px; color: var(--gk-sub); }
.gk-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- トップ：セクション ---------- */
.gk-sec { padding: 64px 0; }
.gk-sec--tint { background: var(--gk-bg); }
.gk-sec__title { margin: 0 0 28px; text-align: center; font-family: var(--gk-serif); font-size: clamp(22px, 3vw, 30px); color: var(--gk-green-dark); line-height: 1.5; }
.gk-sec__en { display: block; font-family: var(--gk-sans); font-size: 13px; font-weight: 700; letter-spacing: .2em; color: var(--gk-accent); text-transform: uppercase; }
.gk-sec__lead { text-align: center; margin: -10px 0 24px; }
.gk-flow__note { margin: 16px 0 0; font-size: 14px; font-weight: 700; color: var(--gk-accent-dark); text-align: center; }
.gk-more { margin: 20px 0 0; text-align: center; }
.gk-more a { font-weight: 700; }
.gk-more a::after { content: " →"; }

.gk-points { display: grid; grid-template-columns: 1fr; gap: 14px; max-width: 860px; margin: 0 auto; } /* 3列だと1行が短く改行が不自然になるため縦に並べる */
.gk-point { display: grid; grid-template-columns: 64px 1fr; column-gap: 8px; background: #fff; border: 1px solid var(--gk-line); border-left: 5px solid var(--gk-green); border-radius: 8px; padding: 20px 24px 18px 18px; }
.gk-point__num { grid-row: 1 / span 2; margin: 0; font-size: 30px; font-weight: 800; color: var(--gk-accent); line-height: 1.2; text-align: center; }
.gk-point h3 { margin: 0 0 6px; font-size: 19px; color: var(--gk-green-dark); line-height: 1.5; }
.gk-point p { margin: 0; font-size: 15px; }

.gk-table-wrap { overflow-x: auto; }
.gk-price { width: 100%; max-width: 760px; margin: 0 auto; border-collapse: collapse; background: #fff; font-size: 16px; }
.gk-price th, .gk-price td { border: 1px solid var(--gk-line); padding: 12px 14px; text-align: center; }
.gk-price thead th { background: var(--gk-green-soft); font-size: 15px; line-height: 1.5; }
.gk-price tbody th { text-align: left; background: #f8f4f0; font-weight: 500; }
.gk-price .gk-price__us { background: var(--gk-accent-soft); font-weight: 700; }
.gk-price thead .gk-price__us { background: var(--gk-accent); color: #fff; }
.gk-price__total th, .gk-price__total td { font-size: 18px; font-weight: 800; }
.gk-price__total .gk-price__us { color: var(--gk-accent-dark); }
.gk-notes { max-width: 760px; margin: 16px auto 0; padding-left: 1.2em; font-size: 14px; color: var(--gk-sub); }

.gk-flow { counter-reset: flow; list-style: none; max-width: 820px; margin: 0 auto; padding: 0; }
.gk-flow li { counter-increment: flow; position: relative; margin: 0 0 14px; padding: 16px 18px 16px 70px; background: #fff; border: 1px solid var(--gk-line); border-radius: 8px; }
.gk-flow li::before { content: counter(flow); position: absolute; left: 18px; top: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--gk-green); color: #fff; display: grid; place-items: center; font-weight: 800; }
.gk-flow strong { display: block; font-size: 17px; color: var(--gk-green-dark); }
.gk-flow__who { float: right; margin-left: 10px; padding: 1px 10px; border-radius: 4px; background: var(--gk-bg); font-size: 12px; color: var(--gk-sub); }
.gk-flow__who--us { background: var(--gk-accent-soft); color: var(--gk-accent-dark); }

.gk-guide { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.gk-guide__box { background: #fff; border: 1px solid var(--gk-line); border-radius: 8px; padding: 18px 22px; }
.gk-guide__box h3 { margin: 0 0 8px; font-size: 18px; }
.gk-guide__box h3 a { color: var(--gk-green-dark); text-decoration: none; }
.gk-guide__box h3 a::after { content: " ›"; color: var(--gk-accent); }
.gk-links { list-style: none; margin: 0; padding: 0; }
.gk-links li { border-bottom: 1px dashed var(--gk-line); }
.gk-links li:last-child { border-bottom: 0; }
.gk-links a { display: block; padding: 7px 0 7px 1.1em; position: relative; text-decoration: none; font-size: 15px; color: var(--gk-ink); }
.gk-links a::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 6px; height: 6px; border-top: 2px solid var(--gk-green); border-right: 2px solid var(--gk-green); transform: rotate(45deg); }
.gk-links a:hover { color: var(--gk-accent-dark); }
.gk-links--archive { margin-top: 10px; }

.gk-office { display: flex; gap: 32px; align-items: flex-start; max-width: 860px; margin: 0 auto; }
.gk-office__photo { flex: none; margin: 0; text-align: center; font-size: 14px; color: var(--gk-sub); line-height: 1.5; }
.gk-office__photo img { display: block; width: 160px; height: 160px; object-fit: cover; border-radius: 50%; margin: 0 auto 8px; }
.gk-office__name { font-weight: 700; font-size: 18px; color: var(--gk-green-dark); margin-top: 0; }
.gk-office__text .gk-more { text-align: left; }

/* ---------- お問い合わせの帯 ---------- */
.gk-cta { background: var(--gk-green-dark); color: #fff; text-align: center; padding: 56px 0; }
.gk-cta__title { margin: 0 0 8px; font-family: var(--gk-serif); font-size: clamp(21px, 3vw, 28px); font-weight: 700; }
.gk-cta__text { margin: 0 0 22px; font-size: 15px; opacity: .92; }
.gk-cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.gk-cta .gk-btn--tel { background: #fff; color: var(--gk-green-dark); }
.gk-cta__hours { margin: 14px 0 0; font-size: 13px; opacity: .85; }

/* ---------- 記事・固定ページ ---------- */
.gk-article { padding: 40px 0 56px; }
.gk-article__title { margin: 0 0 28px; padding-bottom: 14px; border-bottom: 3px solid var(--gk-green); font-family: var(--gk-serif); font-size: clamp(23px, 3.4vw, 32px); line-height: 1.5; color: var(--gk-green-dark); }
.gk-content { overflow-wrap: anywhere; }
.gk-content::after { content: ""; display: block; clear: both; }
.gk-content p { margin: 0 0 1.2em; }
.gk-content h2 { clear: both; margin: 2.4em 0 1em; padding: 10px 16px; background: var(--gk-green-soft); border-left: 5px solid var(--gk-green); font-size: 21px; line-height: 1.5; color: var(--gk-green-dark); }
.gk-content h3 { clear: both; margin: 2em 0 .8em; padding: 0 0 6px 12px; border-left: 4px solid var(--gk-accent); border-bottom: 1px solid var(--gk-line); font-size: 18.5px; line-height: 1.5; }
.gk-content h4 { margin: 1.6em 0 .6em; font-size: 17px; color: var(--gk-green-dark); }
.gk-content ul, .gk-content ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.gk-content li { margin: .3em 0; }
.gk-content u { text-decoration: none; background: linear-gradient(transparent 62%, #f3e3c8 62%); }
.gk-content .red { color: var(--gk-accent-dark); }
.gk-content .marker-y { background: linear-gradient(transparent 62%, #f3e3c8 62%); }
.gk-content table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 15px; display: block; overflow-x: auto; }
.gk-content table tbody, .gk-content table thead { display: table; width: 100%; border-collapse: collapse; }
.gk-content th, .gk-content td { border: 1px solid var(--gk-line); padding: 10px 12px; vertical-align: top; }
.gk-content th { background: var(--gk-bg); text-align: left; font-weight: 700; word-break: keep-all; overflow-wrap: break-word; } /* 表の項目名は語の途中で折らない（収まらないときだけ折る）2026-10-05 */
.gk-content img[style*="float:left"], .gk-content .alignleft { float: left; margin: 0 18px 12px 0; }
.gk-content img[style*="float:right"], .gk-content .alignright { float: right; margin: 0 0 12px 18px; }
.gk-content .aligncenter { display: block; margin: 0 auto; }
.gk-content iframe { max-width: 100%; }
.gk-content .wp-caption { max-width: 100%; }
.gk-content .wp-caption-text { font-size: 13px; color: var(--gk-sub); }
.gk-content blockquote { margin: 0 0 1.2em; padding: 12px 18px; border-left: 4px solid var(--gk-line); background: var(--gk-bg); }
/* 設立サービスの流れ（旧ページの表） */
.gk-content .flow-table td, .gk-content .flow-table th { text-align: center; vertical-align: middle; width: 50%; }
.gk-content .flow-table td { font-size: 14.5px; }
.gk-content .flow-table img { display: block; margin: 0 auto 6px; }
/* よくある質問 */
.gk-content .faqlist { background: var(--gk-bg); border-radius: 8px; padding: 16px 16px 16px 2.4em; }
.gk-content .faq_title { margin: 2em 0 .6em; padding: 10px 14px; background: var(--gk-green-soft); border-radius: 6px; font-weight: 700; color: var(--gk-green-dark); }
.gk-content .faq_anser { padding: 0 14px; }
/* 目次 */
.gk-content #mokuji { margin-bottom: 0; font-weight: 700; }
.gk-content #mokuji + ul { background: var(--gk-bg); border-radius: 8px; padding: 14px 14px 14px 2.2em; }
/* サイトマップ */
.gk-content .sitemap ul { list-style: disc; }

.gk-related { margin-top: 48px; padding: 20px 22px; background: var(--gk-bg); border-radius: 8px; }
.gk-related h2 { margin: 0 0 8px; font-size: 17px; color: var(--gk-green-dark); }
.gk-pager { margin-top: 24px; text-align: center; }
.gk-pager .page-numbers { display: inline-block; padding: 4px 10px; }

/* ---------- フォーム（旧テーマのフォーム部品） ---------- */
.gk-form .form-area h2 { margin-top: 0; }
.gk-form .form-table { display: table; }
.gk-form .form-table th { width: 32%; }
.gk-form input[type="text"], .gk-form input[type="email"], .gk-form select, .gk-form textarea { max-width: 100%; padding: 8px 10px; border: 1px solid #b7c7c9; border-radius: 6px; font-size: 16px; font-family: inherit; }
.gk-form input[type="text"] { width: 100%; }
.gk-form input[name^="tel_"] { width: 5em; }
.gk-form textarea { width: 100%; min-height: 10em; }
.gk-form input[type="submit"] { margin: 6px 8px 6px 0; min-height: 48px; padding: 8px 32px; border: 0; border-radius: 999px; background: var(--gk-accent); color: #fff; font-size: 16px; font-weight: 700; cursor: pointer; }
.gk-form input[name="dispatch_default"] { background: #86939a; }
.gk-form .required { color: var(--gk-accent-dark); font-weight: 700; }
.gk-form .error, .gk-form .error-message { color: #b3261e; font-weight: 700; }
.gk-form .form-area ul { list-style: none; padding-left: 0; }
.gk-form .form-area ul li { display: inline-block; margin-right: 1.2em; }

/* ---------- フッター ---------- */
.gk-footer { background: #2e2019; color: #e6dbd2; font-size: 14px; padding: 40px 0 0; }
.gk-footer a { color: #fff; }
.gk-footer__inner { display: flex; gap: 40px; justify-content: space-between; }
.gk-footer__name { margin: 0 0 6px; font-family: var(--gk-serif); font-size: 20px; color: #fff; }
.gk-footer__note { font-size: 13px; opacity: .85; }
.gk-footer__links { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; min-width: 300px; }
.gk-footer__links li { margin: 0 0 6px; }
.gk-footer__links a { text-decoration: none; white-space: nowrap; } /* 「プライバシーポリ／シー」とならないように（2026-10-05） */
.gk-footer__links a:hover { text-decoration: underline; color: #fff; }
.gk-footer__copy { margin: 32px 0 0; padding: 14px 0; text-align: center; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 12px; }
.gk-fixed-tel, .gk-fixed-mail { display: none; }

/* ---------- 改行の調整（経審サイトと同じ考え方。2026-10-02 オーナー指摘）----------
   PC：見出し・箇条書きは行の長さをそろえ（balance）、段落は最後の行が短くなりすぎないように（pretty）。文節の切れ目は gk.js（BudouX）
   スマホ：文字を横幅いっぱいまで入れる（行をそろえない）。ヒーローの見出しだけは区切りのよい位置で改行 */
.gk-nb { display: inline-block; }
.gk-nw { white-space: nowrap; text-wrap: nowrap !important; } /* スマホの text-wrap: wrap !important に負けないように（経審サイトと同じ） */
/* 手続きキット（kit.php）。控えめな枠で、ボタンは白地の枠線（申込みボタンより目立たせない） */
.gk-kit { margin: 32px 0; padding: 20px 22px; border: 1px solid var(--gk-line); border-left: 4px solid var(--gk-green); border-radius: 8px; background: var(--gk-bg); }
.gk-content .gk-kit p { margin: 0; }
.gk-kit__label { font-size: 13px; font-weight: 700; color: var(--gk-sub); }
.gk-content .gk-kit .gk-kit__name { margin: 2px 0 6px; font-size: 17px; font-weight: 700; color: var(--gk-green-dark); line-height: 1.5; }
.gk-kit__text { font-size: 15px; }
.gk-content .gk-kit .gk-kit__btns { margin-top: 14px; }
.gk-kit__btns > a:first-child, .gk-kitlist__btn a { display: inline-block; padding: 8px 18px; border: 2px solid var(--gk-green); border-radius: 999px; background: #fff; color: var(--gk-green); font-weight: 700; text-decoration: none; white-space: nowrap; }
.gk-kit__btns > a:first-child:hover, .gk-kitlist__btn a:hover { background: var(--gk-green); color: #fff; }
.gk-kit__ext { font-size: 12px; font-weight: 400; }
.gk-kitlist { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 14px; }
.gk-content .gk-kitlist li { margin: 0; padding: 16px 20px; border: 1px solid var(--gk-line); border-radius: 8px; background: #fff; }
.gk-content .gk-kitlist p { margin: 0; }
.gk-content .gk-kitlist .gk-kitlist__name { font-weight: 700; color: var(--gk-green-dark); }
.gk-kitlist__text { font-size: 15px; margin: 4px 0 10px !important; }
.gk-cta__kit { margin: 14px 0 0; font-size: 14px; }
.gk-cta__kit a { color: #fff; }
.gk-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.gk-choice__box { padding: 28px 28px 30px; border: 1px solid var(--gk-line); border-radius: 10px; background: #fff; display: flex; flex-direction: column; }
.gk-choice__box--us { border-top: 4px solid var(--gk-accent); }
.gk-choice__box--kit { border-top: 4px solid var(--gk-green); }
.gk-choice p, .gk-content .gk-choice p { margin: 0; }
.gk-choice .gk-choice__title, .gk-content .gk-choice .gk-choice__title { font-family: var(--gk-serif); font-size: 20px; font-weight: 700; color: var(--gk-green-dark); text-align: center; line-height: 1.5; }
.gk-choice .gk-choice__sub, .gk-content .gk-choice .gk-choice__sub { margin: 2px 0 16px; font-size: 13px; font-weight: 700; color: var(--gk-sub); text-align: center; }
.gk-content .gk-choice ul, .gk-choice ul { flex: 1; margin: 0 0 22px; padding: 16px 0 0; border-top: 1px dashed var(--gk-line); list-style: none; }
.gk-content .gk-choice li, .gk-choice li { position: relative; margin: 0 0 8px; padding-left: 1.4em; line-height: 1.6; }
.gk-choice li::before { content: "✓"; position: absolute; left: 0; color: var(--gk-green); font-weight: 700; }
.gk-choice__box--us li::before { color: var(--gk-accent); }
.gk-choice .gk-choice__btn, .gk-content .gk-choice .gk-choice__btn { text-align: center; }
.gk-choice__btn .gk-btn { display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 0; width: 100%; max-width: 320px; min-height: 56px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; white-space: nowrap; }
.gk-choice__ext { margin-left: .35em; font-size: .9em; }
@media (max-width: 760px) { .gk-choice { grid-template-columns: 1fr; gap: 16px; } .gk-choice__box { padding: 22px 20px 24px; } .gk-kit { padding: 16px; } }

/* 解説の箱が奇数のとき、最後の箱は横いっぱいにして中の一覧を2列に（2026-10-05） */
.gk-guide__box:last-child:nth-child(odd) { grid-column: 1 / -1; }
.gk-guide__box:last-child:nth-child(odd) .gk-links { columns: 2; column-gap: 32px; }
.gk-guide__box:last-child:nth-child(odd) .gk-links li { break-inside: avoid; border-bottom: 1px dashed var(--gk-line); }
@media (max-width: 760px) { .gk-guide__box:last-child:nth-child(odd) .gk-links { columns: 1; } }
/* 主な変更手続き（トップ）。4列×2段、スマホは2列。カードの高さはそろえる */
.gk-menu { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gk-menu li { margin: 0; }
.gk-menu a { display: flex; flex-direction: column; justify-content: center; height: 100%; min-height: 108px; padding: 18px 16px; border: 1px solid var(--gk-line); border-top: 4px solid var(--gk-green); border-radius: 10px; background: #fff; text-align: center; text-decoration: none; color: var(--gk-ink); transition: border-color .15s, box-shadow .15s; }
.gk-menu a:hover { border-color: var(--gk-green); box-shadow: 0 4px 14px rgba(90, 61, 46, .12); color: var(--gk-ink); }
.gk-menu__name { font-family: var(--gk-serif); font-size: 19px; font-weight: 700; color: var(--gk-green-dark); line-height: 1.4; }
.gk-menu__desc { margin-top: 4px; font-size: 13px; color: var(--gk-sub); line-height: 1.5; }
@media (max-width: 760px) { .gk-menu { grid-template-columns: repeat(2, 1fr); gap: 10px; } .gk-menu a { min-height: 96px; padding: 14px 10px; } .gk-menu__name { font-size: 17px; } .gk-menu__desc { font-size: 12px; } }
.gk-menu-btn__label { white-space: nowrap; text-wrap: nowrap !important; } /* 「メニュ／ー」と折り返さない（2026-10-05） */
/* 制度の変更などの注意書き（w-e-uc #5） */
.gk-note { margin: 0 0 24px; padding: 14px 18px; border: 1px solid var(--gk-line); border-left: 4px solid var(--gk-accent); border-radius: 6px; background: var(--gk-accent-soft); font-size: 15px; line-height: 1.8; }
.gk-note strong { color: var(--gk-accent-dark); }
/* 読み上げ用の文字（ページ送りの見出し・検索のラベル）は画面に出さない */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
/* 記事の下の案内（w-e-uc #7）。売り込み感を出さない控えめな枠 */
.gk-aguide { margin: 36px 0 0; padding: 18px 22px; border: 1px solid var(--gk-line); border-left: 4px solid var(--gk-green); border-radius: 8px; background: var(--gk-bg); }
.gk-aguide p { margin: 0; }
.gk-aguide__label { font-size: 12px; font-weight: 700; color: var(--gk-sub); }
.gk-aguide__title { margin: 2px 0 6px !important; font-size: 17px; font-weight: 700; color: var(--gk-green-dark); }
.gk-aguide__text { font-size: 15px; }
.gk-aguide__link { margin-top: 10px !important; }
.gk-aguide__link a { font-weight: 700; }
.gk-aguide__link a::after { content: " →"; }
.gk-kitnote { margin: 36px 0 0; padding: 18px 22px; border: 1px solid var(--gk-line); border-radius: 8px; background: #fff; }
.gk-kitnote p { margin: 0; }
.gk-kitnote__label { font-size: 12px; font-weight: 700; color: var(--gk-accent); }
.gk-kitnote__title { margin: 2px 0 6px !important; font-size: 17px; font-weight: 700; color: var(--gk-green-dark); }
.gk-kitnote__text { font-size: 15px; }
.gk-kitnote__links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 10px !important; font-size: 15px; }
.gk-kitnote__links a { font-weight: 700; color: var(--gk-accent-dark); }
.gk-kitnote__links a:last-child { font-weight: 500; color: var(--gk-sub); }
.gk-kitnote__ext { font-size: 12px; font-weight: 500; }
.gk-kitnote + .gk-aguide { margin-top: 16px; }
.gk-catkit { margin: 0 0 8px; font-size: 15px; color: var(--gk-sub); }
.gk-kitlist { padding-left: 1.2em; }
.gk-kitbtn { margin: 28px 0; text-align: center; }
/* 本文中の長いリンク（参考：記事名）は文節の切れ目で折り返す（2026-10-05） */
.gk-content p > a:not(.gk-nw) { word-break: keep-all; overflow-wrap: anywhere; }
/* 情報サイト用の部品（w-e-uc #4） */
.gk-search { display: flex; max-width: 560px; margin: 0; }
.gk-search input[type="search"] { flex: 1; min-width: 0; padding: 10px 14px; border: 1px solid var(--gk-line); border-right: 0; border-radius: 8px 0 0 8px; font-size: 16px; font-family: inherit; background: #fff; }
.gk-search button { padding: 0 18px; border: 0; border-radius: 0 8px 8px 0; background: var(--gk-accent); color: #fff; font-weight: 700; font-family: inherit; font-size: 15px; cursor: pointer; white-space: nowrap; }
.gk-search button:hover { background: var(--gk-accent-dark); }
.gk-search--hero { margin: 22px 0 10px; }
.gk-search--hero input[type="search"] { padding: 14px 16px; }
.gk-search--page { margin: 0 0 24px; }
.gk-header__search .gk-search { width: 300px; }
.gk-header__search .gk-search input[type="search"] { padding: 7px 10px; font-size: 14px; }
.gk-article__caution { margin: 28px 0 0; padding-top: 14px; border-top: 1px dashed var(--gk-line); font-size: 13px; color: var(--gk-sub); }
.gk-hero__note { margin: 0; font-size: 13px; color: var(--gk-sub); }
.gk-article__date { margin: -14px 0 24px; font-size: 13px; color: var(--gk-sub); text-align: right; }
.gk-menu { grid-template-columns: repeat(3, 1fr); }
.gk-links--terms { columns: 3; column-gap: 28px; }
.gk-links--terms li { break-inside: avoid; }
.gk-links--terms a, .gk-links--terms a.gk-nw { white-space: normal !important; text-wrap: wrap !important; word-break: keep-all; overflow-wrap: anywhere; } /* 長い用語が列からはみ出さないよう、用語集の中は折り返す（文節の切れ目で） */
.gk-guidebox { background: var(--gk-green-soft); padding: 48px 0; }
.gk-guidebox__title { margin: 0 0 8px; font-family: var(--gk-serif); font-size: clamp(20px, 3vw, 26px); font-weight: 700; color: var(--gk-green-dark); text-align: center; }
.gk-guidebox__text { margin: 0 auto 24px; max-width: 820px; font-size: 15px; text-align: center; }
.gk-group { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gk-group li { margin: 0; }
.gk-group a { display: flex; flex-direction: column; justify-content: center; height: 100%; min-height: 84px; padding: 14px 14px; border: 1px solid var(--gk-line); border-left: 4px solid var(--gk-accent); border-radius: 8px; background: #fff; text-decoration: none; color: var(--gk-ink); }
.gk-group a:hover { border-color: var(--gk-accent); color: var(--gk-ink); }
.gk-group__name { font-weight: 700; color: var(--gk-green-dark); line-height: 1.5; }
.gk-group__desc { margin-top: 2px; font-size: 12px; color: var(--gk-sub); line-height: 1.5; }
@media (max-width: 960px) { .gk-header__search { display: none; } .gk-group { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .gk-menu { grid-template-columns: 1fr; } .gk-links--terms { columns: 1; } .gk-guidebox__title .gk-nb { display: inline-block; } }
@media (max-width: 420px) { .gk-group { grid-template-columns: 1fr; } }
h1, h2, h3, h4, h5, dt, th, figcaption, .gk-btn, .gk-sec__title, .gk-cta__title, .gk-article__title, .faq_title, .gk-links a, .gk-nav a { text-wrap: balance; }
p, li, dd, td { text-wrap: pretty; } /* 長い箇条書きを balance にすると「交通費・／郵送費」のように早く折れるため */
.gk-header__tel, .gk-btn--tel { white-space: nowrap; }
@media (max-width: 600px) {
	body *, .gk-content p, .gk-content li, .gk-content td, .gk-sec__title, .gk-article__title { text-wrap: wrap !important; }
	.gk-content table { font-size: 14px; } .gk-content th, .gk-content td { padding: 8px 8px; } /* 表の欄を少し広く（2026-10-05） */
	.gk-nb { display: inline; }
	.gk-hero__title { font-size: clamp(17px, calc((100vw - 36px) / 15), 28px); line-height: 1.55; letter-spacing: 0; } /* 一番長い「熊本で合同会社をつくるなら、」(14字) が1行に入る大きさ */
	.gk-hero__title .gk-nb, .gk-cta__title .gk-nb { display: inline-block; }
	.gk-point h3 { font-size: 16.5px; }
	.gk-cta__title { font-size: clamp(18px, calc((100vw - 36px) / 12), 24px); }
}

/* ---------- スマホ ---------- */
@media (max-width: 900px) {
	.gk-header__contact { display: none; }
	.gk-menu-btn { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px; border: 0; background: none; color: var(--gk-green-dark); font-size: 11px; cursor: pointer; white-space: nowrap; }
	.gk-menu-btn > span:first-child, .gk-menu-btn > span:first-child::before, .gk-menu-btn > span:first-child::after { display: block; width: 26px; height: 2px; background: var(--gk-green-dark); position: relative; content: ""; }
	.gk-menu-btn > span:first-child::before { position: absolute; top: -8px; }
	.gk-menu-btn > span:first-child::after { position: absolute; top: 8px; }
	.gk-menu-btn > span:first-child { margin: 10px 0 8px; }
	.gk-nav { display: none; }
	.gk-nav.is-open { display: block; }
	.gk-nav ul { flex-direction: column; padding: 0; }
	.gk-nav li a { padding: 14px 20px; border-top: 1px solid rgba(255, 255, 255, .15); }
	.gk-point { grid-template-columns: 44px 1fr; padding: 16px 16px 14px 12px; }
	.gk-point__num { font-size: 24px; }
	.gk-guide { grid-template-columns: 1fr; }
	.gk-footer__inner { flex-direction: column; gap: 20px; }
	body { padding-bottom: 56px; }
	.gk-fixed-tel, .gk-fixed-mail { display: flex; align-items: center; justify-content: center; position: fixed; bottom: 0; z-index: 30; width: 50%; height: 56px; color: #fff; text-decoration: none; font-weight: 700; }
	.gk-fixed-tel { left: 0; background: var(--gk-green); }
	.gk-fixed-mail { right: 0; background: var(--gk-accent); }
	.gk-fixed-tel:hover, .gk-fixed-mail:hover { color: #fff; }
}
@media (max-width: 600px) {
	body { font-size: 15.5px; }
	.gk-sp { display: inline; }
	.gk-pc { display: none; }
	.gk-wrap { padding: 0 16px; }
	.gk-logo__mark { width: 40px; height: 40px; font-size: 21px; }
	.gk-logo a { gap: 10px; }
	.gk-logo__name { font-size: min(20px, 4.8vw); letter-spacing: 0; white-space: nowrap; } /* 「基礎／知識」で割れないように（2026-10-05） */
	.gk-logo__sub { font-size: min(11px, 2.65vw); letter-spacing: 0; white-space: nowrap; }
	.gk-logo__office { display: none; }
	.gk-hero__inner { padding-top: 36px; padding-bottom: 40px; }
	.gk-hero__price { display: block; padding: 14px 18px; }
	.gk-hero__price-num { font-size: 34px; }
	.gk-hero__btns .gk-btn { flex: 1 1 100%; }
	.gk-sec { padding: 44px 0; }
	.gk-flow li { padding: 14px 14px 14px 60px; }
	.gk-flow li::before { left: 14px; }
	.gk-flow__who { float: none; display: inline-block; margin: 0 0 4px; }
	.gk-office { flex-direction: column; align-items: center; gap: 16px; }
	.gk-cta__btns .gk-btn { flex: 1 1 100%; }
	.gk-content img[style*="float"], .gk-content .alignleft, .gk-content .alignright { float: none !important; display: block; margin: 0 auto 12px !important; }
	.gk-content h2 { font-size: 19px; }
	.gk-content h3 { font-size: 17px; }
	.gk-form .form-table, .gk-form .form-table tbody, .gk-form .form-table tr, .gk-form .form-table th, .gk-form .form-table td { display: block; width: 100%; }
	.gk-form .form-table th { border-bottom: 0; }
	.gk-footer__links { columns: 1; min-width: 0; }
}

/* スマホ：費用の表を画面幅に収める（株式会社は行が多く、項目名が長い）。2026-10-04 */
@media (max-width: 600px) {
	.gk-price { font-size: 13.5px; }
	.gk-price th, .gk-price td { padding: 9px 6px; }
	.gk-price thead th { font-size: 12.5px; }
	.gk-price tbody th { width: 34%; font-size: 13px; line-height: 1.5; }
	.gk-price__total th, .gk-price__total td { font-size: 15px; }
	.gk-price small { font-size: 11px; }
}

/* スマホ：本文の表は、古い記事の幅の指定（width="23%" など）を使わず中身に合わせる（項目名が「登録免許／税」と折れないように）2026-10-05 */
@media (max-width: 600px) {
	.gk-content th, .gk-content td { width: auto !important; }
}
.gk-crumb a { white-space: nowrap; text-wrap: nowrap !important; } /* パンくずの項目名を途中で折らない（2026-10-05） */
