/* ---------- Base / Reset ---------- */
:root {
    --ink: #0D1732;
    --green: #29C27F;
}


body {
    margin: 0;
    font-family: "Noto Sans JP", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    line-height: 1.75;
    color: #0D1732;
    /* slate-900 */
    background:
        radial-gradient(ellipse farthest-corner at 35% 40%,
            #E6EBF9 45%,
            #E1EFFD 100%);
}

img,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}


:focus-visible {
    outline: 3px solid #22c55e;
    outline-offset: 2px;
}

.container {
    width: min(1120px, 92%);
    margin-inline: auto;
}



/* ---------- Utilities ---------- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    overflow: hidden;
}

.skip-link {
    position: absolute;
    left: 8px;
    top: -40px;
    z-index: 1000;
    background: #111827;
    color: #fff;
    padding: .5rem .75rem;
    border-radius: .5rem;
}

.skip-link:focus {
    top: 8px;
}

/* =====================================
    Header / Global Nav
  ===================================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
}

.site-header {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: flex-end;
    z-index: 1000;
    mix-blend-mode: normal;
}

.header-triangle {
    position: fixed;
    top: 0;
    left: 0;
    width: 90vw;
    height: 46px;
    background: linear-gradient(to right, #29C27F, #18B570);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    z-index: 0;
    pointer-events: none;
    opacity: .75;
}


.site-header.open {
    mix-blend-mode: normal;
}


.menu-toggle__bar {
    background: var(--green);
}

.menu-toggle.open .menu-toggle__bar {
    background: #fff;
}


.site-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: var(--green);
    transform: translateX(100%);
    padding-block-start: 5rem;
    opacity: 0;
    transition: .8s;
    z-index: 999;
}

.site-nav.open {
    transform: translateX(0);
    opacity: 1;
}

.site-nav__list {
    margin: unset;
}

.site-nav__item {
    margin-block-end: 1.5rem;
    transition: .6s;
}

.site-nav__link {
    color: #0D1732;
}



/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    padding: 1rem 2.25rem;
    font-size: 1rem;
    font-weight: 700;
    background: linear-gradient(90deg, #06F9B4 0%, #00C48C 100%);
    color: #fff;
    border: 1px solid #6aeae1;
    box-shadow: var(--shadow);
    transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease;
    border-radius: 999px;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(2, 6, 23, .3);
}

.btn.cta {
    background: #10b981;
}

.btn.cta:hover {
    background: #0ea371;
}




/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: visible;
    padding-block-start: clamp(5rem, 4vw + 1rem, 4rem);
    padding-bottom: unset;
    margin-bottom: unset;
}

.hero-grid {
    display: grid;
    gap: clamp(1rem, 4vw, 1.5rem);
    margin-inline: 3vw;
    justify-items: center;
    grid-template-areas:
        "title"
        "badge"
        "art"
        "lead"
        "cta";
}

.hero-copy {
    /* display: flex;
    flex-direction: column;
    align-items: center; */
}

.hero-copy {
    display: contents;
}

#hero-title.hero-title {
    grid-area: title;
}

figure.bullet-badge {
    grid-area: badge;
}

aside.hero-art {
    grid-area: art;
}

.lead-text {
    grid-area: lead;
}

.cta-row {
    grid-area: cta;
}


.hero-title {
    font-size: clamp(1.5rem, 3vw, 3rem);
    font-weight: 800;
    letter-spacing: .4px;
}

.accent {
    color: var(--green);
    font-size: clamp(1.5rem, 3vw + .5rem, 3rem);
    text-shadow: 1px 1px 0 #6aeae1;
}

/* 左の丸型バッジ＋チェック */
.bullet-badge {
    width: clamp(220px, 35vw, 250px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: #29C27F;
    box-shadow: 8px 8px 20px 8px rgba(16, 185, 129, .25), inset 0 -8px 18px 8px rgba(0, 0, 0, .08);
    display: grid;
    place-items: center;
}

.checklist {
    display: grid;
    gap: 12px;
    font-weight: 700;
    font-size: clamp(18px, 2vw, 24px);
    color: #fff;
    margin: 0;
    padding: 0;
}

.checklist li {
    position: relative;
    padding-left: 2.1em;
    margin: unset;
}

.checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 1.6em;
    height: 1.6em;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #E6EBF9;
    box-shadow: inset 0 0 0 2px #E6EBF9;
    -webkit-mask: url("../img/icon/チェックマーク\(中\).svg") no-repeat center / contain;
    mask: url("../img/icon/チェックマーク\(中\).svg") no-repeat center / contain;
}

