/* ==========================
   Root Variables
========================== */

:root {

    /* Colors */
    --color-primary: #3366C2;
    --color-primary-dark:#3E6F9E;
    --color-primary-light: #eef5ff;

    --color-text: #222222;
    --color-text-secondary: #666666;
    --color-text-light: #777777;

    --color-heading: #1f2937;

    --color-bg: #ffffff;
    --color-bg-soft: #f9fbff;

    --color-border: #eeeeee;

    /* Shadow */
    --shadow-sm:
        0 8px 24px rgba(0, 0, 0, .04);

    --shadow-md:
        0 16px 40px rgba(57, 57, 57, 0.07);

    --shadow-header:
        0 8px 20px rgba(0, 0, 0, .05);

    /* Radius */
    --radius-sm: 16px;
    --radius-md: 24px;
    --radius-lg: 40px;
    --radius-round: 999px;

    /* Transition */
    --transition: .3s ease;
}


/* ==========================
   Reset
========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP',sans-serif;
    color: var(--color-text);
    background:
        /* 左上の光 */
        radial-gradient(
            circle at 15% 10%,
            rgba(255,255,255,.9) 0%,
            rgba(255,255,255,0) 30%
        ),
        /* 右上の青い光 */
        radial-gradient(
            circle at 85% 15%,
            rgba(215,230,255,.8) 0%,
            rgba(215,230,255,0) 35%
        ),
        /* 中央の柔らかい光 */
        radial-gradient(
            circle at 50% 40%,
            rgba(255,255,255,.6) 0%,
            rgba(255,255,255,0) 40%
        ),
        /* 左下の青白い光 */
        radial-gradient(
            circle at 10% 85%,
            rgba(225,235,255,.8) 0%,
            rgba(225,235,255,0) 30%
        ),
        /* 右下の光 */
        radial-gradient(
            circle at 90% 90%,
            rgba(255,255,255,.8) 0%,
            rgba(255,255,255,0) 30%
        ),
        /* オーロラ */
        radial-gradient(
            circle at 80% 75%,
            rgba(220,240,255,.35) 0%,
            rgba(220,240,255,0) 25%
        ),

        radial-gradient(
            circle at 25% 60%,
            rgba(240,245,255,.4) 0%,
            rgba(240,245,255,0) 30%
        ),
        /* ベース */
        linear-gradient(
            180deg,
            #edf5ff 0%,
            #f8fbff 50%,
            #ffffff 100%
        );
    background-attachment: fixed;
    line-height: 1.8;
}

body::before{
    content:"";
    position:fixed;
    top:-300px;
    right:-250px;
    width:800px;
    height:800px;
    border-radius:50%;
    background:
        radial-gradient(
            circle,
            rgba(255,255,255,.9),
            rgba(255,255,255,0)
        );
    filter:blur(80px);
    z-index:-1;
    pointer-events:none;
}

body::after{
    content:"";
    position:fixed;
    bottom:-250px;
    left:-250px;
    width:700px;
    height:700px;
    border-radius:50%;
    background:
        radial-gradient(
            circle,
            rgba(220,235,255,.9),
            rgba(220,235,255,0)
        );
    filter:blur(100px);
    z-index:-1;
    pointer-events:none;
}

img {
    width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}


ul {
    list-style: none;
}

.container {
    width: min(1200px,calc(100% - 40px));
    margin: 0 auto;
}

.section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(170,190,230,.08);
}
.works{
    margin: 0px 20px 20px;
    border-radius: 40px;
    background:
    rgba(255,255,255,.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.7);
    box-shadow: 0 20px 60px rgba(180,200,240,.18);
}
.about,
.flow,
.contact{
    margin: 20px 20px;
    border-radius: 40px;
    background:
    rgba(255,255,255,.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.7);
    box-shadow: 0 20px 60px rgba(180,200,240,.18);
}


/* ==========================
   Typography
========================== */

.section-heading {
    margin-bottom: 50px;
    text-align: center;
}

.section-heading.center {
    text-align: center;
}

