/* =========================================
   YUI MARKETING - CONTACT PAGE STYLES
   ========================================= */

/* --- Variables --- */
:root {
    --cyan: #00c6ff;
    --dark-bg: rgba(20, 20, 20, 0.6);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --error-color: #ff4b1f;
}

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.container-narrow { width: 100%; max-width: 800px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }

/* 共通余白 */
section { padding: clamp(80px, 10vw, 140px) 0; }

/* --- Hero Section --- */
.page-hero {
    min-height: 50vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
    padding-top: clamp(140px, 20vw, 200px); padding-bottom: 80px;
}
.hero-sub { font-size: 1rem; letter-spacing: 0.3em; margin-bottom: 10px; color: #00c6ff; font-weight: 700; }
.hero-title { font-size: clamp(3rem, 8vw, 6rem); font-weight: 900; line-height: 1; text-shadow: 0 10px 30px rgba(0,0,0,0.5); margin-bottom: 20px; }
.hero-desc { font-size: 1.1rem; opacity: 0.8; line-height: 1.8; }


/* --- Form Container --- */
.glass-form-box {
    background: var(--dark-bg);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: var(--glass-border);
    border-radius: 20px;
    padding: clamp(40px, 5vw, 60px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* --- Form Elements Styling (Contact Form 7) --- */

/* Label */
.yui-form-row { margin-bottom: 30px; }
.yui-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    opacity: 0.9;
}
.required {
    color: var(--cyan);
    font-size: 0.75rem;
    margin-left: 5px;
    vertical-align: super;
}

/* Input & Textarea */
.wpcf7-form-control-wrap { display: block; position: relative; }

.wpcf7-text,
.wpcf7-textarea,
.wpcf7-select {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px 20px;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    transition: 0.3s;
    box-sizing: border-box;
}

.wpcf7-textarea { height: 200px; resize: vertical; }

/* Focus State */
.wpcf7-text:focus,
.wpcf7-textarea:focus,
.wpcf7-select:focus {
    background: rgba(0, 198, 255, 0.05);
    border-color: var(--cyan);
    outline: none;
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.2);
}

/* Placeholder */
::placeholder { color: rgba(255, 255, 255, 0.3); }

/* Submit Button */
.submit-wrap { text-align: center; margin-top: 40px; }

.wpcf7-submit {
    display: inline-block;
    background: #fff;
    color: #000;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.1rem;
    padding: 18px 60px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    letter-spacing: 0.1em;
}

.wpcf7-submit:hover {
    background: var(--cyan);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 198, 255, 0.4);
}

/* Error Messages */
.wpcf7-not-valid-tip {
    color: var(--error-color);
    font-size: 0.8rem;
    margin-top: 5px;
    font-weight: 700;
}
.wpcf7-response-output {
    border: 1px solid var(--cyan) !important;
    background: rgba(0, 198, 255, 0.1);
    color: #fff;
    border-radius: 10px;
    padding: 20px !important;
    margin: 20px 0 !important;
    text-align: center;
}


/* --- Note Text --- */
.contact-note {
    margin-top: 40px;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.6;
    line-height: 1.8;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .glass-form-box {
        padding: 30px 20px;
        backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
        background: rgba(15, 15, 15, 0.95) !important;
        border: 1px solid rgba(255,255,255,0.15) !important;
    }
    .wpcf7-submit { width: 100%; }
}