/* ===== フォント ===== */

/* Gen Interface JP（SIL OFL 1.1）。ページで使う文字だけのサブセット。文言を変えたら _fonts-src/subset.py で再生成 */
@font-face {
    font-family: "Gen Interface JP";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/GenInterfaceJP-400.woff2") format("woff2");
}

@font-face {
    font-family: "Gen Interface JP";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/GenInterfaceJP-500.woff2") format("woff2");
}

@font-face {
    font-family: "Gen Interface JP";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/GenInterfaceJP-600.woff2") format("woff2");
}

@font-face {
    font-family: "Gen Interface JP";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/GenInterfaceJP-700.woff2") format("woff2");
}

@font-face {
    font-family: "Gen Interface JP";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/GenInterfaceJP-800.woff2") format("woff2");
}

@font-face {
    font-family: "Gen Interface JP Display";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("../fonts/GenInterfaceJPDisplay-300.woff2") format("woff2");
}

@font-face {
    font-family: "Gen Interface JP Display";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/GenInterfaceJPDisplay-700.woff2") format("woff2");
}

@font-face {
    font-family: "Gen Interface JP Display";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/GenInterfaceJPDisplay-800.woff2") format("woff2");
}


/* ===== デザイントークン ===== */

:root {
    /* デザイン（幅390px）の1pxに相当する長さ。画面幅に比例し、768px以上は固定（--vw は JS がスクロールバーを除いた幅を設定） */
    --px: calc(min(var(--vw, 100vw), 768px) / 390);
    --yellow: #ffd21f;
    --navy: #12325f;
    --white: #ffffff;
    --gutter: calc(16 * var(--px));
    --slant: calc(28 * var(--px)); /* 斜めの切り替えの高低差（左が低く右が高い） */
    --header-h: calc(60 * var(--px));
    --content-max: calc(390 * var(--px));
    --h2-gap-bottom: calc(28 * var(--px));
}


/* ===== ベース ===== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(14 * var(--px));
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* ページ内移動でフォーカスを移したセクションには枠線を出さない */
[tabindex="-1"]:focus {
    outline: none;
}

::selection {
    background: var(--yellow);
    color: #111111;
}

body {
    margin: 0;
    background: #e9ecef;
    color: #111111;
    font-family: "Gen Interface JP", sans-serif;
    font-size: calc(15 * var(--px));
    line-height: 1.8;
    letter-spacing: .02em;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a,
button,
summary {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: #0a55b0;
    text-underline-offset: calc(3 * var(--px));
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: calc(3 * var(--px)) solid #0a55b0;
    outline-offset: calc(3 * var(--px));
}

h1,
h2,
h3,
h4,
p {
    margin: 0;
}

p {
    text-wrap: pretty;
}

button {
    font-family: inherit;
}

main {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: var(--header-h) 0 0;
    background: var(--white);
}

section {
    padding: calc(48 * var(--px)) var(--gutter);
}

.section {
    background-color: var(--white);
}

h2,
h3,
h4,
summary,
.btn,
.cta__caption,
.qualification-section__subhead,
.speed,
.qualification-jump {
    font-feature-settings: "palt";
}

.note {
    margin-top: calc(10 * var(--px));
    color: #4a4f57;
    font-size: calc(12 * var(--px));
    line-height: 1.7;
}

.kome {
    display: block;
    padding-left: 1em;
    text-indent: -1em;
    text-align: left;
}

@media (hover: hover) {
    .anchorlinks__link,
    .qualification-jump,
    .site-menu__link,
    .faq {
        transition: background-color .18s, border-color .18s, box-shadow .18s, transform .18s, filter .18s;
    }
}

.section:not(.hero),
.photo-band {
    position: relative;
    margin-top: calc(var(--slant) * -1);
    clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%);
}

.section:not(.hero) {
    padding-top: calc(40 * var(--px) + var(--slant));
    padding-bottom: calc(40 * var(--px) + var(--slant));
}

.section__title,
.section__title--warning,
.section__title-em,
.staff__desc--name,
.qualification-section__subhead,
.cta__caption {
    font-weight: 700;
}

h3 {
    margin-bottom: calc(8 * var(--px));
    line-height: 1.5;
}

.nowrap {
    white-space: nowrap;
}

/* 写真の枠。中の画像を枠いっぱいに置き、はみ出した分を切り取る（背景色は画像の読み込み前に見える） */
.photo {
    position: relative;
    overflow: hidden;
    border-radius: calc(10 * var(--px));
    background: #e9ecf0;
}

.photo__img {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
}

.box {
    margin-top: calc(24 * var(--px));
    padding: calc(20 * var(--px)) calc(18 * var(--px));
    border-radius: calc(12 * var(--px));
    background: var(--white);
}

.box__title {
    font-size: calc(17 * var(--px));
    font-weight: 800;
}

.box--service .box__title,
.box--area .box__title,
.box--hours .box__title {
    display: flex;
    align-items: center;
    gap: calc(8 * var(--px));
}

.box--service .box__title::before,
.box--area .box__title::before,
.box--hours .box__title::before {
    content: "";
    flex: none;
    width: calc(28 * var(--px));
    height: calc(28 * var(--px));
    border-radius: 50%;
    background: var(--yellow) url(../img/icons/wrench-navy.svg) center/calc(16 * var(--px)) no-repeat;
}

.kome.nowrap {
    white-space: normal;
}

p > .kome,
.faq__answer > .kome {
    margin-top: calc(6 * var(--px));
}

.section.price-section,
.section.works-section {
    padding-bottom: 0;
}

.price-section,
.area-section {
    isolation: isolate;
}

.price-section::before,
.area-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
}

.qualification-section__text,
.area-section__text,
.area-section > .note,
.price-section > .note,
.area-section__prefectures {
    text-align: center;
}

.price-table__value,
.case__total-price,
.staff__desc--number {
    font-variant-numeric: tabular-nums;
}

p + p {
    margin-top: calc(12 * var(--px));
}


@media (prefers-reduced-motion: reduce) {
    .btn,
    .sticky {
        transition: none;
    }
}


/* ===== ヘッダー ===== */

.is-menu-open {
    overflow: hidden;
}

.site-header {
    position: absolute;
    width: min(100%, var(--content-max));
    margin: 0 auto;
    background: var(--white);
    display: flex;
    height: var(--header-h);
    left: 0;
    right: 0;
    top: 0;
    z-index: 30;
    align-items: flex-start;
    justify-content: flex-start;
    gap: calc(15 * var(--px));
    padding: 0 0 0 calc(10 * var(--px));
}

.is-menu-open .site-header {
    position: fixed;
}

.brand {
    align-items: center;
    color: #111111;
    display: flex;
    min-width: 0;
    text-decoration: none;
    white-space: nowrap;
    flex: none;
    gap: calc(5 * var(--px));
    width: calc(163 * var(--px));
    height: calc(42 * var(--px));
    margin-top: calc(8 * var(--px));
}

.brand__img {
    width: 100%;
    height: 100%;
    aspect-ratio: 163 / 42;
}

.header-area {
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: calc(2 * var(--px));
    width: calc(144 * var(--px));
    height: calc(52 * var(--px));
    margin: calc(4 * var(--px)) 0 0 var(--px);
    border: var(--px) solid var(--yellow);
    border-radius: calc(4 * var(--px));
    background: #fff6d6;
    font-size: calc(12 * var(--px));
    letter-spacing: 0;
}

.header-area__line {
    display: flex;
    align-items: center;
    gap: calc(4 * var(--px));
    height: calc(21 * var(--px));
    color: #111111;
    font-weight: 700;
    line-height: calc(16 * var(--px));
    font-feature-settings: "ss09";
}

.header-area__line::before {
    content: "";
    flex: none;
    width: calc(13 * var(--px));
    height: calc(18 * var(--px));
    background: url(../img/icons/pin-red.svg) center/contain no-repeat;
}

.header-area__sub {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(132 * var(--px));
    height: calc(21 * var(--px));
    border-radius: calc(999 * var(--px));
    background: #083676;
    color: var(--yellow);
    font-weight: 800;
    line-height: calc(17 * var(--px));
}

.menu-toggle {
    border: 0;
    cursor: pointer;
    left: calc(50% + min(50%, var(--content-max) / 2));
    position: fixed;
    top: 0;
    transform: translateX(-100%);
    z-index: 31;
    --bar-gap: calc(8 * var(--px));
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(54 * var(--px));
    height: calc(60 * var(--px));
    padding: calc(15.5 * var(--px)) 0 0;
    background: #083676;
    color: var(--white);
    transition: background-color .18s;
}

.menu-toggle[aria-expanded="true"] {
    background: #0b2141;
}

.menu-toggle:focus-visible {
    outline: calc(3 * var(--px)) solid var(--yellow);
    outline-offset: calc(-3 * var(--px));
}

@media (hover: hover) {
    .menu-toggle:hover {
        background: #1c4a86;
    }
}

.menu-toggle__bar {
    transition: transform .25s, opacity .2s;
    width: calc(30 * var(--px));
    height: var(--px);
    margin: 0 0 calc(var(--bar-gap) - var(--px));
    border-radius: 0;
    background: var(--white);
}

.menu-toggle[aria-expanded="true"] > .menu-toggle__bar {
    background: var(--yellow);
}

.menu-toggle[aria-expanded="true"] > .menu-toggle__bar:nth-child(1) {
    transform: translateY(var(--bar-gap)) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > .menu-toggle__bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle__bar:nth-child(3) {
    margin-bottom: calc(7.5 * var(--px));
}

.menu-toggle[aria-expanded="true"] > .menu-toggle__bar:nth-child(3) {
    transform: translateY(calc(var(--bar-gap) * -1)) rotate(-45deg);
}

.menu-toggle__label {
    white-space: nowrap;
    margin: 0;
    font-size: calc(10 * var(--px));
    font-weight: 600;
    line-height: calc(12 * var(--px));
    letter-spacing: 0;
}

@media (prefers-reduced-motion: reduce) {
    .menu-toggle__bar {
        transition: none;
    }
}


/* ===== ファーストビュー ===== */

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    isolation: isolate;
    padding: 0 var(--gutter) calc(48 * var(--px));
    position: relative;
}

.hero__visual {
    display: contents;
}