.section-en {
    display: inline-block;

    font-family:
        'Montserrat',
        sans-serif;

    font-size: 14px;
    letter-spacing: .15em;

    color:
        var(--color-primary);

    margin-bottom: 12px;
}

.section-heading h2 {
    font-size: 36px;
    font-weight: 700;

    color:
        var(--color-heading);
}


/* ==========================
   Button
========================== */

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: #fff;
    padding: 16px 36px;
    border-radius: var(--radius-round);
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary:hover {
    transform:
        translateY(-3px);

    background:
        var(--color-primary-dark);
}


/* ==========================
   Header
========================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background:rgba(255, 255, 255, .9);
    backdrop-filter:blur(10px);
    z-index: 999;
    border-bottom:3px solid #f0f0f0;
}

.header.scrolled {
    background:rgba(255, 255, 255, .96);
    box-shadow:var(--shadow-header);
}

.header-inner {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo img {
    width: 48px;
}

.logo span {
    font-family: "Noto Serif JP", serif;
    font-size: 20px;
    font-weight: 600;
}


/* ==========================
   Navigation
========================== */

.nav-list {
    display: flex;
    gap: 32px;
}
.nav-list a {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
}
.nav-list a:hover {
    opacity: .5;
}
.nav-list a.active {
    opacity: 1;
}
.nav-list .en {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing:.02em;
    transition:.3s;
}
.nav-list .jp {
    font-size: 12px;
    color: var(--color-text-light);
}
.nav-list a.active .en {
    color: #619bec;
    font-weight:700;
}


/* ==========================
   Hero
========================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 90px;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url(../images/FV.webp) center/cover;
    overflow: hidden;
    -webkit-mask-image:
        linear-gradient(
            to bottom,
            rgba(0,0,0,1) 0%,
            rgba(0,0,0,1) 80%,
            rgba(0,0,0,0) 100%
        );
    mask-image:
        linear-gradient(
            to bottom,
            rgba(0,0,0,1) 0%,
            rgba(0,0,0,1) 80%,
            rgba(0,0,0,0) 100%
        );
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 800px;
    margin-left: 15%;
    z-index: 2;
}

.hero-sub {
    font-size: 14px;

    letter-spacing: .15em;

    color:
        var(--color-primary);

    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(40px, 6vw, 80px);
    line-height: 1.3;
    margin-bottom: 24px;
    color: var(--color-heading);
    font-family: "Noto Serif JP", serif;
    font-weight: 500;

}

.hero h1 span {
    color:
        var(--color-primary);
}

.hero-description {
    max-width: 600px;

    color:
        var(--color-text-secondary);

    margin-bottom: 40px;
}


/* ==========================
   Works
========================== */

.works {
    position: relative;
}
.works::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(94,143,199,.08);
    z-index: 0;
}
.works::after {
    content: "";
    position: absolute;
    left: 60px;
    bottom: 120px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(94,143,199,.08);
    z-index: 0;
}
.decoration-wrap {
    position: absolute;
    inset: 0;
    z-index: -1;
}
.works-dots {
    position: absolute;
    right: 70px;
    top: 80px;
    width: 100px;
    height: 80px;
    background-image: radial-gradient(rgba(94,143,199,.22) 2px, transparent 2px);
    background-size: 20px 20px;
    z-index: 0;
}
.works-dots2 {
    position: absolute;
    left: 70px;
    bottom: 60px;
    width: 100px;
    height: 80px;
    background-image: radial-gradient(rgba(94,143,199,.22) 2px, transparent 2px);
    background-size: 20px 20px;
    z-index: 0;
}

