@charset "UTF-8";
/*
    Template: swell
    Theme Name: 便利屋110番 2026
    Theme URI: https://88b.biz/
    Description: SWELL子テーマ(青基調・角丸カード型デザイン)。本文・画像は既存のものを使用
    Version: 1.0.0
    License: GNU General Public License
*/

/* ===== デザイントークン ===== */
html body {
	--b88-main: #1b6fe0;
	--b88-main-d: #0d4aa8;
	--b88-sky: #eaf3ff;
	--b88-sky2: #f5f9ff;
	--b88-ink: #1f2a3a;
	--b88-org: #ff7a1a;
	--b88-line: #06c755;
	--b88-r: 16px;
	--b88-sh: 0 6px 20px rgba(20, 60, 130, .12);
	--color_main: #1b6fe0;
	--color_htag: #0d4aa8;
	--color_link: #1b6fe0;
	--color_list_check: #1b6fe0;
	--color_list_num: #1b6fe0;
	--color_faq_q: #1b6fe0;
	color: var(--b88-ink);
	font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}
.l-content { padding-top: 0 !important; }

/* ===== ヘッダー ===== */
.l-header { background: #fff; box-shadow: 0 2px 14px rgba(20, 60, 130, .10); }
.l-header__inner { align-items: center; }
.l-header__logo { text-align: left; }
.b88-hd-cta { display: flex; align-items: center; gap: 12px; margin-left: auto; padding: 8px 0; }
.b88-hd-tel { text-align: right; line-height: 1.25; }
.b88-hd-tel__lab { display: block; font-size: 11px; color: #5b6b82; font-weight: 700; }
.b88-hd-tel__num { font-size: 28px; font-weight: 900; color: var(--b88-org); letter-spacing: .02em; text-decoration: none; white-space: nowrap; }
.b88-hd-btn { display: inline-block; padding: 12px 18px; border-radius: 999px; color: #fff !important; font-weight: 800; font-size: 14px; text-decoration: none; box-shadow: 0 3px 0 rgba(0, 0, 0, .15); white-space: nowrap; }
.b88-hd-btn--mail { background: var(--b88-main); }
.b88-hd-btn--line { background: var(--b88-line); }
.l-header .c-gnavWrap { background: var(--b88-main); }
.l-header .c-gnav > .menu-item > a { color: #fff; }
.l-header .c-gnav > .menu-item > a .ttl { font-size: 13px; font-weight: 700; }
.l-header .c-gnav > .menu-item > a:hover { background: var(--b88-main-d); }
.l-header .c-gnav > .menu-item > a::after { display: none; }
@media screen and (min-width: 960px) {
	.l-header.-parallel .l-header__logo { order: 0; flex: 0 0 auto; width: auto; margin-right: auto; padding: 6px 0; }
	.l-header.-parallel .b88-hd-cta { order: 1; }
	.l-header.-parallel .l-header__gnav { order: 2; flex: 0 0 100%; width: 100%; }
}

/* ===== ヒーロー(トップ) ===== */
.b88-hero { background: linear-gradient(180deg, #cfe5ff 0%, #eaf3ff 62%, #fff 100%); padding: 30px 0 70px; position: relative; overflow: hidden; margin-bottom: -28px; }
.b88-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 46px; background: #fff; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.b88-hero__in { max-width: 1100px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: center; position: relative; z-index: 1; }
.b88-hero__tag { display: inline-block; background: var(--b88-main-d); color: #fff; font-weight: 800; font-size: 13px; padding: 6px 16px; border-radius: 999px; margin-bottom: 14px; }
.b88-hero__ttl { font-size: clamp(24px, 4.2vw, 42px); line-height: 1.3; font-weight: 900; color: var(--b88-main-d); margin: 0 0 14px; }
.b88-hero__ttl em { font-style: normal; color: var(--b88-org); }
.b88-hero__lead { font-weight: 700; margin: 0 0 16px; }
.b88-hero__price { display: inline-flex; align-items: baseline; gap: 6px; background: #fff; border: 3px solid var(--b88-main); border-radius: 18px; padding: 8px 22px; box-shadow: var(--b88-sh); margin-bottom: 8px; }
.b88-hero__price small { font-weight: 800; color: var(--b88-main-d); }
.b88-hero__price b { font-size: clamp(34px, 6vw, 52px); font-weight: 900; color: var(--b88-org); line-height: 1; }
.b88-hero__price span { font-weight: 800; font-size: 18px; color: var(--b88-org); }
.b88-hero__sub { margin: 0 0 16px; font-weight: 800; color: var(--b88-main-d); }
.b88-hero__sub strong { color: var(--b88-org); font-size: 1.2em; }
.b88-hero__checks { list-style: none !important; margin: 0 0 18px !important; padding: 0 !important; }
.b88-hero__checks li { position: relative; padding: 4px 0 4px 30px; font-weight: 800; list-style: none !important; }
.b88-hero__checks li::before { content: "✓"; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--b88-main); color: #fff; font-size: 14px; text-align: center; line-height: 22px; }
.b88-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.b88-hero__cta a { flex: 1 1 200px; text-align: center; color: #fff !important; font-weight: 900; text-decoration: none; padding: 15px 14px; border-radius: 14px; box-shadow: 0 4px 0 rgba(0, 0, 0, .16); }
.b88-hero__cta .is-tel { background: var(--b88-org); font-size: 1.15em; }
.b88-hero__cta .is-mail { background: var(--b88-main); }
.b88-hero__cta .is-line { background: var(--b88-line); }
.b88-hero__img img { width: 100%; height: auto; border-radius: 22px; box-shadow: var(--b88-sh); background: #fff; display: block; }
.b88-hero__badges { max-width: 1100px; margin: 22px auto 0; padding: 0 20px; display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 1; }
.b88-hero__badges span { background: #fff; border: 2px solid #bcd7ff; color: var(--b88-main-d); font-weight: 800; font-size: 13px; padding: 6px 14px; border-radius: 999px; }

/* トップの既存メインビジュアル(バナー画像のスライダー)はヒーローと重複するため非表示。戻す場合はこの1行を削除 */
.home .p-mainVisual { display: none; }

/* ===== 本文セクション ===== */
.post_content .swell-block-fullWide[style*="167713"] { background: linear-gradient(135deg, #1b6fe0, #0d4aa8) !important; }
.post_content .swell-block-fullWide[style*="f2f8ff"] { background-color: var(--b88-sky) !important; }
.post_content .swell-block-fullWide[style*="fff5f5"] { background-color: #fff4ea !important; }
.post_content .swell-block-fullWide[style*="f5fceb"] { background-color: var(--b88-sky2) !important; }
.post_content h1.wp-block-heading.is-style-section_ttl { color: var(--b88-main-d); font-weight: 900; }
.post_content h2.wp-block-heading { background: none !important; color: var(--b88-main-d) !important; text-align: center; font-weight: 900; font-size: clamp(22px, 3.6vw, 30px); padding: 0 0 .4em !important; margin: 1.6em 0 1.2em; border: 0 !important; }
.post_content h2.wp-block-heading::before { display: none !important; }
.post_content h2.wp-block-heading::after { content: "" !important; display: block !important; position: static !important; width: 64px !important; height: 5px !important; border-radius: 5px; background: linear-gradient(90deg, var(--b88-main), #5aa8ff) !important; margin: .7em auto 0 !important; transform: none !important; }
.post_content h3.wp-block-heading { color: var(--b88-main-d); border: 0 !important; border-left: 6px solid var(--b88-main) !important; background: none !important; padding: .3em .2em .3em .8em !important; font-weight: 800; }
.post_content .wp-block-image img, .post_content .wp-block-media-text img { border-radius: var(--b88-r); }
.post_content .swell-block-columns__inner .swell-block-column { border-radius: var(--b88-r); }
.post_content table { border-radius: 12px; overflow: hidden; box-shadow: var(--b88-sh); border-collapse: separate; border-spacing: 0; }
.post_content table th { background: var(--b88-main); color: #fff; }
.post_content table td, .post_content table th { border-color: #d6e6ff; }
.post_content .swell-block-accordion__title { background: var(--b88-main) !important; color: #fff !important; border-radius: 12px; }
.post_content .swell-block-button a, .post_content .wp-block-button a { border-radius: 999px; }
.post_content .is-style-icon_info, .post_content .is-style-dent_box { background: #fff; border-radius: var(--b88-r); box-shadow: var(--b88-sh); }
.post_content [style*="color:#5a9e1b"] { color: var(--b88-main) !important; }

/* 既存クラス(本文が参照)を青基調・角丸カードに */
.swell-block-faq__item { background: #fff; border-radius: var(--b88-r); box-shadow: var(--b88-sh); padding: 14px 18px; margin-bottom: 14px; }
.flow .flow_wrapper, .flow_wrapper { border: 2px solid var(--b88-main); border-radius: var(--b88-r); background: #fff; padding: 20px; }
.jisseki_wrapper, .sc-item-box { background: #fff; border-radius: var(--b88-r); box-shadow: var(--b88-sh); overflow: hidden; }
.kadomaru, .kadomaru img, img.kadomaru, .img-wrapper img { border-radius: var(--b88-r); }
.post_content .price { color: var(--b88-org); font-weight: 900; }

/* ===== 既存スライダー(旧子テーマ・追加CSSから引き継ぎ) ===== */
.slider1 { display: flex; margin: 0 calc(50% - 50vw); width: 100vw; height: 200px; overflow: hidden; }
.slider1 ul { display: flex; padding: 0; margin: 0; }
.slider1 li { width: 300px; list-style: none; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
.slider1 li img { max-width: 100%; height: auto; display: block; border: 3mm solid white; box-sizing: border-box; }
.image-title { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); background-color: rgba(0, 0, 0, .7); color: #fff; padding: 5px 10px; border-radius: 5px; font-size: .9em; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 90%; box-sizing: border-box; }
.slider1 ul:first-child { animation: slide1 150s -75s linear infinite; }
.slider1 ul:last-child { animation: slide2 150s linear infinite; }
@keyframes slide1 { 0% { transform: translateX(100%); } to { transform: translateX(-100%); } }
@keyframes slide2 { 0% { transform: translateX(0); } to { transform: translateX(-200%); } }

/* ===== 固定CTAバー(フッター前ウィジェットのHTMLを画面下に固定) ===== */
#callnowbutton.callbutton { position: fixed; bottom: 0; left: 0; width: 100%; z-index: 99999; margin: 0 !important; padding: 0 !important; box-shadow: 0 -4px 14px rgba(0, 0, 0, .15); }
#callnowbutton .m0 { margin: 0 !important; padding: 0 !important; border-collapse: collapse; width: 100%; table-layout: fixed; }
#callnowbutton td { padding: 0 !important; text-align: center; vertical-align: middle; height: 60px; border: 0; }
#callnowbutton td a { display: flex; align-items: center; justify-content: center; color: #fff !important; text-decoration: none !important; font-weight: 800; font-size: 16px; width: 100%; height: 100%; }
#callnowbutton .footer_orange { background-color: var(--b88-org); }
#callnowbutton .footer_blue { background-color: var(--b88-main); }
#callnowbutton .footer_green { background-color: var(--b88-line); }
#callnowbutton .sp { display: none !important; }
#callnowbutton .pc { display: inline !important; }
#callnowbutton br.sp { display: none; }
#all_wrapper, #container, body { padding-bottom: 60px !important; }

/* ===== フッター ===== */
.l-footer { background: var(--b88-main-d); }
.l-footer, .l-footer a { color: #fff; }

@media screen and (max-width: 768px) {
	.b88-hero { padding: 20px 0 60px; }
	.b88-hero__in { grid-template-columns: 1fr; }
	.b88-hero__img { order: -1; }
	.b88-hero__cta a { flex: 1 1 100%; }
	.b88-hd-cta { display: none; }
}
@media screen and (max-width: 767px) {
	#callnowbutton td { height: 55px; }
	#callnowbutton td a { font-size: 13px; }
	#callnowbutton .sp { display: inline !important; }
	#callnowbutton .pc { display: none !important; }
	#callnowbutton br.sp { display: block; }
}
