﻿@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root {
    --primary: #D4AF37;
    --primary-hover: #C59B27;
    --secondary: #1C1C1C;
    --light-bg: #FAFAFA;
    --white: #FFFFFF;
    --text-dark: #2C2C2C;
    --text-muted: #666666;
    --accent: #8B0000;
    --border-color: #EAEAEA;
    --transition-speed: 0.3s;
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-dark);
    background-color: var(--light-bg);
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', 'Noto Sans JP', serif;
    font-weight: 700;
    line-height: 1.3;
}

/* Header & Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: background-color var(--transition-speed) ease, padding var(--transition-speed) ease;
}

.site-header.scrolled {
    background-color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 48px;
}

.site-logo {
    height: 100%;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-speed);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-cta {
    background-color: var(--primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
}

.nav-cta:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 160px 0 100px 0;
    background: linear-gradient(135deg, rgba(28,28,28,0.95) 0%, rgba(28,28,28,0.7) 100%), url('images/hero.jpg') center/cover no-repeat;
    color: var(--white);
    text-align: center;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-tagline {
    font-size: 1.1rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.8;
    color: #E0E0E0;
    margin-bottom: 3rem;
}

.hero-cta {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transition: background-color var(--transition-speed), transform var(--transition-speed), box-shadow var(--transition-speed);
}

.hero-cta:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

/* Trust Strip */
.trust-strip {
    background-color: var(--secondary);
    padding: 2rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.trust-item {
    color: #D1D1D1;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.trust-item svg {
    color: var(--primary);
}

/* Sections General */
section {
    padding: 100px 0;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-tagline {
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    color: var(--secondary);
    position: relative;
    padding-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary);
}

/* Value Proposition (Benefits Grid) */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.benefit-card {
    background-color: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed), border-color var(--transition-speed);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.08);
    border-color: var(--primary);
}

.benefit-icon-wrapper {
    margin-bottom: 2rem;
    color: var(--primary);
    background-color: rgba(212, 175, 55, 0.05);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-speed);
}

.benefit-card:hover .benefit-icon-wrapper {
    background-color: rgba(212, 175, 55, 0.1);
}

.benefit-title {
    font-size: 1.4rem;
    color: var(--secondary);
    margin-bottom: 1.2rem;
}

.benefit-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* Services / Features Section */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.service-item:nth-child(even) {
    flex-direction: row-reverse;
}

.service-image-container {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0,0,0,0.1);
}

.service-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.service-item:hover .service-image {
    transform: scale(1.03);
}

.service-content {
    flex: 1;
}

.service-num {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(212, 175, 55, 0.2);
    line-height: 1;
    margin-bottom: 1rem;
}

