/* Contact Page Specific Styles */

/* Logo Link */
.logo-link {
    text-decoration: none;
    display: block;
}

.logo-link:hover {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

/* Contact Main Content */
.contact-main {
    width: 100%;
    position: relative;
    background-color: #fff;
    flex: 1;
}

/* Hero Section - PC */
.contact-hero {
    width: 700px;
    position: relative;
    margin: 0 auto;
    padding-top: 100px;
    padding-bottom: 50px;
}

.contact-hero-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 40px;
    line-height: 98.4px;
    color: #3d3d3d;
    letter-spacing: 6.7px;
    text-transform: uppercase;
    margin: 0;
    
}

/* Contact Form Section - PC */
.contact-form-section {
    width: 100%;
    position: relative;
    padding-bottom: 50px;
}

.contact-container {
    width: 700px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 ;
}

/* Introduction Text - PC */
.contact-intro {
    margin-bottom: 52px;
}

.contact-intro p {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 15.2px;
    line-height: 36px;
    color: #090c22;
    letter-spacing: 0.9px;
    margin: 0;
}

.contact-intro p:first-child {
    margin-bottom: 0;
}

/* Contact Form - PC */
.contact-form {
    width: 100%;
    max-width: 892px;
}

/* Form Row - PC */
.form-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 45px 0;
    border-top: 1px solid #c1c2c8;
}

.form-row-textarea {
    padding: 45px 0;
    border-top: 1px solid #c1c2c8;
    border-bottom: 1px solid #c1c2c8;
}