.hero__photo {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: -2;
    height: calc(593 * var(--px));
    background:
        linear-gradient(180deg, #fff0 calc(257.2 * var(--px)), var(--white) calc(355.9 * var(--px))),
        url(../img/hero-mv.webp) left top/calc(390 * var(--px)) calc(407 * var(--px)) no-repeat;
}

.hero__character {
    position: absolute;
    top: calc(217 * var(--px));
    right: calc(10 * var(--px));
    z-index: -1;
    width: calc(108 * var(--px));
    height: calc(111 * var(--px));
}

.hero__character-text {
    position: absolute;
    top: calc(319 * var(--px));
    right: calc(15 * var(--px));
    z-index: -2;
    width: calc(76 * var(--px));
    height: calc(36 * var(--px));
    border: 1px solid #083676;
    border-radius: calc(5 * var(--px));
    color: #083676;
    text-align: center;
    font-size: calc(8 * var(--px));
    font-weight: 800;
    line-height: 1;
    padding-top: calc(10 * var(--px));
}

.hero__character-name {
    display: block;
    font-size: calc(12 * var(--px));
    margin: calc(2 * var(--px)) 0 0 calc(2 * var(--px));
}

.speed {
    display: flex;
    align-items: center;
    height: calc(50 * var(--px));
    margin: 0 calc(var(--gutter) * -1);
    padding: 0 0 0 var(--gutter);
    background: linear-gradient(90deg, var(--yellow) 50%, #ffd21f00 85%);
    font-family: "Gen Interface JP Display", sans-serif;
    font-size: calc(22 * var(--px));
    font-weight: 800;
    line-height: calc(40 * var(--px));
    letter-spacing: .04em;
}

.speed__text {
    height: calc(40 * var(--px));
    transform: matrix(1, 0, -.0993, .9951, 0, 0);
    transform-origin: left bottom;
}

.speed__num {
    color: #c21f1f;
    font-size: calc(30 * var(--px));
}

.hero__catch {
    margin-top: calc(195 * var(--px));
    color: #111111;
    font-family: "Gen Interface JP Display", sans-serif;
    font-weight: 800;
    font-feature-settings: "palt";
}

.hero__catch > * {
    display: block;
    white-space: nowrap;
    transform: matrix(1, 0, -.0993, .9951, 0, 0);
    transform-origin: left bottom;
    text-shadow:
        calc(var(--sw) * 1.000) calc(var(--sw) * 0.000) 0 var(--white),
        calc(var(--sw) * 0.966) calc(var(--sw) * 0.259) 0 var(--white),
        calc(var(--sw) * 0.866) calc(var(--sw) * 0.500) 0 var(--white),
        calc(var(--sw) * 0.707) calc(var(--sw) * 0.707) 0 var(--white),
        calc(var(--sw) * 0.500) calc(var(--sw) * 0.866) 0 var(--white),
        calc(var(--sw) * 0.259) calc(var(--sw) * 0.966) 0 var(--white),
        calc(var(--sw) * 0.000) calc(var(--sw) * 1.000) 0 var(--white),
        calc(var(--sw) * -0.259) calc(var(--sw) * 0.966) 0 var(--white),
        calc(var(--sw) * -0.500) calc(var(--sw) * 0.866) 0 var(--white),
        calc(var(--sw) * -0.707) calc(var(--sw) * 0.707) 0 var(--white),
        calc(var(--sw) * -0.866) calc(var(--sw) * 0.500) 0 var(--white),
        calc(var(--sw) * -0.966) calc(var(--sw) * 0.259) 0 var(--white),
        calc(var(--sw) * -1.000) calc(var(--sw) * 0.000) 0 var(--white),
        calc(var(--sw) * -0.966) calc(var(--sw) * -0.259) 0 var(--white),
        calc(var(--sw) * -0.866) calc(var(--sw) * -0.500) 0 var(--white),
        calc(var(--sw) * -0.707) calc(var(--sw) * -0.707) 0 var(--white),
        calc(var(--sw) * -0.500) calc(var(--sw) * -0.866) 0 var(--white),
        calc(var(--sw) * -0.259) calc(var(--sw) * -0.966) 0 var(--white),
        calc(var(--sw) * -0.000) calc(var(--sw) * -1.000) 0 var(--white),
        calc(var(--sw) * 0.259) calc(var(--sw) * -0.966) 0 var(--white),
        calc(var(--sw) * 0.500) calc(var(--sw) * -0.866) 0 var(--white),
        calc(var(--sw) * 0.707) calc(var(--sw) * -0.707) 0 var(--white),
        calc(var(--sw) * 0.866) calc(var(--sw) * -0.500) 0 var(--white),
        calc(var(--sw) * 0.966) calc(var(--sw) * -0.259) 0 var(--white);
}

.hero__catch1 {
    --sw: calc(3 * var(--px));
    font-size: calc(46 * var(--px));
    line-height: calc(49.68 * var(--px));
    letter-spacing: 0;
}

.hero__char {
    line-height: 0;
}

.hero__catch1 .hero__char--particle {
    font-size: calc(40 * var(--px));
    letter-spacing: calc(2 * var(--px));
}

.hero__catch2 {
    color: #d20404;
    font-size: calc(54 * var(--px));
    line-height: calc(64.8 * var(--px));
    letter-spacing: calc(-1.488 * var(--px));
    filter: drop-shadow(0 calc(4 * var(--px)) 0 var(--navy));
    --sw: calc(4 * var(--px));
}

.hero__catch3 {
    --sw: calc(3 * var(--px));
    width: fit-content;
    margin-top: calc(5 * var(--px));
    padding: calc(1.1 * var(--px)) calc(5.99 * var(--px)) calc(5.9 * var(--px)) calc(2 * var(--px));
    background: linear-gradient(180deg, transparent 74%, var(--yellow) 74% 94%, transparent 94%);
    font-size: calc(50 * var(--px));
    line-height: calc(47.52 * var(--px));
    letter-spacing: calc(-1.538 * var(--px));
}

.hero__char--wide {
    letter-spacing: var(--px);
}

.hero__catch3 .hero__char--particle {
    font-size: calc(40 * var(--px));
    letter-spacing: var(--px);
}

.hero__char--tight {
    letter-spacing: calc(-10 * var(--px));
}

.hero__char--excl {
    font-size: calc(53 * var(--px));
}

.hero__badges {
    display: flex;
    gap: calc(10 * var(--px));
    justify-content: center;
    margin: calc(12 * var(--px)) 0 0;
}

.round-point {
    aspect-ratio: 1;
    background: var(--navy);
    border: calc(3 * var(--px)) solid var(--yellow);
    border-radius: 50%;
    color: var(--white);
    max-width: calc(108 * var(--px));
    position: relative;
    text-align: center;
    width: calc((100% - 20 * var(--px)) / 3);
    --u: calc(100cqw / 102);
    container-type: inline-size;
}

.round-point:nth-child(1) {
    --badge-icon: url(../img/icons/truck-yellow.svg);
}

.round-point::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: var(--badge-icon) center/contain no-repeat;
}

.round-point:nth-child(1)::before {
    top: calc(2.28 * var(--u));
    width: calc(41 * var(--u));
    height: calc(41 * var(--u));
}

.round-point > * {
    font-weight: 800;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    white-space: nowrap;
    --sw: calc(3 * var(--u));
    text-shadow:
        calc(var(--sw) * 1.000) calc(var(--sw) * 0.000) 0 var(--navy),
        calc(var(--sw) * 0.966) calc(var(--sw) * 0.259) 0 var(--navy),
        calc(var(--sw) * 0.866) calc(var(--sw) * 0.500) 0 var(--navy),
        calc(var(--sw) * 0.707) calc(var(--sw) * 0.707) 0 var(--navy),
        calc(var(--sw) * 0.500) calc(var(--sw) * 0.866) 0 var(--navy),
        calc(var(--sw) * 0.259) calc(var(--sw) * 0.966) 0 var(--navy),
        calc(var(--sw) * 0.000) calc(var(--sw) * 1.000) 0 var(--navy),
        calc(var(--sw) * -0.259) calc(var(--sw) * 0.966) 0 var(--navy),
        calc(var(--sw) * -0.500) calc(var(--sw) * 0.866) 0 var(--navy),
        calc(var(--sw) * -0.707) calc(var(--sw) * 0.707) 0 var(--navy),
        calc(var(--sw) * -0.866) calc(var(--sw) * 0.500) 0 var(--navy),
        calc(var(--sw) * -0.966) calc(var(--sw) * 0.259) 0 var(--navy),
        calc(var(--sw) * -1.000) calc(var(--sw) * 0.000) 0 var(--navy),
        calc(var(--sw) * -0.966) calc(var(--sw) * -0.259) 0 var(--navy),
        calc(var(--sw) * -0.866) calc(var(--sw) * -0.500) 0 var(--navy),
        calc(var(--sw) * -0.707) calc(var(--sw) * -0.707) 0 var(--navy),
        calc(var(--sw) * -0.500) calc(var(--sw) * -0.866) 0 var(--navy),
        calc(var(--sw) * -0.259) calc(var(--sw) * -0.966) 0 var(--navy),
        calc(var(--sw) * -0.000) calc(var(--sw) * -1.000) 0 var(--navy),
        calc(var(--sw) * 0.259) calc(var(--sw) * -0.966) 0 var(--navy),
        calc(var(--sw) * 0.500) calc(var(--sw) * -0.866) 0 var(--navy),
        calc(var(--sw) * 0.707) calc(var(--sw) * -0.707) 0 var(--navy),
        calc(var(--sw) * 0.866) calc(var(--sw) * -0.500) 0 var(--navy),
        calc(var(--sw) * 0.966) calc(var(--sw) * -0.259) 0 var(--navy);
}

.round-point:nth-child(1) .round-point__sub {
    top: calc(43.48 * var(--u));
    font-size: calc(16 * var(--u));
    font-weight: 700;
    line-height: calc(17.55 * var(--u));
    letter-spacing: calc(.3 * var(--u));
}

.round-point__main {
    color: var(--yellow);
}

.round-point:nth-child(1) .round-point__main {
    top: calc(56.05 * var(--u));
    font-size: calc(26 * var(--u));
    line-height: calc(37.5 * var(--u));
    letter-spacing: calc(.6 * var(--u));
}

.round-point:nth-child(2) {
    --badge-icon: url(../img/icons/shield-yellow.svg);
}

.round-point:nth-child(2)::before {
    top: calc(8.77 * var(--u));
    width: calc(33 * var(--u));
    height: calc(33 * var(--u));
}

.round-point:nth-child(2) .round-point__main {
    top: calc(47 * var(--u));
    font-size: calc(23 * var(--u));
    line-height: calc(20.8 * var(--u));
    letter-spacing: calc(-1 * var(--u));
}

.round-point:nth-child(2) .round-point__sub {
    top: calc(68.21 * var(--u));
    font-size: calc(16 * var(--u));
    line-height: calc(20.8 * var(--u));
}

.round-point:nth-child(3) {
    --badge-icon: url(../img/icons/doc-yellow.svg);
}

.round-point:nth-child(3)::before {
    top: calc(8.95 * var(--u));
    width: calc(30.86 * var(--u));
    height: calc(30.86 * var(--u));
}

.round-point:nth-child(3) .round-point__main {
    top: calc(49 * var(--u));
    font-size: calc(23 * var(--u));
    line-height: calc(18 * var(--u));
}

.round-point:nth-child(3) .round-point__sub {
    top: calc(69.52 * var(--u));
    font-size: calc(17 * var(--u));
    line-height: calc(18 * var(--u));
    letter-spacing: calc(-1 * var(--u));
}

.round-point__particle {
    font-size: calc(14 * var(--u));
}

.hero > .note {
    justify-self: center;
    width: calc(320 * var(--px));
    margin-top: calc(9 * var(--px));
    padding: calc(2.8 * var(--px)) calc(9.5 * var(--px)) calc(1.7 * var(--px)) calc(9 * var(--px));
    border-radius: calc(4 * var(--px));
    background: #12325f80;
    color: var(--white);
    font-size: calc(11 * var(--px));
    font-weight: 400;
    line-height: calc(16.5 * var(--px));
    letter-spacing: calc(0.3 * var(--px));
    text-indent: 0;
}

.qualification-jump {
    align-items: center;
    background: var(--white);
    border: calc(1.5 * var(--px)) solid #083676;
    border-radius: calc(999 * var(--px));
    display: flex;
    font-weight: 700;
    gap: calc(10 * var(--px));
    justify-content: center;
    text-decoration: none;
    min-height: calc(46 * var(--px));
    margin: calc(10 * var(--px)) 0 calc(34 * var(--px) + var(--slant));
    padding: 0 calc(12 * var(--px));
    color: #083676;
    font-size: calc(14 * var(--px));
    line-height: calc(21 * var(--px));
    letter-spacing: .02em;
}

@media (hover: hover) {
    .qualification-jump:hover {
        background: #dfe8f3;
    }
}

.qualification-jump__text {
    text-decoration: underline;
}

.qualification-jump__arrow {
    border-radius: 50%;
    color: var(--white);
    display: grid;
    flex: none;
    font-size: calc(12 * var(--px));
    place-items: center;
    width: calc(22 * var(--px));
    height: calc(22 * var(--px));
    background: #083676;
}


/* ===== CTA・ボタン ===== */

.cta {
    clip-path: polygon(0 var(--slant), 100% 0, 100% calc(100% - var(--slant)), 0 100%);
    margin: calc(36 * var(--px)) calc(var(--gutter) * -1) 0;
    position: relative;
    text-align: center;
    background:
        repeating-linear-gradient(-45deg, #fff0 0 calc(13 * var(--px)), #ffffff38 calc(13 * var(--px)) calc(15 * var(--px))),
        linear-gradient(180deg, #ffdf4d 0, var(--yellow) 45%, #ffc61a 100%);
    overflow: hidden;
    padding: calc(22 * var(--px) + var(--slant)) var(--gutter);
}

.cta--hero {
    margin-top: calc(var(--slant) * -1);
}

.btn {
    position: relative;
    display: block;
    width: 100%;
    padding: calc(11 * var(--px)) calc(12 * var(--px)) 0;
    overflow: hidden;
    color: var(--white);
    font-size: calc(21 * var(--px));
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: .02em;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s, filter .15s;
    border: calc(1.5 * var(--px)) solid var(--navy);
    border-radius: calc(16 * var(--px));
}

.cta > *,
.cta__panel > * {
    position: relative;
    z-index: 1;
}

.btn:focus-visible {
    outline: calc(3 * var(--px)) solid var(--navy);
    outline-offset: calc(4 * var(--px));
}

.btn--tel {
    background: linear-gradient(180deg, #ec4a35 0, #dc2a1f 34.6%, #c52218 100%);
    border-color: #74110a;
    box-shadow: 0 calc(5 * var(--px)) 0 #74110a;
    font-size: calc(19 * var(--px));
}

.btn.btn--tel:active {
    box-shadow: 0 var(--px) 0 #74110a;
}

@media (hover: hover) {
    .btn:hover {
        filter: brightness(1.08) saturate(1.15);
        transform: translateY(calc(-2 * var(--px)));
    }
}

.btn:active {
    transform: translateY(calc(5 * var(--px)));
}

@media (hover: hover) {
    .btn.btn--tel:hover {
        box-shadow: 0 calc(7 * var(--px)) 0 #74110a;
    }
}

.btn__particle {
    font-size: .82em;
}

.btn__number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(8 * var(--px));
    line-height: 1.1;
    letter-spacing: -.01em;
    white-space: nowrap;
    margin-top: calc(2 * var(--px));
    font-size: calc(34 * var(--px));
}

.btn__number::before {
    background: var(--white) url(../img/icons/phone-red.svg) center/calc(20 * var(--px)) no-repeat;
    border-radius: 50%;
    content: "";
    flex: none;
    box-shadow: 0 0 0 calc(3 * var(--px)) #ffffff4d;
    width: calc(34 * var(--px));
    height: calc(34 * var(--px));
}

.btn__hours {
    margin: calc(9 * var(--px)) calc(-12 * var(--px)) 0;
    font-weight: 700;
    letter-spacing: .02em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(6 * var(--px));
    padding: 0 calc(8 * var(--px));
    font-size: calc(15 * var(--px));
    line-height: 1;
    height: calc(31 * var(--px));
}

.btn.btn--tel .btn__hours {
    background: #a4130a;
}

.btn__hours::before {
    content: "";
    flex: none;
    width: calc(16 * var(--px));
    height: calc(16 * var(--px));
    background: var(--white);
    opacity: .85;
    -webkit-mask: url(../img/icons/clock-navy.svg) center/contain no-repeat;
    mask: url(../img/icons/clock-navy.svg) center/contain no-repeat;
}

.btn__hours-label {
    font-weight: 500;
}

.btn__hours-time {
    display: flex;
    align-items: center;
    gap: calc(7 * var(--px));
}

.btn__hours-time::before {
    content: "";
    flex: none;
    width: var(--px);
    height: calc(13 * var(--px));
    background: #ffffff4d;
}

.btn__open {
    display: inline-flex;
    align-items: center;
    height: calc(19 * var(--px));
    margin-left: calc(2 * var(--px));
    padding: 0 calc(8 * var(--px));
    border-radius: calc(999 * var(--px));
    background: var(--yellow);
    color: #111111;
    font-size: calc(12 * var(--px));
    font-weight: 800;
    letter-spacing: .04em;
}

.line-offer {
    margin-top: calc(22 * var(--px));
}

.line-offer__heading {
    display: flex;
    justify-content: center;
    margin: 0 0 calc(14 * var(--px));
    padding: calc(10 * var(--px)) 0 0;
}

.line-offer__value {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    line-height: 1;
    gap: calc(13 * var(--px));
    padding: calc(9 * var(--px)) calc(20 * var(--px)) calc(8 * var(--px));
    transform: skewX(-5.7deg); /* キャッチの斜体：約10%の傾き */
}

.line-offer__value::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    border-radius: calc(4 * var(--px));
    background: var(--white);
}

.line-offer__lead-text {
    position: absolute;
    top: calc(10.12 * var(--px));
    left: calc(-13.5 * var(--px));
    padding: var(--px) calc(8 * var(--px)) calc(2 * var(--px));
    border-radius: calc(3 * var(--px));
    background: #047338;
    color: var(--white);
    white-space: nowrap;
    font-size: calc(12.5 * var(--px));
    font-weight: 700;
    letter-spacing: calc(0.63 * var(--px));
    line-height: calc(16.25 * var(--px));
}

.line-offer__label {
    display: block;
    margin: 0;
    white-space: nowrap;
    padding-bottom: calc(0.25 * var(--px));
    color: #111111;
    font-size: calc(21 * var(--px));
    font-weight: 800;
    letter-spacing: 0;
    line-height: calc(21 * var(--px));
}

.line-offer__amount,
.cta--hero .line-offer__amount {
    display: flex;
    align-items: flex-end;
    color: #c21f1f;
    font-family: "Gen Interface JP Display", sans-serif;
    font-weight: 800;
    letter-spacing: 0;
    gap: calc(1.5 * var(--px));
    margin: 0;
    line-height: 1;
}

.line-offer__num,
.cta--hero .line-offer__amount .line-offer__num {
    font-size: calc(58 * var(--px));
    letter-spacing: calc(-2.9 * var(--px));
    line-height: calc(46.4 * var(--px));
}

.line-offer__pct,
.cta--hero .line-offer__amount .line-offer__pct {
    margin: 0;
    padding-right: calc(1.28 * var(--px));
    font-size: calc(34.8 * var(--px));
    line-height: calc(27.84 * var(--px));
}

.line-offer__off,
.cta--hero .line-offer__amount .line-offer__off {
    margin: 0;
    font-size: calc(46.4 * var(--px));
    letter-spacing: calc(-0.93 * var(--px));
    line-height: calc(37.12 * var(--px));
}

.btn--line {
    padding-top: calc(13 * var(--px));
    background: linear-gradient(180deg, #12f36e 0, #06c755 34.6%, #00973e 100%);
    border-color: #024d25;
    box-shadow: 0 calc(5 * var(--px)) 0 #024d25;
}

.btn--line:active {
    box-shadow: 0 var(--px) 0 #024d25;
}

@media (hover: hover) {
    .btn--line:hover {
        box-shadow: 0 calc(7 * var(--px)) 0 #024d25;
    }
}

.btn--line::before {
    background: var(--white) url(../img/icons/chat-green.svg) center/calc(19 * var(--px)) no-repeat;
    border-radius: 50%;
    content: "";
    display: inline-block;
    margin: calc(-4 * var(--px)) calc(8 * var(--px)) 0 0;
    vertical-align: middle;
    box-shadow: 0 0 0 calc(3 * var(--px)) #ffffff4d;
    width: calc(32 * var(--px));
    height: calc(32 * var(--px));
}

.btn--line .btn__hours {
    background: #006d2d;
}

.cta__mini {
    align-items: center;
    display: inline-flex;
    font-weight: 700;
    gap: calc(6 * var(--px));
    letter-spacing: .04em;
    background: var(--white);
    border-radius: calc(999 * var(--px));
    font-size: calc(14 * var(--px));
    padding: calc(6 * var(--px)) calc(16 * var(--px)) calc(6 * var(--px)) calc(12 * var(--px));
    margin-top: calc(18 * var(--px));
}

.cta__mini::before {
    border-radius: 50%;
    content: "";
    flex: none;
    width: calc(20 * var(--px));
    height: calc(20 * var(--px));
    background: var(--navy);
}

.cta__mini::after {
    -webkit-mask: url(../img/icons/check.svg) center/contain no-repeat;
    mask: url(../img/icons/check.svg) center/contain no-repeat;
    content: "";
    height: calc(12 * var(--px));
    margin-top: calc(-6 * var(--px));
    position: absolute;
    top: 50%;
    width: calc(12 * var(--px));
    left: calc(16 * var(--px));
    background: var(--yellow);
}

.cta__panel {
    display: contents;
}

.cta__caption {
    line-height: 1.45;
    text-wrap: wrap;
    font-size: calc(16 * var(--px));
    font-weight: 600;
    letter-spacing: .04em;
}

.cta__caption,
.cta__caption:has(.nowrap) {
    gap: calc(12 * var(--px));
    display: flex;
    justify-content: center;
    margin: 0 0 calc(18 * var(--px));
    align-items: flex-end;
}

.cta--price .cta__caption {
    margin-top: calc(-15 * var(--px));
}

.cta__caption::after {
    flex: none;
    content: "";
    background: url(../img/cta-price.webp) center/contain no-repeat;
}

.cta--price .cta__caption::after {
    width: calc(108 * var(--px));
    height: calc(118 * var(--px));
    margin-top: calc(-15 * var(--px));
}

.cta__caption-text {
    position: relative;
    padding: calc(11 * var(--px)) calc(18 * var(--px)) calc(12 * var(--px));
    border-radius: calc(14 * var(--px));
    background: var(--white);
}

.cta--price .cta__caption-text {
    width: calc(236.1 * var(--px));
}

.cta__caption-text::after {
    content: "";
    position: absolute;
    top: 50%;
    right: calc(-12 * var(--px));
    width: calc(14 * var(--px));
    height: calc(18 * var(--px));
    margin-top: calc(-9 * var(--px));
    background: var(--white);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.cta__caption .nowrap {
    display: block;
}

.btn + .btn {
    margin-top: calc(22 * var(--px));
}

.cta--works .cta__caption {
    gap: calc(20 * var(--px));
    margin-top: calc(-20 * var(--px));
}

.cta--works .cta__caption::after {
    width: calc(96 * var(--px));
    height: calc(108 * var(--px));
    background-image: url(../img/cta-works.webp);
}

.cta--works .cta__caption-text {
    width: calc(178.9 * var(--px));
}

.cta--contact {
    background: none;
    clip-path: none;
    margin-top: calc(26 * var(--px));
    padding-top: 0;
    overflow: visible;
    padding-bottom: calc(49 * var(--px) + var(--slant));
}

.cta--contact .cta__caption {
    align-items: center;
    gap: calc(18 * var(--px));
}

.cta--contact .cta__caption::after {
    width: calc(123 * var(--px));
    height: calc(121 * var(--px));
    background-image: url(../img/cta-contact.webp);
}

.cta--contact .cta__caption-text {
    width: calc(204.9 * var(--px));
}


@media (prefers-reduced-motion: reduce) {
    .btn:hover,
    .btn:active {
        transform: none;
    }
}


/* ===== ページ内リンク ===== */

.anchorlinks {
    display: flex;
    flex-wrap: wrap;
    gap: calc(12 * var(--px)) calc(8 * var(--px));
    justify-content: center;
    margin: calc(34 * var(--px)) 0 0;
    position: relative;
}

.anchorlinks::before {
    content: "";
    position: absolute;
    top: calc(-56 * var(--px));
    left: calc(var(--gutter) * -1);
    z-index: -1;
    width: calc(100% + var(--gutter) * 2);
    height: calc(424 * var(--px));
    background: url(../img/anchor-bg.webp) center/calc(390 * var(--px)) calc(464 * var(--px)) no-repeat;
    /* 写真の上下の端をぼかして、周りの白になじませる */
    -webkit-mask-image: linear-gradient(transparent, #000 calc(40 * var(--px)), #000 calc(100% - 40 * var(--px)), transparent);
    mask-image: linear-gradient(transparent, #000 calc(40 * var(--px)), #000 calc(100% - 40 * var(--px)), transparent);
}

.anchorlinks__link {
    transition: transform .15s, box-shadow .15s, background-color .15s;
    min-height: calc(40 * var(--px));
    text-decoration: none;
    align-items: center;
    background: var(--white);
    border: calc(1.5 * var(--px)) solid var(--navy);
    border-radius: calc(14 * var(--px));
    color: #111111;
    display: flex;
    flex: 0 0 calc((100% - 16 * var(--px)) / 3);
    flex-direction: column;
    font-feature-settings: "palt";
    font-weight: 800;
    letter-spacing: .02em;
    position: relative;
    text-align: center;
    text-wrap: balance;
    box-shadow: 0 calc(3 * var(--px)) 0 var(--navy);
    justify-content: flex-start;
    gap: calc(6 * var(--px));
    height: auto;
    padding: calc(12 * var(--px)) calc(4 * var(--px)) calc(26 * var(--px));
    font-size: calc(19 * var(--px));
    line-height: 1.25;
}

.anchorlinks__link:active {
    transform: translateY(calc(3 * var(--px)));
    box-shadow: 0 0 0 var(--navy);
}

.anchorlinks__link:focus-visible {
    outline: calc(3 * var(--px)) solid #e8b500;
    outline-offset: calc(3 * var(--px));
}

.anchorlinks__link--service {
    --a-icon: url(../img/icons/wrench-navy.svg);
}

@media (hover: hover) {
    .anchorlinks__link:hover {
        transform: translateY(calc(-2 * var(--px)));
        background: #fff6d6;
        border-color: var(--navy);
        box-shadow: 0 calc(4 * var(--px)) 0 var(--navy);
    }
}

.anchorlinks__link::before {
    content: "";
    flex: none;
    width: calc(36 * var(--px));
    height: calc(36 * var(--px));
    border-radius: 50%;
    background: var(--yellow) var(--a-icon) center/calc(20 * var(--px)) no-repeat;
}

.anchorlinks__link::after {
    content: "";
    flex: none;
    -webkit-mask: url(../img/icons/chevron-down.svg) center/contain no-repeat;
    mask: url(../img/icons/chevron-down.svg) center/contain no-repeat;
    background: var(--navy);
    height: calc(14 * var(--px));
    left: 50%;
    margin-left: calc(-7 * var(--px));
    position: absolute;
    width: calc(14 * var(--px));
    bottom: calc(8 * var(--px));
}

.anchorlinks__label {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.5em;
}

.anchorlinks__link--price {
    --a-icon: url(../img/icons/yen-navy.svg);
}

.anchorlinks__link--qualification {
    --a-icon: url(../img/icons/shield-navy.svg);
}

.anchorlinks__link--works {
    --a-icon: url(../img/icons/camera-navy.svg);
}

.anchorlinks__link--area {
    --a-icon: url(../img/icons/pin-navy.svg);
}


@media (prefers-reduced-motion: reduce) {
    .anchorlinks__link {
        transition: none;
    }

    .anchorlinks__link:hover,
    .anchorlinks__link:active {
        transform: none;
    }
}


/* ===== セクション見出し ===== */

.section__title {
    position: relative;
    min-height: 0;
    margin: calc(4 * var(--px)) 0 var(--h2-gap-bottom);
    font-family: "Gen Interface JP Display", sans-serif;
    font-size: calc(30 * var(--px));
    line-height: 1.3;
    letter-spacing: .03em;
    text-align: center;
    text-wrap: balance;
    text-underline-offset: -.22em;
    text-decoration-skip-ink: none;
}

.section__title::before {
    content: "";
    top: 0;
    left: 0;
    background: var(--yellow) var(--h2-icon, url(../img/icons/bolt-navy.svg)) center/calc(26 * var(--px)) no-repeat;
    border: calc(2.5 * var(--px)) solid var(--navy);
    border-radius: 50%;
    box-shadow: 0 0 0 calc(5 * var(--px)) #ffd21f40;
    display: block;
    margin: 0 auto calc(12 * var(--px));
    width: calc(52 * var(--px));
    height: calc(52 * var(--px));
}

.section__title::after {
    background: repeating-linear-gradient(-45deg, var(--navy) 0 calc(5 * var(--px)), var(--yellow) calc(5 * var(--px)) calc(10 * var(--px)));
    border-radius: var(--px);
    content: "";
    display: block;
    height: calc(6 * var(--px));
    margin: calc(12 * var(--px)) auto 0;
    width: calc(64 * var(--px));
}

.qualification-section .section__title {
    text-decoration-thickness: .14em;
    text-underline-offset: .16em;
}

.qualification-section .section__title::before {
    border-color: var(--yellow);
    box-shadow: 0 0 0 calc(5 * var(--px)) #ffd21f33;
}

.qualification-section .section__title::after {
    background: repeating-linear-gradient(-45deg, var(--white) 0 calc(5 * var(--px)), var(--yellow) calc(5 * var(--px)) calc(10 * var(--px)));
}

.contact-section .section__title {
    text-decoration-color: var(--white);
}

.contact-section .section__title::before {
    margin: 0 auto calc(14 * var(--px));
    background-color: var(--white);
    box-shadow: 0 0 0 calc(5 * var(--px)) #ffffff66;
}

.contact-section .section__title::after {
    background: repeating-linear-gradient(-45deg, var(--navy) 0 calc(5 * var(--px)), var(--white) calc(5 * var(--px)) calc(10 * var(--px)));
}


/* ===== 対応工事 ===== */

.service-section {
    gap: calc(24 * var(--px)) calc(12 * var(--px));
    background: radial-gradient(#f0d06a calc(1.2 * var(--px)), transparent calc(1.7 * var(--px))) 0 0/calc(18 * var(--px)) calc(18 * var(--px)) #fff6d6;
    --h2-icon: url(../img/icons/wrench-navy.svg);
    align-items: start;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-section > .section__title {
    margin-bottom: calc(var(--h2-gap-bottom) - 24 * var(--px));
}

.service-section > .section__title,
.box--service {
    grid-column: 1 / -1;
}

.service-list {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: calc(24 * var(--px)) calc(12 * var(--px));
    align-items: start;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service {
    position: relative;
}

.service::after {
    content: "";
    display: block;
    clear: both;
}

.service__idx {
    line-height: 1;
    position: absolute;
    z-index: 1;
    display: grid;
    place-items: center;
    width: calc(44 * var(--px));
    height: calc(44 * var(--px));
    border-radius: calc(12 * var(--px)) 0 calc(12 * var(--px)) 0;
    background: var(--navy);
    color: var(--yellow);
    font-family: "Gen Interface JP Display", sans-serif;
    font-size: calc(18 * var(--px));
    letter-spacing: .02em;
    font-variant-numeric: tabular-nums;
}

.service__body {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    position: relative;
}

.service__title {
    font-weight: 800;
    min-height: 0;
    margin: 0 0 calc(6 * var(--px));
    font-size: calc(17 * var(--px));
    line-height: 1.45;
}

.service__photo {
    order: -1;
    min-height: 0;
    aspect-ratio: 346 / 260;
    margin: 0 0 calc(12 * var(--px));
    border-radius: calc(12 * var(--px));
}

.service__text {
    font-size: calc(14 * var(--px));
    line-height: 1.65;
}

.box--service {
    margin-top: calc(6 * var(--px));
    padding: 0 0 calc(18 * var(--px));
    overflow: hidden;
    border: calc(3 * var(--px)) solid var(--yellow);
    border-radius: calc(14 * var(--px));
}

.box--service .box__title {
    justify-content: center;
    margin: 0 0 calc(14 * var(--px));
    padding: calc(12 * var(--px));
    background: var(--yellow);
    font-size: calc(18 * var(--px));
}

.box--service .box__title::before {
    background-color: var(--white);
}

.small-works {
    margin: 0;
    padding: 0 calc(18 * var(--px));
    list-style: none;
}

.small-works__item {
    position: relative;
    padding: calc(10 * var(--px)) 0 calc(10 * var(--px)) calc(26 * var(--px));
    border-bottom: var(--px) dashed #e8d48c;
    font-size: calc(16 * var(--px));
    font-weight: 700;
    line-height: 1.5;
}

.small-works__item:first-child {
    padding-top: calc(2 * var(--px));
}

.small-works__item::before {
    content: "";
    position: absolute;
    top: calc(13 * var(--px));
    left: calc(2 * var(--px));
    width: calc(17 * var(--px));
    height: calc(17 * var(--px));
    background: var(--navy);
    -webkit-mask: url(../img/icons/check.svg) center/contain no-repeat;
    mask: url(../img/icons/check.svg) center/contain no-repeat;
}

.small-works__item:first-child::before {
    top: calc(5 * var(--px));
}

.small-works__item:last-child {
    border-bottom: 0;
}

.small-works + .note {
    margin-top: calc(12 * var(--px));
    padding: calc(14 * var(--px)) calc(18 * var(--px)) 0;
    border-top: var(--px) solid #f0e2ad;
}


/* ===== 料金表 ===== */

.price-section {
    --h2-icon: url(../img/icons/yen-navy.svg);
}

.price-section::before {
    height: calc(473 * var(--px));
    background: url(../img/price-bg.webp) left top/calc(390 * var(--px)) calc(473 * var(--px)) no-repeat;
}

.price-table {
    width: 100%;
    margin: calc(16 * var(--px)) 0 calc(24 * var(--px));
    overflow: hidden;
    border: calc(2 * var(--px)) solid var(--navy);
    border-radius: calc(10 * var(--px));
    border-spacing: 0;
    table-layout: fixed;
    font-size: calc(13 * var(--px));
    line-height: 1.6;
}

.price-table__th,
.price-table__td {
    padding: calc(10 * var(--px)) calc(8 * var(--px));
    text-align: left;
    border-bottom: var(--px) solid #d9dde3;
    overflow-wrap: anywhere;
}

.price-table__th--col {
    background: var(--navy);
    color: var(--white);
    line-height: 1.4;
    text-align: center;
    padding-top: calc(14 * var(--px));
    padding-bottom: calc(14 * var(--px));
}

.price-table__th:first-child {
    width: calc(136 * var(--px));
}

.price-table__th--col:first-child,
.price-table__th--col:nth-child(3) {
    font-size: calc(14 * var(--px));
}

.price-table__th--col:not(:first-child),
.price-table__td {
    border-left: var(--px) solid #d9dde3;
}

.price-table__th--col:nth-child(2) {
    background: var(--yellow);
    color: #111111;
    font-size: calc(20 * var(--px));
    line-height: 1.12;
}

.price-table__tax {
    display: block;
    margin-top: calc(2 * var(--px));
    font-size: calc(11 * var(--px));
    font-weight: 400;
}

.price-table__th--col:nth-child(3) {
    width: calc(92 * var(--px));
    background: #5a6270;
}

.price-table__th--row {
    background: #f4f5f7;
    font-size: calc(15 * var(--px));
    line-height: 1.45;
}

.price-table__note {
    display: block;
    margin-top: calc(6 * var(--px));
    color: #4a4f57;
    font-size: calc(11 * var(--px));
    font-weight: 400;
    line-height: 1.5;
}

.price-table__time {
    color: #0a55b0;
    font-weight: 700;
    display: inline-block;
    margin-top: calc(4 * var(--px));
    padding: var(--px) calc(9 * var(--px));
    border-radius: calc(999 * var(--px));
    background: #eaf3fb;
    font-size: calc(13 * var(--px));
    line-height: 1.6;
}

.price-table__td {
    padding-right: calc(4 * var(--px));
    padding-left: calc(4 * var(--px));
    text-align: center;
}

.price-table__td--own {
    background: #fff6d6;
}

.price-table__value {
    font-size: calc(14 * var(--px));
    white-space: nowrap;
}

.price-table__value--own {
    color: #c21f1f;
    font-weight: 800;
    font-size: calc(23 * var(--px));
    letter-spacing: -.01em;
}

.price-table__yen {
    margin-left: var(--px);
    font-size: max(.7em, 11 * var(--px));
}

.price-table__td:last-child {
    font-size: calc(12 * var(--px));
}

.price-table__td:not(.price-table__td--own) .price-table__value {
    color: #4a4f57;
}

.price-table__row:last-child > * {
    border-bottom: 0;
}

.payment {
    overflow: hidden;
    padding: 0 calc(12 * var(--px)) calc(18 * var(--px));
    border: calc(3 * var(--px)) solid var(--yellow);
    border-radius: calc(14 * var(--px));
    background: #fff6d6;
    text-align: center;
}

.payment .box__title {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(10 * var(--px));
    margin: 0 calc(-12 * var(--px));
    padding: calc(12 * var(--px));
    background: var(--yellow);
    color: #111111;
    font-size: calc(20 * var(--px));
    letter-spacing: .06em;
}

.payment .box__title::before {
    content: "";
    flex: none;
    width: calc(30 * var(--px));
    height: calc(30 * var(--px));
    border-radius: 50%;
    background: var(--white) url(../img/icons/yen-navy.svg) center/calc(17 * var(--px)) no-repeat;
}

.payment__methods {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-top: calc(20 * var(--px));
}

.payment__cash {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    min-width: calc(148 * var(--px));
    height: calc(56 * var(--px));
    padding: 0 calc(22 * var(--px));
    border: calc(2 * var(--px)) solid #e8b500;
    border-radius: calc(10 * var(--px));
    background: var(--white);
    font-size: calc(19 * var(--px));
    font-weight: 800;
    letter-spacing: .08em;
    white-space: nowrap;
}

.payment__cash::before,
.payment__card-label::before {
    content: "";
    display: inline-block;
    flex: none;
    width: calc(20 * var(--px));
    height: calc(20 * var(--px));
    margin-right: calc(7 * var(--px));
    vertical-align: calc(-3 * var(--px));
    background: var(--navy);
    -webkit-mask: url(../img/icons/cash.svg) center/contain no-repeat;
    mask: url(../img/icons/cash.svg) center/contain no-repeat;
}

/* 現金アイコンは画像（390px 幅基準の2倍 103×71 で書き出しているので半分のサイズで表示） */
.payment__cash::before {
    width: calc(51.5 * var(--px));
    height: calc(35.5 * var(--px));
    background: url(../img/icon-cash.webp) center/contain no-repeat;
    -webkit-mask: none;
    mask: none;
}

.payment__card-label {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: calc(20 * var(--px)) 0 calc(10 * var(--px));
    font-size: calc(15 * var(--px));
    font-weight: 800;
    background:
        linear-gradient(#e8b500, #e8b500) left center/calc(50% - 92 * var(--px)) var(--px) no-repeat,
        linear-gradient(#e8b500, #e8b500) right center/calc(50% - 92 * var(--px)) var(--px) no-repeat;
}

.payment__card-label::before {
    -webkit-mask-image: url(../img/icons/card.svg);
    mask-image: url(../img/icons/card.svg);
}

.card-logos {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: calc(4 * var(--px));
    min-width: 0;
}

.card-logos__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(54 * var(--px));
    padding: calc(4 * var(--px)) 0;
    border: calc(2 * var(--px)) solid #e8b500;
    border-radius: calc(8 * var(--px));
    background: var(--white);
}

/* ロゴ画像は 390px 幅基準の2倍で書き出しているので、半分のサイズで表示する */
.card-logos__img {
    display: block;
    max-width: 100%;
    height: auto;
}

.card-logos__img--visa {
    width: calc(44 * var(--px));
}

.card-logos__img--master {
    width: calc(42 * var(--px));
}

.card-logos__img--jcb {
    width: calc(40 * var(--px));
}

.card-logos__img--dc {
    width: calc(44 * var(--px));
}

.card-logos__img--amex {
    width: calc(34 * var(--px));
}


/* ===== 他社の工事 ===== */

.other-work-section {
    background: #eef1f5;
}

.section__title--warning {
    letter-spacing: -.01em;
    font-size: calc(32 * var(--px));
    line-height: 1.05;
}

.section__title--warning::before {
    border-radius: 0;
    background: url(../img/icons/caution-yellow.svg) center/contain no-repeat;
    border: 0;
    box-shadow: none;
    width: calc(54 * var(--px));
    height: calc(54 * var(--px));
    margin-bottom: calc(10 * var(--px));
}

.section__title--warning::after {
    margin-top: calc(22 * var(--px));
}

.section__title-em {
    font-size: calc(52 * var(--px));
    letter-spacing: -.02em;
}

.section__title--warning .section__title-em {
    --sw: calc(4 * var(--px));
    color: #d20404;
    filter: drop-shadow(0 calc(4 * var(--px)) 0 var(--navy));
    text-shadow:
        calc(var(--sw) * 1.000) calc(var(--sw) * 0.000) 0 var(--white),
        calc(var(--sw) * 0.966) calc(var(--sw) * 0.259) 0 var(--white),
        calc(var(--sw) * 0.866) calc(var(--sw) * 0.500) 0 var(--white),
        calc(var(--sw) * 0.707) calc(var(--sw) * 0.707) 0 var(--white),
        calc(var(--sw) * 0.500) calc(var(--sw) * 0.866) 0 var(--white),
        calc(var(--sw) * 0.259) calc(var(--sw) * 0.966) 0 var(--white),
        calc(var(--sw) * 0.000) calc(var(--sw) * 1.000) 0 var(--white),
        calc(var(--sw) * -0.259) calc(var(--sw) * 0.966) 0 var(--white),
        calc(var(--sw) * -0.500) calc(var(--sw) * 0.866) 0 var(--white),
        calc(var(--sw) * -0.707) calc(var(--sw) * 0.707) 0 var(--white),
        calc(var(--sw) * -0.866) calc(var(--sw) * 0.500) 0 var(--white),
        calc(var(--sw) * -0.966) calc(var(--sw) * 0.259) 0 var(--white),
        calc(var(--sw) * -1.000) calc(var(--sw) * 0.000) 0 var(--white),
        calc(var(--sw) * -0.966) calc(var(--sw) * -0.259) 0 var(--white),
        calc(var(--sw) * -0.866) calc(var(--sw) * -0.500) 0 var(--white),
        calc(var(--sw) * -0.707) calc(var(--sw) * -0.707) 0 var(--white),
        calc(var(--sw) * -0.500) calc(var(--sw) * -0.866) 0 var(--white),
        calc(var(--sw) * -0.259) calc(var(--sw) * -0.966) 0 var(--white),
        calc(var(--sw) * -0.000) calc(var(--sw) * -1.000) 0 var(--white),
        calc(var(--sw) * 0.259) calc(var(--sw) * -0.966) 0 var(--white),
        calc(var(--sw) * 0.500) calc(var(--sw) * -0.866) 0 var(--white),
        calc(var(--sw) * 0.707) calc(var(--sw) * -0.707) 0 var(--white),
        calc(var(--sw) * 0.866) calc(var(--sw) * -0.500) 0 var(--white),
        calc(var(--sw) * 0.966) calc(var(--sw) * -0.259) 0 var(--white);
    font-weight: 800;
    letter-spacing: .08em;
}

.other-work-section__photo {
    margin: 0 0 calc(20 * var(--px));
    min-height: calc(170 * var(--px));
    border: calc(7 * var(--px)) solid transparent;
    border-radius: calc(14 * var(--px));
    background: repeating-linear-gradient(-45deg, var(--yellow) 0 calc(10 * var(--px)), var(--navy) calc(10 * var(--px)) calc(20 * var(--px))) border-box;
}

.other-work-section__photo + .other-work-section__text {
    font-weight: 700;
    text-align: center;
    font-size: calc(17 * var(--px));
    line-height: 1.7;
}

.other-work-section__risk {
    font-weight: 700;
    position: relative;
    background: #c21f1f;
    color: var(--white);
    margin: calc(24 * var(--px)) calc(var(--gutter) * -1);
    padding: calc(22 * var(--px)) var(--gutter) calc(22 * var(--px)) calc(66 * var(--px));
    font-size: calc(17 * var(--px));
    line-height: 1.65;
}

.other-work-section__risk::before {
    -webkit-mask: url(../img/icons/caution.svg) center/contain no-repeat;
    mask: url(../img/icons/caution.svg) center/contain no-repeat;
    content: "";
    position: absolute;
    background: var(--white);
    top: 50%;
    left: calc(20 * var(--px));
    width: calc(32 * var(--px));
    height: calc(32 * var(--px));
    margin-top: calc(-16 * var(--px));
}


/* ===== 保有資格 ===== */

.qualification-section {
    background: repeating-linear-gradient(135deg, #ffffff09 0 var(--px), transparent var(--px) calc(9 * var(--px))) var(--navy);
    color: var(--white);
    --h2-icon: url(../img/icons/shield-navy.svg);
}

.staff {
    background: var(--white);
    color: #111111;
    margin-top: calc(20 * var(--px));
    text-align: center;
    padding: 0 0 calc(20 * var(--px));
    overflow: hidden;
    border-radius: calc(16 * var(--px));
}

.staff__list {
    font-size: calc(13 * var(--px));
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 calc(10 * var(--px));
    padding: 0 calc(16 * var(--px));
}

.staff__term {
    color: #4a4f57;
    font-size: calc(12 * var(--px));
    font-weight: 700;
}

.staff__term,
.staff__desc--name {
    grid-column: 1 / -1;
}

.staff__term:first-child {
    margin: 0 calc(-16 * var(--px)) calc(18 * var(--px));
    padding: calc(10 * var(--px));
    background: var(--yellow);
    color: #111111;
    font-size: calc(15 * var(--px));
    font-weight: 800;
    letter-spacing: .1em;
}

.staff__desc {
    margin: 0 0 calc(8 * var(--px));
}

.staff__desc--name {
    background: linear-gradient(transparent 64%, var(--yellow) 64%);
    line-height: 1.4;
    padding: 0 calc(4 * var(--px));
    justify-self: center;
    margin-bottom: calc(18 * var(--px));
    font-size: calc(30 * var(--px));
}

.staff__desc + .staff__term {
    margin-bottom: calc(8 * var(--px));
}

.staff__desc--number {
    font-weight: 700;
    overflow-wrap: anywhere;
}

.staff__desc--number,
.staff__desc--number + .staff__desc--number {
    margin: 0;
    padding: calc(12 * var(--px)) calc(4 * var(--px));
    border: calc(2 * var(--px)) solid #dfe8f3;
    border-radius: calc(10 * var(--px));
    font-size: calc(21 * var(--px));
    line-height: 1.3;
}

.staff__pref {
    display: block;
    margin-bottom: calc(2 * var(--px));
    color: #4a4f57;
    font-size: calc(13 * var(--px));
}

.qualification-section__subhead {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(12 * var(--px));
    margin: calc(36 * var(--px)) 0 0;
    font-size: calc(20 * var(--px));
    text-align: center;
}

.qualification-section__subhead::before,
.qualification-section__subhead::after {
    content: "";
    flex: none;
    width: calc(24 * var(--px));
    height: calc(3 * var(--px));
    border-radius: calc(2 * var(--px));
    background: var(--yellow);
}

.license-lists {
    gap: calc(10 * var(--px));
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: calc(16 * var(--px));
    align-items: stretch;
}

.license-lists__group {
    overflow: hidden;
    border-radius: calc(10 * var(--px));
    background: var(--white);
    color: #111111;
}

.license-lists__title {
    margin: 0;
    padding: calc(12 * var(--px)) calc(4 * var(--px));
    font-size: calc(15 * var(--px));
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
}

.license-lists__group--required .license-lists__title {
    background: #c21f1f;
    color: var(--white);
}

.license-lists__title::before {
    background: var(--white) url(../img/icons/shield-navy.svg) center/calc(16 * var(--px)) no-repeat;
    border-radius: 50%;
    content: "";
    display: block;
    margin: 0 auto calc(6 * var(--px));
    width: calc(28 * var(--px));
    height: calc(28 * var(--px));
}

.license-lists__title-sub {
    display: block;
    margin-top: calc(4 * var(--px));
    font-size: calc(12 * var(--px));
    font-weight: 700;
}

.license-lists__list {
    list-style: none;
    margin: 0;
    padding: 0 calc(8 * var(--px));
}

.license-lists__item {
    font-size: calc(13 * var(--px));
    border-bottom: var(--px) solid #d9dde3;
    line-height: 1.6;
    overflow-wrap: anywhere;
    font-feature-settings: "palt";
    letter-spacing: 0;
    padding-left: calc(18 * var(--px));
    position: relative;
    padding-top: calc(10 * var(--px));
    padding-bottom: calc(10 * var(--px));
}

.license-lists__group--required .license-lists__item {
    font-weight: 700;
}

.license-lists__item::before {
    content: "";
    position: absolute;
    top: calc(16 * var(--px));
    left: 0;
    width: calc(14 * var(--px));
    height: calc(14 * var(--px));
    background: #c21f1f;
    -webkit-mask: url(../img/icons/check.svg) center/contain no-repeat;
    mask: url(../img/icons/check.svg) center/contain no-repeat;
}

.license-lists__item-note {
    color: #4a4f57;
    font-size: calc(11 * var(--px));
}

.license-lists__item:last-child {
    border: 0;
}

.license-lists__group--optional .license-lists__title {
    background: #0a55b0;
    color: var(--white);
}

.license-lists__group--optional .license-lists__title::before {
    background-image: url(../img/icons/check-navy.svg);
}

.license-lists__group--optional .license-lists__item::before {
    background: #0a55b0;
}

.qualification-section > .note {
    margin-top: calc(16 * var(--px));
    color: #dbe4f0;
    text-align: left;
}


/* ===== 施工事例 ===== */

.works-section {
    --h2-icon: url(../img/icons/camera-navy.svg);
}

.case {
    background: var(--white);
    margin-top: calc(20 * var(--px));
    padding: 0 0 calc(18 * var(--px));
    overflow: hidden;
    border: calc(2 * var(--px)) solid var(--navy);
    border-radius: calc(16 * var(--px));
}

.section__title + .case {
    margin-top: 0;
}

.case__title {
    align-items: center;
    display: flex;
    font-weight: 800;
    gap: calc(8 * var(--px));
    margin: 0 0 calc(14 * var(--px));
    padding: calc(13 * var(--px)) calc(16 * var(--px));
    background: var(--navy);
    color: var(--white);
    font-size: calc(18 * var(--px));
}

.case__title::before {
    content: "";
    flex: none;
    width: calc(28 * var(--px));
    height: calc(28 * var(--px));
    border-radius: 50%;
    background: var(--yellow) url(../img/icons/bolt-navy.svg) center/calc(16 * var(--px)) no-repeat;
}

.case__photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    gap: calc(14 * var(--px));
    margin-top: calc(10 * var(--px));
    margin-bottom: calc(10 * var(--px));
}

.case__photos::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    width: calc(26 * var(--px));
    height: calc(26 * var(--px));
    margin: calc(-13 * var(--px)) 0 0 calc(-13 * var(--px));
    border-radius: 50%;
    background: var(--yellow) url(../img/icons/chevron-right-navy.svg) center/calc(14 * var(--px)) no-repeat;
    box-shadow: 0 0 0 calc(3 * var(--px)) var(--white);
}

.case__photo {
    aspect-ratio: 308 / 220;
}

.case__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case__list {
    margin: calc(10 * var(--px)) 0 0;
    display: grid;
    font-size: calc(13 * var(--px));
    grid-template-columns: calc(68 * var(--px)) 1fr;
    line-height: 1.65;
    border-top: var(--px) solid #d9dde3;
    gap: 0 calc(12 * var(--px));
}

.case__photos,
.case__list,
.case__total {
    margin-right: calc(16 * var(--px));
    margin-left: calc(16 * var(--px));
}

.case__term {
    font-weight: 700;
    align-self: stretch;
    color: var(--navy);
    text-align: left;
}

.case__term,
.case__desc {
    border-bottom: var(--px) dashed #d9dde3;
    padding-top: calc(7 * var(--px));
    padding-bottom: calc(7 * var(--px));
}

.case__desc {
    margin: 0;
}

.case__total {
    align-items: center;
    display: flex;
    font-size: calc(14 * var(--px));
    font-weight: 700;
    justify-content: space-between;
    background: #fff6d6;
    border: calc(2 * var(--px)) solid var(--yellow);
    border-radius: calc(12 * var(--px));
    padding: calc(10 * var(--px)) calc(16 * var(--px));
    margin-top: calc(12 * var(--px));
}

.case__total-price {
    font-weight: 800;
    letter-spacing: .01em;
    color: #c21f1f;
    font-size: calc(26 * var(--px));
}

.case__tax {
    margin-left: calc(2 * var(--px));
    font-size: calc(13 * var(--px));
    font-weight: 700;
}


/* ===== お客様の声 ===== */

.voice-section {
    background: #fff6d6;
    --h2-icon: url(../img/icons/chat-navy.svg);
}

.voice {
    position: relative;
}

.voice,
.section__title + .voice {
    text-align: left;
    margin-top: calc(22 * var(--px));
}

.section__title + .voice {
    margin-top: 0;
}

.voice__person {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(14 * var(--px));
    padding-bottom: calc(14 * var(--px));
}

.voice__avatar {
    border: calc(3 * var(--px)) solid var(--yellow);
    border-radius: 50%;
    position: relative;
    flex: none;
    width: calc(72 * var(--px));
    height: calc(72 * var(--px));
    background-color: var(--white);
    background-origin: border-box;
    background-repeat: no-repeat;
}

.voice__avatar--1 {
    background-image: url(../img/avatar-1.webp);
    background-position: 50.01% 120.40%;
    background-size: 66.95% 88.89%;
}

.voice__avatar::after {
    content: "";
    position: absolute;
    top: calc(71 * var(--px));
    left: calc(22 * var(--px));
    width: calc(22 * var(--px));
    height: calc(13 * var(--px));
    background: var(--white);
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.voice__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: calc(4 * var(--px));
}

.voice__badge {
    padding: calc(2 * var(--px)) calc(10 * var(--px));
    border-radius: calc(4 * var(--px));
    background: #dfe8f3;
    color: #083676;
    font-size: calc(12 * var(--px));
    font-weight: 700;
    line-height: calc(21.6 * var(--px));
}

.voice__title {
    font-weight: 800;
    line-height: 1.55;
    position: relative;
    margin: 0;
    padding: calc(16 * var(--px)) calc(18 * var(--px)) calc(12.4 * var(--px));
    border-radius: calc(16 * var(--px)) calc(16 * var(--px)) 0 0;
    background: var(--white) linear-gradient(90deg, transparent calc(18 * var(--px)), #d9dde3 calc(18 * var(--px)) calc(100% - 18 * var(--px)), transparent calc(100% - 18 * var(--px))) left bottom/100% var(--px) no-repeat;
    font-size: calc(17 * var(--px));
}

.voice__title::before {
    background: url(../img/icons/quote-yellow.svg) center/contain no-repeat;
    content: "";
    display: block;
    height: calc(22 * var(--px));
    width: calc(30 * var(--px));
    margin: 0 0 calc(7.5 * var(--px));
}

.voice__text {
    font-size: calc(14 * var(--px));
    padding: calc(11.9 * var(--px)) calc(20 * var(--px)) calc(16.1 * var(--px)) calc(18 * var(--px));
    border-radius: 0 0 calc(16 * var(--px)) calc(16 * var(--px));
    background: var(--white);
}

.voice__avatar--2 {
    background-image: url(../img/avatar-2.webp);
    background-position: 50.00% 218.54%;
    background-size: 76.07% 94.45%;
}

.voice__avatar--3 {
    background-image: url(../img/avatar-3.webp);
    background-position: 50.01% 197.05%;
    background-size: 67.87% 93.06%;
}


/* ===== 対応エリア ===== */

.area-section {
    background: #eaf3fb;
    --h2-icon: url(../img/icons/pin-navy.svg);
}

.area-section::before {
    height: calc(750 * var(--px));
    background: url(../img/area-bg.webp) left top/calc(390 * var(--px)) calc(750 * var(--px)) no-repeat;
}

.area-section__prefectures {
    color: #0a55b0;
    font-weight: 800;
    line-height: 1.5;
    margin: 0 0 calc(12 * var(--px));
    font-size: calc(25 * var(--px));
}

.area-section__map {
    display: block;
    width: 100%;
    height: auto;
    margin: calc(20 * var(--px)) 0 calc(4 * var(--px));
    border-radius: calc(10 * var(--px));
}

.area-list {
    margin: calc(12 * var(--px)) 0 0;
    padding: 0;
    list-style: none;
}

.area-list__item {
    border-bottom: var(--px) solid #c3d6ec;
    font-size: calc(14 * var(--px));
    line-height: 1.7;
    min-height: calc(58 * var(--px));
    padding: calc(11 * var(--px)) 0 calc(11 * var(--px)) calc(80 * var(--px));
    position: relative;
}

.area-list__pref {
    gap: calc(6 * var(--px));
    position: absolute;
    top: calc(14 * var(--px));
    left: 0;
    display: grid;
    place-items: center;
    width: calc(68 * var(--px));
    height: calc(30 * var(--px));
    border-radius: calc(6 * var(--px));
    background: var(--navy);
    color: var(--white);
    font-size: calc(15 * var(--px));
}

.area-list__pref::before {
    -webkit-mask: url(../img/icons/pin-navy.svg) center/contain no-repeat;
    mask: url(../img/icons/pin-navy.svg) center/contain no-repeat;
    background: var(--navy);
    content: "";
    flex: none;
    height: calc(18 * var(--px));
    width: calc(18 * var(--px));
    display: none;
}

.area-section .box {
    border: var(--px) solid #c3d6ec;
}

.box--area .box__title::before,
.box--hours .box__title::before {
    background-image: url(../img/icons/pin-navy.svg);
}

.box + .area-section__text {
    margin-top: calc(20 * var(--px));
}

.box:has(.terms) {
    border: calc(2 * var(--px)) solid var(--navy);
}

.box:has(.terms) .box__title {
    margin-bottom: calc(16 * var(--px));
}

.box:has(.terms) .box__title::before {
    background-image: url(../img/icons/clock-navy.svg);
}

.terms {
    margin: 0;
    font-size: calc(14 * var(--px));
}

.terms__item {
    padding: calc(12 * var(--px)) calc(14 * var(--px)) calc(13 * var(--px));
    border: calc(1.5 * var(--px)) solid;
    border-radius: calc(10 * var(--px));
}

.terms__item--tel {
    border-color: #74110a;
}

.terms__term {
    font-weight: 700;
    display: inline-block;
    padding: var(--px) calc(10 * var(--px));
    border-radius: calc(4 * var(--px));
    background: #dfe8f3;
    color: var(--navy);
    font-size: calc(13 * var(--px));
}

.terms__term--tel {
    background: #a4130a;
    color: var(--white);
}

.terms__desc {
    margin: calc(4 * var(--px)) 0 0;
    font-size: calc(22 * var(--px));
    font-weight: 800;
    letter-spacing: .01em;
}

.terms__note {
    margin-left: calc(2 * var(--px));
    font-size: calc(14 * var(--px));
    font-weight: 400;
    letter-spacing: .02em;
}

.terms__item--line {
    border-color: #024d25;
    margin-top: calc(10 * var(--px));
}

.terms__term--line {
    background: #006d2d;
    color: var(--white);
}


/* ===== ご依頼の流れ ===== */

.flow-section {
    --h2-icon: url(../img/icons/list-navy.svg);
}

.flow {
    list-style: none;
    margin: 0;
    padding: 0;
    --notch: calc(16 * var(--px));
}

.flow__step {
    position: relative;
    padding: calc(18 * var(--px)) calc(16 * var(--px)) calc(18 * var(--px) + var(--notch)) calc(78 * var(--px));
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), 50% 100%, 0 calc(100% - var(--notch)));
    margin: 0 0 calc(7 * var(--px) - var(--notch));
}

.flow__step:nth-child(1) {
    background: #f1f5fa;
}

.flow__step,
.flow__step + .flow__step,
.flow__step:last-child {
    padding-left: calc(74 * var(--px));
}

.flow__step:first-child {
    border-radius: calc(16 * var(--px)) calc(16 * var(--px)) 0 0;
}

.flow__step::before {
    content: attr(data-num);
    position: absolute;
    z-index: 1;
    left: calc(16 * var(--px));
    top: calc(22.5 * var(--px));
}

.flow__step::before,
.flow__step + .flow__step::before,
.flow__step:last-child::before {
    color: var(--navy);
    font-family: "Gen Interface JP Display", sans-serif;
    font-size: calc(36 * var(--px));
    font-weight: 300;
    line-height: 1;
    letter-spacing: -.03em;
    font-variant-numeric: tabular-nums;
}

.flow__title {
    font-weight: 800;
    margin-bottom: calc(6 * var(--px));
    padding-top: calc(6 * var(--px));
    font-size: calc(19 * var(--px));
}

.flow__text {
    font-size: calc(14 * var(--px));
}

.flow__step + .flow__step {
    clip-path: polygon(0 0, 50% var(--notch), 100% 0, 100% calc(100% - var(--notch)), 50% 100%, 0 calc(100% - var(--notch)));
    padding-top: calc(18 * var(--px) + var(--notch));
}

.flow__step:nth-child(2) {
    background: #e5edf6;
}

.flow__step + .flow__step::before {
    top: calc(22.5 * var(--px) + var(--notch));
}

.flow__text--detail {
    margin-top: calc(8 * var(--px));
    color: #4a4f57;
    font-size: calc(13 * var(--px));
    line-height: 1.7;
}

.flow__step:nth-child(3) {
    background: #d8e4f1;
}

.flow__text--point {
    position: relative;
    padding: calc(10 * var(--px)) calc(12 * var(--px)) calc(10 * var(--px)) calc(38 * var(--px));
    border-radius: calc(8 * var(--px));
    background: #fff6d6;
    font-weight: 700;
    line-height: 1.6;
}

.flow__text--point::before {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(12 * var(--px));
    width: calc(18 * var(--px));
    height: calc(18 * var(--px));
    margin-top: calc(-9 * var(--px));
    background: var(--navy);
    -webkit-mask: url(../img/icons/check.svg) center/contain no-repeat;
    mask: url(../img/icons/check.svg) center/contain no-repeat;
}

.flow__step:last-child {
    clip-path: polygon(0 0, 50% var(--notch), 100% 0, 100% 100%, 0 100%);
    margin-bottom: 0;
    background: var(--navy);
    color: var(--white);
    border-radius: 0 0 calc(16 * var(--px)) calc(16 * var(--px));
    padding-bottom: calc(18 * var(--px));
}

.flow__step:last-child::before {
    color: var(--yellow);
}

.flow__step:last-child .flow__text--detail {
    color: #d3dcea;
}


/* ===== よくあるご質問 ===== */

.faq-section {
    background: #f4f5f7;
    --h2-icon: url(../img/icons/question-navy.svg);
}

.faq {
    background: var(--white);
    border-radius: calc(12 * var(--px));
    display: flow-root;
    margin-top: calc(12 * var(--px));
}

@media (hover: hover) {
    .faq:has(> .faq__summary:hover) {
        background: #ffefb3;
        box-shadow: inset 0 0 0 calc(2 * var(--px)) var(--yellow);
    }
}

.faq__summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    font-weight: 700;
    line-height: 1.6;
    list-style: none;
    min-height: calc(60 * var(--px));
    position: relative;
    padding: calc(14 * var(--px)) calc(54 * var(--px)) calc(14 * var(--px)) calc(58 * var(--px));
    font-size: calc(16 * var(--px));
}

.faq__summary::-webkit-details-marker {
    display: none;
}

.faq__summary::after {
    content: "";
    position: absolute;
    top: 50%;
    right: calc(16 * var(--px));
    width: calc(26 * var(--px));
    height: calc(26 * var(--px));
    margin-top: calc(-13 * var(--px));
    border-radius: 50%;
    background: var(--navy) url(../img/icons/plus-white.svg) center/calc(12 * var(--px)) no-repeat;
}

.faq__summary::before {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(14 * var(--px));
    width: calc(32 * var(--px));
    height: calc(32 * var(--px));
    margin-top: calc(-16 * var(--px));
    border-radius: calc(8 * var(--px));
    background: var(--navy) url(../img/icons/q-yellow.svg) center/calc(20 * var(--px)) no-repeat;
}

.faq[open] .faq__summary::after {
    background-image: url(../img/icons/minus-white.svg);
}

@media (hover: hover) {
    .faq:has(> .faq__summary:hover) .faq__summary::after {
        background-color: #1c4a86;
    }
}

.faq__answer {
    font-size: calc(14 * var(--px));
    position: relative;
    margin: 0 calc(12 * var(--px)) calc(12 * var(--px));
    padding: calc(14 * var(--px)) calc(14 * var(--px)) calc(14 * var(--px)) calc(54 * var(--px));
    border-radius: calc(10 * var(--px));
    background: #fff6d6;
}

.faq__answer::before {
    content: "";
    position: absolute;
    top: calc(13 * var(--px));
    left: calc(12 * var(--px));
    width: calc(30 * var(--px));
    height: calc(30 * var(--px));
    border-radius: calc(8 * var(--px));
    background: #c21f1f url(../img/icons/a-white.svg) center/calc(16 * var(--px)) no-repeat;
}


/* ===== お問い合わせ ===== */

.section.contact-section {
    background: var(--yellow);
    overflow: hidden;
    --h2-icon: url(../img/icons/phone-navy.svg);
    padding-bottom: 0;
}

.contact-section > * {
    position: relative;
    z-index: 1;
}

.contact-section__text {
    font-weight: 700;
    text-align: center;
    font-size: calc(18 * var(--px));
    line-height: 1.7;
}


/* ===== 運営情報 ===== */

.company-section {
    --h2-icon: url(../img/icons/building-navy.svg);
}

.company {
    font-size: calc(14 * var(--px));
    margin: 0;
    border-top: calc(2 * var(--px)) solid var(--navy);
}

.company__row {
    border-bottom: var(--px) solid #d9dde3;
    padding: calc(16 * var(--px)) calc(2 * var(--px));
    padding-top: calc(12 * var(--px));
    padding-bottom: calc(12 * var(--px));
}

.company__term {
    display: flex;
    align-items: center;
    gap: calc(8 * var(--px));
    color: #4a4f57;
    font-size: calc(13 * var(--px));
    font-weight: 700;
}

.company__term::before {
    content: "";
    flex: none;
    width: calc(8 * var(--px));
    height: calc(8 * var(--px));
    border-radius: calc(2 * var(--px));
    background: var(--yellow);
}

.company__desc {
    margin: calc(4 * var(--px)) 0 0;
    font-size: calc(15 * var(--px));
}

.company__link {
    display: inline-flex;
    align-items: center;
    gap: calc(4 * var(--px));
}

.company__link::after {
    content: "";
    flex: none;
    width: calc(12 * var(--px));
    height: calc(12 * var(--px));
    background: currentColor;
    -webkit-mask: url(../img/icons/chevron-down.svg) center/contain no-repeat;
    mask: url(../img/icons/chevron-down.svg) center/contain no-repeat;
}


/* ===== フッター ===== */

/* 追従CTAの下に隠れる位置に置く（main 下の余白をそのまま使う） */
.site-footer {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    max-width: var(--content-max);
    height: calc(150 * var(--px));
    margin: 0 auto;
    padding: 0 var(--gutter) calc(24 * var(--px));
    background: var(--white);
    color: #4a4f57;
    font-size: calc(12 * var(--px));
}

.site-footer__copyright {
    font-size: inherit;
}


/* ===== 写真の帯 ===== */

.photo-band {
    height: calc(160 * var(--px) + var(--slant) * 2);
    border-radius: 0;
}


/* ===== 追従CTA ===== */

.sticky {
    bottom: 0;
    left: 50%;
    pointer-events: none;
    position: fixed;
    transform: translate(-50%, calc(100% + 16 * var(--px)));
    transition: transform .35s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .35s;
    visibility: hidden;
    width: min(100%, var(--content-max));
    z-index: 10;
    display: flex;
    gap: calc(8 * var(--px));
    height: calc(96 * var(--px) + env(safe-area-inset-bottom));
    padding: calc(14 * var(--px)) calc(8 * var(--px)) env(safe-area-inset-bottom);
    background: linear-gradient(180deg, #ffd21f00 0, var(--yellow) 20%, var(--yellow) 100%);
}

.sticky.is-visible {
    transform: translate(-50%, 0);
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.sticky__btn {
    --top1: #ec4a35;
    --top2: #dc2a1f;
    --top3: #c52218;
    --edge: #74110a;
    --sub: #a4130a;
    --main-gap: calc(4 * var(--px));
    --sub-gap: calc(6 * var(--px));
    position: relative;
    flex: 0 0 calc(148 * var(--px));
    display: flex;
    flex-direction: column;
    height: calc(70 * var(--px));
    border-radius: calc(12 * var(--px));
    box-shadow: 0 calc(4 * var(--px)) 0 var(--edge);
    color: var(--white);
    font-size: calc(13.3333 * var(--px)); /* button 要素だった時の既定値（子要素が継承） */
    line-height: normal;
    letter-spacing: calc(.5 * var(--px));
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s ease-out, box-shadow .15s ease-out, filter .15s ease-out;
}

.sticky__btn:focus-visible {
    outline: calc(2 * var(--px)) solid #083676;
    outline-offset: calc(3 * var(--px));
}

@media (hover: hover) {
    .sticky__btn:hover {
        filter: brightness(1.07) saturate(1.06);
        transform: translateY(calc(-1 * var(--px)));
        box-shadow: 0 calc(5 * var(--px)) 0 var(--edge);
    }
}

.sticky__btn:active {
    filter: brightness(.96);
    transform: translateY(calc(3 * var(--px)));
    box-shadow: 0 var(--px) 0 var(--edge);
    transition-duration: .05s;
}

.sticky__main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--main-gap);
    height: calc(50 * var(--px));
    padding-top: var(--px);
    border: var(--px) solid var(--edge);
    border-bottom: 0;
    border-radius: calc(12 * var(--px)) calc(12 * var(--px)) 0 0;
    background: linear-gradient(180deg, var(--top1) 0, var(--top2) 34.6%, var(--top3) 100%);
}

.sticky__main::before {
    content: "";
    flex: none;
    width: calc(28 * var(--px));
    height: calc(28 * var(--px));
    background: url(../img/icons/phone-circle-red.svg) center/contain no-repeat;
}

.sticky__label {
    font-size: calc(20 * var(--px));
    font-weight: 800;
    line-height: 1;
}

.sticky__particle {
    font-size: calc(16 * var(--px));
}

.sticky__sub {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sub-gap);
    height: calc(20 * var(--px));
    border: var(--px) solid var(--edge);
    border-top: 0;
    border-radius: 0 0 calc(12 * var(--px)) calc(12 * var(--px));
    background: var(--sub);
    font-size: calc(11 * var(--px));
    line-height: 1;
    letter-spacing: 0;
}

.sticky__sub-item {
    position: relative;
    top: calc(.33 * var(--px));
    opacity: .95;
}

.sticky__sub-item:first-child {
    font-weight: 500;
}

.sticky__sub-item + .sticky__sub-item {
    display: flex;
    align-items: center;
    gap: var(--sub-gap);
    font-weight: 700;
}

.sticky__sub-item + .sticky__sub-item::before {
    content: "";
    position: relative;
    top: calc(-.33 * var(--px));
    width: var(--px);
    margin: 0 calc(-.5 * var(--px));
    height: calc(11 * var(--px));
    background: #ffffff4d;
}

.sticky__btn--line {
    --top1: #12f36e;
    --top2: #06c755;
    --top3: #00973e;
    --edge: #024d25;
    --sub: #006d2d;
    --main-gap: calc(8 * var(--px));
    --sub-gap: calc(8 * var(--px));
    flex: 1 1 auto;
}

.sticky__tab {
    position: absolute;
    bottom: 100%;
    left: 50%;
    display: block;
    width: calc(162 * var(--px));
    height: calc(22 * var(--px));
    padding: calc(1.25 * var(--px)) 0 0;
    text-align: center;
    border: var(--px) solid var(--white);
    border-bottom: 0;
    border-radius: calc(10 * var(--px)) calc(10 * var(--px)) 0 0;
    background: #083676;
    font-size: calc(12 * var(--px));
    font-weight: 700;
    line-height: calc(18 * var(--px));
    white-space: nowrap;
    transform: translateX(-50%);
}

.sticky__tab-em {
    color: var(--yellow);
    font-size: calc(14 * var(--px));
    font-weight: 800;
}

.sticky__btn--line .sticky__main::before {
    background-image: url(../img/icons/chat-circle-green.svg);
}

.sticky__btn--line .sticky__label {
    position: relative;
    top: calc(.75 * var(--px));
    font-size: calc(24 * var(--px));
}

.sticky__btn--line .sticky__particle {
    font-size: calc(20 * var(--px));
}

@media (prefers-reduced-motion: reduce) {
    .sticky__btn {
        transition: none;
    }

    .sticky__btn:hover,
    .sticky__btn:active {
        transform: none;
    }
}


/* ===== ダイアログ・メニュー ===== */

dialog {
    width: 90%;
    max-width: calc(340 * var(--px));
    max-height: 80vh;
    padding: calc(24 * var(--px));
    overflow: auto;
    border: 0;
    border-radius: calc(16 * var(--px));
    color: #111111;
    font-size: calc(14 * var(--px));
    box-shadow: 0 calc(10 * var(--px)) calc(40 * var(--px)) #00000040;
}

.site-menu {
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 25;
    width: min(100%, var(--content-max));
    max-width: var(--content-max);
    height: auto;
    max-height: none;
    margin: 0 auto;
    padding: 0;
    overscroll-behavior: contain;
    border-radius: 0;
    background: #0a1428a6;
    box-shadow: none;
}

/* ナビが短いときも下端まで白背景にする（長いときは .site-menu 自体がスクロール） */
.site-menu[open] {
    display: flex;
    flex-direction: column;
    animation: fade-in .28s ease-out;
}

.site-menu.is-closing {
    animation: fade-out .2s ease-in forwards;
}

.site-menu__head,
.site-menu__nav {
    padding-right: var(--gutter);
    padding-left: var(--gutter);
    background: var(--white);
}

.site-menu[open] > * {
    animation: menu-in .28s cubic-bezier(.22, 1, .36, 1);
}

.site-menu.is-closing > * {
    animation: menu-out .2s ease-in forwards;
}

.site-menu__nav {
    flex-grow: 1;
    padding-bottom: calc(18 * var(--px));
    box-shadow: 0 calc(16 * var(--px)) calc(24 * var(--px)) #0a142833;
}

@keyframes menu-in {
    from {
        opacity: 0;
        transform: translateY(calc(-14 * var(--px)));
    }
}

@keyframes menu-out {
    to {
        opacity: 0;
        transform: translateY(calc(-14 * var(--px)));
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
}

@keyframes fade-out {
    to {
        opacity: 0;
    }
}

.site-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(12 * var(--px)) var(--gutter);
    border-bottom: calc(3 * var(--px)) solid var(--yellow);
}

.site-menu__title {
    font-size: calc(18 * var(--px));
    font-weight: 800;
}

.site-menu__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: calc(12 * var(--px));
    padding: calc(14 * var(--px)) calc(4 * var(--px));
    border-bottom: var(--px) solid #d9dde3;
    color: #111111;
    font-size: calc(15 * var(--px));
    font-weight: 700;
    text-decoration: none;
}

@media (hover: hover) {
    .site-menu__link:hover {
        background: #fff6d6;
    }
}

.site-menu__arrow {
    color: #0a55b0;
    font-size: calc(22 * var(--px));
    line-height: 1;
}

@media (prefers-reduced-motion: reduce) {
    .site-menu,
    .site-menu > * {
        animation: none!important;
    }
}


/* ===== PC ===== */

/* PC では電話をかけられないため、電話番号のリンクを押せないようにする */
@media (min-width: 768px) {
    a[href^="tel:"] {
        pointer-events: none;
    }
}


/* ===== 印刷 ===== */

@media print {
    body {
        background: var(--white);
    }

    .site-header {
        position: static;
        width: auto;
        max-width: var(--content-max);
        margin: 0 auto;
        transform: none;
    }

    main {
        max-width: var(--content-max);
        margin: 0 auto;
        padding: 0;
        box-shadow: none;
    }

    .site-footer {
        height: auto;
        padding: calc(16 * var(--px)) 0;
    }

    .menu-toggle,
    .sticky,
    dialog {
        display: none;
    }

    .case,
    .box,
    .voice {
        break-inside: avoid;
    }
}