.works-btn {
    margin: 20px 0;
}
.btn-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}
.btn-list .btn {
    display: inline-block;
    width: 100px;
    padding: 6px 10px;
    background-color: #fff;
    color: #333;
    border: 1px solid rgba(31,41,55,.2);
    box-shadow: 0 2px 2px rgba(0,0,0,.04);
    border-radius: var(--radius-round);
    text-align: center;
    transition: var(--transition);
    font-weight: 600;
    cursor: pointer;
}
.btn-list .btn:hover, .btn-list .btn.active {
    background-color:  var(--color-primary);
    color: #fff;
    border-color: transparent;
    /* box-shadow: 0 16px 40px rgba(0,0,0,.08); */
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
.works-list {
    display: none;
}
.works-list.active {
    display: grid;
}

.work-card {
    position: relative;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(255,255,255,.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 12px 40px rgba(150,170,220,.08), inset 0 1px 0 rgba(255,255,255,.8);
    border-radius: 10px;
    overflow: hidden;
    transition: opacity .4s ease, transform .4s ease, box-shadow .4s ease;
    visibility: visible;
    /* box-shadow: var(--shadow-sm); */
    /* box-shadow: 0 20px 40px rgba(160,180,220,.12); */
    height: 520px;
    display: flex;
    flex-direction: column;
}
.work-card::before{
    content:"";
    position:absolute;
    top:0;
    left:-120%;
    width:60%;
    height:100%;
    background:linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,.55),
        transparent
    );
}
.work-card.is-hidden {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    visibility: hidden;
}
.is-hidden {
    display: none;
}
.work-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}
.work-card:hover::before{
    left:150%;
    transition: left .8s ease;
}
.work-image {
    aspect-ratio: 16 / 10;
    padding: 24px 24px 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 420px;
}
.work-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 10px;
    transition:
        transform .2s ease,
        filter .2s ease;
}
.work-card.banner img {
    width: 100%;
    height: auto;
}

.work-card.lp img {
    height: 100%;
    width: auto;
}


.work-card:hover .work-image img {
    transform: scale(1.03);
    filter:brightness(1.04);
}
.work-content {
    padding: 10px;
}

.tag {
    display: inline-block;
    background: var(--color-primary-light);
    color: var(--color-primary);
    padding: 4px 15px;
    border-radius: var(--radius-round);
    font-size: 11px;
    margin-bottom: 4px;
}
.work-content h3 {
    font-size: 18px;
    margin-bottom: 2px;
}

.work-content p {
    font-size: 14px;
    color: var(--color-text-secondary);
}

.works-more {
    margin-top: 60px;
    text-align: center;
}
.works-more {
    margin-top: 48px;
    text-align: center;
}

.btn-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 240px;
    height: 56px;

    padding: 0 32px;

    background: #fff;

    border: 1px solid rgba(31,41,55,.12);

    border-radius: 999px;

    font-size: 15px;
    font-weight: 600;

    color: var(--color-text);

    cursor: pointer;

    transition: .3s;
}

.btn-more:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: transparent;
}


.work-card.hidden-by-limit {
    display: none !important;
}
.work-card.fade-in {animation: fadeUp 0.5s ease forwards;}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* ==========================
   About
========================== */

.about {
    position: relative;
}

.about .section-heading {
    text-align: center;
}
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content {
    max-width: 500px;
    position: relative;
}
.about-content h3 {
    position: relative;
    padding-bottom: 36px;
    margin-bottom: 36px;
    line-height: 1.6;
}
.about-content h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 72px;
    height: 2px;
    /* background: var(--color-primary); */
    background: linear-gradient(90deg, var(--color-primary), transparent);
    border-radius: 999px;
    opacity: 0.7;
}
.about-content p {
    margin: 30px 0;
}

.about-bg-text {
    position: absolute;
    top: -120px;
    left: -80px;
    font-size: 82px;
    opacity: .12;
    font-family: "Allura", cursive;
    color: var(--color-primary);
    letter-spacing: .06em;
    transform: rotate(-10deg);
    z-index: -1;
}

.about-visual {
    max-width: 600px;
    position: relative;
}

.blob {
    position: absolute;
    filter: blur(1px);
}

/* 大 */
.about-blob-1 {
    width: 420px;
    height: 380px;
    right: -60px;
    top: 80px;
    background: rgba(255,255,255,.75);
    border-radius: 42% 58% 55% 45% / 44% 38% 62% 56%;
    /* opacity: .45; */
}

/* 中 */
.about-blob-2 {
    width: 280px;
    height: 240px;
    left: 80px;
    top: 0px;
    background: rgba(94,143,199,.10);
    border-radius: 58% 42% 48% 52% / 55% 45% 55% 45%;
    /* opacity: .55; */
}

