/*
 * テックパートナーLP「打ち合わせメモ」版
 * site.css の後に読み込んで上書きする。グリッドや揃えは意図的に崩している。
 */
:root {
    --teal: #00777a;
    --teal-deep: #141414;
    --teal-ink: #141414;
    --aqua: #00777a;
    --star: #141414;
    --star-hover: #000;
    --ink: #141414;
    --ink-soft: #2e2c28;
    --muted: #5d5a54;
    --line: #d9d6cc;
    --paper: #f6f5f1;
    --paper-deep: #ecebe4;
    --surface: #fff;
    --white: #fff;
    --marker: #ffe94a;
    --sticky: #fff27a;
    --pen: #00777a;
    --font-display: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic UI", sans-serif;
    --font-hand: "Klee One", "Zen Kaku Gothic New", cursive;
}

body {
    background: var(--paper);
    color: var(--ink);
    line-height: 1.85;
}

::selection {
    background: var(--marker);
    color: var(--ink);
}

.z-hand {
    font-family: var(--font-hand);
    font-weight: 600;
    color: var(--pen);
}

.z-mark {
    position: relative;
    z-index: 0;
    white-space: nowrap;
}

.z-mark::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: -0.12em;
    right: -0.2em;
    bottom: 0.06em;
    height: 0.42em;
    background: var(--marker);
    transform: rotate(-1.4deg) skewX(-12deg);
    border-radius: 2px 6px 3px 8px;
}

/* ----- Nav ----- */
.site-nav {
    background: var(--paper);
    border-bottom: 2px solid var(--ink);
    backdrop-filter: none;
}

.site-nav__inner {
    min-height: 4.5rem;
}

.site-nav__links {
    gap: 0.15rem 1.6rem;
}

.site-nav__links a {
    color: var(--ink);
    font-weight: 700;
}

.site-nav__links a:hover {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-decoration-color: var(--marker);
    text-underline-offset: 4px;
}

.site-nav__links a.is-cta {
    display: inline-block;
    color: var(--ink);
    background: var(--marker);
    border: 2px solid var(--ink);
    border-radius: 0;
    padding: 0.35rem 0.9rem;
    transform: rotate(-2.5deg);
}

.site-nav__links a.is-cta:hover {
    background: var(--ink);
    color: var(--marker);
    text-decoration: none;
}

.site-nav__toggle {
    border: 2px solid var(--ink);
    border-radius: 0;
    font-weight: 700;
}

/* ----- Buttons ----- */
.btn-ti {
    border: 2px solid var(--ink);
    border-radius: 0;
    font-weight: 700;
    padding: 0.9rem 1.5rem;
}

.btn-ti--signal {
    background: var(--marker);
    color: var(--ink);
}

.btn-ti--signal:hover {
    background: var(--ink);
    color: var(--marker);
}

.btn-ti--line {
    background: transparent;
    color: var(--ink);
}

.btn-ti--line:hover {
    background: var(--white);
    color: var(--ink);
}

.btn-ti--ink {
    background: var(--ink);
    color: #fff;
}

.btn-ti--ink:hover {
    background: var(--marker);
    color: var(--ink);
}

/* ----- Hero ----- */
.z-hero {
    position: relative;
    padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3.5rem, 8vw, 6.5rem);
    background-color: var(--paper);
    background-image:
        linear-gradient(rgba(20, 20, 20, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 20, 20, 0.055) 1px, transparent 1px);
    background-size: 26px 26px;
    background-position: -1px -1px;
    border-bottom: 2px solid var(--ink);
}

.z-hero__wrap {
    position: relative;
}

.z-hero__kicker {
    display: inline-block;
    margin: 0 0 0.6rem 0.4rem;
    font-size: clamp(1rem, 2vw, 1.25rem);
    transform: rotate(-3deg);
}

.z-hero__title {
    margin: 0 0 2rem;
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 7.4vw, 5.6rem);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.01em;
}

.z-hero__line {
    display: block;
}

.z-hero__line--2 {
    margin-left: 1.3em;
}

.z-hero__line--3 {
    margin-left: 0.15em;
    font-size: 0.8em;
    letter-spacing: 0.06em;
}

.z-hero__line--4 {
    margin-left: 4.8em;
    font-size: 0.8em;
}

.z-hero__x {
    display: inline-block;
    margin-left: 0.08em;
    color: var(--pen);
    font-weight: 500;
    transform: translateY(-0.06em) rotate(8deg);
}