/* リード文 */
.lead-text p {
    font-size: 16px;
}

.cta-wrap {
    margin-top: 14px;
}

/* 右のカード */
.hero-art {
    display: grid;
    place-items: center;
}

.app-card {
    background: rgba(41, 194, 127, 0.74);
    padding: clamp(18px, 2.8vw, 28px);
    border-radius: 12px;
    box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.37);
    width: min(350px, 100%);
    margin-block-end: 2rem;
}

.app-grid {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-evenly;
    align-items: stretch;
    gap: clamp(14px, 1.8vw, 20px);
}

.app {
    background: rgba(255, 255, 255, .18);
    border-radius: 18px;
    padding: 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15);
    height: clamp(56px, 26vw, 80px);
    width: clamp(56px, 26vw, 80px);
    aspect-ratio: 1 / 1;
}

.app img {
    filter: drop-shadow(2px 2px 4px rgba(90, 90, 90, 0.777));
}

.app.dummy {
    visibility: hidden;
    pointer-events: none;
}


.hero-slope {
    /* position: absolute;
    left: 0;
    right: 0; */
    height: 82px;
    background: linear-gradient(to right, #29C27F, #18B570);
    clip-path: polygon(0 0, 100% 95%, 100% 100%, 0 100%);
    z-index: 0;
    pointer-events: none;
    opacity: .75;
    margin-block-start: 2rem;
}

/* ---------- Contact ---------- */
.contact {
    padding-block-start: 5rem;
    background: #eaf6f2;
}

.contact h2 {
    font-size: clamp(22px, 2.8vw, 28px);
    margin: 0 0 12px;
}

.contact-form {
    display: grid;
    gap: 14px;
    max-width: 720px;
}

.field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.field input,
.field textarea {
    width: 100%;
    padding: .9rem 1rem;
    border-radius: .75rem;
    border: 1px solid #cbd5e1;
    background: #fff;
    font: inherit;
}

.field input:focus,
.field textarea:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, .15);
}

/* ---------- Footer ---------- */
footer {
    background: linear-gradient(to right, #29C27F, #18B570);
    opacity: .75;
    color: #0D1732;
    padding: 28px 0;
    text-align: center;
}






/* --- PC用 --- */
@media (min-width: 769px) {

    /* =====================================
     Header / Global Nav
  ===================================== */
    .site-header__container {
        padding-inline: 3vw;
    }

    nav li {
        margin: unset;
    }

    .site-header {
        padding: 12px 0;
        text-align: center;
        font-size: 12px;
        position: fixed;
        z-index: 1000;
    }

    .header-triangle {
        width: 60vw;
    }

    .site-nav {
        display: inline-flex;
        gap: 2rem;
        justify-content: flex-end;
        padding-inline-end: 1rem;
        position: relative;
        height: unset;
        transform: none;
        background: transparent;
        opacity: 1;
        padding: unset;
    }

    .site-nav__list {
        display: inline-flex;
        gap: .5rem;
        justify-content: flex-end;
        align-items: center;
    }

    .site-nav__link {
        padding: .5rem .25rem;
    }

    .site-nav a:focus-visible {
        outline: 2px solid #2563eb;
        outline-offset: 3px;
        border-radius: 4px;
    }

    .site-nav__item {
        padding: .5rem .25rem;
        margin-block-end: unset;
    }

    .site-nav__item.pill {
        background: var(--green);
        color: #fff;
        border-radius: 8px;
    }

    .site-nav__link.pill {
        color: #fff;
    }

    .site-nav__item:hover {
        scale: 1.1;
    }

    .hero {
        padding-block-start: clamp(1rem, 2vw, 3rem);
    }

    .hero-grid {
        display: grid;
        grid-template-columns: 1.05fr .95fr;
        grid-template-areas: "copy art";
        align-items: start;

        grid-template-areas:
            "title art"
            "badge art"
            "lead  lead"
            "cta   cta";
    }

    .hero-art {
        grid-area: art;
        align-self: flex-start;
        margin-block: auto;
    }

    .app-card {
        margin-block-end: unset;
        width: min(450px, 100%);
    }

    .app {
        width: clamp(72px, 10vw, 100px);
        height: clamp(72px, 10vw, 100px);
    }



    .hero-slope {
        height: 6rem;
        margin-block-start: -1rem;
    }




}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
}