/* 小 */
.about-blob-3 {
    width: 180px;
    height: 160px;
    right: 120px;
    top: -170px;
    background: rgba(94,143,199,.06);
    border-radius: 50% 50% 38% 62% / 55% 40% 60% 45%;
    /* opacity: .7; */
}

.about-dots {
    content: "";
    position: absolute;
    top: 20px;
    right: 20px;
    width: 90px;
    height: 90px;
    background-image: radial-gradient(rgba(94, 143, 199, .25) 2px, transparent 2px);
    background-size: 18px 18px;
    filter: blur(1px);
}

.about-illustration {
    max-width: 360px;
    position: relative;
    top: -40px;
    left: 120px;
    z-index: 1;
    opacity: 0.6;
}
.about-illustration img {
    width: 100%;
    height: auto;
    display: block;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    top: -30px;
    position: relative;
    z-index: 2;
    text-align: center;
    align-items: center;
}

.about-card {
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.8);
    box-shadow: 0 12px 32px rgba(140,160,210,.08);

    padding: 18px 12px;
    border-radius: 16px;
    min-width: 200px;
    min-height: 180px;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, .04); */
    text-align: center;
    align-items: center;
}
.card-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}
.card-icon img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    /* object-fit: contain; */
    display: block;
}

.about-card h4 {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}
.about-card p {
    font-size: 14px;
    flex: 1;
    margin: 0;
}

.skill-box {
    margin-top: 20px;
    background: rgba(255,255,255,.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.8);
    padding: 32px 40px;
    border-radius: 16px;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .04);
}
.skill-content,
.tool-content {
    display: flex;
    align-items: center;
    gap: 24px;
}
.skill-heading {
    min-width: 120px;
}
.skill-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.skill-list li {
    position: relative;
    padding-left: 18px;
}

.skill-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-primary);
}

.skill-heading h3 {
    font-size: 20px;
    color: var(--color-primary);
    position: relative;
    padding-bottom: 16px;
}

.skill-heading h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    height: 2px;
    background: var(--color-primary);
}

.skill-box h4 {
    position: relative;
    padding-bottom: 10px;
    line-height: 1.6;
}
.skill-box h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 88px;
    height: 2px;
    /* background: var(--color-primary); */
    background: linear-gradient(90deg, var(--color-primary), transparent);
    border-radius: 999px;
    opacity: 0.7;
}

.tool-content {
    border-left: 1px solid rgba(31,41,55,.08);
    padding-left: 48px;
}
.tool-list {
    display: flex;
    align-items: center;
    gap: 32px;
}
.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.tool-item img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    display: block;
    margin: 0 auto 10px;
}



/* ==========================
   Flow
========================== */

.flow {
    position: relative;
    overflow: hidden;
    /* background-color: #F5F8FD; */
}
.flow::before{
    content:"";
    position:absolute;
    top:0;
    left:50%;
    transform:translateX(-50%);
    width:85%;
    height:1px;
    background: rgba(255,255,255,.9);
}
.flow-bg-text {
    position: absolute;
    top: 80px;
    right: 150px;
    font-size: 82px;
    opacity: .12;
    font-family: "Allura", cursive;
    color: var(--color-primary);
    letter-spacing: .06em;
    transform: rotate(-10deg);
    z-index: 1;
}
.flow-blob {
    width: 320px;
    height: 280px;
    left: -120px;
    top: 200px;
    background: rgba(94,143,199,.05);
    border-radius: 50% 50% 38% 62% / 55% 40% 60% 45%;
    z-index: 0;
}

.flow-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(94,143,199,.08);
    pointer-events: none;
}
.circle-1 {
    width: 240px;
    height: 240px;
    top: 40px;
    right: -100px;
    opacity: .8;
}
.circle-2 {
    width: 120px;
    height: 120px;
    left: 40px;
    bottom: 40px;
}

