/**
 * Anosh Top Page - Frontend Styles
 */

.anosh-lp-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.anosh-lp-section-title {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
}

.anosh-lp-section-title-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #5271ff;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.anosh-lp-section-title-line {
    flex: 1;
    height: 1px;
    background-color: #5271ff;
}

.anosh-lp-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    overflow: hidden;
}

.anosh-lp-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    pointer-events: none;
}

.anosh-lp-hero-deco {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.anosh-lp-hero-deco-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #5271ff 0%, #8fa3ff 100%);
    opacity: 0.15;
    top: -100px;
    right: -100px;
}

.anosh-lp-hero-deco-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #26c836 0%, #7ded8a 100%);
    opacity: 0.1;
    bottom: -50px;
    left: -50px;
}

.anosh-lp-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.anosh-lp-hero-content {
    text-align: center;
    max-width: 800px;
}

.anosh-lp-hero.has-image .anosh-lp-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.anosh-lp-hero.has-image .anosh-lp-hero-content {
    text-align: left;
    max-width: none;
}

.anosh-lp-hero-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.anosh-lp-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.anosh-lp-hero-content h1 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 30px;
    color: #1e1e1e;
}

.anosh-lp-hero-content p {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(14px, 2vw, 18px);
    line-height: 2;
    color: #1e1e1e;
    opacity: 0.8;
}

.anosh-lp-message {
    padding: 100px 0;
    background-color: #ffffff;
}

.anosh-lp-message-heading {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    line-height: 1.6;
    color: #1e1e1e;
    margin-bottom: 40px;
}

.anosh-lp-message-content {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 2;
    color: #1e1e1e;
    opacity: 0.8;
}

.anosh-lp-service {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.anosh-lp-service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.anosh-lp-service-block:last-child {
    margin-bottom: 0;
}

.anosh-lp-service-block.reverse {
    direction: rtl;
}

.anosh-lp-service-block.reverse > * {
    direction: ltr;
}

.anosh-lp-service-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(82, 113, 255, 0.15);
}

.anosh-lp-service-image img {
    width: 100%;
    height: auto;
    display: block;
}

.anosh-lp-service-image-placeholder {
    width: 100%;
    padding-bottom: 75%;
    background: linear-gradient(135deg, #d5dcff 0%, #e8ecff 100%);
}

.anosh-lp-service-label {
    display: inline-block;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #5271ff;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.anosh-lp-service-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 700;
    color: #1e1e1e;
    margin-bottom: 20px;
}

.anosh-lp-service-desc {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 15px;
    line-height: 1.9;
    color: #1e1e1e;
    opacity: 0.8;
    margin-bottom: 30px;
}

.anosh-lp-service-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.anosh-lp-service-feature {
    display: flex;
    gap: 12px;
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.anosh-lp-service-feature-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.anosh-lp-service-feature-text strong {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #1e1e1e;
    display: block;
    margin-bottom: 5px;
}

.anosh-lp-service-feature-text p {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: #1e1e1e;
    opacity: 0.7;
    margin: 0;
}

.anosh-lp-service-btn-wrap {
    margin-top: 40px;
    text-align: center;
}

.anosh-lp-service-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 22px 60px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    color: #ffffff !important;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none !important;
    border-radius: 60px;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.5);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.05em;
}

.anosh-lp-service-btn::after {
    content: '→';
    font-size: 20px;
    transition: transform 0.3s ease;
}

.anosh-lp-service-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s;
}

.anosh-lp-service-btn:hover::before {
    left: 100%;
}

.anosh-lp-service-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 107, 107, 0.6);
    color: #ffffff !important;
}

.anosh-lp-service-btn:hover::after {
    transform: translateX(5px);
}

.anosh-lp-company {
    padding: 100px 0;
    background-color: #ffffff;
}

.anosh-lp-company-profile {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 80px;
}

.anosh-lp-company-profile-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.anosh-lp-company-profile-image img {
    width: 100%;
    height: auto;
    display: block;
}

.anosh-lp-company-profile-placeholder {
    width: 100%;
    padding-bottom: 120%;
    background: linear-gradient(135deg, #d5dcff 0%, #e8ecff 100%);
}

.anosh-lp-company-profile-name {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1e1e1e;
    margin-bottom: 20px;
}

.anosh-lp-company-profile-message {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 15px;
    line-height: 2;
    color: #1e1e1e;
    opacity: 0.8;
}

.anosh-lp-company-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Noto Sans JP', sans-serif;
}

.anosh-lp-company-table tr {
    border-bottom: 1px solid #e5e5e5;
}

.anosh-lp-company-table th,
.anosh-lp-company-table td {
    padding: 20px;
    text-align: left;
    vertical-align: top;
}

.anosh-lp-company-table th {
    width: 150px;
    font-size: 14px;
    font-weight: 700;
    color: #5271ff;
    background-color: #f8f9ff;
}