/* Form Label - PC */
.form-label {
    width: 208px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.form-label label {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #090c22;
    letter-spacing: 0.96px;
    margin-bottom: 0;
}

.form-label label[for="furigana"] {
    font-size: 13.6px;
}

.form-label label[for="company"] {
    font-size: 14.8px;
}

.form-label label[for="message"] {
    font-size: 15.8px;
}

.required {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 11px;
    line-height: 16.5px;
    color: #090c22;
    letter-spacing: 0.66px;
    margin-top: -1px;
}

/* Form Input - PC */
.form-input {
    flex: 1;
    min-width: 0;
}

.form-input input,
.form-input textarea,
.form-input select {
    width: 100%;
    height: 60px;
    background-color: #f6f6f6;
    border: none;
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #090c22;
    padding: 0 15px;
    box-sizing: border-box;
}

.form-input textarea {
    height: 300px;
    padding: 15px;
    resize: vertical;
    line-height: 1.5;
}

.form-input input:focus,
.form-input textarea:focus {
    outline: none;
    border: 1px solid #090c22;
}

/* Radio Button Group - PC */
.form-radio-group {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 0;
    padding: 8.25px 0;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    width: 94px;
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 1px solid #090c22;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    background-color: #ffffff;
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: #090c22;
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 12px;
    height: 12px;
    background-color: #090c22;
    border-radius: 50%;
}

.radio-label input[type="radio"]:not(:checked) + .radio-custom {
    border-color: #767676;
}

.radio-text {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #090c22;
    letter-spacing: 0.96px;
}

/* Form Notice - PC */
.form-notice {
    margin-top: 39.1px;
    margin-bottom: 14px;
    text-align: center;
}

.form-notice p {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 12.4px;
    line-height: 25.2px;
    color: #090c22;
    letter-spacing: 0.84px;
    margin: 0;
}

.privacy-link {
    color: #090c22;
    text-decoration: underline;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.privacy-link:hover {
    opacity: 0.7;
}

/* Submit Button - PC */
.form-submit {
    margin-top: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.submit-button {
    background-color: #222222;
    color: #ffffff;
    border: none;
    padding: 26px 89px;
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-weight: 600;
    font-size: 15.5px;
    line-height: 16px;
    letter-spacing: 1.6px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    text-transform: none;
}

.submit-button:hover {
    opacity: 0.8;
}

/* Scroll Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.minitxt {
    font-size: .7em;
    margin-left: .5em;
}
/* ============================================
   SP Design (768px and below)
   ============================================ */
@media screen and (max-width: 768px) {
    /* Hero Section - SP */
    .form-input {
    flex: 1;
    min-width: 100%;
}
    .contact-hero {
        left: 0px;
        top: 10px;
        width: calc(100% - 108px);
        max-width: 500px;
        margin: 0px auto;
        padding: 20px 0px 50px;
    }

    .contact-hero-title {
        font-family: 'Poppins', sans-serif;
        font-weight: 700;
        font-size: 40px;
        line-height: 60px;
        letter-spacing: 4.8px;
        left: 50px;
        width: 668px;
    }

    /* Contact Container - SP */
    .contact-container {
        left: 0px;
        top: 10px;
        width: calc(100% - 108px);
        max-width: 500px;
        margin: 0 auto;
        padding: 20px 0px 50px;
    }

    /* Introduction Text - SP */
    .contact-intro {
        margin-bottom: 61.728px;
    }

    .contact-intro p {
        font-size: 15.2px;
        line-height: 2;
        letter-spacing: 1.0684px;
    }

    /* Form Row - SP */
    .form-row {
        gap: 12.642px;
        padding: 53.419px 0;
        border-top-width: 1.187px;
    }

    .form-row-textarea {
        border-top-width: 1.187px;
        border-bottom-width: 1.187px;
        padding: 53.419px 0;
    }

    /* Form Label - SP */
    .form-label {
        width: 131.695px;
    }

    .form-label label {
        font-size: 18.993px;
        line-height: 28.49px;
        letter-spacing: 1.1396px;
        margin-bottom: -1.187px;
    }

    .form-label label[for="furigana"] {
        font-size: 16.144px;
    }

    .form-label label[for="company"] {
        font-size: 17.569px;
    }

    .form-label label[for="message"] {
        font-size: 18.518px;
        line-height: 28.49px;
    }

    .required {
        font-size: 13.058px;
        line-height: 19.587px;
        letter-spacing: 0.7835px;
        margin-top: -1.187px;
    }

    /* Form Input - SP */
    .form-input input,
    .form-input textarea {
        height: 71.225px;
    }

    .form-input textarea {
        height: 356.124px;
    }

    /* Radio Button Group - SP */
    .form-radio-group {
        padding: 9.793px 0;
    }

    .radio-label {
        width: 110.399px;
    }

    .radio-custom {
        width: 23.742px;
        height: 23.742px;
        border-width: 1.187px;
        border-radius: 59.354px;
    }

    .radio-label input[type="radio"]:checked + .radio-custom::after {
        top: 3.56px;
        left: 3.56px;
        width: 14.245px;
        height: 14.245px;
        border-radius: 59.354px;
    }

    .radio-text {
        font-size: 18.993px;
        line-height: 28.49px;
        letter-spacing: 1.1396px;
    }

    /* Form Notice - SP */
    .form-notice {
        margin-top: 46.415px;
        margin-bottom: 94.966px;
    }

    .form-notice p {
        font-size: 14.72px;
        line-height: 29.914px;
        letter-spacing: 0.9971px;
    }

    /* Submit Button - SP */
    .form-submit {
        margin-top: 19.748px;
    }

    .submit-button {
        width: 565px;
        max-width: 100%;
        height: 101.885px;
        padding: 24.082px 82.434px;
        font-size: 27.32px;
        line-height: 14.82px;
        letter-spacing: 1.482px;
    }
}

/* ============================================
   Mobile Design (480px and below)
   ============================================ */
@media screen and (max-width: 480px) {
    .contact-container {
        width: calc(100% - 40px);
        max-width: 100%;
        padding: 20px 20px 50px;
        left: 0;
        top: 0;
    }
    .contact-hero {
        width: calc(100% - 40px);
        max-width: 100%;
        padding: 20px 20px 50px;
        left: 0;
        top: 0;
      }
    .contact-hero-title {
        font-size: 32px;
        line-height: 48px;
        left: 20px;
        width: calc(100% - 40px);
    }

    .form-row {
        flex-direction: column;
        gap: 15px;
        padding: 30px 0;
    }

    .form-label {
        width: 100%;
    }

    .form-radio-group {
        width: 100%;
        flex-direction: column;
        gap: 15px;
    }

    .radio-label {
        width: auto;
    }

    .submit-button {
        width: 100%;
        height: auto;
        padding: 20px;
        font-size: 16px;
    }
}