.flow-dots-1 {
    position: absolute;
    top: 190px;
    right: 90px;
    width: 78px;
    height: 78px;
    background-image: radial-gradient(rgba(94,143,199,.25) 2px, transparent 2px);
    background-size: 18px 18px;
    background-repeat: repeat;
    opacity: .8;
    pointer-events: none;
}
.flow-dots-2 {
    position: absolute;
    bottom: 110px;
    left: 50px;
    width: 60px;
    height: 60px;
    background-image: radial-gradient(rgba(94,143,199,.25) 2px, transparent 2px);
    background-size: 18px 18px;
    background-repeat: repeat;
    opacity: .8;
    pointer-events: none;
}

.flow-list,
.flow-note {
    position: relative;
    z-index: 2;
}
.flow-list {
    display: grid;
    grid-template-columns: repeat(6, minmax(170px, 1fr));
    gap: 20px;
    align-items: stretch;
    /* text-align: center; */
    margin-top: 64px;
}
.flow-item {
    position: relative;
    background: rgba(255,255,255,.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 16px;
    padding: 40px 10px 20px;
    text-align: center;
    /* min-height: 360px; */
    box-shadow: 0 10px 30px rgba(0,0,0,.04);
}
.flow-item:not(:last-child)::after {
    content: "›";
    position: absolute;
    top: 50%;
    right: -16px;
    transform: translateY(-50%);
    font-size: 28px;
    font-weight: 600;
    color: var(--color-primary);
    opacity: .8;
}
.flow-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}
.flow-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
}
.flow-icon img {
    width: 100%;
    height: auto;
    display: block;
}
.flow-item h4 {
    position: relative;
    padding-bottom: 14px;
    margin-bottom: 18px;
    color: var(--color-primary);
}

.flow-item h4::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--color-primary);
}
.flow-item p {
    font-size: 14px;
}


.flow-note {
    margin-top: 56px;
    background: rgba(94,143,199,.09);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.8);
    box-shadow: 0 16px 40px rgba(140,160,210,.08);
    border-radius: 16px;
    padding: 28px 40px;
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 40px;
    position: relative;
    overflow: hidden;
}
.note-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}
.note-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(94,143,199,.12);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.note-left p {
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
}
.note-right {
    position: relative;
    padding-left: 32px;
}
.note-right::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 48px;
    background: rgba(31,41,55,.08);
}
.note-right p {
    margin: 0;
    line-height: 1.9;
    color: rgba(31,41,55,.72);
    font-size: 15px;
}
.flow-note::after {
    content: "";
    position: absolute;
    right: 30px;
    bottom: -2px;
    width: 80px;
    height: 80px;
    background-image: url("../images/leaf.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: .4;
}

/* ==========================
   Contact
========================== */
.contact {
    position: relative;
    overflow: hidden;
}
.contact-bg-text {
    position: absolute;
    top: 120px;
    left: 80px;
    font-size: 82px;
    opacity: .12;
    font-family: "Allura", cursive;
    color: var(--color-primary);
    letter-spacing: .06em;
    transform: rotate(-10deg);
    z-index: 1;
}
.contact::before {
    content: "";
    position: absolute;
    top: -120px;
    left: -120px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(94,143,199,.06);
}
.contact-blob-1 {
    position: absolute;
    width: 420px;
    height: 380px;
    right: 120px;
    top: 180px;
    background: rgba(94,143,199,.06);
    border-radius: 35% 65% 60% 40% / 60% 35% 65% 40%;
}
.contact-dots {
    position: absolute;
    top: 120px;
    right: 100px;
    width: 140px;
    height: 140px;
    background-image: radial-gradient(rgba(94,143,199,.22) 3px, transparent 3px);
    background-size: 18px 18px;
    opacity: .5;
}


.contact-feature-box {
    margin-top: 72px;
    background: rgba(255,255,255,.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 32px;
    padding: 36px 18px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    box-shadow: 0 16px 40px rgba(140,160,210,.08);
    position: relative;
    z-index: 2;
}
.contact-feature {
    text-align: center;
    padding: 0 28px;
    position: relative;
}
.contact-feature:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 260px;
    background: rgba(31,41,55,.08);
}
.feature-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: #F0F4FC;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.feature-icon img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    display: block;
}
.contact-feature h3 {
    font-size: 1.1rem;
    margin-bottom: 14px;
    color: var(--color-heading);
}
.contact-feature p {
    font-size: 0.9rem;
    line-height: 1.9;
    color: rgba(31,41,55,.72);
}

