/*
Theme Name: Taiyoukou Saigai (Salt)
Theme URI: https://taiyoukou-saigai.net/
Author: PROVISYS
Author URI: https://provisys.co.jp/
Description: 株式会社ソルト「太陽光発電システムの故障・修理」サイト（taiyoukou-saigai.net）のオリジナルテーマ。今のサイトの内容・デザインはそのままで、Lightning・VK系プラグインに頼らない作りにしました。お知らせの簡単投稿、確認画面つきお問い合わせフォーム、検索・AI検索の仕組み、記事の取り込み（PROVISYS）を内蔵しています。
Version: 1.0.6
Requires at least: 6.4
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: taiyoukou-saigai
*/

/* ---------- Base ---------- */
:root {
	--navy: #091d3d;
	--navy2: #0a2043;
	--teal: #007d70;
	--label: #3c8b86;
	--green: #11540a;
	--red: #cf2e2e;
	--ink: #333;
	--sub: #888;
	--line: rgba(0, 0, 0, .08);
	--gray: #f6f6f6;
	--pale: #f7f8f9;
	--font: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
	--ease: cubic-bezier(.22, .61, .36, 1);
	--w: 1110px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.75; letter-spacing: .02em; overflow-wrap: anywhere; }
img, video { max-width: 100%; height: auto; vertical-align: bottom; }
a { color: var(--navy); }
a:hover { color: var(--teal); }
h1, h2, h3, h4, h5 { line-height: 1.45; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid #f0b400; outline-offset: 2px; }
.wrap { width: min(var(--w), calc(100% - 40px)); margin-inline: auto; }
.center { text-align: center; }
.right { text-align: right; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip-path: none; padding: 10px 16px; background: #fff; color: #000; }
.ico { width: 1em; height: 1em; flex-shrink: 0; }

/* ---------- Important notice bar ---------- */
.notice-bar { position: relative; z-index: 1100; background: var(--red); color: #fff; }
.notice-bar ul { margin: 0; padding: 0; list-style: none; }
.notice-bar a { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px; padding: 10px 20px; color: #fff; font-weight: 700; line-height: 1.5; text-decoration: none; }
.notice-bar .ico { width: 20px; height: 20px; }
.notice-bar__label { padding: 0 10px; border: 1px solid #fff; border-radius: 3px; font-size: 13px; }
.notice-bar__more { font-size: 13px; font-weight: 400; text-decoration: underline; }

/* ---------- Header (white text over the photo / video) ---------- */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 1000; color: #fff; }
.notice-bar + .site-header { position: absolute; }
.site-header__tagline { margin: 0; padding: 4px 20px 0; font-size: 12px; line-height: 1.4; text-align: center; text-shadow: 0 1px 3px rgba(0, 0, 0, .4); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(1140px, calc(100% - 30px)); margin-inline: auto; padding: 10px 0; }
.site-header__logo { margin: 0; line-height: 0; }
.site-header__logo a { display: block; }
.site-header__logo img { width: 240px; height: auto; }
.site-header.is-scrolled { position: fixed; background: rgba(9, 29, 61, .94); box-shadow: 0 2px 12px rgba(0, 0, 0, .2); animation: hdr-in .35s var(--ease); }
.site-header.is-scrolled .site-header__tagline { display: none; }
.site-header.is-scrolled .site-header__in { padding: 4px 0; }
.site-header.is-scrolled .site-header__logo img { width: 200px; }
.admin-bar .site-header.is-scrolled { top: 32px; }
@keyframes hdr-in { from { transform: translateY(-100%); } to { transform: none; } }
.gnav__list { display: flex; margin: 0; padding: 0; list-style: none; }
.gnav__link { position: relative; display: flex; flex-direction: column; align-items: center; padding: 14px 18px; color: #fff; text-align: center; text-decoration: none; }
.gnav__link:hover { color: #fff; }
.gnav__name { font-size: 14px; font-weight: 700; line-height: 1.4; }
.gnav__en { font-size: 10px; line-height: 1.4; opacity: .6; }
.gnav__link::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 4px; height: 1px; background: #fff; transform: scaleX(0); transition: transform .3s var(--ease); }
.gnav__link:hover::after, .is-current > .gnav__link::after { transform: scaleX(1); }
.is-current > .gnav__link .gnav__en { opacity: 1; }

/* ---------- Page header & breadcrumb ---------- */
.phead { position: relative; display: flex; align-items: flex-end; min-height: 373px; padding: 0 0 64px; background: var(--phead-bg) center / cover no-repeat; color: #fff; text-align: center; }
.phead::before { content: ""; position: absolute; inset: 0; background: rgba(29, 73, 70, .78); }
.phead__in { position: relative; width: min(var(--w), calc(100% - 40px)); margin-inline: auto; }
.phead__title { margin: 0; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: .06em; }
.crumb { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.crumb ol { display: flex; flex-wrap: wrap; margin: 0 auto; padding: 6px 0; list-style: none; font-size: 12px; line-height: 1.6; color: #666; }
.crumb li + li::before { content: "/"; margin: 0 .6em; color: #aaa; }
.crumb a { color: #666; }
.page-body { padding: 56px 0 0; }
.page-body--contact, .page-body--privacy-policy, .page-body--information { padding-bottom: 80px; }
.lead { margin: 0 0 40px; font-size: 16px; line-height: 2; }

/* ---------- Buttons & small parts ---------- */
.btn { display: inline-block; padding: 12px 28px; border-radius: 4px; background: var(--teal); color: #fff; text-decoration: none; transition: background .25s, transform .25s; }
.btn:hover { background: #005f55; color: #fff; transform: translateY(-2px); }
.textlink { position: relative; padding-right: 22px; color: #000; font-size: 14px; text-decoration: none; }
.textlink::after { content: ""; position: absolute; right: 0; top: 50%; width: 14px; height: 1px; background: currentColor; transition: width .3s var(--ease); }
.textlink:hover::after { width: 20px; }
.label { display: inline-block; min-width: 8em; padding: 0 10px; border-radius: 2px; background: var(--label); color: #fff; font-size: 12px; line-height: 1.6; text-align: center; }
.more { margin: 40px 0 80px; }

/* ---------- Section headings ---------- */
.sec { padding: 80px 0; }
.sec--gray { background: var(--pale); }
.sec--white { background: #fff; }
.sec-h { margin: 0 0 40px; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: 2px; text-align: center; }
.sec-h::before { content: ""; display: block; width: 48px; height: 1px; margin: 0 auto 24px; background: #333; }
.sec-h__en { display: block; margin-top: 8px; color: var(--sub); font-size: 13.6px; font-weight: 400; letter-spacing: 3px; }

/* ---------- Top: hero (video) ---------- */
.hero { position: relative; display: grid; place-items: center; min-height: min(100svh, 860px); padding: 150px 0 120px; overflow: hidden; background: #000; color: #fff; text-align: center; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero__in { position: relative; }
.hero__lead { display: block; margin: 0 0 18px; font-size: 20px; line-height: 1.7; }
.hero__title { margin: 0; font-weight: 700; }
.hero__kw { display: inline-block; margin: 0 0 22px; padding: 4px 18px; border-top: 1px solid rgba(255, 255, 255, .7); border-bottom: 1px solid rgba(255, 255, 255, .7); font-size: 18px; letter-spacing: .12em; }
.hero__l1, .hero__l2 { display: block; font-size: clamp(21px, 2.1vw, 28px); line-height: 1.55; text-shadow: 0 2px 8px rgba(0, 0, 0, .35); text-wrap: balance; word-break: auto-phrase; }
.hero__l2 { margin-top: 6px; }

/* ---------- Top: お知らせ (white box over the hero) ---------- */
.newsbox { position: relative; z-index: 2; display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: center; margin-top: -48px; padding: 24px 32px; background: #fff; box-shadow: 0 8px 30px rgba(0, 0, 0, .08); }
.newsbox__head { text-align: center; }
.newsbox__title { margin: 0 0 6px; font-size: 24px; letter-spacing: 1px; }
.newsbox__list { margin: 0; padding: 0; list-style: none; font-size: 14px; }
.newsbox__list li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; padding: 12px 0 11px; border-bottom: 1px dotted #ccc; }
.newsbox__list time { min-width: 7.5em; }

/* ---------- Top: two columns (text and photo, full width) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; margin-top: 80px; }
.split--rev .split__text { order: 2; }
.split__text { align-self: center; width: min(555px, 100%); padding: 48px 48px 48px 0; justify-self: end; }
.split--rev .split__text { justify-self: start; padding: 48px 0 48px 48px; }
.split__h { margin: 0 0 24px; font-size: 24px; font-weight: 600; line-height: 1.4; }
.split__h strong { font-weight: 700; }
.split__img { position: relative; min-height: 437px; overflow: hidden; }
.split__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.split__img:hover img { transform: scale(1.04); }
.split__gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 24px; }
.split__gallery img { width: 100%; aspect-ratio: 500 / 640; object-fit: cover; }

/* ---------- お問い合わせの帯 ---------- */
.cband { position: relative; padding: 96px 0; background: var(--bg) center / cover no-repeat; color: #fff; text-align: center; }
.cband::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.cband__in { position: relative; }
.cband__title { margin: 0 0 8px; font-size: 36px; }
.cband__lead { margin: 0 0 48px; }
.cband__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cbtn { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 24px; border-radius: 4px; color: #fff; text-decoration: none; transition: filter .25s, transform .25s; }
.cbtn:hover { color: #fff; filter: brightness(1.12); transform: translateY(-2px); }
.cbtn--tel { background: var(--teal); }
.cbtn--mail { background: var(--red); }
.cbtn__main { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; line-height: 1.5; }
.cbtn__sub { margin-top: 2px; font-size: 12.8px; line-height: 1.7; }

/* ---------- 株式会社ソルトのこだわり ---------- */
.kodawari { padding: 80px 0 96px; }
.kodawari__title { margin: 0 0 48px; font-size: clamp(24px, 2.6vw, 32px); }
.kblock { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; align-items: center; margin: 0 0 40px; }
.kblock__head::before { content: ""; display: block; width: 48px; height: 1px; margin: 0 0 16px; background: #333; }
.kblock__num { display: flex; align-items: flex-end; gap: 24px; margin: 0; }
.kblock__no { color: var(--navy2); font-family: Arial, sans-serif; font-size: 68px; font-weight: 600; line-height: 1; }
.kblock__word { color: var(--teal); font-size: 40px; line-height: 1.1; }
.kblock__en { margin: 8px 0 0; color: var(--sub); font-size: 13.6px; letter-spacing: 3px; }
.kblock__h { margin: 0 0 16px; font-size: 28px; font-weight: 400; line-height: 1.6; }
.kblock__text p { margin: 0; line-height: 2; }
.kblock__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 0 0 80px; }
.kblock__imgs:last-child { margin-bottom: 0; }
.kblock__imgs img { width: 100%; aspect-ratio: 640 / 350; object-fit: cover; }

/* ---------- Band with 3 cards (無料・迅速・安心) ---------- */
.band { position: relative; padding: 80px 0 96px; background: var(--bg) center / cover no-repeat fixed; color: #fff; }
.band::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.band .wrap { position: relative; }
.band__title { margin: 0 0 48px; font-size: clamp(20px, 2.2vw, 28px); text-align: center; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card { padding: 20px; border-radius: 20px; background: rgba(255, 255, 255, .86); color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 0, 0, .25); }
.card img { width: 100%; aspect-ratio: 1.618 / 1; border-radius: 20px; object-fit: cover; }
.card__h { margin: 32px 0 12px; color: var(--navy); font-size: 21px; text-align: center; }
.card p { margin: 0; }

/* ---------- Makers ---------- */
.makers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 24px; margin: 0 0 64px; padding: 0; list-style: none; }
.makers li { display: grid; place-items: center; }
.makers img { width: 300px; }

/* ---------- Area ---------- */
.area { margin: 40px 0 0; }
.area__row { display: grid; grid-template-columns: 109px 1fr; gap: 24px; padding: 16px 0; border-bottom: 2px solid var(--line); }
.area__row:last-child { border-bottom: 0; }
.area dt { font-weight: 700; }
.area dd { margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 900px; margin: 0 auto; }
.faq__item { margin: 0 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; transition: box-shadow .25s; }
.faq__item:hover, .faq__item[open] { box-shadow: 0 4px 16px rgba(0, 0, 0, .06); }
.faq__q { display: flex; gap: 14px; align-items: center; padding: 18px 22px; font-size: 17px; font-weight: 700; line-height: 1.6; cursor: pointer; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "＋"; margin-left: auto; padding-left: 8px; color: var(--teal); font-weight: 400; }
.faq__item[open] .faq__q::after { content: "−"; }
.faq__mark { flex-shrink: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-family: Arial, sans-serif; font-size: 14px; line-height: 1; }
.faq__a { margin: 0; padding: 0 22px 20px 66px; line-height: 1.9; }

/* ---------- お問い合わせ（CONTACT US） ---------- */
.cus { position: relative; padding: 96px 0; background: var(--bg) center / cover no-repeat fixed; }
.cus::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .15); }
.cus .wrap { position: relative; }
.cus__title { margin: 0 0 40px; color: #fff; font-size: 28px; text-align: center; text-shadow: 0 2px 8px rgba(0, 0, 0, .4); }
.cus__en { display: block; font-size: 16px; font-weight: 400; letter-spacing: 1px; }
.cus__box { padding: 32px; border-radius: 20px; background: rgba(255, 255, 255, .86); }
.cus__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.bigbtn { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 24px; border-radius: 20px; background: var(--navy2); color: #fff; text-decoration: none; transition: background .25s, transform .25s; }
.bigbtn:hover { background: var(--teal); color: #fff; transform: translateY(-3px); }
.bigbtn .ico { width: 40px; height: 40px; }
.bigbtn small { font-size: 13px; opacity: .85; }

/* ---------- 会社案内 ---------- */
.gray-head { display: grid; place-items: center; min-height: 350px; padding: 0 0 112px; background: var(--gray); }
.sub-h { margin: 0; color: #222; font-size: 28px; text-align: center; }
.sub-h__en { display: block; margin-top: 4px; font-size: 18px; font-weight: 400; letter-spacing: 1px; }
.greeting { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; width: min(1275px, calc(100% - 40px)); margin: -112px auto 0; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, .05); }
.greeting__body { padding: 48px 51px; text-align: center; }
.greeting__catch { font-size: 22px; font-weight: 700; letter-spacing: .2em; }
.greeting__sign { margin: 24px 0 0; text-align: right; }
.greeting__img img { width: 100%; height: 100%; object-fit: cover; }
.profile { position: relative; z-index: 1; margin-top: -112px; margin-bottom: 96px; padding: 32px; border-radius: 8px; background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .05); }
.page-body--aboutus { padding-bottom: 0; }
.page-body--aboutus .gray-head:first-of-type { margin-top: 0; }
.tbl-wrap { overflow-x: auto; }
.tbl-stripe { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl-stripe th, .tbl-stripe td { padding: 10px 14px; text-align: left; vertical-align: middle; line-height: 1.9; }
.tbl-stripe th { width: 140px; font-weight: 400; }
.tbl-stripe tr:nth-child(odd) { background: #f0f0f0; }

/* ---------- サービス案内 ---------- */
.ttl-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; margin: 0 0 64px; }
.ttl-row__h { position: relative; justify-self: end; width: min(555px, 100%); margin: 0; padding: 48px 48px 48px 0; font-size: 24px; font-weight: 400; line-height: 1.5; }
.ttl-row__h::before { content: ""; display: block; width: 48px; height: 1px; margin: 0 0 20px; background: #333; }
.ttl-row__img { min-height: 344px; background: var(--bg) center / cover no-repeat; }
.ttl-row--rev .ttl-row__h { order: 2; justify-self: start; padding: 48px 0 48px 48px; }
.svc-intro { display: grid; grid-template-columns: 333px 1fr; gap: 24px; margin-bottom: 96px; }
.svc-intro__img img { width: 100%; }
.svc-intro__text .split__h { margin-top: 48px; }
.troubles { margin-bottom: 80px; }
.trow { display: grid; grid-template-columns: 167px 1fr; gap: 24px; align-items: center; padding: 64px 0; border-bottom: 2px solid var(--line); }
.trow:first-child { padding-top: 0; }
.trow:last-child { border-bottom: 0; }
.trow__num { margin: 0; text-align: center; }
.trow__num span { display: block; color: var(--sub); font-size: 13.6px; letter-spacing: 3px; }
.trow__num strong { display: block; color: var(--navy2); font-family: Arial, sans-serif; font-size: 68px; font-weight: 600; line-height: 1; }
.trow__h { margin: 0 0 16px; font-size: 24px; font-weight: 400; }
.trow__body p { margin: 0; line-height: 2; }

/* ---------- お問い合わせ ---------- */
.contact { max-width: 900px; }
.contact .lead { margin-bottom: 16px; }
.contact-tel { margin: 0 0 8px; }
.contact-tel__num { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-size: clamp(34px, 5vw, 50px); font-weight: 700; line-height: 1.3; text-decoration: none; }
.contact-tel__num .ico { width: .8em; height: .8em; }
.contact-tel p { margin: 4px 0 0; }
.contact-note { color: var(--red); }
.form-steps { display: flex; justify-content: center; gap: 8px; margin: 40px 0 24px; padding: 0; list-style: none; counter-reset: st; }
.form-steps li { flex: 1; max-width: 200px; padding: 8px; border-radius: 4px; background: #eee; color: #666; font-size: 14px; text-align: center; counter-increment: st; }
.form-steps li::before { content: counter(st) ". "; }
.form-steps .is-current { background: var(--navy); color: #fff; }
.form-box { scroll-margin-top: 90px; }
.cf-row { display: grid; grid-template-columns: 14em minmax(0, 1fr); gap: 8px 24px; padding: 18px 0; border-bottom: 1px solid #e3e3e3; }
.cf-label { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding-top: 11px; font-weight: 700; }
.cf-req, .cf-opt { flex: none; display: inline-block; padding: 1px 8px; border-radius: 3px; font-size: 12px; font-weight: 700; line-height: 1.7; }
.cf-req { background: #dc3545; color: #fff; }
.cf-opt { background: #e0e0e0; color: #555; }
.cf-note { margin: 6px 0 0; color: #666; font-size: 13px; }
.form-box input[type="text"], .form-box input[type="email"], .form-box input[type="tel"], .form-box textarea { width: 100%; padding: 12px 16px; border: 1px solid rgba(0, 0, 0, .2); border-radius: 4px; background: #fff; font: 16px/1.6 var(--font); }
.form-box textarea { min-height: 200px; }
.form-box input:focus, .form-box textarea:focus { border-color: var(--teal); outline: 2px solid rgba(0, 125, 112, .25); }
.cf-accept { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 24px 0; font-weight: 700; }
.cf-accept .wpcf7-list-item { margin: 0; }
.cf-accept label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; }
.cf-accept input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--teal); }
.cf-accept .cf-err { flex-basis: 100%; text-align: center; }
.cf-err { margin: 6px 0 0; color: #dc3545; font-size: 13px; font-weight: 700; }
.cf-review { outline: none; }
.cf-review__title { margin: 0 0 8px; font-size: 18px; }
.cf-review__lead { font-size: 14px; }
.cf-review__list { display: grid; grid-template-columns: 14em minmax(0, 1fr); margin: 0 0 24px; border-top: 1px solid #ddd; }
.cf-review__list dt, .cf-review__list dd { margin: 0; padding: 14px 16px; border-bottom: 1px solid #ddd; }
.cf-review__list dt { background: #f0f0f0; font-weight: 700; font-size: 14px; }
.cf-review__list dd { white-space: pre-wrap; }
.cf-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 16px; }
.cf-btn, .form-box input[type="submit"] { min-width: 240px; min-height: 52px; padding: 10px 32px; border: 1px solid var(--navy); border-radius: 4px; font: 700 16px var(--font); letter-spacing: .08em; cursor: pointer; transition: background .25s, transform .25s; }
.cf-btn--confirm, .form-box input[type="submit"] { background: var(--navy); color: #fff; }
.cf-btn--confirm:hover, .form-box input[type="submit"]:hover { background: var(--teal); border-color: var(--teal); transform: translateY(-2px); }
.cf-btn--back { background: #fff; color: var(--navy); }
.cf-js:not(.is-review) .cf-send, .cf-js.is-sent .cf-actions { display: none; }
.wpcf7-not-valid-tip { display: block; margin-top: 6px; color: #dc3545; font-size: 13px; }
.wpcf7-response-output { margin: 24px 0 0; padding: 14px 18px; border: 2px solid var(--teal); border-radius: 4px; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output { border-color: #dc3545; }
.wpcf7-spinner { display: none; }
.screen-reader-response { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* ---------- News (更新情報・お知らせ) ---------- */
.nlist { border-top: 1px solid var(--line); }
.nitem { display: grid; grid-template-columns: 300px 1fr; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.nitem__thumb { position: relative; overflow: hidden; border: 1px solid #e5e5e5; padding: 1px; aspect-ratio: 16 / 9; }
.nitem__thumb a { display: block; height: 100%; }
.nitem__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.nitem:hover .nitem__img { transform: scale(1.05); }
.nitem__cat { position: absolute; top: 0; right: 0; padding: 4px 12px; background: var(--label); color: #fff; font-size: 11px; }
.nitem--important .nitem__cat { background: var(--red); }
.nitem__title { margin: 0; font-size: 18px; }
.nitem__title a { color: var(--ink); text-decoration: none; }
.nitem__title a:hover { color: var(--teal); text-decoration: underline; }
.nitem__date { margin: 6px 0 0; color: #666; font-size: 12px; }
.nitem__text { margin: 12px 0 0; font-size: 14px; line-height: 1.7; opacity: .85; }
.post-layout { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: start; padding-bottom: 80px; }
.post__title { margin: 0 0 6px; font-size: clamp(22px, 2.2vw, 28px); }
.post__meta { display: flex; align-items: center; gap: 8px; margin: 0 0 28px; color: #666; font-size: 14px; }
.post__imp { padding: 0 10px; border-radius: 3px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; }
.post__thumb img { width: 100%; max-width: 640px; }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }
.pager__next { text-align: right; }
.pager__list { padding: 6px 20px; border-radius: 4px; background: var(--navy); color: #fff !important; text-decoration: none; }
.side__title { margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--navy); font-size: 17px; }
.side__list { margin: 0; padding: 0; list-style: none; }
.side__list a { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.side__thumb img { width: 56px; height: 56px; object-fit: cover; }
.side__text { display: flex; flex-direction: column; font-size: 14px; line-height: 1.6; }
.side__text time { color: #666; font-size: 12px; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 40px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 8px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); text-decoration: none; }
.pagination .current { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- Text pages ---------- */
.entry-content h2 { margin: 2.4em 0 .8em; font-size: 24px; }
.entry-content h3 { margin: 1.8em 0 .6em; font-size: 20px; }
.entry-content ul, .entry-content ol { margin: 0 0 1.2em; padding-left: 1.6em; }
.entry-content li { margin: .3em 0; }
.entry-content li > p { margin: .4em 0 .8em; }
.entry-content > :first-child { margin-top: 0; }
.pp { max-width: 960px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green); color: rgba(255, 255, 255, .85); font-size: 12px; }
.fnav { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.fnav ul { display: flex; flex-wrap: wrap; justify-content: center; margin: 0 auto; padding: 0; list-style: none; }
.fnav li { border-left: 1px solid rgba(255, 255, 255, .2); }
.fnav li:last-child { border-right: 1px solid rgba(255, 255, 255, .2); }
.fnav a { display: block; padding: 2px 18px; color: rgba(255, 255, 255, .9); line-height: 1.6; text-decoration: none; }
.fnav a:hover { color: #fff; text-decoration: underline; }
.site-footer__info { padding: 20px 0 0; text-align: center; }
.site-footer__name { margin: 0 0 4px; font-size: 15px; font-weight: 700; color: #fff; }
.site-footer__adr { font-style: normal; line-height: 1.8; }
.site-footer__adr a { color: #fff; }
.site-footer__copy { margin: 0; padding: 16px 20px 20px; text-align: center; }
.pagetop { position: fixed; right: 28px; bottom: 28px; z-index: 900; display: grid; place-items: center; width: 40px; height: 40px; background: rgba(0, 0, 0, .8); color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .8), 0 0 0 2px rgba(0, 0, 0, .8); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.pagetop.is-show { opacity: 1; visibility: visible; }
.pagetop:hover { color: #fff; background: var(--teal); }
.pagetop .ico { width: 20px; height: 20px; }
.fixnav, .drawer { display: none; }
.drawer[hidden] { display: none !important; }

/* ---------- Appear on scroll ---------- */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s); }
.js .rv.is-in { opacity: 1; transform: none; }
.split__img.rv { transform: none; }

/* ---------- Tablet / smartphone ---------- */
@media (max-width: 991px) {
	.gnav { display: none; }
	.site-header__in { justify-content: center; }
	.site-header__logo img { width: 200px; }
	.site-header.is-scrolled { position: absolute; background: none; box-shadow: none; animation: none; }
	.site-header.is-scrolled .site-header__tagline { display: block; }
	.site-header.is-scrolled .site-header__logo img { width: 200px; }
	body { padding-bottom: 64px; }
	.fixnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; display: block; background: #fff; box-shadow: 0 -2px 10px rgba(0, 0, 0, .12); }
	.fixnav ul { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; padding: 0 0 env(safe-area-inset-bottom); list-style: none; }
	.fixnav a, .fixnav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 100%; height: 64px; padding: 0; border: 0; background: none; color: var(--label); font: 11px/1.3 var(--font); text-decoration: none; cursor: pointer; }
	.fixnav .ico { width: 24px; height: 24px; }
	.drawer { position: fixed; inset: 0; z-index: 1200; display: block; overflow-y: auto; padding: 0 24px 100px; background: #fff; }
	.drawer__head { display: flex; align-items: center; justify-content: space-between; height: 64px; border-bottom: 1px solid var(--line); }
	.drawer__title { font-weight: 700; letter-spacing: .1em; }
	.drawer__close { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; }
	.drawer__close .ico { width: 26px; height: 26px; }
	.drawer__list { margin: 0; padding: 0; list-style: none; }
	.drawer__list > li { border-bottom: 1px solid var(--line); }
	.drawer__list a { display: block; padding: 14px 4px; color: var(--ink); font-weight: 700; text-decoration: none; }
	.drawer__tel { margin: 24px 0 0; text-align: center; }
	.drawer__tel a { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-size: 26px; font-weight: 700; text-decoration: none; }
	.drawer__tel small { display: block; color: #666; }
	.pagetop { bottom: 80px; right: 16px; }
	.split, .ttl-row { grid-template-columns: 1fr; margin-top: 56px; }
	.split--rev .split__text, .ttl-row--rev .ttl-row__h { order: 0; }
	.split__text, .split--rev .split__text { justify-self: stretch; width: auto; padding: 0 20px 32px; }
	.split__img { min-height: 260px; }
	.ttl-row { margin: 0 0 40px; }
	.ttl-row__h, .ttl-row--rev .ttl-row__h { justify-self: stretch; width: auto; padding: 0 20px 24px; }
	.ttl-row__img { min-height: 220px; }
	.kblock { grid-template-columns: 1fr; gap: 12px; }
	.cards { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
	.band, .cus { background-attachment: scroll; }
	.greeting { grid-template-columns: 1fr; }
	.greeting__img { order: -1; }
	.post-layout { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
	body { font-size: 15px; }
	.site-header__tagline { font-size: 11px; }
	.site-header__in { padding: 6px 0; }
	.site-header__logo img { width: 170px; }
	.hero { min-height: 92svh; padding: 120px 0 96px; }
	.hero__lead { font-size: 15px; }
	.hero__kw { font-size: 15px; }
	.hero__l1, .hero__l2 { font-size: 19px; }
	.newsbox { grid-template-columns: 1fr; gap: 8px; width: calc(100% - 30px); padding: 20px; }
	.newsbox__head { display: flex; align-items: center; justify-content: space-between; }
	.newsbox__title { margin: 0; font-size: 20px; }
	.split__h, .trow__h, .ttl-row__h { font-size: 20px; }
	.cband { padding: 64px 0; }
	.cband__title { font-size: 26px; }
	.cband__lead { margin-bottom: 28px; }
	.cband__btns, .cus__btns { grid-template-columns: 1fr; gap: 14px; }
	.kodawari { padding: 56px 0 64px; }
	.kblock__no { font-size: 52px; }
	.kblock__word { font-size: 30px; }
	.kblock__h { font-size: 21px; }
	.kblock__imgs { gap: 10px; margin-bottom: 56px; }
	.sec { padding: 56px 0; }
	.makers { gap: 8px 12px; margin-bottom: 40px; }
	.area__row { grid-template-columns: 1fr; gap: 4px; }
	.faq__q { padding: 14px 16px; font-size: 15px; }
	.faq__a { padding: 0 16px 16px; }
	.cus { padding: 64px 0; }
	.cus__box { padding: 20px; }
	.phead { min-height: 260px; padding-bottom: 40px; }
	.gray-head { min-height: 240px; padding-bottom: 80px; }
	.greeting, .profile { margin-top: -80px; }
	.greeting__body { padding: 32px 20px; }
	.profile { padding: 16px; }
	.tbl-stripe th { width: 6.5em; padding: 10px 8px; }
	.tbl-stripe td { padding: 10px 8px; }
	.svc-intro { grid-template-columns: 1fr; }
	.svc-intro__img { max-width: 260px; margin-inline: auto; }
	.trow { grid-template-columns: 1fr; gap: 8px; padding: 40px 0; text-align: left; }
	.trow__num { display: flex; align-items: baseline; gap: 12px; text-align: left; }
	.trow__num strong { font-size: 44px; }
	.nitem { grid-template-columns: 1fr; gap: 14px; }
	.cf-row { grid-template-columns: 1fr; gap: 8px; }
	.cf-label { justify-content: flex-start; padding-top: 0; }
	.cf-review__list { grid-template-columns: 1fr; }
	.cf-review__list dt { border-bottom: 0; padding-bottom: 6px; }
	.cf-btn, .form-box input[type="submit"] { width: 100%; min-width: 0; }
	.fnav li { border: 0 !important; }
	.fnav a { padding: 4px 10px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.wpcf7 form.init .wpcf7-response-output, .wpcf7 form.resetting .wpcf7-response-output, .wpcf7 form.submitting .wpcf7-response-output { display: none; }
.note { padding: 12px 16px; border-left: 4px solid var(--red); background: #fdf3f3; font-size: 14px; line-height: 1.8; }
.sec-h--left { margin: 56px 0 24px; font-size: 22px; text-align: left; }
.sec-h--left::before { margin: 0 0 16px; }
.contact-fig { margin: 32px 0 0; }
.contact-fig img { width: 100%; max-height: 300px; object-fit: cover; border-radius: 8px; }
.flow { margin: 0 0 24px; padding: 0; list-style: none; counter-reset: fl; }
.flow li { position: relative; margin: 0 0 12px; padding: 16px 18px 16px 64px; border: 1px solid var(--line); border-radius: 8px; background: #fff; counter-increment: fl; }
.flow li::before { content: counter(fl); position: absolute; left: 16px; top: 16px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--teal); color: #fff; font-family: Arial, sans-serif; font-weight: 700; }
.flow strong { display: block; margin-bottom: 2px; color: var(--navy); font-size: 17px; }
.about-more { margin: 0 auto 96px; }
.info-more { margin-top: 56px; }

/* 代表挨拶・企業理念（本社サイトと同じ文、1.0.5） */
.greeting__body { text-align: left; }
.greeting__body p { margin: 0 0 1em; line-height: 1.9; }
.greeting__h { margin: 32px 0 12px; font-size: 18px; }
.greeting__list { margin: 0; padding-left: 1.4em; line-height: 1.9; }
