@charset "utf-8";
/* relocation.css : パーテーション職人 追加ページ用CSS（元: css/relocation.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 *:where(:not(.faq-list,.faq-list *)){box-sizing:border-box}
.ap-page{margin:0;color:#071b3d;font-family:-apple-system,BlinkMacSystemFont,"Noto Sans JP","Yu Gothic",sans-serif;line-height:1.75;background:#fff}
.ap-page .ap-inner{max-width:1160px;margin:auto;padding:0 18px}
.ap-page .ap-crumb{font-size:11px;color:#566173;padding-top:10px;padding-bottom:10px}
.ap-page .ap-hero{height:315px;position:relative;overflow:hidden}
.ap-page .ap-hero>img:where(:not(.faq-list,.faq-list *)){position:absolute;width:100%;height:100%;object-fit:cover;object-position:center}
.ap-page .ap-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.88) 30%,rgba(255,255,255,0) 57%)}
.ap-page .ap-hero-copy{position:relative;z-index:2;padding-top:25px}
.ap-page .ap-hero-copy small:where(:not(.faq-list,.faq-list *)){color:#d5000b;font-weight:900}
.ap-page .ap-hero h1:where(:not(.faq-list,.faq-list *)){font-size:34px;line-height:1.25;margin:6px 0 10px}
.ap-page .ap-hero h1 em:where(:not(.faq-list,.faq-list *)){font-style:normal;color:#d00008;font-size:48px}
.ap-page .ap-hero p:where(:not(.faq-list,.faq-list *)){font-size:14px;font-weight:600}
.ap-page .ap-speech{position:absolute;z-index:3;right:3.5%;top:72px;background:white;border:1px solid #d6d6d6;border-radius:9px;padding:16px 20px;font-weight:800;line-height:1.65;box-shadow:0 2px 8px #0001}
.ap-page .ap-speech:after{content:"";position:absolute;left:24px;bottom:-14px;border:8px solid transparent;border-top-color:white}
.ap-page main section:where(:not(.faq-list,.faq-list *)){margin:34px 0}
.ap-page h2:where(:not(.faq-list,.faq-list *)){font-size:27px;line-height:1.35;margin:0 0 12px;border-left:6px solid #d20b17;padding-left:13px}
.ap-page p:where(:not(.faq-list,.faq-list *)){margin:0}
.ap-page .ap-intro{display:flex;justify-content:space-between;align-items:center}
.ap-page .ap-intro>div:first-child:where(:not(.faq-list,.faq-list *)){flex:1}
.ap-page .ap-charbox{display:flex;align-items:flex-start;gap:15px}
.ap-page .ap-charbox span:where(:not(.faq-list,.faq-list *)){background:#fff7e8;border:1px solid #f0c98b;border-radius:10px;padding:13px 18px;font-weight:800;font-size:13px}
.ap-page .ap-charbox img:where(:not(.faq-list,.faq-list *)){width:125px;height:150px;object-fit:contain}
.ap-page .ap-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.ap-page .ap-cards article:where(:not(.faq-list,.faq-list *)){border:1px solid #d7dce4;border-radius:4px;padding:8px 8px 15px}
.ap-page .ap-cards img:where(:not(.faq-list,.faq-list *)){width:100%;height:145px;object-fit:cover}
.ap-page .ap-cards h3:where(:not(.faq-list,.faq-list *)){font-size:18px;margin:10px 8px 3px}
.ap-page .ap-cards p:where(:not(.faq-list,.faq-list *)){font-size:13px;margin:0 8px}
.ap-page .ap-lead{font-size:13px;margin:-4px 0 13px}
.ap-page .ap-flow{display:grid;grid-template-columns:1fr 18px 1fr 18px 1fr 18px 1fr 18px 1fr;align-items:stretch}
.ap-page .ap-flow article:where(:not(.faq-list,.faq-list *)){position:relative;border:1px solid #d8dde5;border-radius:4px;padding:14px 12px;text-align:center;min-height:280px}
.ap-page .ap-flow>span:where(:not(.faq-list,.faq-list *)){font-size:46px;color:#d30c17;display:flex;align-items:center;justify-content:center}
.ap-page .ap-flow i:where(:not(.faq-list,.faq-list *)){position:absolute;left:10px;top:10px;background:#d20b17;color:#fff;width:28px;height:28px;border-radius:50%;font-style:normal;font-weight:800;line-height:28px}
.ap-page .ap-flow b:where(:not(.faq-list,.faq-list *)){font-size:13px;display:block;margin:2px 0 10px}
.ap-page .ap-flow img:where(:not(.faq-list,.faq-list *)){height:72px;width:90px;object-fit:contain;margin:7px auto}
.ap-page .ap-flow p:where(:not(.faq-list,.faq-list *)){font-size:11px;text-align:left}
.ap-page .ap-benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:0}
.ap-page .ap-benefits article:where(:not(.faq-list,.faq-list *)){border:1px solid #d8dde5;padding:16px;text-align:center;min-height:205px}
.ap-page .ap-benefits img:where(:not(.faq-list,.faq-list *)){height:72px;width:85px;object-fit:contain}
.ap-page .ap-benefits h3:where(:not(.faq-list,.faq-list *)){font-size:16px;margin:4px 0}
.ap-page .ap-benefits p:where(:not(.faq-list,.faq-list *)){font-size:11px}
.ap-page .ap-cta{display:flex;align-items:center;gap:22px;background:linear-gradient(90deg,#fff9f4,#fff1eb);padding:20px 26px;border-radius:4px}
.ap-page .ap-cta .ap-paper{font-size:50px}
.ap-page .ap-cta b:where(:not(.faq-list,.faq-list *)){font-size:17px;line-height:1.5;flex:1}
.ap-page .ap-cta a:where(:not(.faq-list,.faq-list *)){background:#d20b17;color:white;padding:17px 30px;border-radius:4px;font-weight:800}
@media (max-width:900px){
  .ap-page .ap-hero{height:420px}
  .ap-page .ap-hero:after{background:linear-gradient(90deg,rgba(255,255,255,.97),rgba(255,255,255,.8) 70%,rgba(255,255,255,.25))}
  .ap-page .ap-hero-copy{padding-top:35px}
  .ap-page .ap-hero h1:where(:not(.faq-list,.faq-list *)){font-size:28px}
  .ap-page .ap-hero h1 em:where(:not(.faq-list,.faq-list *)){font-size:40px}
  .ap-page .ap-hero p:where(:not(.faq-list,.faq-list *)){font-size:12px}
  .ap-page .ap-speech{display:none}
  .ap-page .ap-intro{align-items:flex-end}
  .ap-page .ap-charbox span:where(:not(.faq-list,.faq-list *)){display:none}
  .ap-page .ap-cards{grid-template-columns:1fr}
  .ap-page .ap-cards img:where(:not(.faq-list,.faq-list *)){height:auto}
  .ap-page .ap-flow{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .ap-page .ap-flow>span:where(:not(.faq-list,.faq-list *)){display:none}
  .ap-page .ap-flow article:where(:not(.faq-list,.faq-list *)){min-height:245px}
  .ap-page .ap-benefits{grid-template-columns:1fr 1fr}
  .ap-page .ap-cta{flex-wrap:wrap}
  .ap-page .ap-cta a:where(:not(.faq-list,.faq-list *)){width:100%;text-align:center}
  .ap-page .ap-crumb{font-size:9px}
}
@media (max-width:520px){
  .ap-page .ap-hero{height:390px}
  .ap-page .ap-hero-copy p br:where(:not(.faq-list,.faq-list *)){display:none}
  .ap-page h2:where(:not(.faq-list,.faq-list *)){font-size:22px}
  .ap-page .ap-intro .ap-charbox img:where(:not(.faq-list,.faq-list *)){width:90px}
  .ap-page .ap-flow{grid-template-columns:1fr}
  .ap-page .ap-benefits{grid-template-columns:1fr}
  .ap-page .ap-cta{padding:18px}
  .ap-page .ap-cta b:where(:not(.faq-list,.faq-list *)){font-size:14px}
}