.z-hero__body {
    max-width: 33rem;
    margin-left: clamp(0rem, 30vw, 22rem);
}

.z-hero__lead {
    margin: 0 0 1.75rem;
    font-size: 1.02rem;
    color: var(--ink-soft);
}

.z-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
}

.z-hero__actions .btn-ti--line {
    border-width: 0 0 2px;
    padding-inline: 0.2rem;
}

.z-note {
    position: relative;
    width: 17.5rem;
    margin: 2.5rem 0 0 auto;
    padding: 1.9rem 1.5rem 1.4rem;
    background: var(--sticky);
    color: var(--ink);
    transform: rotate(3.5deg);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 6px 14px 22px -12px rgba(0, 0, 0, 0.35);
}

.z-note::before {
    content: "";
    position: absolute;
    top: -0.75rem;
    left: 50%;
    width: 6.5rem;
    height: 1.6rem;
    background: rgba(255, 255, 255, 0.62);
    transform: translateX(-55%) rotate(-5deg);
    clip-path: polygon(3% 0, 97% 6%, 100% 92%, 0 100%);
}

.z-note__label {
    margin: 0;
    font-family: var(--font-hand);
    font-weight: 600;
    font-size: 0.95rem;
}

.z-note__price {
    position: relative;
    display: inline-block;
    margin: 0.2rem 0 0;
    font-size: 3.1rem;
    font-weight: 900;
    line-height: 1.1;
}

.z-note__price::after {
    content: "";
    position: absolute;
    inset: -0.2em -0.45em -0.15em -0.35em;
    border: 2px solid var(--pen);
    border-radius: 52% 46% 55% 42% / 58% 44% 52% 46%;
    transform: rotate(-7deg);
    pointer-events: none;
}

.z-note__unit {
    display: inline-block;
    margin: 0 0 0.9rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 700;
}

.z-note ul {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.92rem;
    line-height: 1.6;
}

.z-note li {
    padding: 0.35rem 0 0.35rem 1rem;
    text-indent: -1rem;
    border-top: 1px dashed rgba(20, 20, 20, 0.35);
}

.z-note li::before {
    content: "・";
}

@media (min-width: 1000px) {
    .z-note {
        position: absolute;
        top: 0.5rem;
        right: 0;
        margin: 0;
    }
}

@media (max-width: 759px) {
    .z-hero__line--2 {
        margin-left: 0.8em;
    }

    .z-hero__line--4 {
        margin-left: 2.6em;
    }

    .z-hero__body {
        margin-left: 0;
    }

    .z-note {
        width: auto;
        max-width: 19rem;
        margin: 2.75rem 0.75rem 0 auto;
        transform: rotate(2.5deg);
    }
}

/* ----- Shared section bits ----- */
.z-sec {
    position: relative;
}

.z-sec__title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0.01em;
    color: var(--ink);
}

.z-vtitle {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: 0.14em;
}

@media (min-width: 900px) {
    .z-vtitle {
        writing-mode: vertical-rl;
        text-orientation: upright;
    }
}

/* ----- Worries ----- */
.z-worries {
    padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(3rem, 6vw, 5rem);
}

.z-worries__grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 900px) {
    .z-worries__grid {
        grid-template-columns: auto 1fr;
        gap: 4.5rem;
    }

    .z-worries .z-vtitle {
        margin-top: -1.5rem;
    }
}

.z-worry {
    margin: 0;
    padding: 0;
    list-style: none;
}

.z-worry li {
    position: relative;
    padding: 0.25rem 0 0 2.6rem;
}

.z-worry li + li {
    margin-top: 2.6rem;
}

.z-worry li::before {
    content: "「";
    position: absolute;
    top: -0.55rem;
    left: -0.3rem;
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1;
    color: var(--ink);
}

.z-worry h3 {
    margin: 0 0 0.45rem;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 700;
    line-height: 1.55;
}

.z-worry p {
    margin: 0;
    color: var(--muted);
    max-width: 30rem;
}

@media (max-width: 759px) {
    .z-worry li:nth-child(2) {
        margin-left: 1.75rem;
    }

    .z-worry li:nth-child(3) {
        margin-left: 0.6rem;
    }
}

@media (min-width: 760px) {
    .z-worry li:nth-child(1) {
        width: 64%;
    }

    .z-worry li:nth-child(2) {
        width: 60%;
        margin-left: 36%;
        margin-top: 1.4rem;
    }

    .z-worry li:nth-child(3) {
        width: 62%;
        margin-left: 9%;
        margin-top: 3.4rem;
    }
}

