/* ==========================================================================
   下層ページ（本番サイトの見た目を再現）
   旧テーマ（TCD）の CSS は使わず、本番の画面で測った値から書き起こしたもの。
   施工実績の一覧・詳細の中身は site/jisseki-*.css（宗芯専用に作られていた CSS）。
   ブロックの表・AI検索向けセクション・サイトマップは site/blocks.css。
   ========================================================================== */
.soshin-sub .l-main { display: block; color: #000; font-size: 16px; line-height: 1; }
.soshin-sub .l-main img { max-width: 100%; height: auto; }
:where(.soshin-sub .l-main) p, :where(.soshin-sub .l-main) figure { margin: 0; }
:where(.soshin-sub .l-main) h1, :where(.soshin-sub .l-main) h2, :where(.soshin-sub .l-main) h3, :where(.soshin-sub .l-main) h4 { margin: 0; padding: 0; color: inherit; font-family: inherit; }
:where(.soshin-sub .l-main) a { color: inherit; text-decoration: none; }
/* WordPress のブロック間の自動余白（24px）は使わない（旧テーマと同じ詰め方にする） */
.soshin-sub .is-layout-flow > * { margin-block-start: 0; margin-block-end: 0; }
:where(.soshin-sub .soshin-page-content) p { font-size: 17px; line-height: 2; }
.soshin-sub .l-inner { width: 90%; max-width: 1150px; margin-left: auto; margin-right: auto; }
.soshin-sub .l-inner .l-inner { width: auto; max-width: none; }
.soshin-sub .clearfix::after, .soshin-sub .u-clearfix::after, .soshin-sub .post_box::after, .soshin-sub .gaiyowrap::after { content: ""; display: block; clear: both; }
.soshin-sub .soshin-clear { clear: both; }
.soshin-sub .pcnone { display: none; }

/* ---------- ページの見出し（写真＋英字＋日本語） ---------- */
.p-page-header { position: relative; display: flex; align-items: center; justify-content: center; height: calc(25vw - var(--s-header)); background: url(/wp-content/uploads/head.png) center top / 100% 25vw no-repeat fixed; }
/* 本番は写真を画面に固定し、本文が上に重なってスクロールする。背景の固定（fixed）で同じ見え方にする */
.p-page-header__inner { width: 100%; }
.p-page-header__title { display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; letter-spacing: 5.6px; text-align: center; transform: translateY(calc(var(--s-header) / -2)); }
.pcotherpageheadimg { display: none !important; }
.soshin-sub .p-page-header__title h1 { position: relative; margin: 30px 0 0 !important; color: #fff; font-size: 44px !important; font-weight: 900; letter-spacing: 5.6px; line-height: 1.5; }
.soshin-sub .p-page-header__title p { position: relative; color: #fff; font-size: 20px !important; letter-spacing: 5.6px; line-height: 2; }
.soshin-sub .content { position: relative; z-index: 1; margin-top: 0 !important; padding-bottom: 50px; background: #fff; }

/* ---------- パンくず ---------- */
.p-breadcrumb { padding: 10px 0; border-bottom: 1px solid #eee; background: #f5f5f5; }
.p-breadcrumb__inner { margin-top: 0; margin-bottom: 0; padding: 0; list-style: none; }
.p-breadcrumb__item { display: inline; color: #666; font-size: 13px; line-height: 2.5; }
.p-breadcrumb__item a { color: #666 !important; }
.p-breadcrumb__item a:hover { color: var(--s-orange) !important; }
.p-breadcrumb__item + .p-breadcrumb__item::before { content: "›"; margin: 0 12px; color: #666; font-size: 13px; }
.c-breadcrumb__item--home a span { display: none; }
.c-breadcrumb__item--home a::before { content: ""; display: inline-block; width: 13px; height: 13px; vertical-align: -1px; background: #666; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3 2 12h3v8h5v-6h4v6h5v-8h3z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3 2 12h3v8h5v-6h4v6h5v-8h3z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- 本文の共通部品 ---------- */
.soshin-page-content, .acfwrap { background: #fff; }
.soshin-sub .info-midashi { display: flex; align-items: center; margin: 0 0 30px; padding: 0 20px; background: var(--s-orange); color: #fff; font-size: 25px; line-height: 40px; }
.soshin-sub .red { color: #ff0030; }

/* 画像（左）＋文章（右）の段組み */
.soshin-sub .post_box { margin: 0 0 80px; padding: 0 0 80px; }
.soshin-sub .image_box_l { float: left; width: 40%; }
.soshin-sub .image_box_l img { display: block; width: 100%; }
.soshin-sub .content_box_r { float: right; width: 55%; }
.soshin-sub .content_box_r p, .soshin-sub .content_box_none p { font-size: 17px; line-height: 2; }

/* ---------- 業務案内 ---------- */
.soshin-sub #allcontent { width: 90%; max-width: 1150px; margin: 0 auto; }
.soshin-sub [class*=" p4cont"] { padding: 80px 0 0; border-top: 1px solid var(--s-orange); }
.soshin-sub [class*=" p4cont"] > h2 { margin: 0 0 50px; color: var(--s-orange); font-size: 40px; font-weight: 700; line-height: 1.2; text-align: center; }
.soshin-sub .work-simulation, .soshin-sub .paint { text-align: center; }
.soshin-sub .work-simulation img, .soshin-sub .paint img { width: 100%; }
.soshin-sub .work-toryou-midashi { margin: 20px 0 0; padding: 15px; background: #a77c51; color: #fff; font-size: 20px; line-height: 1; }
.soshin-sub .work-toryou-text { padding: 10px 0; border-bottom: 1px solid #a77c51; font-size: 17px; line-height: 3; }
.soshin-sub p.work-toryou-midashi-2 { margin: 20px 0; padding: 8px; border-left: 6px solid #a77c51; background: #f5f5f2; box-shadow: 5px 5px 5px rgba(0, 0, 0, .22); color: #5d5244; font-size: 20px; line-height: 1; }
.soshin-sub p.work-toryou-text-title { margin: 20px 0 0; padding: 10px 0; border-bottom: 1px solid #a77c51; color: #5d5244; font-size: 16px; font-weight: 700; line-height: 1; }
.soshin-sub .freecont_article { width: 90%; max-width: 1150px; margin: 90px auto 50px; }
.soshin-sub .br-non { display: none; }

/* ---------- 会社概要・募集概要の表 ---------- */
.soshin-sub #infocustomcontent { width: 90%; max-width: 1150px; margin: 0 auto; }
.soshin-sub .informationtable { margin: 0 0 100px; padding: 0; }
.soshin-sub .informationtable h3 { margin: 0 0 15px; color: var(--s-orange); font-size: 34px; font-weight: 700; line-height: 1.4; text-align: center; }
.soshin-sub .tablewrap { display: flex; margin-top: -1px; border-top: 1px solid #d6d6d6; border-bottom: 1px solid #d6d6d6; }
.soshin-sub .infosubtitle { display: flex; align-items: center; flex: 0 0 220px; box-sizing: border-box; padding: 25px; background: #f5f5f5; }
.soshin-sub .infosubcont { flex: 1 1 auto; min-width: 0; padding: 25px; }
.soshin-sub .infosubtitle p, .soshin-sub .infosubcont p { font-size: 17px; line-height: 2; }
.soshin-sub .infoadd1 { margin: 0 0 50px; }
.soshin-sub .infoadd1 iframe { width: 100%; }

/* スタッフ紹介 */
.soshin-sub .soshin-staff { margin: 90px 5% 50px; }
.soshin-sub .soshin-staff .post_box { margin: 0 0 100px; padding: 0; }
.soshin-sub .soshin-staff p { font-size: 17px; line-height: 2; }
.soshin-sub p.recruit-right { margin: 0 0 20px; font-size: 20px; font-weight: 700; line-height: 1; }
.soshin-sub .recruit-list { margin: 0 0 14px; padding: 0; list-style: none; }
.soshin-sub .recruit-list li { position: relative; margin: 0 0 5px; padding: 8.5px 17px 8.5px 39px; border-bottom: 1px solid #269dd9; color: #269dd9; font-size: 17px; font-weight: 700; line-height: 1.6; }
.soshin-sub .recruit-list li::before { content: ""; position: absolute; left: 14px; top: 50%; width: 12px; height: 12px; border: 2px solid #1673bb; border-radius: 50%; transform: translateY(-50%); }

/* ---------- 採用情報 ---------- */
.soshin-sub .maeoki { margin: 60px 0 80px; }
.soshin-sub .maeoki p, .soshin-sub .gaiyocontent p, .soshin-sub .gaiyo_after_contents p { font-size: 17px; line-height: 2; }
.soshin-sub .gaiyoright { float: right; width: 44%; }
.soshin-sub .gaiyoleft { float: left; width: 50%; }
.soshin-sub .gaiyoimg img { display: block; width: 100%; }
.soshin-sub .gaiyocontent h3 { margin: 0 0 15px; color: var(--s-orange); font-size: 34px; font-weight: 700; line-height: 1.4; }
.soshin-sub .gaiyo_after_cont { display: table; width: 100%; margin: 50px 0 0; padding: 20px 0; background: #ffeede; }
.soshin-sub p.gaiyo_after_title { display: table-cell; width: 30%; font-size: 17px; font-weight: 700; line-height: 2; text-align: center; vertical-align: middle; }
.soshin-sub .gaiyo_after_contents { display: table-cell; vertical-align: middle; }
.soshin-sub .recruit_cont_title { margin: 100px 0 60px; color: var(--s-orange); font-size: 40px; font-weight: 700; line-height: 1; text-align: center; }

/* ---------- お問い合わせ・応募フォーム（MW WP Form） ---------- */
.soshin-sub .mailform-tbl { width: 100%; margin: 0 0 24px; border: 0; border-collapse: collapse; }
.soshin-sub .mailform-tbl th, .soshin-sub .mailform-tbl td { border: 0; background: none; vertical-align: middle; }
.soshin-sub .mailform-tbl th { position: relative; width: 33%; padding: 10px 15px 7px; font-size: 18px; font-weight: 400; line-height: 2.2; text-align: left; }
.soshin-sub .mailform-tbl td { padding: 10px 15px 7px; font-size: 14px; line-height: 2.2; }
.soshin-sub .mailform-tbl input[type="text"], .soshin-sub .mailform-tbl input[type="email"], .soshin-sub .mailform-tbl input[type="tel"], .soshin-sub .mailform-tbl textarea, .soshin-sub .mailform-tbl select { box-sizing: content-box; padding: 1px 2px; border: 0; border-radius: 0; background: #eee; color: #000; font-size: 14px; }
.soshin-sub .mailform-tbl input[type="text"], .soshin-sub .mailform-tbl input[type="email"], .soshin-sub .mailform-tbl input[type="tel"] { height: 35px; }
.soshin-sub .mailform-tbl .w60 input { width: 60%; }
.soshin-sub .mailform-tbl .w90 input, .soshin-sub .mailform-tbl textarea { width: 100%; }
.soshin-sub .mailform-tbl textarea { height: 300px; padding: 2px; }
.soshin-sub .mailform-tbl .attention { position: absolute; right: 20px; top: 50%; padding: 0 10px; background: #dc4545; color: #fff; font-size: 14px; line-height: 2.2; transform: translateY(-50%); }
.soshin-sub .horizontal-item { display: inline-block; margin: 0 20px 0 0; }
.soshin-sub .mw_wp_form input[type="submit"] { padding: 1px 6px; border: 0; border-radius: 0; background: #fff; color: #000; font-size: 16px; font-weight: 400; cursor: pointer; }
.soshin-sub .mw_wp_form input[type="submit"]:hover { color: var(--s-orange); }

/* ---------- 施工実績の一覧（中身は site/jisseki-list.css） ---------- */
.soshin-sub.jisseki .p-entry { margin-top: 60px; }
.soshin-sub .p-archive-header { text-align: center; }
.soshin-sub.jisseki .p-blog-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 35px 30px; margin: 0 0 90px; }
.soshin-sub.jisseki .p-blog-list__item { display: flex; flex-direction: column; border: 1px solid #eee; background: #fff; }

/* ---------- 記事一覧（ブログ・カテゴリー・検索） ---------- */
.soshin-sub .l-contents { margin-top: 60px; }
.soshin-sub .l-contents > .l-inner, .soshin-sub .l-contents__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.soshin-sub .l-container { display: flex; flex-wrap: wrap; flex: 0 1 850px; min-width: 0; column-gap: 5.65%; }
.soshin-sub .l-container .p-blog-list__item { flex: 0 0 43%; margin: 0 0 56px; }
.soshin-sub .l-container > .pagenavi, .soshin-sub .l-container > .p-pager { flex: 0 0 100%; }
.soshin-sub .p-article01__thumbnail { display: block; height: 240px; margin: 0 0 7px; overflow: hidden; }
.soshin-sub .p-article01__thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.soshin-sub .p-article01__thumbnail:hover img { transform: scale(1.06); }
.soshin-sub .p-article01__meta { display: flex; justify-content: space-between; align-items: center; color: #999; font-size: 17px; line-height: 2; }
.soshin-sub .p-article01__date { color: #999; }
.soshin-sub .p-article01__category { font-size: 12px; line-height: 1.9; }
.soshin-sub .p-article01__category a { padding: 3px 5px; border: 1px solid var(--s-orange); color: var(--s-orange) !important; }
.soshin-sub .p-article01__title { margin: 0 0 5px; color: var(--s-orange); font-size: 20px; font-weight: 600; line-height: 1.6; }
.soshin-sub .p-article01__title a { color: #000 !important; }
.soshin-sub .p-article01__title a:hover { color: var(--s-orange) !important; }
.soshin-sub .p-article01__excerpt { margin: 0 0 6px; font-size: 14px; line-height: 2; }
/* カテゴリー一覧（口コミなど）・検索結果は3列 */
.soshin-sub:not(.jisseki) .p-blog-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 50px 30px; margin: 0 0 60px; }
.soshin-sub .p-archive-header__review-text { margin: 0 0 40px; font-size: 16px; line-height: 2; text-align: center; }

/* ページ送り */
.soshin-sub .pagenavi { margin: 0 0 100px; text-align: center; }
.soshin-sub .page-numbers { display: inline-block; min-width: 9px; margin: 0 2px 4px; padding: 15px; background: #3d3d3d; color: #fff !important; font-size: 16px; line-height: 1; }
.soshin-sub .page-numbers.current, .soshin-sub a.page-numbers:hover { background: var(--s-orange); }
.soshin-sub .page-numbers.dots { background: none; color: #3d3d3d !important; }
.soshin-sub .p-load-post { margin: 35px 0 0; text-align: center; }
.soshin-sub .p-load-post a { display: inline-flex; align-items: center; justify-content: center; width: 200px; height: 50px; background: #eee; color: #666 !important; font-size: 14px; }

/* ---------- 記事ページ ---------- */
.soshin-sub .l-contents__inner { margin-top: 0; overflow: hidden; }
.soshin-sub .l-primary { flex: 0 1 781px; min-width: 0; box-sizing: border-box; padding: 92px 59px 115px 0; background: #fff; }
.soshin-sub .l-contents:has(.l-primary) { margin-top: 0; }
.soshin-sub .p-entry__title { margin: 0 0 8px; font-size: 34px !important; font-weight: 700; line-height: 1.5; }
.soshin-sub .p-entry__meta { margin: 0 0 50px; color: #999; font-size: 14px; line-height: 2; }
.soshin-sub .p-entry__category { margin-left: 12px; }
.soshin-sub .p-entry__category a { color: #999 !important; }
.soshin-sub .p-entry__body { font-size: 16px; line-height: 1; }
.soshin-sub .l-primary .p-entry__body p { margin: 0 0 1.5em; font-size: 14px; line-height: 2; }
.soshin-sub .l-primary .p-entry__body h2 { margin: 30px 0 15px; color: var(--s-orange); font-size: 22.4px; font-weight: 900; line-height: 1.4; }
.soshin-sub .l-primary .p-entry__body h3 { margin: 30px 0 15px; color: var(--s-orange); font-size: 20.8px; font-weight: 700; line-height: 1.4; }
.soshin-sub .l-primary .p-entry__body h4 { margin: 24px 0 12px; font-size: 17px; font-weight: 700; line-height: 1.5; }
.soshin-sub .l-primary .p-entry__body ul, .soshin-sub .l-primary .p-entry__body ol { margin: 0 0 1.5em 1.5em; font-size: 14px; line-height: 2; }
.soshin-sub .l-primary .p-entry__body a { color: #3add35 !important; text-decoration: underline; }
.soshin-sub .l-primary .p-entry__body table { width: 100%; margin: 20px 0; border-collapse: collapse; }
.soshin-sub .l-primary .p-entry__body th { padding: 10px 15px 7px 14px; border: 1px solid #ddd; background: #fafafa; font-size: 14px; line-height: 2.2; text-align: center; }
.soshin-sub .l-primary .p-entry__body td { padding: 10px 14px; border: 1px solid #333; font-size: 14px; line-height: 2.2; }
.soshin-sub .l-primary .p-entry__body img { height: auto; }
.soshin-sub .single_share, .soshin-sub .share-type1 { margin: 0 0 16px; }
.soshin-sub .p-nav01 { display: flex; margin: 0 0 50px; }
.soshin-sub .p-nav01__item { flex: 1; padding: 20px; border: 1px solid #eee; font-size: 14px; line-height: 1.6; }

/* ---------- サイドバー ---------- */
.soshin-sub .l-secondary, .soshin-sub .r-container { flex: 0 0 300px; width: 300px; }
.soshin-sub .l-contents__inner > .l-secondary { padding-top: 92px; }
.soshin-sub .p-widget { margin: 0 0 50px; }
.soshin-sub .p-widget__title { margin: 0; padding: 0 0 0 18px; background: var(--s-orange); color: #fff; font-size: 17px; font-weight: 400; line-height: 50px; }
.soshin-sub .p-widget ul { margin: 0; padding: 0; list-style: none; }
.soshin-sub .widget_recent_entries li { padding: 20px 0; border-bottom: 1px solid #d0d0cf; font-size: 16px; line-height: 1.5; }
.soshin-sub .widget_recent_entries .post-date { display: block; margin-bottom: 4px; color: #999; font-size: 13px; }
.soshin-sub .p-widget-dropdown__title { position: relative; margin: 0; padding: 0 18px; border: 1px solid #eee; background: #fff; font-size: 16px; line-height: 50px; cursor: pointer; }
.soshin-sub .p-widget-dropdown__title::after { content: ""; position: absolute; right: 18px; top: 50%; width: 7px; height: 7px; border-right: 2px solid #999; border-bottom: 2px solid #999; transform: translateY(-70%) rotate(45deg); }
.soshin-sub .p-widget-dropdown__list { display: none; }
.soshin-sub .p-widget-dropdown__list li, .soshin-sub .collapse_category_list li { border-bottom: 1px solid #eee; border-left: 1px solid #eee; border-right: 1px solid #eee; background: #fff; font-size: 14px; line-height: 1.5; }
.soshin-sub .p-widget-dropdown__list a, .soshin-sub .collapse_category_list a { display: block; padding: 12px 20px; color: #333 !important; font-size: 16px; line-height: 1.5; }
.soshin-sub .p-widget-dropdown__list a:hover, .soshin-sub .collapse_category_list a:hover { color: var(--s-orange) !important; }
.soshin-sub .collapse_category_list .count { color: #999; font-size: 13px; }
.soshin-sub .collapse_category_list ul { display: none; }
.soshin-sub .widget_search .searchform div { display: flex; }
.soshin-sub .widget_search input[type="text"] { flex: 1; min-width: 0; height: 40px; padding: 0 10px; border: 1px solid #ddd; border-radius: 0; font-size: 14px; }
.soshin-sub .widget_search input[type="submit"] { height: 40px; padding: 0 14px; border: 0; border-radius: 0; background: var(--s-orange); color: #fff; font-size: 14px; cursor: pointer; }
.soshin-sub .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- サイトマップ・404 ---------- */
.soshin-sub .soshin-sitemap { padding: 60px 0 100px; }
.soshin-sub .soshin-sitemap .p-entry__title { margin-bottom: 30px; }

/* ==========================================================================
   タブレット（1024px 以下）：見出しの写真は固定しない
   ========================================================================== */
@media (max-width: 1024px) {
	.p-page-header { display: flex; align-items: center; justify-content: center; height: 226px; background: url(/wp-content/uploads/head.png) center / cover no-repeat; }
	.p-page-header__inner { width: 100%; }
	.p-page-header__title { transform: none; }
	.pcotherpageheadimg { display: none; }
	.soshin-sub .p-page-header__title h1 { margin-top: 0 !important; font-size: 33px !important; }
	.soshin-sub .p-page-header__title p { font-size: 18px !important; }
	.soshin-sub .content { margin-top: 0 !important; }
}

/* ==========================================================================
   スマホ（767px 以下）
   ========================================================================== */
@media (max-width: 767px) {
	.soshin-sub .pcnone { display: block; }
	.soshin-sub .spnone { display: none; }
	.soshin-sub .image_box_l, .soshin-sub .content_box_r, .soshin-sub .gaiyoright, .soshin-sub .gaiyoleft { float: none; width: 100%; }
	.soshin-sub .image_box_l, .soshin-sub .gaiyoleft { margin-bottom: 20px; }
	.soshin-sub .post_box { margin-bottom: 40px; padding-bottom: 40px; }
	.soshin-sub [class*=" p4cont"] { padding-top: 50px; }
	.soshin-sub [class*=" p4cont"] > h2 { margin-bottom: 30px; font-size: 24px; line-height: 1.5; }
	.soshin-sub .content_box_r p, .soshin-sub .content_box_none p, .soshin-sub .maeoki p, .soshin-sub .gaiyocontent p, .soshin-sub .gaiyo_after_contents p, .soshin-sub .soshin-staff p { font-size: 15px; }
	.soshin-sub .work-toryou-midashi, .soshin-sub p.work-toryou-midashi-2 { font-size: 17px; line-height: 1.4; }
	.soshin-sub .work-toryou-text { font-size: 15px; line-height: 2.6; }
	.soshin-sub .info-midashi { font-size: 20px; }
	.soshin-sub .freecont_article { margin-top: 50px; }
	.soshin-sub .informationtable h3, .soshin-sub .gaiyocontent h3 { font-size: 24px; }
	.soshin-sub .infosubtitle { flex-basis: 100px; padding: 15px 10px; }
	.soshin-sub .infosubcont { padding: 15px; }
	.soshin-sub .infosubtitle p, .soshin-sub .infosubcont p { font-size: 14px; line-height: 1.8; }
	.soshin-sub .soshin-staff { margin: 50px 0 30px; }
	.soshin-sub .soshin-staff .post_box { margin-bottom: 50px; }
	.soshin-sub .recruit-list li { font-size: 15px; }
	.soshin-sub .maeoki { margin: 40px 0 50px; }
	.soshin-sub .gaiyo_after_cont, .soshin-sub p.gaiyo_after_title, .soshin-sub .gaiyo_after_contents { display: block; width: auto; }
	.soshin-sub .gaiyo_after_contents { padding: 0 20px; }
	.soshin-sub .recruit_cont_title { margin: 60px 0 40px; font-size: 26px; }
	.soshin-sub .mailform-tbl, .soshin-sub .mailform-tbl tbody, .soshin-sub .mailform-tbl tr, .soshin-sub .mailform-tbl th, .soshin-sub .mailform-tbl td { display: block; width: 100%; box-sizing: border-box; }
	.soshin-sub .mailform-tbl th { padding: 14px 70px 0 0; font-size: 15px; line-height: 1.8; }
	.soshin-sub .mailform-tbl td { padding: 6px 0 10px; }
	.soshin-sub .mailform-tbl .attention { right: 0; }
	.soshin-sub .mailform-tbl .w60 input { width: 100%; }
	.soshin-sub.jisseki .p-blog-list { grid-template-columns: 1fr; gap: 24px; }
	.soshin-sub .l-contents { margin-top: 36px; }
	.soshin-sub .l-contents > .l-inner, .soshin-sub .l-contents__inner { flex-direction: column; gap: 0; }
	.soshin-sub .l-container { flex: none; width: 100%; }
	.soshin-sub .l-container .p-blog-list__item { flex: 0 0 100%; margin-bottom: 35px; }
	.soshin-sub .p-article01__title { margin: 5px 0; font-size: 18px; }
	.soshin-sub:not(.jisseki) .p-blog-list { grid-template-columns: 1fr; gap: 35px; }
	.soshin-sub .l-primary { flex: none; width: 100%; padding: 40px 0 60px; }
	.soshin-sub .p-entry__title { font-size: 22px !important; }
	.soshin-sub .p-entry__meta { margin-bottom: 30px; }
	.soshin-sub .l-secondary, .soshin-sub .r-container { flex: none; width: 100%; }
	.soshin-sub .l-contents__inner > .l-secondary { padding-top: 0; }
	.soshin-sub .l-primary .p-entry__body table { display: block; overflow-x: auto; }
}

/* ==========================================================================
   本番との見比べで手直し（0.2.3）
   ========================================================================== */
.soshin-sub [class*=" p4cont"] { padding: 80px 0 0; border-top: 1px solid var(--s-orange); }
.soshin-sub [class*=" p4cont"] > h2 { margin: 0 0 50px; color: var(--s-orange); font-size: 40px; font-weight: 700; line-height: 1.2; text-align: center; }
/* 「施工の流れ」「スタッフ紹介」の帯：文字は中央、両端に薄い斜めの帯 */
.soshin-sub .info-midashi { justify-content: center; background: linear-gradient(115deg, #ffae8c 0 21%, var(--s-orange) 21% 79%, #ffae8c 79%); }
/* スタッフ紹介（id が allcontent のため業務案内の指定より強く） */
.soshin-sub .soshin-staff, .soshin-sub #allcontent.soshin-staff { box-sizing: border-box; width: 90%; max-width: 1150px; margin: 90px auto 50px; padding: 0 4.5%; }
/* 施工実績一覧の絞り込み：中身の幅に合わせる */
.soshin-sub .categoriesselect { width: fit-content; margin-left: auto; margin-right: auto; }
/* 記事の見出しの下は詰める */
.soshin-sub .l-primary .p-entry__body h2, .soshin-sub .l-primary .p-entry__body h3 { margin-bottom: 4px; }
/* カテゴリー一覧（口コミなど）：1件ずつ横幅いっぱい */
.soshin-sub:not(.jisseki) .p-blog-list { display: flex; flex-wrap: wrap; gap: 0; margin: 0 0 90px; }
.soshin-sub:not(.jisseki) .p-blog-list .p-blog-list__item { flex: 0 0 94.3%; margin: 0 0 56px; }
.soshin-sub .p-archive-header { padding: 90px 0 50px; }
.soshin-sub .p-archive-header__review-text { margin: 40px 0; }
.soshin-sub .p-archive-header__review-text p { margin: 0 0 17px; font-size: 17px; line-height: 2; }
.soshin-sub .p-blog-list .p-article01__meta { display: block; font-size: 12px; line-height: 1.9; }
.soshin-sub .p-blog-list .p-article01__category a { margin-left: 8px; padding: 0; border: 0; color: #999 !important; }
.soshin-sub:not(.jisseki) .p-load-post { margin: 0 0 150px; }
@media (max-width: 767px) {
	.soshin-sub [class*=" p4cont"] { padding-top: 50px; }
	.soshin-sub [class*=" p4cont"] > h2 { margin-bottom: 30px; font-size: 24px; line-height: 1.5; }
	.soshin-sub .soshin-staff, .soshin-sub #allcontent.soshin-staff { margin: 50px auto 30px; padding: 0; }
	.soshin-sub:not(.jisseki) .p-blog-list .p-blog-list__item { flex-basis: 100%; }
	.soshin-sub .p-archive-header { padding: 50px 0 30px; }
	.soshin-sub .p-archive-header__review-text p { font-size: 15px; text-align: left; }
}
/* お問い合わせ：フォームの前の案内文 */
.soshin-sub .formcontent { width: 90%; max-width: 1150px; margin: 90px auto 50px; }
.soshin-sub .formcontent p { font-size: 17px; line-height: 2; }
.soshin-sub .mwform-checkbox-field { margin: 0 10px 0 0; }
.soshin-sub .mailform-tbl th { font-weight: 400; }
@media (max-width: 767px) {
	.soshin-sub .formcontent { margin: 40px auto 30px; }
	.soshin-sub .formcontent p { font-size: 15px; }
}

/* フォームの行の高さ（本番と同じ 66px） */
@media (min-width: 768px) {
	.soshin-sub .mailform-tbl td { height: 66px; }
}
.soshin-sub .mailform-tbl input, .soshin-sub .mailform-tbl textarea, .soshin-sub .mailform-tbl select { font-family: sans-serif; line-height: normal; box-shadow: none; }

/* 送信ボタンの段 */
.soshin-sub #submit-button, .soshin-sub #submit-button-back { box-sizing: border-box; min-height: 58px; margin: 0 0 100px; padding-top: 10px; font-size: 16px; line-height: 2; text-align: center; }
.soshin-sub #submit-button:empty, .soshin-sub #submit-button-back:empty { display: none; }

/* 採用情報：見出しと段の間隔（会社概要より大きい） */
.soshin-sub.recruit .recruit_cont_title { margin-top: 120px; }
.soshin-sub.recruit .informationtable { margin-bottom: 120px; }
.soshin-sub.recruit .informationtable h3 { margin: 0 0 60px; font-size: 40px; line-height: 1; }
.soshin-sub.recruit .tablewrap { margin-top: 0; }
.soshin-sub.recruit .tablewrap + .tablewrap { border-top: 0; }
.soshin-sub.recruit .p-entry.l-inner + div { margin-bottom: 40px; }
.soshin-sub.recruit .p-entry.l-inner + div > h2 { margin: 0 0 40px; color: var(--s-orange); font-size: 40px; font-weight: 700; line-height: 1; text-align: center; }
.soshin-sub .mailform-tbl textarea { display: block; margin: 0 0 10px; }

/* お問い合わせ：プライバシーポリシー */
.soshin-sub #privacy { width: 90%; max-width: 1150px; margin: 90px auto; }
.soshin-sub #privacy > h2 { margin: 0 0 40px; color: var(--s-orange); font-size: 40px; font-weight: 700; line-height: 1; text-align: center; }
.soshin-sub.recruit #privacy { margin: 0 auto 40px; }

/* 採用情報・お問い合わせ：スマホ（本番に合わせる） */
@media (max-width: 767px) {
	.soshin-sub .maeoki { margin: 30px 0 80px; }
	.soshin-sub .gaiyocontent h3 { margin: 0 0 10px; font-size: 26px; line-height: 1.5; }
	.soshin-sub .gaiyoleft { margin-bottom: 0; }
	.soshin-sub .gaiyo_after_cont { margin-top: 25px; padding: 20px; }
	.soshin-sub p.gaiyo_after_title { margin: 0 0 10px; font-size: 16px; line-height: 1; }
	.soshin-sub .gaiyo_after_contents { padding: 0; }
	.soshin-sub.recruit .recruit_cont_title { margin: 60px 0 40px; font-size: 28px; line-height: 1; }
	.soshin-sub.recruit .informationtable { margin-bottom: 40px; padding-bottom: 0; }
	.soshin-sub.recruit .informationtable h3 { margin: 0 0 40px; font-size: 22px; line-height: 1; }
	.soshin-sub.recruit .tablewrap { display: block; border: 0; }
	.soshin-sub.recruit .infosubtitle { padding: 5px 12px; background: #f5f5f5; }
	.soshin-sub.recruit .infosubcont { margin: 0 0 10px; padding: 10px 12px; }
	.soshin-sub.recruit .infosubtitle p, .soshin-sub.recruit .infosubcont p { font-size: 15px; line-height: 2; }
	.soshin-sub .mailform-tbl th { margin: 10px 0 0; padding: 10px 0; font-size: 14px; line-height: 2.2; }
	.soshin-sub .mailform-tbl td { height: auto; padding: 0; line-height: 2.2; }
	.soshin-sub .mailform-tbl .attention { position: static; margin-left: 5px; padding: 0 5px; font-size: 13px; transform: none; }
	.soshin-sub .mailform-tbl input[type="text"], .soshin-sub .mailform-tbl input[type="email"], .soshin-sub .mailform-tbl input[type="tel"], .soshin-sub .mailform-tbl textarea { display: block; width: 100%; padding: 0; box-sizing: border-box; }
	.soshin-sub .mailform-tbl textarea { margin: 0; }
	.soshin-sub #submit-button, .soshin-sub #submit-button-back { width: 220px; margin: 0 auto 60px; border-top: 1px solid #000; border-bottom: 1px solid #000; }
	.soshin-sub #privacy, .soshin-sub.recruit #privacy { margin: 0 auto 40px; }
	.soshin-sub #privacy > h2 { margin: 0 0 20px; font-size: 24px; text-align: left; }
	.soshin-sub #privacy > p { font-size: 15px; line-height: 2; }

	.soshin-sub.recruit .tablewrap { display: flow-root; }
	.soshin-sub .mailform-tbl tr { display: grid; }
	.soshin-sub.recruit #privacy { width: auto; }
	.soshin-sub .formcontent { margin: 30px auto 50px; }
	.soshin-sub .mwform-checkbox-field { display: block; margin: 0; }
	.soshin-sub .mwform-checkbox-field label, .soshin-sub .mwform-checkbox-field-text { font-size: 16px; line-height: 2.2; }
	.soshin-sub.recruit #privacy { margin-bottom: 40px; }
	/* ページ見出し：固定ヘッダーの下に潜らせて 240px（本番と同じ） */
	.soshin-sub .p-page-header { box-sizing: border-box; height: 240px; margin-top: -60px; padding-top: 60px; background-position: center top; }
	.soshin-sub .p-breadcrumb__item, .soshin-sub .c-breadcrumb__item { font-size: 10px; line-height: 17px; }
}
.soshin-sub .mailform-tbl label { color: inherit; }