.anosh-lp-company-table td {
    font-size: 15px;
    color: #1e1e1e;
    line-height: 1.8;
}

.anosh-lp-company-table td a {
    color: #5271ff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.anosh-lp-company-table td a:hover {
    opacity: 0.7;
}

.anosh-lp-contact {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.anosh-lp-contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: #ffffff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.anosh-lp-contact-notice {
    text-align: center;
    color: #888;
    font-family: 'Noto Sans JP', sans-serif;
}

.anosh-lp-contact-form .wpcf7-form {
    font-family: 'Noto Sans JP', sans-serif;
}

.anosh-lp-contact-form .wpcf7-form label {
    display: block;
    margin-bottom: 25px;
    font-size: 14px;
    font-weight: 500;
    color: #1e1e1e;
}

.anosh-lp-contact-form .wpcf7-form label .required {
    color: #ff5252;
    font-size: 12px;
    margin-left: 8px;
}

.anosh-lp-contact-form .wpcf7-form label .optional {
    color: #888;
    font-size: 12px;
    margin-left: 8px;
}

.anosh-lp-contact-form .wpcf7-form input[type="text"],
.anosh-lp-contact-form .wpcf7-form input[type="email"],
.anosh-lp-contact-form .wpcf7-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 15px;
    margin-top: 10px;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

.anosh-lp-contact-form .wpcf7-form input[type="text"]:focus,
.anosh-lp-contact-form .wpcf7-form input[type="email"]:focus,
.anosh-lp-contact-form .wpcf7-form textarea:focus {
    outline: none;
    border-color: #5271ff;
    box-shadow: 0 0 0 3px rgba(82, 113, 255, 0.1);
}

.anosh-lp-contact-form .wpcf7-form textarea {
    min-height: 150px;
    resize: vertical;
}

.anosh-lp-contact-form .wpcf7-form .wpcf7-acceptance {
    margin: 30px 0;
}

.anosh-lp-contact-form .wpcf7-form .wpcf7-acceptance label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin-bottom: 0;
}

.anosh-lp-contact-form .wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #5271ff;
}

.anosh-lp-contact-form .wpcf7-form .wpcf7-acceptance a {
    color: #5271ff;
    text-decoration: underline;
}

.anosh-lp-contact-form .wpcf7-form input[type="submit"] {
    width: 100%;
    padding: 18px 40px;
    background: linear-gradient(135deg, #5271ff 0%, #7b93ff 100%);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.anosh-lp-contact-form .wpcf7-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(82, 113, 255, 0.3);
}

.anosh-lp-contact-form .wpcf7-form .wpcf7-response-output {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 14px;
}

.anosh-lp-contact-form .wpcf7-form.sent .wpcf7-response-output {
    background-color: #e8f5e9;
    border-color: #26c836;
    color: #2e7d32;
}

.anosh-lp-contact-form .wpcf7-form.invalid .wpcf7-response-output,
.anosh-lp-contact-form .wpcf7-form.failed .wpcf7-response-output {
    background-color: #ffebee;
    border-color: #ff5252;
    color: #c62828;
}

.anosh-lp-contact-form .wpcf7-form .wpcf7-not-valid-tip {
    color: #ff5252;
    font-size: 12px;
    margin-top: 5px;
}

@media (max-width: 840px) {
    .anosh-lp-hero.has-image .anosh-lp-hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .anosh-lp-hero.has-image .anosh-lp-hero-content {
        text-align: center;
        order: 1;
    }

    .anosh-lp-hero-image {
        order: 2;
        max-width: 400px;
        margin: 0 auto;
    }

    .anosh-lp-service-block {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .anosh-lp-service-block.reverse {
        direction: ltr;
    }

    .anosh-lp-company-profile {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .anosh-lp-company-profile-image {
        max-width: 250px;
        margin: 0 auto;
    }

    .anosh-lp-contact-form {
        padding: 30px 20px;
    }
}

@media (max-width: 540px) {
    .anosh-lp-hero {
        min-height: auto;
        padding: 80px 20px;
    }

    .anosh-lp-hero-deco-1 {
        width: 200px;
        height: 200px;
    }

    .anosh-lp-hero-deco-2 {
        width: 150px;
        height: 150px;
    }

    .anosh-lp-message,
    .anosh-lp-service,
    .anosh-lp-company,
    .anosh-lp-contact {
        padding: 60px 0;
    }

    .anosh-lp-section-title {
        margin-bottom: 30px;
    }

    .anosh-lp-service-features {
        grid-template-columns: 1fr;
    }

    .anosh-lp-company-table th,
    .anosh-lp-company-table td {
        display: block;
        width: 100%;
        padding: 15px;
    }

    .anosh-lp-company-table th {
        border-bottom: none;
        padding-bottom: 5px;
    }

    .anosh-lp-company-table td {
        padding-top: 0;
    }
}