.z-worries__aside {
    margin: 3rem 0 0;
    text-align: right;
    font-size: 1.1rem;
    transform: rotate(-2deg);
}

/* ----- Service (dark) ----- */
.z-service {
    padding: clamp(4rem, 9vw, 6.5rem) 0 clamp(5rem, 10vw, 8rem);
    background: var(--ink);
    color: rgba(255, 255, 255, 0.9);
}

.z-service__head {
    display: grid;
    gap: 1.25rem 3rem;
    margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

@media (min-width: 900px) {
    .z-service__head {
        grid-template-columns: auto 1fr;
        align-items: end;
    }
}

.z-service .z-sec__title {
    color: #fff;
    font-size: clamp(2.2rem, 6vw, 4.4rem);
}

.z-service .z-sec__title .z-mark {
    color: var(--ink);
}

.z-service .z-sec__title .z-mark::before {
    top: 0.12em;
    bottom: 0;
    height: auto;
    left: -0.18em;
    right: -0.25em;
    transform: rotate(-1.8deg);
}

.z-service__lead {
    margin: 0;
    max-width: 27rem;
    justify-self: end;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.97rem;
}

.z-stairs {
    display: grid;
    gap: 2.75rem;
}

.z-stair {
    position: relative;
    max-width: 34rem;
    padding: 1.5rem 1.6rem 1.6rem 3.4rem;
    background: var(--paper);
    color: var(--ink);
}

.z-stair__no {
    position: absolute;
    top: -1.35rem;
    left: -0.6rem;
    font-family: var(--font-hand);
    font-weight: 600;
    font-size: 3.6rem;
    line-height: 1;
    color: var(--marker);
    text-shadow: 2px 2px 0 var(--ink);
}

.z-stair h3 {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
    font-weight: 900;
}

.z-stair p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.z-stair:not(:last-child)::after {
    content: "↓";
    position: absolute;
    bottom: -2.6rem;
    left: 2.2rem;
    font-family: var(--font-hand);
    font-size: 2rem;
    line-height: 1;
    color: var(--marker);
    transform: rotate(-18deg);
}

@media (max-width: 899px) {
    .z-stair:nth-child(1) {
        margin-right: 1.5rem;
    }

    .z-stair:nth-child(2) {
        margin-inline: 0.75rem;
    }

    .z-stair:nth-child(3) {
        margin-left: 1.5rem;
    }
}

@media (min-width: 900px) {
    .z-stairs {
        gap: 2rem;
    }

    .z-stair:nth-child(2) {
        margin-left: 24%;
    }

    .z-stair:nth-child(3) {
        margin-left: 46%;
        transform: rotate(-1deg);
    }

    .z-stair:not(:last-child)::after {
        content: "↘";
        bottom: -2.1rem;
        left: auto;
        right: -2.4rem;
        font-size: 2.6rem;
        transform: none;
    }
}

/* ----- Pricing ----- */
.z-pricing {
    padding: clamp(4rem, 8vw, 6rem) 0 clamp(4rem, 9vw, 7rem);
}

.z-pricing__head {
    display: grid;
    gap: 1rem 2.5rem;
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

@media (min-width: 800px) {
    .z-pricing__head {
        grid-template-columns: auto minmax(0, 30rem);
        align-items: end;
    }
}

.z-pricing__head .z-sec__title {
    font-size: clamp(4.2rem, 13vw, 9.5rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.z-pricing__lead {
    margin: 0 0 0.6rem;
    color: var(--muted);
    font-size: 0.97rem;
}

.z-base {
    display: grid;
    gap: 3rem;
}

@media (min-width: 900px) {
    .z-base {
        grid-template-columns: minmax(0, 27rem) 1fr;
        gap: 4.5rem;
    }
}

.z-receipt-wrap {
    filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.14));
    transform: rotate(-1.6deg);
    transform-origin: top left;
}

@media (max-width: 899px) {
    .z-receipt-wrap {
        margin-right: 0.6rem;
        transform: rotate(-1deg);
    }
}

.z-receipt {
    --zig: 16px;
    position: relative;
    padding: 1.8rem 1.6rem calc(1.8rem + var(--zig));
    background: #fff;
    -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--zig) 100%;
    mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--zig) 100%;
}