.contact-cta-box {
    margin-top: 40px;
    background:
        linear-gradient(
        180deg,
        rgba(223, 230, 255, 0.65),
        rgba(214, 229, 255, 0.65)
        );
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.8);
    box-shadow: 0 16px 40px rgba(140,160,210,.08);
    border-radius: 32px;
    padding: 36px 56px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 56px;
    align-items: center;
    position: relative;
}
.contact-btn {
    min-height: 88px;
    border-radius: 22px;
    background: linear-gradient(180deg, #6fa8ff, #4e7cff,#6fa8ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 20px 40px rgba(53,105,223,.2);
    transition: .3s;
    margin-bottom: 10px;
}
.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(77,142,255,.25);
}

.cta-content h3 {
    font-size: 36px;
    color: var(--color-primary);
    margin-bottom: 24px;
}
.cta-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    margin-top: 28px;
    padding: 12px 28px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,.04);
}

.cta-list li {
    position: relative;
    font-size: 14px;
    padding-left: 28px;
}
.cta-list li::before {
    content: "✓";
    font-size: 12px;
    width: 20px;
    height: 20px;
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--color-primary);
    border: solid 1px var(--color-primary);
    border-radius: 50%;
}
.cta-button-area {
    text-align: center;
}
.mail-link{
    position: relative;
}
.mail-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px; /* 下線の太さ */
    background-color: #333; /* 下線の色 */
    transition: width 0.3s ease; /* アニメーションの時間 */
}
.mail-link:hover::after {
  width: 100%; /* ホバー時に下線が広がる */
}

.contact-bottom-text {
    margin-top: 20px;
    text-align: center;
}

/* ==========================
   Footer
========================== */

.footer {
    padding: 32px;

    text-align: center;

    border-top:
        1px solid var(--color-border);

    color:
        var(--color-text-light);

    font-size: 14px;
}


/* ==========================
   Hamburger
========================== */

.hamburger {
    display: none;

    border: none;
    background: none;

    cursor: pointer;
}

.hamburger span {
    display: block;

    width: 28px;
    height: 2px;

    background:
        var(--color-text);

    transition:
        var(--transition);
}


/* ==========================
   Fade Animation
========================== */

.section,
.work-card,
.value-card,
.flow-item {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity .8s ease,
        transform .8s ease;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

.flow-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s ease, transform .8s ease;
}

.flow-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* ==========================
   Mobile Navigation
========================== */

@media (max-width: 960px) {

    .nav {
        position: fixed;

        top: 90px;
        right: -100%;

        width: 300px;
        height:
            calc(100vh - 90px);

        background:
            var(--color-bg);

        padding: 40px;

        transition:
            .4s ease;

        box-shadow:
            -10px 0 30px rgba(0, 0, 0, .08);
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 24px;
    }

    .nav-list a {
        align-items: flex-start;
    }

    .hamburger {
        display: flex;

        flex-direction: column;

        gap: 5px;
    }


    /* Layout */

    .works-grid,
    .value-grid,
    .flow-grid,
    .about-inner {
        grid-template-columns: 1fr;
    }

    .about-inner {
        gap: 48px;
    }

    .about-circle {
        width: 280px;
        height: 280px;
    }

    .hero h1 {
        font-size: 44px;
    }

    .section {
        padding: 80px 0;
    }

    .contact-box {
        padding: 48px 24px;
    }

    .section-heading h2 {
        font-size: 30px;
    }

}


/* ==========================
   Small Mobile
========================== */

@media (max-width: 480px) {

    .hero-inner {
        margin: 0 auto;
    }
    .hero h1 {
        font-size: 36px;
    }

    .hero-description {
        font-size: 14px;
    }

    .btn-primary {
        width: 100%;
    }

    .logo span {
        font-size: 16px;
    }

}