
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', 'Noto Sans JP', sans-serif;
            background: white;
            color: rgb(51, 51, 51);
            line-height: 1.6;
        }

        /* Header Styles */
        header {
            background: white;
            border-bottom: 1px solid #e5e7eb;
            position: sticky;
            top: 0;
            z-index: 50;
            transition: box-shadow 0.3s;
        }

        header.scrolled {
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .header-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo-container {
            display: flex;
            flex-direction: column;
        }

        .logo {
            height: 2rem;
            width: 180px;
            object-fit: contain;
            margin-bottom: 0.25rem;
        }

        .tagline {
            font-size: 12px;
            color: rgb(102, 102, 102);
            letter-spacing: 1.5px;
            font-weight: 500;
        }

        /* Hamburger Menu */
        .hamburger {
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
            padding: 0.5rem;
            background: none;
            border: none;
            cursor: pointer;
        }

        .hamburger span {
            width: 24px;
            height: 2px;
            background: #333;
            border-radius: 2px;
            transition: transform 0.3s, opacity 0.3s;
        }

        .hamburger.active span:nth-child(1) {
            transform: rotate(45deg) translateY(6px);
        }

        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active span:nth-child(3) {
            transform: rotate(-45deg) translateY(-6px);
        }

        /* Desktop Navigation */
        .desktop-nav {
            display: none;
            gap: 3rem;
        }

        .desktop-nav button {
            position: relative;
            background: none;
            border: none;
            color: rgb(51, 51, 51);
            font-size: 1.25rem;
            letter-spacing: 0.05em;
            cursor: pointer;
            padding: 0.5rem 0;
            transition: color 0.3s;
        }

        .desktop-nav button::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: #999999;
            transition: width 0.3s;
        }

        .desktop-nav button:hover {
            color: #999999;
        }

        .desktop-nav button:hover::after {
            width: 100%;
        }

        /* Mobile Navigation */
        .mobile-nav {
            max-height: 0;
            overflow: hidden;
            background: white;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: max-height 0.3s ease;
        }

        .mobile-nav.open {
            max-height: 16rem;
        }

        .mobile-nav button {
            display: block;
            width: 100%;
            text-align: left;
            padding: 0.875rem 1.25rem;
            border: none;
            border-bottom: 1px solid #e5e7eb;
            background: white;
            color: rgb(51, 51, 51);
            font-size: 1rem;
            cursor: pointer;
            transition: background 0.2s;
        }

        .mobile-nav button:hover {
            background: #f9fafb;
        }

        .mobile-nav button:active {
            background: #f3f4f6;
        }

        .mobile-nav button:last-child {
            border-bottom: none;
        }

        /* Sections */
        section {
            padding: 3rem 1rem;
        }

        .container {
            max-width: 1000px;
            margin: 0 auto;
        }

        /* Mission Section */
        #mission {
            min-height: 450px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 4rem 1rem;
        }

        #mission .content {
            max-width: 800px;
            text-align: center;
            padding: 0 0.5rem;
        }

        #mission h1 {
            font-size: 1.25rem;
            font-weight: 500;
           margin-top: 2rem;
            margin-bottom: 1rem;
            line-height: 1.8;
        }

        #mission h2 {
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 2rem;
            line-height: 1.8;
            padding: 0 0.5rem;
        }

        #mission .values {
            margin-top: 4rem;
        }

        #mission .values p {
            font-size: 0.9375rem;
            margin-bottom: 0.625rem;
            padding: 0 0.5rem;
        }

        #mission .values p:first-child {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }

        /* Service Section */
        #service h2 {
            font-size: 1.5rem;
            text-align: center;
            margin-bottom: 1.875rem;
        }

        /* Value Cards */
        .value-cards {
            display: flex;
            flex-wrap: wrap;
            gap: 50px 12px;
            justify-content: center;
            margin-bottom: 4rem;
            max-width: 892px;
            margin-left: auto;
            margin-right: auto;
        }

        .value-card {
            position: relative;
            width: 100%;
            max-width: 380px;
            height: 310px;
            opacity: 0;
            transform: translateY(2rem);
            transition: opacity 0.7s, transform 0.7s;
        }

        .value-card.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .value-card .card-bg {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            width: 350px;
            height: 350px;
            top: -8.5px;
        }

        .value-card .card-bg img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .value-card .icon {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            width: 46px;
            height: 46px;
            top: 55.25px;
        }

        .value-card .icon img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .value-card .title {
            position: absolute;
            left: 50%;
            top: 108px;
            transform: translateX(-50%);
            font-family: 'Noto Serif JP', serif;
            font-size: 2rem;
            text-align: center;
            line-height: 54px;
        }

        .value-card .divider {
            position: absolute;
            left: 50%;
            top: 178px;
            transform: translateX(-50%);
            width: 250px;
            height: 1px;
            background: #c8c8c8;
        }

        .value-card .text-container {
            position: absolute;
            left: 50%;
            top: 194px;
            transform: translateX(-50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
        }

        .value-card .subtitle {
            font-family: 'M PLUS 1', sans-serif;
            font-weight: 500;
            font-size: 1.375rem;
            color: #505050;
            text-align: center;
            line-height: 33px;
            white-space: nowrap;
        }

        .value-card .description {
            font-family: 'Inter', 'Noto Sans JP', sans-serif;
            font-size: 0.9375rem;
            color: #333;
            text-align: center;
            line-height: 22px;
            letter-spacing: -0.2344px;
        }

        /* Service Area */
        .service-area-title {
            font-size: 1.5rem;
            text-align: center;
            margin-top: 100px;
            margin-bottom: 1.875rem;
        }

        .service-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        .service-card {
            background: white;
            border: 1px solid #e5e7eb;
            border-radius: 0.75rem;
            overflow: hidden;
            transition: all 0.3s;
        }

        .service-card:hover {
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
            transform: translateY(-4px);
        }

        .service-card .header {
            background: rgb(241, 241, 241);
            padding: 0.75rem 1rem;
            text-align: center;
        }

        .service-card .header h3 {
            font-family: 'Arial', sans-serif;
            font-size: 1.0625rem;
            color: #505050;
            font-weight: 600;
            line-height: 1.4;
        }

        .service-card .body {
            padding: 1.25rem 2rem;
        }

        .service-card .body h4 {
            font-size: 1rem;
            color: #333;
            font-weight: 500;
            margin-bottom: 0.75rem;
            text-align: left;
        }

        .service-card .body p {
            font-size: 0.875rem;
            color: #333;
            margin-bottom: 0.5rem;
            text-align: left;
        }

        .service-card .body p span {
            font-size: 1.125rem;
        }

        /* Team Section */
        #team {
            background: #f9fafb;
        }

        #team h2 {
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
        }

        #team .info-box {
            background: white;
            padding: 1.25rem 2rem;
            border-radius: 0.75rem;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        }

        #team .info-box p {
            font-size: 0.875rem;
            margin-bottom: 0.625rem;
            line-height: 1.8;
        }

        /* Contact Section */
        #contact h2 {
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
        }

        /* 案件のご相談、その他お問い合わせは以下より連絡ください。 */
        #contact > p {
        /* モバイル（デフォルト） */
        font-size: 14px;
        margin-bottom: 1.5rem; /* 24px */
        text-align: left;
        color: rgb(51, 51, 51);
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
        }

        /* 案件のご相談、その他お問い合わせは以下より連絡ください。 */