.z-receipt__label {
    margin: 0;
    padding-bottom: 0.4rem;
    border-bottom: 2px dashed var(--ink);
    font-weight: 900;
    font-size: 1rem;
    letter-spacing: 0.2em;
}

.z-receipt__amount {
    margin: 0.9rem 0 1.5rem;
    font-size: clamp(3rem, 6vw, 3.8rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
}

.z-receipt__amount span {
    display: inline-block;
    margin-left: 0.6rem;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--muted);
    vertical-align: middle;
}

.z-receipt__block + .z-receipt__block {
    margin-top: 1.4rem;
    padding-top: 1.2rem;
    border-top: 1px dashed var(--line);
}

.z-receipt__block h3 {
    margin: 0 0 0.5rem;
    font-size: 0.92rem;
    font-weight: 900;
}

.z-check {
    margin: 0;
    padding: 0;
    list-style: none;
}

.z-check li {
    position: relative;
    padding: 0.25rem 0 0.25rem 1.6rem;
    font-size: 0.93rem;
    line-height: 1.65;
}

.z-check li::before {
    position: absolute;
    left: 0;
    top: 0.2rem;
    font-family: var(--font-hand);
    font-weight: 600;
    font-size: 1.05rem;
}

.z-check--yes li::before {
    content: "○";
    color: var(--pen);
}

.z-check--no li {
    color: var(--muted);
}

.z-check--no li::before {
    content: "×";
    color: #b23a2b;
}

.z-base__rules {
    align-self: start;
}

@media (min-width: 900px) {
    .z-base__rules {
        padding-top: 4.5rem;
    }
}

.z-base__rules-tag {
    margin: 0 0 1.25rem;
    font-size: 1.1rem;
    transform: rotate(-2deg);
    transform-origin: left;
}

.z-rule + .z-rule {
    margin-top: 1.8rem;
}

.z-rule h3 {
    display: inline-block;
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
    font-weight: 900;
}

.z-rule p {
    margin: 0;
    max-width: 34rem;
    color: var(--ink-soft);
    font-size: 0.95rem;
}

@media (min-width: 1100px) {
    .z-rule:nth-child(3) {
        margin-left: 3.5rem;
    }
}

/* ----- Options (menu board) ----- */
.z-menu {
    margin-top: clamp(4rem, 9vw, 6.5rem);
}

.z-menu__head {
    max-width: 38rem;
    margin: 0 0 2.5rem auto;
}

.z-menu__title {
    margin: 0 0 0.6rem;
    font-size: clamp(1.7rem, 3.4vw, 2.3rem);
    font-weight: 900;
}

.z-menu__lead {
    margin: 0;
    color: var(--muted);
    font-size: 0.93rem;
}

.z-menu__cols {
    display: grid;
    gap: 3rem 4rem;
}

@media (min-width: 960px) {
    .z-menu__cols {
        grid-template-columns: 1.15fr 1fr;
        align-items: start;
    }

    .z-menu__side {
        margin-top: 7rem;
    }
}

.z-menu__group + .z-menu__group {
    margin-top: 3rem;
}

.z-tape {
    display: inline-block;
    margin: 0 0 1rem -0.4rem;
    padding: 0.25rem 1.2rem 0.3rem;
    background: rgba(255, 233, 74, 0.9);
    font-size: 1.05rem;
    font-weight: 900;
    transform: rotate(-2.5deg);
    clip-path: polygon(2% 4%, 98% 0, 100% 50%, 97% 100%, 1% 94%, 0 45%);
}

.z-menu__group:nth-child(2) .z-tape,
.z-menu__side .z-menu__group:nth-child(2) .z-tape {
    transform: rotate(1.8deg);
}

.z-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
        "name dots price"
        "desc desc desc";
    column-gap: 0.5rem;
    padding: 0.85rem 0 0.9rem;
    border-bottom: 1px solid var(--line);
}

.z-item::before {
    content: "";
    grid-area: dots;
    align-self: center;
    min-width: 1.5rem;
    border-bottom: 2px dotted rgba(20, 20, 20, 0.45);
    transform: translateY(0.25rem);
}

