/*
GENERAL STYLING
================================================ */

:root {
    --bg: #fff9fd;
    --panel: #fff;
    --ink: #2f2c3a;
    --muted: #6b6a77;
    --brand: #ff86b6;
    --brand-2: #a6d8ff;
    --edge: rgba(47, 44, 58, .08);
    --ring: rgba(255, 134, 182, .35)
}

* {
    box-sizing: border-box
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif
}


/*
================================================ */

.hero {
    position: relative;
    overflow: hidden;
    padding: 80px 0 90px
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: .55;
    z-index: 0;
    animation: float 12s ease-in-out infinite
}

.hero::before {
    width: 360px;
    height: 360px;
    left: -80px;
    top: -60px;
    background: radial-gradient(circle at 30% 30%, #ffd3ea, transparent 60%)
}

.hero::after {
    width: 420px;
    height: 420px;
    right: -120px;
    bottom: -140px;
    background: radial-gradient(circle at 70% 70%, #d8ecff, transparent 60%);
    animation-delay: 1.5s
}

@keyframes float {
    50% {
        transform: translateY(16px) scale(1.02)
    }
}

.hero-wrap {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 28px;
    align-items: center
}

.badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--panel);
    box-shadow: 0 4px 12px var(--edge);
    font-size: 12px;
    color: var(--muted)
}

.title {
    font-size: 38px;
    line-height: 1.2;
    margin: 14px 0 10px
}

.lead {
    font-size: 16px;
    color: var(--muted)
}

.cta {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1px solid var(--edge);
    background: var(--panel);
    box-shadow: 0 8px 26px var(--edge);
    font-weight: 800
}

.btn-works {
    color: #ff86b6;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
    font-weight: 800;
    padding: 12px 16px;
    border-radius: 14px;
    background-color: #fff; 
    position: relative;
    overflow: hidden;
}


.btn-works::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0%;
    height: 2px;
    background: linear-gradient(135deg, #ff86b6, #a6d8ff);
    transition: width .22s ease, left .22s ease;
}

.btn-works:hover::after {
    width: 90%;
    left: 5%;
}




.mock {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background: var(--panel);
    box-shadow: 0 12px 38px var(--edge);
    border: 1px solid var(--edge)
}

.mock::before {
    content: "";
    display: block;
    padding-top: 65%
}

.mock .dots {
    position: absolute;
    inset: 0;
    padding: 16px;
    display: flex;
    gap: 6px
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffd1e6
}

section {
    padding: 56px 0;
    border-top: 1px solid var(--edge)
}

h2 {
    font-size: 26px;
    margin: 0 0 18px
}

.muted {
    color: var(--muted);
}

.muted-mini {
    font-size: 14px;
    color: var(--muted);
    font-weight: normal;
    margin-left: 8px;
}

.muted-bottom {
    margin-bottom: 2rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.card {
    background: var(--panel);
    border-radius: 18px;
    box-shadow: 0 8px 26px var(--edge);
    border: 1px solid var(--edge);
    overflow: hidden;
    transform: translateY(10px);
    opacity: 0;
    transition: transform .5s ease, opacity .5s ease
}

.card.reveal.is-visible {
    transform: none;
    opacity: 1
}

.card .thumb {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #ffe3ef, #e8f5ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 13px
}

.card .body {
    padding: 14px
}

.tag {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    background: #fff3f8;
    color: #c94a82;
    font-size: 11px;
    margin-right: 8px
}

.services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px
}

.service {
    padding: 16px;
    border-radius: 16px;
    background: var(--panel);
    border: 1px solid var(--edge);
    box-shadow: 0 8px 26px var(--edge)
}

.dl {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 22px;
    align-items: center
}

.note {
    font-size: 13px;
    color: var(--muted)
}

.aboutbox {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 22px;
    align-items: center
}

.blob {
    aspect-ratio: 1/1;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid var(--edge);
    box-shadow: 0 12px 40px var(--edge);
    display: flex;
    align-items: center;
    justify-content: center;
}

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



.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 18px
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid var(--edge);
    background: var(--panel);
    box-shadow: 0 8px 26px var(--edge);
    font-weight: 800;
    cursor: pointer;
}

.filter-btn:is(:hover, .active) {
    border: 1px solid #6b6a77;
}

@media (max-width:900px) {

    .hero-wrap,
    .dl,
    .aboutbox {
        grid-template-columns: 1fr
    }

    .grid {
        grid-template-columns: 1fr 1fr
    }

    .services {
        grid-template-columns: 1fr
    }
}

@media (max-width:560px) {
    .title {
        font-size: 30px
    }

    .grid {
        grid-template-columns: 1fr
    }
}


/* ===== about 微調整 ===== */
.lead {
    margin-top: 6px;
}

.grid .card .body p {
    margin: 0;
}

.services .service p {
    margin: 0 0 6px;
}

.services .service .note {
    margin: 6px 0 0;
}