.p-form {
    /* text-[14px] */
    font-size: 14px;
    
    /* mb-6 */
    margin-bottom: 1.5rem; /* 24px */
    
    /* text-left */
    text-align: left;
    
    /* text-[rgb(51,51,51)] */
    color: rgb(51, 51, 51);
    
    /* max-w-[700px] */
    max-width: 700px;
    
    /* mx-auto */
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
}

/* md: (768px以上) */
@media (min-width: 768px) {
    .p-form {
        /* md:text-base */
        font-size: 1rem; /* 16px */
        
        /* md:mb-8 */
        margin-bottom: 2rem; /* 32px */
    }
}

        /* デスクトップ（768px以上） */
        @media (min-width: 768px) {
        #contact > p {
        font-size: 1rem; /* 16px */
        margin-bottom: 2rem; /* 32px */
        }
        }

        form {
            max-width: 700px;
            margin: 0 auto;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            font-size: 0.875rem;
            margin-bottom: 0.5rem;
        }

        .form-group label .required {
            color: #ef4444;
            font-size: 0.75rem;
            margin-left: 0.25rem;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid #4b5563;
            border-radius: 4px;
            font-size: 0.875rem;
            color: rgb(51, 51, 51);
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #65aadd;
            box-shadow: 0 0 0 2px rgba(101, 170, 221, 0.3);
        }

        .form-group textarea {
            resize: none;
            min-height: 200px;
        }

        .submit-btn {
            display: block;
            margin: 0 auto;
            width: 160px;
            height: 42px;
            background: rgb(51, 51, 51);
            color: white;
            border: none;
            border-radius: 6px;
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s;
        }

        .submit-btn:hover {
            background: #999999;
            transform: translateY(-2px);
        }

        .submit-btn:active {
            transform: translateY(0);
        }

        /* Recruiting Section */
        .recruiting {
            background: #f9fafb;
        }

        .recruiting h2 {
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
        }

        .recruiting .info-box {
            background: white;
            padding: 1.25rem 2rem;
            border-radius: 0.75rem;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            text-align: center;
        }

        .recruiting .info-box p {
            font-size: 0.875rem;
            margin-bottom: 0.625rem;
            line-height: 1.8;
        }

        .recruiting .info-box a {
            color: rgb(135, 156, 172);
            font-weight: 500;
        }

        .recruiting .info-box a:hover {
            text-decoration: underline;
        }

       /* Footer */
        footer {
            background: rgb(51, 51, 51);
            color: white;
            padding: 1.25rem 1rem;
        }

        .footer-container {
            max-width: 1400px;
            margin: 0 auto;
        }

        .footer-content {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            align-items: center;
            justify-content: center;
            margin-bottom: 0.5rem;
        }

        .footer-title {
            font-size: 1rem;
            font-weight: 300;
            letter-spacing: 0.05em;
            text-align: center;
        }

        .footer-address {
            font-size: 12px;
            font-weight: 300;
            text-align: center;
        }

        .footer-copyright {
            font-size: 11px;
            text-align: center;
            padding-top: 0.5rem;
            font-weight: 300;
        }
        
        /* Responsive Styles */
        @media (min-width: 768px) {
            .hamburger {
                display: none;
            }

            .desktop-nav {
                display: flex;
            }

            .mobile-nav {
                display: none;
            }

            .logo {
                height: 2.5rem;
                width: 240px;
            }

            .tagline {
                font-size: 13px;
                letter-spacing: 2px;
            }

            section {
                padding: 5rem 1.25rem;
            }

            #mission {
                min-height: 556px;
                padding: 6rem 1.25rem;
            }

            #mission h1 {
                font-size: 1.75rem;
                margin-bottom: 1.5rem;
            }

            #mission h2 {
                font-size: 1.375rem;
                margin-bottom: 2.5rem;
            }

            #mission .values {
                margin-top: 6rem;
            }

            #mission .values p {
                font-size: 1.125rem;
                margin-bottom: 0.75rem;
            }

            #mission .values p:first-child {
                font-size: 1.25rem;
                margin-bottom: 1.25rem;
            }

            #service h2 {
                font-size: 1.875rem;
                margin-bottom: 4rem;
            }

            .value-cards {
                gap: 100px 24px;
                margin-bottom: 8rem;
            }

            .value-card .text-container {
                gap: 16px;
            }

            .service-area-title {
                font-size: 1.875rem;
                margin-top: 0;
                margin-bottom: 4rem;
            }

            .service-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 2rem;
            }

            .service-card .header {
                padding: 1rem;
            }

            .service-card .header h3 {
                font-size: 1.375rem;
            }

            .service-card .body {
                padding: 2rem;
            }

            .service-card .body h4 {
                font-size: 1.25rem;
                margin-bottom: 1rem;
            }

            .service-card .body p {
                font-size: 1rem;
            }

            .service-card .body p span {
                font-size: 1.25rem;
            }

            #team h2,
            #contact h2,
            .recruiting h2 {
                font-size: 2rem;
                margin-bottom: 2rem;
            }

            #team .info-box,
            .recruiting .info-box {
                padding: 2rem;
            }

            #team .info-box p,
            .recruiting .info-box p,
            #contact > p {
                font-size: 1rem;
            }

            .form-group label {
                font-size: 1rem;
            }

            .submit-btn {
                width: 180px;
                height: 46px;
                font-size: 1.125rem;
            }

            footer .footer-info {
                flex-direction: row;
                gap: 1.25rem;
            }

            .footer-title {
                font-size: 22px;
                text-align: left;
            }

            .footer-address {
                font-size: 16px;
                text-align: left;

            footer .copyright {
                font-size: 0.9375rem;
                padding-top: 0.75rem;
            }
             }
        }

        @media (min-width: 640px) and (max-width: 767px) {
            .value-card {
                max-width: 340px;
            }
        }
        


.thanks{
    text-align: center;
    margin-top: 80px;
}
.error{
    text-align: center;
    margin-top: 80px;
}