.z-item h3 {
    grid-area: name;
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.z-item__price {
    grid-area: price;
    margin: 0;
    font-weight: 900;
    font-size: 1.05rem;
    white-space: nowrap;
}

.z-item > p:not(.z-item__price) {
    grid-area: desc;
    margin: 0.2rem 0 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.7;
}

.z-pricing__foot {
    display: grid;
    gap: 1.5rem 3rem;
    margin-top: 3.5rem;
}

@media (min-width: 800px) {
    .z-pricing__foot {
        grid-template-columns: minmax(0, 34rem) auto;
        justify-content: space-between;
        align-items: end;
    }
}

.z-pricing__note {
    margin: 0;
    padding-left: 1rem;
    border-left: 4px solid var(--marker);
    color: var(--ink-soft);
    font-size: 0.93rem;
}

.z-pricing__foot .btn-ti {
    transform: rotate(1.5deg);
}

/* ----- Flow (yellow band) ----- */
.z-flow {
    padding: clamp(3.5rem, 8vw, 5.5rem) 0 clamp(4.5rem, 10vw, 7.5rem);
    background: var(--marker);
    border-block: 2px solid var(--ink);
}

.z-flow__grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 900px) {
    .z-flow__grid {
        grid-template-columns: 1fr auto;
        gap: 3.5rem;
    }

    .z-flow .z-vtitle {
        order: 2;
        margin-top: 1rem;
    }
}

.z-flow__lead {
    margin: 0 0 2.75rem;
    max-width: 30rem;
    font-size: 0.97rem;
}

.z-flow__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 2.25rem;
}

@media (min-width: 900px) {
    .z-flow__list {
        grid-template-columns: 0.9fr 1.1fr 1fr;
        gap: 2rem;
        align-items: start;
    }

    .z-flow__list li:nth-child(2) {
        margin-top: 3.5rem;
    }

    .z-flow__list li:nth-child(3) {
        margin-top: 1.25rem;
    }
}

.z-flow__list li {
    position: relative;
    padding-top: 0.9rem;
    border-top: 3px solid var(--ink);
}

.z-flow__no {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1;
}

.z-flow__list h3 {
    margin: 0 0 0.4rem;
    font-size: 1.2rem;
    font-weight: 900;
}

.z-flow__list p {
    margin: 0;
    font-size: 0.94rem;
    color: var(--ink-soft);
}

.z-flow__list .z-hand {
    position: absolute;
    top: 0.6rem;
    right: 0;
    font-size: 0.95rem;
    color: var(--ink);
    transform: rotate(4deg);
}

/* ----- Contact ----- */
.z-contact {
    padding: clamp(4rem, 9vw, 6.5rem) 0 clamp(4rem, 9vw, 6rem);
    background: var(--ink);
    color: rgba(255, 255, 255, 0.85);
}

.z-contact__grid {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 960px) {
    .z-contact__grid {
        grid-template-columns: 0.85fr 1fr;
        gap: 4rem;
    }

    .z-contact .contact-panel {
        margin-top: 5.5rem;
    }
}

.z-contact .z-sec__title {
    color: #fff;
    font-size: clamp(2.4rem, 6vw, 4.3rem);
    line-height: 1.1;
}

.z-contact__lead {
    margin: 1.5rem 0 0;
    max-width: 26rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.z-contact__aside {
    display: inline-block;
    margin: 1.75rem 0 0 2rem;
    font-size: 1.15rem;
    color: var(--marker);
    transform: rotate(-4deg);
}

.contact-panel {
    max-width: none;
    margin: 0;
    padding: 2rem 1.75rem;
    background: #fff;
    border: none;
    box-shadow: none;
    color: var(--ink);
}

.contact-panel--confirm {
    max-width: 40rem;
}

.contact-panel .form-control,
.contact-panel .form-check-input {
    border-radius: 0;
    border-color: #bdb9ae;
}

.contact-panel .form-control {
    border-width: 0 0 2px;
    background: transparent;
    padding: 0.75rem 0.15rem;
}

.contact-panel textarea.form-control {
    border-width: 2px;
    padding: 0.75rem;
}

.contact-panel .form-control:focus {
    border-color: var(--ink);
    box-shadow: none;
    background: #fffbe0;
}

.contact-panel .form-check-input:checked {
    background-color: var(--ink);
    border-color: var(--ink);
}

.contact-panel .form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(255, 233, 74, 0.8);
    border-color: var(--ink);
}

/* ----- Footer ----- */
.site-footer {
    padding: 2.5rem 0 2rem;
    background: var(--ink);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.6);
    text-align: left;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.75);
}

.site-footer a:hover {
    color: var(--marker);
}

/* ----- Sub pages ----- */
.policy-hero h1 {
    font-weight: 900;
}

.policy-body h2 {
    font-weight: 900;
    border-bottom: 2px solid var(--ink);
}