@charset "UTF-8";
/*
    Template: swell
    Theme Name: ZENPEC CHILD
    Description: 株式会社ゼンペックのホームページ（SWELL の子テーマ）。見本のデザインを使う
    Version: 1.0.0
*/
/* ---- 見本の CSS（.zp の中だけに効くようにしたもの） ---- */
.zp {
  --bg: #ffffff;
  --bg-soft: #eef7fd;
  --white: #ffffff;
  --text: #37424f;
  --text-sub: #5f6b7a;
  --gray: #8a93a0;
  --blue: #2f7fc0;
  --blue-deep: #1d5d96;
  --blue-light: #8cc8f0;
  --sky-tint: #e2f2fd;
  --sun: #ffc83d;
  --sun-deep: #ffab2e;
  --sun-tint: #fff3cc;
  --sun-ink: #8a5700;
  --mint-tint: #dcf5ec;
  --mint-ink: #11735d;
  --peach-tint: #ffe5dd;
  --peach-ink: #b8472f;
  --line: #06c755;
  --border: #e1ebf3;
  --photo: #e6f1fa;
  --shadow: 0 10px 28px rgba(47, 127, 192, .13);
  --font-body: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  --font-en: "Quicksand", "Zen Maru Gothic", sans-serif;
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V22C180 4 380 0 560 12s380 26 560 18 260-18 320-24V40Z'/%3E%3C/svg%3E");
  --squiggle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 10'%3E%3Cpath d='M2 5q7.5-6 15 0t15 0 15 0 15 0' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  --camera: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h3l2-3h6l2 3h3v11H4z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E");
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E");
  color-scheme: light;
}
.zp * { box-sizing: border-box; }
.zp {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
}
.zp a { color: var(--blue); }
.zp a:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.zp h1, .zp h2, .zp h3 { line-height: 1.5; margin: 0 0 .5em; text-wrap: balance; }
.zp h2 { font-size: 1.5rem; color: var(--text); text-align: center; margin: 0; }
.zp h2::after { content: ""; display: block; width: 64px; height: 10px; margin: .45em auto 0; background: var(--blue-light); -webkit-mask: var(--squiggle) center / contain no-repeat; mask: var(--squiggle) center / contain no-repeat; }
.zp h3 { font-size: 1.1rem; }
.zp .sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.zp .ico { width: 1.5em; height: 1.5em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.zp .hero { position: relative; overflow: hidden; padding: 28px 16px 44px; background: linear-gradient(180deg, var(--sky-tint) 0%, var(--bg-soft) 55%, var(--bg) 100%); }
.zp .hero-deco { position: absolute; inset: 0; pointer-events: none; }
.zp .hero-deco span { position: absolute; border-radius: 50%; animation: floaty 7s ease-in-out infinite; }
.zp .hero-deco .b1 { width: 150px; height: 150px; left: -60px; top: 36px; background: var(--white); opacity: .75; }
.zp .hero-deco .b2 { width: 22px; height: 22px; left: 48%; top: 18px; background: var(--sun); animation-delay: -2s; }
.zp .hero-deco .b3 { width: 14px; height: 14px; left: 10%; bottom: 120px; background: var(--peach-ink); opacity: .45; animation-delay: -4s; }
.zp .hero-deco .b4 { width: 30px; height: 30px; right: 7%; bottom: 96px; background: var(--mint-tint); animation-delay: -1s; }
.zp .hero-deco .b5 { width: 96px; height: 96px; right: -34px; top: 110px; border: 9px solid var(--white); opacity: .85; animation-delay: -3s; }
@keyframes floaty { 50% { transform: translateY(-12px); } }
.zp .hero-inner { position: relative; max-width: 1040px; margin: 0 auto; display: grid; gap: 24px; align-items: center; }
.zp .hero-text { min-width: 0; }
.zp .hero-tag { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 14px; padding: 4px 14px; border-radius: 999px; background: var(--white); color: var(--blue); font-size: .85rem; font-weight: 700; box-shadow: 0 4px 12px rgba(47, 127, 192, .12); }
.zp .hero-tag .ico { width: 1.15em; height: 1.15em; }
.zp .catch .hero-tag { display: flex; width: fit-content; line-height: 1.6; letter-spacing: normal; }  /* 大きな見出し（h1）の中の地域の札。1 行目に分ける */
.zp .catch { font-size: 1.8rem; font-weight: 700; color: var(--text); letter-spacing: .02em; word-break: keep-all; overflow-wrap: anywhere; margin-bottom: .45em; }
.zp .marker { padding: 0 .08em; background: linear-gradient(transparent 58%, var(--sun) 58%, var(--sun) 92%, transparent 92%); }
.zp .lead { margin: 0; color: var(--text-sub); }
.zp .hero-visual { position: relative; isolation: isolate; padding: 8px 4px 34px; }
.zp .hero-visual::before { content: ""; position: absolute; z-index: -1; right: 2%; top: -2%; width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--sun); opacity: .9; }
.zp .hero-visual::after { content: ""; position: absolute; z-index: -1; left: 6%; bottom: 8%; width: 28%; aspect-ratio: 1; border-radius: 50%; border: 10px solid var(--blue-light); opacity: .45; }
.zp .badges { position: absolute; left: 4px; bottom: 0; display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.zp .badges li { width: 84px; height: 84px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; line-height: 1.25; font-size: .72rem; font-weight: 700; box-shadow: 0 6px 16px rgba(47, 127, 192, .2); }
.zp .badges li:nth-child(odd) { transform: rotate(-6deg); }
.zp .badges li:nth-child(even) { transform: rotate(5deg); }
.zp .badges b { font-size: 1.05rem; }
.zp .badge-sun { background: var(--sun); color: var(--text); }
.zp .badge-blue { background: var(--blue); color: var(--white); }
.zp .badge-white { background: var(--white); color: var(--peach-ink); }
.zp .photo { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 180px; padding: 16px; border-radius: 18px; background: linear-gradient(140deg, var(--photo), var(--sky-tint)); color: var(--text-sub); font-size: .88rem; text-align: center; }
.zp .photo::before { content: ""; width: 34px; height: 34px; background: var(--blue-light); -webkit-mask: var(--camera) center / contain no-repeat; mask: var(--camera) center / contain no-repeat; }
.zp .photo-hero { aspect-ratio: 4 / 3; max-width: 100%; min-height: 0; padding: 10% 14%; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; background: linear-gradient(140deg, var(--white), var(--photo)); box-shadow: var(--shadow); }
.zp .entrances { position: relative; max-width: 1040px; margin: 24px auto 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
.zp .entrance { display: flex; align-items: center; gap: 14px; padding: 16px 16px 16px 18px; border-radius: 22px; text-decoration: none; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.zp .entrance:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(47, 127, 192, .22); }
.zp .entrance-customer { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%); color: var(--white); }
.zp .entrance-recruit { background: linear-gradient(135deg, var(--sun) 0%, var(--sun-deep) 100%); color: var(--text); }
.zp .entrance-icon { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .22); }
.zp .entrance-recruit .entrance-icon { background: rgba(255, 255, 255, .6); }
.zp .entrance-icon .ico { width: 28px; height: 28px; }
.zp .entrance-body { flex: 1; min-width: 0; }
.zp .entrance-title { display: block; font-size: 1.1rem; font-weight: 700; line-height: 1.5; }
.zp .entrance-sub { display: block; font-size: .85rem; opacity: .95; }
.zp .entrance-arrow { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--blue); }
.zp .entrance-recruit .entrance-arrow { color: var(--sun-ink); }
.zp .entrance-arrow .ico { width: 18px; height: 18px; stroke-width: 2.6; }
.zp .section { padding: 64px 16px; }
.zp .section > * { max-width: 960px; margin-left: auto; margin-right: auto; }
.zp .section-soft { background-color: var(--bg-soft); }
.zp .wave { position: relative; }
.zp .wave::before, .zp .wave::after { content: ""; position: absolute; left: 0; right: 0; height: 36px; background-color: inherit; -webkit-mask: var(--wave) center / 100% 100% no-repeat; mask: var(--wave) center / 100% 100% no-repeat; pointer-events: none; }
.zp .wave::before { top: -35px; }
.zp .wave::after { bottom: -35px; transform: rotate(180deg); }
.zp .sec-head { margin-bottom: 28px; text-align: center; }
.zp .sec-head .en { margin: 0; font-family: var(--font-en); font-size: .85rem; font-weight: 700; letter-spacing: .25em; color: var(--blue); }
.zp .note { margin: 0 auto 20px; font-size: .88rem; color: var(--text-sub); text-align: center; }
.zp .contact-buttons + .note { margin: 20px auto 0; }
.zp .c-sky { --tint: var(--sky-tint); --ink: var(--blue); }
.zp .c-sun { --tint: var(--sun-tint); --ink: var(--sun-ink); }
.zp .c-mint { --tint: var(--mint-tint); --ink: var(--mint-ink); }
.zp .c-peach { --tint: var(--peach-tint); --ink: var(--peach-ink); }
.zp .cards { list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
.zp .card { border-radius: 22px; padding: 22px 20px; background: var(--white); box-shadow: var(--shadow); }
.zp .card h3 { color: var(--ink, var(--text)); }
.zp .card p { margin: 0; color: var(--text-sub); }
.zp .card-tile { background: var(--tint); box-shadow: none; }
.zp .icon-circle { width: 60px; height: 60px; margin-bottom: 12px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--ink); }
.zp .card-tile .icon-circle { background: var(--white); }
.zp .icon-circle .ico { width: 30px; height: 30px; }
.zp .card-row { display: flex; gap: 16px; align-items: flex-start; }
.zp .card-row .icon-circle { flex: none; margin-bottom: 0; }
.zp .card-row > div { min-width: 0; }
.zp .jirei-list { display: grid; gap: 18px; grid-template-columns: 1fr; }
.zp .jirei-card { overflow: hidden; border-radius: 22px; background: var(--white); box-shadow: var(--shadow); transition: transform .2s ease; }
.zp .jirei-card:hover { transform: translateY(-4px); }
.zp .jirei-photos { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.zp .jirei-photos::before { content: ""; position: absolute; z-index: 1; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: var(--white); box-shadow: 0 2px 8px rgba(47, 127, 192, .25); }
.zp .jirei-photos::after { content: ""; position: absolute; z-index: 2; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -6px; background: var(--blue); -webkit-mask: var(--chevron) center / contain no-repeat; mask: var(--chevron) center / contain no-repeat; }
.zp .jirei-photos .photo { min-height: 132px; padding-top: 30px; border-radius: 0; font-size: .78rem; }
.zp .ba { position: absolute; top: 8px; left: 8px; padding: 1px 10px; border-radius: 999px; font-family: var(--font-en); font-size: .7rem; font-weight: 700; letter-spacing: .1em; background: var(--gray); color: var(--white); }
.zp .ba-after { background: var(--sun); color: var(--text); }
.zp .jirei-body { padding: 16px 18px 20px; }
.zp .chip { display: inline-block; margin-bottom: 6px; padding: 1px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--tint); color: var(--ink); }
.zp .jirei-card p { margin: 0; color: var(--text-sub); }
.zp .flow { max-width: 720px; list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; counter-reset: step; display: grid; gap: 16px; }
.zp .flow li { position: relative; counter-increment: step; display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
.zp .flow li::before { content: counter(step); flex: 0 0 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--blue-light), var(--blue)); color: var(--white); font-family: var(--font-en); font-size: 1.2rem; font-weight: 700; }
.zp .flow li:not(:last-child)::after { content: ""; position: absolute; left: 38px; bottom: -16px; height: 16px; border-left: 3px dotted var(--blue-light); }
.zp .flow li > div { min-width: 0; }
.zp .flow h3 { margin-bottom: .2em; }
.zp .flow p { margin: 0; color: var(--text-sub); }
.zp .faq { max-width: 760px; margin-top: 0; margin-bottom: 0; display: grid; gap: 12px; }
.zp .faq-item { padding: 16px 18px; border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
.zp .faq dt, .zp .faq dd { display: flex; gap: 12px; align-items: flex-start; }
.zp .faq dt { font-weight: 700; }
.zp .faq dd { margin: 10px 0 0; color: var(--text-sub); }
.zp .faq dt::before, .zp .faq dd::before { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-en); font-size: .95rem; font-weight: 700; line-height: 1; }
.zp .faq dt::before { content: "Q"; background: var(--blue); color: var(--white); }
.zp .faq dd::before { content: "A"; background: var(--sun); color: var(--text); }
.zp .table-card { padding: 6px 20px; border-radius: 22px; background: var(--white); box-shadow: var(--shadow); }
.zp .info-table { width: 100%; border-collapse: collapse; }
.zp .info-table th, .zp .info-table td { text-align: left; vertical-align: top; padding: 12px 8px; border-bottom: 1px dashed var(--border); overflow-wrap: anywhere; }
.zp .info-table tr:last-child th, .zp .info-table tr:last-child td { border-bottom: 0; }
.zp .info-table th { width: 32%; color: var(--blue); font-weight: 700; }
.zp #saiyo-banner { padding-top: 0; }
.zp .recruit-card { position: relative; overflow: hidden; padding: 44px 20px; border-radius: 28px; text-align: center; background: linear-gradient(135deg, var(--sun-tint) 0%, var(--sun) 100%); }
.zp .recruit-card > * { position: relative; }
.zp .recruit-card h2::after { background: var(--white); }
.zp .recruit-card .recruit-text { margin: 14px 0 22px; }
.zp .recruit-card .recruit-en { position: absolute; right: -4px; bottom: -4px; margin: 0; font-family: var(--font-en); font-size: clamp(3.5rem, 14vw, 7rem); font-weight: 700; line-height: 1; letter-spacing: .04em; color: transparent; -webkit-text-stroke: 1.5px var(--white); pointer-events: none; }
.zp .section-contact { background-color: var(--blue); background-image: radial-gradient(circle at 10% 18%, rgba(255, 255, 255, .12) 0 70px, transparent 71px), radial-gradient(circle at 92% 82%, rgba(140, 200, 240, .35) 0 90px, transparent 91px); color: var(--white); }
.zp .section-contact h2, .zp .section-contact .sec-head .en { color: var(--white); }
.zp .section-contact .sec-head .en { opacity: .85; }
.zp .section-contact h2::after { background: var(--sun); }
.zp .section-contact .note { color: var(--white); opacity: .92; }
.zp .contact-buttons { display: grid; gap: 12px; grid-template-columns: 1fr; }
.zp .btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 18px; border-radius: 999px; background: var(--blue); color: var(--white); font-weight: 700; text-decoration: none; box-shadow: 0 8px 18px rgba(20, 60, 100, .2); transition: transform .2s ease; }
.zp .btn:hover { transform: translateY(-2px); }
.zp .btn .ico { width: 22px; height: 22px; }
.zp .btn-phone { background: var(--white); color: var(--blue-deep); }
.zp .btn-line { background: var(--line); color: var(--white); }
.zp .btn-form { background: var(--sun); color: var(--text); }
.zp .btn-dark { display: inline-flex; padding-inline: 28px; background: var(--blue-deep); color: var(--white); }
.zp .voice-list { grid-template-columns: 1fr; }
.zp .voice-card { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 22px; background: var(--white); box-shadow: var(--shadow); }
.zp .voice-card::after { content: "\201C"; position: absolute; right: 16px; top: 4px; font-family: var(--font-en); font-size: 4rem; font-weight: 700; line-height: 1; color: var(--sun-tint); }
.zp .voice-card > div { position: relative; z-index: 1; min-width: 0; }
.zp .voice-card p { margin: 0; color: var(--text-sub); }
.zp .face { flex: 0 0 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--photo); color: var(--text-sub); font-size: .7rem; border: 4px solid var(--white); box-shadow: 0 0 0 3px var(--sun); }
.zp .bottom-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 -4px 16px rgba(47, 127, 192, .14); }
.zp .bottom-bar a { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 10px 4px; border-radius: 14px; background: var(--blue); color: var(--white); text-align: center; font-size: .85rem; font-weight: 700; text-decoration: none; }
.zp .bottom-bar .ico { width: 18px; height: 18px; }
.zp .bottom-bar a.bar-line { background: var(--line); }
.zp .bottom-bar a.bar-form { background: var(--sun); color: var(--text); }
.zp.page-recruit .hero { background: linear-gradient(180deg, var(--sun-tint) 0%, #fffaf0 55%, var(--bg) 100%); }
.zp.page-recruit .hero-visual::before { background: var(--blue-light); opacity: .7; }
.zp.page-recruit .hero-tag { color: var(--peach-ink); }
.zp.page-recruit .sec-head .en { color: var(--peach-ink); }
.zp.page-recruit .section-contact .sec-head .en { color: var(--white); }
.zp.page-recruit h2::after { background: var(--sun); }
@media (min-width: 720px) {
.zp .section { padding: 84px 24px; }
.zp h2 { font-size: 1.75rem; }
.zp .entrances, .zp .voice-list { grid-template-columns: 1fr 1fr; }
.zp .contact-buttons { grid-template-columns: repeat(3, 1fr); }
.zp .cards-3, .zp .jirei-list { grid-template-columns: repeat(3, 1fr); }
.zp .cards-2 { grid-template-columns: repeat(2, 1fr); }
.zp .recruit-card { padding: 56px 32px; }
}
@media (min-width: 880px) {
.zp .hero { padding: 48px 24px 60px; }
.zp .hero-inner { grid-template-columns: 1.05fr 1fr; gap: 40px; }
.zp .catch { font-size: 2.5rem; }
}
@media (prefers-reduced-motion: reduce) {
.zp *, .zp *::before, .zp *::after { animation: none !important; transition: none !important; }
}

/* ---- SWELL に合わせる部分 ---- */
/* 見本のデザインのページは、SWELL の枠を画面いっぱいにし、SWELL のトップ画像は出さない */
.page-template-page-zp #content.l-content { max-width: none; margin: 0; padding: 0; }
.page-template-page-zp .p-mainVisual { display: none; }
/* 画面下のボタンが、ページの最後の文を隠さない */
body { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
/* 見本の h2 と同じ見た目の h1（お問い合わせ・プライバシーポリシー） */
.zp .sec-head h1 { font-size: 1.5rem; color: var(--text); text-align: center; margin: 0; }
.zp .sec-head h1::after { content: ""; display: block; width: 64px; height: 10px; margin: .45em auto 0; background: var(--blue-light); -webkit-mask: var(--squiggle) center / contain no-repeat; mask: var(--squiggle) center / contain no-repeat; }
/* プライバシーポリシーの文 */
.zp .policy { max-width: 760px; }
.zp .policy h2 { font-size: 1.15rem; text-align: left; margin: 1.6em 0 .4em; }
.zp .policy h2::after { display: none; }
/* お問い合わせフォーム */
.zp .zp-form { max-width: 640px; padding: 24px 20px; border-radius: 22px; background: var(--white); box-shadow: var(--shadow); }
.zp .zp-form label { display: block; font-weight: 700; }
.zp .zp-form input[type="text"], .zp .zp-form input[type="tel"], .zp .zp-form input[type="email"], .zp .zp-form select, .zp .zp-form textarea { width: 100%; margin-top: 4px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--white); font: inherit; font-weight: 400; }
.zp .zp-form input[type="submit"] { width: 100%; padding: 15px 18px; border: 0; border-radius: 999px; background: var(--blue); color: var(--white); font: inherit; font-weight: 700; cursor: pointer; }
.zp .zp-form .hint { font-size: .85rem; font-weight: 400; color: var(--text-sub); }
@media (min-width: 720px) {
  .zp .sec-head h1 { font-size: 1.75rem; }
}
/* SWELL の「ページの上に戻る」ボタンを、画面下のボタンより上に出す */
.p-fixBtnWrap { bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important; }
/* スマホでは画面下のボタンがあるので、SWELL の「ページの上に戻る」丸ボタンは出さない（フォームの送信ボタンにかかるため） */
@media (max-width: 719px) {
  .p-fixBtnWrap { display: none !important; }
}
/* 施工事例の一覧・1件（その2） */
.post-type-archive-jirei #content.l-content, .single-jirei #content.l-content { max-width: none; margin: 0; padding: 0; }
.zp .jirei-filter { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-end; justify-content: center; margin-bottom: 28px; }
.zp .jirei-filter label { display: grid; gap: 4px; font-size: .85rem; font-weight: 700; }
.zp .jirei-filter select { min-width: 10em; padding: 8px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--white); font: inherit; font-weight: 400; }
.zp .jirei-filter .btn { padding: 10px 28px; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.zp a.jirei-link { display: block; color: inherit; text-decoration: none; }
.zp .photo.has-img { padding: 0; overflow: hidden; }
.zp .photo.has-img::before { display: none; }
.zp .photo.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.zp .jirei-photos-large .photo { min-height: 220px; }
.zp .jirei-detail { display: grid; gap: 20px; max-width: 860px; }
.zp .center { margin: 28px 0 0; text-align: center; }
/* カードの見出しのリンクは、カードの色のまま（下線でリンクと分かる） */
.zp .card h3 a { color: inherit; text-underline-offset: 4px; }
/* 工法の説明は質問ではないので、Q・A の丸を付けない */
.zp .faq.method dt::before, .zp .faq.method dd::before { content: none; display: none; }
.zp .faq.method dt { color: var(--mint-ink); }
/* 事業内容のページの写真（横長） */
.zp .photo-wide { aspect-ratio: 16 / 9; max-width: 760px; min-height: 0; margin: 20px auto 0; border-radius: 22px; box-shadow: var(--shadow); }
/* キャラクター（ヘルメットの職人さん） */
.zp .hero-chara { position: absolute; z-index: 2; right: -1%; top: -16%; width: 46%; max-width: 230px; height: auto; filter: drop-shadow(0 6px 10px rgba(47, 127, 192, .18)); animation: floaty 6s ease-in-out infinite; }
.zp .sec-head .contact-chara { display: block; width: 150px; height: auto; margin: 0 auto 4px; }
.zp .jirei-chara { display: block; width: 130px; height: auto; margin: -8px auto 12px; }

/* ヘッダーのロゴ（横長なので、スマホでは高さで大きさを決める。そのままだと枠に押されて小さくなる） */
@media (max-width: 959px) {
	.l-header .c-headLogo__link { display: flex; align-items: center; height: 100%; }
	.l-header .c-headLogo__img { display: block; height: 42px; width: auto; max-width: none; }
}

/* ===== 一番上の「心地よい暮らしを、まもる。」の画面（[zp_intro]、inc/intro.php） =====
   絵: ChatGPT のデザイン案の上の部分（家・家族・ふきだし）。ことば・LINE ボタン・札は本物の文字で重ねる。
   下へ進むと、今のページ（.hero から下）が紙のように上に重なる */
.zp .zp-intro { position: sticky; top: var(--zp-head, 0px); z-index: 0; height: calc(100svh - var(--zp-intro-top, 44px)); min-height: 600px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-start; background: #fbfdfe;
	--ill-h: clamp(220px, 87vw, calc(100svh - var(--zp-intro-top, 44px) - 372px)); /* スマホの絵の高さ: 3 つのふきだしと家が入る高さまで */ }
.zp .zp-intro-illust { position: absolute; left: 0; right: 0; top: 0; height: var(--ill-h); background-repeat: no-repeat; background-size: cover; background-position: 90% 100%; opacity: calc(1 - var(--p, 0) * .4); }
.zp .zp-intro-inner { position: relative; margin: auto 0; padding: calc(var(--ill-h) - 20px) 16px calc(96px + env(safe-area-inset-bottom)); text-align: center; opacity: calc(1 - var(--p, 0)); transform: translateY(calc(var(--p, 0) * -48px)); }
.zp .zp-intro-copy { margin: 0; font-family: "Klee One", "Zen Maru Gothic", sans-serif; font-weight: 600; font-size: clamp(30px, 8.4vw, 68px); line-height: 1.45; letter-spacing: .04em; color: #24476b; text-shadow: 0 0 14px rgba(255, 255, 255, .95), 0 0 3px rgba(255, 255, 255, .9); }
.zp .zp-intro-copy .line { display: block; }
.zp .zp-intro-copy .ch { display: inline-block; opacity: 0; transform: translateY(.45em); filter: blur(5px); animation: zp-ch 1s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(.3s + var(--i) * .08s); }
@keyframes zp-ch { to { opacity: 1; transform: none; filter: none; } }
.zp .zp-intro-sub { margin: .9em 0 0; font-size: clamp(15px, 1.4vw, 19px); font-weight: 500; line-height: 1.9; letter-spacing: .12em; color: #2f4f6f; text-shadow: 0 0 10px rgba(255, 255, 255, .95); opacity: 0; animation: zp-fade 1.2s ease 1.5s forwards; }
.zp .zp-intro-act { margin: 20px 0 0; opacity: 0; animation: zp-fade 1s ease 1.9s forwards; }
.zp .zp-intro-line { display: inline-flex; align-items: center; gap: 12px; padding: 15px 28px; border-radius: 999px; background: var(--line); color: #fff; font-weight: 700; font-size: clamp(16px, 1.4vw, 19px); letter-spacing: .06em; text-decoration: none; box-shadow: 0 10px 22px rgba(6, 140, 60, .25); transition: transform .2s, box-shadow .2s; }
.zp .zp-intro-line:hover { transform: translateY(-2px); box-shadow: 0 14px 26px rgba(6, 140, 60, .3); }
.zp .zp-intro-line .ico { width: 1.3em; height: 1.3em; }
.zp .zp-intro-line .arrow { width: 1em; height: 1em; margin-left: 4px; }
.zp .zp-intro-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; opacity: 0; animation: zp-fade 1s ease 2.2s forwards; }
.zp .zp-intro-chips li { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 6px 12px; border-radius: 10px; background: rgba(255, 255, 255, .9); box-shadow: 0 2px 8px rgba(47, 82, 120, .1); font-size: 12.5px; font-weight: 700; color: #2f5f8a; }
.zp .zp-intro-chips li::before { content: "✓"; display: grid; place-items: center; width: 16px; height: 16px; border: 1.5px solid currentColor; border-radius: 50%; font-size: 10px; line-height: 1; }
@keyframes zp-fade { to { opacity: 1; } }
.zp .zp-intro-scroll { display: none; position: absolute; left: 50%; bottom: calc(80px + env(safe-area-inset-bottom)); transform: translateX(-50%); justify-items: center; gap: 6px; padding: 8px 16px 10px; border-radius: 999px; background: rgba(255, 255, 255, .85); font: 700 12px/1 "Quicksand", sans-serif; letter-spacing: .2em; color: #2f7fc0; text-decoration: none; opacity: calc(1 - var(--p, 0) * 2.5); }
.zp .zp-intro-scroll::after { content: ""; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); animation: zp-bob 1.8s ease-in-out infinite; }
@keyframes zp-bob { 50% { transform: translateY(5px) rotate(45deg); } }
@media (max-width: 959px) {
	/* スマホ: 3 つの札を 1 行に */
	.zp .zp-intro-chips { gap: 6px; }
	.zp .zp-intro-chips li { gap: 4px; padding: 5px 8px; font-size: 11.5px; }
	.zp .zp-intro-chips li::before { width: 14px; height: 14px; font-size: 9px; }
}
@media (max-width: 959px) and (max-height: 720px) {
	/* 背の低いスマホ（iPhone SE など）: すき間を詰めて、絵を大きく残す */
	.zp .zp-intro { --ill-h: clamp(200px, 87vw, calc(100svh - var(--zp-intro-top, 44px) - 336px)); }
	.zp .zp-intro-copy { font-size: clamp(27px, 7.6vw, 40px); }
	.zp .zp-intro-sub { margin-top: .5em; font-size: 14px; line-height: 1.75; }
	.zp .zp-intro-act { margin-top: 14px; }
	.zp .zp-intro-line { padding: 12px 22px; }
	.zp .zp-intro-chips { margin-top: 10px; }
	.zp .zp-intro-inner { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
}
@media (min-width: 600px) and (max-width: 959px) {
	/* タブレット（たて）: ことばが大きくなるぶん、絵を少し低く */
	.zp .zp-intro { --ill-h: clamp(220px, 87vw, calc(100svh - var(--zp-intro-top, 44px) - 440px)); }
	.zp .zp-intro-copy { font-size: clamp(34px, 6vw, 54px); }
}
@media (max-width: 380px) {
	/* 幅のせまいスマホ（iPhone SE など）: 3 つの札を 1 行に */
	.zp .zp-intro-chips { gap: 5px; }
	.zp .zp-intro-chips li { padding: 5px 7px; font-size: 11px; }
}
@media (min-width: 960px) {
	/* PC: 絵の形（1024:398）のまま横いっぱいに。ことば・ボタン・札は、デザイン案と同じ場所・同じ大きさの割合で重ねる
	   （cqw・cqh は、絵の箱の幅・高さの 1%。画面の広さが変わっても、絵とことばの位置がずれない） */
	.zp .zp-intro { height: auto; min-height: 0; aspect-ratio: 1024 / 398; container-type: size; }
	.zp .zp-intro-illust { height: 100%; background-size: 100% 100%; }
	.zp .zp-intro-inner { position: absolute; left: 8.6cqw; top: 19cqh; margin: 0; padding: 0; text-align: left; }
	.zp .zp-intro-copy { font-size: 4.3cqw; line-height: 1.3; letter-spacing: .03em; }
	.zp .zp-intro-sub { margin: 1.5cqw 0 0 1.2cqw; font-size: 2cqw; line-height: 1.45; letter-spacing: .1em; }
	.zp .zp-intro-act { margin-top: 1.3cqw; }
	.zp .zp-intro-line { gap: .7em; padding: .62em 1.5em; font-size: 1.75cqw; }
	.zp .zp-intro-chips { justify-content: flex-start; gap: 1cqw; margin-top: .9cqw; }
	.zp .zp-intro-chips li { gap: .45em; padding: .5em .9em; border-radius: .8em; font-size: 1.2cqw; }
	.zp .zp-intro-chips li::before { width: 1.3em; height: 1.3em; font-size: .8em; }
	.zp .zp-intro-scroll { display: grid; bottom: 2.5cqh; padding: 0; background: none; }
}
/* 今のページ（.hero から下）は、一番上の画面の上に重なる（うしろが透けないように地の色を敷く）。
   地の色・水彩のにじみ・はしの葉っぱは、上の絵に合わせる（2026-10-01 社長「スライドした下の方も背景は上に合うようにしてほしい」）。
   葉っぱは段ごとに左右を入れかえる（青い問い合わせの段はそのまま） */
.zp .zp-intro ~ section { position: relative; z-index: 1; --sheet: #f3f9fd; }
.zp .zp-intro ~ section:not(.section-soft):not(.section-contact) { background-color: var(--sheet); }
.zp .zp-intro ~ section:not(.section-contact) {
	background-image: url(assets/leaf-a.svg), url(assets/leaf-c.svg), radial-gradient(closest-side, rgba(140, 200, 240, .24), rgba(140, 200, 240, 0)), radial-gradient(closest-side, rgba(190, 226, 120, .16), rgba(190, 226, 120, 0));
	background-repeat: no-repeat;
	background-size: clamp(56px, 7vw, 104px) auto, clamp(30px, 3.4vw, 52px) auto, 560px 380px, 480px 320px;
	background-position: left -14px top 36px, right 5% bottom 44px, right -180px top -90px, left -200px bottom -100px;
}
.zp .zp-intro ~ section:nth-of-type(odd):not(.section-contact) {
	background-image: url(assets/leaf-b.svg), url(assets/leaf-c.svg), radial-gradient(closest-side, rgba(140, 200, 240, .24), rgba(140, 200, 240, 0)), radial-gradient(closest-side, rgba(190, 226, 120, .16), rgba(190, 226, 120, 0));
	background-size: clamp(60px, 7.4vw, 112px) auto, clamp(30px, 3.4vw, 52px) auto, 560px 380px, 480px 320px;
	background-position: right -20px top 40px, left 4% bottom 50px, left -180px top -90px, right -200px bottom -100px;
}
.zp .zp-intro + .hero { border-radius: 36px 36px 0 0; box-shadow: 0 -14px 40px rgba(47, 82, 120, .12); }
.zp .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
	.zp .zp-intro-copy .ch, .zp .zp-intro-sub, .zp .zp-intro-act, .zp .zp-intro-chips { animation: none; opacity: 1; transform: none; filter: none; }
	.zp .zp-intro-scroll::after { animation: none; }
	.zp .zp-intro-inner { transform: none; }
}
