@charset "utf-8";
/* fireservice.css : パーテーション職人 追加ページ用CSS（元: css/fireservice.css）
   ヘッダー/フッター用の記述は削除し、クラス名・IDは ap- 接頭辞でテーマと分離 */
/* ==========================================================
   追加ページ用 ベース（テーマのreset.css / style.cssの影響を打ち消す）
   - .ap-page 内は元の静的HTMLと同じ「ブラウザ標準スタイル」から描画する
   - テーマのFAQ（.faq-list）とインラインSVGはテーマ/属性の指定を維持
   ========================================================== */
.ap-page{display:block;font-size:16px;line-height:normal;letter-spacing:normal;font-weight:400;color:#000;text-align:left;-webkit-text-size-adjust:100%}
.ap-page :where(*:not(.faq-list,.faq-list *,svg,svg *)){all:revert}
.ap-page :where(img:not(.faq-list *)){width:var(--ap-w,auto);height:var(--ap-h,auto);aspect-ratio:var(--ap-ar,auto)}
/* 固定ヘッダー分の余白（テーマの .m-pageTitle と同じ値） */
@media print,only screen and (min-width:1023px){.ap-page{padding-top:min(10rem,6.7vw)}}
@media screen and (max-width:1022px){.ap-page{padding-top:5rem}}
/* FAQ（テーマのデザインで表示） */
.ap-page .ap-faq-related{padding-top:20px;font-family:var(--font-sans-serif);font-size:1.6rem;line-height:1.5;letter-spacing:0;font-weight:400;color:#000;text-align:left}

/* ---------- ページ固有スタイル ---------- */
.ap-page{--red:#c8131b;--navy:#0c1932;--body:#5e687a;--line:#e2e8ee;--pale:#f4f9fc;--width:1100px}
.ap-page *:where(:not(.faq-list,.faq-list *)){box-sizing:border-box}
.ap-page{margin:0;color:var(--navy);font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;font-size:16px;line-height:1.8;font-weight:600;background:#fff}
.ap-page a:where(:not(.faq-list,.faq-list *)){color:inherit;text-decoration:none}
.ap-page button:where(:not(.faq-list,.faq-list *)){font:inherit;cursor:pointer}
.ap-page img:where(:not(.faq-list,.faq-list *)){max-width:100%;display:block}
.ap-page p:where(:not(.faq-list,.faq-list *)),.ap-page h1:where(:not(.faq-list,.faq-list *)),.ap-page h2:where(:not(.faq-list,.faq-list *)),.ap-page h3:where(:not(.faq-list,.faq-list *)),.ap-page dl:where(:not(.faq-list,.faq-list *)),.ap-page dd:where(:not(.faq-list,.faq-list *)){margin:0}
.ap-page a:where(:not(.faq-list,.faq-list *)),.ap-page button:where(:not(.faq-list,.faq-list *)){-webkit-tap-highlight-color:transparent}
.ap-page a:focus-visible:where(:not(.faq-list,.faq-list *)),.ap-page button:focus-visible:where(:not(.faq-list,.faq-list *)){outline:3px solid #e49e22;outline-offset:4px}
.ap-page a:hover:where(:not(.faq-list,.faq-list *)){opacity:.8}
.ap-page .ap-container{width:min(var(--width),calc(100% - 80px));margin:auto}
.ap-page .ap-hero{background:#edf4f7 url("../img/fireservice-hero-office.png") center/cover no-repeat;overflow:hidden;position:relative}
.ap-page .ap-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#f5fbff 0%,rgba(245,251,255,.96) 25%,rgba(245,251,255,.82) 40%,rgba(245,251,255,0) 68%)}
.ap-page .ap-hero-inner{position:relative;min-height:352px}
.ap-page .ap-breadcrumb{padding-top:7px;font-size:11px;color:#657081;position:relative;z-index:2}
.ap-page .ap-breadcrumb span:where(:not(.faq-list,.faq-list *)){margin:0 9px}
.ap-page .ap-hero-copy{padding:37px 0 28px;position:relative;z-index:2;max-width:590px}
.ap-page .ap-eyebrow{font-size:16px;line-height:1.3;color:var(--red);font-weight:800;margin-bottom:10px}
.ap-page .ap-hero h1:where(:not(.faq-list,.faq-list *)){font-size:34px;line-height:1.35;letter-spacing:.01em;font-weight:900}
.ap-page .ap-hero h1 em:where(:not(.faq-list,.faq-list *)){font-size:50px;color:var(--red);font-style:normal}
.ap-page .ap-hero-copy>p:last-child:where(:not(.faq-list,.faq-list *)){margin-top:14px;color:var(--body);line-height:1.8;font-size:16px}
.ap-page .ap-hero-staff{position:absolute;right:160px;bottom:-4px;width:208px;height:auto;z-index:1}
.ap-page .ap-speech{border:1px solid #ffd497;border-radius:12px;background:#fff;line-height:1.7;font-weight:800;z-index:3;position:relative}
.ap-page .ap-speech:after{content:"";position:absolute;width:20px;height:20px;background:inherit;border-left:1px solid #ffd497;border-bottom:1px solid #ffd497;bottom:-11px;left:30px;transform:skewY(-35deg)}
.ap-page .ap-hero-speech{position:absolute;right:-28px;top:117px;padding:21px 19px;font-size:18px}
.ap-page .ap-content{padding:40px 0 18px}
.ap-page .ap-section{margin-bottom:36px}
.ap-page h2:where(:not(.faq-list,.faq-list *)){border-left:8px solid var(--red);padding-left:15px;font-size:28px;line-height:1.35;font-weight:900;letter-spacing:.005em}
.ap-page .ap-section-lead{color:var(--body);font-size:15px;line-height:1.8;margin:11px 0 17px}
.ap-page h3:where(:not(.faq-list,.faq-list *)){font-size:18px;line-height:1.5;font-weight:800}
.ap-page .ap-law-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.ap-page .ap-law-card{position:relative;background:var(--pale);padding:36px 25px 23px;border-radius:3px}
.ap-page .ap-number{position:absolute;top:11px;left:16px;background:var(--red);border-radius:50%;width:37px;height:37px;display:grid;place-items:center;color:white;font-size:23px;font-weight:400}
.ap-page .ap-law-card>img:where(:not(.faq-list,.faq-list *)){height:61px;width:72px;object-fit:contain;margin:0 auto 18px}
.ap-page .ap-law-card h3:where(:not(.faq-list,.faq-list *)){text-align:center;margin-bottom:13px}
.ap-page .ap-law-card p:where(:not(.faq-list,.faq-list *)){font-size:16px;color:var(--body);line-height:1.8}
.ap-page .ap-point-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ap-page .ap-point-card{border:1px solid var(--line);box-shadow:0 0 2px #e3e9ef;border-radius:3px;padding:13px 18px 19px}
.ap-page .ap-point-card h3:where(:not(.faq-list,.faq-list *)){margin-bottom:9px;font-size:18px;letter-spacing:-.025em}
.ap-page .ap-point-card img:where(:not(.faq-list,.faq-list *)){width:100%;height:auto;aspect-ratio:218/85;object-fit:cover;border-radius:3px}
.ap-page .ap-point-card p:where(:not(.faq-list,.faq-list *)){color:var(--body);font-size:16px;margin-top:11px;line-height:1.85}
.ap-page .ap-equipment{margin-bottom:34px}
.ap-page .ap-equipment-layout{position:relative;padding-right:214px}
.ap-page .ap-equipment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 10px}
.ap-page .ap-equipment-card{border:1px solid var(--line);border-radius:3px;padding:13px 8px 15px;text-align:center}
.ap-page .ap-equipment-card img:where(:not(.faq-list,.faq-list *)){width:68px;height:60px;object-fit:contain;margin:0 auto 12px}
.ap-page .ap-equipment-card h3:where(:not(.faq-list,.faq-list *)){margin-bottom:7px}
.ap-page .ap-equipment-card p:where(:not(.faq-list,.faq-list *)){color:var(--body);font-size:16px;line-height:1.6}
.ap-page .ap-worker-wrap{position:absolute;right:-4px;bottom:-39px;width:220px}
.ap-page .ap-worker-wrap>img:where(:not(.faq-list,.faq-list *)){width:190px;height:auto;margin:32px 0 0 auto}
.ap-page .ap-worker-speech{font-size:16px;padding:15px 16px;background:#fff4e6;white-space:nowrap}
.ap-page .ap-worker-speech:after{left:88px;transform:skewY(40deg)}
.ap-page .ap-contact{display:flex;align-items:center;gap:28px;background:#fdf3ee;border-radius:6px;overflow:hidden;margin-top:25px;min-height:108px}
.ap-page .ap-contact>img:where(:not(.faq-list,.faq-list *)){width:164px;height:108px;object-fit:cover}
.ap-page .ap-contact>p:where(:not(.faq-list,.faq-list *)){font-size:16px;flex:1;line-height:1.8}
.ap-page .ap-contact-button{background:var(--red);color:white;border:0;border-radius:4px;padding:17px 24px;flex-shrink:0;margin-right:20px;font-size:14px;font-weight:800}
.ap-page .ap-contact-button:hover{background:#a80c13}
.ap-page .ap-contact-button span:where(:not(.faq-list,.faq-list *)){margin-left:12px}
.ap-page dialog:where(:not(.faq-list,.faq-list *)){width:min(460px,calc(100% - 32px));border:none;border-radius:12px;padding:48px 24px 32px;text-align:center;color:var(--navy);box-shadow:0 20px 80px #0003}
.ap-page dialog:where(:not(.faq-list,.faq-list *))::backdrop{background:#08132799}
.ap-page dialog h2:where(:not(.faq-list,.faq-list *)){border:0;padding:0;font-size:23px;margin-bottom:20px}
.ap-page .ap-dialog-close{position:absolute;right:12px;top:5px;border:0;background:none;font-size:32px;color:#556}
.ap-page .ap-dialog-phone{display:block;background:var(--red);color:#fff;font-size:25px;padding:10px;margin-top:22px;border-radius:5px}
.ap-page .ap-hours{font-size:12px;margin-top:10px;color:var(--body)}
@media (min-width:1500px){
  .ap-page .ap-hero{background-position:center 48%}
}
@media (max-width:1100px){
  .ap-page .ap-hero-speech{right:-10px;font-size:15px;padding:18px 14px}
  .ap-page .ap-hero-staff{right:133px;width:195px}
  .ap-page .ap-hero h1:where(:not(.faq-list,.faq-list *)){font-size:30px}
  .ap-page .ap-hero h1 em:where(:not(.faq-list,.faq-list *)){font-size:44px}
  .ap-page .ap-hero-copy>p:last-child:where(:not(.faq-list,.faq-list *)){font-size:14px}
  .ap-page .ap-law-card{padding:35px 20px 20px}
  .ap-page .ap-law-card p:where(:not(.faq-list,.faq-list *)),.ap-page .ap-point-card p:where(:not(.faq-list,.faq-list *)),.ap-page .ap-equipment-card p:where(:not(.faq-list,.faq-list *)){font-size:14px}
  .ap-page h2:where(:not(.faq-list,.faq-list *)){font-size:25px}
  .ap-page .ap-point-card h3:where(:not(.faq-list,.faq-list *)){font-size:16px}
  .ap-page .ap-equipment-layout{padding-right:195px}
  .ap-page .ap-worker-wrap{width:200px}
  .ap-page .ap-worker-wrap>img:where(:not(.faq-list,.faq-list *)){width:174px}
  .ap-page .ap-worker-speech{font-size:14px}
  .ap-page .ap-contact{gap:20px}
  .ap-page .ap-contact>p:where(:not(.faq-list,.faq-list *)){font-size:14px}
  .ap-page .ap-contact>img:where(:not(.faq-list,.faq-list *)){width:135px}
  .ap-page .ap-contact-button{padding:17px 19px;font-size:12px}
}
@media (max-width:760px){
  .ap-page .ap-container{width:calc(100% - 36px)}
  .ap-page .ap-hero-inner{min-height:440px}
  .ap-page .ap-hero:before{background:linear-gradient(90deg,rgba(246,251,255,.98),rgba(246,251,255,.72) 75%,rgba(246,251,255,.3))}
  .ap-page .ap-hero{background-position:65% center}
  .ap-page .ap-breadcrumb{font-size:9px;padding-top:10px;line-height:1.6}
  .ap-page .ap-hero-copy{padding:25px 0 155px}
  .ap-page .ap-eyebrow{font-size:14px}
  .ap-page .ap-hero h1:where(:not(.faq-list,.faq-list *)){font-size:clamp(23px,5.8vw,34px)}
  .ap-page .ap-hero h1 em:where(:not(.faq-list,.faq-list *)){font-size:clamp(29px,7.4vw,44px)}
  .ap-page .ap-hero-copy>p:last-child:where(:not(.faq-list,.faq-list *)){font-size:13px;line-height:1.85;margin-top:13px;max-width:420px}
  .ap-page .ap-desktop{display:none}
  .ap-page .ap-hero-staff{width:155px;right:26px;bottom:-4px}
  .ap-page .ap-hero-speech{top:auto;bottom:45px;left:8px;right:auto;font-size:13px;padding:12px 15px;border-radius:8px}
  .ap-page .ap-hero-speech:after{left:auto;right:-10px;bottom:15px;transform:rotate(225deg);width:17px;height:17px}
  .ap-page .ap-content{padding-top:30px}
  .ap-page .ap-section{margin-bottom:30px}
  .ap-page h2:where(:not(.faq-list,.faq-list *)){font-size:22px;border-left-width:6px;padding-left:11px;line-height:1.5}
  .ap-page .ap-section-lead{font-size:14px;margin:12px 0 16px}
  .ap-page .ap-law-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .ap-page .ap-law-card{padding:39px 14px 18px}
  .ap-page .ap-number{width:29px;height:29px;font-size:18px;top:10px;left:10px}
  .ap-page .ap-law-card>img:where(:not(.faq-list,.faq-list *)){width:54px;height:50px;margin-bottom:15px}
  .ap-page .ap-law-card h3:where(:not(.faq-list,.faq-list *)){font-size:16px;margin-bottom:8px}
  .ap-page .ap-law-card p:where(:not(.faq-list,.faq-list *)){font-size:14px}
  .ap-page .ap-point-grid{grid-template-columns:1fr;gap:14px}
  .ap-page .ap-point-card{padding:14px 16px 16px}
  .ap-page .ap-point-card h3:where(:not(.faq-list,.faq-list *)){font-size:18px}
  .ap-page .ap-point-card p:where(:not(.faq-list,.faq-list *)){font-size:15px;margin-top:10px}
  .ap-page .ap-equipment-layout{padding:0}
  .ap-page .ap-equipment-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .ap-page .ap-equipment-card{padding:18px 8px}
  .ap-page .ap-equipment-card h3:where(:not(.faq-list,.faq-list *)){font-size:16px}
  .ap-page .ap-equipment-card p:where(:not(.faq-list,.faq-list *)){font-size:13px}
  .ap-page .ap-equipment-card img:where(:not(.faq-list,.faq-list *)){height:51px;width:58px}
  .ap-page .ap-worker-wrap{position:relative;right:auto;bottom:auto;width:100%;display:flex;align-items:center;justify-content:center;gap:10px;margin-top:18px}
  .ap-page .ap-worker-wrap>img:where(:not(.faq-list,.faq-list *)){width:108px;margin:0}
  .ap-page .ap-worker-speech{font-size:14px;padding:16px 13px;white-space:normal}
  .ap-page .ap-worker-speech:after{left:auto;right:-10px;bottom:28px;transform:rotate(225deg);width:18px;height:18px}
  .ap-page .ap-contact{display:grid;grid-template-columns:82px 1fr;gap:15px;padding:16px;margin-top:16px}
  .ap-page .ap-contact>img:where(:not(.faq-list,.faq-list *)){width:82px;height:90px;border-radius:3px}
  .ap-page .ap-contact>p:where(:not(.faq-list,.faq-list *)){font-size:13px}
  .ap-page .ap-contact>p br:where(:not(.faq-list,.faq-list *)){display:none}
  .ap-page .ap-contact-button{grid-column:1/-1;margin:0;font-size:14px;padding:14px}
}