.service-title {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.service-description {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* How It Works Section */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    position: relative;
}

.step-card {
    background-color: var(--white);
    padding: 3rem 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    position: relative;
    text-align: center;
}

.step-number {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.step-title {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 1.2rem;
}

.step-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    background-color: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.testimonial-stars {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.testimonial-quote {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.author-name {
    font-weight: 700;
    color: var(--secondary);
    font-size: 1rem;
}

.author-meta {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-accordion {
    border-top: 1px solid var(--border-color);
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
}

.faq-trigger {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary);
    cursor: pointer;
    padding: 0.5rem 0;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform var(--transition-speed);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-speed) ease-out, padding var(--transition-speed) ease-out;
}

.faq-item.active .faq-content {
    max-height: 300px; /* Adjust as needed */
    padding-top: 1rem;
}

.faq-content p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* About / Company Transparency Section */
.about-section {
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.transparency-box {
    background-color: var(--light-bg);
    border-left: 4px solid var(--primary);
    padding: 2rem;
    border-radius: 0 8px 8px 0;
}

.transparency-box h4 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.transparency-box p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.company-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
}

.company-table th, .company-table td {
    padding: 0.8rem 1rem;
    text-align: left;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-color);
}

.company-table th {
    background-color: rgba(28,28,28,0.02);
    color: var(--secondary);
    font-weight: 700;
    width: 30%;
}

.company-table td {
    color: var(--text-dark);
}

/* Lead Form Section */
.lead-section {
    background-color: var(--light-bg);
}

.lead-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    overflow: hidden;
}

.lead-intro {
    background-color: var(--secondary);
    color: var(--white);
    padding: 3rem;
    text-align: center;
}

.lead-intro h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.lead-intro p {
    color: #D1D1D1;
    font-size: 1rem;
}

.form-body {
    padding: 4rem 3rem;
}

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

.form-group-full {
    grid-column: span 2;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary);
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.phone-input-group {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.phone-input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.phone-prefix {
    background-color: #ECECEC;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1rem;
    border-right: 1px solid var(--border-color);
}

.phone-input-group .form-input {
    border: none !important;
    border-radius: 0;
}

.phone-input-group .form-input:focus {
    box-shadow: none;
}

.consent-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 2rem 0;
}

.consent-checkbox-group input[type="checkbox"] {
    margin-top: 0.3rem;
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.consent-checkbox-group label {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    cursor: pointer;
}

.consent-checkbox-group label a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 700;
}

.submit-btn {
    width: 100%;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 1.25rem;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.submit-btn:hover {
    background-color: var(--primary-hover);
}

.submit-btn:disabled {
    background-color: #CCCCCC;
    cursor: not-allowed;
}

.privacy-reassurance {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Spinner Animation */
.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success Box state */
.success-box {
    text-align: center;
    padding: 4rem 2rem;
}

.success-icon-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: rgba(212, 175, 55, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2.5rem auto;
}

.success-checkmark {
    width: 50px;
    height: 50px;
    stroke: var(--primary);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.success-title {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.success-message {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.success-subtext {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.8;
}

.form-error-alert {
    background-color: rgba(139, 0, 0, 0.05);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 1.25rem;
    border-radius: 4px;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1.6;
}

/* Footer styling */
.site-footer {
    background-color: var(--secondary);
    color: var(--white);
    padding: 80px 0 40px 0;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo-area {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    align-self: flex-start;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #B5B5B5;
}

.footer-col h5 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-link {
    color: #B5B5B5;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-speed);
}

.footer-link:hover {
    color: var(--primary);
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.9rem;
    color: #B5B5B5;
}

.footer-info p {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer-info svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-copyright {
    font-size: 0.85rem;
    color: #888888;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.footer-legal-link {
    font-size: 0.85rem;
    color: #888888;
    text-decoration: none;
    transition: color var(--transition-speed);
}

.footer-legal-link:hover {
    color: var(--primary);
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: -150px;
    left: 0;
    width: 100%;
    background-color: rgba(28, 28, 28, 0.98);
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--primary);
    color: var(--white);
    padding: 1.5rem 2rem;
    z-index: 9999;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
    transition: bottom 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.visible {
    bottom: 0;
}

.cookie-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.cookie-text {
    font-size: 0.85rem;
    line-height: 1.6;
    flex: 1;
    min-width: 300px;
    color: #D1D1D1;
}

.cookie-text a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
}

.cookie-btn-accept {
    background-color: var(--primary);
    color: var(--white);
}

.cookie-btn-accept:hover {
    background-color: var(--primary-hover);
}

.cookie-btn-reject {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.cookie-btn-reject:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--transition-speed), visibility var(--transition-speed), transform var(--transition-speed), background-color var(--transition-speed);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--primary-hover);
}

/* Legal Pages Specific */
.legal-page .site-header {
    background-color: var(--secondary);
}

.legal-content {
    max-width: 800px;
    margin: 120px auto 80px auto;
    padding: 3.5rem;
    background-color: var(--white);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.legal-content h1 {
    font-size: 2.2rem;
    color: var(--secondary);
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 1rem;
}

.legal-content h2 {
    font-size: 1.4rem;
    color: var(--secondary);
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
}

.legal-content p, .legal-content li {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
}

.legal-content ul, .legal-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .service-item, .service-item:nth-child(even) {
        flex-direction: column;
        gap: 2rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; /* In production, you would trigger a mobile menu hamburger. For Google Ads standard landing page, direct stacked layout works elegantly or just linking. */
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group-full {
        grid-column: span 1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .legal-content {
        padding: 2rem;
        margin: 100px 1rem 40px 1rem;
    }
}